:root {
  --brand: #2f8fde;
  --brand-dark: #1a6fb8;
  --brand-soft: #e8f4fc;
  --ink: #1a2332;
  --muted: #5a6a7a;
  --line: #d8e4ef;
  --bg: #f5f9fc;
  --card: #ffffff;
  --accent: #ff7a45;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(26, 111, 184, 0.08);
  --max: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9efff 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #ffe8dc 0%, transparent 50%),
    linear-gradient(180deg, #f7fbfe 0%, var(--bg) 40%, #eef5fa 100%);
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; }
ul, ol { padding-left: 1.2em; }
li { margin: 0.35em 0; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { left: 8px; }

.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);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 1.05rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--brand-dark); }
.brand img {
  width: 42px; height: 42px; border-radius: 10px;
  object-fit: cover; box-shadow: 0 2px 8px rgba(47, 143, 222, 0.25);
}
.brand span { letter-spacing: 0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.nav a {
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
  padding: 6px 2px; text-decoration: none;
}
.nav a:hover, .nav a.active { color: var(--brand-dark); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.hero-copy .lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 999px; font-weight: 600;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 143, 222, 0.28);
}
.btn-primary:hover { color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
}
.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid var(--line);
}
.hero-visual img { width: 100%; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px 56px;
}
.section {
  margin: 36px 0;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-soft);
}
.section h3 {
  font-size: 1.18rem;
  margin: 22px 0 8px;
  color: var(--brand-dark);
}
.section p { margin: 10px 0; color: #2b3745; }
.section .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.toc {
  background: var(--brand-soft);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 18px 0 8px;
}
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; }
.toc a { font-weight: 500; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fbfdff;
}
.feature-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #eef3f8;
}
.feature-card .body { padding: 14px 16px 18px; }
.feature-card h3 { margin-top: 0; font-size: 1.05rem; }
.feature-card p { font-size: 0.95rem; margin: 6px 0 0; color: var(--muted); }

.media-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
  margin: 18px 0;
}
.media-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.media-row.reverse .media-text { order: 1; }
.media-row.reverse .media-shot { order: 2; }
.media-shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 16px rgba(26, 111, 184, 0.06);
}
.media-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}
.shot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shot-pair img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 14px 0;
}
.chip {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

.cta-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf5ff, #fff4ee);
  border: 1px solid var(--line);
}
.cta-box a { font-weight: 600; }

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 8px;
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 720px; }

.legal .section h2 { font-size: 1.35rem; }
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #0f2740;
  color: #c9d7e6;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}
.site-footer a { color: #c9d7e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin: 8px 0; }
.footer-brand {
  display: flex; gap: 12px; align-items: flex-start;
}
.footer-brand img {
  width: 48px; height: 48px; border-radius: 10px; object-fit: cover;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 14px 20px 22px;
  color: #8fa3b8;
  font-size: 0.88rem;
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 28px;
  max-width: 520px;
  box-shadow: var(--shadow);
}
.error-box .code {
  font-size: 4rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.error-box h1 { font-size: 1.5rem; margin-bottom: 10px; }
.error-box p { color: var(--muted); margin-bottom: 22px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .media-row, .media-row.reverse { grid-template-columns: 1fr; }
  .media-row.reverse .media-text,
  .media-row.reverse .media-shot { order: initial; }
  .media-shot { max-width: 360px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 20px 16px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(26, 111, 184, 0.12);
    z-index: 120;
  }
  .nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }
  .nav a:hover { background: var(--brand-soft); }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: nowrap; }
  .shot-pair { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .hero-copy h1 { font-size: 1.65rem; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy, .hero-visual, .section {
  animation: rise .55s ease both;
}
.hero-visual { animation-delay: .08s; }
