:root {
  color-scheme: dark;
  --bg: #06111f;
  --bg-deep: #030913;
  --surface: rgba(11, 27, 45, .78);
  --surface-strong: #0e2237;
  --surface-hover: #112a43;
  --line: rgba(145, 174, 204, .14);
  --line-strong: rgba(65, 225, 208, .34);
  --text: #f4f8fc;
  --text-soft: #bcc9d7;
  --muted: #7f93a8;
  --cyan: #43e2d0;
  --cyan-strong: #22c7b5;
  --violet: #8f66ff;
  --blue: #6da1ff;
  --warning: #f5ba5c;
  --danger: #ff7487;
  --shadow: 0 26px 80px rgba(0, 0, 0, .32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -64px;
  left: 24px;
  z-index: 100;
  border-radius: 10px;
  padding: 11px 15px;
  background: var(--cyan);
  color: #031512;
  font-weight: 800;
  transition: top .18s ease;
}

.skip-link:focus {
  top: 18px;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(67, 226, 208, .08), transparent 27%),
    radial-gradient(circle at 12% 33%, rgba(109, 161, 255, .07), transparent 25%),
    linear-gradient(155deg, #06111f 0%, #071421 48%, #081428 100%);
  isolation: isolate;
}

.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  pointer-events: none;
}

.ambient {
  position: absolute;
  z-index: -3;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.ambient--cyan {
  top: 5%;
  right: -280px;
  background: var(--cyan);
  opacity: .14;
}

.ambient--violet {
  top: 38%;
  left: -320px;
  background: var(--violet);
  opacity: .1;
}

.perspective-grid {
  position: absolute;
  right: 0;
  bottom: -40px;
  left: 0;
  z-index: -2;
  height: 40%;
  opacity: .2;
  background-image:
    linear-gradient(rgba(67,226,208,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,226,208,.11) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(440px) rotateX(57deg) scale(1.25);
  transform-origin: bottom;
  mask-image: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}

.notice-bar {
  min-height: 38px;
  border-bottom: 1px solid rgba(145, 174, 204, .08);
  background: rgba(4, 13, 24, .7);
}

.notice-bar__inner,
.site-header,
.hero,
.directory,
.help,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.notice-bar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.notice-bar__inner p {
  min-width: 0;
  display: flex;
  flex: 1;
  gap: 7px;
  margin: 0;
}

.notice-bar__inner strong {
  color: var(--text-soft);
}

.notice-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(67, 226, 208, .08), 0 0 15px rgba(67, 226, 208, .6);
}

.text-button {
  min-height: 30px;
  border: 0;
  border-radius: 7px;
  padding: 4px 8px;
  background: transparent;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.text-button:hover {
  background: rgba(67, 226, 208, .07);
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(145, 174, 204, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
}

.brand-mark {
  width: 42px;
  height: 30px;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.brand-mark i {
  position: absolute;
  left: 2px;
  width: 37px;
  height: 8px;
  border-radius: 10px 3px 10px 3px;
  transform: skewX(-34deg) rotate(-22deg);
}

.brand-mark i:first-child {
  top: 5px;
  background: linear-gradient(90deg, var(--cyan), #5ee8ff);
}

.brand-mark i:last-child {
  bottom: 5px;
  left: 0;
  background: linear-gradient(90deg, #614bff, #a555ff);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 14px;
  font-style: italic;
  letter-spacing: .09em;
}

.brand-copy strong span {
  color: var(--violet);
}

.brand-copy small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.site-nav a:hover {
  background: rgba(255,255,255,.035);
  color: var(--text);
}

.site-nav .nav-cta {
  border: 1px solid rgba(67, 226, 208, .22);
  background: rgba(67, 226, 208, .08);
  color: var(--cyan);
}

.site-nav .nav-cta:hover {
  border-color: rgba(67, 226, 208, .4);
  background: rgba(67, 226, 208, .12);
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
  padding: 78px 0 68px;
}

.hero__copy {
  max-width: 650px;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .19em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(67, 226, 208, .08), 0 0 22px rgba(67, 226, 208, .65);
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 880;
  letter-spacing: -.06em;
  line-height: 1.01;
}

.hero h1 em {
  background: linear-gradient(97deg, var(--cyan) 0%, #74dbff 50%, var(--violet) 96%);
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero__lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-strong));
  box-shadow: 0 14px 36px rgba(34, 199, 181, .17);
  color: #031512;
}

.button--primary:hover {
  box-shadow: 0 18px 42px rgba(34, 199, 181, .24);
}

.button--secondary {
  border-color: var(--line);
  background: rgba(11, 27, 45, .62);
  color: var(--text);
}

.button--secondary:hover {
  border-color: var(--line-strong);
  background: rgba(14, 34, 55, .86);
}

.quick-stats {
  display: flex;
  gap: clamp(26px, 4vw, 46px);
  margin: 38px 0 0;
}

.quick-stats div {
  position: relative;
}

.quick-stats div + div::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: calc(clamp(26px, 4vw, 46px) / -2);
  width: 1px;
  background: var(--line);
  content: "";
}

.quick-stats dt {
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
}

.quick-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.recommendation {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 23px;
  background: linear-gradient(155deg, rgba(17, 39, 63, .88), rgba(7, 19, 33, .7));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}

.recommendation::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.025), transparent 30%),
    radial-gradient(circle at 50% 44%, rgba(67,226,208,.08), transparent 42%);
  content: "";
  pointer-events: none;
}

.recommendation__head,
.recommended-domain,
.recommendation__note {
  position: relative;
  z-index: 2;
}

.recommendation__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.recommendation__label {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .2em;
}

.recommendation h2 {
  margin: 6px 0 0;
  font-size: 19px;
}

.live-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(67,226,208,.16);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(67,226,208,.06);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
}

