:root {
    color-scheme: light;
    --ink: #07111f;
    --muted: #66758a;
    --paper: #f6f8fb;
    --card: rgba(255,255,255,.82);
    --line: rgba(111, 129, 151, .18);
    --blue: #4f46e5;
    --teal: #14b8a6;
    --gold: #f4b84d;
    --shadow: 0 24px 70px rgba(7, 17, 31, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 5%, rgba(79,70,229,.12), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(20,184,166,.14), transparent 26%),
        linear-gradient(180deg, #fbfdff 0%, var(--paper) 58%, #eef3f7 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; }

.shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0 30px;
}

.topbar {
    position: sticky;
    top: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 20px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 16px 45px rgba(7,17,31,.07);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    box-shadow: 0 12px 28px rgba(7,17,31,.16);
}
.brand span { display: grid; gap: 1px; }
.brand strong { font-size: 16px; letter-spacing: -.03em; }
.brand small { color: var(--muted); font-size: 12px; }

.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 850;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.nav-links a { padding: 8px 12px; color: var(--muted); }
.nav-links .app-link { color: #fff; background: var(--ink); padding-inline: 16px; }
.nav-links a:hover,
.button:hover { transform: translateY(-1px); }
.button { padding: 12px 18px; border: 1px solid transparent; }
.button.primary { color: #fff; background: var(--ink); box-shadow: 0 16px 34px rgba(7,17,31,.18); }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.button.secondary.dark { color: var(--ink); border-color: var(--line); background: #fff; }

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
    max-width: 11.2ch;
    margin-bottom: 22px;
    font-size: clamp(50px, 8vw, 104px);
    line-height: .86;
    letter-spacing: -.085em;
}
h2 {
    margin-bottom: 0;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 62px);
    line-height: .94;
    letter-spacing: -.07em;
}
h3 {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.04;
    letter-spacing: -.045em;
}
.lede {
    max-width: 54ch;
    margin-bottom: 0;
    color: rgba(255,255,255,.70);
    font-size: 18px;
    line-height: 1.62;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(360px, .82fr);
    gap: 34px;
    align-items: center;
    overflow: hidden;
    min-height: 650px;
    padding: clamp(34px, 6vw, 70px);
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(20,184,166,.32), transparent 28%),
        radial-gradient(circle at 76% 18%, rgba(79,70,229,.55), transparent 30%),
        linear-gradient(135deg, #020813 0%, #07111f 50%, #1e1b4b 100%);
    box-shadow: var(--shadow);
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -1px;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 74% 38%, #000, transparent 72%);
    opacity: .58;
    z-index: -1;
}
.hero-actions,
.cta-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

.model-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}
.model-row span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 750;
}

.product-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 26px;
    background: rgba(6, 17, 31, .58);
    box-shadow: 0 34px 90px rgba(0,0,0,.30);
    backdrop-filter: blur(22px);
}
.product-card-head,
.score-panel,
.proof-strip,
.cta-panel { display: flex; align-items: center; }
.product-card-head { justify-content: space-between; gap: 16px; }
.product-card-head span,
.recommendation span {
    display: block;
    color: rgba(255,255,255,.56);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.product-card-head strong { display: block; margin-top: 3px; font-size: 19px; }
.product-card-head b {
    padding: 7px 10px;
    border-radius: 999px;
    color: #dffcf8;
    background: rgba(20,184,166,.14);
    border: 1px solid rgba(20,184,166,.34);
    font-size: 11px;
    text-transform: uppercase;
}
.score-panel {
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: rgba(255,255,255,.065);
}
.score-main span { color: rgba(255,255,255,.58); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.score-main strong { display: block; font-size: 68px; line-height: .92; letter-spacing: -.08em; }
.score-main small { color: var(--teal); font-weight: 800; }
.score-bars { flex: 1; display: grid; gap: 9px; }
.score-bars i {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), #818cf8);
    width: var(--w);
    box-shadow: 0 0 30px rgba(20,184,166,.18);
}
.answer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.answer-grid span {
    display: grid;
    place-items: center;
    min-height: 52px;
    border-radius: 14px;
    font-weight: 900;
    color: #06111f;
}
.answer-grid .good { background: #8df3c7; }
.answer-grid .mid { background: #fde68a; }
.answer-grid .low { background: #fecaca; }
.recommendation {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    background: rgba(255,255,255,.07);
}
.recommendation p { margin: 7px 0 0; color: rgba(255,255,255,.78); line-height: 1.45; }

main { display: grid; gap: 18px; padding-top: 18px; }
.proof-strip {
    gap: 12px;
}
.proof-strip article,
.section,
.cta-panel {
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 28px;
    background: var(--card);
    box-shadow: 0 22px 70px rgba(7,17,31,.07);
    backdrop-filter: blur(18px);
}
.proof-strip article {
    flex: 1;
    padding: 22px;
}
.proof-strip strong { display: block; font-size: 24px; letter-spacing: -.04em; }
.proof-strip span { display: block; margin-top: 5px; color: var(--muted); }

.section {
    padding: clamp(28px, 5vw, 52px);
}
.section-head {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(280px, .65fr);
    gap: 30px;
    align-items: end;
    margin-bottom: 24px;
}
.section-head.compact { display: block; max-width: 720px; }
.section-head p:last-child,
.steps p,
.use-case-grid p { color: var(--muted); line-height: 1.6; }

.steps,
.use-case-grid,
.output-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.steps article,
.use-case-grid article,
.output-grid article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.78);
}
.steps span {
    display: inline-flex;
    margin-bottom: 46px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}
.use-case-grid b { display: block; margin-bottom: 12px; font-size: 28px; }
.output-section { background: #fff; }
.output-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.output-grid strong { display: block; font-size: 17px; letter-spacing: -.03em; }
.output-grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.cta-panel {
    justify-content: space-between;
    gap: 22px;
    padding: clamp(28px, 5vw, 46px);
}
.cta-panel h2 { max-width: 14ch; }
.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 2px 0;
    color: var(--muted);
    font-size: 12px;
}
.footer a { text-decoration: none; font-weight: 800; }

@media (max-width: 980px) {
    .hero,
    .section-head { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .product-card { max-width: 640px; }
    .steps,
    .use-case-grid { grid-template-columns: 1fr; }
    .output-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .shell { width: min(100% - 24px, 1160px); padding-top: 12px; }
    .topbar { position: static; align-items: flex-start; flex-direction: column; border-radius: 18px; }
    .nav-links { justify-content: flex-start; }
    .hero { padding: 28px; border-radius: 26px; }
    h1 { font-size: clamp(44px, 16vw, 72px); }
    h2 { font-size: clamp(34px, 12vw, 52px); }
    .proof-strip,
    .score-panel,
    .cta-panel { align-items: flex-start; flex-direction: column; }
    .proof-strip article { width: 100%; }
    .output-grid { grid-template-columns: 1fr; }
    .answer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .nav-links a:not(.app-link) { display: none; }
    .product-card { margin-inline: -12px; }
    .product-card-head { align-items: flex-start; flex-direction: column; }
}
