:root {
    --bg: #0b1020;
    --bg-2: #12182a;
    --card: #161d30;
    --line: rgba(243, 239, 230, 0.12);
    --text: #f3efe6;
    --muted: #b7b0a4;
    --orange: #ee6c1e;
    --orange-2: #ff8a3d;
    --red: #e24b4b;
    --blue: #3d78e8;
    --plate: #f6f3ec;
    --ink: #14181f;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(238, 108, 30, 0.16), transparent 55%),
        linear-gradient(180deg, #0e1426 0%, var(--bg) 280px);
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
}
body::before {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(rgba(243, 239, 230, 0.22) 0.6px, transparent 0.7px);
    background-size: 3px 3px;
    mix-blend-mode: overlay;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 12ch; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); max-width: 18ch; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 38rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--orange);
    color: #1a1008;
    padding: 0.5rem 0.8rem;
    z-index: 5;
}
.skip:focus { top: 0.5rem; }
.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(11, 16, 32, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.nav-inner, .footer-grid, .footer-base {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}
.logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 8px;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #1a1008;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    font-size: 1rem;
}
.btn:hover { background: var(--orange-2); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(243, 239, 230, 0.06); }
.btn-small { padding: 0.55rem 0.9rem; color: #1a1008; }
.nav-links a.btn-small { color: #1a1008; }

.hero { padding: 3.2rem 0 2rem; }
.hero-grid, .modes, .hardware-grid, .split, .demo-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}
.sequence {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.sequence li:not(:last-child)::after {
    content: "→";
    margin-left: 0.7rem;
    color: rgba(238, 108, 30, 0.7);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 1.2rem; }
.display-launch {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 16px;
    padding: 0.8rem 1rem;
    max-width: 26rem;
    box-shadow: var(--shadow);
}
.display-launch strong {
    display: block;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
}
.display-launch small { color: var(--muted); }
.display-icon { color: var(--orange); display: flex; }
.plate, .screen, .shot {
    margin: 0;
    background: var(--plate);
    color: var(--ink);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.screen, .shot { background: #070b14; color: var(--muted); }
.plate img, .screen img, .shot img { width: 100%; height: auto; }
.plate figcaption, .screen figcaption, .shot figcaption {
    padding: 0.75rem 1rem 1rem;
    font-size: 0.92rem;
}
.kicker {
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.45rem;
}
.section { padding: 4.2rem 0; }
.band { background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 80px); }

.demo-play {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #070b14;
    cursor: pointer;
    color: white;
}
.demo-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    justify-content: flex-start;
}
.demo { width: min(340px, 100%); }
.demo-play img { width: 100%; height: auto; }
.demo-play span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: var(--orange);
    color: #1a1008;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.7rem 1rem;
}
.demo video { width: 100%; height: auto; background: #000; display: block; }
.demo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }

.steps, .audience, .admin-grid, .prototype-grid, .stills {
    display: grid;
    gap: 1rem;
}
.steps, .audience { grid-template-columns: repeat(3, 1fr); margin-top: 1.6rem; }
.audience { grid-template-columns: repeat(4, 1fr); }
.steps li, .audience article, .mode-list li {
    list-style: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.2rem;
}
.steps { padding: 0; }
.step-no {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--orange);
    font-variant-numeric: tabular-nums;
}
.screen-pair, .admin-grid { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.admin-grid { align-items: start; }
.mode-list { padding: 0; margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.mode-list strong { display: block; }
.mode-list span { color: var(--muted); }
.modes { align-items: start; }
.hardware-grid { align-items: start; margin-bottom: 1rem; }
.plate-wide { margin-top: 1rem; }
.stills { grid-template-columns: repeat(3, 1fr); margin-top: 1.6rem; }
.stills img { aspect-ratio: 9 / 14; object-fit: cover; width: 100%; }
.cta-line { margin-top: 1.6rem; }

.form {
    display: grid;
    gap: 0.75rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.2rem;
}
.form label { display: grid; gap: 0.3rem; font-size: 0.92rem; color: var(--muted); }
.form input, .form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #0c1222;
    color: var(--text);
    border-radius: 10px;
    padding: 0.75rem 0.8rem;
    font: inherit;
}
.form textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.sent-dialog {
    border: 1px solid var(--line);
    background: #161d30;
    color: var(--text);
    border-radius: 18px;
    padding: 1.4rem 1.5rem 1.3rem;
    max-width: min(28rem, calc(100vw - 2rem));
    box-shadow: var(--shadow);
}
.sent-dialog h2 { max-width: none; }
.sent-dialog a { color: var(--orange); }
.sent-dialog::backdrop { background: rgba(5, 8, 16, 0.72); }
.flash { padding: 0.75rem 0.9rem; border-radius: 10px; }
.flash.ok { background: rgba(61, 120, 232, 0.18); }
.flash.error { background: rgba(226, 75, 75, 0.18); }

.footer { border-top: 1px solid var(--line); padding: 2rem 0 1rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; }
.footer nav { display: grid; gap: 0.4rem; }
.contact-email {
    display: inline-block;
    margin: 0.2rem 0 1rem;
    color: var(--orange);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}
.contact-email:hover { color: var(--orange-2); }
.footer .contact-email { font-size: 1.05rem; margin: 0.4rem 0 0; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer-base { color: var(--muted); font-size: 0.9rem; }
.legal { max-width: 44rem; }
.legal h1 { max-width: none; font-size: clamp(2rem, 4vw, 3rem); }
.legal a { color: var(--orange); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        background: #0d1324;
        border-bottom: 1px solid var(--line);
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links.open { display: flex; }
    .hero-grid, .modes, .hardware-grid, .split, .demo-layout,
    .steps, .audience, .screen-pair, .admin-grid, .stills {
        grid-template-columns: 1fr;
    }
    .demo { width: min(280px, 100%); }
    .footer-grid { flex-direction: column; }
    h1 { max-width: none; }
}
