/* CPDTracks marketing site.
   Design read: a field-journal for South African accountants, warm paper and ink,
   one terracotta accent, light theme locked (dark only for the closing block and footer).
   Display: Bricolage Grotesque. Reading: Hanken Grotesk. Labels and figures: IBM Plex Mono.
   Dials: variance 6 (asymmetric grids, offset visuals), motion 3 (entry stagger and hover
   only, no scroll hijacking), density 4. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --paper: #F4EADB;
  --paper-2: #EFE1CD;
  --paper-3: #E7D5BD;
  --card: #FBF6EE;
  --ink: #241F1D;
  --ink-2: #3B322E;
  --text: #4A403A;
  --muted: #6B5D55;
  --faint: #877A70;
  --rule: #D6C2A8;
  --rule-soft: #E4D4BF;
  --accent: #B45A31;
  --accent-ink: #8F4523;
  --accent-wash: rgba(180, 90, 49, 0.09);

  /* Sky is a surface colour, not a second accent: it tints the nav, bands and
     tiles. Terracotta stays the only colour that means "you can act on this". */
  --sky: #A7D3E8;
  --sky-mid: #C2E0EE;
  --sky-soft: #DDEEF7;
  --sky-ink: #2C6A88;
  --sky-line: rgba(44, 106, 136, 0.18);
  --nav-text: #4A6472;

  /* Tint set for icon tiles and figure marks. Every tint sits at roughly the same
     lightness and saturation, so the group reads as one considered palette rather
     than a rainbow. Nothing clickable ever takes one: terracotta stays the only
     colour that means "you can act on this". */
  --tint-clay: #F4DED2;   --tint-clay-line: #E3C0AC;
  --tint-sky: #DDEEF7;    --tint-sky-line: #C2E0EE;
  --tint-sage: #DEE8D9;   --tint-sage-line: #C3D5BC;
  --tint-ochre: #F4E6C6;  --tint-ochre-line: #E3D0A2;
  --tint-plum: #EADFE9;   --tint-plum-line: #D7C6D6;
  --tint-stone: #E7E1D7;  --tint-stone-line: #D3C9B9;
  --sage-ink: #4E6A46;

  --display: 'Bricolage Grotesque', 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1280px;
  --radius: 18px;
  --radius-lg: 26px;
  --lift: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 26px 50px -30px rgba(58, 44, 33, 0.45);
  --motion-stagger: 40ms;
  --motion-quick: 150ms;
  --motion-fast: 250ms;
  --motion-medium: 350ms;
  --motion-slow: 400ms;
  --motion-very-slow: 500ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

html { background: var(--paper); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Paper grain, fixed behind everything. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.19 0 0 0 0 0.14 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(180, 90, 49, 0.22); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.measure { max-width: 65ch; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}
h1 { font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink);
  margin: 0 0 20px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.75; }
