/* BhuSutra site: modern, minimal. Neutral ink, hairlines, one gold accent, one type family. */
:root {
  --bg: #0a2a21;
  --bg-2: #0e3328;
  --card: #14392d;
  --card-2: #1b4637;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --text: #f7fbf9;
  --muted: #c0d6cb;
  --soft: #e4f0ea;
  --gold: #e8b64c;
  --gold-2: #e8b64c;
  --gold-soft: rgba(232, 182, 76, 0.1);
  --gold-line: rgba(232, 182, 76, 0.35);
  --good: #4ade80;
  --bad: #fb7185;
  --radius: 14px;
  --maxw: 1120px;
  --grad: #e8b64c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss03";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: inherit; line-height: 1.12; margin: 0; letter-spacing: -0.03em; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--gold); color: #17110a; }
.wrap { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }
.gold { color: var(--gold); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #17110a; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- preview bar + nav */
.preview-bar { border-bottom: 1px solid var(--line); text-align: center; font-size: 12.5px; padding: 8px 16px; color: var(--muted); letter-spacing: 0.01em; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 42, 33, 0.85); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.brand img { height: 28px; width: auto; }
.brand b { color: var(--gold); font-weight: 600; }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.links a { transition: color 0.2s; }
.links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: -0.005em; border: 1px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s; font-family: inherit; }
.btn-gold { background: var(--text); color: #0b0b0d; }
.btn-gold:hover { background: var(--gold); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; cursor: pointer; font-family: inherit; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 108px 0 88px; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(232, 182, 76, 0.07), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--gold); opacity: 0.7; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin: 22px 0 22px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; line-height: 1.6; }
.hero p.lead strong { color: var(--text); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); }

