/* MotherBotanist site styles
   Palette: sand, moss, bark ink, one clay accent.
   Type: Bricolage Grotesque (display), Instrument Sans (text and UI). */

:root {
  --bg: #f1efe7;
  --bg-2: #e7e4d9;
  --surface: #fbfaf6;
  --ink: #1a2118;
  --ink-2: #4b5447;
  --ink-3: #6f776a;
  --line: #d3cfc1;
  --line-2: #c3beae;
  --moss: #2c4029;
  --moss-2: #3e5839;
  --sage: #8e9c7f;
  --sage-soft: #dfe3d4;
  --clay: #a84b2b;
  --clay-hover: #8f3d21;
  --on-clay: #ffffff;
  --ochre: #8a6a1f;
  --ochre-soft: #efe4c6;
  --scrim: rgba(18, 22, 16, 0.42);
  --shadow-1: 0 1px 2px rgba(26, 33, 24, 0.08);
  --shadow-2: 0 2px 4px rgba(26, 33, 24, 0.06), 0 10px 24px -12px rgba(26, 33, 24, 0.22);

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-text: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 12px;
  --r-sm: 8px;
  --r-xs: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;

  /* AgnosticUI tokens mapped to the brand palette */
  --ag-font-family: var(--f-text);
  --ag-primary: var(--clay);
  --ag-primary-dark: var(--clay-hover);
  --ag-primary-text: var(--clay);
  --ag-primary-fg: var(--on-clay);
  --ag-primary-background: #f3e3db;
  --ag-success: var(--moss-2);
  --ag-success-text: #2c4029;
  --ag-success-background: var(--sage-soft);
  --ag-warning: #b8892a;
  --ag-warning-fg: #1a2118;
  --ag-warning-text: var(--ochre);
  --ag-warning-background: var(--ochre-soft);
  --ag-info-text: var(--ink-2);
  --ag-info-background: var(--bg-2);
  --ag-text-primary: var(--ink);
  --ag-text-secondary: var(--ink-2);
  --ag-text-muted: var(--ink-3);
  --ag-background-primary: var(--surface);
  --ag-background-secondary: var(--bg);
  --ag-background-tertiary: var(--bg-2);
  --ag-border: var(--line);
  --ag-border-subtle: var(--line-2);
  --ag-focus: 168, 75, 43;
  --ag-radius-md: var(--r-sm);
}

:root[data-theme="dark"] {
  --bg: #11150f;
  --bg-2: #161b14;
  --surface: #1c2219;
  --ink: #eaece2;
  --ink-2: #b2b9a8;
  --ink-3: #8a9280;
  --line: #2c3428;
  --line-2: #3a4335;
  --moss: #1f2e1d;
  --moss-2: #a9bd97;
  --sage: #9db08c;
  --sage-soft: #26321f;
  --clay: #d77a53;
  --clay-hover: #e5906b;
  --on-clay: #1a110c;
  --ochre: #e0b65a;
  --ochre-soft: #352b13;
  --scrim: rgba(0, 0, 0, 0.55);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.3), 0 12px 28px -14px rgba(0, 0, 0, 0.7);
  color-scheme: dark;

  --ag-primary-background: #3a2418;
  --ag-success-text: #c2d4b1;
  --ag-text-primary: var(--ink);
  --ag-text-secondary: var(--ink-2);
  --ag-text-muted: var(--ink-3);
  --ag-background-primary: var(--surface);
  --ag-background-secondary: var(--bg);
  --ag-background-tertiary: var(--bg-2);
  --ag-border: var(--line);
  --ag-border-subtle: var(--line-2);
  --ag-primary: var(--clay);
  --ag-primary-text: var(--clay);
  --ag-primary-fg: var(--on-clay);
  --ag-warning-text: var(--ochre);
  --ag-warning-background: var(--ochre-soft);
  --ag-success-background: var(--sage-soft);
  --ag-info-text: var(--ink-2);
  --ag-info-background: var(--bg-2);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  transition: background-color 200ms ease, color 200ms ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; color: var(--ink); }