.figure { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform var(--motion-fast) var(--ease),
    box-shadow var(--motion-fast) var(--ease),
    background-color var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard);
}
.btn .arrow { transition: transform var(--motion-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-ink { background: var(--ink); color: #FBF6EE; box-shadow: 0 14px 28px -18px rgba(36, 31, 29, 0.9); }
.btn-ink:hover { background: #100D0C; transform: translateY(-2px); box-shadow: 0 20px 34px -20px rgba(36, 31, 29, 0.95); }
.btn-hero { background: #F7E8D4; color: var(--ink); border-color: rgba(255, 255, 255, 0.52); box-shadow: 0 18px 34px -22px rgba(10, 18, 15, 0.92); }
.btn-hero:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 22px 38px -22px rgba(10, 18, 15, 0.95); }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(36, 31, 29, 0.3); }
.btn-line:hover { background: var(--card); border-color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; transform: translateY(-2px); }
.btn-onink { background: transparent; color: #F4EADB; border-color: rgba(244, 234, 219, 0.34); }
.btn-onink:hover { border-color: #F4EADB; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

.text-link {
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
  transition: color var(--motion-quick) var(--ease-standard),
    border-color var(--motion-quick) var(--ease-standard);
}
.text-link:hover { color: var(--accent-ink); }
.dad-link { color: inherit; text-decoration-color: currentColor; text-underline-offset: 3px; }
.dad-link:hover { text-decoration-thickness: 2px; }

/* ---------- Top bar and nav ---------- */
.dadbar {
  text-align: center; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  padding: 9px 16px; background: #000; border-bottom: 1px solid #000;
}
.dadbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; transition: color var(--motion-quick) var(--ease-standard); }
.dadbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dadbar img { height: 11px; width: auto; opacity: 1; filter: brightness(0) invert(1); }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(194, 224, 238, 0.82);
  backdrop-filter: saturate(1.35) blur(14px);
  -webkit-backdrop-filter: saturate(1.35) blur(14px);
  border-bottom: 1px solid var(--sky-line);
  transition: border-color var(--motion-fast) var(--ease-standard),
    box-shadow var(--motion-fast) var(--ease-standard);
}
.nav.scrolled { border-bottom-color: rgba(44, 106, 136, 0.3); box-shadow: 0 10px 30px -24px rgba(20, 60, 80, 0.65); }
/* Scroll progress hairline. Scroll-driven where supported, invisible where not. */
.nav::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--sky-ink));
}
@keyframes navProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .nav::after { animation: navProgress linear both; animation-timeline: scroll(root); }
}
.nav-inner { display: flex; align-items: center; gap: 30px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--nav-text); text-decoration: none; transition: color var(--motion-quick) var(--ease-standard); }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current='page'] { color: var(--ink); border-bottom: 1px solid var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.menu-btn {
  display: none; margin-left: auto; background: none;
  border: 1px solid rgba(44, 106, 136, 0.35); border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 15px; color: var(--ink); cursor: pointer;
}

/* ---------- Motion ---------- */
.rise { opacity: 0; transform: translateY(12px); animation: rise var(--motion-very-slow) var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js-reveal .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--motion-very-slow) var(--ease), transform var(--motion-very-slow) var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.paddle-price-resolved { display: inline-block; animation: price-in var(--motion-fast) var(--ease) both; }
.tilt-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform var(--motion-medium) var(--ease);
  will-change: transform;
}
.tilt-card.is-tilting { transition-duration: var(--motion-quick); }
@keyframes price-in {
  from { opacity: 0.35; transform: translateY(4px) scale(0.98); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .js-reveal .reveal, .paddle-price-resolved { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; }
  .tilt-card { transform: none !important; transition: none !important; }
  .hero-cycle-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 107px); padding: 72px 0 164px;
  display: grid; align-items: center;
  background: #27362d url('/assets/hero-african-sunset.jpg') no-repeat center / cover;
}
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 25, 22, 0.82) 0%, rgba(15, 25, 22, 0.6) 38%, rgba(15, 25, 22, 0.16) 72%, rgba(15, 25, 22, 0.06) 100%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: auto 0 0; height: 34%;
  background: linear-gradient(0deg, rgba(13, 23, 19, 0.3), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 60px; align-items: center; }
