/* ============================================================
   Marketing site. Requires theme.css for tokens.
   ============================================================ */

body.site { background: #fff; }
body.site::before { display: none; }

/* ---------- nav ---------- */
.snav {
    position: sticky; top: 0; z-index: 80;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border-bottom: 1px solid var(--line-2);
}
.snav-in {
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    height: 68px; display: flex; align-items: center; gap: 26px;
}
.snav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.snav-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--g-brand);
    display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px;
    box-shadow: var(--glow-i); }
.snav-name { font-weight: 800; font-size: 16.5px; letter-spacing: -.025em; }
.snav-links { display: flex; gap: 4px; margin-left: 12px; }
.snav-links a { padding: 8px 13px; border-radius: 8px; font-size: 14px; font-weight: 600;
    color: var(--muted); text-decoration: none; transition: all .16s var(--ease-2); }
.snav-links a:hover { color: var(--ink); background: var(--field); }
.snav-links a.on { color: var(--indigo); }
.snav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.snav-burger { display: none; width: 38px; height: 38px; border-radius: 9px;
    border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 17px; }

/* ---------- hero ---------- */
.shero { position: relative; overflow: hidden; padding: 84px 24px 76px; text-align: center; }
.shero::before, .shero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.shero::before { width: 520px; height: 520px; top: -240px; left: 50%; margin-left: -460px;
    background: rgba(99,102,241,.3); animation: floatSlow 20s ease-in-out infinite; }
.shero::after  { width: 480px; height: 480px; top: -180px; right: 50%; margin-right: -440px;
    background: rgba(217,70,239,.22); animation: floatSlow 25s ease-in-out infinite reverse; }
.shero-in { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99,102,241,.1); color: #4f46e5;
    padding: 7px 15px; border-radius: 99px;
    font-size: 13px; font-weight: 700; margin-bottom: 24px;
}
.shero h1 {
    margin: 0 0 20px; font-size: clamp(34px, 6vw, 60px); font-weight: 800;
    letter-spacing: -.045em; line-height: 1.04;
}
.shero h1 .grad {
    background: var(--g-brand); -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.shero p.lede {
    margin: 0 auto 32px; font-size: clamp(16px, 2vw, 19px); color: var(--muted);
    max-width: 620px; line-height: 1.6; font-weight: 500;
}
.shero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-xl { height: 52px; padding: 0 28px; font-size: 15.5px; border-radius: 13px; }
.shero .fineprint { margin-top: 16px; font-size: 13px; color: var(--faint); font-weight: 500; }

/* product shot */
.shot {
    max-width: 980px; margin: 56px auto 0; padding: 0 24px;
    position: relative; z-index: 1;
}
.shot-frame {
    border-radius: var(--r-xl); overflow: hidden;
    box-shadow: 0 40px 90px -24px rgba(20,20,43,.35);
    border: 1px solid var(--line);
    background: #fff;
}
.shot-bar { height: 38px; background: var(--field); display: flex; align-items: center;
    gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8dae2; display: block; }
.shot-body { padding: 22px; }

/* ---------- sections ---------- */
.sec { padding: 78px 24px; }
.sec-tint { background: var(--field); }
.sec-in { max-width: 1140px; margin: 0 auto; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.sec-head h2 { margin: 0 0 14px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800;
    letter-spacing: -.035em; line-height: 1.12; }
.sec-head p { margin: 0; font-size: 16.5px; color: var(--muted); line-height: 1.6; font-weight: 500; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px,1fr)); gap: 26px; }

.feat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 26px; box-shadow: var(--sh-1);
    transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.feat .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    color: #fff; font-size: 20px; margin-bottom: 17px; }
