/* Hosting theme. Colors are tokens: change --accent in Settings, or edit the
   two palettes below in your own copy of the theme. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --accent: #3d6bff;
  --accent-ink: #ffffff;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 12px;
  --wrap: 1180px;
}
/* Dark (default) */
:root, [data-scheme="dark"] {
  --bg: #0b0f17;
  --surface: #121824;
  --surface-2: #19212f;
  --line: #253044;
  --text: #e9eef6;
  --muted: #95a1b5;
  --faint: #66728a;
  --good: #3fc47a;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -24px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
[data-scheme="light"] {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --line: #dce2eb;
  --text: #111723;
  --muted: #586374;
  --faint: #8691a3;
  --good: #1b8a4c;
  --shadow: 0 1px 2px rgba(17, 23, 35, .05), 0 18px 36px -24px rgba(17, 23, 35, .25);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.narrow-text { max-width: 65ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .92em; font-variant-numeric: tabular-nums; }
.eyebrow { font: 600 .74rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font: 650 .95rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: filter .15s, background .15s; }
.btn:hover { color: var(--accent-ink); filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); filter: none; }
.btn-light { background: #fff; border-color: #fff; color: #0b0f17; }
.btn-light:hover { color: #0b0f17; }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Top of page */
.preview-bar { background: #f5b301; color: #1a1300; text-align: center; font: 600 .85rem/1.4 var(--sans); padding: 8px 16px; }
.announce { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: .9rem; padding: 8px 16px; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .95rem; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 550; font-size: .95rem; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.btn { color: var(--accent-ink); margin-left: 6px; }
.nav a.btn.btn-ghost { color: var(--text); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 12px; font: 600 .9rem var(--sans); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 80% at 85% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--muted); font-size: .88rem; }
.stats dd { margin: 0; font: 700 1.55rem/1.1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* Cards */
.feature-card, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-card { padding: 26px; display: grid; gap: 14px; align-content: start; }
.feature-card h2 { font-size: 1.5rem; }
.feature-card .eyebrow { margin: 0; }
.tagline { color: var(--muted); font-size: .95rem; }
.price { font-family: var(--mono); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.price.big b { font-size: 2.6rem; }
.price .from { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.price .per { color: var(--muted); font-size: .95rem; }
.specs { margin: 0; display: grid; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .9rem; }
.specs dd { margin: 0; font: 600 .88rem/1.4 var(--mono); text-align: right; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 24px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Plans */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-title { margin-bottom: 28px; }
.plan-group + .plan-group { margin-top: 56px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.group-head h3 { font-size: 1.35rem; }
.group-head h3 a { text-decoration: none; }
.group-head p { color: var(--muted); max-width: 60ch; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.plan { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.plan h3 a { text-decoration: none; }
.plan .ticks { flex: 1; }
.plan-actions { display: flex; gap: 10px; margin-top: auto; }
.plan-actions .btn { flex: 1; }

/* Features, statement, FAQ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feature { padding-top: 18px; border-top: 2px solid var(--accent); }
.feature p { color: var(--muted); margin-top: 8px; }
.statement { padding: clamp(56px, 8vw, 96px) 0; }
.statement p { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; max-width: 34ch; text-wrap: balance; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.2rem/1 var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 18px; max-width: 65ch; }

/* Closing band */
.closer { background: var(--accent); color: var(--accent-ink); }
.closer-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 48px; }
.closer p { opacity: .85; margin-top: 6px; }

/* Inner pages */
.page-head { padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.page-head .price { margin-top: 18px; }
.page-head .actions { margin-top: 24px; }
.crumbs { color: var(--faint); font-size: .88rem; margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.product-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; }
.product-head .ticks { margin-top: 24px; }
.step + .step { padding-top: 0; }
.opt + .opt { margin-top: 32px; }
.step .lede { margin: -12px 0 28px; }
.opt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.opt > .muted { margin-bottom: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 12px; }
table.choices, table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.choices th, table.choices td, table.compare th, table.compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.choices tr:last-child > *, table.compare tr:last-child > * { border-bottom: 0; }
table.choices th { font-weight: 650; white-space: nowrap; }
table.choices td.mono { white-space: nowrap; text-align: right; }
table.choices td:last-child { text-align: right; width: 1%; }
table.choices tr.oos { opacity: .5; }
table.compare thead th { font-size: .95rem; }
table.compare tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; }
.badge { display: inline-block; font: 700 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 4px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); vertical-align: middle; }
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.chips li a, .chips li { font-size: .9rem; }
.chips li a { display: block; padding: 7px 14px; text-decoration: none; }
.chips li.oos { padding: 7px 14px; color: var(--faint); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--muted); font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 340px; display: grid; gap: 12px; }
.foot-brand .logo { color: var(--text); }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols div { display: grid; gap: 8px; align-content: start; }
.foot-cols h4 { margin: 0 0 4px; color: var(--text); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--mono); font-weight: 600; }
.foot-cols a { text-decoration: none; }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--faint); }

/* Small screens */
@media (max-width: 880px) {
  .hero-in, .product-head { grid-template-columns: minmax(0, 1fr); }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a.btn { margin: 8px 0 0; }
  .nav-sep { display: none; }
  .top-in { position: relative; }
}

/* Image banner block */
.banner-in { margin: 0; display: grid; gap: 12px; justify-items: center; }
.banner-in img { display: block; width: 100%; height: auto; }
.banner-in figcaption { color: var(--muted); font-size: .95rem; text-align: center; }

/* Game pages */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.game-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; text-decoration: none; color: inherit; }
.game-tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.game-name { font-weight: 650; font-size: 1.05rem; }
.prose { max-width: 70ch; line-height: 1.65; }
.prose h2, .prose h3 { margin: 1.4em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.narrow { max-width: 820px; }

/* Language menu: plain links, so it works without any script. */
.langmenu { position: relative; margin-left: 6px; }
.langmenu summary { cursor: pointer; list-style: none; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary::after { content: " \25BE"; }
.langmenu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px; min-width: 170px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.nav .langmenu-list a { display: block; margin: 0; }
.langmenu-list a[aria-current] { color: var(--text); font-weight: 650; }

/* Status page */
.st-overall { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; font-weight: 650; background: var(--surface); border: 1px solid var(--line); }
.st-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.st-notice { margin-top: 14px; color: var(--muted); }
.st-operational { color: var(--good); }
.st-maintenance { color: #4a8cff; }
.st-degraded { color: #d9a514; }
.st-partial_outage { color: #e8771d; }
.st-major_outage { color: #e5484d; }
.st-group { padding: 6px 20px; margin-bottom: 18px; }
.st-group-name { font-size: 1.05rem; margin: 14px 0 2px; }
.st-comp { padding: 14px 0; border-top: 1px solid var(--line); }
.st-group-name + .st-comp { border-top: 0; }
.st-comp-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st-desc { font-size: .9rem; }
.st-state { font-weight: 600; font-size: .92rem; }
.st-bars { display: flex; gap: 2px; margin-top: 10px; height: 30px; }
.st-bar { flex: 1; min-width: 1px; border-radius: 2px; background: currentColor; opacity: .9; }
.st-bar.st-none { color: var(--line); }
.st-legend { display: flex; justify-content: space-between; font-size: .8rem; margin-top: 6px; }
.st-h { font-size: 1.3rem; margin: 30px 0 14px; }
.st-incident { padding: 18px 20px; margin-bottom: 14px; border-left: 3px solid #e8771d; }
.st-incident.st-maintenance { border-left-color: #4a8cff; color: inherit; }
.st-incident header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.st-tag { font: 600 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.st-when { font-size: .9rem; margin-top: 4px; }
.st-timeline { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.st-timeline p { margin-top: 2px; white-space: pre-line; }
.st-sub { padding: 20px; margin-top: 30px; }
.st-sub p { margin-top: 6px; }
.st-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.st-form input { flex: 1; min-width: 220px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; }
.st-msg { flex-basis: 100%; margin: 0; }
.st-captcha:empty { display: none; }
.st-links, .st-updated { font-size: .88rem; margin-top: 14px; }
