:root {
  --navy: #0B1B2B;
  --steel: #1E5F8C;
  --mint: #2FBF9B;
  --sand: #F4F1EC;
  --ink: #1C2530;
  --sub: #5B6B7A;
  --white: #F7FAFC;
  --line: #E3E8ED;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(11,27,43,.06);
}

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

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.85;
  font-size: 16px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }

code { font-family: "JetBrains Mono", Consolas, monospace; background: var(--sand); padding: 1px 6px; border-radius: 4px; }

h1, h2, h3 { font-family: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", sans-serif; color: var(--navy); }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 24px; }
.brand { color: #fff; font-weight: 700; font-size: 19px; }
.brand span { color: var(--mint); margin-left: 2px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a {
  color: #c7d4de; padding: 7px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.main-nav a.active { color: var(--navy); background: var(--mint); font-weight: 700; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--sand) 0%, #fff 55%); padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--steel);
  background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--shadow); margin-bottom: 16px; font-weight: 600;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); display: inline-block; }
.hero h1 { font-size: 32px; line-height: 1.35; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--steel); }
.hero-lead { color: var(--sub); font-size: 17px; margin-bottom: 24px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: .2s; border: 1px solid transparent;
}
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: #174e75; text-decoration: none; }
.btn-ghost { background: #fff; color: var(--steel); border-color: var(--steel); }
.btn-ghost:hover { background: var(--sand); text-decoration: none; }
.hero-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; color: var(--sub); font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--mint); font-weight: 700; margin-right: 8px; }
.hero-visual img, .page-hero-visual img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* Sections */
.section { padding: 56px 0; }
.section.soft { background: var(--sand); }
.section-title { font-size: 26px; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.section-title span { font-size: 14px; color: var(--sub); font-weight: 400; letter-spacing: .5px; }
.section-intro { color: var(--sub); margin-bottom: 28px; max-width: 760px; }
.section-note { margin-top: 24px; color: var(--sub); font-size: 14px; }
.section-note a { font-weight: 600; }

/* Cards */
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--sub); font-size: 14.5px; }
.link-card { display: block; transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11,27,43,.1); text-decoration: none; }
.link-card h3 { color: var(--steel); }
.step-num {
  display: inline-block; font-family: "JetBrains Mono", monospace; color: var(--mint);
  font-weight: 700; font-size: 15px; background: rgba(47,191,155,.12); padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
}
.placeholder { background: var(--sand); }

/* Status board */
.status-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.status-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 14px; box-shadow: var(--shadow); }
.status-item .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.status-item.ok .dot { background: var(--mint); }
.status-item.info .dot { background: var(--steel); }
.status-item.warn .dot { background: #E8A33D; }
.status-item strong { color: var(--navy); font-size: 15px; }
.status-item p { color: var(--sub); font-size: 13.5px; margin-top: 4px; }
.status-item p a { font-weight: 600; }

/* Hero images */
.visual-inline { margin-top: 28px; max-width: 900px; }
.visual-inline img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* Timeline */
.timeline-list { border-left: 2px solid var(--line); padding-left: 26px; display: grid; gap: 22px; }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--steel); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--line);
}
.tl-date { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--steel); font-weight: 700; }
.tl-item p { color: var(--sub); font-size: 15px; margin-top: 4px; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.faq-list summary { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--navy); font-size: 15.5px; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "＋"; position: absolute; right: 20px; color: var(--steel); }
.faq-list details[open] summary::after { content: "－"; }
.faq-list details p { padding: 0 20px 18px; color: var(--sub); font-size: 14.5px; }

/* Page hero */
.page-hero { background: linear-gradient(160deg, var(--sand) 0%, #fff 60%); padding: 56px 0 40px; }
.page-hero.plain { padding-bottom: 56px; }
.page-hero h1 { font-size: 30px; margin: 12px 0 12px; }
.page-hero .hero-lead { max-width: 720px; margin-bottom: 0; }
.page-hero-visual { margin-top: 28px; max-width: 800px; }

/* Flow list */
.flow-list { padding-left: 22px; display: grid; gap: 10px; color: var(--sub); }
.flow-list li strong { color: var(--navy); }
.flow-list li::marker { color: var(--steel); font-weight: 700; }
.section p { color: var(--sub); margin-bottom: 14px; }
.section p strong { color: var(--navy); }

/* Compare table */
.compare-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.compare-table .row { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.compare-table .row:last-child { border-bottom: none; }
.compare-table .row.head { background: var(--navy); color: #fff; font-weight: 700; }
.compare-table .row.head span { color: #e9eef3; }
.compare-table .row span { color: var(--sub); font-size: 14.5px; }
.ok-text { color: var(--mint); font-weight: 700; }
.warn-text { color: #D97706; font-weight: 700; }

/* Forms demo */
.form-demo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-demo p { color: var(--sub); }

/* Footer */
.site-footer { background: var(--navy); padding: 40px 0 32px; margin-top: 48px; }
.footer-inner { display: grid; gap: 16px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 18px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: #c7d4de; font-size: 14px; }
.footer-nav a:hover { color: var(--mint); text-decoration: none; }
.footer-meta { color: #7f93a3; font-size: 13px; margin-top: 4px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .card-grid.three, .card-grid.four, .status-board { grid-template-columns: 1fr 1fr; }
  .header-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 560px) {
  .card-grid.three, .card-grid.four, .status-board { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .hero-points { grid-template-columns: 1fr; }
}
