/* ------------------------------------------------------------------
   Design tokens (light, warm neutrals, 5px radii, no hairline borders)
------------------------------------------------------------------ */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f1;
  --bg-softer: #f8f8f6;
  --bg-dark: #0e0f14;
  --bg-dark-2: #1b1c24;
  --text: #0f1014;
  --text-2: #4d5160;
  --text-3: #80859a;
  --text-on-dark: #ffffff;
  --text-on-dark-2: #a9adbd;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-2: #7c3aed;
  --accent-soft: #ecebfb;
  --accent-contrast: #ffffff;
  --success: #15803d;
  --danger: #dc2626;
  --warning: #b45309;
  --wave: #d2d3df;
  --wave-progress: #4f46e5;
  --r: 5px;
  --shadow-sm: 0 1px 2px rgba(15, 16, 20, .05), 0 8px 24px -16px rgba(15, 16, 20, .14);
  --shadow-md: 0 16px 44px -22px rgba(15, 16, 20, .22);
  --shadow-lg: 0 34px 80px -34px rgba(15, 16, 20, .30);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1280px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); letter-spacing: -.045em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.04em; font-weight: 800; }
h3 { font-size: 1.2rem; letter-spacing: -.02em; }
h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 600; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: inline-block; vertical-align: middle; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: var(--r); }
.skip-link:focus { left: 8px; z-index: 1000; }
[hidden] { display: none !important; }
address { font-style: normal; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--bg-soft); padding: 1px 5px; border-radius: 3px; }
.kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

/* ------------------------------------------------------------------
   Motion: page transitions, load, scroll reveals
------------------------------------------------------------------ */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
main { animation: page-in .5s var(--ease) both; }
body.leaving main { opacity: 0; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: page-in .7s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; } .hero-copy > *:nth-child(2) { animation-delay: .12s; } .hero-copy > *:nth-child(3) { animation-delay: .2s; } .hero-copy > *:nth-child(4) { animation-delay: .28s; } .hero-copy > *:nth-child(5) { animation-delay: .36s; }
.hero-visual { animation: page-in .8s var(--ease) .25s both; }

