:root {
  --ink: #07182a;
  --muted: #5f6b6d;
  --line: rgba(7, 24, 42, .12);
  --paper: #fbf8f4;
  --white: #fff;
  --teal: #557c78;
  --rose: #b98195;
  --purple: #a98af4;
  --lime: #d6eea2;
  --shadow: 0 26px 80px rgba(17, 21, 20, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans SC", "Source Han Sans SC", "思源黑体", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(7,24,42,.12);
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(7,24,42,.16);
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  background: #fff;
}

.hero {
  color: #fff;
  background:
    radial-gradient(circle at 6% 12%, rgba(159,190,186,.86), transparent 34%),
    radial-gradient(circle at 86% 24%, rgba(185,129,149,.78), transparent 36%),
    linear-gradient(110deg, #557c78 0%, #344449 42%, #6e4a5e 72%, #b98195 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .26;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(320px, .38fr);
  gap: 48px;
  align-items: center;
  padding: 86px 0 78px;
}

.kicker {
  margin: 0 0 14px;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 19px;
}

.hero-panel {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.panel-note {
  padding: 18px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

section {
  padding: 72px 0;
}

.soft {
  background:
    radial-gradient(circle at 8% 0%, rgba(159,190,186,.22), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(185,129,149,.14), transparent 32%),
    linear-gradient(180deg, #fbf8f4 0%, #edf5f1 100%);
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head .eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(7,24,42,.06);
}

.card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 15px;
}

.card p { margin: 0; }

.card ul {
  margin: 0;
  padding-left: 18px;
}

.dark {
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(159,190,186,.18), transparent 32%),
    radial-gradient(circle at 100% 10%, rgba(185,129,149,.2), transparent 34%),
    linear-gradient(135deg, #07182a 0%, #172223 55%, #263233 100%);
}

.dark .section-head .eyebrow { color: var(--lime); }
.dark .section-head p,
.dark .card p,
.dark .card li { color: rgba(255,255,255,.7); }
.dark .card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.step strong {
  display: block;
  font-size: 18px;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-size: 13px;
  font-weight: 850;
}

.cta {
  text-align: center;
  background: #fff;
}

.cta p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #07182a;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  text-align: center;
}

.footer p { margin: 4px 0; }

@media (max-width: 900px) {
  .hero-inner,
  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-inner { padding: 62px 0; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 30px, 1120px); }
  .nav { min-height: 64px; }
  .brand span:last-child { display: none; }
  section { padding: 54px 0; }
}
