/* kex.dk storefront — "Brugskunst": Danish functional design.
   Oat paper, charcoal ink, one rapeseed-yellow surface, 2px rules, hard shadows.
   No gradients, no glow, no glass. Fonts are self-hosted (fonts/fonts.css). */
@import url("/fonts/fonts.css");

:root {
  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-2: #f3eee3;
  --ink: #1f1e1b;
  --muted: #57534b;
  --raps: #f2c230;
  --on-raps: #1f1e1b;
  --salvie: #3f5f3c;
  --salvie-bg: #e6eee2;
  --error: #b42318;
  --error-bg: #fdecea;
  --line: #1f1e1b;
  --line-soft: #d8d1c2;
  --btn-bg: #1f1e1b;
  --btn-fg: #ffffff;
  --shadow: 3px 3px 0 var(--line);
  --radius: 6px;
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  /* Bricolage is self-hosted Latin-only: Cyrillic must not fall to Arial Black (QA 20.10) */
  --font-display-uk: "Bricolage Grotesque", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-body:
    "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui,
    -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161513;
    --surface: #22211e;
    --surface-2: #2b2925;
    --ink: #f4f1ea;
    --muted: #b3aea4;
    --on-raps: #161513;
    --salvie: #9cc197;
    --salvie-bg: #22301f;
    --error: #f97066;
    --error-bg: #3a1714;
    --line: #4a4741;
    --line-soft: #3a3833;
    --btn-bg: #f2c230;
    --btn-fg: #161513;
    --shadow: 3px 3px 0 #000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161513;
  --surface: #22211e;
  --surface-2: #2b2925;
  --ink: #f4f1ea;
  --muted: #b3aea4;
  --on-raps: #161513;
  --salvie: #9cc197;
  --salvie-bg: #22301f;
  --error: #f97066;
  --error-bg: #3a1714;
  --line: #4a4741;
  --line-soft: #3a3833;
  --btn-bg: #f2c230;
  --btn-fg: #161513;
  --shadow: 3px 3px 0 #000;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-body);
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--salvie);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}
h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
.num,
.price {
  font-variant-numeric: tabular-nums;
}
.mono {
  font-family: var(--font-mono);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.88rem;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) {
  .wrap {
    padding: 0 28px;
  }
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--raps);
  color: var(--on-raps);
  padding: 10px 14px;
  border: 2px solid var(--ink);
  z-index: 100;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}
[tabindex="-1"]:focus {
  outline: none;
  box-shadow: none;
}
:focus-visible {
  outline: 3px solid var(--raps);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
  border-radius: 4px;
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 2px solid var(--line);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.45rem/1 var(--font-display);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo__mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.logo small {
  font: 400 0.75rem var(--font-body);
  color: var(--muted);
  letter-spacing: 0;
  display: none;
}
@media (min-width: 1240px) {
  .logo small {
    display: inline;
  }
}
.nav {
  display: none;
  gap: 4px;
  margin-left: 8px;
}
.nav a {
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius);
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
}
.hdr__tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: none;
  color: var(--ink);
  font: 700 0.95rem var(--font-body);
  cursor: pointer;
  text-decoration: none;
}
.iconbtn:hover {
  border-color: var(--line);
}
.iconbtn svg {
  width: 22px;
  height: 22px;
}
.cartcount {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--raps);
  color: var(--on-raps);
  border: 2px solid var(--ink);
  font-size: 0.78rem;
  line-height: 18px;
  text-align: center;
}
.cartcount[data-n="0"] {
  display: none;
}
.burger {
  display: inline-flex;
}
/* Extra desktop link only where the header has room for it (mobile menu always has it). */
.nav .nav__wide {
  display: none;
}
@media (min-width: 1440px) {
  .nav .nav__wide {
    display: inline;
  }
}
@media (min-width: 1080px) {
  .nav {
    display: flex;
  }
  .burger {
    display: none;
  }
}
.mnav {
  display: none;
  border-top: 2px solid var(--line);
  padding: 8px 16px 16px;
}
.mnav.open {
  display: grid;
}
.mnav a {
  padding: 12px 4px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.lang {
  position: relative;
}
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 4px;
  display: none;
  min-width: 150px;
  z-index: 50;
}
.lang__menu.open {
  display: block;
}
.lang__menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 4px;
}
.lang__menu button:hover,
.lang__menu button[aria-checked="true"] {
  background: var(--surface-2);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    transform 0.08s,
    box-shadow 0.08s;
  white-space: nowrap;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--line);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--line);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line) !important;
}
.btn--ghost:hover {
  color: var(--ink);
  background: var(--surface);
}
.btn--raps {
  background: var(--raps);
  color: var(--on-raps);
  border-color: var(--ink) !important;
}
.btn--raps:hover {
  color: var(--on-raps);
}
.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-busy="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.linkbtn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- sections ---------- */
.sec {
  padding: 64px 0;
}
@media (min-width: 900px) {
  .sec {
    padding: 88px 0;
  }
}
.sec--white {
  background: var(--surface);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.sec--raps {
  background: var(--raps);
  color: var(--on-raps);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.sec--raps a {
  color: var(--on-raps);
}
.sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 32px;
}
.sec__head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.sec--raps .sec__head p {
  color: var(--on-raps);
}
.kicker {
  font: 700 0.85rem var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--raps);
  border: 2px solid var(--ink);
}
.sec--raps .kicker::before {
  background: var(--surface);
}

