:root {
  --bg: #060d1a;
  --bg-elev: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.38);
  --accent: #38bdf8;
  --accent-2: #7dd3fc;
  --max: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 56px;
}

.kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 18ch;
}

.lede {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.btn-primary {
  background: #0ea5e9;
  color: #061018;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.card h2,
.section h2 {
  font-size: 18px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

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

.section {
  padding: 28px 0 72px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  max-width: 18ch;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-2);
  font-weight: 800;
}

.specimen {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #07101d;
}

.specimen img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}

.specimen-cap {
  padding: 16px 18px 18px;
  font-size: 13px;
  color: var(--faint);
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.meta-row div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.meta-row strong {
  display: block;
  font-size: 12px;
  color: var(--faint);
  font-weight: 650;
  margin-bottom: 4px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--faint);
  font-size: 13px;
}

footer a {
  color: var(--accent-2);
}

.ruo {
  margin-top: 10px;
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    padding-top: 48px;
  }
  h1 {
    max-width: none;
  }
}
