* { margin: 0; padding: 0; box-sizing: border-box; }

@font-face {
    font-family: 'fnt_a1';
    src: url('/static/chunks/f/v2/77/f3a9c1.woff2') format('woff2');
}

@font-face {
    font-family: 'fnt_b2';
    src: url('/static/chunks/f/v2/77/9b7e2d.woff2') format('woff2');
}

:root {
    --bg: #f0efeb;
    --tile: #e4e3de;
    --ink: #111111;
    --mid: #888;
    --blue: #1a1aff;
    --fnt_a1: 'fnt_a1';
    --fnt_b2: 'fnt_b2';
}

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--fnt_a1);
    font-size: 12px;
    line-height: 1;
    overflow-x: hidden;
}

/* ─────────────────────────────
 *  PAGE SHELL
 ─ *──────────────────────────── */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── RULERS ── */
.ruler {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}
.ruler.bottom {
    font-family: var(--fnt_a1);
    border-bottom: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ruler.bottom .ruler-text {
    font-size: 9px;
    color: rgba(17,17,17,0.15);
    user-select: none;
}

.ruler.bottom .ruler-copy {
    font-size: 9px;
    letter-spacing: 0.12em;
    color: rgba(17,17,17,0.22);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── CENTRE CONTENT ── */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 20px 48px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

/* Logo */
.logo {
    font-family: var(--fnt_a1);
    font-size: 11px;
    letter-spacing: 0.12em;
    background: var(--ink);
    color: var(--bg);
    padding: 5px 9px;
    display: inline-block;
    margin-bottom: 52px;
    animation: fadeUp 0.7s 0.1s both;
}

/* Heading */
.heading {
    font-family: var(--fnt_b2);
    font-size: clamp(36px, 12vw, 72px);
    letter-spacing: -0.03em;
    line-height: 0.92;
    color: var(--ink);
    margin-bottom: 32px;
    animation: fadeUp 0.8s 0.2s both;
}
.heading em {
    font-style: normal;
    font-size: 16px;
    color: rgba(17,17,17,0.38);
}

/* Divider */
.divider {
    width: 32px;
    height: 1px;
    background: rgba(0,0,0,0.18);
    margin-bottom: 28px;
    animation: fadeUp 0.8s 0.3s both;
}

/* Body text */
.body-text {
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.85;
    color: var(--mid);
    max-width: 380px;
    margin-bottom: 52px;
    animation: fadeUp 0.8s 0.35s both;
}

/* ── NEWSLETTER BLOCK ── */
.nl-block {
    animation: fadeUp 0.8s 0.45s both;
}
.nl-label {
    font-size: 9px;
    letter-spacing: 0.05em;
    color: var(--mid);
    margin-bottom: 14px;
    display: block;
}
.nl-row {
    display: flex;
    gap: 0;
}
.nl-input {
    font-family: var(--fnt_a1);
    font-size: 11px;
    letter-spacing: 0.05em;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    border-right: none;
    padding: 13px 16px;
    color: var(--ink);
    outline: none;
    flex: 1;
    min-width: 0;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    border-radius: 0;
}
.nl-input::placeholder { color: var(--mid); }
.nl-input:focus { border-color: var(--ink); }
.nl-input.error { border-color: rgba(200,50,50,0.5); }
.nl-btn {
    font-family: var(--fnt_a1);
    font-size: 9px;
    letter-spacing: 0.2em;
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--ink);
    padding: 13px 20px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    -webkit-appearance: none;
    border-radius: 0;
}
.nl-btn:hover { background: var(--blue); border-color: var(--blue); }
.nl-note {
    font-size: 9px;
    letter-spacing: 0.08em;
    color: rgba(17,17,17,0.28);
    margin-top: 10px;
    line-height: 1.6;
}

/* Success state */
.nl-success {
    display: none;
}
.nl-success-mark {
    font-family: var(--fnt_a1);
    font-style: normal;
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 10px;
    display: block;
}
.nl-success-msg {
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.85;
    color: var(--mid);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 400px) {
    .nl-btn {
        padding: 13px 14px;
        font-size: 8px;
        letter-spacing: 0.14em;
    }
    .content {
        padding: 48px 20px 40px;
    }
}
