@font-face {
    font-family: Opel;
    src: url('./assets/opel-next-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Opel;
    src: url('./assets/opel-next-bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
:root {
    --yellow: #ffea00;
    --ink: #141414;
    --gutter: max(6vw, calc((100vw - 1340px) / 2));
    color: var(--ink);
    font-family: Opel, Arial, sans-serif;
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}
h1,
h2,
h3,
p {
    margin: 0;
}
button,
input {
    font: inherit;
}
button,
a,
input {
    touch-action: manipulation;
}
a {
    color: inherit;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: wait;
    opacity: 0.7;
}
[hidden] {
    display: none !important;
}
:focus-visible {
    outline: 3px solid #0969b4;
    outline-offset: 4px;
}
.skip,
.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.skip:focus {
    z-index: 5;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    clip-path: none;
    background: white;
    padding: 0.7rem;
}
.mast {
    position: absolute;
    z-index: 1;
    top: 0;
    left: var(--gutter);
}
.brand-box {
    position: relative;
    isolation: isolate;
    display: block;
    width: min(90vw, clamp(15.75rem, 22vw, 21.5rem));
    padding: 0.85rem 2.5rem 0.9rem 1.1rem;
}
.brand-box::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: white;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    content: '';
}
.brand-box img {
    display: block;
    width: 100%;
    height: auto;
}
.wrap {
    margin-inline: var(--gutter);
}
.hero {
    background: var(--yellow);
    padding: clamp(7.4rem, 10vw, 10.2rem) var(--gutter) clamp(2rem, 4vw, 4.5rem);
}
.hero-copy {
    max-width: 72rem;
}
.eyebrow {
    font-size: 0.81rem;
    letter-spacing: 0.115em;
    font-weight: 700;
    text-transform: uppercase;
}
.hero h1,
.finished h2 {
    font-size: clamp(3.45rem, 6vw, 6.65rem);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 0.86;
    letter-spacing: -0.055em;
    margin: 1.35rem 0;
}
.hero h1 span {
    display: block;
    font-size: clamp(1.45rem, 2.05vw, 2.4rem);
    letter-spacing: -0.04em;
    line-height: 1.01;
    margin-top: 0.65em;
    max-width: 28ch;
}
.hero-intro {
    max-width: 36ch;
    font-size: clamp(1rem, 1.17vw, 1.2rem);
    line-height: 1.35;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    padding: 0.85rem 1.55rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    font-size: 1rem;
}
.black {
    background: var(--ink);
    color: white;
}
.black:hover {
    background: #373737;
}
.hero .button {
    margin-top: 1.55rem;
}
.registration {
    padding: clamp(3rem, 6.3vw, 6.4rem) var(--gutter);
    display: grid;
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 7vw, 8rem);
    scroll-margin-top: 18px;
}
.form-intro h2,
dialog h2 {
    font-size: clamp(2.25rem, 3.65vw, 4.3rem);
    line-height: 0.97;
    letter-spacing: -0.05em;
    max-width: 15ch;
    margin: 0.9rem 0 1.1rem;
}
.form-intro > p:not(.eyebrow) {
    max-width: 34ch;
}
.mode {
    margin-top: 1.6rem;
    padding-left: 0.9rem;
    border-left: 4px solid var(--yellow);
    font-size: 0.95rem;
}
.pots {
    display: grid;
    gap: 0.65rem;
    padding: 0;
    border: 0;
    margin: 0 0 1.6rem;
}
.pot {
    display: flex;
    gap: 1.05rem;
    align-items: center;
    padding: 1rem 1.2rem;
    min-height: 78px;
    border: 1px solid #aaa;
    cursor: pointer;
}
.pot:hover {
    border-color: #171717;
}
.pot:has(input:checked) {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
    background: #fffce6;
}
.pot input,
.consent input {
    accent-color: var(--ink);
    height: 21px;
    width: 21px;
    flex: none;
    margin: 0;
}
.pot small,
.pot strong {
    display: block;
}
.pot strong {
    font-size: 1.17rem;
}
.pot small {
    font-size: 0.95rem;
    margin-top: 0.12rem;
}
.field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}
.field label {
    font-weight: 700;
}
.field input {
    width: 100%;
    min-width: 0;
    border: 1px solid #777;
    padding: 0.7rem 0.85rem;
    min-height: 48px;
    border-radius: 0;
    background: white;
    color: var(--ink);
}
.fields {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 1rem;
}
.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0.45rem 0 1.2rem;
}
.inline {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
    text-underline-offset: 3px;
    text-decoration: underline;
    font: inherit;
}
.error {
    color: #9a2207;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.error:empty {
    display: none;
}
.finished {
    background: var(--yellow);
    padding: clamp(7.4rem, 10vw, 10.2rem) var(--gutter) clamp(2.4rem, 7vw, 6rem);
    min-height: 73vh;
}
.finish-box {
    max-width: 650px;
}
.finished h2 {
    margin: 1.7rem 0;
}
.finish-message {
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.newsletter {
    border-top: 1px solid #635d26;
    padding-top: 1.2rem;
    margin: 1.6rem 0;
}
.newsletter h3 {
    font-size: 1.35rem;
}
.newsletter p {
    margin: 0.25rem 0 0.5rem;
    max-width: 48ch;
}
.finished .button {
    margin-top: 0.5rem;
}
.back-button {
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
}
.back-button:hover {
    background: white;
}
footer {
    border-top: 1px solid #d2d2cf;
    background: white;
    color: #444;
}
.foot,
.foot nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.65rem;
}
.foot {
    justify-content: space-between;
    padding-block: 1.45rem;
    font-size: 0.875rem;
}
.foot-name {
    font-weight: 700;
}
.foot a,
.foot button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.22em;
}
.foot a:hover,
.foot button:hover {
    color: black;
}
dialog {
    max-width: min(32rem, 90vw);
    border: 0;
    padding: 2rem;
    color: var(--ink);
}
dialog::backdrop {
    background: #0009;
}
dialog h2 {
    font-size: 2rem;
    margin-top: 0;
    overflow-wrap: anywhere;
}
dialog .button {
    display: block;
    margin-top: 1.5rem;
}
@media (min-width: 900px) {
    .hero-copy {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
        column-gap: clamp(2.5rem, 7vw, 7rem);
        align-items: end;
    }
    .hero .eyebrow {
        grid-column: 1 / -1;
    }
    .hero h1 {
        grid-row: 2 / 4;
        margin-bottom: 0;
    }
    .hero-intro {
        grid-column: 2;
    }
    .hero .button {
        justify-self: start;
        align-self: start;
    }
}
@media (max-width: 800px) {
    :root {
        --gutter: 5vw;
    }
    .registration {
        gap: 2rem;
        grid-template-columns: 0.8fr 1.2fr;
    }
    .fields {
        display: block;
    }
}
@media (max-width: 620px) {
    .foot {
        align-items: flex-start;
        flex-direction: column;
    }
    .hero {
        padding: 6.85rem var(--gutter) 1.8rem;
    }
    .hero h1 {
        font-size: clamp(3.05rem, 12.7vw, 4.8rem);
        margin: 1rem 0;
    }
    .hero h1 span {
        font-size: 1.47rem;
        max-width: 100%;
        margin-top: 0.55em;
    }
    .hero-intro {
        max-width: 41ch;
    }
    .hero .button {
        margin-top: 1.1rem;
    }
    .registration {
        display: block;
        padding-block: 2.5rem;
    }
    .form-intro {
        margin-bottom: 1.5rem;
    }
    .mode {
        margin-top: 0.9rem;
    }
    .form-intro h2 {
        font-size: 2.5rem;
    }
    .pot {
        padding: 0.85rem;
    }
    .registration .button {
        width: 100%;
    }
    .finished h2 {
        font-size: clamp(3.1rem, 13vw, 4.7rem);
    }
}
@media (prefers-reduced-motion: reduce) {
    :root {
        scroll-behavior: auto;
    }
}
.terms-link {
    display: block;
    font-size: 0.94rem;
    margin-top: 0.25rem;
}
