*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #0f1b2d;
    --accent: #1a6bcc;
    --accent-soft: rgba(26,107,204,0.12);
    --accent-blue: #6aaff5;
    --border: rgba(255,255,255,0.09);
    --text-muted: rgba(255,255,255,0.5);
    --text-mid: rgba(255,255,255,0.75);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Golos Text', system-ui, sans-serif;
    background: var(--ink);
    color: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    &.modal-open {
        overflow: hidden;
    }
}

/* ── HEADER ── */
header {
    padding: 0 2rem;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
}
.logo {
    font-family: 'Geologica', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}
.logo-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}
.header-link {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.header-link:hover {
    color: #fff;
}

/* ── HERO ── */
.hero {
    padding: 5rem 2rem 4.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.hero-inner {
    max-width: 680px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: var(--accent-soft);
    border: 1px solid rgba(26,107,204,0.3);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1.75rem;
}

h1 {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}
h1 strong {
    font-weight: 500;
    color: var(--accent-blue);
}

.hero-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.625rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: background 0.2s;
}
.btn:hover {
    background: #0d4a9e;
}
.btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ── SECTIONS ── */
.section {
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border);
}
.section-inner {
    max-width: 960px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 0.6rem;
}
h2 {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 2.25rem;
    color: rgba(255,255,255,0.9);
}

/* ── AUDIENCE CARDS ── */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.aud-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s;
}
.aud-card:hover {
    border-color: rgba(26,107,204,0.4);
}
.aud-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}
.aud-icon svg {
    width: 18px;
    height: 18px;
}
.aud-title {
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.aud-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}
/* video badge on card */
.aud-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--accent-blue);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.aud-video-link:hover {
    opacity: 1;
}
.aud-video-link svg {
    width: 13px;
    height: 13px;
}

/* ── FEATURES ── */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.feat-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.125rem 0;
    border-bottom: 1px solid var(--border);
}
.feat-row:first-child {
    border-top: 1px solid var(--border);
}
.feat-num {
    font-family: 'Geologica', sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.2);
    min-width: 28px;
    padding-top: 2px;
}
.feat-body {
}
.feat-title {
    font-weight: 500;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.2rem;
}
.feat-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── VIDEOS ── */
.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.video-block {
}
.video-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.625rem;
    letter-spacing: 0.02em;
}
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── FOOTER ── */
footer {
    padding: 1.75rem 2rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.2);
}
footer a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
}
footer a:hover {
    color: rgba(255,255,255,0.65);
}

/* ── LOGIN BUTTON ── */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.4rem 1rem;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-family: inherit;
}
.btn-login:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.btn-login svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* ── DIALOG ── */
dialog {
    & .modal {
        position: fixed;
        top: 70px;
        right: 2rem;
        left: auto;
    }
}

dialog::backdrop {
    background-color: rgba(8,14,24,0.75);
    backdrop-filter: blur(4px);
}

/* ── MODAL OVERLAY ── */
.modal {
    background: #162236;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 1.75rem;
    width: 100%;
    max-width: 320px;
    animation: modal-in 0.18s ease;
}
@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to   {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-title {
    font-family: 'Geologica', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.875rem;
}
.field label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
}
.field input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px;
    padding: 0.55rem 0.75rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.field input::placeholder {
    color: rgba(255,255,255,0.2);
}
.field input:focus {
    border-color: var(--accent);
}

.modal-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    user-select: none;
}
.modal-remember input[type=checkbox] {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.btn-submit {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 0.65rem;
    font-size: 0.9375rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover {
    background: #0d4a9e;
}

.modal-forgot {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.2s;
}
.modal-forgot:hover {
    color: rgba(255,255,255,0.65);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.875rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.2s;
}
.modal-close:hover {
    color: rgba(255,255,255,0.7);
}
.modal {
    position: relative;
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 3.5rem 1.25rem 3rem;
    }
    .section {
        padding: 3rem 1.25rem;
    }
}
