/* ==========================================================================
   Click Orchard: site styles
   Mobile first. Breakpoints: 768px (tablet), 1024px (desktop).
   ========================================================================== */

/* ---------- Fonts ----------
   Fraunces and DM Sans from Google Fonts (SIL Open Font License), self-hosted for speed and privacy.
   Latin subset, variable weight files. font-display: swap shows text immediately. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/assets/fonts/fraunces-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; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Colour (brand palette, do not add others) */
  --cream-50: #fbf6ec;   /* page background */
  --cream-100: #f2eadb;  /* cards, bands */
  --line: #ddd2bd;       /* hairlines */
  --ink: #1f2a1c;        /* text */
  --ink-muted: #5a6455;  /* secondary text */
  --orchard-700: #2f5d3a;/* primary, buttons, links */
  --leaf-400: #7bae5a;   /* accent: never as text on cream */
  --apple-600: #c8402f;  /* ONE standout call to action per screen */
  --harvest-400: #e9a93b;/* results numbers on ink: never as text on cream */
  --bark-600: #6b4a2e;   /* small details */

  /* Derived shades used only for hover states */
  --orchard-800: #244a2e;
  --apple-700: #a83526;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing steps */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 48px;
  --s5: 96px;

  /* Shape */
  --radius-card: 16px;
  --radius-input: 8px;
  --radius-pill: 999px;

  --container: 1160px;
  --gutter: 16px;
  --sticky-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 27px;
  font-weight: 400;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

/* ---------- Typography ---------- */
.display, h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.display { font-size: 40px; line-height: 44px; }
h1 { font-size: 34px; line-height: 40px; }
h2 { font-size: 26px; line-height: 32px; font-weight: 600; }
h3 { font-family: var(--font-body); font-size: 20px; line-height: 28px; font-weight: 600; }
.small, small { font-size: 14px; line-height: 21px; }
.label {
  display: inline-block;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bark-600);
}
.lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
p + p { margin-top: var(--s2); }

@media (min-width: 768px) {
  .display { font-size: 52px; line-height: 58px; }
  h1 { font-size: 40px; line-height: 46px; }
  h2 { font-size: 30px; line-height: 36px; }
}
@media (min-width: 1024px) {
  .display { font-size: 64px; line-height: 68px; }
  h1 { font-size: 44px; line-height: 50px; }
  h2 { font-size: 32px; line-height: 38px; }
}

a { color: var(--orchard-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orchard-800); text-decoration-thickness: 2px; }

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream-50);
  padding: var(--s1) var(--s2);
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.skip-link:focus { top: var(--s2); color: var(--cream-50); }

:focus-visible {
  outline: 3px solid var(--orchard-700);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-ink :focus-visible, .site-footer :focus-visible, .cookie-banner :focus-visible { outline-color: var(--harvest-400); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }

.section { padding: var(--s4) 0; position: relative; }
@media (min-width: 1024px) { .section { padding: var(--s5) 0; } }
.section--band { background: var(--cream-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--cream-50); }
.section--ink h2, .section--ink h3, .section--ink .display { color: var(--cream-50); }
.section--ink .label { color: var(--leaf-400); }
.section--ink p { color: var(--cream-100); }
.section--ink a:not(.btn) { color: var(--cream-50); }

.section-head { max-width: 720px; margin-bottom: var(--s4); }
.section-head .label { margin-bottom: var(--s1); }
.section-head h2 + p, .section-head h1 + p { margin-top: var(--s2); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.stack > * + * { margin-top: var(--s2); }
.stack-lg > * + * { margin-top: var(--s3); }

.grid { display: grid; gap: var(--s3); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.1fr 0.9fr; } .split--even { grid-template-columns: 1fr 1fr; } .split--top { align-items: start; } }

/* ---------- Buttons (every button is a pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }

/* The single apple-red call to action per screen */
.btn--apple { background: var(--apple-600); color: var(--cream-50); }
.btn--apple:hover { background: var(--apple-700); color: var(--cream-50); }

.btn--green { background: var(--orchard-700); color: var(--cream-50); }
.btn--green:hover { background: var(--orchard-800); color: var(--cream-50); }

.btn--outline { background: transparent; color: var(--orchard-700); border-color: var(--orchard-700); }
.btn--outline:hover { background: var(--orchard-700); color: var(--cream-50); }

.btn--on-ink { background: transparent; color: var(--cream-50); border-color: var(--cream-50); }
.btn--on-ink:hover { background: var(--cream-50); color: var(--ink); }

.btn--light { background: var(--cream-50); color: var(--ink); }
.btn--light:hover { background: var(--cream-100); color: var(--ink); }
.btn--icon { padding: 12px; min-width: 48px; }
.wa-icon { width: 22px; height: 22px; flex: none; }

.btn--small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -0.01em; }
.wordmark .w-click { color: var(--ink); }
.wordmark .w-orchard { color: var(--orchard-700); }
.on-ink .wordmark .w-click, .site-footer .wordmark .w-click { color: var(--cream-50); }
.on-ink .wordmark .w-orchard, .site-footer .wordmark .w-orchard { color: var(--leaf-400); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  border: 2px solid var(--orchard-700); border-radius: var(--radius-pill);
  background: transparent; color: var(--orchard-700); font-weight: 600; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
  padding: var(--s2) var(--gutter) var(--s3);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--orchard-700); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--orchard-700); text-decoration: underline; text-decoration-thickness: 2px; }
