/* ==========================================================================
   Pix Scan — site styles
   Brand: greens from the app (#58B560 seed, #006E24 text-safe) + lime #C8FF3D
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --green-950: #08200d;
  --green-900: #0f2e14;
  --green-800: #1b4a21;
  --green-700: #2d6b33;
  --green-600: #3d8b44;
  --green-500: #58b560; /* brand seed: decoration only, too light for text */
  --green-ink: #006e24; /* brand green that passes AA on white */
  --lime: #c8ff3d;
  --lime-hover: #d8ff73;

  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-2: #edf3ea;
  --tint: #e6f4df;
  --ink: #111a13;
  --ink-2: #4a5a4f;
  --line: #dde6da;
  --focus: var(--green-ink);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(16 40 20 / 0.06), 0 2px 8px rgb(16 40 20 / 0.05);
  --shadow-md: 0 12px 32px -8px rgb(16 40 20 / 0.16), 0 2px 6px rgb(16 40 20 / 0.05);
  --shadow-lg: 0 40px 80px -24px rgb(4 20 8 / 0.55), 0 12px 24px -12px rgb(4 20 8 / 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 72px;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  interpolate-size: allow-keywords;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a120c;
    --surface: #111b13;
    --surface-2: #0d1710;
    --tint: #16291a;
    --ink: #ebf2ea;
    --ink-2: #a9b8ac;
    --line: #213025;
    --green-ink: #86d68d;
    --focus: var(--lime);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 16px 40px -12px rgb(0 0 0 / 0.6);
  }
}

/* ---------- Base ---------- */
*,
*::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) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--green-950);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* Dark areas: lime focus ring */
.site-header, .hero, .page-hero, .privacy, .get-app-card, .site-footer, .spotlight-listen { --focus: var(--lime); }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.925rem; }
.btn-lime { background: var(--lime); color: var(--green-950); }
.btn-lime:hover { background: var(--lime-hover); box-shadow: 0 8px 24px -8px rgb(200 255 61 / 0.6); }
.btn .icon { width: 1.05em; height: 1.05em; }

