/* Kit landing page. Tokens mirror the app's Emerald and blush theme
   (KIT/Core/Services/ThemeManager.swift); see KIT/docs/marketing/PRODUCT.md. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/SchibstedGrotesk-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/SchibstedGrotesk-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --primary: #0A7B55;
  --primary-deep: #086A49;
  --accent: #FFC2D6;
  --ink: #0D2A20;
  --text-2: #4E6A5E;
  --page: #F5FAF7;
  --tint: #E6F4EE;
  --line: #D3EAE0;
  --white: #FFFFFF;

  --display: "Schibsted Grotesk", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --sheet-radius: clamp(28px, 4vw, 48px);
  --shadow: 0 10px 28px rgba(13, 42, 32, 0.16), 0 1px 2px rgba(13, 42, 32, 0.08);
}

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

/* The page starts and ends on brand green, so overscroll at either end matches. */
html {
  -webkit-text-size-adjust: 100%;
  background: var(--primary);
  scroll-behavior: smooth;
}
/* Section links land with the heading just below the floating bar. */
section[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: transparent;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  z-index: 10;
}
.skip-link:focus { top: 12px; }

/* Download button: the app's pill shape, in black, with the Apple logo. (Apple's marketing
   guidelines only allow its logo inside the official badge; kept here by choice.) */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 32px;
  border-radius: 999px;
  background: #000;
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 120ms ease;
}
.cta { gap: 10px; }
.cta-logo { width: 22px; height: 22px; fill: currentColor; flex: none; margin-top: -3px; }
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: scale(0.98); }
.cta:focus-visible { outline-color: var(--white); }

/* ---------- Hero (the app's brand-colour header) ---------- */

.hero, .legal-header {
  background: var(--primary);
}
.hero {
  color: var(--white);
  padding: 0 var(--gutter) calc(var(--sheet-radius) + 72px);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.nav-logo img { width: 54px; height: auto; }
.nav-logo:focus-visible { outline-color: var(--white); }

/* Section links, in the header and the floating bar. Desktop only: on phones people scroll. */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.nav-links a.is-current { color: var(--white); background: rgba(255, 255, 255, 0.18); }
.nav-links a:focus-visible { outline-color: var(--white); }
.float-bar .nav-links a { padding: 8px 12px; font-size: 0.875rem; }

/* The floating download bar (see the script at the end of index.html). */
.float-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 24px), 820px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(10, 123, 85, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(13, 42, 32, 0.22);
  transform: translate(-50%, calc(-100% - 24px));
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.float-bar.is-shown { transform: translate(-50%, 0); }
.float-logo img { width: 40px; height: auto; }
.float-logo:focus-visible { outline-color: var(--white); }
.cta-small { min-height: 46px; padding: 0 20px; font-size: 1rem; gap: 8px; }
.cta-small .cta-logo { width: 18px; height: 18px; }

.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: clamp(24px, 6vw, 72px);
}

.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.hero-lede {
  margin-top: 22px;
  max-width: 34ch;
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  color: rgba(255, 255, 255, 0.88);
}
.hero .cta { margin-top: 32px; }

/* The hero image (rendered in ~/Projects/kit-promo as a transparent PNG). */
.hero-media { display: flex; justify-content: center; }
.hero-image { width: min(100%, 600px); height: auto; }

/* ---------- The white sheet the app slides over its header ---------- */

.sheet {
  position: relative;
  margin-top: calc(var(--sheet-radius) * -1 - 40px);
  background: var(--white);
  border-radius: var(--sheet-radius) var(--sheet-radius) 0 0;
  padding: clamp(56px, 8vw, 96px) var(--gutter) 24px;
}
.sheet > section {
  max-width: var(--wrap);
  margin: 0 auto;
}
.sheet > section + section { margin-top: clamp(80px, 11vw, 136px); }

.sheet h2 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); }

.intro { text-align: center; }
.intro p {
  max-width: 38ch;
  margin: 22px auto 0;
  font-size: clamp(1.1875rem, 2vw, 1.4375rem);
  line-height: 1.5;
  color: var(--text-2);
}

