/* ==========================================================================
   yandextmtr.com — Yandex.tm 入口导航
   Design language: UP Forward (orange 225° gradient, pixel arrow, flat surfaces,
   3px cards, 50px pill buttons, no shadows, 0.3s cubic-bezier motion).
   ========================================================================== */

:root {
  --primary: #ff7a00;
  --primary-deep: #b34b00;
  --primary-light: #ff7e3d;
  --grad-start: #fd9d13;
  --grad-end: #ff7336;
  --contact-start: #ffac37;
  --contact-end: #ff8a54;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --dark: #232323;
  --ink: #000000;
  --ink-2: #333333;
  --muted: #5a5958;
  --neutral: #a3a3a3;
  --border: #cfcdca;
  --border-muted: #adadad;
  --focus: rgba(56, 110, 220, 0.5);
  --ok: #167a4b;
  --ok-bg: #eef8f2;
  --login: #9a5b00;
  --login-bg: #fff7e6;
  --down: #a62b1f;
  --down-bg: #fff0ee;
  --redirect: #245f9e;
  --redirect-bg: #eef4fb;
  --radius-sm: 3px;
  --radius-md: 20px;
  --radius-lg: 40px;
  --radius-full: 50px;
  --font-display: "Hiragino Sans", "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "Shippori Antique B1", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --wrap: 1200px;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
  --gutter: 32px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img,
svg { max-width: 100%; }

img { height: auto; border: 0; }

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

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

p { margin: 0 0 16px; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

ul, ol { margin: 0; padding: 0; }

li { list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.text-grad {
  background: linear-gradient(225deg, var(--grad-start), var(--primary-light) 55%, var(--grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 122, 0, 0.45);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  80%, 100% { transform: scale(1.35); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Top line + header
   -------------------------------------------------------------------------- */

.topline {
  background: var(--dark);
  color: #f2f2f2;
  font-size: 12.5px;
  line-height: 1.4;
}
.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 36px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topline-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #dedede;
}
.topline-status .pulse { background: #ffb15c; }
.topline-status .pulse::after { border-color: rgba(255, 177, 92, 0.5); }
.topline-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}
.topline-nav a {
  color: #d7d7d7;
  transition: color 0.3s var(--ease);
}
.topline-nav a:hover,
.topline-nav a[aria-current="page"] { color: #ffb15c; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  transition: opacity 0.3s var(--ease);
}
.brand:hover { opacity: 0.82; }
.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: none;
}
.pixel-mark {
  display: block;
  width: 40px;
  height: 40px;
  shape-rendering: crispEdges;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-copy strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.16em;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav > ul a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.site-nav > ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  transition: width 0.3s var(--ease);
}
.site-nav > ul a:hover { color: var(--primary-deep); }
.site-nav > ul a:hover::after { width: 100%; }
.site-nav > ul a.is-active {
  color: var(--primary-deep);
  font-weight: 600;
}
.site-nav > ul a.is-active::after { width: 100%; }

.mobile-utility { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--ink);
}
.nav-toggle-text { font-size: 13px; }
.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
  background:
    radial-gradient(680px 420px at 88% 0%, rgba(255, 122, 0, 0.10), transparent 72%),
    radial-gradient(420px 320px at 8% 100%, rgba(253, 157, 19, 0.06), transparent 70%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 40px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 122, 0, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.hero-copy { max-width: 900px; animation: rise 0.7s var(--ease) both; }
.hero h1 {
  margin: 0 0 22px;
  text-wrap: balance;
  font-size: 50px;
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.hero h1 .line { display: block; }
.hero-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 13.5px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--primary);
  flex: none;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  animation: rise 0.8s 0.08s var(--ease) both;
}
.browser-card {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--dark);
  color: #cfcfcf;
}
.browser-dots { display: inline-flex; gap: 5px; }
.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6a6a6a;
}
.browser-url {
  flex: 1;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #343434;
  color: #f4f4f4;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-body {
  position: relative;
  padding: 26px 24px 24px;
  background:
    linear-gradient(160deg, rgba(253, 157, 19, 0.10), rgba(255, 115, 54, 0.04) 46%, #fff 78%);
}
.mock-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mock-domain {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.mock-domain em { font-style: normal; color: var(--primary); }
.mock-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--muted);
  font-size: 13.5px;
}
.mock-search b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(225deg, var(--grad-start), var(--grad-end));
  color: #fff;
  font-weight: 400;
  font-size: 13px;
}
.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.mock-tags span {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
}
.mock-tags .is-live {
  border-color: rgba(22, 122, 75, 0.25);
  background: var(--ok-bg);
  color: var(--ok);
}
.mock-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.mock-cta strong { color: var(--ink); font-weight: 600; }
.mock-cta span { color: var(--primary-deep); white-space: nowrap; }