/* ---------- hero ---------- */
.hero {
  padding: 48px 0 56px;
}
@media (min-width: 900px) {
  .hero {
    padding: 72px 0 80px;
  }
}
.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: 1.35fr 1fr;
  }
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--raps) 62%);
  padding: 0 0.08em;
}
:root[data-theme="dark"] .hero h1 em {
  background: none;
  color: var(--raps);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero h1 em {
    background: none;
    color: var(--raps);
  }
}
.hero__lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 560px;
}
.hero__art {
  display: none;
}
@media (min-width: 980px) {
  .hero__art {
    display: block;
  }
}

/* ---------- domain search ---------- */
.dsearch {
  display: flex;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--line);
  max-width: 640px;
  overflow: hidden;
}
.dsearch input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 1.2rem var(--font-body);
  padding: 16px 16px;
}
.dsearch input:focus {
  outline: none;
}
.dsearch:focus-within {
  outline: 3px solid var(--raps);
  outline-offset: 3px;
}
.dsearch button {
  border: 0;
  border-left: 2px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  min-height: 60px;
}
.dsearch button:hover,
.dsearch button:active {
  transform: none;
  box-shadow: none;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.92rem;
  background: var(--surface);
}
.chip b {
  font-family: var(--font-display);
}
.dres {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  max-width: 760px;
}
.drow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
}
.drow__name {
  font: 700 1.15rem var(--font-display);
  word-break: break-all;
}
.drow__st {
  font-size: 0.9rem;
  font-weight: 700;
}
.drow__st--ok {
  color: var(--salvie);
}
.drow__st--taken {
  color: var(--muted);
}
.drow__price {
  font-size: 0.92rem;
  color: var(--muted);
}
.drow__price b {
  color: var(--ink);
  font-size: 1.1rem;
  font-family: var(--font-display);
}
.drow__act {
  grid-row: span 2;
  align-self: center;
}
@media (max-width: 560px) {
  .drow {
    grid-template-columns: 1fr;
  }
  .drow__act {
    grid-row: auto;
  }
}
.drow.in-cart {
  background: var(--salvie-bg);
}

/* ---------- promise band ---------- */
.promise {
  display: grid;
  gap: 24px;
}
@media (min-width: 820px) {
  .promise {
    grid-template-columns: repeat(3, 1fr);
  }
}
.promise__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.promise__item svg {
  width: 48px;
  height: 48px;
}
.promise__item h3 {
  margin: 0 0 4px;
}
.promise__item p {
  margin: 0;
}

/* ---------- plans ---------- */
.vat {
  display: inline-flex;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.vat button {
  border: 0;
  background: none;
  padding: 10px 14px;
  font: 700 0.92rem var(--font-body);
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.vat button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tabs button {
  border: 2px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 16px;
  font: 700 0.95rem var(--font-body);
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
}
.plans {
  display: grid;
  gap: 20px;
}
@media (min-width: 760px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1060px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
  .plans--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px 22px 22px;
}
.plan--hot {
  background: var(--raps);
  color: var(--on-raps);
  border-color: #1f1e1b;
  box-shadow: 6px 6px 0 #1f1e1b;
}
.plan--hot .muted,
.plan--hot .receipt dt {
  color: var(--on-raps);
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 18px;
  background: var(--ink);
  color: var(--bg);
  padding: 3px 10px;
  border-radius: 4px;
  font: 700 0.8rem var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan__name {
  font: 800 1.5rem var(--font-display);
  margin: 0 0 4px;
}
.plan__tag {
  margin: 0 0 18px;
  min-height: 2.9em;
}
.plan__price {
  font: 800 2.7rem/1 var(--font-display);
  letter-spacing: -0.03em;
}
.plan__price small {
  font: 700 1rem var(--font-body);
  letter-spacing: 0;
}
.plan__was {
  font-size: 0.95rem;
  margin: 6px 0 0;
}
.plan__total {
  margin: 8px 0 2px;
  font-size: 1rem;
}
.plan__total b {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.plan__was s {
  opacity: 0.8;
}
.receipt {
  margin: 18px 0;
  padding: 12px 0 0;
  border-top: 2px dashed currentColor;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 0;
  font-size: 0.95rem;
}
.receipt dt {
  color: var(--muted);
}
.receipt dd {
  margin: 0;
  padding-left: 12px;
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.receipt .total {
  border-top: 2px solid currentColor;
  padding-top: 6px;
  font-weight: 800;
}
.feats {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
  font-size: 0.97rem;
}
.feats li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
}
.feats li::before {
  content: "";
  width: 14px;
  height: 8px;
  margin-top: 6px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}
.plan .btn {
  margin-top: auto;
}
.plan--hot .btn,
.plan--hot .btn:hover {
  background: #1f1e1b;
  color: #fff;
  border-color: #1f1e1b !important;
  box-shadow: 3px 3px 0 #000;
}

/* rows (mail/365/addons) */
.rows {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 20px;
  padding: 18px 20px;
  align-items: center;
}
.row + .row {
  border-top: 2px solid var(--line-soft);
}
.row h3 {
  margin: 0;
  font-size: 1.15rem;
}
.row p {
  margin: 2px 0 0;
}
.row__price b {
  font: 800 1.35rem var(--font-display);
}
.row__price {
  text-align: left;
}
.row__act {
  justify-self: start;
}
@media (min-width: 760px) {
  .row {
    grid-template-columns: 1fr 220px 150px;
  }
  .row__price {
    text-align: right;
  }
  .row__act {
    justify-self: end;
  }
}

/* bundles */
.bundles {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .bundles {
    grid-template-columns: repeat(3, 1fr);
  }
}
.bundle {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.bundle__parts {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: grid;
  gap: 6px;
}
.bundle__parts li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px dashed var(--line-soft);
  padding-bottom: 6px;
  font-size: 0.95rem;
}

/* steps (flyt) */
.steps {
  counter-reset: s;
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  counter-increment: s;
  border-top: 2px solid var(--line);
  padding-top: 16px;
}
.steps li::before {
  content: counter(s);
  display: block;
  font: 800 3.2rem/1 var(--font-display);
  margin-bottom: 8px;
}

/* who */
.who {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .who {
    grid-template-columns: 1.2fr 1fr;
  }
}
.facts {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  /* label above value: names and e-mails get the full width instead of breaking mid-word */
  .facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px 0;
  }
  .facts dd + dt {
    margin-top: 8px;
  }
}

/* faq */
.faq {
  border-top: 2px solid var(--line);
}
.faq details {
  border-bottom: 2px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font: 700 1.12rem var(--font-display);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font: 800 1.6rem var(--font-display);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details > div {
  padding: 0 0 18px;
  max-width: 760px;
  color: var(--muted);
}

/* ---------- forms ---------- */
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.field label,
.lbl {
  font-weight: 700;
  font-size: 0.95rem;
}
.field .hint {
  font-size: 0.85rem;
  color: var(--muted);
}
.inp,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: 400 1rem var(--font-body);
  padding: 10px 12px;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.inp:focus {
  outline: 3px solid var(--raps);
  outline-offset: 1px;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--error);
  background: var(--error-bg);
}
.field .err {
  color: var(--error);
  font-weight: 700;
  font-size: 0.88rem;
  display: none;
}
.field.invalid .err {
  display: block;
}
.field.ok input {
  border-color: var(--salvie);
}
.grid2 {
  display: grid;
  gap: 0 16px;
}
@media (min-width: 640px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-pc {
    grid-template-columns: 140px 1fr;
  }
}
.phone {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.seg label {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  background: var(--surface);
  display: grid;
  gap: 2px;
}
.seg input {
  position: absolute;
  opacity: 0;
}
.seg label:has(input:checked) {
  background: var(--raps);
  color: var(--on-raps);
  box-shadow: var(--shadow);
}
.seg label:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}
.seg label:has(input:focus-visible) {
  outline: 3px solid var(--raps);
  outline-offset: 2px;
}
.seg b {
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  margin: 12px 0;
}
.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--ink);
  margin: 2px 0 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.suggest {
  position: relative;
}
.suggest__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 4px;
  max-height: 280px;
  overflow: auto;
}
.suggest__list[hidden] {
  display: none;
}
.suggest__list li {
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.suggest__list li[aria-selected="true"],
.suggest__list li:hover {
  background: var(--surface-2);
}
.otp-one {
  width: 100%;
  max-width: 300px;
  height: 64px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: 800 2rem var(--font-mono);
  letter-spacing: 0.5em;
  text-align: center;
  padding-left: 0.5em;
}
.otp-one:focus {
  outline: 3px solid var(--raps);
  outline-offset: 2px;
}
.otp {
  display: flex;
  gap: 8px;
}
.otp input {
  width: 52px;
  height: 60px;
  text-align: center;
  font: 800 1.6rem var(--font-display);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}
@media (max-width: 400px) {
  .otp input {
    width: 44px;
    height: 54px;
  }
}

/* ---------- notes / alerts ---------- */
.note {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--surface);
  margin: 12px 0;
}
.note--ok {
  background: var(--salvie-bg);
  border-color: var(--salvie);
}
.note--err {
  background: var(--error-bg);
  border-color: var(--error);
  color: var(--ink);
}
.note--raps {
  background: var(--raps);
  color: var(--on-raps);
  border-color: var(--ink);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 90;
  box-shadow: 4px 4px 0 var(--raps);
  max-width: calc(100vw - 32px);
}

/* ---------- checkout ---------- */
.co {
  display: grid;
  /* minmax(0,…): a long e-mail in the review list must wrap, not widen the page at 375 px */
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0 80px;
  align-items: start;
}
@media (min-width: 980px) {
  .co {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}
.stepper {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  counter-reset: st;
  flex-wrap: wrap;
}
.stepper li {
  counter-increment: st;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 6px 10px 6px 6px;
  border: 2px solid var(--line-soft);
  border-radius: 999px;
}
.stepper li::before {
  content: counter(st);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-display);
}
.stepper li[aria-current="step"] {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}
.stepper li[aria-current="step"]::before {
  background: var(--raps);
  color: var(--on-raps);
}
.stepper li.done {
  color: var(--ink);
}
.stepper li.done::before {
  content: "✓";
  background: var(--salvie);
  color: #fff;
}
.panel {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}
@media (min-width: 640px) {
  .panel {
    padding: 28px;
  }
}
.panel h2 {
  font-size: 1.6rem;
}
.summary {
  position: sticky;
  top: 84px;
}
.sumline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.95rem;
}
.sumline small {
  grid-column: 1 / -1;
  color: var(--muted);
}
.sumline .rm {
  font-size: 0.85rem;
}
.sumtotal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding-top: 12px;
  font-variant-numeric: tabular-nums;
}
.sumtotal .grand {
  font: 800 1.35rem var(--font-display);
  border-top: 2px solid var(--line);
  padding-top: 8px;
}
.renewals {
  margin-top: 16px;
  font-size: 0.9rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.co-company {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: -4px 0 16px;
  background: var(--surface-2);
}

/* ---------- tables (price list) ---------- */
.tbl-wrap {
  position: relative;
  overflow-x: auto;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table.tbl {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
  min-width: 560px;
}
.tbl th,
.tbl td {
  padding: 10px 14px;
  text-align: right;
  border-bottom: 1px solid var(--line-soft);
}
.tbl th:first-child,
.tbl td:first-child {
  text-align: left;
}
.tbl thead th {
  background: var(--surface-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--line);
}
.tbl td b {
  font-family: var(--font-display);
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--raps);
  color: var(--on-raps);
  vertical-align: middle;
}
.tag--soft {
  background: var(--surface-2);
  color: var(--ink);
}

/* ---------- footer ---------- */
.ftr {
  background: #1f1e1b;
  color: #f4f1ea;
  padding: 56px 0 28px;
  margin-top: 0;
}
.ftr a {
  color: #f4f1ea;
}
.ftr a:hover {
  color: var(--raps);
}
.ftr__grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 820px) {
  .ftr__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.ftr h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--raps);
}
.ftr ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.ftr__legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #4a4741;
  font-size: 0.88rem;
  color: #c9c3b7;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.pay-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pay-logos span {
  border: 1px solid #6b665d;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.8rem;
}