/* How it works: the video beside the three steps it shows. A real sequence, so it's numbered. */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.steps-video {
  background: var(--primary);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.steps-video video { display: block; width: 100%; height: auto; }
.step-list {
  list-style: none;
  counter-reset: step;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.step-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
.step-list li > * { grid-column: 2; }
.step-list li { counter-increment: step; }
.step-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--primary);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  grid-row: span 2;
  grid-column: 1;
}
.step-list h3 { font-size: 1.5rem; padding-top: 6px; }
.step-list p { margin-top: 10px; color: var(--text-2); max-width: 32ch; }

/* Features: a tab list of features beside a phone that shows the selected one. The phone is drawn
   like the App Store slides: a real screen, with the piece of Kit that matters lifted out above it.
   Sizes inside the stage use cqw (1% of the stage's width), so the whole picture scales as one. */
.features h2 { text-align: left; }
.fs {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

/* The list, like the app's Settings card. */
.fs-tabs {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 6px;
  display: grid;
  gap: 2px;
}
.fs-tab {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 18px;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.fs-tab:hover { background: var(--page); }
.fs-tab[aria-selected="true"] { background: var(--tint); }
.fs-tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; border-radius: 18px; }
.fs-tab-text { display: grid; padding-top: 9px; }
.fs-tab-title { font-weight: 650; font-size: 1.0625rem; line-height: 1.3; }
.fs-tab-detail { display: none; margin-top: 4px; color: var(--text-2); font-size: 0.9688rem; line-height: 1.45; }
.fs-tab[aria-selected="true"] .fs-tab-detail { display: block; animation: fs-reveal 360ms cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes fs-reveal { from { opacity: 0; translate: 0 -4px; } }
.row-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--tint);
  transition: background-color 200ms ease;
}
.row-icon svg { width: 21px; height: 21px; fill: var(--primary); transition: fill 200ms ease; }
.fs-tab[aria-selected="true"] .row-icon { background: var(--primary); }
.fs-tab[aria-selected="true"] .row-icon svg { fill: var(--white); }