.feat h3 { margin: 0 0 9px; font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; }
.feat p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 22px; align-items: start; }
.plan {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
    padding: 30px 28px; position: relative;
}
.plan.featured {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--indigo), 0 22px 48px -18px rgba(99,102,241,.4);
}
.plan-flag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--g-brand); color: #fff; padding: 5px 15px; border-radius: 99px;
    font-size: 12px; font-weight: 700; box-shadow: var(--glow-i); white-space: nowrap;
}
.plan h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.plan .blurb { margin: 0 0 22px; font-size: 14px; color: var(--muted); min-height: 40px; }
.plan .cost { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.plan .cost .amt { font-size: 40px; font-weight: 800; letter-spacing: -.04em;
    font-variant-numeric: tabular-nums; }
.plan .cost .per { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; margin: 24px 0 0; padding: 0; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px;
    padding: 8px 0; color: var(--ink-2); }
.plan li i { color: var(--emerald); font-size: 15px; margin-top: 2px; flex-shrink: 0; }

/* ---------- cta band ---------- */
.band {
    margin: 0 24px; border-radius: var(--r-xl); padding: 62px 32px; text-align: center;
    background: var(--g-deep); color: #fff; position: relative; overflow: hidden;
}
.band::before, .band::after { content: ''; position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none; }
.band::before { width: 420px; height: 420px; top: -200px; left: 8%; background: rgba(217,70,239,.45);
    animation: floatSlow 19s ease-in-out infinite; }
.band::after { width: 400px; height: 400px; bottom: -220px; right: 10%; background: rgba(6,182,212,.4);
    animation: floatSlow 24s ease-in-out infinite reverse; }
.band > * { position: relative; z-index: 1; }
.band h2 { margin: 0 0 14px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.band p { margin: 0 auto 28px; font-size: 16.5px; color: rgba(255,255,255,.76); max-width: 520px; }
.band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.band .btn:hover { background: rgba(255,255,255,.9); }

/* ---------- footer ---------- */
.sfoot { border-top: 1px solid var(--line); padding: 54px 24px 34px; margin-top: 78px; }
.sfoot-in { max-width: 1140px; margin: 0 auto; }
.sfoot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; margin-bottom: 40px; }
.sfoot-about p { margin: 14px 0 0; font-size: 14px; color: var(--muted); max-width: 300px; line-height: 1.65; }
.sfoot h4 { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.sfoot ul { list-style: none; margin: 0; padding: 0; }
.sfoot li { margin-bottom: 9px; }
.sfoot li a { font-size: 14px; color: var(--muted); text-decoration: none; }
.sfoot li a:hover { color: var(--indigo); }
.sfoot-base { border-top: 1px solid var(--line-2); padding-top: 22px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 13px; color: var(--faint); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 40px; }
.legal h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.035em; }
.legal .updated { font-size: 13.5px; color: var(--faint); margin: 0 0 40px; font-weight: 500; }
.legal h2 { margin: 42px 0 14px; font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.legal h3 { margin: 28px 0 10px; font-size: 16.5px; font-weight: 700; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.legal p { margin: 0 0 16px; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--indigo); }
.legal strong { color: var(--ink); }
.legal .box {
    background: var(--field); border-radius: var(--r); padding: 18px 20px;
    margin: 0 0 22px; border-left: 3px solid var(--indigo);
}
.legal .box p:last-child { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 22px; }
.legal th { text-align: left; font-size: 12.5px; font-weight: 700; color: var(--muted);
    padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal td { padding: 11px 12px; font-size: 14px; border-bottom: 1px solid var(--line-2);
    vertical-align: top; color: var(--ink-2); }
.legal td:first-child, .legal th:first-child { padding-left: 0; }

.toc { background: var(--field); border-radius: var(--r-lg); padding: 20px 24px; margin: 0 0 36px; }
.toc h4 { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: 14px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 13px; margin-bottom: 20px; align-items: flex-start; }
.contact-list .ci { width: 38px; height: 38px; border-radius: 11px; background: var(--field);
    display: grid; place-items: center; color: var(--indigo); font-size: 16px; flex-shrink: 0; }
.contact-list .k { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.contact-list .v { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.contact-list .v a { color: inherit; text-decoration: none; }

@media (max-width: 860px) {
    .snav-links { display: none; }
    .snav-burger { display: block; }
    .snav.open .snav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 12px; gap: 2px;
        border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); }
    .sfoot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .shero { padding: 56px 20px 52px; }
    .sec { padding: 56px 20px; }
    .band { padding: 46px 22px; margin: 0 16px; }
}
@media (max-width: 520px) { .sfoot-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq {
    border-bottom: 1px solid var(--line-2);
    padding: 0;
}
.faq summary {
    list-style: none; cursor: pointer;
    padding: 18px 40px 18px 0; position: relative;
    font-size: 15.5px; font-weight: 650; color: var(--ink);
    line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--indigo); }
.faq-mark {
    position: absolute; right: 4px; top: 50%; width: 13px; height: 13px;
    margin-top: -6px;
}
.faq-mark::before, .faq-mark::after {
    content: ''; position: absolute; background: var(--indigo);
    border-radius: 2px; transition: transform .22s var(--ease);
}
.faq-mark::before { left: 0; top: 5px; width: 13px; height: 2.5px; }
.faq-mark::after  { left: 5px; top: 0; width: 2.5px; height: 13px; }
.faq[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
    padding: 0 30px 20px 0; font-size: 14.5px; line-height: 1.75; color: var(--muted);
    animation: faqIn .22s var(--ease);
}
.faq-a a { font-weight: 600; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }
