:root {
    --bg: #252959;
    --bg-soft: #30356c;
    --panel: #ffffff;
    --panel-blue: #2b3063;
    --text: #102033;
    --text-soft: #536173;
    --text-light: #e8eef7;
    --accent: #ff8a00;
    --accent-dark: #e87500;
    --cyan: #18bff2;
    --line: #d9e2ef;
    --danger: #b42318;
    --success: #027a48;
    --radius: 16px;
    --max: 1120px;
    --shadow: 0 24px 70px rgba(5, 14, 28, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #f4f7fb;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(37, 41, 89, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(24, 191, 242, 0.45);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 9px 14px;
    background: transparent;
    color: #fff;
    font-weight: 700;
}

.hero {
    background:
        radial-gradient(circle at 82% 14%, rgba(255, 138, 0, 0.22), transparent 30rem),
        radial-gradient(circle at 20% 12%, rgba(24, 191, 242, 0.22), transparent 28rem),
        linear-gradient(135deg, #252959 0%, #1c2049 100%);
    color: #fff;
    padding: 76px 24px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 34px;
    align-items: center;
}

@media (min-width: 981px) {
    .hero {
        padding-top: 34px;
        padding-right: clamp(72px, 8vw, 140px);
        padding-left: clamp(32px, 5vw, 76px);
    }

    .hero-content {
        align-self: start;
        padding-top: 18px;
    }
}

.hero-content,
.section {
    width: 100%;
    max-width: var(--max);
}

.hero-content {
    justify-self: end;
}

.hero-logo {
    width: 104px;
    height: 104px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 7px rgba(24, 191, 242, 0.42),
        0 22px 58px rgba(0, 0, 0, 0.26);
}

.eyebrow {
    margin: 0 0 12px;
    color: #63d6ff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 830px;
    margin: 0;
    font-size: clamp(2.45rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.subheadline {
    max-width: 760px;
    margin: 22px 0 0;
    color: #d8e5f6;
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-actions-secondary {
    margin-top: 12px;
}

.button-system {
    width: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: #fff;
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.48);
}

.hero-form-card {
    justify-self: start;
    width: 100%;
    max-width: 430px;
    padding: 24px;
    border: 2px solid rgba(24, 191, 242, 0.32);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--text);
    box-shadow: var(--shadow);
}

.hero-form-card .eyebrow {
    color: var(--accent);
}

.hero-form-card h2 {
    margin: 0 0 8px;
    font-size: 1.55rem;
    line-height: 1.18;
}

.form-intro {
    margin: 0 0 18px;
    color: var(--text-soft);
}

.section {
    margin: 0 auto;
    padding: 74px 24px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.section-heading h2,
.form-copy h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.12;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.benefit-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 12px 34px rgba(16, 32, 51, 0.06);
}

.benefit-card span {
    color: var(--accent);
    font-weight: 800;
}

.benefit-card h3 {
    margin: 10px 0 8px;
    line-height: 1.22;
}

.benefit-card p {
    margin: 0;
    color: var(--text-soft);
}

.process-section {
    padding-bottom: 18px;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--panel-blue);
    color: #fff;
}

.process-list span {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--accent);
    font-weight: 800;
}

.process-list h3 {
    margin: 0 0 8px;
    line-height: 1.22;
}

.process-list p {
    margin: 0;
    color: #d8e5f6;
}

.field {
    margin-bottom: 13px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cbd6e2;
    border-radius: 10px;
    padding: 12px 13px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(24, 191, 242, 0.22);
    border-color: var(--accent);
}

textarea {
    resize: vertical;
    min-height: 84px;
}

.checkbox-field {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 18px 0;
    color: var(--text-soft);
    font-weight: 600;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.submit-button {
    width: 100%;
}

.form-note {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.success-message,
.error-message {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 12px;
}

.success-message {
    border: 1px solid rgba(2, 122, 72, 0.22);
    background: #ecfdf3;
    color: var(--success);
}

.success-message h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.success-message p {
    margin: 0;
}

.error-message {
    border: 1px solid rgba(180, 35, 24, 0.22);
    background: #fef3f2;
    color: var(--danger);
}

.error-message ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.site-footer {
    padding: 28px 24px;
    background: var(--bg);
    color: #c9d6e8;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
}

.footer-links a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.legal-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 54px 24px 74px;
}

.legal-page h1 {
    max-width: none;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.legal-page h2 {
    margin-top: 34px;
    color: var(--bg);
}

.legal-page p,
.legal-page li {
    color: var(--text-soft);
}

.legal-box {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(16, 32, 51, 0.06);
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .hero-form-card {
        justify-self: center;
    }

    .hero-form-card {
        max-width: var(--max);
    }

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

}

@media (max-width: 720px) {
    .nav {
        padding: 12px 16px;
        justify-content: space-between;
        gap: 16px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 64px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border-radius: 14px;
        background: #2b3063;
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
    }

    .hero {
        padding: 52px 18px 44px;
    }

    .hero-logo {
        display: none;
    }

    h1 {
        font-size: 2.35rem;
    }

    .subheadline {
        font-size: 1.04rem;
    }

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

    .button {
        width: 100%;
    }

    .section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .benefit-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .hero-form-card {
        padding: 20px;
    }
}
