/*
  InkYourDay website: shared stylesheet (css/site.css)
  Palette from lib/theme/tokens.dart (InkColors light, InkNightColors night).
  No JavaScript needed anywhere. Fonts: Nunito (UI/body) + Caveat (display).

  COMPONENTS (reuse these on every page)
  Layout     .wrap (1120px column, 16px gutters)  .wrap--narrow (760px, text pages)
             .section (vertical band)  .section--tint (soft lavender band)
             .section--tight (less padding)  .section__head (centred heading block)
             .split (text + art, 2 columns from 768px; add .split--flip to swap)
             .grid .grid--2 .grid--3 (responsive card grids)  .stack (vertical rhythm)
  Type       .display (Caveat heading; use on h1/h2)  .eyebrow (small caps label)
             .lead (larger intro text)  .muted  .center  .prose (long text: lists, h2/h3)
             .page-head (top of an inner page: .eyebrow + h1.display + .lead)
  Header     header.site-header > .wrap.site-header__bar > a.wordmark, nav.site-nav, a.site-header__cta
             Mark the current page with aria-current="page" on its nav link.
  Footer     footer.site-footer (copy the block from index.html verbatim)
  Buttons    .btn + .btn--primary | .btn--soft | .btn--ghost, size .btn--small
             .play-badge (official Google Play badge link; never restyle the image)
             .link-arrow (text link with a trailing arrow)
  Cards      .card  .card--soft (tinted)  .card--link (whole card is a link: hover lift)
             .feature-card (icon + h3 + p) with .feature-card__icon
  Doodles    .doodle (decorative drawing; contains img.on-light + img.on-dark, the
                night file is /img/doodles/night/<name>.svg; mark aria-hidden="true")
             .blob + mood .m-glowing .m-happy .m-tender .m-calm .m-dreamy .m-heavy
                (soft mood blob; a drawing ON a blob keeps its navy outline in night,
                like the app, so it needs only the light SVG)
             .float-doodle (absolutely placed accent inside a position:relative box)
  Garden     .garden (year-garden motif grid, aria-hidden) > .g (empty day dot)
                | .g.m-<mood> > img (drawn day). .garden--mini (small, 7 columns)
             .garden-card (white card around a garden with .garden-card__top)
  Screens    figure.shot > img (rounded phone screenshot)  .shot--hero
             .gallery (full-bleed horizontal scroll-snap row of .shot items;
                wrap it in div.gallery-wrap[role=region][aria-label][tabindex=0])
  Lists      .checklist (ticked list)  .steps > .step (numbered how-it-works)
  Plans      .plans > .plan (.plan--trial highlighted)  .plan__tag
  FAQ        .faq > details.faq__item > summary + .faq__body
  CTA        .cta (closing call-to-action card)
  Utility    .visually-hidden  .skip (skip link)
  Theme      prefers-color-scheme plus :root[data-theme="light"|"dark"] overrides.
  Images     /img/shots/<name>-540.webp and -1080.webp (1080x1920), /img/doodles/*.svg
             (sizes in /img/doodles/doodles.json), /img/og-image.png, icons at root.
*/

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #F4F3F9;
  --bg-2: #ECEAFB;
  --surface: #FFFFFF;
  --raised: #FFFFFF;
  --ink: #22186E;
  --text: #22186E;
  --secondary: #5A54A8;
  --memory: #2B1FA8;
  --primary: #462FD2;
  --on-primary: #FFFFFF;
  --link: #462FD2;
  --tint: #E2E0FC;
  --soft: #EFEEFB;
  --line: #E7E5F6;
  --dot: #CBC8F3;
  --dot-future: #E4E2F8;
  --focus: #462FD2;
  --header-bg: rgba(244, 243, 249, .86);
  --shadow-card: 0 2px 8px rgba(70, 45, 209, .06);
  --shadow-raised: 0 10px 28px rgba(34, 24, 110, .10), 0 1px 3px rgba(34, 24, 110, .05);
  --shadow-btn: 0 8px 20px rgba(70, 45, 209, .22);
  --shadow-shot: 0 20px 44px rgba(34, 24, 110, .14), 0 2px 6px rgba(34, 24, 110, .05);
  /* Mood blobs (light: colour at 55 %; night: 85 % over #f4f3f9, opaque). */
  --m-glowing: rgba(242, 210, 96, .55);
  --m-happy: rgba(239, 138, 134, .55);
  --m-tender: rgba(244, 166, 191, .55);
  --m-calm: rgba(92, 154, 120, .55);
  --m-dreamy: rgba(196, 194, 246, .55);
  --m-heavy: rgba(122, 111, 224, .55);
  /* Shapes */
  --r-card: 24px;
  --r-card-lg: 28px;
  --r-btn: 24px 21px 25px 22px / 22px 25px 21px 24px;
  --r-chip: 15px 13px 16px 14px / 14px 16px 13px 15px;
  --r-blob: 58% 42% 55% 45% / 48% 56% 44% 52%;
  --wrap: 1120px;
  --gutter: 16px;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Nunito", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17113F;
    --bg-2: #1C1550;
    --surface: #221A5C;
    --raised: #2A2166;
    --ink: #F4F3F9;
    --text: #F4F3F9;
    --secondary: #B9B5E2;
    --memory: #E2E0FC;
    --primary: #C4C2F6;
    --on-primary: #17113F;
    --link: #C9C7F8;
    --tint: #2A2166;
    --soft: #2A2166;
    --line: #3D3488;
    --dot: #7D78BD;
    --dot-future: #524A9E;
    --focus: #E2E0FC;
    --header-bg: rgba(23, 17, 63, .86);
    --shadow-card: none;
    --shadow-raised: 0 10px 28px rgba(0, 0, 0, .30);
    --shadow-btn: none;
    --shadow-shot: 0 20px 44px rgba(0, 0, 0, .35);
    --m-glowing: #F2D777;
    --m-happy: #F09A97;
    --m-tender: #F4B2C8;
    --m-calm: #73A78B;
    --m-dreamy: #CBC9F6;
    --m-heavy: #8C83E4;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17113F;
  --bg-2: #1C1550;
  --surface: #221A5C;
  --raised: #2A2166;
  --ink: #F4F3F9;
  --text: #F4F3F9;
  --secondary: #B9B5E2;
  --memory: #E2E0FC;
  --primary: #C4C2F6;
  --on-primary: #17113F;
  --link: #C9C7F8;
  --tint: #2A2166;
  --soft: #2A2166;
  --line: #3D3488;
  --dot: #7D78BD;
  --dot-future: #524A9E;
  --focus: #E2E0FC;
  --header-bg: rgba(23, 17, 63, .86);
  --shadow-card: none;
  --shadow-raised: 0 10px 28px rgba(0, 0, 0, .30);
  --shadow-btn: none;
  --shadow-shot: 0 20px 44px rgba(0, 0, 0, .35);
  --m-glowing: #F2D777;
  --m-happy: #F09A97;
  --m-tender: #F4B2C8;
  --m-calm: #73A78B;
  --m-dreamy: #CBC9F6;
  --m-heavy: #8C83E4;
}
:root[data-theme="light"] { color-scheme: light; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.2; text-wrap: balance; }
.lead, .faq__item summary { text-wrap: pretty; }
h1 { font-size: 34px; font-weight: 900; }
h2 { font-size: 26px; font-weight: 900; }
h3 { font-size: 19px; font-weight: 800; line-height: 1.3; }
p, ul, ol { margin: 0 0 14px; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
strong, b { font-weight: 800; }
a { color: var(--link); font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--tint); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }
@media (min-width: 768px) { :root { --gutter: 24px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-raised); }
.skip:focus { top: 10px; }
.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; }