/* skeleton (zero-CLS while catalog loads) */
.skel {
  background: var(--surface-2);
  border-radius: var(--radius);
  min-height: 420px;
  border: 2px solid var(--line-soft);
}
/* the price list renders ~7000px from the API: a skeleton shorter than the
   viewport let the domain table below jump down (CLS 0.54 on desktop) */
.skel--page {
  min-height: 100vh;
  min-height: 100svh;
}

/* ---------- mobile ---------- */
@media (max-width: 479px) {
  .hdr__tools {
    gap: 0;
  }
  .hdr__tools .iconbtn {
    min-width: 40px;
    padding: 0 6px;
  }
  .hide-xs {
    display: none !important;
  }
}
@media (max-width: 640px) {
  table.tbl--stack {
    min-width: 0;
  }
  .tbl--stack thead {
    display: none;
  }
  .tbl--stack tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    padding: 14px;
    border-bottom: 1px solid var(--line-soft);
  }
  .tbl--stack td {
    border: 0;
    padding: 0;
    text-align: left !important;
  }
  .tbl--stack td:first-child,
  .tbl--stack td:last-child {
    grid-column: 1 / -1;
  }
  .tbl--stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}

/* Atkinson draws a slashed zero, which reads as "Ø" in Danish prices — all
   amounts use the display face instead. */
