/* PEEP · "Menu Card" system: split-screen, receipts, tear-off tickets */
:root {
  --bg: #FBF4EA;
  --text: #1F1B24;
  --accent: #3B2F5C;
  --primary: #B83A1E;
  --surface: #F3E7D6;
  --paper: #FFFFFF;
  --muted: #5C5361;
  --spark: #FF6B4A;
  --mint: #BFE8D6;
  --on-mint: #1F1B24;
  --outline: #8A7F86;
  --line: #E2D4C2;
  --on-primary: #FFFFFF;
  --primary-hover: #9C2F17;
  --band: #3B2F5C;
  --on-band: #FBF4EA;
  --on-band-muted: #E3DAF0;
  --focus: #3B2F5C;
  --error: #B3261E;
  --error-bg: #FBD9D3;
  --on-error-bg: #7A1C12;
  --warn-bg: #FCE7B2;
  --success: #1E6B4A;
  --font-h: "Syne", "Trebuchet MS", sans-serif;
  --font-b: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --r: 20px;
  --gutter: clamp(16px, 5vw, 32px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17131C;
    --text: #FBF4EA;
    --surface: #241E2B;
    --paper: #2B2433;
    --muted: #C9BFC6;
    --primary: #FF6B4A;
    --primary-hover: #FF8A6E;
    --on-primary: #1F1B24;
    --mint: #1F4A3A;
    --on-mint: #FBF4EA;
    --outline: #A398A6;
    --line: #3A3142;
    --band: #2C2245;
    --focus: #C9B8F0;
    --error: #FF8A80;
    --error-bg: #4A1D18;
    --on-error-bg: #FFD9D3;
    --warn-bg: #4A3A12;
    --success: #7FD6AE;
  }
}
@media (prefers-contrast: more) {
  :root { --primary: #8F2A12; --muted: #3F3845; --outline: #5C5361; --line: #5C5361; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --primary: #FF8A6E; --muted: #E4DCE2; --outline: #C9BFC6; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: 76px;
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--spark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; }
.display { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.2rem); line-height: 1.04; }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); max-width: 60ch; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(100%, 1240px); margin-inline: auto; padding-inline: var(--gutter); }
.container > * { min-width: 0; }
section { padding-block: clamp(48px, 8vw, 96px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.surface { background: var(--surface); }
.mt-24 { margin-top: 24px; }
[hidden] { display: none !important; }
.hl { background: linear-gradient(transparent 68%, color-mix(in srgb, var(--spark) 55%, transparent) 68%); padding-inline: .05em; }

/* Skip link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* Eyebrow (sentence case with a spark dot) */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--spark); flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 700 1rem/1.2 var(--font-b); text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; transition: background-color .2s ease-out, transform .15s ease-out; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--surface); text-decoration: none; }
.band .btn-secondary { color: var(--on-band); border-color: var(--on-band); }
.band .btn-secondary:hover { background: rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: var(--text); text-decoration: underline; padding-inline: 12px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow-link { font-weight: 700; }
.arrow-link::after { content: " →"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.site-header.is-scrolled { background: var(--surface); border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 4px 10px; flex: none; }
.brand img { height: 40px; width: auto; }
.main-nav { display: none; }
.header-cta { display: none; }
@media (min-width: 960px) {
  .header-row { min-height: 84px; }
  .brand img { height: 48px; }
  .main-nav { display: block; }
  .main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; }
  .main-nav a:hover { color: var(--primary); }
  .main-nav a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
  .header-cta { display: inline-flex; }
}

/* Phone menu bar + menu sheet */
.menubar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.menubar .btn { flex: 1 1 auto; }
.menubar-btn { flex: 0 0 auto; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--text); background: var(--bg); color: var(--text); font: 700 1rem var(--font-b); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.menubar-btn .bars { display: inline-grid; gap: 4px; }
.menubar-btn .bars i { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
@media (min-width: 960px) { .menubar { display: none; } }
.sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 85vh; border: 0; border-radius: 24px 24px 0 0; background: var(--bg); color: var(--text); padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.sheet::backdrop { background: rgba(23, 19, 28, .55); }
.sheet[open] { animation: sheet-up .25s ease-out; }
@keyframes sheet-up { from { transform: translateY(40%); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sheet-handle { width: 48px; height: 5px; border-radius: 5px; background: var(--outline); margin-inline: auto; }
.sheet-close { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--text); background: transparent; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sheet ul { list-style: none; margin: 0 0 20px; padding: 0; }
.sheet li + li { border-top: 1px dashed var(--line); }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font: 700 1.3rem var(--font-h); color: var(--text); text-decoration: none; }
.sheet nav a::after { content: "→"; color: var(--primary); }
.sheet nav a[aria-current="page"] { color: var(--primary); }
.sheet .btn { width: 100%; }

/* Split layouts (7/5, menu beside plate) */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--rev > :first-child { order: 2; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--top { align-items: start; }
}

/* Hero */
.hero { padding-block: clamp(24px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.hero .micro { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.plate { position: relative; background: var(--surface); border-radius: 28px; padding: clamp(10px, 1.5vw, 18px); border: 1px solid var(--line); }
.plate img { border-radius: 18px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.plate--square img { aspect-ratio: 1 / 1; }
/* slot notch: the "menu card holder" cut at the top edge */
.notch { position: relative; }
.notch::before { content: ""; position: absolute; top: -1px; left: 50%; width: 56px; height: 12px; transform: translateX(-50%); background: var(--bg); border-radius: 0 0 12px 12px; border: 1px solid var(--line); border-top: 0; }
.surface .notch::before { background: var(--surface); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); min-width: 0; }
.surface .card { background: var(--bg); }
.card > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }

/* Problem / answer menu lines */
.menu-lines { list-style: none; margin: 0; padding: 0; }
.menu-lines li { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-lines li:last-child { border-bottom: 0; }
.menu-lines .k { font-weight: 700; flex: none; }
.menu-lines .dots { flex: 1 1 auto; border-bottom: 2px dotted var(--outline); transform: translateY(-4px); min-width: 16px; }
.menu-lines .v { flex: 0 1 auto; text-align: right; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 599px) {
  .menu-lines li { flex-direction: column; gap: 2px; }
  .menu-lines .dots { display: none; }
  .menu-lines .v { text-align: left; }
}

/* Steps rail */
.steps { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; display: grid; gap: 28px; }
.steps::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; border-left: 2px dashed var(--text); }
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; left: -32px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--spark); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--text); }
.step-num { display: block; font: 800 2.6rem/1 var(--font-h); color: var(--accent); margin-bottom: 6px; }
@media (prefers-color-scheme: dark) { .step-num { color: var(--spark); } }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 40px 0 0; gap: 32px; }
  .steps::before { left: 8px; right: 8px; top: 7px; bottom: auto; border-left: 0; border-top: 2px dashed var(--text); }
  .steps li::before { left: 0; top: -40px; }
}

