/* Shared theme for the standalone pages (landing, guide, legal). */
:root {
    --ink: #0b1220; --text: #1e293b; --muted: #55657d; --line: #e3e9f2; --bg: #f7f9fc;
    --sky: #0ea5e9; --indigo: #6366f1; --violet: #8b5cf6; --good: #059669; --bad: #e11d48; --warn: #d97706;
    --grad: linear-gradient(120deg, #0ea5e9 0%, #6366f1 55%, #8b5cf6 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text);
    background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { font-family: 'Sora', sans-serif; color: var(--ink); letter-spacing: -0.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: rgba(247, 249, 252, 0.78); border-bottom: 1px solid rgba(227, 233, 242, 0.7); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.brand span { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.topnav { display: flex; align-items: center; gap: 1.4rem; }
.topnav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .92rem; }
.topnav a:hover { color: var(--ink); }
.pill-btn { color: #fff !important; background: var(--ink); padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600 !important;
    transition: transform .2s, box-shadow .2s; }
.pill-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11, 18, 32, .2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 5.5rem 0 4.5rem; text-align: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.blob.a { width: 520px; height: 520px; background: #bae6fd; top: -180px; left: -120px; }
.blob.b { width: 460px; height: 460px; background: #c7d2fe; top: -140px; right: -120px; animation-delay: -6s; }
.blob.c { width: 380px; height: 380px; background: #e9d5ff; bottom: -220px; left: 40%; animation-delay: -12s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--indigo); background: rgba(99, 102, 241, .1); padding: .4rem .9rem; border-radius: 999px; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.06; margin: 1.2rem auto 1.2rem; max-width: 900px; font-weight: 800; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0 auto 2.2rem; }
.cta-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: .95rem 1.6rem; border-radius: 999px;
    transition: transform .2s, box-shadow .2s, background .2s; }
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 14px 34px rgba(99, 102, 241, .35); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(99, 102, 241, .45); }
.btn-soft { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-soft:hover { border-color: #b8c3d4; transform: translateY(-2px); }
.btn-gh { display: inline-flex; align-items: center; gap: .55rem; }
.btn-gh svg { flex: none; }
.hero .note { margin-top: 1rem; font-size: .85rem; color: var(--muted); }

/* ---------- Section scaffolding ---------- */
section.block { padding: 4.5rem 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; margin: .8rem 0 .8rem; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: 0; text-wrap: balance; }

/* ---------- Broken vs consistent ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
    position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.panel.bad::before { background: linear-gradient(90deg, #fb7185, #e11d48); }
.panel.good::before { background: linear-gradient(90deg, #34d399, #059669); }
.panel h3 { margin: .2rem 0 .3rem; font-size: 1.15rem; }
.panel .sub { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 6px; }
.tag.bad { color: var(--bad); background: #ffe4e6; }
.tag.good { color: var(--good); background: #d1fae5; }
.mini { width: 100%; border-collapse: collapse; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .8rem; }
.mini caption { text-align: left; font-family: 'Inter', sans-serif; font-weight: 600; font-size: .8rem; color: var(--muted); padding: .6rem 0 .35rem; }
.mini th { text-align: left; color: #8a97ab; font-weight: 500; padding: .35rem .5rem; border-bottom: 1px solid var(--line); }
.mini td { padding: .4rem .5rem; border-bottom: 1px dashed #edf1f7; white-space: nowrap; }
.hl-bad { background: #ffe4e6; color: #be123c; border-radius: 5px; font-weight: 600; }
.hl-good { background: #d1fae5; color: #047857; border-radius: 5px; font-weight: 600; }
.issues { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .88rem; }
.issues li { padding: .35rem 0 .35rem 1.3rem; position: relative; color: var(--text); }
.issues li::before { content: ""; position: absolute; left: 0; top: .78rem; width: .55rem; height: .55rem; border-radius: 50%; }
.bad .issues li::before { background: var(--bad); }
.good .issues li::before { background: var(--good); }

/* ---------- Approaches cards ---------- */
.approaches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.ap { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; transition: transform .25s, box-shadow .25s; }
.ap:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08); }
.ap .k { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .78rem; color: #94a3b8; letter-spacing: .1em; }
.ap h3 { font-size: 1.02rem; margin: .35rem 0 .45rem; }
.ap p { margin: 0; font-size: .88rem; color: var(--muted); }
.ap .good-for { margin-top: .8rem; font-size: .82rem; color: var(--text); }
.ap .good-for b { color: var(--ink); }

/* ---------- Comparison table ---------- */
.table-shell { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(15, 23, 42, .07); overflow-x: auto; }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 860px; font-size: .9rem; }
.cmp th, .cmp td { padding: .95rem 1rem; text-align: center; border-bottom: 1px solid #eef2f7; }
.cmp thead th { font-family: 'Sora', sans-serif; font-size: .82rem; color: var(--muted); font-weight: 600; background: #fbfcfe; vertical-align: bottom; }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--ink); background: #fff; position: sticky; left: 0; z-index: 1; min-width: 230px; }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: #f8fbff; }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.cmp .us { background: linear-gradient(180deg, rgba(14, 165, 233, .07), rgba(99, 102, 241, .07)); }
.cmp thead th.us { color: #fff; background: var(--grad); }
.cmp tbody tr:hover td.us { background: linear-gradient(180deg, rgba(14, 165, 233, .12), rgba(99, 102, 241, .12)); }
.v { display: inline-block; padding: .28rem .7rem; border-radius: 999px; font-weight: 600; font-size: .8rem; white-space: nowrap; }
.v.yes { color: #047857; background: #d1fae5; }
.v.part { color: #b45309; background: #fef3c7; }
.v.no { color: #be123c; background: #ffe4e6; }
.v.txt { color: var(--text); background: #f1f5f9; }
.v.star { color: #fff; background: var(--grad); }
.fine { text-align: center; color: #8a97ab; font-size: .82rem; margin-top: 1rem; }
.swipe { display: none; text-align: right; color: #8a97ab; font-size: .8rem; margin: 0 .3rem .5rem; }

/* ---------- 7 questions ---------- */
.qs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.5rem 1.4rem 5.2rem; position: relative;
    transition: transform .25s, box-shadow .25s, border-color .25s; }
.q:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(15, 23, 42, .08); border-color: #c9d4e6; }
.q .n { position: absolute; left: 1.3rem; top: 1.15rem; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.q h3 { font-size: 1.05rem; margin: 0 0 .45rem; line-height: 1.35; }
.q p { margin: 0; color: var(--muted); font-size: .92rem; }
.q .ours { margin-top: .8rem; font-size: .88rem; color: var(--text); padding-top: .8rem; border-top: 1px dashed var(--line); }
.q .ours b { color: var(--indigo); }
.q:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .75rem; overflow: hidden; }
summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 600; color: var(--ink); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--indigo); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { margin: 1rem auto 4.5rem; border-radius: 28px; padding: 3.5rem 2rem; text-align: center; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .18), transparent 40%), var(--grad); }
.final h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 .7rem; }
.final p { margin: 0 auto 1.8rem; max-width: 560px; opacity: .92; font-size: 1.08rem; }
.final .btn { background: #fff; color: var(--ink); box-shadow: 0 14px 34px rgba(11, 18, 32, .25); }
.final .btn:hover { transform: translateY(-2px); }

/* ---------- Footer (new grouped design) ---------- */
footer.site { border-top: 1px solid var(--line); background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.15fr 1.3fr 1fr .85fr; gap: 2rem; padding: 3rem 0 2rem; }
.foot-brand p { color: var(--muted); font-size: .9rem; max-width: 280px; margin: .8rem 0 0; }
.foot-col h4 { font-family: 'Sora', sans-serif; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; margin: .3rem 0 1rem; }
.foot-col a { display: block; text-decoration: none; color: var(--text); font-size: .93rem; padding: .3rem 0; transition: color .2s, transform .2s; }
.foot-col a:hover { color: var(--indigo); transform: translateX(3px); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.3rem 0 2rem; border-top: 1px solid var(--line);
    color: #8a97ab; font-size: .85rem; }
.foot-bottom a { color: #8a97ab; text-decoration: none; margin-left: 1.2rem; }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .approaches { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .duo, .qs { grid-template-columns: 1fr; }
    .topnav a:not(.pill-btn) { display: none; }
    .hero { padding: 3.5rem 0 3rem; }
    section.block { padding: 3.2rem 0; }
    .mini { font-size: .72rem; }
    .mini td, .mini th { padding: .35rem .35rem; }
    .panel { overflow-x: auto; }
    .swipe { display: block; }
    .cmp tbody th { min-width: 165px; }
}
@media (max-width: 520px) {
    .approaches, .foot-grid { grid-template-columns: 1fr; }
    .q { padding-left: 1.3rem; padding-top: 3.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .blob { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Comparison cards: missing-row hint ---------- */
.mini tr.ghost td { border-bottom: 0; }
.missing { color: var(--bad); font-family: 'Inter', sans-serif; font-style: italic; font-size: .78rem; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Visual sample (terminal, data preview, chart) ---------- */
.showcase { max-width: 900px; margin: -1.5rem auto 0; position: relative; z-index: 2; }
.term { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 23, 42, .08); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: .45rem; padding: .75rem 1rem; background: linear-gradient(90deg, rgba(14, 165, 233, .08), rgba(139, 92, 246, .08));
    border-bottom: 1px solid var(--line); }
.term-bar i { width: .7rem; height: .7rem; border-radius: 50%; display: block; background: #cbd5e1; }
.term-bar i:nth-child(1) { background: #fda4af; } .term-bar i:nth-child(2) { background: #fcd34d; } .term-bar i:nth-child(3) { background: #6ee7b7; }
.term-bar span { margin-left: .6rem; color: var(--muted); font-size: .8rem; font-family: 'JetBrains Mono', monospace; }
.term pre { margin: 0; padding: 1.2rem 1.4rem 1.4rem; color: #1e293b; background: #fcfdff; font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .82rem; line-height: 1.75; overflow-x: auto; }
.term .c { color: #94a3b8; } .term .k { color: #6366f1; font-weight: 600; } .term .s { color: #059669; } .term .n { color: #d97706; }
.showcase .cap { text-align: center; color: #8a97ab; font-size: .82rem; margin-top: .9rem; }
.preview { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 23, 42, .08); padding: 1.2rem 1.4rem; overflow-x: auto; }
.preview .mini { min-width: 640px; }
.preview .mini td.k { color: var(--indigo); font-weight: 600; }
.chart { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 23, 42, .08); padding: 1.3rem 1.4rem 1rem; }
.chart svg { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.legend b { display: inline-block; width: .8rem; height: .25rem; border-radius: 3px; margin-right: .4rem; vertical-align: middle; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; position: relative; overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s; }
.feat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); transform: scaleX(0);
    transform-origin: left; transition: transform .35s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 23, 42, .08); border-color: #c9d4e6; }
.feat:hover::after { transform: scaleX(1); }
.feat .k { font-family: 'Sora', sans-serif; font-weight: 800; font-size: .8rem; letter-spacing: .1em; background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
.feat h3 { font-size: 1.05rem; margin: .45rem 0 .5rem; }
.feat p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.5rem; position: relative; }
.step .n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 3rem; line-height: 1; background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h3 { font-size: 1.05rem; margin: .8rem 0 .45rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Related chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.chips a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.05rem; font-size: .9rem;
    font-weight: 500; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.chips a:hover { border-color: #b8c3d4; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .07); }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 4rem 0 2.5rem; text-align: left; }
.legal-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 1rem 0 .6rem; line-height: 1.1; }
.legal-hero p { color: var(--muted); font-size: 1.1rem; margin: 0; max-width: 640px; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.75rem);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06); max-width: 860px; margin: 0 auto 4.5rem; }
.legal-card h3 { font-size: 1.12rem; margin: 2rem 0 .55rem; padding-top: 1.4rem; border-top: 1px solid #eef2f7; }
.legal-card h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-card p { margin: 0 0 .9rem; color: #334155; }
.legal-wrap { max-width: 860px; margin: 0 auto; }

@media (max-width: 960px) {
    .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .features, .steps { grid-template-columns: 1fr; }
    .showcase { margin-top: -1rem; }
    .term pre { font-size: .72rem; }
}
/* ---------- Example screenshot (use-case / industry pages) ---------- */
.shot { max-width: 1080px; margin: -1.5rem auto 0; position: relative; z-index: 2; }
.shot > a { display: block; border-radius: 14px; }
.shot img { display: block; width: 100%; height: auto; }
.shot img { cursor: zoom-in; }
.shot { margin-bottom: -2.5%; }
.zoom { position: fixed; inset: 0; z-index: 2000; display: flex; overflow: auto; padding: 2.5rem 1rem; cursor: zoom-out;
    background: rgba(11, 18, 32, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.zoom[hidden] { display: none; }
.zoom img { display: block; margin: auto; width: min(1800px, 96vw); max-width: none; height: auto; }
.zoom-x { position: fixed; top: .9rem; right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.6rem; line-height: 1; }
.zoom-x:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 760px) {
    .zoom { padding: 3.5rem 0 1rem; }
    .zoom img { width: 1100px; }
}
.example-block .shot { margin-top: 0; }

/* ---------- "What to look for" list ---------- */
.scenario { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem 3.5rem; align-items: start; }
.scenario h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; margin: .9rem 0 .8rem; text-wrap: balance; }
.scenario p { color: var(--muted); margin: 0; font-size: 1.02rem; max-width: 34ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1.2rem .95rem 3.1rem; position: relative; font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 1.1rem; top: 1.1rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 1.53rem; top: 1.32rem; width: .3rem; height: .55rem; border: solid #fff;
    border-width: 0 2px 2px 0; transform: rotate(45deg); }
.features.two { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 0 auto; }

/* ---------- Capabilities page ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cap-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.5rem 1.3rem; display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s; }
.cap-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(15, 23, 42, .08); border-color: #c9d4e6; }
.cap-card h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.cap-card p { margin: 0 0 1.1rem; color: var(--muted); font-size: .92rem; }
.cap-card pre { margin: auto 0 1rem; padding: .85rem 1rem; background: #f6f8fc; border: 1px solid #edf1f7; border-radius: 12px; color: #334155;
    font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .74rem; line-height: 1.7; overflow-x: auto; }
.cap-card .more { color: var(--indigo); font-weight: 600; font-size: .9rem; text-decoration: none; }
.cap-card .more:hover { text-decoration: underline; }
.formats { margin-top: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 1.4rem; }
.fmt-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.2rem; padding: 1rem 0; }
.fmt-row b { color: var(--ink); font-size: .95rem; }
.fmt-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.fmt-chips span { font-size: .82rem; font-weight: 600; color: var(--text); background: #f1f5f9; border-radius: 999px; padding: .3rem .8rem; }
.fmt-row p { flex-basis: 100%; margin: -.15rem 0 0; color: var(--muted); font-size: .86rem; }
.fmt-row.api { border-top: 1px solid var(--line); justify-content: space-between; color: var(--muted); font-size: .9rem; }
.fmt-row.api a { color: var(--indigo); font-weight: 600; text-decoration: none; white-space: nowrap; }
.fmt-row.api a:hover { text-decoration: underline; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15, 23, 42, .07); border-color: #c9d4e6; }
.tile b { display: block; font-family: 'Sora', sans-serif; font-size: .95rem; color: var(--ink); margin-bottom: .2rem; }
.tile span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; }
section[id] { scroll-margin-top: 80px; }

@media (max-width: 960px) {
    .cap-grid, .tiles, .tiles.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .scenario, .features.two, .cap-grid { grid-template-columns: 1fr; }
    .scenario p { max-width: none; }
    .shot { margin-top: -1rem; }
}
@media (max-width: 520px) {
    .tiles, .tiles.four { grid-template-columns: 1fr; }
}
.pill-btn { white-space: nowrap; }
.tile.own { border-style: dashed; background: transparent; }
.tile.own b { color: var(--indigo); }
@media (max-width: 500px) {
    .brand span { display: none; }
    .topnav { gap: 1rem; }
}
/* ---------- Product demo page ---------- */
.hero.hero-tight { padding: 4rem 0 3.6rem; }
.demo-player { max-width: 1040px; margin: 0 auto; position: relative; z-index: 2; border-radius: 16px; overflow: hidden;
    background: #0b1220; border: 1px solid rgba(15, 23, 42, .1); box-shadow: 0 30px 70px rgba(15, 23, 42, .16), 0 8px 20px rgba(15, 23, 42, .06); }
.demo-player video { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 976; background: #0b1220; cursor: pointer; }
/* Three demos: jump links in the hero, one section per demo, its steps under the video */
.demo-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: -.4rem; }
.demo-jump a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: #fff;
    border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05); transition: border-color .15s, transform .15s; }
.demo-jump a:hover { border-color: var(--indigo); transform: translateY(-1px); }
.demo-jump a span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.demo-block { scroll-margin-top: 80px; }
.demo-block + .demo-block { padding-top: 1rem; }
.demo-steps { margin-top: 2rem; }
.final .cta-row { justify-content: center; }
.final .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .75); box-shadow: none; }
.final .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 760px) {
    .hero.hero-tight { padding: 3rem 0 2.8rem; }
    .demo-player { border-radius: 12px; }
    .demo-jump a { font-size: .84rem; padding: .5rem .85rem; }
}
/* ---------- Top bar: Book a demo (a plain tab like Capabilities; opens the form from /book-demo.js) ---------- */
.demo-btn { padding: 0; border: 0; background: none; cursor: pointer; white-space: nowrap;
    color: var(--muted); font: 500 .92rem 'Inter', system-ui, sans-serif; line-height: inherit; }
.demo-btn:hover { color: var(--ink); }
.demo-btn:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.demo-btn .bd-short { display: none; }
@media (max-width: 760px) { .topnav { gap: .9rem; } }
@media (max-width: 500px) {
    .topnav { gap: .75rem; }
    .demo-btn .bd-long { display: none; }
    .demo-btn .bd-short { display: inline; }
    .pill-btn { padding: .5rem .9rem; }
}/* Tables inside legal pages (privacy retention table) */
.legal-table { width: 100%; border-collapse: collapse; margin: .25rem 0 1.2rem; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid #e2e8f0; vertical-align: top; color: #334155; }
.legal-table th { font-weight: 600; color: #0f172a; background: #f8fafc; }
@media (max-width: 560px) { .legal-table { font-size: .85rem; } .legal-table th, .legal-table td { padding: .45rem .5rem; } }
