:root {
    --ink: #0c2d5b;
    --ink-soft: #1d3f70;
    --teal: #0f9ea9;
    --teal-pale: #eaf6f6;
    --line: rgba(12, 45, 91, 0.14);
    --radius: 22px;
    --max: 880px;
}

* {
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    color: var(--ink);
    background: #ffffff;
    font-family: "Manrope", "Trebuchet MS", sans-serif;
}

body {
    min-height: 100vh;
    line-height: 1.5;
}

.wrap {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}

.banner {
    padding: 1.1rem 0 0.6rem;
}

.banner-card {
    background: #ffffff;
    border: 0;
    border-radius: 0;
    padding: clamp(0.7rem, 1.5vw, 1.15rem);
    display: flex;
    justify-content: center;
}

.banner-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 220px;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Manrope", "Trebuchet MS", sans-serif;
    letter-spacing: -0.01em;
    color: var(--ink-soft);
    font-weight: 800;
}

h1 {
    font-size: clamp(2rem, 5.2vw, 4rem);
    line-height: 1.02;
}

h2 {
    font-size: clamp(1.5rem, 3.4vw, 2.15rem);
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    line-height: 1.25;
}

p {
    margin: 0;
    color: rgba(12, 45, 91, 0.76);
}

strong {
    color: var(--ink);
    font-weight: 700;
}

a {
    color: var(--teal);
}

.icon {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: -6px;
    font-size: 26px;
    color: var(--teal);
}

.section-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-head h2 {
    margin: 0;
}

.step-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-head .icon {
    font-size: 20px;
    vertical-align: -4px;
}

.who .icon {
    font-size: 15px;
    vertical-align: -2px;
    color: currentColor;
    margin-right: 0.15rem;
}

.btn-solid .icon {
    font-size: 20px;
    vertical-align: -4px;
    color: currentColor;
    margin-left: 0.2rem;
}

.finale .icon {
    font-size: 18px;
    vertical-align: -3px;
    margin-right: 0.1rem;
}

.section {
    padding: 3rem 0;
}

.section+.section {
    border-top: 1px solid var(--line);
}

.prose {
    max-width: 62ch;
}

.prose>*+* {
    margin-top: 0.9rem;
}

.prose h2 {
    margin-bottom: 0.2rem;
}

.prose h3 {
    margin-top: 1.6rem;
}

.statement {
    font-size: 1.08rem;
}

.conversation {
    display: grid;
    gap: 0.7rem;
    margin: 1.3rem 0;
    max-width: 62ch;
}

.msg {
    max-width: 30rem;
    padding: 0.8rem 1.05rem;
    border-radius: 14px;
    font-size: 0.98rem;
    line-height: 1.5;
}

.msg .who {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.msg-contributor {
    background: #f4f6f8;
    color: var(--ink);
    border: 1px solid var(--line);
    justify-self: start;
}

.msg-contributor .who {
    color: rgba(12, 45, 91, 0.55);
}

.msg-scriblet {
    background: var(--ink);
    color: #ffffff;
    justify-self: end;
}

.msg-scriblet .who {
    color: rgba(255, 255, 255, 0.68);
}

.steps {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
    max-width: 62ch;
}

.step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.1rem;
    padding: 1.5rem 0;
}

.step+.step {
    border-top: 1px solid var(--line);
}

.step-index {
    font-family: "Manrope", "Trebuchet MS", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--teal);
    line-height: 1;
}

.step-body>*+* {
    margin-top: 0.6rem;
}

.btn-solid {
    display: inline-block;
    background: var(--ink);
    color: #ffffff;
    text-decoration: none;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 200ms ease;
}

.btn-solid:hover {
    background: var(--ink-soft);
}

.finale a:not(.btn-solid) {
    color: var(--ink-soft);
    font-weight: 700;
}

dialog#waitlistDialog {
    border: none;
    border-radius: var(--radius);
    padding: 0;
    width: min(30rem, calc(100vw - 2rem));
    box-shadow: 0 24px 60px rgba(12, 45, 91, 0.25);
}

dialog#waitlistDialog::backdrop {
    background: rgba(12, 45, 91, 0.45);
    backdrop-filter: blur(2px);
}

.dialog-inner {
    padding: clamp(1.4rem, 3vw, 1.9rem);
}

.dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dialog-head h2 {
    margin: 0;
}

.dialog-close {
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--ink-soft);
    padding: 0.2rem;
    line-height: 1;
    border-radius: 999px;
}

.dialog-close:hover {
    background: var(--line);
}

.dialog-close .icon {
    color: inherit;
    font-size: 22px;
    vertical-align: -4px;
}

.dialog-sub {
    color: rgba(12, 45, 91, 0.72);
    margin: 0.4rem 0 1.2rem;
}

.field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.field label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-soft);
}

.field label.req::after {
    content: " *";
    color: var(--teal);
}

.field input,
.field textarea {
    font: inherit;
    color: var(--ink);
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--teal);
    outline-offset: 1px;
}

.field textarea {
    resize: vertical;
    min-height: 4.5rem;
}

.dialog-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.4rem;
}

.form-status {
    font-size: 0.85rem;
    color: rgba(12, 45, 91, 0.7);
}

.form-status.error {
    color: #b3261e;
}

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

.btn-solid[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem 1.4rem;
}

.site-footer p {
    font-size: 0.85rem;
    color: rgba(12, 45, 91, 0.55);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Legal / policy pages */
.legal {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.5rem 0 1rem;
    line-height: 1.65;
}

.legal-logo {
    display: block;
    height: 40px;
    width: auto;
    margin: 0 0 1.5rem;
}

.legal h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.6rem);
    line-height: 1.1;
}

.legal h2 {
    margin-top: 2.2rem;
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
}

.legal p,
.legal li {
    color: rgba(12, 45, 91, 0.82);
}

.legal p+p,
.legal ul,
.legal ol {
    margin-top: 0.9rem;
}

.legal .meta {
    color: rgba(12, 45, 91, 0.6);
    margin-top: 0.6rem;
}

.legal .notice {
    background: var(--teal-pale);
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 1.2rem;
}

.legal footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: rgba(12, 45, 91, 0.6);
}

@media (max-width: 980px) {
    .banner-image {
        max-height: 190px;
    }

    .msg {
        max-width: 90%;
    }
}

@media (max-width: 680px) {
    .wrap {
        width: min(var(--max), calc(100% - 1rem));
    }

    .banner {
        padding-top: 0.55rem;
    }

    .banner-card {
        border-radius: 16px;
    }

    .banner-image {
        max-height: 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