.site-nav .nav-cta { margin-top: var(--s1); }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: var(--s3); }
  .site-nav .nav-cta { margin: 0 0 0 var(--s1); }
  .site-nav a:not(.btn) { padding: 6px 0; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: var(--s2); font-size: 14px; line-height: 21px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; color: var(--ink-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: var(--bark-600); padding: 0 4px; }
.breadcrumbs a { color: var(--orchard-700); }
.breadcrumbs [aria-current="page"] { color: var(--ink-muted); }

/* ---------- Hero ---------- */
.hero { padding: var(--s3) 0 var(--s4); position: relative; overflow: hidden; }
.hero .label { margin-bottom: var(--s1); }
.hero .lead { margin-top: var(--s2); max-width: 600px; font-size: 17px; line-height: 26px; }
.hero .btn-row { margin-top: var(--s3); }
.hero-trust { margin-top: var(--s2); color: var(--ink-muted); font-size: 14px; line-height: 21px; display: flex; flex-wrap: wrap; gap: 4px 12px; list-style: none; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-400); box-shadow: 0 0 0 1.5px var(--orchard-700); }
@media (min-width: 768px) { .hero .lead { font-size: 19px; line-height: 30px; } }
.hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .hero { padding: var(--s4) 0 var(--s5); } }

.page-hero { padding: var(--s3) 0 var(--s4); }
.page-hero h1 { margin-top: var(--s2); max-width: 820px; }
.page-hero .lead { margin-top: var(--s2); max-width: 680px; }
@media (min-width: 1024px) { .page-hero { padding: var(--s4) 0 var(--s4); } }

/* ---------- Decorative fruit discs ---------- */
.discs { position: absolute; pointer-events: none; z-index: 0; }
.discs--tr { right: -60px; top: -40px; width: 240px; opacity: .9; }
.discs--bl { left: -80px; bottom: -60px; width: 220px; }
.has-discs { overflow: hidden; }
.has-discs > .container { position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.card {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--s3);
}
.section--band .card { background: var(--cream-50); }
.card h3 { margin-bottom: var(--s1); }
.card p { color: var(--ink-muted); }

/* Problem list */
.problem-list { display: grid; gap: var(--s2); margin-top: var(--s3); list-style: none; padding: 0; }
.problem-list li { display: flex; gap: var(--s2); align-items: flex-start; }
.problem-list .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--apple-600); margin-top: 7px; }
.problem-list .dot--leaf { background: var(--leaf-400); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) and (max-width: 1023px) { .steps > :last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--s2); } .steps .step { padding: 72px var(--s2) var(--s2); } .step-num { left: var(--s2); top: var(--s2); } .step .label { margin-top: 0; } }
.step { position: relative; padding-top: var(--s4); }
.step-num {
  position: absolute; top: var(--s3); left: var(--s3);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orchard-700); color: var(--cream-50);
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.step .label { display: block; margin-top: var(--s3); margin-bottom: 4px; }
.step-arc { width: 48px; height: 24px; position: absolute; top: var(--s3); right: var(--s3); }

