/* =================================================================
   A1 Dedicated Servers - a1.css
   Black chassis, cyan status light. Montserrat for display (matches
   the logo), Figtree for reading.
   ================================================================= */
:root {
  --bg:        #04070c;
  --bg-2:      #070c14;
  --surface:   #0b121d;
  --surface-2: #101a28;
  --line:      #19263a;
  --line-2:    #263a55;
  --text:      #e8eff7;
  --muted:     #9aabc0;
  --dim:       #6f8096;
  --cyan:      #36c9ff;
  --cyan-hi:   #8de0ff;
  --blue:      #2b6bff;
  --buy:       #2ec5ff;
  --buy-hi:    #74d9ff;
  --buy-ink:   #021018;
  --ok:        #3ddc97;
  --amber:     #ffb547;
  --r:         10px;
  --display:   "Montserrat", "Figtree", system-ui, sans-serif;
  --body:      "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-bg: #04070c;
  --bs-body-color: #e8eff7;
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  font-variant-numeric: tabular-nums;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
h1, h2, h3 { font-family: var(--display); color: #fff; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: 1.6rem; margin: 2rem 0 .8rem; }
h3 { font-weight: 700; font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--cyan); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cyan-hi); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
code { color: var(--cyan-hi); background: var(--surface-2); padding: .1em .4em; border-radius: 4px; font-size: .9em; }
.container { max-width: 1280px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--buy); color: var(--buy-ink); padding: .5rem 1rem; z-index: 2000; }
.skip:focus { left: 1rem; top: 1rem; }
.small { font-size: .9rem; color: var(--muted); }
::selection { background: rgba(54,201,255,.35); }

