:root {
  --ink: #070b0f;
  --ink-2: #0d141a;
  --paper: #eef2f3;
  --muted: #91a0a8;
  --line: rgba(190, 218, 232, 0.18);
  --signal: #9fd6f4;
  --signal-rgb: 159, 214, 244;
  --max: 1320px;
  --pad: clamp(1.2rem, 4vw, 4rem);
  --sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 3%, rgba(var(--signal-rgb), 0.1), transparent 28rem),
    linear-gradient(180deg, #070b0f, #0a1015 52%, #070b0f);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--signal-rgb), 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--signal-rgb), 0.038) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,
input { font: inherit; }
p,
h1,
h2,
h3,
figure { margin-top: 0; }

.skip-link {
  position: fixed;
  z-index: 99;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.geo-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  min-height: 76px;
  padding: 0.85rem var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 15, 0.84);
  backdrop-filter: blur(18px);
}

.geo-brand img { width: 86px; height: auto; }

.geo-nav {
  display: flex;
  gap: clamp(1rem, 2.3vw, 2.5rem);
  justify-content: center;
  color: rgba(238, 242, 243, 0.72);
  font-size: 0.78rem;
}

.geo-nav a { transition: color 180ms ease; }
.geo-nav a:hover,
.geo-nav a:focus-visible { color: var(--signal); }

.geo-phone {
  color: var(--signal);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.geo-menu {
  display: none;
  justify-self: end;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 0.78rem;
}

.geo-hero {
  position: relative;
  display: grid;
  min-height: min(78vh, 760px);
  padding: clamp(5rem, 10vw, 9rem) var(--pad) 4rem;
  align-items: end;
  isolation: isolate;
}

.geo-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 15, 0.96) 0 28%, rgba(7, 11, 15, 0.7) 58%, rgba(7, 11, 15, 0.34)),
    linear-gradient(0deg, #070b0f 0, transparent 35%);
  content: "";
}

.geo-hero img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.72) contrast(1.05);
}

.geo-hero-copy {
  width: min(100%, 900px);
}

.geo-code,
.geo-kicker {
  color: var(--signal);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.geo-hero h1 {
  max-width: 14ch;
  margin-bottom: 1.6rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.geo-hero h1 em {
  color: var(--signal);
  font-style: normal;
}

.geo-hero-copy > p:not(.geo-code) {
  max-width: 760px;
  color: rgba(238, 242, 243, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
}

.geo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.geo-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  background: rgba(7, 11, 15, 0.45);
  font-size: 0.82rem;
}

.geo-button--primary {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.geo-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) var(--pad);
}

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

.geo-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.geo-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.geo-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.85;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.geo-card {
  position: relative;
  min-height: 240px;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.geo-card span {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--signal);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.geo-card h3 {
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.geo-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.geo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.geo-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.geo-table th,
.geo-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.65;
}

.geo-table tr:last-child th,
.geo-table tr:last-child td { border-bottom: 0; }
.geo-table th { width: 22%; color: var(--signal); font-weight: 500; }
.geo-table td { color: rgba(238, 242, 243, 0.78); }

.geo-process {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.geo-step {
  min-height: 255px;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}

.geo-step::before {
  display: block;
  margin-bottom: 3.4rem;
  color: var(--signal);
  content: counter(steps, decimal-leading-zero);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.geo-step h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.geo-step p { color: var(--muted); line-height: 1.75; }

.geo-faq {
  border-top: 1px solid var(--line);
}

.geo-faq details {
  border-bottom: 1px solid var(--line);
}

.geo-faq summary {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 1rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.geo-faq summary::-webkit-details-marker { display: none; }
.geo-faq summary span { color: var(--signal); font-size: 0.68rem; padding-top: 0.3rem; }
.geo-faq summary::after { color: var(--signal); content: "＋"; }
.geo-faq details[open] summary::after { content: "−"; }
.geo-faq details p {
  max-width: 900px;
  margin: -0.25rem 0 1.5rem 3.5rem;
  color: var(--muted);
  line-height: 1.85;
}

.geo-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  width: min(calc(100% - (var(--pad) * 2)), var(--max));
  margin: 0 auto 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(var(--signal-rgb), 0.42);
  background:
    linear-gradient(135deg, rgba(var(--signal-rgb), 0.12), transparent 48%),
    rgba(255, 255, 255, 0.025);
}

.geo-cta h2 {
  max-width: 18ch;
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
}

.geo-cta p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }

.geo-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad) 4rem;
}

.geo-fact {
  padding: 1.25rem;
  border-top: 1px solid var(--line);
}

.geo-fact span { display: block; margin-bottom: 0.6rem; color: var(--muted); font-size: 0.7rem; }
.geo-fact strong { font-size: 0.86rem; font-weight: 500; line-height: 1.6; }

.geo-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 2rem var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.geo-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }

.faq-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin-bottom: 2rem;
}

.faq-search {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  outline: 0;
  background: rgba(255,255,255,0.03);
  color: var(--paper);
}

.faq-search:focus { border-color: var(--signal); }
.faq-count { align-self: center; color: var(--signal); font-size: 0.75rem; }
.faq-group { margin-top: 4rem; }
.faq-group h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 400; }
.faq-item[hidden] { display: none; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-card {
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: var(--ink-2);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.5rem;
  object-fit: cover;
  filter: saturate(0.78);
}

.case-card h2 { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.case-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem 1.5rem; color: var(--muted); line-height: 1.6; }
.case-card dt { color: var(--signal); }
.case-card dd { margin: 0; }
.case-note { color: var(--muted); font-size: 0.78rem; line-height: 1.7; }

@media (prefers-reduced-motion: no-preference) {
  .geo-hero-copy {
    animation: geo-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .geo-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(var(--signal-rgb), 0.12), transparent 65%);
    content: "";
    pointer-events: none;
    transform: translateX(-100%);
    animation: geo-scan 7s ease-in-out infinite;
  }
}

@keyframes geo-enter {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes geo-scan {
  0%, 68% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 900px) {
  .geo-header { grid-template-columns: auto auto; justify-content: space-between; }
  .geo-phone { display: none; }
  .geo-menu { display: block; }
  .geo-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem var(--pad) 1.4rem;
    flex-direction: column;
    background: rgba(7, 11, 15, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .geo-nav.is-open { display: flex; }
  .geo-heading,
  .geo-cta { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .geo-header { min-height: 68px; }
  .geo-brand img { width: 72px; }
  .geo-hero { min-height: 680px; padding-top: 7rem; }
  .geo-hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11.5vw, 3.15rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }
  .geo-hero-copy > p:not(.geo-code) { font-size: 0.94rem; line-height: 1.75; }
  .geo-hero::before {
    background:
      linear-gradient(180deg, rgba(7, 11, 15, 0.45), rgba(7, 11, 15, 0.96) 75%),
      linear-gradient(0deg, #070b0f, transparent);
  }
  .geo-hero img { object-position: 56% center; opacity: 0.58; }
  .geo-grid,
  .geo-process,
  .case-grid { grid-template-columns: 1fr; }
  .geo-table { min-width: 0; }
  .geo-table tr { display: block; border-bottom: 1px solid var(--line); }
  .geo-table tr:last-child { border-bottom: 0; }
  .geo-table th,
  .geo-table td {
    display: block;
    width: 100%;
    border-bottom: 0;
  }
  .geo-table th { padding-bottom: 0.25rem; }
  .geo-table td { padding-top: 0.25rem; }
  .geo-card { min-height: 210px; }
  .geo-facts { grid-template-columns: 1fr; }
  .geo-cta { width: calc(100% - 2rem); }
  .geo-footer { grid-template-columns: 1fr; text-align: center; }
  .geo-footer nav { justify-content: center; }
  .geo-faq summary { grid-template-columns: 2rem 1fr auto; gap: 0.5rem; }
  .geo-faq details p { margin-left: 2.5rem; }
  .faq-toolbar { grid-template-columns: 1fr; }
}
