/* Dash Layer shop - light, gradient, laid out like chatserver.tr.
   Every colour that a shop owner can change comes from a CSS variable that the
   base template writes from the site's JSON, so a second brand is a config
   change and not a second stylesheet. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary: #2563eb;
  --accent: #1d4ed8;
  --primary-rgb: 37, 99, 235;
  --accent-rgb: 29, 78, 216;
  --ink: #0f172a;
  --body: #475569;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f8fafc;
  --grad: linear-gradient(90deg, var(--accent), var(--primary));
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .07);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .12);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 14px; font-weight: 800; }
h1 { font-size: 58px; line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: 40px; letter-spacing: -.02em; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------------------------------------------------------------- top bar */

.topbar { background: var(--grad); color: #fff; font-size: 11.5px; }
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 32px; }
.topbar a, .topbar .lang {
  color: #fff; opacity: .92; display: inline-flex; align-items: center; gap: 6px;
  text-transform: uppercase; letter-spacing: .09em; font-weight: 600;
}
.topbar a:hover { opacity: 1; text-decoration: none; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.topbar .pill {
  background: #fff; color: var(--primary); border-radius: 5px; padding: 3px 12px;
  font-weight: 700; letter-spacing: .06em; font-size: 11px; opacity: 1;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 26px; height: 66px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), .3);
}
/* The suffix sits UNDER the name, not after it - a column, or the two spans
   run together on one line and read as part of the brand. */
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.05; }
.logo-name span { color: var(--primary); }
.logo-sub { font-size: 9.5px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a {
  color: var(--body); font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
}
.nav a:hover, .nav a.on { color: var(--primary); text-decoration: none; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer; border-radius: 999px; padding: 12px 26px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; font-family: inherit;
  background: var(--grad); color: #fff; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), .25); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(var(--primary-rgb), .32); }
.btn.ghost {
  background: #fff; color: var(--primary); border: 2px solid var(--primary); box-shadow: none;
}
.btn.ghost:hover { background: rgba(var(--primary-rgb), .06); }
.btn.sm { padding: 9px 18px; font-size: 12.5px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.off { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------------------- hero */

.hero {
  background:
    radial-gradient(1000px 420px at 88% -10%, rgba(var(--accent-rgb), .13), transparent 60%),
    radial-gradient(900px 460px at 8% 10%, rgba(var(--primary-rgb), .12), transparent 62%),
    linear-gradient(180deg, #f4f8ff, #ffffff);
  padding: 76px 0 84px; border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 18px; max-width: 46ch; margin-bottom: 26px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 22px;
}
.hero-card h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.hero-row:last-child { border-bottom: 0; }
.hero-row .flag { font-size: 22px; line-height: 1; }
.hero-row b { color: var(--ink); }
.hero-row .count { margin-left: auto; color: var(--muted); font-size: 12.5px; }

/* --------------------------------------------------------------- sections */

section { padding: 72px 0; }
section.soft { background: var(--soft); }
.eyebrow {
  color: var(--accent); font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  font-size: 12px; margin-bottom: 10px;
}
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 .hl { color: var(--primary); }
.section-head p { font-size: 16px; }
.section-head .sub {
  color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
  font-size: 13.5px; font-weight: 500;
}
.rule { width: 74px; height: 3px; background: var(--grad); border-radius: 3px; margin: 14px auto 0; }

/* --------------------------------------------------------------- features */

/* Two columns with the icon beside the text, the way chatserver.tr lays them
   out - a 3-wide grid of icon-on-top cards reads as a different site. */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(var(--primary-rgb), .1); color: var(--primary);
}
/* Each card gets its own tint so the grid does not read as one repeated icon. */
.feature:nth-child(6n+1) .ico { background: rgba(37, 99, 235, .12); color: #1d4ed8; }
.feature:nth-child(6n+2) .ico { background: rgba(14, 165, 233, .13); color: #0284c7; }
.feature:nth-child(6n+3) .ico { background: rgba(99, 102, 241, .13); color: #4f46e5; }
.feature:nth-child(6n+4) .ico { background: rgba(6, 182, 212, .13); color: #0891b2; }
.feature:nth-child(6n+5) .ico { background: rgba(139, 92, 246, .12); color: #7c3aed; }
.feature:nth-child(6n+6) .ico { background: rgba(71, 85, 105, .12); color: #475569; }
.feature h3 {
  font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px;
}
.feature p { font-size: 14px; margin: 0; }

/* ---------------------------------------------------------------- pricing */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; align-items: start; }
/* One card on its own used to stretch the full width of the page and read as a
   banner rather than a price. */
.plans > .plan:only-child { max-width: 420px; margin: 0 auto; }
.plan .from {
  text-align: center; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 800; color: var(--muted); margin-bottom: -2px;
}
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; box-shadow: var(--shadow); text-align: center;
}
.plan.popular { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.plan .tag {
  position: absolute; top: 18px; right: 18px; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 11px; border-radius: 999px;
  letter-spacing: .05em;
}
.plan h3 { font-size: 22px; margin-bottom: 4px; }
.plan .price { font-size: 42px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.plan .per { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.plan .blurb { font-size: 14px; min-height: 42px; }
.plan ul { list-style: none; margin: 18px 0 22px; padding: 0; text-align: left; }
.plan li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--body);
}
.plan li:last-child { border-bottom: 0; }
.plan li .tick { color: var(--accent); flex: none; margin-top: 2px; }

/* -------------------------------------------------------------- countries */

.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.country {
  display: block; background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease;
}
.country:hover { border-color: var(--primary); text-decoration: none; }
.country input { position: absolute; opacity: 0; pointer-events: none; }
.country .flag { font-size: 30px; line-height: 1; display: block; margin-bottom: 8px; }
.country .name { color: var(--ink); font-weight: 700; font-size: 15px; }
.country .meta { color: var(--muted); font-size: 12.5px; }
.country:has(input:checked) {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .14);
}
.country .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; }

/* ------------------------------------------------------------------ forms */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 26px;
}
label.field { display: block; margin-bottom: 16px; }
label.field span {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .14);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.check input { margin-top: 4px; }

.summary { background: var(--soft); border-radius: 12px; padding: 18px; }
.summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14.5px; }
.summary .row b { color: var(--ink); }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 17px; }

.note {
  border-left: 3px solid var(--primary); background: rgba(var(--primary-rgb), .06);
  padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: 14px; margin: 16px 0;
}
.note.warn { border-color: #f59e0b; background: rgba(245, 158, 11, .09); }
.note.bad { border-color: #ef4444; background: rgba(239, 68, 68, .08); }
/* Green because it means "that worked", not because of the brand - tying this
   to --accent made it turn blue the moment the shop did. */
.note.ok { border-color: #10b981; background: rgba(16, 185, 129, .09); }

.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 18px; align-items: center; font-size: 14.5px; }
.kv > div:nth-child(odd) {
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.cred {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; display: inline-block; color: var(--ink); word-break: break-all;
}

/* ------------------------------------------------------------------- misc */

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq p { margin: 12px 0 0; font-size: 14.5px; }

.cta { background: var(--grad); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); font-size: 17px; }
.cta .btn { background: #fff; color: var(--primary); }

/* ------------------------------------------------------------------ footer */
/* Light footer on purpose: the shop is white and blue, and a black slab at the
   bottom of it read as a different site. */

.site-footer {
  background: #fff; color: var(--muted); font-size: 14px;
  border-top: 1px solid var(--line); padding: 56px 0 26px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--primary); text-decoration: none; }
.site-footer h4 {
  color: var(--ink); font-size: 14px; font-weight: 800; margin: 0 0 16px;
  padding-bottom: 9px; display: inline-block; border-bottom: 2px solid var(--primary);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer li a { display: inline-flex; gap: 8px; align-items: baseline; }
.site-footer li .ar { color: var(--primary); font-weight: 800; }

.foot-top { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 46px; }
.foot-top > * { min-width: 0; }

.foot-brand .logo { margin-bottom: 16px; }
.foot-about { max-width: 42ch; margin: 0 0 22px; line-height: 1.65; }
.foot-chips-head {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 800; color: var(--ink); margin-bottom: 10px;
}
.foot-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.foot-chips a {
  background: var(--soft); border: 1px solid var(--line); border-radius: 9px;
  padding: 8px 13px; font-size: 13px; font-weight: 600; color: var(--ink);
}
.foot-chips a:hover { border-color: var(--primary); color: var(--primary); }

.foot-office { display: flex; gap: 13px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-office .pin {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(var(--primary-rgb), .1); color: var(--primary);
}
.foot-office b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 5px; }
.foot-office span { display: block; line-height: 1.6; }
.foot-office .maplink { color: var(--primary); font-weight: 700; font-size: 13px; display: inline-block; margin-top: 7px; }

.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 26px; }

.foot-help {
  margin-top: 26px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
  background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.foot-help .hico {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(var(--primary-rgb), .1); color: var(--primary);
}
.foot-help .txt { flex: 1 1 220px; min-width: 0; }
.foot-help b { display: block; color: var(--ink); font-size: 15px; }
.foot-help .acts { display: flex; gap: 9px; flex-wrap: wrap; }

.foot-strip { display: flex; gap: 9px; margin-top: 18px; overflow-x: auto; padding-bottom: 6px; }
.foot-strip img {
  height: 84px; width: auto; flex: none; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--line);
}

.foot-legal {
  margin: 30px 0 0; padding: 14px 16px; background: var(--soft);
  border-radius: 12px; font-size: 12.5px; line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}

/* ------------------------------------------------- picture cards + lightbox */

.section-head .tag {
  display: inline-block; margin-bottom: 14px;
  background: rgba(var(--primary-rgb), .1); color: var(--primary);
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 8px;
}
.showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.shot {
  position: relative; display: block; text-align: left; padding: 0; cursor: pointer;
  font: inherit; color: inherit; background: #fff; overflow: hidden;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.shot img { display: block; width: 100%; height: 210px; object-fit: cover; background: var(--soft); }
.shot-blank { display: block; height: 210px; background: linear-gradient(135deg, var(--soft), #fff); }
.shot-body { display: block; padding: 16px 18px 18px; }
.shot-body b { display: block; color: var(--ink); font-size: 17px; margin: 8px 0 4px; }
.shot-body > span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
/* `.shot-body > span.shot-badge` and not `.shot-badge`: the rule above that
   lays out the card's subtitle is `.shot-body > span`, one class plus one
   element, which outranks a lone class - so the little badge stretched into a
   full-width bar. Seen on the rendered card, not in the file. */
.shot-badge, .shot-body > span.shot-badge {
  display: inline-block; width: auto;
  background: rgba(var(--primary-rgb), .1); color: var(--primary);
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
}
.shot-more {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15, 23, 42, .72); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(3px);
}

.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lb-back { position: absolute; inset: 0; background: rgba(15, 23, 42, .74); }
.lb-panel {
  position: relative; background: #fff; border-radius: 18px; overflow: hidden;
  width: min(980px, 100%); max-height: calc(100vh - 40px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  box-shadow: 0 30px 70px rgba(15, 23, 42, .4);
}
.lb-stage { position: relative; background: #0b1220; display: grid; place-items: center; min-width: 0; }
.lb-stage img { display: block; width: 100%; height: 100%; max-height: 74vh; object-fit: contain; }
/* Solid, not translucent: these sit on top of whatever picture was uploaded,
   and a white-on-white screenshot made the arrows disappear completely. */
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; border: 0; font-size: 26px; line-height: 1;
  background: #0f172a; color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .45);
}
.lb-nav:hover { background: var(--primary); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-nav[hidden] { display: none; }
.lb-count {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: #0f172a; color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(15, 23, 42, .45);
}
.lb-count[hidden] { display: none; }
.lb-text { padding: 26px 26px 22px; overflow-y: auto; min-width: 0; }
.lb-text h3 { font-size: 22px; margin: 10px 0 6px; }
.lb-text p { font-size: 14.5px; line-height: 1.7; }
.lb-sub { color: var(--muted); font-weight: 600; }
.lb-dots { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 18px; }
.lb-dots .dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line);
}
.lb-dots .dot.on { background: var(--primary); }
.lb-x {
  position: absolute; top: 10px; right: 12px; z-index: 2; border: 0; cursor: pointer;
  background: var(--soft); width: 32px; height: 32px; border-radius: 50%;
  font-size: 22px; line-height: 1; color: var(--ink);
}
.lb-x:hover { background: var(--primary); color: #fff; }

/* --------------------------------------------------- VPN account types */

.cattabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.cattab {
  cursor: pointer; font: inherit; font-weight: 700; font-size: 14px;
  background: #fff; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 20px; display: inline-flex; align-items: center; gap: 8px;
}
.cattab.on { background: var(--primary); border-color: var(--primary); color: #fff; }
/* The amber "soon" chip is legible on the white tab and almost invisible once
   the tab turns blue, so it changes with it. */
.cattab.on .soon-tag { background: rgba(255, 255, 255, .22); color: #fff; }
.catpane.off { display: none; }
.cat-blurb { text-align: center; margin: -8px 0 22px; color: var(--muted); }
.cat-head {
  font-size: 17px; margin: 30px 0 16px; display: flex; align-items: center; gap: 9px;
}
.soon-tag {
  background: rgba(245, 158, 11, .16); color: #b45309; font-size: 10.5px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px;
}
.plan.soon { opacity: .78; }
.btn.disabled {
  background: var(--soft); color: var(--muted); box-shadow: none; cursor: default;
  border: 1px dashed var(--line);
}

/* ----------------------------------------------------- simple page header */

.page-head { background: linear-gradient(180deg, var(--soft), #fff); padding: 54px 0 40px; }
.page-head h1 { font-size: 40px; }
.page-head .lead { max-width: 62ch; }
.faq-foot {
  margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--soft);
}
.faq-foot b { display: block; color: var(--ink); font-size: 16px; }
.faq-foot span { font-size: 14px; }
.faq-foot .btn { margin-left: auto; }

.country.on { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12); }
.logo-img { display: block; height: var(--logo-h, 38px); width: auto; max-width: 240px; object-fit: contain; }
/* The footer mark is the one people look at last and it was drawn at the same
   38px as the header, which reads as an afterthought down there. */
.logo-img.foot { height: var(--logo-h-foot, 64px); max-width: 300px; }

table.rows { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.rows th {
  text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 10px 12px; background: var(--soft); white-space: nowrap;
}
table.rows td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.pill-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.st-active { background: rgba(16,185,129,.13); color: #047857; }
.st-pending { background: rgba(148,163,184,.18); color: #475569; }
.st-suspended { background: rgba(245,158,11,.16); color: #b45309; }
.st-failed, .st-cancelled { background: rgba(239,68,68,.13); color: #b91c1c; }

/* ----------------------------------------------------------- cookie notice */

.cookiebar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 90;
  width: min(900px, calc(100% - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px 18px;
  display: flex; align-items: center; gap: 16px; font-size: 14px;
}
.cookiebar .ck { color: var(--primary); flex: none; display: grid; place-items: center; }
.cookiebar p { margin: 0; }
.cookiebar button {
  margin-left: auto; flex: none; border: 0; cursor: pointer; font-family: inherit;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 22px; border-radius: 9px;
}
.cookiebar[hidden] { display: none; }

@media (max-width: 900px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-grid, .foot-top, .lb-panel { grid-template-columns: 1fr; }
  .lb-panel { max-height: calc(100vh - 32px); overflow-y: auto; }
  .lb-stage img { max-height: 46vh; }
  .page-head h1 { font-size: 32px; }
  .faq-foot .btn { margin-left: 0; width: 100%; text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  section { padding: 52px 0; }
  .kv { grid-template-columns: 1fr; gap: 4px 0; }
  .kv > div:nth-child(odd) { margin-top: 10px; }
  .cookiebar { flex-wrap: wrap; }
  .cookiebar button { margin-left: 0; width: 100%; }
}

/* A country that is online but has no room left, or is not answering at all.
   It still shows - a customer looking for Poland should find Poland and be
   told why not, rather than have it vanish from the list. */
.country.full { opacity: .55; }
.country.full .meta { color: #b45309; }

/* Why a plan cannot be ordered, under the greyed-out button. Without this the
   card just said "not available" and left the customer guessing. */
.soon-why {
  margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: #94a3b8; text-align: center;
}

/* ---------------------------------------------------------------- error page
   Deliberately roomy: the code is the first thing a visitor reads, and the way
   out is the second. Nothing else competes with those two. */
.errpage { padding: 88px 0 96px; }
.errcode {
  font-size: 84px; line-height: 1; font-weight: 800; letter-spacing: -2px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.errpage h1 { font-size: 30px; margin: 0 0 12px; }
.errdetail {
  color: var(--muted); font-size: 14px; margin: 0 auto 6px; max-width: 520px;
  word-break: break-word;
}
.errlinks { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
@media (max-width: 560px) { .errcode { font-size: 62px; } .errpage { padding: 56px 0 64px; } }

/* -------------------------------------------------------------- flag images
   Emoji flags are not drawn at all on Windows - Chrome falls back to the two
   letters of the country code - so every flag on the site is an image served
   from this server. */
.flagimg {
  display: inline-block; width: 1.35em; height: 1.0125em; object-fit: cover;
  border-radius: 2px; vertical-align: -2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
}
/* A stronger ring on the large tile: half the Polish flag is white, and on a
   white card the outline is the only thing that gives it an edge. */
.country .flagimg {
  width: 46px; height: 34.5px; display: block; margin: 0 auto 10px; border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .22), 0 1px 3px rgba(15, 23, 42, .10);
}
.hero-row .flagimg { width: 30px; height: 22.5px; }
