/* CueCam — landing page
   Tokens are lifted from the app's Design/Theme.swift so the site and the
   product read as one thing. The accent rule comes with them: lime marks the
   live thing and nothing else. It is never decoration. */

:root {
  --bg: #0a0a0f;
  --bg-raised: #101018;
  --accent: #d9ff3b;
  --live: #ff454d;

  --card: rgba(255, 255, 255, 0.07);
  --card-hover: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.12);

  --text: rgba(255, 255, 255, 0.95); /* Theme.spoken */
  --muted: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.38);
  --upcoming: rgba(255, 255, 255, 0.42); /* Theme.upcoming */

  --radius: 26px;      /* Theme.radius */
  --radius-sm: 16px;   /* Theme.smallRadius */
  --gutter: 20px;      /* Theme.gutter */

  --maxw: 1180px;

  /* Rounded, to match Theme.display / Theme.body. ui-rounded resolves to
     SF Pro Rounded on Apple platforms; Nunito covers everywhere else. */
  --font: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system,
          BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* ---------- reset ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.band { padding: clamp(72px, 11vw, 132px) 0; }
.band--raised { background: var(--bg-raised); }

/* The glass surface used for cards and camera chrome throughout the app. */
.glass {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---------- type ---------- */

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}

.h2 { font-size: clamp(30px, 5vw, 52px); }
.h3 { font-size: clamp(20px, 2.4vw, 25px); }

/* The second line of a heading carries the accent — the one place colour is
   allowed to do emphasis rather than mark liveness. */
.accent { color: var(--accent); }

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  max-width: 58ch;
}

.section-head { margin-bottom: clamp(38px, 5vw, 62px); }
.section-head .lead { margin-top: 16px; }
.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform 0.14s ease, background 0.18s ease, opacity 0.18s ease;
}
.btn:active { transform: scale(0.96); } /* mirrors PressableStyle */

.btn--accent { background: var(--accent); color: #08080c; }
.btn--accent:hover { background: #e4ff66; }

.btn--ghost {
  background: var(--card);
  border: 1px solid var(--stroke);
  color: var(--text);
}
.btn--ghost:hover { background: var(--card-hover); }

.btn--sm { padding: 10px 17px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16.5px; }
.ico-apple { margin-top: -2px; }   /* the glyph's optical centre sits low */

/* ---------- store CTA ---------- */

/* Apple's official badge, used unmodified. Their guidelines ask for clear
   space of at least 10% of the badge's height on every side, and no recolouring
   or restyling — so this only reserves that space and adds a focus ring. */
.store-badge {
  display: inline-block;
  padding: 6px;
  margin: -6px;
  border-radius: 10px;
  transition: opacity 0.18s ease;
}
.store-badge:hover { opacity: 0.85; }
.store-badge img { height: 51px; width: auto; }

.cta { margin-top: 30px; }
.cta--center { display: flex; flex-direction: column; align-items: center; }
.cta__note {
  margin-top: 13px;
  font-size: 13.5px;
  color: var(--faint);
}

/* ---------- nav ---------- */

/* A floating pill rather than a full-width bar: it keeps the dark ground
   uninterrupted behind it, so the page reads as one surface with the nav
   hovering over it. */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 16px var(--gutter) 0;
  pointer-events: none;   /* only the pill is interactive */
}

.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 7px 7px 7px 17px;
  border-radius: 999px;
  background: rgba(18, 18, 26, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* Firms up once you leave the hero, where there is content behind it. */
.nav.is-stuck .nav__pill {
  background: rgba(16, 16, 23, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.nav__links a { transition: color 0.16s ease; }
.nav__links a:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  /* Pulled up under the floating nav so the pill overlaps the hero rather
     than sitting on a band of its own. */
  margin-top: -84px;
  padding: clamp(126px, 13vw, 168px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
}

/* GhostFrame.swift — the drifting radial wash the app falls back to when the
   lens is off. Same idea, same restraint. */
.ghost {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  pointer-events: none;
  background:
    radial-gradient(46% 40% at 30% 24%, rgba(255, 255, 255, 0.09), transparent 70%),
    radial-gradient(38% 36% at 74% 62%, rgba(217, 255, 59, 0.07), transparent 72%);
  animation: drift 17s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 72px);
  margin: 22px 0 20px;
}

.hero .lead { font-size: clamp(16px, 1.8vw, 19.5px); }

/* ---------- phone ---------- */

.phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.phone {
  position: relative;
  width: clamp(258px, 30vw, 320px);
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #26262e, #0d0d12 55%, #1c1c22);
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #08080c;
  display: flex;
  flex-direction: column;
}

.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #000;
  z-index: 5;
}

/* The live camera feed. */
.phone__feed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(180deg, #14141b, #0a0a0f);
  /* The footage is a background, not the subject. Held well back so the
     script stays the brightest thing on the screen — which is exactly the
     hierarchy the app itself keeps. */
  filter: brightness(0.58) contrast(1.04) saturate(0.85);
}

/* Two jobs: sit the footage back so it reads as a background rather than the
   subject, and guarantee contrast under the prompter. The app overlays its
   script on the feed the same way. */
.phone__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6, 6, 10, 0.55) 0%,
      rgba(6, 6, 10, 0.16) 20%,
      rgba(6, 6, 10, 0.78) 41%,
      rgba(6, 6, 10, 0.92) 62%,
      rgba(6, 6, 10, 0.97) 100%);
}

