:root {
  --brand: #0e8a7a;
  --brand-dark: #0a6b5e;
  --ink: #17232b;
  --muted: #5a6b75;
  --line: #dde8e6;
  --bg: #f2f7f6;
  --card: #ffffff;
  --sea: #e5f5f2;
  --radius: 14px;
  --max: 1080px;
  --header-h: 58px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d4f0eb 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #c8e8e2 0%, transparent 50%),
    var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
}

.nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  padding: 28px 0 8px;
}

.hero-panel {
  background:
    linear-gradient(135deg, rgba(14, 138, 122, 0.12), rgba(10, 107, 94, 0.04)),
    linear-gradient(180deg, #fff, #f6fbfa);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 34px 28px;
  box-shadow: 0 12px 40px rgba(10, 107, 94, 0.08);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 138, 122, 0.12);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.hero .lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 52em;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hero-links a:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  text-decoration: none;
}

.ads-mount {
  min-height: 0;
}

.section {
  padding: 18px 0;
}

.block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px 28px;
  box-shadow: 0 8px 28px rgba(23, 35, 43, 0.04);
}

.sec-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sec-num {
  flex: 0 0 auto;
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sea);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 14px;
}

.sec-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.35;
}

.sec-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.prose p,
.section p {
  margin: 0 0 14px;
  color: #2b3645;
}

.prose p:last-child {
  margin-bottom: 0;
}

.section h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.section ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: #2b3645;
}

.section li {
  margin-bottom: 8px;
}

.note {
  margin: 16px 0 0 !important;
  padding: 12px 14px;
  background: var(--sea);
  border-radius: 12px;
  font-size: 14px;
  color: #2b3645;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.pill-card {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pill-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #0b1220;
}

.pill-card .cap {
  padding: 12px 14px 14px;
}

.pill-card .cap strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.pill-card .cap span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.shot-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.shot-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.shot-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.shot-grid.narrow {
  max-width: 720px;
}

.shot-grid figure {
  margin: 0;
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #0b1220;
}

.shot-grid figcaption {
  padding: 8px 10px 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.split.reverse .spotlight {
  order: -1;
}

.spotlight {
  margin: 0;
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spotlight img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #0b1220;
}

.spotlight figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.step-card {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
}

.step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.cta-box {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--sea), #fff);
  border: 1px solid #c5e6df;
}

.cta-box a {
  font-weight: 600;
}

.page-main {
  padding: 28px 0 48px;
}

.page-main h1 {
  margin: 0 0 10px;
  font-size: 30px;
}

.page-main .meta {
  color: var(--muted);
  margin-bottom: 18px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
}

.content-card h2 {
  margin: 26px 0 10px;
  font-size: 20px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: #2b3645;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0 36px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.copyright {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #7a8896;
  font-size: 13px;
}

.error-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.error-box {
  width: 100%;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 24px 32px;
}

.error-box .code {
  font-size: 64px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.error-box h1 {
  margin: 0 0 10px;
  font-size: 24px;
}

.error-box p {
  color: var(--muted);
  margin: 0 0 18px;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
}

.btn:hover {
  background: var(--brand-dark);
}

.ilinks {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: var(--sea);
  border-radius: 12px;
  font-size: 14px;
}

.ilinks a {
  margin-right: 12px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .shot-grid.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .spotlight {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 14px;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .site-header {
    position: sticky;
  }

  .mobile-scroll {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-main .content-card,
  .page-pad {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-main {
    padding: 18px 0 40px;
  }

  .content-card {
    padding: 18px 16px;
  }

  .hero-panel,
  .block {
    padding: 18px 16px 20px;
  }

  .pill-grid,
  .shot-grid.cols-4,
  .shot-grid.cols-3,
  .step-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .shot-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sec-head h2 {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 20px, var(--max));
  }

  .pill-grid,
  .shot-grid.cols-4,
  .shot-grid.cols-3,
  .shot-grid.cols-2,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .hero-links {
    gap: 8px;
  }

  .hero-links a {
    width: 100%;
    text-align: center;
  }
}
