:root {
  --bg: #f4f5f7;
  --surface: rgba(255,255,255,.78);
  --surface-solid: #fff;
  --surface-soft: #f8f9fb;
  --ink: #111217;
  --muted: #727a8c;
  --muted-2: #9aa1b0;
  --line: rgba(17,18,23,.08);
  --line-strong: rgba(17,18,23,.12);
  --blue: #386bff;
  --purple: #7658ff;
  --green: #08a568;
  --orange: #ff7c32;
  --pink: #ec4fa0;
  --shadow: 0 18px 50px rgba(30,35,60,.08), inset 0 1px rgba(255,255,255,.8);
  --shadow-soft: 0 8px 24px rgba(30,35,60,.06), inset 0 1px rgba(255,255,255,.9);
  --radius: 28px;
  --radius-sm: 18px;
  --shell: 1180px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(60% 45% at 50% 17%, rgba(93,116,255,.10), transparent 72%),
    radial-gradient(34% 20% at 86% 21%, rgba(244,76,169,.08), transparent 70%),
    linear-gradient(180deg,#f7f8fa 0%,#f3f4f6 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(20,24,34,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(20,24,34,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 86%, transparent);
  z-index: -1;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
svg { width: 1em; height: 1em; stroke-width: 1.8; }
.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; }
.skip-link { position:fixed; top:12px; left:12px; z-index:9999; transform:translateY(-200%); background:#111; color:#fff; padding:10px 14px; border-radius:10px; }
.skip-link:focus { transform:none; }
.shell { width:min(calc(100% - 40px), var(--shell)); margin-inline:auto; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  min-height: 70px;
  margin-top: 18px;
  padding: 12px 16px 12px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(145%);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.brand { display:inline-flex; align-items:center; gap:11px; font:700 24px/1 var(--mono); letter-spacing:-.05em; }
.brand-mark { width:24px; height:24px; border-radius:50%; display:inline-block; position:relative; background:conic-gradient(from 35deg,#7468ff,#3878ff 31%,#f78a5c 62%,#f650a6 80%,#7468ff); box-shadow:0 4px 12px rgba(81,91,255,.24); }
.brand-mark::after { content:""; position:absolute; inset:5px; background:var(--surface-solid); border-radius:50%; box-shadow:inset 0 1px 3px rgba(0,0,0,.08); }
.brand-mark.large { width:50px; height:50px; flex:0 0 auto; filter:saturate(1.1); }
.brand-mark.large::after { inset:10px; }
.desktop-nav { display:flex; justify-content:center; align-items:center; gap:28px; }
.desktop-nav a { font:500 13px/1 var(--mono); color:#3b4050; transition:.2s ease; }
.desktop-nav a:hover { color:#111; transform:translateY(-1px); }
.header-actions { display:flex; align-items:center; gap:8px; }
.nav-search { height:42px; display:inline-flex; align-items:center; gap:9px; border:1px solid var(--line); background:#fafbfd; border-radius:999px; padding:0 12px; cursor:pointer; color:var(--muted); box-shadow: inset 0 1px rgba(255,255,255,.85); }
.nav-search span { font:500 12px var(--mono); }
kbd { border:1px solid var(--line); border-bottom-color:var(--line-strong); min-width:24px; height:24px; display:inline-grid; place-items:center; border-radius:8px; background:#fff; font:500 11px var(--mono); color:#777e8e; }
.icon-button { width:42px; height:42px; border:1px solid var(--line); background:rgba(255,255,255,.76); display:grid; place-items:center; border-radius:12px; cursor:pointer; }
.menu-toggle { display:none; }
.mobile-menu { grid-column: 1 / -1; padding-top: 8px; }
.mobile-menu nav { display:grid; gap:8px; }
.mobile-menu a { padding:12px 14px; border-radius:12px; background:rgba(248,249,251,.86); font:600 14px var(--mono); }

.hero { text-align:center; padding: 86px 0 54px; }
.eyebrow-pill { width:max-content; max-width:100%; margin:0 auto 30px; display:flex; align-items:center; gap:9px; padding:9px 13px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.55); color:#5f6573; font:500 12px var(--mono); box-shadow:var(--shadow-soft); }
.eyebrow-pill svg { width:14px; }
.status-dot { width:9px; height:9px; flex:0 0 auto; border-radius:50%; background:#08b56f; box-shadow:0 0 0 5px rgba(8,181,111,.10); display:inline-block; }
.hero h1 { margin:0; font-size:clamp(56px,8vw,108px); line-height:.92; letter-spacing:-.065em; font-weight:800; }
.hero h1 span { color:#858b98; }
.hero-copy { max-width:700px; margin:28px auto 32px; color:#687083; font:400 clamp(16px,2vw,20px)/1.65 var(--mono); }
.hero-search { position:relative; max-width:820px; margin:0 auto; height:72px; display:flex; align-items:center; border:1px solid rgba(255,255,255,.88); border-radius:999px; background:rgba(255,255,255,.72); box-shadow:0 18px 45px rgba(44,54,89,.11), inset 0 0 0 1px rgba(20,24,34,.05); padding:8px; }
.search-leading { width:22px; height:22px; margin-left:16px; color:#7b8290; }
.hero-search input { flex:1; min-width:0; height:100%; border:0; outline:0; background:transparent; padding:0 18px; color:#1f2430; font:500 15px var(--mono); }
.hero-search input::placeholder { color:#989eab; }
.search-submit { width:56px; height:56px; flex:0 0 auto; border:0; border-radius:50%; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,#3d72ff,#5965ff 48%,#ef5da9 78%,#ff9a56); box-shadow:0 9px 20px rgba(65,88,255,.28), inset 0 1px rgba(255,255,255,.55); cursor:pointer; }
.search-submit svg { width:22px; height:22px; }
.search-popover { position:absolute; top:calc(100% + 10px); left:18px; right:18px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.96); backdrop-filter:blur(18px); box-shadow:0 22px 50px rgba(30,35,60,.15); padding:8px; text-align:left; z-index:20; }
.search-result { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; width:100%; padding:12px 14px; border-radius:14px; border:0; background:transparent; cursor:pointer; text-align:left; }
.search-result:hover, .search-result.active { background:#f4f6fb; }
.search-result .dot { width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:#eef2ff; color:#4f64ff; font:600 12px var(--mono); }
.search-result strong { font:700 15px var(--mono); }
.search-result small { display:block; margin-top:3px; color:var(--muted); font:400 11px var(--mono); }
.search-result .tag { font:600 10px var(--mono); color:#667085; border:1px solid var(--line); border-radius:999px; padding:6px 8px; }
.search-examples { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:14px; }
.search-examples button { border:1px solid var(--line); background:rgba(255,255,255,.64); border-radius:999px; padding:8px 12px; font:600 12px var(--mono); cursor:pointer; box-shadow:var(--shadow-soft); }
.search-examples button:hover { transform:translateY(-1px); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); max-width:900px; margin:56px auto 0; }
.stat { min-width:0; padding:0 24px; border-right:1px solid var(--line-strong); }
.stat:last-child { border-right:0; }
.stat strong { display:block; font:600 clamp(28px,4vw,42px)/1 var(--mono); letter-spacing:-.04em; }
.stat span { display:block; margin-top:8px; font:600 13px var(--mono); }
.stat small { display:block; margin-top:7px; color:#949baa; font:400 11px var(--mono); }

.feature-band, .panel, .guides-strip, .cta { border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.66); box-shadow:var(--shadow); border-radius:var(--radius); backdrop-filter:blur(10px); }
.feature-band { min-height:420px; display:grid; grid-template-columns: .92fr 1.08fr; align-items:center; gap:34px; padding:46px 48px; overflow:hidden; }
.section-kicker { display:block; margin-bottom:12px; color:#9299a7; font:600 11px var(--mono); text-transform:uppercase; letter-spacing:.09em; }
h2 { margin:0; font-size:clamp(32px,4vw,46px); line-height:1.04; letter-spacing:-.04em; }
.feature-copy p { max-width:500px; margin:16px 0 26px; color:#71798b; font-size:16px; line-height:1.65; }
.soft-button, .dark-button { width:max-content; display:inline-flex; align-items:center; gap:10px; padding:13px 18px; border:1px solid var(--line); border-radius:999px; font:600 13px var(--mono); }
.soft-button { background:#fff; box-shadow:var(--shadow-soft); }
.dark-button { background:#111319; color:#fff; border-color:#111319; }
.record-stack { position:relative; padding:50px 0 0 38px; }
.record-glow { position:absolute; inset:20px 0 0 50px; border-radius:36px; background:linear-gradient(120deg, rgba(71,103,255,.14), rgba(255,255,255,.1) 40%, rgba(237,78,164,.12)); filter:blur(2px); }
.record-card { position:relative; z-index:1; max-width:560px; margin-left:auto; border:1px solid rgba(255,255,255,.92); border-radius:26px; background:rgba(250,251,253,.88); box-shadow:0 28px 60px rgba(34,42,78,.14), inset 0 1px rgba(255,255,255,.9); padding:24px; }
.record-title-row { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; }
.record-name { font:700 42px/1 var(--mono); letter-spacing:-.06em; }
.record-type { margin-top:7px; color:#8a91a0; font:500 11px var(--mono); }
.badge { display:inline-flex; align-items:center; gap:8px; padding:8px 10px; border-radius:999px; font:600 11px var(--mono); }
.badge.success { color:#0d8a59; background:#e8f8f1; }
.record-tabs { display:flex; gap:6px; margin:22px 0 18px; padding:5px; border:1px solid var(--line); background:#fff; border-radius:14px; overflow:auto; }
.record-tabs button { flex:0 0 auto; border:0; background:transparent; border-radius:10px; padding:9px 11px; color:#747c8c; font:600 10px var(--mono); cursor:pointer; }
.record-tabs button.active { background:#f0f2f7; color:#1a1f2a; }
.record-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:0; margin:0; }
.record-grid > div { display:grid; grid-template-columns:100px 1fr; gap:10px; padding:12px 0; border-bottom:1px solid var(--line); }
.record-grid > div:nth-last-child(-n+2) { border-bottom:0; }
.record-grid dt { color:#8e95a3; font:500 10px var(--mono); }
.record-grid dd { margin:0; font:600 11px var(--mono); min-width:0; overflow-wrap:anywhere; }
.record-grid a { color:#386bff; }

.panel { margin-top:24px; padding:34px; }
.section-heading-row { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:24px; }
.section-heading-row h2 { font-size:34px; }
.text-link { display:inline-flex; align-items:center; gap:8px; color:#5e6678; font:600 12px var(--mono); }
.type-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.type-card { min-height:214px; display:flex; flex-direction:column; padding:18px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.72); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.type-card:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(30,35,60,.08); border-color:rgba(74,92,255,.16); }
.icon-chip { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; }
.icon-chip svg { width:20px; height:20px; }
.icon-chip.blue { background:#eaf0ff; color:#3265ff; }
.icon-chip.orange { background:#fff1e9; color:#ff7023; }
.icon-chip.purple { background:#f0eaff; color:#7658ff; }
.icon-chip.green { background:#e6f8f1; color:#08a568; }
.icon-chip.pink { background:#fde8f3; color:#e64099; }
.icon-chip.slate { background:#f1f3f6; color:#657084; }
.type-card h3 { margin:16px 0 6px; font-size:16px; }
.type-card p { margin:0; color:#7d8493; font-size:12px; line-height:1.5; }
.card-foot { margin-top:auto; display:flex; align-items:center; justify-content:space-between; padding-top:20px; font:600 13px var(--mono); }
.source-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.source-card { min-height:86px; display:flex; align-items:center; gap:14px; padding:15px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.74); }
.source-card strong, .source-card small { display:block; }
.source-card strong { font:600 12px var(--mono); }
.source-card small { margin-top:5px; color:#8b92a0; font:400 11px var(--mono); }

.guides-strip { margin-top:24px; padding:34px; display:grid; grid-template-columns:.9fr 1.1fr; gap:28px; align-items:center; }
.guides-strip h2 { font-size:32px; max-width:440px; }
.guide-links { display:grid; gap:8px; }
.guide-links a { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; padding:15px 16px; border:1px solid var(--line); background:rgba(255,255,255,.74); border-radius:16px; }
.guide-links > a > svg:first-child { width:20px; height:20px; color:#5e68ff; }
.guide-links strong { display:block; font-size:13px; }
.guide-links small { display:block; margin-top:3px; color:#89909f; font:400 11px var(--mono); }
.cta { margin-top:24px; margin-bottom:24px; padding:28px 32px; display:grid; grid-template-columns:auto 1fr auto; gap:22px; align-items:center; }
.cta h2 { max-width:720px; font-size:28px; }
.site-footer { padding:18px 8px 38px; display:grid; grid-template-columns:1fr auto auto; gap:24px; align-items:center; color:#7f8796; }
.footer-brand { display:flex; align-items:center; gap:10px; min-width:0; }
.footer-brand strong { color:#1c2029; font:700 16px var(--mono); }
.footer-brand span:last-child { font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.site-footer nav { display:flex; gap:20px; font-size:11px; }

.search-dialog[hidden] { display:none; }
.search-dialog { position:fixed; inset:0; z-index:100; display:grid; place-items:start center; padding:12vh 18px 30px; }
.dialog-backdrop { position:absolute; inset:0; width:100%; height:100%; border:0; background:rgba(21,25,35,.35); backdrop-filter:blur(10px); }
.dialog-card { position:relative; width:min(760px,100%); border:1px solid rgba(255,255,255,.9); border-radius:24px; background:rgba(255,255,255,.96); box-shadow:0 30px 90px rgba(20,25,42,.26); overflow:hidden; }
.dialog-title { display:flex; align-items:center; justify-content:space-between; padding:18px 20px 12px; font:600 13px var(--mono); }
.dialog-search-wrap { margin:0 16px; height:58px; display:flex; align-items:center; gap:12px; border:1px solid var(--line); background:#f8f9fb; border-radius:16px; padding:0 16px; }
.dialog-search-wrap svg { color:#727a8c; }
.dialog-search-wrap input { flex:1; min-width:0; border:0; outline:0; background:transparent; font:500 14px var(--mono); }
.dialog-results { max-height:420px; overflow:auto; padding:10px 12px 14px; }
.dialog-hint { display:flex; gap:16px; flex-wrap:wrap; padding:12px 16px; border-top:1px solid var(--line); color:#878f9d; font:500 10px var(--mono); }
.dialog-hint span { display:flex; align-items:center; gap:5px; }

[data-theme="dark"] {
  --bg:#101216; --surface:rgba(24,27,34,.8); --surface-solid:#171a20; --surface-soft:#1b1f27; --ink:#f6f7f9; --muted:#a0a7b5; --muted-2:#7e8797; --line:rgba(255,255,255,.08); --line-strong:rgba(255,255,255,.13);
}
[data-theme="dark"] body { background:linear-gradient(180deg,#111319,#0f1115); }
[data-theme="dark"] .site-header, [data-theme="dark"] .feature-band, [data-theme="dark"] .panel, [data-theme="dark"] .guides-strip, [data-theme="dark"] .cta { background:rgba(24,27,34,.75); border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .nav-search, [data-theme="dark"] .icon-button, [data-theme="dark"] .hero-search, [data-theme="dark"] .type-card, [data-theme="dark"] .source-card, [data-theme="dark"] .guide-links a, [data-theme="dark"] .record-tabs { background:rgba(27,31,39,.9); }
[data-theme="dark"] .brand-mark::after { background:#171a20; }
[data-theme="dark"] .record-card, [data-theme="dark"] .search-popover, [data-theme="dark"] .dialog-card { background:rgba(23,26,32,.96); }
[data-theme="dark"] .record-grid a { color:#7c98ff; }
[data-theme="dark"] .footer-brand strong { color:#f7f8fa; }

@media (max-width: 980px) {
  .desktop-nav { gap:18px; }
  .desktop-nav a:nth-child(4), .desktop-nav a:nth-child(5) { display:none; }
  .type-grid { grid-template-columns:repeat(3,1fr); }
  .source-grid { grid-template-columns:repeat(2,1fr); }
  .feature-band { grid-template-columns:1fr; }
  .record-stack { padding-left:0; }
  .record-card { margin:0 auto; }
  .guides-strip { grid-template-columns:1fr; }
}

@media (max-width: 760px) {
  .shell { width:min(calc(100% - 24px), var(--shell)); }
  .site-header { top:8px; margin-top:10px; min-height:62px; grid-template-columns:auto 1fr auto; padding:10px 10px 10px 14px; border-radius:18px; }
  .brand { font-size:20px; }
  .brand-mark { width:21px; height:21px; }
  .desktop-nav, .nav-search span, .nav-search kbd { display:none; }
  .nav-search { width:40px; padding:0; justify-content:center; }
  .menu-toggle { display:grid; }
  .hero { padding:62px 0 34px; }
  .eyebrow-pill { margin-bottom:22px; font-size:10px; }
  .hero h1 { font-size:clamp(52px,17vw,76px); }
  .hero-copy { margin-top:20px; font-size:14px; line-height:1.6; }
  .hero-search { height:62px; }
  .search-leading { width:19px; margin-left:10px; }
  .hero-search input { padding:0 10px; font-size:12px; }
  .search-submit { width:48px; height:48px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:0; margin-top:34px; }
  .stat { padding:18px 10px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
  .stat:nth-child(2n) { border-right:0; }
  .stat:nth-last-child(-n+2) { border-bottom:0; }
  .stat strong { font-size:30px; }
  .feature-band { min-height:0; padding:28px 20px; gap:18px; border-radius:22px; }
  h2 { font-size:34px; }
  .feature-copy p { font-size:14px; }
  .record-stack { padding-top:10px; }
  .record-card { border-radius:20px; padding:18px; }
  .record-name { font-size:36px; }
  .record-title-row { align-items:center; }
  .record-grid { grid-template-columns:1fr; }
  .record-grid > div { grid-template-columns:90px 1fr; }
  .record-grid > div:nth-last-child(-n+2) { border-bottom:1px solid var(--line); }
  .record-grid > div:last-child { border-bottom:0; }
  .panel, .guides-strip { padding:24px 18px; border-radius:22px; }
  .section-heading-row { align-items:flex-start; }
  .section-heading-row .text-link { display:none; }
  .section-heading-row h2 { font-size:30px; }
  .type-grid { grid-template-columns:1fr 1fr; }
  .type-card { min-height:190px; }
  .source-grid { grid-template-columns:1fr; }
  .cta { grid-template-columns:auto 1fr; padding:24px 18px; border-radius:22px; }
  .cta .dark-button { grid-column:1 / -1; width:100%; justify-content:center; }
  .cta h2 { font-size:25px; }
  .site-footer { grid-template-columns:1fr auto; padding:8px 2px 26px; }
  .footer-brand span:last-child, .site-footer nav { display:none; }
  .dialog-card { border-radius:20px; }
}

@media (max-width: 460px) {
  .search-examples { gap:6px; }
  .search-examples button { padding:7px 9px; font-size:10px; }
  .type-grid { grid-template-columns:1fr; }
  .type-card { min-height:160px; }
  .record-tabs { margin-inline:-2px; }
  .record-grid > div { grid-template-columns:80px 1fr; }
  .cta { grid-template-columns:1fr; }
  .brand-mark.large { width:42px; height:42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* Browse TLDs ------------------------------------------------------------ */
.desktop-nav a.active,
.mobile-menu a.active { color:var(--blue); }
.desktop-nav a.active { position:relative; }
.desktop-nav a.active::after { content:""; position:absolute; left:18%; right:18%; bottom:-13px; height:2px; border-radius:999px; background:linear-gradient(90deg,var(--blue),var(--purple)); }

.browse-hero { text-align:center; padding:72px 0 36px; }
.browse-hero .eyebrow-pill { margin-bottom:22px; }
.browse-hero h1 { margin:0; font-size:clamp(52px,7.2vw,86px); line-height:.96; letter-spacing:-.06em; }
.browse-hero > p { max-width:720px; margin:18px auto 28px; color:#747c90; font-size:clamp(15px,2vw,18px); line-height:1.6; }
.browse-search { width:min(860px,100%); height:68px; margin:0 auto; padding:7px 8px 7px 22px; display:flex; align-items:center; gap:12px; border:1px solid rgba(255,255,255,.92); border-radius:999px; background:rgba(255,255,255,.76); box-shadow:0 18px 45px rgba(44,54,89,.10), inset 0 0 0 1px rgba(20,24,34,.055); }
.browse-search > svg { width:21px; height:21px; flex:0 0 auto; color:#778092; }
.browse-search input { flex:1; min-width:0; height:100%; border:0; outline:0; background:transparent; color:var(--ink); font:500 14px var(--mono); }
.browse-search input::placeholder { color:#9aa1af; }
.browse-search button { width:52px; height:52px; flex:0 0 auto; border:0; border-radius:50%; display:grid; place-items:center; color:#fff; cursor:pointer; background:linear-gradient(135deg,#3d72ff,#5965ff 48%,#ef5da9 78%,#ff9a56); box-shadow:0 9px 20px rgba(65,88,255,.25), inset 0 1px rgba(255,255,255,.55); }
.browse-examples { min-height:38px; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:7px; margin-top:12px; color:#8d94a3; font:500 11px var(--mono); }
.browse-examples button { border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.72); padding:7px 10px; color:#343947; font:600 11px var(--mono); cursor:pointer; box-shadow:var(--shadow-soft); }

.namespace-tabs { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:10px; border:1px solid rgba(255,255,255,.88); border-radius:24px; background:rgba(255,255,255,.65); box-shadow:var(--shadow-soft); }
.namespace-tab { min-width:0; min-height:72px; border:1px solid transparent; border-radius:18px; background:transparent; padding:10px 14px; display:flex; align-items:center; justify-content:center; gap:12px; cursor:pointer; color:#596175; transition:.2s ease; }
.namespace-tab:hover { background:rgba(255,255,255,.7); }
.namespace-tab.active { color:#292b77; border-color:rgba(98,90,255,.38); background:rgba(255,255,255,.9); box-shadow:inset 0 0 0 1px rgba(236,80,160,.20), 0 7px 18px rgba(64,74,130,.07); }
.namespace-tab .tab-icon { width:36px; height:36px; flex:0 0 auto; display:grid; place-items:center; border-radius:12px; color:#667187; background:#f1f3f8; }
.namespace-tab.active .tab-icon { color:#604cff; background:#efebff; }
.namespace-tab strong { display:block; text-align:left; font:600 13px var(--mono); }
.namespace-tab small { display:block; margin-top:4px; text-align:left; color:#8c93a3; font:500 11px var(--mono); }

.browse-filter-panel { margin-top:20px; padding:28px 30px 26px; border:1px solid rgba(255,255,255,.88); border-radius:26px; background:rgba(255,255,255,.66); box-shadow:var(--shadow); }
.filter-panel-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.filter-title { display:flex; align-items:center; gap:11px; }
.filter-title > svg { width:23px; height:23px; color:#5b6579; }
.filter-title h2 { font-size:27px; letter-spacing:-.035em; }
.filter-actions { display:flex; align-items:center; gap:12px; }
.clear-filters { border:0; background:transparent; color:#8991a2; font:500 11px var(--mono); cursor:pointer; }
.clear-filters:hover { color:var(--ink); }
.filter-count { min-height:38px; display:inline-flex; align-items:center; gap:8px; padding:0 13px; border:1px solid rgba(92,94,255,.13); border-radius:12px; background:#f4f2ff; color:#5d59f6; font:600 11px var(--mono); }
.filter-count svg { width:15px; height:15px; }
.filter-top-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:34px; }
.filter-group { min-width:0; margin:0; padding:0; border:0; }
.filter-group legend { margin-bottom:10px; color:#4f5768; font:600 12px var(--mono); }
.filter-chips { display:flex; flex-wrap:wrap; gap:8px; }
.filter-chips button { min-height:36px; display:inline-flex; align-items:center; gap:7px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.72); padding:0 14px; color:#60687b; font:500 11px var(--mono); cursor:pointer; }
.filter-chips button:hover { border-color:rgba(78,94,255,.22); color:#394057; }
.filter-chips button.active { border-color:rgba(78,94,255,.45); background:#f2f4ff; color:#355af4; box-shadow:inset 0 0 0 1px rgba(117,82,255,.06); }
.filter-chips button svg { width:14px; height:14px; }
.mini-status { width:8px; height:8px; border-radius:50%; display:inline-block; }
.mini-status.green { background:#0ab273; box-shadow:0 0 0 4px rgba(10,178,115,.08); }
.mini-status.blue { background:#4d79ff; box-shadow:0 0 0 4px rgba(77,121,255,.08); }
.mini-status.gray { background:#aab0bc; }
.prefix-group { margin-top:24px; padding-top:22px; border-top:1px solid var(--line); }
.prefix-filter { display:grid; grid-template-columns:repeat(14,1fr); gap:8px; }
.prefix-filter button { min-width:0; height:36px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.72); color:#424a5a; font:600 11px var(--mono); cursor:pointer; }
.prefix-filter button.active { color:#fff; border-color:transparent; background:linear-gradient(135deg,#4c79ff,#6960ff 58%,#ef70aa); box-shadow:0 7px 16px rgba(77,97,255,.18); }
.prefix-filter button:disabled { opacity:.3; cursor:not-allowed; }

.tld-results { padding:34px 4px 0; }
.results-toolbar { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:16px; }
.results-toolbar h2 { font-size:31px; }
.results-toolbar p { margin:6px 0 0; color:#8a92a1; font:400 11px var(--mono); }
.results-controls { display:flex; align-items:center; gap:10px; }
.sort-control { position:relative; min-height:46px; display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.72); padding:0 12px; color:#8a91a0; font:500 10px var(--mono); }
.sort-control select { appearance:none; -webkit-appearance:none; min-width:142px; padding:0 28px 0 0; border:0; outline:0; background:transparent; color:#4c5364; font:600 11px var(--mono); cursor:pointer; }
.sort-control > svg { position:absolute; right:11px; width:14px; pointer-events:none; }
.view-switch { display:flex; gap:3px; padding:4px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.72); }
.view-switch button { width:38px; height:38px; display:grid; place-items:center; border:0; border-radius:10px; background:transparent; color:#9299a8; cursor:pointer; }
.view-switch button.active { background:#eef1ff; color:#386bff; }
.result-list { display:grid; gap:8px; }
.result-list.grid { grid-template-columns:repeat(3,1fr); gap:12px; }
.tld-row { position:relative; display:grid; grid-template-columns:minmax(110px,.85fr) minmax(130px,.95fr) minmax(200px,1.3fr) minmax(118px,.7fr) auto; align-items:center; gap:14px; min-height:67px; padding:9px 16px 9px 22px; border:1px solid rgba(255,255,255,.88); border-radius:18px; background:rgba(255,255,255,.72); box-shadow:0 7px 22px rgba(41,47,75,.035); transition:.2s ease; }
.tld-row:hover { transform:translateY(-1px); border-color:rgba(75,93,255,.16); background:rgba(255,255,255,.9); box-shadow:0 12px 26px rgba(41,47,75,.065); }
.tld-row:focus-within { outline:3px solid rgba(56,107,255,.14); }
.tld-main { min-width:0; }
.tld-label { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:700 19px/1.2 var(--mono); letter-spacing:-.035em; }
.tld-alabel { display:block; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#979eac; font:500 9px var(--mono); }
.tld-type-badge, .tld-status-badge, .tld-extra-badge { width:max-content; max-width:100%; display:inline-flex; align-items:center; gap:7px; border-radius:999px; padding:7px 10px; font:600 10px var(--mono); white-space:nowrap; }
.tld-type-badge.generic { color:#3d62e7; background:#eaf0ff; }
.tld-type-badge.restricted { color:#db641f; background:#fff0e6; }
.tld-type-badge.sponsored { color:#7453e9; background:#f0eaff; }
.tld-type-badge.brand { color:#128b62; background:#e7f8f0; }
.tld-type-badge.community { color:#d63f93; background:#fdeaf4; }
.tld-type-badge.cctld { color:#dd6931; background:#fff1e9; }
.tld-type-badge.idn { color:#6c5ada; background:#eeeaff; }
.tld-operator { min-width:0; }
.tld-operator strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:600; }
.tld-operator small { display:block; margin-top:4px; color:#9aa1af; font:400 10px var(--mono); }
.tld-status-cell { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.tld-status-badge { color:#11835b; background:#e8f8f1; }
.tld-status-badge .mini-status { width:7px; height:7px; }
.tld-extra-badge { color:#778091; background:#f3f4f7; }
.tld-open { position:relative; z-index:2; width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:#697386; }
.tld-open:hover { background:#f1f3f8; color:#315ff6; }
.tld-row-link { position:absolute; inset:0; border-radius:inherit; }
.tld-row > *:not(.tld-row-link) { pointer-events:none; }
.result-list.grid .tld-row { min-height:196px; grid-template-columns:1fr auto; grid-template-rows:auto auto 1fr auto; gap:14px; padding:20px; align-items:start; }
.result-list.grid .tld-main { grid-column:1; grid-row:1; }
.result-list.grid .tld-type-cell { grid-column:2; grid-row:1; }
.result-list.grid .tld-operator { grid-column:1 / -1; grid-row:2; padding-top:12px; border-top:1px solid var(--line); }
.result-list.grid .tld-status-cell { grid-column:1 / -1; grid-row:3; align-self:end; }
.result-list.grid .tld-open { grid-column:2; grid-row:4; justify-self:end; }
.empty-results { padding:54px 20px; text-align:center; border:1px dashed var(--line-strong); border-radius:24px; background:rgba(255,255,255,.44); }
.empty-icon { width:54px; height:54px; margin:0 auto 15px; display:grid; place-items:center; border-radius:50%; background:#eef1f7; color:#758096; }
.empty-results h3 { margin:0; font-size:20px; }
.empty-results p { margin:8px 0 18px; color:#87909f; font-size:13px; }
.empty-results .soft-button { margin-inline:auto; cursor:pointer; }

.browse-trust { margin-top:26px; margin-bottom:24px; min-height:110px; padding:18px 20px 18px 24px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:22px; border:1px solid rgba(255,255,255,.88); border-radius:24px; background:rgba(255,255,255,.66); box-shadow:var(--shadow-soft); }
.trust-copy { display:flex; align-items:center; gap:18px; min-width:0; }
.trust-copy strong, .trust-copy small { display:block; }
.trust-copy strong { font-size:16px; }
.trust-copy small { margin-top:5px; color:#8a92a1; font:400 10px/1.5 var(--mono); }
.trust-sources { display:flex; gap:10px; }
.trust-sources a { min-width:210px; display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.72); }
.trust-sources strong, .trust-sources small { display:block; }
.trust-sources strong { font:600 11px var(--mono); }
.trust-sources small { margin-top:4px; color:#9299a7; font:400 9px var(--mono); }

[data-theme="dark"] .namespace-tabs,
[data-theme="dark"] .browse-filter-panel,
[data-theme="dark"] .browse-trust,
[data-theme="dark"] .browse-search,
[data-theme="dark"] .browse-examples button,
[data-theme="dark"] .namespace-tab.active,
[data-theme="dark"] .filter-chips button,
[data-theme="dark"] .prefix-filter button,
[data-theme="dark"] .sort-control,
[data-theme="dark"] .view-switch,
[data-theme="dark"] .tld-row,
[data-theme="dark"] .trust-sources a { background:rgba(24,27,34,.78); border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .namespace-tab:hover,
[data-theme="dark"] .tld-row:hover { background:rgba(30,34,42,.94); }
[data-theme="dark"] .browse-search input,
[data-theme="dark"] .sort-control select { color:var(--ink); }
[data-theme="dark"] .filter-count { background:rgba(84,74,180,.16); }
[data-theme="dark"] .filter-chips button.active { background:rgba(70,84,180,.18); }
[data-theme="dark"] .namespace-tab.active { color:#b9b6ff; }
[data-theme="dark"] .namespace-tab .tab-icon { background:#20242d; }
[data-theme="dark"] .tld-extra-badge { background:#20242a; color:#aab2bf; }
[data-theme="dark"] .empty-results { background:rgba(24,27,34,.45); }

@media (max-width: 980px) {
  .filter-top-grid { grid-template-columns:1fr; gap:20px; }
  .prefix-filter { grid-template-columns:repeat(10,1fr); }
  .tld-row { grid-template-columns:minmax(100px,.8fr) minmax(110px,.7fr) 1.4fr minmax(120px,.8fr) auto; }
  .result-list.grid { grid-template-columns:repeat(2,1fr); }
  .browse-trust { grid-template-columns:1fr; }
  .trust-sources { width:100%; }
  .trust-sources a { flex:1; }
}

@media (max-width: 760px) {
  .desktop-nav a.active::after { display:none; }
  .browse-hero { padding:52px 0 26px; }
  .browse-hero h1 { font-size:clamp(48px,14vw,70px); }
  .browse-hero > p { margin:14px auto 22px; font-size:14px; }
  .browse-search { height:60px; padding-left:16px; }
  .browse-search input { font-size:11px; }
  .browse-search button { width:46px; height:46px; }
  .browse-examples { justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; padding-bottom:3px; scrollbar-width:none; }
  .browse-examples::-webkit-scrollbar { display:none; }
  .browse-examples span, .browse-examples button { flex:0 0 auto; }
  .namespace-tabs { grid-template-columns:repeat(2,1fr); padding:8px; border-radius:20px; }
  .namespace-tab { min-height:64px; justify-content:flex-start; padding:8px 10px; }
  .namespace-tab .tab-icon { width:34px; height:34px; }
  .browse-filter-panel { margin-top:14px; padding:22px 16px; border-radius:22px; }
  .filter-panel-head { align-items:flex-start; }
  .filter-title h2 { font-size:24px; }
  .filter-actions { align-items:flex-end; flex-direction:column-reverse; gap:4px; }
  .filter-count { min-height:34px; padding-inline:10px; }
  .filter-chips { flex-wrap:nowrap; overflow-x:auto; padding-bottom:3px; margin-right:-16px; padding-right:16px; scrollbar-width:none; }
  .filter-chips::-webkit-scrollbar { display:none; }
  .filter-chips button { flex:0 0 auto; min-height:34px; }
  .prefix-group { margin-top:20px; padding-top:18px; }
  .prefix-filter { grid-template-columns:repeat(7,1fr); gap:7px; }
  .prefix-filter button { height:35px; }
  .tld-results { padding-top:26px; }
  .results-toolbar { align-items:flex-start; flex-direction:column; gap:14px; }
  .results-toolbar h2 { font-size:28px; }
  .results-controls { width:100%; justify-content:space-between; }
  .sort-control { flex:1; }
  .sort-control select { width:100%; min-width:0; }
  .tld-row { min-height:0; grid-template-columns:1fr auto; grid-template-rows:auto auto auto; gap:11px 10px; padding:16px; border-radius:17px; }
  .tld-main { grid-column:1; grid-row:1; }
  .tld-type-cell { grid-column:2; grid-row:1; justify-self:end; }
  .tld-operator { grid-column:1 / -1; grid-row:2; padding-top:11px; border-top:1px solid var(--line); }
  .tld-status-cell { grid-column:1; grid-row:3; align-self:center; }
  .tld-open { grid-column:2; grid-row:3; justify-self:end; }
  .result-list.grid { grid-template-columns:1fr 1fr; }
  .result-list.grid .tld-row { min-height:200px; }
  .browse-trust { padding:18px; border-radius:22px; }
  .trust-sources { display:grid; grid-template-columns:1fr 1fr; }
  .trust-sources a { min-width:0; }
}

@media (max-width: 520px) {
  .namespace-tabs { grid-template-columns:1fr 1fr; gap:6px; }
  .namespace-tab { gap:8px; }
  .namespace-tab strong { font-size:11px; }
  .namespace-tab small { font-size:9px; }
  .prefix-filter { grid-template-columns:repeat(5,1fr); }
  .results-controls { align-items:stretch; }
  .sort-control { min-width:0; }
  .sort-control > span { display:none; }
  .view-switch { flex:0 0 auto; }
  .result-list.grid { grid-template-columns:1fr; }
  .trust-copy .brand-mark.large { width:40px; height:40px; }
  .trust-sources { grid-template-columns:1fr; }
}

/* =========================================================
   TLD detail page
   ========================================================= */
.tld-detail-page { scroll-padding-top: 120px; }
.tld-detail-page main { padding-bottom: 10px; }
.detail-breadcrumb {
  display:flex; align-items:center; gap:7px; padding-top:28px; color:var(--muted);
  font:500 12px/1 var(--mono);
}
.detail-breadcrumb a { transition:color .2s ease; }
.detail-breadcrumb a:hover { color:var(--ink); }
.detail-breadcrumb svg { width:14px; height:14px; color:var(--muted-2); }

.detail-hero {
  position:relative; min-height:270px; display:grid; grid-template-columns:190px minmax(0,1fr) auto;
  gap:34px; align-items:center; padding-top:34px; padding-bottom:34px;
}
.tld-monogram-wrap { position:relative; width:190px; height:190px; display:grid; place-items:center; }
.tld-monogram-glow {
  position:absolute; inset:14px; border-radius:42px;
  background:conic-gradient(from 32deg, rgba(71,103,255,.32), rgba(255,255,255,.12) 31%, rgba(240,87,164,.28) 58%, rgba(255,149,76,.26) 75%, rgba(71,103,255,.30));
  filter:blur(24px); opacity:.72; transform:scale(1.05);
}
.tld-monogram {
  position:relative; width:164px; height:164px; display:grid; place-items:center; border-radius:36px;
  border:1px solid rgba(255,255,255,.92); background:rgba(255,255,255,.78); backdrop-filter:blur(18px);
  box-shadow:0 20px 50px rgba(42,49,80,.12), inset 0 1px rgba(255,255,255,.95);
  font:700 48px/1 var(--mono); letter-spacing:-.065em;
  overflow:hidden; padding:0 10px; box-sizing:border-box; text-align:center;
}
.tld-monogram.mono-md { font-size:36px; }
.tld-monogram.mono-sm { font-size:26px; letter-spacing:-.04em; }
.tld-monogram.mono-xs { font-size:20px; letter-spacing:-.03em; }
.detail-status-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:11px; }
.detail-status-badge { color:#087a50; background:#e7f7ef; padding:7px 10px; border-radius:999px; font:600 11px var(--mono); }
.detail-source-note { color:var(--muted-2); font:500 10px var(--mono); }
.detail-hero-copy h1 { margin:0; font-size:clamp(52px,7vw,82px); line-height:.9; letter-spacing:-.07em; }
.detail-subtitle { margin:11px 0 0; color:#424957; font:500 19px var(--mono); }
.detail-intro { max-width:700px; margin:18px 0 0; color:var(--muted); font-size:15px; line-height:1.7; }
.detail-intro strong { color:var(--ink); }
.detail-hero-actions { display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
.detail-source-link { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font:600 11px var(--mono); }
.detail-source-link:hover { color:var(--blue); }
.detail-source-link svg { width:15px; height:15px; }

.detail-facts {
  display:grid; grid-template-columns:1.25fr .8fr 1.1fr .85fr .9fr; padding:17px 10px;
  border:1px solid rgba(255,255,255,.88); border-radius:22px; background:rgba(255,255,255,.66);
  box-shadow:var(--shadow-soft); backdrop-filter:blur(12px);
}
.detail-fact { min-width:0; padding:7px 20px; border-right:1px solid var(--line-strong); }
.detail-fact:last-child { border-right:0; }
.detail-fact > span { display:block; margin-bottom:7px; color:var(--muted-2); text-transform:uppercase; letter-spacing:.075em; font:600 9px var(--mono); }
.detail-fact strong { display:flex; align-items:center; gap:8px; min-width:0; font:600 13px/1.35 var(--mono); overflow-wrap:anywhere; }
.detail-fact small { display:block; margin-top:5px; color:var(--muted); font:400 9px/1.4 var(--mono); }

.detail-tabs {
  position:sticky; top:100px; z-index:35; margin-top:16px; display:flex; gap:4px; padding:5px;
  border:1px solid rgba(255,255,255,.88); border-radius:18px; background:rgba(246,247,249,.84);
  backdrop-filter:blur(18px) saturate(145%); box-shadow:0 9px 28px rgba(40,46,67,.06); overflow-x:auto; scrollbar-width:none;
}
.detail-tabs::-webkit-scrollbar { display:none; }
.detail-tabs a { flex:0 0 auto; padding:10px 16px; border-radius:13px; color:var(--muted); font:600 11px var(--mono); transition:.2s ease; }
.detail-tabs a:hover { color:var(--ink); background:rgba(255,255,255,.55); }
.detail-tabs a.active { color:#254ee9; background:#fff; box-shadow:0 5px 16px rgba(46,64,124,.08), inset 0 -2px #5e73ff; }

.detail-section { padding-top:28px; }
.detail-section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:14px; padding:0 4px; }
.detail-section-head.compact { align-items:flex-start; }
.detail-section-head h2 { font-size:clamp(28px,3.5vw,40px); }
.detail-section-head p { max-width:720px; margin:8px 0 0; color:var(--muted); font-size:14px; line-height:1.65; }
.source-chip { display:inline-flex; align-items:center; gap:7px; flex:0 0 auto; padding:8px 10px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.56); color:var(--muted); font:600 10px var(--mono); }
.source-chip svg { color:var(--green); }

.detail-card {
  border:1px solid rgba(255,255,255,.88); border-radius:24px; background:rgba(255,255,255,.68); box-shadow:var(--shadow-soft); backdrop-filter:blur(10px);
}
.overview-grid { display:grid; grid-template-columns:.92fr 1.08fr; gap:14px; }
.overview-copy-card { padding:28px; }
.overview-copy-card p { margin:0; color:#5f687a; font-size:15px; line-height:1.75; }
.overview-copy-card p + p { margin-top:15px; }
.overview-copy-card p strong { color:var(--ink); }
.detail-chip-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.detail-chip-row span { display:inline-flex; align-items:center; gap:7px; padding:9px 11px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.64); color:#4e5666; font:600 10px var(--mono); }
.detail-chip-row svg { width:14px; height:14px; color:var(--blue); }
.key-value-card { padding:17px 22px; }
.key-value-card dl { margin:0; }
.key-value-card dl > div { display:grid; grid-template-columns:190px minmax(0,1fr); gap:20px; align-items:center; min-height:51px; border-bottom:1px solid var(--line); }
.key-value-card dl > div:last-child { border-bottom:0; }
.key-value-card dt { color:var(--muted); font:500 11px var(--mono); }
.key-value-card dd { margin:0; min-width:0; color:var(--ink); font:600 12px var(--mono); overflow-wrap:anywhere; }
.key-value-card a { display:inline-flex; align-items:center; gap:6px; color:#3261ef; }
.key-value-card a svg { width:13px; height:13px; }

.technical-grid { display:grid; grid-template-columns:1.12fr .88fr .88fr; gap:14px; }
.technical-card { padding:22px; min-width:0; }
.card-title-row { display:flex; align-items:flex-start; gap:12px; margin-bottom:20px; }
.card-title-row .icon-chip { flex:0 0 auto; }
.card-title-row h3 { margin:1px 0 5px; font-size:16px; letter-spacing:-.025em; }
.card-title-row p { margin:0; color:var(--muted); font-size:11px; line-height:1.5; }
.copy-list { display:grid; gap:8px; }
.copy-list > div { min-width:0; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 11px 11px 13px; border:1px solid var(--line); border-radius:14px; background:rgba(247,248,250,.84); }
.copy-list > div > span { min-width:0; }
.copy-list strong { display:block; overflow-wrap:anywhere; font:600 10px/1.4 var(--mono); }
.copy-list small { display:block; margin-top:4px; color:var(--muted-2); overflow-wrap:anywhere; font:400 8.5px/1.45 var(--mono); }
.copy-list button { width:34px; height:34px; flex:0 0 auto; display:grid; place-items:center; border:1px solid var(--line); border-radius:10px; background:#fff; cursor:pointer; color:#7b8290; }
.copy-list button:hover, .copy-list button.copied { color:var(--blue); background:#f1f4ff; }
.copy-list button svg { width:14px; height:14px; }
.endpoint-list { margin:0; }
.endpoint-list > div { display:grid; grid-template-columns:62px minmax(0,1fr); gap:10px; min-height:51px; align-items:center; border-bottom:1px solid var(--line); }
.endpoint-list > div:last-child { border-bottom:0; }
.endpoint-list dt { color:var(--muted-2); font:600 9px var(--mono); }
.endpoint-list dd { margin:0; min-width:0; overflow-wrap:anywhere; font:600 10px/1.45 var(--mono); }
.endpoint-list a { color:#3261ef; }
.endpoint-list a svg { width:12px; }
.dnssec-state { display:flex; align-items:center; gap:9px; padding:11px 0 14px; }
.dnssec-state strong { font:600 13px var(--mono); }
.ds-mini-table { border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.ds-mini-table > div { display:grid; grid-template-columns:1.3fr .8fr .8fr; min-height:35px; align-items:center; padding:0 11px; border-bottom:1px solid var(--line); font:500 9px var(--mono); }
.ds-mini-table > div:last-child { border-bottom:0; }
.ds-mini-table .ds-head { color:var(--muted-2); background:rgba(247,248,250,.8); font-weight:600; }
.inline-source { display:inline-flex; align-items:center; gap:6px; margin-top:14px; color:#3261ef; font:600 10px var(--mono); }
.inline-source svg { width:13px; }

.agreement-card { display:grid; grid-template-columns:repeat(5,1fr) 1.35fr; padding:14px; }
.agreement-item { min-width:0; display:flex; align-items:center; gap:11px; padding:14px 15px; border-right:1px solid var(--line); }
.agreement-item:nth-last-child(2) { border-right:1px solid var(--line); }
.agreement-item > div { min-width:0; }
.agreement-item span:not(.icon-chip) { display:block; margin-bottom:6px; color:var(--muted-2); font:500 8.5px var(--mono); }
.agreement-item strong { display:block; overflow-wrap:anywhere; font:600 11px/1.35 var(--mono); }
.agreement-action { justify-content:center; border-right:0; }
.agreement-action .soft-button { padding:11px 13px; font-size:10px; text-align:center; }

.history-card { padding:12px 24px; }
.timeline { margin:0; padding:0; list-style:none; }
.timeline li { position:relative; display:grid; grid-template-columns:16px 104px minmax(0,1fr) 32px; gap:14px; align-items:start; min-height:83px; padding:19px 0; border-bottom:1px solid var(--line); }
.timeline li:last-child { border-bottom:0; }
.timeline li:not(:last-child)::after { content:""; position:absolute; left:7px; top:38px; bottom:-20px; width:1px; background:var(--line-strong); }
.timeline-dot { position:relative; z-index:1; width:14px; height:14px; margin-top:2px; border:4px solid #fff; border-radius:50%; box-shadow:0 0 0 1px var(--line-strong); background:#8a93a3; }
.timeline-dot.purple { background:var(--purple); }
.timeline-dot.blue { background:var(--blue); }
.timeline-dot.green { background:var(--green); }
.timeline-dot.gray { background:#9aa1b0; }
.timeline time { color:var(--muted); font:500 10px var(--mono); padding-top:1px; }
.timeline strong { display:block; margin-bottom:5px; font-size:13px; }
.timeline p { margin:0; color:var(--muted); font-size:11px; line-height:1.55; }
.timeline a { width:30px; height:30px; display:grid; place-items:center; border:1px solid var(--line); border-radius:9px; color:var(--muted); }
.timeline a:hover { color:var(--blue); background:#f3f6ff; }
.timeline a svg { width:13px; height:13px; }

.tld-detail-page .source-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.tld-detail-page .source-card { min-height:92px; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:16px; border:1px solid rgba(255,255,255,.88); border-radius:18px; background:rgba(255,255,255,.66); box-shadow:var(--shadow-soft); }
.tld-detail-page .source-card > svg { width:15px; color:var(--muted-2); }
.tld-detail-page .source-card strong { display:block; font:600 11px var(--mono); }
.tld-detail-page .source-card small { display:block; margin-top:4px; color:var(--muted); font:400 9px var(--mono); }
.tld-detail-page .source-card:hover { transform:translateY(-2px); background:#fff; }

.detail-explore { display:grid; grid-template-columns:1fr minmax(380px,.8fr); gap:30px; align-items:center; margin-top:28px; padding:24px 28px; border:1px solid rgba(255,255,255,.88); border-radius:24px; background:rgba(255,255,255,.66); box-shadow:var(--shadow-soft); }
.detail-explore-mark { display:flex; align-items:center; gap:16px; }
.detail-explore-mark h2 { font-size:24px; }
.detail-explore-mark p { margin:6px 0 0; color:var(--muted); font-size:11px; }
.detail-explore-mark .section-kicker { margin-bottom:5px; }
.detail-search { min-width:0; height:55px; display:flex; align-items:center; gap:10px; padding:6px 7px 6px 16px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.78); box-shadow:var(--shadow-soft); }
.detail-search > svg { flex:0 0 auto; color:var(--muted); }
.detail-search input { min-width:0; flex:1; border:0; outline:0; background:transparent; font:500 11px var(--mono); }
.detail-search button { width:42px; height:42px; flex:0 0 auto; display:grid; place-items:center; border:0; border-radius:50%; color:#fff; background:linear-gradient(135deg,#3d72ff,#5965ff 48%,#ef5da9 78%,#ff9a56); cursor:pointer; box-shadow:0 7px 18px rgba(65,88,255,.22); }
.detail-search button svg { width:17px; }

.toast { position:fixed; right:22px; bottom:22px; z-index:90; display:flex; align-items:center; gap:8px; padding:11px 14px; border:1px solid rgba(255,255,255,.86); border-radius:13px; color:#fff; background:#16191f; box-shadow:0 18px 45px rgba(20,24,35,.2); font:600 10px var(--mono); }
.toast[hidden] { display:none; }
.toast svg { width:14px; color:#60e7ad; }

[data-theme="dark"] .tld-monogram,
[data-theme="dark"] .detail-facts,
[data-theme="dark"] .detail-card,
[data-theme="dark"] .detail-explore,
[data-theme="dark"] .tld-detail-page .source-card { background:rgba(24,27,34,.78); border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .detail-tabs { background:rgba(17,20,25,.90); border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .detail-tabs a.active { background:#242936; color:#b7c2ff; box-shadow:inset 0 -2px #7988ff; }
[data-theme="dark"] .source-chip,
[data-theme="dark"] .detail-chip-row span,
[data-theme="dark"] .copy-list > div,
[data-theme="dark"] .copy-list button,
[data-theme="dark"] .ds-mini-table .ds-head,
[data-theme="dark"] .detail-search { background:rgba(27,31,39,.9); }
[data-theme="dark"] .detail-subtitle { color:#d3d7df; }
[data-theme="dark"] .overview-copy-card p { color:#aeb5c2; }
[data-theme="dark"] .copy-list button:hover { background:#242a3b; }
[data-theme="dark"] .timeline-dot { border-color:#171a20; }
[data-theme="dark"] .tld-detail-page .source-card:hover { background:#20242c; }

@media (max-width: 1040px) {
  .detail-hero { grid-template-columns:160px minmax(0,1fr); }
  .tld-monogram-wrap { width:160px; height:160px; }
  .tld-monogram { width:142px; height:142px; border-radius:31px; font-size:41px; }
  .tld-monogram.mono-md { font-size:30px; }
  .tld-monogram.mono-sm { font-size:22px; }
  .tld-monogram.mono-xs { font-size:17px; }
  .detail-hero-actions { grid-column:2; flex-direction:row; align-items:center; }
  .detail-facts { grid-template-columns:repeat(3,1fr); }
  .detail-fact { border-bottom:1px solid var(--line); }
  .detail-fact:nth-child(3) { border-right:0; }
  .detail-fact:nth-child(4), .detail-fact:nth-child(5) { border-bottom:0; }
  .overview-grid { grid-template-columns:1fr; }
  .technical-grid { grid-template-columns:1fr 1fr; }
  .nameserver-card { grid-column:1 / -1; }
  .agreement-card { grid-template-columns:repeat(3,1fr); }
  .agreement-item:nth-child(3n) { border-right:0; }
  .agreement-item:nth-child(-n+3) { border-bottom:1px solid var(--line); }
  .agreement-action { border-right:0 !important; }
  .tld-detail-page .source-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 760px) {
  .tld-detail-page { scroll-padding-top: 84px; }
  .detail-breadcrumb { padding-top:20px; font-size:10px; }
  .detail-hero { grid-template-columns:104px minmax(0,1fr); gap:18px; min-height:0; padding-top:24px; padding-bottom:24px; }
  .tld-monogram-wrap { width:104px; height:104px; align-self:start; }
  .tld-monogram { width:96px; height:96px; border-radius:24px; font-size:28px; }
  .tld-monogram.mono-md { font-size:22px; }
  .tld-monogram.mono-sm { font-size:16px; }
  .tld-monogram.mono-xs { font-size:13px; }
  .tld-monogram-glow { inset:10px; filter:blur(18px); }
  .detail-status-row { gap:7px; margin-bottom:8px; }
  .detail-source-note { display:none; }
  .detail-status-badge { padding:6px 8px; font-size:9px; }
  .detail-hero-copy h1 { font-size:48px; }
  .detail-subtitle { margin-top:7px; font-size:13px; line-height:1.35; }
  .detail-intro { grid-column:1 / -1; font-size:13px; line-height:1.65; margin-top:12px; }
  .detail-hero-actions { grid-column:1 / -1; width:100%; align-items:stretch; justify-content:space-between; gap:10px; }
  .detail-hero-actions .soft-button { flex:1; justify-content:center; }
  .detail-source-link { padding-inline:2px; }
  .detail-facts { grid-template-columns:repeat(2,1fr); padding:7px; border-radius:20px; }
  .detail-fact { padding:13px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .detail-fact:nth-child(2n) { border-right:0; }
  .detail-fact:nth-child(3) { border-right:1px solid var(--line); }
  .detail-fact:nth-child(4) { border-right:0; }
  .detail-fact:nth-child(4) { border-bottom:1px solid var(--line); }
  .detail-fact:nth-child(5) { grid-column:1 / -1; border-right:0; border-bottom:0; }
  .detail-tabs { top:84px; margin-top:12px; margin-left:0; margin-right:0; width:100%; border-left:0; border-right:0; border-radius:0; padding-inline:20px; }
  .detail-tabs a { padding:9px 12px; font-size:10px; }
  .detail-section { padding-top:24px; }
  .detail-section-head { align-items:flex-start; }
  .detail-section-head .source-chip { display:none; }
  .detail-section-head h2 { font-size:28px; }
  .detail-section-head p { font-size:12px; }
  .overview-copy-card, .technical-card { padding:20px; }
  .key-value-card { padding:8px 16px; }
  .key-value-card dl > div { grid-template-columns:1fr; gap:6px; padding:12px 0; }
  .technical-grid { grid-template-columns:1fr; }
  .nameserver-card { grid-column:auto; }
  .copy-list > div { padding:10px; }
  .copy-list small { font-size:8px; }
  .agreement-card { grid-template-columns:1fr 1fr; padding:8px; }
  .agreement-item { padding:14px 11px; }
  .agreement-item:nth-child(3n) { border-right:1px solid var(--line); }
  .agreement-item:nth-child(2n) { border-right:0; }
  .agreement-item:nth-child(-n+4) { border-bottom:1px solid var(--line); }
  .agreement-item:nth-child(5) { border-bottom:0; }
  .agreement-action { border-bottom:0 !important; }
  .agreement-action .soft-button { width:100%; justify-content:center; }
  .history-card { padding:8px 16px; }
  .timeline li { grid-template-columns:14px 78px minmax(0,1fr); gap:10px; min-height:0; padding:17px 0; }
  .timeline li > a { display:none; }
  .timeline li:not(:last-child)::after { left:6px; }
  .timeline time { font-size:8.5px; }
  .timeline strong { font-size:12px; }
  .timeline p { font-size:10px; }
  .tld-detail-page .source-grid { grid-template-columns:1fr; }
  .tld-detail-page .source-card { min-height:78px; }
  .detail-explore { grid-template-columns:1fr; gap:18px; padding:20px; }
  .detail-explore-mark .brand-mark.large { width:42px; height:42px; }
  .detail-explore-mark .brand-mark.large::after { inset:8px; }
  .detail-explore-mark h2 { font-size:21px; }
  .detail-search { min-width:0; width:100%; }
  .toast { right:14px; bottom:14px; left:14px; justify-content:center; }
}

@media (max-width: 420px) {
  .detail-hero { grid-template-columns:88px minmax(0,1fr); gap:14px; }
  .tld-monogram-wrap { width:88px; height:88px; }
  .tld-monogram { width:82px; height:82px; border-radius:21px; font-size:24px; }
  .tld-monogram.mono-md { font-size:18px; }
  .tld-monogram.mono-sm { font-size:14px; }
  .tld-monogram.mono-xs { font-size:11px; }
  .detail-hero-copy h1 { font-size:42px; }
  .detail-hero-actions { flex-direction:column; align-items:stretch; }
  .detail-source-link { justify-content:center; }
  .detail-facts { grid-template-columns:1fr; }
  .detail-fact, .detail-fact:nth-child(3), .detail-fact:nth-child(5) { grid-column:auto; border-right:0; border-bottom:1px solid var(--line); }
  .detail-fact:last-child { border-bottom:0; }
  .detail-chip-row { display:grid; grid-template-columns:1fr; }
  .detail-chip-row span { justify-content:flex-start; }
  .agreement-card { grid-template-columns:1fr; }
  .agreement-item, .agreement-item:nth-child(2n), .agreement-item:nth-child(3n), .agreement-item:nth-child(5) { border-right:0; border-bottom:1px solid var(--line); }
  .agreement-item:last-child { border-bottom:0; }
  .timeline li { grid-template-columns:14px minmax(0,1fr); }
  .timeline time { grid-column:2; margin-bottom:-4px; }
  .timeline li > div { grid-column:2; }
}

/* =========================================================
   Operators directory
   ========================================================= */
.operators-page main { padding-bottom: 10px; }
.operators-hero { text-align:center; padding:72px 0 38px; }
.operators-hero .eyebrow-pill { margin-bottom:22px; }
.operators-hero h1 { margin:0; font-size:clamp(54px,7.5vw,92px); line-height:.92; letter-spacing:-.065em; font-weight:800; }
.operators-hero h1 span { color:#858b98; }
.operators-hero > p { max-width:760px; margin:20px auto 30px; color:#737c8e; font-size:clamp(15px,1.8vw,18px); line-height:1.65; }
.operators-search { width:min(840px,100%); height:68px; margin:0 auto; display:flex; align-items:center; gap:12px; padding:7px 8px 7px 22px; border:1px solid rgba(255,255,255,.92); border-radius:999px; background:rgba(255,255,255,.76); box-shadow:0 18px 45px rgba(44,54,89,.10), inset 0 0 0 1px rgba(20,24,34,.055); }
.operators-search > svg { width:21px; height:21px; flex:0 0 auto; color:#778092; }
.operators-search input { flex:1; min-width:0; height:100%; border:0; outline:0; background:transparent; color:var(--ink); font:500 14px var(--mono); }
.operators-search input::placeholder { color:#9aa1af; }
.operators-search button { width:52px; height:52px; flex:0 0 auto; border:0; border-radius:50%; display:grid; place-items:center; color:#fff; cursor:pointer; background:linear-gradient(135deg,#3d72ff,#5965ff 48%,#ef5da9 78%,#ff9a56); box-shadow:0 9px 20px rgba(65,88,255,.25), inset 0 1px rgba(255,255,255,.55); }
.operators-search button svg { width:19px; height:19px; }

.operators-stats { max-width:980px; margin:48px auto 0; display:grid; grid-template-columns:repeat(4,1fr); }
.operators-stats > div { min-width:0; padding:0 24px; border-right:1px solid var(--line-strong); }
.operators-stats > div:last-child { border-right:0; }
.operators-stats strong { display:block; font:600 clamp(27px,3.7vw,40px)/1 var(--mono); letter-spacing:-.04em; }
.operators-stats span { display:block; margin-top:8px; font:600 12px var(--mono); }
.operators-stats small { display:block; margin-top:6px; color:#9299a7; font:400 10px/1.45 var(--mono); }

.operator-controls { border:1px solid rgba(255,255,255,.88); border-radius:27px; background:rgba(255,255,255,.65); box-shadow:var(--shadow); padding:12px 28px 26px; backdrop-filter:blur(11px); }
.operator-family-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:0 -16px 24px; padding:8px; border-bottom:1px solid var(--line); }
.operator-family-tabs button { min-width:0; min-height:72px; display:flex; align-items:center; justify-content:center; gap:12px; border:1px solid transparent; border-radius:18px; background:transparent; color:#596175; cursor:pointer; transition:.2s ease; }
.operator-family-tabs button:hover { background:rgba(255,255,255,.56); }
.operator-family-tabs button.active { color:#2e3471; border-color:rgba(89,93,255,.32); background:rgba(255,255,255,.88); box-shadow:inset 0 0 0 1px rgba(236,80,160,.12), 0 7px 18px rgba(64,74,130,.06); }
.operator-family-tabs .tab-icon { width:38px; height:38px; flex:0 0 auto; display:grid; place-items:center; border-radius:12px; color:#687285; background:#f0f2f7; }
.operator-family-tabs button.active .tab-icon { color:#5d54ef; background:#efedff; }
.operator-family-tabs strong { display:block; text-align:left; font:600 13px var(--mono); }
.operator-family-tabs small { display:block; margin-top:4px; text-align:left; color:#8e95a4; font:500 10px var(--mono); }

.operator-prefix-wrap { padding:0 2px; }
.operator-prefix-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:14px; }
.operator-prefix-head .section-kicker { margin-bottom:5px; }
.operator-prefix-head strong { font-size:15px; }
.operator-prefix-head > button { border:0; background:transparent; color:#8a92a1; font:500 10px var(--mono); cursor:pointer; }
.operator-prefix-head > button:hover { color:var(--ink); }
.operator-prefix { display:grid; grid-template-columns:58px repeat(13,1fr); gap:7px; }
.operator-prefix button { min-width:0; height:35px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.70); color:#485061; font:600 10px var(--mono); cursor:pointer; transition:.18s ease; }
.operator-prefix button:hover:not(:disabled) { transform:translateY(-1px); border-color:rgba(78,94,255,.24); }
.operator-prefix button.active { color:#fff; border-color:transparent; background:linear-gradient(135deg,#4c79ff,#6960ff 58%,#ef70aa); box-shadow:0 7px 16px rgba(77,97,255,.17); }
.operator-prefix button:disabled { opacity:.26; cursor:not-allowed; }

.operator-directory { padding-top:34px; }
.operator-toolbar { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; padding:0 4px 14px; }
.operator-toolbar h2 { font-size:31px; }
.operator-toolbar p { margin:6px 0 0; color:#8a92a1; font:400 11px/1.5 var(--mono); }
.operator-sort { position:relative; min-height:46px; display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.72); padding:0 12px; color:#8a91a0; font:500 10px var(--mono); }
.operator-sort select { appearance:none; -webkit-appearance:none; min-width:140px; padding:0 28px 0 0; border:0; outline:0; background:transparent; color:#4c5364; font:600 11px var(--mono); cursor:pointer; }
.operator-sort > svg { position:absolute; right:11px; width:14px; pointer-events:none; }

.operator-list-head { display:grid; grid-template-columns:minmax(260px,1.15fr) minmax(280px,1.35fr) minmax(210px,.9fr) 38px; gap:18px; padding:0 22px 9px; color:#989fad; font:600 8.5px var(--mono); text-transform:uppercase; letter-spacing:.08em; }
.operator-list { display:grid; gap:8px; }
.operator-row { position:relative; min-height:84px; display:grid; grid-template-columns:minmax(260px,1.15fr) minmax(280px,1.35fr) minmax(210px,.9fr) 38px; gap:18px; align-items:center; padding:11px 18px; border:1px solid rgba(255,255,255,.88); border-radius:19px; background:rgba(255,255,255,.72); box-shadow:0 7px 22px rgba(41,47,75,.035); transition:.2s ease; }
.operator-row:hover { transform:translateY(-1px); border-color:rgba(75,93,255,.16); background:rgba(255,255,255,.91); box-shadow:0 12px 28px rgba(41,47,75,.065); }
.operator-row:focus-within { outline:3px solid rgba(56,107,255,.14); }
.operator-identity { min-width:0; display:flex; align-items:center; gap:13px; }
.operator-avatar { width:45px; height:45px; flex:0 0 auto; display:grid; place-items:center; border-radius:14px; color:#5663d9; background:linear-gradient(145deg,#eef1ff,#f7f1ff); border:1px solid rgba(88,97,230,.10); font:700 11px var(--mono); letter-spacing:-.03em; }
.operator-identity > div { min-width:0; }
.operator-identity strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:650; }
.operator-identity small { display:block; margin-top:5px; color:#969dab; font:400 9.5px var(--mono); }
.operator-tlds { min-width:0; display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.operator-tlds span { max-width:100px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:6px 8px; border:1px solid var(--line); border-radius:999px; background:rgba(248,249,251,.9); color:#4e5667; font:600 9px var(--mono); }
.operator-tlds .operator-tld-more { color:#7658ff; background:#f1edff; }
.operator-families { display:flex; flex-wrap:wrap; gap:6px; }
.operator-family-badge { width:max-content; display:inline-flex; align-items:center; gap:6px; padding:7px 9px; border-radius:999px; font:600 9px var(--mono); white-space:nowrap; }
.operator-family-badge svg { width:12px; height:12px; }
.operator-family-badge.gtld { color:#3d62e7; background:#eaf0ff; }
.operator-family-badge.cctld { color:#dd6931; background:#fff1e9; }
.operator-family-badge.idn { color:#755ce0; background:#efeaff; }
.operator-open { position:relative; z-index:2; width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:#6f788a; }
.operator-row:hover .operator-open { color:#315ff6; background:#f2f4fb; }
.operator-open svg { width:16px; height:16px; }
.operator-row-link { position:absolute; inset:0; border-radius:inherit; }
.operator-row > *:not(.operator-row-link) { pointer-events:none; }
.operator-empty { margin-top:8px; }

.operator-methodology { margin-top:28px; margin-bottom:24px; min-height:150px; display:grid; grid-template-columns:auto 1fr auto; gap:22px; align-items:center; padding:28px 30px; border:1px solid rgba(255,255,255,.88); border-radius:25px; background:rgba(255,255,255,.66); box-shadow:var(--shadow-soft); }
.operator-note-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; color:#5368e6; background:linear-gradient(145deg,#edf2ff,#f5ecff); box-shadow:inset 0 1px rgba(255,255,255,.9); }
.operator-note-icon svg { width:24px; height:24px; }
.operator-methodology .section-kicker { margin-bottom:5px; }
.operator-methodology h2 { font-size:25px; }
.operator-methodology p { max-width:760px; margin:8px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
.operator-methodology p strong { color:var(--ink); }
.operator-methodology code { padding:2px 5px; border:1px solid var(--line); border-radius:6px; background:rgba(255,255,255,.65); font:500 10px var(--mono); }
.operator-methodology .soft-button { white-space:nowrap; }

[data-theme="dark"] .operators-search,
[data-theme="dark"] .operator-controls,
[data-theme="dark"] .operator-sort,
[data-theme="dark"] .operator-prefix button,
[data-theme="dark"] .operator-row,
[data-theme="dark"] .operator-methodology { background:rgba(24,27,34,.78); border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .operator-family-tabs button.active { color:#c2c4ff; background:rgba(34,38,48,.95); border-color:rgba(121,125,255,.28); }
[data-theme="dark"] .operator-family-tabs button:hover { background:rgba(31,35,43,.8); }
[data-theme="dark"] .operator-family-tabs .tab-icon { background:#20242d; }
[data-theme="dark"] .operator-avatar { color:#aeb7ff; background:linear-gradient(145deg,#20283d,#2a2339); border-color:rgba(255,255,255,.04); }
[data-theme="dark"] .operator-tlds span { background:#20242a; color:#b7becb; }
[data-theme="dark"] .operator-tlds .operator-tld-more { color:#c4b8ff; background:#2b2541; }
[data-theme="dark"] .operator-row:hover { background:rgba(30,34,42,.94); }
[data-theme="dark"] .operator-row:hover .operator-open { background:#252a36; }
[data-theme="dark"] .operator-sort select,
[data-theme="dark"] .operators-search input { color:var(--ink); }
[data-theme="dark"] .operator-note-icon { background:linear-gradient(145deg,#20283d,#29243d); color:#a9b5ff; }
[data-theme="dark"] .operator-methodology code { background:#20242a; }

@media (max-width: 1060px) {
  .operator-prefix { grid-template-columns:58px repeat(9,1fr); }
  .operator-list-head,
  .operator-row { grid-template-columns:minmax(230px,1.15fr) minmax(260px,1.3fr) minmax(180px,.75fr) 38px; gap:14px; }
  .operator-tlds span:nth-child(n+5):not(.operator-tld-more) { display:none; }
}

@media (max-width: 860px) {
  .operators-stats { grid-template-columns:repeat(2,1fr); max-width:620px; }
  .operators-stats > div { padding:18px 14px; border-bottom:1px solid var(--line-strong); }
  .operators-stats > div:nth-child(2n) { border-right:0; }
  .operators-stats > div:nth-last-child(-n+2) { border-bottom:0; }
  .operator-family-tabs { grid-template-columns:1fr; }
  .operator-family-tabs button { justify-content:flex-start; padding-inline:16px; min-height:62px; }
  .operator-prefix { grid-template-columns:58px repeat(7,1fr); }
  .operator-list-head { display:none; }
  .operator-row { grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto auto; gap:11px 12px; padding:16px; }
  .operator-identity { grid-column:1; grid-row:1; }
  .operator-open { grid-column:2; grid-row:1; }
  .operator-tlds { grid-column:1 / -1; grid-row:2; padding-top:11px; border-top:1px solid var(--line); }
  .operator-families { grid-column:1 / -1; grid-row:3; }
  .operator-methodology { grid-template-columns:auto 1fr; }
  .operator-methodology .soft-button { grid-column:1 / -1; width:100%; justify-content:center; }
}

@media (max-width: 760px) {
  .operators-hero { padding:56px 0 30px; }
  .operators-hero h1 { font-size:clamp(50px,15vw,70px); }
  .operators-hero > p { margin-top:17px; font-size:13px; }
  .operators-search { height:61px; padding-left:17px; }
  .operators-search input { font-size:11px; }
  .operators-search button { width:47px; height:47px; }
  .operators-stats { margin-top:32px; }
  .operators-stats strong { font-size:29px; }
  .operator-controls { padding:8px 16px 20px; border-radius:22px; }
  .operator-family-tabs { margin:0 -8px 20px; }
  .operator-prefix-head { align-items:center; }
  .operator-prefix { display:flex; overflow-x:auto; gap:7px; padding-bottom:4px; scrollbar-width:none; scroll-snap-type:x proximity; }
  .operator-prefix::-webkit-scrollbar { display:none; }
  .operator-prefix button { flex:0 0 38px; scroll-snap-align:start; }
  .operator-prefix button:first-child { flex-basis:54px; }
  .operator-directory { padding-top:28px; }
  .operator-toolbar { align-items:flex-start; flex-direction:column; gap:14px; }
  .operator-toolbar h2 { font-size:28px; }
  .operator-sort { width:100%; }
  .operator-sort select { width:100%; min-width:0; }
  .operator-methodology { padding:22px; border-radius:22px; }
  .operator-methodology h2 { font-size:22px; }
}

@media (max-width: 520px) {
  .operators-stats { grid-template-columns:1fr 1fr; }
  .operators-stats > div { padding:14px 8px; }
  .operators-stats strong { font-size:25px; }
  .operators-stats span { font-size:10px; }
  .operators-stats small { font-size:8.5px; }
  .operator-family-tabs button { gap:10px; }
  .operator-family-tabs .tab-icon { width:34px; height:34px; }
  .operator-family-tabs strong { font-size:11px; }
  .operator-family-tabs small { font-size:9px; }
  .operator-row { border-radius:17px; }
  .operator-avatar { width:41px; height:41px; border-radius:12px; }
  .operator-identity strong { font-size:12px; }
  .operator-tlds span { font-size:8.5px; }
  .operator-methodology { grid-template-columns:1fr; }
  .operator-note-icon { width:50px; height:50px; }
  .operator-methodology .soft-button { grid-column:auto; }
}

/* Guides index ----------------------------------------------------------- */
.guides-page {
  background:#f4f5f7;
}
.guides-page::before { display:none; }
.guides-page main { padding-bottom:10px; }

.guides-hero {
  padding:76px 0 42px;
  text-align:center;
}
.guides-hero .eyebrow-pill { margin-inline:auto; }
.guides-hero h1 {
  margin:22px 0 0;
  font-size:clamp(62px,8vw,104px);
  line-height:.92;
  letter-spacing:-.07em;
}
.guides-hero h1 span {
  background:linear-gradient(100deg,#2d62ff 8%,#6f59ff 55%,#d94ca4 96%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.guides-hero > p {
  width:min(680px,100%);
  margin:24px auto 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
}
.guides-search {
  width:min(720px,100%);
  height:70px;
  margin:34px auto 0;
  display:flex;
  align-items:center;
  gap:14px;
  padding:8px 9px 8px 20px;
  border:1px solid rgba(17,18,23,.09);
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 45px rgba(27,34,58,.08);
}
.guides-search > svg { width:21px; height:21px; color:#8790a1; flex:0 0 auto; }
.guides-search input {
  min-width:0;
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  color:var(--ink);
  font:500 13px var(--mono);
}
.guides-search input::placeholder { color:#a0a7b4; }
.guides-search button {
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:16px;
  background:#15171d;
  color:#fff;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease;
}
.guides-search button:hover { transform:translateY(-1px); background:#2d62ff; }
.guides-search button svg { width:19px; height:19px; }

.guide-filter-pills {
  margin:18px auto 0;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}
.guide-filter-pills button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.64);
  color:#687184;
  font:600 10px var(--mono);
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.guide-filter-pills button:hover { transform:translateY(-1px); color:var(--ink); }
.guide-filter-pills button.active { background:#15171d; color:#fff; border-color:#15171d; }
.guide-filter-pills button span {
  min-width:20px;
  padding:3px 6px;
  border-radius:999px;
  background:rgba(17,18,23,.06);
  color:inherit;
  font-size:9px;
}
.guide-filter-pills button.active span { background:rgba(255,255,255,.14); }

.guides-start {
  min-height:180px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:26px;
  padding:28px 30px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.guides-start-icon {
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(145deg,#edf2ff,#f6edff);
  color:#5d62f3;
}
.guides-start-icon svg { width:28px; height:28px; }
.guides-start h2 { font-size:28px; }
.guides-start p {
  max-width:650px;
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}
.guides-start-sequence {
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  color:#777f8f;
  font:600 10px var(--mono);
}
.guides-start-sequence > span {
  display:flex;
  align-items:center;
  gap:8px;
}
.guides-start-sequence b {
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:9px;
  color:#586176;
  background:#f8f9fb;
  font-size:9px;
}
.guides-start-sequence > svg { width:13px; height:13px; color:#b3b8c3; }

.guide-directory { padding:58px 0 20px; }
.guide-directory-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px;
}
.guide-directory-head h2 { font-size:38px; }
.guide-directory-head > p {
  max-width:390px;
  margin:0;
  color:var(--muted);
  font:500 11px/1.55 var(--mono);
  text-align:right;
}
.guide-group {
  display:grid;
  grid-template-columns:230px 1fr;
  gap:28px;
  padding:34px 0;
  border-top:1px solid var(--line-strong);
}
.guide-group[hidden] { display:none; }
.guide-group-title {
  position:sticky;
  top:112px;
  align-self:start;
  display:flex;
  gap:13px;
  align-items:flex-start;
}
.guide-group-icon {
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  color:#5c6679;
  box-shadow:var(--shadow-soft);
}
.guide-group-icon svg { width:18px; height:18px; }
.guide-group-title strong { display:block; padding-top:2px; font-size:14px; }
.guide-group-title small {
  display:block;
  max-width:145px;
  margin-top:5px;
  color:var(--muted);
  font:400 10px/1.45 var(--mono);
}
.guide-list { display:grid; gap:10px; }
.guide-row {
  min-height:118px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:18px;
  padding:19px 20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 5px 18px rgba(26,32,52,.025);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.guide-row[hidden] { display:none; }
.guide-row:hover {
  transform:translateY(-2px);
  border-color:rgba(67,88,255,.18);
  box-shadow:0 14px 30px rgba(31,38,67,.06);
}
.guide-row-icon {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:15px;
}
.guide-row-icon svg { width:21px; height:21px; }
.guide-row-icon.blue { background:#eaf0ff; color:#3265ff; }
.guide-row-icon.orange { background:#fff0e7; color:#f27731; }
.guide-row-icon.purple { background:#f0ebff; color:#7058e9; }
.guide-row-icon.green { background:#e8f8f1; color:#14976a; }
.guide-row-icon.pink { background:#fdebf4; color:#d94c98; }
.guide-row-copy { min-width:0; }
.guide-row-copy h3 { margin:0; font-size:16px; letter-spacing:-.015em; }
.guide-row-copy p {
  max-width:660px;
  margin:7px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}
.guide-meta {
  min-width:105px;
  display:grid;
  gap:6px;
  color:#8a92a1;
  font:500 9px var(--mono);
  text-align:right;
}
.guide-meta span:first-child { color:#5e6678; font-weight:600; }
.guide-row-arrow { width:18px; height:18px; color:#a4aab5; }
.guide-empty {
  margin-top:20px;
  padding:50px 24px;
  border:1px dashed var(--line-strong);
  border-radius:20px;
  background:rgba(255,255,255,.5);
  text-align:center;
}
.guide-empty .empty-icon {
  width:50px;
  height:50px;
  margin:0 auto 14px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#fff;
  color:#747d8f;
  box-shadow:var(--shadow-soft);
}
.guide-empty h3 { margin:0; font-size:18px; }
.guide-empty p { margin:7px 0 18px; color:var(--muted); font-size:12px; }
.guide-empty .soft-button { margin-inline:auto; }

.guide-principle {
  margin-top:22px;
  margin-bottom:28px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  padding:28px 30px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.guide-principle-icon {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:#eff1f5;
  color:#586276;
}
.guide-principle-icon svg { width:25px; height:25px; }
.guide-principle h2 { font-size:25px; }
.guide-principle p {
  max-width:760px;
  margin:9px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.65;
}

[data-theme="dark"] .guides-page { background:#101216; }
[data-theme="dark"] .guides-search,
[data-theme="dark"] .guides-start,
[data-theme="dark"] .guide-group-icon,
[data-theme="dark"] .guide-row,
[data-theme="dark"] .guide-principle,
[data-theme="dark"] .guide-empty .empty-icon { background:#171a20; border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .guide-filter-pills button { background:rgba(27,31,39,.9); }
[data-theme="dark"] .guide-filter-pills button.active { background:#f5f6f8; color:#14161b; border-color:#f5f6f8; }
[data-theme="dark"] .guides-search button { background:#f5f6f8; color:#13151a; }
[data-theme="dark"] .guides-start-icon { background:linear-gradient(145deg,#22283b,#2d2438); }
[data-theme="dark"] .guides-start-sequence b { background:#1d2129; }
[data-theme="dark"] .guide-empty { background:rgba(24,27,34,.45); }

@media (max-width: 1080px) {
  .guides-start { grid-template-columns:auto 1fr; }
  .guides-start-sequence { grid-column:1 / -1; padding-left:90px; }
  .guide-group { grid-template-columns:190px 1fr; gap:20px; }
}

@media (max-width: 860px) {
  .guides-hero { padding-top:58px; }
  .guides-start { grid-template-columns:auto 1fr; }
  .guides-start-sequence { padding-left:0; }
  .guide-group { grid-template-columns:1fr; gap:18px; }
  .guide-group-title { position:static; }
  .guide-group-title small { max-width:none; }
  .guide-directory-head { align-items:flex-start; flex-direction:column; gap:8px; }
  .guide-directory-head > p { text-align:left; }
  .guide-principle { grid-template-columns:auto 1fr; }
  .guide-principle .soft-button { grid-column:1 / -1; width:100%; justify-content:center; }
}

@media (max-width: 680px) {
  .guides-hero { padding:52px 0 30px; }
  .guides-hero h1 { font-size:clamp(52px,17vw,76px); }
  .guides-hero > p { margin-top:18px; font-size:13px; }
  .guides-search { height:62px; margin-top:26px; padding-left:16px; border-radius:18px; }
  .guides-search input { font-size:11px; }
  .guides-search button { width:46px; height:46px; flex-basis:46px; border-radius:14px; }
  .guide-filter-pills { justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; padding:2px 1px 5px; scrollbar-width:none; }
  .guide-filter-pills::-webkit-scrollbar { display:none; }
  .guide-filter-pills button { flex:0 0 auto; }
  .guides-start { grid-template-columns:1fr; gap:17px; min-height:0; padding:22px; border-radius:20px; }
  .guides-start-icon { width:52px; height:52px; border-radius:15px; }
  .guides-start h2 { font-size:23px; }
  .guides-start-sequence { display:grid; grid-template-columns:1fr; gap:7px; }
  .guides-start-sequence > svg { display:none; }
  .guide-directory { padding-top:42px; }
  .guide-directory-head h2 { font-size:31px; }
  .guide-group { padding:28px 0; }
  .guide-row { grid-template-columns:auto minmax(0,1fr) auto; gap:14px; min-height:0; padding:17px; border-radius:17px; }
  .guide-row-icon { width:43px; height:43px; border-radius:13px; }
  .guide-row-copy h3 { font-size:14px; }
  .guide-row-copy p { margin-top:5px; font-size:11px; }
  .guide-meta { grid-column:2 / 3; min-width:0; grid-template-columns:auto auto; justify-content:start; gap:10px; text-align:left; }
  .guide-row-arrow { grid-column:3; grid-row:1; }
  .guide-principle { grid-template-columns:1fr; gap:17px; padding:22px; border-radius:20px; }
  .guide-principle h2 { font-size:22px; }
  .guide-principle .soft-button { grid-column:auto; }
}

@media (max-width: 430px) {
  .guides-hero h1 { letter-spacing:-.065em; }
  .guides-start p, .guide-principle p { font-size:11px; }
  .guide-row { grid-template-columns:1fr auto; }
  .guide-row-icon { grid-column:1; grid-row:1; }
  .guide-row-copy { grid-column:1 / -1; grid-row:2; }
  .guide-meta { grid-column:1; grid-row:3; }
  .guide-row-arrow { grid-column:2; grid-row:1; align-self:center; }
}

/* Guide detail ------------------------------------------------------------ */
.guide-detail-page {
  background:#f7f8fa;
}
.guide-detail-page::before { display:none; }
.guide-detail-page .site-header { top:12px; }
.guide-reading-progress {
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:3px;
  z-index:90;
  background:transparent;
  pointer-events:none;
}
.guide-reading-progress > span {
  display:block;
  width:0;
  height:100%;
  background:linear-gradient(90deg,#386bff,#7658ff 55%,#ec4fa0);
  transition:width .08s linear;
}
.guide-breadcrumbs {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  padding-top:46px;
  color:#8a91a1;
  font:500 11px var(--mono);
}
.guide-breadcrumbs a:hover { color:var(--ink); }
.guide-breadcrumbs svg { width:13px; height:13px; }
.guide-detail-hero {
  padding:27px 0 38px;
  border-bottom:1px solid var(--line);
}
.guide-detail-hero-grid {
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(220px,1fr);
  gap:64px;
  align-items:end;
}
.guide-detail-kicker {
  display:flex;
  align-items:center;
  gap:10px;
  color:#70798b;
  font:600 11px var(--mono);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.guide-detail-kicker .guide-row-icon { width:36px; height:36px; border-radius:11px; }
.guide-detail-kicker .guide-row-icon svg { width:16px; height:16px; }
.guide-detail-hero h1 {
  max-width:760px;
  margin:20px 0 0;
  font-size:clamp(46px,7vw,86px);
  line-height:.96;
  letter-spacing:-.06em;
  font-weight:800;
}
.guide-detail-hero h1 span { color:#848b99; }
.guide-detail-dek {
  max-width:760px;
  margin:24px 0 0;
  color:#667083;
  font:400 clamp(14px,1.8vw,18px)/1.7 var(--mono);
}
.guide-hero-meta {
  display:grid;
  gap:10px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.guide-hero-meta-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:8px 2px;
  border-bottom:1px solid var(--line);
  font:500 10px var(--mono);
}
.guide-hero-meta-row:last-child { border-bottom:0; }
.guide-hero-meta-row span { color:#9299a7; }
.guide-hero-meta-row strong { font-weight:600; text-align:right; }
.guide-layout {
  display:grid;
  grid-template-columns:205px minmax(0,690px) 205px;
  justify-content:space-between;
  gap:42px;
  padding-top:42px;
  padding-bottom:86px;
}
.guide-side-nav,
.guide-toc {
  position:sticky;
  top:112px;
  align-self:start;
}
.guide-side-title,
.guide-toc-title {
  display:block;
  margin-bottom:13px;
  color:#9aa1af;
  font:600 9px var(--mono);
  text-transform:uppercase;
  letter-spacing:.1em;
}
.guide-side-nav nav,
.guide-toc nav { display:grid; gap:4px; }
.guide-side-nav a,
.guide-toc a {
  display:flex;
  align-items:center;
  gap:9px;
  min-height:34px;
  padding:8px 9px;
  border-radius:10px;
  color:#747d8d;
  font:500 10px/1.35 var(--mono);
  transition:.16s ease;
}
.guide-side-nav a:hover,
.guide-toc a:hover { background:#fff; color:#252a35; }
.guide-side-nav a.active,
.guide-toc a.active {
  background:#fff;
  color:#1c2029;
  box-shadow:0 5px 16px rgba(30,35,60,.05);
}
.guide-side-nav a.active::before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  flex:0 0 auto;
  background:#4d6dff;
}
.guide-side-group + .guide-side-group { margin-top:24px; }
.guide-toc a { position:relative; padding-left:14px; }
.guide-toc a::before {
  content:"";
  position:absolute;
  left:0;
  width:2px;
  height:16px;
  border-radius:2px;
  background:transparent;
}
.guide-toc a.active::before { background:#536fff; }
.guide-mobile-toc { display:none; }
.guide-article { min-width:0; }
.guide-tldr {
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  padding:20px 21px;
  margin-bottom:36px;
  border:1px solid rgba(67,88,255,.14);
  border-radius:18px;
  background:linear-gradient(135deg,#f0f4ff,#fafbff 55%,#fff4fa);
}
.guide-tldr-icon {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#fff;
  color:#526dff;
  box-shadow:0 4px 14px rgba(53,70,130,.07);
}
.guide-tldr-icon svg { width:18px; height:18px; }
.guide-tldr strong { display:block; font:700 11px var(--mono); text-transform:uppercase; letter-spacing:.07em; }
.guide-tldr p { margin:7px 0 0; color:#5f687a; font-size:13px; line-height:1.65; }
.guide-section {
  scroll-margin-top:120px;
  padding:6px 0 34px;
}
.guide-section + .guide-section { border-top:1px solid var(--line); padding-top:36px; }
.guide-section h2 {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 16px;
  font-size:clamp(26px,3vw,34px);
  letter-spacing:-.04em;
}
.guide-section h2 .heading-anchor {
  opacity:0;
  color:#9299a7;
  transition:.15s ease;
}
.guide-section h2:hover .heading-anchor,
.guide-section h2 .heading-anchor:focus-visible { opacity:1; }
.guide-section h2 .heading-anchor svg { width:16px; height:16px; }
.guide-section h3 { margin:28px 0 9px; font-size:18px; letter-spacing:-.025em; }
.guide-section p,
.guide-section li {
  color:#525c6e;
  font-size:14px;
  line-height:1.8;
}
.guide-section p { margin:0 0 16px; }
.guide-section ul,
.guide-section ol { margin:14px 0 20px; padding-left:22px; }
.guide-section li + li { margin-top:7px; }
.guide-section code,
.guide-inline-code {
  padding:2px 6px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
  color:#303849;
  font:500 11px var(--mono);
}
.guide-callout {
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  margin:22px 0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.guide-callout > svg { width:18px; height:18px; margin-top:2px; color:#6070a4; }
.guide-callout strong { display:block; margin-bottom:5px; font-size:12px; }
.guide-callout p { margin:0; font-size:12px; line-height:1.6; }
.guide-callout.warning { background:#fffaf5; border-color:rgba(255,124,50,.18); }
.guide-callout.warning > svg { color:#e67c35; }
.guide-callout.success { background:#f5fbf8; border-color:rgba(8,165,104,.16); }
.guide-callout.success > svg { color:#11966c; }
.guide-diagram {
  margin:24px 0;
  padding:24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  overflow:hidden;
}
.guide-diagram-label {
  display:block;
  margin-bottom:20px;
  color:#8c94a3;
  font:600 9px var(--mono);
  text-transform:uppercase;
  letter-spacing:.09em;
}
.dns-stack { display:grid; justify-items:center; gap:9px; }
.dns-node {
  width:min(100%,440px);
  padding:14px 18px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#f9fafc;
  text-align:center;
  font:600 12px var(--mono);
}
.dns-node strong { display:block; color:#222734; }
.dns-node small { display:block; margin-top:4px; color:#8c94a3; font:400 9px var(--mono); }
.dns-arrow { color:#a0a7b4; }
.dns-arrow svg { width:16px; height:16px; }
.guide-comparison {
  width:100%;
  margin:22px 0;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  font-size:12px;
}
.guide-comparison th,
.guide-comparison td {
  padding:13px 15px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.guide-comparison th {
  color:#737c8d;
  background:#f8f9fb;
  font:600 9px var(--mono);
  text-transform:uppercase;
  letter-spacing:.06em;
}
.guide-comparison td { color:#50596b; line-height:1.55; }
.guide-comparison tr:last-child td { border-bottom:0; }
.guide-source-list { display:grid; gap:9px; margin-top:18px; }
.guide-source-link {
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  transition:.16s ease;
}
.guide-source-link:hover { transform:translateY(-1px); border-color:rgba(67,88,255,.18); }
.guide-source-link > svg:first-child { width:17px; height:17px; color:#67738c; }
.guide-source-link strong { display:block; font-size:11px; }
.guide-source-link small { display:block; margin-top:3px; color:#939aa7; font:400 9px var(--mono); }
.guide-source-link > svg:last-child { width:14px; height:14px; color:#9ba2af; }
.guide-related {
  padding-top:32px;
  border-top:1px solid var(--line);
}
.guide-related-head {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
  margin-bottom:15px;
}
.guide-related-head h2 { font-size:25px; }
.guide-related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.guide-related-card {
  min-height:138px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  transition:.16s ease;
}
.guide-related-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.guide-related-card .guide-row-icon { width:40px; height:40px; border-radius:12px; }
.guide-related-card strong { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13px; }
.guide-related-card strong svg { width:15px; height:15px; color:#9ca3af; }
.guide-article-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:32px;
  padding-top:20px;
  border-top:1px solid var(--line);
  color:#9299a7;
  font:500 9px var(--mono);
}
.guide-article-actions { display:flex; gap:7px; }
.guide-article-actions button {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:#687184;
  cursor:pointer;
  font:500 9px var(--mono);
}
.guide-article-actions button svg { width:13px; height:13px; }
.guide-row { position:relative; }
.guide-row-link { position:absolute; inset:0; z-index:2; border-radius:inherit; }
.guide-row > *:not(.guide-row-link) { pointer-events:none; }

[data-theme="dark"] .guide-detail-page { background:#101216; }
[data-theme="dark"] .guide-hero-meta,
[data-theme="dark"] .guide-side-nav a:hover,
[data-theme="dark"] .guide-side-nav a.active,
[data-theme="dark"] .guide-toc a:hover,
[data-theme="dark"] .guide-toc a.active,
[data-theme="dark"] .guide-callout,
[data-theme="dark"] .guide-diagram,
[data-theme="dark"] .guide-comparison,
[data-theme="dark"] .guide-source-link,
[data-theme="dark"] .guide-related-card,
[data-theme="dark"] .guide-article-actions button,
[data-theme="dark"] .guide-section code,
[data-theme="dark"] .guide-inline-code { background:#171a20; border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .guide-tldr { background:linear-gradient(135deg,#171c2c,#171a20 55%,#211720); border-color:rgba(100,116,255,.15); }
[data-theme="dark"] .guide-tldr-icon { background:#20242c; }
[data-theme="dark"] .guide-callout.warning { background:#211b17; }
[data-theme="dark"] .guide-callout.success { background:#14211b; }
[data-theme="dark"] .dns-node,
[data-theme="dark"] .guide-comparison th { background:#1c2027; }
[data-theme="dark"] .guide-section p,
[data-theme="dark"] .guide-section li,
[data-theme="dark"] .guide-comparison td { color:#a9b0bc; }
[data-theme="dark"] .dns-node strong { color:#eef0f4; }
[data-theme="dark"] .guide-section code { color:#d5d9e0; }

@media (max-width:1080px) {
  .guide-detail-hero-grid { grid-template-columns:1fr 250px; gap:36px; }
  .guide-layout { grid-template-columns:180px minmax(0,1fr); gap:34px; }
  .guide-toc { display:none; }
  .guide-mobile-toc {
    display:block;
    margin-bottom:28px;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
  }
  .guide-mobile-toc summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 16px;
    cursor:pointer;
    list-style:none;
    font:600 10px var(--mono);
  }
  .guide-mobile-toc summary::-webkit-details-marker { display:none; }
  .guide-mobile-toc nav { display:grid; gap:3px; padding:0 10px 10px; }
  .guide-mobile-toc nav a { padding:9px; border-radius:8px; color:#737c8d; font:500 10px var(--mono); }
  [data-theme="dark"] .guide-mobile-toc { background:#171a20; border-color:rgba(255,255,255,.08); }
}

@media (max-width:820px) {
  .guide-breadcrumbs { padding-top:34px; }
  .guide-detail-hero-grid { grid-template-columns:1fr; }
  .guide-hero-meta { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
  .guide-hero-meta-row { display:grid; gap:4px; border-bottom:0; border-right:1px solid var(--line); padding:5px 12px; }
  .guide-hero-meta-row:last-child { border-right:0; }
  .guide-hero-meta-row strong { text-align:left; }
  .guide-layout { grid-template-columns:1fr; padding-top:28px; }
  .guide-side-nav { display:none; }
}

@media (max-width:600px) {
  .guide-detail-hero { padding-bottom:28px; }
  .guide-detail-hero h1 { font-size:clamp(43px,14vw,62px); }
  .guide-detail-dek { margin-top:18px; font-size:12px; line-height:1.7; }
  .guide-hero-meta { grid-template-columns:1fr; padding:10px 14px; }
  .guide-hero-meta-row { display:flex; border-right:0; border-bottom:1px solid var(--line); padding:10px 0; }
  .guide-hero-meta-row:last-child { border-bottom:0; }
  .guide-hero-meta-row strong { text-align:right; }
  .guide-layout { padding-bottom:56px; }
  .guide-tldr { grid-template-columns:1fr; padding:17px; }
  .guide-section { padding-bottom:28px; }
  .guide-section + .guide-section { padding-top:29px; }
  .guide-section h2 { font-size:27px; }
  .guide-section p,
  .guide-section li { font-size:13px; line-height:1.75; }
  .guide-diagram { padding:18px 14px; }
  .guide-table-scroll { overflow-x:auto; margin-inline:-2px; padding-bottom:5px; }
  .guide-comparison { min-width:580px; }
  .guide-related-grid { grid-template-columns:1fr; }
  .guide-article-footer { align-items:flex-start; flex-direction:column; }
  .guide-article-actions { width:100%; }
  .guide-article-actions button { flex:1; justify-content:center; }
}

@media print {
  .site-header, .site-footer, .guide-side-nav, .guide-toc, .guide-mobile-toc, .guide-article-actions, .search-dialog, .guide-reading-progress { display:none !important; }
  body.guide-detail-page { background:#fff !important; }
  .guide-breadcrumbs { padding-top:0; }
  .guide-detail-hero-grid, .guide-layout { display:block; }
  .guide-hero-meta { margin-top:20px; box-shadow:none; }
  .guide-layout { padding:24px 0; }
  .guide-section, .guide-section + .guide-section { break-inside:avoid; }
}
.guides-start-sequence > a { display:inline-flex; align-items:center; gap:8px; color:inherit; }
.guides-start-sequence > a:hover { color:var(--ink); }
@media (max-width:680px) { .guides-start-sequence > a { width:max-content; } }

/* ================================================================
   About / Methodology / Data trust layer
   ================================================================ */
.trust-page {
  background:
    radial-gradient(54% 28% at 78% 8%, rgba(81,103,255,.075), transparent 72%),
    linear-gradient(180deg,#f7f8fa 0%,#f3f4f6 100%);
}
.trust-page::before { opacity:.62; }
.trust-page .desktop-nav a.active { color:#111319; font-weight:700; }
.trust-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
  gap:72px;
  align-items:end;
  padding-top:96px;
  padding-bottom:76px;
}
.trust-hero-copy .eyebrow-pill { margin:0 0 28px; }
.trust-hero h1 {
  max-width:900px;
  margin:0;
  font-size:clamp(58px,7.9vw,104px);
  line-height:.92;
  letter-spacing:-.068em;
  font-weight:800;
}
.trust-hero h1 span { color:#8d94a1; }
.trust-hero-copy > p {
  max-width:760px;
  margin:29px 0 0;
  color:#667083;
  font:400 clamp(15px,1.6vw,18px)/1.72 var(--mono);
}
.trust-hero-note,
.dataset-status {
  align-self:end;
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:rgba(255,255,255,.76);
  box-shadow:var(--shadow-soft);
  padding:25px;
}
.trust-hero-note::after,
.dataset-status::after {
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-110px;
  bottom:-120px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(92,104,255,.13),transparent 68%);
  pointer-events:none;
}
.trust-hero-note > svg { width:22px; height:22px; color:#6873d6; }
.trust-hero-note p {
  margin:38px 0 20px;
  font-size:20px;
  line-height:1.38;
  letter-spacing:-.025em;
  font-weight:650;
}
.trust-hero-note span {
  color:#9299a7;
  font:600 9px var(--mono);
  text-transform:uppercase;
  letter-spacing:.09em;
}
.method-note > svg { color:#129468; }
.trust-section {
  display:grid;
  grid-template-columns:185px minmax(0,1fr);
  gap:70px;
  padding-top:70px;
  padding-bottom:70px;
  border-top:1px solid var(--line-strong);
}
.trust-section-label {
  align-self:start;
  position:sticky;
  top:112px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#7c8595;
  font:600 10px var(--mono);
  text-transform:uppercase;
  letter-spacing:.085em;
}
.trust-section-label span {
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:9px;
  background:rgba(255,255,255,.7);
  color:#536176;
  font-size:9px;
  letter-spacing:0;
}
.trust-prose,
.trust-wide { min-width:0; }
.trust-prose > h2,
.trust-wide > h2 {
  max-width:900px;
  margin:0 0 24px;
  font-size:clamp(34px,4.5vw,58px);
  line-height:1.02;
  letter-spacing:-.052em;
}
.trust-prose > p {
  max-width:790px;
  margin:0 0 17px;
  color:#596375;
  font-size:15px;
  line-height:1.82;
}
.trust-prose > p code,
.trust-wide code {
  padding:2px 6px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  font:500 11px var(--mono);
}
.principle-list {
  margin-top:32px;
  border-top:1px solid var(--line-strong);
}
.principle-row {
  display:grid;
  grid-template-columns:54px minmax(0,1fr) 54px;
  gap:24px;
  align-items:center;
  padding:23px 4px;
  border-bottom:1px solid var(--line-strong);
}
.principle-icon {
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:#596bda;
}
.principle-icon svg { width:20px; height:20px; }
.principle-row strong { display:block; margin-bottom:6px; font-size:15px; }
.principle-row p { max-width:760px; margin:0; color:#737c8d; font-size:12px; line-height:1.65; }
.principle-number { color:#b0b5bf; font:600 10px var(--mono); text-align:right; }
.scope-columns {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  margin-top:32px;
}
.scope-heading {
  display:flex;
  align-items:center;
  gap:9px;
  padding-bottom:13px;
  border-bottom:1px solid var(--line-strong);
  color:#198960;
  font:700 10px var(--mono);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.scope-heading svg { width:15px; height:15px; }
.scope-heading.muted { color:#838b99; }
.scope-columns ul { margin:17px 0 0; padding:0; list-style:none; }
.scope-columns li {
  position:relative;
  padding:9px 0 9px 18px;
  color:#596375;
  font-size:13px;
  line-height:1.48;
  border-bottom:1px solid rgba(17,18,23,.05);
}
.scope-columns li::before {
  content:"";
  position:absolute;
  top:16px;
  left:0;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#a6adba;
}
.pipeline {
  display:grid;
  grid-template-columns:minmax(130px,1fr) auto minmax(130px,1fr) auto minmax(130px,1fr) auto minmax(130px,1fr);
  align-items:center;
  gap:10px;
  margin:30px 0 4px;
}
.pipeline > div {
  min-height:126px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:7px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
}
.pipeline > div > svg { width:20px; height:20px; margin-bottom:9px; color:#6875d7; }
.pipeline strong { font-size:12px; }
.pipeline small { color:#9097a5; font:400 9px var(--mono); }
.pipeline > svg { width:16px; height:16px; color:#a1a8b5; }
.trust-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:30px; }
.trust-actions .soft-button { gap:9px; }
.trust-cta {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-top:8px;
  margin-bottom:28px;
  padding:36px 38px;
  border:1px solid var(--line);
  border-radius:26px;
  background:linear-gradient(120deg,rgba(255,255,255,.86),rgba(246,248,255,.86) 56%,rgba(255,247,251,.82));
  box-shadow:var(--shadow-soft);
}
.trust-cta h2 { max-width:780px; margin:8px 0 0; font-size:clamp(26px,3.6vw,43px); line-height:1.06; letter-spacing:-.045em; }

/* Methodology */
.source-ledger { display:grid; margin-top:31px; border-top:1px solid var(--line-strong); }
.source-ledger a {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:18px 4px;
  border-bottom:1px solid var(--line-strong);
  transition:.16s ease;
}
.source-ledger a:hover { padding-left:7px; }
.source-ledger-icon,
.data-file-icon {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  color:#6270cb;
}
.source-ledger-icon svg,
.data-file-icon svg { width:18px; height:18px; }
.source-ledger strong,
.data-file-list strong { display:block; font-size:13px; }
.source-ledger small,
.data-file-list small { display:block; max-width:760px; margin-top:5px; color:#828a99; font:400 10px/1.55 var(--mono); }
.source-ledger > a > svg:last-child { width:15px; height:15px; color:#a3aab7; }
.fact-stack { margin-top:30px; border-top:1px solid var(--line-strong); }
.fact-stack > div {
  display:grid;
  grid-template-columns:170px 1fr;
  gap:24px;
  align-items:start;
  padding:20px 4px;
  border-bottom:1px solid var(--line-strong);
}
.fact-stack p { margin:0; color:#626c7e; font-size:13px; line-height:1.65; }
.fact-tag {
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 9px;
  border-radius:999px;
  font:650 9px var(--mono);
  text-transform:uppercase;
  letter-spacing:.055em;
}
.fact-tag.source { background:#eaf7f1; color:#18815e; }
.fact-tag.derived { background:#edf1ff; color:#5369cf; }
.fact-tag.editorial { background:#f4eefc; color:#7956b4; }
.fact-tag.unknown { background:#f0f1f3; color:#777f8d; }
.field-map {
  margin-top:30px;
  border-top:1px solid var(--line-strong);
  font-size:12px;
}
.field-map > div {
  display:grid;
  grid-template-columns:minmax(150px,.8fr) minmax(135px,.7fr) minmax(0,1.9fr);
  gap:18px;
  align-items:start;
  padding:14px 4px;
  border-bottom:1px solid var(--line-strong);
}
.field-map-head {
  color:#939aa7;
  font:600 9px var(--mono);
  text-transform:uppercase;
  letter-spacing:.075em;
}
.field-map code { width:max-content; max-width:100%; color:#364054; }
.field-map > div > span:not(.field-map-head span) { color:#606a7c; font:600 10px var(--mono); }
.field-map p { margin:0; color:#737c8c; line-height:1.55; }
.validation-list { margin:31px 0 0; padding:0; list-style:none; border-top:1px solid var(--line-strong); }
.validation-list li {
  display:grid;
  grid-template-columns:45px minmax(0,1fr);
  gap:16px;
  padding:18px 4px;
  border-bottom:1px solid var(--line-strong);
}
.validation-list li > span { color:#a2a8b4; font:600 9px var(--mono); padding-top:3px; }
.validation-list strong { display:block; margin-bottom:5px; font-size:13px; }
.validation-list p { margin:0; color:#6f7889; font-size:12px; line-height:1.6; }
.method-rule {
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  max-width:780px;
  margin-top:26px;
  padding:18px;
  border:1px solid rgba(255,124,50,.16);
  border-radius:16px;
  background:#fffaf5;
}
.method-rule > svg { width:18px; height:18px; margin-top:2px; color:#dc7e3f; }
.method-rule strong { display:block; margin-bottom:4px; font-size:12px; }
.method-rule p { margin:0; color:#796c62; font-size:11px; line-height:1.6; }

/* Data reference */
.data-hero .trust-actions { margin-top:28px; }
.dataset-status-head { display:flex; align-items:center; gap:9px; font:700 11px var(--mono); }
.dataset-status .mini-status.orange { width:8px; height:8px; background:#f0a04b; box-shadow:0 0 0 5px rgba(240,160,75,.12); }
.dataset-status > p { margin:18px 0 24px; color:#6c7586; font-size:12px; line-height:1.65; }
.dataset-status-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
  padding-top:16px;
}
.dataset-status-stats > div { padding:0 12px; border-right:1px solid var(--line); }
.dataset-status-stats > div:first-child { padding-left:0; }
.dataset-status-stats > div:last-child { padding-right:0; border-right:0; }
.dataset-status-stats span { display:block; color:#969daa; font:500 8px var(--mono); text-transform:uppercase; letter-spacing:.07em; }
.dataset-status-stats strong { display:block; margin-top:6px; font:650 21px var(--mono); letter-spacing:-.04em; }
.data-file-list { margin-top:30px; border-top:1px solid var(--line-strong); }
.data-file-list > a,
.data-file-row {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  gap:15px;
  align-items:center;
  padding:18px 4px;
  border-bottom:1px solid var(--line-strong);
}
.data-file-list > a { transition:.16s ease; }
.data-file-list > a:hover { padding-left:7px; }
.data-file-list code {
  padding:6px 8px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:#737c8d;
  font:600 8px var(--mono);
  text-transform:uppercase;
  letter-spacing:.05em;
}
.data-file-list > * > svg:last-child { width:15px; height:15px; color:#a1a8b5; }
.data-file-row.planned { opacity:.72; }
.code-panel {
  overflow:hidden;
  margin-top:29px;
  border:1px solid var(--line-strong);
  border-radius:20px;
  background:#11141a;
  box-shadow:0 16px 38px rgba(26,31,46,.1);
}
.code-panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:13px 16px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:#959eae;
  font:500 9px var(--mono);
}
.code-panel-head span:first-child { color:#e4e7ed; font-weight:600; }
.code-panel pre { margin:0; padding:22px; overflow:auto; }
.code-panel pre code {
  padding:0;
  border:0;
  background:transparent;
  color:#d9dee8;
  font:400 11px/1.72 var(--mono);
}
.data-dictionary > div {
  grid-template-columns:minmax(150px,.72fr) minmax(0,1.75fr) minmax(150px,.85fr);
}
.data-dictionary > div > span:last-child { color:#6a7486; font:500 10px/1.5 var(--mono); }
.coverage-list { margin-top:30px; border-top:1px solid var(--line-strong); }
.coverage-list a {
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr) auto;
  gap:20px;
  align-items:center;
  padding:16px 4px;
  border-bottom:1px solid var(--line-strong);
  transition:.16s ease;
}
.coverage-list a:hover { padding-left:7px; }
.coverage-list a > span:first-child { display:flex; align-items:center; gap:10px; }
.coverage-list a > span:first-child svg { width:17px; height:17px; color:#6975c8; }
.coverage-list strong { font-size:12px; }
.coverage-list a > span:nth-child(2) { color:#87909f; font:500 9px/1.5 var(--mono); }
.coverage-list a > svg { width:14px; height:14px; color:#9fa6b3; }
.data-rule { border-color:rgba(91,107,217,.13); background:#f8f9ff; }
.data-rule > svg { color:#6975c8; }
.data-rule p { color:#6f7485; }

[data-theme="dark"] .trust-page { background:linear-gradient(180deg,#111319,#0f1115); }
[data-theme="dark"] .trust-page .desktop-nav a.active { color:#f4f6f9; }
[data-theme="dark"] .trust-hero-note,
[data-theme="dark"] .dataset-status,
[data-theme="dark"] .principle-icon,
[data-theme="dark"] .pipeline > div,
[data-theme="dark"] .source-ledger-icon,
[data-theme="dark"] .data-file-icon,
[data-theme="dark"] .data-file-list code,
[data-theme="dark"] .trust-prose > p code,
[data-theme="dark"] .trust-wide code { background:#171a20; border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .trust-section-label span { background:#171a20; border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .trust-hero-copy > p,
[data-theme="dark"] .trust-prose > p,
[data-theme="dark"] .scope-columns li,
[data-theme="dark"] .principle-row p,
[data-theme="dark"] .fact-stack p,
[data-theme="dark"] .field-map p,
[data-theme="dark"] .validation-list p,
[data-theme="dark"] .dataset-status > p { color:#a2aab8; }
[data-theme="dark"] .trust-cta { background:linear-gradient(120deg,#171a20,#171a22 56%,#1d171d); border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .method-rule { background:#211b17; border-color:rgba(255,124,50,.15); }
[data-theme="dark"] .method-rule p { color:#baa899; }
[data-theme="dark"] .data-rule { background:#171927; border-color:rgba(91,107,217,.16); }
[data-theme="dark"] .data-rule p { color:#a6adbb; }
[data-theme="dark"] .fact-tag.source { background:#14231d; color:#65c6a1; }
[data-theme="dark"] .fact-tag.derived { background:#171d31; color:#91a2ff; }
[data-theme="dark"] .fact-tag.editorial { background:#241a2b; color:#c29de3; }
[data-theme="dark"] .fact-tag.unknown { background:#202329; color:#aab0ba; }

@media (max-width:980px) {
  .trust-hero { grid-template-columns:minmax(0,1fr) 300px; gap:40px; }
  .trust-section { grid-template-columns:145px minmax(0,1fr); gap:40px; }
  .pipeline { grid-template-columns:1fr auto 1fr; }
  .pipeline > div:nth-of-type(3) { grid-column:1; }
  .pipeline > svg:nth-of-type(2) { display:none; }
  .pipeline > div:nth-of-type(4) { grid-column:3; }
  .pipeline > svg:nth-of-type(3) { grid-column:2; grid-row:2; }
}

@media (max-width:760px) {
  .trust-hero { grid-template-columns:1fr; gap:24px; padding-top:61px; padding-bottom:48px; }
  .trust-hero h1 { font-size:clamp(52px,16vw,76px); }
  .trust-hero-copy > p { margin-top:21px; font-size:13px; line-height:1.7; }
  .trust-hero-note, .dataset-status { padding:20px; border-radius:20px; }
  .trust-hero-note p { margin:25px 0 16px; font-size:17px; }
  .trust-section { grid-template-columns:1fr; gap:25px; padding-top:48px; padding-bottom:48px; }
  .trust-section-label { position:static; }
  .trust-prose > h2, .trust-wide > h2 { font-size:clamp(31px,9vw,44px); }
  .scope-columns { grid-template-columns:1fr; gap:30px; }
  .principle-row { grid-template-columns:46px minmax(0,1fr); gap:14px; padding:19px 0; }
  .principle-icon { width:42px; height:42px; }
  .principle-number { display:none; }
  .pipeline { grid-template-columns:1fr; gap:8px; }
  .pipeline > div, .pipeline > div:nth-of-type(3), .pipeline > div:nth-of-type(4) { grid-column:auto; min-height:100px; }
  .pipeline > svg, .pipeline > svg:nth-of-type(2), .pipeline > svg:nth-of-type(3) { display:block; grid-column:auto; grid-row:auto; justify-self:center; transform:rotate(90deg); }
  .trust-cta { align-items:flex-start; flex-direction:column; padding:27px 22px; border-radius:21px; }
  .fact-stack > div { grid-template-columns:1fr; gap:10px; }
  .field-map { overflow-x:auto; padding-bottom:5px; }
  .field-map > div { min-width:680px; }
  .data-file-list > a, .data-file-row { grid-template-columns:auto minmax(0,1fr) auto; }
  .data-file-list > * > svg:last-child { display:none; }
  .coverage-list a { grid-template-columns:minmax(0,1fr) auto; gap:10px; }
  .coverage-list a > span:nth-child(2) { grid-column:1; }
  .coverage-list a > svg { grid-column:2; grid-row:1 / span 2; }
  .code-panel pre { padding:18px; }
}

@media (max-width:520px) {
  .trust-hero-copy .eyebrow-pill { margin-bottom:21px; }
  .trust-hero h1 { font-size:clamp(45px,15.5vw,63px); }
  .trust-actions { align-items:stretch; flex-direction:column; gap:10px; }
  .trust-actions .soft-button, .trust-actions .text-link { justify-content:center; width:100%; }
  .dataset-status-stats { grid-template-columns:1fr; gap:0; }
  .dataset-status-stats > div { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-right:0; border-bottom:1px solid var(--line); }
  .dataset-status-stats > div:last-child { border-bottom:0; }
  .dataset-status-stats strong { margin:0; font-size:18px; }
  .data-file-list > a, .data-file-row { grid-template-columns:42px minmax(0,1fr); }
  .data-file-list code { grid-column:2; width:max-content; }
  .source-ledger a { grid-template-columns:42px minmax(0,1fr); }
  .source-ledger > a > svg:last-child { display:none; }
  .validation-list li { grid-template-columns:34px minmax(0,1fr); }
  .trust-cta .soft-button { width:100%; justify-content:center; }
}


/* ═══════════════════════════════════════════════════════
   Operator detail pages
   ═══════════════════════════════════════════════════════ */

.operator-detail-hero {
  padding-block: 3rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.operator-detail-avatar {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--brand-gradient, linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  letter-spacing: .02em;
}
.operator-detail-subtitle {
  color: var(--muted);
  margin-top: .35rem;
}
.operator-detail-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.operator-detail-tlds {
  padding-block: 1.5rem 3rem;
}
.operator-tld-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: .75rem;
  overflow: hidden;
}
.operator-tld-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: background .15s;
}
.operator-tld-item:hover { background: var(--hover-bg, rgba(0,0,0,.03)); }
.operator-tld-item .tld-label {
  font-weight: 600;
  font-family: var(--mono);
  min-width: 10rem;
}
.operator-tld-item .tld-type-badge { margin-left: auto; }
.operator-tld-item [data-lucide] { width: 1rem; height: 1rem; color: var(--muted); flex-shrink: 0; }

.operator-detail-note {
  padding-block: 2rem 3rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.operator-detail-note .soft-button { margin-left: auto; }

@media (max-width: 640px) {
  .operator-detail-hero { flex-direction: column; gap: 1rem; }
  .operator-tld-item .tld-label { min-width: 0; }
}

/* ═══════════════════════════════════════════════════════
   Type detail pages
   ═══════════════════════════════════════════════════════ */

.type-hero {
  padding-block: 3rem 2rem;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}
.type-hero .icon-chip.large {
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.type-hero .icon-chip.large [data-lucide] { width: 1.5rem; height: 1.5rem; }
.type-hero p { color: var(--muted); margin-top: .75rem; }
.type-hero-meta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--muted);
}
.type-hero-meta a { color: var(--accent); text-decoration: none; }
.type-hero-meta a:hover { text-decoration: underline; }
.type-hero-meta [data-lucide] { width: .75rem; height: .75rem; vertical-align: baseline; }

.type-tld-directory { padding-block: 1.5rem 3rem; }
.type-tld-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: .75rem;
  overflow: hidden;
  max-height: 80vh;
  overflow-y: auto;
}
.type-tld-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: background .15s;
}
.type-tld-row:hover { background: var(--hover-bg, rgba(0,0,0,.03)); }
.type-tld-row .tld-label {
  font-weight: 600;
  font-family: var(--mono);
  min-width: 10rem;
}
.type-tld-row .tld-operator {
  color: var(--muted);
  font-size: .875rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.type-tld-row .tld-extra-badge {
  font-size: .75rem;
  padding: .1rem .4rem;
  border-radius: .25rem;
  background: var(--badge-bg, rgba(0,0,0,.06));
  color: var(--muted);
  font-family: var(--mono);
}
.type-tld-row .tld-type-badge { margin-left: auto; flex-shrink: 0; }
.type-tld-row [data-lucide] { width: 1rem; height: 1rem; color: var(--muted); flex-shrink: 0; }

.type-related { padding-block: 2rem 3rem; }
.type-related-grid {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.type-related-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: .5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  font-size: .875rem;
  transition: border-color .15s;
}
.type-related-link:hover { border-color: var(--accent); }

/* IDN note on detail page */
.detail-idn-note {
  margin-top: .5rem;
  font-size: .875rem;
  color: var(--muted);
}
.detail-idn-note code {
  font-family: var(--mono);
  background: var(--badge-bg, rgba(0,0,0,.06));
  padding: .1rem .35rem;
  border-radius: .2rem;
}

@media (max-width: 640px) {
  .type-tld-row .tld-label { min-width: 0; }
  .type-tld-row .tld-operator { display: none; }
}
