/*
  VPSPioneer — grid design system.

  One idea: every block on the page is a cell that shares a single hairline
  with its neighbours. No gaps, no radius, no shadows. Black, white and two
  greys. A section is a `.row` (a CSS grid with a 1px gap painted in the line
  colour); its children paint their own background, so the gap reads as a
  shared border.

  Sections
    1. Tokens & reset
    2. Frame, rows, cells
    3. Type, buttons, forms
    4. Header & footer
    5. Blocks: hero, stats, tiles, plans, features, band, faq, posts, steps
    6. Prose (blog articles, legal documents)
    7. Page helpers (status bars, whois, forms, tables)
    8. Responsive
*/

/* ---------- 1. Tokens & reset ---------- */
:root {
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --ink: #000000;
  --ink-2: #5c5c5c;
  --ink-3: #8a8a8a;
  --line: #e3e3e3;
  --line-strong: #000000;
  --btn-bg: #000000;
  --btn-fg: #ffffff;
  --ok: #000000;
  --warn: #6b6b6b;
  --bad: #b30000;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --frame: 1280px;
  --cell: 28px;
}

*, *::before, *::after { 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(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: 61px; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
[hidden] { display: none !important; }
.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; }

/* ---------- 2. Frame, rows, cells ---------- */
.frame {
  max-width: var(--frame);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.row {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.row > * { background: var(--paper); min-width: 0; }
.row.no-line { border-bottom: 0; }
.row .row { background: var(--line); }
.side-col { display: grid; align-content: start; background: var(--paper); }
.side-col > .cell { border-bottom: 1px solid var(--line); }
.side-col > .tile { min-height: 0; }
.side-col .side-stack { background: var(--paper); z-index: 2; max-height: calc(100vh - 61px); overflow-y: auto; }
.side-col .side-stack > .cell { border-bottom: 1px solid var(--line); }
.row .row.no-line + .cell { border-top: 1px solid var(--line); }
.cell { padding: var(--cell); }
.cell.tight { padding: 16px 20px; }
.cell.roomy { padding: 44px var(--cell); }
.cell.grey { background: var(--paper-2); }
.cell.dark, .row.dark > * { background: var(--btn-bg); color: var(--btn-fg); }
.row.dark { background: #333; }
.cell.dark .eyebrow, .row.dark .eyebrow, .row.dark .muted, .cell.dark .muted { color: rgba(255,255,255,.65); }

/* Column presets. Every preset collapses in section 8. */
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cols-6 { grid-template-columns: repeat(6, 1fr); }
.cols-7-5 { grid-template-columns: 7fr 5fr; }
.cols-5-7 { grid-template-columns: 5fr 7fr; }
.cols-4-8 { grid-template-columns: 4fr 8fr; }
.cols-8-4 { grid-template-columns: 8fr 4fr; }
.cols-1-auto { grid-template-columns: 1fr auto; }
.cols-3-9 { grid-template-columns: 3fr 9fr; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

/* ---------- 3. Type, buttons, forms ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 36em; }
.lead a, .prose-lite a { text-decoration: underline; text-underline-offset: 2px; }
.h-display { font-size: clamp(40px, 6vw, 76px); font-weight: 900; line-height: .98; }
.h-1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 900; line-height: 1.02; }
.h-2 { font-size: 28px; font-weight: 800; }
.h-3 { font-size: 20px; font-weight: 700; }
.h-4 { font-size: 16px; font-weight: 700; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.text-center { text-align: center; }
.maxw { max-width: 62em; }
.maxw-sm { max-width: 42em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  font-weight: 600; font-size: 14px; line-height: 1.2;
  background: var(--paper); color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: background .12s ease, color .12s ease;
}
.btn:hover { background: var(--paper-2); }
.btn.solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn.solid:hover { background: #333; border-color: #333; color: #fff; }
.btn.block { width: 100%; }
.btn.lg { padding: 16px 28px; font-size: 15px; }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.ghost { border-color: var(--line); }
.cell.dark .btn, .row.dark .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cell.dark .btn:hover, .row.dark .btn:hover { background: rgba(255,255,255,.1); }
.cell.dark .btn.solid, .row.dark .btn.solid { background: #fff; color: #000; border-color: #fff; }
.cell.dark .btn.solid:hover, .row.dark .btn.solid:hover { background: #e3e3e3; border-color: #e3e3e3; }

/* A group of buttons that touch */
.actions { display: flex; gap: 1px; background: var(--line-strong); width: max-content; max-width: 100%; flex-wrap: wrap; }
.actions .btn { border: 0; outline: 1px solid var(--line-strong); outline-offset: -1px; }
.actions .btn.solid { outline: 0; }

/* A link that fills its cell and points somewhere */
.cell.link { display: flex; align-items: flex-end; font-weight: 600; font-size: 14px; white-space: nowrap; }
.cell.link:hover { background: var(--paper-2); }
.arrow::after { content: " →"; }
.inline-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--ink-2); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field .hint { font-size: 12px; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink);
  padding: 12px 14px;
  font-size: 15px; line-height: 1.3;
  min-width: 0;
}
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select { outline: 2px solid var(--bad); outline-offset: -2px; }
.field .error { font-size: 12px; color: var(--bad); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.check input { margin-top: 3px; accent-color: #000; }

/* Honeypot field: off-screen for people, present for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Search bar: input + button share one black outline */
.searchbar { display: grid; grid-template-columns: 1fr auto; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.searchbar .input { border: 0; }
.searchbar .btn { border: 0; }

/* ---------- 4. Header & footer ---------- */
/* The header splits 7/5 like the hero below it, so the line between the
   menu and the account buttons continues straight down the page. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.site-header .frame { background: var(--paper); }
.top { grid-template-columns: 7fr 5fr; }
.top-l, .top-r { display: flex; min-width: 0; }
.brand { display: flex; align-items: center; padding: 0 22px; height: 60px; border-right: 1px solid var(--line); flex: 0 0 auto; }
.brand img { display: block; height: 30px; width: auto; }
.nav { display: flex; flex: 1 1 auto; }
.nav > a, .nav > .dd { flex: 1 1 auto; }
.nav > .dd > button { width: 100%; }
.nav > a, .nav > .dd > button, .top-r > a, .top-r > button {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 14px; height: 60px;
  border-right: 1px solid var(--line);
  font-weight: 500; font-size: 14px; white-space: nowrap;
  transition: background .12s ease;
}
.nav > a:last-child, .nav > .dd:last-child > button { border-right: 0; }
.nav > a:hover, .nav > .dd > button:hover, .nav > .dd.open > button, .top-r > a:hover, .top-r > button:hover { background: var(--paper-2); }
.nav > a.active, .nav > .dd.active > button, .top-r > a.active { box-shadow: inset 0 -2px 0 var(--ink); font-weight: 700; }
.dd { position: static; }
.dd > button svg { width: 10px; height: 10px; transition: transform .12s ease; }
.dd.open > button svg { transform: rotate(180deg); }
/* Mega menu: spans the whole frame under the header row */
.site-header .frame { position: relative; }
.dd-menu {
  position: absolute; top: 100%; left: -1px; right: -1px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
  display: none;
  z-index: 60;
}
.dd.open > .dd-menu { display: grid; }
.mega { grid-template-columns: 1fr 1fr 1fr 1.15fr; gap: 1px; background: var(--line); }
.mega > * { background: var(--paper); padding: 22px 24px; min-width: 0; }
.mega-col .eyebrow { margin-bottom: 8px; }
.mega-col a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mega-col a:last-child { border-bottom: 0; }
.mega-col a b { display: block; font-size: 14px; font-weight: 700; }
.mega-col a small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.4; }
.mega-col a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.mega-col .mega-tld { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; }
.mega-col .mega-tld b { display: inline; font-size: 13px; }
.mega-col .mega-tld span { color: var(--ink-2); font-size: 12px; }
.mega-feature { background: var(--paper-2); font-size: 14px; }
.mega-feature p { color: var(--ink-2); }
.mega-feature .checks { font-size: 13.5px; }
.mega-feature .btn { display: inline-flex; }
.top-r > * { flex: 1 1 auto; }
.top-r > .btn { border: 0; border-right: 1px solid var(--line); height: 60px; }
.top-r > .btn.solid { border-right: 0; flex-grow: 1.3; }
.top-r .chat i { width: 8px; height: 8px; background: var(--ink); display: inline-block; }
.top .menu-btn { display: none; }
.mobile-nav { display: none; }

/* Footer */
.foot-support { grid-template-columns: 1fr 1fr 1fr; }
.foot-support a.cell:hover { background: var(--paper-2); }
.foot-support h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.foot-support p { font-size: 14px; color: var(--ink-2); }
.foot-cols { grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; }
.foot-cols h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.foot-cols li { padding: 5px 0; font-size: 14px; }
.foot-cols li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-cols .brand { padding: 0; height: auto; margin-bottom: 14px; }
.foot-cols .brand img { height: 26px; }
.foot-ns { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-ns .eyebrow { margin-bottom: 8px; }
.foot-ns code { display: block; font-family: var(--mono); font-size: 13px; padding: 4px 0; }
.foot-bottom { grid-template-columns: 1fr; border-bottom: 0; }
.foot-bottom .cell { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); }
.foot-bottom .cell > div { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom a:hover { text-decoration: underline; }
.foot-bottom .status-link { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom .status-link i { width: 8px; height: 8px; background: var(--ink); }
.foot-legal { font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* ---------- 5. Blocks ---------- */

/* Hero */
.hero { grid-template-columns: 7fr 5fr; }
.hero .h-display { margin: 18px 0 22px; }
.hero .h-1 { margin: 16px 0 20px; }
.hero .actions { margin-top: 32px; }
.pic { min-height: 240px; overflow: hidden; background: var(--paper-2); }
.pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.pic.tall { min-height: 100%; }
.pic.invert { background: #1a1a1a; }
.pic.invert img { filter: grayscale(1) invert(1) brightness(1.35) contrast(.8); object-fit: cover; transform: scale(1.15); }
.domain { display: grid; grid-template-rows: 1fr auto auto auto; padding: 0; }
.domain .pic { border-bottom: 1px solid var(--line); }
.domain .head { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.domain .searchbar { margin: 24px; }
.tlds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.tlds a { background: var(--paper); padding: 12px 8px; font-family: var(--mono); font-size: 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.tlds a b { font-weight: 600; font-size: 13px; }
.tlds a span { color: var(--ink-2); font-size: 11px; }
.tlds a:hover { background: var(--paper-2); }

/* Hero side column: a compact 2x2 of figures, the picture fills the rest */
.side { display: grid; grid-template-rows: auto 1fr; gap: 1px; background: var(--line); padding: 0; }
.side > * { background: var(--paper); }
.side .pic { min-height: 200px; }
.stats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.stats-mini > * { background: var(--paper); padding: 18px 22px; }
.stats-mini b { display: block; font-family: var(--mono); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; }
.stats-mini span { font-size: 13px; color: var(--ink-2); }

/* Hand-drawn SVG art cells */
.pic.art { display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--paper); }
.pic.art svg { width: 100%; height: auto; max-height: 100%; }
.art-grid .cell svg { width: 40px; height: 40px; margin-bottom: 14px; }
.art-grid .cell h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.art-grid .cell p { font-size: 14px; color: var(--ink-2); }
.art-wide { padding: 20px var(--cell); }
.art-wide svg { width: 100%; height: auto; display: block; }

/* Stats strip */
.stat b { display: block; font-family: var(--mono); font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: 13px; color: var(--ink-2); }
.stat.dark span, .cell.dark .stat span { color: rgba(255,255,255,.7); }

/* Section head */
.section-head { grid-template-columns: 1fr auto; }
.section-head .h-2 { margin-top: 8px; }
.section-head .lead { margin-top: 10px; font-size: 16px; }

/* Tiles (services, cards) */
.tile { display: flex; flex-direction: column; gap: 12px; min-height: 200px; transition: background .12s ease; }
a.tile:hover { background: var(--paper-2); }
.tile h3 { font-size: 20px; font-weight: 700; }
.tile p { color: var(--ink-2); max-width: 32em; }
.tile .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 13px; gap: 12px; }
.tile .foot b { font-size: 20px; font-weight: 600; }
.tile .foot i { font-style: normal; color: var(--ink-2); }
.tile .foot .btn { font-family: var(--sans); }

/* Plans */
.plan { display: flex; flex-direction: column; padding: 0; }
.plan .name { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan .name h3 { font-size: 18px; font-weight: 700; }
.plan .name small { font-family: var(--mono); font-size: 11px; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.plan .tagline { padding: 14px 24px 0; font-size: 14px; color: var(--ink-2); }
.plan dl { margin: 0; padding: 8px 0; }
.plan .spec { display: flex; justify-content: space-between; gap: 12px; padding: 8px 24px; font-size: 14px; }
.plan .spec dt { color: var(--ink-2); }
.plan .spec dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.plan .list { border-top: 1px solid var(--line); margin-top: 8px; padding: 16px 24px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; font-size: 13.5px; }
.plan .list li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: start; }
.plan .list li::before { content: ""; width: 7px; height: 7px; background: var(--ink); margin-top: 6px; }
.cols-4 .plan .list { grid-template-columns: 1fr; }
.plan .list-title { border-top: 1px solid var(--line); margin-top: 8px; padding: 14px 24px 0; }
.plan .list-title + .list { border-top: 0; margin-top: 0; padding-top: 10px; }
.plan .foot { margin-top: auto; border-top: 1px solid var(--line); }
.plan .foot .p { padding: 16px 24px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.plan .foot .p b { font-size: 26px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; margin-right: 2px; }
.plan .foot .p small { font-size: 12px; text-align: right; margin-left: auto; line-height: 1.4; }
.plan .foot .btn { border: 0; border-top: 1px solid var(--line-strong); width: 100%; }
.plan.featured .name { background: var(--btn-bg); color: var(--btn-fg); }
.plan.featured .name small { color: inherit; opacity: .7; }

/* Feature rows */
.feat { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; transition: background .12s ease; }
.feat:hover { background: var(--paper-2); }
.feat i { display: block; width: 10px; height: 10px; background: var(--ink); margin-top: 7px; }
.feat b { display: block; font-weight: 700; margin-bottom: 2px; }
.feat span, .feat p { color: var(--ink-2); font-size: 14px; }
.feat a { text-decoration: underline; text-underline-offset: 2px; }

/* Checklist (short inline items) */
.checks { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.checks li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 8px; height: 8px; background: var(--ink); margin-top: 6px; }
.checks.x li::before { background: transparent; border: 1px solid var(--ink-3); }
.checks.x li { color: var(--ink-2); }

/* "We handle / left for you" split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.split > div { background: var(--paper); padding: 16px 18px; }
.split .eyebrow { margin-bottom: 10px; }
.split .checks { font-size: 13.5px; gap: 8px; }
.split .you { background: var(--paper-2); }

/* Band (black call-out) */
.band { grid-template-columns: 1fr auto; }
.band > * { background: var(--btn-bg); color: var(--btn-fg); }
.band h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.band p { color: inherit; opacity: .7; margin-top: 8px; max-width: 36em; }
.band .cell.link { align-items: center; font-weight: 700; padding-inline: 40px; }
.band .cell.link:hover { background: #333; }

/* FAQ */
.faq { grid-template-columns: 1fr; }
.faq details { padding: 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 16px;
  padding: 20px var(--cell); font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--paper-2); }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; text-align: center; color: var(--ink-2); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 var(--cell) 22px; color: var(--ink-2); max-width: 60em; }
.faq .a p + p { margin-top: 10px; }
.faq .a a { text-decoration: underline; text-underline-offset: 2px; }

/* Posts */
.post { display: flex; flex-direction: column; gap: 12px; min-height: 240px; transition: background .12s ease; }
.post:hover { background: var(--paper-2); }
.post h3, .post h2 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.post p { color: var(--ink-2); font-size: 14px; max-width: 32em; }
.post .meta { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Steps (a real sequence) */
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--ink-2); border: 1px solid var(--line-strong); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: 14px; }

/* Label/value list (key facts) */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 14px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-family: var(--mono); }
.kv.small { font-size: 13px; gap: 6px 16px; }
.kv.small dd { font-size: 12px; }
button.chip { cursor: pointer; }
button.chip:hover { background: var(--paper-2); }

/* Compare table */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-weight: 700; background: var(--paper-2); white-space: nowrap; }
.table td.mono, .table td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.table tr:first-child th { border-top: 0; }
.table tr > *:first-child { border-left: 0; }
.table tr > *:last-child { border-right: 0; }
.table tr:last-child > * { border-bottom: 0; }

/* Quote */
.quote { font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.quote footer { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* Notice / form result */
.notice { border: 1px solid var(--line-strong); padding: 24px; }
.notice.dark { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.notice h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.notice p { color: var(--ink-2); }
.notice.dark p { color: rgba(255,255,255,.75); }
.notice p + p { margin-top: 8px; }
.notice a { text-decoration: underline; text-underline-offset: 2px; }
.notice.is-failed { border-color: var(--bad); }
.notice .tick { display: inline-flex; width: 36px; height: 36px; border: 1px solid currentColor; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Breadcrumbs */
.crumbs { display: flex; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); flex-wrap: wrap; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .here { color: var(--ink); }

/* Pager */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; }
.pager .nums { display: flex; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pager .nums > * { background: var(--paper); padding: 8px 12px; min-width: 38px; text-align: center; }
.pager .nums a:hover { background: var(--paper-2); }
.pager .nums .is-current { background: var(--btn-bg); color: var(--btn-fg); }
.pager .is-disabled { color: var(--ink-3); }

/* Sidebar lists (toc, categories) */
.side-title { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin-bottom: 12px; }
.side-list li a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.side-list li:last-child a { border-bottom: 0; }
.side-list li a:hover, .side-list li a.is-active { font-weight: 700; }
.side-list li a span { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.toc li a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.toc li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sticky { position: sticky; top: 61px; align-self: start; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tags span { border: 1px solid var(--line); padding: 5px 9px; font-family: var(--mono); font-size: 12px; }

/* Availability chips (used on whois) */
.stack > .chip { align-self: flex-start; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-strong); padding: 6px 10px; }
.chip i { width: 8px; height: 8px; background: var(--ink); }
.chip.hollow i { background: transparent; border: 1px solid var(--ink); }

/* Technology logos: grey at rest, brand colour on hover */
.logos { grid-template-columns: repeat(8, 1fr); }
.logos .cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 110px; padding: 20px 12px; color: var(--ink-3); transition: color .15s ease, background .15s ease; }
.logos .cell svg { width: 30px; height: 30px; fill: currentColor; }
.logos .cell.wide svg { width: 76px; height: 76px; margin: -23px 0; }
.logos .cell span { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); transition: color .15s ease; }
.logos .cell:hover { color: var(--brand, var(--ink)); background: var(--paper-2); }
.logos .cell:hover span { color: var(--ink); }

/* ---------- 6. Prose ---------- */
.prose { font-size: 16px; line-height: 1.7; max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 40px 0 14px; scroll-margin-top: 80px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 30px 0 10px; scroll-margin-top: 80px; }
.prose h4 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink-2); }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li > ul, .prose li > ol { margin: 8px 0 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose blockquote { margin: 0 0 20px; padding: 16px 20px; border-left: 3px solid var(--ink); background: var(--paper-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; margin-bottom: 22px; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 700; white-space: nowrap; }
.prose img { border: 1px solid var(--line); margin: 6px 0 20px; }
.prose figcaption { font-size: 13px; color: var(--ink-2); margin: -12px 0 20px; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); border: 1px solid var(--line); padding: 1px 5px; }
.prose th code, .prose td code { white-space: nowrap; }
.prose .code-block { margin: 0 0 22px; border: 1px solid var(--line-strong); }
.prose .code-block-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; border-bottom: 1px solid var(--line-strong); background: var(--paper); }
.prose .code-block-lang { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.prose .code-block-copy { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 4px 10px; background: var(--paper); }
.prose .code-block-copy:hover { background: var(--btn-bg); color: var(--btn-fg); }
.prose .code-block-copy.is-done { background: var(--btn-bg); color: var(--btn-fg); }
.prose .code-block pre { margin: 0; padding: 16px; overflow-x: auto; background: #000; color: #fff; font-size: 13.5px; line-height: 1.6; }
.prose .code-block pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.prose .hljs-comment, .prose .hljs-quote { color: #8a8a8a; font-style: italic; }
.prose .hljs-keyword, .prose .hljs-selector-tag, .prose .hljs-section { color: #fff; font-weight: 700; }
.prose .hljs-built_in, .prose .hljs-name, .prose .hljs-tag { color: #d4d4d4; }
.prose .hljs-string, .prose .hljs-addition, .prose .hljs-regexp { color: #bdbdbd; }
.prose .hljs-number, .prose .hljs-literal { color: #e0e0e0; }
.prose .hljs-attr, .prose .hljs-variable, .prose .hljs-title { color: #f0f0f0; }

/* ---------- 7. Page helpers ---------- */

/* Status page */
.st-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.st-row .r-name { font-weight: 700; display: block; }
.st-row .r-state { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.st-row .r-uptime { font-family: var(--mono); font-size: 12px; margin-left: 10px; }
.st-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 28px; }
.st-bar i { background: var(--ink); position: relative; display: block; }
.st-bar i.is-degraded { background: var(--ink-3); }
.st-bar i.is-down { background: var(--bad); }
.st-bar i .tip { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #000; color: #fff; font-family: var(--mono); font-size: 11px; padding: 8px 10px; white-space: nowrap; z-index: 5; }
.st-bar i .tip strong { display: block; }
.st-bar i:hover .tip { display: block; }
.st-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-2); margin-top: 8px; }
.st-scale-cell { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; min-width: 220px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.st-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.st-banner .dot { width: 12px; height: 12px; background: var(--ink); }
.st-banner.is-degraded .dot { background: var(--ink-3); }
.st-banner.is-down .dot { background: var(--bad); }
.st-banner .label { font-weight: 700; font-size: 18px; }
.st-banner .meta { font-family: var(--mono); font-size: 12px; color: var(--ink-2); margin-left: auto; }

/* Raw data block */
.raw { background: #000; color: #fff; font-family: var(--mono); font-size: 12px; line-height: 1.6; padding: 16px; overflow: auto; max-height: 420px; margin: 0; white-space: pre-wrap; word-break: break-word; }

/* Landing (ads) header */
.ld-top { grid-template-columns: auto 1fr auto; }
.ld-top .note { display: flex; align-items: center; padding: 0 20px; font-size: 13px; color: var(--ink-2); justify-content: flex-end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ld-top .btn { height: 60px; border: 0; padding-inline: 22px; white-space: nowrap; }
@media (max-width: 900px) {
  .ld-top .note { display: none; }
  .ld-top { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
  .ld-top .btn { padding-inline: 14px; font-size: 13px; }
}

/* Cookie consent */
.vp-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; max-width: 560px; margin: 0 auto; background: #000; color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 16px; font-size: 13.5px; line-height: 1.55; border: 1px solid #000; }
.vp-consent p { margin: 0; flex: 1 1 auto; color: rgba(255,255,255,.85); }
.vp-consent a { color: #fff; text-decoration: underline; }
.vp-consent-actions { display: flex; gap: 1px; flex-shrink: 0; background: rgba(255,255,255,.4); }
.vp-consent-btn { border: 0; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.vp-consent-btn.is-accept { background: #fff; color: #000; }
.vp-consent-btn.is-decline { background: #000; color: #fff; outline: 1px solid rgba(255,255,255,.4); outline-offset: -1px; }

/* ---------- 8. Responsive ---------- */
@media (max-width: 1200px) {
  .nav { display: none; }
  .top { grid-template-columns: 1fr auto; }
  .top-r > .btn.chat, .top-r > a:not(.btn) { display: none; }
  .top .menu-btn { display: inline-flex; }
  .brand { border-right: 0; }
  .mobile-nav.open { display: block; max-height: calc(100vh - 61px); max-height: calc(100dvh - 61px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; border-top: 1px solid var(--line); }
  body.nav-open { overflow: hidden; }
  .mobile-nav a, .mobile-nav .group { display: block; padding: 14px 24px; border-bottom: 1px solid var(--line); font-weight: 500; }
  .mobile-nav .group { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-2); padding: 8px 24px; }
  .mobile-nav a:hover { background: var(--paper-2); }
  .hero, .cols-7-5, .cols-5-7, .cols-4-8, .cols-8-4, .cols-3-9 { grid-template-columns: 1fr; }
  .cols-4, .cols-6, .cols-5 { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr 1fr; }
  .foot-support { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .span-3 { grid-column: span 2; }
  .st-row { grid-template-columns: 1fr; gap: 10px; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  :root { --cell: 20px; }
  .cell.roomy { padding: 32px 20px; }
  .cols-2, .cols-3, .cols-4, .cols-5, .cols-6, .cols-1-auto, .section-head, .band, .foot-cols { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .logos .cell { min-height: 88px; }
  .logos .cell span { font-size: 10px; }
  .span-2, .span-3 { grid-column: auto; }
  .cols-4.stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .band .cell.link { padding-inline: 20px; }
  .tlds { grid-template-columns: repeat(3, 1fr); }
  .top-r > .btn.signin { display: none; }
  .brand { padding: 0 16px; }
  .brand img { height: 24px; }
  .h-display { font-size: 40px; }
  .pic { min-height: 180px; }
  .section-head .cell.link { align-items: flex-start; }
  .st-banner .meta { margin-left: 0; }
  .st-bar { gap: 1px; height: 22px; }
  .vp-consent { flex-direction: column; align-items: stretch; }
  .vp-consent-actions { justify-content: flex-end; align-self: flex-end; }
  .plan .foot .p b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
