/* quincy.wtf — static site styles */

:root {
    --bg: #0e0e10;
    --bg-card: #18181b;
    --border: #27272a;
    --text: #e4e4e7;
    --text-muted: #a1a1aa;
    --accent: #a78bfa;
    --accent-dim: #7c3aed;
    --code-bg: #1e1e22;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: "SF Mono", "Fira Code", "JetBrains Mono", ui-monospace, monospace;
    --max-width: 960px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

a:hover { text-decoration: underline; }

/* — Layout — */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* — Header — */

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

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

nav a {
    color: var(--text-muted);
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.15s;
}

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

/* — Hero — */

.hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.hero h1 span { color: var(--accent); }

.hero .tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1rem;
}

.hero .hero-callout {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--accent-dim);
    border-radius: 999px;
    color: var(--accent);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.15s;
}

.btn-primary {
    background: var(--accent-dim);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent);
    color: #000;
    text-decoration: none;
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text);
    text-decoration: none;
}

/* — Sections — */

section {
    padding: 4rem 0;
}

section h2 {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

section h2 span { color: var(--accent); }

/* — Benefit sections — */

.benefit {
    margin-bottom: 3rem;
}

.benefit:last-child {
    margin-bottom: 0;
}

.benefit p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin-bottom: 0.75rem;
}

.benefit p:last-child {
    margin-bottom: 0;
}

.benefit em {
    color: var(--text);
    font-style: italic;
}

/* — Tech label — */

.tech-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* — API ref link — */

.api-ref-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* — Feature grid — */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
}

.feature h3 {
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* — Diagrams (Mermaid SVG) — */

.diagram {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem auto 0;
    border-radius: 10px;
}

/* — Code block — */

.code-block {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.6;
    overflow-x: auto;
    margin-top: 1rem;
}

.code-block .keyword { color: #c084fc; }
.code-block .type { color: #67e8f9; }
.code-block .string { color: #86efac; }
.code-block .comment { color: #52525b; }

/* — Targets table — */

.targets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.target-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}

.target-card h3 {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.target-card .platform {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* — Docs section — */

.docs-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.doc-link {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color 0.15s;
}

.doc-link:hover {
    border-color: var(--accent-dim);
    text-decoration: none;
}

.doc-link h3 {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.doc-link p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* — Footer — */

footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

/* — Responsive — */

@media (max-width: 640px) {
    .hero h1 { font-size: 2rem; }
    .hero .tagline { font-size: 1rem; }
    section { padding: 3rem 0; }
}