/* The picture: a shared backdrop and phone body, with every panel stacked in the same cell. */
.fs-view {
  container-type: inline-size;
  display: grid;
  max-width: 560px;
  width: 100%;
  justify-self: center;
}
.fs-view > * { grid-area: 1 / 1; }
.fs-stage {
  position: relative;
  aspect-ratio: 100 / 118;
  border-radius: 36px;
  overflow: hidden;
}
.fs-backdrop {
  background:
    radial-gradient(60% 50% at 28% 22%, rgba(20, 150, 104, 0.55), rgba(20, 150, 104, 0) 70%),
    linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: var(--shadow);
}
.fs-deco { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-hill { fill: #065A3E; }
.fs-rings ellipse { fill: none; stroke: #2D9A74; stroke-width: 0.5; }
.fs-ribbon { fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; vector-effect: none; }
.fs-spark { position: absolute; height: auto; fill: var(--accent); }
.fs-spark-white { fill: var(--white); }

/* The phone: the screen box is 50cqw wide (a 1320 x 2868 capture), turned slightly, cut off by the
   bottom of the stage like the App Store slides. Pop-outs are placed in % of the screen box. */
.fs-device {
  position: absolute;
  left: 25cqw;
  top: 15cqw;
  width: 50cqw;
  aspect-ratio: 1320 / 2868;
  rotate: -4deg;
  transform-origin: 50% 30%;
}
.fs-body {
  position: absolute;
  inset: -2.1cqw;
  border-radius: 9.6cqw;
  background: #050505;
  box-shadow:
    0 0 0 0.7cqw #3A3F3D,
    0 5cqw 9cqw rgba(4, 30, 20, 0.45),
    0 1.2cqw 3cqw rgba(4, 30, 20, 0.3);
}
.fs-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 7.6cqw;
  background: var(--page);
}

.fs-panel {
  display: grid;
  align-content: start;
  visibility: hidden;
  transition: visibility 0s linear 420ms;
}
.fs-panel.is-active { visibility: visible; transition-delay: 0s; z-index: 1; }
.fs-panel .fs-stage { background: none; }
.fs-panel .fs-screen { opacity: 0; transition: opacity 420ms ease; }
.fs-panel.is-active .fs-screen { opacity: 1; }

/* Every lifted piece springs in from a little smaller and lower. */
.fs-pop {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w, auto);
  font-family: var(--body);
  color: var(--ink);
  rotate: var(--r, 0deg);
  opacity: 0;
  transform: translateY(4cqw) scale(0.72);
  transition: opacity 180ms ease, transform 200ms ease;
}
.fs-panel.is-active .fs-pop {
  opacity: 1;
  transform: none;
  transition:
    opacity 260ms ease calc(160ms + var(--d, 0ms)),
    transform 640ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(160ms + var(--d, 0ms));
}

.fs-pop, .fs-pill, .fs-menu, .fs-card { --lift: 0 5cqw 10cqw rgba(4, 30, 20, 0.4), 0 1.2cqw 3cqw rgba(4, 30, 20, 0.22); }

.fs-bubble {
  background: var(--white);
  border-radius: 6cqw 6cqw 6cqw 1.8cqw;
  padding: 4.4cqw 5cqw 4.8cqw;
  font-weight: 600;
  font-size: 4.3cqw;
  line-height: 1.25;
  letter-spacing: -0.01em;
  box-shadow: var(--lift);
}
.fs-tag {
  position: absolute;
  right: 4cqw;
  top: -3.6cqw;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 1.2cqw 2.6cqw;
  border-radius: 999px;
  background: var(--accent);
  font-size: 2.7cqw;
  font-weight: 700;
  rotate: 4deg;
  box-shadow: 0 1.4cqw 3.4cqw rgba(4, 30, 20, 0.25);
  white-space: nowrap;
}
.fs-tag svg { width: 3cqw; height: 3cqw; fill: var(--ink); }

.fs-chip {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 2.2cqw 3.6cqw 2.2cqw 2.4cqw;
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 3.4cqw;
  white-space: nowrap;
  box-shadow: var(--lift);
}
.fs-tick { width: 4.4cqw; height: 4.4cqw; flex: none; }
.fs-tick circle { fill: var(--primary); }
.fs-tick path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* Frequency and group pills: each springs in a beat after the one above. */
.fs-pills { display: grid; justify-items: start; gap: 2.6cqw; }
.fs-pills .fs-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.8cqw;
  padding: 2.8cqw 4.6cqw;
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 4.6cqw;
  letter-spacing: -0.015em;
  white-space: nowrap;
  box-shadow: var(--lift);
  opacity: 0;
  transform: translateX(-3cqw) scale(0.8);
  transition: opacity 160ms ease, transform 200ms ease;
}
.fs-pills .fs-pill.is-on { background: var(--accent); padding-left: 2.6cqw; }
.fs-pills .fs-pill .fs-tick { width: 5cqw; height: 5cqw; }
.fs-pills .fs-pill > svg:not(.fs-tick) { width: 4.4cqw; height: 4.4cqw; fill: var(--primary); }
.fs-panel.is-active .fs-pill {
  opacity: 1;
  transform: none;
  transition:
    opacity 240ms ease calc(220ms + var(--d)),
    transform 620ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(220ms + var(--d));
}
.fs-pills .fs-pill:nth-child(2) { rotate: 2deg; }
.fs-pills .fs-pill:nth-child(3) { rotate: -1.5deg; }