/* product mock */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9); position: relative; }
.mock-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.kpi small { display: block; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.kpi strong { font-size: 20px; display: block; margin-top: 3px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; color: var(--good); }
.chart { margin-top: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 6px; }
.chart-h { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.chart svg { width: 100%; height: 120px; display: block; }
.chips { display: grid; gap: 8px; margin-top: 8px; }
.chip { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.chip b { display: block; font-size: 12.5px; font-weight: 500; }
.chip span.ic { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; background: var(--card-2); filter: grayscale(1) brightness(1.25); }
.chip.warn span.ic { background: rgba(251, 113, 133, 0.14); filter: none; }
.chip p { color: var(--muted); font-size: 12px; }
.mock-tag { position: absolute; right: 14px; bottom: -12px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: 11px; padding: 3px 10px; border-radius: 999px; }

/* ---------------------------------------------------------------- sections */
section { padding: 104px 0; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 600; letter-spacing: -0.035em; margin: 16px 0 16px; }
.sec-head p { color: var(--muted); font-size: 17px; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { font-size: 34px; display: block; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13.5px; line-height: 1.5; display: block; margin-top: 4px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.flow div { padding: 28px 28px 8px 0; position: relative; }
.flow div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.flow div::before { counter-increment: s; content: "0" counter(s); font-size: 12.5px; font-weight: 500; color: var(--gold); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.flow h3 { font-size: 20px; margin: 12px 0 8px; }
.flow p { color: var(--muted); font-size: 14.5px; }

/* feature explorer */
.explorer-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 7px 14px; border-radius: 999px; font-size: 13.5px; cursor: pointer; font-family: inherit; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.tab:hover { color: var(--text); border-color: var(--line-2); }
.tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: #0b0b0d; font-weight: 500; }
.tab small { opacity: 0.6; margin-left: 4px; }
.search { position: relative; flex: 1 1 280px; max-width: 360px; }
.search input { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px 10px 40px; color: var(--text); font: inherit; font-size: 14px; transition: border-color 0.2s; }
.search input:hover { border-color: var(--line-2); }
.search input:focus { outline: none; border-color: var(--gold); }
.search input::placeholder { color: #8fb3a3; }
.search::before { content: "⌕"; position: absolute; left: 15px; top: 50%; transform: translateY(-52%); color: var(--muted); font-size: 18px; }
.sec-blurb { color: var(--muted); margin-bottom: 22px; font-size: 15.5px; max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color 0.25s, background 0.25s; }
.fcard:hover { border-color: var(--line-2); background: var(--card-2); }
.fcard h4 { font-size: 15.5px; font-weight: 500; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; letter-spacing: -0.015em; }
.fcard h4 .ico { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); font-size: 14px; filter: grayscale(1) brightness(1.3); }
.fcard p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.fcard .tag { display: inline-block; margin-top: 14px; font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); padding: 1px 9px; border-radius: 999px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.count-note { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* intelligence rows */
.rows { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 44px; }
.row:nth-child(even) { grid-template-columns: 1.1fr 0.9fr; }
.row:nth-child(even) .row-vis { order: -1; }
.row h3 { font-size: 26px; margin: 14px 0 12px; letter-spacing: -0.03em; }
.row p { color: var(--muted); font-size: 15.5px; }
.row ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.row li { padding-left: 24px; position: relative; font-size: 14.5px; color: var(--soft); }
.row li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg) translateY(-50%); }
.row-vis { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 20px; font-size: 13.5px; min-height: 200px; }
.qa { display: grid; gap: 10px; }
.bubble { padding: 11px 15px; border-radius: 14px; max-width: 92%; }
.bubble.q { background: var(--card-2); justify-self: end; border-bottom-right-radius: 4px; }
.bubble.a { background: transparent; border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.bubble small { display: block; margin-top: 6px; color: var(--muted); font-size: 11.5px; }
.bars { display: grid; gap: 11px; }
.bar { display: grid; grid-template-columns: 110px 1fr 56px; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.bar i { display: block; height: 6px; border-radius: 999px; background: var(--gold); }
.bar i.neg { background: var(--bad); opacity: 0.85; }
.bar b { color: var(--text); text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quad div { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: var(--card); }
.quad b { display: block; color: var(--text); font-weight: 500; margin-bottom: 2px; }
.quad span { color: var(--muted); font-size: 12.5px; }
.flowline { display: grid; gap: 8px; }
.flowline .step { display: flex; gap: 12px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.flowline .step span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); font-weight: 500; font-size: 11.5px; }
.flowline .step.ok { border-color: rgba(74, 222, 128, 0.3); }
.flowline .step.ok span { background: rgba(74, 222, 128, 0.12); border-color: transparent; color: var(--good); }

/* capability tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color 0.25s; }
.tile:hover { border-color: var(--line-2); }
.tile .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; margin-bottom: 16px; filter: grayscale(1) brightness(1.3); }
.tile h4 { font-size: 15.5px; font-weight: 500; margin-bottom: 6px; letter-spacing: -0.015em; }
.tile p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.plan.hl { border-color: var(--gold-line); background: var(--card-2); }
.plan h3 { font-size: 21px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 8px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { padding-left: 24px; position: relative; font-size: 14px; color: var(--soft); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg) translateY(-50%); }
.plan li.inc { color: var(--muted); font-style: normal; }
.plan li.inc::before { width: 8px; height: 0; border-left: 0; border-bottom: 1.5px solid var(--muted); transform: none; top: 0.75em; }
.plans-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 22px; }

/* faq */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 0; }
summary { cursor: pointer; font-weight: 500; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; letter-spacing: -0.015em; transition: color 0.2s; }
summary:hover { color: var(--gold); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 300; line-height: 1; transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 40px 22px 0; font-size: 15px; }

/* cta + footer */
.cta { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 72px 40px; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.035em; }
.cta p { color: var(--muted); max-width: 600px; margin: 16px auto 0; font-size: 17px; }
.cta .btn { margin-top: 28px; }
.keyword { display: inline-block; font-weight: 600; letter-spacing: 0.06em; color: #17110a; background: var(--gold); padding: 3px 12px; border-radius: 8px; }
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 13.5px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot .brand { font-size: 16px; color: var(--text); }
.foot .brand img { height: 24px; }
.disclaimer { margin-top: 24px; font-size: 13px; opacity: 0.85; max-width: 760px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .fcard, .tile, summary::after { transition: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .hero-grid, .row, .row:nth-child(even) { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .row { padding: 32px; gap: 32px; }
  .row:nth-child(even) .row-vis { order: 0; }
  .grid, .tiles { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow div:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .links { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .links.open { display: flex; }
  .links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .nav .btn-gold { display: none; }
  section { padding: 72px 0; }
  .hero { padding: 64px 0 56px; }
  .grid, .tiles, .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .flow div, .flow div + div { padding: 22px 0 6px; border-left: 0; }
  .flow div:nth-child(n+2) { border-top: 1px solid var(--line); margin-top: 16px; }
  .kpi strong { font-size: 16px; }
  .row { padding: 22px; }
  .cta { padding: 44px 20px; }
  .search { min-width: 0; width: 100%; max-width: none; }
  .bar { grid-template-columns: 90px 1fr 50px; }
}

/* ---------------------------------------------------------------- trial form, legal, cookie notice */
.trial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.trial-points { margin: 20px 0 28px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.trial-points li { margin: 7px 0; }
.trial-points a, .legal a, .cookie-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.foot-links a { transition: color 0.2s; }
.foot-links a:hover { color: var(--text); }
.form-card, .status-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.status-box { padding: 20px; }
.status-box h3 { font-size: 15px; font-weight: 500; margin-bottom: 14px; }
form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
form input[type="text"], form input[type="email"], form input[type="search"], form textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: inherit; font-size: 15px; transition: border-color 0.2s; }
form input:hover, form textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
form input:focus, form textarea:focus { outline: none; border-color: var(--gold); }
form .opt { opacity: 0.7; }
label.check { display: flex; gap: 10px; align-items: flex-start; }
label.check input { margin-top: 4px; accent-color: var(--gold); }
label.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { margin-top: 12px; font-size: 14px; min-height: 1.4em; }
.form-msg.ok { color: var(--good); }
.form-msg.err { color: var(--bad); }
.form-msg code { background: var(--card-2); padding: 2px 8px; border-radius: 6px; color: var(--gold); font-size: 14.5px; user-select: all; }
button[disabled] { opacity: 0.6; cursor: wait; }
.foot-links { display: flex; gap: 22px; font-size: 13.5px; }
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 540px; margin-inline: auto; z-index: 90; display: flex; gap: 14px; align-items: center; justify-content: space-between; background: rgba(20, 57, 45, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 16px; font-size: 13.5px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.cookie-note[hidden] { display: none; }
.cookie-note .btn { padding: 6px 16px; white-space: nowrap; }
.legal { padding: 72px 0 100px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 10px; letter-spacing: -0.035em; }
.legal h2 { font-size: 19px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--soft); margin-bottom: 10px; font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal .upd { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 18px; }
.legal th, .legal td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 1020px) { .trial-grid { grid-template-columns: 1fr; gap: 40px; } }
.cta .trial-grid p { margin: 14px 0 0; max-width: none; font-size: 15.5px; }
.cta .trial-grid .form-msg { font-size: 14px; }
.cta form .btn { margin-top: 6px; }

/* ================================================================ minimal redesign: hero, demos, folds */
.hero { padding: 96px 0 72px; }
.hero-c { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-c .eyebrow::before { display: none; }
.hero-c h1 { font-size: clamp(38px, 6vw, 72px); margin: 22px 0 22px; max-width: 14em; }
.hero-c p.lead { max-width: 620px; margin-inline: auto; }
.hero-c .cta-row { justify-content: center; }
.pains { margin-top: 56px; width: 100%; }
.pains > p { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.pain-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 880px; margin-inline: auto; }
.pain-row button { background: var(--card); border: 1px solid var(--line); color: var(--soft); font: inherit; font-size: 14.5px; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.25s var(--ease); }
.pain-row button:hover { border-color: var(--gold-line); color: var(--text); background: var(--card-2); transform: translateY(-1px); }
.hero-c .hero-note { margin-top: 28px; }

.demos { padding-top: 72px; }
.demo { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px; }
.demo-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.dtab { text-align: left; background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 12px 14px; color: var(--muted); font: inherit; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; display: flex; flex-direction: column; gap: 4px; }
.dtab b { font-weight: 500; font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; }
.dtab small { font-size: 12.5px; opacity: 0.7; line-height: 1.35; }
.dtab:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.dtab[aria-selected="true"] { background: var(--bg); border-color: var(--line-2); color: var(--text); }
.stage { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 44px; margin-top: 10px; min-height: 380px; }
.stage-copy h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 14px 0 12px; letter-spacing: -0.03em; }
.stage-copy p { color: var(--muted); font-size: 15.5px; }
.stage-tag { display: inline-block; font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.stage-tag.prob { color: var(--bad); border-color: rgba(251, 113, 133, 0.35); }
.stage-tag.sol { color: var(--gold); border-color: var(--gold-line); }
.stage-tag.res { color: var(--good); border-color: rgba(74, 222, 128, 0.35); }
.stage-vis { min-height: 280px; display: flex; align-items: center; }
.vis { width: 100%; display: grid; gap: 9px; font-size: 14.5px; }
.stage-ctl { display: flex; align-items: center; gap: 18px; padding: 14px 6px 4px; }
.segs { flex: 1; display: flex; gap: 6px; }
.seg { position: relative; flex: 1; height: 18px; background: none; border: 0; padding: 0; cursor: pointer; }
.seg::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 3px; border-radius: 3px; background: var(--line-2); }
.seg i { position: absolute; left: 0; top: 7px; z-index: 1; display: block; height: 3px; width: 0; background: var(--text); border-radius: 3px; }
.seg.cur::before { background: rgba(255, 255, 255, 0.22); }
.ctl-r { display: flex; align-items: center; gap: 8px; }
.tm { color: var(--muted); font-size: 12.5px; min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.btn.sm { padding: 6px 14px; font-size: 13px; }
.demo-note { text-align: center; color: var(--muted); font-size: 13.5px; padding: 6px 0 4px; opacity: 0.8; }

/* demo visuals */
.vc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 7px; }
.vc p { color: var(--soft); font-size: 13.5px; }
.vc small, .vis small { font-size: 12px; }
.vc.quiet { background: transparent; border-style: dashed; }
.vc.warn { border-color: rgba(251, 113, 133, 0.4); background: rgba(251, 113, 133, 0.05); }
.vc.ok { border-color: rgba(74, 222, 128, 0.35); }
.vc.bad2 { border-color: rgba(251, 113, 133, 0.35); }
.vrow { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--soft); }
.vrow.total { border-top: 1px solid var(--line-2); padding-top: 8px; margin-top: 2px; color: var(--text); }
.vrow.btns { justify-content: flex-start; gap: 8px; }
.vrow b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.bad { color: var(--bad) !important; }
.good { color: var(--good) !important; }
.vc s { color: var(--muted); }
.pill { font-size: 12px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.on { background: var(--text); color: #0b0b0d; border-color: var(--text); }
.meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.fill { display: block; height: 100%; width: var(--w, 50%); background: var(--gold); border-radius: 999px; }
.fill.red { background: var(--bad); }
.trow { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 10px; color: var(--soft); padding: 3px 0; }
.trow.head { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.trow b { text-align: right; font-weight: 500; color: var(--text); }
.bars2 { display: grid; gap: 12px; }
.b2 { display: grid; grid-template-columns: 96px 1fr 62px; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; }
.b2 i { height: 7px; border-radius: 999px; }
.b2 b { text-align: right; color: var(--text); font-weight: 500; }
.vis .quad div.hit { border-color: var(--gold-line); background: var(--gold-soft); }
.vis .quad em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--gold); }
.vstep { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--soft); }
.vstep span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); font-size: 11.5px; font-weight: 500; }
.vstep.ok { border-color: rgba(74, 222, 128, 0.3); }
.vstep.ok span { background: rgba(74, 222, 128, 0.12); border-color: transparent; color: var(--good); }
.spark { width: 100%; height: 100px; display: block; overflow: visible; }
.spark .ln { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 1.6s 0.3s var(--ease) forwards; }
.spark .ln.dash { stroke-dasharray: 5 5; stroke-dashoffset: 0; animation: fade 0.8s 1.2s both; }
.spark .band { fill: var(--gold); fill-opacity: 0.14; animation: fade 0.8s 1.2s both; }
.spark .dot { fill: var(--bad); animation: fade 0.5s 1.6s both; }
.bub { padding: 12px 16px; border-radius: 16px; max-width: 94%; color: var(--soft); }
.bub.q { background: var(--card-2); justify-self: end; border-bottom-right-radius: 4px; color: var(--text); min-height: 1.6em; }
.bub.a { border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.bub.a b { color: var(--text); font-weight: 500; }
.bub small { display: block; margin-top: 8px; color: var(--muted); }
.bub.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--gold); margin-left: 2px; vertical-align: -2px; animation: blink 0.8s steps(1) infinite; }
.tickets { display: flex; gap: 10px; transform: rotate(-1.5deg); }
.slip { flex: 1; background: #e9e4d6; color: #2a261c; padding: 12px; font-size: 13px; border-radius: 4px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.8); line-height: 1.4; }
.slip.lost { opacity: 0.45; outline: 1px dashed #8a8266; }
.phone { max-width: 270px; margin-inline: auto; width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 26px; padding: 20px 18px; display: grid; gap: 10px; }
.vrow.btn1 { justify-content: center; background: var(--text); color: #0b0b0d; border-radius: 999px; padding: 9px; margin-top: 4px; }
.vrow.btn1 b { color: #0b0b0d; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: start; }
.cols h5 { margin: 0 0 8px; font-size: 11.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.tk { background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; margin-bottom: 8px; color: var(--soft); font-size: 13px; }
.tk.hot { border-color: var(--gold-line); background: var(--gold-soft); color: var(--text); }
.tk.done { border-color: rgba(74, 222, 128, 0.35); }
.receipt { max-width: 300px; margin-inline: auto; width: 100%; background: #efeadb; color: #26231a; border-radius: 4px; padding: 18px 20px; display: grid; gap: 6px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8); }
.receipt .vrow, .receipt .vrow b { color: #26231a; }
.receipt .vrow.total { border-top: 1px dashed #8a8266; }

.vis .vc, .vis .vstep, .vis .bub, .vis .b2, .vis .quad > div, .vis .slip, .vis .tk, .vis .phone, .vis .receipt, .vis .vrow.btns { animation: rise 0.6s var(--ease) both; }
.vis .vc .vrow, .vis .vc .trow, .vis .receipt .vrow, .vis .phone .vrow, .vis .vc .meter { animation: fade 0.5s both; }
.vis .fill { animation: fillw 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fillw { from { width: 0; } to { width: var(--w, 50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .vis *, .spark .ln, .spark .band, .spark .dot { animation: none !important; }
  .spark .ln { stroke-dashoffset: 0; }
  .pain-row button, .dtab { transition: none; }
}

/* folds: everything else, hidden until opened */
.folds { display: grid; gap: 10px; max-width: 920px; margin-inline: auto; }
.fold { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fold[open] { border-color: var(--line-2); }
.fold > summary { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; letter-spacing: 0; }
.fold > summary:hover { color: inherit; background: rgba(255, 255, 255, 0.025); }
.fold > summary b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.fold > summary small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; font-weight: 400; }
.fold > summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--muted); font-size: 20px; font-weight: 300; transform: none; }
.fold[open] > summary::after { content: "\2212"; transform: none; }
.fold-body { padding: 26px 26px 30px; border-top: 1px solid var(--line); }
.fold-body .row { background: var(--bg); padding: 30px; gap: 36px; }
.fold-body .rows { margin-top: 28px; }
.fold-body .tile, .fold-body .fcard { background: var(--bg); }
.fold-solo { max-width: 920px; margin-inline: auto; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
#more .wrap, #start .wrap { max-width: 1020px; }
.glance { display: flex; flex-wrap: wrap; gap: 8px 36px; justify-content: center; padding: 28px 0 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.glance b { color: var(--soft); font-weight: 500; margin-right: 2px; }

@media (max-width: 1020px) {
  .demo-tabs { grid-template-columns: repeat(2, 1fr); }
  .dtab small { display: none; }
  .stage { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .tiles-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { padding: 56px 0 48px; }
  .pains { margin-top: 40px; }
  .demo { padding: 8px; border-radius: 18px; }
  .demo-tabs { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .dtab { flex: none; width: 190px; }
  .stage { padding: 20px; min-height: 0; }
  .stage-vis { min-height: 0; }
  .stage-ctl { flex-wrap: wrap; }
  .segs { flex-basis: 100%; }
  .ctl-r { width: 100%; justify-content: space-between; }
  .fold > summary { padding: 18px; }
  .fold-body { padding: 20px 16px 24px; }
  .fold-body .row { padding: 20px; }
  .tiles-3 { grid-template-columns: 1fr; }
  .b2 { grid-template-columns: 80px 1fr 56px; }
}

/* screenshots gallery: screens listed on both sides, the picture scrolls between them */
#screens .wrap { width: min(1380px, calc(100% - 48px)); }
.gallery { display: grid; grid-template-columns: 200px minmax(0, min(calc(100% - 224px), max(560px, calc((100vh - 250px) * 1.7778)))); justify-content: center; gap: 24px; align-items: start; margin-inline: auto; }
.g-side { display: grid; grid-auto-rows: 1fr; gap: 8px; align-self: stretch; }
.g-side button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 18px; justify-content: center; color: var(--muted); font: inherit; cursor: pointer; transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.4s var(--ease); }
.g-side button small { font-size: 11.5px; letter-spacing: 0.1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.g-side button b { font-weight: 500; font-size: 16px; letter-spacing: -0.015em; }
.g-side button:hover { transform: translateX(3px); }
.g-side button:hover { color: var(--text); border-color: var(--line-2); }
.g-side button[aria-selected="true"] { color: var(--text); background: var(--card-2); border-color: var(--gold-line); }
.g-side button[aria-selected="true"] small { color: var(--gold); }
.g-stage { min-width: 0; }
.shot-view { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95); transition: border-color 0.25s; }
.shot-view:hover { border-color: var(--gold-line); }
.shot-track { --i: 0; height: 100%; transform: translateY(calc(var(--i) * -100%)); transition: transform 0.95s cubic-bezier(0.65, 0, 0.2, 1); will-change: transform; }
.shot-track img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot-cap { margin-top: 18px; text-align: center; color: var(--muted); font-size: 15px; min-height: 3.4em; }
.shot-cap b { display: block; color: var(--text); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; margin-bottom: 2px; }
.g-note { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) { .shot-track { transition: none; } .g-side button { transition: none; } }
@media (max-width: 1020px) {
  .gallery { grid-template-columns: 1fr; gap: 14px; justify-content: stretch; }
  .g-stage { order: -1; }
  .g-side { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); align-self: auto; }
  .g-side button { padding: 12px 14px; }
  .g-side button:hover { transform: none; }
}
