/* Weightful site styles — mirrors the app's AppTheme tokens. */
:root {
    --canvas-top: #141a2e;
    --canvas-bottom: #0d1120;
    --surface: #1b2238;
    --surface-sep: #232b42;
    --accent: #ff8a3d;
    --accent-deep: #f26a21;
    --positive: #4ade80;
    --text-primary: #f2f4f8;
    --text-body: rgba(242, 244, 248, 0.78);
    --text-secondary: #8a93ab;
    --radius-card: 22px;
    --radius-chip: 13px;
    color-scheme: dark;
}

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

html {
    background: var(--canvas-bottom);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: linear-gradient(180deg, var(--canvas-top) 0%, var(--canvas-bottom) 100%) fixed;
    min-height: 100vh;
    padding: 24px 16px 48px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    color: var(--text-primary);
}

/* Wordmark — same letter-spaced treatment as the app's header */
.wordmark {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin: 8px 0 28px;
}

.wordmark:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.container {
    max-width: 760px;
    margin: 0 auto;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-card);
    padding: 40px;
}

/* Legal pages */
h1 {
    font-size: 2.1em;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

h2 {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 12px;
    padding-top: 28px;
    border-top: 1px solid var(--surface-sep);
}

h3 {
    font-size: 1.05em;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 22px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 14px;
}

ul {
    margin-bottom: 14px;
    padding-left: 22px;
}

li {
    margin-bottom: 8px;
}

li::marker {
    color: var(--accent);
}

.last-updated {
    display: inline-block;
    font-size: 0.85em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.highlight {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: var(--radius-chip);
    padding: 18px 20px;
    margin: 24px 0 8px;
}

.highlight p {
    margin: 0;
    color: var(--positive);
    font-weight: 500;
}

.footer {
    text-align: center;
    margin-top: 28px;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
}

.footer-links a {
    white-space: nowrap;
}

/* Landing page */
.hero {
    max-width: 560px;
    text-align: center;
}

.app-icon {
    width: 112px;
    height: 112px;
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 12px 40px rgba(255, 138, 61, 0.35);
}

.hero h1 {
    font-size: 2.6em;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.15em;
    color: var(--text-body);
    margin-bottom: 28px;
}

.tagline em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.features {
    list-style: none;
    text-align: left;
    padding: 8px 24px;
    margin: 0 0 28px;
}

.features li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    margin: 0;
    border-bottom: 1px solid var(--surface-sep);
    color: var(--text-primary);
}

.features li:last-child {
    border-bottom: none;
}

.features .icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: rgba(255, 138, 61, 0.14);
}

.app-store-badge img {
    height: 54px;
}

@media (max-width: 600px) {
    .card {
        padding: 28px 20px;
    }

    h1 {
        font-size: 1.7em;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .features {
        padding: 4px 18px;
    }
}