.receipt dd,
.num,
.price,
.chip,
.drow__price,
.row__price,
.plan__total,
.plan__was,
.sumline,
.sumtotal,
.tbl td,
.facts dd {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

/* ---------- checkout add-ons (opt-in, nothing pre-selected) ---------- */
.addons {
  margin-top: 20px;
  border-top: 2px dashed var(--line-soft);
  padding-top: 16px;
}
.addons h3 {
  margin: 0 0 2px;
  font-size: 1.15rem;
}
.addons__list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.addon {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 16px;
  align-items: center;
  border: 2px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--surface);
}
.addon p {
  margin: 2px 0 0;
}
@media (min-width: 640px) {
  .addon {
    grid-template-columns: 1fr auto auto;
  }
  .addon__price {
    text-align: right;
  }
}
.addon__price {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}
/* ---------- mini-cart bar (storefront pages) ---------- */
.minicart {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  box-shadow: 4px 4px 0 var(--raps);
  max-width: calc(100vw - 32px);
  font-weight: 700;
}
.minicart b {
  font-family: var(--font-display);
}
.minicart .btn {
  min-height: 40px;
  box-shadow: none;
  border-radius: 999px;
  background: var(--raps);
  color: #1f1e1b;
  border-color: var(--raps) !important;
}
@media (min-width: 980px) {
  .minicart {
    left: auto;
    right: 24px;
    transform: none;
  }
}

