/* Product website. Style direction: docs/brand.md (dark hero, green → blue → purple brand gradient). */
:root {
    --green: #02d394;
    --blue: #1966ff;
    --blue-dark: #004be0;
    --purple: #7f1aff;
    --navy: #00143d;
    --ink: #141414;
    --ink-2: #525252;
    --line: #e5e7eb;
    --soft: #f5f5f5;
    --brand: linear-gradient(315deg, var(--green) 0%, var(--blue) 46%, var(--purple) 96%);
    --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.announce { background: #000; color: #d6d6d6; text-align: center; font-size: .9rem; padding: 10px 16px; border-bottom: 1px solid #1f1f1f; }
.announce a { color: #fff; font-weight: 600; margin-left: 8px; text-decoration: none; }
.pill { display: inline-block; background: var(--brand); color: #fff; font-weight: 700; font-size: .75rem; padding: 2px 10px; border-radius: 999px; margin-right: 8px; }

.nav-wrap { background: #000; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; gap: 32px; height: 72px; color: #fff; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { text-decoration: none; color: #c2c2c2; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.link-light { color: #fff; text-decoration: none; font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }

.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #16135a 0%, transparent 60%), linear-gradient(180deg, #000 0%, var(--navy) 100%); color: #fff; padding: 96px 0 112px; }
.glow { position: absolute; width: 720px; height: 720px; right: -200px; top: 40px; background: var(--brand); filter: blur(140px); opacity: .28; border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--green); margin: 0 0 14px; }
.eyebrow.dark { color: var(--blue); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 22px; font-weight: 800; }
.gradient-text { background: linear-gradient(90deg, var(--green), var(--blue) 50%, #a35cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: #c2c2c2; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.fine { color: #8a8a8a; font-size: .9rem; margin-top: 18px; }

.mock { background: #0b0f1f; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 40px 120px rgba(25,102,255,.25); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: #858585; font-size: .8rem; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.mock-bar span { margin-left: 10px; }
.mock-body { padding: 20px; display: grid; gap: 18px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-stats div { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 12px; }
.mock-stats small { display: block; color: #858585; font-size: .72rem; }
.mock-stats b { font-size: 1.15rem; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 0 4px; }
.mock-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--brand); opacity: .9; }
.mock-rows div { display: flex; justify-content: space-between; padding: 10px 2px; border-top: 1px solid rgba(255,255,255,.07); font-size: .85rem; color: #c2c2c2; }
.mock-rows em { font-style: normal; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.ok { background: rgba(2,211,148,.15); color: var(--green); }
.ship { background: rgba(25,102,255,.18); color: #85adff; }
.new { background: rgba(127,26,255,.2); color: #c599ff; }

.trust { background: #000; color: #858585; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.06); }
.trust p { text-align: center; margin: 0 0 18px; font-size: .9rem; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; }
.trust-logos span { color: #d6d6d6; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; opacity: .8; }

.section { padding: 104px 0; }
.section.alt { background: var(--soft); }
.section h2, .cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 40px; font-weight: 800; max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; transition: box-shadow .2s, transform .2s; overflow: hidden; }
.card:hover { box-shadow: 0 18px 50px rgba(0,20,61,.10); transform: translateY(-2px); }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--brand); opacity: 0; transition: opacity .2s; }
.card:hover::before { opacity: 1; }
.card-mark { display: block; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); margin-bottom: 18px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 20px; }
.lead-dark { font-size: 1.15rem; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); -webkit-mask: radial-gradient(circle, #000 55%, transparent 56%); mask: radial-gradient(circle, #000 55%, transparent 56%); }
.stat-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat-panel div { background: #fff; padding: 32px 24px; }
.stat-panel b { display: block; font-size: 2.4rem; letter-spacing: -.03em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-panel span { color: var(--ink-2); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; background: #fff; }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--brand) border-box; box-shadow: 0 24px 60px rgba(25,102,255,.14); }
.price-card h3 { margin: 0 0 12px; font-size: 1.3rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.muted { color: var(--ink-2); font-size: .9rem; }
.price-card .checks { flex: 1; margin-bottom: 26px; }
.badge { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

.cta { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy), #000); color: #fff; padding: 120px 0 170px; text-align: center; }
.cta h2 { margin: 0 auto 16px; }
.cta .lead { margin: 0 auto 32px; }
.wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; }
.cta-inner { position: relative; }

.footer { background: #000; color: #858585; padding: 48px 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer strong { color: #fff; }
.footer a, .footer span { display: block; color: #a3a3a3; text-decoration: none; margin-bottom: 6px; }
.footer a:hover { color: #fff; }

@media (max-width: 960px) {
    .hero-grid, .split { grid-template-columns: 1fr; }
    .cards, .pricing { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav { gap: 16px; justify-content: space-between; }
}
@media (max-width: 640px) {
    .cards, .pricing, .footer-grid, .mock-stats { grid-template-columns: 1fr; }
    .link-light { display: none; }
    .hero { padding: 64px 0 80px; }
    .section { padding: 72px 0; }
}

/* Monthly / yearly billing toggle */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); margin: -16px 0 14px; }
.billing-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 10px 22px; border-radius: 999px; cursor: pointer; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,20,61,.12); }
.billing-toggle .save { background: var(--brand); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 999px; }
.trial-note { color: var(--ink-2); margin: 0 0 34px; }
.pricing[data-billing="yearly"] .only-monthly, .pricing[data-billing="monthly"] .only-yearly { display: none; }

/* Legal pages */
.legal-page .nav-wrap { position: static; }
.legal { max-width: 820px; }
.legal h2 { margin-top: 2rem; font-size: 1.25rem; }
.legal li { margin: .3rem 0; }
.legal-draft { background: #fff7e6; border: 1px solid #f5c26b; color: #6b4500; padding: 10px 14px; border-radius: 8px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.legal-table th, .legal-table td { border-bottom: 1px solid #e5e7eb; padding: 8px; text-align: left; vertical-align: top; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px 22px; background: #fff; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 1.08rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--blue); font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 12px 0 0; color: #4b5563; }
