/* XEKTA site — "Neighborhood / Shopfront" (proposal C, October 2026). Shared by /, /market and /legal/*.
   The old styles.css / tokens.css / main.js stay in place, unused, as a fallback.
 * Hallmark · macrostructure: Bespoke "Main Street" (awning → storefront street → counter tickets) · tone: warm-local, restrained · anchor hue: leaf 150
 * theme: custom · vibe: "corner market awning, hand-painted signs, produce" · paper oklch(97% 0.014 85) · accent oklch(44% 0.11 152) leaf + oklch(63% 0.18 36) persimmon
 * fonts: Bricolage Grotesque (display) + Figtree (body) + DM Mono (ticket figures) · axes: light / grotesk-sans / chromatic-green
 * nav: wordmark + single CTA (one destination) · footer: leaf masthead + legal row
 * Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5
 */
:root{
  --color-paper: oklch(97% 0.014 85);
  --color-paper-2: oklch(93.5% 0.024 85);
  --color-paper-3: oklch(90% 0.032 82);
  --color-card: oklch(99.2% 0.006 85);
  --color-kraft: oklch(80% 0.06 70);
  --color-kraft-2: oklch(74% 0.065 66);
  --color-ink: oklch(25% 0.03 150);
  --color-ink-2: oklch(40% 0.03 145);
  --color-muted: oklch(50% 0.025 120);
  --color-rule: oklch(84% 0.03 90);
  --color-leaf: oklch(44% 0.11 152);
  --color-leaf-deep: oklch(31% 0.075 155);
  --color-leaf-soft: oklch(91% 0.05 145);
  --color-persimmon: oklch(63% 0.18 36);
  --color-persimmon-ink: oklch(52% 0.17 34);
  --color-persimmon-soft: oklch(92% 0.045 45);
  --color-on-dark: oklch(96% 0.02 90);
  --color-on-dark-2: oklch(84% 0.04 140);
  --color-focus: oklch(52% 0.17 34);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --text-xs: .8125rem; --text-sm: .9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-display: clamp(3.1rem, 1.6rem + 6.4vw, 7.25rem);

  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 72px; --space-4xl: 112px;
  --gutter: 16px;

  --radius-sm: 10px; --radius: 18px; --radius-lg: 28px; --radius-pill: 999px;
  --rule: 1.5px solid var(--color-rule);
  --rule-ink: 1.5px solid var(--color-ink);

  --ease-out: cubic-bezier(.22,.8,.26,1); --ease-in: cubic-bezier(.5,0,.75,0); --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-fast: 160ms; --dur: 320ms; --dur-slow: 600ms;
  --stripe: 44px;
}
@media (min-width: 720px){ :root{ --gutter: 32px; } }