/* Comparison table */
.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--cream-50); }
.compare { width: 100%; font-size: 15px; line-height: 22px; }
.compare caption { text-align: left; padding: var(--s2) var(--s3) 0; color: var(--ink-muted); font-size: 14px; }
.compare th, .compare td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--bark-600); font-weight: 600; }
.compare thead th.us { color: var(--orchard-700); }
.compare tbody th { font-weight: 500; }
.compare td.us { font-weight: 600; color: var(--orchard-700); }
.compare td.them { color: var(--ink-muted); }
.tick, .cross { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.tick { background: var(--leaf-400); box-shadow: 0 0 0 2px var(--orchard-700); }
.cross { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-muted); }
@media (min-width: 768px) { .compare { font-size: 17px; line-height: 26px; } .compare th, .compare td { padding: 16px 24px; } }

/* Fruit Report receipt */
.receipt {
  background: var(--ink);
  color: var(--cream-50);
  border-radius: var(--radius-card);
  padding: var(--s3);
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  font-size: 15px;
  line-height: 22px;
  position: relative;
}
.receipt::after {
  /* torn paper edge made of small discs */
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -8px; height: 16px;
  background: radial-gradient(circle at 8px 0, var(--ink) 7px, transparent 7.5px) 0 0 / 16px 16px repeat-x;
}
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding-bottom: var(--s2); border-bottom: 1px dashed rgba(251, 246, 236, .35); }
.receipt-title { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 28px; color: var(--cream-50); }
.receipt-meta { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--cream-100); }
.receipt dl { margin: var(--s2) 0; }
.receipt-row { display: flex; justify-content: space-between; gap: var(--s2); padding: 8px 0; border-bottom: 1px dotted rgba(251, 246, 236, .25); }
.receipt-row dt { color: var(--cream-100); }
.receipt-row dd { margin: 0; color: var(--harvest-400); font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt-row--total dt, .receipt-row--total dd { font-size: 17px; font-weight: 600; }
.receipt-row--total dt { color: var(--cream-50); }
.receipt-row--likes dt { color: var(--cream-100); text-decoration: line-through; }
.receipt-row--likes dd { color: var(--cream-100); font-weight: 500; }
.receipt-foot { padding-top: var(--s2); text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--cream-50); }
.receipt-sample { display: block; margin-top: var(--s1); font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--cream-100); }

/* Packages */
.package { display: flex; flex-direction: column; gap: var(--s2); position: relative; }
.package .label { color: var(--bark-600); }
.package h3 { font-family: var(--font-head); font-size: 26px; line-height: 32px; font-weight: 700; margin: 0; }
.package .price { font-family: var(--font-head); font-size: 28px; line-height: 34px; font-weight: 700; color: var(--ink); }
.package .price small { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.package ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.package li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.package li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf-400); box-shadow: 0 0 0 2px var(--orchard-700); margin-top: 9px; }
.package .btn { margin-top: auto; align-self: flex-start; }
.addon { font-size: 14px; line-height: 21px; color: var(--ink-muted); border-top: 1px dashed var(--line); padding-top: var(--s1); }
.package--featured { border: 2px solid var(--orchard-700); }
.package-badge {
  position: absolute; top: -13px; right: var(--s3);
  background: var(--orchard-700); color: var(--cream-50);
  font-size: 13px; line-height: 18px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-pill);
}

/* Placeholder markers: visible on purpose so nothing ships unfilled */
.placeholder {
  display: inline-block;
  border: 2px dashed var(--bark-600);
  border-radius: var(--radius-input);
  padding: 0 8px;
  color: var(--bark-600);
  font-family: var(--font-body);
  font-weight: 600;
}
.placeholder-card {
  border: 2px dashed var(--line);
  background: transparent;
  display: flex; flex-direction: column; gap: var(--s2);
  min-height: 220px;
}
.placeholder-card .placeholder-tag {
  align-self: flex-start;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  color: var(--bark-600); border: 1px solid var(--bark-600); border-radius: var(--radius-pill); padding: 2px 10px;
}
.placeholder-card .fruit-row { display: flex; gap: 8px; margin-top: auto; }
.fruit-row span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.fruit-row span:nth-child(1) { background: var(--cream-100); }

