/* Verselo brand (verselo.ai): anthracite + gold, Fraunces + Inter, self-hosted.
   Craft level modelled on vishalpunia.com: dot grid + glow, mono chips, italic accent, product scene. */
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-italic.woff2?v=2') format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #0B0A09; --raised: #131210; --card: #1A1815; --soft: #25221E; --surface-1: #1F1C18; --surface-2: #171512;
  --ink-1: #F4EFE8; --ink-2: rgba(244, 239, 232, .78); --ink-3: rgba(244, 239, 232, .55); --line: rgba(244, 239, 232, .10);
  --gold: #C9A24A; --gold-bright: #E7C26D; --gold-soft: rgba(201, 162, 74, .14); --gold-line: rgba(201, 162, 74, .34);
  --accent: #C9A24A; --on-gold: #17130B; --dots: rgba(244, 239, 232, .10); --shadow: rgba(0, 0, 0, .9); --glow: rgba(201, 162, 74, .13);
  --good: #7FC79A; --bad: #E58B7B;
  --display: 'Fraunces', 'Times New Roman', serif; --body: 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 16px;
  color-scheme: dark;
}
/* light theme: follows the system unless the visitor picked one (theme.js sets data-theme) */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: #F4EFE8; --raised: #EFE8DC; --card: #FFFDF9; --soft: #EAE2D4; --surface-1: #FFFDF9; --surface-2: #FAF6EF;
  --ink-1: #1B1814; --ink-2: rgba(27, 24, 20, .78); --ink-3: rgba(27, 24, 20, .56); --line: rgba(27, 24, 20, .12);
  --gold: #C9A24A; --gold-bright: #D9B45E; --gold-soft: rgba(184, 137, 47, .13); --gold-line: rgba(139, 107, 61, .35);
  --accent: #8B6B3D; --dots: rgba(27, 24, 20, .16); --shadow: rgba(60, 40, 10, .22); --glow: rgba(201, 162, 74, .16);
  --good: #2F7A4B; --bad: #B4483A;
  color-scheme: light;
} }
:root[data-theme="light"] {
  --bg: #F4EFE8; --raised: #EFE8DC; --card: #FFFDF9; --soft: #EAE2D4; --surface-1: #FFFDF9; --surface-2: #FAF6EF;
  --ink-1: #1B1814; --ink-2: rgba(27, 24, 20, .78); --ink-3: rgba(27, 24, 20, .56); --line: rgba(27, 24, 20, .12);
  --gold: #C9A24A; --gold-bright: #D9B45E; --gold-soft: rgba(184, 137, 47, .13); --gold-line: rgba(139, 107, 61, .35);
  --accent: #8B6B3D; --dots: rgba(27, 24, 20, .16); --shadow: rgba(60, 40, 10, .22); --glow: rgba(201, 162, 74, .16);
  --good: #2F7A4B; --bad: #B4483A;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; background: var(--bg); transition: background-color .35s; }
body { margin: 0; color: var(--ink-2); font: 17px/1.6 var(--body); text-wrap: pretty; transition: color .35s; }
/* page background (fixed, content scrolls over it): dot grid + a spotlight that follows the pointer,
   same technique as vishalpunia.com (app.js sets --mx / --my) */
.page-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(900px 600px at 80% -10%, var(--glow), transparent 60%); }
.page-bg::before { content: ''; position: absolute; inset: 0;
  background: radial-gradient(460px circle at var(--mx, 70%) var(--my, 30%), var(--glow), transparent 70%); }
.page-bg .dots { position: absolute; inset: 0; background-image: radial-gradient(var(--dots) 1.2px, transparent 1.4px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000, transparent); }
.page-bg .dots.lit { background-image: radial-gradient(var(--gold) 1.6px, transparent 1.9px);
  mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 30%), #000, transparent); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-bright); outline-offset: 3px;
}
h1, h2, h3 { color: var(--ink-1); font-family: var(--display); font-weight: 500; line-height: 1.06; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 8.4vw, 76px); letter-spacing: -.015em; overflow-wrap: break-word; }
@media (max-width: 480px) { h1 { hyphens: auto; } }
h1 em, h2 em { color: var(--accent); font-style: italic; font-weight: 400; }
h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.01em; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }

.shell { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 680px; padding-block: 48px 80px; }
.top { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; }
.brand { font-family: var(--display); font-size: 24px; color: var(--ink-1); text-decoration: none; letter-spacing: -.01em; }
.brand::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: 3px; box-shadow: 0 0 12px var(--gold); }
.lang { font: 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; }
.lang:hover { color: var(--ink-1); border-color: var(--gold-line); }

.chip, .label { font: 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--gold-line); background: rgba(201, 162, 74, .06); border-radius: 99px; padding: 8px 16px; margin-bottom: 26px; }
.label { margin-bottom: 14px; }

.hero { min-height: calc(100svh - 80px); display: grid; align-items: center; gap: 56px; padding-block: 24px 72px; }
@media (min-width: 980px) { .hero { grid-template-columns: 1.05fr .95fr; } .hero.solo { grid-template-columns: 1fr; max-width: 920px; min-height: 72svh; } }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--on-gold); border: 0; border-radius: 12px; padding: 14px 24px;
  font: 600 16px/1 var(--body); cursor: pointer; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(201, 162, 74, .55), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(201, 162, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.big { padding: 18px 30px; font-size: 17px; margin-top: 8px; }
.link { background: none; border: 0; color: var(--ink-3); font: inherit; cursor: pointer; text-decoration: underline; }

.seats { display: flex; align-items: center; gap: 10px; font: 13px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-1); margin-top: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); animation: pulse 2.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(201, 162, 74, .05); } }
.ticks, .crosses { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.ticks li, .crosses li { padding-left: 32px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--gold-soft); color: var(--accent); font-size: 12px; display: grid; place-items: center; }
.crosses li::before { content: '×'; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(229, 139, 123, .12); color: var(--bad); font-size: 14px; display: grid; place-items: center; }
.nofit { align-self: end; }

/* product scene: two cards fanned behind the chat card */
.scene { position: relative; height: 480px; width: 100%; max-width: 560px; justify-self: center; }
.scene .card { position: absolute; background: linear-gradient(180deg, var(--surface-1), var(--card)); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: 0 40px 80px -40px var(--shadow); }
.scene .back { width: 58%; opacity: .92; }
.scene .left { left: 0; top: 18px; transform: rotate(-8deg); }
.scene .right { right: 0; bottom: 20px; transform: rotate(7deg); }
.scene .front { left: 50%; top: 50%; width: 72%; transform: translate(-50%, -50%) rotate(-1.5deg); border-color: var(--gold-line); z-index: 2; transition: transform .5s; }
.scene:hover .front { transform: translate(-50%, -52%) rotate(0deg); }
.tag { display: inline-block; font: 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--gold-line); border-radius: 6px; padding: 5px 8px; margin-bottom: 12px; }
.ct { font-family: var(--display); font-size: 22px; color: var(--ink-1); margin: 0 0 6px; }
.mono { font: 11px/1.5 var(--mono); color: var(--ink-3); }
.lines { display: grid; gap: 7px; margin-top: 14px; }
.lines i { display: block; height: 7px; border-radius: 4px; background: var(--soft); }
.lines i:nth-child(2) { width: 80%; } .lines i:nth-child(3) { width: 55%; }
.kv { display: flex; justify-content: space-between; font: 12px/1.3 var(--mono); color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 9px; margin: 9px 0 0; }
.kv b { color: var(--ink-1); font-weight: 500; }
.badge { position: absolute; top: -13px; right: 20px; background: var(--gold); color: var(--on-gold); font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 99px; padding: 7px 12px; }
.mock .q { background: var(--soft); border-radius: 14px 14px 4px 14px; padding: 13px 15px; color: var(--ink-1); margin-left: 12%; font-size: 15px; }
.mock .a { border: 1px solid var(--gold-line); background: rgba(201, 162, 74, .05); border-radius: 14px 14px 14px 4px; padding: 13px 15px; color: var(--ink-1); margin-right: 8%; font-size: 15px; }
.mock .src { font: 12px/1.4 var(--mono); color: var(--accent); margin: 0; }
.mock .src::before { content: '↳ '; }
@media (max-width: 979px) { .scene { height: 420px; } }
@media (max-width: 520px) { .scene { height: 380px; } .scene .back { width: 70%; } .scene .front { width: 88%; } .ct { font-size: 18px; } }

