:root {
    --bg: #061d33;
    --panel: rgba(16, 29, 48, 0.76);
    --panel-solid: #101d30;
    --text: #f5f7fb;
    --muted: #9da9b8;
    --line: rgba(255,255,255,.11);
    --orange: #ff7a0a;
    --orange-2: #ff9a42;
    --paper: #f4f2ec;
    --green: #58d6ad;
    --radius: 24px;
    --safe-bottom: max(22px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 85% 7%, rgba(255,106,26,.12), transparent 26rem),
        radial-gradient(circle at 0% 48%, rgba(54,112,196,.11), transparent 30rem),
        var(--bg);
    font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.ambient {
    position: fixed;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .18;
    pointer-events: none;
    z-index: 0;
}
.ambient-a { background: var(--orange); top: -100px; right: -90px; }
.ambient-b { background: #2f7de1; bottom: 15%; left: -170px; }

.shell {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 0 18px var(--safe-bottom);
}

.topbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    width: 174px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--paper);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -.06em;
    font-size: 22px;
}
.brand img { display: block; width: 100%; height: auto; }
.lang-switch {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    color: var(--text);
    border-radius: 999px;
    height: 38px;
    min-width: 48px;
    padding: 0 13px;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: calc(100svh - 92px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 0 54px;
}
.event-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    border-radius: 999px;
    padding: 9px 12px;
    color: #cbd3de;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
}
.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255,106,26,.45);
    animation: pulse 2.2s infinite;
}
@keyframes pulse { 60% { box-shadow: 0 0 0 9px rgba(255,106,26,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,26,0); } }