/* An iOS notification banner with Kit's real birthday wording. */
.fs-banner {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 3.4cqw 3.8cqw;
  border-radius: 6cqw;
  background: rgba(255, 255, 255, 0.97);
  color: #000;
  font-size: 3.2cqw;
  line-height: 1.3;
  box-shadow: var(--lift);
}
.fs-banner > img { width: 9.6cqw; height: 9.6cqw; border-radius: 2.2cqw; flex: none; }
.fs-banner > span { flex: 1; }
.fs-banner b { font-weight: 700; }
.fs-banner-time { float: right; color: #8A8A8E; font-size: 3cqw; }
.fs-disc {
  width: 20cqw;
  height: 20cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  border: 0.9cqw solid var(--white);
  box-shadow: var(--lift);
}
.fs-disc svg { width: 9cqw; height: 9cqw; fill: var(--ink); }

/* Snooze: the card from Maya's page, enlarged, and the menu it opens. */
.fs-snooze {
  display: flex;
  align-items: center;
  gap: 2.8cqw;
  padding: 3.4cqw 3.6cqw;
  border-radius: 4.6cqw;
  background: var(--tint);
  border: 0.6cqw solid var(--white);
  box-shadow: var(--lift);
}
.fs-snooze-icon {
  flex: none;
  width: 8.4cqw;
  height: 8.4cqw;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
}
.fs-snooze-icon svg { width: 4.6cqw; height: 4.6cqw; fill: var(--primary); }
.fs-snooze-text { flex: 1; font-size: 2.6cqw; color: var(--text-2); line-height: 1.3; }
.fs-snooze-text b { display: block; color: var(--ink); font-size: 3.3cqw; white-space: nowrap; }
.fs-snooze-btn { font-weight: 650; font-size: 3.2cqw; color: var(--primary); padding-right: 1cqw; }
.fs-menu {
  display: grid;
  border-radius: 4.4cqw;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--lift);
  font-size: 3.5cqw;
  overflow: hidden;
}
.fs-menu > span { padding: 2cqw 4cqw; }
.fs-menu > span + span { border-top: 1px solid #E4E8E6; }
.fs-menu-head { font-size: 2.9cqw; color: #8A8A8E; padding-bottom: 1.6cqw !important; }

/* Kit's add-people sheet, rebuilt with the test people. */
.fs-card {
  display: grid;
  gap: 3.6cqw;
  padding: 4cqw 4cqw 4.6cqw;
  border-radius: 7cqw;
  background: var(--page);
  box-shadow: var(--lift);
}
.fs-card-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 4.4cqw; letter-spacing: -0.01em; }
.fs-card-head .fs-tick { width: 7cqw; height: 7cqw; }
.fs-x { width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--tint); position: relative; }
.fs-x::before, .fs-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2.6cqw; height: 0.4cqw; border-radius: 1cqw; background: var(--ink); translate: -50% -50%; rotate: 45deg; }
.fs-x::after { rotate: -45deg; }
.fs-card-list { display: grid; background: var(--white); border-radius: 4cqw; box-shadow: 0 0.5cqw 2cqw rgba(13, 42, 32, 0.08); }
.fs-person { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 3.4cqw; font-size: 3.4cqw; color: var(--text-2); line-height: 1.25; }
.fs-person + .fs-person { border-top: 1px solid var(--tint); }
.fs-person > span:nth-child(2) { flex: 1; }
.fs-person b { display: block; color: var(--ink); font-size: 4.4cqw; letter-spacing: -0.015em; }
.fs-person .fs-tick { width: 5.4cqw; height: 5.4cqw; }
.fs-av { flex: none; width: 9.6cqw; height: 9.6cqw; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 3.4cqw; }

/* The three app icons. */
.fs-icon { width: 22cqw; }
.fs-icon img { width: 100%; height: auto; border-radius: 22.37%; box-shadow: var(--lift); }

/* The caption under the phone: read out with the panel, shown on small screens only (on wide
   screens the selected row already shows it). */
.fs-caption { margin-top: 20px; }
.fs-caption h3 { font-size: 1.5rem; }
.fs-caption p { margin-top: 6px; color: var(--text-2); max-width: 40ch; }
@media (min-width: 901px) {
  .fs-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Privacy */
.privacy {
  background: var(--tint);
  border-radius: 32px;
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.privacy-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 30ch));
  justify-content: center;
  gap: 24px 48px;
}
.privacy-points li { color: var(--text-2); }
/* Same tile as the features list, in white so it shows on the tinted panel. */
.privacy-points .row-icon { margin: 0 auto 14px; background: var(--white); }
.privacy-points b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
.text-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 600;
  color: var(--primary-deep);
  text-underline-offset: 3px;
}

