:root {
  --brand: #1a7fd4;
  --brand-dark: #0f5fa3;
  --ink: #1a2332;
  --muted: #5a6a7a;
  --line: #e4ebf2;
  --bg: #f3f7fb;
  --card: #ffffff;
  --sea: #e8f3fc;
  --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%, #d7ecff 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #cfe6f8 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: 36px 0 10px;
}

.hero-panel {
  background:
    linear-gradient(135deg, rgba(26, 127, 212, 0.12), rgba(15, 95, 163, 0.04)),
    linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 12px 40px rgba(26, 95, 163, 0.08);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.hero .lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 48em;
}

.ads-mount {
  min-height: 0;
}

.section {
  padding: 28px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.section h3 {
  margin: 22px 0 10px;
  font-size: 19px;
}

.section p {
  margin: 0 0 14px;
  color: #2b3645;
}

.section ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: #2b3645;
}

.section li {
  margin-bottom: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 8px;
}

.feature-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #0b1220;
}

.feature-item .cap {
  padding: 12px 14px 14px;
}

.feature-item .cap strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.feature-item .cap span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.shot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}

.shot-row figure,
.shot-single figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot-row img,
.shot-single img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #0b1220;
}

.shot-row figcaption,
.shot-single figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--muted);
}

.shot-single {
  margin: 18px 0;
  max-width: 360px;
}

.cta-box {
  margin: 20px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--sea), #fff);
  border: 1px solid #cfe3f5;
}

.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: 900px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .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 {
    padding: 20px 16px;
  }

  .feature-grid,
  .shot-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shot-single {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 20px, var(--max));
  }

  .feature-grid,
  .shot-row {
    grid-template-columns: 1fr;
  }
}
