/* SymphonicBail marketing site — dark, premium, gold. Self-contained, no build step.
   Brand: the Cadence equalizer mark (gold peak) + gold #f5b53d. Geist type with a system fallback. */

:root {
  --bg: #080a10;
  --bg-2: #0b0f18;
  --surface: rgba(255, 255, 255, 0.024);
  --surface-2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #eef2f9;
  --text-soft: #c4cde0;
  --muted: #8b97ae;
  --gold: #f5b53d;
  --gold-2: #ffd27a;
  --gold-deep: #c8860a;
  --green: #34d399;
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Ambient gold aura fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 78% -5%, rgba(245, 181, 61, 0.16), transparent 60%),
    radial-gradient(50% 40% at 0% 8%, rgba(245, 181, 61, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: var(--text-soft); }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.gold-grad {
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 9px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 540; font-size: 0.96rem;
  padding: 12px 20px; border-radius: 11px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #1a1206; box-shadow: 0 10px 30px -10px rgba(245, 181, 61, 0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(245, 181, 61, 0.7); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 10, 16, 0.66);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 650; font-size: 1.12rem; letter-spacing: -0.02em; }
.logo .wm2 { color: var(--gold); }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 0.93rem; }
.nav-links a { color: var(--text-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .signin { font-size: 0.93rem; color: var(--text-soft); }
.nav-actions .signin:hover { color: #fff; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav-actions .signin { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 116px) 0 40px; text-align: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border: 1px solid var(--border-2); border-radius: 100px;
  font-size: 0.8rem; color: var(--text-soft); margin-bottom: 28px;
  background: var(--surface);
}
.hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { max-width: 16ch; margin: 0 auto 22px; }
.hero .lead { max-width: 60ch; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--muted); }

/* product frame */
.frame {
  margin: 60px auto 0; max-width: 1040px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  padding: 10px;
  box-shadow: 0 50px 120px -40px rgba(245, 181, 61, 0.32), 0 30px 80px -30px rgba(0,0,0,0.8);
  position: relative;
}
.frame::after {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius-lg);
  padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(245,181,61,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.frame .bar { display: flex; gap: 7px; padding: 8px 12px 12px; }
.frame .bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); }
.frame img { border-radius: 12px; border: 1px solid var(--border); width: 100%; height: auto; }
.float { animation: float 7s var(--ease) infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 62ch; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 16px 0 14px; }

/* trust strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.strip .stat .n { font-size: 2rem; font-weight: 620; letter-spacing: -0.03em; }
.strip .stat .l { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 720px) { .strip .wrap { grid-template-columns: repeat(2, 1fr); } }

/* feature grid */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 26px 24px; transition: border-color 0.2s, transform 0.2s var(--ease), background 0.2s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-3px); background: var(--surface-2); }
.card .ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(245,181,61,0.12); border: 1px solid rgba(245,181,61,0.25); color: var(--gold); margin-bottom: 18px;
}
.card .ic svg { width: 21px; height: 21px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .tag {
  display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(245,181,61,0.3); border-radius: 6px; padding: 3px 8px;
}

/* deep-dive rows */
.deep { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.deep + .deep { margin-top: clamp(70px, 9vw, 120px); }
.deep.rev .deep-text { order: 2; }
.deep-num { font-family: var(--mono); color: var(--gold); font-size: 0.8rem; letter-spacing: 0.15em; }
.deep-text h2 { margin: 14px 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.deep-text p { color: var(--text-soft); margin-bottom: 18px; }
.deep ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.deep ul li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-soft); font-size: 0.95rem; }
.deep ul li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: rgba(245,181,61,0.14);
  border: 1px solid rgba(245,181,61,0.4); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b53d' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
@media (max-width: 820px) {
  .deep { grid-template-columns: 1fr; gap: 30px; }
  .deep.rev .deep-text { order: 0; }
}

/* consent / trust panel (special attention) */
.panel {
  border: 1px solid rgba(245,181,61,0.28); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(245,181,61,0.06), rgba(255,255,255,0.012));
  padding: clamp(30px, 4vw, 52px);
}
.panel .grid-2 { gap: 30px; margin-top: 30px; }
.consent-item { display: flex; gap: 14px; }
.consent-item .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(245,181,61,0.12); border: 1px solid rgba(245,181,61,0.28); color: var(--gold); }
.consent-item .ic svg { width: 19px; height: 19px; }
.consent-item h3 { font-size: 1.02rem; margin-bottom: 5px; }
.consent-item p { color: var(--muted); font-size: 0.9rem; }

