/*
 * Deliberately committed to a single dark look rather than following the visitor's
 * light/dark preference: obsidian is the brand, and a volcanic-glass black with a
 * violet sheen is the point of the name.
 *
 * No external requests — no web fonts, no CDN, no analytics. The page is faster for
 * it, and it also means the site sets no cookies and shares nothing with third
 * parties, which keeps it outside the scope of the data-protection work in AB#28.
 */

:root {
    --obsidian: #08080c;
    --obsidian-raised: #101018;
    --edge: #1e1e2b;
    --violet: #8b7bd8;
    --violet-dim: #6b5cb8;
    --text: #e8e8f0;
    --text-muted: #9a9ab0;
    --text-faint: #6a6a80;

    --measure: 62ch;
    --page: 1080px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--obsidian);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* A single soft violet bloom behind the hero. Fixed and non-interactive so it
   never affects layout or intercepts clicks. */
.glow {
    position: fixed;
    top: -30vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 140vw);
    height: 80vh;
    background: radial-gradient(
        ellipse at center,
        rgba(139, 123, 216, 0.16) 0%,
        rgba(139, 123, 216, 0.06) 35%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.masthead,
main,
footer {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--page);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* Masthead */

.masthead {
    padding-block: 2rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    text-decoration: none;
    font-size: 1.125rem;
    letter-spacing: 0.01em;
}

.wordmark strong {
    font-weight: 700;
    color: var(--violet);
}

.mark {
    width: 1.7rem;
    height: 1.7rem;
    flex: none;
    fill: none;
    stroke: var(--violet);
    stroke-width: 6;
    stroke-linejoin: round;
}

.mark-inner {
    fill: rgba(139, 123, 216, 0.22);
    stroke: none;
}

/* Hero */

main {
    flex: 1;
}

.hero {
    padding-block: clamp(3rem, 10vw, 6.5rem) clamp(3rem, 8vw, 5rem);
    max-width: var(--measure);
}

.eyebrow {
    margin: 0 0 1.25rem;
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border: 1px solid var(--edge);
    border-radius: 999px;
    background: var(--obsidian-raised);
    color: var(--violet);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 1.5rem;
    font-size: clamp(2.15rem, 1.5rem + 3.2vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 700;
    text-wrap: balance;
}

.lede {
    margin: 0 0 1.5rem;
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    color: var(--text-muted);
}

.note {
    margin: 0;
    color: var(--text-faint);
    font-size: 0.9375rem;
}

/* Pillars */

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1.25rem;
    padding-bottom: clamp(3rem, 8vw, 5rem);
}

.pillars article {
    padding: 1.75rem;
    background: var(--obsidian-raised);
    border: 1px solid var(--edge);
    border-radius: 14px;
}

.pillars h2 {
    margin: 0 0 0.6rem;
    font-size: 1.0625rem;
    font-weight: 650;
    letter-spacing: -0.005em;
}

.pillars p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Closing */

.closing {
    max-width: var(--measure);
    padding-bottom: clamp(3rem, 8vw, 5rem);
    border-top: 1px solid var(--edge);
    padding-top: clamp(2rem, 5vw, 3rem);
}

.closing h2 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.closing p {
    margin: 0;
    color: var(--text-muted);
}

/* Footer */

footer {
    padding-block: 2rem 3rem;
    border-top: 1px solid var(--edge);
    color: var(--text-faint);
    font-size: 0.875rem;
}

footer p {
    margin: 0 0 0.75rem;
}

.footnote {
    max-width: 70ch;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #56566a;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
