/* puckserver.host — Asphalt theme, matching the panel (Flat UI: solid fills, no borders,
   no shadows, 6px corners, Lato). Surfaces are told apart by fill alone. */

@font-face { font-family: 'Lato'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/lato-regular.woff') format('woff'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/lato-bold.woff') format('woff'); }
@font-face { font-family: 'Lato'; font-weight: 900; font-style: normal; font-display: swap; src: url('fonts/lato-black.woff') format('woff'); }

:root {
  --ground: #22313f; --surface: #2c3e50; --raised: #34495e; --deep: #1c2833;
  --text: #ecf0f1; --soft: #d0d7dc; --muted: #a9b5bd;
  --fill: #3498db; --fill-hi: #5dade2; --link: #5dade2;
  --success: #2ecc71; --warning: #f1c40f; --danger: #e74c3c;
  --tile-1: #1abc9c; --tile-2: #3498db; --tile-3: #9b59b6; --tile-4: #e67e22;
  --radius: 6px; --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.6 Lato, 'Helvetica Neue', Arial, sans-serif; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--fill-hi); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 900; color: var(--text); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--fill-hi); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fill); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
       border: 0; border-radius: 4px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
       cursor: pointer; transition: background-color .15s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--fill); color: #fff; }
.btn-primary:hover { background: var(--fill-hi); color: #fff; }
.btn-ghost { background: var(--raised); color: var(--text); }
.btn-ghost:hover { background: #415b76; color: #fff; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #6d78f5; color: #fff; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 17px; }
.btn-block { width: 100%; }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--deep); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: -.2px; }
.brand:hover { color: #fff; }
.brand-dot { color: var(--fill-hi); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 12px; border-radius: 4px; }
.nav > a .ico { width: 18px; height: 18px; }
.nav > a:hover { color: #fff; background: var(--surface); }
.nav > a[aria-current="page"] { color: #fff; background: var(--surface); }
.nav-cta { display: inline-flex; gap: 8px; margin-left: 8px; }
.nav-cta .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; background: var(--surface); color: var(--text); border: 0; border-radius: 4px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ico-close { display: none; }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 20px 20px; background: var(--deep); margin: 0; }
  .nav > a { padding: 12px; font-size: 16px; }
  .nav-cta { margin: 10px 0 0; flex-direction: column; }
  .nav-cta .btn { min-height: 48px; }
  .js .topbar.open .nav { display: flex; }
  .topbar.open .ico-open { display: none; }
  .topbar.open .ico-close { display: block; }
  html:not(.js) .topbar-in { flex-wrap: wrap; padding-bottom: 8px; }
  html:not(.js) .nav { position: static; flex-direction: row; flex-wrap: wrap; padding: 0; }
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-deep { background: var(--deep); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { color: var(--soft); font-size: 18px; margin: 0; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--fill-hi); font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { background: var(--deep); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 58px); letter-spacing: -.5px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--fill-hi); }
.hero-sub { font-size: clamp(18px, 2.2vw, 20px); color: var(--soft); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--soft); font-size: 15px; }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note .ico { width: 18px; height: 18px; color: var(--success); }
.hero-shot { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 16 / 9; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--deep); color: var(--text); font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 4px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex: none; }
@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats { background: var(--fill); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat { padding: 30px 12px; }
.stat-num { display: block; font-size: clamp(30px, 4.5vw, 42px); font-weight: 900; line-height: 1; color: #fff; }
.stat-label { display: block; margin-top: 8px; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 560px) { .stats-row { grid-template-columns: 1fr; } .stat { padding: 18px 12px; } }

/* ── Cards / features ────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.section-alt .card { background: var(--ground); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--soft); margin: 0; }
.tile { width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; }
.tile .ico { width: 24px; height: 24px; }
.t1 { background: var(--tile-1); } .t2 { background: var(--tile-2); } .t3 { background: var(--tile-3); } .t4 { background: var(--tile-4); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 4px; background: var(--raised); color: var(--soft); font-size: 12px; font-weight: 700; vertical-align: middle; letter-spacing: .04em; text-transform: uppercase; }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fill); color: #fff; font-weight: 900; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--soft); margin: 0; }

/* ── Locations ───────────────────────────────────────────────────────────── */
.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.loc { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--ground); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: background-color .15s; }
.section:not(.section-alt) .loc { background: var(--surface); }
.loc:hover { background: var(--raised) !important; color: #fff; }
.loc-flag { font-size: 34px; line-height: 1; }
.loc-name { display: block; font-weight: 900; font-size: 17px; }
.loc-city { display: block; color: var(--soft); font-size: 14px; }
.loc-on { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--success); font-size: 13px; font-weight: 700; }
.loc-on .dot { width: 7px; height: 7px; }
.loc .ico { margin-left: auto; color: var(--soft); width: 18px; height: 18px; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--ground); border-radius: var(--radius); padding: 26px 22px; }
.plan.featured { background: var(--fill); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.plan h3 { font-size: 20px; margin: 0; }
.plan-flag { padding: 3px 9px; border-radius: 4px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.price { margin: 14px 0 4px; font-size: 40px; font-weight: 900; line-height: 1; }
.price small { font-size: 16px; font-weight: 700; color: var(--soft); }
.plan.featured .price small, .plan.featured .plan-desc { color: #eaf4fb; }
.plan-desc { color: var(--soft); font-size: 15px; min-height: 48px; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15px; }
.plan li .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--success); }
.plan.featured li .ico { color: #fff; }
.plan.featured .btn-primary { background: var(--deep); }
.plan.featured .btn-primary:hover { background: #10181f; }
.fine { text-align: center; color: var(--soft); font-size: 14px; margin: 24px 0 0; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--radius); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--soft); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq summary:hover { color: #fff; }
.faq .answer { padding: 0 22px 20px; color: var(--soft); }
.faq .answer p:last-child { margin: 0; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band { background: var(--fill); padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 34px); }
.cta-in p { color: #eaf4fb; margin: 0; font-size: 18px; }
.cta-band .btn-primary { background: var(--deep); }
.cta-band .btn-primary:hover { background: #10181f; }

/* ── Page header (inner pages) ───────────────────────────────────────────── */
.page-head { background: var(--deep); padding: 48px 0 52px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.page-head p { color: var(--soft); font-size: 19px; max-width: 640px; margin: 0; }
.page-head .flag { font-size: 52px; line-height: 1; margin-bottom: 14px; }
.page-head .hero-cta { margin: 26px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; color: var(--soft); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--soft); }
.crumbs [aria-current] { color: var(--text); }
.langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--soft); }
.langs a { padding: 5px 12px; border-radius: 4px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 700; }
.langs a:hover { background: var(--raised); }
.langs a[aria-current] { background: var(--fill); color: #fff; }
.node-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.node { display: flex; align-items: center; gap: 12px; background: var(--ground); border-radius: var(--radius); padding: 16px 18px; font-weight: 700; }
.node .loc-on { margin: 0 0 0 auto; }
.status-frame { background: #fff; border-radius: var(--radius); padding: 8px; }
.status-frame iframe { display: block; width: 100%; min-height: 600px; border: 0; }
.empty { text-align: center; color: var(--soft); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--deep); padding: 56px 0 28px; color: var(--soft); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 14px 0 18px; max-width: 320px; }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 4px 0 6px; }
.footer nav a { color: var(--soft); text-decoration: none; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; background: linear-gradient(var(--surface), var(--surface)) top / 100% 2px no-repeat; font-size: 14px; }
.footer-base p { margin: 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .card, .step { padding: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
