/* CLAUDIA'S GARDEN · the glasshouse (engine and look from the Folia v2 film template). One world: a misty Victorian glasshouse, a terracotta pot, a vine that
   blooms, a blue morpho. Pages open inside the flowers; the footer lives in the soil under the bench.
   Motion contract (Hope): one easing cubic-bezier(0.16,1,0.3,1); UI .3–.5s, entrances 1.0–1.4s; fade + rise
   ≤40px; no springs or bounces; prefers-reduced-motion neutralises it all. */
:root {
  --night: #081d17; --moss: #0d281f; --deep: #123427; --leaf: #2f5a45; --sage: #a3bf98; --bone: #f2edde; --mute: #ccd3c6;
  --brass: #d8c595; --terracotta: #b87558; --soil: #140e09; --navy: #173c58; --earth: #b8aa8b;
  --accent: #d8c595; --accent-ink: #f2e6c4;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --radius: 18px;
  color-scheme: dark;
}
body[data-flower="identify"] { --accent: #e04a8f; --accent-ink: #ffc3dd; }
body[data-flower="app"] { --accent: #f2875a; --accent-ink: #ffd2b8; }
body[data-flower="grow"] { --accent: #dfe9c8; --accent-ink: #f4f8ea; }
body[data-flower="nurseries"] { --accent: #6d8cff; --accent-ink: #c9d6ff; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--night); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -.005em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent-ink); }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--bone); color: var(--night); font: 600 14px var(--sans); text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.eyebrow { display: block; margin: 0 0 .9rem; font: 600 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }

/* ---------- the bar: wordmark + the flower dock ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter); pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: linear-gradient(180deg, rgba(8,29,23,.86), rgba(8,29,23,.55) 60%, rgba(8,29,23,0)); }
.scrolled .bar::before { opacity: 1; }
.home .bar::before { display: none; }
.mark { display: inline-flex; align-items: baseline; gap: .5em; text-decoration: none; color: var(--bone); text-shadow: 0 1px 18px rgba(5,10,7,.6); }
.mark b { font: 600 26px/1 var(--serif); letter-spacing: .02em; }
.mark span { font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
.dock { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.dock a { position: relative; display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--bone); font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.dock i { display: block; width: 44px; height: 44px; border-radius: 50%; background-size: cover; background-position: center;
  box-shadow: 0 0 0 1.5px rgba(243,239,230,.55), 0 6px 22px rgba(0,0,0,.45); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.dock a:hover i, .dock a:focus-visible i { transform: translateY(-3px) scale(1.08); box-shadow: 0 0 0 2px var(--bone), 0 0 26px rgba(255,236,190,.55); }
.dock a[aria-current="page"] i { box-shadow: 0 0 0 2px var(--accent-ink), 0 0 24px var(--accent); }
.dock a span { text-shadow: 0 1px 10px rgba(0,0,0,.7); white-space: nowrap; }
.home .dock { opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.home .dock.on, .home .dock:focus-within { opacity: 1; pointer-events: auto; transform: none; }
@media (max-width: 899px) {
  .bar { padding: 14px 16px; }
  .dock { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); gap: 10px; padding: 10px 14px 9px;
    border-radius: 999px; background: rgba(8,29,23,.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
  .dock { transition: transform .5s var(--ease), opacity .5s var(--ease); }
  .tuck .dock:not(:focus-within) { transform: translate(-50%, 150%); } /* never tuck away the dock a keyboard is in */
  .home .dock { transform: translate(-50%, 8px); }
  .home .dock.on, .home .dock:focus-within { transform: translateX(-50%); }
  .dock i { width: 40px; height: 40px; }
  .dock a { font-size: 9.5px; letter-spacing: .12em; }
}

/* ---------- the flower dive: a page opens from inside its flower ---------- */
.dive { position: fixed; inset: 0; z-index: 60; pointer-events: none; background-size: cover; background-position: center; clip-path: circle(0 at 50% 50%); }
.dive.go { transition: clip-path .85s var(--ease); }

/* ---------- inner pages: the hero is the inside of the flower ---------- */
.bloom-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; background: var(--night); }
.bloom-hero__img { position: absolute; inset: -4%; background-image: var(--macro); background-size: cover; background-position: center; transform: scale(1.06); will-change: transform; }
.bloom-hero__img.arrive { animation: arrive 1.4s var(--ease) both; }
@keyframes arrive { from { transform: scale(.98); filter: blur(4px); } to { transform: scale(1.06); filter: blur(0); } } /* continues the dive's forward motion */
.bloom-hero__rim { position: absolute; inset: -12%; background-image: var(--macro); background-size: cover; background-position: center; filter: blur(22px) saturate(1.2); opacity: .9;
  -webkit-mask-image: radial-gradient(closest-side, transparent 58%, #000 96%); mask-image: radial-gradient(closest-side, transparent 58%, #000 96%); will-change: transform; }
.bloom-hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 90% at 0% 100%, rgba(6,22,17,.78) 0%, rgba(6,22,17,.45) 38%, rgba(6,22,17,0) 66%), linear-gradient(180deg, rgba(6,22,17,.35) 0%, rgba(6,22,17,0) 30%, rgba(6,22,17,.05) 55%, rgba(8,29,23,.92) 100%); }
.pollen { position: absolute; inset: 0; z-index: 2; pointer-events: none; width: 100%; height: 100%; }
.bloom-hero__copy { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 12vh, 120px); max-width: 46rem; }
.bloom-hero__copy .eyebrow { color: var(--bone); text-shadow: 0 1px 12px rgba(5,10,7,.9), 0 0 2px rgba(5,10,7,.8); }
.bloom-hero__copy h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); text-shadow: 0 2px 30px rgba(5,10,7,.55); }
.bloom-hero__copy p { max-width: 36rem; margin-top: 1.1rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--mute); text-shadow: 0 1px 14px rgba(5,10,7,.7); }
.cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 1px; height: 56px; background: linear-gradient(var(--bone), transparent); transform-origin: top; animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 899px) { .cue { display: none; } .bloom-hero__copy { bottom: 116px; } }

@media (min-width: 1100px) { .bloom-hero__img { background-image: var(--macro-wide, var(--macro)); } }