.play-badge {
  display: inline-block;
  border-radius: 12px;
  transition: transform 0.25s var(--ease-out), filter 0.25s;
}
.play-badge img { height: 74px; width: auto; }
.play-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.35)); }
.play-badge:active { transform: scale(0.98); }
.play-badge-sm img { height: 58px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgb(10 34 15 / 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  min-height: 44px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #3d8b44, #1b4a21);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 6px 16px -6px rgb(0 0 0 / 0.5);
}
.brand-mark svg { width: 100%; height: 100%; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: rgb(255 255 255 / 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav ul a:hover { color: #fff; background: rgb(255 255 255 / 0.08); }
.site-nav ul a[aria-current='page'] { color: var(--lime); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

@media (max-width: 959px) {
  .js .nav-toggle { display: grid; }
  .js .site-nav {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px var(--gutter) 24px;
    background: rgb(10 34 15 / 0.97);
    border-top: 1px solid rgb(255 255 255 / 0.08);
    box-shadow: 0 24px 40px -16px rgb(0 0 0 / 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }
  .js .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s, transform 0.25s var(--ease-out);
  }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { min-height: 52px; font-size: 1.05rem; }
  .no-js .site-nav ul { display: none; }
}

/* ---------- Shared bits ---------- */
.eyebrow {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.eyebrow-lime { color: var(--lime); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgb(200 255 61 / 0.32);
  border-radius: 999px;
  background: rgb(200 255 61 / 0.08);
  color: var(--lime);
  font-size: 0.875rem;
  font-weight: 700;
}
.pill-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.pill-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--green-ink);
  text-decoration: none;
}
.link-arrow .icon { transition: transform 0.25s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* Scan frame corners (the app's capture brackets) */
.scan-corners { position: absolute; pointer-events: none; }
.scan-corners i {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 0 solid var(--lime);
}
.scan-corners i:nth-child(1) { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 16px; }
.scan-corners i:nth-child(2) { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 16px; }
.scan-corners i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 16px; }
.scan-corners i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 16px; }

/* ---------- Phone frame ---------- */
.phone {
  position: relative;
  width: min(300px, 66vw);
  padding: 10px 10px 0;
  border-radius: 46px 46px 0 0;
  background: #0b0f0c;
  box-shadow: inset 0 0 0 1.5px #2b352d, var(--shadow-lg);
  /* Screens are cropped, so the phone fades out instead of ending */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 36px 36px 0 0;
  background: #fff;
}
.phone-screen img { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px));
  color: #fff;
  background:
    radial-gradient(1200px 600px at 8% -10%, rgb(88 181 96 / 0.38), transparent 60%),
    radial-gradient(700px 500px at 82% 55%, rgb(200 255 61 / 0.12), transparent 65%),
    linear-gradient(160deg, #1d5124 0%, #0f2e14 48%, #08200d 100%);
}
.hero::after {
  /* faint grid, like a scanner bed */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-copy { padding-bottom: 8px; }
.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(2.75rem, 1.5rem + 5.2vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.hero h1 .hl { color: var(--lime); }
.hero h1 .line { display: block; white-space: nowrap; }
.lede {
  max-width: 34em;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.65;
  color: rgb(255 255 255 / 0.8);
}

.hero-qr {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.35;
  color: rgb(255 255 255 / 0.72);
}
.hero-qr img {
  width: 72px;
  height: 72px;
  padding: 5px;
  border-radius: 12px;
  background: #fff;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 0.925rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
}
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .icon { color: var(--lime); width: 18px; height: 18px; stroke-width: 2.5; }

.hero-visual {
  position: relative;
  justify-self: center;
  align-self: end;
  padding: 0 24px;
}
.phone-hero { width: min(340px, 72vw); }

.scan-corners-hero { inset: -20px 0 16% 0; }

/* Lime beam sweeping down the screen */
.scan-beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: beam 4.8s var(--ease-in-out) infinite;
}
.scan-beam::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -110px;
  height: 110px;
  background: linear-gradient(to bottom, transparent, rgb(200 255 61 / 0.22));
}
.scan-beam::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
  box-shadow: 0 0 18px 5px rgb(200 255 61 / 0.55);
}
@keyframes beam {
  0% { transform: translateY(-4%); opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: 1; }
  92%, 100% { transform: translateY(86%); opacity: 0; }
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: #fff;
  color: #111a13;
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.45);
  animation: float 6s var(--ease-in-out) infinite;
  white-space: nowrap;
}
.float-chip strong { display: block; font-size: 0.875rem; line-height: 1.2; }
.float-chip small { display: block; font-size: 0.75rem; color: #4a5a4f; line-height: 1.3; }
.chip-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e6f4df;
  color: #006e24;
}
.chip-icon .icon { width: 20px; height: 20px; }
.chip-ocr { top: 12%; left: -22%; }
.chip-audio { top: 40%; right: -22%; animation-delay: -2s; }
.chip-audio .chip-icon { background: var(--lime); color: var(--green-950); }
.chip-lock { top: 66%; left: -18%; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 32px; }
  .hero-copy { padding-bottom: 96px; }
  .hero-qr { display: flex; }
}
@media (max-width: 1023px) {
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-copy .cta-row,
  .hero-checks { justify-content: center; }
}
@media (max-width: 560px) {
  .chip-ocr { left: -4%; top: 10%; }
  .chip-audio { right: -4%; }
  .chip-lock { display: none; }
  .float-chip { padding: 8px 12px 8px 8px; }
  .float-chip small { display: none; }
  .chip-icon { width: 32px; height: 32px; }
}

