:root {
  --brand: #0f766e;
  --brand-dark: #0b5a54;
  --brand-soft: #e6f5f3;
  --accent: #c27803;
  --ink: #1a2b2a;
  --muted: #5c6f6d;
  --line: #d4e4e1;
  --bg: #f3f8f6;
  --card: #ffffff;
  --header-h: 60px;
  --ads-h: 0px;
  --max: 1080px;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(15, 80, 72, 0.08);
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -8%, rgba(15, 118, 110, 0.14), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(194, 120, 3, 0.1), transparent 50%),
    linear-gradient(180deg, #eaf4f1 0%, var(--bg) 32%, #eef5f3 100%);
  line-height: 1.75;
  min-height: 100vh;
  padding-top: var(--header-h);
}

body.has-ads {
  padding-top: calc(var(--header-h) + var(--ads-h, 0px));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

h1, h2, h3 {
  line-height: 1.35;
  color: #0a3d39;
  margin: 0 0 0.7em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 2px 14px rgba(10, 60, 55, 0.05);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0a3d39;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  color: var(--brand);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand-domain {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 42px;
  height: 36px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0a3d39;
  margin: 4px auto;
  border-radius: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
  text-decoration: none;
}

.page-shell {
  min-height: calc(100vh - var(--header-h));
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(230, 245, 243, 0.92)),
    linear-gradient(120deg, #d8ebe7, #ffffff);
  border: 1px solid rgba(15, 118, 110, 0.16);
  box-shadow: var(--shadow);
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #14968c);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.28);
}

.btn-primary:hover { color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--brand-dark);
  border-color: rgba(15, 118, 110, 0.28);
}

.hero-shot {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 60, 55, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.75);
  max-width: 320px;
  margin-inline: auto;
}

.hero-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 460px;
}

.section {
  margin-bottom: 28px;
  background: var(--card);
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.section h2 {
  font-size: 1.32rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-soft);
  margin-bottom: 16px;
}

.section h3 {
  font-size: 1.08rem;
  margin-top: 1.15em;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.toc a {
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  text-decoration: none;
}

.toc a:hover {
  background: #cfeae6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: linear-gradient(180deg, #fff, #f6fbfa);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 280px;
}

.feature-card .body {
  padding: 14px 14px 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.shot-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: start;
  margin: 18px 0;
  padding: 14px;
  background: #f6fbfa;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.shot-row img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 60, 55, 0.12);
}

.shot-row .txt h3 {
  margin-top: 0;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fbfdff;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #0a3d39;
}

.faq details[open] summary {
  margin-bottom: 8px;
}

.links-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.links-box a {
  font-weight: 600;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.error-box {
  max-width: 720px;
  margin: 40px auto;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  padding: 36px 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.error-box .code {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.error-box .shot {
  max-width: 220px;
  margin: 18px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.site-footer {
  background: linear-gradient(180deg, #0a3d39, #072e2b);
  color: rgba(255, 255, 255, 0.86);
  padding: 34px 18px 24px;
  margin-top: 12px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}

.site-footer a {
  color: #b8e6df;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 6px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    max-width: 260px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .links-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 52px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    border-radius: 8px;
    padding: 12px 14px;
  }

  .container {
    padding: 18px 14px 36px;
  }

  body.page-pad .container,
  .legal.container,
  .page-pad .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 18px;
    margin-bottom: 18px;
  }

  .section {
    padding: 18px 14px;
    margin-bottom: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .shot-row {
    grid-template-columns: 1fr;
  }

  .shot-row img {
    max-width: 220px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .brand span.brand-name {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 1.38rem;
  }
}
