/* ==========================================================================
   Food Hygiene Record Book: website design system
   One stylesheet for every page. Brand: forest green, lime, paper white.
   Typeface: Inter (self-hosted, SIL Open Font Licence).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-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;
}

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* colour */
  --forest-950: #061f18;
  --forest-900: #0a2c23;
  --forest-800: #103e32;
  --forest-700: #17513f;
  --green-600: #087b55;
  --green-500: #0e9165;
  --lime-300: #d6fb75;
  --lime-400: #c8f25a;
  --lime-100: #f1fdd0;
  --mint-100: #e5eee0;
  --mint-50: #eff4eb;
  --paper: #f8faf6;
  --white: #ffffff;
  --ink: #0f2a23;
  --ink-2: #3c4f48;
  --ink-3: #56675f;
  --line: #dde6dc;
  --line-strong: #c3d1c2;
  --amber-700: #8a4b06;
  --amber-50: #fbf3e5;
  --on-dark: #eef5f0;
  --on-dark-2: rgba(238, 245, 240, 0.78);
  --on-dark-3: rgba(238, 245, 240, 0.62);
  --on-dark-line: rgba(238, 245, 240, 0.14);

  /* type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.85rem, 1.25rem + 5.1vw, 5.5rem);
  --fs-h1: clamp(2.3rem, 1.4rem + 3vw, 3.9rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.15vw, 3.3rem);
  --fs-h3: clamp(1.2rem, 1.08rem + 0.45vw, 1.45rem);
  --fs-lead: clamp(1.125rem, 1.04rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* space and shape */
  --gutter: clamp(20px, 5vw, 40px);
  --container: 1200px;
  --section-y: clamp(72px, 9vw, 128px);
  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --header-h: 72px;

  /* depth */
  --shadow-sm: 0 1px 2px rgba(10, 44, 35, 0.06), 0 2px 8px -2px rgba(10, 44, 35, 0.06);
  --shadow: 0 2px 4px rgba(10, 44, 35, 0.04), 0 18px 40px -22px rgba(10, 44, 35, 0.28);
  --shadow-lg: 0 4px 10px rgba(10, 44, 35, 0.05), 0 40px 80px -36px rgba(10, 44, 35, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  font-feature-settings: "kern", "liga", "calt", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: inherit; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.03; letter-spacing: -0.038em; }
h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.034em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.018em; font-weight: 650; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; }
p { text-wrap: pretty; }
h1:has(br), h2:has(br), h3:has(br) { text-wrap: pretty; }
strong, b { font-weight: 650; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime-300); color: var(--forest-900); }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .section--dark :focus-visible, .site-footer :focus-visible, .card--dark :focus-visible, .plan--featured :focus-visible, .cta-band :focus-visible, .hero :focus-visible { outline-color: var(--lime-300); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 2; }
.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: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px;
  border-radius: var(--radius-pill); background: var(--forest-900); color: #fff;
  font-weight: 650; text-decoration: none; transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--white); }
.section--mint { background: var(--mint-50); }
.section--dark { background: var(--forest-900); color: var(--on-dark); }
.section--line { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: 0.5rem; }
.stack-lg > * + * { margin-top: 1.75rem; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }

/* 4. Type helpers ---------------------------------------------------------- */
.display { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.045em; }
.accent { color: var(--green-600); }
.on-dark .accent, .section--dark .accent, .hero .accent, .cta-band .accent, .card--dark .accent { color: var(--lime-300); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before { content: ""; flex: none; align-self: flex-start; margin-top: 0.72em; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .section--dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--lime-300); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.on-dark .lead, .section--dark .lead, .hero .lead, .cta-band .lead { color: var(--on-dark-2); }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-small); }
.fine-print { font-size: var(--fs-xs); line-height: 1.55; color: var(--ink-3); }
.on-dark .fine-print, .section--dark .fine-print, .hero .fine-print, .cta-band .fine-print { color: var(--on-dark-3); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px rgba(8, 123, 85, 0.14); }
.hero .pill, .on-dark .pill { background: rgba(255, 255, 255, 0.06); border-color: var(--on-dark-line); color: var(--on-dark); }
.hero .pill .dot, .on-dark .pill .dot { background: var(--lime-300); box-shadow: 0 0 0 4px rgba(214, 251, 117, 0.16); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > * + * { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before, .page-hero--center .eyebrow::before, .text-center .eyebrow::before { display: none; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px 64px; align-items: end;
}
.section-head--split > * + * { margin-top: 0; }
.section-head--split .section-head__intro > * + * { margin-top: 18px; }

/* 5. Links and buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; font-weight: 650; font-size: 1rem; letter-spacing: -0.01em;
  line-height: 1.15; text-decoration: none; white-space: nowrap; cursor: pointer; max-width: 100%; text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .icon--arrow-right { transform: translateX(3px); }
.btn:hover .icon--arrow-up-right { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime-300); color: var(--forest-900); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 24px -14px rgba(96, 140, 10, 0.9); }
.btn-primary:hover { background: var(--lime-400); }
.btn-dark { background: var(--forest-800); color: var(--white); }
.btn-dark:hover { background: var(--forest-700); }
.btn-secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { background: var(--white); border-color: var(--ink-3); }
.on-dark .btn-secondary, .hero .btn-secondary, .cta-band .btn-secondary, .section--dark .btn-secondary { border-color: rgba(238, 245, 240, 0.3); color: var(--on-dark); }
.on-dark .btn-secondary:hover, .hero .btn-secondary:hover, .cta-band .btn-secondary:hover, .section--dark .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(238, 245, 240, 0.6); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: var(--fs-small); gap: 8px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline; font-weight: 650; color: var(--green-600);
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size 0.25s var(--ease);
}
.link-arrow .icon { display: inline-block; width: 17px; height: 17px; margin-left: 6px; vertical-align: -3px; transition: transform 0.2s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .icon--arrow-right { transform: translateX(3px); }
.link-arrow:hover .icon--arrow-up-right { transform: translate(2px, -2px); }
.on-dark .link-arrow, .section--dark .link-arrow, .hero .link-arrow, .cta-band .link-arrow, .card--dark .link-arrow, .card--dark .text-link { color: var(--lime-300); }
.prose a, .text-link { color: var(--green-600); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(8, 123, 85, 0.35); }
.prose a:hover, .text-link:hover { text-decoration-color: currentColor; }

/* buttons inside narrow boxes wrap instead of overflowing */
.doc-aside .btn, .card .btn, .cta-band .btn, .plan .btn { white-space: normal; }
@media (max-width: 640px) { .btn { white-space: normal; padding-block: 12px; } }

/* store badges: official artwork, equal visible height */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { --h: 48px; display: inline-flex; height: var(--h); border-radius: 10px; overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(6, 31, 24, 0.6); }
.store-badge img { height: var(--h); width: auto; }
.store-badge--google img { height: calc(var(--h) * 1.5); margin: calc(var(--h) * -0.25) calc(var(--h) * -0.246); max-width: none; }
.store-badges--lg .store-badge { --h: 56px; }
.store-badges--sm .store-badge { --h: 42px; }

/* 6. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(248, 250, 246, 0.97); border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(248, 250, 246, 0.9); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(10, 44, 35, 0.5); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 14px -8px rgba(10, 44, 35, 0.55); }
.brand__name { display: flex; flex-direction: column; line-height: 1.12; font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; }
.brand__name small { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px;
  border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: 550; color: var(--ink-2);
  text-decoration: none; transition: color 0.2s, background-color 0.2s;
}
.site-nav__links a:hover { color: var(--ink); background: rgba(15, 42, 35, 0.05); }
.site-nav__links a[aria-current="page"] { color: var(--ink); }
.site-nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--green-600);
}
.site-nav__cta { margin-left: 10px; }
.site-nav__mobile-extra { display: none; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--white);
  font-weight: 600; font-size: var(--fs-small); color: var(--ink);
}
.menu-toggle .icon { width: 20px; height: 20px; }
.menu-toggle .icon--x { display: none; }
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--x { display: block; }

/* 7. Heroes ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(214, 251, 117, 0.13), transparent 62%),
    radial-gradient(800px 520px at 0% 100%, rgba(14, 145, 101, 0.32), transparent 64%),
    var(--forest-900);
  padding-block: clamp(48px, 6vw, 88px) clamp(72px, 8vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(238, 245, 240, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 245, 240, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy > * + * { margin-top: 24px; }
.hero-copy h1 { color: var(--white); }
.hero-copy .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding-top: 8px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; font-size: var(--fs-small); color: var(--on-dark-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--lime-300); }
.hero-media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 100%; }

.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 480px at 92% 0%, rgba(214, 251, 117, 0.28), transparent 60%), var(--mint-50);
  padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumbs { margin-bottom: clamp(28px, 4vw, 44px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.page-hero__copy > * + * { margin-top: 22px; }
.page-hero__copy .lead { max-width: 600px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__copy { max-width: 820px; margin-inline: auto; }
.page-hero--center .page-hero__copy .lead { margin-inline: auto; }
.page-hero--center .eyebrow, .page-hero--center .hero-actions, .page-hero--center .checkpoints, .page-hero--center .page-meta { justify-content: center; }
.page-hero--dark { background: radial-gradient(900px 480px at 92% 0%, rgba(214, 251, 117, 0.12), transparent 60%), var(--forest-900); color: var(--on-dark); border-bottom: 0; }
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark .lead { color: var(--on-dark-2); }
.page-hero--dark .eyebrow { color: var(--lime-300); }
.page-hero--dark .breadcrumbs, .page-hero--dark .breadcrumbs a { color: var(--on-dark-3); }
.page-hero--dark .breadcrumbs [aria-current] { color: var(--on-dark); }
.checkpoints { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; font-size: var(--fs-small); font-weight: 550; color: var(--ink-2); }
.checkpoints li { display: inline-flex; align-items: center; gap: 8px; }
.checkpoints .icon { width: 18px; height: 18px; color: var(--green-600); }
.page-hero--dark .checkpoints { color: var(--on-dark-2); }
.page-hero--dark .checkpoints .icon { color: var(--lime-300); }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-small); color: var(--ink-3); }
.page-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-meta .icon { width: 16px; height: 16px; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); color: var(--ink-3); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: rotate(45deg); opacity: 0.55; margin-right: 4px; }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; font-weight: 550; }
.breadcrumbs a:hover { color: var(--green-600); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 550; }

/* 8. Phone frames ---------------------------------------------------------- */
.phone {
  --w: clamp(236px, 25vw, 312px);
  position: relative; width: var(--w); margin: 0; flex: none;
  padding: calc(var(--w) * 0.034); border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(150deg, #2b3a34 0%, #0e1714 45%, #1b2823 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 calc(var(--w) * 0.012) #0a100e,
    0 50px 90px -40px rgba(4, 22, 16, 0.65),
    0 24px 44px -26px rgba(4, 22, 16, 0.55);
}
.phone::before { /* side button */
  content: ""; position: absolute; right: calc(var(--w) * -0.009); top: 26%; width: calc(var(--w) * 0.012); height: 11%;
  border-radius: 0 3px 3px 0; background: #1d2824;
}
.phone__screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * 0.135); background: var(--white); isolation: isolate; }
.phone__screen img { width: 100%; height: auto; }
.phone--sm { --w: clamp(200px, 20vw, 248px); }
.phone--lg { --w: clamp(250px, 28vw, 340px); }
.phone--cropped { padding-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone--cropped .phone__screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone-stack { position: relative; display: flex; justify-content: center; padding-right: clamp(0px, 6vw, 96px); }
.phone-stack .phone--back { position: absolute; right: 0; top: 8%; --w: clamp(200px, 21vw, 262px); opacity: 0.95; transform: rotate(0deg); z-index: 0; filter: saturate(0.95); }
.phone-stack .phone--front { position: relative; z-index: 1; }
.phone-glow { position: absolute; inset: 10% 0 0; margin: auto; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(214, 251, 117, 0.28), rgba(214, 251, 117, 0) 68%); filter: blur(10px); z-index: 0; pointer-events: none; }
.zoomable { cursor: zoom-in; }
button.zoom-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }

/* media panel: phone rising out of a soft card */
.media-panel {
  position: relative; overflow: hidden; display: flex; justify-content: center; align-items: flex-end;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px) 0; border-radius: var(--radius-lg);
  background: radial-gradient(520px 320px at 50% 0%, rgba(214, 251, 117, 0.45), transparent 70%), var(--mint-100);
  border: 1px solid var(--line); min-height: 100%;
}
.media-panel--dark { background: radial-gradient(520px 320px at 50% 0%, rgba(214, 251, 117, 0.16), transparent 70%), var(--forest-800); border-color: transparent; }
.media-panel--white { background: radial-gradient(520px 320px at 50% 0%, rgba(214, 251, 117, 0.3), transparent 70%), var(--white); }
.media-panel .phone { margin-bottom: -2px; }
.media-panel--full { align-items: center; padding-bottom: clamp(32px, 5vw, 56px); }

/* 9. Cards ----------------------------------------------------------------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 32px);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card { display: flex; flex-direction: column; }
.card > * + * { margin-top: 12px; }
.card > .more { margin-top: auto; padding-top: 20px; border-top: 0; }
.card > .more > summary { border-top: 1px solid var(--line); }
.card--dark > .more > summary { border-top-color: var(--on-dark-line); }
.card > :is(.card__arrow, .btn, .cluster, .link-arrow, .card__footer) { margin-top: auto; }
.card > :has(+ :is(.card__arrow, .btn, .cluster, .link-arrow, .card__footer)) { margin-bottom: 18px; }
.card h3 + p, .card h4 + p { margin-top: 8px; }
.card p { color: var(--ink-2); }
.card--mint { background: var(--mint-50); }
.card--dark { background: var(--forest-800); border-color: transparent; color: var(--on-dark); }
.card--dark p { color: var(--on-dark-2); }
.card--lime { background: var(--lime-300); border-color: transparent; color: var(--forest-900); }
.card--lime p { color: rgba(10, 44, 35, 0.78); }
a.card { display: block; text-decoration: none; color: var(--ink); }
a.card:hover, .card--hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--mint-100); color: var(--green-600);
}
.card__icon .icon { width: 24px; height: 24px; }
.card--dark .card__icon { background: rgba(214, 251, 117, 0.12); color: var(--lime-300); }
.card--lime .card__icon { background: rgba(10, 44, 35, 0.1); color: var(--forest-900); }
.card .card__kicker { font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-600); }
.card--dark .card__kicker { color: var(--lime-300); }
.card--lime .card__kicker { color: var(--forest-800); }
.card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.card--dark .card__footer { border-top-color: var(--on-dark-line); }
.card__arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: var(--fs-small); color: var(--green-600); }
.card__arrow .icon { width: 17px; height: 17px; transition: transform 0.2s var(--ease); }
a.card:hover .card__arrow .icon--arrow-right { transform: translateX(3px); }
a.card:hover .card__arrow .icon--arrow-up-right { transform: translate(2px, -2px); }
.card__num { position: absolute; top: clamp(24px, 3vw, 32px); right: clamp(24px, 3vw, 32px); font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); letter-spacing: 0.06em; }
.card--dark .card__num { color: var(--on-dark-3); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { padding: 5px 11px; border-radius: 8px; background: var(--mint-50); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; }
.card--dark .tags li { background: rgba(255, 255, 255, 0.07); color: var(--on-dark-2); }
.card--lime .tags li { background: rgba(10, 44, 35, 0.08); color: var(--forest-900); }
.card--mint .tags li { background: rgba(255, 255, 255, 0.75); }

/* expandable detail inside cards */
.more { border-top: 1px solid var(--line); margin-top: 20px; }
.card--dark .more { border-top-color: var(--on-dark-line); }
.more summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; list-style: none; cursor: pointer; font-size: var(--fs-small); font-weight: 650; color: var(--ink); }
.card--dark .more summary { color: var(--on-dark); }
.more summary::-webkit-details-marker { display: none; }
.more p { margin-top: 12px; font-size: var(--fs-small); }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 0.25s var(--ease), background-color 0.2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; border-radius: 2px; background: currentColor; }
.plus::after { transform: rotate(90deg); transition: transform 0.25s var(--ease); }
details[open] > summary .plus::after { transform: rotate(0deg); }
details[open] > summary .plus { background: var(--mint-100); }
.card--dark .plus { border-color: rgba(238, 245, 240, 0.3); }
.card--dark details[open] > summary .plus { background: rgba(255, 255, 255, 0.08); }

