/* Exige Ventures LLC — shared site styles */

:root {
    color-scheme: dark;

    --bg: #0b0f16;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.065);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.17);

    --text: #e7e9ee;
    --muted: #98a2b3;
    --faint: #717a8c;

    --accent: #7c5cf6;
    --link: #a5b4fc;
    --link-hover: #c7d2fe;

    --radius: 14px;
    --measure: 68ch;
    --gutter: clamp(20px, 4vw, 32px);
}

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

* {
    margin: 0;
}

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

body {
    min-height: 100dvh;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(1100px 560px at 50% -14%, rgba(124, 92, 246, 0.11), transparent 68%),
        var(--bg);
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
}

svg {
    display: block;
}

a {
    color: var(--link);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--link-hover);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -120%);
    z-index: 10;
    padding: 10px 18px;
    border-radius: 0 0 10px 10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus-visible {
    transform: translate(-50%, 0);
    color: #fff;
}

/* ── Shell ──────────────────────────────────────────────── */

.page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.site-main {
    flex: 1 0 auto;
    padding-block: clamp(36px, 6vw, 64px);
}

/* ── Header ─────────────────────────────────────────────── */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-block: 20px;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.brand:hover {
    color: var(--text);
}

.brand .mark {
    flex: 0 0 auto;
}

.brand-suffix {
    color: var(--faint);
    font-weight: 500;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.9375rem;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
}

/* ── Hero (home) ────────────────────────────────────────── */

.hero h1 {
    max-width: 19ch;
    font-size: clamp(2rem, 1.2rem + 3.2vw, 3rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.hero .lede {
    max-width: 58ch;
    margin-top: 18px;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    color: var(--muted);
}

.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:hover {
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--text);
}

.button.primary {
    border-color: transparent;
    background: var(--accent);
    color: #fff;
}

.button.primary:hover {
    background: #8b6bf8;
    color: #fff;
}

/* ── Sections and cards ─────────────────────────────────── */

.section {
    margin-top: clamp(48px, 8vw, 76px);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--faint);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.card {
    padding: clamp(20px, 3vw, 26px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9375rem;
}

/* ── Prose (legal and support pages) ────────────────────── */

.page-head {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.page-head h1 {
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.page-head .meta {
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--faint);
}

.page-head .lede {
    max-width: var(--measure);
    margin-top: 16px;
    color: var(--muted);
}

.prose {
    max-width: var(--measure);
}

.prose section {
    padding-block: 30px;
    border-bottom: 1px solid var(--border);
}

.prose section:last-of-type {
    border-bottom: 0;
}

.prose h2 {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.prose p {
    margin-top: 12px;
    color: var(--muted);
}

.prose strong {
    color: var(--text);
    font-weight: 600;
}

/* Shared list treatment: custom markers, no browser bullets */

.card ul,
.prose ul {
    display: grid;
    gap: 9px;
    margin-top: 14px;
    padding: 0;
    list-style: none;
}

.card li,
.prose li {
    position: relative;
    padding-left: 19px;
    color: var(--muted);
}

.card li {
    font-size: 0.9375rem;
}

.card li::before,
.prose li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.card li::before {
    background: var(--accent);
}

/* ── Contact table (support) ────────────────────────────── */

.contact {
    max-width: var(--measure);
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.contact > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 4px 20px;
    padding: 16px 20px;
    background: var(--surface);
}

.contact > div + div {
    border-top: 1px solid var(--border);
}

.contact dt {
    color: var(--muted);
    font-size: 0.9375rem;
}

.contact dd {
    margin: 0;
}

@media (max-width: 559px) {
    .contact > div {
        grid-template-columns: 1fr;
    }
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 26px 34px;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9375rem;
    text-decoration: none;
}

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

.footer-legal {
    color: var(--faint);
    font-size: 0.8125rem;
}

/* ── Preferences ────────────────────────────────────────── */

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

@media print {
    body {
        background: #fff;
        color: #000;
    }

    .site-header,
    .site-footer,
    .skip-link,
    .hero .actions {
        display: none !important;
    }

    .page {
        max-width: none;
        min-height: 0;
        padding: 0;
    }

    .prose section {
        border-color: #ddd;
        break-inside: avoid;
    }

    .prose p,
    .prose li,
    .page-head .meta,
    .page-head .lede {
        color: #333;
    }

    .prose li::before {
        background: #999;
    }

    a {
        color: #000;
    }

    .prose a::after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
        color: #555;
    }
}