/* ---------- the rooms float over a blurred, fixed flower: depth without weight ---------- */
.rooms { position: relative; z-index: 1; isolation: isolate; overflow-x: clip; }
/* the blurred flower behind the rooms: sticky inside .rooms so it never paints over the hero */
.rooms__bg { position: sticky; top: 0; z-index: -1; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; background: var(--macro) center / cover no-repeat; filter: blur(42px) saturate(1.15) brightness(.3); transform: scale(1.18); pointer-events: none; }
.room { position: relative; padding: clamp(72px, 12vw, 150px) var(--gutter); }
.wrap { max-width: 1180px; margin: 0 auto; }
.narrow { max-width: 760px; }
.room h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 1.2rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--mute); max-width: 40rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
.pane { background: rgba(12,38,30,.58); border: 1px solid rgba(243,239,230,.1); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.pane h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.pane p { color: var(--mute); margin: 0; }

/* the brass arch: every photograph sits in the shape of the trellis, the plate drifting inside it */
.arch { position: relative; overflow: hidden; margin: 0; border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; background: var(--deep);
  box-shadow: 0 0 0 1px rgba(226,201,142,.35), 0 40px 80px -40px rgba(0,0,0,.8); }
.arch img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; max-width: none; object-fit: cover; will-change: transform; }
.arch figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(8,29,23,.6); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; border-radius: 14px; background: rgba(243,239,230,.05); border: 1px solid rgba(243,239,230,.08); color: var(--mute); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 20px; top: 16px; font: 500 22px/1 var(--serif); color: var(--accent-ink); }
.steps b { color: var(--bone); font-weight: 600; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1099px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: minmax(0, 1fr); } }

/* cards and plates */
.specimens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); margin-top: 2.6rem; }
@media (max-width: 1099px) { .specimens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .specimens { grid-template-columns: minmax(0, 1fr); } }
.spec { display: flex; flex-direction: column; gap: 12px; }
.spec .arch { aspect-ratio: 3 / 4; }
.latin { font: italic 500 1.05rem/1.2 var(--serif); color: var(--sage); }
.spec h3 { font-size: 2rem; }
.spec p { color: var(--mute); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(243,239,230,.18); font: 500 12px/1 var(--sans); color: var(--mute); }
.price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.price b { font: 500 1.8rem/1 var(--serif); }
.price small { color: var(--sage); font-size: 13px; margin-left: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(243,239,230,.35);
  color: var(--bone); background: transparent; font: 600 14px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn:hover { border-color: var(--bone); transform: translateY(-2px); }
.btn.solid { background: var(--bone); color: var(--night); border-color: var(--bone); }
.btn.solid:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.note { font-size: 14px; color: var(--sage); margin-top: 1.2rem; }

/* faq */
details { border-top: 1px solid rgba(243,239,230,.14); }
details:last-of-type { border-bottom: 1px solid rgba(243,239,230,.14); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font: 500 1.4rem/1.25 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font: 300 1.6rem/1 var(--sans); color: var(--accent-ink); transition: transform .4s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--mute); max-width: 44rem; padding-bottom: 18px; margin: 0; }

/* the form (nurseries) */
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 640px) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(243,239,230,.22);
  background: rgba(6,22,17,.6); color: var(--bone); font: 400 16px/1.4 var(--sans); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.field select option { background: #081d17; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(201,214,255,.2); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: #ff9c8a; }
.field__error { min-height: 1.2em; font-size: 13px; color: #ffb4a6; }
.form__summary { min-height: 1.2em; margin: 0; color: #ffb4a6; font-weight: 600; }
.ok h3 { font-size: 2.3rem; margin-bottom: .6rem; }
.ok p { color: var(--mute); }
.facts { display: grid; gap: 22px; }
.facts h3 { font-size: 1.55rem; margin-bottom: .35rem; }
.facts p { color: var(--mute); margin: 0; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 3rem; }
.promises div { padding: 18px; border-radius: 14px; background: rgba(243,239,230,.05); border: 1px solid rgba(243,239,230,.08); color: var(--mute); font-size: 14px; }
.promises b { display: block; font: 500 1.8rem/1 var(--serif); color: var(--accent-ink); margin-bottom: 6px; }
@media (max-width: 899px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* reveals */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- the soil: the footer lives under the bench ---------- */
.soil { position: relative; z-index: 1; overflow: hidden; min-height: 92vh; padding: clamp(300px, 48vw, 62vh) var(--gutter) calc(110px + env(safe-area-inset-bottom)); background: var(--soil); isolation: isolate; }
.soil__img { position: absolute; left: 0; right: 0; top: 0; height: 115%; background: url(img/soil-1280.webp) top center / cover no-repeat; z-index: -2; will-change: transform; }
@media (min-width: 1100px) { .soil__img { background-image: url(img/soil-2560.webp); } }
.soil::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,14,9,0) 30%, rgba(20,14,9,.72) 58%, var(--soil) 90%); }
.soil .motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100%; }
.soil__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); max-width: 1180px; margin: 0 auto; }
@media (max-width: 899px) { .soil__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .soil__grid > :first-child { grid-column: 1 / -1; } }
.soil h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .8rem; }
.soil h3 { font: 600 11px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #d2b183; margin-bottom: 1rem; }
.soil p, .soil li { color: #e0d3c1; font-size: 15px; }
.soil ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.soil a { text-decoration: none; border-bottom: 1px solid rgba(224,211,193,.28); transition: border-color .3s var(--ease), color .3s var(--ease); }
.soil a:hover { color: #fff; border-color: #fff; }
.soil__fine { max-width: 1180px; margin: clamp(40px, 6vw, 72px) auto 0; padding-top: 22px; border-top: 1px solid rgba(224,211,193,.16); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: #b9a98f; }

/* ---------- home: the film ---------- */
/* one screen everywhere: the film plays straight through (on its own on phones, on one scroll or click on desktop) */
.film { position: relative; height: 100vh; height: 100svh; }
.film__pin.can-advance { cursor: pointer; }
.film__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0e1a12; }
.film__poster { position: absolute; inset: 0; background: url(img/film-poster-1280.webp) 34.5% 50% / cover no-repeat; transition: opacity .6s var(--ease); }
@media (min-width: 1100px) { .film__poster { background-image: url(img/film-poster-2560.webp); } }
.film__poster.gone { opacity: 0; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__sink, .film__dive { opacity: 0; transition: opacity .25s var(--ease); }
.film__sink.on, .film__dive.on { opacity: 1; }
.film__fade { position: absolute; inset: 0; z-index: 2; background: #0b130e; opacity: 0; pointer-events: none; transition: opacity .22s var(--ease); }
.film__fade.on { opacity: 1; }
.film__chip { position: absolute; z-index: 5; left: 50%; bottom: max(26px, env(safe-area-inset-bottom)); transform: translateX(-50%); min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(243,239,230,.45); background: rgba(8,29,23,.55); color: var(--bone); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* phones: "Watch again" tucks top right, clear of the flower dock at the bottom; on desktop the dock is top right, so it
   keeps the chip's bottom-centre spot (where "Skip" sat during the film) */
@media (max-width: 899px) { .film__chip[data-again] { top: 58px; bottom: auto; left: auto; right: 16px; transform: none; min-height: 36px; padding: 0 14px; font-size: 11px; } }
.film__enter { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--bone); color: var(--night); font: 600 15px/1 var(--sans); letter-spacing: .04em; cursor: pointer; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
[hidden] { display: none !important; }
@media (max-width: 899px) { .film__poster { background-image: url(img/film-poster-p.webp); background-position: center; } }
.film__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,18,13,.5) 0%, rgba(10,18,13,0) 26%, rgba(10,18,13,0) 64%, rgba(10,18,13,.64) 100%); }
.beat { position: absolute; left: var(--gutter); bottom: clamp(36px, 10vh, 104px); max-width: 34rem; opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.beat.on { opacity: 1; transform: none; }
.beat h1, .beat h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); text-shadow: 0 2px 28px rgba(5,12,8,.6); }
.beat .eyebrow { color: var(--bone); opacity: .85; }
@media (min-width: 900px) { .beat.r { left: auto; right: var(--gutter); text-align: right; max-width: 30rem; } }
/* desktop: while the cookie banner (bottom right, ~230px tall) is open, the right-hand headlines stand above it */
@media (min-width: 900px) { .cg-consent-on .home .beat.r { bottom: calc(clamp(36px, 10vh, 104px) + 250px); } }
@media (max-width: 899px) { .beat { bottom: 112px; right: var(--gutter); } .beat.last { display: none; } }
.film__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--brass); z-index: 3; }