/* Pricing: Basic and Pro, named as in the app's Settings. */
.plans {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
}
.plan h3 { font-size: 1.5rem; }
.price {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price span { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 800; }
.price-label { margin-top: 10px; font-weight: 700; font-size: 1.0625rem; }
.plan-pro .price-label { color: rgba(255, 255, 255, 0.86); }
.plan ul { margin: 24px 0 0; padding-left: 1.1em; color: var(--text-2); }
.plan li + li { margin-top: 8px; }
.plan-pro { background: var(--primary); border-color: var(--primary); color: var(--white); }
.plan-pro ul { color: rgba(255, 255, 255, 0.86); }

/* FAQ */
.faq { max-width: 760px !important; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 650;
  font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.5rem;
  color: var(--primary);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--text-2); max-width: 60ch; }
.support { margin-top: 40px; scroll-margin-top: 96px; }
.support h3 { font-size: 1.125rem; font-weight: 650; }
.support p { margin-top: 8px; color: var(--text-2); max-width: 60ch; }
.support a { color: var(--primary); font-weight: 650; text-underline-offset: 3px; }

/* ---------- Closing ---------- */

.closing {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: clamp(72px, 10vw, 120px) var(--gutter);
  display: grid;
  justify-items: center;
}
.closing img { width: 84px; }
.closing-acronym {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.closing h2 {
  margin-top: 36px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  max-width: 14ch;
}
.closing .cta { margin-top: 36px; }
.closing-links {
  margin-top: clamp(56px, 8vw, 88px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}
.closing-links a { color: var(--white); text-underline-offset: 3px; }
.closing-links a:focus-visible { outline-color: var(--white); }

/* ---------- Smaller screens ---------- */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-bottom: calc(var(--sheet-radius) + 104px); }
  .hero-media { margin-top: 8px; }
  .steps { grid-template-columns: 1fr; }
  .steps-video { max-width: 460px; justify-self: center; width: 100%; }
  .privacy-points { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .fs { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .fs-view { order: -1; }
  /* The list becomes a row of chips you can swipe along. */
  .fs-tabs {
    display: flex;
    gap: 8px;
    border: 0;
    padding: 4px var(--gutter);
    margin: 0 calc(var(--gutter) * -1);
    border-radius: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .fs-tabs::-webkit-scrollbar { display: none; }
  .fs-tab {
    flex: none;
    width: auto;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background: var(--tint);
    scroll-snap-align: start;
  }
  .fs-tab:hover { background: var(--tint); }
  .fs-tab[aria-selected="true"] { background: var(--primary); color: var(--white); }
  .fs-tab:focus-visible { border-radius: 999px; outline-offset: 2px; }
  .fs-tab .row-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--white); }
  .fs-tab .row-icon svg { width: 17px; height: 17px; }
  .fs-tab[aria-selected="true"] .row-icon { background: var(--white); }
  .fs-tab[aria-selected="true"] .row-icon svg { fill: var(--primary); }
  .fs-tab-text { padding-top: 0; }
  .fs-tab-title { font-size: 0.9688rem; white-space: nowrap; }
  .fs-tab .fs-tab-detail { display: none !important; }
  .fs-stage { border-radius: 28px; }
}

@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .cta { width: 100%; }
  .cta-small { width: auto; }

}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  /* Features: a plain quick fade, no movement. */
  .fs-pop, .fs-pills .fs-pill, .fs-panel.is-active .fs-pop, .fs-panel.is-active .fs-pill { transform: none; transition: opacity 150ms ease; }
  .fs-panel .fs-screen { transition: opacity 150ms ease; }
  .fs-panel { transition-delay: 150ms; }
  .fs-tab[aria-selected="true"] .fs-tab-detail { animation: none; }
  .float-bar { transition: none; }
  html { scroll-behavior: auto; }

}
