/* PickVo website.
   Colours are the app's Light palette (see growth/pickvo-appstore-thumbnails/src/theme.ts).
   Inter is the face the launch assets use for SF Pro. */

:root {
  --ink: #141a17;
  --ink-2: #4f5a53;
  --ink-3: #626d66;
  --brand: #2f7d5b;
  --brand-deep: #0b4a3a;
  --mint: #eef4ef;
  --mint-2: #dcebe1;
  --line: #e4e9e5;
  --paper: #ffffff;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;

  --container: 1040px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(36px, 4.4vw, 60px);
  --header-h: 68px;

  /* Type: hero 36 to 48px, features 24 to 32px, compact headings 22 to 25px,
     body 15 to 16px. */
  --h1: clamp(2.25rem, 1.75rem + 1.6vw, 3rem);
  --h2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --h2-compact: clamp(1.375rem, 1.25rem + 0.4vw, 1.5625rem);
  --lede: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  --body: clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

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

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 { font-size: var(--h2); }

p { text-wrap: pretty; }

a { color: inherit; }

.accent { color: var(--brand); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: calc(600px + var(--gutter) * 2); }

.centered { text-align: center; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(20, 40, 30, 0.06);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-nav a:hover { color: var(--ink); background: var(--mint); }

/* ------------------------------------------------------- header button */

.get-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 42px;
  padding: 0 18px 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}
.get-button svg { transition: transform 0.2s var(--ease); }
.get-button:hover { background: #26302b; }
.get-button:hover svg { transform: translate(1px, -1px); }
.get-button:active { transform: scale(0.98); }

/* ------------------------------------------------------------ store badge */

.store-badge {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
}
.store-badge img { width: 100%; height: 100%; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge:active { transform: translateY(0) scale(0.98); opacity: 0.9; }

/* Apple's badge is 3:1; 150 x 50 keeps it at that shape. */
.store-badge--large { width: 150px; height: 50px; }

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

.hero {
  position: relative;
  padding-top: clamp(20px, 3vw, 40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 48px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-brand img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px rgba(15, 74, 58, 0.10);
}

.hero-title {
  font-size: var(--h1);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-lede {
  margin-top: 14px;
  max-width: 30ch;
  font-size: var(--lede);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.hero-note {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-3);
}

/* The two phones sit in a 430 x 460 box: the scan phone in front, Home behind. */
.hero-visual {
  position: relative;
  width: 430px;
  height: 460px;
}

.hero-glow {
  position: absolute;
  inset: 6% -4% 0 -4%;
  background:
    radial-gradient(closest-side at 44% 54%, rgba(47, 125, 91, 0.15), rgba(47, 125, 91, 0) 72%),
    radial-gradient(closest-side at 80% 30%, rgba(220, 235, 225, 0.9), rgba(220, 235, 225, 0) 70%);
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  bottom: 0;
  height: auto;
}

.hero-phone--front {
  left: 0;
  width: 260px;
  z-index: 2;
}

.hero-phone--back {
  right: 0;
  bottom: 74px;
  width: 210px;
  z-index: 1;
}

/* ----------------------------------------------------------- feature rows */

.feature { padding-top: var(--section); }

/* Nav links land on the content, not on the section's top padding. */
.feature[id] { scroll-margin-top: calc(var(--section) * -1 + 16px); }

.feature p,
.closing p { color: var(--ink-2); }

.feature h2 + p { margin-top: 14px; }

.feature .fine {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.split-copy { max-width: 420px; }

.split-media { display: flex; justify-content: center; }

.detail { width: 100%; }
.detail--scan { max-width: 420px; }

/* A standalone phone: about 265 x 440. */
.split-media--phone .phone { width: 265px; }

/* Find Your Next Flip: centred copy, the clip with the dark phone over its corner.
   The stage is 420px tall: a 320 x 400 clip and 20px for the phone's overhang. */
.showcase {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.showcase-stage {
  position: relative;
  width: 500px;
  padding-right: 180px;
  padding-bottom: 20px;
}

.video-card {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: #e9e6dd;
  box-shadow: 0 0 0 1px rgba(20, 26, 23, 0.06), 0 24px 48px -28px rgba(14, 34, 25, 0.28);
  isolation: isolate;
}

.video-still,
.video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video { z-index: 1; }
.video-card.is-static .video { visibility: hidden; }

.video-toggle {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 26, 23, 0.62);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.video-toggle[hidden] { display: none; }
.video-toggle .icon-play { display: none; }
.video-card.is-paused .video-toggle .icon-play { display: block; }
.video-card.is-paused .video-toggle .icon-pause { display: none; }

.phone--source {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 200px;
  z-index: 3;
}

/* ------------------------------------------------------------- overview */

.overview { padding-top: var(--section); }

.overview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 40px;
  margin-bottom: 20px;
}

.overview-title {
  font-size: var(--h2-compact);
  letter-spacing: -0.025em;
  line-height: 1.2;
}


/* One row of three: inventory a little wider, profit and rank equal.
   The crops are shaped so the three images come out the same height. */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(170deg, #f2f6f2 0%, var(--mint) 100%);
  box-shadow: inset 0 0 0 1px rgba(20, 26, 23, 0.04);
}

.tile-copy { padding: 20px 22px 0; }

.tile h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}


.tile-media {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px 16px 0;
}

.tile-img { width: 100%; }

/* ------------------------------------------------------------ CTA bands */

.cta-band { padding-top: var(--section); }

.cta-band-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 20px;
  background: var(--mint);
}

.cta-band-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--line), 0 6px 14px rgba(15, 74, 58, 0.08);
}

.cta-band-title {
  flex: 1;
  font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  letter-spacing: -0.025em;
}

/* ------------------------------------------------------- More than a scan. */

.features { padding-top: var(--section); }

.features-title { margin-bottom: 20px; }

/* Three columns: the lead card spans two with one card beside it, three below. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 26, 23, 0.04);
}

.fcard-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--brand);
}
.fcard-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fcard h3 {
  margin-top: 14px;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fcard p {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.fcard--lead {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 20px 20px 20px 28px;
  border-color: #cfe4d6;
  background: linear-gradient(135deg, #edf6f0 0%, #ddefe4 100%);
}
.fcard--lead .fcard-copy { flex: 1; min-width: 0; }
.fcard--lead h3 { margin-top: 0; font-size: 1.375rem; }
.fcard--lead p { max-width: 30ch; }

.fcard-visual {
  flex: 0 0 220px;
  position: relative;
}
.fcard-visual img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(20, 26, 23, 0.06), 0 12px 24px -14px rgba(14, 34, 25, 0.45);
}

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

.closing { padding-block: var(--section); }

/* One contained emerald panel, about 400px tall: copy left, scan phone right.
   The phone rises from the panel's lower edge and is cut by it. */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  padding: 0 56px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(68, 165, 122, 0.28), rgba(68, 165, 122, 0) 60%),
    linear-gradient(150deg, #17614a 0%, #0f4637 55%, #0b3a2d 100%);
  isolation: isolate;
}

.cta-copy {
  align-self: center;
  padding-block: 48px;
}

.cta-title {
  font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
}
.cta-title-mint { color: #9fe3bf; }

.cta-copy p {
  margin-top: 14px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
}

.cta-copy .store-badge { margin-top: 24px; }

.cta-visual {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  padding-top: 40px;
}
.cta-visual::before {
  content: "";
  position: absolute;
  inset: 10% -10% -20%;
  background: radial-gradient(closest-side, rgba(159, 227, 191, 0.22), rgba(159, 227, 191, 0) 70%);
  z-index: -1;
}

.cta-phone {
  position: relative;
  width: 240px;
  flex-shrink: 0;
}

/* The scan highlight: one sweep down the camera photo when the panel first
   appears. Without motion it is simply absent and the picture is complete. */
.cta-scan {
  position: absolute;
  left: 8%;
  width: 77%;
  top: 4.5%;
  height: 39%;
  overflow: hidden;
  border-radius: 12px;
  pointer-events: none;
}
.cta-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 26%;
  border-bottom: 2px solid rgba(178, 255, 214, 0.85);
  background: linear-gradient(180deg, rgba(120, 235, 175, 0), rgba(120, 235, 175, 0.3));
  transform: translateY(-110%);
  opacity: 0;
}
.js-motion .cta-panel.is-visible .cta-scan::after {
  animation: scan-sweep 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s 1 both;
}

@keyframes scan-sweep {
  0% { transform: translateY(-110%); opacity: 0; }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(390%); opacity: 0; }
}