/* 10. Content blocks ------------------------------------------------------- */
/* facts strip (sits on the edge of the hero) */
.facts {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  margin-top: calc(clamp(40px, 5vw, 64px) * -1); list-style: none; padding: 0;
}
.facts li { display: flex; align-items: center; gap: 14px; padding: 22px clamp(18px, 2vw, 26px); }
.facts li + li { border-left: 1px solid var(--line); }
.facts .card__icon { width: 44px; height: 44px; border-radius: 12px; }
.facts .card__icon .icon { width: 22px; height: 22px; }
.facts strong { display: block; font-size: var(--fs-small); line-height: 1.3; }
.facts span { display: block; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.4; margin-top: 2px; }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; padding: 0; counter-reset: step; }
.steps > li { position: relative; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.steps > li > * + * { margin-top: 10px; }
.steps .step-kicker { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-600); }
.steps .step-kicker b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime-300); color: var(--forest-900); font-size: 0.8125rem; letter-spacing: 0; }
.steps p { color: var(--ink-2); }
.section--dark .steps > li { border-top-color: var(--on-dark-line); }
.section--dark .steps .step-kicker { color: var(--lime-300); }
.section--dark .steps p { color: var(--on-dark-2); }

/* split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split--reverse > :first-child { order: 2; }
.split__copy > * + * { margin-top: 20px; }
.split__copy .lead { max-width: 540px; }

/* checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087b55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist strong { color: var(--ink); }
.section--dark .checklist li, .card--dark .checklist li, .plan--featured .checklist li { color: var(--on-dark-2); }
.section--dark .checklist li::before, .card--dark .checklist li::before, .plan--featured .checklist li::before { background-color: rgba(214, 251, 117, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6fb75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.section--dark .checklist strong, .card--dark .checklist strong, .plan--featured .checklist strong, .plan--featured .plan__meta strong { color: var(--white); }
.checklist--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }

/* callout / note */
.note {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.note .card__icon { width: 44px; height: 44px; }
.note h3, .note h4, .note strong:first-child { display: block; font-size: 1.0625rem; letter-spacing: -0.01em; }
.note p { color: var(--ink-2); margin-top: 4px; }
.note--mint { background: var(--mint-50); }
.note--lime { background: var(--lime-100); border-color: #dcef9e; }
.note--amber { background: var(--amber-50); border-color: #efd9b4; }
.note--amber .card__icon { background: #f5e3c3; color: var(--amber-700); }

/* app tour (tabs) */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.tour__tabs { display: grid; gap: 8px; }
.tour__tab {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; width: 100%;
  padding: 16px 20px; border-radius: 20px; border: 1px solid transparent; background: transparent; text-align: left;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tour__tab:hover { background: rgba(255, 255, 255, 0.7); }
.tour__tab .card__icon { width: 44px; height: 44px; border-radius: 13px; grid-row: span 2; background: var(--white); border: 1px solid var(--line); transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.tour__tab .card__icon .icon { width: 22px; height: 22px; }
.tour__tab-title { font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--ink); }
.tour__tab-text { grid-column: 2; font-size: var(--fs-small); color: var(--ink-3); display: none; }
.tour__tab[aria-selected="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.tour__tab[aria-selected="true"] .card__icon { background: var(--forest-800); border-color: var(--forest-800); color: var(--lime-300); }
.tour__tab[aria-selected="true"] .tour__tab-text { display: block; }
.tour__stage { position: relative; display: flex; justify-content: center; }
.tour__stage .phone { --w: clamp(250px, 26vw, 318px); }
.tour__panel { transition: opacity 0.45s var(--ease); }
.tour__panel[hidden] { display: block; position: absolute; inset: 0; opacity: 0; pointer-events: none; visibility: hidden; }
.tour__caption { margin-top: 20px; text-align: center; font-size: var(--fs-small); color: var(--ink-3); }
.tour__screens { position: relative; }
.tour__screens img { transition: opacity 0.45s var(--ease); }
.tour__screens img + img { position: absolute; inset: 0; }
.tour__screens img[data-active="false"] { opacity: 0; }

/* story / film */
.film { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--forest-900); aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film__play {
  position: absolute; left: clamp(20px, 4vw, 36px); bottom: clamp(20px, 4vw, 36px); display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 22px 10px 10px; border-radius: var(--radius-pill); border: 0; background: rgba(6, 31, 24, 0.72);
  color: var(--white); font-weight: 650; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.film__play:hover { background: rgba(6, 31, 24, 0.86); transform: translateY(-2px); }
.film__play span:first-child { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lime-300); color: var(--forest-900); }
.film__play .icon { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.film.is-playing .film__play { display: none; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 28px); max-width: 940px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan--featured { background: radial-gradient(520px 260px at 100% 0%, rgba(214, 251, 117, 0.16), transparent 70%), var(--forest-900); color: var(--on-dark); border-color: transparent; box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--lime-300); color: var(--forest-900); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; }
.plan__name { font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-600); }
.plan--featured .plan__name { color: var(--lime-300); }
.plan__title { font-size: 1.5rem; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price strong { font-size: clamp(3rem, 2.4rem + 2vw, 4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan__price span { color: var(--ink-3); font-weight: 550; }
.plan--featured .plan__price span { color: var(--on-dark-3); }
.plan__meta { color: var(--ink-2); font-size: var(--fs-small); margin-top: -10px; }
.plan--featured .plan__meta { color: var(--on-dark-2); }
.plan .checklist { flex: 1; align-content: start; }
.plan .btn { margin-top: 4px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro > * + * { margin-top: 18px; }
.faq__intro .contact-options { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0;
  font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.4; list-style: none; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-600); }
.faq-item .faq-answer { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq-item .faq-answer > * + * { margin-top: 12px; }
.faq-item .faq-answer a { color: var(--green-600); text-underline-offset: 3px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h3 { margin-bottom: 8px; }

/* link cards (related topics) */
.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.link-cards .card { display: flex; flex-direction: column; }
.link-cards .card > p { flex: 1; }

/* call to action band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: var(--on-dark);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(214, 251, 117, 0.18), transparent 65%),
    radial-gradient(600px 360px at 0% 100%, rgba(14, 145, 101, 0.35), transparent 65%),
    var(--forest-900);
  padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px 56px; align-items: center;
}
.cta-band h2 { color: var(--white); }
.cta-band__copy > * + * { margin-top: 18px; }
.cta-band__actions { display: grid; gap: 16px; justify-items: start; }
.cta-band__actions .fine-print { max-width: 320px; }

/* summary grid (legal pages) */
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.summary-grid > div { padding: 22px 24px; }
.summary-grid > div + div { border-left: 1px solid var(--line); }
.summary-grid strong { display: block; color: var(--green-600); margin-bottom: 4px; }
.summary-grid p { font-size: var(--fs-small); color: var(--ink-2); }

.summary-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.summary-grid--flush { margin-top: calc(clamp(32px, 4vw, 48px) * -1); position: relative; z-index: 2; box-shadow: var(--shadow); }

/* official sources list (guides) */
.sources { padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.sources strong { display: block; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sources a { display: inline-flex; align-items: flex-start; gap: 8px; font-size: var(--fs-small); color: var(--green-600); font-weight: 550; text-decoration: none; }
.sources a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sources .icon { width: 16px; height: 16px; margin-top: 3px; }
.prose .sources ul { padding: 0; }
.prose .sources li + li { margin-top: 0; }
.prose .note { margin-top: 1.4em; }
.prose .note p { margin-top: 4px; }
.prose .checklist { padding-left: 0; }

/* a highlighted question or quote card beside a hero visual */
.question-card { padding: 20px 22px; border-radius: 20px; background: var(--forest-800); color: var(--on-dark); box-shadow: var(--shadow); }
.question-card small { display: block; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime-300); margin-bottom: 6px; }
.question-card strong { font-size: 1.0625rem; line-height: 1.4; font-weight: 650; color: var(--white); }
.media-stack { display: grid; gap: 16px; }

/* QR download box */
.qr-card { display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); max-width: 380px; }
.qr-card img { width: 104px; height: 104px; border-radius: 10px; }
.qr-card strong { display: block; font-size: var(--fs-small); }
.qr-card p { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 4px; }
.hero .qr-card, .page-hero--dark .qr-card { background: rgba(255, 255, 255, 0.06); border-color: var(--on-dark-line); color: var(--on-dark); }
.hero .qr-card p, .page-hero--dark .qr-card p { color: var(--on-dark-3); }
.hero .qr-card img { background: var(--white); padding: 6px; }

/* trial ribbon */
.ribbon { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: var(--radius-pill); background: rgba(214, 251, 117, 0.12); border: 1px solid rgba(214, 251, 117, 0.35); color: var(--on-dark); font-size: var(--fs-small); }
.ribbon b { flex: none; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--lime-300); color: var(--forest-900); font-size: var(--fs-xs); letter-spacing: 0.02em; white-space: nowrap; }
.ribbon s { white-space: nowrap; }
.ribbon s { opacity: 0.6; }

/* screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.gallery figure { display: grid; justify-items: center; gap: 14px; }
.gallery .phone { --w: min(100%, 250px); }
.gallery figcaption { font-size: var(--fs-small); color: var(--ink-2); text-align: center; font-weight: 550; }

/* 11. Articles and legal documents ----------------------------------------- */
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.doc-layout--toc-left { grid-template-columns: 260px minmax(0, 1fr); }
.doc-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }
.toc { padding: 22px 22px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.toc h2, .toc strong:first-child { display: block; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol, .toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: 10px; font-size: var(--fs-small); line-height: 1.4; color: var(--ink-2); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.toc a:hover { background: var(--mint-50); color: var(--ink); }
.toc a.is-active { background: var(--mint-100); color: var(--forest-800); font-weight: 600; }

.prose { max-width: 720px; font-size: 1.0938rem; line-height: 1.72; color: var(--ink-2); }
.prose > * + *, .prose > section > * + *, .prose > div > * + * { margin-top: 1.15em; }
.prose > section + section { margin-top: 2.2em; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.15; letter-spacing: -0.028em; color: var(--ink); margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; color: var(--ink); margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose > :first-child, .prose > section:first-child > :first-child, .prose > :first-child > h2:first-child { margin-top: 0; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--green-600); }
.prose blockquote { padding: 18px 22px; border-left: 3px solid var(--green-600); background: var(--mint-50); border-radius: 0 16px 16px 0; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--mint-50); color: var(--ink); font-weight: 650; }
.prose tr:last-child td { border-bottom: 0; }
.prose dl { display: grid; gap: 14px; }
.prose dt { font-weight: 650; color: var(--ink); }
.prose dd { margin: 4px 0 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.key-points { padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); background: var(--lime-100); border: 1px solid #dcef9e; color: var(--ink); }
.key-points h2, .key-points h3 { font-size: 1.125rem !important; margin: 0 0 12px !important; letter-spacing: -0.01em; }
.key-points ul { margin: 0; }

@media (min-width: 961px) { .doc-aside { max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }

/* article pages: less empty space before the closing call to action */
.section:has(> .doc-layout) { padding-bottom: clamp(40px, 5vw, 64px); }

/* 12. Forms ---------------------------------------------------------------- */
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 650; color: var(--ink); }
.field .optional { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: #fbfcfa; font-size: 1rem; line-height: 1.4; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356675f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #8b9993; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: var(--white); box-shadow: 0 0 0 4px rgba(8, 123, 85, 0.16); }
.field-help { font-size: var(--fs-xs); color: var(--ink-3); }
.form-status { font-size: var(--fs-small); font-weight: 600; color: var(--green-600); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }

.contact-points { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-points .card__icon { width: 42px; height: 42px; border-radius: 12px; }
.contact-points strong { display: block; }
.contact-points p { color: var(--ink-3); font-size: var(--fs-small); margin-top: 2px; }

/* contact options (email / WhatsApp) */
.contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-option { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s; }
.contact-option:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-strong); }
.contact-option strong { display: block; color: var(--ink); font-size: 1rem; }
.contact-option .card__icon { flex: none; }
.contact-option span:not(.card__icon) { display: block; font-size: var(--fs-small); color: var(--ink-3); overflow-wrap: anywhere; }
.contact-option .icon--arrow-up-right { margin-left: auto; width: 18px; height: 18px; color: var(--green-600); }

/* 13. Footer --------------------------------------------------------------- */
.site-footer { background: var(--forest-950); color: var(--on-dark-2); padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: var(--on-dark-2); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: clamp(40px, 6vw, 64px); }
.footer-brand > * + * { margin-top: 20px; }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand__name small { color: var(--on-dark-3); }
.footer-brand p { max-width: 340px; font-size: var(--fs-small); line-height: 1.6; }
.footer-contact { display: grid; gap: 6px; font-size: var(--fs-small); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--lime-300); }
.footer-col h2 { font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-small); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 24px 32px; border-top: 1px solid var(--on-dark-line); font-size: var(--fs-xs); color: var(--on-dark-3); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: var(--on-dark-3); }

/* analytics consent banner (created by analytics.js) */
.analytics-consent {
  position: fixed; left: 50%; bottom: 20px; z-index: 80; width: min(100% - 32px, 760px); transform: translate(-50%, 24px); opacity: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 18px 18px 18px 20px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.analytics-consent.is-visible { opacity: 1; transform: translate(-50%, 0); }
.analytics-consent-mark img { width: 44px; height: 44px; border-radius: 12px; }
.analytics-consent-copy strong { display: block; font-size: var(--fs-small); }
.analytics-consent-copy p { font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-3); margin-top: 3px; }
.analytics-consent-copy a { font-size: var(--fs-xs); font-weight: 600; color: var(--green-600); }
.analytics-consent-actions { display: flex; gap: 8px; }
.analytics-consent-actions button { min-height: 42px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--white); font-size: var(--fs-small); font-weight: 650; white-space: nowrap; }
.analytics-consent-actions button:hover { border-color: var(--ink-3); }
.analytics-consent-actions button.primary { background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }
.analytics-consent-actions button.primary:hover { background: var(--forest-700); }

/* screenshot viewer */
.screen-viewer { width: min(92vw, 440px); max-height: 92vh; padding: 0; border: 0; border-radius: 28px; background: var(--forest-950); color: var(--on-dark); box-shadow: var(--shadow-lg); overflow: auto; }
.screen-viewer::backdrop { background: rgba(4, 18, 13, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.screen-viewer header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; background: var(--forest-950); font-size: var(--fs-small); }
.screen-viewer header button { min-height: 38px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--on-dark-line); background: transparent; color: var(--on-dark); font-weight: 600; }
.screen-viewer img { width: 100%; border-radius: 0 0 28px 28px; }

/* 14. Motion --------------------------------------------------------------- */
.motion-ok [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0s); }
.motion-ok [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* 15. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-grid:not(.summary-grid--3) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-grid:not(.summary-grid--3) > div:nth-child(3) { border-left: 0; }
  .summary-grid:not(.summary-grid--3) > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); display: block; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(10, 44, 35, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav__links { display: grid; gap: 0; }
  .site-nav__links a { display: flex; width: 100%; min-height: 56px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; color: var(--ink); }
  .site-nav__links a:hover { background: none; color: var(--green-600); }
  .site-nav__links a[aria-current="page"]::after { left: auto; right: 6px; top: 50%; bottom: auto; margin: -2.5px 0 0; }
  .site-nav__cta { display: flex; margin: 20px 0 0; width: 100%; }
  .site-nav__cta .btn { width: 100%; min-height: 54px; }
  .site-nav__mobile-extra { display: grid; gap: 14px; margin-top: 20px; }
  .brand img { width: 36px; height: 36px; }
  .hero-grid, .page-hero__grid, .split, .tour, .faq, .doc-layout, .doc-layout--toc-left, .cta-band, .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
  .hero-media { margin-top: 8px; }
  .faq__intro { position: static; }
  .doc-aside { position: static; }
  .tour__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tour__tabs::-webkit-scrollbar { display: none; }
  .tour__tab { flex: none; width: auto; grid-template-columns: auto auto; padding: 10px 16px 10px 10px; border-radius: var(--radius-pill); border-color: var(--line); background: var(--white); scroll-snap-align: start; }
  .tour__tab .card__icon { width: 34px; height: 34px; border-radius: 50%; grid-row: auto; }
  .tour__tab .card__icon .icon { width: 18px; height: 18px; }
  .tour__tab-title { font-size: var(--fs-small); white-space: nowrap; }
  .tour__tab[aria-selected="true"] .tour__tab-text { display: none; }
  .tour__tab[aria-selected="true"] { box-shadow: none; border-color: var(--forest-800); }
  .tour__mobile-text { display: block; }
  .tour__stage { flex-direction: column; align-items: stretch; }
  .tour__stage .media-panel { width: 100%; }
  .tour__mobile-text { margin-top: 18px; text-align: center; font-size: var(--fs-small); color: var(--ink-2); min-height: 3em; }
  .link-cards, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-cards > :last-child:nth-child(odd), .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .toc a { padding-block: 11px; }
  .doc-layout > .prose { max-width: none; }
  .hide-tablet { display: none !important; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 961px) { .tour__mobile-text { display: none; } }
@media (min-width: 641px) and (max-width: 960px) { .doc-aside .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
@media (max-width: 640px) {
  :root { --fs-body: 1rem; }
  .grid-2, .grid-3, .grid-4, .link-cards, .pricing, .form-grid, .contact-options, .checklist--two { grid-template-columns: minmax(0, 1fr); }
  :root { --section-y: 60px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -32px; }
  .facts li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .scroll-row { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .scroll-row::-webkit-scrollbar { display: none; }
  .scroll-row > * { scroll-snap-align: start; }
  .card { padding: 22px; }
  .section-head { margin-bottom: 28px; }
  .store-badge { --h: 42px; }
  .cta-band { padding: 32px 22px; border-radius: 26px; }
  .menu-toggle { width: 46px; height: 46px; min-height: 46px; padding: 0; justify-content: center; }
  .hero-points { font-size: 0.875rem; gap: 8px 16px; }
  .plan { padding: 26px 22px; }
  .scroll-row { align-items: start; }
  .breadcrumbs a { display: inline-block; padding-block: 10px; margin-block: -10px; }
  .sources a { padding-block: 8px; }
  .note:has(> .card__icon.hide-mobile) { grid-template-columns: minmax(0, 1fr); }
  .cta-band h2 { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.2rem); }
  .store-badges--lg .store-badge { --h: 46px; }
  .ribbon { border-radius: 18px; align-items: flex-start; padding: 10px 14px 10px 10px; }
  .summary-grid:not(.summary-grid--3), .summary-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .summary-grid > div:nth-child(n) { border-left: 0; }
  .summary-grid > div + div { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .hero-actions .btn { width: 100%; }
  .brand__name { font-size: 1rem; }
  .brand__name small { font-size: 0.75rem; }
  .menu-toggle span.label { display: none; }
  .phone-stack { padding-right: 0; }
  .phone-stack .phone--back { display: none; }
  .analytics-consent { grid-template-columns: minmax(0, 1fr); gap: 14px; bottom: 12px; }
  .analytics-consent-mark { display: none; }
  .analytics-consent-actions { flex-wrap: wrap; }
  .analytics-consent-actions button { flex: 1 1 130px; }
  .faq-item .faq-answer { padding-right: 0; }
  .plan__badge { top: 18px; right: 18px; }
  .qr-card { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { justify-items: stretch; }
  .cta-band__actions .btn { width: 100%; }
}
@media (hover: none) { .qr-card { display: none; } }
@media (max-width: 640px) { .hide-mobile { display: none !important; } }
@media (min-width: 641px) { .show-mobile { display: none !important; } }

/* 16. Print ---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-band, .analytics-consent, .doc-aside, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { background: none; border: 0; padding: 0 0 24px; }
  .prose { max-width: none; color: #000; }
  a { color: #000; }
}