/* ---------- checkout mobile bar + next steps ---------- */
.co-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 2px solid var(--line);
}
.co-bar b {
  font: 800 1.2rem var(--font-display);
}
@media (min-width: 980px) {
  .co-bar {
    display: none !important;
  }
}
@media (max-width: 979px) {
  body:has(.co-bar:not([hidden])) main {
    padding-bottom: 96px;
  }
}
.next-steps {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

/* ---------- "Lagt i kurven" panel ---------- */
dialog.added {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0;
  width: min(420px, calc(100vw - 32px));
  box-shadow: 6px 6px 0 var(--line);
  margin: auto 16px 16px auto;
}
dialog.added::backdrop {
  background: rgba(31, 30, 27, 0.25);
}
.added__in {
  padding: 20px;
}
.added__ok {
  font: 800 1.2rem var(--font-display);
  margin: 0 0 4px;
}
@media (max-width: 640px) {
  dialog.added {
    margin: auto auto 0;
    width: 100%;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
  }
}

/* ---------- campaign terms (3/6/12 mdr.) on plan cards ---------- */
.terms {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.terms legend {
  width: 100%;
  margin-bottom: 6px;
}
.terms__opt {
  position: relative;
  flex: 1 1 0;
  min-width: 76px;
}
.terms__opt input {
  position: absolute;
  opacity: 0;
}
.terms__opt span {
  display: grid;
  gap: 1px;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 6px;
  background: var(--surface);
  color: var(--ink);
  font: 700 0.95rem var(--font-body);
  cursor: pointer;
}
.terms__opt small {
  font: 600 0.8rem var(--font-display);
  color: var(--muted);
}
.terms__opt input:checked + span {
  background: var(--ink);
  color: var(--bg);
}
.terms__opt input:checked + span small {
  color: var(--bg);
}
.terms__opt input:focus-visible + span {
  outline: 3px solid var(--raps);
  outline-offset: 2px;
}
.plan--hot .terms__opt span {
  border-color: #1f1e1b;
}
.plan__setup {
  margin: 4px 0 0;
  font: 700 1rem var(--font-display);
}
.plan__save,
.guide__save {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--salvie-bg);
  color: var(--salvie);
  font: 700 0.85rem var(--font-body);
}
.dp__setup {
  white-space: nowrap;
}
.inp--num {
  max-width: 7em;
}

/* ---------- popular solutions + "Hvad skal du bruge?" guide ---------- */
.sols {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  margin-bottom: 34px;
}
@media (min-width: 960px) {
  .sols {
    grid-template-columns: repeat(3, 1fr);
  }
}
.sol {
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 18px;
  cursor: pointer;
  font: inherit;
}
.sol:hover,
.sol:focus-visible {
  box-shadow: var(--shadow);
}
.sol:focus-visible {
  outline: 3px solid var(--raps);
  outline-offset: 2px;
}
.sol h3 {
  font: 800 1.2rem var(--font-display);
  margin: 0;
}
.sol p {
  margin: 0;
}
.sol__price {
  font: 800 1.35rem var(--font-display);
}
.guide {
  display: grid;
  gap: 22px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(16px, 3vw, 28px);
}
@media (min-width: 960px) {
  .guide {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
}
.guide fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.guide legend {
  font: 800 1.1rem var(--font-display);
  margin-bottom: 10px;
}
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opt {
  position: relative;
}
.opt input {
  position: absolute;
  opacity: 0;
}
.opt span {
  display: inline-block;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}
.opt input:checked + span {
  background: var(--raps);
  color: var(--on-raps);
  box-shadow: 2px 2px 0 var(--line);
}
.opt input:focus-visible + span {
  outline: 3px solid var(--raps);
  outline-offset: 2px;
}
.guide__out {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 18px;
}
@media (min-width: 960px) {
  .guide__out {
    position: sticky;
    top: 90px;
  }
}
.guide__out h3 {
  font: 800 1.25rem var(--font-display);
  margin: 0 0 10px;
}
.guide__items {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.guide__items li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 8px;
}
.guide__items li small {
  grid-column: 1 / -1;
  color: var(--muted);
}
.guide__items b,
.guide__tot {
  font-family: var(--font-display);
}
.guide__tot {
  font-size: 1.1rem;
  margin: 4px 0;
}
.guide__tot b {
  font-size: 1.5rem;
}

/* Domain price chips: one text line that wraps between parts, never inside an amount. */
#tld-chips .chip {
  display: inline-block;
  line-height: 1.5;
  border-radius: 14px;
}
#tld-chips .chip b,
#tld-chips .chip .dp__setup,
#tld-chips .chip .muted {
  white-space: nowrap;
}

:lang(uk) { --font-display: var(--font-display-uk); }