.band { padding-block: 88px; border-top: 1px solid var(--line); position: relative; }
.grid2, .grid3, .grid4 { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: repeat(2, 1fr); } .grid3 { grid-template-columns: repeat(3, 1fr); } .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.card, .fact { background: linear-gradient(180deg, var(--surface-2), var(--raised)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .25s, transform .25s; }
.card:hover, .fact:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.band .card p:last-child, .fact p:last-child { margin: 0; }
.time { font: 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.fact h3 { font-family: var(--body); font-size: 16px; font-weight: 600; }
.fact h3::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.note { margin-top: 28px; max-width: 50em; color: var(--ink-3); font-size: 15px; border-left: 2px solid var(--gold-line); padding-left: 18px; }
.extra { margin-top: 28px; border: 1px solid var(--gold-line); border-radius: var(--r); background: rgba(201, 162, 74, .05); padding: 24px 28px; max-width: 52em; }
.extra p:last-child { margin: 0; }

.offer { position: relative; overflow: hidden; background: radial-gradient(500px 260px at 100% 0, rgba(201, 162, 74, .16), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--raised));
  border: 1px solid var(--gold-line); border-radius: 24px; padding: clamp(28px, 4vw, 52px); max-width: 760px; }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 50em; }
.faq summary { cursor: pointer; color: var(--ink-1); font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }
.final { text-align: center; }
.final h2 { max-width: 16em; margin-inline: auto; }

.steps { padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-1); }

.dialog { border: 1px solid var(--gold-line); border-radius: 22px; background: linear-gradient(180deg, var(--surface-1), var(--card)); color: var(--ink-2); padding: 36px; width: min(480px, 100% - 32px);
  box-shadow: 0 50px 120px -30px var(--shadow); }
.dialog h2 { font-size: 30px; padding-right: 28px; }
.dialog::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); }
.x { position: absolute; top: -6px; right: -4px; background: none; border: 0; color: var(--ink-3); font-size: 26px; cursor: pointer; }
.stack { display: grid; gap: 16px; position: relative; }
label { display: grid; gap: 6px; font-size: 15px; color: var(--ink-1); }
input, select, textarea { font: inherit; color: var(--ink-1); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-line); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: 14px; color: var(--ink-3); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.check a { color: var(--ink-1); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { color: var(--ink-1); font-size: 15px; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 9px 16px; cursor: pointer; color: var(--ink-2); transition: border-color .2s; }
.pill span:hover { border-color: var(--gold-line); }
.pill input:checked + span { border-color: var(--gold); color: var(--ink-1); background: var(--gold-soft); }
.pill input:focus-visible + span { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.row { display: flex; gap: 20px; align-items: center; }
.msg:empty { display: none; }
.msg.good { color: var(--good); }
.msg.bad { color: var(--bad); }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

.legal h1 { font-size: clamp(32px, 5vw, 48px); }
.legal h2 { font-size: 22px; margin-top: 1.6em; }
.legal code { color: var(--accent); font-size: .95em; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; border-top: 1px solid var(--line); font: 12px/1.6 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink-1); }

@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; animation: none !important; } }

/* theme toggle (top right), like vishalpunia.com */
.top-right { display: flex; align-items: center; gap: 10px; }
.theme { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink-3); cursor: pointer; transition: color .2s, border-color .2s; }
.theme:hover { color: var(--accent); border-color: var(--gold-line); }
.theme svg { width: 16px; height: 16px; }
.theme .sun, :root[data-theme="light"] .theme .moon { display: none; }
:root[data-theme="light"] .theme .sun { display: block; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .theme .moon { display: none; } :root:not([data-theme]) .theme .sun { display: block; } }

/* soft light sweeps across the gold buttons every few seconds */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ''; position: absolute; inset: -40% -60%; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .45) 50%, transparent 58%);
  transform: translateX(-70%); animation: shine 5.5s ease-in-out infinite 1.2s; }
@keyframes shine { 0% { transform: translateX(-70%); } 22%, 100% { transform: translateX(70%); } }

/* scroll reveal: app.js adds .is-in; hidden state only once JS runs */
.fx-ready [data-fx] { opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--fx-i, 0) * 70ms); }
.fx-ready [data-fx].is-in { opacity: 1; transform: none; }
.theme-anim, .theme-anim * { transition: background-color .35s, color .35s, border-color .35s !important; }
.grid2 > :nth-child(2), .grid3 > :nth-child(2), .grid4 > :nth-child(2) { --fx-i: 1; }
.grid2 > :nth-child(3), .grid3 > :nth-child(3), .grid4 > :nth-child(3) { --fx-i: 2; }
.grid2 > :nth-child(4), .grid4 > :nth-child(4) { --fx-i: 3; }