/* Sized so the headline sets on two lines at desktop width and stays under three on mobile. */
.hero h1 { font-size: clamp(40px, 4.5vw, 64px); margin-bottom: 24px; max-width: 17ch; color: #fff; text-shadow: 0 2px 24px rgba(10, 18, 15, 0.28); }
.hero .eyebrow { color: #FFD09B; }
.hero .lede { font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, 0.88); max-width: 34em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.62); background: rgba(15, 25, 22, 0.2); }
.hero .btn-line:hover { color: var(--ink); background: #fff; border-color: #fff; }
.hero-cycle {
  position: absolute; inset: auto 0 0; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(12, 22, 18, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-cycle-track {
  display: flex; width: max-content;
  animation: hero-cycle-drift 28s linear infinite;
}
.hero-cycle-group {
  flex: 0 0 max(100vw, 760px); height: 92px; padding: 0 clamp(24px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  white-space: nowrap;
}
.hero-cycle-group span {
  color: rgba(255, 255, 255, 0.95);
  font: 650 clamp(34px, 5.4vw, 72px)/1 var(--display);
  letter-spacing: -0.035em;
}
.hero-cycle-group i {
  color: #F7D4A5; font: 400 clamp(23px, 3vw, 40px)/1 var(--display);
  font-style: normal; opacity: 0.9;
}
@keyframes hero-cycle-drift { to { transform: translateX(-50%); } }

.stage { position: relative; }
.frame {
  border-radius: 16px; background: var(--card); border: 1px solid var(--rule-soft);
  box-shadow: var(--lift); overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); background: var(--paper-2); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.frame-bar b {
  margin-left: 12px; flex: 1; max-width: 250px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.04em; color: var(--faint);
  background: var(--card); border-radius: 999px; padding: 6px 12px;
}
/* height:auto is required: the width/height attributes on the img are presentational
   hints that otherwise beat aspect-ratio and render the image at its full pixel height. */
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 11.2; object-fit: cover; object-position: top left; }
.stage .frame { width: 89%; margin-right: auto; transform: rotate(-0.5deg); }
.phone {
  position: absolute; right: 0; bottom: -28px; width: 33%;
  padding: 7px; border-radius: 28px;
  background: linear-gradient(150deg, #3a3330, #171312);
  box-shadow: 0 30px 52px -28px rgba(36, 31, 29, 0.75);
  transform: rotate(3deg);
}
.phone img { width: 100%; height: auto; aspect-ratio: 402 / 874; object-fit: cover; object-position: top; border-radius: 22px; }

/* Short, concrete confidence signals directly below the hero. */
.trust-row { border-top: 1px solid var(--rule); background: rgba(251, 246, 238, 0.68); }
.trust-row-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: center; min-height: 72px;
}
.trust-row span {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; border-left: 1px solid var(--rule-soft);
  color: var(--ink-2); font: 500 13px/1.4 var(--mono); letter-spacing: 0.02em;
}
.trust-row span:first-child { border-left: 0; }
.trust-row span::before { content: '✓'; color: var(--accent); font-weight: 700; }
.pricing-trust {
  border-color: var(--sky-line);
  background: linear-gradient(90deg, rgba(167, 211, 232, 0.92), rgba(194, 224, 238, 0.92));
}
.pricing-trust .trust-row-inner { border-left: 1px solid var(--sky-line); border-right: 1px solid var(--sky-line); }
.pricing-trust span { border-color: var(--sky-line); color: var(--ink-2); }

/* ---------- Section furniture ---------- */
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(34px, 3.9vw, 54px); margin-bottom: 18px; }
.section-head p { font-size: 18.5px; color: var(--muted); max-width: 56ch; }
.rule-line { height: 1px; background: var(--rule-soft); }

/* Three figures */
.figures {
  border-top: 1px solid rgba(64, 27, 13, 0.24); border-bottom: 1px solid rgba(64, 27, 13, 0.24);
  background: linear-gradient(125deg, #F4BE7C 0%, #E89558 54%, #D8773F 100%);
}
.figures-grid { display: grid; grid-template-columns: 1.05fr 1fr 1.15fr; }
.fig { padding: 46px 40px 42px; border-left: 1px solid rgba(64, 27, 13, 0.22); }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig .n {
  font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(64px, 6.6vw, 96px); line-height: 0.86; letter-spacing: -0.04em;
  color: #512516; display: block; margin-bottom: 16px;
}
.fig:nth-child(2) .n { color: #66301D; }
.fig:nth-child(3) .n { color: #42251B; }
.fig h3 { font-size: 20px; margin-bottom: 8px; color: #2F1C15; }
.fig p { color: rgba(47, 28, 21, 0.82); font-size: 16px; max-width: 30ch; margin-bottom: 16px; }
.fig .text-link { font-size: 15px; }

/* Steps ledger */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 96px minmax(0, 30ch) minmax(0, 1fr);
  gap: 28px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--rule-soft);
}
.step:last-child { border-bottom: 1px solid var(--rule-soft); }
.step .num { font: 500 13px/1.6 var(--mono); letter-spacing: 0.12em; color: var(--accent-ink); }
.step h3 { font-size: 27px; }
.step p { font-size: 16.5px; color: var(--muted); margin: 0; }
.step .in-app { display: block; margin-top: 8px; font: 500 11.5px/1.5 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint); }

/* The Big Five bookend the feature ledger with a brief, one-shot crossing.
   Each herd occupies the section's existing bottom padding, so the animation
   adds personality without adding another band or increasing page length. */
#how, #features { overflow: hidden; }
.stampede {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100px;
  overflow: hidden; pointer-events: none;
}
.stampede-herd {
  position: absolute; z-index: 1; left: 50%; bottom: 8px;
  width: min(820px, 82vw); display: flex; align-items: end; justify-content: center; gap: clamp(14px, 2.4vw, 34px);
  transform: translateX(-50%);
}
.stampede-ltr .stampede-herd { flex-direction: row-reverse; }
.stampede-animal { display: block; flex: 0 1 auto; transform-origin: 50% 100%; }
.stampede-animal img { width: auto; height: 100%; max-width: none; opacity: 0.84; }
.stampede-ltr .stampede-animal img { transform: scaleX(-1); }
.stampede-animal.animal-lion { height: 76px; }
.stampede-animal.animal-leopard { height: 58px; }
.stampede-animal.animal-rhino { height: 71px; }
.stampede-animal.animal-elephant { height: 88px; }
.stampede-animal.animal-buffalo { height: 69px; }

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .stampede .stampede-herd { left: 0; transform: translateX(calc(-100% - 48px)); }
  .js-reveal .stampede-rtl .stampede-herd { transform: translateX(calc(100vw + 48px)); }
  .js-reveal .stampede-ltr.in .stampede-herd {
    animation: herd-left-to-right 4.2s cubic-bezier(0.32, 0.02, 0.58, 1) both;
  }
  .js-reveal .stampede-rtl.in .stampede-herd {
    animation: herd-right-to-left 4.2s cubic-bezier(0.32, 0.02, 0.58, 1) both;
  }
  .js-reveal .stampede.in .stampede-animal { animation: stampede-bob 420ms ease-in-out 10 alternate; }
  .js-reveal .stampede.in .animal-leopard { animation-delay: -110ms; }
  .js-reveal .stampede.in .animal-rhino { animation-delay: -210ms; }
  .js-reveal .stampede.in .animal-elephant { animation-delay: -70ms; animation-duration: 520ms; animation-iteration-count: 8; }
  .js-reveal .stampede.in .animal-buffalo { animation-delay: -290ms; animation-duration: 470ms; animation-iteration-count: 9; }
}
@keyframes herd-left-to-right {
  from { transform: translateX(calc(-100% - 48px)); }
  to { transform: translateX(calc(100vw + 48px)); }
}
@keyframes herd-right-to-left {
  from { transform: translateX(calc(100vw + 48px)); }
  to { transform: translateX(calc(-100% - 48px)); }
}
@keyframes stampede-bob {
  from { transform: translateY(0) rotate(-0.6deg); }
  to { transform: translateY(-7px) rotate(0.8deg); }
}

/* Features: asymmetric ledger grid */
.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feature {
  position: relative; padding: 32px 30px 28px;
  background: var(--card); border: 1px solid var(--rule-soft); border-radius: var(--radius);
  transition: transform var(--motion-fast) var(--ease),
    box-shadow var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: var(--rule); }
.feature .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--sky-soft); border: 1px solid var(--sky-mid); margin-bottom: 22px; }
.feature .icon img { width: 26px; height: 26px; object-fit: contain; opacity: 0.88; }
/* Each feature tile takes the next tint in the set. Cycling on nth-child rather than
   a class per card keeps the rotation correct if a feature is added or reordered. */
