:root {
    color-scheme: dark;
    --bg: #050607;
    --surface: rgba(13, 18, 20, 0.82);
    --surface-strong: rgba(17, 24, 27, 0.95);
    --line: rgba(129, 240, 221, 0.18);
    --line-strong: rgba(129, 240, 221, 0.42);
    --text: #f4fbfa;
    --muted: #9db0af;
    --soft: #d2e2e0;
    --cyan: #35def1;
    --green: #39e2bd;
    --amber: #f2b66d;
    --blue: #83a6ff;
    --danger: #ff6f8f;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-canvas,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-shade {
    background:
        linear-gradient(180deg, rgba(5, 6, 7, 0.2), rgba(5, 6, 7, 0.86) 78%, var(--bg)),
        radial-gradient(circle at 72% 34%, rgba(53, 222, 241, 0.18), transparent 34%),
        radial-gradient(circle at 26% 72%, rgba(57, 226, 189, 0.12), transparent 36%);
    pointer-events: none;
}

.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0;
}

.brand,
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 12px 40px rgba(53, 222, 241, 0.24);
}

.topbar-actions {
    color: var(--soft);
    font-size: 0.94rem;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 122px 0 170px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(4.4rem, 13vw, 10rem);
    line-height: 0.86;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4.5rem);
    line-height: 0.98;
}

h3 {
    margin: 0;
    font-size: 1.18rem;
}

.hero-copy {
    max-width: 650px;
    margin: 32px 0 0;
    color: var(--soft);
    font-size: clamp(1.08rem, 2vw, 1.42rem);
    line-height: 1.55;
}

.hero-actions,
.form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-actions {
    flex-wrap: wrap;
    margin-top: 36px;
}

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-button {
    background: linear-gradient(135deg, var(--cyan), var(--green));
    color: #041011;
    box-shadow: 0 18px 48px rgba(53, 222, 241, 0.24);
}

.secondary-button,
.ghost-button {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.ghost-button {
    min-height: 40px;
    padding: 0 14px;
}

.compact {
    min-height: 42px;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
}

.section,
.support-band {
    position: relative;
    padding: 90px 0;
}

.section-inner,
.support-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1.28fr);
    gap: 44px;
    align-items: end;
    margin-bottom: 34px;
}

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

.feature-card {
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(16, 22, 25, 0.96), rgba(8, 12, 14, 0.96));
}

.feature-kicker {
    display: inline-flex;
    margin-bottom: 38px;
    color: var(--amber);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.feature-card p,
.support-inner p {
    color: var(--muted);
    line-height: 1.58;
}

.support-band {
    padding-top: 28px;
}

.legal-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 78% 18%, rgba(53, 222, 241, 0.14), transparent 32%),
        radial-gradient(circle at 20% 82%, rgba(57, 226, 189, 0.08), transparent 34%),
        var(--bg);
}

.legal-hero {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 82px 0 36px;
}

.legal-hero h1 {
    max-width: 860px;
    font-size: clamp(3.4rem, 9vw, 7.6rem);
    line-height: 0.9;
}

.legal-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 26px 0 0;
    color: var(--soft);
    font-size: clamp(1.02rem, 2vw, 1.28rem);
    line-height: 1.58;
}

.legal-content {
    display: grid;
    gap: 18px;
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 78px;
}

.legal-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(16, 22, 25, 0.96), rgba(8, 12, 14, 0.96));
}

.legal-card h2 {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.legal-card p,
.legal-card li {
    color: var(--muted);
    line-height: 1.65;
}

.legal-card ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 22px;
}

.legal-card a {
    color: var(--green);
    font-weight: 800;
}

.support-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 42px 0;
}

.support-inner h2 {
    max-width: 700px;
}

.support-inner p {
    max-width: 620px;
    margin: 18px 0 0;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 46px;
    color: var(--muted);
}

.modal-backdrop {
    position: fixed;
    z-index: 10;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(16px);
}

.modal-backdrop[hidden] {
    display: none;
}

.modal {
    position: relative;
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 30px;
    background: var(--surface-strong);
    box-shadow: 0 30px 120px rgba(0, 0, 0, 0.52);
}

.close-button {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.close-button::before,
.close-button::after {
    position: absolute;
    top: 17px;
    left: 9px;
    width: 16px;
    height: 2px;
    background: var(--text);
    content: "";
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

.modal-heading {
    padding-right: 44px;
}

.feedback-form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.feedback-form label {
    display: grid;
    gap: 8px;
}

.feedback-form span {
    color: var(--soft);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
    color: var(--text);
    outline: none;
}

.feedback-form input {
    min-height: 46px;
    padding: 0 14px;
}

.feedback-form textarea {
    resize: vertical;
    padding: 14px;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px rgba(53, 222, 241, 0.12);
}

.file-field small {
    color: var(--muted);
}

.honeypot {
    position: absolute;
    left: -10000px;
}

.form-actions {
    justify-content: space-between;
    margin-top: 4px;
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--muted);
}

.form-status.is-error {
    color: var(--danger);
}

.form-status.is-success {
    color: var(--green);
}

@media (max-width: 880px) {
    .hero {
        min-height: 680px;
    }

    .topbar {
        align-items: flex-start;
    }

    .topbar-actions {
        gap: 8px;
    }

    .topbar-actions a {
        display: none;
    }

    .hero-content {
        padding-top: 90px;
    }

    .section-heading,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .support-inner,
    .footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .hero,
    .section,
    .support-band {
        padding-left: 0;
        padding-right: 0;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 72px 0 120px;
    }

    h1 {
        font-size: 4rem;
    }

    .hero-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .secondary-button,
    .ghost-button {
        width: 100%;
    }

    .modal {
        padding: 24px;
    }
}
