:root {
  --navy: #163a5f;
  --navy-deep: #0d2744;
  --steel: #2c5f8a;
  --blue: #2563a8;
  --blue-hover: #1c4f87;
  --ink: #1b2838;
  --muted: #5c6b7a;
  --line: #cfd8e3;
  --silver: #d7dee7;
  --silver-2: #eef2f6;
  --paper: #f6f8fb;
  --white: #fff;
  --badge: #e8eef5;
  --ok: #2a6b8a;
  --hold: #7a6a3a;
  --shadow: 0 14px 36px rgba(22, 58, 95, 0.08);
  --max: 1160px;
  --r: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.topbar {
  background: linear-gradient(90deg, #e4ebf3 0%, #f3f6fa 50%, #e4ebf3 100%);
  border-bottom: 1px solid var(--silver);
  font-size: 13px;
  color: var(--muted);
}

.topbar-row {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--silver);
  background: var(--white);
  color: var(--navy);
  font-weight: 650;
}

.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--steel);
}

.badge-hold i { background: var(--hold); }
.badge-off { color: var(--muted); }
.badge-off i { background: #9aa8b6; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.site-header.is-stuck { box-shadow: 0 8px 24px rgba(13, 39, 68, 0.06); }

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--silver);
  background: var(--white);
}

.brand small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--navy);
}

.fx-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.fx-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.fx-nav a:hover,
.fx-nav a[aria-current="page"] { color: var(--blue); background: var(--badge); }

.fx-nav a.cta,
.fx-nav a.cta[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}

.fx-nav a.cta:hover { background: var(--blue-hover); color: #fff; }

.hero {
  padding: 56px 0 48px;
  background:
    linear-gradient(180deg, #e8eef6 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--badge);
  border: 1px solid var(--silver);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.chip-on { background: #dce8f4; border-color: #b7cbe0; }

h1, h2, h3 { color: var(--navy-deep); letter-spacing: -0.03em; line-height: 1.2; }
h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
h3 { font-size: 18px; margin: 8px 0; }

.lead { font-size: 17px; color: var(--muted); max-width: 640px; }

.acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
}

.btn { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn:hover { background: var(--blue-hover); color: #fff; }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--silver); }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.metric span { font-size: 13px; color: var(--muted); }

.screen {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.screen img {
  width: 100%;
  aspect-ratio: 880 / 700;
  object-fit: cover;
  border-radius: 10px;
}

.screen figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px 2px;
  font-size: 13px;
  color: var(--muted);
}

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }

.head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.head p { max-width: 460px; color: var(--muted); margin: 0; }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}

.grid-4,
.grid-3,
.grid-2 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card,
.entry,
.plat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow);
}

.entry { text-decoration: none; color: inherit; display: block; }
.entry:hover,
.card:hover,
.plat:hover { border-color: #b7c8db; }

.idx {
  display: inline-flex;
  min-width: 36px;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--badge);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.checks,
.list { list-style: none; }
.checks li,
.list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--silver-2);
  color: var(--muted);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--steel);
  border-radius: 3px;
  background:
    linear-gradient(135deg, transparent 45%, var(--steel) 45%, var(--steel) 55%, transparent 55%),
    linear-gradient(45deg, transparent 45%, var(--steel) 45%, var(--steel) 55%, transparent 55%);
  background-size: 8px 8px;
  background-position: center;
  background-repeat: no-repeat;
}

.frame {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  aspect-ratio: 880 / 700;
  object-fit: cover;
  border-radius: 10px;
}

.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: linear-gradient(180deg, #f3f6fa, #fff);
  border: 1px solid var(--silver);
  border-radius: 16px;
  padding: 20px;
}

.board article header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 750;
  color: var(--navy);
}

.board ol { padding-left: 20px; color: var(--muted); }
.board li { margin: 8px 0; }

.win-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  background: linear-gradient(135deg, #163a5f, #2c5f8a);
  color: #e8eef6;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}

.win-panel h2,
.win-panel h3 { color: #fff; }
.win-panel p { color: #c9d6e6; }
.win-panel .btn { background: #fff; color: var(--navy); border-color: #fff; }
.win-panel .btn:hover { background: var(--silver-2); color: var(--navy-deep); }
.win-list { list-style: none; }
.win-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.trail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trail a {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
}

.trail a.is-here,
.trail a[aria-current="step"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 168, 0.12);
}

.trail .n { display: block; color: var(--steel); font-weight: 800; font-size: 13px; }
.trail .t { display: block; font-weight: 750; color: var(--navy); margin: 6px 0 4px; }
.trail .h { font-size: 13px; color: var(--muted); }

.page-hero {
  padding: 48px 0 36px;
  background: linear-gradient(180deg, #e8eef6, var(--paper));
  border-bottom: 1px solid var(--line);
}

.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--steel); text-decoration: none; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 18px;
  margin: 10px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--navy);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.faq p { color: var(--muted); }

.warn {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--steel);
  background: #e8eef5;
  color: var(--navy);
  border-radius: 0 10px 10px 0;
}

.steps { counter-reset: step; list-style: none; }
.steps li {
  position: relative;
  padding: 18px 18px 18px 72px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin: 12px 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
}

footer {
  background: var(--navy-deep);
  color: #c5d2e0;
  padding: 56px 0 24px;
}

footer a { color: #d7e4f2; text-decoration: none; }
footer a:hover { color: #fff; }
footer h3 { color: #fff; font-size: 15px; margin: 0 0 14px; }
footer .brand { color: #fff; }
footer .brand small { color: #9fb1c4; }
footer .brand img { background: #fff; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.foot-grid ul { list-style: none; }
.foot-grid li { margin: 8px 0; }

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #27405c;
  font-size: 13px;
  color: #8ea0b4;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .board,
  .win-panel,
  .foot-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .metrics,
  .trail { grid-template-columns: 1fr 1fr; }
  .head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .fx-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .fx-nav.is-open { display: block; }
  .fx-nav ul { flex-direction: column; align-items: stretch; }
  .grid-4,
  .grid-3,
  .grid-2,
  .metrics,
  .trail,
  .foot-grid { grid-template-columns: 1fr; }
  .acts .btn,
  .acts .btn-ghost { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
