:root {
  --ink: #102744;
  --muted: #4b6280;
  --brand: #0f3b82;
  --accent: #3b82f6;
  --soft: #e8f0ff;
  --bg: #f7f9fc;
  --card: #ffffff;
  --line: #d7e2f4;
  --ok: #0f766e;
  --shadow: 0 18px 50px rgba(15, 59, 130, 0.12);
  --header-h: 72px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-lockup {
  display: block;
  height: 48px;
  width: auto;
}
.brand-compact { display: none; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--brand); }
.brand-slogan {
  color: var(--accent);
  font-family: Georgia, "Palatino Linotype", "Times New Roman", serif;
  font-style: italic;
  font-size: 12px;
  font-weight: 400;
}
.nav-toggle {
  display: none;
  width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: var(--ink);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.links a { text-decoration: none; color: var(--ink); font-weight: 500; }
.links a:hover { color: var(--brand); }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.links .btn,
.hero .btn,
.cta-band .btn,
.auth-card .btn { color: #fff; }
.btn:hover { background: #0c3070; color: #fff; }
.btn.ghost {
  background: #fff;
  color: var(--brand);
  border-color: #c5d4ee;
}
.btn.ghost:hover { background: var(--soft); color: var(--brand); }
.btn[disabled], .btn.is-off {
  background: #e2e8f0;
  color: #475569;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 88% 12%, #dbe7ff 0, transparent 28%),
    linear-gradient(180deg, #eef3ff 0%, var(--bg) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -18% 38%;
  height: 72%;
  background: url("/brand/mark.png") no-repeat right bottom / min(36%, 280px);
  opacity: 0.07;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero h1, .page-head h1, .auth-card h1, .legal h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.lead, .hero .lead {
  margin: 0;
  max-width: 34em;
  font-size: 18px;
  color: var(--muted);
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.note { color: var(--muted); font-size: 14px; margin: 0; }

.product-window {
  width: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid #d5e1f3;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  background: #eef3f9;
  border-bottom: 1px solid #dde6f2;
}
.product-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d0e0;
}
.product-body {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 390px;
}
.product-side {
  background: #102744;
  color: #dce7f8;
  padding: 16px 12px;
}
.product-side .ps-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 700;
  color: #fff;
}
.product-side .ps-brand img { width: 28px; height: 28px; }
.product-side p { margin: 0 0 8px; padding: 8px 10px; border-radius: 9px; font-size: 13px; }
.product-side p.is-on { background: #235181; color: #fff; }
.product-main { padding: 18px 18px 20px; background: #f4f7fb; }
.product-main h3 { margin: 0 0 4px; font-size: 18px; color: #102744; }
.product-main .sub { margin: 0 0 12px; color: #68809d; font-size: 13px; }
.product-box, .product-card {
  background: #fff;
  border: 1px solid #e4ebf3;
  border-radius: 12px;
  padding: 12px 14px;
}
.product-box textarea, .product-box .fake-input {
  width: 100%;
  min-height: 72px;
  margin: 8px 0;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  padding: 10px;
  color: #172940;
  background: #fff;
  font: inherit;
  font-size: 13px;
  resize: none;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  background: #2469ba;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.product-result { margin-top: 12px; }
.product-result strong { display: block; font-size: 20px; color: #102744; }
.product-result em { color: #8191a7; font-style: normal; font-size: 13px; }
.product-result p { margin: 6px 0 0; color: #3d536c; font-size: 13px; }
.wordrow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f5;
}
.wordrow:last-child { border-bottom: 0; }
.wordrow b { display: block; color: #102744; }
.wordrow span { color: #69829c; font-size: 12px; }
.kind {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #f3f6fa;
  color: #69829c;
  font-size: 11px;
}
.notes-preview {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f8fb;
  color: #3d536c;
  font-size: 13px;
}
.review-grade { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.review-grade span {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #eef3f9;
  color: #294a72;
  font-size: 12px;
  font-weight: 650;
}

.section { padding: 56px 0; }
.section.tight { padding: 36px 0; }
.section h2, .page-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.section > .wrap > p, .split p { color: var(--muted); max-width: 40em; }
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.05fr 1fr; }
.split.reverse .copy { order: 2; }
.kicker { margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 22px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.price-grid, .grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.card h2, .card h3 { margin: 0 0 8px; font-size: 20px; }
.price { margin: 0 0 12px; font-size: 32px; font-weight: 750; color: var(--brand); }
.card ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 10px;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-band {
  background: var(--soft);
  border-radius: 24px;
  padding: 40px 44px;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0 0 20px; }

.page-head { padding: 40px 0 8px; }
.auth-page {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: start center;
  padding: 36px 0 64px;
}
.auth-card {
  width: min(440px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.auth-card h1 { font-size: 32px; }
.auth-card .lead { font-size: 16px; margin-bottom: 8px; }
label { display: block; margin: 14px 0 6px; font-weight: 650; }
input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.banner { background: #fef3c7; border: 1px solid #f6d58b; border-radius: 10px; padding: 10px 12px; }
.ok { background: #dcfce7; border-color: #86efac; }
.legal { max-width: 720px; }
.legal p, .legal li { color: #334155; }
.legal h2 { font-size: 22px; margin: 28px 0 10px; }

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 28px 0;
}
.foot {
  display: grid;
  gap: 16px;
}
.foot-brand strong { display: block; color: var(--brand); }
.foot-brand em {
  color: var(--accent);
  font-family: Georgia, "Palatino Linotype", serif;
  font-style: italic;
}
.legal-entity { margin: 0; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .hero-grid, .split, .split.reverse, .steps, .price-grid, .grid {
    grid-template-columns: 1fr;
  }
  .split.reverse .copy { order: 0; }
  .hero { padding: 32px 0 24px; }
  .hero h1 { font-size: 34px; }
  .section { padding: 40px 0; }
  .product-body { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .cta-band { padding: 28px 22px; }
}

.site-footer .links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .brand-lockup { display: none; }
  .brand-compact { display: flex; }
  .site-header .nav {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .site-header .brand { flex: 1 1 auto; }
  .site-header .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .links {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 0 8px;
    background: #f3f6fb;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .site-header .links.is-open { display: flex; }
  .site-header .links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
    color: var(--ink);
  }
  .site-header .links .btn,
  .site-header .links .btn:hover {
    width: auto;
    min-height: 44px;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--brand);
    justify-content: flex-start;
  }
  .hero, .section { padding: 28px 0; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .auth-card { padding: 24px 18px; }
}
