:root {
  --bg: #f3f7fc;
  --paper: #ffffff;
  --ink: #10233a;
  --muted: #5f7185;
  --accent: #1f6feb;
  --accent-soft: #e7f0ff;
  --warn: #ff8a3d;
  --ok: #12a37b;
  --line: #dbe5f1;
  --radius: 14px;
  --shell: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(560px 360px at 88% 0%, rgba(31, 111, 235, 0.1), transparent 64%),
    var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 700; }

.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.primary-nav { margin-left: auto; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  color: var(--muted);
}

.primary-nav a {
  display: inline-block;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.primary-nav a:hover { color: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(31, 111, 235, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-download svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(31, 111, 235, 0.32);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  padding: 58px 0 50px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 4px 10px;
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(34px, 4.8vw, 54px);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 700;
  color: var(--ink);
  border-left: 4px solid var(--warn);
  padding-left: 12px;
}

.hero-lead {
  margin-top: 16px;
  max-width: 480px;
  color: var(--muted);
  font-size: 15.5px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 15.5px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.28);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 111, 235, 0.34);
}

.button-large { padding: 15px 30px; font-size: 16.5px; }

.text-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px dashed #bccbdc;
  padding-bottom: 2px;
}

.text-link:hover { color: var(--accent); }

.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.hero-tags li {
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.hero-tags b { color: var(--accent); }

/* ---------- hero triage ---------- */
.triage-board {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(16, 35, 58, 0.1);
  padding: 18px;
}

.triage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.triage-head p {
  font-size: 14px;
  font-weight: 700;
}

.triage-head span {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 10px;
}

.triage-list {
  display: grid;
  gap: 10px;
  padding: 14px 0;
}

.triage-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdff;
}

.triage-list b {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

.triage-list div { min-width: 0; }

.triage-list p {
  font-size: 14px;
  font-weight: 700;
}

.triage-list small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.triage-list em {
  margin-left: auto;
  flex: none;
  font-style: normal;
  font-size: 12px;
  color: #a9b8c8;
}

.triage-foot {
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.triage-foot::before {
  content: "✦ ";
  color: var(--warn);
}

/* ---------- section shared ---------- */
section { padding: 52px 0; }

.section-heading {
  max-width: 660px;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 5px;
  padding: 2px 10px;
  margin-bottom: 12px;
}

.section-heading h2 { font-size: clamp(23px, 2.8vw, 31px); }

.section-heading p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.section-heading-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}

.section-heading-split > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}

/* ---------- features ---------- */
.features {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rail-grid article {
  position: relative;
  padding: 26px 20px 22px 22px;
  border-radius: 12px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}

.rail-grid article:nth-child(2) { border-left-color: var(--warn); }
.rail-grid article:nth-child(3) { border-left-color: var(--ok); }
.rail-grid article:nth-child(4) { border-left-color: #7b5cf0; }

.rail-grid span {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 12px;
  font-weight: 800;
  color: #c3d1e0;
}

.rail-grid h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.rail-grid p {
  font-size: 13.8px;
  color: var(--muted);
}

/* ---------- shots ---------- */
.quad-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quad-shots figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(16, 35, 58, 0.07);
}

.quad-shots img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.quad-shots figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px 12px;
  font-size: 13.5px;
  font-weight: 700;
}

.quad-shots figcaption b {
  font-size: 11.5px;
  color: var(--accent);
}

.quad-shots figcaption small {
  margin-left: auto;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--muted);
}

.sample-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- faq ---------- */
.faq { background: linear-gradient(180deg, #eef4fb, #f3f7fc 55%); }

.faq-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-board details {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  padding: 0 18px;
  height: fit-content;
}

.faq-board details[open] {
  border-color: #b7d0f5;
  box-shadow: 0 8px 22px rgba(31, 111, 235, 0.07);
}

.faq-board summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.faq-board summary::-webkit-details-marker { display: none; }

.faq-board summary h3 {
  flex: 1;
  font-size: 15.5px;
}

.faq-board summary i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.faq-board summary i::before,
.faq-board summary i::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}

.faq-board summary i::before {
  left: 4px;
  right: 4px;
  top: 8px;
  height: 2px;
}

.faq-board summary i::after {
  top: 4px;
  bottom: 4px;
  left: 8px;
  width: 2px;
}

.faq-board details[open] summary i::after { display: none; }

.faq-board details > p {
  padding: 0 0 16px;
  font-size: 14.2px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.review-card p {
  font-size: 14px;
  color: #33475e;
}

.review-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
}

.review-meta b {
  font-size: 12.5px;
  color: var(--accent);
}

/* ---------- steps ---------- */
.steps { border-top: 1px solid var(--line); }

.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-row li {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.step-row li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 34px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}

.step-row span {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--warn);
}

.step-row h3 {
  margin: 8px 0 6px;
  font-size: 18px;
}

.step-row p {
  font-size: 13.8px;
  color: var(--muted);
}

/* ---------- download ---------- */
.download { padding-bottom: 68px; }

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  border-radius: 16px;
  background:
    radial-gradient(420px 240px at 92% 8%, rgba(255, 138, 61, 0.16), transparent 70%),
    linear-gradient(120deg, #16386b, #1f6feb);
  color: #fff;
}

.download-copy { max-width: 520px; }

.download-copy .eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #ffd9bf;
  margin-bottom: 10px;
}

.download-copy h2 { font-size: clamp(22px, 2.6vw, 29px); }

.download-copy p:last-child {
  margin-top: 10px;
  font-size: 14.2px;
  color: rgba(255, 255, 255, 0.82);
}

.download-act {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: none;
}

.download-act .button-primary {
  background: #fff;
  color: #16386b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.download-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

.download-notes li::before {
  content: "· ";
  color: #ffd9bf;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0f2137;
  color: #cfdcea;
  padding: 40px 0 46px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 26px;
  align-items: start;
}

.footer-brand strong { font-size: 17px; }

.footer-brand p {
  margin-top: 6px;
  font-size: 13px;
  color: #8fa2b6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
  color: #a9bbcd;
}

.footer-nav a:hover { color: #fff; }

.footer-meta {
  font-size: 13px;
  color: #8fa2b6;
  text-align: right;
}

.footer-meta a {
  display: inline-block;
  margin-top: 6px;
  border-bottom: 1px dashed #33495f;
}

.disclaimer {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #23374c;
  font-size: 12.5px;
  color: #7d91a6;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 30px; }
  .rail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quad-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 860px) {
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }

  .primary-nav.is-open { display: block; }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 15px;
  }

  .primary-nav ul li { width: 100%; }

  .primary-nav a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle { display: grid; }

  .hero { padding: 38px 0 36px; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .triage-board { max-width: 520px; }

  .faq-board { grid-template-columns: minmax(0, 1fr); }

  .download-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-heading-split { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-heading-split > p { white-space: normal; }
}

@media (max-width: 560px) {
  .page-shell { padding: 0 18px; }
  .nav-shell { padding: 10px 18px; gap: 10px; }
  .nav-download span { display: none; }
  .nav-download { padding: 9px 12px; }
  .hero h1 { font-size: 36px; }
  .rail-grid { grid-template-columns: minmax(0, 1fr); }
  .quad-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .step-row { grid-template-columns: minmax(0, 1fr); }
  .download-notes { flex-direction: column; gap: 6px; }
  section { padding: 42px 0; }
}
