/* SourceScan.ai — marketing landing page stylesheet
   Self-contained: the public landing page loads only this file, so the
   dashboard's style.css can change without touching the marketing site. */

:root {
    --navy-900: #070d1a;
    --navy-800: #0b1424;
    --navy-700: #0f172a;
    --navy-600: #1e293b;
    --navy-500: #334155;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-soft: #dbeafe;
    --cyan: #06b6d4;
    --cyan-soft: #cffafe;
    --amber: #f59e0b;
    --amber-soft: #fef3c7;
    --violet: #8b5cf6;
    --violet-soft: #ede9fe;
    --green: #10b981;
    --green-soft: #d1fae5;
    --red: #ef4444;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-tint: #f1f5f9;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 10px 30px -10px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .06);
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
    --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
strong { font-weight: 600; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin-bottom: 1rem; }
.section-head p { font-size: 1.15rem; color: var(--text-2); }
.section-head.compact { margin-bottom: 1.75rem; }
.section-head.compact p { font-size: .95rem; }
.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .9rem;
}
.eyebrow.legacy { color: #b45309; }
.eyebrow.ai { color: #6d28d9; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.5rem; border-radius: 10px;
    font-weight: 600; font-size: 1rem; line-height: 1.2;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--navy-500); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7, 13, 26, .86);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 1rem; }
