:root {
  --paper: #f1eee6;
  --paper-2: #e5dfd2;
  --card: #fffdf8;
  --ink: #1b1914;
  --ink-soft: #4a453c;
  --muted: #7a7366;
  --line: #d5cdbd;
  --teal: #0b534c;
  --teal-2: #14685f;
  --mint: #d3efe4;
  --copper: #9a4318;
  --copper-bg: #f8e2cf;
  --gold: #8a6a12;
  --gold-bg: #f7ecd0;
  --amber: #8a4b12;
  --amber-bg: #fde8c4;
  --rose: #8a3030;
  --rose-bg: #f8e4e0;
  --navy: #1e3a6b;
  --navy-bg: #e4ebf8;
  --shadow: 0 12px 36px rgba(36, 28, 16, 0.07);
  --wash-a: #dceee8;
  --wash-b: #f6e6d0;
  --mark-fill: #f3e6c8;
  --radius: 18px;
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --display: "Gowun Batang", "Apple SD Gothic Neo", serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #161410;
  --paper-2: #221e18;
  --card: #1c1914;
  --ink: #f3eee4;
  --ink-soft: #cfc6b6;
  --muted: #9a9184;
  --line: #3a342c;
  --teal: #7dcec4;
  --teal-2: #9ee0d7;
  --mint: #1d3a34;
  --copper: #e8a078;
  --copper-bg: #3a2618;
  --gold: #e0c36a;
  --gold-bg: #3a3014;
  --amber: #f0b27a;
  --amber-bg: #3a2a14;
  --rose: #f0a3a3;
  --rose-bg: #3a2020;
  --navy: #9bb4e8;
  --navy-bg: #1c2740;
  --shadow: 0 12px 36px rgba(0,0,0,0.35);
  --wash-a: #1a2a24;
  --wash-b: #2a2218;
  --mark-fill: #e0c36a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, var(--wash-a) 0%, transparent 52%),
    radial-gradient(700px 360px at 100% 0%, var(--wash-b) 0%, transparent 46%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      color-mix(in srgb, var(--line) 35%, transparent) 27px,
      color-mix(in srgb, var(--line) 35%, transparent) 28px
    ),
    var(--paper);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--teal);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.top .wrap,
body.page-domain .top .wrap {
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px;
}
body.page-domain .wrap {
  width: min(1240px, calc(100% - 32px));
}
@media (min-width: 720px) {
  body.page-domain .wrap {
    width: calc(100% - 40px);
    max-width: none;
  }
  body.page-domain .top .wrap {
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
  }
  body.page-domain #matrix-table.table-wrap,
  body.page-domain .matrix-scroll {
    overflow-x: hidden;
  }
  body.page-domain .domain-matrix {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }
  body.page-domain .domain-matrix th,
  body.page-domain .domain-matrix td {
    min-width: 0;
    width: auto;
    padding: 8px 5px;
    font-size: 0.74rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }
  body.page-domain .domain-matrix .tld-head,
  body.page-domain .domain-matrix thead th:first-child {
    position: static;
    min-width: 0;
    width: 5.5%;
    overflow-wrap: normal;
  }
  body.page-domain .domain-matrix .reg-name {
    font-size: 0.74rem;
    line-height: 1.25;
  }
  body.page-domain .domain-matrix .badge {
    font-size: 0.6rem;
    padding: 2px 5px;
  }
  body.page-domain .price-cell .price-link {
    font-size: 0.78rem;
  }
  body.page-domain .renew-line,
  body.page-domain .vat-line,
  body.page-domain .trap-line,
  body.page-domain .cell-note {
    font-size: 0.62rem;
  }
}

