:root {
  --bg: #f7f5f0;
  --bg2: #eeebe3;
  --ink: #16181d;
  --mute: #5c6370;
  --line: #dcd8cd;
  --card: #ffffff;
  --accent: #1d4ed8;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 26px 60px -28px rgba(22, 24, 29, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* ---------- nav & buttons ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(16px, 3.5vw, 44px); background: rgba(247, 245, 240, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(220, 216, 205, 0.7); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.logo { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; }
.logo::after { content: ""; position: absolute; inset: 6px; border-radius: 2px; background: var(--bg); }
.logo.big { width: 44px; height: 44px; border-radius: 12px; animation: pulse 1.6s infinite; }
.logo.big::after { inset: 13px; border-radius: 4px; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 16px; font-weight: 600; color: var(--mute); }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 800px) { .nav nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; border: 1px solid var(--ink); cursor: pointer; font: 700 16px var(--font); color: #fff; background: var(--ink); transition: transform 0.2s, background 0.2s, border-color 0.2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn:disabled { opacity: 0.45; cursor: default; transform: none; background: var(--ink); border-color: var(--ink); }
.btn-lg { padding: 16px 26px; font-size: 18px; }
.btn-sm { padding: 9px 16px; font-size: 15px; color: #fff !important; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #b9b4a6; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: rot 0.8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- hero stage ---------- */
.stage { position: relative; height: 100svh; min-height: 680px; overflow: hidden; background: linear-gradient(#f7f5f0 30%, #ebe7de); }
#canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; touch-action: none; }
.nogl { position: absolute; left: 50%; top: 52%; transform: translateX(-50%); max-width: 460px; text-align: center; color: var(--mute); }
.loading { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: var(--bg); transition: opacity 0.6s; }
.loading.done { opacity: 0; pointer-events: none; }
.loading-box { display: grid; gap: 14px; justify-items: center; width: min(320px, 80vw); font-size: 19px; }
.loading .bar { width: 100%; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.loading .bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.2s; }
.loading small { color: var(--mute); }

.headline { position: absolute; z-index: 5; top: 92px; left: clamp(18px, 4vw, 56px); max-width: 560px; transition: opacity 0.4s, transform 0.4s; }
.headline h1 { margin: 0 0 14px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -2px; font-weight: 800; }
.headline em { font-style: normal; color: var(--accent); }
.headline p { margin: 0; color: var(--mute); font-size: 20px; max-width: 30em; }
body.has-panel .headline { opacity: 0; transform: translateY(-12px); pointer-events: none; }

.panel { position: absolute; z-index: 8; right: clamp(14px, 3vw, 44px); top: 92px; width: min(430px, calc(100% - 28px)); max-height: calc(100% - 200px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--c, var(--ink)); border-radius: 18px; padding: 24px 28px 20px; box-shadow: var(--shadow); animation: slide 0.35s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide { from { opacity: 0; transform: translateX(26px); } }
.panel[hidden] { display: none; }
.panel .x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--mute); font-size: 24px; line-height: 1; cursor: pointer; }
.panel .x:hover { color: var(--ink); border-color: var(--ink); }
.eyebrow { font-size: 14px; text-transform: uppercase; letter-spacing: 1.8px; color: var(--c, var(--accent)); font-weight: 800; margin: 0 0 6px; }
.panel h2 { margin: 0 0 6px; font-size: 40px; line-height: 1.05; letter-spacing: -1.2px; }
.panel .one { margin: 0 0 16px; font-size: 21px; color: #333943; line-height: 1.35; }
.panel ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.panel li { position: relative; padding-left: 24px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.panel li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 3px; border-radius: 2px; background: var(--c); }
.acts { display: grid; gap: 10px; }
.acts .act { width: 100%; background: var(--c); border-color: var(--c); }
.acts .act:hover { filter: brightness(0.9); background: var(--c); border-color: var(--c); }
.next { margin-top: 12px; background: none; border: 0; color: var(--mute); font-size: 16px; font-weight: 700; cursor: pointer; padding: 8px 0; }
.next:hover { color: var(--ink); }

.chips-bar { position: absolute; z-index: 6; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); max-width: calc(100% - 20px); overflow-x: auto; scrollbar-width: none; }
.chips-bar button, .viz-bar button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; padding: 12px 17px; border-radius: 11px; border: 0; background: transparent; color: var(--mute); font-size: 17px; font-weight: 700; cursor: pointer; transition: 0.2s; white-space: nowrap; }
.chips-bar button:hover, .viz-bar button:hover { color: var(--ink); background: #f0ede6; }
.chips-bar button.on, .viz-bar button.on { color: #fff; background: var(--c, var(--ink)); }
.chips-bar button u, .viz-bar button u { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--ink)); text-decoration: none; display: inline-block; }
.chips-bar button.on u, .viz-bar button.on u { background: #fff; }

.feed { position: absolute; z-index: 6; left: clamp(14px, 3vw, 44px); bottom: 96px; width: min(480px, calc(100% - 28px)); display: grid; gap: 8px; pointer-events: none; }
.feed-line { padding: 11px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); box-shadow: 0 10px 30px -18px rgba(22, 24, 29, 0.4); font-size: 17px; font-weight: 600; line-height: 1.3; animation: rise 0.4s ease; transition: opacity 0.8s; }
.feed-line.old { opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.hint { position: absolute; z-index: 5; left: 50%; bottom: 92px; transform: translateX(-50%); max-width: calc(100% - 28px); padding: 9px 18px; border-radius: 99px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--mute); text-align: center; }
body.has-panel .hint, body.running .hint { display: none; }
.tip { position: absolute; z-index: 9; pointer-events: none; padding: 9px 15px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; }

@media (max-width: 860px) {
  .stage { min-height: 620px; }
  .headline { top: 76px; right: 16px; left: 16px; max-width: none; }
  .headline h1 { font-size: 34px; letter-spacing: -1.2px; }
  .headline p { font-size: 17px; }
  .headline .cta-row .btn-ghost { display: none; }
  .btn-lg { padding: 14px 20px; font-size: 17px; }
  .panel { top: auto; bottom: 82px; right: 10px; left: 10px; width: auto; max-height: 52%; padding: 18px 20px 14px; }
  .panel h2 { font-size: 30px; }
  .panel .one { font-size: 18px; margin-bottom: 10px; }
  .panel li { font-size: 16px; }
  .panel ul { margin-bottom: 14px; gap: 6px; }
  .feed { top: 70px; bottom: auto; }
  body.has-panel .feed { top: 62px; }
  .hint { display: none; }
  .chips-bar { left: 8px; right: 8px; transform: none; bottom: 10px; max-width: none; }
  .chips-bar button { padding: 11px 14px; font-size: 16px; }
}

/* ---------- generic blocks ---------- */
.block { position: relative; background: var(--bg); padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.block.alt { background: var(--bg2); }
.wrap { width: min(1180px, 100% - 36px); margin: 0 auto; }
.wrap.wide { width: min(1500px, 100% - 28px); }
.wrap.narrow { width: min(780px, 100% - 36px); }
.h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.03; letter-spacing: -1.8px; margin: 8px 0 16px; max-width: 14em; font-weight: 800; }
.sub { color: var(--mute); font-size: 21px; max-width: 34em; margin: 0 0 30px; }
.block .eyebrow { color: var(--accent); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }
.note { font-size: 14px; color: var(--mute); }

/* ---------- animated workflow ---------- */
.fs { margin-top: 10px; --c: var(--accent); }
.fs-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; }
.fs-tabs button { flex: 0 0 auto; padding: 13px 20px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--mute); font-size: 17px; font-weight: 700; cursor: pointer; transition: 0.25s; white-space: nowrap; }
.fs-tabs button:hover { color: var(--ink); border-color: var(--c); }
.fs-tabs button.on { background: var(--c); color: #fff; border-color: var(--c); }
.fs-card { border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 36px); background: var(--card); box-shadow: var(--shadow); }
.fs-scroll { overflow-x: auto; overflow-y: hidden; padding: 6px 14px 22px; margin: 0 -14px; scrollbar-width: thin; }
.fs-track { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(112px, 1fr)); padding-top: 96px; min-width: min(100%, calc(var(--n) * 112px)); }
.fs-line { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 134px; height: 4px; border-radius: 4px; background: #e6e2d8; }
.fs-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; background: var(--c); transition: width 0.95s cubic-bezier(.5, 0, .2, 1); }
.fs-st { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; background: none; border: 0; color: var(--mute); font-size: 17px; font-weight: 700; line-height: 1.2; cursor: pointer; padding: 0 4px; text-align: center; }
.fs-st .dot { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; background: #fff; color: var(--mute); border: 2px solid #cfcabb; transition: 0.4s; }
.fs-st:hover .dot { border-color: var(--c); }
.fs-st.done .dot { background: color-mix(in srgb, var(--c) 14%, #fff); border-color: var(--c); color: var(--c); }
.fs-st.done, .fs-st.on { color: var(--ink); }
.fs-st.on .dot { background: var(--c); border-color: var(--c); color: #fff; transform: scale(1.15); box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 18%, transparent); }
.fs-tok { position: absolute; z-index: 5; top: 28px; left: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 17px; white-space: nowrap; transition: left 0.95s cubic-bezier(.5, 0, .2, 1); }
.fs-tok::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; background: var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.fs-tok span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); font-size: 14px; }
.fs-tok em { font-style: normal; letter-spacing: 0.4px; }
.fs-tok.hop { animation: hop 0.95s cubic-bezier(.5, 0, .2, 1); }
@keyframes hop { 0%, 100% { margin-top: 0; } 45% { margin-top: -18px; } }

.fs-cap { min-height: 190px; padding: 22px 4px 6px; border-top: 1px solid var(--line); }
.fs-cap-in { animation: capIn 0.5s cubic-bezier(.2, .8, .2, 1); }
@keyframes capIn { from { opacity: 0; transform: translateY(14px); } }
.fs-doc { display: inline-block; padding: 5px 12px; border-radius: 6px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-weight: 800; font-size: 15px; letter-spacing: 1px; }
.fs-cap h3 { margin: 10px 0 4px; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -1.4px; line-height: 1.04; }
.fs-cap p { margin: 0 0 14px; font-size: clamp(19px, 2vw, 24px); color: #333943; max-width: 34em; }
.fs-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fs-chip { padding: 9px 15px; border-radius: 8px; border: 1px solid var(--line); background: #faf8f3; font-size: 17px; font-weight: 700; animation: pop 0.5s both; }
.fs-chip.dim { color: var(--mute); font-weight: 600; }
.fs-chip:nth-child(2) { animation-delay: 0.1s; }
.fs-chip:nth-child(3) { animation-delay: 0.2s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.94); } }
.fs-meters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 20px 0 16px; }
.fs-m { position: relative; padding: 14px 16px; border-radius: 12px; background: #faf8f3; border: 1px solid var(--line); transition: 0.4s; overflow: hidden; }
.fs-m small { display: block; font-size: 13px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: 1.2px; }
.fs-m b { display: block; margin-top: 4px; font-size: clamp(18px, 2vw, 26px); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.fs-m.pulse { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); transform: translateY(-3px); }
.fs-float { position: absolute; right: 12px; top: 10px; font-size: 20px; font-weight: 800; color: #059669; animation: floatUp 1.8s ease-out forwards; }
.fs-float.neg { color: #dc2626; }
@keyframes floatUp { from { opacity: 1; transform: translateY(10px); } to { opacity: 0; transform: translateY(-26px); } }
.fs-ctl { display: flex; align-items: center; gap: 14px; }
.fs-ctl button { padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.fs-ctl button:hover { border-color: var(--ink); }
.fs-prog { flex: 1; height: 6px; border-radius: 6px; background: #e6e2d8; overflow: hidden; }
.fs-prog i { display: block; height: 100%; width: 0; background: var(--c); }
@media (max-width: 860px) { .fs-meters { grid-template-columns: repeat(2, 1fr); } .fs-ctl button { padding: 10px 12px; } .fs-cap { min-height: 210px; } }

/* ---------- frameless 3D sections ---------- */
.viz { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(640px, 90vh, 880px); background: none; }
.viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; cursor: grab; }
.viz-hint { position: absolute; z-index: 4; left: 50%; bottom: 92px; transform: translateX(-50%); max-width: calc(100% - 28px); padding: 9px 18px; border-radius: 99px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--mute); text-align: center; pointer-events: none; }
.viz-card { position: absolute; z-index: 6; top: 24px; left: max(18px, 4vw); width: min(410px, calc(100% - 36px)); max-height: calc(100% - 140px); overflow: auto; padding: 24px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--c, var(--ink)); box-shadow: var(--shadow); }
.viz-card.right { left: auto; right: max(18px, 4vw); }
.viz-card .vc-eyebrow { font-size: 14px; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 800; color: var(--c, var(--accent)); margin-bottom: 4px; }
.viz-card h3 { margin: 0 0 6px; font-size: 36px; line-height: 1.04; letter-spacing: -1px; }
.viz-card .vc-one { margin: 0 0 14px; font-size: 20px; color: #333943; line-height: 1.4; }
.viz-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.viz-card li { position: relative; padding-left: 24px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.viz-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 3px; border-radius: 2px; background: var(--c, var(--ink)); }
.vc-toggle { width: 100%; background: var(--c); border-color: var(--c); }
.vc-toggle:hover { filter: brightness(0.9); background: var(--c); border-color: var(--c); }
.vc-toggle.added { background: #fff; color: var(--ink); border-color: var(--c); }
.vc-toggle.added:hover { background: #fff; filter: none; border-color: var(--ink); }
.vc-count { margin-top: 12px; font-size: 16px; color: var(--mute); }
.vc-count b { color: var(--ink); font-size: 20px; }
.viz-bar { position: absolute; z-index: 6; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: calc(100% - 20px); overflow-x: auto; scrollbar-width: none; }
.viz-bar button.added::after { content: "added"; margin-left: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.arrow { position: absolute; z-index: 6; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.arrow:hover { border-color: var(--ink); }
.arrow.left { left: max(18px, 3vw); }
.arrow.right { right: max(440px, 36vw); }

.book-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
.book-viz { width: auto; margin-left: 0; height: clamp(560px, 78vh, 760px); margin-top: 28px; }
.card-form { margin-top: 28px; display: grid; gap: 14px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.pick { padding: 16px 18px; border-radius: 12px; border: 2px dashed #c9c4b6; font-size: 19px; font-weight: 700; color: var(--mute); transition: 0.25s; }
.pick.ok { border: 2px solid #059669; color: var(--ink); background: #ecfdf5; }
.pick.shake { animation: shake 0.5s; border-color: #d97706; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.times label { display: block; position: relative; }
.times input { position: absolute; opacity: 0; pointer-events: none; }
.times span { display: block; text-align: center; padding: 13px 8px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 17px; font-weight: 700; color: var(--mute); cursor: pointer; transition: 0.2s; }
.times input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-form .note { font-size: 16px; min-height: 22px; margin: 0; }
.card-form .note.warn { color: #b45309; }
.card-form label { display: grid; gap: 6px; font-size: 16px; font-weight: 600; color: var(--mute); }
.card-form input:not([type="radio"]):not([type="hidden"]), .card-form textarea { font: 17px var(--font); color: var(--ink); background: #faf8f3; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; width: 100%; }
.card-form input:focus, .card-form textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
@media (max-width: 1000px) { .book-grid { grid-template-columns: 1fr; } .arrow.right { right: 18px; } }
@media (max-width: 860px) {
  .viz { height: clamp(660px, 94vh, 880px); }
  .viz-card { top: auto; bottom: 84px; left: 10px; right: 10px; width: auto; max-height: 44%; padding: 16px 18px; }
  .viz-card.right { right: 10px; }
  .viz-card h3 { font-size: 26px; }
  .viz-card .vc-one { font-size: 16px; margin-bottom: 8px; }
  .viz-card li { font-size: 16px; }
  .viz-hint { display: none; }
  .arrow { display: none; }
}

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.roi-in, .roi-out { border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 34px); background: var(--card); box-shadow: var(--shadow); }
.roi-out { position: sticky; top: 84px; }
.roi-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.roi-presets button { padding: 11px 18px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 16px; font-weight: 700; color: var(--mute); cursor: pointer; transition: 0.2s; }
.roi-presets button:hover { color: var(--ink); border-color: var(--ink); }
.roi-presets button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.roi-h { margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--mute); }
.field { margin-bottom: 20px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.field-top label { font-size: 17px; font-weight: 600; color: var(--mute); }
.field-top b { color: var(--ink); font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.field-hint { display: block; margin-bottom: 4px; font-size: 14px; color: #8a8f99; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --pct: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--pct), #e4e0d5 var(--pct)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #e4e0d5; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.roi-more { border-top: 1px solid var(--line); padding: 14px 0 4px; margin-top: 8px; }
.roi-more summary { cursor: pointer; font-size: 17px; font-weight: 700; padding-bottom: 14px; list-style: none; display: flex; justify-content: space-between; }
.roi-more summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--mute); }
.roi-more[open] summary::after { content: "−"; }
.out-label { color: var(--mute); font-size: 14px; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 8px; font-weight: 700; }
.big { font-size: clamp(42px, 5.6vw, 68px); font-weight: 800; letter-spacing: -2.4px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.roi-line { margin: 10px 0 18px; font-size: 19px; color: #333943; min-height: 52px; }
.roi-stack { display: flex; height: 18px; border-radius: 9px; overflow: hidden; background: #e4e0d5; gap: 2px; }
.roi-stack i { display: block; height: 100%; transition: width 0.6s cubic-bezier(.2, .8, .2, 1); }
.roi-legend { display: grid; gap: 8px; margin: 16px 0 6px; }
.roi-legend div { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; font-size: 17px; }
.roi-legend u { width: 12px; height: 12px; border-radius: 3px; }
.roi-legend b { font-variant-numeric: tabular-nums; }
.out-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.out-row div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #faf8f3; }
.out-row b { font-size: 22px; display: block; font-variant-numeric: tabular-nums; line-height: 1.15; }
.out-row small { color: var(--mute); font-size: 14px; line-height: 1.25; display: block; margin-top: 4px; }
.roi-chart { margin: 4px 0 22px; }
.roi-chart svg { width: 100%; height: 190px; display: block; }
.roi-axis { display: flex; justify-content: space-between; font-size: 14px; color: var(--mute); padding: 0 8px; }
.roi-cta { width: 100%; }
.assume { font-size: 14px; color: var(--mute); margin: 16px 0 0; }
@media (max-width: 960px) { .roi { grid-template-columns: 1fr; } .roi-out { position: static; } .out-row { grid-template-columns: 1fr 1fr; } }

.cta { background: var(--bg); }
.foot { background: var(--bg2); border-top: 1px solid var(--line); padding: 26px 0; color: var(--mute); font-size: 15px; }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

body.running .panel, body.running .headline { opacity: 0; pointer-events: none; transform: translateX(20px); }

/* ---------- calendar ---------- */
.cal { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); align-self: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h3 { margin: 0; font-size: 30px; letter-spacing: -0.8px; }
.cal-head h3 span { color: var(--mute); font-weight: 600; }
.cal-nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-week span { text-align: center; font-size: 14px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: 1px; padding-bottom: 8px; }
.cal-day { aspect-ratio: 1; border-radius: 12px; border: 1px solid transparent; background: #faf8f3; font-size: 19px; font-weight: 700; color: var(--ink); cursor: pointer; transition: 0.15s; }
.cal-day:hover:not(:disabled) { border-color: var(--ink); }
.cal-day:disabled { background: transparent; color: #b9b4a6; cursor: default; font-weight: 500; }
.cal-day.today { border-color: #b9b4a6; }
.cal-day.sel { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-note { margin: 16px 0 0; font-size: 15px; color: var(--mute); }

/* ---------- pricing ---------- */
.pr { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
#pricing { --c: var(--accent); }
.pr-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pr-tabs button { display: grid; gap: 2px; text-align: left; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: 0.2s; font-family: inherit; }
.pr-tabs button b { font-size: 20px; color: var(--ink); }
.pr-tabs button span { font-size: 15px; font-weight: 600; color: var(--mute); }
.pr-tabs button:hover { border-color: var(--c); }
.pr-tabs button.on { background: var(--c); border-color: var(--c); }
.pr-tabs button.on b, .pr-tabs button.on span { color: #fff; }
.pr-tag { margin: 16px 0 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }
.pr-seats { margin: 14px 0 26px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pr-seat-top { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.pr-step { display: flex; align-items: center; gap: 14px; }
.pr-step button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #faf8f3; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.pr-step button:hover { border-color: var(--ink); }
.pr-step b { min-width: 52px; text-align: center; font-size: 34px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.pr-seats small { display: block; min-height: 18px; color: var(--mute); font-size: 14px; }
.pr-table { overflow-x: auto; }
.pr-table table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.pr-table th, .pr-table td { padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--line); font-weight: 600; }
.pr-table thead th { font-size: 15px; color: var(--mute); text-transform: uppercase; letter-spacing: 1px; }
.pr-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.pr-table .col { background: color-mix(in srgb, var(--c) 9%, transparent); }
.pr-table thead .col { color: var(--c); }
.pr-table i { display: inline-block; vertical-align: middle; }
.pr-table i.yes { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.pr-table i.no { width: 12px; height: 2px; background: #c9c4b6; }

.pr-right { position: sticky; top: 84px; display: grid; justify-items: center; }
.pr-slot { width: min(410px, 100%); height: 18px; border-radius: 9px; background: #2a2d34; box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.6), 0 6px 14px -6px rgba(0, 0, 0, 0.5); position: relative; z-index: 3; }
.pr-paper-wrap { width: min(372px, 92%); overflow: hidden; margin-top: -9px; padding-bottom: 26px; }
.paper { position: relative; padding: 26px 26px 30px; background: #fffdf7; color: #1f2024; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; box-shadow: 0 24px 40px -22px rgba(22, 24, 29, 0.5); border: 1px solid #ece7d8; border-top: 0; }
.paper::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -13px; height: 14px; background: linear-gradient(-45deg, transparent 8px, #fffdf7 0), linear-gradient(45deg, transparent 8px, #fffdf7 0); background-size: 16px 14px; background-position: left bottom; }
.paper.print { animation: printOut 1.1s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes printOut { from { transform: translateY(-100%); } 70% { transform: translateY(1.5%); } to { transform: none; } }
.pp-top { display: flex; justify-content: space-between; align-items: baseline; }
.pp-top b { font-family: var(--font); font-size: 22px; letter-spacing: -0.5px; }
.pp-top span { font-size: 13px; color: #7d7a6c; }
.pp-sub { font-size: 13px; color: #7d7a6c; margin-top: 2px; }
.pp-rule { border-top: 2px dashed #cfc9b6; margin: 14px 0; }
.pp-row { display: flex; justify-content: space-between; padding: 3px 0; }
.paper ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.paper li { padding-left: 16px; position: relative; line-height: 1.3; }
.paper li::before { content: "+"; position: absolute; left: 0; color: var(--c); font-weight: 800; }
.pp-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pp-total span { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.pp-total b { font-family: var(--font); font-size: 38px; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.pp-total b.tick { animation: tick 0.35s ease; }
@keyframes tick { 40% { transform: translateY(-4px); color: var(--c); } }
.pp-extra { margin-top: 10px; font-size: 12.5px; color: #7d7a6c; line-height: 1.35; }
.pp-stamp { position: absolute; right: 22px; top: 22px; padding: 3px 10px; border: 3px solid var(--c); color: var(--c); font-family: var(--font); font-size: 15px; font-weight: 800; letter-spacing: 2px; border-radius: 6px; transform: rotate(-9deg); opacity: 0.85; mix-blend-mode: multiply; }
.paper.print .pp-stamp { animation: stamp 0.4s 1s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes stamp { from { transform: rotate(-9deg) scale(2.4); opacity: 0; } to { transform: rotate(-9deg) scale(1); opacity: 0.85; } }
.pr-cta { margin-top: 6px; width: min(372px, 92%); background: var(--c); border-color: var(--c); }
.pr-cta:hover { filter: brightness(0.9); background: var(--c); border-color: var(--c); }
@media (max-width: 960px) { .pr { grid-template-columns: 1fr; } .pr-right { position: static; } .pr-tabs { grid-template-columns: repeat(2, 1fr); } }

/* ---------- hero price line + ambient background ---------- */
.price-line { margin: 18px 0 0 !important; font-size: 22px !important; color: var(--ink) !important; font-weight: 600; }
.price-line b { font-size: 26px; letter-spacing: -0.5px; }
.price-line a { color: var(--accent); border-bottom: 2px solid currentColor; font-weight: 700; }
.price-line a:hover { color: var(--ink); }
.stage::before, .stage::after { content: ""; position: absolute; z-index: 0; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: 0.55; }
.stage::before { left: -15vw; top: -20vw; background: radial-gradient(closest-side, #ffe8c2, transparent); animation: drift1 26s ease-in-out infinite alternate; }
.stage::after { right: -15vw; bottom: -25vw; background: radial-gradient(closest-side, #d6e2ff, transparent); animation: drift2 32s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 8vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, -6vw) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .stage::before, .stage::after { animation: none; } }
@media (max-width: 860px) { .price-line { font-size: 18px !important; } .price-line b { font-size: 22px; } }


.headline h1, .headline p, .price-line { text-shadow: 0 0 14px rgba(247, 245, 240, 0.95), 0 0 4px rgba(247, 245, 240, 0.95), 0 0 28px rgba(247, 245, 240, 0.8); }