.signal-mark {
    position: absolute;
    top: 15%;
    right: -30px;
    width: 210px;
    opacity: .7;
    pointer-events: none;
    transform: rotate(-4deg);
}
.signal-mark svg { width: 100%; overflow: visible; }
.signal-track, .signal-live { fill: none; stroke-linecap: round; stroke-width: 2; }
.signal-track { stroke: rgba(255,255,255,.08); }
.signal-live {
    stroke: var(--orange);
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    animation: draw 2.1s cubic-bezier(.65,0,.2,1) .2s forwards;
    filter: drop-shadow(0 0 7px rgba(255,106,26,.45));
}
.signal-node { fill: var(--orange); opacity: 0; animation: node .35s ease 1.95s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes node { to { opacity: 1; } }

.eyebrow {
    margin: 34px 0 12px;
    color: var(--orange-2);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Syne", sans-serif; }
h1 {
    margin-bottom: 18px;
    max-width: 640px;
    font-size: clamp(48px, 14vw, 86px);
    line-height: 1;
    letter-spacing: -.065em;
    font-weight: 850;
}
h1 span, h2 span { color: var(--orange); }
.lead {
    max-width: 520px;
    margin-bottom: 30px;
    color: #bec7d2;
    font-size: clamp(18px, 5vw, 23px);
    line-height: 1.42;
}
.primary-actions { display: grid; gap: 10px; }
.button {
    min-height: 58px;
    border-radius: 4px;
    border: 1px solid transparent;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:active { transform: scale(.985); }
.button-primary { background: var(--orange); color: #130a05; }
.button-secondary { background: rgba(255,255,255,.045); color: var(--text); border-color: var(--line); }
.button-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(8,17,31,.18);
    font-size: 20px;
}
.microcopy {
    margin: 18px 4px 0;
    color: #7f8b9c;
    font-size: 12px;
    line-height: 1.5;
}

.handoff, .proof {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(18,33,54,.84), rgba(11,22,38,.82));
    border-radius: var(--radius);
    padding: 28px 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
    backdrop-filter: blur(16px);
}
.handoff { margin-bottom: 18px; }
.section-kicker {
    color: var(--orange-2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    margin-bottom: 10px;
}
h2 {
    margin-bottom: 12px;
    font-size: clamp(31px, 9vw, 50px);
    line-height: 1;
    letter-spacing: -.045em;
}
.section-copy, .proof > p {
    color: var(--muted);
    line-height: 1.58;
    margin-bottom: 24px;
}

#leadForm { display: grid; gap: 16px; }
#leadForm[hidden], .selected-next[hidden] { display: none; }
.selected-next { margin: 0; padding: 12px 14px; border-left: 2px solid var(--orange); color: #ffd9c5; background: rgba(255,122,10,.08); }
.field-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span, legend {
    color: #dbe1e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}
.field em { color: #79879a; font-style: normal; font-weight: 600; }
input[type="text"], input[type="email"], textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    color: var(--text);
    outline: none;
    padding: 15px 14px;
    font-size: 16px;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: #69778a; opacity: 1; }
input:focus, textarea:focus {
    border-color: rgba(255,106,26,.75);
    box-shadow: 0 0 0 4px rgba(255,106,26,.10);
    background: rgba(255,255,255,.06);
}
.topic-fieldset { border: 0; padding: 0; margin: 0; }
.topic-fieldset legend { margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-flex;
    align-items: center;
    min-height: 39px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    color: #b9c4d0;
    font-size: 13px;
    font-weight: 700;
    transition: all .15s ease;
}
.chip input:checked + span {
    border-color: rgba(255,106,26,.72);
    background: rgba(255,106,26,.13);
    color: #ffd9c5;
    box-shadow: inset 0 0 0 1px rgba(255,106,26,.12);
}
.chip input:focus-visible + span, a:focus-visible, button:focus-visible, .success-card:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 4px; }
.consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    color: #8996a7;
    font-size: 11px;
    line-height: 1.5;
}
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); }
.consent a { color: #c4cbd5; }
.button-submit {
    margin-top: 2px;
    width: 100%;
    background: #f5f7fb;
    color: #08111f;
}
.button-submit[disabled] { opacity: .58; cursor: wait; }
.submit-arrow { font-size: 20px; }
.form-note { margin: -5px 0 0; color: #6f7e90; font-size: 11px; text-align: center; }
.form-status { min-height: 0; color: #ffb58d; font-size: 13px; line-height: 1.4; }
.form-status:not(:empty) { min-height: 24px; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.success-card {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: 16px 4px 4px;
}
.success-card[hidden] { display: none; }
.success-card h3 { font-size: 36px; letter-spacing: -.04em; margin-bottom: 10px; }
.success-card p { color: var(--muted); line-height: 1.55; }
.success-orbit {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(88,214,173,.35);
    position: relative;
    color: var(--green);
    font-size: 27px;
}
.success-orbit::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px dashed rgba(88,214,173,.18);
    border-radius: 50%;
    animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.text-link { color: #fff; font-weight: 800; text-underline-offset: 4px; }

.proof { margin-bottom: 18px; }
.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--line);
}
.proof-grid div {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    background: #0c1829;
}
.proof-grid strong { color: var(--orange); font-size: 11px; letter-spacing: .08em; }
.proof-grid span { color: #dfe5ec; font-size: 13px; font-weight: 700; line-height: 1.3; }

footer {
    display: grid;
    gap: 20px;
    padding: 34px 4px 20px;
    color: #7e8b9c;
    font-size: 12px;
}
footer > div:first-child { display: grid; gap: 4px; }
footer strong { color: #fff; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-links a { color: #a9b4c0; text-decoration: none; }

@media (min-width: 620px) {
    .shell { padding-left: 26px; padding-right: 26px; }
    .primary-actions { grid-template-columns: 1fr 1fr; }
    .field-grid { grid-template-columns: 1fr 1fr; }
    .handoff, .proof { padding: 36px; }
    .success-card { grid-template-columns: auto 1fr; }
    footer { grid-template-columns: 1fr auto; align-items: end; }
    .footer-links { justify-content: flex-end; }
}

.next-steps { padding: 34px 0 40px; }
.next-steps h2 { max-width: 640px; }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.next-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.next-card > span { display: block; margin-bottom: 22px; color: var(--orange-2); font-size: 12px; font-weight: 700; }
.next-card h3 { font-size: 24px; line-height: 1.12; margin-bottom: 12px; overflow-wrap: anywhere; }
.next-card p { margin-bottom: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.next-card[aria-current="true"] { border-color: var(--orange); background: rgba(255,122,10,.08); }
@media (hover: hover) { .next-card:hover { transform: translateY(-3px); border-color: var(--orange-2); } }
@media (max-width: 480px) { .next-grid { grid-template-columns: 1fr; } .signal-mark { right: 0; width: 150px; opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .next-card, .button { transition: none; transform: none !important; }
    .signal-live { animation: none !important; stroke-dashoffset: 0; }
    .signal-node { animation: none !important; opacity: 1; }
    .pulse-dot, .success-orbit::after { animation: none !important; }
}
