:root {
  --navy: #10275a;
  --gold: #c9a063;
  --gold-text: #8a6a2f;
  --ink: #1b2540;
  --muted: #55607a;
  --line: #e2e6ee;
  --tint: #f5f7fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
p { color: var(--muted); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.narrow p + p { margin-top: 14px; }
.center { text-align: center; }
.center .btn { margin-top: 22px; }

.eyebrow { color: var(--gold-text); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; }

.btn {
  display: inline-block; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--navy);
  font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.3; text-align: center;
}
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: #1a3a80; border-color: #1a3a80; }
.btn-line { background: var(--white); color: var(--navy); }
.btn-line:hover { background: var(--tint); }
.btn-lg { padding: 13px 22px; font-size: 16px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand img { height: 28px; width: auto; }
.top-tools { display: flex; align-items: center; gap: 6px; }
.lang { background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font: inherit; font-size: 14px; padding: 6px 12px; min-height: 36px; cursor: pointer; }
.menu { background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
.menu span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
.nav.open { display: block; }
.nav > a { display: block; padding: 13px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-actions { display: flex; gap: 10px; margin-top: 16px; }
.nav-actions .btn { flex: 1; }

/* hero */
.hero { background: var(--tint); padding: 44px 0 48px; }
.hero-grid { display: grid; gap: 32px; }
.lead { font-size: 17px; margin: 14px 0 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.flow-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; max-width: 420px; }
.flow-head { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.flow-card ul { list-style: none; margin: 0; padding: 0; }
.flow-card li { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--ink); font-size: 15px; }
.flow-card li + li { border-top: 1px dashed var(--line); }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); position: relative; }
.tick.gold { background: var(--gold); }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* sections */
.sec { padding: 52px 0; scroll-margin-top: 60px; }
.sec-tint { background: var(--tint); }
.cards { display: grid; gap: 14px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card p, .points p, .steps p { font-size: 15px; }

.ico { display: block; width: 40px; height: 40px; border-radius: 10px; background: var(--tint); margin-bottom: 14px; position: relative; }
.ico::before, .ico::after { content: ""; position: absolute; }
.ico-in::before { left: 19px; top: 10px; width: 2px; height: 18px; background: var(--navy); }
.ico-in::after { left: 14px; top: 17px; width: 10px; height: 10px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ico-out::before { left: 19px; top: 12px; width: 2px; height: 18px; background: var(--navy); }
.ico-out::after { left: 14px; top: 12px; width: 10px; height: 10px; border: solid var(--gold); border-width: 2px 0 0 2px; transform: rotate(45deg); }
.ico-dash::before { left: 10px; top: 11px; width: 20px; height: 7px; border-radius: 2px; background: var(--navy); }
.ico-dash::after { left: 10px; top: 22px; width: 20px; height: 7px; border-radius: 2px; background: var(--gold); }
.ico-bell::before { left: 11px; top: 11px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--navy); }
.ico-bell::after { left: 17px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.num.gold { background: var(--gold); color: var(--navy); }

.points { display: grid; gap: 22px; }
.points > div { border-left: 3px solid var(--gold); padding-left: 14px; }

.dev { display: grid; gap: 28px; align-items: center; }
.list { margin: 0 0 24px; padding-left: 20px; color: var(--muted); }
.list li { margin: 6px 0; }
.code { margin: 0; background: var(--navy); color: #e6ebf7; border-radius: 14px; padding: 20px; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; }

/* footer */
.foot { background: var(--navy); color: #c9d1e6; padding: 32px 0 24px; }
.foot-row { display: grid; gap: 20px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.foot-nav a { color: #e6ebf7; text-decoration: none; font-size: 15px; padding: 4px 0; }
.foot-nav a:hover { color: var(--gold); }
.copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: #9fabc7; }

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .points { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
}

@media (min-width: 960px) {
  h1 { font-size: 44px; }
  h2 { font-size: 30px; margin-bottom: 28px; }
  .wrap { padding: 0 32px; }
  .top-row { height: 68px; }
  .menu { display: none; }
  .nav { display: flex; position: static; align-items: center; gap: 28px; border: 0; padding: 0; margin-left: auto; margin-right: 16px; }
  .nav > a { border: 0; padding: 0; font-size: 15px; }
  .nav > a:hover { color: var(--gold-text); }
  .nav-actions { margin: 0 0 0 8px; }
  .nav-actions .btn { flex: none; }
  .hero { padding: 84px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; }
  .lead { font-size: 19px; max-width: 560px; }
  .flow-card { margin-left: auto; padding: 26px; }
  .sec { padding: 84px 0; scroll-margin-top: 68px; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .points { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { flex-direction: column; }
  .dev { grid-template-columns: 1fr 1fr; gap: 56px; }
  .foot-row { grid-template-columns: 1fr auto; align-items: center; }
  .foot-nav { display: flex; gap: 28px; }
}
