/*
 * The pre-launch stub at `/`. Deliberately standalone: it is not the public layout ADR-0006
 * describes (SCSS via sass-bundle, `public.css`) and must not become it by accretion. When the real
 * public UI lands, this file and its template are deleted, not refactored.
 *
 * Fonts are self-hosted subsets (SIL OFL) — no third-party request on the first page anyone sees.
 * `unicode-range` means a browser downloads only the subsets the page actually renders; Unbounded is
 * a variable font, so one file per subset serves every weight.
 */

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-400-cyrillic-ext-D3y7yCk.woff2") format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-400-cyrillic-I9n_YZD.woff2") format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-400-latin-ext-WlFXyXd.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-400-latin-78NWkmx.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: 'Unbounded';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/unbounded-cyrillic-ext-3cl_V9K.woff2") format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/unbounded-cyrillic-_eBBxmp.woff2") format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/unbounded-latin-ext-qByU6Wa.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/unbounded-latin-boXcx2G.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;
}

:root {
    --ink: #0f0e0c;
    --paper: #f2ede4;
    --accent: #ff4a1c;
    --muted: #c9c2b6;
    --faint: #8a8479;
    --rule: #2a2722;
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'IBM Plex Mono', monospace;
}

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

html,
body {
    margin: 0;
    background: var(--ink);
}

.coming-soon {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding: clamp(20px, 4vw, 48px);
    color: var(--paper);
    font-family: var(--font-body);
}

.coming-soon__logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.coming-soon__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
}

.coming-soon__kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.coming-soon__kicker::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.coming-soon__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(40px, 10.5vw, 200px);
    line-height: 0.88;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.coming-soon__body {
    margin: 0;
    max-width: 560px;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.6;
    color: var(--muted);
    text-wrap: pretty;
}

.coming-soon__form {
    max-width: 560px;
}

.coming-soon__field {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #3a362f;
}

.coming-soon__input {
    flex: 1 1 240px;
    min-width: 0;
    padding: 18px 20px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--paper);
    font-family: inherit;
    font-size: 16px;
}

.coming-soon__input::placeholder {
    color: var(--faint);
}

.coming-soon__field:focus-within {
    border-color: var(--muted);
}

.coming-soon__button {
    flex: 0 0 auto;
    padding: 18px 28px;
    border: none;
    background: var(--accent);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.coming-soon__button:hover,
.coming-soon__button:focus-visible {
    background: #ff6a42;
}

.coming-soon__errors ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    color: var(--accent);
    font-size: 14px;
}

.coming-soon__thanks {
    max-width: 560px;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--accent);
    font-size: 16px;
}

.coming-soon__footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    font-size: 13px;
    color: var(--faint);
}

.accent {
    color: var(--accent);
}
