/* IronVault Hosting — "paper & ink": warm light surfaces, ink type, logo copper as the single accent. */
:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --surface-2: #ecebe5;
  --ink: #16181b;
  --text: #2b2e33;
  --muted: #5f646c;
  --line: #d8d6ce;
  --line-strong: #b9b6ac;
  --accent: #b8670f;       /* logo copper */
  --accent-ink: #8e4e09;   /* copper dark enough for text on light backgrounds */
  --accent-soft: #f4e6d6;
  --ok: #1d7f47;
  --radius: 4px;
  --wrap: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); font-style: normal; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: #fff; font: 600 15px/1.2 var(--font); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244,243,239,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 18px var(--font); color: var(--ink); letter-spacing: -0.02em; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav__links a:not(.btn) { color: var(--muted); transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__sep { width: 1px; height: 20px; background: var(--line); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px 6px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

/* Hosting dropdown */
.dd { position: relative; }
.dd__btn { background: none; border: 0; padding: 0; font: 500 15px var(--font); color: var(--muted); cursor: pointer; display: flex; gap: 4px; align-items: center; }
.dd__btn:hover, .dd__btn[aria-expanded="true"] { color: var(--ink); }
.dd__btn span { font-size: 11px; transition: transform .15s; }
.dd__btn[aria-expanded="true"] span { transform: rotate(180deg); }
.dd__panel { display: none; position: absolute; top: calc(100% + 18px); left: -24px; width: 640px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 20px 50px rgba(22,24,27,.12); padding: 20px; grid-template-columns: 1fr 1fr .8fr; gap: 8px 20px; z-index: 60; }
.dd__btn[aria-expanded="true"] + .dd__panel { display: grid; }
.dd__label { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px 10px; }
.dd__col { display: grid; gap: 2px; align-content: start; }
.dd__col a { display: grid; padding: 9px 10px; border-radius: var(--radius); color: var(--ink) !important; font-size: 14.5px; }
.dd__col a:hover { background: var(--surface-2); }
.dd__col a b { font-weight: 600; }
.dd__col a span { font-size: 13px; color: var(--muted); }
.dd__col--side { border-left: 1px solid var(--line); padding-left: 16px; }
.dd__col--side a { padding: 7px 10px; color: var(--muted) !important; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.hero { background-color: var(--bg); }
.hero::before { content: none; }
.hero__inner { position: relative; padding: 48px 48px 56px; background: var(--bg); border: 1px solid var(--line); border-bottom: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--mono); color: var(--muted); border: 1px solid var(--line); background: var(--surface); padding: 6px 12px 6px 6px; border-radius: 999px; margin-bottom: 32px; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill__new { background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.hero h1 { font: 800 clamp(42px, 8vw, 104px)/0.98 var(--font); letter-spacing: -0.045em; max-width: 12ch; }
.hero h1 .dot { color: var(--accent); }
.lead { color: var(--muted); font-size: 19px; max-width: 58ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.proof { list-style: none; padding: 24px 0 0; margin: 44px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.proof strong { display: block; font: 700 15px var(--font); color: var(--ink); }
.proof span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* Product window */
.window { background: var(--surface); border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 8px 8px 0 0; overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window__bar span { margin-left: 12px; font: 12px var(--mono); color: var(--muted); }
.window__body { display: grid; grid-template-columns: 220px 1fr; min-height: 360px; }
.side { border-right: 1px solid var(--line); padding: 18px 12px; background: #faf9f6; }
.side__label { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 10px; margin: 6px 0 8px; }
.side__label:not(:first-child) { margin-top: 22px; }
.side__item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--radius); font-size: 14px; color: var(--text); cursor: default; }
.side__item em { margin-left: auto; font: 11px var(--mono); color: var(--muted); font-style: normal; }
.side__item.is-active { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.st { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.st--on { background: var(--ok); }
.st--idle { background: var(--line-strong); }
.st--ticket { background: var(--accent); }
.pane { padding: 22px 26px 26px; min-width: 0; }
.pane__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pane__head h2 { font: 700 22px var(--font); }
.pane__head p { font: 13px var(--mono); color: var(--muted); margin-top: 4px; }
.ok { color: var(--ok); }
.pane__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 12.5px var(--mono); padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.chip--accent { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 10px; }
.tile p { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tile strong { display: block; font: 700 24px var(--font); color: var(--ink); margin: 4px 0 6px; }
.tile small { font-size: 14px; color: var(--muted); font-weight: 500; }
.spark { width: 100%; height: 28px; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.console { margin: 0; background: var(--ink); color: #d6d3cb; border-radius: var(--radius); padding: 16px 18px; font: 13px/1.8 var(--mono); overflow-x: auto; white-space: pre; }
.c-dim { color: #7c7f85; } .c-ok { color: #6fcf97; } .c-acc { color: #e3a55a; }
.cursor { animation: blink 1s steps(1) infinite; color: #e3a55a; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section--alt { background: var(--surface-2); }
.head { margin-bottom: 52px; max-width: 760px; }
.eyebrow { font: 600 13px var(--mono); color: var(--accent-ink); letter-spacing: .04em; margin-bottom: 18px; }
.section h2 { font: 800 clamp(32px, 4.6vw, 54px)/1.04 var(--font); letter-spacing: -0.035em; }
.section .lead { margin-top: 18px; }

/* Service cards: ruled grid */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.card { padding: 28px 24px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transition: background .2s; }
.card:last-child { border-right: 0; }
.card:hover { background: var(--surface); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font: 700 20px var(--font); margin-top: 8px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .card__from { flex: 0; font: 600 13.5px var(--mono); color: var(--ink); }
.link { font: 600 14px var(--mono); color: var(--accent-ink); }
.link::after { content: " →"; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Games grid */
.games { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.game { display: grid; gap: 4px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px; cursor: pointer; font: inherit; color: var(--text); transition: border-color .15s, transform .15s; }
.game:hover { border-color: var(--ink); transform: translateY(-2px); }
.game__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: var(--ink); color: #fff; font: 700 14px var(--mono); margin-bottom: 10px; }
.game:nth-child(3n+2) .game__mark { background: var(--accent); }
.game:nth-child(3n+3) .game__mark { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); }
.game__name { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.25; }
.game__from { font-size: 13px; color: var(--muted); }
.game__from b { color: var(--ink); }

/* RAM calculator */
.calc { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.2fr .9fr; gap: 32px; align-items: start; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; padding: 32px; }
.calc__intro h3 { font: 800 26px/1.15 var(--font); letter-spacing: -0.03em; margin-bottom: 10px; }
.calc__intro .eyebrow { margin-bottom: 10px; }
.calc__form { display: grid; gap: 18px; }
.calc__form output { font: 600 13px var(--mono); color: var(--accent-ink); }
.calc__form input[type="range"] { accent-color: var(--ink); padding: 0; border: 0; background: none; }
.calc__result { border-left: 1px solid var(--line); padding-left: 28px; display: grid; gap: 6px; }
.calc__result strong { font: 800 40px/1.1 var(--font); color: var(--ink); letter-spacing: -0.04em; }
.calc__plan { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.calc__plan a { color: var(--accent-ink); text-decoration: underline; }
.seg.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg.seg--2x2 { grid-template-columns: 1fr 1fr; }

/* Plan switcher + plans */
.switch-wrap { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.switch { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.cycles { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.cycles button { background: none; border: 1px solid transparent; border-radius: 999px; padding: 7px 14px; font: 600 13.5px var(--font); color: var(--muted); cursor: pointer; }
.cycles button b { color: var(--accent-ink); font-weight: 700; }
.cycles button:hover { color: var(--ink); }
.cycles button[aria-checked="true"] { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.switch button { white-space: nowrap; background: none; border: 0; border-right: 1px solid var(--line); color: var(--muted); font: 600 14px var(--font); padding: 10px 20px; cursor: pointer; }
.switch button:last-child { border-right: 0; }
.switch button:hover { color: var(--ink); }
.switch button[aria-selected="true"] { background: var(--ink); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px; display: flex; flex-direction: column; animation: rise .3s ease both; }
.plan:nth-child(2) { animation-delay: .04s; } .plan:nth-child(3) { animation-delay: .08s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.plan--hot { border: 1.5px solid var(--ink); }
.plan__flag { position: absolute; top: 0; right: 0; background: var(--ink); color: #fff; font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 0 4px 0 4px; }
.plan__name { font: 600 13px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.plan__price { font: 800 46px/1.1 var(--font); color: var(--ink); letter-spacing: -0.04em; margin: 14px 0 2px; }
.plan__cycle { font: 500 12.5px var(--mono); color: var(--muted); margin-bottom: 10px; }
.plan__price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__desc { color: var(--muted); font-size: 15px; min-height: 48px; }
.plan__managed { font: 500 12.5px var(--mono); color: var(--accent-ink); margin-top: 8px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--accent); }
.included { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font: 500 13.5px var(--mono); color: var(--muted); }
.included li::before { content: "✓ "; color: var(--ok); }

.note { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); color: var(--muted); }
.note b { color: var(--ink); }

/* Steps (3) + features */
.steps--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
#features .sub { margin-top: 80px; }
.sub { font: 800 26px var(--font); letter-spacing: -0.03em; margin-bottom: 24px; }
.feat { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.feat li { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.feat b { color: var(--ink); font-size: 15px; display: flex; gap: 8px; align-items: center; }
.feat b::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
.feat span { color: var(--muted); font-size: 14px; }

/* Locations */
.locs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.locs li { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.locs b { color: var(--ink); font-weight: 600; }
.locs em { margin-left: auto; font: 12.5px var(--mono); color: var(--muted); font-style: normal; padding-right: 16px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: grid; gap: 16px; }
.review blockquote { margin: 0; color: var(--text); }
.review figcaption { font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--ink); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--top { align-items: start; }
.split .btn { margin-top: 32px; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { padding-left: 28px; position: relative; color: var(--muted); }
.checks li b { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 1.5px; background: var(--accent); }

/* Chat mock (light, neutral — not a Discord clone) */
.chat { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; padding-bottom: 14px; }
.chat__head { padding: 14px 20px; border-bottom: 1px solid var(--line); font: 600 14px var(--mono); color: var(--ink); margin-bottom: 8px; }
.chat__head span { color: var(--muted); }
.msg { display: flex; gap: 12px; padding: 10px 20px; font-size: 15px; }
.msg .who { font-weight: 700; color: var(--ink); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--font); background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.avatar--alt { background: #e3ece6; }
.avatar--bot { background: var(--surface); padding: 6px; }
.badge { font: 600 10px var(--mono); background: var(--ink); color: #fff; padding: 2px 5px; border-radius: 3px; }
.embed { margin-top: 6px; border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: var(--radius); padding: 12px 16px; background: #faf9f6; }
.embed__title { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.embed__grid { display: grid; grid-template-columns: auto auto; gap: 4px 24px; font-size: 14px; }
.embed__grid span { color: var(--muted); }

/* Dev grid: ruled table */
.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.dev-grid article { padding: 24px 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-increment: dev; transition: background .2s; }
.dev-grid article::before { content: counter(dev, decimal-leading-zero); font: 500 12px var(--mono); color: var(--accent-ink); }
.dev-grid article:hover { background: var(--surface); }
.dev-grid h3 { font: 700 17px/1.25 var(--font); margin: 10px 0 8px; }
.dev-grid p { color: var(--muted); font-size: 14.5px; }
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { position: relative; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps span { font: 600 13px var(--mono); color: var(--accent-ink); }
.steps h3 { font: 700 20px var(--font); margin: 6px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--ink); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 700 18px var(--font); color: var(--ink); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 24px var(--mono); color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding: 0 40px 22px 0; }

/* Contact */
.contact__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.contact__list li { display: flex; gap: 16px; }
.contact__list span { width: 80px; flex: none; font: 500 13px var(--mono); color: var(--muted); padding-top: 2px; }
.contact__list a { color: var(--accent-ink); font-weight: 600; }
.form { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; padding: 32px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label, .field, .seg legend { display: grid; gap: 8px; font: 600 13px var(--font); color: var(--ink); }
.form input, .form select, .form textarea, .field input, .field select {
  width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px; font: 400 15.5px var(--font);
}
.form input:focus, .form select:focus, .form textarea:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: #c2410c; }
.opt { font-weight: 400; color: var(--muted); font-style: normal; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: 14px; min-height: 1.2em; color: var(--ok); }
.form__note.err { color: #b42318; }

/* Checkout modal */
.modal { border: 0; padding: 0; background: transparent; color: var(--text); width: min(460px, 100% - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
.modal::backdrop { background: rgba(22,24,27,.45); backdrop-filter: blur(3px); }
.modal__body { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; padding: 30px; display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(22,24,27,.25); }
.modal__body .eyebrow { margin: 0; }
.modal__body h3 { font: 800 30px var(--font); letter-spacing: -0.03em; }
.modal__body .form__note:empty { display: none; }
.modal__x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { margin-bottom: 8px; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 11px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 600; color: var(--ink); }
.seg span b { color: var(--accent-ink); }
.seg input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); }
.co-total strong { font: 800 28px var(--font); color: var(--ink); letter-spacing: -0.03em; }

/* Footer */
.footer { padding: 64px 0 28px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer__grid .muted { margin-top: 12px; max-width: 30ch; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer nav p { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 4px; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--ink); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font: 13px var(--mono); color: var(--muted); }

/* Success page */
.done { padding-top: 24px; }
.done__steps { margin: 36px 0; padding-left: 22px; display: grid; gap: 12px; color: var(--muted); }
.done__steps b { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .games { grid-template-columns: repeat(4, 1fr); }
  .proof { grid-template-columns: repeat(3, 1fr); }
  .calc { grid-template-columns: 1fr 1fr; }
  .calc__intro { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .feat { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .cards, .dev-grid { grid-template-columns: repeat(2, 1fr); }
  .card { border-bottom: 1px solid var(--line); }
  .card:nth-child(2n) { border-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__sep { display: none; }
  .dd__btn { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .dd__panel { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; grid-template-columns: 1fr; }
  .dd__col--side { border-left: 0; padding-left: 0; }
  .dd__label { display: none; }
  .dd__col a { padding: 8px 10px; }
  .nav__links { max-height: calc(100dvh - 64px); overflow-y: auto; }
  .games { grid-template-columns: repeat(3, 1fr); }
  .steps--3 { grid-template-columns: 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .nav__links .btn { margin-top: 16px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-top: 32px; }
  .hero__inner { padding: 32px 20px 40px; }
  .window__body { grid-template-columns: 1fr; }
  .side { display: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .dev-grid, .steps, .feat, .locs { grid-template-columns: 1fr; }
  .games { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; padding: 22px; }
  .calc__result { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .card { border-right: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:last-child { display: none; }
  .pane { padding: 18px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Legal pages */
.legal h1 { font: 800 clamp(34px, 5vw, 52px)/1.05 var(--font); letter-spacing: -0.035em; margin-bottom: 8px; }
.legal h2 { font: 700 21px var(--font); margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal mark { background: var(--accent-soft); color: var(--accent-ink); padding: 0 3px; border-radius: 2px; }
.legal__note { margin: 24px 0 8px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); font-size: 15px; }
.legal__table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; background: var(--surface); }
.legal__table th, .legal__table td { text-align: left; padding: 10px 14px; border: 1px solid var(--line); }
.legal__table th { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer__base a:hover, .co-terms a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.co-terms { font-size: 13px; color: var(--muted); text-align: center; margin-top: -6px; }

/* ---------- Auth pages ---------- */
.auth { min-height: calc(100dvh - 64px - 90px); display: grid; place-items: center; padding: 56px 16px; }
.auth__card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; padding: 36px 32px; display: grid; gap: 16px; }
.auth__card h1 { font: 800 30px/1.1 var(--font); letter-spacing: -0.03em; }
.auth__card .eyebrow { margin: 0; }
.auth__form { display: grid; gap: 14px; }
.auth__alert { padding: 12px 14px; border-radius: var(--radius); font-size: 14.5px; background: #fdecea; color: #8a1c12; border: 1px solid #f3c2bc; }
.auth__alert--ok { background: #e7f4ec; color: #14532d; border-color: #bfe0cb; }
.auth__linked { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: #eef0fd; border: 1px solid #cfd4f6; color: #2b2f6b; font-size: 14.5px; }
.auth__linked svg { flex: none; margin-top: 2px; color: #5865f2; }
.auth__hint { font-size: 13px; color: var(--muted); margin-top: -6px; }
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 12px var(--mono); text-transform: uppercase; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__switch { font-size: 14.5px; color: var(--muted); text-align: center; }
.auth__switch a, .check a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn--discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn--discord:hover { background: #4752c4; border-color: #4752c4; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.check input { margin-top: 3px; accent-color: var(--ink); }
.field .opt { font-size: 12px; margin-top: -2px; }
.small { font-size: 13px; }

/* ---------- Client area ---------- */
.acct { padding-top: 56px; }
.acct-nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.acct-nav a { color: var(--muted); }
.acct-nav a:hover { color: var(--ink); }
.acct__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.acct__head h1 { font: 800 clamp(30px, 4vw, 44px)/1.05 var(--font); letter-spacing: -0.035em; }
.acct__head .eyebrow { margin-bottom: 10px; }
.acct .auth__alert { margin-bottom: 20px; }
.acct__block { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px; margin-bottom: 20px; }
.acct__block h2 { font: 800 21px var(--font); letter-spacing: -0.02em; margin-bottom: 14px; }
.acct__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.acct__title h2 { margin: 0; }
.acct__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acct__grid .acct__block { margin-bottom: 0; display: grid; gap: 12px; align-content: start; }
.acct__grid .acct__block h2 { margin-bottom: 0; }
.svc-list { display: grid; gap: 12px; margin-top: 14px; }
.svc { border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; display: grid; gap: 12px; background: #fdfcfa; }
.svc__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.svc__name { font-weight: 700; color: var(--ink); font-size: 17px; }
.svc__id { font: 500 13px var(--mono); color: var(--muted); }
.svc__meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.svc__meta code, .secret code, .acct code { font: 500 13px var(--mono); background: var(--surface-2); padding: 1px 6px; border-radius: 3px; color: var(--ink); }
.svc__live { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 14px; color: var(--muted); }
.svc__live b { color: var(--ink); }
.dot-st { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.dot-st--on { background: var(--ok); }
.svc__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.svc__sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.svc__warn { font-size: 14px; color: #8a1c12; background: #fdecea; border: 1px solid #f3c2bc; border-radius: var(--radius); padding: 10px 12px; }
.svc-empty { border: 1px dashed var(--line-strong); border-radius: 6px; padding: 28px; display: grid; gap: 14px; justify-items: start; color: var(--muted); }
.svc-empty b { color: var(--ink); }
.pill-status { font: 600 12px var(--mono); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; color: var(--muted); background: var(--surface); }
.pill-status--active { color: var(--ok); border-color: #bfe0cb; background: #e7f4ec; }
.pill-status--provisioning { color: var(--accent-ink); border-color: #ecd2b4; background: var(--accent-soft); }
.pill-status--suspended, .pill-status--failed { color: #8a1c12; border-color: #f3c2bc; background: #fdecea; }
.secret { display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--bg); }
.secret code { font-size: 15px; word-break: break-all; background: none; padding: 0; }
.admin-table { overflow-x: auto; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
#dlg-body { display: grid; gap: 14px; }
@media (max-width: 860px) {
  .acct__grid { grid-template-columns: 1fr; }
  .acct-nav a { display: none; }
}
@media (max-width: 560px) {
  .auth__card, .acct__block { padding: 22px 18px; }
  .svc__sep { display: none; }
}

.co-auth { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font-size: 14.5px; }
.co-auth__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- VPS console ---------- */
.page-console { background: #16181b; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.con-bar { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.con-bar .brand { font-size: 16px; }
.con-bar__title { flex: 1; display: flex; gap: 10px; align-items: center; font-size: 15px; min-width: 0; }
.con-state { font: 500 12.5px var(--mono); color: var(--muted); }
.con-bar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.con-screen { flex: 1; position: relative; min-height: 0; display: flex; }
.con-screen > div { flex: 1; }
.con-msg { position: absolute; inset: 0; display: grid; place-items: center; color: #d6d3cb; font: 500 15px var(--mono); padding: 24px; text-align: center; }

.svc__conn { font-size: 14px; color: var(--muted); line-height: 1.9; }
.svc__conn:empty { display: none; }
.btn-link { background: none; border: 0; padding: 0 4px; color: var(--accent-ink); font: 600 13px var(--font); cursor: pointer; text-decoration: underline; }
.bk-list { display: grid; gap: 8px; max-height: 50vh; overflow-y: auto; }
.bk { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font-size: 14px; }

/* ---------- Game console ---------- */
.gc { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #16181b; }
.gc__out { flex: 1; margin: 0; padding: 16px 18px; overflow-y: auto; color: #d6d3cb; font: 13.5px/1.55 var(--mono); white-space: pre-wrap; word-break: break-word; }
.gc__sys { color: #e3a55a; }
.gc__err { color: #ff8a8a; }
.gc__in { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-top: 1px solid #2b2e33; background: #1d2024; color: #e3a55a; font: 600 14px var(--mono); }
.gc__in input { flex: 1; background: transparent; border: 0; color: #f2efe8; font: 14px var(--mono); outline: none; }
.ansi-30 { color: #7c7f85; } .ansi-31 { color: #ff6b6b; } .ansi-32 { color: #6fcf97; } .ansi-33 { color: #f2c94c; }
.ansi-34 { color: #6aa8ff; } .ansi-35 { color: #d78bff; } .ansi-36 { color: #56ccf2; } .ansi-37 { color: #e6e3dc; }
.ansi-90 { color: #9aa0a6; } .ansi-91 { color: #ff8a8a; } .ansi-92 { color: #8ee6b0; } .ansi-93 { color: #ffe08a; }
.ansi-94 { color: #9cc4ff; } .ansi-95 { color: #e6b3ff; } .ansi-96 { color: #8fe3ff; } .ansi-97 { color: #ffffff; }
.ansi-b { font-weight: 600; }

.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.field__link { font-weight: 500; font-size: 13px; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

.verify-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; padding: 12px 16px; border: 1px solid #ecd2b4; background: var(--accent-soft); border-radius: var(--radius); font-size: 14.5px; color: var(--accent-ink); }
.twofa { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; font-size: 14.5px; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.codes code { text-align: center; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; font: 500 14px var(--mono); }
.qr { display: block; margin: 0 auto; border: 1px solid var(--line); border-radius: 6px; }

/* ---------- support tickets ---------- */
.acct-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.svc__badges { display: flex; align-items: center; gap: 12px; }
.svc__help { font-size: 13px; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.tk-filters { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.tk-filters select { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font: 500 14px var(--font); }
.tk-toggle { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.tk-list { display: grid; margin: 8px 0 14px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tk-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; color: var(--ink); background: var(--surface); }
.tk-row + .tk-row { border-top: 1px solid var(--line); }
.tk-row:hover { background: var(--surface-2); }
.tk-row__num { font: 600 13px var(--mono); color: var(--muted); }
.tk-row__main { display: grid; gap: 2px; min-width: 0; }
.tk-row__main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-list .empty { padding: 26px; display: grid; gap: 14px; justify-items: start; }
.tk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tk-form textarea, .tk-reply textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font: 400 15px/1.5 var(--font); color: var(--ink); resize: vertical; }
.tk-form textarea:focus, .tk-reply textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.tk-thread { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 12px; }
.tk-msg { max-width: 78%; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 12px 14px; }
.tk-msg--mine { justify-self: end; background: var(--surface-2); }
.tk-msg--staff:not(.tk-msg--mine) { border-color: #ecd2b4; background: var(--accent-soft); }
.tk-msg--system { justify-self: center; max-width: 92%; text-align: center; background: transparent; border-style: dashed; font-size: 14px; color: var(--muted); }
.tk-msg--system time { display: block; margin-top: 4px; }
.tk-msg__head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 6px; color: var(--ink); }
.tk-msg time { font: 12px var(--mono); color: var(--muted); }
.tk-msg__head time { margin-left: auto; }
.tk-msg__body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.55; }
.tk-msg__body a { color: var(--accent-ink); text-decoration: underline; }
.tk-src { font: 600 11px var(--mono); color: #4752c4; background: #eceefd; padding: 1px 6px; border-radius: 3px; }
@media (max-width: 640px) {
  .tk-row { grid-template-columns: 1fr auto; }
  .tk-row__num { display: none; }
  .tk-form__row { grid-template-columns: 1fr; }
  .tk-msg { max-width: 100%; }
  .acct-nav { gap: 14px; font-size: 14px; }
  .acct-nav a.acct-nav__main { display: inline; }
}
@media (max-width: 860px) { .acct-nav a.acct-nav__main { display: inline; } }

/* ---------- Rust live map ---------- */
.page-map .nav { position: sticky; top: 0; z-index: 5; }
.rmap { display: grid; grid-template-columns: 1fr 340px; gap: 0; height: calc(100vh - 65px); min-height: 520px; }
.rmap__stage { position: relative; background: #1d2a33; overflow: hidden; }
.rmap__vp { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: none; user-select: none; }
.rmap__vp:active { cursor: grabbing; }
.rmap__world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.rmap__world img { display: block; width: 100%; height: 100%; pointer-events: none; }
.rmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rm-grid line { stroke: rgba(0, 0, 0, .28); }
.rm-grid text { fill: rgba(0, 0, 0, .55); font: 600 10px var(--mono); }
.rm-player { cursor: pointer; }
.rm-player circle { stroke: #fff; stroke-width: 2; }
.rm-player.is-sel circle { stroke: var(--ink); stroke-width: 3; }
.rm-name { font: 700 12px var(--font); fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, .75); stroke-width: 3px; }
.rmap__empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding: 24px; color: #e9edf0; background: #1d2a33; }
.rmap__empty .muted { color: #a9b4bc; max-width: 46ch; }
.rmap__zoom { position: absolute; right: 14px; top: 14px; display: grid; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.rmap__zoom button { width: 36px; height: 36px; border: 0; background: var(--surface); font: 600 18px var(--font); color: var(--ink); cursor: pointer; }
.rmap__zoom button + button { border-top: 1px solid var(--line); }
.rmap__zoom button:hover { background: var(--surface-2); }
.rmap__coords { position: absolute; left: 12px; bottom: 10px; margin: 0; font: 500 12px var(--mono); color: #fff; background: rgba(0, 0, 0, .45); padding: 3px 8px; border-radius: 3px; pointer-events: none; }
.rmap__coords:empty { display: none; }
.rmap__side { overflow-y: auto; border-left: 1px solid var(--line); background: var(--bg); padding: 16px; display: grid; gap: 14px; align-content: start; }
.rmap__card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 10px; }
.rmap__card h1 { font-size: 22px; overflow-wrap: anywhere; }
.rmap__card h2 { font-size: 16px; }
.rmap__card .eyebrow { margin: 0; }
.rmap__status { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.rmap__status .dot { width: 9px; height: 9px; border-radius: 50%; background: #c2c0b8; }
.rmap__status[data-state="online"] .dot { background: #2e9e5b; box-shadow: 0 0 0 3px #d9f0e2; }
.rmap__status[data-state="error"] .dot { background: #c0392b; }
.rmap__stats { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.rmap__stats dt { color: var(--muted); }
.rmap__stats dd { margin: 0; font-weight: 600; text-align: right; }
.rmap__layers { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.rmap__layers label, .rmap__toggle { display: flex; align-items: center; gap: 6px; }
.rmap__toggle { align-items: flex-start; font-size: 14px; color: var(--ink); }
.rmap__toggle input { margin-top: 3px; }
.rmap__search { width: 100%; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font: 400 14px var(--font); }
.rmap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 320px; overflow-y: auto; }
.rmap__list button { width: 100%; text-align: left; display: grid; gap: 1px; padding: 7px 8px; border: 0; border-radius: var(--radius); background: none; font: 500 14px var(--font); color: var(--ink); cursor: pointer; }
.rmap__list button:hover, .rmap__list button.is-sel { background: var(--surface-2); }
.rmap__list b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 860px) {
  .rmap { grid-template-columns: 1fr; height: auto; }
  .rmap__stage { height: 62vh; }
  .rmap__side { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Rust tools ---------- */
.rt-tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.rt-tabs button { border: 0; background: none; padding: 10px 14px; font: 600 14.5px var(--font); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.rt-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.rt-row { grid-template-columns: 1fr auto; }
.rt-row .svc__actions { margin: 0; flex-wrap: nowrap; }
.rt-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin: 18px 0; }
.rt-grid h3 { font-size: 16px; }
.rt-grid form { align-content: start; }
.rt-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.rt-inline input, .rt-options select, .rt-options textarea { padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font: 400 14px var(--font); min-width: 0; }
.rt-inline input { flex: 1 1 180px; }
.rt-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 8px 0; background: var(--surface); }
.rt-group summary { cursor: pointer; display: flex; gap: 10px; align-items: baseline; }
.rt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.rt-chip { display: inline-flex; align-items: center; gap: 4px; font: 500 12.5px var(--mono); background: var(--surface-2); border-radius: 3px; padding: 2px 4px 2px 8px; }
.rt-chip button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 15px; line-height: 1; padding: 0 4px; }
.rt-chip button:hover { color: #8a1c12; }
.rt-editor { display: grid; grid-template-columns: 240px 1fr; gap: 16px; }
.rt-files { display: grid; gap: 2px; align-content: start; max-height: 70vh; overflow-y: auto; }
.rt-files button { text-align: left; border: 0; background: none; padding: 6px 8px; border-radius: var(--radius); font: 500 13.5px var(--mono); color: var(--ink); cursor: pointer; overflow: hidden; text-overflow: ellipsis; }
.rt-files button:hover, .rt-files button.is-sel { background: var(--surface-2); }
.rt-edit { display: grid; gap: 10px; align-content: start; }
.rt-edit textarea { width: 100%; min-height: 58vh; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: 13px/1.5 var(--mono); background: #fbfaf7; tab-size: 2; }
.rt-options { max-width: 640px; }
.rt-check { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.rt-chart { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 10px 0; background: var(--surface); }
.rt-chart svg { width: 100%; height: 140px; display: block; }
.rt-axis { stroke: var(--line); }
.rt-tick { font: 10px var(--mono); fill: var(--muted); }
@media (max-width: 760px) { .rt-grid, .rt-editor { grid-template-columns: 1fr; } .rt-row { grid-template-columns: 1fr; } }
.rt-output { min-height: 160px; max-height: 50vh; overflow: auto; margin: 10px 0; padding: 12px 14px; background: #15181b; color: #d7dde2; border-radius: var(--radius); font: 13px/1.5 var(--mono); white-space: pre-wrap; }
.rt-var { display: flex; gap: 10px; align-items: flex-end; margin: 6px 0; }
.rt-var .field { flex: 1; }
.rt-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .rt-grid--3 { grid-template-columns: 1fr; } }

/* ---------- tickets: staff notes / tools ---------- */
.tk-msg--note { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-style: dashed; }
.tk-staff { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.tk-staff select { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font: 500 14px var(--font); }

/* ---------- staff page ---------- */
.st-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.st-table th, .st-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.st-table th { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.st-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; margin-top: 16px; }
.st-perms { display: flex; flex-wrap: wrap; gap: 8px 16px; grid-column: 1 / -1; font-size: 14px; }
.st-perms label { display: flex; gap: 6px; align-items: center; }
.st-chip { display: inline-block; padding: 2px 8px; margin: 2px 4px 2px 0; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 12px var(--mono); }
.st-scroll { overflow-x: auto; }

/* ---------- sub-sites ---------- */
.site-hero { padding-bottom: 72px; }

/* ---------- projects ---------- */
.pj-desc { white-space: pre-wrap; color: var(--text); }
.pj-wide { grid-column: 1 / -1; }
.pj-quote { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.pj-quote:last-child { border-bottom: 0; }
.pj-quote__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pj-quote__actions input { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: 500 14px var(--font); width: 140px; }
.invoice-doc { max-width: 760px; }

/* ---------- IronVault bar (suite.js; the bot dashboards draw the same bar) ---------- */
.suite-bar { background: var(--ink); color: #c9ccd1; font: 500 13px/1 var(--font); }
.suite-bar__inner { display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.suite-bar__inner::-webkit-scrollbar { display: none; }
.suite-bar a { color: inherit; text-decoration: none; padding: 9px 10px; white-space: nowrap; border-bottom: 2px solid transparent; }
.suite-bar a:hover { color: #fff; }
.suite-bar a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.suite-bar .suite-bar__home { font-weight: 800; color: #fff; padding-left: 0; margin-right: 8px; }

.site-logo { display: block; margin-bottom: 18px; }

/* ---------- embedded checkout ---------- */
.co-page { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
.co-page__summary h1 { font-size: 1.6rem; margin: 6px 0 18px; }
.co-page__lines { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 18px; }
.co-page__lines dt { color: var(--muted); }
.co-page__lines dd { margin: 0; font-weight: 600; text-align: right; }
.co-page__total { font-size: 1.25rem; font-weight: 800; padding-top: 14px; border-top: 1px solid var(--line); }
.co-page__trust { margin: 22px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; display: grid; gap: 6px; }
.co-page__pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; min-height: 420px; }
#co-loading { padding: 24px; }
@media (max-width: 820px) { .co-page { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- landing pages (server/seo.js) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 13px var(--mono); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.page-landing .hero h1 { max-width: 18ch; font-size: clamp(40px, 6.4vw, 84px); }
.page-landing .plan__name { margin: 0; }
.page-landing a.game { text-decoration: none; }
.table-scroll { overflow-x: auto; }
.table-scroll .legal__table { margin: 0; }
.related { margin-top: 28px; color: var(--muted); }
.related a, .linklist a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.linklist { margin-top: 28px; color: var(--muted); font-size: 15px; }
.pane__title { display: block; font: 700 22px var(--font); color: var(--ink); }

/* Plan grids: 3 across, or 5 across for the five game tiers */
.plans:has(> :nth-child(5)) { grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1100px) { .plans:has(> :nth-child(5)) { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .plans:has(> :nth-child(5)) { grid-template-columns: 1fr; } }

/* VPS access line + firewall dialog */
.svc__access { margin: 8px 0 0; }
.fw-add { display: grid; grid-template-columns: 110px 130px 1fr; gap: 8px; margin-top: 14px; }
.fw-add input, .fw-add select { font: inherit; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.fw-add #fw-port, .fw-add #fw-source, .fw-add #fw-comment { grid-column: span 3; }
.fw-add #fw-port { grid-column: 3; }
@media (max-width: 560px) { .fw-add { grid-template-columns: 1fr 1fr; } .fw-add #fw-port { grid-column: span 2; } }