.feature:nth-child(6n + 1) .icon { background: var(--tint-clay); border-color: var(--tint-clay-line); }
.feature:nth-child(6n + 2) .icon { background: var(--tint-sky); border-color: var(--tint-sky-line); }
.feature:nth-child(6n + 3) .icon { background: var(--tint-sage); border-color: var(--tint-sage-line); }
.feature:nth-child(6n + 4) .icon { background: var(--tint-ochre); border-color: var(--tint-ochre-line); }
.feature:nth-child(6n + 5) .icon { background: var(--tint-plum); border-color: var(--tint-plum-line); }
.feature:nth-child(6n + 6) .icon { background: var(--tint-stone); border-color: var(--tint-stone-line); }
.feature h3 { font-size: 23px; margin-bottom: 10px; }
.feature p { font-size: 16px; color: var(--muted); margin: 0; }
.f-7 { grid-column: span 7; }
.f-5 { grid-column: span 5; }
.f-6 { grid-column: span 6; }
.f-4 { grid-column: span 4; }
.f-8 { grid-column: span 8; }
.feature.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.feature.split .body { align-self: center; }
.feature.split img.shot { border-radius: 12px; border: 1px solid var(--rule-soft); }

/* Screens band */
#screens { background: #488067; }
#screens h2 { color: #fff; }
.screens-lede { color: rgba(255, 255, 255, 0.84); font-size: 18px; margin-top: 16px; }
#screens .checks li { color: rgba(255, 255, 255, 0.9); }
#screens .checks li::before { color: #F7D4A5; }
.screens-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: baseline; font-size: 16.5px; }
.checks li::before { content: '✓'; font-family: var(--mono); color: var(--accent); }

/* A real fictional output is more persuasive than describing export in the abstract. */
.sample-report { background: var(--paper); }
.sample-report-grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 72px; align-items: center;
}
.sample-report h2 { font-size: clamp(34px, 3.9vw, 54px); margin-bottom: 18px; color: var(--ink); }
.sample-report .eyebrow { color: var(--accent-ink); }
.sample-report p:not(.eyebrow) { max-width: 52ch; margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.sample-report-preview {
  position: relative; display: block; max-width: 620px; justify-self: end;
  padding: 18px 18px 52px; background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: var(--lift); text-decoration: none;
  transform: rotate(1deg); transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease-standard);
}
.sample-report-preview:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 34px 60px -32px rgba(58, 44, 33, 0.55); }
.sample-report-preview img { width: 100%; max-height: 520px; object-fit: cover; object-position: top; border: 1px solid var(--rule-soft); }
.sample-report-preview span {
  position: absolute; left: 20px; bottom: 16px;
  color: var(--faint); font: 500 11.5px/1 var(--mono); letter-spacing: 0.09em; text-transform: uppercase;
}

/* Ledger tables */
.ledger-wrap { overflow-x: auto; border: 1px solid var(--rule-soft); border-radius: var(--radius); background: var(--card); }
.ledger { width: 100%; border-collapse: collapse; font-size: 16px; }
.ledger th, .ledger td { text-align: left; padding: 17px 20px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.ledger thead th { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--rule); }
.ledger tbody th { font-weight: 600; color: var(--ink-2); width: 34%; }
.ledger td { color: var(--muted); }
.ledger td.yes { color: var(--ink-2); }
.ledger td.yes::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.ledger td.no::before { content: '· '; color: var(--faint); }
.ledger tr:last-child th, .ledger tr:last-child td { border-bottom: 0; }
.ledger .figure { font-family: var(--mono); font-size: 15px; }