/* ---------- Type helpers ---------- */
.display { font-family: var(--font-hand); font-weight: 700; letter-spacing: 0; line-height: 1; color: var(--ink); }
h1.display { font-size: clamp(46px, 11.5vw, 84px); }
h2.display { font-size: clamp(36px, 7.5vw, 58px); }
h3.display { font-size: clamp(30px, 5vw, 38px); }
.eyebrow { display: inline-block; margin: 0 0 10px; font-size: 13px; font-weight: 900; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--primary); }
.lead { font-size: 19px; font-weight: 600; color: var(--secondary); line-height: 1.55; }
@media (min-width: 768px) { .lead { font-size: 21px; } }
.muted { color: var(--secondary); }
.small { font-size: 15px; }
.center { text-align: center; }
.hand { font-family: var(--font-hand); font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; padding: 12px 0; }
.site-header__bar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand cta" "nav nav";
  align-items: center; gap: 10px 12px; }
.wordmark { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  font-family: var(--font-hand); font-weight: 700; font-size: 34px; line-height: 1; color: var(--ink);
  text-decoration: none; padding: 4px 6px 4px 0; }
.wordmark img { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.wordmark:hover { text-decoration: none; }
.site-nav { grid-area: nav; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--soft); color: var(--ink); font-weight: 800; font-size: 15px; text-decoration: none; }
.site-nav a:hover { background: var(--tint); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.site-header__cta { grid-area: cta; white-space: nowrap; }
@media (max-width: 380px) {
  .site-nav ul { gap: 6px; }
  .site-nav a { padding: 0 14px; }
  .wordmark { font-size: 30px; }
}
@media (min-width: 768px) {
  .site-header { position: sticky; top: 0; padding: 10px 0; background: var(--header-bg);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent; }
  .site-header__bar { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav cta"; }
  .site-nav { justify-self: end; }
  .site-nav a { background: transparent; }
  .site-nav a:hover { background: var(--soft); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  padding: 0 26px; border-radius: var(--r-btn); border: 0; font: inherit; font-weight: 800; font-size: 17px;
  line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-btn); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--soft { background: var(--tint); color: var(--ink); }
.btn--soft:hover { background: var(--soft); box-shadow: inset 0 0 0 2px var(--tint); }
.btn--ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--primary); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 999px; }
.play-badge { display: inline-block; flex: none; border-radius: 10px; line-height: 0; }
.play-badge img { height: 60px; width: auto; }
.link-arrow { display: inline; font-weight: 800; text-decoration: none; }
.link-arrow::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: transform .2s ease-out; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- Sections & layout ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section--tint { background: var(--bg-2); }
@media (min-width: 768px) { .section { padding: 88px 0; } .section--tight { padding: 48px 0; } }
.section__head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section__head .lead { margin-top: 12px; }
@media (min-width: 768px) { .section__head { margin-bottom: 48px; } }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 959px) { .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid { gap: 20px; } }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 768px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .split--flip > :first-child { order: 2; }
}
@media (min-width: 1024px) { .split { gap: 56px; } }
.page-head { padding: 32px 0 8px; }
.page-head .lead { margin-top: 12px; max-width: 640px; }
@media (min-width: 768px) { .page-head { padding: 56px 0 16px; } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border-radius: var(--r-card); padding: 22px;
  box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .card { padding: 28px; } }