h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 650; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 640; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 620; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.muted { color: var(--ink-3); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--clay); color: var(--on-clay); }
.btn--primary:hover { background: var(--clay-hover); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn--light { background: #f1efe7; color: #1a2118; }
.btn--light:hover { background: #ffffff; }
.link { background: none; border: 0; padding: 0; color: var(--clay); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.wordmark {
  font-family: var(--f-display); font-weight: 680; font-size: 22px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.wordmark span { color: var(--moss-2); }
:root[data-theme="light"] .wordmark span { color: var(--moss); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--ink-2); transition: color 150ms ease; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .nav__menu {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.theme-toggle:hover, .nav__menu:hover { background: var(--surface); border-color: var(--ink-3); }
.theme-toggle svg, .nav__menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.theme-toggle svg { transition: transform 300ms var(--ease); }
.theme-toggle:active svg { transform: rotate(-30deg); }
.nav__menu { display: none; }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-grid; }
}
@media (max-width: 420px) {
  .nav__cta { padding: 0 12px; }
  .wordmark { font-size: 19px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy h1 { max-width: 9ch; }
.lede { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { margin-top: 22px; font-size: 15px; color: var(--ink-3); }
.hero__note strong { color: var(--ink); font-weight: 600; }
.hero__media { position: relative; margin: 0; }
.hero__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 11 / 13; background: var(--bg-2); }
.hero__img img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.visit-card {
  position: absolute; left: -36px; bottom: 40px; width: 250px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-2); padding: 14px 14px 12px;
  font-size: 14px;
  animation: card-in 900ms 400ms var(--ease) both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.visit-card__head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.visit-card__head .muted { font-weight: 500; text-transform: none; letter-spacing: 0; }
.visit-card__row { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.visit-card__row img { width: 44px; height: 44px; border-radius: var(--r-xs); object-fit: cover; }
.visit-card__row strong { display: block; font-weight: 600; line-height: 1.3; }
.visit-card__row span { font-size: 13px; }
.visit-card__tasks { list-style: none; padding: 10px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.visit-card__tasks li { position: relative; padding-left: 20px; color: var(--ink-2); opacity: 0; animation: task-in 400ms var(--ease) forwards; }
.visit-card__tasks li:nth-child(1) { animation-delay: 1100ms; }
.visit-card__tasks li:nth-child(2) { animation-delay: 1400ms; }
.visit-card__tasks li:nth-child(3) { animation-delay: 1700ms; }
.visit-card__tasks li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px;
  border-left: 2px solid var(--moss-2); border-bottom: 2px solid var(--moss-2); transform: rotate(-45deg);
}
@keyframes task-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.cities { margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy h1 { max-width: 12ch; }
  .visit-card { left: 12px; bottom: 12px; width: 230px; }
  .hero__img { aspect-ratio: 4 / 4.2; }
}

/* Sections */
.section { padding: var(--section) 0; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head p { color: var(--ink-2); font-size: 18px; max-width: 32em; }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; } }

/* Weekly visit */
.visit { background: var(--bg-2); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.steps::after {
  content: ""; position: absolute; left: 15px; top: 8px; width: 2px;
  height: var(--progress, 0%); max-height: calc(100% - 16px);
  background: var(--clay); transition: height 500ms var(--ease);
}
.step { position: relative; padding: 0 0 clamp(36px, 5vh, 56px) 56px; counter-increment: step; opacity: 0.45; transition: opacity 300ms ease; cursor: pointer; }
.step:last-child { padding-bottom: 0; }
.step.is-active, .step.is-done { opacity: 1; }
.step::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 14px/1 var(--f-text);
  background: var(--bg-2); border: 2px solid var(--line-2); color: var(--ink-2);
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}
.step.is-active::before, .step.is-done::before { background: var(--clay); border-color: var(--clay); color: var(--on-clay); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); max-width: 30em; }
.visit__media { position: sticky; top: 104px; }
.visit__frame { position: relative; aspect-ratio: 9 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg); }
.visit__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 600ms ease, transform 1200ms var(--ease); }
.visit__frame img.is-active { opacity: 1; transform: none; }
.visit__counter {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--surface); color: var(--ink); border-radius: var(--r-xs);
  padding: 6px 10px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit__media { display: none; }
}

/* Plants */
.plant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plant {
  position: relative; display: block; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; cursor: pointer;
  transition: border-color 160ms ease;
}
.plant:hover { border-color: var(--line-2); }
.plant__img { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--bg-2); }
.plant__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.plant:hover .plant__img img { transform: scale(1.03); }
.plant__body { padding: 16px 18px 18px; }
.plant__name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plant__name h3 { font-size: 20px; }
.plant__latin { font-size: 14px; color: var(--ink-3); font-style: italic; }
.plant__care {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease);
}
.plant__care > div { overflow: hidden; }
.plant.is-open .plant__care { grid-template-rows: 1fr; }
.plant__care dl { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.plant__care dt { color: var(--ink-3); }
.plant__care dd { margin: 0; color: var(--ink); }
.plant__toggle { margin-top: 10px; padding: 0; background: none; border: 0; font-size: 14px; font-weight: 600; color: var(--clay); cursor: pointer; }
@media (max-width: 900px) { .plant-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plant-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { background: var(--moss); color: #eef0e6; }
.pricing h2, .pricing h3 { color: #f4f5ee; }
.pricing__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pricing__label { margin-top: 40px; font-weight: 600; color: #c9d4bc; }
.price { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.price__from { font-size: 16px; color: #c9d4bc; }
.price__num { font-family: var(--f-display); font-weight: 650; font-size: clamp(64px, 9vw, 120px); line-height: 1; letter-spacing: -0.035em; color: #ffffff; font-variant-numeric: tabular-nums; }
.price__per { font-size: 18px; color: #c9d4bc; }
.checklist { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; max-width: 34em; }
.checklist li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid rgba(238, 240, 230, 0.16); }
.checklist li:last-child { border-bottom: 1px solid rgba(238, 240, 230, 0.16); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 7px;
  border-left: 2px solid #e8a07f; border-bottom: 2px solid #e8a07f; transform: rotate(-45deg);
}
.estimator {
  background: var(--surface); color: var(--ink); border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px);
}
.estimator h3 { color: var(--ink); margin-bottom: 20px; }
.seg { border: 0; margin: 0 0 18px; padding: 0; }
.seg legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.seg__opts { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; gap: 3px; }
.seg__opts label { flex: 1; position: relative; }
.seg__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opts span {
  display: grid; place-items: center; height: 40px; border-radius: calc(var(--r-sm) - 3px);
  font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2);
  transition: background-color 160ms ease, color 160ms ease;
}
.seg__opts input:checked + span { background: var(--ink); color: var(--bg); }
.seg__opts input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.estimate { margin: 22px 0 18px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.estimate__value { font-family: var(--f-display); font-size: 28px; font-weight: 640; letter-spacing: -0.02em; line-height: 1.15; }
.estimate__note { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.estimate.is-changing .estimate__value { animation: est 360ms var(--ease); }
@keyframes est { from { opacity: 0.2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; } }

/* App section */
.app__grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 7vw, 120px); align-items: center; }
.app__copy > p { margin-top: 24px; color: var(--ink-2); font-size: 18px; max-width: 32em; }
.app__features { list-style: none; padding: 0; margin: 36px 0 32px; border-top: 1px solid var(--line); }
.app__features li { border-bottom: 1px solid var(--line); }
.app__features button {
  width: 100%; display: grid; gap: 2px; text-align: left; padding: 16px 0 16px 20px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.app__features button::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 2px;
  background: var(--clay); transform: scaleY(0); transition: transform 300ms var(--ease);
}
.app__features button[aria-selected="true"]::before { transform: scaleY(1); }
.app__features strong { font-weight: 600; font-size: 17px; }
.app__features span { color: var(--ink-2); font-size: 15px; }
.app__features button[aria-selected="false"] strong { color: var(--ink-2); }
.app__device { display: grid; justify-items: center; gap: 14px; }
.sample-note { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 14px; }
@media (max-width: 900px) {
  .app__grid { grid-template-columns: 1fr; }
}

/* iPhone frame */
.iphone {
  --w: 330px; --h: 690px;
  position: relative; width: var(--w); height: var(--h);
  border-radius: 56px; padding: 11px;
  background: #1b1d1a;
  box-shadow: inset 0 0 0 1.5px #3c403a, inset 0 0 0 4px #0c0d0b, var(--shadow-2);
}
.iphone__btn { position: absolute; width: 3px; background: #2a2d28; border-radius: 2px; }
.iphone__btn--action { left: -3px; top: 118px; height: 30px; }
.iphone__btn--up { left: -3px; top: 168px; height: 52px; }
.iphone__btn--down { left: -3px; top: 232px; height: 52px; }
.iphone__btn--power { right: -3px; top: 186px; height: 82px; }
.iphone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 45px; overflow: hidden; background: var(--bg);
  isolation: isolate;
}
.iphone__island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 31px; border-radius: 20px; background: #050605; z-index: 10;
}
.iphone__status {
  position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 9;
  display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 34px;
  font-weight: 600; font-size: 15px; background: var(--bg); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.iphone__icons { display: inline-flex; gap: 5px; align-items: center; }
.iphone__icons i { display: block; background: currentColor; border-radius: 2px; }
.iphone__icons i:nth-child(1) { width: 17px; height: 10px; clip-path: polygon(0 100%, 25% 100%, 25% 70%, 37% 70%, 37% 100%, 63% 100%, 63% 40%, 75% 40%, 75% 100%, 100% 100%, 100% 0, 88% 0, 88% 100%, 75% 100%); opacity: 0.95; }
.iphone__icons i:nth-child(2) { width: 15px; height: 10px; border-radius: 10px 10px 2px 2px; clip-path: polygon(50% 100%, 0 25%, 100% 25%); }
.iphone__icons i:nth-child(3) { width: 24px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1px currentColor; background: linear-gradient(90deg, currentColor 72%, transparent 72%); background-clip: content-box; padding: 2px; }

@media (max-width: 400px) {
  .iphone { --w: 300px; --h: 628px; border-radius: 50px; }
  .iphone__screen { border-radius: 40px; }
}

/* Mock app (inside the phone) */
.mb-app { position: absolute; inset: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.mb-app__screen { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 54px 18px 96px; scrollbar-width: none; }
.mb-app__screen::-webkit-scrollbar { display: none; }
.mb-app__screen.is-entering { animation: screen-in 380ms var(--ease); }
@keyframes screen-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.mb-app h4 { font-family: var(--f-display); font-size: 28px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; margin: 10px 0 4px; }
.mb-app h5 { margin: 22px 0 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.mb-app .sub { color: var(--ink-3); font-size: 13px; }
.mb-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.mb-card + .mb-card { margin-top: 10px; }
.mb-next { background: var(--moss); border-color: var(--moss); color: #eef0e6; }
:root[data-theme="dark"] .mb-next { border-color: var(--line-2); }
.mb-next .sub { color: #c9d4bc; }
.mb-next strong { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 620; margin: 4px 0; color: #fff; }
.mb-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; background: none; border: 0; text-align: left; cursor: pointer; border-bottom: 1px solid var(--line); }
.mb-row:last-child { border-bottom: 0; }
.mb-row img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg-2); }
.mb-row__main { flex: 1; min-width: 0; }
.mb-row__main strong { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-row__main span { color: var(--ink-3); font-size: 12.5px; }
.mb-chev { width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-top: 2px solid var(--ink-3); transform: rotate(45deg); flex: none; margin-right: 4px; }
.mb-pill { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; flex: none; }
.mb-pill--healthy { background: var(--sage-soft); color: var(--ag-success-text); }
.mb-pill--watch { background: var(--ochre-soft); color: var(--ochre); }
.mb-pill--treated { background: var(--ag-primary-background); color: var(--clay); }
.mb-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--clay); font-weight: 600; cursor: pointer; font-size: 15px; }
.mb-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.mb-hero { margin: 10px -18px 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); }
.mb-hero img { width: 100%; height: 100%; object-fit: cover; }
.mb-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.mb-meta div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mb-meta span { display: block; font-size: 11.5px; color: var(--ink-3); }
.mb-meta strong { font-size: 13px; font-weight: 600; }
.mb-note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--ochre-soft); color: var(--ink); font-size: 13px; }
.mb-weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mb-weeks button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1; }
.mb-weeks button[aria-pressed="true"] { border-color: var(--clay); }
.mb-weeks img { width: 100%; height: 100%; object-fit: cover; }
.mb-weeklabel { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin: 8px 0 4px; }
.mb-log { list-style: none; margin: 0; padding: 0; }
.mb-log li { position: relative; padding: 0 0 14px 20px; }
.mb-log li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.mb-log li::after { content: ""; position: absolute; left: 6.5px; top: 18px; bottom: 2px; width: 1px; background: var(--line-2); }
.mb-log li:last-child::after { display: none; }
.mb-log li:first-child::before { background: var(--clay); }
.mb-log strong { display: block; font-size: 13px; font-weight: 600; }
.mb-log span { font-size: 13px; color: var(--ink-2); }
.mb-search { display: flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 10px; background: var(--bg-2); color: var(--ink-3); font-size: 14px; margin-top: 12px; }
.mb-chips { display: flex; gap: 6px; margin-top: 12px; }
.mb-chips button { border: 1px solid var(--line-2); background: none; border-radius: 8px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.mb-chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mb-lib { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mb-lib button { padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; overflow: hidden; text-align: left; cursor: pointer; }
.mb-lib img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mb-lib span { display: block; padding: 8px 10px 10px; font-weight: 600; font-size: 13px; line-height: 1.25; }
.mb-lib em { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.mb-facts { margin: 14px 0 0; display: grid; gap: 0; }
.mb-facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.mb-facts dt { font-size: 12px; color: var(--ink-3); }
.mb-facts dd { margin: 2px 0 0; font-size: 14px; }
.mb-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  height: 84px; padding: 8px 10px 26px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-top: 1px solid var(--line);
}
.mb-tabbar button { display: grid; justify-items: center; align-content: start; gap: 3px; background: none; border: 0; cursor: pointer; color: var(--ink-3); font-size: 10.5px; font-weight: 600; padding-top: 2px; }
.mb-tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mb-tabbar button[aria-current="page"] { color: var(--clay); }
.mb-home-ind { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 120px; height: 4.5px; border-radius: 3px; background: var(--ink); z-index: 11; opacity: 0.85; }
.mb-signin { position: absolute; inset: 0; padding: 120px 26px 40px; display: flex; flex-direction: column; background: var(--bg); z-index: 7; transition: opacity 400ms ease, transform 500ms var(--ease); }
.mb-signin.is-gone { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.mb-signin__mark { font-family: var(--f-display); font-weight: 680; font-size: 26px; letter-spacing: -0.02em; }
.mb-signin__mark span { color: var(--moss-2); }
:root[data-theme="light"] .mb-signin__mark span { color: var(--moss); }
.mb-signin p { color: var(--ink-2); margin-top: 6px; }
.mb-field { margin-top: 14px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); display: flex; align-items: center; padding: 0 14px; color: var(--ink-3); font-size: 14px; }
.mb-field:first-of-type { margin-top: 36px; }
.mb-signin .btn { margin-top: 18px; height: 48px; border-radius: 12px; }

/* Browser + web portal (AgnosticUI components inside) */
.web { background: var(--bg-2); }
.browser { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-2); }
.browser__bar { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.browser__dots { display: inline-flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.browser__url { flex: 1; max-width: 420px; margin: 0 auto; text-align: center; font-size: 13px; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px 12px; }
.portal { display: grid; grid-template-columns: 210px minmax(0, 1fr) 300px; min-height: 620px; }
.portal__side { border-right: 1px solid var(--line); padding: 20px 16px; display: flex; flex-direction: column; background: var(--bg); }
.portal__brand { font-family: var(--f-display); font-weight: 680; font-size: 18px; letter-spacing: -0.02em; }
.portal__brand span { color: var(--moss-2); }
:root[data-theme="light"] .portal__brand span { color: var(--moss); }
.portal__client { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.portal__nav { display: grid; gap: 2px; margin-top: 24px; }
.portal__nav span { padding: 8px 10px; border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.portal__nav .is-active { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-1); }
.portal__tech { margin-top: auto; display: flex; gap: 10px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.portal__tech strong { display: block; font-weight: 600; }
.portal__tech span { color: var(--ink-3); }
.portal__main { padding: 22px 24px; min-width: 0; }
.portal__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.portal__top h3 { font-size: 24px; }
.portal__top p { font-size: 14px; }
.portal__search { width: 220px; }
.portal__summary { display: flex; gap: 28px; margin: 20px 0 6px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.portal__summary div { display: grid; }
.portal__summary strong { font-family: var(--f-display); font-size: 24px; font-weight: 640; font-variant-numeric: tabular-nums; line-height: 1.2; }
.portal__summary span { font-size: 13px; color: var(--ink-3); }
.portal__tabs { --ag-tabs-panel-padding: 12px 0 0; display: block; margin-top: 8px; }
.portal__table-wrap { overflow-x: auto; }
.portal__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.portal__table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.portal__table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.portal__table tbody tr { cursor: pointer; transition: background-color 120ms ease; }
.portal__table tbody tr:hover { background: var(--bg); }
.portal__table tbody tr.is-selected { background: var(--bg-2); }
.portal__table tbody tr:focus-visible { outline: 2px solid var(--clay); outline-offset: -2px; }
.portal__plant { display: flex; align-items: center; gap: 10px; }
.portal__plant img { width: 36px; height: 36px; flex: none; border-radius: 6px; object-fit: cover; background: var(--bg-2); }
.portal__plant strong { display: block; font-weight: 600; }
.portal__plant span { font-size: 12px; color: var(--ink-3); }
.portal__empty { padding: 24px 10px; color: var(--ink-3); font-size: 14px; }
.portal__visits { display: grid; gap: 0; }
.portal__visits ag-timeline { display: block; }
.portal__visit { padding: 2px 0 18px; }
.portal__visit strong { display: block; font-weight: 600; }
.portal__visit span { display: block; font-size: 13px; color: var(--ink-2); }
.portal__visit .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.portal__library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.portal__lib-item { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.portal__lib-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.portal__lib-item div { padding: 10px 12px 12px; font-size: 13px; }
.portal__lib-item strong { display: block; font-size: 14px; font-weight: 600; }
.portal__lib-item em { color: var(--ink-3); }
.portal__lib-item p { margin-top: 6px; color: var(--ink-2); }
.portal__detail { position: relative; border-left: 1px solid var(--line); background: var(--bg); }
.portal__detail-scroll { position: absolute; inset: 0; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.tl-date { font-size: 13px; font-weight: 600; text-align: right; white-space: nowrap; padding-bottom: 14px; }
.portal__tabs ag-tab::part(ag-tab) { white-space: nowrap; }
.portal ag-timeline { --ag-timeline-vertical-spacing: 6px; }
.portal__detail img.cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.portal__detail h4 { font-size: 20px; font-weight: 640; margin-top: 14px; letter-spacing: -0.01em; }
.portal__detail .latin { font-style: italic; color: var(--ink-3); font-size: 14px; }
.portal__detail .desc { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.portal__detail dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13px; margin: 14px 0 0; }
.portal__detail dt { color: var(--ink-3); }
.portal__detail dd { margin: 0; }
.portal__detail h5 { margin: 18px 0 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); }
.portal__weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.portal__weeks figure { margin: 0; }
.portal__weeks img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.portal__weeks figcaption { font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.portal__detail .note { margin-top: 12px; font-size: 13px; padding: 10px; border-radius: 6px; background: var(--ochre-soft); }
.portal__detail ag-progress { display: block; margin-top: 6px; }
.portal__detail-enter { animation: screen-in 360ms var(--ease); }

@media (max-width: 1100px) {
  .portal { grid-template-columns: 190px minmax(0, 1fr); }
  .portal__detail { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .portal__detail-scroll { position: static; display: grid; grid-template-columns: 240px 1fr; gap: 0 24px; }
  .portal__detail > .portal__detail-col { min-width: 0; }
}
@media (max-width: 760px) {
  .portal { grid-template-columns: 1fr; }
  .portal__side { display: none; }
  .portal__main { padding: 18px 14px; }
  .portal__top { flex-direction: column; }
  .portal__search { width: 100%; }
  .portal__library { grid-template-columns: 1fr 1fr; }
  .portal__detail-scroll { grid-template-columns: 1fr; }
}

/* Locations route */
.route { position: relative; padding: 18px 0 0; }
.route__line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 18px; width: calc(100% - 100% / 6); height: 40px; overflow: visible; }
.route__line line { stroke: var(--clay); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1800ms var(--ease); }
.route.is-in .route__line line { stroke-dashoffset: 0; }
.route::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 37px; height: 3px; background: var(--line-2); border-radius: 2px; }
.route__stops { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.route__stops li { display: grid; justify-items: center; gap: 16px; text-align: center; }
.route__dot { width: 20px; height: 20px; margin-top: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--line-2); transition: border-color 300ms ease, background-color 300ms ease; }
.route.is-in .route__dot { border-color: var(--clay); background: var(--surface); }
.route.is-in li:nth-child(1) .route__dot { transition-delay: 100ms; }
.route.is-in li:nth-child(2) .route__dot { transition-delay: 420ms; }
.route.is-in li:nth-child(3) .route__dot { transition-delay: 740ms; }
.route.is-in li:nth-child(4) .route__dot { transition-delay: 1060ms; }
.route.is-in li:nth-child(5) .route__dot { transition-delay: 1380ms; }
.route.is-in li:nth-child(6) .route__dot { transition-delay: 1700ms; }
.route__city { font-family: var(--f-display); font-weight: 620; font-size: clamp(16px, 1.8vw, 22px); letter-spacing: -0.01em; line-height: 1.2; }
.locations__more { margin-top: 56px; color: var(--ink-2); }
@media (max-width: 760px) {
  .route { padding: 0 0 0 4px; }
  .route::before { left: 13px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; }
  .route__line { display: none; }
  .route__stops { grid-template-columns: 1fr; gap: 18px; }
  .route__stops li { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; gap: 16px; }
  .route__dot { margin-top: 0; }
}

/* Closing CTA */
.cta { background: var(--moss); color: #eef0e6; padding: clamp(72px, 10vw, 128px) 0; }
:root[data-theme="dark"] .cta { background: var(--bg-2); border-top: 1px solid var(--line); }
.cta__inner { display: grid; justify-items: start; gap: 18px; }
.cta h2 { color: #f4f5ee; max-width: 14ch; }
.cta p { color: #c9d4bc; font-size: 18px; }
.cta .btn { margin-top: 12px; }

/* Footer */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.footer__links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; }
.footer__links a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; color: var(--ink-3); }

/* Side panel (catch-all form) */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 80; opacity: 0; pointer-events: none; transition: opacity 260ms ease; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(480px, 100vw); background: var(--surface); color: var(--ink);
  border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 360ms var(--ease), visibility 0s linear 360ms;
  visibility: hidden;
  display: flex; flex-direction: column;
}
.panel.is-open { transform: none; visibility: visible; transition: transform 360ms var(--ease); }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel__head h2 { font-size: 22px; letter-spacing: -0.01em; }
.panel__close { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: transparent; cursor: pointer; display: grid; place-items: center; }
.panel__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.panel__close:hover { background: var(--bg); }
.panel__body { flex: 1; overflow-y: auto; padding: 20px 22px 28px; overscroll-behavior: contain; }
.panel__nav { display: none; margin: -4px 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel__nav a { display: block; padding: 10px 0; font-family: var(--f-display); font-size: 22px; font-weight: 620; text-decoration: none; letter-spacing: -0.01em; }
.panel[data-mode="menu"] .panel__nav { display: block; }
.panel__intro { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.topic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); margin: 0 0 20px; }
.topic label { position: relative; }
.topic input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.topic span { display: grid; place-items: center; height: 38px; border-radius: calc(var(--r-sm) - 3px); font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: center; transition: background-color 160ms ease, color 160ms ease; }
.topic input:checked + span { background: var(--ink); color: var(--bg); }
.topic input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); background: var(--surface); }
.field input:user-invalid { border-color: #c0392b; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.group { display: none; }
.group.is-shown { display: block; animation: screen-in 300ms var(--ease); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { margin-top: 6px; display: grid; gap: 10px; }
.form__fine { font-size: 13px; color: var(--ink-3); }
.form__status { font-size: 14px; padding: 12px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); display: none; }
.form__status.is-shown { display: block; }
.form__status strong { display: block; }
.form__done { display: none; text-align: left; padding: 24px 0; }
.form__done h3 { font-size: 26px; margin-bottom: 8px; }
.form__done p { color: var(--ink-2); }
.panel.is-sent form { display: none; }
.panel.is-sent .form__done { display: block; animation: screen-in 360ms var(--ease); }
.panel .btn[disabled] { opacity: 0.6; cursor: progress; }
body.panel-open { overflow: hidden; }

/* Legal pages */
.legal { padding: clamp(48px, 7vw, 96px) 0 var(--section); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 68px); }
.legal .updated { margin-top: 16px; color: var(--ink-3); font-size: 15px; }
.legal .summary { margin-top: 32px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink-2); }
.legal h2 { font-size: 26px; letter-spacing: -0.015em; margin: 48px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0 0; }
.legal li + li { margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 600; }
.legal td { color: var(--ink-2); }
.legal a { color: var(--clay); }
.legal .toc { margin-top: 32px; columns: 2; column-gap: 32px; padding: 0; list-style: none; }
.legal .toc a { text-decoration: none; color: var(--ink-2); }
.legal .toc a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 600px) { .legal .toc { columns: 1; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
  .visit-card__tasks li { opacity: 1; }
}
