.eod-os {
    --os-ink: #101019;
    --os-paper: #f1f0eb;
    --os-muted: #c5c5cd;
    --os-accent: #5de4ff;
    color: #fff;
    background: #0b0b10;
    line-height: 1.63;
}

.eod-os-inner {
    width: min(100% - 2 * clamp(18px, 5vw, 72px), 1120px);
    margin-inline: auto;
    min-width: 0;
}

.eod-os-hero {
    padding: calc(var(--eod-header-safe-top, 95px) + clamp(44px, 9vw, 130px)) 0 clamp(74px, 11vw, 152px);
    background: radial-gradient(ellipse at 84% 14%, #28244d 0%, transparent 58%), #0b0b10;
    border-bottom: 1px solid #373743;
}

.eod-os-section {
    padding-block: clamp(58px, 9vw, 112px);
    border-bottom: 1px solid #373743;
}

.eod-os-paper {
    background: var(--os-paper);
    color: var(--os-ink);
    --os-muted: #474650;
    --os-accent: #343184;
}

.eod-os h1,
.eod-os h2,
.eod-os h3 {
    line-height: 1.08;
    text-wrap: balance;
}

.eod-os h1 {
    font-size: clamp(2.65rem, 7.5vw, 6.5rem);
    max-width: 14ch;
    letter-spacing: -.068em;
}

.eod-os h2 {
    font-size: clamp(2rem, 4.7vw, 4rem);
    letter-spacing: -.045em;
    max-width: 22ch;
}

.eod-os h3 {
    font-size: clamp(1.22rem, 1.9vw, 1.55rem);
}

.eod-os p {
    max-width: 65ch;
    margin-block: .8rem 0;
}

.eod-os .eod-os-kicker {
    color: var(--os-accent);
    font-size: .77rem;
    letter-spacing: .16em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 1.15rem;
}

.eod-os .eod-os-lead {
    color: var(--os-muted);
    font-size: clamp(1.12rem, 2.4vw, 1.55rem);
    max-width: 47ch;
    margin-top: 1.45rem;
}

.eod-os a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .19em;
}

.eod-os a:hover {
    color: var(--os-accent);
}

.eod-os .eod-os-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    margin-top: 1.5rem;
    padding: .7rem 1.2rem;
    background: #5de4ff;
    color: #101019;
    border: 2px solid transparent;
    border-radius: 2px;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.eod-os-paper .eod-os-button {
    background: #222048;
    color: #fff;
}

.eod-os .eod-os-button:hover {
    background: #c3f6ff;
    color: #101019;
    border-color: #343184;
}

.eod-os .eod-os-button:disabled {
    opacity: .65;
    cursor: wait;
}

.eod-os .eod-os-note {
    color: var(--os-muted);
    font-size: .94rem;
}

.eod-os-grid,
.eod-os-fields {
    display: grid;
    gap: 1rem;
    margin-block: 1.65rem;
}

.eod-os-grid article {
    border: 1px solid #40404b;
    padding: clamp(18px, 2.7vw, 30px);
}

.eod-os-paper .eod-os-grid article {
    border-color: #bbb8c8;
}

.eod-os-grid p {
    color: var(--os-muted);
}

.eod-os #request-session,
.eod-os [data-eod-os-result],
.eod-os :is(input, select, textarea, summary, a, button) {
    scroll-margin-top: calc(var(--eod-header-safe-top, 95px) + 12px);
}

.eod-os :focus-visible {
    outline: 3px solid var(--os-accent);
    outline-offset: 4px;
}

.eod-os-form,
.eod-os-result {
    margin-top: 2rem;
    padding: clamp(16px, 4vw, 36px);
    max-width: 800px;
    background: #fff;
    border: 1px solid #bbb8c8;
}

.eod-os-form .eod-os-note:first-of-type {
    margin-top: 0;
}

.eod-os-form .eod-os-fields {
    margin-block: 1rem 1.4rem;
    row-gap: 1.2rem;
}

.eod-os label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 700;
}

.eod-os label span {
    font-weight: 400;
    color: var(--os-muted);
}

.eod-os :is(input:not([type=hidden]), select, textarea) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: .6rem .65rem;
    color: var(--os-ink);
    background: #fff;
    border: 1px solid #646474;
    border-radius: 2px;
    font: inherit;
}

.eod-os textarea {
    resize: vertical;
}

.eod-os-wide {
    grid-column: 1 / -1;
}

.eod-os-trap {
    position: absolute;
    overflow: hidden;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
}

.eod-os [aria-invalid=true] {
    border: 2px solid #8b1616;
}

.eod-os .eod-os-field-error,
.eod-os .eod-os-error-summary {
    color: #811515;
}

.eod-os-error-summary {
    border: 1px solid currentColor;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}

.eod-os-error-summary p {
    margin: 0;
}

.eod-os-error-summary ul {
    margin: .3rem 0 0 1.15rem;
}

.eod-os details {
    max-width: 780px;
    padding-block: .7rem;
    border-bottom: 1px solid #40404b;
}

.eod-os details:first-of-type {
    margin-top: 1.3rem;
}

.eod-os summary {
    padding: .4rem 0;
    cursor: pointer;
    font-weight: 700;
}

.eod-os details p {
    color: var(--os-muted);
    margin: .25rem 0 .5rem;
}

@media (min-width: 640px) {
    .eod-os-grid-two,
    .eod-os-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .eod-os-grid-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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