.card--soft { background: var(--soft); box-shadow: none; }
.card--link { display: block; color: inherit; font-weight: inherit; text-decoration: none;
  transition: transform .2s ease-out, box-shadow .2s ease-out; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); text-decoration: none; }
.card h3 + p { margin-top: 6px; }
.card p { color: var(--secondary); }
.feature-card .feature-card__icon { margin-bottom: 14px; }
.feature-card .link-arrow { margin-top: 12px; color: var(--link); }

/* ---------- Doodles & blobs ---------- */
.doodle { display: inline-block; line-height: 0; }
.doodle img { width: 100%; height: auto; }
.doodle .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .doodle .on-light { display: none; }
  :root:not([data-theme="light"]) .doodle .on-dark { display: block; }
}
:root[data-theme="dark"] .doodle .on-light { display: none; }
:root[data-theme="dark"] .doodle .on-dark { display: block; }
.blob { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  border-radius: var(--r-blob); flex: none; }
.blob img { width: auto; height: 78%; }
.blob--lg { width: 88px; height: 88px; }
.m-glowing { background: var(--m-glowing); }
.m-happy { background: var(--m-happy); }
.m-tender { background: var(--m-tender); }
.m-calm { background: var(--m-calm); }
.m-dreamy { background: var(--m-dreamy); }
.m-heavy { background: var(--m-heavy); }
.float-doodle { position: absolute; pointer-events: none; z-index: 0; }

/* ---------- Year garden motif ---------- */
.garden { --cols: 10; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 4px; }
.garden .g { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  min-width: 0; min-height: 0; overflow: hidden; }
.garden .g::before { content: ""; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--dot); }
.garden .g.future::before { background: var(--dot-future); }
.garden .g[class*="m-"] { border-radius: var(--r-blob); }
.garden .g[class*="m-"]::before { display: none; }
.garden .g img { width: auto; height: 82%; max-width: 92%; }
.garden .g.today { box-shadow: 0 0 0 2px var(--primary); }
@media (min-width: 600px) { .garden { --cols: 14; gap: 6px; } }
.garden--mini { --cols: 7; gap: 4px; }
@media (min-width: 600px) { .garden--mini { --cols: 7; } }
.garden-card { background: var(--surface); border-radius: var(--r-card-lg); padding: 18px; box-shadow: var(--shadow-raised); }
@media (min-width: 768px) { .garden-card { padding: 26px; } }
.garden-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.garden-card__year { font-size: 34px; font-weight: 900; color: var(--ink); line-height: 1; }
.garden-card__count { font-size: 15px; font-weight: 700; color: var(--secondary); }
.garden-card__count strong { color: var(--primary); }
.garden-card__bar { height: 8px; border-radius: 99px; background: var(--tint); margin: 12px 0 16px; overflow: hidden; }
.garden-card__bar span { display: block; height: 100%; border-radius: inherit; background: var(--primary); }