a { color: var(--teal); }
a:hover { color: var(--teal-2); }
button { font: inherit; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.top-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px 16px;
  min-height: 70px;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--teal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 8px 7px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 12%, transparent);
  flex-shrink: 0;
}
.brand-mark span {
  display: block;
  height: 6px;
  border-radius: 1px;
  background: var(--mark-fill);
  position: relative;
}
.brand-mark span:nth-child(1) { width: 72%; }
.brand-mark span:nth-child(2) { width: 100%; }
.brand-mark span:nth-child(3) { width: 54%; }
.brand-mark span::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--teal);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand-text strong {
  font-family: var(--display);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.brand-text em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.88rem;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover {
  background: color-mix(in srgb, var(--mint) 70%, var(--card));
  color: var(--teal);
}
.nav a[aria-current="page"] {
  background: var(--teal);
  color: #fff;
}
.nav a.ext::after {
  content: "↗";
  font-size: 0.72em;
  margin-left: 4px;
  opacity: 0.7;
}

.theme-toggle {
  grid-column: 3;
  grid-row: 1;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 50%;
  cursor: pointer;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}
.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
  color: var(--teal);
  background: color-mix(in srgb, var(--mint) 55%, var(--card));
}
.theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 40%, white);
  outline-offset: 2px;
}
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

html[data-theme="dark"] .badge.seoul { background: #163044; color: #9fd4f0; }
html[data-theme="dark"] .badge.jp { background: #3a1c24; color: #f0a3b4; }
html[data-theme="dark"] .badge.global,
html[data-theme="dark"] .badge.us { background: #2a2040; color: #c4b0f0; }
html[data-theme="dark"] .nav a[aria-current="page"],
html[data-theme="dark"] .chip[aria-pressed="true"],
html[data-theme="dark"] .cta:not(.ghost),
html[data-theme="dark"] .cta:hover,
html[data-theme="dark"] .skip {
  color: #161410;
}

.hero { padding: 34px 0 8px; }

.kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--teal);
}

.hero h1,
.page-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5.2vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1.28;
  margin: 0 0 14px;
}

.lede {
  margin: 0 0 26px;
  max-width: 40rem;
  color: var(--ink-soft);
}
.lede b { color: var(--ink); font-weight: 650; }

.page-head { padding: 34px 0 8px; }
.page-head .lede { margin-bottom: 8px; }

.crumbs {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.crumbs a { text-decoration: none; }
.crumbs span { color: var(--ink-soft); }

.block { padding: 28px 0 4px; }
.block:last-of-type { padding-bottom: 56px; }

.block-head h2 {
  font-family: var(--display);
  font-size: 1.38rem;
  margin: 0 0 4px;
}
.block-head p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hub-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .hub-grid { grid-template-columns: 1fr 1fr; }
}

.hub-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}
.hub-card:hover {
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
  box-shadow: 0 16px 40px rgba(11, 83, 76, 0.1);
  color: inherit;
}
.hub-card .label {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--teal);
}
.hub-card h2 {
  font-family: var(--display);
  font-size: 1.55rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.hub-card p {
  margin: 0;
  color: var(--ink-soft);
  flex: 1;
}
.hub-card .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 750;
  color: var(--teal);
  font-size: 0.92rem;
}