.live-pill i,
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(67,226,208,.75);
}

.route-visual {
  width: 290px;
  height: 290px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 2px auto 0;
}

.route-visual::before {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 33%, rgba(116,219,255,.12), rgba(67,226,208,.04) 48%, rgba(143,102,255,.05));
  box-shadow: inset 0 0 48px rgba(67,226,208,.08), 0 0 70px rgba(67,226,208,.045);
  content: "";
}

.route-ring {
  position: absolute;
  border: 1px solid rgba(145,174,204,.15);
  border-radius: 50%;
}

.route-ring--one {
  inset: 9%;
}

.route-ring--two {
  inset: 25%;
  border-color: rgba(67,226,208,.18);
}

.route-path {
  position: absolute;
  width: 85%;
  height: 43%;
  border: 1px solid transparent;
  border-top-color: rgba(109,161,255,.28);
  border-radius: 50%;
  transform: rotate(24deg);
}

.route-path--two {
  border-top-color: rgba(143,102,255,.3);
  transform: rotate(-39deg);
}

.route-core {
  width: 78px;
  height: 78px;
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(67,226,208,.34);
  border-radius: 23px;
  background: rgba(5, 16, 29, .96);
  box-shadow: 0 0 0 12px rgba(67,226,208,.035), 0 0 40px rgba(67,226,208,.16);
  transform: rotate(-5deg);
}

.route-core b {
  background: linear-gradient(145deg, var(--cyan), var(--violet));
  background-clip: text;
  color: transparent;
  font-size: 36px;
  font-style: italic;
  line-height: 1;
  transform: rotate(5deg);
}

.route-node {
  width: 9px;
  height: 9px;
  position: absolute;
  z-index: 4;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px rgba(67,226,208,.72);
}

.route-node--one {
  top: 12%;
  left: 28%;
}

.route-node--two {
  top: 43%;
  right: 7%;
  background: var(--blue);
  box-shadow: 0 0 15px rgba(109,161,255,.7);
}

.route-node--three {
  bottom: 13%;
  left: 25%;
  background: var(--violet);
  box-shadow: 0 0 15px rgba(143,102,255,.7);
}

.recommended-domain {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(145,174,204,.11);
  border-radius: 16px;
  padding: 12px;
  background: rgba(5, 16, 29, .58);
}

.recommended-domain__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(67,226,208,.14);
  border-radius: 12px;
  background: rgba(67,226,208,.07);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}

.recommended-domain div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.recommended-domain div span {
  color: var(--muted);
  font-size: 10px;
}

.recommended-domain strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommended-domain > a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--cyan);
  color: #031512;
  font-size: 19px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}

.recommended-domain > a:hover {
  box-shadow: 0 10px 26px rgba(34,199,181,.23);
  transform: translateY(-2px);
}

.recommendation__note {
  margin: 13px 4px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.recommendation__note span {
  color: var(--cyan);
}

.directory {
  scroll-margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 76px 0 86px;
}

.directory__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-kicker {
  margin: 0 0 10px;
}

.directory h2,
.help h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.045em;
}

.directory__header p:last-child,
.help > div > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.directory-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--muted);
}