/* ---------- buttons ---------- */
.btn-buy, .btn-line, .btn-specs {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: 700 .98rem/1.1 var(--display); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border-radius: 8px; padding: .78rem 1.25rem; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-buy { background: var(--buy); color: var(--buy-ink); border: 1px solid var(--buy); box-shadow: 0 0 0 0 rgba(46,197,255,0); }
.btn-buy:hover { background: var(--buy-hi); border-color: var(--buy-hi); color: var(--buy-ink); box-shadow: 0 0 24px rgba(46,197,255,.35); }
.btn-line, .btn-specs { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-line:hover, .btn-specs:hover { border-color: var(--cyan); color: #fff; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem .8rem; font-size: .85rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- promo ---------- */
.promo { background: linear-gradient(90deg, #06223a, #0a2f57 50%, #06223a); color: #d8ecff; font-size: .9rem; border-bottom: 1px solid #12406b; }
.promo-in { display: flex; justify-content: center; align-items: center; position: relative; padding: .45rem 2.5rem; }
.promo p { margin: 0; text-align: center; }
.promo-code { font: 700 .85rem var(--display); letter-spacing: .06em; color: #fff; background: rgba(54,201,255,.12); border: 1px dashed var(--cyan); border-radius: 5px; padding: .1rem .5rem; margin-left: .25rem; cursor: copy; }
.promo-code.copied::after { content: " copied"; font-weight: 500; letter-spacing: 0; color: var(--cyan-hi); }
.promo-x { position: absolute; right: .75rem; background: none; border: 0; color: #8fb3d6; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.promo-x:hover { color: #fff; }

/* ---------- header ---------- */
.top { background: rgba(4,7,12,.96); border-bottom: 1px solid var(--line); position: relative; z-index: 60; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { display: block; filter: drop-shadow(0 0 10px rgba(54,201,255,.35)); }
.brand-text { font: 700 1.15rem var(--display); color: #dfe9f5; letter-spacing: .01em; white-space: nowrap; }
.brand-text b { color: var(--cyan); font-weight: 800; text-shadow: 0 0 14px rgba(54,201,255,.55); margin-right: .1rem; }
.nav-main { display: flex; align-items: center; gap: 1.25rem; }
.nav-main ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav-main a:not(.btn-buy) { display: block; padding: .5rem .75rem; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .97rem; border-radius: 6px; }
.nav-main a:not(.btn-buy):hover { color: #fff; background: var(--surface); }
.nav-main a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.btn-nav { padding: .6rem 1rem; font-size: .9rem; }
.nav-toggle { display: none; font: 600 .95rem var(--body); color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: .45rem .9rem; }
@media (max-width: 1099.98px) {
  .nav-toggle { display: block; }
  .nav-main { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: .5rem; padding-bottom: 1rem; }
  .nav-main.open { display: flex; }
  .nav-main ul { flex-direction: column; }
  .nav-main a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--cyan); }
}
@media (max-width: 419.98px) { .brand-text { font-size: 1rem; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(43,107,255,.22), transparent 60%),
    radial-gradient(700px 380px at 85% 10%, rgba(54,201,255,.14), transparent 60%),
    var(--bg);
}
.hero::before { /* faint circuit traces, echoing the logo */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(54,201,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54,201,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 70%);
}
.hero > .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
@media (max-width: 991.98px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } .hero { padding: 2.5rem 0 2.25rem; } }
.kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61,220,151,.15), 0 0 12px var(--ok); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin: 0 0 1rem; max-width: 18ch; }
.hero-sub h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 22ch; }
.hero .lead, .hero .lead p { color: var(--muted); font-size: 1.15rem; font-weight: 400; max-width: 56ch; margin: 0 0 1.5rem; }
.hero-cta { margin: 0; }
.hero-plain { padding: 2.75rem 0 2.25rem; }
.hero .meta { color: var(--dim); margin: 0; font-size: .95rem; }

.hero-search { display: flex; gap: .5rem; max-width: 600px; margin-bottom: 1rem; }
.hero-search input { flex: 1; min-width: 0; font: 500 1rem var(--body); color: var(--text); background: rgba(11,18,29,.9); border: 1px solid var(--line-2); border-radius: 8px; padding: .8rem 1rem; }
.hero-search input::placeholder { color: var(--dim); }
.hero-search input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(54,201,255,.2); }
@media (max-width: 575.98px) { .hero-search { flex-direction: column; } }
.quick, .chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; }
.quick a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; background: rgba(11,18,29,.6); }
.quick a:hover { border-color: var(--cyan); color: #fff; }
.chips li { padding: .35rem .8rem; border-radius: 999px; background: rgba(54,201,255,.08); border: 1px solid rgba(54,201,255,.25); color: var(--cyan-hi); font-size: .9rem; font-weight: 600; }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }

/* ---------- deals panel ---------- */
.deals { background: linear-gradient(180deg, rgba(16,26,40,.95), rgba(11,18,29,.95)); border: 1px solid var(--line-2); border-radius: 14px; padding: 1.25rem; box-shadow: 0 0 0 1px rgba(54,201,255,.06), 0 20px 60px rgba(0,0,0,.45), 0 0 50px rgba(43,107,255,.12); }
.deals h2 { font-size: 1.05rem; margin: 0 0 1rem; color: #fff; }
.deals ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 419.98px) { .deals ul { grid-template-columns: 1fr; } }
.deal { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem; display: flex; flex-direction: column; cursor: pointer; transition: border-color .15s; }
.deal:hover { border-color: var(--cyan); }
.deal-label { color: var(--cyan); font-weight: 700; font-size: .82rem; margin: 0 0 .35rem; }
.deal-spec { color: var(--muted); font-size: .87rem; line-height: 1.4; margin: 0 0 .6rem; flex: 1; }
.deal-spec strong { color: #fff; font-weight: 600; }
.deal-spec span { color: var(--dim); }
.deal-price { margin: 0 0 .6rem; color: var(--dim); font-size: .85rem; }
.deal-price strong { font: 800 1.35rem var(--display); color: #fff; }
.deals-note { margin: .9rem 0 0; color: var(--dim); font-size: .82rem; }

/* ---------- promises strip ---------- */
.promises { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.promises ul { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.promises li { display: flex; flex-direction: column; padding-left: 1rem; border-left: 2px solid var(--blue); }
.promises strong { font: 700 1rem var(--display); color: #fff; }
.promises span { color: var(--muted); font-size: .9rem; }
@media (max-width: 767.98px) { .promises ul { grid-template-columns: 1fr 1fr; } }

/* ---------- filters ---------- */
.filters { background: rgba(7,12,20,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: .85rem 0; z-index: 50; }
@media (min-width: 992px) { .filters { position: sticky; top: 0; } }
.filters-in { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
@media (min-width: 1200px) { .filters-in { flex-wrap: nowrap; } .fld select { max-width: 200px; } }
.fld { display: flex; flex-direction: column; gap: .2rem; margin: 0; }
.fld span { font-size: .8rem; font-weight: 600; color: var(--dim); }
.fld select, .fld input { font: 500 .93rem var(--body); color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: .45rem .65rem; min-height: 40px; }
.fld select { padding-right: 1.8rem; appearance: auto; color-scheme: dark; }
.fld select:hover, .fld input:hover { border-color: #3a5577; }
.fld input:focus, .fld select:focus { border-color: var(--cyan); outline: none; }
.fld-search { flex: 1 1 180px; }
.fld-search input { width: 100%; }
.btn-apply { font: 700 .9rem var(--display); background: var(--buy); color: var(--buy-ink); border: 0; border-radius: 8px; padding: .55rem 1rem; }
@media (max-width: 575.98px) { .filters-in { display: grid; grid-template-columns: 1fr 1fr; } .fld-search { grid-column: 1 / -1; } .fld select { width: 100%; } }

/* ---------- listing ---------- */
.listing { padding-top: 1.75rem; padding-bottom: 3rem; }
.listing-h { margin: 0 0 .25rem; font-size: 1.5rem; }
.count { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; color: var(--muted); margin: 0 0 1.1rem; }
.count strong { color: #fff; }
.count .reset { font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1199.98px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899.98px)  { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px)  { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: rgba(54,201,255,.55); box-shadow: 0 0 0 1px rgba(54,201,255,.15), 0 10px 30px rgba(0,0,0,.4); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.card-loc { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.card-loc span { font-size: .72rem; font-weight: 700; color: var(--dim); }
.card-loc:hover { color: #fff; }
.save { font: 700 .72rem var(--display); color: var(--buy-ink); background: var(--amber); border-radius: 4px; padding: .15rem .4rem; }
.card-cpu { font-size: 1.05rem; margin: 0; line-height: 1.25; }
.card-cores { color: var(--dim); font-size: .88rem; margin: .15rem 0 .8rem; }
.card-spec { margin: 0 0 1rem; display: grid; gap: .35rem; flex: 1; }
.card-spec div { display: grid; grid-template-columns: 4.6rem 1fr; gap: .5rem; font-size: .92rem; }
.card-spec dt { color: var(--dim); font-weight: 500; }
.card-spec dd { margin: 0; color: var(--text); font-weight: 500; line-height: 1.35; }
.card-buy { border-top: 1px solid var(--line); padding-top: .9rem; }
.card-price { margin: 0 0 .75rem; line-height: 1; color: var(--dim); }
.card-price strong { font: 800 1.7rem var(--display); color: #fff; letter-spacing: -.02em; }
.card-price span { font-size: .85rem; margin-left: .1rem; }
.card-price s { display: block; font-size: .82rem; margin-bottom: .3rem; }
.card-actions { display: grid; grid-template-columns: auto 1fr; gap: .5rem; }
.card-actions .btn-specs, .card-actions .btn-buy { padding: .65rem .9rem; font-size: .9rem; }
.tag { display: inline-block; font: 700 .66rem var(--display); letter-spacing: .04em; padding: .12rem .38rem; border-radius: 4px; vertical-align: 1px; margin-left: .2rem; }
.tag-ssd  { background: rgba(61,220,151,.14); color: var(--ok); }
.tag-nvme { background: rgba(54,201,255,.16); color: var(--cyan-hi); }
.tag-hdd  { background: rgba(255,181,71,.14); color: var(--amber); }
.tag-gpu  { background: rgba(168,132,255,.18); color: #c7b2ff; }
.empty { padding: 3rem 1.5rem; text-align: center; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty h2 { margin-top: 0; font-size: 1.3rem; }

/* pager */
.pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: 0; margin: 2rem 0 0; }
.pager a, .pager span { display: block; min-width: 44px; padding: .55rem .8rem; text-align: center; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--cyan); }
.pager [aria-current] { background: var(--buy); border-color: var(--buy); color: var(--buy-ink); }
.pager .gap { padding: .55rem .2rem; color: var(--dim); }

/* ---------- section scaffolding ---------- */
.uses, .locs, .steps-sec, .compare-sec { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.uses h2, .locs h2, .steps-sec h2, .compare-sec h2 { margin-top: 0; }
.sec-lead { color: var(--muted); max-width: 64ch; }
.locs { background: var(--bg-2); }

.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 899.98px) { .use-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .use-grid { grid-template-columns: 1fr; } }
.use { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; text-decoration: none; color: var(--text); transition: border-color .15s; }
.use:hover { border-color: var(--cyan); color: var(--text); }
.use h3 { margin: 0 0 .4rem; }
.use p { color: var(--muted); font-size: .95rem; flex: 1; }
.use-go { color: var(--cyan); font-weight: 700; font-size: .92rem; margin-top: .25rem; }

.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.loc-col h3 { margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line-2); }
.loc-col h3 a { color: #fff; text-decoration: none; }
.loc-col h3 a:hover { color: var(--cyan); }
.loc-col ul { list-style: none; padding: 0; margin: 0; }
.loc-col li a { display: flex; align-items: center; gap: .55rem; padding: .45rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.loc-col .city { flex: 1; }
.loc-col .from { color: var(--dim); font-size: .88rem; }
.loc-col li a:hover .city { color: var(--cyan); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.25rem 1rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--cyan); color: var(--cyan); font: 800 1rem var(--display); margin-bottom: .75rem; box-shadow: 0 0 14px rgba(54,201,255,.25); }
.steps h3 { margin: 0 0 .4rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0 1rem; border: 1px solid var(--line); border-radius: var(--r); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface); }
.compare th, .compare td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 .95rem var(--display); color: #fff; background: var(--surface-2); }
.compare tbody th { color: var(--muted); font-weight: 600; }
.compare td { color: var(--muted); }
.compare .us { color: #fff; background: rgba(54,201,255,.06); }
.compare thead .us { color: var(--cyan); box-shadow: inset 0 2px 0 var(--cyan); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ---------- info / prose / FAQ ---------- */
.info { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
@media (max-width: 991.98px) { .info-grid { grid-template-columns: 1fr; gap: 2rem; } }
.prose { max-width: 70ch; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: #c9d5e3; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose h3 { margin: 1.5rem 0 .6rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; background: var(--surface); border: 1px solid var(--line); }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; color: #c9d5e3; }
.prose thead th { color: #fff; background: var(--surface-2); font-family: var(--display); font-weight: 700; }
.prose tbody th { color: var(--muted); font-weight: 600; }
.facts { max-width: 520px; }
.ticks { list-style: none; padding-left: 0 !important; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .75rem; height: .4rem; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.faq h2 { margin-top: 0; font-size: 1.35rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: .95rem 2rem .95rem 0; font-weight: 600; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .7rem; font-size: 1.35rem; font-weight: 400; color: var(--cyan); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 1rem; color: var(--muted); }
.faq-a p { margin: 0 0 .5rem; }

.related { margin-top: 2rem; }
.related h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { padding: .45rem 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; }
.related span { color: var(--dim); font-size: .88rem; }

.cta-box { margin-top: 2.5rem; padding: 1.5rem; background: linear-gradient(135deg, rgba(43,107,255,.14), rgba(54,201,255,.06)); border: 1px solid var(--line-2); border-radius: 12px; }
.cta-box h2 { margin: 0 0 .4rem; font-size: 1.25rem; }
.cta-box p { color: var(--muted); }

/* ---------- final CTA + footer ---------- */
.final-cta { border-top: 1px solid var(--line); background: radial-gradient(700px 260px at 50% 0%, rgba(43,107,255,.22), transparent 70%), var(--bg-2); }
.final-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 3rem 12px; }
.final-cta h2 { margin: 0 0 .35rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.final-cta p { color: var(--muted); margin: 0; max-width: 60ch; }

.foot { background: #020408; border-top: 1px solid var(--line); color: var(--muted); padding: 3rem 0 1.5rem; font-size: .93rem; }
.foot a { color: #c9d5e3; text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 991.98px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand img { display: block; width: 224px; height: auto; margin-bottom: .5rem; }
.foot-brand p { max-width: 38ch; }
.foot h2 { font: 700 .95rem var(--display); color: #fff; margin: 0 0 .6rem; }
.foot h2 a { color: #fff; }
.foot h2.mt { margin-top: 1.4rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: .15rem 0; }
.foot address { margin: 0; line-height: 1.6; }
.foot-legal { border-top: 1px solid var(--line); margin: 2.25rem 0 0; padding-top: 1.25rem; font-size: .85rem; color: var(--dim); }

.mobile-cta { display: none; }
@media (max-width: 767.98px) {
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; box-shadow: 0 8px 30px rgba(0,0,0,.6), 0 0 20px rgba(46,197,255,.3); }
  body { padding-bottom: 76px; }
}

/* ---------- locations page ---------- */
.loc-page { padding-top: 2.5rem; padding-bottom: 3rem; }
.loc-group { margin-bottom: 2.75rem; }
.loc-group h2 { margin-top: 0; }
.loc-group h2 a { color: #fff; text-decoration: none; }
.loc-group h2 a:hover { color: var(--cyan); }
.city-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.city-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--text); transition: border-color .15s; }
.city-card:hover { border-color: var(--cyan); color: var(--text); }
.city-card h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .4rem; }
.city-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.city-card .city-meta { flex: 0; display: flex; justify-content: space-between; margin: 0; padding-top: .6rem; border-top: 1px solid var(--line); }
.city-meta strong { color: #fff; }
.loc-help { margin-top: 1rem; }

/* ---------- guides ---------- */
.guide-list { padding-top: 2.5rem; padding-bottom: 3rem; }
.guide-list > * { max-width: 820px; }
.guide-item { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.guide-item h2 { margin: 0 0 .35rem; font-size: 1.4rem; }
.guide-item h2 a { color: #fff; text-decoration: none; }
.guide-item h2 a:hover { color: var(--cyan); }
.guide-item p { margin: 0 0 .25rem; color: var(--muted); }
.guide-item .meta { font-size: .875rem; color: var(--dim); }
.article-grid { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.article h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.article-side { position: sticky; top: 90px; }
@media (max-width: 991.98px) { .article-side { position: static; } }

/* ---------- about / contact / 404 ---------- */
.about { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.facts-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: var(--r); padding: 1.4rem 1.5rem; }
.facts-card h2 { font-size: 1.05rem; margin: 1.25rem 0 .4rem; }
.facts-card h2:first-child { margin-top: 0; }
.facts-card address, .facts-card p { margin: 0; color: var(--muted); }
.facts-card ul { padding-left: 1.1rem; margin: 0; }

.contact { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; }
.contact-form h2 { margin-top: 0; font-size: 1.3rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 575.98px) { .two { grid-template-columns: 1fr; } }
.fieldset { margin-bottom: 1rem; }
.fieldset label, .lg-tests legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; color: #fff; }
.fieldset input, .fieldset textarea, .fieldset select { width: 100%; font: 500 1rem var(--body); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: .65rem .8rem; color-scheme: dark; }
.fieldset input::placeholder, .fieldset textarea::placeholder { color: var(--dim); }
.fieldset input:focus, .fieldset textarea:focus, .fieldset select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(54,201,255,.18); }
[aria-invalid="true"] { border-color: #ff6b6b !important; }
.field-err { color: #ff8f8f; font-size: .88rem; margin: .3rem 0 0; font-weight: 600; }
.form-alert { background: rgba(255,107,107,.1); border-left: 3px solid #ff6b6b; padding: .75rem 1rem; color: #ffb3b3; }
.captcha { display: grid; grid-template-columns: auto auto 1fr; gap: .5rem 1rem; align-items: end; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; margin-bottom: 1.25rem; }
.captcha img { border-radius: 6px; background: #fff; }
.captcha-new { font: 600 .85rem var(--body); background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: .4rem .7rem; color: var(--text); cursor: pointer; align-self: center; }
.captcha .fieldset { margin: 0; }
@media (max-width: 575.98px) { .captcha { grid-template-columns: auto 1fr; } .captcha .fieldset { grid-column: 1 / -1; } }
.sent { max-width: 560px; padding: 2rem 0; }
.sent h2 { margin-top: 0; }
.nf { padding-top: 2rem; padding-bottom: 3.5rem; }
.nf-links { columns: 2; padding-left: 1.1rem; }

/* ---------- looking glass ---------- */
.lg { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.lg-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 1.5rem; }
@media (max-width: 991.98px) { .lg-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; margin-bottom: 1rem; }
.panel h2 { font-size: 1.1rem; margin: 0 0 .9rem; }
.lg-tests { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.lg-tests legend { grid-column: 1 / -1; }
.radio { display: flex; align-items: center; gap: .45rem; font-size: .9rem; padding: .45rem .6rem; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; color: var(--muted); }
.radio:has(input:checked) { border-color: var(--cyan); color: #fff; background: rgba(54,201,255,.08); }
.radio input { accent-color: var(--cyan); }
#lg-run, #lg-stop { margin-top: .25rem; }
.lg-ips { list-style: none; padding: 0; margin: 0; max-height: 300px; overflow-y: auto; }
.lg-ips li { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.lg-ips span { color: var(--muted); }
.lg-use-ip { font: 500 .85rem var(--body); background: none; border: 0; padding: 0; color: var(--cyan); cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }
.lg-out { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; min-height: 520px; background: #010306; }
.lg-out-head { display: flex; justify-content: space-between; align-items: center; padding: .6rem 1rem; background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: .9rem; }
.lg-copy { font: 500 .8rem var(--body); background: transparent; color: var(--text); border: 1px solid var(--line-2); border-radius: 6px; padding: .2rem .6rem; cursor: pointer; }
#lg-output { flex: 1; margin: 0; padding: 1rem 1.1rem; color: #9ff0c9; font: .85rem/1.6 ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; overflow-y: auto; }
.lg-help { margin-top: 2.5rem; }

/* ---------- modal ---------- */
.spec-sheet { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(43,107,255,.15); }
.spec-sheet .modal-header { border-bottom: 1px solid var(--line); align-items: flex-start; padding: 1.1rem 1.4rem; }
.spec-sheet .modal-title { font-size: 1.35rem; font-weight: 800; margin: 0; }
.m-loc { margin: 0 0 .2rem; color: var(--cyan); font-weight: 600; font-size: .92rem; }
.spec-sheet .modal-body { padding: 1.4rem; }
.m-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
@media (max-width: 767.98px) { .m-grid { grid-template-columns: 1fr; } }
.m-spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.m-spec th { color: var(--dim); font-weight: 600; padding: .5rem 1rem .5rem 0; white-space: nowrap; vertical-align: top; width: 1%; }
.m-spec td { padding: .5rem 0; color: #fff; font-weight: 500; border-bottom: 1px solid var(--line); }
.m-buy { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; text-align: center; }
.m-price { margin-bottom: 1rem; line-height: 1; color: var(--dim); }
.m-price .big { font: 800 2.6rem var(--display); color: #fff; letter-spacing: -.02em; }
.m-price .per { display: block; margin-top: .35rem; font-size: .9rem; }
.m-price s { display: block; margin-bottom: .35rem; font-size: .9rem; }
.m-points { list-style: none; padding: 0; margin: 1rem 0 0; text-align: left; font-size: .88rem; color: var(--muted); }
.m-points li { padding: .2rem 0 .2rem 1.4rem; position: relative; }
.m-points li::before { content: ""; position: absolute; left: .1rem; top: .6em; width: .65rem; height: .35rem; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.modal-backdrop.show { opacity: .75; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ---------- flags (trimmed sprite) ---------- */
.flag{display:inline-block;width:16px;height:11px;background:url(/images/flags.png?v=2) no-repeat 0 0;vertical-align:-1px;border-radius:1px}
.flag-US{background-position:-0px 0;}
.flag-CA{background-position:-16px 0;}
.flag-GB{background-position:-32px 0;}
.flag-UK{background-position:-48px 0;}
.flag-NL{background-position:-64px 0;}
.flag-DE{background-position:-80px 0;}
.flag-FR{background-position:-96px 0;}
.flag-ES{background-position:-112px 0;}
.flag-IT{background-position:-128px 0;}
.flag-CH{background-position:-144px 0;width:11px;}
.flag-PL{background-position:-160px 0;}
.flag-SE{background-position:-176px 0;}
.flag-IE{background-position:-192px 0;}
.flag-BE{background-position:-208px 0;}
.flag-AT{background-position:-224px 0;}
.flag-PT{background-position:-240px 0;}
.flag-DK{background-position:-256px 0;}
.flag-NO{background-position:-272px 0;}
.flag-FI{background-position:-288px 0;}
.flag-CZ{background-position:-304px 0;}
.flag-RO{background-position:-320px 0;}
.flag-BG{background-position:-336px 0;}
.flag-LU{background-position:-352px 0;}
.flag-JP{background-position:-368px 0;}
.flag-SG{background-position:-384px 0;}
.flag-AU{background-position:-400px 0;}
.flag-HK{background-position:-416px 0;}
.flag-BR{background-position:-432px 0;}
.flag-MX{background-position:-448px 0;}
.flag-IN{background-position:-464px 0;}
.flag-ZA{background-position:-480px 0;}