/* ---------- Screenshots ---------- */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-shot); background: var(--tint); }
/* The store screenshots have a light background baked in; dim them a little at night. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot img:not([src*="_night"]) { filter: brightness(.88); } }
:root[data-theme="dark"] .shot img:not([src*="_night"]) { filter: brightness(.88); }
.gallery-wrap { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--dot) transparent; padding: 8px 0 64px; }
.gallery-wrap:focus-visible { outline-offset: -3px; border-radius: 0; }
.gallery { list-style: none; margin: 0; display: flex; gap: 16px; width: max-content;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.gallery li { flex: none; width: clamp(220px, 64vw, 270px); scroll-snap-align: start; }
@media (min-width: 768px) { .gallery { gap: 24px; } }
.gallery-hint { margin: -36px 0 0; position: relative; text-align: center; font-size: 15px; color: var(--secondary); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 20px 0 48px; }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__copy { position: relative; z-index: 1; }
.hero__copy .lead { margin: 16px 0 24px; max-width: 34em; }
.hero__note { margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--secondary); }
.hero__art { position: relative; justify-self: center; width: min(100% - 48px, 290px); }
.hero__art .shot { position: relative; z-index: 1; }
.hero__art .shot--back { display: none; }
@media (min-width: 900px) {
  .hero { padding: 40px 0 72px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .hero__art { width: 100%; max-width: 540px; justify-self: end; display: flex; align-items: flex-start; gap: 24px; }
  .hero__art .shot { flex: 1 1 0; min-width: 0; }
  .hero__art .shot--back { display: block; margin-top: 80px; }
}

.hero__d1 { width: 46px; left: -6px; top: -14px; z-index: 3; transform: rotate(-8deg); }
.hero__d2 { width: 44px; right: -4px; top: 34%; z-index: 3; }
.hero__d3 { width: 30px; left: -10px; bottom: 18%; z-index: 3; }
@media (max-width: 899px) {
  .hero__d1 { width: 40px; left: -24px; top: 24px; }
  .hero__d2 { width: 38px; right: -24px; top: 46%; }
  .hero__d3 { width: 26px; left: -22px; bottom: 22%; }
}
@media (min-width: 900px) {
  .hero__d1 { width: 58px; left: -50px; top: 56px; }
  .hero__d2 { width: 52px; right: -18px; top: 6px; }
  .hero__d3 { width: 34px; left: calc(50% - 17px); top: auto; bottom: -18px; }
}

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.step { display: flex; flex-direction: column; }
.step__num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 12px 10px 13px 11px; background: var(--primary); color: var(--on-primary);
  font-weight: 900; font-size: 17px; }
.step__art { width: 100%; max-width: 340px; margin-top: auto; padding-top: 18px; }
/* 600-899px: one step per row, so put the art beside the text instead of stretching it. */
@media (min-width: 600px) and (max-width: 899px) {
  .step { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto auto 1fr; column-gap: 28px; }
  .step > :not(.step__art) { grid-column: 1; }
  .step__art { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; padding-top: 0; }
}
.mini-memory { display: flex; gap: 14px; align-items: center; background: var(--soft); border-radius: 18px; padding: 14px; }
.mini-memory p { margin: 0; color: var(--memory); font-weight: 700; font-size: 16px; line-height: 1.45; }
.mini-memory .blob { width: 56px; height: 56px; }
.picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.picker > span { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; min-height: 0;
  overflow: hidden; border-radius: 14px; background: var(--soft); }