.hero-arrow-wrap {
  position: absolute;
  right: -38px;
  top: -36px;
  z-index: 1;
  width: 186px;
  pointer-events: none;
  animation: floaty 6s ease-in-out infinite;
}
.available-pill {
  position: absolute;
  right: 12px;
  bottom: -14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
}
.available-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(225deg, var(--grad-start), var(--primary-light) 28%, var(--primary-light) 61%, var(--grad-end));
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(225deg, var(--primary), var(--primary-light) 28%, var(--primary-light) 61%, #ff7301);
}
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: #000; }
.btn-ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
}
.btn-sm {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Quick stats
   -------------------------------------------------------------------------- */

.quick-stats {
  position: relative;
  z-index: 5;
  margin-top: -30px;
}
.stats-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 24px 26px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.stat-num small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}
.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
}
.stats-note {
  margin: 0;
  padding: 12px 26px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 58px 0; }
.section-dark {
  background: var(--dark);
  color: #fff;
}
.section-dark .kicker { color: #ffb15c; }
.section-dark .section-desc { color: #c9c9c9; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.section-head-center {
  display: block;
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}
.section-title {
  font-size: 33px;
  text-wrap: balance;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.section-desc {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.section-desc a {
  color: var(--primary-deep);
  border-bottom: 1px solid var(--border-muted);
  transition: border-color 0.3s var(--ease);
}
.section-desc a:hover { border-color: var(--primary-deep); }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-muted);
  color: var(--ink);
  font-size: 13.5px;
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-more:hover { color: var(--primary-deep); border-color: var(--primary-deep); }

/* --------------------------------------------------------------------------
   Entry cards
   -------------------------------------------------------------------------- */

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.entry-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.entry-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}
.entry-card.is-pick::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
}
.entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.entry-region {
  color: var(--muted);
  font-size: 11.5px;
  text-align: right;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  line-height: 1.3;
  white-space: nowrap;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status.is-ok { border-color: rgba(22, 122, 75, 0.22); background: var(--ok-bg); color: var(--ok); }
.status.is-login { border-color: rgba(154, 91, 0, 0.22); background: var(--login-bg); color: var(--login); }
.status.is-down { border-color: rgba(166, 43, 31, 0.22); background: var(--down-bg); color: var(--down); }
.status.is-redirect { border-color: rgba(36, 95, 158, 0.22); background: var(--redirect-bg); color: var(--redirect); }

.entry-domain {
  margin: 0 0 9px;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  word-break: break-all;
}
.entry-domain a { transition: color 0.3s var(--ease); }
.entry-domain a:hover { color: var(--primary-deep); }
.entry-summary {
  flex: 1;
  margin-bottom: 16px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.7;
}
.entry-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.entry-lang { color: var(--muted); font-size: 11.5px; }
.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
}
.entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 9px 14px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.entry-link span { color: var(--primary-deep); transition: transform 0.3s var(--ease); }
.entry-link:hover {
  border-color: var(--primary-deep);
  background: #fff7ef;
  color: var(--primary-deep);
}
.entry-link:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Split / narrative / timeline
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: start;
}
.split.reverse { grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr); }
.split-copy p { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.split-copy .section-title { margin-bottom: 14px; }

.fact-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--border);
}
.fact-list div {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.fact-list dt { color: var(--muted); }
.fact-list dd { margin: 0; color: var(--ink); }

.timeline {
  padding: 28px;
  border: 1px solid #3c3c3c;
  border-radius: var(--radius-sm);
  background: #2a2a2a;
}
.timeline-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #444;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.timeline-title span { color: #ffb15c; font-size: 11px; }
.timeline-item {
  position: relative;
  padding: 0 0 18px 20px;
  border-left: 1px solid #4a4a4a;
}
.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.timeline-date {
  display: block;
  margin-bottom: 3px;
  color: #ffb15c;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.timeline-item p { margin: 0; color: #d4d4d4; font-size: 13px; line-height: 1.65; }
.timeline-item strong { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
.data-table thead th {
  padding: 13px 16px;
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.data-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid #e5e3e0;
  color: var(--ink-2);
  vertical-align: top;
  line-height: 1.55;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fffaf4; }
.data-table .cell-domain {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}
.data-table .cell-domain a { color: var(--ink); }
.data-table .cell-domain a:hover { color: var(--primary-deep); }
.data-table .cell-action { white-space: nowrap; }
.data-table .cell-action a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-deep);
  font-size: 12.5px;
}
.data-table .cell-muted { color: var(--muted); font-size: 12.5px; }

.table-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.step-num {
  display: block;
  margin-bottom: 20px;
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.step-num::before { content: "0" counter(step); counter-increment: step; }
.step h3 { margin-bottom: 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.step-code {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Tools
   -------------------------------------------------------------------------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tool-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-card {
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tool-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.tool-index {
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.tool-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tool-name { font-size: 16px; font-weight: 600; }
.tool-desc { color: var(--ink-2); font-size: 12.5px; line-height: 1.6; }
.tool-note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.tool-arrow {
  color: var(--border-muted);
  font-size: 18px;
  line-height: 1;
  padding-top: 2px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tool-card:hover .tool-arrow { color: var(--primary); transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Page hero, prose, callouts
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 52px 0 44px;
  background:
    radial-gradient(620px 360px at 92% 0%, rgba(255, 122, 0, 0.09), transparent 72%),
    var(--bg);
  border-bottom: 1px solid #ecebe9;
}
.page-hero .kicker { margin-bottom: 10px; }
.page-hero h1 {
  max-width: 900px;
  font-size: 42px;
  line-height: 1.24;
  letter-spacing: -0.025em;
}
.page-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.8;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}
.page-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--primary);
}

.breadcrumbs {
  padding-top: 18px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; }
.breadcrumbs li + li::before {
  content: "/";
  color: var(--border-muted);
}
.breadcrumbs a { color: var(--muted); transition: color 0.3s var(--ease); }
.breadcrumbs a:hover { color: var(--primary-deep); }
.breadcrumbs li[aria-current="page"] { color: var(--ink-2); }

.prose {
  max-width: 820px;
  padding: 54px 0 24px;
}
.prose-wide { max-width: none; }
.prose h2 {
  margin: 44px 0 16px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 28px;
  line-height: 1.35;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 {
  margin: 30px 0 10px;
  font-size: 21px;
  line-height: 1.4;
}
.prose p,
.prose li {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}
.prose p { margin-bottom: 16px; }
.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 0;
}
.prose ul li {
  position: relative;
  padding-left: 18px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--primary);
}
.prose ol { counter-reset: prose; }
.prose ol li {
  position: relative;
  padding-left: 30px;
  counter-increment: prose;
}
.prose ol li::before {
  content: counter(prose, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--border-muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.prose a:hover { color: var(--primary-deep); border-color: var(--primary-deep); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.8;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.callout {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}
.callout p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.75; }
.callout.is-warn { border-left-color: var(--down); background: var(--down-bg); }
.callout.is-warn strong { color: var(--down); }

.note {
  margin: 20px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.note a { color: var(--muted); border-bottom: 1px solid var(--border-muted); }
.note a:hover { color: var(--primary-deep); }

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.check-list li {
  position: relative;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.65;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 10px;
  color: var(--ok);
  font-size: 13px;
}
.cross-list li::before { content: "×"; color: var(--down); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.mini-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.mini-card .mini-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mini-card h3 { margin: 0 0 6px; font-size: 18px; }
.mini-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.source-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}
.source-list a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  transition: border-color 0.3s var(--ease);
}
.source-list a:hover { border-color: var(--primary); }
.source-list small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Entry directory filters
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.filter-btn {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--border); background: #fff; color: var(--ink); }
.filter-btn.is-active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}
.filter-count {
  margin-left: 5px;
  color: inherit;
  opacity: 0.65;
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.filter-status {
  min-height: 20px;
  margin: -14px 0 24px;
  color: var(--muted);
  font-size: 12px;
}
.entry-group { margin-bottom: 42px; }
.entry-group:last-child { margin-bottom: 0; }
.entry-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.entry-group-head h2 { font-size: 23px; }
.entry-group-head span { color: var(--muted); font-size: 12px; }
.entry-group[hidden] { display: none; }
.entry-card[hidden] { display: none; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  line-height: 1.55;
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-deep); }
.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  max-width: 860px;
  padding: 0 0 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--primary-deep); border-bottom: 1px solid rgba(179, 75, 0, 0.35); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background:
    radial-gradient(520px 300px at 88% 40%, rgba(253, 157, 19, 0.22), transparent 70%),
    var(--dark);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-inner h2 { font-size: 34px; line-height: 1.3; max-width: 620px; text-wrap: balance; }
.cta-inner p { margin: 10px 0 0; color: #c9c9c9; font-size: 14px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-band .btn-ghost {
  border-color: #5a5a5a;
  background: transparent;
  color: #fff;
}
.cta-band .btn-ghost:hover { border-color: #ffb15c; color: #ffb15c; }

/* --------------------------------------------------------------------------
   Figure / table image
   -------------------------------------------------------------------------- */

.figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.figure-media {
  padding: 18px;
  background: var(--bg-alt);
  text-align: center;
}
.figure img { width: auto; max-width: 100%; max-height: 720px; }
.figure figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.figure figcaption strong { color: var(--ink-2); font-weight: 600; }

/* --------------------------------------------------------------------------
   Go confirmation page
   -------------------------------------------------------------------------- */

.go-section {
  padding: 44px 0 72px;
  background:
    radial-gradient(560px 340px at 82% 0%, rgba(255, 122, 0, 0.10), transparent 72%),
    var(--bg);
}
.go-wrap { max-width: 780px; }
.go-card {
  padding: 34px 36px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.go-card h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.go-lead { margin: 0 0 22px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.go-target {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.go-target-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.05em;
}
.go-target code {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-all;
}
.go-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}
.go-facts div { padding-top: 12px; border-top: 1px solid var(--border); }
.go-facts dt { color: var(--muted); font-size: 11px; }
.go-facts dd { margin: 3px 0 0; color: var(--ink); font-size: 13px; }
.go-safety { margin: 20px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.go-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.go-actions .btn { min-width: 150px; }
.go-fineprint { margin: 14px 0 0; color: var(--neutral); font-size: 11.5px; line-height: 1.6; }
.go-card .callout { margin: 20px 0 0; }

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

.site-footer {
  background: var(--dark);
  color: #d6d6d6;
  padding-bottom: 72px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 44px;
}
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy small { color: #a9a9a9; }
.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #b9b9b9;
  font-size: 12.5px;
  line-height: 1.8;
}
.footer-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bfbfbf !important;
  font-size: 11.5px !important;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-title {
  margin: 2px 0 16px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col a {
  color: #bcbcbc;
  font-size: 13px;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: #ffb15c; }
.footer-bottom { border-top: 1px solid #3a3a3a; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.footer-bottom p { margin: 0; color: #8f8f8f; font-size: 11.5px; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border: 1px solid #4a4a4a;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--primary); border-color: var(--primary); }

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

@media (max-width: 1180px) {
  .site-nav > ul { gap: 15px; }
  .site-nav > ul a { font-size: 14px; }
  .hero h1 { font-size: 44px; }
  .entry-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .header-inner { min-height: 70px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 55;
    height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 16px var(--gutter) 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav > ul {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .site-nav > ul li { border-bottom: 1px solid var(--border); }
  .site-nav > ul a { display: block; padding: 14px 0; font-size: 16px; }
  .site-nav > ul a::after { display: none; }
  .site-nav > ul a.is-active { color: var(--primary); }
  .mobile-utility {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }
  .mobile-utility a {
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--muted);
    font-size: 12px;
  }
  .mobile-utility a[aria-current="page"] { border-color: var(--primary); color: var(--primary-deep); }
  .hero { padding: 56px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 0; padding-bottom: 20px; }
  .browser-card { margin: 0; width: min(100%, 520px); }
  .hero-arrow-wrap { right: -20px; top: -24px; width: 150px; }
  .split,
  .split.reverse { grid-template-columns: 1fr; gap: 30px; }
  .footer-main { grid-template-columns: 1.4fr repeat(3, 0.8fr); gap: 28px; }
}

@media (max-width: 840px) {
  :root { --gutter: 24px; }
  .filter-bar { border-radius: var(--radius-sm); }
  .topline-inner { min-height: 34px; }
  .topline-nav { gap: 14px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 16px; }
  .page-hero { padding: 42px 0 36px; }
  .page-hero h1 { font-size: 35px; }
  .section { padding: 58px 0; }
  .section-head { display: block; margin-bottom: 26px; }
  .section-head .link-more { margin-top: 16px; }
  .section-title { font-size: 28px; }
  .entry-grid,
  .entry-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid,
  .tool-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { display: block; }
  .cta-actions { margin-top: 24px; }
  .cta-inner h2 { font-size: 29px; }
  .go-card { padding: 26px 24px; }
  .go-card h1 { font-size: 29px; }
  .go-facts { grid-template-columns: 1fr 1fr; }
  .prose { padding-top: 40px; }
  .prose h2 { font-size: 25px; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .topline-status { font-size: 11px; }
  .topline-status span:last-child {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .topline-nav { display: none; }
  .header-inner { min-height: 64px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 10.5px; }
  .brand-mark,
  .pixel-mark { width: 34px; height: 34px; }
  .site-nav { height: calc(100vh - 64px); max-height: calc(100vh - 64px); }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 32px; line-height: 1.24; }
  .hero-lead { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 6px 14px; font-size: 12px; }
  .browser-body { padding: 20px 18px; }
  .mock-domain { font-size: 27px; }
  .hero-arrow-wrap { width: 108px; top: -16px; right: -12px; }
  .available-pill { display: none; }
  .quick-stats { margin-top: -18px; }
  .stat { padding: 18px 16px; }
  .stat-num { font-size: 28px; }
  .stats-note { padding: 10px 16px; }
  .section { padding: 46px 0; }
  .section-title { font-size: 25px; }
  .entry-grid,
  .entry-grid-4,
  .tool-grid,
  .tool-grid-2 { grid-template-columns: 1fr; }
  .entry-card { padding: 19px; }
  .filter-bar { border-radius: var(--radius-sm); padding: 8px; gap: 6px; }
  .filter-btn { padding: 6px 11px; font-size: 12px; }
  .page-hero h1 { font-size: 29px; }
  .page-lead { font-size: 15px; }
  .prose h2 { font-size: 23px; margin-top: 34px; padding-top: 22px; }
  .prose h3 { font-size: 19px; }
  .prose p,
  .prose li { font-size: 14.5px; }
  .fact-list div { grid-template-columns: 96px 1fr; }
  .timeline { padding: 20px 18px; }
  .cta-inner h2 { font-size: 25px; }
  .cta-actions .btn { width: 100%; }
  .go-section { padding: 28px 0 50px; }
  .go-card { padding: 22px 18px; }
  .go-card h1 { font-size: 25px; }
  .go-target { padding: 14px; }
  .go-target code { font-size: 12px; }
  .go-facts { grid-template-columns: 1fr; gap: 9px; }
  .go-actions { flex-direction: column; align-items: stretch; }
  .go-actions .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-top: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { display: block; }
  .footer-bottom p + p { margin-top: 5px; }
  .to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
  .figure-media { padding: 10px; }
  .breadcrumbs { padding-top: 14px; }
}

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

/* --------------------------------------------------------------------------
   Side panel / related links (content pages)
   -------------------------------------------------------------------------- */

.side-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.side-panel .status { margin-bottom: 12px; }
.side-panel .side-domain {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  word-break: break-all;
}
.side-panel p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.side-panel .side-actions { display: grid; gap: 9px; margin-top: 18px; }
.side-panel .side-actions .btn { width: 100%; }
.side-panel .side-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.related-link:hover { border-color: var(--primary); color: var(--primary); }
.related-link span { color: var(--primary); }
@media (max-width: 840px) {
  .side-panel { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}


/* 分组说明卡：补足入口较少的组，避免四列网格出现大片空白 */
.entry-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.entry-note--wide { grid-column: span 3; }
.entry-note--half { grid-column: span 2; }
.entry-note-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
.entry-note h3 { margin: 0 0 7px; font-size: 19px; line-height: 1.4; }
.entry-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 1180px) {
  .entry-note--wide { grid-column: span 2; }
  .entry-note--half { grid-column: span 1; }
}
@media (max-width: 840px) {
  .entry-note,
  .entry-note--wide,
  .entry-note--half { grid-column: 1 / -1; }
}

@media (max-width: 1040px) {
  .split > .side-panel { order: -1; }
}

.nowrap { white-space: nowrap; }


/* 入口卡片中的网址禁止选择/复制（仅前端层面，无法阻止查看源码） */
.entry-domain,
.entry-domain *,
.cell-domain,
.cell-domain *,
.side-domain,
.tool-url,
.related-link,
.go-target code,
.mock-domain,
.browser-url,
.available-pill {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.entry-domain a,
.cell-domain a,
.related-link {
  -webkit-user-drag: none;
}

/* --------------------------------------------------------------------------
   Access guide: fixed trigger + Swiper modal
   -------------------------------------------------------------------------- */

.guide-fab {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  background: linear-gradient(225deg, var(--grad-start), var(--primary-light) 55%, var(--grad-end));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.guide-fab:hover {
  transform: translateY(-2px);
  background: linear-gradient(225deg, var(--primary), var(--primary-light) 55%, #ff7301);
  border-color: rgba(255, 255, 255, 0.5);
}
.guide-fab-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  flex: none;
}
.guide-fab-arrow { font-size: 15px; line-height: 1; }

.btn-guide {
  border-color: var(--primary);
  background: #fff;
  color: #c2410c;
}
.btn-guide:hover {
  border-color: var(--primary-deep);
  background: #fff7ef;
  color: #a83a00;
}

body.guide-open { overflow: hidden; }

.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.guide-modal[hidden] { display: none; }
.guide-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.66);
  backdrop-filter: blur(2px);
}
.guide-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1040px, 100%);
  max-height: min(88vh, 860px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  animation: guideIn 0.28s var(--ease) both;
}
@keyframes guideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.guide-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--border);
}
.guide-head .kicker { margin-bottom: 5px; }
.guide-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.guide-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.guide-close:hover {
  border-color: var(--primary);
  background: #fff7ef;
  color: var(--primary-deep);
}
.guide-content {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  min-height: 0;
  flex: 1;
}
.guide-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 20px;
  border-right: 1px solid var(--border);
  background: var(--bg-alt);
}
.guide-swiper {
  width: 100%;
  height: clamp(320px, 52vh, 520px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.guide-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fff;
}
.guide-swiper .swiper-slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.guide-slide-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(35, 35, 35, 0.84);
  color: #fff;
  font-size: 10.5px;
  line-height: 1.4;
}
.guide-swiper .swiper-button-prev,
.guide-swiper .swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-deep);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.guide-swiper .swiper-button-prev { left: 8px; right: auto; }
.guide-swiper .swiper-button-next { right: 8px; left: auto; }
.guide-swiper .swiper-button-prev:hover,
.guide-swiper .swiper-button-next:hover {
  border-color: var(--primary);
  background: #fff7ef;
  color: var(--primary);
}
.guide-swiper .swiper-button-prev::after,
.guide-swiper .swiper-button-next::after {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}
.guide-swiper .swiper-button-prev::after { content: "←"; }
.guide-swiper .swiper-button-next::after { content: "→"; }
.guide-swiper .swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}
.guide-pager {
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.86);
  transform: translateX(-50%);
}
.guide-pager-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--neutral);
  opacity: 0.6;
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
}
.guide-pager-dot.is-active {
  width: 16px;
  border-radius: var(--radius-full);
  background: var(--primary);
  opacity: 1;
}
.guide-gallery-note {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}
.guide-steps-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.guide-steps {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 26px 22px;
  scrollbar-width: thin;
}
.guide-step-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.guide-step-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #e5e3e0;
}
.guide-step-num {
  padding-top: 2px;
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.guide-step-copy strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}
.guide-step-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.7;
}
.guide-step-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.guide-actions .btn { min-height: 42px; }