/* ---------- Promise strip ---------- */
.promise {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.promise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 20px;
  background: var(--surface);
}
.promise-list .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--green-ink);
}
.promise-list span { font-size: 0.9rem; color: var(--ink-2); line-height: 1.45; }
.promise-list strong { display: block; font-size: 1rem; color: var(--ink); }
@media (max-width: 559px) {
  .promise-list li { flex-direction: column; gap: 10px; padding: 22px 16px; }
}
@media (min-width: 900px) {
  .promise-list { grid-template-columns: repeat(4, 1fr); }
  .promise-list li { padding: 32px 28px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 136px); }
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section-head {
  max-width: 700px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.section-head > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--ink-2);
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  text-align: left;
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; }
.step {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: 6px;
  right: 22px;
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  user-select: none;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--green-ink);
}
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { margin-bottom: 10px; font-size: 1.3rem; font-weight: 800; }
.step p { color: var(--ink-2); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Spotlights ---------- */
.spotlight {
  display: grid;
  gap: 40px;
  align-items: center;
}
.spotlight + .spotlight { margin-top: clamp(80px, 10vw, 128px); }
.spotlight-media {
  position: relative;
  display: grid;
  place-items: center;
  padding-top: 24px;
}
.spotlight-media::before {
  content: '';
  position: absolute;
  inset: 8% 6% 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(88 181 96 / 0.28), transparent);
  filter: blur(10px);
}
.spotlight-copy { max-width: 520px; }
.spotlight-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.spotlight-copy > p:not(.eyebrow) { margin-bottom: 22px; font-size: 1.075rem; color: var(--ink-2); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: #fff;
  box-shadow: 0 12px 24px -10px rgb(27 74 33 / 0.6);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-icon-lime { background: var(--lime); color: var(--green-950); box-shadow: 0 12px 28px -10px rgb(200 255 61 / 0.6); }

.ticks { display: grid; gap: 12px; margin-bottom: 8px; }
.ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-2);
}
.ticks li strong { color: var(--ink); }
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tint) center / 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006E24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

@media (min-width: 960px) {
  .spotlight { grid-template-columns: 1fr 1fr; gap: 80px; }
  .spotlight-flip .spotlight-media { order: 2; }
}
@media (max-width: 959px) {
  .spotlight-copy { margin-inline: auto; }
}

/* Read aloud: the standout feature gets a dark panel */
.spotlight-listen {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px) 0;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(600px 400px at 15% 100%, rgb(200 255 61 / 0.14), transparent 60%),
    linear-gradient(150deg, #1b4a21, #0b2510);
  overflow: hidden;
}
.spotlight-listen .spotlight-copy { padding-bottom: clamp(40px, 6vw, 72px); }
.spotlight-listen .spotlight-copy > p:not(.eyebrow),
.spotlight-listen .ticks li { color: rgb(255 255 255 / 0.78); }
.spotlight-listen .ticks li strong { color: #fff; }
.spotlight-listen .ticks li::before {
  background-color: rgb(200 255 61 / 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8FF3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.spotlight-listen .eyebrow { color: var(--lime); margin-bottom: 8px; }
.spotlight-listen .link-arrow { color: var(--lime); }
.spotlight-listen .spotlight-media { align-self: end; }
.spotlight-listen .spotlight-media::before { background: radial-gradient(closest-side, rgb(200 255 61 / 0.18), transparent); }

.player-card {
  position: absolute;
  z-index: 2;
  bottom: 16%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 10px 18px 10px 10px;
  border-radius: 18px;
  background: #fff;
  color: #111a13;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.55);
  transform: translateX(-10%);
}
.player-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--lime);
}
.player-btn .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }
.player-wave { display: flex; align-items: center; gap: 3px; height: 30px; }
.player-wave i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: var(--green-600);
  animation: wave 1.1s var(--ease-in-out) infinite;
}
.player-wave i:nth-child(3n) { animation-delay: -0.3s; }
.player-wave i:nth-child(3n + 1) { animation-delay: -0.6s; }
.player-wave i:nth-child(4n) { animation-duration: 0.9s; }
.player-wave i:nth-child(5n) { animation-duration: 1.3s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}
.player-meta strong { display: block; font-size: 0.875rem; line-height: 1.2; }
.player-meta small { display: block; font-size: 0.75rem; color: #4a5a4f; }
@media (max-width: 560px) {
  .player-card { transform: translateX(-50%); bottom: 10%; }
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; }
.tile {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: rgb(88 181 96 / 0.45);
  box-shadow: var(--shadow-md);
}
.tile-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--tint);
  color: var(--green-ink);
}
.tile h3 { margin-bottom: 6px; font-size: 1.15rem; font-weight: 800; }
.tile p { color: var(--ink-2); font-size: 0.975rem; }
.tile-wide {
  background:
    radial-gradient(400px 200px at 100% 0%, rgb(88 181 96 / 0.12), transparent 70%),
    var(--surface);
}
.bento { grid-template-columns: repeat(2, 1fr); }
.tile-wide { grid-column: span 2; }
@media (max-width: 639px) {
  .bento { gap: 12px; }
  .tile { padding: 20px 18px; }
  .tile-icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .tile h3 { font-size: 1.05rem; }
  .tile p { font-size: 0.9rem; }
}
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- Privacy ---------- */
.privacy {
  color: #fff;
  background:
    radial-gradient(800px 500px at 90% 10%, rgb(88 181 96 / 0.22), transparent 60%),
    var(--green-950);
}
.privacy-grid { display: grid; gap: 48px; align-items: center; }
.privacy-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.privacy-copy p { font-size: 1.1rem; color: rgb(255 255 255 / 0.78); }
.privacy-copy .fine { margin-top: 20px; font-size: 0.925rem; color: rgb(255 255 255 / 0.65); }
.privacy-copy .fine a { color: var(--lime); }
.privacy-points { display: grid; gap: 14px; }
.privacy-points li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.04);
}
.privacy-points .icon { width: 26px; height: 26px; color: var(--lime); margin-top: 2px; }
.privacy-points strong { display: block; margin-bottom: 2px; }
.privacy-points span { font-size: 0.95rem; color: rgb(255 255 255 / 0.7); }
@media (min-width: 960px) {
  .privacy-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; }
}
@media (min-width: 600px) and (max-width: 959px), (min-width: 1100px) {
  .privacy-points { grid-template-columns: 1fr 1fr; }
}

