:root {
  --bg: #f7f8fa; --surface: #ffffff; --line: #dfe3ea; --fg: #1c2230; --muted: #5b6475;
  --accent: #435565; --accent-fg: #ffffff; --accent-soft: #e8edf2; --ok: #2d6a4f; --warn: #9a4a00; --warn-soft: #fbeedd;
  --b1: #435565; --b2: #9fb3c5;
  --radius: 14px;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151c; --surface: #191d26; --line: #2c3240; --fg: #e5e8ef; --muted: #a0a8b8;
    --accent: #a9bccd; --accent-fg: #12151c; --accent-soft: #253039; --ok: #86d1aa; --warn: #f2b26b; --warn-soft: #3a2a17;
    --b1: #a9bccd; --b2: #4a5d6e;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 var(--body); }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0 0 .4em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
p { max-width: 68ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px max(16px, env(safe-area-inset-left)); }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.brand span { line-height: 1; padding-top: 2px; }
.mark { height: 38px; width: auto; aspect-ratio: 928 / 795; flex: none; color: var(--accent); }
@media (max-width: 480px) { .brand { gap: 10px; font-size: 1.05rem; } .mark { height: 32px; } }
.wrap { max-width: 760px; margin: 0 auto; padding: 8px 16px 64px; }
.wrap.wide { max-width: 1040px; }
.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 24px 16px 40px; }
.foot p { margin: 0 auto; }
.foot p + p { margin-top: 6px; }
.foot a { color: inherit; }
.legal { max-width: 70ch; }
.legal h2 { margin-top: 32px; font-size: 1.2rem; }
.legal li + li { margin-top: 6px; }
.legal-table { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.lede { color: var(--muted); font-size: 1.1rem; }
.hint { color: var(--muted); font-size: .9rem; }
.error { color: var(--warn); background: var(--warn-soft); padding: 10px 14px; border-radius: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgb(0 0 0 / 8%); }
.btn:focus-visible, input:focus-visible, .card:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn.quiet { background: transparent; padding: 8px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
input[type="text"], input[type="email"], input:not([type]) { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); width: 100%; }
.hero { padding: 40px 0 16px; }
.go { display: flex; gap: 10px; margin: 24px 0 8px; flex-wrap: wrap; }
.go input { flex: 1 1 240px; font-size: 1.15rem; padding: 14px 18px; border-radius: 999px; }
.how-title { font-size: 1.1rem; margin: 40px 0 0; }
.hero .price { margin: 0 0 12px; font-size: 1rem; }
.how { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 12px; }
.how li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.center { text-align: center; padding: 48px 0; }
.center p { margin-left: auto; margin-right: auto; }
.spinner { width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%; border: 4px solid var(--accent-soft); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 4s; } .btn:hover { transform: none; } }
.big-tick { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent); position: relative; }
.big-tick::after { content: ""; position: absolute; left: 20px; top: 12px; width: 12px; height: 24px; border: solid var(--accent-fg); border-width: 0 4px 4px 0; transform: rotate(45deg); }
.cards { border: 0; padding: 0; margin: 20px 0 6px; display: grid; gap: 10px; }
.card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.card input { position: absolute; opacity: 0; pointer-events: none; }
.card-body { flex: 1; display: grid; gap: 4px; }
.card-title { font-weight: 700; font-size: 1.1rem; }
.card-quote { color: var(--muted); font-size: .9rem; }
.tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; }
.card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.card:has(input:checked) .tick { background: var(--accent); border-color: var(--accent); }
.card:has(input:checked) .tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--accent-fg); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.field { margin: 24px 0; display: grid; gap: 6px; }
.field label { font-weight: 700; }
.pay { display: grid; gap: 6px; justify-items: start; }
.badge { display: inline-block; background: var(--warn-soft); color: var(--warn); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.price { font-size: 1.3rem; font-weight: 700; }
.progress h1 { margin-bottom: 16px; }
.live { display: grid; gap: 24px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
@media (max-width: 760px) { .live { grid-template-columns: 1fr; } }
.screen { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; min-height: 120px; }
.screen img { width: 100%; height: auto; display: block; border-radius: 8px; }
.screen-note { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.count { font-size: 1.8rem; font-weight: 800; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.stages li { padding-left: 28px; position: relative; color: var(--muted); }
.stages li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.stages li.done { color: var(--fg); }
.stages li.done::before { background: var(--ok); border-color: var(--ok); }
.stages li.now { color: var(--fg); font-weight: 700; }
.stages li.now::before { border-color: var(--accent); background: var(--accent-soft); }
.ready-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.share { display: grid; gap: 8px; margin-top: 16px; }
.share label { font-weight: 700; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row input { flex: 1 1 260px; }
.row form { margin: 0; }
.opening { padding: 24px 0 8px; }
.owner-bar { background: var(--accent-soft); padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.block { margin: 40px 0; }
.gifs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gif-card { position: relative; display: grid; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--fg); overflow: hidden; cursor: pointer; text-align: left; font: inherit; }
.gif-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; background: var(--accent-soft); }
.gif-title { padding: 12px 14px; font-weight: 700; }
.play { position: absolute; top: 10px; right: 10px; background: var(--accent); color: var(--accent-fg); font-size: .8rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.gif-card:hover { box-shadow: 0 8px 24px rgb(0 0 0 / 12%); }
.gif-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.finding { margin: 16px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.finding img { max-width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.protected { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ways { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.way { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sample-label { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .04em; color: var(--warn); background: var(--warn-soft); padding: 4px 12px; border-radius: 999px; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 12px 0; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; }
.tile-n { font-size: 1.8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tile-l { color: var(--muted); font-size: .9rem; }
.chart { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.chart svg { width: 100%; max-width: 520px; height: auto; display: block; }
.chart .b1 { fill: var(--b1); }
.chart .b2 { fill: var(--b2); }
.chart .ax { fill: var(--muted); font-size: 10px; text-anchor: middle; }
.chart figcaption { font-size: .85rem; color: var(--muted); }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 10px; }
.key.k1 { background: var(--b1); }
.key.k2 { background: var(--b2); }
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 16px 0; text-align: left; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 4px; align-content: start; }
.plan-price { font-size: 1.6rem; font-weight: 800; margin: 0; }
.plan-price span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.placeholder { flex: 1 1 220px; border: 2px dashed var(--line); border-radius: 999px; padding: 12px 20px; color: var(--muted); text-align: center; font-weight: 700; }
.short-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.short-box img { max-width: 100%; height: auto; border-radius: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 700; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.toast.on { opacity: 1; }
.staff h2 { margin-top: 32px; font-size: 1.3rem; }
.staff-note { background: var(--accent-soft); padding: 10px 14px; border-radius: 10px; }
.held-order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 16px; }
.held-order.overdue { border-color: var(--warn); }
.held-order header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.held-order h3 { margin: 0; font-size: 1.15rem; flex: 1 1 auto; }
.held-order dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 12px 0; font-size: .95rem; }
.held-order dt { color: var(--muted); font-weight: 700; }
.held-order dd { margin: 0; overflow-wrap: anywhere; }
.badge.refund { background: var(--accent-soft); color: var(--accent); }
.staff-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.refund-form { display: flex; gap: 8px; flex: 1 1 320px; }
.refund-form input { flex: 1; }
.staff-log { color: var(--muted); font-size: .85rem; margin: 12px 0 0; padding-left: 20px; }