.why {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.why h2 {
  font-family: var(--display);
  font-size: 1.32rem;
  margin: 0 0 10px;
}
.why p { margin: 0 0 10px; color: var(--ink-soft); }
.why p:last-child { margin-bottom: 0; }

.guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.guide-list a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.guide-list a:hover {
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
  color: inherit;
}
.guide-list h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.guide-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.ad-slot {
  min-height: 90px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  margin: 22px 0;
}

article.prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 28px;
  box-shadow: var(--shadow);
  max-width: 46rem;
}
article.prose h2 {
  font-family: var(--display);
  font-size: 1.28rem;
  margin: 1.4em 0 0.5em;
  letter-spacing: -0.02em;
}
article.prose h2:first-child { margin-top: 0; }
article.prose p {
  margin: 0 0 1em;
  color: var(--ink-soft);
  line-height: 1.75;
}
article.prose ul, article.prose ol {
  margin: 0 0 1em;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
article.prose li { margin: 0.35em 0; }
article.prose strong { color: var(--ink); font-weight: 650; }
article.prose .callout {
  background: color-mix(in srgb, var(--mint) 55%, var(--card));
  border: 1px solid color-mix(in srgb, var(--teal) 18%, var(--line));
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 1.2em;
  color: var(--ink-soft);
}
article.prose .updated {
  margin: 1.4em 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.88rem;
  white-space: nowrap;
}
.cta:hover { background: var(--teal-2); color: #fff; }
.cta.ghost {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}

.foot {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 36px 0 48px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.foot strong { color: var(--ink); }
.foot ul { padding-left: 1.1rem; margin: 12px 0; }
.foot li { margin: 6px 0; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.foot-links a { text-decoration: none; font-weight: 650; }
.foot-meta { color: var(--muted); font-size: 0.8rem; margin-top: 16px; }

@media (max-width: 640px) {
  .top-inner { gap: 8px; }
  .nav a { padding: 7px 10px; font-size: 0.82rem; }
  article.prose { padding: 18px 16px 24px; }
}

/* Compare pages — extend hub tokens, do not replace them */

.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;
}

.as-of {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}
.hero .as-of {
  margin: 0 0 12px;
  text-align: right;
}
.hero .crumbs + .as-of {
  margin-top: -22px;
}

.chips {
  border: 0;
  margin: 0;
  padding: 0;
}
.chips legend {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink-soft);
  margin-bottom: 10px;
  padding: 0;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 650;
  cursor: pointer;
  min-height: 40px;
}
.chip[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.chip:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 40%, white);
  outline-offset: 2px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.card.pinned {
  box-shadow: inset 4px 0 0 var(--teal), var(--shadow);
}
.card.pending {
  background: var(--paper-2);
  box-shadow: none;
}

.who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.who .provider {
  font-weight: 780;
  font-size: 1.05rem;
}
.who .plan,
.col-who .plan {
  color: var(--ink-soft);
  font-weight: 600;
  display: block;
}
.who .cat,
.col-who .cat {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 999px;
  padding: 4px 9px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 3px 8px;
}
.badge.kr { background: var(--navy-bg); color: var(--navy); }
.badge.seoul { background: #e4f3fc; color: #0b4a6b; }
.badge.jp { background: #fde4ea; color: #9a2040; }
.badge.global { background: #eee8fb; color: #5b21b6; }
.badge.us { background: #eee8fb; color: #5b21b6; }
.badge.vat-in { background: var(--mint); color: var(--teal); }
.badge.vat-out { background: var(--amber-bg); color: var(--amber); }
.badge.setup { background: var(--gold-bg); color: var(--gold); }
.badge.setup-free { background: var(--mint); color: var(--teal); }
.badge.lock { background: var(--copper-bg); color: var(--copper); }
.badge.promo { background: var(--rose-bg); color: var(--rose); }

.pay {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
}

.price-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
  color: var(--teal);
  border-bottom: 1px dashed color-mix(in srgb, var(--teal) 45%, transparent);
  padding-bottom: 2px;
  min-width: 0;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.price-link:hover {
  color: var(--teal-2);
  border-bottom-style: solid;
}
.price-link.no-url {
  pointer-events: none;
  border-bottom: 0;
}
.price-link .amount {
  font-weight: 800;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.price-link .amount .unit {
  font-size: 0.85rem;
  font-weight: 650;
}
.price-link .sub,
.renew-line {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.renew-line { margin-top: 6px; }
.vat-line {
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--amber);
}
.trap-line {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 750;
  color: var(--rose);
  background: var(--rose-bg);
  border-radius: 999px;
  padding: 2px 7px;
}
.pending-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 1.02rem;
}
.note {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}
.empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--muted);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.dash { color: var(--muted); font-weight: 650; }

.table-scroll,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 8px;
  max-width: 100%;
}
.table-wrap { display: none; }

.host-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.host-table th,
.host-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.host-table thead th {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--muted);
  background: color-mix(in srgb, var(--mint) 35%, var(--card));
}
.host-table tbody tr:last-child td { border-bottom: 0; }
.host-table tr.is-pinned td:first-child {
  box-shadow: inset 4px 0 0 var(--teal);
}
.host-table tr.is-pending { background: var(--paper-2); }
.col-who strong { display: block; font-size: 1.02rem; }
.col-pay .price-link .amount { font-size: 1.2rem; }
.col-meta .note { margin-top: 8px; }

@media (min-width: 720px) {
  .stack { display: none; }
  .table-wrap { display: block; }
}

.deals-head h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 4px;
}
.deals-head p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.deal {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.deal:hover {
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
  color: inherit;
}
.deal .tld {
  font-weight: 750;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}
.deal .who { color: var(--muted); font-size: 0.8rem; margin: 4px 0 8px; }
.deal .won {
  font-weight: 750;
  font-size: 1.2rem;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.deal .tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-bg);
  border-radius: 999px;
  padding: 3px 8px;
}

.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.domain-matrix {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}
.domain-matrix th,
.domain-matrix td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  padding: 10px 10px;
  vertical-align: top;
  text-align: left;
  min-width: 108px;
}
.domain-matrix th:last-child,
.domain-matrix td:last-child { border-right: 0; }
.domain-matrix thead th {
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--mint) 40%, var(--card));
  z-index: 1;
  font-size: 0.88rem;
}
.domain-matrix .reg-name {
  display: block;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
  margin-bottom: 4px;
}
.domain-matrix .reg-name:hover { color: var(--teal); text-decoration: underline; }
.domain-matrix .tld-head {
  position: sticky;
  left: 0;
  background: var(--card);
  z-index: 2;
  min-width: 88px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}