/* Homepage comparison: familiar Excel-green workbook chrome and crisp cell
   gridlines underline the comparison without sacrificing the site's rounded frame. */
.excel-wrap {
  border-color: #a9b7ae; background: #fff;
  box-shadow: 0 22px 46px -34px rgba(28, 68, 46, 0.54);
}
.excel-ledger { font-family: Arial, Helvetica, sans-serif; color: #202020; }
.excel-ledger th, .excel-ledger td {
  padding: 18px 20px; border-right: 1px solid #d5dad7; border-bottom: 1px solid #d5dad7;
  background: #fff; color: #202020;
}
.excel-ledger tr > *:last-child { border-right: 0; }
.excel-ledger thead th {
  padding-top: 16px; padding-bottom: 16px; background: #217346; color: #fff;
  border-right-color: rgba(255, 255, 255, 0.25); border-bottom-color: #185c37;
  font: 600 13px/1.35 Arial, Helvetica, sans-serif; letter-spacing: 0.025em;
}
.excel-ledger tbody th { width: 34%; background: #f3f3f3; color: #202020; font-weight: 600; }
.excel-ledger tbody tr:hover th, .excel-ledger tbody tr:hover td { background: #e9f4ed; }
.excel-ledger td.yes { color: #174f32; }
.excel-ledger td.yes::before { color: #217346; }
.excel-ledger td.no::before { color: #7a7a7a; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 20px; align-items: start; }
.plan { display: flex; flex-direction: column; padding: 38px 36px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--rule-soft); }
.plan.lead { border: 1px solid var(--accent); box-shadow: 0 26px 50px -34px rgba(180, 90, 49, 0.5); }
.plan .label { font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.plan h3 { font-size: 30px; margin: 16px 0 10px; }
.plan .intro { color: var(--muted); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 13px; }
.plan li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.plan li::before { content: '✓'; font-family: var(--mono); color: var(--accent); flex: none; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans-note { color: var(--faint); font-size: 15px; margin-top: 22px; }

/* Single membership panel: price face on the left, what it covers on the right. */
.pricing-band {
  isolation: isolate; overflow: hidden;
  background: linear-gradient(145deg, var(--sky-soft), var(--sky) 74%, var(--sky-mid));
  border-top: 1px solid var(--sky-line);
}
.pricing-band::before {
  content: ''; position: absolute; z-index: -1; right: -7%; top: -32%; width: min(920px, 70vw); aspect-ratio: 9 / 8;
  background: url('/assets/contours.svg') no-repeat center / contain; opacity: 0.26; pointer-events: none;
}
.pricing-band .section-head p { color: var(--nav-text); }
.pricing-band .eyebrow { color: var(--accent-ink); }
.price-panel {
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--card); box-shadow: 0 30px 60px -42px rgba(36, 58, 70, 0.55);
}
.price-face {
  display: flex; flex-direction: column; padding: 42px 38px;
  background: linear-gradient(165deg, #FBF6EE, #F3E7D5);
  border-right: 1px solid var(--rule-soft);
}
.price-row { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.price-row:first-child { padding-top: 0; }
.price {
  font-family: var(--display); font-weight: 700; line-height: 1;
  font-size: clamp(38px, 4.2vw, 54px); letter-spacing: -0.035em; color: var(--ink);
}
.per { font: 500 12px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.price-local { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 16px 0 0; }
.price-face .btn { margin-top: 30px; align-self: flex-start; }
.price-fine { font-size: 14px; color: var(--faint); margin: 16px 0 0; }
.price-list { padding: 42px 38px; background: rgba(255, 255, 255, 0.38); }
.price-list h3 { font-size: 22px; margin-bottom: 20px; }
.price-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.price-list li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.5; }
.price-list li::before { content: '✓'; font-family: var(--mono); color: var(--accent); flex: none; }

/* Audience chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px;
  background: var(--tint-sky); border: 1px solid var(--tint-sky-line);
  font-size: 15.5px; font-weight: 500; color: var(--ink-2);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease-standard);
}
.chip:nth-child(1) { background: var(--tint-clay); border-color: var(--tint-clay-line); }
.chip:nth-child(2) { background: var(--tint-sky); border-color: var(--tint-sky-line); }
.chip:nth-child(3) { background: var(--tint-sage); border-color: var(--tint-sage-line); }
.chip:nth-child(4) { background: var(--tint-ochre); border-color: var(--tint-ochre-line); }
.chip:nth-child(5) { background: var(--tint-plum); border-color: var(--tint-plum-line); }
.chip:nth-child(6) { background: var(--tint-stone); border-color: var(--tint-stone-line); }
.chip:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -20px rgba(58, 44, 33, 0.6); }

/* Guides index: an open field-journal rather than another long text ledger. */
#guides {
  isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, rgba(239, 225, 205, 0.62), rgba(244, 234, 219, 0.34));
  border-top: 1px solid var(--rule-soft);
}
#guides::before {
  content: ''; position: absolute; z-index: -1; left: -220px; bottom: -360px; width: 900px; height: 800px;
  background: url('/assets/contours.svg') no-repeat center / contain; opacity: 0.24; pointer-events: none;
}
.guide-index { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.guide-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  grid-column: span 6; min-height: 280px; padding: 30px;
  background: var(--card); border: 1px solid var(--rule-soft); border-radius: var(--radius);
  text-decoration: none; box-shadow: 0 18px 36px -34px rgba(58, 44, 33, 0.55);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
}
.guide-card:hover { transform: translateY(-4px) rotate(-0.15deg); border-color: var(--rule); box-shadow: var(--lift); }
.guide-card .idx { font: 500 12.5px/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.guide-card .guide-answer {
  align-self: flex-start; margin: 18px 0 16px; padding: 7px 11px; border-radius: 999px;
  background: var(--tint-sage); border: 1px solid var(--tint-sage-line);
  color: var(--sage-ink); font: 500 12px/1.25 var(--mono); letter-spacing: 0.02em;
}
.guide-card h3 { max-width: 24ch; margin-bottom: 12px; font-size: 25px; }
.guide-card p { max-width: 50ch; margin: 0 0 24px; color: var(--muted); font-size: 16px; }
.guide-card .go { margin-top: auto; color: var(--accent-ink); font-size: 15px; font-weight: 600; transition: transform var(--motion-fast) var(--ease); }
.guide-card:hover .go { transform: translateX(5px); }
.guide-featured { min-height: 370px; padding: 36px; }
.guide-featured h3 { max-width: 18ch; font-size: clamp(28px, 2.8vw, 38px); }
.guide-featured p { max-width: 36ch; }
.guide-featured .guide-mark {
  position: absolute; right: -22px; bottom: -22px; width: 190px; height: 190px;
  object-fit: contain; opacity: 0.12; pointer-events: none;
}
.guide-one { background: linear-gradient(150deg, var(--card), var(--tint-ochre)); }
.guide-two { background: linear-gradient(150deg, var(--card), var(--tint-sky)); }
.guide-two .guide-answer { background: var(--tint-clay); border-color: var(--tint-clay-line); color: var(--accent-ink); }
.guide-wide { grid-column: span 7; background: linear-gradient(160deg, var(--card), var(--tint-sage)); }
.guide-narrow { grid-column: span 5; background: linear-gradient(160deg, var(--card), var(--tint-plum)); }
.guide-narrow .guide-answer { background: var(--tint-plum); border-color: var(--tint-plum-line); color: var(--ink-2); }
.guide-third { grid-column: span 4; min-height: 310px; }
.guide-third:nth-of-type(5) { background: linear-gradient(160deg, var(--card), var(--tint-clay)); }
.guide-third:nth-of-type(6) { background: linear-gradient(160deg, var(--card), var(--tint-stone)); }
.guide-third:nth-of-type(7) { background: linear-gradient(160deg, var(--card), var(--tint-ochre)); }

/* FAQ as a two column list, every answer visible */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.faq-item { border-top: 1px solid var(--rule-soft); padding-top: 22px; }
.faq-item h3 { font-size: 21px; margin-bottom: 10px; }
.faq-item p { font-size: 16.5px; color: var(--muted); margin-bottom: 0; }

/* Closing block and footer share the ink treatment */
.ink-zone { background: var(--ink); color: #EFE4D4; position: relative; overflow: hidden; }
.ink-zone::before {
  content: ''; position: absolute; inset: -8% 0 0; width: 100%; height: 108%;
  pointer-events: none;
  background: url('/assets/contours-night.svg') no-repeat center top / 100% auto;
}
.ink-zone > * { position: relative; }
.closing { padding: 104px 0 86px; text-align: center; }
.closing h2 { font-size: clamp(38px, 5vw, 68px); color: #FBF6EE; margin-bottom: 20px; }
.closing p { color: #BCAC9B; font-size: 18.5px; max-width: 46ch; margin: 0 auto 32px; }
.closing .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
/* brightness(0) flattens each mark to black, invert(1) then takes it to solid white,
   so the Big Five read as opaque white regardless of their source colours. */
.closing .animals { display: flex; justify-content: center; gap: 26px; margin-top: 52px; }
.closing .animals img { height: 44px; width: auto; filter: brightness(0) invert(1); }

.footer { padding: 60px 0 44px; border-top: 1px solid rgba(244, 234, 219, 0.12); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer .brand span { color: #FBF6EE; }
.footer .blurb { color: #B0A091; font-size: 15px; margin-top: 16px; max-width: 34ch; }
.footer h4 { font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #9C8D7F; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { color: #E3D6C5; text-decoration: none; font-size: 15px; transition: color var(--motion-quick) var(--ease-standard); }
.footer ul a:hover { color: #fff; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(244, 234, 219, 0.12);
  font-size: 13px; color: #9C8D7F;
}

/* ---------- Guide pages ---------- */
.page-head { padding: 56px 0 16px; position: relative; overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; z-index: -1; right: -300px; top: -280px; width: 900px; height: 800px;
  background: url('/assets/contours.svg') no-repeat center / contain; opacity: 0.5;
  mask-image: radial-gradient(closest-side, #000 50%, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 30px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(38px, 4.6vw, 62px); max-width: 20ch; margin-bottom: 20px; }
.byline { font: 500 12px/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 72px; align-items: start; padding: 26px 0 80px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 32px; margin: 52px 0 16px; scroll-margin-top: 100px; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { font-size: 17.5px; line-height: 1.72; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink-2); }
.prose a:not(.btn):not(.text-link) { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose .ledger-wrap { margin: 24px 0 10px; }
.prose .note { font-size: 14.5px; color: var(--faint); }

.answer {
  margin: 6px 0 40px; padding: 28px 32px;
  background: var(--card); border: 1px solid var(--rule-soft); border-left: 4px solid var(--accent);
  border-radius: 6px var(--radius) var(--radius) 6px;
}
.answer .eyebrow { margin-bottom: 12px; }
.answer p { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0; }

.phase { display: grid; grid-template-columns: 74px 1fr; gap: 8px 22px; padding: 24px 0; border-top: 1px solid var(--rule-soft); }
.phase:last-of-type { border-bottom: 1px solid var(--rule-soft); }
.phase .num { font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.phase h3 { margin: 0 0 8px; }
.phase p:last-child { margin-bottom: 0; }

.callout {
  margin: 52px 0; padding: 34px 36px;
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card), var(--paper-2));
}
.callout h2, .callout h3 { margin: 0 0 12px; font-size: 27px; }
.callout p { color: var(--muted); font-size: 16.5px; }
.callout .btn { margin-top: 6px; }

.qa { margin-top: 46px; }
.qa h3 { font-size: 21px; margin: 26px 0 8px; }

.sources { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--rule); }
.sources h2 { font-size: 24px; margin: 0 0 14px; }
.sources ul { list-style: none; padding: 0; }
.sources li { font-size: 15px; color: var(--muted); padding-left: 18px; position: relative; margin-bottom: 8px; }
.sources li::before { content: '§'; position: absolute; left: 0; color: var(--accent); }
.disclaimer { font-size: 14px; color: var(--faint); margin-top: 18px; }

.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { padding: 24px; background: var(--card); border: 1px solid var(--rule-soft); border-radius: var(--radius); }
.aside-card h4 { font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.aside-card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: toc; }
.aside-card ol a { font-size: 15px; text-decoration: none; color: var(--text); display: flex; gap: 10px; }
.aside-card ol a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font: 500 11px/1.9 var(--mono); color: var(--accent-ink); }
.aside-card ol a:hover { color: var(--ink); }
.aside-card.cta { background: var(--paper-2); border-color: var(--rule); }
.aside-card.cta p { font-size: 15px; color: var(--muted); }
.aside-card.cta .btn { width: 100%; }

.related { padding: 70px 0 90px; border-top: 1px solid var(--rule-soft); }
.related h2 { font-size: 34px; margin-bottom: 24px; }

/* Document pages: support, privacy, terms, 404 */
.doc { max-width: 74ch; padding: 16px 0 90px; }
.doc h2 { font-size: 28px; margin: 42px 0 12px; }
.doc h3 { font-size: 20px; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 16.5px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.4em; }
.doc li::marker { color: var(--accent); }
.doc code { font-family: var(--mono); font-size: 0.9em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 24px; }
.card-plain { padding: 24px; background: var(--card); border: 1px solid var(--rule-soft); border-radius: var(--radius); }
.card-plain h3 { margin: 0 0 8px; font-size: 20px; }
.card-plain p { margin: 0; font-size: 15.5px; color: var(--muted); }
.center-block { text-align: center; padding: 90px 0 110px; }
.center-block h1 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 18px; }
.center-block p { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 0 auto 28px; }

/* ---------- Scroll linked motion ----------
   Enhancement only. Every element below is fully visible without it; the
   scroll timeline just moves it. Browsers without support, and anyone who
   asks for reduced motion, simply get the static layout. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes heroSettle {
      from { transform: rotate(0.5deg); }
      to { transform: rotate(0.5deg) translateY(-34px) scale(0.945); }
    }
    .stage .frame { animation: heroSettle linear both; animation-timeline: view(); animation-range: exit -25% exit 100%; }

    @keyframes screenRise {
      from { transform: scale(0.93) translateY(22px); }
      to { transform: none; }
    }
    .screens-grid .frame { animation: screenRise linear both; animation-timeline: view(); animation-range: entry 6% cover 40%; }

    @keyframes contourDrift {
      from { transform: translateY(70px); }
      to { transform: translateY(-70px); }
    }
    .ink-zone::before { animation: contourDrift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }

    @keyframes animalRise {
      from { transform: translateY(20px); opacity: 0.3; }
      to { transform: none; opacity: 1; }
    }
    .closing .animals img { animation: animalRise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 14px; }
  .features { gap: 16px; }
  .f-7, .f-5, .f-6, .f-4, .f-8 { grid-column: span 6; }
  .guide-third { grid-column: span 6; }
  .guide-third:last-child { grid-column: span 12; min-height: 250px; }
  .article-grid { grid-template-columns: 1fr; gap: 36px; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-cta .nav-login { display: none; }
  /* With the link list hidden, the call to action would otherwise sit against the wordmark. */
  .nav-cta { margin-left: auto; }
  .menu-btn { display: inline-block; margin-left: 12px; }
  .nav-links {
    display: grid; gap: 2px; position: absolute; top: 70px; left: 0; right: 0;
    padding: 12px 32px 20px; background: var(--sky-soft);
    border-bottom: 1px solid var(--sky-line); box-shadow: 0 30px 40px -30px rgba(20, 60, 80, 0.6);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px) scaleY(0.97); transform-origin: top center;
    transition: opacity var(--motion-fast) var(--ease-standard),
      transform var(--motion-fast) var(--ease),
      visibility 0s linear var(--motion-fast);
  }
  .nav.open .nav-links {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition-delay: 0s;
  }
  .nav.open .nav-links a { padding: 11px 0; font-size: 17px; border-bottom: 1px solid var(--sky-line); }
  .price-panel { grid-template-columns: 1fr; }
  .price-face { border-right: 0; border-bottom: 1px solid var(--rule-soft); }
  .hero {
    min-height: calc(100svh - 107px); padding: 44px 0 140px;
    background-position: 62% center;
  }
  .hero::before { background: linear-gradient(180deg, rgba(15, 25, 22, 0.72), rgba(15, 25, 22, 0.5) 58%, rgba(15, 25, 22, 0.35)); }
  .hero-cycle-group { height: 78px; }
  .hero-grid, .screens-grid, .sample-report-grid, .faq-list { grid-template-columns: 1fr; gap: 40px; }
  .trust-row-inner { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 8px; }
  .trust-row span { justify-content: flex-start; border-left: 0; border-top: 1px solid var(--rule-soft); padding: 12px 0; }
  .trust-row span:first-child { border-top: 0; }
  .sample-report-preview { justify-self: stretch; max-width: none; }
  .figures-grid { grid-template-columns: 1fr; }
  .fig, .fig:first-child { border-left: 0; padding: 32px 0; border-top: 1px solid var(--rule); }
  .fig:first-child { border-top: 0; }
  .step { grid-template-columns: 60px 1fr; gap: 6px 20px; }
  .step p { grid-column: 2; }
  .plans { grid-template-columns: 1fr; }
  .guide-featured, .guide-wide, .guide-narrow, .guide-third, .guide-third:last-child { grid-column: span 6; }
  .guide-card { min-height: 300px; }
  .guide-featured { min-height: 340px; }
  .section { padding: 80px 0; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .nav-links { transform: none; transition: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .f-7, .f-5, .f-6, .f-4, .f-8 { grid-column: span 12; }
  .stampede { height: 64px; }
  .stampede-herd { bottom: 5px; width: 92vw; gap: 8px; }
  .stampede-animal.animal-lion { height: 40px; }
  .stampede-animal.animal-leopard { height: 30px; }
  .stampede-animal.animal-rhino { height: 36px; }
  .stampede-animal.animal-elephant { height: 46px; }
  .stampede-animal.animal-buffalo { height: 35px; }
  .guide-featured, .guide-wide, .guide-narrow, .guide-third, .guide-third:last-child { grid-column: span 12; }
  .guide-card, .guide-featured, .guide-third, .guide-third:last-child { min-height: 0; padding: 28px 24px; }
  .guide-featured .guide-mark { width: 145px; height: 145px; opacity: 0.1; }
  .excel-ledger th, .excel-ledger td { min-width: 190px; padding: 15px 16px; }
  .excel-ledger tbody th { min-width: 180px; }
  .feature.split { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone { width: 38%; bottom: -18px; }
  .closing { padding: 76px 0 64px; }
  .answer { padding: 24px 22px; }
  .callout { padding: 28px 24px; }
}