/* ------------------------------------------------------------------
   Page-wide ambient background: absolute layer the full document tall,
   so glows live at fixed spots in the page and scroll with it.
------------------------------------------------------------------ */
.bg-glow { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-glow i { position: absolute; display: block; border-radius: 50%; }
.bg-glow .g1 { width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; left: -22vw; top: -22vw; background: radial-gradient(circle at center, rgba(79, 70, 229, .20), rgba(79, 70, 229, 0) 62%); }
.bg-glow .g2 { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; right: -20vw; top: 420px; background: radial-gradient(circle at center, rgba(244, 114, 182, .16), rgba(244, 114, 182, 0) 62%); }
.bg-glow .g3 { width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; left: -25vw; top: 1500px; background: radial-gradient(circle at center, rgba(251, 191, 36, .14), rgba(251, 191, 36, 0) 62%); }
.bg-glow .g4 { width: 60vw; height: 60vw; max-width: 860px; max-height: 860px; right: -18vw; top: 2600px; background: radial-gradient(circle at center, rgba(79, 70, 229, .14), rgba(79, 70, 229, 0) 62%); }
.bg-glow .g5 { width: 60vw; height: 60vw; max-width: 860px; max-height: 860px; left: 20vw; top: 3700px; background: radial-gradient(circle at center, rgba(244, 114, 182, .12), rgba(244, 114, 182, 0) 62%); }
.bg-glow .grid { left: 0; right: 0; top: 0; height: 1400px; border-radius: 0; background-image: linear-gradient(rgba(15, 16, 20, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 16, 20, .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }

/* ------------------------------------------------------------------
   Buttons / forms
------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: var(--r); font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s var(--ease), box-shadow .18s ease;
  white-space: nowrap; text-decoration: none !important; line-height: 1.2;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:not(:disabled):active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:not(:disabled):hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(79, 70, 229, .7); }
.btn-ghost { background: rgba(15, 16, 20, .06); color: var(--text); }
.btn-ghost:not(:disabled):hover { background: rgba(15, 16, 20, .10); }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn-soft:not(:disabled):hover { background: #e2e0fa; }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:not(:disabled):hover { background: #000; }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r);
  border: 0; background: transparent; color: var(--text-3); cursor: pointer; transition: all .15s;
}
.icon-btn:hover { color: var(--text); background: rgba(15, 16, 20, .06); }
.icon-btn.active { color: var(--accent); background: var(--accent-soft); }
.icon-btn.danger:hover { color: var(--danger); background: #fef2f2; }
.icon-btn svg { width: 17px; height: 17px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .label { font-size: .82rem; font-weight: 600; color: var(--text-2); letter-spacing: .01em; }
.input, textarea.input, select.input {
  width: 100%; padding: 12px 14px; border: 0; border-radius: var(--r); background: var(--bg-soft); color: var(--text);
  outline: none; transition: box-shadow .18s, background .18s;
}
.input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.input::placeholder { color: var(--text-3); }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.5; }
.input-row { display: flex; gap: 10px; align-items: center; }
.hint { color: var(--text-3); font-size: .8rem; }
.range { width: 100%; accent-color: var(--accent); }
.segmented { display: inline-flex; background: var(--bg-soft); padding: 3px; gap: 2px; border-radius: var(--r); }
.segmented button { border: 0; background: transparent; padding: 7px 16px; cursor: pointer; font-weight: 600; font-size: .875rem; color: var(--text-2); border-radius: 3px; transition: background .15s, color .15s; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; color: var(--text-2); }
.switch input { appearance: none; width: 38px; height: 20px; background: #cfd2dc; position: relative; transition: background .2s; cursor: pointer; margin: 0; border-radius: var(--r); }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: #fff; transition: transform .2s var(--ease); border-radius: 3px; }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(18px); }

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(15, 16, 20, .04); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -.01em; text-decoration: none !important; font-size: 1.05rem; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--text); color: #fff; border-radius: var(--r); }
.brand-logo { height: 34px; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo { height: 28px; } }
.nav-links { display: flex; gap: 2px; margin-left: 8px; }
.nav-links a { color: var(--text-2); padding: 8px 12px; font-weight: 500; font-size: .95rem; border-radius: var(--r); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.credits-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .85rem; border-radius: var(--r); }
.user-button { display: inline-flex; min-width: 0; }
.user-button:empty { display: none; }
.dev-badge { font-size: .75rem; color: var(--warning); background: #fff4e5; padding: 4px 9px; font-weight: 600; border-radius: var(--r); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; background: #fff; box-shadow: var(--shadow-md); padding: 10px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  #btn-cta { display: none; }
}

/* ------------------------------------------------------------------
   Hero (full height, copy left, live demo right)
------------------------------------------------------------------ */
.hero { min-height: min(calc(100vh - var(--header-h)), 860px); display: flex; align-items: center; padding: 48px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; position: relative; }
@media (max-width: 980px) { .hero { min-height: 0; padding-top: 32px; } .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin-bottom: 20px; max-width: 11ch; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 420px; margin: 0 0 32px; line-height: 1.5; }
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.hero-link { font-weight: 600; color: var(--text); }
.hero-link::after { content: " \2192"; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--text-3); }
.hero-visual { position: relative; }
.orb { position: absolute; inset: -12% -8% -8% -8%; z-index: -1; border-radius: 50%; filter: blur(52px); opacity: .5; background: conic-gradient(from 0deg, #c7d2fe, #f5d0fe, #fde68a, #a5f3fc, #c7d2fe); animation: orb-spin 26s linear infinite; }
@keyframes orb-spin { to { transform: rotate(360deg); } }
.hero-player-card { background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); padding: 22px; border-radius: var(--r); }
.hero-form { display: flex; gap: 8px; margin-top: 16px; }
.hero-form .input { flex: 1; padding: 13px 16px; font-size: 1rem; }
.hero-try { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; font-size: .8rem; color: var(--text-3); }
.hero-try .chip { padding: 5px 10px; font-size: .78rem; }
.hero-demo-note { margin: 12px 0 0; font-size: .78rem; color: var(--text-3); }

/* ------------------------------------------------------------------
   Web player (hero + scene previews)
------------------------------------------------------------------ */
.player { display: grid; gap: 10px; }
.player-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.player-play { width: 52px; height: 52px; border: 0; border-radius: var(--r); background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, transform .15s var(--ease); }
.player-play:hover { background: var(--accent-hover); transform: scale(1.04); }
.player-play svg { width: 20px; height: 20px; }
.player-play .ico-pause { display: none; }
.player-play.playing .ico-play { display: none; }
.player-play.playing .ico-pause { display: block; }
.player-info { min-width: 0; }
.player-title { font-weight: 600; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta { font-size: .8rem; color: var(--text-3); margin-top: 2px; }
.player-time { font-size: .8rem; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-time i { font-style: normal; margin: 0 4px; opacity: .6; }
.player-wave-wrap { position: relative; background: var(--bg-softer); border-radius: var(--r); padding: 8px 10px; }
.player-wave { min-height: 56px; }
.player-busy { position: absolute; inset: 0; background: rgba(248, 248, 246, .92); border-radius: var(--r); display: flex; align-items: center; justify-content: center; gap: 14px; }
.player-busy-bars { display: flex; align-items: center; gap: 3px; height: 32px; }
.player-busy-bars i { width: 3px; height: 100%; background: var(--accent); border-radius: 2px; opacity: .8; transform-origin: center; animation: busy-bar 1s var(--ease) infinite; animation-delay: var(--d); }
@keyframes busy-bar { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.player-busy-text { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.player-tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.player-tracks li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: var(--r); font-size: .88rem; color: var(--text-2); transition: background .15s; }
.player-tracks li:hover { background: var(--bg-soft); }
.player-tracks li.active { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.mini-play { width: 26px; height: 26px; border: 0; border-radius: 4px; background: var(--text); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mini-play svg { width: 11px; height: 11px; }
.mini-play .ico-pause { display: none; }
.player-tracks li.active .mini-play { background: var(--accent); }
.tdur { font-variant-numeric: tabular-nums; color: var(--text-3); font-size: .8rem; }


/* ------------------------------------------------------------------
   How it works: animated three-step flow
------------------------------------------------------------------ */
.flow-section { padding-top: 24px; }
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; --flow: 0%; }
.flow-line { position: absolute; left: calc(16.66% + 12px); right: calc(16.66% + 12px); top: 34px; height: 3px; background: rgba(15, 16, 20, .08); border-radius: 2px; z-index: 0; }
.flow-line i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--flow); background: var(--accent); border-radius: 2px; transition: width .9s var(--ease); }
.flow-line b { position: absolute; top: 50%; left: var(--flow); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(79, 70, 229, .18); transition: left .9s var(--ease); }
.flow-step { position: relative; z-index: 1; background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 0 28px 30px; cursor: pointer; opacity: .55; transform: translateY(6px) scale(.985); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.flow-step.is-active { opacity: 1; transform: none; box-shadow: var(--shadow-md); }
.flow-step.is-done { opacity: .8; transform: none; }
.flow-num { display: inline-grid; place-items: center; width: 68px; height: 68px; margin: 0 0 18px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); font-weight: 800; font-size: 1.25rem; letter-spacing: -.04em; color: var(--text-3); transition: background .4s, color .4s; }
.flow-step.is-active .flow-num, .flow-step.is-done .flow-num { background: var(--accent); color: #fff; }
.flow-step h3 { font-size: 1.35rem; margin: 18px 0 6px; }
.flow-step p { color: var(--text-2); margin: 0; font-size: .98rem; }
.flow-visual { background: var(--bg-softer); border-radius: var(--r); padding: 16px; min-height: 150px; display: grid; align-content: center; gap: 10px; }
.flow-prompt { background: #fff; border-radius: var(--r); padding: 12px 14px; font-size: .92rem; min-height: 66px; line-height: 1.5; color: var(--text); box-shadow: inset 0 0 0 2px var(--accent-soft); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.flow-row { display: flex; align-items: center; gap: 6px; }
.flow-pill { font-size: .72rem; font-weight: 600; padding: 4px 8px; background: #fff; border-radius: 3px; color: var(--text-2); }
.flow-btn { margin-left: auto; font-size: .78rem; font-weight: 600; padding: 7px 12px; background: var(--accent); color: #fff; border-radius: var(--r); }
.flow-step.is-active .flow-btn { animation: press 3s var(--ease) infinite; }
@keyframes press { 0%, 80%, 100% { transform: none; } 90% { transform: scale(.94); } }
.flow-take { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: var(--r); transition: background .3s; }
.flow-take.active { background: var(--accent-soft); }
.flow-mini { width: 24px; height: 24px; border-radius: 4px; background: var(--text); color: #fff; display: grid; place-items: center; }
.flow-mini svg { width: 10px; height: 10px; }
.flow-take.active .flow-mini { background: var(--accent); }
.flow-bars { display: flex; align-items: center; gap: 2px; height: 22px; }
.flow-bars i { flex: 1; display: block; height: var(--h); background: var(--wave); border-radius: 1px; transform-origin: center; }
.flow-take.active .flow-bars i { background: var(--accent); }
.flow-take.is-playing .flow-bars i { animation: eq .9s var(--ease) infinite; animation-delay: var(--d); }
@keyframes eq { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1.25); } }
.flow-t { font-size: .78rem; font-weight: 600; color: var(--text-2); }
.flow-file { display: grid; grid-template-columns: 40px 1fr 32px; gap: 12px; align-items: center; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.flow-file.in { opacity: 1; transform: none; }
.flow-file-ico { width: 40px; height: 40px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.flow-file-ico svg { width: 20px; height: 20px; }
.flow-file-name { font-size: .85rem; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-file-name small { display: block; font-weight: 500; color: var(--text-3); font-size: .72rem; margin-top: 2px; }
.flow-file-dl { width: 32px; height: 32px; border-radius: var(--r); background: var(--text); color: #fff; display: grid; place-items: center; }
.flow-file-dl svg { width: 16px; height: 16px; }
.flow-file.in .flow-file-dl svg { animation: dl 1.6s var(--ease) .4s infinite; }
@keyframes dl { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.flow-saved { font-size: .78rem; color: var(--success); font-weight: 600; opacity: 0; transition: opacity .4s ease .5s; }
.flow-step.is-active .flow-saved { opacity: 1; }
.flow-saved::before { content: "\2713  "; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow-line { left: 34px; right: auto; top: 40px; bottom: 40px; width: 3px; height: auto; }
  .flow-line i { width: 100%; height: var(--flow); transition: height .9s var(--ease); }
  .flow-line b { left: 50%; top: var(--flow); transition: top .9s var(--ease); }
  .flow-step { padding-left: 24px; }
}

/* Alternating scene rows */
.scenes { display: grid; gap: 28px; }
.scene { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); border-radius: var(--r); overflow: hidden; min-height: 420px; }
.scene-flip .scene-art { order: 2; }
@media (max-width: 860px) { .scene { grid-template-columns: 1fr; min-height: 0; } .scene-flip .scene-art { order: 0; } .scene-art { min-height: 220px; } }
.scene-art { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 32px; }
.scene-art::before { content: ""; position: absolute; inset: 0; background: var(--img, none) center / cover no-repeat, var(--art); transition: transform 1s var(--ease); }
.scene:hover .scene-art::before { transform: scale(1.05); }
.scene-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35)); }
.scene-art .bars { position: relative; display: flex; align-items: flex-end; gap: 4px; height: 64px; width: 100%; }
.scene-art .bars i { flex: 1; display: block; height: var(--h); background: rgba(255, 255, 255, .85); border-radius: 2px; transform-origin: bottom; animation: bar-bob 2.4s var(--ease) infinite; animation-delay: var(--d); animation-play-state: paused; }
.scene:hover .scene-art .bars i { animation-play-state: running; }
@keyframes bar-bob { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.3); } }
.scene-weather { --art: linear-gradient(135deg, #1e1b4b, #3730a3 45%, #818cf8); }
.scene-impact { --art: linear-gradient(135deg, #3b0764, #9d174d 50%, #fb923c); }
.scene-ui { --art: linear-gradient(135deg, #0f766e, #22d3ee 55%, #f0fdfa); }
.scene-scifi { --art: linear-gradient(135deg, #0c4a6e, #2563eb 45%, #c084fc); }
.scene-foley { --art: linear-gradient(135deg, #44403c, #a16207 55%, #fde68a); }
.scene-body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
@media (max-width: 860px) { .scene-body { padding: 28px 24px; } }
.scene-body .kicker { margin-bottom: 4px; }
.scene-body h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0; }
.scene-body > p { color: var(--text-2); margin: 0 0 18px; font-size: 1.02rem; }
.scene-body .player { margin-bottom: 18px; }
.scene-body .player-play { width: 44px; height: 44px; }
.scene-cta { align-self: flex-start; font-weight: 600; color: var(--accent); }
.scene-cta::after { content: " \2192"; }

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */
.section { padding: 112px 0; }
.section-tight { padding: 56px 0; }
.section-alt { position: relative; }
.section-alt::before { content: ""; position: absolute; inset: 0; background: rgba(244, 244, 241, .55); z-index: -1; }
.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.split-head .section-head { margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card { background: rgba(255, 255, 255, .84); backdrop-filter: blur(8px); padding: 32px; box-shadow: var(--shadow-sm); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 18px; font-size: 1.25rem; }
.card p { color: var(--text-2); margin: 0; font-size: 1rem; }
.feature-icon { width: 46px; height: 46px; background: var(--bg-soft); color: var(--text); display: grid; place-items: center; border-radius: var(--r); }
.feature-icon svg { width: 22px; height: 22px; }

/* "Two ways to work" showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } }
.show-card { background: rgba(255, 255, 255, .84); backdrop-filter: blur(8px); border-radius: var(--r); padding: 40px; display: flex; flex-direction: column; gap: 18px; min-height: 460px; box-shadow: var(--shadow-sm); }
.show-card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.03em; margin: 0; }
.show-card p { color: var(--text-2); margin: 0; font-size: 1.02rem; }
.show-card .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); background: var(--bg-soft); padding: 5px 9px; border-radius: 3px; }
.show-card .tag.enterprise { color: var(--accent); background: var(--accent-soft); }
.show-visual { margin-top: auto; background: var(--bg-softer); border-radius: var(--r); padding: 18px; }
.mock-rows { display: grid; gap: 10px; }
.mock-row { display: grid; grid-template-columns: 34px 1fr 40px; gap: 10px; align-items: center; }
.mock-row .pb { width: 34px; height: 34px; background: var(--text); border-radius: 4px; display: grid; place-items: center; color: #fff; }
.mock-row .pb svg { width: 14px; height: 14px; }
.mock-row .bars { display: flex; align-items: center; gap: 2px; height: 30px; }
.mock-row .bars i { flex: 1; background: var(--wave); border-radius: 1px; display: block; }
.mock-row:first-child .bars i:nth-child(-n+18) { background: var(--accent); }
.mock-row .t { font-size: .75rem; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.6; color: var(--text-2); white-space: pre; overflow: auto; margin: 0; }
.code .k { color: var(--accent); } .code .s { color: #0f766e; } .code .c { color: var(--text-3); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step-num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -.05em; margin-bottom: 16px; }
.step h3 { font-size: 1.4rem; }
.step p { font-size: 1.02rem; }

.enterprise { background: var(--bg-dark); color: #fff; padding: 88px 0; border-radius: var(--r); position: relative; overflow: hidden; }
.enterprise::after { content: ""; position: absolute; right: -10%; top: -40%; width: 50%; height: 180%; background: radial-gradient(closest-side, rgba(124, 58, 237, .45), transparent 70%); pointer-events: none; }
.enterprise-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; padding: 0 64px; }
@media (max-width: 860px) { .enterprise-grid { grid-template-columns: 1fr; padding: 0 28px; } }
.enterprise h2 { color: #fff; }
.enterprise p { color: var(--text-on-dark-2); font-size: 1.05rem; }
.enterprise .kicker { color: #c4b5fd; }
.enterprise ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; color: var(--text-on-dark-2); }
.enterprise ul li::before { content: "\2713"; color: #a78bfa; font-weight: 700; margin-right: 10px; }
.enterprise .btn { background: #fff; color: var(--text); }
.enterprise .btn:hover { background: var(--accent-soft); }
.enterprise .code { color: #cfd2e3; background: rgba(255, 255, 255, .06); padding: 22px; border-radius: var(--r); }
.enterprise .code .k { color: #a5b4fc; } .enterprise .code .s { color: #6ee7b7; } .enterprise .code .c { color: #7f859c; }

.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: rgba(244, 244, 241, .85); backdrop-filter: blur(8px); padding: 36px 40px; border-radius: var(--r); margin-bottom: 72px; }
.cta-strip h3 { margin: 0; font-size: 1.5rem; }
.cta-strip p { margin: 4px 0 0; color: var(--text-2); font-size: 1rem; }
.cta-strip .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------------------------
   Studio / library
------------------------------------------------------------------ */
.page-head { padding: 44px 0 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: 2.1rem; margin: 0; letter-spacing: -.03em; }
.page-head p { margin: 4px 0 0; color: var(--text-2); }
.studio { display: grid; grid-template-columns: 380px 1fr; gap: 28px; padding-bottom: 88px; align-items: start; }
@media (max-width: 960px) { .studio { grid-template-columns: 1fr; } }
.panel { background: rgba(244, 244, 241, .85); backdrop-filter: blur(8px); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); border-radius: var(--r); }
@media (max-width: 960px) { .panel { position: static; } }
.panel .input { background: #fff; }
.panel .chip { background: #fff; }
.panel .segmented { background: #e7e7e2; }
.panel .field:last-of-type { margin-bottom: 0; }
.cost-row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--text-2); margin: 10px 0 14px; }
.cost-row strong { color: var(--text); }
.results { display: grid; gap: 10px; }
.batch-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 4px; color: var(--text-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.empty { text-align: center; padding: 72px 20px; color: var(--text-3); background: rgba(244, 244, 241, .7); border-radius: var(--r); animation: page-in .4s var(--ease) both; }
.empty svg { width: 40px; height: 40px; margin-bottom: 10px; opacity: .5; }

.sound-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px 16px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); animation: rise .4s var(--ease) both; border-radius: var(--r); }
.sound-card.is-new { box-shadow: inset 3px 0 0 var(--accent), var(--shadow-sm); }
.sound-main { min-width: 0; }
.sound-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sound-title { font-weight: 600; font-size: .95rem; border: 0; background: transparent; padding: 2px 4px; margin-left: -4px; width: 100%; min-width: 0; text-overflow: ellipsis; border-radius: 3px; }
.sound-title:focus { outline: none; background: var(--bg-soft); }
.sound-wave { height: 44px; margin: 4px 0; }
.sound-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--text-3); flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; padding: 2px 8px; background: var(--bg-soft); color: var(--text-2); font-weight: 600; font-size: .72rem; border-radius: 3px; }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.open { background: #fef3c7; color: #92400e; }
.badge.answered { background: #dcfce7; color: #166534; }
.badge.closed { background: #e5e7eb; color: #374151; }
.sound-actions { display: flex; gap: 4px; margin-left: auto; }
.sound-prompt { color: var(--text-3); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .sound-actions { margin-left: 0; } .sound-top { flex-wrap: wrap; } }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar .input { max-width: 320px; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 28px 0 72px; }

/* ------------------------------------------------------------------
   Support tickets
------------------------------------------------------------------ */
.support { display: grid; grid-template-columns: 360px 1fr; gap: 24px; padding-bottom: 88px; align-items: start; }
@media (max-width: 900px) { .support { grid-template-columns: 1fr; } }
.ticket-list { display: grid; gap: 8px; }
.ticket-item { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; background: rgba(255, 255, 255, .86); box-shadow: var(--shadow-sm); padding: 14px 16px; border-radius: var(--r); transition: box-shadow .2s, transform .2s var(--ease); animation: rise .35s var(--ease) both; }
.ticket-item:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.ticket-item.active { box-shadow: inset 3px 0 0 var(--accent), var(--shadow-sm); }
.ticket-item .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ticket-item .subject { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-item .meta { font-size: .78rem; color: var(--text-3); margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.ticket-item .preview { font-size: .82rem; color: var(--text-2); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-detail { background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); border-radius: var(--r); padding: 24px; min-height: 420px; }
.ticket-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ticket-detail-head h2 { font-size: 1.3rem; margin: 0 0 4px; letter-spacing: -.02em; }
.ticket-detail-head .meta { font-size: .82rem; color: var(--text-3); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.thread { display: grid; gap: 12px; margin-bottom: 20px; }
.msg { padding: 14px 16px; border-radius: var(--r); background: var(--bg-soft); max-width: 85%; animation: rise .35s var(--ease) both; }
.msg.staff { background: var(--accent-soft); margin-left: auto; }
.msg .who { font-size: .76rem; font-weight: 600; color: var(--text-3); margin-bottom: 4px; display: flex; gap: 8px; }
.msg .body { white-space: pre-wrap; font-size: .93rem; color: var(--text); }
.reply { display: grid; gap: 10px; }
.reply textarea { min-height: 90px; }
.reply .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

/* ------------------------------------------------------------------
   Dashboard shell
------------------------------------------------------------------ */
.dash { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding: 32px 0 88px; align-items: start; }
.dash-side { position: sticky; top: calc(var(--header-h) + 16px); }
.dash-nav { display: grid; gap: 4px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); color: var(--text-2); font-weight: 500; font-size: .95rem; transition: background .18s, color .18s; }
.dash-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .7); text-decoration: none; }
.dash-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); }
.dash-nav svg { width: 18px; height: 18px; flex: none; }
.dash-side-foot { margin-top: 20px; padding: 16px; background: rgba(244, 244, 241, .85); border-radius: var(--r); font-size: .76rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.dash-side-foot strong { display: block; font-size: 1.6rem; color: var(--text); letter-spacing: -.02em; text-transform: none; margin: 2px 0 6px; }
.dash-side-foot a { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .85rem; }
.dash-main { min-width: 0; }
.dash .page-head { padding-top: 4px; }
.dash .studio { grid-template-columns: minmax(300px, 340px) minmax(0, 1fr); padding-bottom: 0; }
.dash .support { padding-bottom: 0; }
@media (max-width: 1100px) { .dash .studio { grid-template-columns: 1fr; } .dash .studio .panel { position: static; } }
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; gap: 20px; }
  .dash-side { position: static; }
  .dash-nav { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .dash-nav a { white-space: nowrap; }
  .dash-side-foot { display: none; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { background: rgba(255, 255, 255, .86); box-shadow: var(--shadow-sm); border-radius: var(--r); padding: 18px 22px; }
.stat span { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 600; }
.stat strong { display: block; font-size: 1.9rem; letter-spacing: -.02em; margin: 2px 0 2px; }
.stat a { font-size: .85rem; font-weight: 600; }
.quick { display: flex; gap: 8px; margin-bottom: 28px; }
.quick .input { padding: 14px 16px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px; }
@media (max-width: 960px) { .dash-grid, .stats { grid-template-columns: 1fr; } }
.dash-block h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; margin-bottom: 12px; }
.dash-block h3 a { font-size: .85rem; font-weight: 500; }
.ticket-list a.ticket-item { color: inherit; text-decoration: none; }
.page-dash main { min-height: calc(100vh - var(--header-h)); }
.dash-wrap { min-height: calc(100vh - var(--header-h) - 1px); }
.dash-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50vh; color: var(--text-3); font-size: .9rem; }
.dash-loading .ring { width: 16px; height: 16px; border: 2px solid #d9dbe6; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.signin-prompt { min-height: calc(100vh - var(--header-h) - 260px); display: grid; place-items: center; text-align: center; padding: 48px 20px; }
.signin-prompt .box { max-width: 440px; }
.signin-prompt .box h1 { font-size: 2rem; margin-bottom: 10px; letter-spacing: -.03em; }
.signin-prompt .box p { color: var(--text-2); margin-bottom: 22px; }

/* ------------------------------------------------------------------
   FAQ (animated accordion)
------------------------------------------------------------------ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-layout .section-head { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } .faq-layout .section-head { position: static; } }
.faq { display: grid; gap: 8px; }
.faq-item { background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); border-radius: var(--r); transition: box-shadow .25s; }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q { width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 1.02rem; position: relative; transition: color .18s; }
.faq-q:hover { color: var(--accent); }
.faq-icon { position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--text-3); transition: transform .35s var(--ease), background .18s; }
.faq-icon::before { left: 0; right: 0; top: 5px; height: 2px; }
.faq-icon::after { top: 0; bottom: 0; left: 5px; width: 2px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-item.open .faq-icon::before { background: var(--accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-body { overflow: hidden; min-height: 0; }
.faq-body p { color: var(--text-2); margin: 0; padding: 0 24px 22px; opacity: 0; transform: translateY(-4px); transition: opacity .35s ease .1s, transform .35s var(--ease) .1s; }
.faq-item.open .faq-body p { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   Pricing
------------------------------------------------------------------ */
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { box-shadow: var(--shadow-md); outline: 2px solid var(--accent); outline-offset: -2px; }
.plan h3 { margin-top: 0; }
.plan .price { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan-credits { color: var(--text-2); margin: 0 0 6px; }
.plan-credits strong { color: var(--text); font-size: 1.1rem; }
.plan ul, .plan-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; color: var(--text-2); font-size: .95rem; }
.plan ul li::before, .plan-list li::before { content: "\2713"; color: var(--success); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: auto; }
.plan-tag { position: absolute; top: 0; right: 0; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: 5px 12px; text-transform: uppercase; letter-spacing: .08em; border-radius: 0 var(--r) 0 var(--r); }
.payg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--bg-dark); color: #fff; border-radius: var(--r); padding: 64px; position: relative; overflow: hidden; }
.payg::after { content: ""; position: absolute; left: -10%; bottom: -60%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(79, 70, 229, .5), transparent 70%); pointer-events: none; }
@media (max-width: 900px) { .payg { grid-template-columns: 1fr; padding: 36px 24px; } }
.payg-copy { position: relative; }
.payg-copy .kicker { color: #c4b5fd; }
.payg-copy h2 { color: #fff; }
.payg-copy p { color: var(--text-on-dark-2); font-size: 1.05rem; }
.payg-copy .plan-list { color: var(--text-on-dark-2); }
.payg-copy .plan-list li::before { color: #a78bfa; }
.payg-calc { position: relative; background: #fff; color: var(--text); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-lg); }
.payg-amount { display: flex; align-items: center; gap: 10px; margin: 8px 0 12px; }
.payg-amount .cur { font-size: 2rem; font-weight: 800; color: var(--text-3); }
.payg-amount .input { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; padding: 8px 14px; }
.payg-presets { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 20px; }
.payg-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.payg-out div { background: var(--bg-soft); border-radius: var(--r); padding: 12px 14px; font-size: .8rem; color: var(--text-3); }
.payg-out strong { display: block; font-size: 1.3rem; color: var(--text); letter-spacing: -.02em; }
@media (max-width: 520px) { .payg-out { grid-template-columns: 1fr; } }
.compare-wrap { overflow-x: auto; background: rgba(255, 255, 255, .86); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 760px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; vertical-align: top; }
.compare thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); background: var(--bg-soft); }
.compare tbody td { color: var(--text-2); }
.compare tbody td:first-child { color: var(--text); font-weight: 600; }
.compare tbody tr:nth-child(even) td { background: rgba(244, 244, 241, .5); }
.compare .hl { background: var(--accent-soft) !important; color: var(--text) !important; }

/* ------------------------------------------------------------------
   Prose (legal pages), contact
------------------------------------------------------------------ */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 0 96px; }
.prose h1 { font-size: 2.6rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; letter-spacing: -.03em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.3em; }
.prose .updated { color: var(--text-3); font-size: .85rem; margin-bottom: 2.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; vertical-align: top; color: var(--text-2); }
.prose th { background: var(--bg-soft); color: var(--text); font-weight: 600; }
.prose tr:nth-child(even) td { background: rgba(244, 244, 241, .6); }
.prose pre { background: var(--bg-soft); padding: 14px 16px; overflow: auto; font-size: .85rem; border-radius: var(--r); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; }
.legal-nav a { background: rgba(244, 244, 241, .9); color: var(--text-2); padding: 7px 12px; font-size: .82rem; font-weight: 500; border-radius: var(--r); transition: background .15s, color .15s; }
.legal-nav a[aria-current="page"], .legal-nav a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; padding: 24px 0 96px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-stack { display: grid; gap: 16px; }
.contact-card { background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); border-radius: var(--r); padding: 26px; }
.contact-card h3 { margin: 0 0 6px; }
.contact-card p { margin: 0; color: var(--text-2); }
.contact-card .big { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.contact-card .big a { color: var(--text); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .95rem; margin-top: 10px; }
.hours span:nth-child(odd) { color: var(--text-3); }
.map-card { background: rgba(255, 255, 255, .86); box-shadow: var(--shadow-sm); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.map-card iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.85); }
.map-card .addr { padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.map-card .addr strong { display: block; }
.map-card .addr span { color: var(--text-2); font-size: .93rem; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer { background: var(--bg-dark); color: var(--text-on-dark-2); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding: 80px 0 56px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-logo { height: 40px; }
.footer-brand p { margin: 16px 0 22px; max-width: 320px; color: var(--text-on-dark-2); font-size: .95rem; }
.social { display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--bg-dark-2); color: #fff; transition: background .15s; border-radius: var(--r); }
.social a:hover { background: var(--accent); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; text-transform: none; letter-spacing: -.01em; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer ul a { color: var(--text-on-dark-2); font-size: .97rem; transition: color .15s; }
.site-footer ul a:hover { color: #fff; text-decoration: none; }
.footer-contact dt { color: #fff; font-weight: 600; font-size: .97rem; margin-top: 18px; }
.footer-contact dt:first-child { margin-top: 0; }
.footer-contact dd { margin: 6px 0 0; font-size: .95rem; line-height: 1.6; }
.footer-contact a { color: var(--text-on-dark-2); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; font-size: .88rem; color: var(--text-on-dark-2); position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .08); }
.footer-bottom strong { color: #fff; font-weight: 600; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom nav a { color: #fff; }
.footer-legal { font-size: .8rem; color: #7d8398; padding: 0 0 28px; }

/* ------------------------------------------------------------------
   Toasts, misc
------------------------------------------------------------------ */
.toast-root { position: fixed; bottom: 20px; right: 20px; display: grid; gap: 8px; z-index: 100; }
.toast { background: var(--text); color: #fff; padding: 12px 16px; box-shadow: var(--shadow-md); font-size: .9rem; max-width: 360px; animation: rise .3s var(--ease) both; border-radius: var(--r); }
.toast.error { background: var(--danger); color: #fff; }
.toast.success { background: var(--success); color: #fff; }
.notice { padding: 12px 16px; background: #fff4e5; color: #8a3b0a; font-size: .88rem; margin-bottom: 18px; border-radius: var(--r); }
.notice code { background: rgba(138, 59, 10, .1); color: inherit; }
.center { text-align: center; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