/* roadmap */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .road { grid-template-columns: 1fr; } }
.road .item { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.road .item .st { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.st.live { color: var(--green); border: 1px solid rgba(52,211,153,0.35); }
.st.build { color: var(--gold); border: 1px solid rgba(245,181,61,0.35); }
.st.next { color: var(--muted); border: 1px solid var(--border-2); }
.road .item h3 { font-size: 1.04rem; margin: 14px 0 6px; }
.road .item p { color: var(--muted); font-size: 0.9rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-inner {
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  background: radial-gradient(70% 130% at 50% -20%, rgba(245,181,61,0.18), transparent 60%), var(--surface);
  padding: clamp(40px, 6vw, 72px);
}
.cta-inner h2 { max-width: 20ch; margin: 0 auto 16px; }
.cta-inner .lead { max-width: 52ch; margin: 0 auto 30px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-top .about { max-width: 34ch; }
.foot-top .about p { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }
.foot-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.foot-col a { display: block; color: var(--text-soft); font-size: 0.92rem; margin-bottom: 11px; transition: color 0.15s; }
.foot-col a:hover { color: var(--gold); }
.foot-bot { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot-bot p { color: var(--muted); font-size: 0.84rem; }
.disclaimer { margin-top: 18px; color: var(--muted); font-size: 0.8rem; max-width: 80ch; line-height: 1.6; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll — only hidden when JS is present (progressive enhancement: no JS = fully visible) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 84px) 0 90px; }
.legal .wrap { max-width: 820px; }
.legal .draft {
  border: 1px solid rgba(245,181,61,0.32); background: rgba(245,181,61,0.07);
  border-radius: 12px; padding: 14px 18px; font-size: 0.9rem; color: var(--text-soft); margin-bottom: 40px;
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.02rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text-soft); font-size: 0.97rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal .toc { border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 40px; background: var(--surface); }
.legal .toc a { display: block; margin-bottom: 8px; font-size: 0.92rem; }

/* ---------- full capability catalog ---------- */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .catalog { grid-template-columns: 1fr; } }
.cat-col {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 24px 24px 10px;
}
.cat-col h3 {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 16px;
}
.cat-col ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.cat-col li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-soft); font-size: 0.92rem; line-height: 1.45; }
.cat-col li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 5px;
  background: rgba(245,181,61,0.14); border: 1px solid rgba(245,181,61,0.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b53d' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}
.m { color: var(--gold); font-weight: 700; }
.m-key { color: var(--gold); font-weight: 700; font-family: var(--mono); }
.metered-note { margin-top: 22px; color: var(--text-soft); font-size: 0.86rem; max-width: 82ch; line-height: 1.6; }
.metered-note a { color: var(--gold); }

/* ---------- pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.tier {
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
  padding: 30px 28px; display: flex; flex-direction: column; text-align: center; position: relative;
}
.tier.featured {
  border-color: rgba(245,181,61,0.4);
  background: radial-gradient(80% 120% at 50% -10%, rgba(245,181,61,0.12), transparent 60%), var(--surface-2);
  box-shadow: 0 30px 80px -40px rgba(245, 181, 61, 0.45);
}
.tier-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1a1206; background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  padding: 4px 12px; border-radius: 100px; font-weight: 600;
}
.tier-name { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.tier-price { margin: 12px 0 4px; }
.tier-price .amt { font-size: 2.7rem; font-weight: 640; letter-spacing: -0.03em; }
.tier-price .per { color: var(--muted); font-size: 1rem; margin-left: 4px; }
.tier-seats { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 14px; }
.tier-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; flex: 1; }
.tier .btn { justify-content: center; width: 100%; }
.tier-promises {
  list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: center; color: var(--text-soft); font-size: 0.9rem;
}
.tier-promises li { display: flex; gap: 8px; align-items: center; }
.tier-promises li::before {
  content: ""; flex: none; width: 15px; height: 15px; border-radius: 5px;
  background: rgba(245,181,61,0.14); border: 1px solid rgba(245,181,61,0.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b53d' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}
.tier-lock {
  margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.06em; color: var(--gold);
}

/* ---------- TCO comparison ---------- */
.scenario {
  border: 1px solid rgba(245,181,61,0.28); border-radius: var(--radius);
  background: rgba(245,181,61,0.06); padding: 18px 22px; margin-bottom: 22px;
  display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
}
.scenario-label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); flex: none;
}
.scenario p { color: var(--text-soft); font-size: 0.95rem; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; }
table.compare thead th {
  position: sticky; top: 0; background: var(--bg-2); z-index: 1;
  padding: 14px 12px; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); border-bottom: 2px solid var(--border); text-align: center; font-weight: 600;
}
table.compare thead th:first-child { text-align: left; }
table.compare thead th.us { color: var(--gold); }
table.compare td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: center; color: var(--text-soft); }
table.compare td:first-child { text-align: left; color: var(--text); }
table.compare td.us {
  background: rgba(245,181,61,0.07); border-left: 1px solid rgba(245,181,61,0.25);
  border-right: 1px solid rgba(245,181,61,0.25); color: #fff;
}
table.compare tr.cat td {
  background: var(--surface); color: var(--gold); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; text-align: left;
}
table.compare tr.total td { font-weight: 700; font-size: 1rem; border-top: 2px solid var(--border-2); color: var(--text); }
table.compare tr.total.grand td { font-size: 1.15rem; }
table.compare tr.total.grand td.us { color: var(--gold); }
table.compare .cell-note { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 400; margin-top: 2px; }
table.compare sup { font-size: 0.66em; color: var(--muted); }
table.compare td.us sup { color: var(--gold-2); }
.ok { color: var(--green); font-weight: 700; }
.no { color: var(--muted); }
.pt { color: var(--gold); font-weight: 600; }
.compare-legend { margin: 20px 0 8px; color: var(--muted); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.compare-take { color: var(--text-soft); font-size: 0.95rem; max-width: 82ch; line-height: 1.6; margin-top: 10px; }
.compare-take em { color: var(--gold); font-style: normal; }
.foot {
  margin-top: 24px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; color: var(--muted); font-size: 0.8rem; line-height: 1.6;
}
.foot p + p { margin-top: 12px; }
.foot sup { color: var(--gold); font-weight: 600; }
.foot b { color: var(--text-soft); font-weight: 600; }
