:root {
  --bg: #f6f9fe;
  --surface: #ffffff;
  --surface-2: #eef5ff;
  --ink: #101a33;
  --muted: #64748b;
  --line: #d8e2f1;
  --line-strong: #b9c8dd;
  --accent: #145ff0;
  --accent-2: #0f9f82;
  --dark: #0d1728;
  --success: #2e8f35;
  --shadow: 0 20px 60px rgba(16, 26, 51, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(20, 95, 240, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 48%, #ffffff 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 226, 241, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1280px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(20, 95, 240, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 95, 240, 0.24);
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.wrap,
.hero {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.premium-hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.76fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0 78px;
}

.premium-hero > * {
  min-width: 0;
}

.hero-copy,
.hero-copy * {
  min-width: 0;
}

.service-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.service-line span {
  display: inline-flex;
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(44px, 5.7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero h1 span {
  display: block;
}

.hero-lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.hero-lede span {
  display: block;
  max-width: 36em;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  gap: 18px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 14px;
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
}

.quality-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-report {
  padding: 26px;
  position: relative;
  max-width: 100%;
}

.hero-report::before {
  content: "";
  position: absolute;
  inset: -42px;
  z-index: -1;
  background:
    linear-gradient(rgba(20, 95, 240, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 95, 240, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, #000 0, transparent 72%);
}

.report-head,
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.mini-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.25;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #b8dfb6;
  border-radius: 6px;
  background: #edf9eb;
  color: var(--success);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge.pass {
  border-color: #b8dfb6;
  background: #e8f8e8;
}

.report-table {
  display: grid;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.report-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.report-row:last-child {
  border-bottom: 0;
}

.report-row span,
.report-row strong {
  display: flex;
  align-items: center;
  padding: 10px 14px;
}

.report-row span {
  background: #f5f8fd;
  color: #44536b;
  font-weight: 800;
}

.report-row strong {
  color: var(--ink);
  font-weight: 750;
}

.report-row em {
  font-style: normal;
  color: var(--success);
}

.dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 999px;
  background: #31a647;
}

.report-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 86px 0;
  border-top: 1px solid rgba(216, 226, 241, 0.82);
}

.section.flush {
  padding-top: 70px;
}

.section.dark {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 95, 240, 0.18), transparent 45%),
    var(--dark);
}

.section h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro {
  max-width: 840px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.dark .section-intro {
  color: #b6c4d8;
}

.coverage-shell {
  margin-top: 36px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(16, 26, 51, 0.07);
}

.segmented {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.segmented button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

.segmented .active {
  border-color: #0d1728;
  background: #0d1728;
  color: #ffffff;
}

.segmented button:focus {
  outline: 0;
}

.segmented button:focus-visible {
  outline: 2px solid rgba(20, 95, 240, 0.42);
  outline-offset: 2px;
}

.region-scroller {
  max-height: 470px;
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 16px;
  overflow: auto;
  padding: 2px 8px 14px 2px;
  scrollbar-color: #b8c6d8 #eef4fb;
  scrollbar-width: thin;
}

.region-scroller::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.region-scroller::-webkit-scrollbar-thumb {
  background: #b8c6d8;
  border-radius: 999px;
}

.region-scroller::-webkit-scrollbar-track {
  background: #eef4fb;
}

.market-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.market-card[hidden] {
  display: none;
}

.market-card span {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.market-card h3 {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.market-card p {
  margin: 6px 0 0;
  color: #526178;
  font-weight: 750;
}

.market-card small {
  display: inline-flex;
  margin-top: 18px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #edf4ff;
  color: #31517c;
  font-weight: 800;
}

.inspection-panel {
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-bar {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #f7fbff;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.inspection-grid {
  display: grid;
  grid-template-columns: 170px repeat(3, minmax(190px, 1fr));
  max-width: 100%;
  overflow-x: auto;
}

.inspection-grid > div {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #263650;
  font-weight: 700;
}

.inspection-grid > div:nth-child(4n) {
  border-right: 0;
}

.inspection-grid .field-label {
  background: #f4f7fb;
  color: #334155;
  font-weight: 900;
}

.signal-section {
  background: #ffffff;
}

.signal-section .section-intro {
  max-width: 760px;
}

.record-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
}

.record-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.signal-grid a {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbff;
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  font-size: 18px;
}

.signal-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.grid,
.steps {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

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

.card,
.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step {
  min-height: 230px;
}

.step span {
  display: block;
  color: var(--accent);
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 22px;
}

.step strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  margin-bottom: 12px;
}

.step p,
.card p {
  margin: 0;
  color: var(--muted);
}

.dark .step {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.dark .step strong {
  color: #ffffff;
}

.dark .step p {
  color: #b6c4d8;
}

.page-hero {
  padding: 72px 0 58px;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
  padding-bottom: 82px;
}

.article-main {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-main h2 {
  margin: 34px 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.article-main h2:first-child {
  margin-top: 0;
}

.article-main p,
.article-main li {
  color: #40506a;
}

.article-main ul {
  padding-left: 22px;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.coverage-list {
  display: grid;
  gap: 28px;
}

.coverage-group {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.coverage-group h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.coverage-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-items li {
  padding: 12px 14px;
  border: 1px solid rgba(219, 227, 239, 0.85);
  border-radius: var(--radius);
  color: #40506a;
  background: #fbfdff;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(2, minmax(160px, 0.28fr));
  gap: 34px;
}

.footer p {
  max-width: 420px;
  margin: 14px 0 0;
}

.footer strong,
.footer a {
  display: block;
}

.footer strong {
  color: var(--ink);
  margin-bottom: 10px;
}

.footer a:not(.brand) {
  margin-top: 8px;
}

@media (max-width: 1040px) {
  .premium-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-report {
    max-width: 680px;
  }

  .region-scroller {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

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

@media (max-width: 760px) {
  .wrap,
  .nav,
  .hero {
    width: min(100%, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  .site-header {
    position: static;
  }

  .hero-copy,
  .hero-lede,
  .service-line {
    width: 100%;
    max-width: calc(100vw - 28px);
    word-break: break-all;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 8px 16px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 6px;
    font-size: 13px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .button {
    padding: 0 16px;
  }

  .premium-hero {
    gap: 28px;
    padding: 34px 0 44px;
  }

  .hero-report::before {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
    line-height: 1.05;
    word-break: break-all;
  }

  .hero-proof,
  .grid,
  .signal-grid,
  .coverage-items,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-proof strong {
    font-size: 24px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .section {
    padding: 48px 0;
  }

  .section.flush {
    padding-top: 40px;
  }

  .section h2 {
    font-size: 30px;
  }

  .section-head,
  .report-head,
  .contact-box,
  .record-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .region-scroller {
    max-height: 430px;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }

  .inspection-grid {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .inspection-grid > div:nth-child(4n + 3),
  .inspection-grid > div:nth-child(4n + 4) {
    display: none;
  }

  .inspection-grid > div {
    min-height: 46px;
    padding: 10px 12px;
    border-right: 1px solid var(--line);
    overflow-wrap: anywhere;
  }

  .inspection-grid > div:nth-child(4n + 2) {
    border-right: 0;
  }

  .inspection-grid > div:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

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

  .toc {
    position: static;
  }

  .article-main {
    padding: 24px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 4px 12px;
    padding: 16px;
  }

  .step span {
    grid-row: span 2;
    margin: 0;
    font-size: 20px;
  }

  .step strong {
    margin: 0;
    font-size: 18px;
  }

  .step p {
    font-size: 14px;
    line-height: 1.55;
  }

  .footer {
    padding: 22px 0;
  }

  .footer-grid {
    gap: 14px;
  }

  .footer p {
    margin-top: 10px;
  }

  .footer .brand-mark {
    width: 30px;
    height: 30px;
  }

  .footer .brand {
    font-size: 15px;
  }

  .footer a:not(.brand) {
    display: inline-flex;
    margin: 6px 12px 0 0;
  }
}

@media (max-width: 520px) {
  body {
    background: #f7faff;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 33px;
  }

  .hero-lede,
  .section-intro {
    font-size: 16px;
  }

  .coverage-shell {
    margin-top: 22px;
    padding: 10px;
    overflow: hidden;
  }

  .segmented {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 0 8px;
  }

  .segmented button {
    min-height: 34px;
    padding: 0 14px;
    font-size: 14px;
  }

  .region-scroller {
    max-height: 420px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 2px 8px 0;
  }

  .market-card {
    min-height: 106px;
    padding: 14px;
  }

  .market-card span {
    font-size: 24px;
  }

  .market-card h3 {
    margin-top: 8px;
    font-size: 21px;
  }

  .market-card p {
    margin-top: 2px;
  }

  .market-card small {
    margin-top: 10px;
    font-size: 12px;
  }

  .report-row {
    grid-template-columns: 1fr;
  }

  .inspection-panel {
    box-shadow: 0 12px 30px rgba(16, 26, 51, 0.08);
  }

  .inspection-panel .report-note {
    margin: 0;
    padding: 12px;
    font-size: 12px;
    line-height: 1.55;
    background: #fbfdff;
  }

  .signal-section {
    padding: 34px 0;
  }

  .signal-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .signal-grid a {
    min-height: 0;
    padding: 14px;
  }

  .record-box,
  .contact-box {
    padding: 18px;
    gap: 16px;
  }

  .footer {
    font-size: 13px;
  }

  .footer strong {
    margin: 0 10px 0 0;
  }
}
