/* ==========================================================================
   GeeksUptime — public design system
   --------------------------------------------------------------------------
   One stylesheet for every public page (marketing, auth, contact, legal).

   Colour rule: saturated green / amber / red / grey appear only as real
   monitoring status. Every other accent is iris. Keep it that way — the
   palette is what makes the site read as an instrument rather than a deck.
   ========================================================================== */

:root {
    --ink: #080b14;
    --slate: #0e1423;
    --panel: #131b2c;
    --panel-raised: #18223a;
    --line: rgba(148, 171, 214, 0.14);
    --line-strong: rgba(148, 171, 214, 0.28);
    --bone: #e9eefa;
    --mist: #93a1be;
    --dim: #7e8cab;
    --iris: #7a93ff;
    --iris-bright: #9db0ff;
    --iris-deep: #3f5bd8;
    --iris-wash: rgba(122, 147, 255, 0.13);

    /* Status only. Never decorative. */
    --state-up: #35d69b;
    --state-warn: #ffb44d;
    --state-down: #ff6e6e;
    --state-unknown: #8290ac;

    /* Status text tints, paired with the opaque status washes below so that
       foreground/background contrast holds without relying on alpha blending. */
    --state-up-text: #6ee7b7;
    --state-down-text: #ff9e9e;
    --wash-up: #0d2320;
    --wash-down: #2a1220;

    --display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --body: 'Inter', 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;

    --shell: 1200px;
    --gutter: clamp(20px, 4vw, 40px);
    --band: clamp(72px, 9vw, 132px);
    --radius: 14px;
    --radius-lg: 20px;
}

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

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

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.65;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

a:hover {
    color: var(--iris-bright);
}

input,
button,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--iris-bright);
    outline-offset: 3px;
}

/* Keep in-page anchors clear of the sticky navigation. */
[id] {
    scroll-margin-top: 92px;
}

.gu-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.gu-display-1 {
    font-size: clamp(2.55rem, 5.6vw, 4.15rem);
    letter-spacing: -0.04em;
    line-height: 0.99;
}

.gu-display-2 {
    font-size: clamp(1.95rem, 3.9vw, 2.9rem);
    letter-spacing: -0.032em;
    line-height: 1.06;
}

.gu-display-3 {
    font-size: clamp(1.2rem, 1.9vw, 1.42rem);
    letter-spacing: -0.02em;
    line-height: 1.24;
}

.gu-lead {
    color: var(--mist);
    font-size: clamp(1.03rem, 1.3vw, 1.16rem);
    line-height: 1.62;
}

.gu-body {
    color: var(--mist);
}

.gu-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    color: var(--iris);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.gu-eyebrow::before {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    content: '';
    flex: 0 0 auto;
}

.gu-eyebrow-plain::before {
    display: none;
}

.gu-num {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.gu-shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.gu-band {
    padding-block: var(--band);
}

.gu-band-slate {
    background: var(--slate);
    border-block: 1px solid var(--line);
}

.gu-band-tight {
    padding-block: clamp(48px, 6vw, 78px);
}

.gu-main {
    flex: 1;
}

.gu-heading {
    max-width: 46rem;
}

.gu-heading > * + * {
    margin-top: 1rem;
}

.gu-heading-center {
    margin-inline: auto;
    text-align: center;
}

.gu-split {
    display: grid;
    align-items: end;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.gu-rule {
    height: 1px;
    border: 0;
    margin: 0;
    background: var(--line);
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */

.public-skip-link {
    position: fixed;
    z-index: 10000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--iris-bright);
    border-radius: 10px;
    background: var(--panel-raised);
    color: var(--bone);
    font-weight: 600;
    transform: translateY(-250%);
    transition: transform 0.15s ease;
}

.public-skip-link:focus {
    color: var(--bone);
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.gu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    min-height: 2.6rem;
    padding: 0.5rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-align: center;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.gu-btn-primary {
    background: var(--bone);
    border-color: var(--bone);
    color: #0a1020;
}

.gu-btn-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a1020;
    transform: translateY(-1px);
}

.gu-btn-secondary {
    background: rgba(148, 171, 214, 0.07);
    border-color: var(--line-strong);
    color: var(--bone);
}

.gu-btn-secondary:hover {
    background: rgba(148, 171, 214, 0.14);
    border-color: rgba(148, 171, 214, 0.42);
    color: var(--bone);
}

.gu-btn-iris {
    background: var(--iris-deep);
    border-color: var(--iris-deep);
    color: #ffffff;
}

.gu-btn-iris:hover {
    background: #4a68ee;
    border-color: #4a68ee;
    color: #ffffff;
}

.gu-btn-block {
    width: 100%;
}

.gu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gu-actions-center {
    justify-content: center;
}

.gu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    color: var(--bone);
    font-weight: 600;
}

.gu-link::after {
    color: var(--iris);
    content: '\2197';
    transition: transform 0.16s ease;
}

.gu-link:hover {
    color: var(--bone);
}

.gu-link:hover::after {
    transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.gu-nav {
    position: sticky;
    z-index: 900;
    top: 0;
    background: rgba(8, 11, 20, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.gu-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 68px;
}

.gu-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--bone);
    font-family: var(--display);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.035em;
}

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

.gu-brand svg {
    flex: 0 0 auto;
}

.gu-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.gu-nav-link {
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    color: var(--mist);
    font-size: 0.94rem;
    font-weight: 500;
}

.gu-nav-link:hover {
    background: rgba(148, 171, 214, 0.08);
    color: var(--bone);
}

.gu-nav-link[aria-current='page'] {
    color: var(--bone);
}

.gu-nav-menu .gu-btn {
    min-height: 2.6rem;
    margin-left: 0.55rem;
    padding-inline: 1.15rem;
    font-size: 0.92rem;
}

.gu-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: transparent;
    color: var(--bone);
    cursor: pointer;
}