/* Stars (brand green, decorative graphics with a text label for screen readers) */
.stars { display: inline-flex; gap: 2px; color: var(--orchard-700); }
.stars svg { width: 20px; height: 20px; }
.review-source { display: block; margin-top: 2px; }
.reviews .review blockquote { font-family: var(--font-body); font-size: 17px; line-height: 27px; font-weight: 400; }
.reviews .review figcaption strong { color: var(--ink); }

/* Client stories */
.stories { display: grid; gap: var(--s3); }
.case-story { background: var(--cream-50); }
.case-story .story-title { font-family: var(--font-head); font-size: 26px; line-height: 32px; font-weight: 700; margin: var(--s1) 0 var(--s2); }
.case-story h4 { font-size: 17px; line-height: 26px; font-weight: 600; margin: var(--s3) 0 4px; color: var(--ink); }
.case-story p { color: var(--ink); max-width: 760px; }
.story-meta { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin: 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 21px; }
.story-meta dt { color: var(--bark-600); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.story-meta dd { margin: 0; color: var(--ink); }
.story-quote { margin: var(--s1) 0 0; padding: var(--s2) var(--s3); background: var(--cream-100); border-left: 4px solid var(--orchard-700); border-radius: var(--radius-input); }
.story-quote blockquote { margin: var(--s1) 0; font-family: var(--font-head); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.story-quote figcaption { font-size: 14px; color: var(--ink-muted); }

/* Reviews */
.review { display: flex; flex-direction: column; gap: var(--s2); }
.review blockquote { font-family: var(--font-head); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.review figcaption { color: var(--ink-muted); font-size: 14px; line-height: 21px; }

/* FAQ */
.faq { display: grid; gap: var(--s2); max-width: 820px; }
.faq details { background: var(--cream-100); border: 1px solid var(--line); border-radius: var(--radius-card); }
.section--band .faq details { background: var(--cream-50); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--s2) var(--s3);
  font-weight: 600; font-size: 18px; line-height: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  border-radius: var(--radius-card);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--orchard-700);
  background:
    linear-gradient(var(--orchard-700), var(--orchard-700)) center / 10px 2px no-repeat,
    linear-gradient(var(--orchard-700), var(--orchard-700)) center / 2px 10px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--orchard-700), var(--orchard-700)) center / 10px 2px no-repeat; }
.faq .faq-body { padding: 0 var(--s3) var(--s3); color: var(--ink-muted); }

/* Promise band */
.promise { display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; }
@media (min-width: 768px) { .promise { flex-direction: row; align-items: center; } }
.promise-clock { flex: none; width: 64px; height: 64px; }
.promise p { font-family: var(--font-head); font-size: 22px; line-height: 30px; font-weight: 600; color: var(--ink); }
@media (min-width: 1024px) { .promise p { font-size: 26px; line-height: 34px; } }

/* Final call to action */
.final-cta { text-align: center; }
.final-cta .btn-row { justify-content: center; margin-top: var(--s3); }
.final-cta p { max-width: 600px; margin: var(--s2) auto 0; }

/* Numbered "what happens next" list */
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: next; display: grid; gap: var(--s3); }
.next-steps li { counter-increment: next; display: grid; grid-template-columns: 40px 1fr; gap: var(--s2); align-items: start; }
.next-steps li::before {
  content: counter(next);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orchard-700); color: var(--cream-50);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700;
}
.next-steps h3 { margin-bottom: 4px; }
.next-steps p { color: var(--ink-muted); }

/* Team photo frame */
.photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  border: 2px dashed var(--bark-600);
  background: var(--cream-100);
  display: grid; place-items: center; text-align: center;
  padding: var(--s3);
  color: var(--bark-600);
}
.photo-frame svg { width: 96px; height: 96px; margin: 0 auto var(--s2); }
.photo-frame strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s3); }
.form-row { display: grid; gap: var(--s3); }
@media (min-width: 768px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto; row-gap: 6px; }
  /* Subgrid keeps labels, inputs, hints and errors on the same lines in both columns */
  .form-row--2 > .field { grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
}
.field > .field-error:empty { min-height: 0; }
.more-detail { border-top: 1px solid var(--line); padding-top: var(--s2); }
.more-detail summary {
  cursor: pointer; font-weight: 600; color: var(--orchard-700);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}