/* -------------------------------------------------------------------- FAQ */

.faq { padding-top: calc(var(--section) + 8px); }

.faq-inner { max-width: calc(760px + var(--gutter) * 2); }

.faq-title {
  font-size: var(--h2-compact);
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: inherit;
}

.faq-button {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 60px;
  padding: 16px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-button:focus-visible { outline-offset: 4px; }

/* A small green plus that turns into a cross when the answer is open. */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin-right: 6px;
  transition: transform 0.25s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5.5px;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-button[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a p {
  max-width: 62ch;
  padding: 0 36px 18px 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.faq-a p[hidden] { display: none; }

/* With JavaScript the answers start closed; without it they stay open. */
.js .faq-a:not(.is-open) { display: none; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px calc(28px + env(safe-area-inset-bottom));
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px 32px;
}

.brand--footer .brand-icon { width: 30px; height: 30px; border-radius: 8px; }
.brand--footer .brand-name { font-size: 1.0625rem; }

/* "PickVo | Resell smarter": a thin rule between the name and the tagline. */
.footer-sep {
  width: 1px;
  height: 18px;
  background: #cdd5cf;
}

.footer-tagline {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

/* Lined up with the name, under the icon's right edge. */
.footer-motto {
  margin-top: 4px;
  padding-left: 40px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.footer-nav a {
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 8px;
}
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
}
.footer-copy { margin-top: -8px; }

/* ----------------------------------------------------------------- dialog */

.soon {
  width: min(380px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(14, 34, 25, 0.35), 0 0 0 1px rgba(20, 26, 23, 0.06);
}

.soon::backdrop {
  background: rgba(16, 24, 20, 0.42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.soon[open] { animation: soon-in 0.28s var(--ease); }

@keyframes soon-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.soon-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 24px 24px;
  text-align: center;
}

.soon-body img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 1px var(--line);
}

.soon-body h2 {
  font-size: 1.3125rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.soon-body p {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.soon-close {
  margin-top: 20px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.soon-close:hover { background: #26302b; }

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

.js-motion .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-motion .reveal.is-visible { opacity: 1; transform: none; }

.js-motion .hero-copy > * {
  animation: rise 0.7s var(--ease) both;
}
.js-motion .hero-copy > :nth-child(2) { animation-delay: 0.05s; }
.js-motion .hero-copy > :nth-child(3) { animation-delay: 0.1s; }
.js-motion .hero-copy > :nth-child(4) { animation-delay: 0.15s; }
.js-motion .hero-phone--front { animation: rise 0.9s var(--ease) 0.08s both; }
.js-motion .hero-phone--back { animation: rise 0.9s var(--ease) 0.2s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Reduced motion switched on after load: show everything at once. */
  .js-motion .reveal { opacity: 1; transform: none; }
  .js-motion .hero-copy > *,
  .js-motion .hero-phone--front,
  .js-motion .hero-phone--back { animation: none; }
}

@media print {
  .js-motion .reveal { opacity: 1; transform: none; }
  .js-motion .hero-copy > *,
  .js-motion .hero-phone--front,
  .js-motion .hero-phone--back { animation: none; }
}

/* ----------------------------------------------------------- tablet */

@media (max-width: 1040px) {
  .site-nav a { padding-inline: 10px; }
  .hero-grid { gap: 32px; }
}

/* ------------------------------------------------------- small tablet */

@media (max-width: 899px) {
  :root { --header-h: 64px; }

  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Same 430 x 460 composition, scaled to the column by percentage. */
  .hero-visual {
    width: min(430px, 100%);
    height: auto;
    aspect-ratio: 430 / 460;
    margin: 24px auto 0;
  }
  .hero-phone--front { width: 60.5%; }
  .hero-phone--back { width: 48.8%; bottom: 16%; }

  /* Every split becomes copy first, then its visual. */
  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .split--media-first .split-copy { order: -1; }
  .split-copy { max-width: 560px; }

  .split-media--phone .phone { width: 250px; }

  /* Inventory across the top, profit and rank side by side under it. */
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--inventory { grid-column: 1 / -1; }
  .tile--inventory .tile-img { max-width: 420px; }

  .overview-head {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Lead card across the top, the four others two by two. */
  .feature-grid { grid-template-columns: 1fr 1fr; }

  /* CTA: copy and badge first, then a smaller phone. */
  .cta-panel {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 28px;
    border-radius: 28px;
  }
  .cta-copy { padding: 36px 0 0; }
  .cta-visual { height: 342px; padding-top: 28px; }
  .cta-phone { width: 210px; }
}

/* ------------------------------------------------------------- phones */

@media (max-width: 600px) {
  :root { --gutter: 20px; }

  .get-button { height: 44px; padding: 0 16px 0 18px; }

  .hero-brand { gap: 10px; margin-bottom: 16px; font-size: 1.375rem; }
  .hero-brand img { width: 40px; height: 40px; border-radius: 9px; }
  .hero-cta { margin-top: 20px; }

  .showcase { margin-top: 24px; }
  .showcase-stage { width: min(100%, 360px); padding-right: 0; padding-bottom: 20px; }
  .video-card { width: 74%; border-radius: 20px; }
  .phone--source { width: 42%; }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 22px 20px;
  }

  /* Stacked tiles; each image stays near 330px so the app text stays legible. */
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .tile-copy { padding: 18px 20px 0; }
  .tile h3 { font-size: 1.1875rem; }
  .tile-media { padding: 12px 12px 0; }
  .tile-img,
  .tile--inventory .tile-img { max-width: 340px; }

  .fcard { padding: 20px; }
  .fcard--lead {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .fcard-visual { flex: none; width: min(100%, 260px); }

  .cta-panel { padding: 0 22px; border-radius: 24px; }
  .cta-copy { padding-top: 32px; }
  .cta-visual { height: 294px; padding-top: 24px; }
  .cta-phone { width: 180px; }

  .faq-button { min-height: 56px; padding: 14px 0; }
  .faq-a p { padding-right: 8px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; margin-left: -12px; }
}

@media (max-width: 479px) {
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .fcard--lead { grid-column: auto; }
  .fcard:not(.fcard--lead) {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px;
  }
  .fcard:not(.fcard--lead) .fcard-icon { grid-row: span 2; }
  .fcard:not(.fcard--lead) h3 { margin-top: 0; font-size: 1.0625rem; }
  .fcard:not(.fcard--lead) p { margin-top: 4px; }
}

@media (max-width: 360px) {
  .get-button { padding: 0 14px 0 16px; gap: 8px; }
}

/* ================================================================ documents
   /privacy, /terms and /support: one reading column, about 760px. */

.doc-page { padding-block: 28px 64px; }

.doc-wrap { max-width: calc(760px + var(--gutter) * 2); }

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: -6px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.doc-back:hover span { text-decoration: underline; text-underline-offset: 3px; }

.doc-head {
  margin-top: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.doc-head h1 {
  font-size: clamp(1.6875rem, 1.5rem + 0.6vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.doc-updated {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

/* Table of contents: open on wide screens, a single closed row on phones. */
.doc-toc {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafcfa;
}

.doc-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: 16px;
}
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}
.doc-toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.doc-toc-list {
  margin: 0;
  padding: 0 18px 16px;
  list-style: none;
  columns: 2;
  column-gap: 32px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.doc-toc-list li {
  break-inside: avoid;
  padding: 3px 0;
}
.doc-toc-list a {
  color: var(--ink-2);
  text-decoration: none;
}
.doc-toc-list a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }


/* The document itself. */
.doc {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #28312c;
  overflow-wrap: break-word;
}

.doc p { margin-top: 12px; }

.doc-section { padding-top: 28px; }

.doc h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}
.doc h2 + p,
.doc h2 + ul { margin-top: 10px; }

.doc h3 {
  margin-top: 24px;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink);
}
.doc h3 + p { margin-top: 6px; }

.doc ul {
  margin: 12px 0 0;
  padding-left: 22px;
}
.doc li { margin-top: 8px; padding-left: 2px; }
.doc li::marker { color: var(--brand); }
.doc li p { margin: 0; }
.doc li p + p { margin-top: 8px; }

.doc strong { font-weight: 700; color: var(--ink); }

.doc a {
  color: #1f6b4c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.doc a:hover { color: var(--brand-deep); }

/* An indented warning in the source, kept as a highlighted note. */
.doc-note {
  padding: 14px 16px;
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--mint);
}

/* Support: the contact details sit in a light panel. */
.doc-section--contact-us {
  margin-top: 24px;
  padding: 18px 20px 20px;
  border-radius: 16px;
  background: var(--mint);
}

.doc-links li { margin-top: 6px; }

.footer-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .doc-page { padding-block: 16px 44px; }
  .doc-head { padding-bottom: 16px; }
  .doc-toc { margin-top: 16px; }
  .doc-toc-list { columns: 1; }
  .doc { margin-top: 16px; }
  .doc-section { padding-top: 24px; }
  .doc h2 { font-size: 1.1875rem; }
  .doc-section--contact-us { padding: 16px; }
}
