:root {
  --bg: #07090f;
  --bg2: #0a0e1a;
  --surface: #0d1220;
  --raise: #131a2c;
  --line: #1e2740;
  --text: #e8ecf6;
  --muted: #93a0bd;
  --teal: #2dd4bf;
  --violet: #8b5cf6;
  --magenta: #d946ef;
  --grad: linear-gradient(90deg, var(--teal), var(--violet), var(--magenta));
  --glow: 0 0 40px rgba(139, 92, 246, .25);
  --r: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.lead { color: var(--muted); max-width: 640px; font-size: 18px; }
section { padding: 72px 0; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.muted { color: var(--muted); }
em { font-style: italic; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, .75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navrow { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
/* The padding widens the background box the gradient is clipped to; without it
   the box is exactly one advance wide and shaves the italic's overhang — the
   f's tail and the r's arm. The negative margin keeps the layout unchanged. */
.brand em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline: .09em; margin-inline: -.09em; }
.brand.small { font-size: 16px; margin-bottom: 10px; }
.navlinks { display: flex; align-items: center; gap: 22px; }
.navlinks a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.navlinks a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 820px) { .navlinks a:not(.btn) { display: none; } }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--grad); color: #07090f;
  font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: 11px;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--glow); text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--violet); box-shadow: none; }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }

.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(45, 212, 191, .16), transparent 60%),
    radial-gradient(1000px 520px at 88% 0%, rgba(139, 92, 246, .18), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(217, 70, 239, .10), transparent 60%),
    var(--bg);
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); max-width: 780px; margin-bottom: 18px; }
.hero h1 .shine { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; margin-bottom: 30px; }
.heroctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px; background: rgba(13, 18, 32, .6);
}
.chip b { color: var(--teal); font-weight: 600; }

.heroart {
  position: absolute; right: -140px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  background: conic-gradient(from 180deg, #2dd4bf33, #8b5cf644, #d946ef33, #2dd4bf33);
  filter: blur(70px); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .heroart { animation: drift 24s linear infinite; }
  @keyframes drift { to { transform: translateY(-50%) rotate(360deg); } }
}
@media (max-width: 900px) { .heroart { display: none; } }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 980px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid3, .grid4, .grid2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .k { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step { position: relative; }
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px;
  background: var(--raise); border: 1px solid var(--line);
  font-weight: 800; color: var(--teal);
}

.samplecard audio { width: 100%; margin-top: 12px; filter: invert(.92) hue-rotate(180deg); border-radius: 8px; }
.soon {
  display: inline-block; margin-top: 12px; font-size: 13px;
  color: var(--violet); border: 1px dashed var(--line);
  border-radius: 8px; padding: 8px 12px;
}

.builder {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.builderbox { display: grid; grid-template-columns: 1.25fr .9fr; gap: 22px; margin-top: 34px; align-items: start; }
@media (max-width: 900px) { .builderbox { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.panel h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 26px 0 12px; }
.panel h3:first-child { margin-top: 0; }

.goalgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 620px) { .goalgrid { grid-template-columns: repeat(2, 1fr); } }
.pick input { position: absolute; opacity: 0; }
.pick span {
  display: block; padding: 12px 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--raise); transition: border-color .12s, box-shadow .12s;
}
.pick b { display: block; font-size: 15px; }
.pick small { color: var(--muted); font-size: 12.5px; }
.pick input:checked + span { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), var(--glow); }
.pick input:focus-visible + span { outline: 2px solid var(--teal); }

.lengthgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 620px) { .lengthgrid { grid-template-columns: repeat(2, 1fr); } }
.lengthgrid .price { font-weight: 800; color: var(--teal); }

select, input[type="text"], input[type="email"], input[type="number"], textarea {
  width: 100%; padding: 11px 13px;
  background: var(--raise); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit;
}
select:focus, input:focus, textarea:focus { outline: 2px solid var(--violet); border-color: transparent; }
label.lab { display: block; font-size: 13.5px; color: var(--muted); margin: 14px 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; } }

.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; margin: 10px 0; }
.switch input { accent-color: var(--violet); width: 17px; height: 17px; }

.techchips { display: flex; flex-wrap: wrap; gap: 8px; }
.techchips .pick span { padding: 8px 13px; border-radius: 999px; font-size: 13.5px; }

