/* Ardoise landing. Tokens mirror the product's admin (Resto/admin/src/index.css). */
:root {
  --bg: #f8f3f2;
  --surface: #fffcfb;
  --surface-2: #f2eaea;
  --ink: #2b1e27;
  --muted: #6f6068;
  --line: #ece1e2;
  --plum: #7a1f4a;
  --plum-ink: #fff7fa;
  --plum-soft: #f3e3ea;
  --plum-text: #7a1f4a;
  --coral: #9e3c28;
  --coral-ink: #fffcfb;
  --coral-soft: #f6e3dd;
  --coral-text: #9e3c28;
  --sage: #5a613b;
  --sage-soft: #e6e8dc;
  --slate: #2a1b2e;
  --slate-2: #3a2a3f;
  --slate-ink: #efe6ea;
  --slate-muted: #bfaebb;
  --shadow: 0 1px 2px rgb(43 30 39 / 0.04), 0 10px 30px -18px rgb(43 30 39 / 0.18);
  --shadow-lg: 0 2px 4px rgb(43 30 39 / 0.04), 0 24px 60px -24px rgb(43 30 39 / 0.28);
  /* Shape rule: cards 16px, inputs 10px, buttons and chips pill. */
  --r-card: 16px;
  --r-input: 10px;
  --r-pill: 999px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --tint: var(--surface-2);
  --nav-h: 68px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1420;
    --surface: #251a29;
    --surface-2: #2e2132;
    --ink: #f4ebef;
    --muted: #b5a4ae;
    --line: #3a2b3e;
    --plum-soft: #3b2236;
    --plum-text: #e6a7c4;
    --coral-soft: #3f2521;
    --coral-text: #e58c72;
    --sage-soft: #2c2f22;
    --slate: #120b15;
    --slate-2: #22162a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px -18px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 24px 60px -24px rgb(0 0 0 / 0.7);
    --tint: var(--surface);
  }
}
:root[data-theme="dark"] {
  --bg: #1c1420;
  --surface: #251a29;
  --surface-2: #2e2132;
  --ink: #f4ebef;
  --muted: #b5a4ae;
  --line: #3a2b3e;
  --plum-soft: #3b2236;
  --plum-text: #e6a7c4;
  --coral-soft: #3f2521;
  --coral-text: #e58c72;
  --sage-soft: #2c2f22;
  --slate: #120b15;
  --slate-2: #22162a;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px -18px rgb(0 0 0 / 0.6);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 24px 60px -24px rgb(0 0 0 / 0.7);
  --tint: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 3.5vw, 3.2rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 1rem; white-space: nowrap; border: 1px solid transparent;
  cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--coral); color: var(--coral-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--coral) 88%, black); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn.is-done { background: var(--sage); color: #fdfbf7; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 0; color: var(--plum-text); font-weight: 500; cursor: pointer; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.round:hover { border-color: var(--muted); }
.round:active { transform: scale(0.95); }
.round:disabled { opacity: 0.4; cursor: default; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.tag { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); font-size: 0.78rem; font-weight: 500; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; height: var(--nav-h); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--slate); color: var(--slate-ink); font-family: var(--serif); font-weight: 600; font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--muted); }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; transition: color 160ms var(--ease-out); }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 40px; min-height: calc(100dvh - var(--nav-h)); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 11fr 13fr; gap: 48px; align-items: center; }
.hero-copy .lead { margin-top: 20px; font-size: 1.2rem; color: var(--muted); max-width: 42ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.demo-hint { font-size: 0.92rem; color: var(--muted); margin-bottom: 12px; }
.live { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

/* Widget (client side) */
.widget { padding: 20px; display: grid; gap: 14px; }
.widget-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.widget-name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.widget-sub { font-size: 0.85rem; color: var(--muted); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field legend, .label { font-size: 0.82rem; font-weight: 500; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field > .label { margin-bottom: 0; }
.field-row { display: flex; gap: 14px; align-items: start; }
.grow { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-pill); padding: 6px 12px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.chip:hover { border-color: var(--muted); }
.chip:active { transform: scale(0.96); }
.chip[aria-checked="true"] { background: var(--plum); border-color: var(--plum); color: var(--plum-ink); }
.chip:disabled { color: var(--muted); text-decoration: line-through; background: var(--surface-2); cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.stepper output { min-width: 36px; text-align: center; font-weight: 600; }
.step { width: 36px; height: 36px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 160ms var(--ease-out); }
.step:hover { background: var(--surface-2); }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: var(--r-input); padding: 11px 12px; font: inherit; font-size: 0.98rem;
  transition: border-color 160ms var(--ease-out);
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
input:focus, textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--plum-soft); }
textarea { resize: vertical; }
.widget-foot { font-size: 0.78rem; color: var(--muted); }

/* Board (restaurant side) */
.side { display: grid; gap: 12px; position: relative; }
.board { padding: 16px; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.board-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.1; }
.board-sub { font-size: 0.82rem; color: var(--muted); }
.ring { position: relative; width: 56px; height: 56px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--surface-2); stroke-width: 5; }
.ring-fill { fill: none; stroke: var(--plum); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; transition: stroke-dashoffset 600ms var(--ease-out); }
.ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.85rem; line-height: 1; }
.ring-num small { font-size: 0.65rem; color: var(--muted); font-weight: 500; margin-left: 1px; }
.ring-lg { width: 84px; height: 84px; }
.ring-lg .ring-num { font-size: 1.3rem; }
.ring-xl { width: 120px; height: 120px; }
.ring-xl .ring-num { font-size: 1.9rem; font-family: var(--serif); }
.ring-xl .ring-num small { font-size: 0.9rem; }
.board-tabs { display: flex; gap: 6px; margin: 14px 0 10px; }
.tab { padding: 4px 10px; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 500; color: var(--muted); background: var(--surface-2); }
.tab.is-on { background: var(--plum-soft); color: var(--plum-text); }
.tab b { margin-left: 4px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out), opacity 300ms var(--ease-out); }
.row-name { font-weight: 500; font-size: 0.9rem; }
.row-meta { grid-column: 1; font-size: 0.78rem; color: var(--muted); }
.row-act { grid-row: 1 / span 2; grid-column: 2; }
.row-act button { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-pill); padding: 4px 10px; font-size: 0.78rem; font-weight: 500; cursor: pointer; transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.row-act button:hover { background: var(--plum-soft); border-color: var(--plum); color: var(--plum-text); }
.row-act button:active { transform: scale(0.96); }
.row.is-new { background: var(--coral-soft); border-color: color-mix(in srgb, var(--coral) 45%, transparent); }
.row.is-seated { opacity: 0.55; }
.row.is-seated .row-act { color: var(--sage); font-size: 0.78rem; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.row-enter { animation: rowIn 420ms var(--ease-out) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Staff phone toast */
.phone { width: 100%; pointer-events: none; min-height: 0; }
.toast { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--slate); color: var(--slate-ink); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px) scale(0.96); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.toast.is-on { opacity: 1; transform: none; }
.toast-app { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--slate-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.toast-app em { font-style: normal; margin-left: auto; text-transform: none; letter-spacing: 0; }
.toast-title { font-weight: 600; font-size: 0.9rem; }
.toast-body { font-size: 0.85rem; color: var(--slate-muted); }

/* Marquee */
.marquee-sec { padding: 24px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-label { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 42s linear infinite; padding-bottom: 16px; }
.marquee-track span { font-family: var(--serif); font-size: 1.7rem; font-style: italic; padding: 0 28px; border-left: 1px solid var(--line); white-space: nowrap; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.sec { padding: 96px 0; }
.sec-slim { padding: 56px 0; }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 62ch; margin-bottom: 40px; }
.sec-head p { margin-top: 14px; font-size: 1.1rem; color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cell { display: flex; flex-direction: column; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); overflow: hidden; min-height: 320px; }
.cell-wide { grid-column: span 2; }
.cell-full { grid-column: span 3; flex-direction: row; min-height: 0; }
.cell-full .cell-visual { flex: 0 0 42%; }
.cell-full .cell-body { flex: 1; padding: 28px 32px; align-content: center; }
.cell-visual { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--surface-2); min-height: 150px; }
.cell-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.cell-ic { width: 1.4rem; height: 1.4rem; color: var(--plum-text); }
.cell-body p { color: var(--muted); font-size: 0.97rem; }
.cell-coral .cell-visual { background: var(--coral-soft); }
.cell-plum .cell-visual { background: linear-gradient(135deg, var(--plum), #4d1330); }
.cell-slate .cell-visual { background: var(--slate); }
.mini-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 420px; }
.mini-col { background: var(--surface); border-radius: 12px; padding: 12px 14px; border-top: 3px solid var(--plum); display: grid; gap: 2px; }
.mini-col span { font-size: 0.78rem; color: var(--muted); }
.mini-col b { font-family: var(--serif); font-size: 1.8rem; line-height: 1; }
.mini-col.late { border-top-color: var(--coral); }
.mini-col.in { border-top-color: var(--sage); }
.ticket { background: var(--surface); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; width: 100%; max-width: 280px; position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--coral-soft); top: 50%; margin-top: -8px; }
.ticket::before { left: -8px; } .ticket::after { right: -8px; }
.ticket-name { font-weight: 600; }
.ticket-meta { font-size: 0.82rem; color: var(--muted); }
.ticket-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-top: 4px; }
.ticket-price small { font-family: var(--sans); font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.member-card { width: 100%; max-width: 280px; aspect-ratio: 1.6; border-radius: 14px; padding: 16px; background: linear-gradient(160deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.04)); border: 1px solid rgb(255 255 255 / 0.25); color: var(--plum-ink); display: flex; flex-direction: column; justify-content: space-between; }
.mc-brand { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.mc-num { font-size: 1.35rem; letter-spacing: 0.08em; font-weight: 500; }
.mc-foot { font-size: 0.72rem; opacity: 0.8; }
.hold { display: grid; gap: 8px; }
.hold-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 14px; font-size: 0.9rem; font-weight: 500; }
.hold-chip.ok { color: var(--sage); border-color: color-mix(in srgb, var(--sage) 40%, transparent); background: var(--sage-soft); }
.fc-mini { display: grid; justify-items: center; gap: 8px; }
.fc-mini-label { font-size: 0.82rem; color: var(--muted); }
.push { background: var(--slate-2); color: var(--slate-ink); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; width: 100%; max-width: 280px; }
.push-app { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-muted); }
.push-text { font-size: 0.9rem; font-weight: 500; }
.also { display: flex; align-items: baseline; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.also-label { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: 0.92rem; font-weight: 500; }
.pills li .ic { color: var(--plum-text); }

/* Food cost */
.fc-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.fc-play { padding: 24px; display: grid; gap: 22px; }
.fc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fc-dish { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.fc-controls { display: grid; gap: 18px; }
.slider { display: grid; gap: 8px; }
.slider-head { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.slider-head output { color: var(--ink); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; margin: 0; accent-color: var(--plum); height: 28px; cursor: pointer; }
.fc-result { display: flex; align-items: center; gap: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.fc-stats { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 24px; }
.fc-stats dt { font-size: 0.8rem; color: var(--muted); }
.fc-stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.verdict { font-family: var(--sans) !important; font-size: 0.95rem !important; font-weight: 500 !important; display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); }
.verdict.ok { background: var(--sage-soft); color: var(--sage); }
.verdict.warn { background: var(--coral-soft); color: var(--coral-text); }
.verdict.bad { background: var(--plum-soft); color: var(--plum-text); }
.fc-ring-warn .ring-fill { stroke: var(--coral); }
.fc-ring-bad .ring-fill { stroke: var(--plum); }
.fc-ring-ok .ring-fill { stroke: var(--sage); }
.fc-copy { display: grid; gap: 16px; }
.fc-copy p { color: var(--muted); font-size: 1.05rem; }
.fc-note { font-size: 0.9rem !important; padding-top: 8px; border-top: 1px solid var(--line); }

/* Events track */
.track-wrap { position: relative; }
.track-nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.track { --edge: max(24px, calc((100% - 1152px) / 2)); list-style: none; margin: 0; padding: 0 var(--edge) 12px; scroll-padding-inline: var(--edge); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.step-card { scroll-snap-align: start; flex: 0 0 min(320px, 82vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 10px; align-content: start; min-height: 220px; }
.step-ic { width: 1.6rem; height: 1.6rem; color: var(--coral-text); }
.step-card p { color: var(--muted); }

/* Band (one deliberate dark color block) */
.band { background: var(--slate); color: var(--slate-ink); padding: 88px 0; }
.band h2 { max-width: 20ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--slate-2); }
.fact { display: grid; gap: 8px; align-content: start; }
.fact .ic { width: 1.5rem; height: 1.5rem; color: #e6a7c4; }
.fact h3 { font-size: 1.25rem; }
.fact p { color: var(--slate-muted); }

/* Roadmap */
.soon { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.soon h2 { font-size: 1.8rem; }
.pills-soon li { background: transparent; color: var(--muted); }
.pills-soon li .ic { color: var(--muted); }

/* Demo form */
.demo-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.demo-copy p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.checks .ic { color: var(--sage); }
.lead { padding: 28px; display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help { font-size: 0.8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--coral-text); font-size: 0.92rem; font-weight: 500; }
.form-ok { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--sage-soft); color: var(--sage); }
.form-ok .ic { width: 1.4rem; height: 1.4rem; }
.form-ok div { display: grid; }
.form-ok span { font-size: 0.9rem; color: var(--ink); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.foot-in p a, .foot-in > a:last-child { color: var(--ink); border-bottom: 1px solid var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .row-enter { animation: none; }
  .ring-fill, .toast, .row, .btn, .chip { transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: 0; padding-top: 48px; }
  .hero-copy .lead { max-width: 56ch; }
  .fc-grid, .demo-grid { grid-template-columns: 1fr; gap: 36px; }
  .fc-copy { order: -1; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-wide, .cell-full { grid-column: span 2; }
  .cell-full { flex-direction: column; }
  .cell-full .cell-visual { flex: 1; }
  .cell-full .cell-body { padding: 20px 22px 24px; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 64px 0; }
  .hero { padding-top: 36px; }
  h1 { font-size: 2.3rem; }
  .live { grid-template-columns: 1fr; }
  .phone { width: 100%; }
  .phone .toast { display: none; }
  .phone .toast.is-on { display: grid; }
  .bento { grid-template-columns: 1fr; }
  .cell-wide, .cell-full { grid-column: auto; }
  .cell { min-height: 0; }
  .two { grid-template-columns: 1fr; }
  .fc-result { flex-direction: column; align-items: flex-start; }
  .fc-stats { grid-template-columns: 1fr 1fr; }
  .marquee-track span { font-size: 1.35rem; padding: 0 18px; }
  .track { --edge: 18px; }
  .field-row { flex-direction: column; }
  .cta-row .btn { flex: 1; }
}