.logo { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: .55rem; }
.logo:hover { text-decoration: none; }
.logo .mark {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    display: inline-grid; place-items: center;
}
.logo .mark svg { width: 16px; height: 16px; }
.logo span.accent { color: var(--cyan); }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a { color: #cbd5e1; font-size: .92rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.active { color: #fff; position: relative; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; color: #e2e8f0 !important; font-weight: 600; font-size: .9rem; margin-right: .25rem; white-space: nowrap; }
.nav-phone svg { width: 15px; height: 15px; flex: none; color: var(--cyan); }
.nav-phone:hover { color: #fff !important; text-decoration: none; }
.nav-actions .btn-sm { padding: .5rem .9rem; font-size: .88rem; }
@media (max-width: 1180px) and (min-width: 761px) { .nav-phone { display: none; } }
.footer-phone { margin-top: .35rem; }
.footer-phone a { color: #fff; font-weight: 600; }
.contact-phone { font-size: 1rem !important; color: #e2e8f0 !important; margin-top: 1.5rem !important; margin-bottom: .4rem !important; }
.contact-phone a { color: #fff; font-weight: 700; text-decoration: underline; }
.cta-phone { margin: 1.25rem auto 0 !important; font-size: 1rem !important; color: #94a3b8 !important; }
.cta-phone a { color: #fff; font-weight: 700; }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; border-radius: 9px; }
.nav .btn-ghost { color: #e2e8f0; }
.nav .btn.is-active { box-shadow: 0 0 0 3px rgba(6, 182, 212, .35); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Page hero (inner pages) */
.page-hero {
    position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(700px 360px at 85% 0%, rgba(6, 182, 212, .2), transparent 60%),
        radial-gradient(600px 300px at 5% 100%, rgba(37, 99, 235, .25), transparent 60%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.page-hero .wrap { position: relative; max-width: 860px; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero .eyebrow.legacy { color: #fbbf24; }
.page-hero .eyebrow.ai { color: #c4b5fd; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin-bottom: 1rem; }
.page-hero .lead { font-size: 1.15rem; color: #cbd5e1; max-width: 700px; }
.page-hero + .section-alt { border-top: 0; }
.page-hero.with-aside .wrap { max-width: var(--max); display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.page-hero.with-aside h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.page-hero.flip .ph-copy { order: 2; }
.page-hero.flip .ph-aside { order: 1; }
.page-hero.secondary { padding: 3.75rem 0 3.5rem; border-top: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(700px 360px at 15% 0%, rgba(139, 92, 246, .22), transparent 60%),
        radial-gradient(600px 300px at 95% 100%, rgba(6, 182, 212, .18), transparent 60%),
        linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%); }
.page-hero.secondary h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin-bottom: 1rem; }
.page-hero.secondary .eyebrow { color: #c4b5fd; }
.dpaths { display: grid; gap: .8rem; }
.dpaths .paths-label { text-align: left; margin-bottom: .1rem; }
.dpath {
    display: grid; grid-template-columns: 46px 1fr auto; gap: .9rem; align-items: center;
    padding: 1rem 1.15rem; border-radius: 14px; color: #fff;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13);
    transition: background .18s, border-color .18s, transform .18s;
}
.dpath:hover { text-decoration: none; transform: translateY(-2px); background: rgba(255, 255, 255, .09); }
.dpath .p-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.dpath .p-icon svg { width: 22px; height: 22px; }
.dpath.cloud .p-icon { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.dpath.docker .p-icon { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.dpath.self .p-icon { background: linear-gradient(135deg, #10b981, #0e7490); }
.dpath.cloud:hover { border-color: rgba(6, 182, 212, .6); }
.dpath.docker:hover { border-color: rgba(99, 102, 241, .7); }
.dpath.self:hover { border-color: rgba(16, 185, 129, .6); }
.dpath.frontier .p-icon { background: linear-gradient(135deg, #8b5cf6, #2563eb); }
.dpath.openweight .p-icon { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.dpath.local .p-icon { background: linear-gradient(135deg, #10b981, #0e7490); }
.dpath.frontier:hover { border-color: rgba(139, 92, 246, .7); }
.dpath.openweight:hover { border-color: rgba(245, 158, 11, .7); }
.dpath.local:hover { border-color: rgba(16, 185, 129, .6); }
.dp-sub { display: block; font-size: .78rem; font-weight: 600; color: #94a3b8; margin-bottom: .2rem; letter-spacing: .01em; }
.dpath h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .15rem; }
.dpath p { font-size: .88rem; color: #cbd5e1; line-height: 1.45; }
.dpath .go { font-size: 1.2rem; color: #94a3b8; transition: transform .18s, color .18s; }
.dpath:hover .go { transform: translateX(4px); color: #fff; }
.deploy-opts.three { grid-template-columns: 1fr 1fr 1fr; }
.split.single { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }

/* Deployment section */
.deploy-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dtiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.dtier { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.dtier.cloud { border-top-color: #06b6d4; }
.dtier.docker { border-top-color: #6366f1; }
.dtier.self { border-top-color: #10b981; }
.dtier.frontier { border-top-color: #8b5cf6; }
.dtier.openweight { border-top-color: #f59e0b; }
.dtier.local { border-top-color: #10b981; }
.dtier.frontier .p-icon { background: linear-gradient(135deg, #8b5cf6, #2563eb); }
.dtier.openweight .p-icon { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.dtier.local .p-icon { background: linear-gradient(135deg, #10b981, #0e7490); }
.ai-section { background: #fff; }
.dt-head { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.dt-head .p-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.dt-head .p-icon svg { width: 24px; height: 24px; }
.dtier.cloud .p-icon { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.dtier.docker .p-icon { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.dtier.self .p-icon { background: linear-gradient(135deg, #10b981, #0e7490); }
.dt-tag { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: .15rem; }
.dtier h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.dt-best { font-size: .92rem; color: var(--text-2); background: var(--bg-tint); border-radius: 9px; padding: .65rem .85rem; margin-bottom: 1rem; }
.dt-best strong { color: var(--text); }
.dt-desc { font-size: .95rem; color: var(--text-2); margin-bottom: 1.25rem; }
.dtier h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-bottom: .75rem; }
.checks.small li { font-size: .9rem; margin-bottom: .6rem; padding-left: 1.75rem; }
.checks.small li::before { width: 17px; height: 17px; top: .15rem; }
.checks.small li::after { left: 6px; top: .38rem; width: 4px; height: 8px; }
.facts { display: grid; gap: .5rem; margin: 1rem 0 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.facts div { display: grid; grid-template-columns: 42% 1fr; gap: .75rem; font-size: .88rem; }
.facts dt { color: var(--text-3); font-weight: 600; }
.facts dd { color: var(--text); }
.dt-note { font-size: .82rem; color: var(--text-3); background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: .55rem .75rem; margin-bottom: 1rem; }
.dt-cta { margin-top: auto; justify-content: center; }
.deploy-compare thead th { background: var(--navy-700); color: #fff; }
.deploy-compare thead th:first-child { background: var(--bg-tint); }
.deploy-compare td:first-child { width: 20%; }
.deploy-move { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: start; margin-top: 2.5rem; padding: 1.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.dm-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; }
.dm-icon svg { width: 26px; height: 26px; }
.deploy-move h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
.deploy-move p { color: var(--text-2); font-size: .97rem; }
.page-demo .cta-final { padding-top: 4.5rem; }

/* Use-case teasers (home) */
.teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.teaser {
    display: block; position: relative; color: var(--text); background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.teaser:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.teaser.legacy:hover { border-color: #f59e0b; }
.teaser.ai:hover { border-color: #8b5cf6; }
.teaser .t-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem; }
.teaser .t-icon svg { width: 26px; height: 26px; }
.teaser.legacy .t-icon { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.teaser.ai .t-icon { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }
.teaser .eyebrow { margin-bottom: .5rem; }
.teaser h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.015em; margin-bottom: .75rem; }
.teaser p { color: var(--text-2); margin-bottom: 1.25rem; }
.teaser .t-link { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: .4rem; }
.teaser:hover .t-link .arrow { transform: translateX(3px); }
.teaser .arrow { transition: transform .18s; }

/* CTA band (closes inner pages) */
.cta-band {
    background:
        radial-gradient(700px 400px at 20% 0%, rgba(37, 99, 235, .35), transparent 60%),
        radial-gradient(600px 400px at 90% 100%, rgba(6, 182, 212, .3), transparent 60%),
        var(--navy-800);
    color: #fff; text-align: center; padding: 5rem 0;
}
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 1rem; }
.cta-band p { color: #cbd5e1; font-size: 1.12rem; max-width: 640px; margin: 0 auto 2rem; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 500px at 80% -10%, rgba(6, 182, 212, .22), transparent 60%),
        radial-gradient(700px 400px at 10% 110%, rgba(37, 99, 235, .28), transparent 60%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #fff;
    padding: 5.5rem 0 4.5rem;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin-bottom: 1.25rem; }
.hero h1 .hl { background: linear-gradient(90deg, #67e8f9, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: #cbd5e1; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-note { font-size: .9rem; color: #94a3b8; }
.hero-note strong { color: #e2e8f0; }

/* Hero visual: the three-role workflow card */
.workflow-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(6px);
}
.workflow-card .wc-title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; font-weight: 700; margin-bottom: 1rem; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.role {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px; padding: .9rem .85rem;
}
.role .r-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; margin-bottom: .6rem; }
.role .r-icon svg { width: 18px; height: 18px; }
.role.dm .r-icon { background: rgba(37, 99, 235, .3); color: #93c5fd; }
.role.dev .r-icon { background: rgba(16, 185, 129, .25); color: #6ee7b7; }
.role.sec .r-icon { background: rgba(6, 182, 212, .25); color: #67e8f9; }
.role h4 { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.role p { font-size: .8rem; color: #94a3b8; line-height: 1.45; }
.flow { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .85rem .9rem; border-radius: 12px; background: rgba(7, 13, 26, .55); border: 1px solid rgba(255, 255, 255, .08); }
.flow .st { font-size: .74rem; font-weight: 600; color: #cbd5e1; display: flex; align-items: center; gap: .4rem; white-space: nowrap; }
.flow .dot { width: 8px; height: 8px; border-radius: 50%; }
.flow .sep { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,.05)); min-width: 8px; }

/* Two paths */
.paths { margin-top: 3.5rem; }
.paths-label { text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; font-weight: 700; margin-bottom: 1rem; }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.path {
    display: grid; grid-template-columns: 52px 1fr auto; gap: 1rem; align-items: center;
    padding: 1.25rem 1.4rem; border-radius: 16px; color: #fff;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .13);
    transition: background .18s, border-color .18s, transform .18s;
}
.path:hover { text-decoration: none; transform: translateY(-2px); background: rgba(255, 255, 255, .09); }
.path .p-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.path .p-icon svg { width: 26px; height: 26px; }
.path.legacy .p-icon { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.path.ai .p-icon { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }
.path.legacy:hover { border-color: rgba(245, 158, 11, .6); }
.path.ai:hover { border-color: rgba(139, 92, 246, .7); }
.path h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .2rem; }
.path p { font-size: .92rem; color: #cbd5e1; }
.path .go { font-size: 1.3rem; color: #94a3b8; transition: transform .18s, color .18s; }
.path:hover .go { transform: translateX(4px); color: #fff; }

/* Proof strip */
.strip { background: var(--navy-700); color: #e2e8f0; border-top: 1px solid rgba(255,255,255,.08); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; padding: 1rem 1.5rem; font-size: .92rem; }
.strip span { display: inline-flex; align-items: center; gap: .5rem; }
.strip svg { width: 16px; height: 16px; color: var(--cyan); }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); font-size: .97rem; }
.compare thead th { background: var(--bg-tint); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.compare thead th.hi { background: var(--navy-700); color: #fff; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; width: 22%; }
.compare td.hi { background: #eff6ff; font-weight: 500; }
.compare .yes, .compare .no, .compare .part { display: inline-flex; align-items: center; gap: .45rem; }
.compare .yes::before, .compare .no::before, .compare .part::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.compare .yes::before { background: var(--green); }
.compare .no::before { background: var(--red); }
.compare .part::before { background: var(--amber); }

/* Roles section */
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.role-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.role-card .rc-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.1rem; }
.role-card .rc-icon svg { width: 22px; height: 22px; }
.role-card.dm .rc-icon { background: var(--blue-soft); color: var(--blue-dark); }
.role-card.dev .rc-icon { background: var(--green-soft); color: #047857; }
.role-card.sec .rc-icon { background: var(--cyan-soft); color: #0e7490; }
.role-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .35rem; }
.role-card .who { font-size: .9rem; color: var(--text-3); margin-bottom: 1rem; }
.role-card ul li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; font-size: .97rem; color: var(--text-2); }
.role-card ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: .35; }
.role-card.dm ul li::before { color: var(--blue); }
.role-card.dev ul li::before { color: var(--green); }
.role-card.sec ul li::before { color: var(--cyan); }

/* How it works: timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 26px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: .35; }
.tl-step { position: relative; text-align: center; padding: 0 .35rem; }
.tl-step .num {
    counter-increment: step; width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 1.1rem;
    display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .8);
    position: relative; z-index: 1; border: 4px solid #fff;
}
.tl-step .num::before { content: counter(step); }
.tl-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; }
.tl-step p { font-size: .93rem; color: var(--text-2); }
.tl-step .who { display: inline-block; margin-top: .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; background: var(--bg-tint); color: var(--text-2); }

/* Lifecycle states */
.states { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2.75rem; }
.state { font-size: .85rem; font-weight: 600; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--text-2); display: inline-flex; align-items: center; gap: .5rem; }
.state i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.states-caption { text-align: center; color: var(--text-3); font-size: .9rem; margin-top: .9rem; }

/* Use-case (path) sections */
.usecase { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.usecase.flip .uc-copy { order: 2; }
.usecase h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1rem; }
.usecase .lead { font-size: 1.1rem; color: var(--text-2); margin-bottom: 1.5rem; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--text-2); }
.checks li strong { color: var(--text); display: block; margin-bottom: .1rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: .48rem; width: 5px; height: 9px; border: solid #047857; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.uc-panel { border-radius: 18px; padding: 1.75rem; border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; }
.uc-panel.legacy { background: linear-gradient(160deg, #fffbeb 0%, #fff 60%); }
.uc-panel.ai { background: linear-gradient(160deg, #f5f3ff 0%, #fff 60%); }
.uc-panel h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-bottom: 1rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.25rem; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .9rem; }
.stat .v { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat .l { font-size: .78rem; color: var(--text-3); margin-top: .25rem; line-height: 1.3; }
.uc-panel.legacy .stat .v { color: #b45309; }
.uc-panel.ai .stat .v { color: #6d28d9; }
.finding-list li { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; padding: .7rem 0; border-top: 1px solid var(--border); font-size: .92rem; color: var(--text-2); }
.finding-list li:first-child { border-top: 0; }
.sev { font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: .18rem .5rem; border-radius: 6px; margin-top: .15rem; }
.sev.crit { background: #fee2e2; color: #b91c1c; }
.sev.high { background: #ffedd5; color: #c2410c; }
.sev.med { background: var(--amber-soft); color: #92400e; }
.finding-list code { font-size: .82rem; background: var(--bg-tint); padding: .05rem .35rem; border-radius: 4px; color: var(--text); }
.uc-more { margin-top: 1.5rem; }

/* Capability grid */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.cap .c-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-tint); color: var(--blue-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.cap .c-icon svg { width: 21px; height: 21px; }
.cap h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .45rem; }
.cap p { font-size: .95rem; color: var(--text-2); }

/* Scan levels */
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.level { border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; background: #fff; position: relative; }
.level .lv { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .3rem; }
.level h4 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.level p { font-size: .86rem; color: var(--text-2); }
.level .bar { height: 5px; border-radius: 999px; background: var(--bg-tint); margin-top: .9rem; overflow: hidden; }
.level .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

/* Compliance + deployment */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .6rem; letter-spacing: -.01em; }
.panel > p { color: var(--text-2); margin-bottom: 1.25rem; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; }
.badge { font-size: .85rem; font-weight: 700; padding: .45rem .8rem; border-radius: 8px; background: var(--navy-700); color: #fff; }
.badge.soft { background: var(--blue-soft); color: var(--blue-dark); }
.deploy-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.deploy-opt { border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; background: var(--bg-alt); }
.deploy-opt h4 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.deploy-opt p { font-size: .9rem; color: var(--text-2); }
.panel .fine { font-size: .9rem; color: var(--text-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: #fff; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.35rem; font-weight: 600; font-size: 1.03rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--text-3); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 1.35rem 1.25rem; color: var(--text-2); font-size: .98rem; }

/* Final CTA */
.cta-final {
    background:
        radial-gradient(700px 400px at 20% 0%, rgba(37, 99, 235, .35), transparent 60%),
        radial-gradient(600px 400px at 90% 100%, rgba(6, 182, 212, .3), transparent 60%),
        var(--navy-800);
    color: #fff; text-align: center; padding: 5.5rem 0;
}
.cta-final h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); letter-spacing: -.025em; margin-bottom: 1rem; line-height: 1.1; }
.cta-final p { color: #cbd5e1; font-size: 1.15rem; margin: 0 0 1.5rem; }
.cta-final { text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
.contact-points li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; color: #e2e8f0; }
.contact-points li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: rgba(6, 182, 212, .25); }
.contact-points li::after { content: ""; position: absolute; left: 6px; top: .55rem; width: 4px; height: 7px; border: solid #67e8f9; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.contact-alt { font-size: .95rem !important; color: #94a3b8 !important; margin-top: 1.5rem !important; }
.contact-alt a { color: #fff; text-decoration: underline; }
.contact-card { background: #fff; color: var(--text); border-radius: 18px; padding: 2rem; box-shadow: var(--shadow-lg); }
.contact-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.contact-form .req { color: var(--red); margin-left: .15rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    display: block; width: 100%; margin-top: .35rem; padding: .7rem .85rem; font: inherit; font-weight: 400; font-size: .97rem;
    color: var(--text); background: #fff; border: 1px solid var(--border-strong); border-radius: 9px; transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .f-submit { width: 100%; justify-content: center; margin-top: .25rem; }
.contact-form .f-fine { font-size: .82rem; color: var(--text-3); text-align: center; margin: .9rem 0 0; }
.contact-form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: .9rem 1rem; margin-bottom: 1.25rem; font-size: .95rem; }
.form-status.ok { background: var(--green-soft); color: #065f46; border: 1px solid #a7f3d0; }
.form-status.err { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Partners + footer */
.partners { padding: 3.5rem 0; text-align: center; }
.partners h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.5rem; }
.partner-list { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.partner a { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.partner span { display: block; font-size: .85rem; color: var(--text-3); }
.footer { background: var(--navy-900); color: #94a3b8; padding: 2.5rem 0; font-size: .9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.footer a { color: #cbd5e1; }
.footer .links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .deploy-opts.three { grid-template-columns: 1fr; }
    .dtiers { grid-template-columns: 1fr; }
    .role-cards, .cap-grid { grid-template-columns: 1fr 1fr; }
    .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
    .timeline::before { display: none; }
    .levels { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .section { padding: 4rem 0; }
    .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.1); padding: .5rem 0 1rem; }
    .nav.open { display: flex; }
    .nav a { padding: .85rem 1.5rem; }
    .nav-actions { flex-direction: column; align-items: stretch; margin: .75rem 1.5rem 0; gap: .5rem; }
    .nav-phone { justify-content: center; padding: .6rem 0; margin: 0; font-size: 1rem; }
    .nav .btn { justify-content: center; }
    .nav a.active::after { display: none; }
    .teasers { grid-template-columns: 1fr; }
    .page-hero { padding: 3rem 0 2.5rem; }
    .nav-toggle { display: block; }
    .hero { padding: 3.5rem 0 3rem; }
    .roles { grid-template-columns: 1fr; }
    .flow { flex-wrap: wrap; justify-content: flex-start; }
    .flow .sep { display: none; }
    .paths-grid, .usecase, .split, .deploy-opts, .deploy-opts.three, .contact-grid, .contact-form .f-row { grid-template-columns: 1fr; }
    .page-hero.with-aside .wrap { grid-template-columns: 1fr; gap: 2rem; }
    .page-hero.flip .ph-copy { order: 1; }
    .page-hero.flip .ph-aside { order: 2; }
    .deploy-move { grid-template-columns: 1fr; }
    .contact-card { padding: 1.4rem; }
    .usecase.flip .uc-copy { order: 0; }
    .path { grid-template-columns: 44px 1fr auto; padding: 1rem 1.1rem; }
    .path .p-icon { width: 44px; height: 44px; }
    .role-cards, .cap-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .levels { grid-template-columns: 1fr 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
    .stat .v { font-size: 1.1rem; }
    .footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .timeline, .levels { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .path, .cap { transition: none; }
}

/* Login router */
.login-wrap { max-width: 520px; margin: 0 auto; }
.login-card { background: #fff; color: var(--text); border-radius: 18px; padding: 2rem; box-shadow: var(--shadow-lg); }
.login-card h2 { font-size: 1.4rem; margin-bottom: .35rem; letter-spacing: -.01em; }
.login-card .sub { color: var(--text-2); font-size: .95rem; margin-bottom: 1.25rem; }
.login-card label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 1rem; }
.login-card input[type=email] { display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem; font: inherit; font-size: 1rem; border: 1px solid var(--border-strong); border-radius: 9px; }
.login-card input[type=email]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.login-card .btn { width: 100%; justify-content: center; }
.login-card .fine { font-size: .82rem; color: var(--text-3); text-align: center; margin-top: .9rem; }
.login-choices { display: grid; gap: .75rem; margin: 1rem 0 .5rem; }
.login-choice { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: var(--bg-alt); transition: border-color .15s, transform .15s; }
.login-choice:hover { text-decoration: none; border-color: var(--blue); transform: translateY(-1px); }
.login-choice strong { display: block; font-size: 1.02rem; }
.login-choice span { font-size: .88rem; color: var(--text-2); }
.login-choice .go { font-size: 1.2rem; color: var(--blue); }
