/* Brevis Clips — direction B "Waveform". Swap the tokens below to change direction. */
:root {
  --bg: #0a1020;
  --bg-2: #10182d;
  --card: #141c33;
  --line: #24304f;
  --text: #e9eefc;
  --muted: #9aa6c6;
  --accent: #3ef0c8;
  --accent-ink: #04221b;
  --dim-bar: #3a4a72;
  --danger: #ff7a85;
  --radius: 14px;
  --max: 1120px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 7vw, 68px); }
h2 { font-size: clamp(28px, 4.2vw, 42px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(10, 16, 32, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 20px var(--font-head); color: var(--text); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links a.hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: 600 15px var(--font-body); padding: 12px 18px; border-radius: 10px; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.nav .btn { padding: 9px 14px; font-size: 14px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--accent-ink); }

/* hero */
.hero { padding: 72px 0 48px; text-align: center; background: radial-gradient(60% 50% at 50% 0%, rgba(62, 240, 200, .10), transparent 70%); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.wave { display: flex; justify-content: center; align-items: center; gap: 4px; height: 56px; margin: 0 auto 28px; max-width: 520px; }
.wave span { flex: 1; max-width: 6px; border-radius: 3px; background: var(--dim-bar); }
.wave span.hot { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .wave span { animation: pulse 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.13s); transform-origin: center; }
  @keyframes pulse { 50% { transform: scaleY(.6); } }
}

/* persona picker */
.picker-q { font: 600 18px var(--font-head); margin-bottom: 16px; }
.personas { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .personas { grid-template-columns: repeat(5, 1fr); } }
.persona { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.persona:hover, .persona:focus-visible { border-color: var(--accent); transform: translateY(-2px); outline: none; }
.persona .ico { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--accent); }
.persona b { font-size: 15px; }
.persona small { font-size: 12px; color: var(--muted); line-height: 1.3; text-align: center; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.tag.soon { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* demo phones */
.phones { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.phone { width: 220px; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; border: 6px solid #1d2742; background: #000; position: relative; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone .sound { position: absolute; right: 10px; bottom: 10px; border: 0; border-radius: 999px; width: 36px; height: 36px; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; font-size: 16px; }
.phone .cap { position: absolute; left: 10px; top: 10px; font-size: 11px; background: rgba(0, 0, 0, .55); padding: 4px 8px; border-radius: 999px; }
@media (max-width: 520px) { .phone { width: 46%; } .phone:nth-child(3) { display: none; } }
.demo-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 620px; margin: 24px auto 0; }

/* steps + features */
.grid3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.step-n { font: 700 14px var(--font-head); color: var(--accent-ink); background: var(--accent); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 14px; }
.compare { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .card h3 { display: flex; gap: 10px; align-items: center; }
.compare ul { margin: 0; padding-left: 18px; color: var(--muted); }
.compare li { margin-bottom: 6px; }
.compare .ours { border-color: var(--accent); }

/* quote flow illustration */
.flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; }
.flow .pill { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.flow .arrow { color: var(--muted); }
.flow .pill.final { border-color: var(--accent); color: var(--accent); font-weight: 600; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* forms */
.form { max-width: 720px; margin: 0 auto; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font: 600 17px var(--font-head); margin-bottom: 4px; }
.hint { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 10px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); cursor: pointer; font-size: 15px; }
.choice input:checked + span { border-color: var(--accent); color: var(--accent); background: rgba(62, 240, 200, .08); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.email-row { display: flex; gap: 10px; flex-wrap: wrap; }
.email-row input[type=email] { flex: 1 1 260px; min-width: 0; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 16px var(--font-body); }
.email-row input[type=email]:focus { outline: 2px solid var(--accent); border-color: transparent; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 14px; min-height: 1.6em; font-size: 15px; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--accent); }
.summary-box { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 26px; }
.summary-box ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); }

/* plain text pages */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 16px 72px; }
.prose h1 { font-size: 40px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
