/* se2mp.com, "Launcher" design (23 Oct 2026, Luca picked option A: the site in the SE2MP launcher's look).
   Dark navy, cyan headings, bordered panels: Rajdhani headings, Barlow text, Barlow Semi Condensed labels,
   JetBrains Mono for small numbers. Pre-launcher (Devlog) version: backups/se2mp-pre-launcher-2026-10-23/.
   Strict CSP: no inline style attributes anywhere, everything lives here. */
:root {
  color-scheme: dark;
  --bg: #07111c;
  --card: #0e2033;
  --card-hi: #14304a;
  --ink: #e6eef6;
  --soft: #c9d6e2;
  --mute: #9fb3c6;
  --line: #24425f;
  --line-hi: #2f8be0;
  --accent: #4fb4ff;
  --accent-hi: #8fd0ff;
  --btn: #1a7fd4;
  --btn-top: #2593ea;
  --btn-low: #1670c2;
  --ok: #3ddc84;
  --test: #f0b44c;
  --bad: #ff6b6b;
  --max: 1120px;
  --wide: 1280px;
  --gut: clamp(16px, 4vw, 32px);
  --f-head: 'Rajdhani', 'Barlow Semi Condensed', 'Segoe UI', sans-serif;
  --f-label: 'Barlow Semi Condensed', 'Barlow', 'Segoe UI', sans-serif;
  --f-body: 'Barlow', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: radial-gradient(1200px 520px at 85% -8%, #163a5e88, transparent 60%) no-repeat, var(--bg); color: var(--ink); font: 400 18px/1.6 var(--f-body); }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hi); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1; margin: 0; text-wrap: balance; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--wide { max-width: var(--wide); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

/* top bar */
.top { border-bottom: 1px solid var(--line); background: #050d16cc; }
.top__in { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-block: 14px; }
.mark { font: 700 28px/1 var(--f-head); letter-spacing: .04em; color: var(--accent); text-decoration: none; padding-block: 6px; }
.mark small { display: block; margin-top: 4px; font: 600 12px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.mark:hover { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 0 22px; font: 600 16px/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 12px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

/* hero: a faint in-game shot behind the text */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 88px); padding-bottom: 56px; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(/media/shot-1920.jpg) center / cover no-repeat; opacity: .28; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 22%, #07111c99 60%, var(--bg)), linear-gradient(transparent 55%, var(--bg)); }
.hero > .wrap { position: relative; z-index: 1; }
.meta { margin: 0; font: 600 14px/1.5 var(--f-label); letter-spacing: .04em; color: var(--mute); }
.hero h1 { margin-top: 16px; max-width: 12ch; font-size: clamp(46px, 7.6vw, 100px); line-height: .92; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: end; }
.lede p { margin: 0; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; color: var(--soft); }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; font-size: 18px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* panels, buttons */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
.signup { padding: 26px; background: #0e2033e6; }
.signup h2 { margin-top: 14px; font-size: 28px; line-height: 1.1; }
.signup .sub { margin: 8px 0 0; font-size: 16px; color: var(--mute); }
.soon { display: inline-block; margin: 0; font: 600 13px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--test); border: 1px solid #f0b44c66; background: #f0b44c14; padding: 7px 10px; border-radius: 3px; }
.soon--ok { color: var(--ok); border-color: #3ddc8466; background: #3ddc8414; }
.btn--block { margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid #5cb6ff; border-radius: 4px; background: linear-gradient(var(--btn-top), var(--btn-low)); box-shadow: 0 0 0 1px #0b3c66, 0 8px 24px -10px var(--btn-top); color: #fff; font: 700 18px/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn::before { content: ""; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.btn:hover { color: #fff; filter: brightness(1.12); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--sm::before, .btn--light::before { display: none; }
.btn--light { background: transparent; border-color: var(--line); box-shadow: none; }
.btn--light:hover { border-color: var(--line-hi); background: var(--card-hi); filter: none; }
.small { margin: 10px 0 0; font-size: 13px; color: var(--mute); }
.banner { margin: 14px 0 0; padding: 12px 14px; border-radius: 4px; background: #3ddc8418; color: var(--ok); font-size: 15px; }
.banner.is-err { background: #ff6b6b18; color: var(--bad); }

/* video */
.frame { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #03080e; }
.frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sound { position: absolute; right: 14px; bottom: 14px; background: #07111cc7; border-color: var(--line); box-shadow: none; }
.sound:hover { background: var(--card-hi); filter: none; }

/* sections */
.sec { padding-top: clamp(64px, 9vw, 104px); }
.sec h2 { font-size: clamp(34px, 4.2vw, 50px); }
.sec__head { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; }
.more { font: 600 16px/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase; padding-block: 10px; }
.intro { margin: 14px 0 0; max-width: 40em; color: var(--soft); }

/* how it works */
.steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; }
.steps p { margin: 10px 0 0; color: var(--soft); }
.steps strong { color: var(--ink); }
.num { font: 500 14px/1 var(--f-mono); color: var(--accent); }
.launcher__shot { margin: 28px 0 0; }
.launcher__shot a { display: block; cursor: zoom-in; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: 0 30px 70px -30px #000; }
.launcher__shot a:hover { border-color: var(--line-hi); }
.launcher__shot img { width: 100%; height: auto; }

/* dedicated servers (coming soon) */
.servers { padding: clamp(22px, 4vw, 36px); background: linear-gradient(100deg, var(--card-hi), var(--card) 60%); }
.servers h2 { margin-top: 14px; }
.servers p:not(.soon) { margin: 12px 0 0; max-width: 40em; color: var(--soft); }

/* what works today */
.hl { margin: 28px 0 0; padding: 0; list-style: none; overflow: hidden; }
.hl li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.hl li:last-child { border-bottom: 0; }
.hl__k { font: 600 14px/1.9 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.hl--ok .hl__k { color: var(--ok); }
.hl--test .hl__k { color: var(--test); }
.hl--bad .hl__k { color: var(--bad); }
@media (max-width: 520px) { .hl li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 18px; } }

/* faq */
.faq { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.faq h2 { flex: 1 1 260px; }
.faq dl { margin: 0; flex: 2 1 560px; min-width: 0; display: grid; gap: 24px; }
.faq dt { font: 600 19px/1.3 var(--f-label); }
.faq dd { margin: 4px 0 0; color: var(--soft); }

/* call-to-action band */
.band { background: linear-gradient(100deg, #12375a, var(--card) 70%); border: 1px solid var(--line-hi); border-radius: 6px; padding: clamp(26px, 5vw, 44px); display: flex; flex-wrap: wrap; gap: 24px 28px; align-items: center; justify-content: space-between; }
.band > div { max-width: 36em; }
.band h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; }
.band p { margin: 10px 0 0; color: var(--soft); }
.band--end { margin-top: 64px; }
.band .btn--light { background: linear-gradient(var(--btn-top), var(--btn-low)); border-color: #5cb6ff; box-shadow: 0 0 0 1px #0b3c66; }
.band .btn--light:hover { filter: brightness(1.12); }

/* footer */
.foot { margin-top: clamp(64px, 9vw, 104px); padding-top: 28px; padding-bottom: 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.foot p { margin: 0 0 8px; max-width: 62em; }

/* status page */
.shead { padding-top: clamp(32px, 6vw, 64px); }
.shead h1 { margin-top: 14px; font-size: clamp(46px, 7vw, 92px); }
.jump { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); color: var(--ink); text-decoration: none; font: 600 15px/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase; }
.jump a:hover { border-color: var(--line-hi); background: var(--card-hi); color: var(--ink); }
.jump .n { font: 500 13px/1 var(--f-mono); color: var(--accent); }
.sgroup { margin-top: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 4vw, 34px); scroll-margin-top: 16px; }
.sgroup h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 3vw, 36px); }
.sgroup h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--mute); }
.sgroup--ok h2::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.sgroup--test h2::before { background: var(--test); box-shadow: 0 0 10px var(--test); }
.sgroup--bad h2::before { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.sgroup h3 { margin: 26px 0 0; font-size: 22px; color: var(--accent); }
.sgroup p { margin: 12px 0 0; color: var(--soft); }
.sgroup ul { margin: 16px 0 0; padding: 0; list-style: none; }
.sgroup li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line); position: relative; }
.sgroup li::before { content: ""; position: absolute; left: 2px; top: 1.25em; width: 7px; height: 7px; border-radius: 50%; background: var(--line-hi); }
.sgroup--ok li::before { background: var(--ok); }
.sgroup--test li::before { background: var(--test); }
.sgroup--bad li::before { background: var(--bad); }
.sgroup li ul { margin-top: 8px; }
.sgroup li li { border-top: 0; padding-block: 4px; font-size: 16px; color: var(--soft); }
.sgroup li li::before { background: var(--line-hi); }
.sgroup code { font: 400 0.9em var(--f-mono); }

/* launcher picture pop-up (app.js) */
.lightbox { padding: 0; border: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; display: none; place-items: center; cursor: zoom-out; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(3, 8, 14, .9); }
.lightbox img { max-width: min(1782px, calc(100vw - 32px)); max-height: calc(100vh - 32px); width: auto; height: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.lightbox__x { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox__x:hover, .lightbox__x:focus-visible { background: var(--card-hi); }
.is-locked { overflow: hidden; }

/* 404 */
.lost { padding-block: clamp(64px, 12vw, 140px); }
.lost h1 { font-size: clamp(46px, 7vw, 92px); }
.lost p { margin: 18px 0 28px; color: var(--soft); }
