/* GigBlueprint -- static site (2026-10-31). Same structure and component
   classes as the other Novus sites (novus- prefix); the palette is the
   GigBlueprint app's own dark blue. */

:root {
    --base: #0A1018;
    --surface: #111B26;
    --surface-2: #172433;
    --border: #233344;
    --text: #E8EDF2;
    --text-muted: #B4C0CC;
    --text-faint: #95A3B2;
    --accent: #4AA3FF;
    --accent-strong: #1170C4;
    --accent-soft: #8CC4FF;

    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --mono: 'Cascadia Code', 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;

    --fs-small: 0.875rem;
    --fs-large: 1.25rem;
    --fs-x-large: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
    --fs-xx-large: clamp(2.1rem, 1.5rem + 3vw, 3.5rem);

    --sp-20: 1rem;
    --sp-30: 1.5rem;
    --sp-40: 2.5rem;
    --sp-50: 4rem;
    --sp-60: 6rem;

    --content: 46rem;
    --wide: 72rem;
    color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--base);
    color: var(--text);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
}
img { max-width: 100%; }

a { color: var(--accent); }
a:hover { color: var(--accent-soft); }

h1, h2, h3 {
    color: var(--text);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-xx-large); margin: 0 0 1rem; max-width: 24ch; }
h2 { font-size: var(--fs-x-large); margin: 3rem 0 1.25rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.75rem; }

/* Content column: centred, with the shared side padding. */
.wrap {
    width: 100%;
    max-width: calc(var(--content) + 2 * var(--sp-30));
    margin-inline: auto;
    padding-inline: var(--sp-30);
}
.wrap--wide { max-width: calc(var(--wide) + 2 * var(--sp-30)); }

/* --- Accessibility: never remove a visible focus ring ------------------ */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 2px;
    border-radius: 3px;
}
.skip-link:not(:focus) {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed; top: 1rem; left: 1rem; z-index: 999;
    background: var(--accent);
    color: var(--base); padding: 0.6rem 1rem; border-radius: 6px;
}

/* --- Small text helpers ------------------------------------------------- */
.lead { color: var(--text-muted); font-size: var(--fs-large); line-height: 1.5; max-width: 42rem; }
.muted { color: var(--text-muted); }

.novus-eyebrow {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.75rem;
}

/* --- Status pill ------------------------------------------------------- */
.novus-pill {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    line-height: 1.4;
    color: var(--accent);
}

/* --- Site header ------------------------------------------------------- */
.novus-header {
    border-bottom: 1px solid var(--border);
    background: rgba(10, 16, 24, 0.85);
    backdrop-filter: saturate(140%) blur(8px);
    position: sticky; top: 0; z-index: 50;
    padding-block: var(--sp-20);
}
.novus-header .wrap {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
    align-items: center; justify-content: space-between;
}
/* A text wordmark: the app's "GB" mark and the name */
.novus-header .logo {
    display: inline-flex; align-items: center; gap: 0.6rem;
    color: var(--text); text-decoration: none;
    font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em;
}
.novus-header .logo .mark {
    display: inline-grid; place-items: center;
    width: 2rem; height: 2rem; border-radius: 6px;
    background: var(--accent-strong); color: #fff;
    font-size: 0.85rem; letter-spacing: 0.02em;
}
.novus-header p { margin: 0; font-size: var(--fs-small); }
.novus-header p a { color: var(--text-muted); text-decoration: none; }
.novus-header p a:hover { color: var(--accent); }

/* --- Home hero ---------------------------------------------------------- */
.site-hero {
    padding-block: var(--sp-60) var(--sp-50);
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(17, 112, 196, 0.28), transparent 70%),
        linear-gradient(var(--base), var(--base));
}

main > .wrap { padding-top: var(--sp-30); }
main > .wrap > p { max-width: 46rem; }
main.page-404 { padding-block: var(--sp-60); }
main.page-404 h1 { margin-top: 0; }

/* --- Feature cards ------------------------------------------------------ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: var(--sp-30);
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: var(--sp-30);
}
.card ul { margin: 0; padding-left: 1.1rem; color: var(--text-muted); }
.card li + li { margin-top: 0.5rem; }

/* --- Footer ------------------------------------------------------------ */
.novus-footer {
    margin-top: var(--sp-60);
    padding-block: var(--sp-40);
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: var(--fs-small);
}
.novus-footer p { margin: 0 0 0.5rem; }
.novus-footer .brand { color: var(--text); font-weight: 600; font-size: 1rem; }
.novus-footer .tagline { max-width: 26rem; }
.novus-footer a { color: var(--text-muted); text-decoration: none; }
.novus-footer a:hover { color: var(--accent-soft); text-decoration: underline; }
.novus-footer hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-30) 0; }
