:root {
  --surface: #f9f9ff;
  --surface-low: #f0f3ff;
  --surface-mid: #e8eeff;
  --surface-high: #dfe8ff;
  --ink: #111c2d;
  --muted: #434656;
  --primary: #1e60ff;
  --primary-deep: #0048d4;
  --secondary: #0060a9;
  --line: #c3c5d9;
  --card: #ffffff;
  --max: 1120px;
  --pad: 20px;
  --header: 64px;
  --shadow: 0 16px 36px -12px rgba(30, 96, 255, 0.16);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
}

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

button, input { font: inherit; }

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(249, 249, 255, 0.88);
  box-shadow: 0 1px 8px rgba(30, 96, 255, 0.05);
  backdrop-filter: blur(16px);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: var(--ink);
}

.brand img { width: 36px; height: 36px; }

.brand-name { display: flex; flex-direction: column; min-width: 0; }

.brand-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link[aria-current="page"] { color: var(--primary-deep); }

.nav-cta,
.nav-cta[aria-current="page"] {
  min-height: 34px;
  padding: 0 12px;
  background: var(--primary);
  color: #f4f7ff;
  box-shadow: 0 4px 14px rgba(30, 96, 255, 0.28);
}

.nav-phone {
  min-height: 34px;
  padding: 0 10px;
  background: var(--surface-high);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: none;
}

.account { position: relative; }

.account-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 128px;
  padding: 6px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.account-pop button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}

.account-pop button:hover,
.account-pop button:focus-visible { background: var(--surface-low); }

.shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header) + 28px) 0 36px;
  background: var(--surface-low);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero::before {
  width: 220px;
  height: 220px;
  top: -40px;
  right: -60px;
  background: rgba(182, 196, 255, 0.85);
}

.hero::after {
  width: 180px;
  height: 180px;
  left: -50px;
  bottom: 20px;
  background: rgba(211, 228, 255, 0.9);
}