/* the flowers become the navigation; the pot is the way down to the soil */
.blooms a, .pot { position: absolute; z-index: 4; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; text-decoration: none; color: var(--bone);
  opacity: 0; pointer-events: none; transform: scale(.6); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.blooms a::before, .pot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid rgba(255,244,214,.88);
  box-shadow: 0 0 18px rgba(255,236,190,.55), inset 0 0 14px rgba(255,236,190,.35); animation: breathe 3.2s var(--ease) infinite; }
.blooms a span, .pot span { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; padding: 7px 13px; border-radius: 999px;
  background: rgba(10,18,13,.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.blooms.on a, .pot.on { opacity: 1; pointer-events: auto; transform: none; }
.blooms.on a:nth-child(2) { transition-delay: .1s; } .blooms.on a:nth-child(3) { transition-delay: .2s; } .blooms.on a:nth-child(4) { transition-delay: .3s; } .blooms.on a:nth-child(5) { transition-delay: .4s; } .pot.on { transition-delay: .55s; }
.blooms a:hover, .blooms a:focus-visible, .pot:hover, .pot:focus-visible { transform: scale(1.12); transition-delay: 0s; }
.blooms a:hover::before, .blooms a:focus-visible::before, .pot:hover::before, .pot:focus-visible::before { border-color: #fff; box-shadow: 0 0 34px rgba(255,236,190,.95), inset 0 0 18px rgba(255,236,190,.5); }
.pot { width: 110px; height: 56px; margin: -28px 0 0 -55px; border-radius: 55px / 28px; }
.pot::before { border-style: dashed; animation-duration: 4.2s; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.12); opacity: .55; } }
/* home: the film ends in the bloom; the footer is a panel that rises over the soil when you touch the pot */
.home .soil { position: fixed; inset: 0; z-index: 50; margin: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: transparent;
  padding-top: clamp(240px, 46vh, 52vh); transform: translateY(100%); visibility: hidden; }
/* the slide only once the pot has been touched ("armed", home.js): at boot, when the page leaves its no-JS layout, the
   panel hides at once instead of sliding away in view (that slide was the ~0.6 layout shift on large desktops) */
.home .soil.armed { transition: transform .9s var(--ease), visibility 0s linear .9s; }
.home .soil.open { transform: none; visibility: visible; transition: transform .9s var(--ease), visibility 0s; }
.home .soil::before { position: fixed; background: linear-gradient(180deg, rgba(20,14,9,0) 22%, rgba(20,14,9,.72) 50%, var(--soil) 86%); }
.home .soil__img { display: none; }
.soil__close { position: absolute; z-index: 2; left: 50%; top: max(76px, env(safe-area-inset-top)); transform: translateX(-50%); min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(243,239,230,.5); background: rgba(20,14,9,.5); color: var(--bone); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .35s var(--ease), border-color .35s var(--ease); }
.soil__close::before { content: "↑"; margin-right: .6em; }
.soil__close:hover { background: rgba(243,239,230,.16); border-color: var(--bone); }
/* phones: the whole footer (links, contact, Terms, Privacy) fits the screen you land on, in Safari and Chrome on iOS
   with their toolbars shown or hidden. The content sits at the foot of the panel (the roots show above it when there is
   room) and starts just under the "Back up" button when there is not; svh, never vh, which on iOS is the larger viewport
   (toolbars hidden) and pushed the links below the fold. No dock clearance at the bottom: the panel covers the dock. */
@media (max-width: 899px) {
  .home .soil { display: flex; flex-direction: column; padding: calc(max(76px, env(safe-area-inset-top)) + 58px) 16px calc(18px + env(safe-area-inset-bottom)); }
  .home .soil::before { background: linear-gradient(180deg, rgba(20,14,9,0) 0%, rgba(20,14,9,.62) 16%, rgba(20,14,9,.9) 34%, var(--soil) 52%); }
  .home .soil__grid { margin: auto 0 0; width: 100%; gap: 16px 18px; }
  .home .soil__grid > :nth-child(4) { grid-column: 1 / -1; }
  .home .soil__grid > :nth-child(4) ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
  .home .soil li:has(> a[href="index.html#bloom"]) { display: none; } /* the "Back up" button above says it */
  .home .soil .eyebrow { margin-bottom: .45rem; }
  .home .soil h2 { font-size: 1.75rem; margin-bottom: .45rem; }
  .home .soil h3 { margin-bottom: .45rem; }
  .home .soil p, .home .soil li { font-size: 14px; line-height: 1.5; }
  .home .soil p { margin: 0; }
  .home .soil ul { gap: 4px; }
  .home .soil__fine { margin-top: 16px; padding-top: 12px; gap: 6px 16px; font-size: 12.5px; }
  .home .soil__fine > span:last-child { gap: 6px 16px; }
}
/* shorter phones (toolbars showing): tighter, then the intro sentence goes, then the eyebrow - the links never do */
@media (max-width: 899px) and (max-height: 680px) {
  .home .soil { padding-top: calc(max(76px, env(safe-area-inset-top)) + 52px); }
  .home .soil h2 { font-size: 1.55rem; }
  .home .soil__grid { gap: 12px 18px; }
  .home .soil__fine { margin-top: 12px; }
}
@media (max-width: 899px) and (max-height: 640px) { .home .soil__grid > :first-child p { display: none; } }
@media (max-width: 899px) and (max-height: 580px) { .home .soil__grid > :first-child .eyebrow { display: none; } }
/* desktop: the quiet "click or scroll" hint before the film starts */
.film__next { position: absolute; z-index: 5; left: 50%; bottom: 30px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; padding: 8px 14px; border: 0; background: none;
  color: var(--bone); font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; text-shadow: 0 1px 12px rgba(0,0,0,.7); animation: rise 1s var(--ease) both; }
.film__next i { width: 1px; height: 34px; background: linear-gradient(var(--bone), transparent); transform-origin: top; animation: cue 2.6s var(--ease) infinite; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* reduced motion: the film is a still of the bloom; no-JS: the flowers are plain links on the poster */
.still .film { height: 100vh; height: 100svh; }
.still .film__poster { background-image: url(img/bloom-d.webp); background-position: 34.5% 50%; }
@media (max-width: 899px) { .still .film__poster, .no-js .film__poster { background-image: url(img/bloom-p.webp); background-position: center; } }
.still.home .soil { background: var(--soil); }
.still.home .soil__img { display: block; height: 100%; } /* no parallax here: 115% only added dead scroll to the panel */
.no-js .blooms a, .no-js .pot { opacity: 1; pointer-events: auto; transform: none; }
.no-js .film { height: 100vh; }
.no-js .film__poster { background-image: url(img/bloom-d.webp); }
.no-js.home .soil { position: relative; transform: none; visibility: visible; background: var(--soil); padding-top: clamp(300px, 48vw, 62vh); }
.no-js .soil__close, .no-js .film__next { display: none; }
.no-js.home .soil__img { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .bloom-hero__img { transform: none; }
}

/* ---------- Claudia's Garden additions ---------- */
.mark { align-items: center; }
.mark svg { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 2px 10px rgba(5,10,7,.5)); }
.mark b { font-size: 24px; }
@media (max-width: 520px) { .mark span { display: none; } }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.2rem; padding: 7px 14px; border-radius: 999px; background: rgba(8,20,16,.55);
  border: 1px solid rgba(242,237,222,.22); font: 600 12px/1 var(--sans); letter-spacing: .08em; color: var(--bone); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
/* the wide scene: the phone in the glasshouse */
.scene { position: relative; margin: 0; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 9; background: var(--deep);
  box-shadow: 0 0 0 1px rgba(216,197,149,.3), 0 50px 90px -40px rgba(0,0,0,.85); }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene figcaption { position: absolute; left: 18px; bottom: 16px; padding: 7px 13px; border-radius: 999px; background: rgba(8,20,16,.62); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 899px) { .scene { aspect-ratio: 3 / 4; border-radius: 22px; } }
/* real app screens in a phone frame */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: 2.8rem; align-items: start; }
.phones.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) { .phones, .phones.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.phone { margin: 0; display: grid; gap: 14px; justify-items: center; }
.phone__frame { width: 100%; max-width: 260px; padding: 9px; border-radius: 34px; background: #0b0f0d; box-shadow: 0 0 0 1px rgba(242,237,222,.18), 0 40px 70px -30px rgba(0,0,0,.85); }
.phone__frame img { width: 100%; height: auto; border-radius: 26px; }
.phone figcaption { text-align: center; color: var(--mute); font-size: 14px; max-width: 240px; }
.phone figcaption b { display: block; font: 500 1.35rem/1.2 var(--serif); color: var(--bone); margin-bottom: 2px; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 2.4rem; }
@media (max-width: 899px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
.platforms > div { padding: 22px; border-radius: 16px; background: rgba(242,237,222,.05); border: 1px solid rgba(242,237,222,.1); color: var(--mute); }
.platforms h3 { font-size: 1.6rem; color: var(--bone); margin-bottom: .3rem; }
.platforms .when { display: block; font: 600 11px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .7rem; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.sources li { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(242,237,222,.2); font: 500 13px/1 var(--sans); color: var(--mute); }
/* a soft shade behind the hero copy so the italic words hold over bright stamens */
.bloom-hero__copy { isolation: isolate; }
.bloom-hero__copy::before { content: ""; position: absolute; z-index: -1; inset: -18% -22% -24% -14%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(6,22,17,.62), rgba(6,22,17,.34) 55%, rgba(6,22,17,0)); }
.bloom-hero__copy h1 em { text-shadow: 0 2px 26px rgba(5,10,7,.75), 0 0 3px rgba(5,10,7,.5); }
/* the end of a dive: the clip dissolves into the page's flower macro, posed exactly as the page's hero starts */
.veil { position: fixed; inset: -4%; z-index: 61; pointer-events: none; background-size: cover; background-position: center; opacity: 0; transform: scale(.98); filter: blur(4px); transition: opacity .32s var(--ease); }
.veil.on { opacity: 1; }
/* a flower waiting for its clip */
.blooms a.pending { transform: scale(1.12); }
.blooms a.pending::before { border-color: #fff; box-shadow: 0 0 34px rgba(255,236,190,.95), inset 0 0 18px rgba(255,236,190,.5); }
.blooms.waiting a:not(.pending) { opacity: .35; }
.blooms.waiting a.pending::before { animation: pend 1.1s var(--ease) infinite alternate; }
@keyframes pend { from { box-shadow: 0 0 18px rgba(255,236,190,.5), inset 0 0 10px rgba(255,236,190,.3); } to { box-shadow: 0 0 44px rgba(255,236,190,1), inset 0 0 22px rgba(255,236,190,.6); } }
@media (prefers-reduced-motion: reduce) { .blooms.waiting a.pending::before { animation: none; } }
.blooms.waiting ~ .pot.on { opacity: .35; }
/* the site name must read on any frame of the film: a soft dark frosted pill, brighter type, a firmer shadow */
.mark { gap: .55em; padding: 5px 16px 5px 5px; border-radius: 999px; background: rgba(6,24,18,.6); border: 1px solid rgba(242,237,222,.16);
  backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); box-shadow: 0 8px 28px rgba(0,0,0,.32);
  color: #fffaf0; text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 2px 14px rgba(0,0,0,.55); transition: background .35s var(--ease); }
.mark:hover { background: rgba(6,24,18,.68); }
.mark b { font-weight: 600; letter-spacing: .015em; }
.mark span { color: #e6d6a8; letter-spacing: .2em; padding-left: .7em; border-left: 1px solid rgba(242,237,222,.25); }
.mark svg { filter: none; }
@media (max-width: 899px) { .mark { padding-right: 14px; } .mark b { font-size: 21px; } .mark svg { width: 30px; height: 30px; } }
/* ---------- responsive framing (2026-11-10) ---------- */
/* the film and every clip on it share one framing, chosen in home.js place() */
.film video { object-position: var(--fx, 50%) var(--fy, 50%); }
body.set-d:not(.still) .film__poster { background-image: url(img/film-poster-1280.webp); background-position: var(--fx, 50%) var(--fy, 50%); }
@media (min-width: 1100px) { body.set-d:not(.still) .film__poster { background-image: url(img/film-poster-2560.webp); } }
body.set-p:not(.still) .film__poster { background-image: url(img/film-poster-p.webp); background-position: var(--fx, 50%) var(--fy, 50%); }
/* small upright phones: give the flower-page hero room so its copy never slides under the site name */
@media (max-width: 899px) and (orientation: portrait) { .bloom-hero { min-height: 640px; } }
@media (max-width: 899px) and (orientation: portrait) and (max-height: 700px) { .bloom-hero { min-height: 680px; } .bloom-hero__copy { bottom: 150px; } }
@media (max-width: 899px) and (orientation: portrait) and (max-height: 600px) { .bloom-hero { min-height: 700px; } .bloom-hero__copy { bottom: 244px; } }
/* short screens (a phone held sideways): the flower dock joins the header instead of covering the page */
@media (max-width: 899px) and (max-height: 520px) {
  .dock, .home .dock, .home .dock.on, .home .dock:focus-within, .tuck .dock { position: static; left: auto; bottom: auto; transform: none; padding: 0; gap: 12px;
    background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .home .dock { transform: translateY(-8px); }
  .home .dock.on, .home .dock:focus-within { transform: none; }
  .dock i { width: 34px; height: 34px; }
  .bar { padding: 10px 16px; }
  .bloom-hero__copy { bottom: 28px; }
  .bloom-hero__copy h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); }
  .bloom-hero__copy p { margin-top: .6rem; }
}
/* when the pot link rides up its pot (short screens), its label sits to its left, clear of the flower labels */
.pot.side span { left: auto; right: calc(100% + 6px); top: 50%; transform: translateY(-50%); }
.pot.side.east span { left: calc(100% + 6px); right: auto; } /* home.js potLabel(): the side that is on screen and clear */
.pot.mid span { top: 50%; transform: translate(-50%, -50%); } /* no clear side: inside the pot's ring */
.blooms a.up span { top: auto; bottom: calc(100% + 8px); } /* home.js place(): clear of the phone's flower dock */
/* upright phones (home.js "low"): until the bloom the picture keeps the bottom of the frame, where the butterfly lands on
   the table, then eases to the flowers' framing; "snap" jumps straight there (Skip, coming back to the bloom) */
body.set-p .film__video { transition: object-position 2.6s var(--ease); }
body.set-p .film__poster { transition: opacity .6s var(--ease), background-position 2.6s var(--ease); }
.film__pin.low .film__video { object-position: var(--fx, 50%) 100%; }
body.set-p:not(.still) .film__pin.low .film__poster { background-position: var(--fx, 50%) 100%; }
.film__pin.snap .film__video, .film__pin.snap .film__poster { transition: none; }
.film__pin.track .film__video { object-position: var(--tx, 50%) var(--fy, 50%); transition: none; } /* wide cut on a phone: home.js track() */
/* upright phones: "Skip to the flowers" waits in the "Watch again" slot (top right), off the table the butterfly lands on */
@media (max-width: 899px) and (orientation: portrait) { .auto .film__chip[data-skip] { top: 58px; bottom: auto; left: auto; right: 16px; transform: none; min-height: 36px; padding: 0 14px; font-size: 11px; } }
/* the narrowest phones: the optional "Watch again" chip would sit on the top flower */
@media (max-width: 359px) { [data-again] { display: none !important; } }
@media (max-width: 359px) { .bloom-hero__copy h1 { font-size: 2.2rem; } .bloom-hero__copy p { font-size: 15px; line-height: 1.5; } .badge { margin-top: .8rem; } }
/* ---------- get the app (2026-11-10): Android early access, install notes, /download/ ---------- */
.get .get__android { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: rgba(242,135,90,.07); }
.btn small { font: 500 11px/1 var(--sans); letter-spacing: .06em; opacity: .7; }
.install { margin-top: 1.6rem; }
.install h2, .install h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: .2rem; }
.install .steps { margin-top: 1.2rem; }
.install .note { margin-bottom: 0; }
.install p a, .dl .lead a { color: var(--accent-ink); }
.dl { padding-top: clamp(120px, 16vw, 170px); }
.dl h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); margin-bottom: 1.2rem; }
.dl__file { word-break: break-all; }
.dl__file code { font: 500 12px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--mute); }
.soil__fine > span:last-child { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
.soil__choice { padding: 0; border: 0; border-bottom: 1px solid rgba(224,211,193,.28); background: none; color: inherit; font: inherit; cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease); }
.soil__choice:hover { color: #fff; border-color: #fff; }
/* ---------- the account pill in the bar (every page but the home film) ---------- */
.bar nav { margin-left: auto; }
.acct-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; text-decoration: none; flex: none;
  background: rgba(6,24,18,.6); border: 1px solid rgba(242,237,222,.16); color: #fffaf0; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); box-shadow: 0 8px 28px rgba(0,0,0,.32);
  transition: background .35s var(--ease), border-color .35s var(--ease); }