/* Segment cards */
.seg { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.seg:hover { border-color: var(--outline); }
.initial { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--spark); color: #1F1B24; display: grid; place-items: center; font: 800 1.5rem var(--font-h); }
.seg h3 a { color: var(--text); text-decoration: none; }
.seg h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.seg h3 a:focus-visible { outline: none; }
.seg:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.seg .go { color: var(--primary); font-weight: 700; }

/* Plum bands */
.band { background: var(--band); color: var(--on-band); }
.band a:not(.btn) { color: var(--on-band); }
.band .muted, .band .eyebrow { color: var(--on-band-muted); }
.tool-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tool-card .t { font: 800 2.6rem/1 var(--font-h); color: var(--spark); }
.tool-card p { flex: 1 1 auto; }
.tool-card .btn { align-self: flex-start; }

/* Chips and badges */
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--mint); color: var(--on-mint); font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
.badge-browser { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 16px; border-radius: 999px; background: var(--mint); color: var(--on-mint); font-weight: 600; font-size: .95rem; }
.badge-browser::before { content: ""; width: 14px; height: 10px; border: 2px solid currentColor; border-radius: 3px; flex: none; }
.quote-mint { border: 2px solid var(--mint); border-left-width: 8px; border-radius: 14px; padding: 18px 20px; font-style: italic; background: var(--bg); margin: 0 0 1em; }