.directory-count strong {
  color: var(--cyan);
  font-size: 30px;
}

.directory-count span {
  font-size: 12px;
}

.directory-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.search-field {
  min-width: 310px;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 12px;
  background: rgba(8, 22, 37, .8);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.search-field:focus-within {
  border-color: rgba(67,226,208,.5);
  background: rgba(10, 27, 45, .92);
  box-shadow: 0 0 0 4px rgba(67,226,208,.07);
}

.search-field > span {
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 auto;
  border: 1.7px solid var(--muted);
  border-radius: 50%;
}

.search-field > span::after {
  width: 6px;
  height: 1.7px;
  position: absolute;
  right: -5px;
  bottom: -2px;
  border-radius: 2px;
  background: var(--muted);
  content: "";
  transform: rotate(45deg);
}

.search-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.search-field input::placeholder {
  color: #6d8196;
}

.search-field kbd {
  border: 1px solid rgba(145,174,204,.13);
  border-radius: 6px;
  padding: 3px 6px;
  background: rgba(255,255,255,.025);
  color: var(--muted);
  font-family: inherit;
  font-size: 9px;
}

.category-filter {
  min-width: 0;
  display: flex;
  flex: 1;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-filter::-webkit-scrollbar {
  display: none;
}

.filter-button {
  min-height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 12px;
  background: rgba(11,27,45,.48);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.filter-button:hover {
  border-color: rgba(145,174,204,.26);
  color: var(--text-soft);
}

.filter-button[aria-pressed="true"] {
  border-color: rgba(67,226,208,.28);
  background: rgba(67,226,208,.09);
  color: var(--cyan);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.domain-card {
  min-width: 0;
  min-height: 202px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(14,34,55,.82), rgba(8,22,37,.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.domain-card:hover {
  border-color: rgba(67,226,208,.27);
  background: linear-gradient(145deg, rgba(17,42,67,.92), rgba(9,25,42,.8));
  box-shadow: 0 18px 46px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
  transform: translateY(-3px);
}

.domain-card::after {
  width: 120px;
  height: 120px;
  position: absolute;
  top: -80px;
  right: -70px;
  border-radius: 50%;
  background: var(--card-accent, var(--cyan));
  content: "";
  filter: blur(44px);
  opacity: .08;
  pointer-events: none;
}

.domain-card--placeholder {
  border-style: dashed;
  background: rgba(8, 22, 37, .48);
}

.domain-card--placeholder:hover {
  border-color: rgba(245,186,92,.25);
  background: rgba(10,27,45,.68);
}

.domain-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.domain-card__category,
.domain-card__status,
.domain-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.domain-card__badge {
  border: 1px solid rgba(67,226,208,.14);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(67,226,208,.06);
  color: var(--cyan);
  letter-spacing: .08em;
}

.domain-card__status--pending {
  color: var(--warning);
}

.domain-card__status--pending .status-dot {
  background: var(--warning);
  box-shadow: 0 0 10px rgba(245,186,92,.6);
}

.domain-card h3 {
  margin: 20px 0 0;
  font-size: 17px;
}

.domain-card__host {
  overflow: hidden;
  margin: 7px 0 0;
  color: var(--card-accent, var(--cyan));
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-card__description {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.domain-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
}

.card-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
  background: rgba(255,255,255,.025);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.card-action:hover {
  border-color: var(--line-strong);
  background: rgba(67,226,208,.06);
  color: var(--cyan);
}

.card-action--open {
  border-color: transparent;
  background: var(--cyan);
  color: #031512;
}

.card-action--open:hover {
  border-color: transparent;
  background: #5ce8d8;
  color: #031512;
}

.card-action:disabled {
  border-style: dashed;
  border-color: rgba(145,174,204,.12);
  background: rgba(255,255,255,.015);
  color: #627487;
  cursor: not-allowed;
}

.empty-state {
  display: grid;
  place-items: center;
  margin-top: 22px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 54px 24px;
  background: rgba(8,22,37,.46);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state > span {
  color: var(--cyan);
  font-size: 32px;
}

.empty-state h3 {
  margin: 10px 0 0;
  font-size: 18px;
}

.empty-state p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.noscript-note {
  border: 1px solid rgba(245,186,92,.22);
  border-radius: 12px;
  padding: 14px;
  background: rgba(245,186,92,.06);
  color: var(--warning);
}

.help {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
  border-top: 1px solid var(--line);
  padding: 78px 0 84px;
}

.help ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.help li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px;
  background: rgba(11,27,45,.55);
}

.help li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(67,226,208,.08);
  color: var(--cyan);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
}

.help li strong {
  font-size: 13px;
}

.help li p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.site-footer {
  min-height: 88px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.brand--footer {
  gap: 8px;
}

.brand--footer .brand-mark {
  width: 30px;
  height: 22px;
  transform: scale(.72);
  transform-origin: left center;
}

.brand--footer .brand-copy {
  margin-left: -6px;
}

.brand--footer .brand-copy strong {
  font-size: 11px;
}

.site-footer > a:last-child {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 9px;
  color: var(--text-soft);
  font-weight: 700;
}

.site-footer > a:last-child:hover {
  color: var(--cyan);
}

.toast {
  max-width: min(360px, calc(100% - 32px));
  min-height: 44px;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  border: 1px solid rgba(67,226,208,.25);
  border-radius: 12px;
  padding: 11px 14px;
  background: rgba(8,22,37,.94);
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
  color: var(--text-soft);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(16px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand:focus-visible,
.site-nav a:focus-visible,
.button:focus-visible,
.text-button:focus-visible,
.filter-button:focus-visible,
.card-action:focus-visible,
.recommended-domain > a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(67,226,208,.5);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 70px;
  }

  .hero__copy {
    max-width: 750px;
  }

  .recommendation {
    width: min(580px, 100%);
    margin: 0 auto;
  }

  .domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .category-filter {
    flex: auto;
  }

  .help {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .notice-bar__inner,
  .site-header,
  .hero,
  .directory,
  .help,
  .site-footer {
    width: min(100% - 36px, 1180px);
  }

  .notice-bar__inner p span {
    display: none;
  }

  .site-header {
    min-height: 74px;
  }

  .site-nav > a:not(.nav-cta) {
    display: none;
  }

  .site-nav .nav-cta {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    transform: scale(.85);
    transform-origin: left center;
  }

  .brand-copy {
    margin-left: -4px;
  }

  .hero {
    min-height: auto;
    gap: 44px;
    padding: 58px 0 56px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 64px);
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero__actions {
    display: grid;
    margin-top: 27px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .quick-stats {
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
  }

  .quick-stats div + div::before {
    display: none;
  }

  .recommendation {
    min-height: 440px;
    border-radius: 22px;
    padding: 18px;
  }

  .route-visual {
    width: 250px;
    height: 250px;
  }

  .directory {
    padding: 62px 0 68px;
  }

  .directory__header {
    align-items: flex-start;
  }

  .directory-count {
    padding-top: 27px;
  }

  .directory-count strong {
    font-size: 24px;
  }

  .search-field {
    min-width: 0;
    width: 100%;
  }

  .search-field kbd {
    display: none;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .domain-card {
    min-height: 194px;
  }

  .help {
    gap: 34px;
    padding: 62px 0 68px;
  }

  .site-footer {
    min-height: 116px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 20px 0 max(20px, env(safe-area-inset-bottom));
  }

  .site-footer > a:last-child {
    position: absolute;
    right: 18px;
    margin-top: 1px;
  }

  .toast {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .brand-copy small {
    display: none;
  }

  .notice-bar__inner {
    font-size: 11px;
  }

  .notice-bar__inner .text-button {
    font-size: 11px;
  }

  .route-visual {
    width: 220px;
    height: 220px;
  }

  .recommendation {
    min-height: 410px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .route-ring--one {
    animation: ring-breathe 5s ease-in-out infinite;
  }

  .route-path--one {
    animation: drift-one 13s linear infinite;
  }

  .route-path--two {
    animation: drift-two 16s linear infinite reverse;
  }

  .route-node {
    animation: node-pulse 2.8s ease-in-out infinite;
  }

  .route-node--two {
    animation-delay: -.8s;
  }

  .route-node--three {
    animation-delay: -1.6s;
  }
}

@keyframes ring-breathe {
  50% { border-color: rgba(67,226,208,.25); transform: scale(1.035); }
}

@keyframes drift-one {
  to { transform: rotate(384deg); }
}

@keyframes drift-two {
  to { transform: rotate(321deg); }
}

@keyframes node-pulse {
  50% { opacity: .58; transform: scale(.82); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .notice-bar,
  .ambient,
  .perspective-grid,
  .hero__actions,
  .recommendation,
  .directory-toolbar,
  .domain-card__actions,
  .site-nav,
  .help {
    display: none;
  }

  .site-shell {
    background: #fff;
    color: #111;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 40px 0;
  }

  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