.phone__ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 42px 15px 17px;
}

.stage-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
}
.stage-top__rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--stroke);
}
.stage-top__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: blink 1.15s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.stage-top__count {
  margin-left: auto;
  color: var(--faint);
  font-weight: 700;
}

/* ---------- the prompter ---------- */

.prompter {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 14px 0;
}

.prompter__text {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.01em;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* The three states, straight out of the app. */
.w {
  color: var(--upcoming);
  transition: color 0.22s ease;
}
/* Only in the phone, where words sit over moving footage. The standalone
   demo in the voice-lock band sits on a flat surface and needs none of this. */
.phone .w { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); }
.phone .w.is-spoken { color: #fff; }
.phone .w:not(.is-spoken):not(.is-live) { color: rgba(255, 255, 255, 0.52); }
.w.is-spoken { color: var(--text); }
.w.is-live {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(217, 255, 59, 0.4);
}

.listening {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 22px;
  margin-bottom: 12px;
}
.listening span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.85;
  animation: wave 1.05s ease-in-out infinite;
}
.listening span:nth-child(1) { height: 7px;  animation-delay: 0s; }
.listening span:nth-child(2) { height: 15px; animation-delay: 0.1s; }
.listening span:nth-child(3) { height: 21px; animation-delay: 0.2s; }
.listening span:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.listening span:nth-child(5) { height: 18px; animation-delay: 0.4s; }
.listening span:nth-child(6) { height: 8px;  animation-delay: 0.5s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.42); }
  50%      { transform: scaleY(1); }
}

.shutter {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.shutter__ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
}
.shutter__core {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--live);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step { padding: 26px 26px 32px; }

/* ---------- step mockups ---------- */

/* Small drawings of the app's own screens. Built in CSS rather than captured,
   so they stay sharp at any size and never drift out of date with a
   screenshot folder. */
.mini {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.mini__screen {
  position: relative;
  width: 152px;
  aspect-ratio: 9 / 17;
  border-radius: 22px;
  padding: 13px 11px;
  overflow: hidden;
  background: #0c0c12;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
}

/* The feed for the two camera screens. Reuses the hero's poster frame — it is
   already downloaded, and a real face makes these read as screens rather than
   as diagrams. Held well back for the same reason as the hero. */
.mini__feed {
  position: absolute;
  inset: 0;
  background: url("hero-poster.jpg") center 22% / cover no-repeat, #0b0b11;
  filter: brightness(0.5) contrast(1.05) saturate(0.8);
}

/* --- editor --- */

.mini__bar { display: flex; gap: 5px; margin-bottom: 13px; }
.mini__chip {
  font-size: 8px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.08);
}
.mini__chip--on { background: var(--accent); color: #08080c; }

.mini__title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 11px;
}

