:root {
    color-scheme: dark;
    --bg: #07111a;
    --bg-glow: #32a4a515;
    --dot: #d9e6f2;
    --text: #f3f7fb;
    --muted: rgba(217, 230, 242, 0.78);
    --cta-bg: rgba(217, 230, 242, 0.12);
    --cta-border: rgba(217, 230, 242, 0.32);
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top, var(--bg-glow) 0%, var(--bg) 55%),
        var(--bg);
}

body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
}

body.page {
    display: block;
    place-items: normal;
    padding: 0 24px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    padding: 20px 24px;
    background: linear-gradient(
        180deg,
        rgba(7, 17, 26, 1) 0%,
        rgba(7, 17, 26, 1) 48%,
        rgba(7, 17, 26, 0.78) 78%,
        rgba(7, 17, 26, 0) 100%
    );
    pointer-events: none;
    box-sizing: border-box;
}

.site-header__inner {
    width: min(96vw, 1400px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    pointer-events: auto;
}

.hero {
    position: relative;
    width: min(calc(100vw - 48px), 1200px);
}

.hero-stage {
    position: relative;
    width: 100%;
}

.site-header__logo {
    width: min(300px, 30vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 30px rgba(7, 17, 26, 0.28));
    pointer-events: auto;
}

.site-header__brand {
    font-family: Georgia, sans-serif;
    font-weight: normal;
    font-size: 38px;
    color: #dbffff;
    padding-left: 8px;
    margin: 0;
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    padding: 20px 24px;
    background: linear-gradient(
        0deg,
        rgba(7, 17, 26, 1) 0%,
        rgba(7, 17, 26, 0.8) 72%,
        rgba(7, 17, 26, 0) 100%
    );
    box-sizing: border-box;
}

.site-footer__inner {
    width: min(96vw, 1400px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-footer__menu {
    display: inline-flex;
    align-items: center;
    gap: 28px;
}

.site-footer__menu a {
    color: var(--muted);
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.site-footer__menu a:hover {
    color: var(--text);
}

.site-footer__menu a[aria-current="page"] {
    color: var(--text);
}

.hero-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    pointer-events: none;
    text-align: center;
    padding: 32px;
}

.hero-copy h1 {
    margin: 0;
    max-width: 10ch;
    color: var(--text);
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: clamp(2.5rem, 5.8vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-wrap: balance;
    text-shadow: 0 10px 30px rgba(7, 17, 26, 0.34);
}

.hero-copy__cta {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid var(--cta-border);
    background: linear-gradient(
        180deg,
        rgba(217, 230, 242, 0.2) 0%,
        var(--cta-bg) 100%
    );
    color: var(--text);
    text-decoration: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    box-shadow:
        0 18px 45px rgba(7, 17, 26, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.hero-copy__cta:hover {
    transform: translateY(-1px);
    background: linear-gradient(
        180deg,
        rgba(217, 230, 242, 0.26) 0%,
        rgba(217, 230, 242, 0.14) 100%
    );
    border-color: rgba(217, 230, 242, 0.48);
}

svg {
    width: 100%;
    height: auto;
    display: block;
}

.page-shell {
    width: min(calc(100vw - 48px), 1120px);
    margin: 0 auto;
    padding: 148px 0 128px;
    box-sizing: border-box;
}

.page-hero {
    display: grid;
    gap: 24px;
    padding: 24px 0 48px;
}

.page-hero__eyebrow,
.section-heading__eyebrow {
    margin: 0;
    color: #9fc7cf;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0;
    max-width: 12ch;
    color: var(--text);
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: clamp(2.9rem, 7vw, 6.1rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.page-hero__lede {
    max-width: 62ch;
    margin: 0;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    line-height: 1.68;
}

.page-section {
    padding: 42px 0;
    border-top: 1px solid rgba(217, 230, 242, 0.08);
}

.page-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0;
    color: var(--text);
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 62ch;
    margin: 0;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.68;
}

.inline-link {
    color: var(--text);
    text-decoration-color: rgba(217, 230, 242, 0.34);
    text-underline-offset: 0.18em;
}

.interest-form {
    display: grid;
    gap: 24px;
    max-width: 860px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 10px;
}

.form-field--full {
    max-width: 860px;
}

.form-field span {
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-field span em {
    color: var(--muted);
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(217, 230, 242, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(
            180deg,
            rgba(217, 230, 242, 0.08) 0%,
            rgba(217, 230, 242, 0.03) 100%
        ),
        rgba(7, 17, 26, 0.56);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    padding: 15px 16px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.form-field textarea {
    min-height: 168px;
    resize: vertical;
}

.form-field select {
    appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(217, 230, 242, 0.42);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(217, 230, 242, 0.34);
    box-shadow:
        0 0 0 3px rgba(159, 199, 207, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    align-items: center;
}

.form-note {
    padding: 12px 14px;
    border: 1px solid rgba(217, 230, 242, 0.12);
    border-radius: 16px;
    background: rgba(217, 230, 242, 0.04);
    margin: 0;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.98rem;
    line-height: 1.6;
}

.form-note[data-state="pending"] {
    border-color: rgba(159, 199, 207, 0.28);
    color: #d9eef0;
}

.form-note[data-state="success"] {
    border-color: rgba(122, 204, 168, 0.32);
    color: #d6f3e3;
}

.form-note[data-state="error"] {
    border-color: rgba(233, 147, 147, 0.28);
    color: #ffd3d3;
}

.hero-copy__cta:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.principles-grid,
.standards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.principle-card,
.standard-card {
    padding: 22px 22px 24px;
    border: 1px solid rgba(217, 230, 242, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(
            180deg,
            rgba(217, 230, 242, 0.08) 0%,
            rgba(217, 230, 242, 0.03) 100%
        ),
        rgba(7, 17, 26, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.principle-card h3,
.standard-card h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.principle-card p,
.standard-card p,
.narrative p,
.commitments-list li {
    margin: 0;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

.narrative {
    display: grid;
    gap: 18px;
    max-width: 68ch;
}

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

.commitments-list li {
    padding-top: 14px;
    border-top: 1px solid rgba(217, 230, 242, 0.12);
}

.commitments-list strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.94rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .principles-grid,
    .standards-grid,
    .commitments-list,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .page-shell {
        padding-top: 130px;
        padding-bottom: 120px;
    }

    .page-hero {
        padding-bottom: 36px;
    }
}
