:root {
    --bg: #0e1533;
    --bg-elev: #1a2247;
    --text: #f0f0f5;
    --text-dim: rgba(240, 240, 245, 0.72);
    --text-fine: rgba(240, 240, 245, 0.45);
    --accent: #E8620C;
    --accent-hover: #ff7420;
    --border: rgba(240, 240, 245, 0.12);
    --max-width: 720px;
    --radius: 8px;
}

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

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrap {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: block;
}

.wordmark {
    /* The SVG viewBox has ~35% vertical whitespace around the glyphs (glyphs occupy roughly the
       middle 65% of the 225-unit height), so the container's height maps to ~0.65x that in actual
       readable cap height. 40px here → ~26px cap height. Adjust up if it still reads small. */
    height: 40px;
    width: auto;
    display: block;
}

main {
    flex: 1;
    padding: 48px 0;
}

.hero,
.features,
.roadmap,
.values {
    margin-bottom: 72px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 40px;
    }
}

.lede {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.cta {
    display: inline-block;
    padding: 12px 22px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: background 0.15s;
}

.cta:hover {
    background: var(--accent-hover);
}

.cta-disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent);
    letter-spacing: -0.005em;
}

.features ul,
.values-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .features ul {
        grid-template-columns: 1fr 1fr;
    }
}

.features li {
    padding-left: 24px;
    position: relative;
    color: var(--text-dim);
}

.features li::before {
    content: "›";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.values-list li {
    color: var(--text-dim);
}

.values-list li strong {
    color: var(--text);
    font-weight: 600;
}

.tiers {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .tiers {
        grid-template-columns: 1fr 1fr;
    }
}

.tier {
    padding: 22px;
    background: var(--bg-elev);
    border-radius: var(--radius);
}

.tier p {
    color: var(--text-dim);
    font-size: 15px;
}

code {
    padding: 2px 6px;
    background: var(--bg-elev);
    border-radius: 4px;
    font-family: "SF Mono", Consolas, Menlo, monospace;
    font-size: 0.88em;
}

footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    color: var(--text-fine);
    font-size: 14px;
    text-align: center;
}

footer a {
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(240, 240, 245, 0.25);
}

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

.fine-print {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-fine);
}

/* Prose (privacy page and similar long-form content) */
.prose {
    max-width: 640px;
}

.prose h1 {
    font-size: 32px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.prose .lede {
    margin-bottom: 32px;
}

.prose h2 {
    margin-top: 36px;
    margin-bottom: 12px;
}

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

.prose ul li {
    margin-bottom: 8px;
    color: var(--text-dim);
}

.prose p {
    margin-bottom: 16px;
    color: var(--text-dim);
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: var(--accent-hover);
}