.more-detail summary::marker { content: ""; }
.more-detail summary::-webkit-details-marker { display: none; }
.more-detail summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--orchard-700); font-size: 16px; line-height: 1; }
.more-detail[open] summary::before { content: "\2212"; }
.more-detail .more-body { display: grid; gap: var(--s3); margin-top: var(--s2); }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.contact-alt { display: grid; gap: var(--s2); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; line-height: 22px; }
.req, .field .req { color: var(--apple-700); font-weight: 600; }
.field .hint { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-muted);
  border-radius: var(--radius-input);
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  line-height: 24px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orchard-700); outline-offset: 1px; border-color: var(--orchard-700); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--apple-700); border-width: 2px; }
.field-error { display: none; font-size: 14px; line-height: 21px; color: var(--apple-700); font-weight: 600; }
.field.has-error .field-error { display: block; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--apple-700); }
.form-legal { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.form-card { background: var(--cream-100); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s3); }
@media (min-width: 768px) { .form-card { padding: var(--s4); } }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--s4); margin-bottom: var(--s2); }
.prose h3 { margin-top: var(--s3); margin-bottom: var(--s1); }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: var(--s2); }
.prose p + p { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose .updated { color: var(--ink-muted); font-size: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); margin-bottom: var(--s2); }
.table-wrap:focus-visible { outline-offset: 2px; }
.data-table { width: 100%; font-size: 15px; line-height: 22px; min-width: 560px; }
.data-table th, .data-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--cream-100); font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream-100); padding: var(--s4) 0 var(--s3); font-size: 15px; line-height: 24px; }
.site-footer a { color: var(--cream-50); }
.site-footer a:hover { color: var(--cream-50); }
.footer-grid { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-tagline { margin-top: var(--s2); font-family: var(--font-head); font-size: 20px; line-height: 28px; color: var(--cream-50); font-weight: 600; }
.footer-motto { margin-top: var(--s1); color: var(--cream-100); }
.site-footer h2 { font-family: var(--font-body); font-size: 13px; line-height: 18px; letter-spacing: 1px; text-transform: uppercase; color: var(--leaf-400); font-weight: 600; margin-bottom: var(--s2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .footer-social { display: flex; flex-wrap: wrap; gap: 8px var(--s2); margin-top: var(--s2); }
.footer-bottom { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(251, 246, 236, .2); display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; font-size: 14px; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; line-height: inherit; }

/* ---------- Sticky mobile call to action ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--cream-50);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(31, 42, 28, .08);
  transition: transform .25s ease, visibility .25s;
}
.sticky-cta { display: flex; gap: 8px; }
.sticky-cta .btn--apple { flex: 1 1 auto; }
.sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; }
body.has-sticky-cta { padding-bottom: var(--sticky-h); }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
  body.has-sticky-cta { padding-bottom: 0; }
}

/* ---------- Cookie consent bar (slim, bottom) ---------- */
.cookie-banner {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: var(--cream-100);
  border-top: 1px solid rgba(251, 246, 236, .2);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  font-size: 14px; line-height: 20px;
  max-height: 85vh; overflow-y: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-bar { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px var(--s2); }
.cookie-text { flex: 1 1 260px; margin: 0; }
.cookie-text strong { color: var(--cream-50); font-weight: 600; }
.cookie-text strong:focus { outline: none; }
.cookie-banner a { color: var(--cream-50); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: nowrap; }
.cookie-actions .btn { min-height: 36px; padding: 6px 14px; font-size: 14px; white-space: nowrap; }
@media (max-width: 420px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1 1 0; padding: 6px 8px; } }
.cookie-settings { max-width: var(--container); margin: 10px auto 0; display: grid; gap: 12px; border-top: 1px solid rgba(251, 246, 236, .2); padding-top: 12px; }
@media (min-width: 768px) { .cookie-settings { grid-template-columns: repeat(3, 1fr) auto; align-items: center; } }
.cookie-settings[hidden] { display: none; }
.toggle { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s2); align-items: center; }
.toggle-label { font-weight: 600; color: var(--cream-50); }
.toggle-desc { grid-column: 1 / 2; font-size: 13px; line-height: 18px; }
.toggle input {
  grid-row: 1 / span 2; grid-column: 2;
  appearance: none; width: 48px; height: 28px; border-radius: var(--radius-pill);
  background: var(--ink-muted); border: 2px solid var(--cream-100); position: relative; cursor: pointer; margin: 0;
  transition: background-color .15s ease;
}
.toggle input::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream-50); transition: transform .15s ease;
}
.toggle input:checked { background: var(--orchard-700); }
.toggle input:checked::after { transform: translateX(20px); }
.toggle input:disabled { opacity: .7; cursor: not-allowed; }
.toggle input:focus-visible { outline: 3px solid var(--harvest-400); outline-offset: 2px; }
html.cookie-open .sticky-cta { visibility: hidden; }

