:root {
    --navy: #0b1020;
    --navy-raised: #141a30;
    --purple: #6c47ff;
    --violet: #7c3aed;
    --lavender: #a78bfa;
    --lilac: #d8ccff;
    --ivory: #f6f6f8;
    --white: #ffffff;
    --slate: #5f667a;
    --success: #166534;
    --danger: #b42318;
    --line-dark: rgb(255 255 255 / 14%);
    --line-light: #dfe1e8;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-panel: 0 24px 70px rgb(4 7 19 / 30%);
    --focus: 0 0 0 3px rgb(167 139 250 / 42%);
    --font-ui:
        Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI',
        sans-serif;
}

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

html {
    min-width: 320px;
    background: var(--navy);
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(calc(-100% - 20px));
    transition: transform 160ms ease;
}

.skip-link:focus {
    outline: 2px solid var(--lavender);
    outline-offset: 2px;
    transform: translateY(0);
}

.site-shell {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 100svh;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: var(--navy);
}

.hero-media,
.hero-overlay,
.hero-texture {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -3;
    margin: 0;
    background: var(--navy);
}

.hero-media picture,
.hero-media img {
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
    object-position: 58% top;
    filter: saturate(0.9) contrast(1.04);
}

.hero-overlay {
    z-index: -2;
    background:
        linear-gradient(
            180deg,
            rgb(11 16 32 / 83%) 0%,
            rgb(11 16 32 / 91%) 50%,
            var(--navy) 100%
        ),
        linear-gradient(90deg, rgb(76 29 149 / 18%), transparent 72%);
}

.hero-texture {
    z-index: -1;
    opacity: 0.3;
    background-image: radial-gradient(
        circle at 1px 1px,
        rgb(255 255 255 / 12%) 1px,
        transparent 0
    );
    background-size: 30px 30px;
    mask-image: linear-gradient(90deg, rgb(0 0 0 / 35%), transparent 68%);
}

.site-header,
.site-main,
.site-footer {
    width: min(calc(100% - 32px), 1312px);
    margin-inline: auto;
}

.site-header {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 20px;
}

.brand-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 8px;
}

.brand-link img {
    width: clamp(136px, 36vw, 172px);
    height: auto;
}

.brand-link:focus-visible,
.status-pill:focus-visible,
.footer-links a:focus-visible,
.text-link:focus-visible,
.legal-nav a:focus-visible {
    outline: 2px solid var(--lavender);
    outline-offset: 3px;
}

.status-pill {
    display: inline-flex;
    min-height: 38px;
    flex: none;
    align-items: center;
    gap: 8px;
    border: 1px solid rgb(255 255 255 / 17%);
    border-radius: var(--radius-pill);
    padding-inline: 13px;
    background: rgb(20 26 48 / 78%);
    color: rgb(255 255 255 / 82%);
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}

.status-pill::before {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--lavender);
    box-shadow: 0 0 0 3px rgb(167 139 250 / 16%);
    content: '';
}

.site-main {
    display: flex;
    min-width: 0;
    align-items: center;
    padding-block: clamp(34px, 7vw, 72px);
}

.hero-copy {
    min-width: 0;
    max-width: 760px;
    animation: content-in 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--lilac);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 1px;
    background: var(--lavender);
    content: '';
}

h1 {
    max-width: 14ch;
    margin: 14px 0 0;
    color: var(--white);
    font-size: clamp(38px, 9.4vw, 68px);
    font-weight: 750;
    letter-spacing: -0.046em;
    line-height: 1.01;
}

h1 span {
    display: block;
    color: var(--lavender);
}

.hero-lead {
    max-width: 640px;
    margin: 22px 0 0;
    color: rgb(255 255 255 / 80%);
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.72;
}

.signup-panel {
    max-width: 700px;
    margin-top: clamp(28px, 4vw, 40px);
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 26px);
    background: rgb(255 255 255 / 98%);
    box-shadow: var(--shadow-panel);
    color: var(--navy);
}

.signup-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.signup-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(19px, 3vw, 23px);
    font-weight: 740;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.signup-heading p {
    max-width: 560px;
    margin: 6px 0 0;
    color: var(--slate);
    font-size: 13px;
    line-height: 1.6;
}

.signup-arrow {
    width: 26px;
    height: 26px;
    flex: none;
    color: var(--purple);
}

.signup-form {
    margin-top: 18px;
}

.field-label {
    display: inline-block;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 7px;
}

.email-input {
    width: 100%;
    min-width: 0;
    height: 54px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-md);
    padding: 0 16px;
    background: var(--ivory);
    color: var(--navy);
    font-size: 16px;
    outline: none;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease;
}

.email-input::placeholder {
    color: #747b8e;
    opacity: 1;
}

.email-input:hover {
    border-color: #c9c2e5;
}

.email-input:focus {
    border-color: var(--purple);
    background: var(--white);
    box-shadow: var(--focus);
}

.email-input[aria-invalid='true'] {
    border-color: var(--danger);
}

.submit-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: var(--radius-md);
    padding: 0 22px;
    background: linear-gradient(135deg, var(--purple), var(--violet));
    box-shadow: 0 10px 22px rgb(108 71 255 / 24%);
    color: var(--white);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        filter 160ms ease;
}

.submit-button svg {
    width: 18px;
    height: 18px;
    transition: transform 160ms ease;
}