input[type="range"] { width: 100%; accent-color: var(--violet); height: 30px; }
.rangerow { display: flex; align-items: center; gap: 12px; }
.rangerow output { min-width: 72px; text-align: right; font-variant-numeric: tabular-nums; color: var(--teal); font-weight: 600; }

details.adv { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-top: 14px; }
details.adv > summary {
  cursor: pointer; list-style: none; padding: 16px 22px;
  font-weight: 700; display: flex; justify-content: space-between; align-items: center;
}
details.adv > summary::after { content: "+"; color: var(--violet); font-size: 20px; }
details.adv[open] > summary::after { content: "–"; }
details.adv .inner { padding: 4px 22px 22px; }

.preview { position: sticky; top: 84px; }
.playrow { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; }
.playbtn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #07090f; font-size: 22px; font-weight: 800;
  transition: transform .15s, box-shadow .15s;
}
.playbtn:hover { transform: scale(1.05); box-shadow: var(--glow); }
.playbtn:disabled { opacity: .65; cursor: wait; transform: none; animation: pulse 1s ease-in-out infinite; }
.vu { flex: 1; display: flex; align-items: center; gap: 3px; height: 34px; }
.vu i {
  flex: 1; background: var(--raise); border-radius: 2px; height: 22%;
  transition: height .1s linear;
}
.vu.on i { background: var(--grad); }
.hint { font-size: 13px; color: var(--muted); }
.hint.warn { color: #fbbf24; }

.summary { border-top: 1px dashed var(--line); margin-top: 18px; padding-top: 16px; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; }
.summary .total .amt { font-size: 30px; font-weight: 800; }
.err { color: #f87171; font-size: 14px; margin-top: 10px; min-height: 20px; }

.pricegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 980px) { .pricegrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricegrid { grid-template-columns: 1fr; } }
.pricecard { text-align: center; padding: 30px 22px; position: relative; }
.pricecard .amt { font-size: 40px; font-weight: 800; margin: 8px 0 2px; }
.pricecard .amt sup { font-size: 18px; }
.pricecard.featured { border-color: var(--violet); box-shadow: var(--glow); }
.flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--grad); color: #07090f; border-radius: 999px; padding: 4px 12px;
}
.pricecard ul { list-style: none; margin: 14px 0 20px; color: var(--muted); font-size: 14px; }
.pricecard li { padding: 4px 0; }

details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 4px;
  font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; gap: 20px;
}
details.faq summary::after { content: "+"; color: var(--violet); }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 4px 18px; color: var(--muted); max-width: 720px; }

.band {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px; margin-top: 36px;
}
.newsrow { display: flex; gap: 12px; margin-top: 16px; max-width: 480px; }
.newsrow input { flex: 1; }
@media (max-width: 620px) { .newsrow { flex-direction: column; } }

.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 54px 0 30px; margin-top: 40px; }
.footgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .footgrid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer a { display: block; color: var(--text); font-size: 14.5px; padding: 4px 0; opacity: .85; }
.footer .footnote { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--muted); font-size: 13px; }
.footer .footnote a.more { display: inline; color: inherit; text-decoration: underline; padding: 0; opacity: 1; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(30px, 5vw, 44px); margin: 40px 0 16px; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 14px; font-size: 16.5px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose strong { color: var(--text); }
.prose .meta { font-size: 14px; color: var(--violet); margin-bottom: 30px; }
.prose.prose-wide { max-width: 900px; }
.hero-emoji { font-size: 0.68em; vertical-align: -0.04em; margin-left: 0.15em; }
.linkbox { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px 16px; margin: 20px 0 26px; }
.linkbox-label { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.linkbox-row { display: flex; gap: 8px; align-items: center; }
.linkbox-input { flex: 1; min-width: 0; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.1); color: var(--text); padding: 8px 10px; border-radius: 6px; font-family: monospace; font-size: 13px; }
.btn.btn-sm { padding: 8px 14px; font-size: 13px; }
.postcard { display: block; color: var(--text); }
.postcard:hover { text-decoration: none; border-color: var(--violet); }
.postcard h3 { margin-bottom: 6px; }
.postcard .date { font-size: 13px; color: var(--violet); }

.statusline { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--raise); border: 1px solid var(--line); flex: none; }
.dot.on { background: var(--grad); border: 0; box-shadow: 0 0 12px rgba(139, 92, 246, .6); }
.dot.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
