/* The site mirrors the app's design system (src/constants/theme.ts and Spacing.ts): always dark, warm monochrome,
   Inter only, flat rounded tiles in one column, muted pastels as fills with dark text. Keep the values in sync. */
:root {
    --bg: #0e0d0b;
    --surface: #181613;
    --surface-2: #211e1a;
    --text: #f3eee6;
    --muted: #a59e93;
    --outline: #2a2622;
    --on-pastel: #1a1714;
    --sage: #b9c2ac;
    --sand: #d8c9b0;
    --clay: #d2b2a6;
    --lilac: #bcb4cb;
    --mist: #aebfc6;
    --radius: 16px;
    --gutter: 12px;
    --screen: 24px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        'Inter',
        system-ui,
        -apple-system,
        sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

main {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 56px var(--screen) 48px;
}

a {
    color: inherit;
    text-underline-offset: 3px;
    text-decoration-color: var(--muted);
}

/* Header: title at the top left, like every app screen. */
.back {
    display: inline-block;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 20px;
}

.display {
    font-weight: 600;
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
}

.subtitle {
    color: var(--muted);
    margin: 6px 0 0;
}

h1 {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

h2 {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
}

h3 {
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}

p {
    margin: 0;
}

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

.small {
    font-size: 13px;
}

/* Small uppercase section labels (SectionLabel in the app). */
.label {
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 32px 0 var(--gutter);
}

/* Wide flat tiles stacked on a 12px gutter (BentoTile). No borders, no shadows. */
.stack {
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
}

.tile {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.tile > * + * {
    margin-top: 6px;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gutter);
}

.row > * + * {
    margin-top: 0;
}

.pastel {
    color: var(--on-pastel);
}

.pastel .muted {
    color: var(--on-pastel);
    opacity: 0.7;
}

.sage {
    background: var(--sage);
}
.sand {
    background: var(--sand);
}
.clay {
    background: var(--clay);
}
.lilac {
    background: var(--lilac);
}
.mist {
    background: var(--mist);
}

.hero {
    padding: 28px 24px;
}

.hero h2 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.badge {
    font-weight: 500;
    white-space: nowrap;
}

.button {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--on-pastel);
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps li {
    counter-increment: step;
    display: flex;
    gap: 14px;
}

.steps li + li {
    margin-top: 12px;
}

.steps li::before {
    content: counter(step);
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--muted);
    font-weight: 500;
    font-size: 13px;
    display: grid;
    place-items: center;
    margin-top: 1px;
}

/* Long-form pages (terms, privacy, safety). */
.prose {
    margin-top: 28px;
}

.prose h2 {
    margin: 32px 0 8px;
}

.prose p + p,
.prose p + ul,
.prose ul + p {
    margin-top: 10px;
}

.prose ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.prose li + li {
    margin-top: 6px;
}

.prose .tile {
    margin-top: 20px;
}

footer {
    margin-top: 48px;
    color: var(--muted);
    font-size: 13px;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-bottom: 10px;
}

footer a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover,
.back:hover {
    color: var(--text);
}

@media (max-width: 480px) {
    main {
        padding-top: 40px;
    }
    .display {
        font-size: 38px;
    }
    .hero h2 {
        font-size: 24px;
    }
}