.acct-link svg { width: 20px; height: 20px; flex: none; }
.acct-link:hover { background: rgba(6,24,18,.74); border-color: rgba(242,237,222,.42); }
.acct-link[aria-current="page"] { border-color: var(--accent-ink); }
.mark b { white-space: nowrap; }
@media (max-width: 899px) { .acct-link { gap: 6px; padding: 0 13px 0 10px; letter-spacing: .1em; font-size: 11px; } }
@media (max-width: 374px) { .acct-link { width: 44px; padding: 0; justify-content: center; }
  .acct-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* ---------- /account/: the client portal (S6) ---------- */
.acct { padding-top: clamp(120px, 16vw, 170px); }
.acct__wrap { max-width: 720px; }
.acct h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); margin-bottom: 1rem; }
.acct .lead { margin-bottom: 1.8rem; }
.acct h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 0; }
.acct h3 { font-size: 1.5rem; }
.acct [tabindex="-1"]:focus { outline: none; }
.acct .note { margin: 0; }
.acct .btn.sm { min-height: 44px; }
.acct .row { margin-top: .4rem; }
.acct__card { display: grid; gap: 14px; margin-top: 18px; }
.acct__stack { display: grid; gap: 18px; margin-top: 18px; }
.acct__stack > .acct__card { margin-top: 0; }
.acct__actions, .acct__quiet { display: flex; flex-wrap: wrap; gap: 12px; }
.acct__quiet { gap: 10px; }
.acct__loading { margin: 0; }
.acct__retry { justify-self: start; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.danger { border-color: rgba(255,156,138,.55); color: #ffcabd; }
.btn.danger:hover { border-color: #ff9c8a; }
.btn.danger.solid { background: #a63f2b; border-color: #a63f2b; color: #fff7f2; }
.btn.danger.solid:hover { background: #b9482f; border-color: #b9482f; }
.acct__msg, .pane .acct__msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(243,239,230,.06); border: 1px solid rgba(243,239,230,.14); color: var(--bone); font-size: 15px; line-height: 1.5; }
.acct__msg.is-error, .pane .acct__msg.is-error { color: #ffc6ba; background: rgba(255,120,96,.1); border-color: rgba(255,156,138,.5); }
.acct__msg.is-ok, .pane .acct__msg.is-ok { color: #d9eecb; background: rgba(163,191,152,.12); border-color: rgba(163,191,152,.42); }
.acct__msg.is-info, .pane .acct__msg.is-info { color: var(--bone); background: rgba(163,191,152,.08); border-color: rgba(163,191,152,.3); }
.acct__msg.is-warn, .pane .acct__msg.is-warn { color: #ffdcae; background: rgba(216,160,80,.12); border-color: rgba(216,160,80,.48); }
.acct__msg:empty, .pane .acct__msg:empty { padding: 0; border: 0; background: none; }
.acct__email { color: var(--bone); overflow-wrap: anywhere; }
.field .acct__code { font: 600 26px/1 var(--sans); letter-spacing: .38em; text-align: center; padding-left: calc(14px + .38em); }
.field__hint { font-size: 13px; color: var(--sage); }
.acct__checks { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.check { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(243,239,230,.2);
  background: rgba(6,22,17,.45); color: var(--bone); cursor: pointer; transition: border-color .3s var(--ease); }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #dfe9c8; cursor: pointer; }
.check:has(input:checked) { border-color: rgba(223,233,200,.6); }
.check:has(input:focus-visible) { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.check input:focus-visible { outline: none; }
.acct__hello { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.acct__avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--leaf); color: var(--bone);
  font: 500 26px/1 var(--serif); box-shadow: 0 0 0 1px rgba(223,233,200,.35); }
.acct__who { flex: 1 1 200px; min-width: 0; }
.acct__who h2 { font-size: clamp(1.7rem, 3.2vw, 2.1rem); }
.acct__who p { margin: 2px 0 0; overflow-wrap: anywhere; }
.acct__switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(243,239,230,.1); }
.acct__switch b { display: block; font-weight: 600; color: var(--bone); }
.acct__switch p { font-size: 14px; }
.switch { position: relative; flex: none; width: 58px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 999px; }
.switch span { position: absolute; left: 3px; top: 8px; width: 52px; height: 28px; border-radius: 999px; background: rgba(243,239,230,.14); border: 1px solid rgba(243,239,230,.4);
  transition: background .3s var(--ease), border-color .3s var(--ease); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mute); transition: transform .3s var(--ease), background .3s var(--ease); }
.switch[aria-checked="true"] span { background: #4d7a5c; border-color: #a3bf98; }
.switch[aria-checked="true"] span::after { transform: translateX(24px); background: var(--bone); }
.switch:disabled { opacity: .5; cursor: default; }
.switch:focus-visible { outline-offset: 0; }
.acct__count:empty { display: none; }
.acct__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.acct__list:empty { display: none; }
.plant, .scan { padding: 16px 18px; border-radius: 14px; background: rgba(243,239,230,.05); border: 1px solid rgba(243,239,230,.1); }
.plant { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: start; }
.plant__name { font: 500 1.55rem/1.15 var(--serif); }
.pane .plant__meta { margin: 3px 0 0; color: var(--mute); font-size: 15px; }
.pane .plant__latin { margin: 2px 0 0; font: italic 500 1.08rem/1.3 var(--serif); color: var(--sage); }
.pane .plant__notes { margin: 8px 0 0; color: var(--bone); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.pane .plant__date { margin: 7px 0 0; font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.plant__edit { grid-column: 1 / -1; display: grid; gap: 12px; padding-top: 4px; }
.plant__edit .row { margin-top: 0; }
.plant__confirm { display: grid; gap: 12px; }
.scan { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.scan:focus { outline: none; }
.pane .scan__name { margin: 0; color: var(--bone); font-weight: 600; }
.scan__match { flex: none; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(243,239,230,.22); font: 600 13px/1 var(--sans); color: var(--accent-ink); }
.acct__empty { padding: 18px; border-radius: 14px; border: 1px dashed rgba(243,239,230,.22); }
.pane .acct__empty p { margin-top: .3rem; }
.acct__empty .row { margin-top: 1rem; }
.acct__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.acct__foot a { color: var(--mute); }
.acct__bullets { margin: 0; padding-left: 1.2em; color: var(--bone); display: grid; gap: 4px; }
.acct__dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; margin: auto;
  padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); border: 1px solid rgba(243,239,230,.18); background: #0c261e; color: var(--bone);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85); }
.acct__dialog::backdrop { background: rgba(4,12,9,.74); }
.acct__dialog h2 { margin-bottom: 14px; }
.acct__dialog [data-delete-step] { display: grid; gap: 12px; }
.acct__dialog p { margin: 0; color: var(--mute); }
.acct__dialog [data-phone-step] { display: grid; gap: 12px; }
.acct__dialog [data-phone-step][hidden] { display: none; }
/* Accounts v2: field errors under each field, password Show/Hide, strength line, today's scans */
.acct .field__error:empty { min-height: 0; }
.acct .field__error { margin: 0; }
.acct__pw { position: relative; display: flex; align-items: stretch; }
.acct__pw input { padding-right: 84px; }
.acct__pw .acct__eye { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); min-height: 44px; min-width: 72px; }
.acct__meter { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: var(--sage); }
.acct__meter:not([data-level]) { display: none; }
.acct__meter span { display: flex; gap: 4px; }
.acct__meter i { width: 36px; height: 5px; border-radius: 3px; background: rgba(243,239,230,.16); }
.acct__meter[data-level="1"] i:nth-child(-n+1) { background: #ff9c8a; }
.acct__meter[data-level="2"] i:nth-child(-n+2) { background: #c9b77a; }
.acct__meter[data-level="3"] i { background: #a3bf98; }
.acct__meter b { font-weight: 600; }
.acct__big { margin: 0; font: 600 clamp(1.2rem, 2.4vw, 1.45rem)/1.3 var(--sans); color: var(--bone); }
.acct [data-reset-only] { display: grid; gap: 14px; }
.acct [data-reset-only][hidden] { display: none; }
.acct__confirm { display: grid; gap: 10px; margin-top: 12px; }
.acct__confirm[hidden] { display: none; }
@media (max-width: 520px) { .acct__hello > .btn { margin-left: 66px; } .plant { grid-template-columns: minmax(0, 1fr); } .plant__toggle { justify-self: start; } }
/* keyboard focus never lands under the fixed bar or the phone flower dock */
html:has([data-account]), html:has([data-plant]) { scroll-padding-top: 96px; }
@media (max-width: 899px) { html:has([data-account]), html:has([data-plant]) { scroll-padding-bottom: 112px; } }

/* care-guide links on /account/ (My Garden, scan history) */
.plant__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.scan { flex-wrap: wrap; }
.scan .plant__care { flex: none; }

/* ---------- /plant/ : the plant details page (care guide), built by site/plant.js ---------- */
.pl .acct__wrap { max-width: 820px; }
.pl__head { display: grid; gap: 6px; }
.pl .pl__h2 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); margin: 0; }
.pl__name { font-size: clamp(2rem, 5vw, 3rem); }
.pl__sci { margin: 0; color: var(--sage); font-size: 1.05rem; }
.pl__match { justify-self: start; margin: 6px 0 0; padding: 6px 12px; border-radius: 999px; background: rgba(163,191,152,.14); border: 1px solid rgba(163,191,152,.4); color: var(--bone); font-weight: 600; font-size: 14px; }
.pl__photo { margin: 0; display: grid; gap: 8px; }
.pl__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: rgba(243,239,230,.06); }
.pl__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin: 0; }
.pl__fact { padding: 12px 14px; border-radius: 12px; background: rgba(243,239,230,.05); border: 1px solid rgba(243,239,230,.12); }
.pl__fact dt { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.pl__fact dd { margin: 4px 0 0; color: var(--bone); }
.pl__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pl__badge { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--bone); background: rgba(243,239,230,.08); border: 1px solid rgba(243,239,230,.22); }
.pl__badge.is-warn { background: rgba(216,160,80,.14); border-color: rgba(216,160,80,.5); color: #ffdcae; }
.pl__badge.is-danger { background: rgba(255,120,96,.16); border-color: rgba(255,156,138,.6); color: #ffc6ba; }
.pl__section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pl__section-head h2 { margin: 0; }
.pl__section p { margin: 0; }
.pl__tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.pl__tag { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--sage); border: 1px solid rgba(163,191,152,.4); }
.pl__tag.is-ai { color: #c9d6ff; border-color: rgba(201,214,255,.45); }
.pl__list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--bone); }
.pl__sources { display: grid; gap: 6px; margin-top: 6px; }
.pl__sources p { margin: 0; }
.pl__sources .row { margin-top: 10px; }
.pl__notice { margin-top: 4px; }
/* care sections as rows that expand and collapse (site/plant.js): h2 > button[aria-expanded] + a region */
.pl__section.acct__card { padding: 0; gap: 0; overflow: hidden; }
.pl__rowh { margin: 0; font-size: inherit; }
.pl__toggle { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 10px 18px; border: 0; background: none; color: var(--bone); text-align: left; font: inherit; cursor: pointer; }
.pl__toggle:hover { background: rgba(243,239,230,.04); }
.pl__toggle:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: -3px; border-radius: inherit; }
.pl__icon { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: rgba(163,191,152,.14); color: #d9eecb; }
.pl__label { flex: 1; display: grid; gap: 2px; min-width: 0; }
.pl__title { font: 500 clamp(1.25rem, 2.4vw, 1.5rem)/1.2 var(--serif); }
.pl__summary { font: 600 13px/1.35 var(--sans); color: var(--sage); }
.pl__summary[hidden] { display: none; }
.pl__chev { flex: none; width: 22px; height: 22px; color: var(--sage); transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1); } /* Hope's motion contract */
.pl__toggle[aria-expanded="true"] .pl__chev { transform: rotate(180deg); }
.pl__panel { display: grid; gap: 10px; padding: 0 18px 18px 70px; }
.pl__panel[hidden] { display: none; }
@media (max-width: 520px) { .pl__panel { padding-left: 18px; } }
@media (prefers-reduced-motion: reduce) { .pl__chev { transition: none; } }

/* plant page v2 (Hope: mock-plant-v2, care-trio-spec.md): hero, Photos strip, "At a glance", In your zone.
   The site is dark, so the trio uses the spec's dark tokens: forest bubbles on night, mist icons, gold-light labels. */
.pl { --bp-forest: #143D2E; --bp-line: #2C5C49; --bp-mist: #CFE3D6; --bp-mist-dim: #2A4339; --bp-gold: #E2B95E;
  --bp-gold-light: #F0D58E; --bp-ink: #EDE6D3; --bp-muted: #A9BDB1; --bp-more: #F4B9C6; --bp-pressed: #184634; }
.pl__hero-block { display: grid; gap: 8px; }
.pl__hero { position: relative; display: grid; align-content: end; min-height: clamp(240px, 46vw, 380px); border-radius: var(--radius); overflow: hidden; background: var(--bp-forest); }
.pl__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,29,22,0) 35%, rgba(8,29,22,.86)); pointer-events: none; }
.pl__hero-text { position: relative; z-index: 1; display: grid; gap: 2px; padding: 18px 64px 16px 18px; }
.pl__hero .pl__name { margin: 0; color: #fff; font-style: italic; font-weight: 500; line-height: 1.05; }
.pl__hero .pl__sci { color: rgba(255,255,255,.88); }
.pl__info { position: absolute; z-index: 2; right: 8px; bottom: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; background: rgba(8,29,22,.35); color: #fff; cursor: pointer; }
.pl__info:focus-visible, .pl__tile:focus-visible, .pl__glance:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.pl__credit { margin: 0; }
.pl__credit[hidden] { display: none; }
.pl__block { display: grid; gap: 10px; }
.pl__block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pl__block-head .note { margin: 0; }
.pl .pl__display { font: italic 500 clamp(1.6rem, 3vw, 1.9rem)/1.1 var(--serif); }
.pl__strip { display: flex; gap: 10px; margin: 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.pl__strip li { flex: none; scroll-snap-align: start; }
.pl__tile { position: relative; display: block; width: 136px; height: 164px; padding: 0; border: 3px solid transparent; border-radius: 16px; overflow: hidden; background: var(--bp-mist-dim); cursor: pointer; }
.pl__tile[aria-pressed="true"] { border-color: var(--bp-gold); }
.pl__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl__tile-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 8px; font-size: 0.8rem; color: var(--muted, #5f6b64); text-align: center; }
.pl__chip { position: absolute; left: 6px; bottom: 6px; padding: 3px 9px; border-radius: 10px; background: #FFFCF5; color: #102019; font: 700 12px/1.3 var(--sans); }
.pl__strip-note { min-height: 1.4em; }
.pl__strip-note p { margin: 0; }
.pl__trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.pl__glance { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.pl__ring { display: grid; place-items: center; width: 81px; height: 81px; border-radius: 50%; border: 1.5px solid rgba(226,185,94,.55); }
.pl__circle { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--bp-mist-dim); color: var(--bp-mist); }
.pl__circle svg { width: 34px; height: 34px; stroke-width: 1.6; }
.pl__bubble { position: relative; flex: 1; align-self: stretch; display: grid; align-content: start; justify-items: center; gap: 3px; margin-top: 13px; padding: 10px 9px 11px; border: 1px solid var(--bp-line); border-radius: 16px; background: var(--bp-forest); transition: background-color .3s var(--ease); }
.pl__bubble::before { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; margin-left: -6px; background: inherit; border-top: 1px solid var(--bp-line); border-left: 1px solid var(--bp-line); border-top-left-radius: 3px; transform: rotate(45deg); }
.pl__glabel { font: 600 11px/14px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--bp-gold-light); }
/* the first sentence, verbatim (plant.js glanceSentence): the bubble grows to fit, no line clamp, no ellipsis; over 9
   words the smaller text. A long word ("moisture-retentive") wraps at its hyphen, else anywhere: never past the bubble. */
.pl__gvalue { display: block; max-width: 100%; min-width: 0; font: 600 15.5px/19px var(--sans); color: var(--bp-ink); text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
.pl__gvalue.is-long { font: 500 13px/17px var(--sans); }
.pl__gvalue.is-missing { font-style: italic; font-weight: 400; color: var(--bp-muted); }
.pl__gfoot { display: inline-flex; align-items: center; min-height: 16px; color: var(--bp-muted); }
.pl__gchev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.pl__glance:hover .pl__bubble, .pl__glance:active .pl__bubble { background: var(--bp-pressed); }
.pl__glance.is-open .pl__circle, .pl__glance.is-open .pl__bubble { background: var(--bp-mist); color: var(--bp-forest); border-color: var(--bp-mist); }
.pl__glance.is-open .pl__bubble::before { border-color: var(--bp-mist); }
.pl__glance.is-open .pl__glabel, .pl__glance.is-open .pl__gvalue, .pl__glance.is-open .pl__gfoot { color: var(--bp-forest); }
.pl__glance.is-open .pl__gchev { transform: rotate(180deg); }
.pl__glance.is-missing { cursor: default; }
.pl__glance.is-missing .pl__ring { opacity: .55; }
.pl__glance.is-missing .pl__bubble { background: none; border-style: dashed; }
.pl__glance.is-missing .pl__bubble::before { display: none; }
@media (max-width: 340px) {
  .pl__trio { grid-template-columns: 1fr; }
  .pl__glance { flex-direction: row; gap: 14px; text-align: left; }
  .pl__bubble { margin-top: 0; justify-items: start; }
  .pl__bubble::before { top: 20px; left: -7px; margin-left: 0; transform: rotate(-45deg); }
}
.pl__section { scroll-margin-top: 110px; transition: box-shadow .5s var(--ease); }
.pl__section.is-lit { box-shadow: 0 0 0 2px var(--bp-mist); }
.pl__zone h2 { display: flex; align-items: center; gap: 10px; }
.pl__zicon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(163,191,152,.14); color: #d9eecb; }
.pl__zone p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .pl__bubble, .pl__gchev, .pl__section { transition: none; } }

/* ---------- legal pages: /terms.html, /privacy.html (generated from docs/legal by tools/build-site-pages.mjs) ---------- */
html:has(.legal-page) { scroll-padding-top: 96px; }
@media (max-width: 899px) { html:has(.legal-page) { scroll-padding-bottom: 112px; } }
.legal { padding-top: clamp(112px, 14vw, 170px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1120px; }
.legal__head h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); text-wrap: balance; }
.legal__badge { margin: 1.1rem 0 0; }
.legal__meta { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 1rem 0 0; font-size: 15px; color: var(--mute); }
.legal__meta div { display: flex; gap: .4em; }
.legal__meta dt { color: var(--sage); }
.legal__meta dd { margin: 0; color: var(--bone); }
.legal__toc { align-self: start; padding: 20px 22px; border-radius: var(--radius); background: rgba(8,29,23,.6); border: 1px solid rgba(243,239,230,.1); }
.legal__toc h2 { font: 600 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: .7rem; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 15px; line-height: 1.4; }
.legal__toc a { display: block; padding: 5px 0; color: var(--mute); text-decoration: none; }
.legal__toc a:hover, .legal__toc a:focus-visible { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.legal__body { min-width: 0; max-width: 46rem; padding: clamp(22px, 4vw, 48px); border-radius: var(--radius); background: rgba(8,29,23,.74); border: 1px solid rgba(243,239,230,.08); }
.legal__body h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.12; margin: 2.4rem 0 .9rem; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.45rem; line-height: 1.2; margin: 1.8rem 0 .6rem; }
.legal__body p, .legal__body li { color: #e3e4d8; overflow-wrap: anywhere; }
.legal__body ul, .legal__body ol { margin: 0 0 1em; padding-left: 1.3em; display: grid; gap: .45em; }
.legal__body li > ul, .legal__body li > ol { margin: .45em 0 0; }
.legal__body li::marker { color: var(--sage); }
.legal__body strong { color: var(--bone); font-weight: 600; }
.legal__body a, .legal__also a { color: var(--bone); text-decoration: underline; text-decoration-color: rgba(216,197,149,.7); text-underline-offset: 3px; }
.legal__body a:hover, .legal__also a:hover { text-decoration-color: var(--bone); }
.legal__body hr { border: 0; border-top: 1px solid rgba(243,239,230,.14); margin: 2rem 0; }
.legal__body blockquote { margin: 0 0 1em; padding: .2em 0 .2em 1em; border-left: 3px solid var(--sage); }
.legal__table { overflow-x: auto; margin: 0 0 1.2em; border-radius: 12px; border: 1px solid rgba(243,239,230,.14); }
.legal__table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal__table th, .legal__table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(243,239,230,.1); }
.legal__table th { font-weight: 600; color: var(--bone); background: rgba(243,239,230,.06); }
.legal__table td { color: #e3e4d8; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__also { margin: 0; font-size: 15px; color: var(--mute); }
@media (min-width: 1100px) {
  .legal__grid { grid-template-columns: 250px minmax(0, 46rem); column-gap: 56px; justify-content: center; }
  .legal__head, .legal__body, .legal__also { grid-column: 2; }
  .legal__toc { grid-column: 1; grid-row: 2 / span 2; position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; }
}
@media print {
  body.legal-page { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
  .legal-page .bar, .legal-page .dock, .legal-page .soil, .legal-page .skip, .legal-page .rooms__bg, .legal-page .legal__toc, .legal-page .legal__also, .cg-consent { display: none !important; }
  .legal-page .room { padding: 0; }
  .legal-page .legal__grid { display: block; max-width: none; }
  .legal-page .legal__head h1 { font-size: 22pt; color: #000; }
  .legal-page .legal__badge { background: none; border: 1px solid #000; color: #000; box-shadow: none; }
  .legal-page .legal__badge::before { display: none; }
  .legal-page .legal__meta, .legal-page .legal__meta dt, .legal-page .legal__meta dd { color: #000; }
  .legal-page .legal__body { max-width: none; padding: 0; margin-top: 12pt; background: none; border: 0; }
  .legal-page .legal__body h2, .legal-page .legal__body h3 { color: #000; break-after: avoid; }
  .legal-page .legal__body p, .legal-page .legal__body li, .legal-page .legal__body strong, .legal-page .legal__table th, .legal-page .legal__table td { color: #000; }
  .legal-page .legal__body a { color: #000; }
  .legal-page .legal__body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .legal-page .legal__table { overflow: visible; border-color: #999; }
  .legal-page .legal__table table { min-width: 0; }
  .legal-page .legal__table th { background: #eee; }
  .legal-page .legal__table tr { break-inside: avoid; }
}
/* phones: each table row becomes a small card, every value under its column name */
@media screen and (max-width: 599px) {
  .legal__table { overflow: visible; border: 0; border-radius: 0; }
  .legal__table table { min-width: 0; }
  .legal__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal__table tr { display: block; padding: 12px 16px 14px; margin-bottom: 10px; border-radius: 12px; border: 1px solid rgba(243,239,230,.14); }
  .legal__table td { display: block; padding: 0; border: 0; }
  .legal__table td:first-child { color: var(--bone); font-weight: 600; }
  .legal__table td + td::before { content: attr(data-label); display: block; margin-top: 8px; font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
}
