/* Chicagoland Gluten-Free Collective — app-style UI, one stylesheet, no framework. */
@font-face { font-family: "Inter"; src: url("../fonts/inter.260c81a4759b.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.fa7ce081be5e.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #F6F7F4;
  --panel: #FFFFFF;
  --card: #FFFFFF;
  --soft: #EFF2EC;
  --input: #F3F5F1;
  --ink: #111814;
  --ink-2: #2E3833;
  --muted: #69736D;
  --line: #E4E8E1;
  --brand: #15803D;
  --brand-ink: #14532D;
  --brand-soft: #E3F4E8;
  --star: #EF3340;
  --danger: #C2362B;
  --danger-soft: #FCE8E6;
  --shadow: 0 1px 2px rgba(17, 24, 20, .04), 0 4px 16px -6px rgba(17, 24, 20, .08);
  --shadow-lg: 0 24px 48px -16px rgba(17, 24, 20, .25);
  --r: 20px;
  --r-sm: 12px;
  --side: 264px;
  --tabbar: 68px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-green: #E3F4E8;  --t-green-i: #15803D;
  --t-sky: #E0F2FB;    --t-sky-i: #0B7DB3;
  --t-amber: #FDF1DC;  --t-amber-i: #B26A00;
  --t-rose: #FDE7EA;   --t-rose-i: #C0263A;
  --t-violet: #EEE9FC; --t-violet-i: #6941C6;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0E1311;
    --panel: #121815;
    --card: #161D19;
    --soft: #1C2520;
    --input: #1C2420;
    --ink: #EEF2EF;
    --ink-2: #CFD7D2;
    --muted: #8E9A93;
    --line: #26302B;
    --brand: #34C26A;
    --brand-ink: #0F3D22;
    --brand-soft: #173524;
    --danger: #FF7468;
    --danger-soft: #3A1D1A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, .6);
    --t-green: #173524;  --t-green-i: #5EDC8F;
    --t-sky: #12303F;    --t-sky-i: #6CC8F2;
    --t-amber: #3A2B12;  --t-amber-i: #F2B85C;
    --t-rose: #3D1A20;   --t-rose-i: #FF8A99;
    --t-violet: #2A2247; --t-violet-i: #B9A3FF;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img, svg { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1rem; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.lead { color: var(--muted); font-size: 1.05rem; margin-top: .5rem; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.icon { flex: none; }

/* ---------- App shell ---------- */
.sidebar { display: none; }
.main { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.content { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 20px 16px calc(var(--tabbar) + 32px + env(safe-area-inset-bottom)); }

.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.topbar__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.topbar__brand:hover { text-decoration: none; }
.topbar__title { display: none; font-weight: 600; }
.rev-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: .84rem; box-shadow: var(--shadow); white-space: nowrap; }
.rev-chip:hover { text-decoration: none; border-color: var(--brand); }
.rev-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.rev-chip__label { color: var(--muted); }
.rev-chip strong { font-variant-numeric: tabular-nums; }
.rev-chip__sep { width: 1px; height: 14px; background: var(--line); margin: 0 2px; }

.foot { display: none; }

.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding: 6px 8px env(safe-area-inset-bottom); background: color-mix(in srgb, var(--panel) 86%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: .7rem; font-weight: 600; border-radius: 14px; -webkit-tap-highlight-color: transparent; }
.tab:hover { text-decoration: none; color: var(--ink); }
.tab.is-active { color: var(--brand); }
.tab--cta { color: var(--ink); }
.tab__bubble { width: 36px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.tab--cta.is-active { color: var(--brand); }

.sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 86dvh; border: 0; border-radius: 24px 24px 0 0; padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.sheet[open] { animation: sheet-up .28s cubic-bezier(.2, .9, .3, 1); }
.sheet::backdrop { background: rgba(10, 14, 12, .45); backdrop-filter: blur(2px); animation: fade .2s; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.sheet__grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 14px; }
.sheet__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; padding: 0 4px; }
.sheet__head h2 { font-size: 1.5rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; }

/* ---------- Building blocks ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; }
.card--flush { padding: 6px; }
.card--soft { background: var(--soft); border-color: transparent; box-shadow: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font: 600 .95rem/1 var(--font); cursor: pointer; transition: transform .12s, filter .12s, background .12s; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: scale(.98); }
.btn--lg { height: 50px; padding: 0 22px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 44px; padding-block: 12px; }
.btn--ghost { background: var(--soft); color: var(--ink); }
.btn--ghost:hover { filter: none; background: var(--line); }
@media (prefers-color-scheme: dark) { .btn { color: #06200F; } .tab__bubble { color: #06200F; } }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .76rem; font-weight: 600; margin-bottom: 14px; }

.tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--t-green); color: var(--t-green-i); }
.tile--sm { width: 28px; height: 28px; border-radius: 8px; }
.tile--lg { width: 52px; height: 52px; border-radius: 15px; }
.tile--xl { width: 72px; height: 72px; border-radius: 20px; }
.tile--green { background: var(--t-green); color: var(--t-green-i); }
.tile--sky { background: var(--t-sky); color: var(--t-sky-i); }
.tile--amber { background: var(--t-amber); color: var(--t-amber-i); }
.tile--rose { background: var(--t-rose); color: var(--t-rose-i); }
.tile--violet { background: var(--t-violet); color: var(--t-violet-i); }

.list { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; color: var(--ink); }
.row:hover { text-decoration: none; background: var(--soft); }
.row--lg { padding: 16px 14px; }
.row__text { flex: 1; min-width: 0; }
.row__text strong { display: block; font-weight: 600; }
.row__text small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.row__chev { color: var(--muted); }
.list > li + li .row { position: relative; }
.list > li + li .row::before { content: ""; position: absolute; top: 0; left: 66px; right: 12px; border-top: 1px solid var(--line); }
.row:hover::before, li:hover + li .row::before { opacity: 0; }

.meter { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--soft); overflow: hidden; color: var(--brand); }
.meter::-webkit-progress-bar { background: var(--soft); border-radius: 999px; }
.meter::-webkit-progress-value { background: var(--brand); border-radius: 999px; }
.meter::-moz-progress-bar { background: var(--brand); border-radius: 999px; }
.meter--lg { height: 10px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ticks .icon { color: var(--brand); margin-top: 2px; }

.toast { padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); color: var(--ink); margin-bottom: 16px; font-weight: 500; }
.toast--error { background: var(--danger-soft); color: var(--danger); }
.toast ul { margin: 0; padding-left: 1rem; }

.section-title { font-size: 1.35rem; margin: 40px 0 16px; }
.section-title--sm { font-size: 1.05rem; margin: 32px 0 12px; }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: .9rem; }

/* ---------- Home ---------- */
.stats { display: grid; gap: 12px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.stat__label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.stat__value { font-size: clamp(2.1rem, 6vw, 3.25rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__of { font-size: .45em; color: var(--muted); letter-spacing: -.01em; font-weight: 600; }
.stat__sub { font-size: .86rem; color: var(--muted); }
.stat--hero { background: radial-gradient(120% 140% at 100% 0%, #1F8A4C 0%, #14532D 55%, #0D3B20 100%); border-color: transparent; color: #fff; position: relative; overflow: hidden; }
.stat--hero::after { content: ""; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; background: url("../img/mark.e822b89e781f.svg") center/contain no-repeat; opacity: .08; transform: rotate(12deg); }
.stat--hero .stat__label, .stat--hero .stat__sub { color: rgba(255, 255, 255, .78); }
.hero-stats { margin-bottom: 16px; display: grid; gap: 18px; }
.hero-stats__main, .hero-stats__side { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.hero-stats__side { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: 1fr auto; align-items: end; padding: 28px; }
  .hero-stats__side { padding: 0 0 0 28px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .18); min-width: 180px; }
}

.letter { padding: 24px 20px; }
.letter__head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #22A05A, #14532D); color: #fff; font-weight: 700; letter-spacing: .02em; }
.letter__from { font-size: .86rem; color: var(--muted); }
.letter__from strong { color: var(--ink); font-weight: 600; }
.letter__title { font-size: 1.3rem; margin-top: 2px; }
.prose { color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.letter__lede { font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.letter__sign { display: flex; flex-direction: column; margin-top: 24px; }
.signature { font: italic 500 1.75rem/1.2 "Fraunces", Georgia, serif; color: var(--ink); }
.letter__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.letter__promise { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: .86rem; color: var(--muted); }
.letter__promise .icon { color: var(--brand); }

.launcher { margin-bottom: 28px; }
.launcher__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.app-tile { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.app-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: transparent; }
.app-tile .tile { margin-bottom: 6px; }
.app-tile strong { font-weight: 600; letter-spacing: -.01em; }
.app-tile small { color: var(--muted); font-size: .82rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Hubs & placeholders ---------- */
.page-head { margin: 8px 0 20px; }
.page-head--icon { display: flex; flex-direction: column; gap: 16px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.preview h2 { margin-bottom: 14px; }

/* ---------- Join ---------- */
.join { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.wizard { padding: 20px; }
.wizard__top { margin-bottom: 20px; }
.wizard__title { font-size: 1.6rem; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; }
.steps__item { font-size: 0; height: 6px; border-radius: 999px; background: var(--soft); transition: background .25s; }
.steps__item.is-done, .steps__item.is-current { background: var(--brand); }
.steps__item.is-current { opacity: .55; }
.wizard__count { font-size: .84rem; color: var(--muted); margin-top: 8px; min-height: 1.3em; }
.step { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.step legend { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; padding: 0; }
.is-wizard .step { display: none; margin: 0; }
.is-wizard .step.is-current { display: block; animation: step-in .25s ease-out; }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } }
.grid { display: grid; gap: 14px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; min-height: 48px; font: inherit; font-size: 16px; color: var(--ink); background: var(--input); border: 1.5px solid transparent; border-radius: var(--r-sm); padding: 11px 14px; transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%2369736D' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--card); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.has-error input, .has-error select, .has-error textarea, .field input[aria-invalid=true] { border-color: var(--danger); background: var(--danger-soft); }
.affix { display: flex; }
.affix__text { display: grid; place-items: center; padding: 0 14px; background: var(--soft); border-radius: var(--r-sm) 0 0 var(--r-sm); color: var(--muted); font-weight: 600; }
.affix input { border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.error { font-size: .82rem; color: var(--danger); margin-top: 6px; font-weight: 600; }
.switch { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--input); border-radius: var(--r-sm); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { order: 2; margin-left: auto; width: 46px; height: 28px; flex: none; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch input:checked + .switch__ui { background: var(--brand); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.switch small { display: block; color: var(--muted); font-size: .82rem; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--input); border-radius: var(--r-sm); cursor: pointer; border: 1.5px solid transparent; }
.check.has-error { border-color: var(--danger); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.review { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .9rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; white-space: pre-line; }
.secure { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wizard__nav { display: flex; gap: 10px; justify-content: flex-end; padding-top: 16px; border-top: 1px solid var(--line); }
.wizard__nav [data-prev] { margin-right: auto; }
.wizard__nav .btn[hidden] { display: none; }
.is-wizard .wizard__nav { position: sticky; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); background: var(--card); margin: 0 -20px -20px; padding: 14px 20px; border-radius: 0 0 var(--r) var(--r); }
.offer__price { font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 2px 0 14px; }
.offer__price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.offer__goal { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.offer__goal strong { color: var(--ink); }
.offer__h { font-size: .95rem; margin: 22px 0 10px; }
.guarantee { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin-top: 12px; }
.guarantee .icon { color: var(--brand); }
.mor { display: flex; gap: 8px; margin-top: 12px; padding: 0 4px; }
.join__aside .card + .card { margin-top: 12px; }

/* ---------- Outcome ---------- */
.outcome { max-width: 620px; margin: 24px auto; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.outcome .lead { margin: 0 auto; }
.outcome__badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); margin-bottom: 6px; }
.outcome__badge--ok { background: var(--brand-soft); color: var(--brand); animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.outcome__meter { width: 100%; max-width: 360px; margin: 8px 0; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.outcome__meter strong { color: var(--ink); }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .content { padding: 28px 24px calc(var(--tabbar) + 40px); }
  .stats { grid-template-columns: 1.5fr 1fr; }
  .stat { padding: 24px; }
  .letter { padding: 36px 40px; }
  .apps { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid--address { grid-template-columns: 2fr 1.1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .wizard { padding: 28px; }
  .is-wizard .wizard__nav { margin: 0 -28px -28px; padding: 16px 28px; }
  .page-head--icon { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
  .sidebar { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: var(--side); padding: 18px 14px; background: var(--panel); border-right: 1px solid var(--line); overflow-y: auto; z-index: 35; }
  .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: var(--ink); }
  .brand:hover { text-decoration: none; }
  .brand__text strong { display: block; font-size: .95rem; letter-spacing: -.02em; line-height: 1.2; }
  .brand__text small { display: block; font-size: .76rem; color: var(--muted); }
  .side-nav { display: flex; flex-direction: column; gap: 2px; }
  .side-head { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 18px 10px 6px; }
  .side-head a { color: var(--muted); }
  .side-link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .92rem; }
  .side-link > .icon { margin: 0 4px; color: var(--muted); }
  .side-link:hover { text-decoration: none; background: var(--soft); color: var(--ink); }
  .side-link.is-active { background: var(--soft); color: var(--ink); font-weight: 600; }
  .side-card { margin-top: auto; padding: 16px; border-radius: 16px; background: var(--soft); display: grid; gap: 8px; }
  .side-card__label { font-size: .78rem; font-weight: 600; color: var(--muted); }
  .side-card__value { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
  .side-card__value span { font-size: .9rem; color: var(--muted); font-weight: 600; }
  .side-card .btn { margin-top: 6px; height: 40px; }
  .side-card__free { text-align: center; font-size: .84rem; font-weight: 600; }
  .side-card .meter::-webkit-progress-bar { background: var(--line); }
  .main { margin-left: var(--side); }
  .topbar { padding: 0 32px; height: 64px; }
  .topbar__brand { display: none; }
  .topbar__title { display: block; }
  .tabbar { display: none; }
  .content { padding: 32px 32px 56px; }
  .foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1080px; width: 100%; margin: 0 auto; padding: 20px 32px 28px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
  .join { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
  .join__aside { position: sticky; top: 84px; }
  .is-wizard .wizard__nav { position: static; margin: 0; padding: 16px 0 0; background: none; }
  .sheet { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 480px; border-radius: 24px; }
  .sheet[open] { animation: fade .2s; }
  .sheet__grab { display: none; }
}
@media (max-width: 639px) {
  .rev-chip__label:not(.rev-chip__label--keep) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Demo screens ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pill--muted { background: var(--soft); color: var(--muted); }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.empty { padding: 24px; text-align: center; color: var(--muted); list-style: none; }
.btn--sm { height: 36px; padding: 0 14px; font-size: .88rem; border-radius: 10px; }
.toolbar { margin-bottom: 12px; }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; color: var(--muted); box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); height: 46px; outline: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: .86rem; font-weight: 600; }
.chip:hover { text-decoration: none; border-color: var(--brand); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.avatar--sm { width: 30px; height: 30px; font-size: .72rem; }
.avatar--xl { width: 72px; height: 72px; font-size: 1.4rem; border-radius: 20px; }
.avatar--green { background: var(--t-green); color: var(--t-green-i); }
.avatar--sky { background: var(--t-sky); color: var(--t-sky-i); }
.avatar--amber { background: var(--t-amber); color: var(--t-amber-i); }
.avatar--rose { background: var(--t-rose); color: var(--t-rose-i); }
.avatar--violet { background: var(--t-violet); color: var(--t-violet-i); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.biz-card { display: flex; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); height: 100%; transition: transform .15s, box-shadow .15s; }
.biz-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.biz-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.biz-card__body small { color: var(--muted); font-size: .82rem; }
.biz-card__tag { font-size: .9rem; color: var(--ink-2); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.badge { font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.badge--gf { background: var(--brand-soft); color: var(--brand); }
.badge--star { background: var(--t-amber); color: var(--t-amber-i); }
.profile__head { display: flex; flex-direction: column; gap: 14px; }
.profile__story { margin: 20px 0; font-size: 1.02rem; color: var(--ink-2); line-height: 1.7; }
.kv { display: grid; gap: 14px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.kv dt { font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kv dd { margin: 2px 0 0; }
.row__end { text-align: right; display: flex; flex-direction: column; flex: none; }
.row__end small { color: var(--muted); font-size: .76rem; }
.row__end .save { color: var(--brand); font-weight: 600; }
.row__end s { color: var(--muted); font-weight: 400; }
.fest-hero { border-radius: 24px; padding: 24px; color: #fff; background: radial-gradient(120% 120% at 0% 0%, #22A05A 0%, #14532D 50%, #0B2E1A 100%); position: relative; overflow: hidden; }
.fest-hero .pill { background: rgba(255, 255, 255, .14); color: #fff; }
.fest-hero__date { font-weight: 600; color: #A7F3C4; margin-bottom: 4px; }
.fest-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.fest-hero__tag { color: rgba(255, 255, 255, .8); margin-top: 6px; font-size: 1.05rem; }
.fest-hero__facts { display: grid; gap: 12px; margin-top: 20px; }
.fest-hero__facts div { background: rgba(255, 255, 255, .09); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.fest-hero__facts small { color: rgba(255, 255, 255, .65); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.fest-hero__facts span { color: rgba(255, 255, 255, .85); font-size: .9rem; }
.fest-desc { margin: 18px 0 0; }
.map-wrap { padding: 10px; }
.map { width: 100%; height: auto; max-height: 560px; }
.map__ground { fill: #E8F2E2; stroke: #CFE3C6; stroke-width: .5; }
.map__path { stroke: #fff; stroke-width: 3; stroke-linecap: round; fill: none; }
.map__zone { stroke-width: .4; }
.map__zone--stage { fill: #EEE9FC; stroke: #CBBEF5; }
.map__zone--food { fill: #FDF1DC; stroke: #F3D6A1; }
.map__zone--garden { fill: #E0F2FB; stroke: #A9DBF2; }
.map__pt circle { fill: #15803D; stroke: #fff; stroke-width: .8; transition: r .15s; }
.map__pt text { fill: #fff; font: 700 2.6px var(--font); text-anchor: middle; pointer-events: none; }
.map__pt--stage circle { fill: #6941C6; } .map__pt--food circle { fill: #B26A00; } .map__pt--info circle, .map__pt--entrance circle { fill: #0B7DB3; }
.map__pt--restroom circle, .map__pt--parking circle { fill: #69736D; }
.map__pt:hover circle, .map__pt.is-hot circle { fill: #EF3340; }
@media (prefers-color-scheme: dark) { .map__ground { fill: #15251B; stroke: #24382B; } .map__path { stroke: #22352A; } .map__zone { opacity: .35; } }
.legend-grid { display: grid; gap: 4px 20px; }
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.product { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.product__art { aspect-ratio: 4 / 3; display: grid; place-items: center; font-weight: 800; font-size: 1.8rem; letter-spacing: -.04em; }
.product__art--green { background: var(--t-green); color: var(--t-green-i); } .product__art--sky { background: var(--t-sky); color: var(--t-sky-i); }
.product__art--amber { background: var(--t-amber); color: var(--t-amber-i); } .product__art--rose { background: var(--t-rose); color: var(--t-rose-i); }
.product__art--violet { background: var(--t-violet); color: var(--t-violet-i); }
.product__body { padding: 12px 12px 4px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.product__maker { font-size: .74rem; font-weight: 600; color: var(--muted); }
.product__name { font-weight: 600; line-height: 1.3; }
.product__body small { font-size: .78rem; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 12px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper__btn { width: 32px; height: 32px; border-radius: 10px; border: 0; background: var(--soft); color: var(--ink); font-size: 1.1rem; font-weight: 600; cursor: pointer; }
.stepper__btn:hover { background: var(--brand-soft); color: var(--brand); }
.stepper__q { min-width: 22px; text-align: center; font-weight: 700; }
.cartbar { position: fixed; z-index: 38; left: 16px; right: 16px; bottom: calc(var(--tabbar) + 12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); font-weight: 600; }
.cartbar:hover { text-decoration: none; }
.cartbar strong { margin-left: auto; }
.cartbar__count { min-width: 26px; height: 26px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .82rem; }
.two-col { display: grid; gap: 16px; align-items: start; }
.checkout { display: grid; gap: 14px; }
.total-row { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.supply-row { flex-wrap: wrap; }
.supply-row .row__text { flex: 1 1 200px; }
.qty input { width: 72px; height: 42px; text-align: center; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: var(--input); border: 1.5px solid transparent; border-radius: 10px; }
.qty input:focus { outline: none; border-color: var(--brand); background: var(--card); }
.supply__checkout { margin-top: 20px; }
.as-bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; margin-bottom: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.as-bar__label { font-size: .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.as-bar select { flex: 1; min-width: 0; height: 36px; font: inherit; font-weight: 600; color: var(--ink); background: var(--soft); border: 0; border-radius: 10px; padding: 0 10px; }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event { display: flex; gap: 16px; }
.event__date { flex: none; width: 56px; height: 62px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event__date span { font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.event__date strong { font-size: 1.5rem; line-height: 1; }
.event__body { flex: 1; min-width: 0; }
.event__body h2 { font-size: 1.1rem; margin-bottom: 4px; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--ink-2); margin: 10px 0 12px; }
.event__meta .warn { color: var(--t-amber-i); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; background: var(--brand-soft); color: var(--brand); }
.status--waitlist { background: var(--t-amber); color: var(--t-amber-i); }
.reg summary { list-style: none; display: inline-flex; }
.reg summary::-webkit-details-marker { display: none; }
.reg[open] summary { display: none; }
.reg__form { display: grid; gap: 12px; margin-top: 4px; }
.stats--3 { grid-template-columns: 1fr; }
.stat__value--sm { font-size: 1.6rem; letter-spacing: -.03em; }
.page-head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--star); color: #fff; font-size: .9rem; vertical-align: middle; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alert { display: flex; gap: 14px; position: relative; }
.alert.is-unread { border-color: var(--brand); }
.alert.is-unread::after { content: ""; position: absolute; top: 18px; right: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.alert__title { padding-right: 20px; margin-bottom: 4px; }
.alert__time { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.console { margin-top: 28px; }
.console .section-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.console .pill { margin: 0; }
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
  .products { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
  .fest-hero { padding: 36px; }
  .fest-hero__facts { grid-template-columns: repeat(3, 1fr); }
  .legend-grid { grid-template-columns: 1fr 1fr; }
  .profile__head { flex-direction: row; align-items: center; }
  .kv { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (min-width: 1024px) {
  .cartbar { left: auto; right: 32px; bottom: 24px; width: 320px; }
}

/* ---------- Order alerts (detailed) ---------- */
.stat__value small { font-size: .5em; color: inherit; opacity: .7; margin-left: 2px; letter-spacing: 0; }
.howto { margin: 4px 0 8px; padding: 0; }
.howto summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; font-weight: 700; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary span { display: inline-flex; align-items: center; gap: 8px; }
.howto summary .icon { color: var(--brand); }
.howto__chev { transition: transform .2s; color: var(--muted) !important; }
.howto[open] .howto__chev { transform: rotate(90deg); }
.howto__steps { list-style: none; margin: 0; padding: 0 20px 20px; display: grid; gap: 14px; counter-reset: step; }
.howto__steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.howto__steps .tile { grid-row: span 2; }
.howto__steps strong { font-weight: 600; }
.howto__steps small { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.alert { flex-direction: column; gap: 10px; }
.alert__head { display: flex; gap: 14px; align-items: flex-start; }
.alert__titles { min-width: 0; }
.alert__body { color: var(--ink-2); }
.alert--full { padding: 20px; }
.journey { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.journey__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 2px; }
.journey__step::before { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.journey__step:first-child::before { display: none; }
.journey__step.is-done::before, .journey__step.is-current::before { background: var(--brand); }
.journey__dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 2px solid var(--line); color: #fff; }
.is-done .journey__dot { background: var(--brand); border-color: var(--brand); }
.is-current .journey__dot { border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 4px var(--brand-soft); }
.journey__label { font-size: .74rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); }
.journey__step:not(.is-done):not(.is-current) .journey__label { color: var(--muted); }
.journey__when { font-size: .7rem; color: var(--muted); min-height: 1em; }
.callout { border-radius: 14px; padding: 12px 14px; background: var(--brand-soft); color: var(--ink); font-size: .92rem; }
.callout strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 2px; }
.callout--shipped { background: var(--t-sky); } .callout--shipped strong { color: var(--t-sky-i); }
.callout--processed { background: var(--t-amber); } .callout--processed strong { color: var(--t-amber-i); }
.slice { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.slice__head { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.slice__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.slice__lines li { display: flex; justify-content: space-between; gap: 12px; }
.slice__lines li span:last-child { color: var(--muted); white-space: nowrap; }
.slice__lines small { color: var(--muted); }
.slice__total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line); }
.slice__meta { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.slice__meta > div { display: flex; flex-direction: column; gap: 4px; }
.slice__meta small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.label-chip { display: inline-block; font: 600 .82rem/1 ui-monospace, "SF Mono", Menlo, monospace; padding: 7px 10px; border: 1.5px dashed var(--muted); border-radius: 8px; background: var(--card); }
.van { display: flex; gap: 4px; }
.van .avatar:hover { text-decoration: none; transform: translateY(-1px); }
.status--received { background: var(--soft); color: var(--ink-2); }
.status--processed { background: var(--t-amber); color: var(--t-amber-i); }
.status--shipped { background: var(--t-sky); color: var(--t-sky-i); }
.status--delivered, .status--awarded { background: var(--brand-soft); color: var(--brand); }
.status--open { background: var(--t-violet); color: var(--t-violet-i); }
.row .status { padding: 2px 8px; font-size: .7rem; margin-left: 4px; vertical-align: 1px; }
.console { margin-top: 28px; }
.console__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1.05rem; margin-bottom: 4px; }
.console__title .pill { margin: 0; }
.console .list { margin-top: 10px; }
.console__row { flex-wrap: wrap; background: var(--card); margin-bottom: 8px; }
.console .list > li + li .row::before { display: none; }

/* ---------- Contract board ---------- */
.contracts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contract { display: grid; gap: 12px; scroll-margin-top: 80px; }
.contract--won { border-color: var(--brand); }
.contract__head { display: flex; flex-direction: column; gap: 10px; }
.contract__head h2 { font-size: 1.2rem; margin-bottom: 4px; }
.contract__value { display: flex; flex-direction: column; }
.contract__value strong { font-size: 1.5rem; letter-spacing: -.03em; }
.contract__value strong small { font-size: .55em; color: var(--muted); }
.contract__value span { font-size: .82rem; color: var(--muted); }
.contract__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .84rem; color: var(--ink-2); }
.contract__cov { margin-left: auto; }
.contract__cov strong { color: var(--brand); }
.clines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.cline { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cline__main { display: grid; gap: 4px; min-width: 0; grid-column: 1 / -1; }
.cline__main small { color: var(--muted); font-size: .82rem; }
.cline__main .meter { height: 6px; margin-top: 4px; }
.cline__state { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.cline__who { display: flex; gap: 4px; flex-wrap: wrap; }
.cline__who .avatar:hover { text-decoration: none; }
.cline__form { display: flex; gap: 6px; align-items: center; justify-self: end; }
.cline__form .qty input { width: 80px; height: 36px; }
@media (min-width: 640px) {
  .howto__steps { grid-template-columns: repeat(4, 1fr); }
  .howto__steps li { grid-template-columns: 1fr; row-gap: 6px; }
  .howto__steps .tile { grid-row: auto; }
  .alert--full { padding: 24px; }
  .contract__head { flex-direction: row; justify-content: space-between; }
  .contract__value { text-align: right; flex: none; }
  .cline { grid-template-columns: minmax(0, 1fr) auto auto; }
  .cline__main { grid-column: auto; }
}

/* ---------- Add to home screen ---------- */
.install { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 8px; padding: 20px; background: linear-gradient(135deg, var(--card), var(--brand-soft)); }
.install[hidden] { display: none; }
.install__icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: var(--shadow); flex: none; }
.install__text { flex: 1 1 220px; min-width: 0; padding-right: 28px; }
.install__text h2 { font-size: 1.05rem; margin-bottom: 2px; }
.install__text p { font-size: .9rem; }
.install__ios { margin: 10px 0 0; padding-left: 1.2rem; display: grid; gap: 6px; font-size: .92rem; }
.kbd { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .86rem; vertical-align: -2px; }
.install__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.install__close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; }
@media (max-width: 639px) { .install__actions, .install__actions .btn { width: 100%; } }

/* ---------- Join (single page) ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1.5px solid var(--line); color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.plan:hover { text-decoration: none; border-color: var(--brand); }
.plan.is-on { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.plan__price { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.plan.is-on .plan__price { color: var(--brand); }
.plan small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (max-width: 639px) { .grid, .grid--address { grid-template-columns: minmax(0, 1fr); } }
.field textarea { min-width: 0; }
.block { border: 0; margin: 0; padding: 0; min-width: 0; }
.block legend { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; padding: 0; }
.form__title { font-size: 1.25rem; }
.form .muted { margin-top: -14px; }
.form__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.form__foot .secure { margin: 0; }
.outcome__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
@media (max-width: 420px) { .plan small { display: none; } }

/* --- Founding round: home hero before founder #1, share links, founder FAQ --- */
.side-card__open { font: italic 600 1.35rem/1.1 "Fraunces", Georgia, serif; color: var(--ink); }
.hero-open { margin-bottom: 16px; padding: 28px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-open > * { position: relative; z-index: 1; }
.hero-open__title { font: italic 600 clamp(2.4rem, 7vw, 3.6rem)/1 "Fraunces", Georgia, serif; letter-spacing: -.02em; }
.hero-open__sub { max-width: 34rem; font-size: 1.02rem; color: rgba(255, 255, 255, .86); margin-bottom: 6px; }
.btn--light { background: #fff; color: #14532D; }
.btn--light:hover { filter: none; background: #EAF6EE; }
@media (prefers-color-scheme: dark) { .btn--light { color: #0F3D22; } }
.hero-stats__next { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .9rem; font-weight: 600; }
.hero-stats__next:hover { text-decoration: underline; }
.letter__actions { align-items: center; }
.letter__free { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 600; color: var(--ink-2); }
.letter__share { margin-top: 18px; font-size: .92rem; color: var(--ink-2); }
.share-note { font-size: .86rem; color: var(--brand); font-weight: 600; }
.faq { max-width: 760px; }
.faq__list details + details { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 14px; cursor: pointer; font-weight: 600; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__chev { flex: none; color: var(--muted); transform: rotate(90deg); transition: transform .2s; }
.faq__list details[open] .faq__chev { transform: rotate(-90deg); }
.faq__list details p { padding: 0 14px 16px; color: var(--ink-2); max-width: 62ch; }

/* --- Look: Fraunces for page titles, the Founding Member seal, founders wall, page transitions --- */
.page-head h1, .letter__title, .outcome h1, .wall__title { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -.01em; }
.letter__title { font-size: 1.5rem; }
.seal { display: block; width: 100%; height: auto; }
.outcome__seal { width: 132px; margin-bottom: 4px; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.outcome__download { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .9rem; font-weight: 600; }
.offer__seal { float: right; width: 72px; margin: -4px -4px 8px 12px; }
.wall { margin-bottom: 16px; }
.wall__head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.wall__seal { flex: none; width: 64px; }
.wall__title { font-size: 1.4rem; }
.wall__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.wall__list li > *, .wall__list li { display: flex; flex-direction: column; }
.wall__list li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--soft); }
.wall__list small { color: var(--muted); font-size: .84rem; }
.wall__open { border-style: dashed !important; background: transparent !important; padding: 0 !important; }
.wall__open a { padding: 12px 14px; min-height: 100%; color: var(--brand); }
.wall__open a:hover { text-decoration: none; background: var(--brand-soft); border-radius: var(--r-sm); }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* --- Contract board: live pledge slider, "fully covered" banner, demo buttons --- */
.cline__form { flex-wrap: wrap; }
.cline__range { flex: 1 1 140px; min-width: 120px; height: 44px; accent-color: var(--brand); }
.cline.is-covered .cline__state { color: var(--brand); font-weight: 600; }
.contract__demo { display: flex; flex-wrap: wrap; gap: 8px; }
.contract__won { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--ink); }
.contract__won > div { display: grid; gap: 2px; flex: 1 1 220px; }
.contract__won small { color: var(--ink-2); }
.contract__won-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@media (prefers-color-scheme: dark) { .contract__won-badge { color: #06200F; } }

/* --- Bulk ordering: sample price breaks --- */
.breaks { margin-bottom: 16px; display: grid; gap: 12px; }
.breaks__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.breaks__head h2 { font-size: 1.1rem; margin-bottom: 4px; }
.breaks__count { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.breaks__count output { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--brand); }
.breaks__count small { font-size: .78rem; color: var(--muted); }
.breaks__range { width: 100%; height: 44px; accent-color: var(--brand); }
.breaks__next { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.breaks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.breaks__list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; background: var(--card); }
.breaks__list li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.breaks__list small { color: var(--muted); font-size: .8rem; }
.breaks__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* --- "See it work": two phones --- */
.phones { display: grid; gap: 16px; justify-items: center; }
.phone { width: 100%; max-width: 340px; }
.phone__label { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.phone__screen { min-height: 520px; padding: 14px; border: 10px solid #18211C; border-radius: 36px; background: var(--card); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; }
.phone__top { display: flex; flex-direction: column; padding: 4px 4px 10px; border-bottom: 1px solid var(--line); }
.phone__top small { color: var(--muted); font-size: .8rem; }
.phone__as { display: grid; gap: 4px; }
.phone__as select { height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--input); color: var(--ink); font: inherit; padding: 0 10px; }
.pcart { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pcart__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.pcart__item .tile { grid-row: span 2; align-self: start; }
.pcart__item .stepper { justify-self: start; }
.pcart__text { display: flex; flex-direction: column; min-width: 0; }
.pcart__text strong { font-size: .9rem; }
.pcart__text small { color: var(--muted); font-size: .78rem; }
.phone__go { margin-top: auto; }
.phone__go:disabled { opacity: .6; cursor: default; }
.is-running .stepper__btn { opacity: .4; pointer-events: none; }
.ptrack { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.ptrack li { display: flex; align-items: center; gap: 8px; }
.ptrack li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.ptrack li.is-done { color: var(--ink); font-weight: 600; }
.ptrack li.is-done::before { background: var(--brand); border-color: var(--brand); }
.ptrack li.is-current::before { border-color: var(--brand); }
.phone__note { font-size: .84rem; color: var(--brand); font-weight: 600; min-height: 1.2em; }
.pinbox { display: grid; gap: 10px; align-content: start; flex: 1; }
.pinbox__empty { margin: auto 0; text-align: center; color: var(--muted); font-size: .9rem; padding: 40px 10px; }
.palert { padding: 14px; border-radius: 16px; background: var(--brand-soft); display: grid; gap: 6px; animation: drop-in .35s cubic-bezier(.2, .9, .3, 1); }
.palert__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.palert__title { font-size: 1rem; }
.palert__lines { margin: 0; padding-left: 18px; font-size: .9rem; }
.palert__share { font-weight: 700; }
.palert__body { font-size: .86rem; color: var(--ink-2); }
.palert .btn { justify-self: start; }
@keyframes drop-in { from { transform: translateY(-14px); opacity: 0; } }
.phone--kitchen.is-buzzing .phone__screen { animation: buzz .5s; }
@keyframes buzz { 20%, 60% { transform: translateX(-4px) rotate(-.6deg); } 40%, 80% { transform: translateX(4px) rotate(.6deg); } }
.phones__wire { width: 4px; height: 36px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.phones__wire span { position: absolute; inset: 0; background: var(--brand); transform: translateY(-100%); }
.phones__wire.is-sending span { animation: wire-v 1.1s ease-in-out; }
@keyframes wire-v { to { transform: translateY(100%); } }
.live__again { text-align: center; margin-top: 16px; }
.live__foot { text-align: center; margin-top: 16px; }
@media (min-width: 900px) {
  .phones { grid-template-columns: 1fr auto 1fr; align-items: start; }
  .phones__wire { align-self: center; }
  .phone:first-child { justify-self: end; }
  .phone--kitchen { justify-self: start; }
  .phones__wire { width: 56px; height: 4px; }
  .phones__wire span { transform: translateX(-100%); }
  .phones__wire.is-sending span { animation-name: wire-h; }
  @keyframes wire-h { to { transform: translateX(100%); } }
}
.see-it { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 16px 18px; color: var(--ink); }
.see-it:hover { text-decoration: none; border-color: var(--brand); }
.see-it > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.see-it small { color: var(--muted); }
.pcart .stepper__btn { width: 40px; height: 40px; }
@media (prefers-color-scheme: dark) { .phone__screen { border-color: #2C3832; } }

/* Co-op public experience: generous type, useful paths, a quieter invitation. */
.account-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.account-nav form { margin: 0; }
.account-nav__link { display: inline-flex; padding: 8px 4px; background: none; border: 0; font: 600 .83rem var(--font); color: var(--brand); cursor: pointer; white-space: nowrap; }
.side-card__invitation { margin: 6px 0 16px; font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 1.7rem; line-height: 1.12; }
.coop-hero { display: grid; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--soft); padding: clamp(26px, 4vw, 52px); gap: 26px; }
.coop-hero .eyebrow { max-width: 36ch; color: var(--brand); line-height: 1.7; margin-bottom: 22px; }
.coop-hero h1 { font-size: clamp(2.65rem, 5.2vw, 4.65rem); line-height: 1.04; letter-spacing: -.06em; font-weight: 650; }
.coop-hero h1 em { font-family: Fraunces, Georgia, serif; color: var(--brand); font-weight: 500; }
.coop-hero__intro { max-width: 45ch; margin-top: 22px; color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.coop-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--brand); font-weight: 650; font-size: .9rem; }
.coop-hero__art { position: relative; min-height: 330px; }
.coop-orbit { position: absolute; width: 290px; height: 290px; left: 50%; top: 30px; transform: translateX(-50%); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: 50%; box-shadow: 0 0 0 20px color-mix(in srgb, var(--brand) 4%, transparent), 0 0 0 45px color-mix(in srgb, var(--brand) 3%, transparent); }
.coop-note { position: absolute; display: flex; flex-direction: column; border-radius: 4px 18px 18px 4px; box-shadow: 4px 12px 25px rgba(20,50,30,.12); }
.coop-note--one { top: 10px; left: 12%; width: 215px; min-height: 245px; padding: 24px; transform: rotate(-9deg); background: #dfe9ca; color: #183f30; gap: 12px; }
.coop-note__mark { margin-bottom: 7px; }
.coop-note--one small { font-size: .49rem; letter-spacing: .13em; font-weight: 700; }
.coop-note--one strong { font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 2rem; line-height: 1.12; font-weight: 500; }
.coop-note--one > span:last-child { margin-top: auto; font-size: .49rem; letter-spacing: .1em; }
.coop-note--two { bottom: 8px; right: 3%; width: 212px; padding: 22px; transform: rotate(8deg); background: #fff3d8; color: #67452d; gap: 18px; }
.coop-note--two > span:first-child { font-size: .58rem; letter-spacing: .15em; }
.coop-note--two strong { font-size: 1.5rem; line-height: 1.1; letter-spacing: -.04em; }
.coop-note--two em { font-family: Fraunces, Georgia, serif; font-size: 1.75rem; font-weight: 400; }
.coop-note__line { height: 1px; background: #c9bca5; }
.coop-note--two small { font-size: .65rem; }
.coop-stamp { position: absolute; top: 8px; right: 0; display: grid; place-content: center; width: 76px; height: 76px; border-radius: 50%; border: 1px solid #537354; outline: 4px solid #e8efdb; background: #e8efdb; text-align: center; font-size: .76rem; line-height: 1.15; color: #315237; font-weight: 650; transform: rotate(12deg); }
.coop-section-head { margin: 45px 0 22px; }
.coop-section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.coop-paths { display: grid; gap: 12px; }
.coop-path { display: flex; flex-direction: column; gap: 16px; padding: 25px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); transition: border-color .18s, transform .18s; }
.coop-path:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.coop-path h3 { font-size: 1.18rem; line-height: 1.25; }
.coop-path p { color: var(--muted); font-size: .91rem; }
.coop-path > span:last-child { margin-top: auto; display: flex; gap: 7px; align-items: center; color: var(--brand); font-size: .82rem; font-weight: 650; }
.maker-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 27px; border: 1px solid var(--line); border-radius: 20px; margin-top: 18px; }
.maker-strip > div { flex: 1; min-width: min(250px, 100%); }
.maker-strip h2 { font-size: 1.15rem; }
.maker-strip p:not(.eyebrow) { margin-top: 8px; color: var(--muted); max-width: 55ch; font-size: .9rem; }
.coop-invitation { display: flex; align-items: flex-start; gap: 22px; padding: 42px 8px; margin: 16px 0; }
.coop-invitation > div { max-width: 68ch; }
.coop-invitation h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); max-width: 30ch; }
.coop-invitation p:not(.eyebrow) { margin: 16px 0; color: var(--ink-2); line-height: 1.75; }
.coop-future { display: grid; gap: 16px; }
.future-card { border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 34px); overflow: hidden; }
.future-card--book { background: var(--t-amber); }
.future-card--space { background: var(--soft); }
.future-card h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); line-height: 1.15; max-width: 22ch; }
.future-card p:not(.eyebrow) { margin: 17px 0; color: var(--ink-2); font-size: .95rem; line-height: 1.7; }
.future-card .text-link { margin-top: 6px; }
.recipe-lines { width: 180px; padding: 18px 22px; margin: 25px auto 35px; background: #a44231; color: #fff1d7; border-left: 5px solid #873624; box-shadow: 8px 8px 0 color-mix(in srgb, var(--ink) 8%, transparent); transform: rotate(-7deg); display: flex; flex-direction: column; gap: 20px; }
.recipe-lines > span { font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; }
.recipe-lines strong { font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 2rem; font-weight: 400; line-height: 1.05; }
.recipe-lines small { font-size: .45rem; letter-spacing: .13em; }
.future-window { display: flex; align-items: center; justify-content: center; gap: 18px; height: 209px; margin: 18px auto 28px; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: 100px 100px 10px 10px; max-width: 280px; padding: 25px; }
.future-window > span { font-size: 1.6rem; letter-spacing: -.04em; line-height: 1.15; }
.future-window em { font-family: Fraunces, Georgia, serif; }
.future-card .future-caption { font-size: .85rem; color: var(--muted); }
.coop-updates { display: grid; gap: 28px; margin: 44px 0 24px; align-items: start; }
.coop-updates > div { padding-top: 18px; }
.coop-updates h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 18ch; }
.coop-updates > div > p:not(.eyebrow) { margin-top: 18px; line-height: 1.7; }
.interest-form .check { margin: 15px 0; align-items: flex-start; line-height: 1.5; }
.interest-form .btn { margin: 22px 0 14px; }
.interest-options { margin: 23px 0 20px; padding: 0; border: 0; }
.interest-options legend { font-size: .86rem; font-weight: 650; margin-bottom: 12px; }
.interest-options > div { display: grid; gap: 10px; }
.interest-options label { display: flex; gap: 9px; align-items: center; font-size: .9rem; }
.interest-options input, .check input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; margin: 2px 0; }
.interest-layout { display: grid; gap: 28px; align-items: start; }
.interest-story { display: grid; gap: 28px; }
.interest-story section:not(.card) { padding: 0 20px; }
.interest-story h2 { font-size: 1.25rem; margin-top: 12px; }
.interest-story p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.coop-signoff { padding: 25px 0 0; text-align: center; color: var(--muted); font-size: .85rem; }
.coop-signoff em { color: var(--brand); font-family: Fraunces, Georgia, serif; font-size: 1.15rem; }
.directory-filters { display: grid; gap: 16px; align-items: end; margin-bottom: 20px; }
.directory-filters .field { min-width: 0; }
.directory-filters .field > span { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 600; }
.directory-filters input, .directory-filters select { width: 100%; min-width: 0; }
.directory-count { margin-bottom: 18px; }
.directory-empty { grid-column: 1 / -1; text-align: left; padding: 32px; }
.directory-empty .tile { margin-bottom: 22px; }
.directory-empty h2 { font-size: 1.6rem; }
.directory-empty p { max-width: 55ch; margin-top: 12px; }
.directory-empty > .btn { margin-top: 20px; }
.maker-avatar { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.maker-cover { width: 100%; height: auto; max-height: 360px; object-fit: cover; border-radius: 14px; margin-bottom: 28px; }
.kitchen-note { margin-top: 20px; }
.kitchen-note > p { margin-top: 12px; }
.correction { margin-top: 30px; }
.correction summary { cursor: pointer; font-weight: 600; }
.correction > p { margin: 14px 0; }
.correction .btn { margin-top: 18px; }
.pagination { display: flex; gap: 18px; justify-content: center; align-items: center; margin: 26px 0; }
@media (min-width: 560px) { .coop-paths, .coop-future { grid-template-columns: repeat(2, 1fr); } .directory-filters { grid-template-columns: repeat(2, 1fr); } .directory-search { grid-column: 1 / -1; } }
@media (min-width: 760px) { .coop-hero { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4px; } .coop-hero__art { min-height: 350px; } .coop-updates { grid-template-columns: .8fr 1.2fr; gap: 40px; } .interest-layout { grid-template-columns: 1.2fr .8fr; } }
@media (min-width: 1200px) { .coop-paths { grid-template-columns: repeat(4, 1fr); } .coop-path { padding: 22px 18px; } .coop-note--one { left: 0; } .directory-filters { grid-template-columns: repeat(3, 1fr); } .directory-search { grid-column: 1 / -1; } }
@media (max-width: 400px) { .coop-hero { padding: 25px 20px; } .coop-hero h1 { font-size: 2.45rem; } .coop-hero__art { min-height: 300px; } .coop-note--one { left: 0; width: 190px; } .coop-note--two { right: 0; width: 185px; } .coop-invitation { gap: 14px; } .coop-invitation > .tile { display: none; } .coop-actions { gap: 14px; } .account-nav { gap: 7px; } .topbar__brand { gap: 6px; font-size: .87rem; } }
@media (prefers-reduced-motion: reduce) { .coop-path { transition: none; } .coop-path:hover { transform: none; } }