.mini__lines { display: grid; gap: 7px; }
.mini__lines span {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.17);
}

.mini__cta {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 12px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  color: #08080c;
  background: var(--accent);
  border-radius: 999px;
  padding: 7px 0;
}

/* --- countdown --- */

.mini__count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
}

.mini__shutter {
  position: absolute;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}
.mini__shutter span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
}
.mini__shutter--live span {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--live);
}

/* --- prompter --- */

.mini__rec {
  position: absolute;
  top: 12px;
  left: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}
.mini__rec i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
}

.mini__script {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
}
.mini__screen--prompt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.5), rgba(8, 8, 12, 0.88));
  z-index: 0;
}
.mini__screen--prompt .mini__rec,
.mini__screen--prompt .mini__script,
.mini__screen--prompt .mini__shutter { z-index: 1; }

.step__n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(217, 255, 59, 0.14);
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}
.step p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* ---------- voice-lock band ---------- */

.lock__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}

.lock__demo {
  padding: 34px 30px;
  border-radius: var(--radius);
}
.lock__demo .prompter__text { font-size: clamp(19px, 2.2vw, 25px); }

.lock__hint {
  margin-top: 22px;
  font-size: 13px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticks { margin-top: 26px; display: grid; gap: 14px; }
.tick { display: flex; gap: 12px; align-items: flex-start; }
.tick__mark {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(217, 255, 59, 0.14);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  margin-top: 2px;
}
.tick p { color: var(--muted); font-size: 15.5px; }
.tick strong { color: var(--text); font-weight: 700; }

/* ---------- features: bento ---------- */

/* Six identical icon-and-paragraph cards is the shape every template ships
   with, and it says nothing. These carry the actual thing they describe — a
   running prompter, the cue tray, the take strip — at varying sizes, so the
   grid has a rhythm and each card earns its space. */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento__card {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.bento__card:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}
.bento__card--wide { grid-column: span 2; }

.bento__body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.bento__body p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.bento__vis { margin-top: 20px; }
/* Pushed to the bottom so the two wide cards' visuals sit on the same line
   even though their copy runs to different lengths. */
.bento__card--wide .bento__vis { margin-top: auto; padding-top: 22px; }
/* The small cards lead with the visual; the wide ones lead with the words. */
.bento__card:not(.bento__card--wide) .bento__vis {
  margin: 0 0 20px;
  order: -1;
}

/* --- running prompter --- */

.bento__vis--prompt {
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 18px;
  min-height: 132px;
  display: flex;
  align-items: center;
}
.bento__vis--prompt .prompter__text {
  font-size: 16.5px;
  line-height: 1.5;
}

/* --- cue tray --- */

.bento__vis--tray {
  display: flex;
  gap: 10px;
  overflow: hidden;
}
.cue {
  flex: 1;
  min-width: 0;
  border-radius: 14px;
  padding: 14px 12px 12px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.cue--on { border-color: var(--accent); background: rgba(217, 255, 59, 0.07); }
.cue__line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 6px;
}
.cue--on .cue__line { background: rgba(255, 255, 255, 0.4); }
.cue__meta {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cue__meta i { color: var(--accent); font-style: normal; }

/* --- take thumbnails --- */

.bento__vis--takes { display: flex; gap: 9px; }
.tk {
  position: relative;
  width: 52px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: url("hero-poster.jpg") center 24% / cover no-repeat, #14141b;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.tk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,12,.15), rgba(8,8,12,.78));
}
.tk b {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: #08080c;
  font-size: 8.5px;
  display: grid;
  place-items: center;
}
.tk span {
  position: absolute;
  left: 6px;
  bottom: 5px;
  z-index: 1;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}

/* --- type controls --- */

.bento__vis--type { display: grid; gap: 8px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span {
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
}
.chips span.on { background: var(--accent); color: #08080c; }

.swatches { display: flex; gap: 7px; margin-top: 2px; }
.swatches i {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.swatches i.on { box-shadow: 0 0 0 2px var(--accent); }

/* --- import --- */

.bento__vis--import { display: grid; gap: 7px; }
.file {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.file b {
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(217, 255, 59, 0.13);
  padding: 3px 5px;
  border-radius: 5px;
}
.file--ghost {
  border-style: dashed;
  background: transparent;
  color: var(--faint);
}

/* --- privacy --- */

.bento__vis--private { display: grid; gap: 8px; }
.priv {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.priv i {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  color: var(--accent);
  background: rgba(217, 255, 59, 0.14);
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 28px 22px 30px;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border-color: rgba(217, 255, 59, 0.42);
  background: rgba(217, 255, 59, 0.055);
}

/* Sits on the border rather than inside the padding, so it doesn't shove the
   featured card's content down and break alignment with its neighbours. */
.plan__badge {
  position: absolute;
  top: -11px;
  left: 22px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #08080c;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}

.plan__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.plan--featured .plan__tag { color: var(--accent); }

.plan__price {
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 2px;
  line-height: 1.05;
}
.plan__price span {
  font-size: 15px;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0;
}

.plan__note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--stroke);
}

/* Every plan lists exactly four rows, so the buttons line up across all three
   without `margin-top:auto` opening a dead gap under the shorter card. */
.plan ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
}
.plan li svg { flex: none; margin-top: 3px; color: var(--accent); }

/* What a tier doesn't get, said plainly. A pricing table that only lists
   upsides makes the reader hunt for the catch. */
.plan li.is-off { color: var(--faint); }
.plan li .x {
  flex: none;
  width: 13px;
  text-align: center;
  color: var(--faint);
  font-weight: 800;
  margin-top: 1px;
}

.plan .btn { margin-top: auto; width: 100%; }

.plan__foot {
  text-align: center;
  margin-top: 28px;
  color: var(--faint);
  font-size: 13px;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- faq ---------- */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 11px; }

.faq details {
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--stroke);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 22px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  padding: 0 22px 21px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- closing ---------- */

.closing {
  text-align: center;
  padding: clamp(50px, 7vw, 76px) var(--gutter);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.closing .lead { margin: 16px auto 0; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--stroke);
  padding: 34px 0;
  margin-top: clamp(60px, 8vw, 96px);
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 14px;
}
.footer__links { margin-left: auto; display: flex; gap: 22px; }
.footer__links a:hover { color: var(--text); }

/* ---------- legal pages ---------- */

.legal { padding: 56px 0 20px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 10px; }
.legal h2 { font-size: 21px; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 9px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 30px; }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .hero__grid, .lock__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .phone-wrap { order: -1; margin-bottom: 34px; }
  .steps, .plans { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--wide { grid-column: span 2; }
  .nav__links { display: none; }
  .nav__pill { gap: 14px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  /* Keeps the nav CTA on one line at 320px, where it otherwise wraps and
     pushes the header out of shape. */
  .nav__pill { gap: 10px; padding: 7px 7px 7px 14px; }
  .nav .btn { padding: 9px 13px; font-size: 13px; white-space: nowrap; }
  .btn--lg { padding: 15px 20px; font-size: 15px; }
  .steps, .plans { grid-template-columns: 1fr; }
  .bento, .bento__card--wide { grid-template-columns: 1fr; grid-column: span 1; }
  .cta .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { margin-left: 0; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* The reveal must not leave content invisible when its transition is gone. */
  .reveal { opacity: 1; transform: none; }
}
