/* Resolume Arena Masterclass: public site & checkout funnel
   Concept: the page is a performance. The hero deck is the one loud element;
   everything else is quiet, dark and disciplined so the artwork carries the color. */

@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/interdisplay-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/interdisplay-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/interdisplay-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --blackout: #0c0a16;   /* page: a venue under UV, not neutral black */
  --stage: #15122a;      /* raised surfaces */
  --stage-2: #1c1836;
  --truss: #2a2546;      /* hairlines */
  --spill: #f3f0fa;      /* primary text: projector white */
  --haze: #a39dc2;       /* secondary text */
  --dim: #6f6990;
  --cue: #ff3d8b;        /* the only "act" colour: buy buttons, price */
  --cue-ink: #1a0611;
  --live: #39e1ff;       /* the only "live" colour: playing clips, beat */
  --w: 1180px;
  --gutter: 24px;
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --display: "Inter Display", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--blackout); color: var(--spill); font: 400 17px/1.6 var(--text); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--cue); color: var(--cue-ink); }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--spill); color: var(--blackout); padding: 8px 14px; border-radius: 6px; }
.wrap { max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 800; }
.h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.032em; max-width: 17ch; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--haze); max-width: 58ch; margin: 22px 0 0; text-wrap: pretty; }
h3 { font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.012em; }
p { margin: 0; }
.muted { color: var(--haze); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16.5px/1 var(--text); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .15s, transform .15s; }
.btn-cue { background: var(--cue); color: var(--cue-ink); }
.btn-cue:hover { background: #ff5d9f; }
.btn-cue:active { transform: translateY(1px); }
.btn-quiet { background: transparent; color: var(--spill); box-shadow: inset 0 0 0 1px var(--truss); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1px var(--haze); }
.btn-wide { width: 100%; }
.textlink { color: var(--spill); text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: var(--spill); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.site-header.solid { background: rgba(12, 10, 22, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--truss); }
.hdr { height: 72px; display: flex; align-items: center; gap: 28px; }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 16px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.mark svg { width: 26px; height: 26px; flex: none; }
.mark b { font-weight: 700; }
.mark span { color: var(--haze); font-weight: 600; }
.hdr nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.hdr nav a { text-decoration: none; color: var(--haze); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.hdr nav a:hover { color: var(--spill); }
.hdr .btn { min-height: 42px; padding: 0 18px; font-size: 15px; margin-left: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 96px; overflow: hidden; isolation: isolate; }
.spill { position: absolute; z-index: -1; inset: -10% -10% auto 30%; height: 110%; background-size: cover; background-position: center; filter: blur(90px) saturate(130%); opacity: .3; transition: background-image .6s; -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--blackout)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(60px, 7.6vw, 108px); line-height: .93; letter-spacing: -0.045em; max-width: 7ch; }
.hero .lead { margin-top: 28px; max-width: 34ch; color: #c9c4e0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--haze); }
.hero-note b { color: var(--spill); font-weight: 600; }

/* ---------- the deck (interactive hero) ---------- */
.deck { background: var(--stage); border-radius: var(--r-l); padding: 14px; box-shadow: 0 0 0 1px var(--truss), 0 50px 120px -30px rgba(0, 0, 0, .9); }
.deck-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 12px; font-size: 13px; color: var(--haze); }
.deck-top .ttl { font-weight: 600; color: var(--spill); }
.tempo { display: flex; align-items: center; gap: 10px; }
.tap { font: 600 12.5px/1 var(--text); color: var(--spill); background: var(--stage-2); border: 0; box-shadow: inset 0 0 0 1px var(--truss); border-radius: 6px; padding: 7px 11px; cursor: pointer; }
.tap:hover { box-shadow: inset 0 0 0 1px var(--haze); }
.tap:active, .tap.hit { background: var(--live); color: #04151a; box-shadow: none; }
.bpm { font-variant-numeric: tabular-nums; color: var(--spill); font-weight: 600; min-width: 3.2ch; text-align: right; }
.beats { display: flex; gap: 4px; }
.beats i { width: 8px; height: 8px; border-radius: 2px; background: var(--truss); }
.beats i.on { background: var(--live); box-shadow: 0 0 10px var(--live); }
.output { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000; }
.output .layer { position: absolute; inset: 0; }
.output .layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.output .l2, .output .l3 { mix-blend-mode: screen; }
.output .l1 { opacity: var(--o1, 1); } .output .l2 { opacity: var(--o2, .55); } .output .l3 { opacity: var(--o3, .75); }
.output.pulse { animation: pulse .22s ease-out; }
@keyframes pulse { 0% { transform: scale(1.018); filter: brightness(1.18); } 100% { transform: scale(1); filter: none; } }
.out-tag { position: absolute; left: 12px; top: 12px; font: 600 11.5px/1 var(--text); color: #fff; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); padding: 6px 9px; border-radius: 6px; display: flex; align-items: center; gap: 7px; }
.out-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
.clips { margin-top: 12px; display: grid; gap: 6px; }
.crow { display: grid; grid-template-columns: 92px repeat(5, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.cname { display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: 12px; color: var(--haze); padding: 0 4px; }
.cname input[type=range] { width: 100%; height: 18px; accent-color: var(--live); margin: 0; }
.colbtn { font: 600 11.5px/1 var(--text); color: var(--haze); background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--truss); border-radius: 6px; height: 26px; cursor: pointer; font-variant-numeric: tabular-nums; }
.colbtn:hover { color: var(--spill); box-shadow: inset 0 0 0 1px var(--haze); }
.colbtn.on { color: #04151a; background: var(--live); box-shadow: none; }
.clip { position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 7px; background-size: cover; background-position: center; cursor: pointer; opacity: .62; transition: opacity .15s; }
.clip:hover { opacity: .95; }
.clip[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--live), 0 0 18px rgba(57, 225, 255, .45); }
.deck-hint { margin: 12px 4px 2px; font-size: 13px; color: var(--haze); }

/* ---------- sections ---------- */
.sec { padding: 132px 0 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .h2, .sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* facts sentence under hero */
.facts { padding: 8px 0 0; }
.facts p { font: 600 clamp(20px, 2.2vw, 28px)/1.35 var(--display); letter-spacing: -0.015em; color: var(--haze); max-width: 46ch; text-wrap: balance; }
.facts p b { color: var(--spill); font-weight: 700; }

/* why */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.why-list { display: grid; gap: 34px; padding-top: 10px; }
.why-item { display: grid; grid-template-columns: 22px 1fr; gap: 18px; }
.cell { width: 14px; height: 10px; border-radius: 2px; background: var(--live); margin-top: 8px; box-shadow: 0 0 12px rgba(57, 225, 255, .5); }
.why-item h3 { margin-bottom: 6px; }
.why-item p { color: var(--haze); }

/* product tour */
.tour { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; margin-top: 64px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; counter-reset: st; }
.step { counter-increment: st; }
.step button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 14px; width: 100%; padding: 18px 18px 18px 14px; border-radius: var(--r-m); }
.step button::before { content: counter(st); font: 700 14px/1 var(--display); color: var(--dim); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--truss); }
.step button:hover { background: rgba(255, 255, 255, .025); }
.step button[aria-selected="true"] { background: var(--stage); box-shadow: inset 0 0 0 1px var(--truss); }
.step button[aria-selected="true"]::before { background: var(--spill); color: var(--blackout); box-shadow: none; }
.step b { display: block; font: 600 19px/1.3 var(--display); letter-spacing: -0.01em; margin-bottom: 4px; }
.step span { color: var(--haze); font-size: 15.5px; line-height: 1.5; }
.screen { position: sticky; top: 104px; margin: 0; }
.screen-frame { border-radius: var(--r-l); overflow: hidden; background: var(--stage); box-shadow: 0 0 0 1px var(--truss), 0 40px 100px -40px rgba(0, 0, 0, .9); aspect-ratio: 1280 / 820; display: grid; place-items: start center; }
.screen-frame img { width: 100%; height: auto; }
.screen-frame { position: relative; isolation: isolate; }
.screen-frame.fit { place-items: center; padding: 8%; }
.screen-frame { background-size: cover; background-position: center; }
.screen-frame.fit img { border-radius: var(--r-m); box-shadow: 0 30px 70px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08); }
.screen figcaption { margin-top: 14px; font-size: 14px; color: var(--dim); }

/* curriculum */
.curr { margin-top: 64px; border-top: 1px solid var(--truss); }
.phase { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--truss); }
.ph-name { display: grid; grid-template-columns: 54px 1fr; gap: 6px 14px; align-content: start; }
.ph-num { grid-row: span 2; font: 800 40px/1 var(--display); letter-spacing: -0.04em; color: var(--dim); font-variant-numeric: tabular-nums; }
.ph-name h3 { font-size: 22px; }
.ph-name p { font-size: 14.5px; color: var(--haze); }
.mods { display: grid; gap: 2px; }
.mod summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 72px 1fr auto 18px; gap: 16px; align-items: center; padding: 10px 10px 10px 0; border-radius: 10px; }
.mod summary::-webkit-details-marker { display: none; }
.mod summary:hover .mt b { color: #fff; }
.mthumb { width: 72px; aspect-ratio: 16 / 9; border-radius: 6px; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.mt { min-width: 0; }
.mt b { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.3; color: var(--spill); }
.mt small { color: var(--dim); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.mhrs { font-size: 13.5px; color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chev { width: 18px; height: 18px; color: var(--dim); transition: transform .2s; }
.mod[open] .chev { transform: rotate(180deg); }
.mod-body { padding: 4px 0 18px 88px; color: var(--haze); font-size: 15.5px; }
.mod-body p { color: var(--spill); font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.mod-body ul { margin: 0; padding-left: 18px; } .mod-body li { margin: 3px 0; }
.mod-body .incl { margin-top: 10px; font-weight: 400; color: var(--dim); font-size: 13.5px; }

/* finish with a show */
.show { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.show-art { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background-size: cover; background-position: center; box-shadow: 0 0 0 1px var(--truss); }
.deliv { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; }
.deliv li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.deliv b { display: block; font-weight: 600; margin-bottom: 3px; }
.deliv span { color: var(--haze); font-size: 15.5px; line-height: 1.5; }

/* two ways */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; }
.way { background: var(--stage); border-radius: var(--r-l); overflow: hidden; box-shadow: 0 0 0 1px var(--truss); display: flex; flex-direction: column; }
.way-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.way-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.way-book { display: grid; place-items: center; background: radial-gradient(70% 80% at 50% 60%, #2a1f55, var(--stage) 70%); }
.fan { position: relative; width: 74%; height: 84%; }
.fan img { position: absolute; width: 46%; top: 8%; border-radius: 4px; box-shadow: 0 24px 50px rgba(0, 0, 0, .6); }
.fan img:nth-child(1) { left: 2%; transform: rotate(-8deg); z-index: 3; }
.fan img:nth-child(2) { left: 27%; top: 4%; z-index: 2; transform: rotate(-1deg); }
.fan img:nth-child(3) { left: 52%; transform: rotate(7deg); }
.way-tx { padding: 28px 30px 32px; }
.way-tx p { color: var(--haze); margin-top: 8px; }

/* who */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 60px; }
.who > div { border-top: 1px solid var(--truss); padding-top: 24px; }
.who p { color: var(--haze); margin-top: 10px; }
.who .start { margin-top: 16px; font-size: 14.5px; color: var(--spill); }
.who .start em { font-style: normal; color: var(--live); font-weight: 600; }

/* pricing */
.pricing { padding-top: 140px; }
.plan { max-width: 880px; margin: 56px auto 0; background: var(--stage); border-radius: 28px; box-shadow: 0 0 0 1px var(--truss), 0 60px 140px -50px rgba(255, 61, 139, .35); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); overflow: hidden; }
.plan-buy { padding: 40px 40px 38px; border-right: 1px solid var(--truss); display: flex; flex-direction: column; }
.billing { display: inline-flex; background: var(--blackout); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--truss); margin-bottom: 30px; align-self: flex-start; }
.billing button { all: unset; cursor: pointer; font: 600 14px/1 var(--text); color: var(--haze); padding: 10px 16px; border-radius: 999px; }
.billing button[aria-pressed="true"] { background: var(--spill); color: var(--blackout); }
.billing small { font-weight: 600; color: var(--cue); margin-left: 6px; }
.billing button[aria-pressed="true"] small { color: #c2185b; }
.price { font: 800 clamp(56px, 6vw, 72px)/1 var(--display); letter-spacing: -0.04em; color: var(--spill); display: flex; align-items: baseline; gap: 10px; }
.price small { font: 500 16px/1 var(--text); letter-spacing: 0; color: var(--haze); }
.plan .yr { display: none; }
.plan[data-bill="yearly"] .mo { display: none; }
.plan[data-bill="yearly"] .price.yr { display: flex; }
.plan[data-bill="yearly"] .plan-sub.yr { display: block; }
.plan-sub { margin: 12px 0 30px; color: var(--haze); font-size: 15.5px; }
.plan-buy .btn { margin-top: auto; }
.plan-safe { margin-top: 16px; font-size: 13.5px; color: var(--dim); text-align: center; }
.plan-inc { padding: 40px 40px 38px; }
.plan-inc h3 { font-size: 17px; margin-bottom: 18px; }
.plan-inc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.plan-inc li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.tick { width: 16px; height: 16px; margin-top: 3px; color: var(--live); }
.team-note { text-align: center; margin-top: 28px; color: var(--haze); font-size: 15px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
.faq-grid .h2 { font-size: clamp(34px, 3.8vw, 48px); max-width: 12ch; }
.faq-grid .lead { font-size: 17px; }
.faqs { border-top: 1px solid var(--truss); }
.qa { border-bottom: 1px solid var(--truss); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 18px/1.4 var(--display); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev { flex: none; margin-top: 4px; }
.qa[open] .chev { transform: rotate(180deg); }
.qa p { color: var(--haze); padding: 0 40px 24px 0; max-width: 64ch; }
.qa a { color: var(--spill); }

/* final */
.final { position: relative; margin-top: 140px; padding: 150px 0 140px; overflow: hidden; isolation: isolate; text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(12, 10, 22, .55), rgba(12, 10, 22, .92)), linear-gradient(var(--blackout), transparent 25%, transparent 75%, var(--blackout)); }
.final h2 { font-size: clamp(44px, 6.4vw, 88px); line-height: .96; letter-spacing: -0.045em; max-width: 12ch; margin: 0 auto; text-wrap: balance; }
.final .lead { margin: 22px auto 0; color: #d6d1ea; }
.final .hero-cta { justify-content: center; }

/* footer */
.site-footer { padding: 64px 0 56px; border-top: 1px solid var(--truss); color: var(--dim); font-size: 14px; }
.ft { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)); gap: 40px; }
.ft h4 { font: 600 14px/1 var(--text); color: var(--spill); margin: 0 0 14px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ft a { text-decoration: none; color: var(--haze); } .ft a:hover { color: var(--spill); }
.ft p { margin-top: 16px; max-width: 46ch; line-height: 1.55; }
.legalline { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--truss); line-height: 1.55; }

/* sticky mobile buy bar */
.buybar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; background: rgba(21, 18, 42, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; box-shadow: 0 0 0 1px var(--truss), 0 20px 50px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .3s; }
.buybar.show { transform: none; }
.buybar p { font-size: 14px; line-height: 1.25; color: var(--haze); flex: 1; }
.buybar b { color: var(--spill); }
.buybar .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* legal pages */
.doc { padding: 150px 0 40px; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1; }
.doc .prose { max-width: 70ch; margin-top: 36px; color: #d2cde6; }
.doc .prose h2 { font: 700 22px/1.3 var(--display); color: var(--spill); margin: 38px 0 10px; letter-spacing: -0.01em; }
.doc .prose p { margin: 0 0 14px; }
.tplnote { background: rgba(255, 61, 139, .08); box-shadow: inset 0 0 0 1px rgba(255, 61, 139, .35); padding: 14px 18px; border-radius: var(--r-m); color: var(--spill); }

/* ---------- checkout funnel (server-rendered pages) ---------- */
.auth-main { min-height: calc(100vh - 160px); display: grid; place-items: start center; padding: 128px var(--gutter) 90px; position: relative; isolation: isolate; overflow: hidden; }
.auth-main::before { content: ""; position: absolute; z-index: -1; inset: -20% -10% auto; height: 80%; background: url("img/deck/m22.jpg") center / cover; filter: blur(110px) saturate(130%); opacity: .3; }
.auth-card { width: 100%; max-width: 460px; background: var(--stage); border-radius: var(--r-l); padding: 38px 36px 32px; box-shadow: 0 0 0 1px var(--truss), 0 50px 120px -40px rgba(0, 0, 0, .9); }
.auth-card h1 { font-size: 34px; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.auth-card > p { color: var(--haze); }
.auth-form { display: grid; gap: 16px; margin: 22px 0 14px; }
.auth-form label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 600; }
.auth-form small { font-weight: 400; color: var(--dim); }
.auth-form input[type=email], .auth-form input[type=password] { font: 400 16px var(--text); color: var(--spill); background: var(--blackout); border: 0; box-shadow: inset 0 0 0 1px var(--truss); border-radius: 10px; padding: 14px 15px; }
.auth-form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--live); }
.auth-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--haze); }
.auth-form .check input { margin-top: 4px; accent-color: var(--cue); }
.auth-form .check a { color: var(--spill); }
.plans { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.plans legend { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.plan-opt { display: flex !important; flex-direction: row; gap: 12px; align-items: center; padding: 14px 15px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--truss); cursor: pointer; font-weight: 500 !important; }
.plan-opt input { accent-color: var(--cue); }
.plan-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--cue); background: rgba(255, 61, 139, .06); }
.auth-card .btn.primary { background: var(--cue); color: var(--cue-ink); width: 100%; }
.auth-card .btn.primary:hover { background: #ff5d9f; }
.auth-card .btn.ghost { background: transparent; color: var(--spill); box-shadow: inset 0 0 0 1px var(--truss); width: 100%; }
.auth-card .btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--haze); }
.auth-card .btn.wide { width: 100%; }
.auth-card form { margin: 0; }
.auth-card form.auth-form { margin: 24px 0 14px; }
.form-err { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(255, 61, 139, .1); box-shadow: inset 0 0 0 1px rgba(255, 61, 139, .45); color: #ffd1e3; font-size: 15px; }
.form-ok { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(57, 225, 255, .08); box-shadow: inset 0 0 0 1px rgba(57, 225, 255, .4); color: #cdf6ff; font-size: 15px; }
.auth-card .small, .auth-card .muted.small { font-size: 14px; color: var(--haze); margin-top: 14px; }
.auth-card .small a { color: var(--spill); }
.acct { display: grid; grid-template-columns: 112px 1fr; gap: 12px 16px; margin: 24px 0 26px; font-size: 15.5px; }
.acct dt { color: var(--dim); } .acct dd { margin: 0; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill.ok { background: rgba(57, 225, 255, .14); color: var(--live); } .pill.no { background: rgba(255, 61, 139, .14); color: #ff8fbe; }
.acct-actions { display: grid; gap: 10px; }
.linkbtn { all: unset; cursor: pointer; margin-top: 20px; color: var(--haze); font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; }
.linkbtn:hover { color: var(--spill); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 9ch; }
  .why-grid, .tour, .show, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .screen { position: static; }
  .show-art { aspect-ratio: 16 / 10; }
  .phase { grid-template-columns: 1fr; gap: 16px; }
  .plan { grid-template-columns: 1fr; } .plan-buy { border-right: 0; border-bottom: 1px solid var(--truss); }
  .hdr nav a:not(.login) { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  .hdr { height: 64px; gap: 8px; } .mark span { display: none; } .mark { font-size: 14.5px; gap: 9px; } .mark svg { width: 22px; height: 22px; }
  .hdr nav { gap: 0; } .hdr nav a.login { padding: 8px 8px; font-size: 14.5px; white-space: nowrap; }
  .hdr .btn { margin-left: 0; padding: 0 14px; min-height: 38px; font-size: 14.5px; }
  .hero { padding: 112px 0 64px; }
  .hero-cta .btn-cue { width: 100%; }
  .sec { padding-top: 96px; } .pricing { padding-top: 104px; }
  .deck { padding: 10px; border-radius: 18px; }
  .crow { grid-template-columns: 54px repeat(5, minmax(0, 1fr)); gap: 4px; }
  .cname span { font-size: 11px; } .colbtn { height: 22px; }
  .tempo .lbl { display: none; }
  .ways, .who, .deliv { grid-template-columns: 1fr; }
  .mod summary { grid-template-columns: 56px 1fr 18px; gap: 12px; } .mthumb { width: 56px; } .mhrs { display: none; }
  .mod-body { padding-left: 0; }
  .plan-buy, .plan-inc { padding: 30px 24px; }
  .ft { grid-template-columns: 1fr 1fr; } .ft > div:first-child { grid-column: 1 / -1; }
  .buybar { display: flex; }
  .final { padding: 110px 0 100px; margin-top: 104px; }
  .auth-card { padding: 30px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) { .output.pulse { animation: none; } .buybar, .site-header, .chev { transition: none; } }

.curr-more.collapsed { display: none; }
.more-wrap { margin-top: 28px; }
.more-wrap .btn { min-height: 46px; }
