/*
 * Public site — "Aurora" (P07-WEB-020).
 *
 * Chosen from three concepts. Dark, gradient-led, with three blurred orbs that
 * drift at different rates on scroll.
 *
 * Every page sets `--a` and `--b` on <body>; the whole palette derives from
 * them with `color-mix`, so an industry page recolours itself by supplying two
 * hex values and no CSS. Nothing below names an accent colour.
 */

:root {
    --bg: #070b14;
    --surface: #0f1524;
    --line: #1e2739;
    --ink: #eef2ff;
    --muted: #8b97b4;
    --a: #6366f1;
    --b: #22d3ee;
    --c: #f472b6;
    --max: 1180px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

.pub {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.65 Inter, system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.pub h1, .pub h2, .pub h3 {
    font-family: Sora, Inter, sans-serif;
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.pub img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* The aurora itself. Fixed and non-interactive so it never eats a click. */
.field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.55;
}

.orb { position: absolute; border-radius: 50%; }
.o1 { width: 46vw; height: 46vw; background: var(--a); top: -10vw; left: -8vw; }
.o2 { width: 38vw; height: 38vw; background: var(--b); top: 30vh; right: -10vw; }
.o3 { width: 32vw; height: 32vw; background: var(--c); bottom: -12vw; left: 25vw; }

.pub main, .pub .site-nav, .pub footer { position: relative; z-index: 1; }

/* ------------------------------------------------------------------- nav  */

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    padding: 1.4rem var(--gutter);
    max-width: var(--max);
    margin-inline: auto;
    font-size: 0.92rem;
    flex-wrap: wrap;
}

.site-nav__brand {
    font-family: Sora, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    margin-right: auto;
}

.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

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

.pill {
    border: 1px solid var(--line);
    background: rgb(255 255 255 / 4%);
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    color: var(--ink) !important;
}

/* --------------------------------------------------------------- buttons  */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.7rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-p {
    background: linear-gradient(100deg, var(--a), var(--b));
    color: #04060d;
    box-shadow: 0 16px 44px -18px var(--a);
}

.btn-g { border-color: var(--line); background: rgb(255 255 255 / 4%); color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--b); outline-offset: 3px; }

/* ------------------------------------------------------------------ hero  */

.tag {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgb(255 255 255 / 3%);
    font-size: 0.8rem;
    color: var(--muted);
}

.hero { padding: clamp(3rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem); text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 6.6vw, 5rem); margin: 1.5rem 0 1.25rem; font-weight: 700; }

/* The one gradient flourish. Used once per page, on the noun that matters. */
.grad {
    background: linear-gradient(100deg, var(--b), var(--a) 50%, var(--c));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p { max-width: 56ch; margin: 0 auto 2.25rem; color: var(--muted); font-size: 1.08rem; }
.cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.hero--left { text-align: left; }
.hero--left p, .hero--left h1 { margin-inline: 0; }
.hero--left .cta { justify-content: flex-start; }

.shot {
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 60px 120px -50px #000;
    will-change: transform;
}

/* --------------------------------------------------------------- metrics  */

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    margin: clamp(3rem, 7vw, 5rem) 0;
}

.metrics div { background: var(--bg); padding: 1.75rem 1.25rem; text-align: center; }
.metrics b { display: block; font-family: Sora, sans-serif; font-size: 2rem; }
.metrics span { color: var(--muted); font-size: 0.84rem; }

/* -------------------------------------------------------------- sections  */

.pub section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.head { max-width: 60ch; margin-bottom: 2.75rem; }
.head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.head p { color: var(--muted); margin: 1rem 0 0; }
.head--center { margin-inline: auto; text-align: center; }

.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

.card {
    padding: 1.9rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgb(255 255 255 / 4.5%), rgb(255 255 255 / 1.2%));
    backdrop-filter: blur(12px);
    color: inherit;
    text-decoration: none;
    display: block;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 60%, transparent); }

.card i, .card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-style: normal;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--a), var(--b));
    color: #04060d;
    margin-bottom: 1.1rem;
}

.card h2, .card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 1rem; }
.card__more { color: var(--b); font-weight: 600; font-size: 0.88rem; }

/* ------------------------------------------------------------------ band  */

.band {
    background:
        linear-gradient(rgb(7 11 20 / 82%), rgb(7 11 20 / 92%)),
        url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1800&q=80") center / cover fixed;
    padding: clamp(4rem, 10vw, 7rem) 0;
    text-align: center;
    border-block: 1px solid var(--line);
}

.band h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); max-width: 20ch; margin: 0 auto 1.25rem; }
.band p { color: var(--muted); max-width: 52ch; margin: 0 auto 2rem; }

/* ---------------------------------------------------------------- pieces  */

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }

.chips li, .chips a {
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgb(255 255 255 / 3%);
    color: var(--muted);
    font-size: 0.88rem;
    text-decoration: none;
}

.chips a:hover { color: var(--ink); border-color: color-mix(in srgb, var(--a) 60%, transparent); }

.feature-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--b);
    margin-bottom: 0.9rem;
}

.alert {
    padding: 0.75rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgb(255 255 255 / 5%);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.note { color: var(--muted); font-size: 0.85rem; max-width: 50ch; margin-top: 1rem; }

.crumb { display: inline-block; margin-bottom: 1.25rem; color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.crumb:hover { color: var(--ink); }

.pub footer {
    padding: 2.5rem 0 3.5rem;
    color: var(--muted);
    font-size: 0.86rem;
    border-top: 1px solid var(--line);
    margin-top: clamp(2rem, 5vw, 4rem);
}

.pub footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    .card, .btn { transition: none; }
    .card:hover { transform: none; }
    /* The orbs are driven by JS; the script checks this too. */
}
