:root {
    --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --cream: #F3F1EC;
    --ink: #1A1A1A;
    --brick: #C0392B;
    --muted: #55524C;
    --mark: clamp(112px, 12vw, 170px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
    background: var(--cream);
    color: var(--ink);
    font-family: Jost, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brick); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Splash */
.splash { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.splash__center {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: clamp(40px, 6vh, 56px); padding: 48px 24px 24px;
}
.lockup { display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 2.6vh, 26px); margin: 0; }
.mark { display: block; width: var(--mark); height: auto; color: var(--ink); }
.lockup__word { margin: 0; line-height: 0; }
.wordmark { display: block; width: calc(var(--mark) * 0.9); height: auto; color: var(--ink); }
.tagline { margin: -4px 0 0; font-family: var(--serif); font-size: clamp(17px, 1.4vw, 20px); font-weight: 400; }

.signup { width: min(400px, 100%); text-align: center; }
.signup__row { display: flex; align-items: flex-end; gap: 16px; border-bottom: 1.5px solid var(--ink); }
.signup input {
    flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; background: transparent;
    font: inherit; font-size: 16px; color: var(--ink);
}
.signup input::placeholder { color: var(--muted); opacity: 1; }
.signup input:focus { outline: none; }
.signup__row:focus-within { border-bottom-color: var(--brick); }
.signup button {
    height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer;
    font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
.signup button:hover { color: var(--brick); }
.signup__audience { margin: 14px 0 0; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; color: var(--muted); }
.signup__message { display: none; margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.signup__message span { display: block; color: var(--muted); }
.signup.loading button { opacity: 0.5; pointer-events: none; }
.signup.success .signup__row { display: none; }
.signup.success .signup__message--success { display: block; }
.signup.error .signup__message--error { display: block; color: var(--brick); }

.splash__footer {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 0 clamp(24px, 4.5vw, 64px) 28px; font-size: 13px;
}
.splash__footer a { font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.splash__links { display: inline-flex; align-items: center; gap: 24px; }
.cities { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.cities__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brick); }
@media (max-width: 560px) {
    .splash__footer { flex-direction: column; justify-content: center; gap: 4px; }
}

/* Plain pages (privacy, etc.) */
.page { max-width: 640px; margin: 0 auto; padding: 48px 24px 96px; }
.page__home { display: inline-block; }
.page__home .mark { width: 40px; }
.page__body { margin-top: 48px; font-family: var(--serif); font-size: 19px; line-height: 1.62; }
.page__body h1 { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.1; margin: 0 0 24px; }
.page__body a { text-decoration: underline; }

/* Ghost editor cards */
.kg-width-wide { width: min(900px, 100vw - 48px); margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-width-wide img, .kg-width-full img { width: 100%; height: auto; }
