/* Gigback, gigback.app
   The platform's own typeface, Apple's neutrals, one link blue, and the app's
   two verdict colours used only where they mean bin or keep.
   Radius rule: devices follow their display corner, panels are 24px, every
   interactive control is a full pill. */

:root {
  color-scheme: light dark;
  --paper: #fbfbfd;
  --band: #f2f2f5;
  --panel: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --hair: #d2d2d7;
  --link: #0066cc;
  --keep: #34c759;
  --bin: #ff3b30;
  --night: #050507;
  --night-ink: #f5f5f7;
  --night-muted: #a1a1a6;
  --shadow: 0 30px 60px -30px rgba(29, 29, 31, 0.35);

  /* The demo's live layers, matched to the app's own pixels. */
  --app-bg: #ffffff;
  --app-chip: #fdfdfd;
  --app-chip-ink: #1d1d1f;
  --app-red: #fe373b;
  --app-track: #d7d7d9;
  --app-fill: #0081f2;
  --app-caption: rgba(246, 246, 246, 0.72);

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 34rem;
  --wide: 75rem;
  --gutter: clamp(16px, 5vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #050507;
    --band: #111113;
    --panel: #1a1a1d;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --hair: #38383c;
    --link: #2997ff;
    --keep: #30d158;
    --bin: #ff453a;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    --app-bg: #000000;
    --app-chip: #131313;
    --app-chip-ink: #f5f5f7;
    --app-red: #ff4c4f;
    --app-track: #28282b;
    --app-fill: #008af2;
    --app-caption: rgba(44, 44, 46, 0.72);
  }
}

:root[data-theme="dark"] {
  --paper: #050507;
  --band: #111113;
  --panel: #1a1a1d;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --hair: #38383c;
  --link: #2997ff;
  --keep: #30d158;
  --bin: #ff453a;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  --app-bg: #000000;
  --app-chip: #131313;
  --app-chip-ink: #f5f5f7;
  --app-red: #ff4c4f;
  --app-track: #28282b;
  --app-fill: #008af2;
  --app-caption: rgba(44, 44, 46, 0.72);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden makes body a scroll container and unsticks the nav */
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
svg.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
/* A link inside running text is underlined, not told apart by colour alone. */
p a, li a, .faq a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 55%, transparent);
}

.nav__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}
.nav__brand:hover { text-decoration: none; }
.nav__brand img { width: 28px; height: 28px; border-radius: 22.5%; }

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.875rem;
}
.nav__links a { color: var(--ink); opacity: 0.78; }
.nav__links a:hover { opacity: 1; text-decoration: none; }
.nav__links a[aria-current="page"] { opacity: 1; font-weight: 600; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.75rem, 5.4vw, 4.5rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

.headline {
  font-size: clamp(2.125rem, 4.8vw, 3.5rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.1875rem, 1.9vw, 1.375rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--muted);
  max-width: var(--measure);
  margin: 20px 0 0;
  text-wrap: pretty;
}

/* ---------- Actions ---------- */

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.store {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.0625rem;
  font-weight: 600;
  white-space: nowrap;
}
.store:hover { text-decoration: none; }

.textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.0625rem;
}

/* ---------- Devices ---------- */