/* Swiper fallback if the local script cannot load */
.guide-swiper.is-fallback { overflow-x: auto; }
.guide-swiper.is-fallback .swiper-wrapper {
  display: flex;
  gap: 10px;
  width: auto;
  transform: none !important;
}
.guide-swiper.is-fallback .swiper-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.guide-swiper.is-fallback .swiper-pagination,
.guide-swiper.is-fallback .swiper-button-prev,
.guide-swiper.is-fallback .swiper-button-next { display: none; }

@media (max-width: 840px) {
  .guide-modal { padding: 0; align-items: stretch; }
  .guide-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
  .guide-head { padding: 16px 18px 14px; }
  .guide-head h2 { font-size: 22px; }
  .guide-content { display: block; overflow-y: auto; }
  .guide-gallery {
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .guide-swiper { height: 44vh; min-height: 260px; }
  .guide-steps { overflow: visible; padding: 16px 18px 26px; }
  .guide-actions .btn { flex: 1; }
}

@media (max-width: 600px) {
  .site-footer { padding-bottom: 58px; }
  .guide-fab {
    left: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 80px);
    min-height: 42px;
    padding: 10px 15px;
    font-size: 12.5px;
    gap: 7px;
  }
  .guide-fab-icon { width: 18px; height: 18px; font-size: 10px; }
  .guide-step-list li { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
  .guide-head h2 { font-size: 20px; }
  .guide-swiper { height: 42vh; min-height: 240px; }
}

body.guide-open .guide-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.guide-fab.is-footer-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


#available { scroll-margin-top: 96px; }

.go-card h1 + .go-target { margin-top: 22px; }


body.nav-open .guide-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
