/* ============================================================
   Namefolio — light editorial portfolio
   A clear, high-contrast reading experience with larger type.
   ============================================================ */

:root {
  --bg: #f6f2e9;
  --bg-elevated: #fffdf9;
  --surface: #fffdf9;
  --surface-2: #f1ece0;
  --text: #171a15;
  --muted: #4f584d;
  --muted-2: #5d655a;
  --line: rgba(23, 26, 21, 0.12);
  --line-strong: rgba(23, 26, 21, 0.26);
  --accent: #c83d1c;
  --accent-bright: #a92f11;
  --accent-soft: rgba(200, 61, 28, 0.09);
  --emerald: #146c4b;
  --emerald-soft: rgba(20, 108, 75, 0.09);
  --amber: #82580f;
  --amber-soft: rgba(160, 110, 20, 0.12);
  --cream-soft: rgba(23, 26, 21, 0.045);
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --container: 1200px;
  --radius: 18px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse 55% 42% at 92% -6%, rgba(200, 61, 28, 0.09), transparent 68%) fixed,
    radial-gradient(ellipse 45% 40% at 2% 28%, rgba(20, 108, 75, 0.045), transparent 72%) fixed,
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}


::selection { background: var(--accent); color: #fff; }

h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

.container {
  width: min(calc(100% - 56px), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  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: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dot,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(20, 108, 75, 0.1);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.012em;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }
.btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  border-color: var(--accent-bright);
  background: var(--accent-bright);
  color: #fff;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.87rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 233, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}
.brand:hover .brand-mark { border-color: var(--accent); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.primary-nav a {
  position: relative;
  padding: 7px 0;
  font-size: 0.94rem;
  color: var(--muted);
  transition: color 0.2s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a:hover::after { transform: scaleX(1); }
.header-cta { margin-left: 4px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(62px, 8vw, 112px) 0 clamp(46px, 6vw, 74px);
}

.hero-grid {
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero h1 {
  max-width: 780px;
  margin: 22px 0 26px;
  font-size: clamp(2.95rem, 6.1vw, 5.25rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  color: var(--accent-bright);
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 54px);
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero-stats dd {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

/* ---------- Shared section layout ---------- */

.section { padding: clamp(78px, 9vw, 120px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.section-head > p {
  max-width: 500px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}
.section-head > p strong { color: var(--text); font-weight: 600; }

/* ---------- Portfolio toolbar ---------- */

.portfolio-section {
  padding-top: clamp(68px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(150px, 0.65fr));
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(52, 40, 22, 0.055);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--surface-2);
  transition: border-color 0.2s, background 0.2s;
}
.search-field:focus-within {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
}
.search-field > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1.7;
  stroke-linecap: round;
}
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}
.search-field input::placeholder { color: var(--muted-2); }
.search-field input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-field kbd {
  flex: 0 0 auto;
  min-width: 23px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.4;
  text-align: center;
  color: var(--muted-2);
  background: var(--bg-elevated);
}
.search-clear {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
}
.search-clear:hover { border-color: var(--line-strong); color: var(--text); }

.select-field { position: relative; }
.select-field select {
  width: 100%;
  min-height: 54px;
  padding: 0 36px 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  outline: 0;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.9rem;
  appearance: none;
  text-overflow: ellipsis;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.select-field select:hover { color: var(--text); }
.select-field select:focus-visible {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
}
.select-field select option { background: var(--bg-elevated); color: var(--text); }
.select-field::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted-2);
  border-bottom: 1.5px solid var(--muted-2);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.filter-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin: 22px 0 28px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip[aria-pressed="true"] {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}
.chip .count {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.7;
}
.chip:disabled { opacity: 0.4; cursor: not-allowed; }

.filter-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: 0 0 auto;
  padding-top: 5px;
}
.result-count {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  white-space: nowrap;
}
.status-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
}
.view-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
}
.view-btn:hover { color: var(--text); }
.view-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.view-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.reset-btn {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
}
.reset-btn:hover { border-color: var(--accent); color: var(--text); }
.registry-progress {
  max-width: 260px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: right;
  color: var(--amber);
}

/* ---------- Domain cards ---------- */

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}
.domain-grid.view-list { grid-template-columns: 1fr; }
.domain-grid.view-list .domain-card { min-height: 0; }

.domain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 304px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(52, 40, 22, 0.035);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.domain-card:hover {
  z-index: 1;
  border-color: var(--line-strong);
  box-shadow: 0 22px 48px rgba(52, 40, 22, 0.11);
  transform: translateY(-3px);
}
.domain-card:focus-within { border-color: var(--line-strong); }
.domain-card[data-status="featured"] { border-color: rgba(200, 61, 28, 0.38); }
.domain-card[data-status="featured"]::after {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
  margin-bottom: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-pill.featured { border-color: rgba(200, 61, 28, 0.26); background: var(--accent-soft); color: var(--accent-bright); }
.status-pill.premium { border-color: rgba(130, 88, 15, 0.24); background: var(--amber-soft); color: var(--amber); }
.status-pill.available { border-color: rgba(20, 108, 75, 0.24); background: var(--emerald-soft); color: var(--emerald); }
.status-pill.inquire { border-color: var(--line); background: var(--cream-soft); color: var(--muted); }

.tier-meter {
  display: flex;
  gap: 3px;
  padding-top: 1px;
}
.tier-meter i {
  display: block;
  width: 4px;
  height: 12px;
  border-radius: 1px;
  background: var(--line);
}
.tier-meter i.on { background: var(--muted-2); }
.tier-meter[data-tier="4"] i.on { background: var(--accent); }

.domain-heading { min-width: 0; }
.domain-title {
  overflow-wrap: anywhere;
  font-size: clamp(1.45rem, 1.9vw, 1.7rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.domain-open {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
}
.domain-open:hover .tld { color: var(--accent-bright); }
.domain-title .tld { color: var(--accent); transition: color 0.2s; }
.domain-cat {
  margin-top: 7px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.domain-card .tag-list { margin-top: 16px; }
.tag {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
  white-space: nowrap;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}
.rdap-state {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
}
.rdap-state .rdap-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rdap-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--muted-2);
}
.rdap-state.is-loading .rdap-dot { background: var(--amber); animation: rdap-pulse 1.2s ease-in-out infinite; }
.rdap-state.is-ok .rdap-dot { background: var(--emerald); }
.rdap-state.is-warn .rdap-dot { background: var(--amber); }
@keyframes rdap-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.card-actions .btn {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  font-size: 0.94rem;
}
.external-mark {
  font-size: 0.9em;
  line-height: 1;
}

@media (min-width: 900px) {
  .domain-grid.view-list .domain-card {
    display: grid;
    grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.2fr) minmax(220px, 240px);
    grid-template-areas:
      "top tags actions"
      "heading tags actions"
      "meta tags actions";
    align-items: center;
    column-gap: 28px;
    row-gap: 4px;
    padding: 18px 22px;
  }
  .domain-grid.view-list .card-top {
    grid-area: top;
    margin-bottom: 4px;
  }
  .domain-grid.view-list .domain-heading { grid-area: heading; }
  .domain-grid.view-list .tag-list {
    grid-area: tags;
    margin-top: 0;
  }
  .domain-grid.view-list .card-meta {
    grid-area: meta;
    justify-content: flex-start;
    margin-top: 6px;
    padding-top: 0;
    border-top: 0;
  }
  .domain-grid.view-list .card-actions {
    grid-area: actions;
    flex-direction: column;
    margin-top: 0;
  }
  .domain-grid.view-list .card-actions .btn { width: 100%; }
}

.empty-state {
  padding: 68px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.6);
  text-align: center;
}
.empty-mark {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-style: italic;
  line-height: 1;
  color: var(--muted-2);
}
.empty-state h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.empty-state p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
}

.noscript-fallback {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.noscript-fallback h3 { margin-bottom: 8px; font-size: 1.2rem; }
.noscript-fallback p { color: var(--muted); font-size: 0.95rem; }
.noscript-fallback a { color: var(--accent-bright); text-decoration: underline; }
.noscript-list { margin-top: 14px !important; line-height: 2 !important; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 62px 0 28px;
  border-top: 1px solid var(--line);
  background: #ece6d8;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, 0.6fr));
  gap: 44px;
}
.footer-brand p {
  max-width: 330px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer-col h3 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 8px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  color: var(--muted-2);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ---------- Telegram page ---------- */

.telegram-hero .hero-stats dd { font-size: 1.35rem; }

.channel-section {
  border-top: 1px solid var(--line);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(52, 40, 22, 0.035);
}

.channel-number,
.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.channel-card h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.channel-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.steps-section { padding-top: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.steps a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.channel-note {
  max-width: 640px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.7;
}

.telegram-cta { padding: 0 0 clamp(78px, 9vw, 120px); }

.cta-panel {
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(200, 61, 28, 0.1), transparent 70%),
    var(--surface);
}

.cta-panel h2 {
  max-width: 620px;
  margin: 14px 0 14px;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.cta-panel p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .channel-grid,
  .steps { grid-template-columns: 1fr; }
}


@media (max-width: 1100px) {
  .toolbar { grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(135px, 0.6fr)); }
}

@media (max-width: 980px) {
  .toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-field { grid-column: 1 / -1; }
  .filter-bar { flex-direction: column; gap: 14px; }
  .filter-status { align-items: flex-start; }
  .status-top { justify-content: flex-start; }
  .registry-progress { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .primary-nav { display: none; }
  .header-cta { margin-left: auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head > p { max-width: 620px; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .site-header { height: 70px; }
  :root { --header-h: 70px; }
  .hero { padding-top: 46px; }
  .hero h1 { font-size: clamp(2.7rem, 10.5vw, 4rem); line-height: 1; }
  .lede { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-stats { gap: 28px; margin-top: 34px; }
  .hero-stats dd { font-size: 1.5rem; }
  .toolbar { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .chip-row {
    width: calc(100vw - 36px);
    margin-right: -18px;
    padding-right: 18px;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .domain-grid { grid-template-columns: 1fr; }
  .domain-card { min-height: 282px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.02rem; }
  .brand-mark { width: 32px; height: 32px; }
  .header-cta { min-height: 38px; padding: 0 13px; font-size: 0.78rem; }
  .section-head h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
}

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

@media (prefers-contrast: more) {
  :root {
    --muted: #394238;
    --muted-2: #4c554a;
    --line: rgba(23, 26, 21, 0.22);
    --line-strong: rgba(23, 26, 21, 0.42);
  }
}
