:root {
    color-scheme: dark;
    --bg: #0d0f12;
    --panel: #15171b;
    --panel-2: #1b1e24;
    --text: #f4f6f8;
    --muted: #9aa3ad;
    --line: rgba(255, 255, 255, 0.1);
    --orange: #d96a1b;
    --orange-2: #f08a36;
    --green: #4aa374;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(13, 15, 18, 0.96);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text);
}

.brand-mark {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(240, 138, 54, 0.5);
    border-radius: 4px;
    background: transparent;
    color: var(--orange-2);
    font-weight: 900;
}

.brand-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
}

.brand-subtitle {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.header-login-button {
    width: 100%;
}

.form-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #0f1115;
    color: var(--text);
    font-size: 0.95rem;
}

.form-input.compact {
    min-height: 40px;
}

.form-input:focus {
    border-color: var(--orange-2);
    box-shadow: 0 0 0 3px rgba(217, 106, 27, 0.14);
}

.form-input::placeholder {
    color: #717b86;
}

.is-hidden {
    display: none !important;
}

.login-error {
    margin: 0;
    color: #ffb08a;
    font-size: 0.84rem;
    font-weight: 700;
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 8, 0.72);
}

.modal-panel {
    position: relative;
    width: min(100%, 430px);
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
    padding: 1.25rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
}

.modal-kicker {
    color: var(--orange-2);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.modal-head h2 {
    margin-top: 0.2rem;
    color: white;
    font-size: 1.35rem;
    font-weight: 900;
}

.modal-close {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--muted);
    font-size: 1.4rem;
    line-height: 1;
}

.modal-close:hover {
    border-color: rgba(240, 138, 54, 0.55);
    color: white;
}

.login-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 4px;
    padding: 0.75rem 1.15rem;
    font-weight: 800;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.btn-primary {
    border: 1px solid var(--orange-2);
    background: var(--orange);
    color: #fff;
}

.btn-primary:hover {
    background: #bf5a15;
}

.btn-primary:disabled,
.btn-secondary:disabled {
    cursor: wait;
    opacity: 0.72;
}

.btn-secondary {
    border: 1px solid var(--line);
    background: transparent;
    color: #dfe3e7;
}

.btn-secondary:hover {
    border-color: rgba(240, 138, 54, 0.55);
}

.compact-btn {
    min-height: 40px;
    padding-block: 0.5rem;
}

.btn-large {
    min-height: 52px;
    padding-inline: 1.35rem;
}

.hero-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #0d0f12;
}

.hero-copy,
.media-console {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(240, 138, 54, 0.35);
    border-radius: 4px;
    background: rgba(217, 106, 27, 0.08);
    padding: 0.36rem 0.72rem;
    color: #f0a15c;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 1.15rem 0 0;
    max-width: 720px;
    color: white;
    font-size: clamp(2.25rem, 5vw, 4.55rem);
    font-weight: 900;
    line-height: 1.02;
}

.hero-copy p {
    margin-top: 1.35rem;
    max-width: 650px;
    color: #c7ced6;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.media-console {
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
    padding: 1.25rem;
}

.console-top,
.placement-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.console-kicker {
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.console-top h2 {
    margin-top: 0.15rem;
    color: white;
    font-size: 1.35rem;
    font-weight: 900;
}

.status-pill {
    border-radius: 4px;
    background: rgba(74, 163, 116, 0.13);
    color: #8bd2ad;
    padding: 0.36rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 900;
}

.console-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.console-cell {
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #111317;
    padding: 1rem;
}

.console-cell.featured {
    border-left: 3px solid var(--orange);
}

.console-cell span,
.console-cell small {
    color: var(--muted);
}

.console-cell strong {
    display: block;
    margin-top: 0.3rem;
    color: white;
    font-size: 2rem;
    line-height: 1;
}

.placement-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.placement-row {
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #101216;
    padding: 0.9rem;
}

.placement-row > div {
    flex: 1;
    min-width: 0;
}

.placement-row strong,
.placement-row small,
.placement-row em {
    display: block;
}

.placement-row strong {
    overflow: hidden;
    color: white;
    font-size: 0.95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.placement-row small {
    margin-top: 0.25rem;
    color: var(--muted);
}

.placement-row em {
    flex: 0 0 auto;
    color: #f0a15c;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
}

.site-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--orange);
}

.site-dot.amber {
    background: #d8a036;
}

.site-dot.green {
    background: var(--green);
}

.section-band {
    padding-block: 4.7rem;
}

.section-muted {
    border-block: 1px solid var(--line);
    background: #101216;
}

.section-head {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title {
    margin-top: 1rem;
    max-width: 760px;
    color: white;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 900;
    line-height: 1.08;
}

.section-copy {
    margin: 0;
    max-width: 620px;
    color: #c2c9d1;
    font-size: 1.02rem;
    line-height: 1.75;
}

.region-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
}

.region-table-head,
.region-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem;
}

.region-table-head {
    display: none;
    background: var(--panel-2);
    color: #cdd3da;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.region-row + .region-row {
    border-top: 1px solid var(--line);
}

.region-row strong {
    color: white;
    font-size: 1.05rem;
}

.region-row span {
    color: var(--orange-2);
    font-weight: 900;
}

.region-row em {
    color: var(--muted);
    font-style: normal;
}

.process-grid {
    display: grid;
    gap: 1rem;
}

.process-card {
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
    padding: 1.2rem;
}

.process-card span {
    color: var(--orange-2);
    font-size: 0.8rem;
    font-weight: 900;
}

.process-card h3 {
    margin-top: 2rem;
    color: white;
    font-size: 1.15rem;
    font-weight: 900;
}

.process-card p {
    margin-top: 0.65rem;
    color: var(--muted);
    line-height: 1.65;
}

.request-section {
    background: var(--bg);
}

.contact-panel,
.request-form {
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
}

.contact-panel {
    display: grid;
    gap: 0.3rem;
    margin-top: 2rem;
    padding: 1.1rem;
}

.contact-panel span,
.contact-panel small {
    color: var(--muted);
}

.contact-panel strong {
    color: white;
    font-size: 1.1rem;
}

.contact-panel a,
.site-footer a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(240, 138, 54, 0.55);
    text-underline-offset: 3px;
}

.contact-panel a:hover,
.site-footer a:hover {
    color: var(--orange-2);
}

.request-form {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #d9dee4;
    font-size: 0.88rem;
    font-weight: 800;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-alert {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.45;
}

.form-alert.success {
    border-color: rgba(74, 163, 116, 0.42);
    background: rgba(74, 163, 116, 0.1);
    color: #a6e0c0;
}

.form-alert.error {
    border-color: rgba(240, 138, 54, 0.48);
    background: rgba(217, 106, 27, 0.12);
    color: #ffbd8a;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #0b0d10;
    color: var(--muted);
}

@media (min-width: 640px) {
    .header-login-button {
        width: auto;
    }

    .login-error {
        text-align: left;
    }

    .hero-actions {
        flex-direction: row;
    }

    .console-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .request-form {
        padding: 1.35rem;
    }
}

@media (min-width: 768px) {
    .region-table-head,
    .region-row {
        display: grid;
        grid-template-columns: 1.1fr 0.45fr 1.1fr;
        align-items: center;
        gap: 1rem;
        padding-inline: 1.25rem;
    }

    .process-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .section-head {
        grid-template-columns: 1fr 0.75fr;
        align-items: end;
    }

    .media-console {
        padding: 1.5rem;
    }
}

@media (max-width: 420px) {
    .hero-copy h1 {
        font-size: 2.25rem;
    }

    .section-band {
        padding-block: 3.5rem;
    }
}
