@font-face {
    font-family: "Geist"; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url("fonts/geist-latin.woff2") format("woff2");
}
@font-face {
    font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
    --bg: #08080a;
    --bg-2: #0f0f12;
    --bg-3: #16161a;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #ededf0;
    --text-2: #a1a1aa;
    --text-3: #6b6b76;
    --r-lg: 1.5rem;
    --r: 1rem;
    --r-sm: 0.75rem;
    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --wrap: 70rem;
    --gutter: clamp(1.25rem, 4vw, 2rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* Everything is sized in rem, so growing the root font size scales the whole page. It stays at 16px up to 1280px wide, then
   grows with the screen (20px at 1920, 24px from 2560) so a big monitor is not left with a small column and empty sides. */
html { font-size: clamp(16px, calc(16px + (100vw - 1280px) / 160), 24px); scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9375rem;
    line-height: 1.6;
    min-height: 100vh;
    display: flex; flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; width: 100%; }
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 70% 45% at 50% -12%, rgba(255, 255, 255, 0.08), transparent 70%);
}
body::after {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: var(--grain);
    background-size: 200px 200px;
    opacity: 0.035;
}
::selection { background: rgba(255, 255, 255, 0.9); color: #08080a; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232329; border-radius: 5px; border: 2px solid var(--bg); }
* { scrollbar-width: thin; scrollbar-color: #232329 var(--bg); }
a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    height: 2.5rem; padding: 0 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem; font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:active { transform: scale(0.98); }
.btn-sm { height: 2.1rem; padding: 0 0.9rem; font-size: 0.84rem; }
.btn-sm svg { width: 0.875rem; height: 0.875rem; }
.btn-light { color: #08080a; background: #ededf0; }
.btn-light:hover { background: #fff; }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn.copied { color: #15803d; }
.btn-ghost.copied { color: #4ade80; }
.icon-btn { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; color: var(--text-2); transition: color 0.2s ease; }
.icon-btn svg { width: 1.125rem; height: 1.125rem; }
.icon-btn:hover { color: var(--text); }

.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: 0.75rem; pointer-events: none; }
.site-head > .wrap { pointer-events: auto; }
.bar {
    display: flex; align-items: center; gap: 1rem;
    height: 3.25rem; padding: 0 0.45rem 0 0.8rem;
    border-radius: 999px;
    background: rgba(18, 18, 22, 0.6);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; }
.brand img { width: 1.75rem; height: 1.75rem; }
.nav-links { position: relative; display: flex; align-items: center; gap: 0.1rem; margin-inline: auto; }
.nav-links a { position: relative; z-index: 1; padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--text-2); transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-pill {
    position: absolute; left: 0; top: 50%; z-index: 0;
    width: 0; height: 2rem; margin-top: -1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    pointer-events: none;
}
.nav-cta + .nav-cta { margin-left: -0.55rem; }
.menu-btn { display: none; width: 2.4rem; height: 2.4rem; position: relative; border-radius: 999px; margin-left: auto; }
.menu-btn span { position: absolute; left: 50%; width: 16px; height: 1.5px; margin-left: -8px; border-radius: 2px; background: var(--text); transition: transform 0.35s var(--ease-out); }
.menu-btn span:first-child { top: calc(50% - 3.5px); }
.menu-btn span:last-child { top: calc(50% + 2.5px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu {
    display: grid; gap: 0.1rem;
    margin-top: 0.5rem; padding: 0.5rem;
    border-radius: 20px;
    background: #121216;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 40px -12px rgba(0, 0, 0, 0.8);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 0.75rem 0.85rem; border-radius: 12px; font-size: 1rem; font-weight: 500; color: var(--text-2); }
.mobile-menu > a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.mobile-menu .btn { margin-top: 0.35rem; height: 2.75rem; }

.display { font-size: clamp(3.4rem, 8vw, 6.25rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.055em; }
.display .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.display .line + .line { color: var(--text-3); }
.display .w { display: inline-block; padding-bottom: 0.06em; }
.lede { max-width: 38rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; color: var(--text-3); text-wrap: balance; }
.lede strong { font-weight: 500; color: var(--text); }
.sub { max-width: 30rem; color: var(--text-2); font-size: 1.05rem; line-height: 1.55; text-wrap: pretty; }

.hero { padding-top: clamp(7.5rem, 15vh, 9.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.loader {
    display: flex; align-items: center; gap: 0.6rem;
    width: min(34rem, 100%); min-height: 2.9rem;
    padding: 0.35rem 0.35rem 0.35rem 0.95rem;
    border-radius: var(--r-sm);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: box-shadow 0.25s ease;
}
.loader:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.loader.flash { box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.5); }
.loader code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.76rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-fn { color: var(--text); }
.tk-str { color: #fff; }
.copy-btn {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 0.4rem;
    height: 2.15rem; padding: 0 0.8rem;
    border-radius: 9px;
    font-size: 0.8rem; font-weight: 500; color: var(--text);
    background: var(--bg-3);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background 0.2s ease, color 0.2s ease;
}
.copy-btn:hover { background: #1d1d22; }
.copy-btn.copied { color: #4ade80; }
.copy-icon { position: relative; width: 0.875rem; height: 0.875rem; }
.copy-icon svg { position: absolute; inset: 0; width: 0.875rem; height: 0.875rem; transition: opacity 0.2s ease, transform 0.3s var(--ease-out); }
.ic-check { opacity: 0; transform: scale(0.5); }
.copied .ic-copy { opacity: 0; transform: scale(0.5); }
.copied .ic-check { opacity: 1; transform: none; }

.stage {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: var(--r-lg);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
}
.stage::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center;
    -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
    mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.emblem { width: min(100%, 27.5rem); aspect-ratio: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.el-tile {
    position: absolute; top: 1rem; left: 1rem; z-index: 1;
    display: grid; justify-items: start;
    min-width: 4.4rem; padding: 0.55rem 0.7rem 0.6rem;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 0 0 1px var(--line);
    font-family: var(--mono);
    line-height: 1.25;
    pointer-events: none;
}
.el-num { font-size: 0.66rem; color: var(--text-3); }
.el-sym { font-family: var(--font); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; color: var(--text); }
.el-name { font-size: 0.66rem; color: var(--text-2); }
.el-mass { font-size: 0.62rem; color: var(--text-3); }

.sec { padding-top: clamp(5rem, 11vh, 8rem); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; flex-wrap: wrap; margin-bottom: 2.25rem; }

/* Cards wrap and whatever is left on the last row is centred. The column count follows the width of the
   list itself: 3 across when there is room for three 320px cards, then 2, then 1. */
.games { position: relative; container-type: inline-size; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 0.9rem; }
.feature { --cols: 1; flex: 0 0 calc((100% - (var(--cols) - 1) * 0.9rem) / var(--cols)); }
@container (min-width: 655px) { .feature { --cols: 2; } }
@container (min-width: 989px) { .feature { --cols: 3; } }
.feature {
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    background: var(--bg-3);
}
.feature::after {
    content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.25s ease;
}
.feature:hover::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.feature-media { position: absolute; inset: 0; background: var(--bg-3); }
.feature-media::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
    transform: translateX(-130%);
}
.feature:hover .feature-media::before { transform: translateX(130%); transition: transform 0.9s var(--ease-out); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease, transform 0.7s var(--ease-out); }
.feature-media img.is-loaded { opacity: 1; }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature.is-entering, .executor.is-entering { animation: rise 0.6s var(--ease-out) both; }
.feature-skeleton { pointer-events: none; }
/* Executors: one long row each, with a short bar on the left in the status colour */
.executors { display: flex; flex-direction: column; gap: 0.6rem; }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin: -1rem 0 1.5rem; padding: 0; list-style: none; font-size: 0.85rem; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 0.55rem; }
.legend li::before { content: ""; width: 0.25rem; height: 1rem; border-radius: 99px; background: var(--status, var(--text-3)); }
.legend li[data-status="full"], .executor[data-status="full"] { --status: #4ade80; }
.legend li[data-status="partial"], .executor[data-status="partial"] { --status: #E6C77A; }
.legend li[data-status="unsupported"], .executor[data-status="unsupported"] { --status: #f87171; }
.executor { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1.1rem; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s ease, background 0.25s ease; }
.executor:hover { background: #121216; box-shadow: inset 0 0 0 1px var(--line-2); }
.executor-bar { flex: none; width: 0.25rem; height: 1.75rem; border-radius: 99px; background: var(--status, var(--text-3)); }
.executor-icon { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; }
.executor-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 0.5rem; }
.executor-icon.is-letter { border-radius: var(--r-sm); background: var(--bg-3); font-weight: 600; color: var(--text-2); }
.executor-main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.executor-name { font-size: 1.05rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; overflow-wrap: anywhere; }
a.executor-name:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.executor-note { font-size: 0.88rem; line-height: 1.4; color: var(--text-2); }
.executor-side { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; margin-left: auto; }
.executor-platforms { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; }
.executor-skeleton { height: 4.1rem; padding: 0; overflow: hidden; }
.executor-skeleton .sk { width: 100%; height: 100%; border-radius: 0; }
@media (max-width: 600px) {
    .executor { flex-wrap: wrap; row-gap: 0.7rem; }
    .executor-side { flex: 1 0 100%; justify-content: space-between; margin-left: 0; padding-left: 4.75rem; }
}
.executors-empty { width: 100%; padding: 2.5rem 0; text-align: center; color: var(--text-3); }
/* Get Key links wait for the /keyless.txt check so a keyless site never flashes them; if it takes too long they show. */
html.js:not(.key-known):not(.failsafe) [data-key] { display: none; }
.keyless-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; color: #4ade80; background: rgba(74, 222, 128, 0.08); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.25); }
.keyless-badge[hidden] { display: none; }
.keyless-badge::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.exec-count { display: inline-flex; align-items: center; gap: 0.55rem; margin: -0.5rem 0; font-size: 0.9rem; color: var(--text-2); }
.exec-count[hidden] { display: none; }
.exec-count::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); animation: exec-pulse 2s ease-out infinite; }
.exec-num { font-family: var(--mono); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
@keyframes exec-pulse { to { box-shadow: 0 0 0 0.45rem rgba(74, 222, 128, 0); } }
@media (prefers-reduced-motion: reduce) { .exec-count::before { animation: none; } }
/* Terms and Privacy: one readable column of prose */
.legal { max-width: 46rem; }
.legal-head { margin-bottom: 2.5rem; }
.legal-head .lede { max-width: none; }
.legal-date { margin-top: 0.9rem; font-family: var(--mono); font-size: 0.8rem; color: var(--text-3); }
.legal-body { color: var(--text-2); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }
.legal-body h2 { margin: 2.5rem 0 0.75rem; font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--text); }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: 0.9rem; }
.legal-body ul { padding-left: 1.25rem; }
.legal-body li + li { margin-top: 0.4rem; }
.legal-body li::marker { color: var(--text-3); }
.legal-body strong { font-weight: 600; color: var(--text); }
.legal-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.2em; transition: text-decoration-color 0.2s ease; }
.legal-body a:hover { text-decoration-color: currentColor; }
.games-more { display: flex; margin: 0.9rem auto 0; }
.games-more[hidden] { display: none; }
.sk {
    display: block; border-radius: 8px;
    background: linear-gradient(100deg, var(--bg-3) 40%, rgba(255, 255, 255, 0.06) 50%, var(--bg-3) 60%) var(--bg-3);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}
.feature-media.sk { border-radius: 0; }
@keyframes shimmer {
    from { background-position: 150% 0; }
    to { background-position: -50% 0; }
}
.chip { padding: 0.2rem 0.55rem; border-radius: 8px; font-family: var(--mono); font-size: 0.72rem; color: var(--text-2); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.chip[data-status="updating"], .chip[data-status="maintenance"], .chip[data-status="partial"] { color: #E6C77A; }
.chip[data-status="full"] { color: #4ade80; }
.chip[data-status="unsupported"] { color: #f87171; }
.feature > .chip {
    position: absolute; top: 0.85rem; left: 0.85rem; z-index: 3; pointer-events: none;
    background: rgba(8, 8, 10, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* The name and buttons sit over the thumbnail and fade in on hover or keyboard focus. */
.feature-body {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
    padding: 1rem 1.1rem 1.1rem;
    background: linear-gradient(to top, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.62) 48%, rgba(8, 8, 10, 0.34) 100%);
    opacity: 0; transition: opacity 0.3s ease;
}
.feature-title { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; transform: translateY(8px); transition: transform 0.4s var(--ease-out); }
.feature-meta { margin-top: 0.4rem; font-size: 0.95rem; color: var(--text-2); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; transform: translateY(10px); transition: transform 0.4s var(--ease-out) 0.04s; }
/* :has(:focus-visible), not :focus-within, so a mouse click on Play doesn't hold the overlay open; only keyboard focus does. */
.feature:is(:hover, :has(:focus-visible), .no-image) .feature-body { opacity: 1; }
.feature:is(:hover, :has(:focus-visible), .no-image) :is(.feature-title, .feature-actions) { transform: none; }
/* A link of its own covers the whole card; the overlay lets clicks through except on the buttons. */
.feature-link { position: absolute; inset: 0; z-index: 1; }
.feature-body { pointer-events: none; }
.feature-actions .btn { pointer-events: auto; }
.btn-play { color: #052e16; background: #4ade80; }
.btn-play:hover { background: #86efac; }
.feature .btn-ghost { background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.feature .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
/* Touch screens can't hover, so there the name and buttons stay visible. A narrow desktop window can hover, so it keeps the hover behaviour. */
@media (hover: none) and (pointer: coarse) {
    .feature-body { opacity: 1; background: linear-gradient(to top, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.55) 40%, rgba(8, 8, 10, 0) 72%); }
    .feature-title, .feature-actions { transform: none; }
}

.request {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 0.75rem; padding: 1rem 1.25rem;
    border-radius: var(--r-lg);
    border: 1px dashed rgba(255, 255, 255, 0.16);
    transition: border-color 0.25s ease, background 0.25s ease;
}
.request:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.02); }
.request-plus { display: grid; place-items: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); transition: color 0.2s ease; }
.request-plus svg { width: 1.125rem; height: 1.125rem; transition: transform 0.4s var(--ease-out); }
.request:hover .request-plus { color: var(--text); }
.request:hover .request-plus svg { transform: rotate(90deg); }
.request-text { display: grid; min-width: 0; }
.request-text strong { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }
.request-text span { font-size: 0.86rem; color: var(--text-2); }
.request-go { margin-left: auto; flex-shrink: 0; color: var(--text-3); transition: color 0.2s ease, transform 0.3s var(--ease-out); }
.request-go svg { width: 1rem; height: 1rem; }
.request:hover .request-go { color: var(--text); transform: translate(2px, -2px); }

.steps {
    list-style: none;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: var(--r-lg);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
    overflow: hidden;
}
.step { padding: 1.9rem 2rem 2rem; }
.step + .step { border-left: 1px solid var(--line); }
.step-n { display: inline-block; margin-bottom: 1.5rem; font-family: var(--mono); font-size: 0.74rem; color: var(--text-3); }
.step h3 { margin-bottom: 0.35rem; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.step p { font-size: 0.92rem; color: var(--text-2); text-wrap: pretty; }
.step p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.2em; transition: text-decoration-color 0.2s ease; }
.step p a:hover { text-decoration-color: currentColor; }

.cta {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem;
    padding: clamp(2.2rem, 5vw, 3.5rem);
    border-radius: var(--r-lg);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
}
.cta::before {
    content: ""; position: absolute; top: 50%; right: clamp(1.5rem, 5vw, 4rem); z-index: -1;
    width: clamp(9rem, 15vw, 11.5rem); aspect-ratio: 1;
    margin-top: calc(clamp(9rem, 15vw, 11.5rem) / -2);
    background: url("logo-3d.svg") center / contain no-repeat;
    opacity: 0.9;
    translate: calc(var(--cx, 0) * 1px) calc(var(--cy, 0) * 1px);
    transition: translate 0.8s var(--ease-out);
}
.cta .lede { max-width: 30rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sec-cta { padding-bottom: clamp(4rem, 9vh, 6rem); }

.lost { display: flex; align-items: center; }
.lost .hero { width: 100%; padding-bottom: clamp(1rem, 4vh, 3rem); }

.foot { flex-shrink: 0; border-top: 1px solid var(--line); padding: 1.75rem 0; margin-top: clamp(2rem, 5vh, 4rem); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot p { font-size: 0.84rem; color: var(--text-3); }
.foot-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.foot-links a { font-size: 0.84rem; color: var(--text-2); transition: color 0.2s ease; }
.foot-links a:hover { color: var(--text); }
.foot-el { padding-left: 1rem; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 0.74rem; color: var(--text-3); }

.reveal [data-reveal],
.reveal [data-stagger] > *,
.intro .display .w,
.intro [data-hero],
.intro .stage { opacity: 0; }

.failsafe:not(.motion) [data-reveal],
.failsafe:not(.motion) [data-stagger] > *,
.failsafe:not(.motion) .display .w,
.failsafe:not(.motion) [data-hero],
.failsafe:not(.motion) .stage,
.static [data-reveal],
.static [data-stagger] > *,
.static .display .w,
.static [data-hero],
.static .stage { opacity: 1 !important; }

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
}
@media (max-width: 768px) {
    .reveal .display .line,
    .reveal [data-hero],
    .reveal .hero .stage { animation: rise 0.7s var(--ease-out) both; }
    .reveal .display .line + .line { animation-delay: 0.08s; }
    .reveal .hero .sub { animation-delay: 0.16s; }
    .reveal .hero .loader { animation-delay: 0.22s; }
    .reveal .hero .hero-ctas { animation-delay: 0.28s; }
    .reveal .hero .stage { animation-delay: 0.34s; }
}

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

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .emblem { width: min(88%, 380px); }
    .lost .emblem { width: min(80%, 320px); }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .step, .step + .step { padding: 1.5rem; border-left: 0; }
    .step + .step { border-top: 1px solid var(--line); }
    .step-n { margin-bottom: 0.9rem; }
    .cta .lede { max-width: calc(100% - 11.5rem); }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .menu-btn { display: block; }
    .bar { background: rgba(18, 18, 22, 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .hero { padding-top: 6.5rem; }
    .hero-ctas { width: 100%; }
    .hero-ctas .btn { flex: 1 1 10rem; height: 2.75rem; }
    .loader { padding: 0.55rem 0.4rem 0.55rem 0.85rem; }
    .loader code { font-size: 0.72rem; line-height: 1.5; white-space: normal; word-break: break-all; }
    .el-tile { top: 0.75rem; left: 0.75rem; min-width: 3.8rem; padding: 0.45rem 0.6rem 0.5rem; }
    .el-sym { font-size: 1.3rem; }
    .cta { padding-top: 7.5rem; }
    .cta .lede { max-width: none; }
    .cta::before { top: 1.25rem; right: 1.25rem; width: 5.5rem; margin-top: 0; opacity: 0.9; -webkit-mask-image: none; mask-image: none; translate: none; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 10rem; height: 2.75rem; }
}
@media (max-width: 600px) {
    .foot-inner { flex-direction: column; text-align: center; }
    .foot-links { justify-content: center; }
}
