:root {
    --ink: #14212b;
    --muted: #5c6b76;
    --line: #d9e2e7;
    --soft: #eef5f6;
    --paper: #fbfcfb;
    --blue: #1e6f8c;
    --blue-dark: #123f52;
    --teal: #0d8b83;
    --amber: #bd7a1f;
    --danger: #9d3e34;
    --shadow: 0 18px 42px rgba(20, 33, 43, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(238,245,246,.95), rgba(251,252,251,1) 360px),
        var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.topbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(20,33,43,.08);
}
.brand {
    text-decoration: none;
    font-weight: 850;
    font-size: 24px;
    letter-spacing: 0;
}
.brand span { color: var(--blue); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 11px;
    border-radius: 6px;
}
.nav a:hover, .nav a.active { color: var(--blue-dark); background: rgba(30,111,140,.09); }
.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(330px, .82fr);
    gap: 48px;
    align-items: center;
    padding: 54px 0 42px;
}
.eyebrow {
    color: var(--teal);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 850;
}
h1 {
    margin: 12px 0 16px;
    max-width: 780px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: .94;
    letter-spacing: 0;
}
.page h1 { font-size: clamp(36px, 5.4vw, 60px); }
h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: 0; }
p { color: var(--muted); line-height: 1.65; }
.lead { max-width: 720px; font-size: 19px; color: #394a55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 6px;
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 850;
    font-size: 14px;
}
.primary { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.secondary { background: #fff; color: var(--blue-dark); }
.hero-panel, .panel, .card {
    background: rgba(255,255,255,.86);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.hero-panel { padding: 24px; }
.screen {
    margin-top: 18px;
    min-height: 290px;
    border-radius: 8px;
    overflow: hidden;
    background: #0d1620;
    border: 1px solid #263948;
    position: relative;
}
.screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 32% 46%, #d7f3f7 0 11%, transparent 12%),
        radial-gradient(circle at 68% 46%, #d7f3f7 0 11%, transparent 12%),
        linear-gradient(90deg, transparent 0 44%, rgba(255,255,255,.14) 44% 45%, transparent 45%),
        repeating-linear-gradient(0deg, rgba(80,210,205,.18), rgba(80,210,205,.18) 1px, transparent 1px, transparent 22px);
}
.screen::after {
    content: "Protected NeuroGaze Simulator";
    position: absolute;
    left: 18px;
    bottom: 16px;
    color: #d6eff2;
    font-size: 13px;
    font-weight: 800;
}
.section { padding: 42px 0; }
.band {
    padding: 44px 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.card, .panel { padding: 22px; box-shadow: none; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.notice {
    border-left: 4px solid var(--amber);
    background: #fff8eb;
    padding: 14px 16px;
    border-radius: 6px;
    color: #5f4520;
}
.form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: 13px; color: var(--ink); }
input, select, textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
    color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
    color: var(--blue-dark);
    background: #fff;
}
.steps {
    counter-reset: step;
    display: grid;
    gap: 12px;
}
.step {
    counter-increment: step;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}
.step::before {
    content: counter(step);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-dark);
    color: #fff;
    font-weight: 850;
}
footer {
    padding: 30px 0 42px;
    color: var(--muted);
    font-size: 13px;
}
footer .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
footer a { color: var(--blue-dark); font-weight: 800; text-decoration: none; }

@media (max-width: 860px) {
    .topbar { align-items: flex-start; flex-direction: column; padding: 18px 0; }
    .nav { justify-content: flex-start; }
    .hero, .two { grid-template-columns: 1fr; }
    .hero { min-height: 0; padding-top: 34px; gap: 24px; }
    .grid { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
}