*,*::before,*::after{ box-sizing: border-box; }
html,body{ overflow-x: clip; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{ margin:0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img,svg{ display:block; max-width:100%; }
a{ color: inherit; }
h1,h2,h3{ font-family: var(--font-display); font-style: normal; margin:0; letter-spacing: -.02em; line-height: 1.02; overflow-wrap: anywhere; min-width:0; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }
.sr-only{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip{ position:absolute; left: var(--gutter); top:-60px; background: var(--color-ink); color: var(--color-on-dark); padding: 10px 14px; border-radius: var(--radius-sm); z-index: 10; }
.skip:focus{ top: 12px; }
.wrap{ width:100%; max-width: 1220px; margin-inline:auto; padding-inline: var(--gutter); }
.ico{ width: 20px; height: 20px; fill:none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Awning: the one recurring graphic device ---------- */
.awning{ position: relative; height: 34px; background: repeating-linear-gradient(90deg, var(--color-leaf) 0 var(--stripe), var(--color-paper-2) var(--stripe) calc(var(--stripe) * 2)); }
.awning::after{ content:""; position:absolute; left:0; right:0; top:100%; height: calc(var(--stripe) / 2);
  background: inherit;
  -webkit-mask: radial-gradient(circle at 50% 0, #000 calc(var(--stripe) / 2 - .5px), transparent calc(var(--stripe) / 2)) 0 0 / var(--stripe) 100% repeat-x;
          mask: radial-gradient(circle at 50% 0, #000 calc(var(--stripe) / 2 - .5px), transparent calc(var(--stripe) / 2)) 0 0 / var(--stripe) 100% repeat-x; }
.awning--persimmon{ background: repeating-linear-gradient(90deg, var(--color-persimmon) 0 var(--stripe), var(--color-paper) var(--stripe) calc(var(--stripe) * 2)); }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap: 10px; white-space: nowrap; font: 600 var(--text-md)/1 var(--font-body); text-decoration:none; color: var(--color-on-dark); background: var(--color-leaf); border: 1.5px solid var(--color-leaf); padding: 14px 20px; border-radius: var(--radius-pill); cursor:pointer; transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.btn:hover{ background: var(--color-leaf-deep); border-color: var(--color-leaf-deep); }
.btn:active{ transform: translateY(1px); }
.btn .ico{ transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .ico{ transform: translateX(3px); }
.btn--ghost{ background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--ghost:hover{ background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-dark); }
.btn--paper{ background: var(--color-paper); border-color: var(--color-paper); color: var(--color-leaf-deep); }
.btn--paper:hover{ background: var(--color-persimmon-soft); border-color: var(--color-persimmon-soft); }
.btn--sm{ padding: 10px 16px; font-size: var(--text-sm); }
.btn[disabled]{ opacity:.5; cursor: not-allowed; }

.tag{ display:inline-flex; align-items:center; font: 600 .6875rem/1 var(--font-body); letter-spacing:.06em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--radius-pill); white-space:nowrap; vertical-align: middle; }
.tag--next{ background: var(--color-persimmon-soft); color: var(--color-persimmon-ink); }
.tag--live{ background: var(--color-leaf-soft); color: var(--color-leaf-deep); }

/* ---------- Nav ---------- */
.nav__inner{ display:flex; align-items:center; justify-content:space-between; gap: var(--space-md); padding-block: 30px 18px; }
.brand{ color: var(--color-leaf-deep); display:block; }
.brand svg{ width: 132px; height:auto; }

/* ---------- Hero ---------- */
.hero{ padding-block: var(--space-xl) var(--space-3xl); }
.hero__grid{ display:grid; gap: var(--space-2xl); align-items: end; }
@media (min-width: 980px){ .hero__grid{ grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-3xl); } }
.hero__title{ font-size: var(--text-display); font-weight: 780; line-height: .94; letter-spacing: -.035em; font-variation-settings: "opsz" 96; }
.hero__title .line{ display:block; }
.verb{ display:inline-grid; vertical-align: bottom; color: var(--color-persimmon-ink); }
.verb__w{ grid-area: 1/1; justify-self: start; position: relative; opacity: 0; transform: translateY(.25em); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); white-space: nowrap; }
.verb__w.is-on{ opacity: 1; transform: none; }
.verb__w::after{ content:""; position:absolute; left: 0; right: .06em; bottom: .02em; height: .07em; background: currentColor; border-radius: 2px; }
.verb__soon{ font: 600 .6875rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; background: var(--color-persimmon-soft); color: var(--color-persimmon-ink); padding: 5px 8px; border-radius: var(--radius-pill); vertical-align: top; margin-left: .2em; position: relative; top: .35em; }
.hero__sub{ font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; max-width: 26ch; }
.hero__cta{ display:flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.status{ display:inline-flex; align-items:center; gap: 10px; margin-top: var(--space-lg); text-decoration:none; padding: 9px 14px 9px 12px; border-radius: var(--radius-pill); background: var(--color-card); border: var(--rule); font-size: var(--text-sm); }
.status:hover{ border-color: var(--color-leaf); }
.dot-live{ width: 9px; height: 9px; border-radius: 50%; background: var(--color-leaf); box-shadow: 0 0 0 4px var(--color-leaf-soft); flex:none; }
.signs{ display:flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.sign{ position: relative; padding: 14px 18px 12px; border-radius: var(--radius-sm); background: var(--color-leaf-deep); color: var(--color-on-dark); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -.01em; line-height: 1; box-shadow: inset 0 0 0 3px var(--color-leaf-deep), inset 0 0 0 4.5px var(--color-on-dark-2); margin-top: 14px; }
.sign::before,.sign::after{ content:""; position:absolute; top: -14px; width: 1.5px; height: 14px; background: var(--color-ink-2); }
.sign::before{ left: 22%; } .sign::after{ right: 22%; }
.sign--alt{ background: var(--color-persimmon-ink); box-shadow: inset 0 0 0 3px var(--color-persimmon-ink), inset 0 0 0 4.5px var(--color-persimmon-soft); }
.hero__meta{ display:flex; flex-wrap: wrap; gap: 6px 16px; margin-top: var(--space-md); color: var(--color-ink-2); font-size: var(--text-sm); }
.hero__meta{ flex-direction: column; }

/* ---------- The street (hero figure) ---------- */
.street{ margin: var(--space-3xl) auto 0; }
.street__board{ background: var(--color-card); border: var(--rule); border-radius: var(--radius-lg); padding: var(--space-lg); display:grid; gap: var(--space-lg); align-items: center; }
@media (min-width: 980px){ .street__board{ grid-template-columns: max-content max-content minmax(0,1fr); padding: var(--space-xl); gap: var(--space-xl); } }
.who{ display:flex; align-items:center; gap: var(--space-sm); }
@media (min-width: 980px){ .who{ flex-direction: column; align-items:flex-start; } }
.ring{ display:flex; }
.ring > *{ width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--color-card); background: var(--color-paper-2); margin-left: -8px; display:grid; place-items:center; overflow:hidden; }
.ring > *:first-child{ margin-left:0; }
.ring img{ object-fit: cover; }
.ring .ico{ width: 18px; height: 18px; }
.who__txt{ font-weight: 600; line-height: 1.25; max-width: 190px; }
.who__txt small{ display:block; font-weight: 400; color: var(--color-muted); font-size: var(--text-xs); }
.hub{ display:flex; align-items:center; gap: var(--space-sm); color: var(--color-muted); }
.hub__arrow{ width: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--color-leaf) 0 6px, transparent 6px 10px); position: relative; }
.hub__arrow::after{ content:""; position:absolute; right:-2px; top:-4px; border-left: 8px solid var(--color-leaf); border-block: 5px solid transparent; }
.hub__bot{ width: 104px; flex: none; margin-block: -10px; }
@media (max-width: 979px){ .hub__bot{ width: 92px; } }
@media (max-width: 979px){ .hub{ padding-left: 6px; } }
.shops{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-sm); }
@media (min-width: 600px){ .shops{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1180px){ .shops{ grid-template-columns: repeat(6, minmax(0,1fr)); } }
.shop{ --stripe: 14px; position: relative; border-radius: var(--radius-sm); background: var(--color-paper); border: var(--rule); overflow: hidden; padding-bottom: var(--space-sm); text-align: center; }
.shop .awning{ height: 14px; }
.shop .awning::after{ height: 7px; }
.shop__ic{ width: 44px; height: 44px; margin: 18px auto 6px; display:grid; place-items:center; }
.shop__ic img{ width: 44px; height: 44px; }
.shop__ic .ico{ width: 32px; height: 32px; color: var(--color-ink-2); }
.shop__name{ font-family: var(--font-display); font-weight: 650; font-size: var(--text-md); line-height: 1.1; }
.shop__state{ display:inline-flex; align-items:center; gap: 5px; font-size: .75rem; white-space: nowrap; color: var(--color-leaf-deep); margin-top: 4px; }
.shop__state i{ width: 7px; height: 7px; border-radius: 50%; background: var(--color-leaf); }
.shop--soon{ background: transparent; border-style: dashed; }
.shop--soon .awning{ background: repeating-linear-gradient(90deg, var(--color-paper-3) 0 var(--stripe), var(--color-paper) var(--stripe) calc(var(--stripe) * 2)); }
.shop--soon .shop__ic{ opacity: .6; }
.shop--soon .shop__state{ color: var(--color-persimmon-ink); }
.shop--soon .shop__state i{ background: transparent; border: 1.5px solid var(--color-persimmon); }
.street__cap{ display:flex; flex-wrap: wrap; gap: 8px 20px; align-items:center; margin-top: var(--space-md); padding-inline: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.street__cap .title{ flex: 1 1 280px; }
.key{ display:inline-flex; align-items:center; gap: 8px; white-space: nowrap; }
.key i{ width: 10px; height: 10px; border-radius: 50%; background: var(--color-leaf); }
.key--soon i{ background: transparent; border: 1.5px solid var(--color-persimmon); }

/* ---------- Sections ---------- */
.sec{ padding-block: var(--space-4xl); }
.sec--tight{ padding-top: 0; }
.h-section{ font-size: var(--text-2xl); font-weight: 750; letter-spacing: -.03em; line-height: 1.02; font-variation-settings: "opsz" 72; max-width: 18ch; }
.lede{ font-size: var(--text-lg); line-height: 1.5; color: var(--color-ink-2); max-width: 54ch; margin-top: var(--space-md); }

/* How */
.how__grid{ display:grid; gap: var(--space-2xl); }
@media (min-width: 980px){ .how__grid{ grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-3xl); align-items: start; } }
.quote{ font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; line-height: 1.25; margin-top: var(--space-lg); padding-left: var(--space-md); border-left: 4px solid var(--color-persimmon); max-width: 30ch; }
.steps{ margin-top: var(--space-xl); display:grid; gap: 2px; counter-reset: s; max-width: 420px; }
.step{ display:flex; align-items:center; gap: var(--space-md); padding: 12px 0; border-bottom: var(--rule); font-weight: 600; transition: color var(--dur) var(--ease-out); }
.step__n{ width: 34px; height: 34px; border-radius: 50%; display:grid; place-items:center; flex:none; font: 500 var(--text-sm)/1 var(--font-mono); background: var(--color-paper-2); color: var(--color-ink-2); transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.step.is-on .step__n{ background: var(--color-leaf); color: var(--color-on-dark); }
.no-site{ margin-top: var(--space-lg); font-size: var(--text-lg); color: var(--color-ink-2); }
.no-site em{ font-style: italic; color: var(--color-ink); }

.stage{ background: var(--color-paper-2); border-radius: var(--radius-lg); padding: var(--space-md); }
@media (min-width: 720px){ .stage{ padding: var(--space-lg); } }
.stage__bar{ display:flex; justify-content:space-between; align-items:center; gap: var(--space-sm); flex-wrap: wrap; padding: 4px 4px var(--space-md); font-weight: 600; font-size: var(--text-sm); }
.stage__who{ display:flex; align-items:center; gap: 10px; }
.stage__who .ring > *{ width: 26px; height: 26px; border-color: var(--color-paper-2); margin-left: -7px; }
.stage__who .ring > *:first-child{ margin-left: 0; }
.stage__note{ font-weight: 500; color: var(--color-muted); font-size: var(--text-xs); letter-spacing: .04em; text-transform: uppercase; }
.chat{ display:grid; gap: var(--space-sm); }
.msg{ border-radius: var(--radius); padding: 14px 16px; max-width: 92%; }
.msg--user{ justify-self: end; background: var(--color-leaf); color: var(--color-on-dark); border-bottom-right-radius: 6px; }
.msg--agent{ background: var(--color-card); border-bottom-left-radius: 6px; }
.msg__from{ font-size: var(--text-xs); color: var(--color-muted); margin-bottom: 6px; }
.msg__from b{ color: var(--color-ink); }
.trace li{ display:flex; gap: 10px; align-items:flex-start; padding: 3px 0; font-size: var(--text-sm); }
.trace li .ico{ width: 18px; height: 18px; color: var(--color-leaf); margin-top: 2px; }

/* Shop ticket (receipt) */
.ticket{ position: relative; background: var(--color-card); border-radius: var(--radius-sm); padding: 18px 18px 20px; font-size: var(--text-sm);
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 5.5px, #000 6px) 0 0 / 16px 100% repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 6px) no-repeat;
          mask: radial-gradient(circle 6px at 50% 100%, transparent 5.5px, #000 6px) 0 0 / 16px 100% repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 6px) no-repeat; }
.ticket__head{ display:flex; justify-content:space-between; align-items: baseline; gap: var(--space-sm); padding-bottom: 12px; border-bottom: 1.5px dashed var(--color-rule); }
.ticket__shop{ display:flex; align-items:center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -.01em; }
.ticket__meta{ font: 400 var(--text-xs)/1.2 var(--font-mono); color: var(--color-muted); white-space: nowrap; }
.ticket__lines{ padding-block: 10px; display:grid; gap: 6px; }
.ticket__lines li{ display:flex; justify-content:space-between; gap: var(--space-md); }
.ticket__lines b, .ticket__total b{ font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
.ticket__lines small{ display:block; color: var(--color-muted); font-size: var(--text-xs); }
.ticket__total{ display:flex; justify-content:space-between; align-items:center; gap: var(--space-md); flex-wrap: wrap; padding-top: 12px; border-top: 1.5px dashed var(--color-rule); }
.ticket__total b{ font-size: var(--text-lg); }
.ticket__total small{ display:block; color: var(--color-muted); font-size: var(--text-xs); }
.approve{ display:inline-flex; align-items:center; gap: 8px; background: var(--color-persimmon-ink); color: var(--color-on-dark); padding: 9px 14px; border-radius: var(--radius-pill); font-weight: 600; white-space: nowrap; }
.approve .ico{ width: 16px; height: 16px; }
.ready{ display:flex; align-items:center; gap: var(--space-sm); background: var(--color-leaf-soft); border-radius: var(--radius); padding: 12px 16px; }
.ready__icon{ width: 38px; height: 38px; border-radius: 50%; display:grid; place-items:center; background: var(--color-leaf); color: var(--color-on-dark); flex:none; }
.ready__txt b{ display:block; }
.ready__txt span{ font-size: var(--text-sm); color: var(--color-ink-2); }

/* Speed */
.race{ margin-top: var(--space-2xl); display:grid; gap: var(--space-lg); }
.lane{ display:grid; gap: var(--space-sm); grid-template-columns: minmax(0,1fr) auto; align-items: end; padding: var(--space-lg); border-radius: var(--radius); background: var(--color-card); border: var(--rule); }
@media (min-width: 860px){ .lane{ grid-template-columns: 300px minmax(0,1fr) 110px; align-items:center; } }
.lane__name b{ font-family: var(--font-display); font-size: var(--text-lg); display:flex; align-items:center; gap: 8px; }
.lane__path{ display:block; font-size: var(--text-sm); color: var(--color-muted); }
.lane__path i{ font-style: normal; color: var(--color-rule); }
.track{ grid-column: 1 / -1; height: 14px; border-radius: var(--radius-pill); background: var(--color-paper-2); overflow:hidden; }
@media (min-width: 860px){ .track{ grid-column: auto; } }
.track__fill{ display:block; height:100%; width: calc(var(--to) * 100%); border-radius: inherit; background: var(--color-ink-2); transform-origin: left; transform: scaleX(0); }
.lane--x .track__fill{ background: var(--color-leaf); }
.race.is-run .track__fill{ transform: scaleX(1); transition: transform var(--dur-race) linear; }
.lane__time{ font-family: var(--font-display); font-weight: 750; font-size: var(--text-2xl); line-height: 1; text-align: right; grid-row: 1; grid-column: 2; }
@media (min-width: 860px){ .lane__time{ grid-row: auto; grid-column: auto; } }
.lane__time small{ font-size: var(--text-md); font-weight: 600; margin-left: 3px; color: var(--color-muted); }
.lane--x .lane__time{ color: var(--color-leaf); }
.race__note{ margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* Market band */
.band{ background: var(--color-leaf-deep); color: var(--color-on-dark); padding-bottom: var(--space-4xl); }
.band .awning{ --stripe: 56px; height: 26px; }
.band__grid{ display:grid; gap: var(--space-3xl); padding-top: calc(var(--space-4xl) - 10px); align-items:center; }
@media (min-width: 980px){ .band__grid{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.band .h-section{ color: var(--color-on-dark); }
.band .lede{ color: var(--color-on-dark-2); }
.band__cta{ display:flex; flex-wrap: wrap; align-items:center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xl); }
.band__where{ font-size: var(--text-sm); color: var(--color-on-dark-2); }
.counter{ position: relative; display:grid; gap: var(--space-lg); justify-items: center; }
@media (min-width: 600px){ .counter{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: end; } }
/* Paper bag */
.bag{ position: relative; width: 100%; max-width: 320px; color: var(--color-ink); }
.bag__top{ height: 26px; background: var(--color-kraft-2); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative; }
.bag__top::after{ content:""; position:absolute; left:0; right:0; bottom:0; height: 8px; background: repeating-linear-gradient(90deg, var(--color-kraft) 0 7px, var(--color-kraft-2) 7px 14px); }
.bag__body{ background: var(--color-kraft); padding: 22px 20px 20px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.bag__stamp{ display:inline-flex; align-items:center; gap: 8px; white-space: nowrap; font-family: var(--font-display); font-weight: 750; font-size: var(--text-lg); letter-spacing: -.02em; color: var(--color-leaf-deep); border: 2px solid var(--color-leaf-deep); border-radius: var(--radius-sm); padding: 6px 12px; transform: rotate(-2deg); }
.bag__stamp .ico{ width: 22px; height: 22px; }
.bag .ticket{ margin-top: 18px; transform: rotate(1.5deg); }
.order-state{ display:inline-flex; align-items:center; gap: 8px; white-space: nowrap; font-weight: 600; font-size: var(--text-sm); }
.order-state i{ width: 8px; height: 8px; border-radius: 50%; background: var(--color-leaf); }
.order-state--prep i{ background: var(--color-persimmon); }
.flip{ display:inline-grid; }
.flip > *{ grid-area: 1/1; transition: opacity var(--dur) var(--ease-out); }
.flip .order-state--ready{ opacity: 0; }
.flip.is-ready .order-state--prep{ opacity: 0; }
.flip.is-ready .order-state--ready{ opacity: 1; }
.kitchen{ width: 100%; max-width: 300px; color: var(--color-ink); position: relative; padding-top: 18px; }
.kitchen::before{ content:""; position:absolute; top: 0; left: 50%; width: 46px; height: 26px; margin-left: -23px; border-radius: 6px 6px 3px 3px; background: var(--color-persimmon); z-index: 1; }
.kitchen .ticket{ transform: rotate(-1.5deg); }
.counter__note{ grid-column: 1 / -1; font-size: var(--text-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--color-on-dark-2); justify-self: center; }

/* App — left column in this site's style; the phone scene is the October 2026
   site's app screen, ported as it was (markup, motion, fit). Its old tokens are
   defined on .app so the screen renders identically. */
.app{
  --bg: oklch(97.7% 0.0102 81.8); --bg-2: oklch(93.0% 0.0301 78.8);
  --surface: oklch(99.6% 0.0040 82.0);
  --line: oklch(90.0% 0.0332 79.3); --line-2: oklch(86.2% 0.0476 80.8);
  --ink: oklch(19.3% 0.0108 80.5); --ink-2: oklch(36.6% 0.0221 72.6); --ink-3: oklch(48.5% 0.0259 73.8);
  --gold-ink: oklch(48.5% 0.0838 76.2);
  --live: oklch(72.3% 0.1920 149.6); --live-ink: oklch(51.0% 0.1300 150.7);
  --shade: oklch(35.1% 0.0625 68.2); --shade-2: oklch(29.5% 0.0484 70.0);
  --c-0d0b08: oklch(15.1% 0.0073 79.1); --c-f4ebdd: oklch(94.3% 0.0210 79.1); --c-e9f5ec: oklch(95.9% 0.0174 153.6);
  --shadow-lg: 0 2px 4px color-mix(in oklch, var(--shade-2) 4%, transparent), 0 30px 70px -28px color-mix(in oklch, var(--shade) 38%, transparent);
  scroll-margin-top: 24px;
}
.app__grid{ display:grid; gap: 56px; }
@media (min-width: 981px){ .app__grid{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px, 6vw, 112px); align-items: stretch; } }
.app__copy{ display:flex; flex-direction: column; }
@media (min-width: 981px){ .app__copy .app__cta{ margin-top: auto; padding-top: var(--space-xl); } }
.points{ margin-top: var(--space-xl); display:grid; gap: var(--space-md); }
.points li{ display:flex; gap: var(--space-md); align-items:flex-start; }
.points .ico{ width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--color-leaf-soft); color: var(--color-leaf-deep); }
.points b{ display:block; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 650; letter-spacing: -.01em; }
.points span{ color: var(--color-ink-2); }
.app__cta{ display:flex; flex-wrap: wrap; align-items:center; gap: var(--space-md); margin-top: var(--space-xl); }
.app__when{ font-size: var(--text-sm); color: var(--color-ink-2); display:inline-flex; align-items:center; gap: 8px; }

.app__scene{ position: relative; justify-self: center; align-self: start; margin-bottom: 40px; }
@media (min-width: 981px){ .app__scene{ justify-self: end; margin-bottom: 0; } }
.app .phone{ height: var(--ph, 603px) !important; width: calc(var(--ph, 603px) * 390 / 732) !important;
  /* no drawn device: the app screen itself, on a hairline, like a screenshot */
  position: relative; border-radius: 34px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.app .phone__screen{ position: relative; height: 100%; overflow: hidden; background: var(--bg); }
/* the screen is drawn at iPhone size (390 × 732) and scaled to the frame */
.app .ios{ --k: var(--pk, .8238) !important;
  position: absolute; top: 0; left: 0; width: 390px; height: 732px;
  transform: scale(var(--k)); transform-origin: 0 0;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, var(--font-body);
  font-size: 17px; line-height: 1.35; }
.app .ios p{ margin: 0; }
.app .ios svg{ fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.app .ios__head{ display: flex; align-items: center; justify-content: space-between; padding: 14px 8px 8px; border-bottom: .5px solid var(--line-2); }
.app .ios__btn{ width: 44px; height: 44px; display: grid; place-items: center; }
.app .ios__btn svg{ width: 24px; height: 24px; stroke-width: 1.7; }
.app .ios__brand{ display: flex; flex-direction: column; align-items: center; gap: 3px; }
.app .ios__word{ width: 79px; height: 13px; fill: var(--ink) !important; stroke: none !important; }
.app .ios__brand small{ font-size: 12px; color: var(--ink-3); }
.app .ios__chat{ flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 14px 16px; overflow: hidden; }
.app .ios__you{ align-self: flex-end; max-width: 268px; margin: 0; padding: 10px 15px; border-radius: 21px; background: var(--c-f4ebdd); }
.app .ios__say{ margin: 0 4px; }
.app .ios__card{ border-radius: 24px; background: var(--surface); padding: 14px 16px; box-shadow: 0 1px 2px color-mix(in oklch, var(--ink) 4%, transparent), 0 10px 26px -8px color-mix(in oklch, var(--shade) 18%, transparent); display: flex; flex-direction: column; gap: 12px; }
.app .ios__shop{ display: flex; align-items: center; gap: 11px; }
.app .ios__shop b{ display: block; font-size: 16px; font-weight: 600; }
.app .ios__shop small{ display: block; font-size: 13px; color: var(--ink-3); }
.app .ios__tile{ width: 38px; height: 38px; border-radius: 12px; background: var(--bg-2); color: var(--gold-ink); display: grid; place-items: center; }
.app .ios__tile .ico{ width: 20px; height: 20px; }
.app .ios__lines{ list-style: none; margin: 0; padding: 0; font-size: 15px; }
.app .ios__lines li{ display: flex; justify-content: space-between; padding: 7px 0; border-top: .5px solid var(--line); }
.app .ios__lines em{ font-style: normal; color: var(--ink-3); }
.app .ios__lines b{ font-weight: 500; font-variant-numeric: tabular-nums; }
.app .ios__sum{ font-weight: 600; } .app .ios__sum b{ font-weight: 700; }
.app .ios__ok{ height: 40px; border-radius: 999px; background: var(--c-e9f5ec); color: var(--live-ink); font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.app .ios__ok svg{ width: 18px; height: 18px; stroke-width: 2.6; }
.app .ios__done{ width: 26px; height: 26px; flex: none; }
.app .ios__done circle{ fill: var(--live); stroke: none; }
.app .ios__done path{ stroke: var(--surface); stroke-width: 2.4; }
.app .ios__ready .ios__shop b{ font-size: 17px; }
.app .ios__steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; font-size: 12px; color: var(--ink-3); }
.app .ios__steps span{ display: flex; flex-direction: column; gap: 5px; }
.app .ios__steps i{ height: 4px; border-radius: 999px; background: var(--live); }
.app .ios__steps .is-now{ color: var(--live-ink); font-weight: 600; }
.app .ios__code{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--bg); }
.app .ios__code small{ display: block; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.app .ios__code > small{ max-width: 140px; text-align: right; }
.app .ios__code b{ display: block; font-size: 32px; font-weight: 600; letter-spacing: 4px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.app .ios__input{ margin: 4px 12px 16px; height: 46px; border-radius: 23px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 17px; color: var(--ink-3); }
.app .ios__input i{ width: 32px; height: 32px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; }
.app .ios__input svg{ width: 16px; height: 16px; stroke: var(--surface); stroke-width: 2.6; }
.app .ios__notif{ position: absolute; z-index: 3; top: 10px; left: 10px; right: 10px;
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; align-items: center;
  padding: 12px 14px; border-radius: 24px;
  background: color-mix(in oklch, var(--surface) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--ink) 6%, transparent), 0 18px 40px -16px color-mix(in oklch, var(--shade) 50%, transparent);
  font-size: 15px; line-height: 1.3; }
.app .ios__notif img{ border-radius: 9px; display: block; }
.app .ios__notif p:first-child{ display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.app .ios__notif p:first-child b{ color: var(--ink-2); font-weight: 600; letter-spacing: .02em; }
.app .ios__notif-t{ font-weight: 600; }
.app .app__bot{ position: absolute; right: calc(100% - 18px); bottom: 40px; width: clamp(120px, 11vw, 156px); }
.app .app__note{ position: absolute; left: 0; right: 0; top: calc(100% + 18px); margin: 0; text-align: center; font: italic 400 .9rem/1 var(--font-body); color: var(--ink-3); }
/* the moment: the shop's news arrives — the banner drops, the ready card
   slides into the chat, the banner goes back up like a real one */
.js .app__scene .ios__notif{ opacity: 0; transform: translateY(-130%); }
.js .app__scene .ios__ready{ opacity: 0; transform: translateY(18px); }
.app__scene .ios__ready{ transition: opacity .5s ease, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: 2.1s; }
.js .app__scene.is-in .ios__ready{ opacity: 1; transform: none; }
.js .app__scene.is-in .ios__notif{ animation: iosNotif 5.2s cubic-bezier(.16, 1, .3, 1) 1.4s both; }
@keyframes iosNotif{
  0%{ opacity: 0; transform: translateY(-130%); }
  12%{ opacity: 1; transform: none; }
  78%{ opacity: 1; transform: none; }
  100%{ opacity: 0; transform: translateY(-130%); }
}
@media (max-width: 520px){
  .app__scene{ margin-left: 60px; }
  .app .app__bot{ right: calc(100% - 22px); width: 92px; bottom: 54px; }
}
@media (prefers-reduced-motion: reduce){
  .js .app__scene .ios__ready{ opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .app__scene .ios__notif{ display: none; }
}

/* Vision */
.road{ margin-top: var(--space-2xl); display:grid; gap: var(--space-md); grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px){ .road{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1040px){ .road{ grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stop{ --stripe: 20px; position: relative; border-radius: var(--radius); background: var(--color-card); border: var(--rule); overflow: hidden; }
.stop .awning{ height: 18px; }
.stop .awning::after{ height: 10px; }
.stop:not(.stop--live){ background: transparent; border-style: dashed; }
.stop:not(.stop--live) .awning{ background: repeating-linear-gradient(90deg, var(--color-paper-3) 0 var(--stripe), var(--color-paper) var(--stripe) calc(var(--stripe) * 2)); }
.stop__body{ padding: 26px 20px 22px; }
.stop__icon img{ width: 44px; height: 44px; }
.stop__name{ font-size: var(--text-xl); font-weight: 700; margin-top: var(--space-md); display:flex; flex-wrap: wrap; align-items:center; gap: 8px; }
.stop__desc{ margin-top: 6px; color: var(--color-ink-2); }
.closing{ margin-top: var(--space-3xl); font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 650; letter-spacing: -.025em; line-height: 1.08; max-width: 22ch; }
.closing em{ font-style: normal; color: var(--color-leaf); text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .12em; text-decoration-color: var(--color-persimmon); }

/* Businesses */
.biz{ background: var(--color-paper-2); }
.biz__grid{ display:grid; gap: var(--space-xl, 32px); align-items:center; }
.biz .btn{ margin-top: var(--space-lg); }
.biz .perks{ margin: 0; }
@media (min-width: 980px){ .biz__grid{ gap: var(--space-3xl); } }
.biz__promo{ display:inline-flex; align-items:center; gap:.5em; margin: var(--space-md) 0 0; font-weight:600; color: var(--color-persimmon-ink, oklch(52% 0.17 34)); }
@media (min-width: 980px){ .biz__grid{ grid-template-columns: minmax(0,1fr) minmax(0, .95fr); } }
.perks{ margin-block: var(--space-xl); display:grid; gap: var(--space-sm); }
.perks li{ display:flex; gap: var(--space-sm); align-items:flex-start; }
.perks .ico{ color: var(--color-leaf); margin-top: 3px; }

/* Contact */
.contact__grid{ display:grid; gap: var(--space-2xl); }
@media (min-width: 980px){ .contact__grid{ grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-3xl); } }
.mail{ display:inline-block; margin-top: var(--space-lg); font-family: var(--font-display); font-weight: 650; font-size: var(--text-xl); color: var(--color-leaf); text-decoration-color: var(--color-persimmon); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mail:hover{ color: var(--color-leaf-deep); }
.form{ background: var(--color-card); border: var(--rule); border-radius: var(--radius-lg); padding: var(--space-lg); display:grid; gap: var(--space-md); }
@media (min-width: 720px){ .form{ padding: var(--space-xl); } }
.form__row{ display:grid; gap: var(--space-md); }
@media (min-width: 640px){ .form__row{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.field{ display:grid; gap: 6px; }
.field__label{ font-weight: 600; font-size: var(--text-sm); }
.field__label i{ font-weight: 400; color: var(--color-muted); }
.field__input{ width: 100%; font: inherit; color: var(--color-ink); background: var(--color-paper); border: 1.5px solid var(--color-rule); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color var(--dur-fast) var(--ease-out); }
.field__input:hover{ border-color: var(--color-muted); }
.field__input:focus-visible{ outline: 3px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-ink); }
.field__input[aria-invalid="true"]{ border-color: var(--color-persimmon-ink); }
textarea.field__input{ resize: vertical; min-height: 120px; }
.form__trap{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form__act{ display:flex; flex-wrap: wrap; align-items:center; gap: var(--space-md); }
.form__status{ font-size: var(--text-sm); color: var(--color-ink-2); }
.form__status.is-error{ color: var(--color-persimmon-ink); }

/* Footer */
.foot{ background: var(--color-leaf-deep); color: var(--color-on-dark); }
.foot .awning{ --stripe: 36px; height: 0; }
.foot .awning::after{ top: 0; background: repeating-linear-gradient(90deg, var(--color-paper) 0 var(--stripe), transparent var(--stripe) calc(var(--stripe) * 2)); height: 18px; }
.foot__mast{ display:grid; gap: var(--space-xl); padding-block: var(--space-3xl) var(--space-2xl); }
@media (min-width: 900px){ .foot__mast{ grid-template-columns: auto minmax(0,1fr) auto; align-items: end; } }
.foot__brand svg{ width: 170px; height:auto; }
.foot__tag{ font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; max-width: 30ch; color: var(--color-on-dark-2); }
.foot__index ul{ display:flex; flex-wrap: wrap; gap: 10px 22px; }
.foot__index a, .foot__links a, .foot__cookie{ text-decoration: none; white-space: nowrap; color: var(--color-on-dark); }
.foot__index a:hover, .foot__links a:hover, .foot__cookie:hover{ text-decoration: underline; text-underline-offset: 4px; }
.foot__legal{ display:flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-lg) var(--space-xl); border-top: 1.5px solid oklch(84% 0.04 140 / .3); font-size: var(--text-sm); color: var(--color-on-dark-2); }
.foot__links{ display:flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__cookie{ background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

@media (max-width: 599px){
  .sec{ padding-block: var(--space-3xl); }
  .band{ padding-bottom: var(--space-3xl); }
  .band__grid{ padding-top: var(--space-3xl); }
  .hero__cta .btn{ flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ transition-duration: 120ms !important; animation: none !important; }
  .verb__w{ transform: none; }
  .track__fill{ transform: none !important; }
  .btn:hover .ico{ transform: none; }
}

/* ---------- Form states (site.js waitlist) ---------- */
.form__status.is-ok{ color: var(--color-leaf-deep); font-weight: 600; }
.form__status.is-bad{ color: var(--color-persimmon-ink); }
.form.is-sending .btn[type="submit"]{ opacity: .7; cursor: progress; }

/* ---------- Cookie choice bar (injected by consent.js) ---------- */
.consent{ position: fixed; z-index: 80; left: 50%; bottom: 20px; width: min(calc(100% - 32px), 760px);
  transform: translate(-50%, 16px); opacity: 0; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  display: flex; align-items: center; gap: 20px; padding: 16px 18px 16px 22px;
  background: var(--color-card); color: var(--color-ink-2); border: var(--rule-ink); border-radius: var(--radius); }
.consent.is-in{ opacity: 1; transform: translate(-50%, 0); }
.consent__text{ margin: 0; font-size: var(--text-sm); line-height: 1.5; }
.consent__text b{ color: var(--color-ink); }
.consent__text a{ color: var(--color-leaf); }
.consent__actions{ display: flex; gap: 8px; flex: none; }
@media (max-width: 640px){
  .consent{ flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; }
  .consent__actions .btn{ flex: 1; justify-content: center; }
}

/* ---------- Market page ---------- */
.mhero{ padding-block: var(--space-xl) var(--space-4xl); }
.mhero__grid{ display:grid; gap: var(--space-3xl); align-items: start; }
@media (min-width: 980px){ .mhero__grid{ grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.mhero__title{ font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.25rem); font-weight: 780; line-height: .98; letter-spacing: -.035em; font-variation-settings: "opsz" 96; max-width: 14ch; }
.mhero .lede{ margin-top: var(--space-lg); }
.mhero .status{ cursor: default; }
.mhero .hero__meta{ flex-direction: row; }
.cart__opts{ display:block; color: var(--color-muted); font-size: var(--text-xs); }
.sec__label{ font-weight: 600; font-size: var(--text-sm); color: var(--color-persimmon-ink); margin-bottom: var(--space-sm); }
.bsteps{ margin-top: var(--space-2xl); display:grid; gap: var(--space-md); grid-template-columns: minmax(0,1fr); }
@media (min-width: 860px){ .bsteps{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
.bstep{ background: var(--color-card); border: var(--rule); border-radius: var(--radius); padding: var(--space-lg); }
.bstep__n{ width: 40px; height: 40px; border-radius: 50%; display:grid; place-items:center; font: 500 var(--text-md)/1 var(--font-mono); background: var(--color-leaf); color: var(--color-on-dark); }
.h-sub{ font-size: var(--text-lg); font-weight: 700; margin-top: var(--space-md); letter-spacing: -.01em; line-height: 1.2; }
.bstep p, .feat p{ margin-top: 6px; color: var(--color-ink-2); }
code{ font-family: var(--font-mono); font-size: .9em; background: var(--color-paper-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.sellers{ background: var(--color-paper-2); }
.sellers__grid{ display:grid; gap: var(--space-3xl); align-items: start; }
@media (min-width: 980px){ .sellers__grid{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.sellers__copy{ display:grid; gap: var(--space-lg); justify-items: start; }
.sellers__copy .lede{ margin-top: 0; }
.sellers__fee{ color: var(--color-ink-2); }
.sellers__fee b{ color: var(--color-ink); }
.sellers__fee .promo-ink{ color: var(--color-persimmon-ink); }
.feat{ display:grid; gap: var(--space-md); }
.feat li{ display:flex; gap: var(--space-md); align-items:flex-start; background: var(--color-card); border-radius: var(--radius); padding: var(--space-lg); }
.feat__ico{ width: 44px; height: 44px; border-radius: 50%; background: var(--color-leaf-soft); color: var(--color-leaf-deep); display:grid; place-items:center; flex:none; }
.feat .h-sub{ margin-top: 0; }
.places{ margin-top: var(--space-2xl); display:grid; gap: var(--space-xl) var(--space-lg); grid-template-columns: minmax(0,1fr); }
@media (min-width: 860px){ .places{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
.place{ position: relative; padding-top: 26px; }
.place::before,.place::after{ content:""; position:absolute; top: 0; width: 2px; height: 26px; background: var(--color-ink-2); }
.place::before{ left: 24%; } .place::after{ right: 24%; }
.place__board{ border-radius: var(--radius); padding: var(--space-lg); background: var(--color-leaf-deep); color: var(--color-on-dark); box-shadow: inset 0 0 0 5px var(--color-leaf-deep), inset 0 0 0 6.5px var(--color-on-dark-2); height: 100%; }
.place--alt .place__board{ background: var(--color-persimmon-ink); box-shadow: inset 0 0 0 5px var(--color-persimmon-ink), inset 0 0 0 6.5px var(--color-persimmon-soft); }
.place--next .place__board{ background: var(--color-card); color: var(--color-ink); box-shadow: none; border: 2px dashed var(--color-rule); }
.place h3{ font-size: var(--text-2xl); font-weight: 750; margin-top: var(--space-sm); }
.place p{ margin-top: var(--space-xs); color: var(--color-on-dark-2); }
.place--alt p{ color: var(--color-persimmon-soft); }
.place--next p{ color: var(--color-ink-2); }
.place .tag{ background: var(--color-on-dark); color: var(--color-ink); }
.place--next .tag{ background: var(--color-paper-2); color: var(--color-ink-2); }

/* ---------- Nav links (legal pages) ---------- */
.nav__links{ display:flex; flex-wrap: wrap; gap: 4px 6px; }
.nav__links a{ display:block; padding: 8px 12px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 500; font-size: var(--text-sm); white-space: nowrap; color: var(--color-ink-2); }
.nav__links a:hover{ background: var(--color-paper-2); color: var(--color-ink); }
.nav__links a[aria-current="page"]{ background: var(--color-leaf-soft); color: var(--color-leaf-deep); }
.legal-site .nav__inner{ flex-wrap: wrap; }
@media (max-width: 900px){ .legal-site .nav__inner nav{ order: 3; width: 100%; } }

/* ---------- Legal pages (/legal/*, generated by `npm run build:legal`) ---------- */
.legal-wrap{ padding-block: var(--space-2xl) var(--space-4xl); }
.legal-doc{ max-width: 72ch; color: var(--color-ink-2); font-size: var(--text-md); line-height: 1.7; }
.legal-doc h1{ font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); font-weight: 780; letter-spacing: -.03em; color: var(--color-ink); margin: 0 0 var(--space-lg); }
.legal-doc h2{ font-size: var(--text-xl); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; color: var(--color-ink); margin: var(--space-3xl) 0 var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule); scroll-margin-top: var(--space-xl); }
.legal-doc h3{ font-size: var(--text-lg); font-weight: 650; line-height: 1.3; color: var(--color-ink); margin: var(--space-xl) 0 var(--space-xs); scroll-margin-top: var(--space-xl); }
.legal-doc p{ margin: 0 0 var(--space-md); }
.legal-doc ul, .legal-doc ol{ margin: 0 0 18px; padding-left: 1.2em; list-style: disc; }
.legal-doc ol{ list-style: decimal; }
.legal-doc li{ margin: 0 0 10px; padding-left: .2em; }
.legal-doc li::marker{ color: var(--color-leaf); }
.legal-doc strong{ color: var(--color-ink); font-weight: 650; }
.legal-doc a{ color: var(--color-leaf); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-doc a:hover{ color: var(--color-leaf-deep); }
.legal-doc .meta{ font-size: var(--text-sm); color: var(--color-muted); margin: 0 0 6px; }
.legal-doc .meta strong{ color: var(--color-ink-2); }
.legal-doc table{ width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: var(--text-sm); display: block; overflow-x: auto; }
.legal-doc th, .legal-doc td{ text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: var(--rule); }
.legal-doc th{ color: var(--color-ink); font-weight: 650; background: var(--color-paper-2); }
.legal-doc blockquote{ margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 3px solid var(--color-persimmon); color: var(--color-ink-2); }
.legal-doc .analytics-opt-out{ margin: 8px 0 22px; }
.legal-doc .analytics-opt-out fieldset{ margin: 0; padding: 16px 18px; border: var(--rule); border-radius: var(--radius-sm); background: var(--color-card); }
.legal-doc .analytics-opt-out__legend{ padding: 0 6px; font-family: var(--font-display); font-weight: 650; color: var(--color-ink); }
.legal-doc .analytics-opt-out__choice{ display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.legal-doc .analytics-opt-out__choice input{ accent-color: var(--color-leaf); width: 18px; height: 18px; }
.legal-doc .analytics-opt-out__status{ margin: 10px 0 0; font-size: var(--text-sm); color: var(--color-muted); }
.foot--legal .foot__legal{ border-top: 0; padding-top: var(--space-2xl); }