/* Tear-off tickets */
.tickets { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.surface .ticket { background: var(--bg); }
.ticket-stub { padding: 26px 26px 22px; border-bottom: 3px dashed var(--outline); position: relative; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; bottom: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.surface .ticket-stub::before, .surface .ticket-stub::after { background: var(--surface); }
.ticket-stub::before { left: -14px; }
.ticket-stub::after { right: -14px; }
.ticket-stub { container-type: inline-size; min-width: 0; }
.ticket-price { font: 800 clamp(2rem, 1.6rem + 1.6vw, 3rem)/1 var(--font-h); margin: 6px 0 0; white-space: nowrap; overflow-wrap: normal; hyphens: none; letter-spacing: -0.02em; max-width: 100%; }
/* Fit the price word to its own stub: "Coming" in Syne 800 is about 4.4em wide */
@supports (font-size: 1cqi) { .ticket-price { font-size: min(3.2rem, 20cqi); } }
.ticket-name { font-weight: 700; margin: 0; }
.ticket-body { padding: 26px; }
.ticket-body > :last-child { margin-bottom: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status--open { color: var(--success); }
.status--coming { color: var(--muted); }
.status--coming::before { background: transparent; border: 2px solid currentColor; }
@media (min-width: 1100px) {
  .ticket { grid-template-columns: minmax(14rem, 40%) minmax(0, 1fr); }
  .ticket-stub { border-bottom: 0; border-right: 3px dashed var(--outline); display: flex; flex-direction: column; justify-content: center; }
  .ticket-stub::before { left: auto; right: -14px; top: -14px; bottom: auto; }
  .ticket-stub::after { right: -14px; bottom: -14px; }
}

/* Roadmap rail */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .roadmap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.roadmap > li { border-top: 3px solid var(--text); padding-top: 18px; min-width: 0; }
.roadmap h3 { display: flex; align-items: center; gap: 10px; }
.roadmap h3::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; }
.rm-now h3::before { background: var(--spark); }
.rm-next h3::before { border: 3px solid var(--spark); }
.rm-later h3::before { border: 3px dashed var(--spark); }
.roadmap ul { margin: 0; padding-left: 20px; }
.roadmap ul li { margin-bottom: 6px; }

/* Forms */
form { min-width: 0; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.help { color: var(--muted); font-size: .92rem; margin: -2px 0 8px; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; max-width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--outline); background: var(--paper); color: var(--text); font: 400 1rem/1.4 var(--font-b);
}
textarea { min-height: 150px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border: 2px solid var(--error); }
.field-error { color: var(--error); font-weight: 700; font-size: .95rem; margin: 8px 0 0; }
.field-error::before { content: "! "; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--outline); background: var(--paper); cursor: pointer; font-weight: 600; }
.pill input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pill .chip { min-height: 22px; padding: 0 8px; font-size: .75rem; }
.fieldset-invalid .pill span { border-color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 48px; padding: 8px 0; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--primary); }
.inline-row { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-row input { flex: 1 1 220px; min-width: 0; }
.inline-row .btn { flex: 0 0 auto; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.error-summary { border: 3px solid var(--error); border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; background: var(--paper); }
.error-summary h2, .error-summary h3 { font-size: 1.1rem; margin-bottom: 8px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 700; }
.alert-error { background: var(--error-bg); color: var(--on-error-bg); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.success-card { background: var(--mint); color: var(--on-mint); border-radius: var(--r); padding: 26px; }
.success-card h2, .success-card h3 { font-size: 1.5rem; }
.success-card:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-card { background: var(--paper); color: var(--text); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); min-width: 0; }
.band .form-card a { color: var(--primary); }
.counter { font-size: .9rem; color: var(--muted); text-align: right; margin: 6px 0 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }

/* Tools */
.tool { scroll-margin-top: 80px; border-top: 1px solid var(--line); }
.tool-num { font: 800 3rem/1 var(--font-h); color: var(--primary); margin: 0 0 8px; }
.tool-intro { margin-bottom: clamp(28px, 4vw, 48px); }
.tool-intro .plate { max-width: 420px; justify-self: center; width: 100%; }
.tool-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.tool-grid > * { min-width: 0; }
@media (min-width: 960px) { .tool-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.example-note { background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: .95rem; margin-bottom: 18px; }
.tool-jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.tool-jump a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--on-band); color: var(--on-band); text-decoration: none; font-weight: 700; }
.tool-jump a:hover { background: rgba(255,255,255,.1); }

/* Receipt */
.receipt { position: relative; background: #FFFFFF; color: #1F1B24; font-family: var(--mono); font-size: .95rem; line-height: 1.55; padding: 30px clamp(16px, 3vw, 28px); margin: 12px 0; border-radius: 4px; box-shadow: 0 6px 20px rgba(31,27,36,.08); overflow-wrap: anywhere; }
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background-size: 16px 12px; background-repeat: repeat-x; }
.receipt::before { top: -11px; background-image: linear-gradient(135deg, transparent 50%, #FFFFFF 50%), linear-gradient(225deg, transparent 50%, #FFFFFF 50%); background-position: 0 0, 8px 0; background-image: conic-gradient(from 135deg at 50% 100%, #FFFFFF 90deg, transparent 0); }
.receipt::after { bottom: -11px; background-image: conic-gradient(from -45deg at 50% 0, #FFFFFF 90deg, transparent 0); }
.receipt h2, .receipt h3 { font-family: var(--mono); font-size: 1.05rem; text-transform: none; letter-spacing: 0; text-align: center; margin: 0 0 4px; }
.receipt .r-sub { text-align: center; color: #5C5361; font-size: .85rem; margin: 0 0 14px; }
.receipt .r-tag { display: block; width: fit-content; margin: 0 auto 10px; background: #FCE7B2; color: #1F1B24; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.receipt .r-sep { border: 0; border-top: 2px dashed #8A7F86; margin: 14px 0; }
.receipt .r-label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin: 12px 0 4px; }
.r-line { display: flex; gap: 8px; align-items: baseline; margin: 4px 0; }
.r-line .k { flex: 0 1 auto; }
.r-line .d { flex: 1 1 24px; border-bottom: 2px dotted #8A7F86; transform: translateY(-4px); min-width: 16px; }
.r-line .v { flex: 0 1 auto; font-weight: 700; text-align: right; }
.r-line.total { font-size: 1.05rem; border-top: 2px solid #1F1B24; padding-top: 8px; margin-top: 10px; }
.receipt ul { margin: 4px 0; padding-left: 20px; }
.receipt .r-quote { border-left: 4px solid #FF6B4A; padding: 6px 12px; background: #FBF4EA; white-space: pre-wrap; margin: 6px 0; }
.receipt .r-pre { white-space: pre-wrap; margin: 0; }
.receipt table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.receipt th, .receipt td { text-align: left; padding: 6px 4px; border-bottom: 1px dashed #8A7F86; vertical-align: top; }
.receipt-empty { border: 2px dashed var(--outline); border-radius: 12px; padding: 28px; color: var(--muted); text-align: center; }
.out-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 12px; }
.planning-note { background: var(--warn-bg); color: var(--text); border-radius: 12px; padding: 12px 16px; font-weight: 700; margin-bottom: 16px; }
.fit { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 999px; font-weight: 700; font-family: var(--font-b); }
.fit--good { background: #BFE8D6; color: #1F1B24; }
.fit--work { background: #FCE7B2; color: #1F1B24; }
.fit--rethink { background: #FBD9D3; color: #7A1C12; }
.gauge { width: 100%; height: auto; margin: 10px 0 4px; }
.msg-block { margin-bottom: 18px; }
.msg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.msg-head h3, .msg-head h4 { margin: 0; font: 700 .9rem var(--font-b); letter-spacing: .04em; text-transform: uppercase; }
#messages-results-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.msg-block .receipt { margin-top: 18px; }
.sms-warn { background: #FCE7B2; color: #1F1B24; border-radius: 10px; padding: 10px 12px; font-family: var(--font-b); font-weight: 600; margin-top: 8px; }
.phone-outline { max-width: 260px; margin: 8px auto 0; border: 3px solid #1F1B24; border-radius: 28px; padding: 26px 12px 30px; background: #FBF4EA; }
.phone-outline .banner { background: #3B2F5C; color: #FBF4EA; border-radius: 12px; padding: 12px; font-family: var(--font-b); font-weight: 700; text-align: center; }
.phone-outline .menu-ph { height: 10px; border-radius: 6px; background: #E2D4C2; margin-top: 10px; }
.phone-outline .menu-ph.short { width: 60%; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: #1F1B24; color: #FBF4EA; padding: 12px 22px; border-radius: 999px; z-index: 60; font-weight: 700; }
@media (min-width: 960px) { .toast { bottom: 32px; } }
.explainer { max-width: 760px; }

/* Platform side nav */
.with-rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.rail-nav { position: sticky; top: 68px; z-index: 20; background: var(--bg); padding-block: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.rail-nav ul { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; }
.rail-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--outline); text-decoration: none; color: var(--text); white-space: nowrap; font-weight: 600; }
.rail-nav a.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
@media (min-width: 960px) {
  .with-rail { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; }
  .rail-nav { top: 100px; align-self: start; margin: 0; padding: 0; border: 0; background: transparent; }
  .rail-nav ul { flex-direction: column; overflow: visible; }
  .rail-nav a { border: 0; border-left: 3px solid var(--line); border-radius: 0; }
  .rail-nav a.is-active { background: transparent; color: var(--primary); border-left-color: var(--primary); }
}
.p-section { padding-block: clamp(32px, 5vw, 64px); border-bottom: 1px dashed var(--line); scroll-margin-top: 140px; }
.p-section:last-child { border-bottom: 0; }
.dot-list { list-style: none; padding: 0; margin: 0 0 1em; }
.dot-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.dot-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--spark); }
.tool-link { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 2px solid var(--mint); border-radius: 16px; padding: 14px 18px; background: var(--bg); }
.tool-link p { margin: 0; }

/* Solutions */
.play { scroll-margin-top: 100px; }
.play + .play { border-top: 1px dashed var(--line); }
.play-side { display: flex; flex-direction: column; gap: 12px; }
.play-side .initial { width: 88px; height: 88px; font-size: 2.4rem; }
.play-head { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; max-width: 860px; }
.play-head > div { min-width: 0; }
.play-head h2 { margin-bottom: 4px; }
.play-head p { margin: 0; }
.play-head .initial { width: 72px; height: 72px; font-size: 2rem; }
@media (max-width: 479px) { .play-head { flex-direction: column; align-items: flex-start; gap: 12px; } .play-head .initial { width: 56px; height: 56px; font-size: 1.5rem; } }
.play-cols { display: grid; gap: 4px 40px; grid-template-columns: minmax(0, 1fr); }
.play-cols > * { min-width: 0; }
.play-cols .label-line { margin-top: 4px; }
@media (min-width: 800px) {
  .play-cols { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .play:nth-of-type(even) .play-cols { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .play-cols > * + * { border-left: 1px dashed var(--line); padding-left: 40px; }
  .play-cols { column-gap: 0; }
  .play-cols > :first-child { padding-right: 40px; }
}
@media (min-width: 1000px) { .play-cols--3, .play:nth-of-type(even) .play-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .play-cols--3 > :nth-child(2) { padding-right: 40px; } }
@media (min-width: 800px) and (max-width: 999px) { .play-cols--3 > :nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); padding-top: 12px; } }
.play-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); }
.play-foot .tool-link { flex: 1 1 320px; min-width: 0; }
.label-line { font-weight: 700; color: var(--muted); margin: 18px 0 4px; font-size: .95rem; }
.anchor-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.anchor-pills a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--text); color: var(--text); text-decoration: none; font-weight: 700; }
.anchor-pills a:hover { background: var(--surface); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; padding: 10px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 12px; }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal p, .legal li { font-size: 1.0625rem; line-height: 1.7; }

/* CTA strip */
.cta-strip .container { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .cta-strip .container { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .cta-strip .btn-row { justify-content: flex-end; } }
.cta-strip h2 { margin-bottom: 8px; }
.cta-strip p { margin: 0; }

/* Footer */
.site-footer { margin-top: 0; }
.footer-band { background: var(--band); color: var(--on-band); padding-block: 28px; }
.footer-band-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer-band p { margin: 0; }
.footer-logo { display: inline-flex; background: #fff; border-radius: 12px; padding: 4px 10px; }
.footer-logo img { height: 44px; width: auto; }
.footer-main { background: var(--surface); padding-block: 36px 28px; }
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 400px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot-title { font: 700 1rem var(--font-h); margin: 0 0 10px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 6px; }
.footer-cols a { color: var(--text); display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--primary); }
.footer-base { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .92rem; }
.footer-base p { margin: 0; }
.footer-base nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; padding: 0; margin: 0; }
.footer-base a { color: var(--text); }

/* 404 */
.nf-mark { background: #fff; border-radius: 28px; padding: 24px; max-width: 360px; justify-self: center; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .blink { animation: blink 3.2s ease-in-out 1 .6s; transform-origin: center 30%; }
  @keyframes blink { 0%, 100% { transform: scaleY(1); } 8% { transform: scaleY(.85); } 16% { transform: scaleY(1); } }
  .card, .tool-card { transition: transform .2s ease-out, box-shadow .2s ease-out; }
  .seg:hover, .tool-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,27,36,.08); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .menubar, .site-footer, .tool-form, .out-actions, .cta-strip { display: none !important; }
  body { padding: 0; background: #fff; }
}