.picker span .doodle { height: 72%; width: auto; }
.picker span .doodle img { height: 100%; width: auto; }
.picker .is-selected { box-shadow: inset 0 0 0 2.5px var(--primary); background: var(--tint); }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px;
  border-radius: 9px 8px 10px 8px; background: var(--tint) no-repeat center / 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23462FD2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checklist strong { color: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23C4C2F6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
:root[data-theme="dark"] .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23C4C2F6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (min-width: 700px) { .checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; } }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 16px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.plan { display: flex; flex-direction: column; gap: 8px; }
.plan h3 { font-size: 21px; }
.plan__tag { align-self: flex-start; padding: 4px 12px; border-radius: 10px 8px 11px 9px; background: var(--tint);
  color: var(--primary); font-size: 13px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.plan--trial { background: var(--primary); }
.plan--trial h3, .plan--trial p { color: var(--on-primary); }
.plan--trial .plan__tag { background: rgba(255, 255, 255, .18); color: var(--on-primary); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .plan--trial .plan__tag { background: rgba(23, 17, 63, .14); }
}
:root[data-theme="dark"] .plan--trial .plan__tag { background: rgba(23, 17, 63, .14); }
.note { background: var(--soft); border-radius: 18px; padding: 16px 20px; color: var(--secondary); font-weight: 600; }
.note strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-card); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 20px; font-weight: 800; font-size: 17px; color: var(--ink); border-radius: 20px; min-height: 56px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--soft) no-repeat center / 14px 14px;
  background-image: linear-gradient(var(--primary), var(--primary)), linear-gradient(var(--primary), var(--primary));
  background-size: 14px 2.5px, 2.5px 14px; transition: transform .2s ease-out; }
.faq__item[open] summary::after { background-size: 14px 2.5px, 0 0; transform: rotate(180deg); }
.faq__item summary:hover { color: var(--primary); }
.faq__body { padding: 0 20px 20px; color: var(--secondary); }
.faq__body p, .faq__body ul { margin-bottom: 10px; }
.faq__body :last-child { margin-bottom: 0; }
.faq__body a { color: var(--link); }

/* ---------- Prose (long text pages) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; scroll-margin-top: 90px; }
.prose h3 { margin: 28px 0 6px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ---------- Closing CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; background: var(--surface); border-radius: 32px;
  padding: 48px 22px; box-shadow: var(--shadow-raised); }
.cta .lead { margin: 12px auto 24px; max-width: 30em; }
.cta .actions { justify-content: center; }
.cta > :not(.float-doodle) { position: relative; z-index: 1; }
.cta__d1, .cta__d2, .cta__d3 { opacity: .9; }
.cta__d1 { width: 34px; left: 14px; bottom: 14px; }
.cta__d2 { width: 36px; right: 16px; bottom: 12px; }
.cta__d3 { display: none; }
@media (min-width: 768px) {
  .cta { padding: 72px 48px; }
  .cta__d1 { width: 52px; left: 8%; bottom: 24px; }
  .cta__d2 { width: 56px; right: 9%; bottom: 22px; }
  .cta__d3 { display: block; width: 50px; right: 12%; top: 32px; }
}
@media (min-width: 768px) and (max-width: 1099px) { .cta__d3 { top: 14px; right: 5%; width: 40px; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 24px; padding: 48px 0 36px; background: var(--surface); color: var(--secondary); font-size: 15px; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__brand p { margin: 10px 0 18px; max-width: 26em; font-weight: 600; }
.site-footer__brand .wordmark { padding: 0; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.site-footer__nav > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
.site-footer h2 { font-size: 13px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-block; max-width: 100%; padding: 7px 0; color: var(--secondary); font-weight: 700; text-decoration: none; }
.site-footer li a:hover { color: var(--link); text-decoration: underline; }
.site-footer li a[href^="mailto:"] { white-space: nowrap; }
.site-footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.site-footer__legal p { margin: 0; }
@media (min-width: 768px) {
  .site-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__nav > div:nth-child(2) { grid-column: auto; grid-row: auto; }
  .site-footer__legal { grid-template-columns: 1fr auto; }
}
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.2fr 1.8fr; gap: 48px; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card--link:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  :root { --bg: #fff; --bg-2: #fff; --surface: #fff; --ink: #000; --text: #000; --secondary: #333; --link: #000; }
  body { font-size: 12pt; }
  .site-header, .site-nav, .site-header__cta, .skip, .gallery-wrap, .gallery-hint, .float-doodle, .hero__art,
  .play-badge, .cta { display: none !important; }
  .section { padding: 16px 0; }
  .card, .faq__item, .garden-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .faq__item .faq__body { display: block; }
  a[href^="http"]::after, a[href^="mailto"]::after { content: " (" attr(href) ")"; font-weight: 400; }
  .site-footer { background: #fff; }
}

/* ---------- Addition (legal-pages agent, 2026-10-21) ----------
   The hidden skip link's raised shadow peeked in at the top-left corner of
   every page. Drop the shadow until the link is focused. */
.skip:not(:focus) { box-shadow: none; }
