/* willet.cc — landing + info pages */

:root {
    --bg: #0a0c10;
    --bg-panel: #14171c;
    --bg-panel-hover: #1a1e24;
    --text: #e5e7eb;
    --text-muted: #8b92a0;
    --text-faint: #5b6270;
    --accent: #f59e0b;
    --accent-bright: #fbbf24;
    --border: #1f242c;
    --max-width: 880px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

code, .mono {
    font-family: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
    color: var(--accent-bright);
    background: var(--bg-panel);
    padding: 0.1em 0.4em;
    border-radius: 3px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 120ms ease;
}
a:hover {
    color: var(--accent-bright);
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ─── header ─────────────────────────────────────────────────────────── */
.site-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}
.brand {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 18px;
    color: var(--text);
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.brand:hover { color: var(--accent-bright); }
.brand-dot {
    color: var(--accent);
}
.brand-mark {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: block;
}
.site-nav a {
    color: var(--text-muted);
    margin-left: 24px;
    font-size: 14px;
}
.site-nav a:hover { color: var(--text); }

/* ─── hero ───────────────────────────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}
.hero-mark {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    display: block;
    margin: 0 auto 24px;
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.18);
}
.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.04em;
    line-height: 1;
}
.hero-tagline {
    font-size: 22px;
    color: var(--text-muted);
    margin: 0 0 8px;
    font-weight: 500;
}
.hero-sub {
    font-size: 15px;
    color: var(--text-faint);
    margin: 0 auto 32px;
    max-width: 520px;
}
.cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.cta-primary {
    background: var(--accent);
    color: #0a0c10;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: background 120ms ease;
}
.cta-primary:hover {
    background: var(--accent-bright);
    color: #0a0c10;
}
.cta-secondary {
    background: transparent;
    color: var(--text);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid var(--border);
    transition: background 120ms ease;
}
.cta-secondary:hover {
    background: var(--bg-panel);
    color: var(--text);
}
.hero-meta {
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 24px;
    letter-spacing: 0.04em;
}

/* ─── features grid ───────────────────────────────────────────────────── */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 80px 0;
}
.feature {
    background: var(--bg-panel);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.feature h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.feature p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ─── quick install ───────────────────────────────────────────────────── */
.quick-install {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
}
.quick-install h2 {
    margin: 0 0 16px;
    font-size: 22px;
}
.quick-install ol {
    padding-left: 24px;
    color: var(--text-muted);
}
.quick-install li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.quick-install li strong {
    color: var(--text);
    font-weight: 600;
}

/* ─── footer ──────────────────────────────────────────────────────────── */
.site-footer {
    max-width: var(--max-width);
    margin: 80px auto 40px;
    padding: 40px 24px 0;
    border-top: 1px solid var(--border);
}
.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-brand {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 16px;
    margin: 0 0 4px;
    color: var(--text);
}
.footer-meta {
    font-size: 13px;
    color: var(--text-faint);
    margin: 0;
}
.footer-head {
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-cols a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 4px;
}
.footer-cols a:hover {
    color: var(--text);
}
.copyright {
    color: var(--text-faint);
    font-size: 12px;
    margin: 24px 0 0;
}

/* ─── content pages (terms / privacy / license / install) ────────────── */
.content-page {
    max-width: 720px;
    margin: 0 auto;
}
.content-page h1 {
    font-size: 36px;
    margin: 40px 0 8px;
    letter-spacing: -0.02em;
}
.content-page .updated {
    color: var(--text-faint);
    font-size: 13px;
    margin: 0 0 40px;
}
.content-page h2 {
    font-size: 20px;
    margin: 40px 0 12px;
    color: var(--text);
}
.content-page h3 {
    font-size: 16px;
    margin: 24px 0 8px;
    color: var(--text);
}
.content-page p, .content-page li {
    color: var(--text-muted);
    line-height: 1.7;
}
.content-page strong {
    color: var(--text);
    font-weight: 600;
}
.content-page ul, .content-page ol {
    padding-left: 24px;
}
.content-page hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}
.callout {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    border-radius: 4px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 14px;
}
.callout strong {
    color: var(--accent-bright);
}

/* ─── referrals page ──────────────────────────────────────────────────── */
.content-page.wide {
    max-width: 820px;
}
.tier-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin: 32px 0 40px;
}
.tier-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color 160ms ease, transform 160ms ease;
}
.tier-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.tier-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    margin: 0 0 12px;
    font-weight: 600;
}
.tier-percent {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-bright);
    margin: 0 0 12px;
    line-height: 1;
    letter-spacing: -0.03em;
}
.tier-percent .tier-pct {
    font-size: 28px;
    color: var(--accent);
    margin-left: 2px;
}
.tier-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.earnings-table {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}
.earnings-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.earnings-table th {
    text-align: left;
    padding: 14px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
.earnings-table td {
    padding: 12px 18px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.earnings-table tr:last-child td {
    border-bottom: none;
}
.earnings-table td:first-child {
    color: var(--text);
    font-weight: 500;
}
.earnings-table td:nth-child(2) {
    color: var(--accent-bright);
}

.caption {
    color: var(--text-faint);
    font-size: 13px;
    margin: 12px 0 0;
    line-height: 1.6;
}

.kol-section {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 28px 32px;
    margin: 40px 0;
}
.kol-section h2 {
    margin-top: 0;
}
.kol-cta {
    margin: 24px 0 12px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-align: center;
}
.kol-cta p {
    margin: 0 0 16px;
    color: var(--text);
}
.kol-cta .cta-primary {
    display: inline-block;
}

/* ─── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero h1 { font-size: 40px; }
    .hero-tagline { font-size: 18px; }
    .features { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .site-nav a { margin-left: 12px; font-size: 13px; }
    .tier-cards { grid-template-columns: 1fr; }
    .tier-percent { font-size: 42px; }
    .kol-section { padding: 20px; }
}
