:root {
    --bg: #0a0a0a;
    --bg-alt: #050505;
    --surface: #111111;
    --surface-2: #1a1a1a;
    --border: #222222;
    --border-strong: #333333;
    --text: #ffffff;
    --text-2: #c7c7cc;
    --muted: #9a9aa2;
    --blue: #3b82f6;
    --violet: #8b5cf6;
    --green: #10b981;
    --amber: #f59e0b;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --radius: 16px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(59, 130, 246, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.07) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#root { position: relative; z-index: 1; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: #60a5fa; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-strong);
    color: var(--text);
    border-radius: 10px;
    padding: 6px 12px;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 10, 10, 0.97);
        border-bottom: 1px solid var(--border);
        padding: 8px 24px 16px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { display: block; padding: 10px 0; }
}

/* Sections */
main { padding-top: 64px; }
.section { padding: 104px 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 0 auto; }

/* Hero */
.hero { padding: 136px 0 112px; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.5rem); font-weight: 900; margin-bottom: 24px; }
.hero p { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 760px; margin: 0 auto 44px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 2px solid transparent;
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(59, 130, 246, 0.25); }
.btn-secondary { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-secondary:hover { background: rgba(59, 130, 246, 0.1); transform: translateY(-2px); }
.btn-small { padding: 10px 18px; font-size: 0.92rem; border-radius: 10px; }

@media (max-width: 520px) {
    .hero-ctas .btn { width: 100%; }
}

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: #2f4f86; }
.card p { color: var(--muted); }
.card-num {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--blue);
    margin-bottom: 14px;
    display: block;
}

/* Product */
.product {
    border: 1px solid #27406b;
    border-radius: 24px;
    background: linear-gradient(160deg, #10182b 0%, #121212 55%);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
}
@media (max-width: 900px) { .product { grid-template-columns: 1fr; padding: 28px; gap: 32px; } }
.product h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.product-summary { color: var(--text-2); font-size: 1.15rem; margin-bottom: 20px; }
.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--green);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status.planned { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.35); color: var(--amber); }
.status.planned::before { background: var(--amber); }
.product-note { color: var(--muted); font-size: 0.95rem; margin: 20px 0 28px; }
.product-links { display: flex; flex-wrap: wrap; gap: 12px; }
.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li {
    padding: 14px 16px 14px 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-2);
    position: relative;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 18px; top: 22px;
    width: 10px; height: 10px;
    border-radius: 3px;
    background: var(--gradient);
}
.feature-list strong { color: var(--text); font-weight: 600; }

/* Built with Claude */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.roadmap { list-style: none; display: grid; gap: 14px; }
.roadmap li { padding: 20px 22px; }
.roadmap h4 { font-size: 1.05rem; margin-bottom: 6px; }
.roadmap p { color: var(--muted); font-size: 0.97rem; }
.callout {
    margin-top: 28px;
    border-left: 3px solid var(--blue);
    padding: 14px 18px;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 0 12px 12px 0;
    color: var(--text-2);
    font-size: 0.97rem;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { margin-bottom: 22px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.contact-value { font-size: 1.05rem; color: var(--text); }
form .field { margin-bottom: 16px; }
form label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; color: var(--text-2); }
input, textarea {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 10px;
    font: inherit;
    font-size: 0.97rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-hint { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }

/* Long-form pages (About, legal) */
.page { padding: 88px 0 96px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; margin-bottom: 12px; }
.page .meta { color: var(--muted); margin-bottom: 40px; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-2); }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.facts { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 8px 0 24px; }
.facts dt, .facts dd { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--muted); background: var(--surface); font-weight: 600; font-size: 0.92rem; }
.facts dd { color: var(--text); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: none; }
@media (max-width: 600px) {
    .facts { grid-template-columns: 1fr; }
    .facts dt { border-bottom: none; padding-bottom: 4px; }
    .facts dd { padding-top: 0; background: var(--surface); }
}
.placeholder {
    font-family: var(--mono);
    font-size: 0.92em;
    background: rgba(245, 158, 11, 0.12);
    color: var(--amber);
    padding: 1px 6px;
    border-radius: 6px;
}
.draft-banner {
    border: 1px dashed rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.06);
    color: var(--text-2);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 32px;
    font-size: 0.92rem;
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
.footer p, .footer address { color: var(--muted); font-style: normal; font-size: 0.95rem; }
.footer h4 { font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer ul a { color: var(--muted); font-size: 0.95rem; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; color: var(--muted); font-size: 0.88rem; text-align: center; }

.noscript { max-width: 720px; margin: 80px auto; padding: 0 24px; color: var(--text-2); }
.noscript h1 { margin-bottom: 16px; }
.noscript p { margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
