/*
 * The app's own palette, kept deliberately small. `tokens.ts` in the client is the
 * source these were read from — ink for the ground, cream for text, safelight orange for
 * the one accent. No web font: a landing page that waits on a download to render its own
 * headline is worse than one that uses the system stack.
 */
:root {
    --ink: #0e0d0b;
    --ink-deep: #0a0908;
    --cream: #f2ece1;
    --safelight: #ff4a17;
    --mute: #9a9188;
    --line: rgba(242, 236, 225, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--ink);
    color: var(--cream);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 40rem;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 3rem;
}

.eyebrow {
    margin: 0 0 1.75rem;
    color: var(--safelight);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.1rem, 8vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h2 {
    margin: 2.5rem 0 0.75rem;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.how {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}

.how li {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    align-items: start;
    color: var(--cream);
    line-height: 1.5;
}

.how .n {
    color: var(--safelight);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-top: 0.2rem;
}

.note,
p {
    color: var(--mute);
    line-height: 1.6;
}

.note {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
}

/* The join card: a paper ticket on a dark ground, like the invite in the app. */
.ticket {
    margin: 2.25rem 0 0;
    padding: 1.75rem;
    background: var(--cream);
    color: var(--ink-deep);
    border-radius: 1.25rem;
}

.ticket p {
    color: #5d564d;
    margin: 0.4rem 0 0;
}

.code {
    margin: 1rem 0 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(1.6rem, 7vw, 2.25rem);
    letter-spacing: 0.16em;
    font-weight: 600;
}

.cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.9rem 1.4rem;
    background: var(--safelight);
    color: #fff;
    border-radius: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

footer {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

a {
    color: var(--mute);
}

footer a:hover {
    color: var(--cream);
}

.legal h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
}

.legal h2 {
    color: var(--cream);
    margin-top: 2.25rem;
}

.legal p,
.legal li {
    color: var(--mute);
    line-height: 1.65;
}

.legal ul {
    padding-left: 1.1rem;
}

.updated {
    color: var(--mute);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}