/* ---------- Founding client offer ---------- */
.founding {
  display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between;
  border: 2px solid var(--orchard-700); background: var(--cream-50); margin-bottom: var(--s4);
}
.founding-body { flex: 1 1 420px; }
.founding-actions { display: flex; flex-direction: column; align-items: center; gap: var(--s1); }
.founding-call { font-weight: 600; }
.founding-body h3 { font-family: var(--font-head); font-size: 24px; line-height: 30px; margin: var(--s1) 0 var(--s1); }
.founding-body p { color: var(--ink); max-width: 720px; }
.founding-badge {
  display: inline-block; background: var(--orchard-700); color: var(--cream-50);
  font-size: 13px; line-height: 18px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-pill);
}
.form-offer { background: var(--cream-50); border: 2px solid var(--orchard-700); border-radius: var(--radius-input); padding: 12px 14px; font-size: 15px; line-height: 22px; }
.review-ask { font-size: 14px; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: var(--radius-card); object-fit: cover; }
.photo--frank { max-width: 420px; margin-left: auto; margin-right: auto; }

.scope-line { max-width: 720px; padding: 12px 16px; border-left: 4px solid var(--orchard-700); background: var(--cream-100); border-radius: var(--radius-input); color: var(--ink); }

/* ---------- Guides ---------- */
.guide-card { display: flex; flex-direction: column; gap: var(--s1); text-decoration: none; color: var(--ink); }
.guide-card:hover { border-color: var(--orchard-700); color: var(--ink); }
.guide-card h3 { color: var(--orchard-700); font-family: var(--font-head); font-size: 22px; line-height: 28px; }
.guide-card .small { color: var(--ink-muted); margin-top: auto; }
.article { max-width: 720px; }
.article .meta { color: var(--ink-muted); font-size: 14px; line-height: 21px; margin-top: var(--s2); }
.answer-box { background: var(--cream-100); border: 1px solid var(--line); border-left: 4px solid var(--orchard-700); border-radius: var(--radius-card); padding: var(--s3); margin: var(--s3) 0; }
.answer-box .label { display: block; margin-bottom: 4px; }
.article h2 { margin-top: var(--s4); margin-bottom: var(--s2); }
.article h3 { margin-top: var(--s3); margin-bottom: var(--s1); }
.article p, .article ul, .article ol { margin-bottom: var(--s2); }
.article p + p { margin-top: 0; }
.article ul, .article ol { padding-left: 1.25em; }
.article li + li { margin-top: 6px; }
.article .formula { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 28px; background: var(--cream-100); border-radius: var(--radius-card); padding: var(--s2) var(--s3); }
.sources { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.next-step { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between; }
.next-step p { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 30px; color: var(--ink); max-width: 620px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound svg { width: 220px; margin: 0 auto var(--s3); }
.notfound .btn-row { justify-content: center; margin-top: var(--s3); }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: var(--s1); } .mt-2 { margin-top: var(--s2); } .mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); }
.center { text-align: center; }
.maxw-640 { max-width: 640px; }
.inline-list { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); list-style: none; padding: 0; margin: 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .sticky-cta, .cookie-banner { display: none !important; }
}
