/* Inter and Outfit, self-hosted (variable fonts; SIL Open Font License, see fonts/*-OFL.txt). */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/outfit-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/outfit-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Waffless holding page for www.waffless.com. Deployed with `make deploy-landing`. */
:root {
    --bg: #0b1530;
    --navy: #13244a;
    --text: #f5f2ec;
    --muted: #9aa5bd;
    --line: rgba(255, 255, 255, 0.09);
    --orange: #e56a00;
    --amber: #f6ae2d;
    --gradient: linear-gradient(100deg, var(--orange), var(--amber));
    --font-display: "Outfit", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color-scheme: dark;
}

* { box-sizing: border-box; }

/* The html background stops body's background being moved to the viewport, where it repeated
   every screen-height. Body then paints one gradient over its full height, however long the page. */
html {
    height: 100%;
    background: var(--bg);
}

body {
    min-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(60rem 40rem at 85% -10%, rgba(229, 106, 0, 0.16), transparent 60%),
        radial-gradient(50rem 40rem at -10% 100%, rgba(19, 36, 74, 0.9), transparent 70%),
        linear-gradient(180deg, var(--bg) 0%, #0f1c3d 55%, var(--navy) 100%);
    background-repeat: no-repeat;
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.top {
    padding: 2rem 1.5rem 0;
    text-align: center;
}

.logo {
    width: 9.5rem;
    height: auto;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 50rem;
    margin: 0 auto;
    padding: 4rem 1rem;
    text-align: center;
}

.eyebrow {
    margin: 0 0 1.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(246, 174, 45, 0.35);
    border-radius: 999px;
    color: var(--amber);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 8vw, 4.75rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.without {
    font-style: italic;
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.12em;
}

.accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    max-width: 48rem;
    margin: 1.75rem 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    text-wrap: pretty;
}

.join {
    width: 100%;
    max-width: 28rem;
    margin: 2.5rem 0 0;
}

.join-field {
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s;
}

.join-field:focus-within {
    border-color: rgba(246, 174, 45, 0.6);
}

.join input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.9rem;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    outline: none;
}

.join input[type="email"]::placeholder {
    color: rgba(154, 165, 189, 0.7);
}

.join button {
    flex-shrink: 0;
    padding: 0.65rem 1.3rem;
    border: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}

.join button:hover { transform: translateY(-1px); }

.join button:disabled { opacity: 0.6; cursor: default; }

.join button:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.join-consent {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.6rem;
    margin: 1rem 0 0;
    color: var(--text);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
}

.join-consent input {
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.15rem 0 0;
    accent-color: var(--amber);
    cursor: pointer;
}

.join-note {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    text-wrap: balance;
}

.join.is-done .join-field,
.join.is-done .join-consent { display: none; }

.join.is-done .join-note {
    margin: 0;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(246, 174, 45, 0.35);
    border-radius: 1rem;
    color: var(--amber);
    font-size: 0.95rem;
}

.join.is-error .join-note { color: #ff9b8a; }

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

.points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 3.5rem 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.points li {
    padding: 1.4rem 1rem 0;
    color: var(--text);
    font-size: 0.95rem;
}

.points li + li {
    border-left: 1px solid var(--line);
}

.points span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--amber);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.footer a {
    color: inherit;
    text-underline-offset: 0.2em;
}

.join-note a {
    color: var(--text);
    text-underline-offset: 0.2em;
}

/* Text pages (privacy) */
.doc {
    flex: 1;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    padding: 3rem 1rem 2rem;
}

.doc h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
}

.doc-updated {
    margin: 0.5rem 0 2rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.doc h2 {
    margin: 2.25rem 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.doc p,
.doc li {
    color: #d5dae5;
}

.doc ul {
    padding-left: 1.25rem;
}

.doc a {
    color: var(--amber);
    text-underline-offset: 0.2em;
}

.doc-back {
    margin-top: 3rem;
}

.footer {
    padding: 2rem 1rem;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-align: center;
}

@media (max-width: 600px) {
    .hero { padding: 3rem 1rem; }

    .points { grid-template-columns: 1fr; }

    .points li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--line);
    }

    .points li + li { border-left: 0; }
}
