:root {
  --bg: #fbfbfd;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-dark: #0060c2;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.wrap-narrow { width: min(760px, 100% - 48px); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner { display: flex; align-items: center; gap: 32px; height: 60px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand img { border-radius: 7px; }

.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(0, 113, 227, 0.08); }

.btn-light { background: #fff; color: var(--fg); }
.btn-light:hover { background: #f0f0f3; }

.btn-sm { height: 34px; padding: 0 18px; font-size: 14px; }

/* ---------- typography ---------- */

.eyebrow {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
}

.lede strong { color: var(--fg); font-weight: 600; }

.hero-badge {
  display: flex;
  align-items: baseline;
  gap: 20px;
  width: fit-content;
  margin: 28px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.hero-badge strong { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); }
.hero-badge span { font-size: 18px; font-weight: 600; }

.section-lede { margin-top: 16px; font-size: 19px; color: var(--muted); }

/* ---------- sections ---------- */

.section { padding: 120px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { margin-bottom: 56px; }

/* ---------- hero ---------- */

.hero { padding: 96px 0 0; text-align: center; }

.hero-actions { display: flex; justify-content: center; gap: 16px; margin-top: 36px; }

.hero-shot {
  margin: 72px 0 0;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #ececf0);
  box-shadow: var(--shadow);
}

.hero-shot img { border-radius: 20px; }

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 72px 0 0;
}

.stats li { text-align: center; }
.stats strong { display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.stats span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* ---------- features ---------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.card-wide { grid-column: 1 / -1; }

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.1);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 { font-size: 21px; line-height: 1.35; margin-bottom: 12px; }
.card p { font-size: 16px; color: var(--muted); }

.mini-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 12px 0 0; }
.mini-list dt { font-weight: 600; margin-bottom: 6px; }
.mini-list dd { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- gallery ---------- */

.dock-stage {
  display: flex;
  justify-content: center;
  padding: 64px 48px 56px;
  margin-bottom: 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #e9eef6, #f6f7fa);
  overflow: hidden;
}

.dock-stage img { width: min(880px, 100%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22)); }

.gallery { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }

.shot-col { display: grid; gap: 32px; }

.shot {
  margin: 0;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.shot img { border-radius: 12px; }

.shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 8px 6px;
  font-size: 14px;
  color: var(--muted);
}

.shot figcaption strong { font-size: 16px; color: var(--fg); }
.shot figcaption span { text-align: right; }

.settings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.settings-grid .shot figcaption { justify-content: center; padding: 10px 8px 6px; }
.settings-grid .shot figcaption strong { font-size: 15px; }

/* ---------- donate ---------- */

.donate { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: center; gap: 32px; margin-top: 48px; }

.donate-card {
  margin: 0;
  padding: 28px 28px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.donate-card img { border-radius: 12px; }
.donate-card figcaption { padding-top: 16px; text-align: center; font-size: 16px; font-weight: 500; }

/* ---------- key caps used in gallery captions ---------- */

kbd {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

/* ---------- cta & footer ---------- */

.cta { padding: 120px 0; text-align: center; color: #fff; background: linear-gradient(160deg, #0a84ff, #0060c2); }
.cta img { margin: 0 auto 32px; border-radius: 18px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.cta h2 { margin-bottom: 16px; }
.cta p { font-size: 19px; color: rgba(255, 255, 255, 0.85); margin-bottom: 36px; }

.footer { padding: 40px 0; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .nav-links { display: none; }
  .section { padding: 88px 0; }
  .features { grid-template-columns: 1fr; }
  .mini-list { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { width: calc(100% - 40px); }
  .hero { padding-top: 64px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stats strong { font-size: 28px; }
  .hero-badge { flex-direction: column; align-items: center; gap: 4px; padding: 14px 24px; }
  .hero-badge strong { font-size: 28px; }
  .hero-badge span { font-size: 16px; }
  .mini-list { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .dock-stage { padding: 40px 20px; }
  .shot figcaption { flex-direction: column; gap: 4px; }
  .shot figcaption span { text-align: left; }
  .footer .wrap { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-links a { transition: none; }
}
