:root {
  --ink: #152833;
  --muted: #5a6d78;
  --line: #c9d8e0;
  --bg: #eef4f7;
  --bg-soft: #e3edf2;
  --surface: #ffffff;
  --teal: #0b7f8c;
  --teal-deep: #065964;
  --coral: #d4543c;
  --coral-deep: #b4422d;
  --max: 1080px;
  --radius: 10px;
  --site-top-offset: 64px;
  --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(1200px 500px at 10% -10%, #d7ecef 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #f3e4de 0%, transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 40%, #e8f0f4 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--teal-deep);
  background: #e5f3f5;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.page-pad {
  padding: 28px 0 48px;
}

.hero {
  padding: 36px 0 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(10, 70, 90, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.section {
  padding: 34px 0;
  border-top: 1px solid rgba(201, 216, 224, 0.7);
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.3;
}

.section-intro {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 70ch;
}

.prose p {
  margin: 0 0 14px;
  color: var(--ink);
}

.prose h3 {
  margin: 26px 0 10px;
  font-size: 1.2rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 8px;
}

.shot-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.shot figure {
  margin: 0;
}

.shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: 0 8px 20px rgba(20, 50, 70, 0.08);
}

.shot figcaption {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
  color: var(--ink);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}

.entry-links a {
  padding: 10px 16px;
  background: #e5f3f5;
  border: 1px solid #b9dce2;
  border-radius: 8px;
  color: var(--teal-deep);
  font-weight: 600;
}

.entry-links a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.note-box {
  margin: 18px 0;
  padding: 16px 18px;
  background: linear-gradient(135deg, #eef8f9, #f8f1ee);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
}

.page-hero {
  padding: 8px 0 18px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.legal .prose h2 {
  font-size: 1.2rem;
  margin-top: 28px;
}

.error-panel {
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
}

.error-panel h1 {
  margin: 0 0 8px;
  font-size: 2.4rem;
}

.error-panel p {
  margin: 0 0 20px;
  color: var(--muted);
}

.site-footer {
  margin-top: 20px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 6px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--teal-deep);
}

.copy {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 14px 30px rgba(20, 40, 60, 0.16);
  }

  .site-top-fixed .site-header {
    position: relative;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .wrap {
    width: min(100% - 24px, var(--max));
  }

  .page-pad {
    padding: 20px 0 40px;
  }

  .page-inner {
    padding-left: 4px;
    padding-right: 4px;
  }

  .shot-grid,
  .shot-grid.two {
    grid-template-columns: 1fr;
  }

  body.nav-open {
    overflow: hidden;
  }

  .mobile-scroll {
    min-height: calc(100vh - var(--site-top-offset));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  #ads img {
    transition: none;
  }
}