/* ---------- Carousel ---------- */
.carousel-nav { display: flex; gap: 10px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), opacity 0.2s;
}
.icon-btn:hover { border-color: var(--green-500); background: var(--tint); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn:disabled { opacity: 0.4; cursor: default; }
.no-js .carousel-nav { display: none; }

.carousel {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding-bottom: 20px;
}
.carousel:focus-visible { outline-offset: -3px; }
.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-inline: var(--edge);
}
.carousel-track li {
  flex: 0 0 auto;
  width: clamp(220px, 62vw, 270px);
  scroll-snap-align: start;
}
.carousel-track img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

/* ---------- Use cases ---------- */
.uses { display: grid; gap: 16px; }
.use {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.use-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--lime);
}
.use h3 { margin-bottom: 8px; font-size: 1.2rem; font-weight: 800; }
.use p { color: var(--ink-2); }
@media (min-width: 600px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .uses { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ---------- Comparison ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.975rem;
}
.compare th,
.compare td { padding: 18px 22px; text-align: left; vertical-align: middle; }
.compare thead th {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.compare tbody tr + tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 700; }
.compare td { color: var(--ink-2); }
.compare .col-us { background: var(--tint); color: var(--ink); font-weight: 700; }
.compare thead .col-us { color: var(--green-ink); }
@media (max-width: 599px) {
  .compare { min-width: 0; font-size: 0.875rem; }
  .compare th,
  .compare td { padding: 14px 10px; }
  .compare thead th { font-size: 0.72rem; letter-spacing: 0.04em; }
}
.compare .yes { display: inline-block; vertical-align: -3px; margin-right: 8px; color: var(--green-ink); stroke-width: 3; width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 22px 4px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-ink); }
.faq-item summary .icon { transition: transform 0.3s var(--ease-out); color: var(--ink-2); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-a p { max-width: 64ch; padding: 0 4px 24px; color: var(--ink-2); font-size: 1.025rem; }
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.3s var(--ease-out), content-visibility 0.3s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }

/* ---------- Get the app ---------- */
.get-app { padding-block: 0 clamp(80px, 10vw, 128px); }
.get-app-card {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 7vw, 80px);
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(700px 400px at 100% 100%, rgb(200 255 61 / 0.16), transparent 60%),
    radial-gradient(600px 400px at 0% 0%, rgb(88 181 96 / 0.35), transparent 60%),
    linear-gradient(150deg, #1b4a21, #08200d);
  overflow: hidden;
}
.get-app-card .scan-corners { inset: 20px; opacity: 0.55; }
.get-app-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.get-app-copy > p:not(.eyebrow) { max-width: 30em; margin-bottom: 28px; font-size: 1.1rem; color: rgb(255 255 255 / 0.8); }
.qr-card {
  display: none;
  justify-self: end;
  width: 210px;
  padding: 18px 18px 14px;
  border-radius: 24px;
  background: #fff;
  color: #4a5a4f;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.5);
}
.qr-card img { width: 100%; height: auto; margin-bottom: 8px; }
@media (min-width: 860px) {
  .get-app-card { grid-template-columns: 1fr auto; }
  .qr-card { display: block; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(56px, 8vw, 88px);
  color: rgb(255 255 255 / 0.72);
  background: var(--green-950);
}
.footer-grid { display: grid; gap: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 30em; margin-bottom: 20px; font-size: 0.95rem; }
.footer-title {
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--lime); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-block: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.85rem;
}
.footer-legal { color: rgb(255 255 255 / 0.55); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Feature pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 64px));
  color: #fff;
  background:
    radial-gradient(900px 500px at 0% 0%, rgb(88 181 96 / 0.35), transparent 60%),
    radial-gradient(600px 400px at 90% 70%, rgb(200 255 61 / 0.1), transparent 60%),
    linear-gradient(160deg, #1d5124 0%, #0f2e14 50%, #08200d 100%);
}
.page-hero .hero-grid { align-items: end; }
.page-hero .hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.page-hero h1 .hl { color: var(--lime); }
.page-hero .phone-hero { width: min(300px, 66vw); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: rgb(255 255 255 / 0.65); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: rgb(255 255 255 / 0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--lime); text-decoration: underline; }
@media (max-width: 1023px) { .page-hero .breadcrumb ol { justify-content: center; } }

.prose-section { padding-block: clamp(64px, 8vw, 104px); }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.prose h3 { margin: 32px 0 10px; font-size: 1.25rem; font-weight: 800; }
.prose p { margin-bottom: 18px; font-size: 1.075rem; color: var(--ink-2); }
.prose p strong { color: var(--ink); }
.prose * + h2 { margin-top: clamp(56px, 7vw, 80px); }
.prose .ticks { margin-bottom: 18px; }
.prose p a { color: var(--green-ink); font-weight: 600; }
.prose .faq { margin-top: 8px; }

.howto { display: grid; gap: 14px; margin: 24px 0 8px; counter-reset: howto; }
.howto li {
  position: relative;
  padding: 20px 22px 20px 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-2);
  counter-increment: howto;
}
.howto li::before {
  content: counter(howto);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--lime);
  font-weight: 800;
}
.howto strong { display: block; color: var(--ink); }

.callout {
  display: flex;
  gap: 16px;
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--tint);
}
.callout .icon { width: 24px; height: 24px; color: var(--green-ink); margin-top: 2px; }
.prose .callout p { margin: 0; color: var(--ink); font-size: 1rem; }

.related { display: grid; gap: 16px; margin-top: 24px; }
.related a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.related a:hover { transform: translateY(-2px); border-color: rgb(88 181 96 / 0.45); box-shadow: var(--shadow-md); }
.related strong { display: block; color: var(--ink); }
.related span span { display: block; font-size: 0.925rem; color: var(--ink-2); }
.related .tile-icon { margin: 0; flex-shrink: 0; }
.related .arrow { margin-left: auto; color: var(--green-ink); }
@media (min-width: 720px) { .related { grid-template-columns: 1fr 1fr; } }

/* ---------- 404 ---------- */
.page-404 .page-hero { min-height: 72vh; display: grid; align-items: center; text-align: center; }
.page-404 .page-hero .hero-copy { padding-bottom: 72px; margin-inline: auto; max-width: 640px; }
.page-404 .cta-row { justify-content: center; }
.page-404 .lede { margin-inline: auto; }

/* ---------- Reveal on scroll ----------
   Content is hidden only after site.js has started (it adds .reveal-ready),
   so a failed script never leaves sections blank. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@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;
  }
  .scan-beam { display: none; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .scan-beam, .float-chip, .carousel-nav, .get-app { display: none; }
  .hero, .page-hero, .privacy, .site-footer { color: #000; background: none; }
}