/* A frame around a real screenshot. The display corner is 14% of the width. */
.device {
  --w: 320px;
  width: var(--w);
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.17);
  background: #1d1d1f;
  box-shadow: 0 0 0 1.5px #3a3a3c inset, var(--shadow);
  flex: none;
}
.device > .device__screen {
  border-radius: calc(var(--w) * 0.141);
  overflow: hidden;
  position: relative;
  background: var(--app-bg);
}
.device > .device__screen > img { width: 100%; }
.device__island {
  position: absolute;
  top: 2.4%;
  left: 50%;
  translate: -50% 0;
  width: 29%;
  aspect-ratio: 126 / 37;
  border-radius: 999px;
  background: #000;
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(32px, 6vh, 72px) var(--gutter) clamp(48px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero__brand img {
  width: 48px; height: 48px;
  border-radius: 22.5%;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.55);
}

.hero__demo {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.demo__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- The live phone ---------- */

/* Everything inside the screen is placed in the app's own points: the screen
   is 440pt wide, and --pt is one of them at whatever size the phone renders. */
.phone {
  --w: clamp(268px, min(78vw, calc((100dvh - 190px) * 0.44)), 360px);
  width: var(--w);
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.17);
  background: #1d1d1f;
  box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 50px 90px -45px rgba(0, 0, 0, 0.6);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.screen {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 440 / 956;
  border-radius: calc(var(--w) * 0.141);
  overflow: hidden;
  background: var(--app-bg);
  isolation: isolate;
}

.canvas {
  --pt: calc(100cqw / 440);
  position: absolute;
  inset: 0;
  font-family: var(--font);
  color: var(--app-chip-ink);
}

.chrome {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}
.chrome img { width: 100%; }
.chrome--top { top: 0; }
/* Starts just above the buttons and fades in, so the live card's shadow
   reaches the buttons instead of stopping at a seam. */
.chrome--bottom {
  bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
}

.canvas .device__island { z-index: 6; top: calc(11 * var(--pt)); }

.binbadge {
  position: absolute;
  z-index: 2;
  left: calc(358 * var(--pt));
  top: calc(62 * var(--pt));
  width: calc(62 * var(--pt));
  height: calc(44 * var(--pt));
  border-radius: 999px;
  background: var(--app-chip);
  color: var(--app-red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(4 * var(--pt));
  font-size: calc(17 * var(--pt));
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.binbadge .icon { font-size: calc(24 * var(--pt)); }

.counter {
  position: absolute;
  z-index: 2;
  left: 50%;
  translate: -50% 0;
  top: calc(115 * var(--pt));
  height: calc(36 * var(--pt));
  padding: 0 calc(16 * var(--pt));
  border-radius: 999px;
  background: var(--app-chip);
  box-shadow: 0 calc(2 * var(--pt)) calc(10 * var(--pt)) rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: calc(12 * var(--pt));
  font-size: calc(15 * var(--pt));
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.counter__divider {
  width: 1px;
  height: calc(18 * var(--pt));
  background: color-mix(in srgb, var(--app-chip-ink) 18%, transparent);
}
.counter__bytes { display: inline-flex; align-items: center; gap: calc(6 * var(--pt)); }
.counter__bytes .icon { font-size: calc(17 * var(--pt)); }

.progress {
  position: absolute;
  z-index: 2;
  left: calc(130 * var(--pt));
  width: calc(180 * var(--pt));
  top: calc(156 * var(--pt));
  height: calc(4 * var(--pt));
  border-radius: 999px;
  background: var(--app-track);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: var(--p, 15%);
  border-radius: inherit;
  background: var(--app-fill);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stack {
  position: absolute;
  z-index: 3;
  left: calc(14 * var(--pt));
  top: calc(172 * var(--pt));
  width: calc(412 * var(--pt));
  height: calc(646 * var(--pt));
}

.card {
  position: absolute;
  inset: 0;
  border-radius: calc(32 * var(--pt));
  overflow: hidden;
  background: #8e8e93;
  box-shadow: 0 calc(6 * var(--pt)) calc(14 * var(--pt)) rgba(0, 0, 0, 0.22),
    0 calc(22 * var(--pt)) calc(40 * var(--pt)) calc(-10 * var(--pt)) rgba(0, 0, 0, 0.3);
  transform-origin: 50% 100%;
  will-change: transform;
  cursor: grab;
}
/* The app's colour wash: the same photo, blurred, behind the sharp one. */
.card__wash {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(calc(28 * var(--pt))) saturate(1.2);
  opacity: 0.9;
}
.card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card img { pointer-events: none; -webkit-user-drag: none; }
.card--next { transform: scale(0.94); cursor: default; }
.card--back { transform: scale(0.88); opacity: 0; cursor: default; }
.card.is-dragging { cursor: grabbing; }

.caption {
  position: absolute;
  z-index: 4;
  left: 50%;
  translate: -50% 0;
  top: calc(765 * var(--pt));
  height: calc(36 * var(--pt));
  padding: 0 calc(14 * var(--pt));
  border-radius: 999px;
  background: var(--app-caption);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  display: flex;
  align-items: center;
  gap: calc(8 * var(--pt));
  font-size: calc(14 * var(--pt));
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.caption .icon { font-size: calc(15 * var(--pt)); }
.caption__dot { opacity: 0.45; }

.hit {
  position: absolute;
  z-index: 5;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hit:active { background: rgba(127, 127, 127, 0.18); }
.hit--undo { left: calc(95 * var(--pt)); top: calc(855 * var(--pt)); width: calc(50 * var(--pt)); height: calc(50 * var(--pt)); }
.hit--bin { left: calc(172 * var(--pt)); top: calc(845 * var(--pt)); width: calc(72 * var(--pt)); height: calc(72 * var(--pt)); }
.hit--keep { left: calc(272 * var(--pt)); top: calc(845 * var(--pt)); width: calc(72 * var(--pt)); height: calc(72 * var(--pt)); }

/* Light from the display's bottom corner, on the side the card is heading. */
.glow {
  position: absolute;
  z-index: 4;
  bottom: 0;
  width: 130%;
  height: 60%;
  pointer-events: none;
  opacity: 0;
}
.glow--bin {
  left: 0;
  background: radial-gradient(ellipse 70% 75% at 0% 100%,
    color-mix(in srgb, var(--bin) 72%, transparent) 0%,
    color-mix(in srgb, var(--bin) 28%, transparent) 38%,
    transparent 70%);
}
.glow--keep {
  right: 0;
  background: radial-gradient(ellipse 70% 75% at 100% 100%,
    color-mix(in srgb, var(--keep) 72%, transparent) 0%,
    color-mix(in srgb, var(--keep) 28%, transparent) 38%,
    transparent 70%);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(80px, 12vw, 150px) var(--gutter);
}
.section--band { background: var(--band); }

.section__inner {
  max-width: var(--wide);
  margin: 0 auto;
}

/* Split: a device beside its story. */
.split {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.split--flip { grid-template-columns: minmax(0, 1fr) auto; }
.split--flip > .device { order: 2; }

/* Scan groups: one compact two-column list with the app's icon colours. */
.groups {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
}
.groups li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.groups__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
}
.groups h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.groups p {
  margin: 2px 0 0;
  font-size: 0.9375rem;
  line-height: 1.38;
  color: var(--muted);
}
.note {
  margin: 28px 0 0;
  max-width: var(--measure);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* The bin: a real sequence, then the screen it ends on, cropped. */
.bin {
  text-align: center;
}
.bin .lead { margin-left: auto; margin-right: auto; }
.steps {
  list-style: none;
  margin: clamp(48px, 7vw, 72px) auto 0;
  padding: 0;
  max-width: 62rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  text-align: left;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  margin-bottom: 18px;
}
.steps h3 {
  margin: 0 0 6px;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.steps p { margin: 0; color: var(--muted); }

.crop {
  margin: clamp(56px, 8vw, 88px) auto 0;
  height: clamp(300px, 46vw, 470px);
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* The phone continues below the fold of the section. */
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.crop .device { --w: clamp(280px, 40vw, 380px); }

/* Compression */
.kept {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.kept li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--hair);
  font-size: 0.9375rem;
  font-weight: 500;
}
.kept .icon { color: var(--keep); font-size: 18px; }

.facts {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 36px;
}
.facts h3 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.facts p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* Privacy: the one colour block on the page. */
.privacy {
  background: var(--night);
  color: var(--night-ink);
}
.privacy .lead { color: var(--night-muted); }
.privacy a { color: #2997ff; }
.vows {
  list-style: none;
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}
.vows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 48px;
  align-items: baseline;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid #2c2c2e;
}
.vows h3 {
  margin: 0;
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.vows p { margin: 0; color: var(--night-muted); font-size: 1.125rem; max-width: 28rem; }

/* Screens: the App Store frames, flicked through. */
.screens__head { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.screens__track {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 26vw, 300px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 24px;
  scrollbar-width: none;
}
.screens__track::-webkit-scrollbar { display: none; }
.screens__track figure {
  margin: 0;
  scroll-snap-align: start;
}
.screens__track img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--hair) 60%, transparent);
}

/* Plans */
.plans {
  margin: clamp(40px, 6vw, 64px) auto 0;
  max-width: 52rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}
.plan {
  border-radius: 24px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--hair);
}
.plan--pro {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}
.plan h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.plan__tag { margin: 4px 0 0; color: var(--muted); }
.plan--pro .plan__tag { color: color-mix(in srgb, var(--paper) 62%, transparent); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.plan li .icon { margin-top: 3px; font-size: 18px; color: var(--keep); }
.plans__note { margin: 20px auto 0; color: var(--muted); font-size: 0.9375rem; text-align: center; }

.centered { text-align: center; }
.centered .lead { margin-left: auto; margin-right: auto; }

/* Closing */
.closing { text-align: center; }
.closing img {
  width: 104px; height: 104px;
  border-radius: 22.5%;
  margin: 0 auto 24px;
  box-shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.55);
}
.closing .actions { justify-content: center; }
.closing__requires { margin: 14px 0 0; font-size: 0.875rem; color: var(--muted); }

/* Devices arrive as their section does. Reduced motion skips it. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--band);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.footer__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 22px var(--gutter) 36px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.footer__links a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.footer p { margin: 0 0 6px; }

/* ---------- Document pages (privacy, support, terms) ---------- */

.doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) var(--gutter) clamp(72px, 10vw, 120px);
}
.doc h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
.doc .updated { margin: 12px 0 0; color: var(--muted); }
.doc .summary {
  font-size: 1.3125rem;
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 32px 0 0;
}
.doc h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 0;
}
.doc p,
.doc ul { margin: 12px 0 0; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin: 6px 0; }

.contact {
  margin-top: 36px;
  padding: 24px;
  border-radius: 24px;
  background: var(--band);
}
.contact p { margin: 0; }
.contact .contact__mail {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.faq details { border-bottom: 1px solid var(--hair); }
.faq details:first-of-type { border-top: 1px solid var(--hair); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p { margin: 0 0 10px; }

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 40px; }
  .hero__brand { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .phone { --w: clamp(260px, 78vw, 340px); }
  .split,
  .split--flip { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .split--flip > .device { order: 0; }
  .split > div { width: 100%; }
  .steps,
  .plans,
  .facts { grid-template-columns: minmax(0, 1fr); }
  .vows li { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .groups { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .nav__links { gap: 14px; font-size: 0.8125rem; }
  .nav__brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