.gu-nav-dropdown {
    position: relative;
}

.gu-nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.gu-nav-dropdown-toggle.is-active,
.gu-nav-dropdown.is-open .gu-nav-dropdown-toggle {
    color: var(--bone);
}

.gu-nav-dropdown-toggle svg {
    flex: 0 0 auto;
    opacity: 0.7;
    transition: transform 0.15s ease;
}

.gu-nav-dropdown.is-open .gu-nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.gu-nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 20;
    display: grid;
    gap: 0.15rem;
    min-width: 14.5rem;
    padding: 0.55rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gu-nav-dropdown-panel[hidden] {
    display: none;
}

.gu-nav-dropdown-panel a {
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    color: var(--mist);
    font-size: 0.9rem;
    font-weight: 500;
}

.gu-nav-dropdown-panel a:hover,
.gu-nav-dropdown-panel a[aria-current='page'] {
    background: rgba(148, 171, 214, 0.1);
    color: var(--bone);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.gu-footer {
    background: var(--ink);
    border-top: 1px solid var(--line);
    padding-block: clamp(48px, 6vw, 72px) 2rem;
}

.gu-footer-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}

.gu-footer-blurb {
    max-width: 26rem;
    margin-top: 1rem;
    color: var(--dim);
    font-size: 0.92rem;
}

.gu-footer h2 {
    margin-bottom: 1rem;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gu-footer ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gu-footer li a {
    color: var(--mist);
    font-size: 0.93rem;
}

.gu-footer li a:hover {
    color: var(--bone);
}

.gu-footer-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--dim);
    font-size: 0.85rem;
}

.gu-footer-base .gu-num {
    font-size: 0.8rem;
}

/* ==========================================================================
   Instruments — the product's own UI, reused as the site's visual language
   ========================================================================== */

.gu-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.2rem 0.55rem;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
    white-space: nowrap;
}

.gu-pill::before {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    content: '';
    flex: 0 0 auto;
}

.gu-pill-up {
    background: rgba(53, 214, 155, 0.09);
    color: var(--state-up);
}

.gu-pill-down {
    background: rgba(255, 110, 110, 0.1);
    color: var(--state-down);
}

.gu-pill-warn {
    background: rgba(255, 180, 77, 0.1);
    color: var(--state-warn);
}

.gu-pill-unknown {
    background: rgba(130, 144, 172, 0.12);
    color: var(--state-unknown);
}

.gu-pill-iris {
    background: var(--iris-wash);
    color: var(--iris);
}

/* Fact chips look like pills but carry no status, so they deliberately skip the
   indicator dot — a dot here would imply a live reading that does not exist. */
.gu-fact {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--mist);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.gu-spark {
    display: block;
    width: 100%;
    height: 24px;
    overflow: visible;
}

.gu-spark-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.gu-spark-up .gu-spark-line {
    stroke: var(--state-up);
}

.gu-spark-down .gu-spark-line {
    stroke: var(--state-down);
}

.gu-spark-unknown .gu-spark-line {
    stroke: var(--state-unknown);
    stroke-dasharray: 3 3;
}

.gu-spark-area {
    stroke: none;
}

.gu-spark-up .gu-spark-area {
    fill: rgba(53, 214, 155, 0.13);
}

.gu-spark-down .gu-spark-area {
    fill: rgba(255, 110, 110, 0.14);
}

.gu-spark-unknown .gu-spark-area {
    fill: rgba(130, 144, 172, 0.1);
}

/* Console -------------------------------------------------------------- */

.gu-console {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--panel-raised), var(--panel) 42%);
    box-shadow: 0 32px 80px -30px rgba(4, 8, 20, 0.9), 0 0 0 1px rgba(122, 147, 255, 0.05);
    overflow: hidden;
}

.gu-console-chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 11, 20, 0.5);
}

.gu-console-dots {
    display: inline-flex;
    gap: 0.35rem;
}

.gu-console-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 171, 214, 0.24);
}

.gu-console-path {
    flex: 1;
    min-width: 0;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.74rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gu-console-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.gu-console-stat {
    padding: 0.85rem 1rem;
    border-left: 1px solid var(--line);
}

.gu-console-stat:first-child {
    border-left: 0;
}

.gu-console-stat dt {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.63rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gu-console-stat dd {
    margin: 0.3rem 0 0;
    font-family: var(--mono);
    font-size: 1.18rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1;
}

.gu-console-stat-up dd {
    color: var(--state-up);
}

.gu-console-stat-down dd {
    color: var(--state-down);
}

.gu-console-stat-unknown dd {
    color: var(--state-unknown);
}

.gu-monitors {
    container: gu-monitors / inline-size;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gu-monitor {
    display: grid;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--line);
    grid-template-columns: minmax(0, 1fr) 84px auto 74px;
}

/* Monitor rows also appear inside narrow capability cards, where the four-column
   layout would starve the endpoint name of its space. Fold to two rows instead of
   letting the name — the only part that identifies the row — collapse to nothing. */
@container gu-monitors (max-width: 30rem) {
    .gu-monitor {
        gap: 0.5rem 0.85rem;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .gu-monitor-name {
        grid-area: 1 / 1;
    }

    .gu-monitor-state {
        grid-area: 1 / 2;
    }

    .gu-monitor-spark {
        grid-area: 2 / 1;
    }

    .gu-monitor-latency {
        grid-area: 2 / 2;
    }
}

.gu-monitor:last-child {
    border-bottom: 0;
}

.gu-monitor-name {
    min-width: 0;
}

.gu-monitor-name b {
    display: block;
    font-family: var(--body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gu-monitor-name span {
    display: block;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gu-monitor-spark {
    min-width: 0;
}

.gu-monitor-latency {
    color: var(--mist);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.gu-monitor-state {
    justify-self: end;
}

.gu-console-incident {
    padding: 1rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 110, 110, 0.05);
}

.gu-console-incident-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.gu-console-incident-head b {
    font-family: var(--body);
    font-size: 0.92rem;
    font-weight: 600;
}

.gu-console-incident p {
    color: var(--mist);
    font-size: 0.86rem;
    line-height: 1.5;
}

.gu-route-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--line);
}

.gu-route-head > span:last-child {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.72rem;
}

.gu-route-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.gu-route-row > span:first-child {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gu-route-chip {
    padding: 0.22rem 0.55rem;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: rgba(148, 171, 214, 0.06);
    color: var(--mist);
    font-family: var(--mono);
    font-size: 0.7rem;
}

.gu-route-chip-muted {
    border-style: dashed;
    background: none;
    color: var(--dim);
}

/* Region grid ---------------------------------------------------------- */

.gu-regions {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.gu-region {
    padding: 0.85rem 0.9rem;
    background: var(--panel);
}

.gu-region-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gu-region-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.gu-region-up .gu-region-dot {
    background: var(--state-up);
}

.gu-region-down .gu-region-dot {
    background: var(--state-down);
}

.gu-region-name {
    margin-top: 0.35rem;
    font-family: var(--body);
    font-size: 0.86rem;
    font-weight: 600;
}

.gu-region-meta {
    margin-top: 0.15rem;
    color: var(--mist);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.gu-region-down .gu-region-meta {
    color: var(--state-down);
}

/* Certificate card ----------------------------------------------------- */

.gu-cert {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.gu-cert-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.gu-cert-row dt {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gu-cert-row dd {
    margin: 0;
    font-family: var(--mono);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.gu-cert-meter {
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 171, 214, 0.14);
    overflow: hidden;
}

.gu-cert-meter span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--state-warn);
}

/* ==========================================================================
   Home
   ========================================================================== */

.gu-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 116px);
}

.gu-hero-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
    opacity: 0.75;
    pointer-events: none;
}

.gu-hero-layout {
    display: grid;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.gu-hero-copy > * + * {
    margin-top: 1.35rem;
}

.gu-hero-copy h1 em {
    color: var(--iris-bright);
    font-style: normal;
}

.gu-hero-copy .gu-lead {
    max-width: 32rem;
}

.gu-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.1rem;
    margin: 0;
    padding: 0.85rem 0 0;
    list-style: none;
}

.gu-hero-facts li {
    color: var(--mist);
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.01em;
}

/* Trailing rather than leading separator: when the row wraps, the slash stays at
   the end of the previous line instead of orphaning at the start of the next. */
.gu-hero-facts li:not(:last-child)::after {
    margin-left: 1.1rem;
    color: var(--line-strong);
    content: '/';
}

.gu-hero-facts b {
    color: var(--bone);
    font-weight: 500;
}

.gu-hero-console {
    position: relative;
}

/* Proof strip ---------------------------------------------------------- */

.gu-proof {
    background: var(--slate);
    border-block: 1px solid var(--line);
}

.gu-proof-list {
    display: grid;
    gap: clamp(1.75rem, 3vw, 2.75rem);
    margin: 0;
    padding: clamp(2.5rem, 4.5vw, 3.5rem) 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gu-proof-list > div {
    padding-left: clamp(1rem, 2vw, 1.5rem);
    border-left: 1px solid var(--line-strong);
}

.gu-proof-list dt {
    color: var(--bone);
    font-family: var(--display);
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.9;
}

.gu-proof-list dd {
    margin: 0.85rem 0 0;
    color: var(--mist);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Capability cards ----------------------------------------------------- */

.gu-cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

.gu-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.gu-card:hover {
    background: var(--panel-raised);
    border-color: var(--line-strong);
}

/* The artwork sits last and is pushed to the card floor, so headings align on one
   baseline at the top and the instruments align on one baseline at the bottom no
   matter how much copy each card carries. */
.gu-card-instrument {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    justify-content: center;
    min-height: 12.5rem;
    margin-top: auto;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(8, 11, 20, 0.55);
}

.gu-card-instrument .gu-monitor {
    gap: 0.35rem 0.85rem;
    padding-block: 0.55rem;
}

/* The instrument well already provides the frame; nested panels would read as a
   double border. */
.gu-card-instrument .gu-cert {
    padding: 0;
    border: 0;
    background: none;
}

.gu-card p {
    color: var(--mist);
    font-size: 0.94rem;
}

/* Run-state honesty section ------------------------------------------- */

.gu-states {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.gu-state-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-left-width: 3px;
    border-radius: var(--radius);
    background: var(--panel);
}

.gu-state-card-up {
    border-left-color: var(--state-up);
}

.gu-state-card-down {
    border-left-color: var(--state-down);
}

.gu-state-card-unknown {
    border-left-color: var(--state-unknown);
}

.gu-state-card p {
    color: var(--mist);
    font-size: 0.93rem;
}

.gu-state-card dl {
    display: grid;
    gap: 0.4rem;
    margin: auto 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.gu-state-card dl > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.gu-state-card dt {
    color: var(--dim);
    font-size: 0.82rem;
}

.gu-state-card dd {
    margin: 0;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Lifecycle -------------------------------------------------------------- */

.gu-lifecycle {
    display: grid;
    align-items: start;
    gap: clamp(2rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.gu-lifecycle-copy > * + * {
    margin-top: 1.25rem;
}

.gu-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: gu-step;
}

.gu-steps > li {
    display: grid;
    align-items: start;
    gap: 0.35rem 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.gu-steps > li:last-child {
    border-bottom: 1px solid var(--line);
}

.gu-steps > li::before {
    counter-increment: gu-step;
    content: '0' counter(gu-step);
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.76rem;
    line-height: 1.5;
}

.gu-steps h3 {
    font-size: 1.05rem;
}

.gu-steps p {
    margin-top: 0.3rem;
    color: var(--mist);
    font-size: 0.92rem;
}

.gu-steps .gu-pill {
    grid-row: 1;
    grid-column: 3;
}

/* Routing section ------------------------------------------------------- */

.gu-routing {
    display: grid;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.gu-channels {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.gu-channel {
    padding: 1.1rem;
    background: var(--panel);
}

.gu-channel b {
    display: block;
    font-family: var(--body);
    font-size: 0.94rem;
    font-weight: 600;
}

.gu-channel span {
    display: block;
    margin-top: 0.25rem;
    color: var(--dim);
    font-size: 0.83rem;
    line-height: 1.45;
}

/* FAQ ------------------------------------------------------------------- */

.gu-faq {
    display: grid;
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.gu-faq-list {
    border-top: 1px solid var(--line);
}

.gu-faq-list details {
    border-bottom: 1px solid var(--line);
}

.gu-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem 0;
    color: var(--bone);
    cursor: pointer;
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    list-style: none;
}

.gu-faq-list summary::-webkit-details-marker {
    display: none;
}

.gu-faq-list summary::after {
    color: var(--iris);
    content: '+';
    font-family: var(--mono);
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.gu-faq-list details[open] summary::after {
    content: '\2212';
}

.gu-faq-list p {
    padding: 0 0 1.25rem;
    color: var(--mist);
    font-size: 0.95rem;
    max-width: 46rem;
}

/* Closing CTA ----------------------------------------------------------- */

.gu-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(64px, 8vw, 112px);
    border-top: 1px solid var(--line);
    text-align: center;
}

.gu-cta::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(80% 130% at 50% 0%, rgba(63, 91, 216, 0.22), transparent 68%);
    content: '';
}

.gu-cta-inner {
    display: grid;
    justify-items: center;
    gap: 1.1rem;
    max-width: 44rem;
    margin-inline: auto;
}

.gu-cta-note {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Features
   ========================================================================== */

.gu-feature-rows {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.gu-feature-row {
    display: grid;
    align-items: center;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.gu-feature-row:nth-child(even) .gu-feature-media {
    order: -1;
}

.gu-feature-copy > * + * {
    margin-top: 1rem;
}

.gu-checklist {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gu-checklist li {
    position: relative;
    padding-left: 1.65rem;
    color: var(--mist);
    font-size: 0.94rem;
}

.gu-checklist li::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 0.85rem;
    height: 0.42rem;
    border: 1.6px solid var(--state-up);
    border-top: 0;
    border-right: 0;
    content: '';
    transform: rotate(-45deg);
}

.gu-media-frame {
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--panel), var(--slate));
}

.gu-media-caption {
    margin-top: 0.9rem;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.gu-plan-scroll {
    margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.gu-plan-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.gu-plan {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.gu-plan-featured {
    border-color: rgba(122, 147, 255, 0.42);
    background: linear-gradient(180deg, rgba(63, 91, 216, 0.16), var(--panel) 46%);
    box-shadow: 0 24px 60px -32px rgba(63, 91, 216, 0.7);
}

.gu-plan-badge {
    align-self: flex-start;
    margin-bottom: 0.85rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(122, 147, 255, 0.45);
    border-radius: 6px;
    background: var(--iris-wash);
    color: var(--iris-bright);
    font-family: var(--mono);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gu-plan-name {
    font-size: 1.2rem;
}

.gu-plan-tagline {
    margin-top: 0.3rem;
    color: var(--dim);
    font-size: 0.85rem;
    line-height: 1.45;
}

.gu-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 2.05rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.045em;
    line-height: 1;
}

.gu-plan-period {
    color: var(--dim);
    font-size: 0.78rem;
    letter-spacing: 0;
}

.gu-plan-features {
    display: grid;
    gap: 0.55rem;
    margin: 1.1rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

.gu-plan-features li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--mist);
    font-size: 0.88rem;
    line-height: 1.5;
}

.gu-plan-features li::before {
    position: absolute;
    top: 0.62em;
    left: 0.1rem;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--iris);
    content: '';
}

.gu-plan-included {
    margin-top: auto;
    padding-bottom: 1rem;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gu-plan .gu-btn {
    margin-top: auto;
    font-size: 0.9rem;
}

.gu-plan-included + .gu-btn {
    margin-top: 0;
}

.gu-plan-shared {
    margin-top: 1.5rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.gu-plan-shared-title {
    margin-bottom: 1rem;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gu-plan-shared-list {
    display: grid;
    gap: 0.55rem 1.75rem;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    list-style: none;
}

.gu-plan-shared-list li {
    position: relative;
    padding-left: 1.55rem;
    color: var(--mist);
    font-size: 0.9rem;
}

.gu-plan-shared-list li::before {
    position: absolute;
    top: 0.52em;
    left: 0.1rem;
    width: 0.8rem;
    height: 0.4rem;
    border: 1.6px solid var(--state-up);
    border-top: 0;
    border-right: 0;
    content: '';
    transform: rotate(-45deg);
}

.gu-plan-note {
    margin-top: 1.75rem;
    color: var(--dim);
    font-size: 0.87rem;
    text-align: center;
}

.gu-compare {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow-x: auto;
}

.gu-compare table {
    width: 100%;
    min-width: 40rem;
    border-collapse: collapse;
}

.gu-compare th,
.gu-compare td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.gu-compare thead th {
    background: var(--panel);
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.gu-compare tbody th {
    color: var(--bone);
    font-family: var(--body);
    font-size: 0.9rem;
    font-weight: 600;
}

.gu-compare tbody td {
    color: var(--mist);
    font-family: var(--mono);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.gu-compare tbody tr:last-child th,
.gu-compare tbody tr:last-child td {
    border-bottom: 0;
}

/* ==========================================================================
   Auth, contact and other form surfaces
   ========================================================================== */

.auth-wrapper {
    position: relative;
    isolation: isolate;
    display: grid;
    flex: 1;
    align-content: center;
    justify-items: center;
    width: 100%;
    padding: clamp(2rem, 6vw, 4.5rem) var(--gutter);
    overflow: hidden;
}

.auth-wrapper::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(90% 70% at 50% 0%, #000, transparent 74%);
    content: '';
    pointer-events: none;
}

.auth-layout {
    display: grid;
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    max-width: 68rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
}

.auth-aside > * + * {
    margin-top: 1.25rem;
}

.auth-aside-list {
    display: grid;
    gap: 1.1rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.auth-aside-list li {
    padding-left: 1.1rem;
    border-left: 2px solid var(--line-strong);
}

.auth-aside-list b {
    display: block;
    font-family: var(--display);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.auth-aside-list span {
    display: block;
    margin-top: 0.2rem;
    color: var(--mist);
    font-size: 0.89rem;
    line-height: 1.5;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 30rem;
    padding: clamp(1.5rem, 3.5vw, 2.15rem);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: 0 30px 80px -34px rgba(4, 8, 20, 0.95);
}

.auth-card-sign-up,
.auth-card-success {
    max-width: 32rem;
}

.auth-card-solo {
    margin-inline: auto;
}

.auth-header {
    margin-bottom: 1.5rem;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 0.22rem 0.6rem;
    border: 1px solid rgba(122, 147, 255, 0.42);
    border-radius: 6px;
    background: var(--iris-wash);
    color: var(--iris-bright);
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-title {
    font-size: clamp(1.6rem, 3.6vw, 2.05rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.auth-subtitle {
    margin-top: 0.7rem;
    color: var(--mist);
    font-size: 0.96rem;
    line-height: 1.6;
}

.auth-required-note {
    margin-bottom: 1.1rem;
    color: var(--dim);
    font-size: 0.83rem;
}

.auth-required-mark {
    color: var(--state-down);
    font-weight: 700;
}

.auth-form-group {
    min-width: 0;
    margin-bottom: 1rem;
}

.auth-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.auth-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--bone);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
}

.auth-label-row .auth-label {
    margin-bottom: 0;
}

.auth-inline-link {
    color: var(--iris);
    font-size: 0.84rem;
    font-weight: 600;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--mist);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    user-select: none;
}

.auth-check input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--iris);
    flex: 0 0 auto;
}

.auth-input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: rgba(8, 11, 20, 0.6);
    color: var(--bone);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.35;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input::placeholder {
    color: var(--dim);
    opacity: 1;
}

.auth-input:hover {
    border-color: rgba(148, 171, 214, 0.42);
}

.auth-input:focus-visible {
    outline: 2px solid var(--iris-bright);
    outline-offset: 1px;
    border-color: var(--iris);
}

.auth-input[aria-invalid='true'] {
    border-color: var(--state-down);
    background: rgba(255, 110, 110, 0.07);
}

.auth-textarea {
    min-height: 8.5rem;
    resize: vertical;
}

.auth-password-control {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
}

.auth-password-control .auth-input {
    border-radius: 10px 0 0 10px;
}

.auth-password-toggle {
    min-width: 4.25rem;
    min-height: 3rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-left: 0;
    border-radius: 0 10px 10px 0;
    background: rgba(148, 171, 214, 0.08);
    color: var(--iris);
    cursor: pointer;
    font-size: 0.87rem;
    font-weight: 600;
    white-space: nowrap;
}

.auth-password-toggle:hover {
    background: rgba(148, 171, 214, 0.15);
    color: var(--iris-bright);
}

.auth-password-control:focus-within .auth-input,
.auth-password-control:focus-within .auth-password-toggle {
    border-color: var(--iris);
}

.auth-field-help,
.auth-submit-status {
    margin-top: 0.45rem;
    color: var(--mist);
    font-size: 0.83rem;
    line-height: 1.45;
}

.auth-field-error {
    margin-top: 0.45rem;
    color: var(--state-down-text);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.45;
}

.auth-alert {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(53, 214, 155, 0.35);
    border-radius: 10px;
    background: var(--wash-up);
    color: var(--state-up-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.auth-alert-error {
    border-color: rgba(255, 110, 110, 0.4);
    background: var(--wash-down);
    color: var(--state-down-text);
}

.auth-alert svg {
    display: inline-block;
    vertical-align: -0.3em;
    margin-right: 0.35rem;
}

.auth-alert strong {
    display: block;
}

.auth-alert ul {
    margin: 0.55rem 0 0;
    padding-left: 1.2rem;
}

.auth-alert li + li {
    margin-top: 0.25rem;
}

.auth-alert a {
    color: currentColor;
    font-weight: 600;
    text-decoration: underline;
}

.auth-turnstile-panel {
    min-width: 0;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(8, 11, 20, 0.45);
}

.auth-turnstile-label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--bone);
    font-size: 0.86rem;
    font-weight: 600;
}

.cf-turnstile {
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: center;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 3rem;
    margin-top: 0.35rem;
    padding: 0.72rem 1rem;
    border: 1px solid var(--bone);
    border-radius: 999px;
    background: var(--bone);
    color: #0a1020;
    cursor: pointer;
    font-family: var(--body);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.auth-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a1020;
}

.auth-btn:disabled,
.auth-btn[aria-disabled='true'] {
    border-color: var(--line-strong);
    background: rgba(148, 171, 214, 0.12);
    color: var(--mist);
    cursor: not-allowed;
}

.auth-btn-secondary {
    border-color: var(--line-strong);
    background: rgba(148, 171, 214, 0.07);
    color: var(--bone);
}

.auth-btn-secondary:hover {
    background: rgba(148, 171, 214, 0.15);
    border-color: rgba(148, 171, 214, 0.42);
    color: var(--bone);
}

.auth-btn-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    border: 2px solid rgba(10, 16, 32, 0.35);
    border-top-color: #0a1020;
    border-radius: 999px;
    animation: auth-spin 0.7s linear infinite;
}

.auth-btn[aria-busy='true'] .auth-btn-spinner {
    display: inline-block;
}

.auth-trial-note {
    margin-top: 0.75rem;
    color: var(--dim);
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
}

.auth-trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.1rem;
    margin: 1.15rem 0 0;
    padding: 0;
    color: var(--mist);
    font-size: 0.82rem;
    list-style: none;
}

.auth-trust-list li::before {
    margin-right: 0.35rem;
    color: var(--state-up);
    content: '\2713';
    font-weight: 700;
}

.auth-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--mist);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.auth-footer a {
    color: var(--iris);
    font-weight: 600;
}

.auth-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin-top: 1rem;
}

.auth-success-mark {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(53, 214, 155, 0.42);
    border-radius: 999px;
    background: rgba(53, 214, 155, 0.1);
    color: var(--state-up);
    font-size: 1.5rem;
    place-items: center;
}

.auth-success-summary {
    margin: 1.25rem 0;
    padding: 1.05rem;
    border: 1px solid rgba(122, 147, 255, 0.32);
    border-radius: 12px;
    background: var(--iris-wash);
}

.auth-success-summary strong {
    display: block;
    color: var(--bone);
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-success-summary time {
    display: block;
    margin-top: 0.3rem;
    color: var(--iris-bright);
    font-family: var(--mono);
    font-size: clamp(1rem, 2.6vw, 1.22rem);
    letter-spacing: -0.02em;
}

.auth-success-next {
    margin-top: 1.25rem;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(8, 11, 20, 0.45);
}

.auth-success-next h2 {
    font-size: 1.05rem;
}

.auth-success-next p {
    margin-top: 0.45rem;
    color: var(--mist);
    font-size: 0.92rem;
    line-height: 1.55;
}

.auth-success-actions {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    margin-top: 1.25rem;
}

.auth-success-actions .auth-btn {
    margin-top: 0;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Legal
   ========================================================================== */

.gu-legal-hero {
    padding-block: clamp(56px, 7vw, 88px) clamp(32px, 4vw, 48px);
    border-bottom: 1px solid var(--line);
}

.gu-legal-hero > .gu-shell > * + * {
    margin-top: 1.1rem;
}

.gu-legal-hero .gu-lead {
    max-width: 42rem;
}

.gu-legal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gu-legal-layout {
    display: grid;
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
}

.gu-legal-toc {
    position: sticky;
    top: 92px;
}

.gu-legal-toc h2 {
    margin-bottom: 1rem;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gu-legal-toc ol {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    counter-reset: gu-toc;
    list-style: none;
}

.gu-legal-toc a {
    color: var(--mist);
    font-size: 0.88rem;
}

.gu-legal-toc a:hover {
    color: var(--bone);
}

.gu-legal-doc {
    max-width: 44rem;
}

.gu-legal-doc > section + section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.gu-legal-doc h2 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.gu-legal-doc h2 + * {
    margin-top: 1rem;
}

.gu-legal-doc p {
    color: var(--mist);
    font-size: 0.96rem;
    line-height: 1.72;
}

.gu-legal-doc p + p,
.gu-legal-doc p + ul,
.gu-legal-doc ul + p {
    margin-top: 1rem;
}

.gu-legal-doc a {
    text-decoration: underline;
}

.gu-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

/* ==========================================================================
   Docs / Resources
   ========================================================================== */

.gu-docs-hub,
.gu-blog-hub {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gu-blog-hub {
    grid-template-columns: minmax(0, 1fr);
    max-width: 44rem;
}

.gu-blog-card {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    padding: 1.4rem 1.5rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(122, 147, 255, 0.07), transparent 55%);
}

.gu-blog-card h2 a {
    color: inherit;
}

.gu-blog-card h2 a:hover {
    color: var(--iris-bright, #9db0ff);
}

.gu-blog-card p {
    color: var(--mist);
    font-size: 0.95rem;
    line-height: 1.55;
}

.gu-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gu-blog-hero .gu-eyebrow a {
    color: inherit;
    text-decoration: none;
}

.gu-blog-hero .gu-eyebrow a:hover {
    color: var(--bone);
}

.gu-blog-hero .gu-blog-meta {
    margin-top: 0.35rem;
}

.gu-blog-article > section + section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.gu-blog-pull {
    margin: 1.25rem 0;
    padding: 1rem 0 1rem 1.15rem;
    border-left: 2px solid rgba(122, 147, 255, 0.55);
    color: var(--bone);
    font-family: var(--display);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.45;
}

.gu-docs-card {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    padding: 1.4rem 1.5rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(122, 147, 255, 0.07), transparent 55%);
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gu-docs-card:hover {
    border-color: var(--line-strong);
    background: linear-gradient(165deg, rgba(122, 147, 255, 0.12), transparent 55%);
    color: inherit;
}

.gu-docs-card p {
    color: var(--mist);
    font-size: 0.95rem;
    line-height: 1.55;
}

.gu-docs-card .gu-link {
    margin-top: 0.35rem;
}

.gu-docs-toc {
    position: sticky;
    top: 92px;
}

.gu-docs-toc h2 {
    margin-bottom: 1rem;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gu-docs-toc ol {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gu-docs-toc a {
    color: var(--mist);
    font-size: 0.88rem;
}

.gu-docs-toc a:hover,
.gu-docs-toc a[aria-current='page'] {
    color: var(--bone);
}

.gu-docs-date {
    margin: 0 0 0.35rem;
    color: var(--dim);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gu-api-page-toc {
    margin-bottom: 2.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line);
}

.gu-api-page-toc h2 {
    margin-bottom: 0.85rem;
}

.gu-api-page-toc ol {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gu-api-page-toc a {
    color: var(--mist);
    font-size: 0.9rem;
}

.gu-api-page-toc a:hover {
    color: var(--bone);
}

.gu-glossary {
    display: grid;
    gap: 1.15rem;
    margin: 1.15rem 0 0;
}

.gu-glossary > div {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}

.gu-glossary > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.gu-glossary dt {
    color: var(--bone);
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.gu-glossary dd {
    margin: 0.4rem 0 0;
    color: var(--mist);
    font-size: 0.95rem;
    line-height: 1.65;
}

.gu-api-doc h3 {
    margin-top: 2rem;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.gu-api-doc h3 + p,
.gu-api-doc h3 + .gu-compare,
.gu-api-doc h3 + .gu-code-tabs {
    margin-top: 0.85rem;
}

.gu-code-tabs {
    margin-top: 1rem;
}

.gu-code-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

.gu-code-tab {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--mist);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.gu-code-tab:hover {
    color: var(--bone);
    border-color: var(--line-strong);
}

.gu-code-tab[aria-selected='true'] {
    border-color: rgba(122, 147, 255, 0.55);
    background: rgba(122, 147, 255, 0.12);
    color: var(--bone);
}

.gu-code-panel .gu-code {
    margin-top: 0;
}

.gu-legal-doc .gu-code,
.gu-code {
    display: block;
    overflow-x: auto;
    margin: 1rem 0 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--bone);
    font-family: var(--mono);
    font-size: 0.78rem;
    line-height: 1.55;
    white-space: pre;
}

.gu-legal-doc code {
    font-family: var(--mono);
    font-size: 0.86em;
}

.gu-legal-doc .gu-compare {
    margin-top: 1rem;
    overflow-x: auto;
}

/* ==========================================================================
   Motion
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    .gu-reveal {
        animation: gu-rise 0.55s cubic-bezier(0.22, 0.68, 0.24, 1) both;
    }

    .gu-reveal-1 { animation-delay: 0.04s; }
    .gu-reveal-2 { animation-delay: 0.10s; }
    .gu-reveal-3 { animation-delay: 0.16s; }
    .gu-reveal-4 { animation-delay: 0.22s; }
    .gu-reveal-5 { animation-delay: 0.28s; }
    .gu-reveal-6 { animation-delay: 0.34s; }

    .gu-monitor-down .gu-pill-down::before {
        animation: gu-blip 1.9s ease-in-out infinite;
    }

    .gu-live-dot {
        animation: gu-blip 2.4s ease-in-out infinite;
    }
}

@keyframes gu-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes gu-blip {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.gu-live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--state-up);
    flex: 0 0 auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
    .gu-hero-layout,
    .gu-lifecycle,
    .gu-routing,
    .gu-faq,
    .gu-split,
    .gu-legal-layout,
    .gu-docs-hub,
    .gu-blog-hub,
    .auth-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .gu-split {
        align-items: start;
    }

    .gu-legal-toc,
    .gu-docs-toc {
        position: static;
    }

    .auth-layout {
        justify-items: center;
        max-width: 34rem;
    }

    .auth-aside {
        order: 2;
        width: 100%;
    }

    .gu-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gu-proof-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gu-proof-list > div:nth-child(odd) {
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    .gu-nav-toggle {
        display: inline-flex;
    }

    .gu-nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.75rem var(--gutter) 1.25rem;
        background: rgba(8, 11, 20, 0.98);
        border-bottom: 1px solid var(--line);
    }

    .gu-nav-menu.is-open {
        display: flex;
    }

    .gu-nav-menu .gu-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .gu-nav-link {
        padding-block: 0.7rem;
    }

    .gu-nav-dropdown-panel {
        position: static;
        min-width: 0;
        margin: 0.15rem 0 0.35rem;
        padding: 0.35rem 0 0.35rem 0.85rem;
        border: 0;
        border-left: 1px solid var(--line);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .gu-nav-dropdown-panel a {
        padding-block: 0.55rem;
    }

    .gu-cards,
    .gu-states,
    .gu-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gu-footer-grid > :first-child {
        grid-column: 1 / -1;
    }

    .gu-feature-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .gu-feature-row:nth-child(even) .gu-feature-media {
        order: 0;
    }

    .gu-regions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gu-console-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gu-console-stat:nth-child(3) {
        border-left: 0;
    }

    .gu-console-stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .gu-proof-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gu-proof-list > div {
        padding-left: 1rem;
    }

    .gu-proof-list > div:nth-child(odd) {
        padding-left: 0;
    }

    .gu-cards,
    .gu-states,
    .gu-plan-grid,
    .gu-channels,
    .gu-footer-grid,
    .auth-row,
    .auth-success-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Cards are stacked here, so there is nothing left to align against and the
       reserved instrument height would only add dead space. */
    .gu-card-instrument {
        min-height: 0;
    }

    .gu-steps > li {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .gu-steps .gu-pill {
        grid-row: auto;
        grid-column: 2;
        justify-self: start;
        margin-top: 0.5rem;
    }

    .auth-wrapper {
        align-content: start;
        padding-block: 1.75rem 3rem;
    }
}

@media (max-width: 22rem) {
    .auth-card {
        padding-inline: 1rem;
    }

    /* The Turnstile widget has a hard minimum width; let it bleed into the
       card padding instead of forcing the card to scroll. */
    .auth-turnstile-panel {
        margin-inline: -0.75rem;
        padding-inline: 0.35rem;
    }

    .auth-trust-list {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .auth-card,
    .auth-btn-spinner,
    .gu-reveal {
        animation: none;
    }
}