.submit-button:hover:not(:disabled) {
    box-shadow: 0 14px 30px rgb(108 71 255 / 34%);
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.submit-button:hover:not(:disabled) svg {
    transform: translateX(2px);
}

.submit-button:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.form-message {
    display: none;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 0;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.form-message[data-visible='true'] {
    display: flex;
}

.form-message[data-kind='success'] {
    background: #ecfdf3;
    color: var(--success);
}

.form-message[data-kind='error'] {
    background: #fff1f0;
    color: var(--danger);
}

.form-message svg {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 1px;
}

.consent-copy {
    margin: 12px 0 0;
    color: var(--slate);
    font-size: 12px;
    line-height: 1.62;
}

.text-link {
    border-radius: 3px;
    color: #5935df;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: var(--violet);
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.feature-list {
    display: grid;
    max-width: 760px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    padding-block: 15px;
    border-top: 1px solid var(--line-dark);
}

.feature-list svg {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    color: var(--lavender);
}

.feature-list strong,
.feature-list small {
    display: block;
}

.feature-list strong {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.feature-list small {
    margin-top: 3px;
    color: rgb(255 255 255 / 67%);
    font-size: 12px;
    line-height: 1.5;
}

.professional-note {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    max-width: 700px;
    margin-top: 2px;
    padding-top: 18px;
    border-top: 1px solid var(--line-dark);
    color: rgb(255 255 255 / 70%);
    font-size: 13px;
    line-height: 1.65;
}

.professional-note svg {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    color: var(--lavender);
}

.professional-note p {
    margin: 0;
}

.professional-note strong {
    color: var(--white);
    font-weight: 700;
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-block: 17px 20px;
    border-top: 1px solid rgb(255 255 255 / 12%);
    color: rgb(255 255 255 / 57%);
    font-size: 12px;
    line-height: 1.55;
}

.site-footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 18px;
}

.footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 4px;
    color: rgb(255 255 255 / 74%);
    font-weight: 650;
    text-decoration: none;
}

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

.legal-page {
    min-height: 100svh;
    background:
        radial-gradient(
            circle at 86% -8%,
            rgb(108 71 255 / 18%),
            transparent 32rem
        ),
        var(--navy);
}

.legal-header,
.legal-main,
.legal-footer {
    width: min(calc(100% - 32px), 960px);
    margin-inline: auto;
}

.legal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 20px;
}

.legal-header img {
    width: 154px;
    height: auto;
}

.back-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 6px;
    color: rgb(255 255 255 / 76%);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover {
    color: var(--white);
}

.back-link:focus-visible {
    outline: 2px solid var(--lavender);
    outline-offset: 3px;
}

.legal-main {
    padding-block: clamp(42px, 8vw, 86px);
}

.legal-card {
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 54px);
    background: var(--white);
    box-shadow: var(--shadow-panel);
    color: var(--navy);
}

.legal-card h1 {
    max-width: none;
    margin-top: 0;
    color: var(--navy);
    font-size: clamp(34px, 6vw, 52px);
}

.legal-intro {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--slate);
    font-size: 17px;
    line-height: 1.72;
}

.legal-updated {
    margin: 12px 0 0;
    color: #767d8f;
    font-size: 12px;
}

.legal-sections {
    display: grid;
    gap: 28px;
    margin-top: 38px;
}

.legal-sections section {
    padding-top: 28px;
    border-top: 1px solid var(--line-light);
}

.legal-sections h2 {
    margin: 0;
    color: var(--navy);
    font-size: 20px;
    letter-spacing: -0.015em;
}

.legal-sections p,
.legal-sections li {
    color: #4d5569;
    font-size: 15px;
    line-height: 1.75;
}

.legal-sections p {
    margin: 10px 0 0;
}

.legal-sections ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.legal-sections a {
    color: #5935df;
    font-weight: 700;
    text-underline-offset: 3px;
}

.legal-footer {
    padding-block: 0 28px;
    color: rgb(255 255 255 / 60%);
    font-size: 12px;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-bottom: 12px;
}

.legal-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 4px;
    color: rgb(255 255 255 / 74%);
    font-weight: 650;
    text-decoration: none;
}

.legal-nav a:hover {
    color: var(--white);
}

@media (min-width: 640px) {
    .site-header,
    .site-main,
    .site-footer {
        width: min(calc(100% - 48px), 1312px);
    }

    .site-header {
        padding-block: 24px;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-list li {
        align-content: start;
        padding: 17px 20px;
    }

    .feature-list li:first-child {
        padding-left: 0;
    }

    .feature-list li + li {
        border-left: 1px solid var(--line-dark);
    }

    .site-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .footer-links {
        justify-content: flex-end;
    }

    .legal-header,
    .legal-main,
    .legal-footer {
        width: min(calc(100% - 48px), 960px);
    }
}

@media (min-width: 1024px) {
    .hero-media img {
        object-position: 68% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                var(--navy) 0%,
                rgb(11 16 32 / 98%) 37%,
                rgb(11 16 32 / 84%) 54%,
                rgb(11 16 32 / 24%) 78%,
                rgb(11 16 32 / 48%) 100%
            ),
            linear-gradient(
                180deg,
                rgb(11 16 32 / 42%) 0%,
                transparent 50%,
                rgb(11 16 32 / 92%) 100%
            );
    }

    .site-main {
        align-self: stretch;
        padding-block: clamp(36px, 5vh, 68px);
    }
}

@media (max-width: 419px) {
    .status-pill {
        max-width: 128px;
        white-space: normal;
    }

    .signup-arrow {
        display: none;
    }

    .submit-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-copy {
        animation: none;
    }

    .skip-link,
    .email-input,
    .submit-button,
    .submit-button svg {
        transition: none;
    }
}

@keyframes content-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
