:root {
    --ink: #171410;
    --ink-soft: #3a342c;
    --muted: #675f55;
    --line: #e4dcd0;
    --paper: #f6f2eb;
    --card: #fffdf9;
    --orange: #ff6a00;
    --orange-deep: #e45700;
    --night: #14120f;
    --night-2: #1d1a16;
    --cream: #f7f1e8;
    --danger: #9f1239;
    --ok: #0f7a46;
    --shadow: 0 24px 60px rgba(23, 20, 16, 0.08);
    --header: 76px;
    --font: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 92px; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    font-size: 1.05rem;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
p { color: var(--ink-soft); }

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}
.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--orange);
    color: var(--ink);
    padding: 8px 12px;
    z-index: 80;
}
.skip:focus { top: 12px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header);
    background: rgba(20, 18, 15, 0.92);
    color: #f6f1ea;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 1rem; letter-spacing: -0.03em; }
.logo__text small { color: #c8bfb3; font-size: 0.75rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) {
    text-decoration: none;
    color: #efe8df;
    font-weight: 500;
    font-size: 0.98rem;
}
.nav a:not(.btn):hover { color: white; }
.nav__toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: white;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
}
.btn--primary { background: var(--orange); color: #1a1208; }
.btn--primary:hover { background: #ff7e22; }
.btn--ghost {
    background: transparent;
    color: #f6f1ea;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--dark { background: var(--night); color: #f6f1ea; }
.btn--dark:hover { background: #2a251f; }
.btn--ghost-dark {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px #d9d0c4;
}
.btn--small { min-height: 42px; padding: 0 14px; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.hero {
    position: relative;
    background:
        radial-gradient(820px 380px at 88% -10%, rgba(255, 106, 0, 0.34), transparent 60%),
        radial-gradient(520px 280px at 0% 100%, rgba(255, 106, 0, 0.12), transparent 55%),
        var(--night);
    color: #f7f3ec;
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0 108px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #ffb27a;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.eyebrow--dark { color: #c2410c; }
.hero h1 {
    font-size: clamp(2.7rem, 6vw, 4.7rem);
    font-weight: 800;
    max-width: 14ch;
    color: white;
}
.lede {
    margin-top: 18px;
    max-width: 46ch;
    font-size: 1.15rem;
    color: #e7dfd4;
}
.lede--dark { color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: #efe8df;
    font-size: 0.95rem;
}
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { flex: none; }

.picks { display: grid; gap: 12px; }
.pick {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    width: 100%;
    text-align: left;
    color: inherit;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
}
.pick:hover, .pick:focus-visible {
    background: rgba(255, 106, 0, 0.12);
    border-color: rgba(255, 106, 0, 0.5);
}
.pick strong { display: block; font-size: 1.05rem; }
.pick small { color: #d9d0c5; }
.pick__go {
    color: #ffb27a;
    font-weight: 700;
    font-size: 0.92rem;
}
.pick__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 106, 0, 0.16);
    color: #ffb27a;
}

.process {
    position: relative;
    z-index: 2;
    margin-top: -52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    list-style: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.process li { padding: 22px 24px; }
.process li + li { border-left: 1px solid var(--line); }
.process span {
    display: block;
    color: #c2410c;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}
.process strong { display: block; margin: 6px 0 4px; font-size: 1.15rem; }
.process p { margin: 0; font-size: 0.96rem; }

.section { padding: 88px 0; }
.section--white { background: white; }
.section--night { background: var(--night); color: #f7f3ec; }
.section--night p { color: #e7dfd4; }
.section__head { max-width: 680px; margin-bottom: 32px; }
.section__head h2, .cta h2, .register h2, .admin-main h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
}
.section__head p, .register__copy > p { margin-top: 12px; }

.cards, .benefits, .reqs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.card, .benefit, .req {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}
.section--white .card,
.section--white .benefit,
.section--white .req { background: var(--paper); }
.card h3, .benefit h3, .req h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.card ul, .req ul { margin: 14px 0 18px; padding-left: 18px; color: var(--ink-soft); }
.card li + li, .req li + li { margin-top: 6px; }
.icon-blob {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #fff1e6;
    color: #c2410c;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.split article {
    border-radius: 22px;
    padding: 28px;
}
.split article:first-child { background: white; border: 1px solid var(--line); }
.split article:last-child { background: var(--night); color: #f7f3ec; }
.split h3 { font-size: 1.5rem; margin-bottom: 12px; }
.split ul { margin: 0; padding-left: 18px; }
.split li + li { margin-top: 8px; }
.split article:last-child li { color: #e7dfd4; }

.cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cities li {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 8px 12px;
    color: #f6f1ea;
    font-weight: 600;
}
.note-link { color: #ffb27a; font-weight: 700; }
.text-link { color: #c2410c; font-weight: 700; }
.cities-more { margin-top: 18px; }
.cta-wrap { padding-bottom: 72px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-top: 8px; }

.cta {
    background:
        radial-gradient(500px 220px at 100% 0%, rgba(255, 106, 0, 0.35), transparent 60%),
        var(--night);
    color: white;
    border-radius: 28px;
    padding: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.cta p { color: #e7dfd4; margin-top: 10px; max-width: 52ch; }

.register { background: #efeae2; }
.register__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}
.next-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.next-steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.next-steps b {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--night);
    color: white;
    font-size: 0.9rem;
}
.form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow);
}
.stack, .form-card form { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; font-weight: 600; }
.field input, .auth-card input {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: 1px solid #ddd4c8;
    background: white;
    padding: 0 14px;
    color: var(--ink);
}
.field input:focus-visible, .option input:focus-visible + span {
    outline: 3px solid rgba(255, 106, 0, 0.45);
    outline-offset: 2px;
}
.phone {
    display: flex;
    align-items: center;
    border: 1px solid #ddd4c8;
    border-radius: 14px;
    background: white;
    padding-left: 14px;
}
.phone span { color: var(--muted); font-weight: 700; }
.phone input { border: 0; outline: none; box-shadow: none; }
.phone:focus-within { box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.16); border-color: var(--orange); }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; }
.option span {
    display: grid;
    place-items: center;
    min-height: 64px;
    border-radius: 14px;
    border: 1px solid #ddd4c8;
    background: white;
    font-weight: 700;
    text-align: center;
    padding: 8px;
}
.option input:checked + span {
    border-color: var(--orange);
    background: #fff4ec;
    box-shadow: inset 0 0 0 1px var(--orange);
}
.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500;
    color: var(--ink-soft);
}
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange-deep); }
.fine { color: var(--muted); font-size: 0.92rem; }
.form-card .btn { width: 100%; }
.form-error, .field-error { color: var(--danger); font-size: 0.92rem; font-weight: 600; }
.form-error {
    background: #fff1f2;
    border-radius: 12px;
    padding: 10px 12px;
}
.form-success { display: grid; gap: 12px; justify-items: start; }
.form-success h3 { font-size: 1.8rem; }
.form-success .btn { width: auto; }
.ok-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e8f7ee;
    color: var(--ok);
}

.footer { background: var(--night); color: #efe8df; padding: 56px 0 28px; }
.footer a { color: #efe8df; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h2, .footer h3 { font-size: 1rem; letter-spacing: 0; margin-bottom: 10px; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer p { color: #d9d0c5; }
.disclaimer {
    margin-top: 32px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e7dfd4;
}
.legal {
    margin-top: 18px;
    color: #b7aea3;
    font-size: 0.92rem;
}

.dock { display: none; }
.admin-body { background: var(--paper); }
.admin-main { padding: 42px 0 72px; }
.auth-card { max-width: 460px; margin-top: 24px; }
.auth-card h1 { font-size: 2.2rem; margin-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 22px; }
.stats article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
}
.stats strong { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.stats span { color: var(--muted); }
.admin-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.field--inline { min-width: min(100%, 280px); }
.table-wrap {
    overflow-x: auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.tag {
    display: inline-flex;
    border-radius: 999px;
    background: #fff1e6;
    color: #9a3412;
    font-weight: 700;
    padding: 4px 10px;
}
.muted { color: var(--muted); font-size: 0.88rem; }
.prose { max-width: 760px; padding: 28px 0 72px; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0; }
.prose h2 { font-size: 1.35rem; margin: 28px 0 8px; letter-spacing: -0.03em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 18px; }
.prose a { color: #c2410c; }

:focus-visible { outline: 3px solid rgba(255, 106, 0, 0.7); outline-offset: 3px; }
.phone input:focus-visible { outline: none; }

@media (max-width: 900px) {
    .hero__grid, .cards, .benefits, .reqs, .split, .register__grid, .footer__grid, .stats {
        grid-template-columns: 1fr;
    }
    .process { grid-template-columns: 1fr; }
    .process li + li { border-left: 0; border-top: 1px solid var(--line); }
    .cta { flex-direction: column; align-items: flex-start; padding: 28px; }
    .nav__toggle { display: inline-flex; }
    .nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px 16px;
        background: var(--night);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav.is-open { display: flex; }
    .nav a:not(.btn) { padding: 10px 4px; }
    .header .btn--primary { display: none; }
    .header__actions .header__back { display: none; }
    .header__actions .header__back:only-child { display: inline-flex; }
    .nav.is-open .btn--primary { display: inline-flex; width: 100%; margin-top: 8px; }
    .hero__grid { padding: 36px 0 88px; }
    .section { padding: 64px 0; }
    .options { grid-template-columns: 1fr; }
    .dock {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 253, 249, 0.96);
        border-top: 1px solid var(--line);
    }
    .dock .btn { width: 100%; }
    body:has(#dock) { padding-bottom: 84px; }
    .card .btn { width: 100%; }
    .admin-body { padding-bottom: 0; }
    .dock.is-hidden { transform: translateY(110%); }
}

.region + .region { margin-top: 22px; }
.region h3 { font-size: 1.15rem; margin-bottom: 12px; }

.admin-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }
.admin-actions .btn { width: auto; }
.empty-note {
    background: white;
    border: 1px dashed var(--line);
    border-radius: 16px;
    padding: 16px 18px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
