:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0d1117;
    color: #e6edf3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 0%, rgba(58, 122, 254, 0.18), transparent 34rem),
        linear-gradient(180deg, #0d1117 0%, #111827 100%);
}

a {
    color: #8ab4ff;
}

a:hover {
    color: #b8d0ff;
}

.site-header,
.site-footer,
main {
    width: min(920px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 0 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
    font-size: 1.15rem;
    font-weight: 750;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    object-fit: cover;
    box-shadow:
        0 0 0 1px rgba(191, 219, 254, 0.22),
        0 8px 24px rgba(2, 8, 23, 0.42);
}

.brand-logo-large {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

nav a {
    color: #b7c0ce;
    font-size: 0.93rem;
    text-decoration: none;
}

nav a:hover {
    color: #ffffff;
}

main {
    padding: 20px 0 52px;
}

.hero {
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 8px;
    color: #8ab4ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: #f8fafc;
    line-height: 1.2;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.4rem);
}

h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
}

h3 {
    margin: 22px 0 8px;
    font-size: 1.05rem;
}

.lead {
    max-width: 760px;
    margin: 16px 0 0;
    color: #b7c0ce;
    font-size: 1.08rem;
    line-height: 1.65;
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 22px;
}

.card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.84);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    padding: clamp(20px, 4vw, 30px);
}

.card + .card,
.policy-section + .policy-section {
    margin-top: 18px;
}

.notice {
    border-left: 3px solid #8ab4ff;
    background: rgba(37, 99, 235, 0.11);
}

.warning {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.09);
}

p,
li {
    color: #c3cad5;
    line-height: 1.65;
}

ul,
ol {
    margin: 10px 0 0;
    padding-left: 22px;
}

li + li {
    margin-top: 7px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #e6edf3;
    font-size: 0.94rem;
    font-weight: 650;
}

.field + .field {
    margin-top: 18px;
}

input[type="email"],
textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 12px;
    outline: none;
    background: #0b1220;
    color: #f8fafc;
    font: inherit;
    padding: 13px 14px;
}

input[type="email"]:focus,
textarea:focus {
    border-color: #8ab4ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

textarea {
    min-height: 118px;
    resize: vertical;
}

.help-text {
    margin: 7px 0 0;
    color: #8893a3;
    font-size: 0.86rem;
}

.checkbox-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    margin-top: 20px;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.checkbox-row label {
    margin: 0;
    font-weight: 500;
    line-height: 1.55;
}

button {
    width: 100%;
    margin-top: 22px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    padding: 14px 18px;
}

button:hover:not(:disabled) {
    filter: brightness(1.08);
}

button:disabled {
    cursor: wait;
    opacity: 0.66;
}

.form-status {
    display: none;
    margin-top: 18px;
    border-radius: 12px;
    padding: 14px;
    line-height: 1.55;
}

.form-status.visible {
    display: block;
}

.form-status.success {
    border: 1px solid rgba(52, 211, 153, 0.38);
    background: rgba(16, 185, 129, 0.1);
    color: #bbf7d0;
}

.form-status.error {
    border: 1px solid rgba(248, 113, 113, 0.38);
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
}

.request-code {
    display: block;
    margin-top: 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    padding: 10px;
    word-break: break-all;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.meta {
    color: #8893a3;
    font-size: 0.9rem;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #7f8a9a;
    font-size: 0.86rem;
    padding: 22px 0 34px;
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none !important;
}

input[type="text"] {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 12px;
    outline: none;
    background: #0b1220;
    color: #f8fafc;
    font: inherit;
    padding: 13px 14px;
}

input[type="text"]:focus {
    border-color: #8ab4ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.otp-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-align: center;
}

.button-secondary {
    margin-top: 12px;
    border: 1px solid rgba(138, 180, 255, 0.38);
    background: rgba(37, 99, 235, 0.12);
    color: #b8d0ff;
}

.button-link {
    margin-top: 10px;
    background: transparent;
    color: #9aa6b7;
    font-weight: 650;
}

.page-shell {
    width: min(920px, calc(100% - 32px));
    margin-inline: auto;
    padding: 48px 0;
}

.compact-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-name {
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 750;
}

.brand-subtitle,
.muted {
    color: #8893a3;
}

.confirmation-card {
    width: min(620px, 100%);
}

.confirmation-card.success {
    border-color: rgba(52, 211, 153, 0.42);
}

.confirmation-card.error {
    border-color: rgba(248, 113, 113, 0.42);
}

.button-link {
    display: inline-block;
    margin-top: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    font-weight: 750;
    padding: 12px 16px;
    text-decoration: none;
}

.button-link:hover {
    color: #ffffff;
    filter: brightness(1.08);
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.language-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.language-switcher a {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    color: #9ba7b8;
    font-size: 0.78rem;
    line-height: 1;
    padding: 7px 9px;
    text-decoration: none;
}

.language-switcher a:hover,
.language-switcher a.active {
    border-color: rgba(138, 180, 255, 0.7);
    background: rgba(59, 130, 246, 0.14);
    color: #ffffff;
}

@media (max-width: 760px) {
    .header-actions {
        align-items: flex-start;
    }
}