.domain-matrix thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 88px;
}
.domain-matrix tbody tr:last-child th,
.domain-matrix tbody tr:last-child td { border-bottom: 0; }
.price-cell.is-best {
  background: color-mix(in srgb, var(--mint) 72%, var(--card));
}
.cell-note {
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}
.cards-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

#results.block { padding-bottom: 56px; }


@media (max-width: 860px) {
  .top-inner {
    grid-template-columns: minmax(0, 1fr) 36px;
  }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
  .hero .crumbs + .as-of {
    margin-top: 0;
    text-align: left;
  }
}

.matrix-card-title {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.matrix-regs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.matrix-regs .price-cell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.matrix-regs .who {
  grid-column: 1;
  margin: 0;
}
.matrix-regs .price-link {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
.matrix-regs .renew-line,
.matrix-regs .vat-line,
.matrix-regs .trap-line,
.matrix-regs .cell-note {
  grid-column: 1 / -1;
  margin-top: 2px;
}
.matrix-regs .price-cell.is-best {
  border-color: color-mix(in srgb, var(--teal) 28%, var(--line));
}

.host-table .price-link { border-bottom: 0; }


.block-head.with-fx {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 28px;
}
.block-head.with-fx > div { flex: 1 1 16rem; min-width: 0; }
.fx-today {
  margin: 0 0 14px;
  text-align: right;
  min-width: 11rem;
}
.fx-today .fx-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--teal);
}
.fx-today strong {
  display: block;
  margin-top: 2px;
  font-size: 1.05rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fx-today em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  .fx-today { text-align: left; min-width: 0; }
}


.nav {
  flex: 1 1 auto;
  justify-content: flex-end;
}
@media (max-width: 860px) {
  .nav {
    flex: 1 1 100%;
    order: 3;
    justify-content: flex-start;
  }
  .nav a {
    padding: 6px 9px;
    font-size: 0.78rem;
  }
  .theme-toggle {
    order: 2;
    margin-left: auto;
  }
}

.badge.has-mail { background: var(--mint); color: var(--teal); }
.badge.no-mail { background: var(--rose-bg); color: var(--rose); }

.footnote {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (min-width: 960px) {
  .hub-grid { grid-template-columns: 1fr 1fr 1fr; }
}


.kv {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 6px 12px;
  margin: 0;
}
.kv > div { display: contents; }
.kv dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}
.kv dd {
  margin: 0;
  font-weight: 650;
  min-width: 0;
  overflow-wrap: anywhere;
}
.price-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.price-stack .sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.footnote {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .nav a { padding: 7px 10px; font-size: 0.82rem; }
}

.block.is-empty .stack,
.block.is-empty .table-wrap { display: none !important; }
