:root {
    --ink: #102b3f;
    --muted: #536b79;
    --blue: #295d78;
    --blue-dark: #163e56;
    --aqua: #bde4df;
    --aqua-soft: #edf8f6;
    --sky-soft: #eef5f8;
    --line: #cfdee4;
    --white: #ffffff;
    --success: #176a59;
    --error: #a33b31;
    --radius: 1.5rem;
    --shadow: 0 1.5rem 4rem rgba(28, 67, 86, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
}

a {
    color: var(--blue-dark);
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--blue);
}

:focus-visible {
    outline: 3px solid #298c9a;
    outline-offset: 3px;
}

.shell {
    width: min(100% - 2rem, 67.5rem);
    margin-inline: auto;
}

.shell--wide {
    width: min(100% - 1.25rem, 80rem);
}

.shell--form {
    width: min(100% - 2rem, 43.75rem);
}

.shell--reading {
    width: min(100% - 2rem, 43.75rem);
}

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

.hero {
    padding: 3rem 0 0;
    text-align: center;
}

.hero__copy {
    margin-bottom: 2rem;
}

.wordmark {
    margin: 0 0 1.5rem;
    color: var(--blue-dark);
    font-size: 0.85rem;
    font-weight: 760;
    letter-spacing: 0.28em;
    line-height: 1;
}

h1,
h2 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hero h1 {
    max-width: 17ch;
    margin-inline: auto;
    font-size: clamp(2.4rem, 9.8vw, 5.4rem);
    font-weight: 630;
}

.hero-visual {
    position: relative;
    min-height: 15rem;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, var(--sky-soft), var(--aqua-soft));
    box-shadow: var(--shadow);
}

.hero-visual::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(16, 43, 63, 0.08);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.hero-visual img.is-missing {
    visibility: hidden;
}

.waitlist {
    padding: 5rem 0 4.5rem;
}

.section-heading {
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 650;
}

.section-heading p {
    max-width: 35rem;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: clamp(1rem, 3vw, 1.12rem);
}

.signup-form {
    position: relative;
    margin-top: 2.25rem;
}

.email-row {
    display: grid;
    gap: 0.75rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 650;
}

input[type="email"] {
    width: 100%;
    min-height: 3.5rem;
    padding: 0.75rem 1rem;
    color: var(--ink);
    border: 1px solid #aebfc8;
    border-radius: 0.8rem;
    background: var(--white);
    font: inherit;
}

input[type="email"]::placeholder {
    color: #718692;
}

input[type="email"]:focus {
    border-color: #298c9a;
}

button {
    min-height: 3.5rem;
    padding: 0.8rem 1.25rem;
    align-self: end;
    color: var(--white);
    border: 1px solid var(--blue-dark);
    border-radius: 0.8rem;
    background: var(--blue-dark);
    font: inherit;
    font-weight: 720;
    cursor: pointer;
}

button:hover {
    border-color: var(--blue);
    background: var(--blue);
}

button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.consent-field {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: 0.65rem;
    align-items: start;
    margin-top: 1rem;
}

.consent-field input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0.2rem 0 0;
    accent-color: var(--blue-dark);
}

.consent-field label {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

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

.form-status {
    min-height: 1.55rem;
    margin: 0.85rem 0 0;
    font-size: 0.92rem;
    font-weight: 650;
}

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

.form-status--duplicate {
    color: var(--blue-dark);
}

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

.stores {
    margin-top: 4rem;
    text-align: center;
}

.stores > p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 650;
}

.store-list {
    display: grid;
    gap: 0.65rem;
}

.store-item {
    display: flex;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    gap: 0.7rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: #fbfdfd;
    cursor: default;
}

.store-item svg {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.store-item span {
    display: grid;
    text-align: left;
    line-height: 1.15;
}

.store-item strong {
    font-size: 0.86rem;
}

.store-item small {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-footer {
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--aqua-soft);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
    font-size: 0.86rem;
}

.footer-inner p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.privacy-page {
    min-height: calc(100vh - 5rem);
    padding: 3rem 0 5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 3rem;
    font-weight: 650;
    text-decoration: none;
}

.privacy-page h1 {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
}

.privacy-updated {
    margin: 0.8rem 0 3rem;
    color: var(--muted);
}

.privacy-page h2 {
    margin-top: 2.5rem;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.privacy-page h2 + p {
    margin-top: 0.7rem;
}

.privacy-page p {
    color: var(--muted);
}

@media (min-width: 40rem) {
    .hero {
        padding-top: 4.5rem;
    }

    .hero__copy {
        margin-bottom: 3rem;
    }

    .wordmark {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .email-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .email-row button {
        min-width: 10.5rem;
    }

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

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 64rem) {
    .hero {
        padding-top: 5.5rem;
    }

    .waitlist {
        padding-top: 7rem;
        padding-bottom: 6rem;
    }

    .hero-visual {
        border-radius: 2rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
