:root {
    --ink: #171431;
    --muted: #635f76;
    --lavender: #b7a6f2;
    --lavender-strong: #9a7df0;
    --cream: #fbf7f0;
    --paper: #ffffff;
    --line: rgba(23, 20, 49, 0.12);
    --shadow: 0 24px 70px rgba(23, 20, 49, 0.16);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(183, 166, 242, 0.24), transparent 34rem),
        linear-gradient(180deg, #fffaf2 0%, #ffffff 42%, #f6f1ff 100%);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(1120px, calc(100% - 2rem));
    margin: 1rem auto 0;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 14px 38px rgba(23, 20, 49, 0.08);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.brand img {
    width: 86px;
}

.brand span {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    gap: 1.35rem;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.site-nav a,
.text-link {
    text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
    color: var(--lavender-strong);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0 1.35rem;
    color: #ffffff;
    background: var(--ink);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(23, 20, 49, 0.18);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    background: #251f4d;
    box-shadow: 0 18px 38px rgba(23, 20, 49, 0.22);
}

.button-small {
    min-height: 2.55rem;
    padding: 0 1rem;
    font-size: 0.9rem;
}

.button-light {
    color: var(--ink);
    background: #ffffff;
}

.button-light:hover {
    color: #ffffff;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: 3rem;
    align-items: center;
    width: min(1120px, calc(100% - 2rem));
    min-height: calc(100vh - 8rem);
    margin: 0 auto;
    padding: 6rem 0 4rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--lavender-strong);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 790px;
    margin-bottom: 1.25rem;
    font-size: clamp(3.1rem, 8vw, 6.9rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-text {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.35rem;
    margin-top: 2rem;
}

.text-link {
    color: var(--ink);
    font-weight: 800;
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(23, 20, 49, 0.92), rgba(50, 39, 91, 0.88)),
        radial-gradient(circle at 20% 15%, rgba(183, 166, 242, 0.72), transparent 12rem);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -5rem;
    width: 15rem;
    height: 15rem;
    background: rgba(183, 166, 242, 0.28);
    border-radius: 999px;
}

.hero-card img {
    position: relative;
    z-index: 1;
    width: 190px;
    margin-bottom: 5rem;
}

.hero-card div {
    position: relative;
    z-index: 1;
}

.hero-card h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.hero-card p {
    color: rgba(255, 255, 255, 0.78);
}

.card-label {
    margin-bottom: 0.65rem;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.notice-strip,
.section,
.site-footer {
    width: min(1120px, calc(100% - 2rem));
    margin-right: auto;
    margin-left: auto;
}

.notice-strip {
    padding: 1.1rem 1.4rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    text-align: center;
}

.notice-strip p,
.site-footer p {
    margin-bottom: 0;
}

.section {
    padding: 6rem 0 0;
}

.two-column {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: 4rem;
    align-items: start;
}

.section-copy {
    color: var(--muted);
    font-size: 1.06rem;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.support-card {
    min-height: 260px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(23, 20, 49, 0.08);
}

.support-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    margin-bottom: 4rem;
    color: var(--ink);
    background: #eee8ff;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.support-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 6rem;
    padding: 3rem;
    color: #ffffff;
    background: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-panel h2 {
    max-width: 650px;
}

.contact-panel p:not(.eyebrow) {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 3rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer img {
    width: 110px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 9, 24, 0.62);
    backdrop-filter: blur(10px);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 2rem;
    background: var(--paper);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    color: var(--ink);
    background: #f0ecfb;
    border: 0;
    border-radius: 999px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.modal-intro {
    color: var(--muted);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    gap: 0.45rem;
}

.form-row.full,
.full-button {
    grid-column: 1 / -1;
}

label {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    color: var(--ink);
    background: #fbf9ff;
    border: 1px solid var(--line);
    border-radius: 16px;
    outline: none;
}

input,
select {
    min-height: 3.25rem;
    padding: 0 1rem;
}

textarea {
    resize: vertical;
    padding: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--lavender-strong);
    box-shadow: 0 0 0 4px rgba(154, 125, 240, 0.16);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-alert {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    font-weight: 700;
}

.form-alert.is-visible {
    display: block;
}

.form-alert.success {
    color: #0f5b35;
    background: #e7f8ef;
}

.form-alert.warning {
    color: #7a4a0a;
    background: #fff6de;
}

.form-alert.error {
    color: #8a2d21;
    background: #fff0ec;
}

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        border-radius: 26px;
    }

    .brand span,
    .site-nav {
        display: none;
    }

    .hero,
    .two-column,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 2rem;
        min-height: auto;
        padding-top: 4rem;
    }

    .contact-panel,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .site-header {
        width: calc(100% - 1rem);
        margin-top: 0.5rem;
    }

    .brand img {
        width: 76px;
    }

    .button-small {
        padding: 0 0.8rem;
    }

    .hero,
    .notice-strip,
    .section,
    .site-footer {
        width: min(100% - 1.25rem, 1120px);
    }

    h1 {
        font-size: clamp(2.8rem, 18vw, 4.5rem);
    }

    .notice-strip {
        border-radius: 22px;
        text-align: left;
    }

    .section {
        padding-top: 4rem;
    }

    .support-card span {
        margin-bottom: 2.5rem;
    }

    .contact-panel,
    .modal-dialog {
        padding: 1.35rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}