.hero-grid,
.section,
.band,
.site-footer .shell { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(220, 225, 255, 0.85);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 em {
  font-style: normal;
  color: var(--primary);
}

.lede {
  margin: 14px 0 0;
  max-width: 40em;
  color: var(--muted);
  font-size: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  background: var(--primary);
  color: #f4f7ff;
  box-shadow: 0 8px 18px rgba(30, 96, 255, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(17, 28, 45, 0.06);
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.checks li { display: flex; align-items: center; gap: 6px; }

.checks svg { flex: none; color: var(--primary); }

.panel {
  margin-top: 28px;
  padding: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface-low);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.lights { display: flex; gap: 5px; align-items: center; }

.lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb4ab;
}

.lights i:nth-child(2) { background: #4aa1fe; }
.lights i:nth-child(3) { background: var(--primary); }

.tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: #dce1ff;
  color: var(--primary-deep);
  font-size: 12px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat {
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-mid);
}

.stat span { display: block; color: var(--muted); font-size: 12px; }

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.stat em {
  display: block;
  margin-top: 2px;
  color: var(--primary);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.chart {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(223, 232, 255, 0.55);
}

.chart p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.chart p span { color: var(--muted); font-weight: 500; font-size: 12px; }

.chart svg { width: 100%; height: 72px; color: var(--primary); }

.axis {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 28px 0;
}

.metric {
  padding: 18px 12px;
  border-radius: 16px;
  background: rgba(240, 243, 255, 0.7);
  text-align: center;
}

.metric b {
  display: block;
  color: var(--primary);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.metric strong { display: block; margin-top: 6px; font-size: 15px; }

.metric span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.section { padding: 12px 0 36px; }

.section-head { margin-bottom: 18px; }

.section-head.center { text-align: center; }

.section-head .eyebrow {
  margin: 0 0 6px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

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

.section-head.center p { margin-left: auto; margin-right: auto; max-width: 40em; }

.cards {
  display: grid;
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(30, 96, 255, 0.06);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #dce1ff;
  color: var(--primary-deep);
}

.icon.blue { background: #d3e4ff; color: var(--secondary); }
.icon.indigo { background: #dbe1ff; color: #364574; }

.card .k {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.card h3 { margin: 0 0 8px; font-size: 18px; }

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

.card .foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-low);
  font-size: 13px;
  font-weight: 600;
}

.card .foot b { color: var(--primary); }

.band { padding: 8px 0 40px; background: var(--surface-low); }

.split {
  display: grid;
  gap: 18px;
  padding: 22px 18px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(30, 96, 255, 0.06);
}

.split h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.path h3 { margin: 8px 0; font-size: 16px; }

.path p { margin: 0; color: var(--muted); font-size: 13px; }

.steps { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }

.steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 600;
}

.steps svg { flex: none; margin-top: 2px; color: var(--primary); }

.path {
  display: grid;
  gap: 12px;
}

.path article {
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(30, 96, 255, 0.06);
}

.path .year {
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta {
  margin: 8px var(--pad) 36px;
  padding: 24px 20px;
  border-radius: 22px;
  color: #f4f7ff;
  background: linear-gradient(120deg, #0048d4, #1e60ff);
  box-shadow: 0 16px 32px rgba(30, 96, 255, 0.22);
}

.cta h2 { margin: 8px 0; font-size: 26px; letter-spacing: -0.02em; }

.cta p { margin: 0; color: rgba(244, 247, 255, 0.9); }

.cta .actions { margin-top: 18px; }

.cta .btn { background: #fff; color: var(--primary-deep); box-shadow: none; }

.cta .btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; }

.site-footer {
  background: var(--surface-low);
  color: var(--muted);
  font-size: 13px;
}

.foot-grid {
  display: grid;
  gap: 22px;
  padding: 32px 0 20px;
}

.foot-brand strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.foot-grid h3 { margin: 0 0 8px; color: var(--ink); font-size: 14px; }

.foot-grid a, .foot-grid p { display: block; margin: 0 0 6px; color: var(--muted); }

.legal {
  padding: 14px 0 22px;
  border-top: 1px solid rgba(195, 197, 217, 0.7);
}

.login-page {
  min-height: 100vh;
  padding: calc(var(--header) + 28px) 0 40px;
  background:
    radial-gradient(420px 220px at 100% 0, rgba(182, 196, 255, 0.45), transparent 60%),
    var(--surface-low);
}

.login-layout { display: grid; gap: 22px; align-items: start; }

.login-panel {
  padding: 22px 18px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

form { display: grid; gap: 16px; }

label span, .field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

input[type="tel"],
input[type="text"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d5dcf0;
  border-radius: 12px;
  background: var(--surface-low);
  color: var(--ink);
  font-size: 16px;
}

input:focus {
  outline: 2px solid rgba(30, 96, 255, 0.28);
  border-color: var(--primary);
  background: #fff;
}

.code-row { display: flex; gap: 8px; }

.code-row input { min-width: 0; }

.code-btn {
  flex: none;
  height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #dce1ff;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.code-btn:disabled { opacity: 0.5; cursor: default; }

.login-panel .btn { width: 100%; }

.form-msg { min-height: 1.4em; margin: 0; color: #9a3412; font-size: 14px; }

.form-msg.ok { color: var(--secondary); }

.session-card p { margin: 0; color: var(--muted); }

.session-card strong {
  display: block;
  margin: 8px 0 16px;
  font-size: 24px;
  letter-spacing: 0.03em;
}

.session-actions { display: flex; gap: 16px; align-items: center; }

.session-actions a { color: var(--primary-deep); font-weight: 700; }

.text-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #9a3412;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (min-width: 720px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .cards.four { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .checks { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  :root { --pad: 32px; --header: 76px; }

  .bar { padding: 0 var(--pad); }

  .brand img { width: 40px; height: 40px; }

  .brand-name { flex-direction: row; align-items: baseline; gap: 8px; }

  .brand-title, .brand-sub { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }

  .nav { gap: 6px; }

  .nav-link { padding: 0 12px; font-size: 15px; }

  .nav-phone { padding: 0 14px; font-size: 15px; }

  h1 { font-size: 52px; line-height: 1.15; }

  .hero { padding: calc(var(--header) + 48px) 0 64px; }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
  }

  .panel { margin-top: 0; }

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

  .section-head h2, .cta h2 { font-size: 36px; }

  .cards.four { grid-template-columns: repeat(4, 1fr); }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 36px;
  }

  .path { grid-template-columns: repeat(5, 1fr); }

  .cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 0;
    padding: 40px;
  }

  .cta .actions { margin-top: 0; flex: none; }

  .login-page { padding-top: calc(var(--header) + 56px); }

  .login-layout {
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
    min-height: 560px;
  }

  .login-panel { padding: 28px; }
}

@media (max-width: 359px) {
  .brand-sub { display: none; }
  .brand-title { font-size: 13px; }
  .nav-link { padding: 0 5px; font-size: 13px; }
  .nav-cta { padding: 0 8px; }
  .nav-phone { font-size: 12px; padding: 0 6px; }
}
