:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #eef6fb;
  --ink: #07111f;
  --muted: #607084;
  --line: #dbe7ef;
  --brand: #0ea5e9;
  --brand-soft: #e0f2fe;
  --deep: #06121f;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.7 var(--font); }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr;
  min-height: 72px; align-items: center; padding: 0 40px; color: #fff;
  border-bottom: 1px solid rgba(125, 211, 252, .14); background: rgba(6, 18, 31, .94); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 760; letter-spacing: .04em; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(125,211,252,.44); border-radius: 8px; color: #eaf8ff; background: linear-gradient(145deg, #152a40, #07111f); }
.top-nav { display: flex; align-items: center; gap: 28px; color: #bdd4e7; font-size: 14px; }
.top-nav a:hover, .top-nav .is-current { color: #fff; }
.login-button { justify-self: end; border-radius: 7px; padding: 9px 14px; color: var(--deep); background: #fff; font-size: 14px; font-weight: 700; }

.guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: center; padding: 76px max(40px, calc((100vw - 1180px) / 2)); color: #edf8ff; background: linear-gradient(132deg, #06121f, #0a2134 62%, #113553); }
.eyebrow, .section-kicker { margin: 0 0 12px; color: #7dd3fc; font-size: 12px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.22; letter-spacing: -.025em; }
h1 { max-width: 780px; font-size: clamp(38px, 5vw, 62px); }
.guide-hero > div > p:not(.eyebrow) { max-width: 680px; margin: 20px 0 0; color: #bdd4e7; font-size: 18px; }
.hero-card { border: 1px solid rgba(125,211,252,.32); border-radius: 12px; padding: 27px 30px; background: rgba(255,255,255,.07); box-shadow: 0 24px 66px rgba(0,0,0,.16); }
.card-label { color: #7dd3fc; font-size: 13px; font-weight: 740; }
.hero-card ol { display: grid; gap: 12px; margin: 18px 0 0; padding-left: 22px; color: #e3f2ff; }

.guide-layout { display: grid; grid-template-columns: 268px minmax(0, 780px); gap: 76px; width: min(1180px, calc(100% - 80px)); margin: 0 auto; padding: 60px 0 96px; }
.guide-sidebar { position: sticky; top: 98px; align-self: start; border: 1px solid var(--line); border-radius: 10px; padding: 20px 14px 14px; background: rgba(255,255,255,.9); box-shadow: 0 15px 32px rgba(6,18,31,.05); }
.sidebar-title { margin: 0 9px 10px; color: var(--ink); font-size: 13px; font-weight: 780; }
.guide-nav { display: grid; gap: 2px; }
.guide-nav p { margin: 16px 9px 5px; color: #7b8b9e; font-size: 11px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.guide-nav p:first-child { margin-top: 4px; }
.guide-nav a { border-radius: 6px; padding: 8px 9px; color: #43556b; font-size: 14px; }
.guide-nav a:hover, .guide-nav .is-active { color: #0369a1; background: var(--brand-soft); font-weight: 700; }
.sidebar-login { display: flex; justify-content: space-between; gap: 14px; margin-top: 18px; border-radius: 7px; padding: 11px 12px; color: #fff; background: var(--deep); font-size: 13px; font-weight: 700; }
.sidebar-login span { color: #7dd3fc; }

.guide-content { display: grid; gap: 0; min-width: 0; }
.guide-content section { scroll-margin-top: 98px; border-bottom: 1px solid var(--line); padding: 0 0 54px; margin-bottom: 58px; }
.guide-content section:last-child { border-bottom: 0; margin-bottom: 0; }
.guide-content h2 { margin-bottom: 16px; font-size: clamp(28px, 3vw, 40px); }
.guide-content h3 { margin: 30px 0 13px; font-size: 20px; }
.guide-content p { margin: 0 0 16px; color: #42546a; }
.guide-content p a { color: #0284c7; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lead { font-size: 18px; }

.checklist { display: grid; gap: 10px; margin: 26px 0; }
.checklist div { display: flex; gap: 15px; align-items: flex-start; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.checklist b { display: grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; border-radius: 999px; color: #0369a1; background: var(--brand-soft); font-size: 12px; }
.checklist span { color: #506177; font-size: 14px; }
.checklist strong { display: block; color: var(--ink); }
.notice, .warning { margin: 25px 0 0; border-left: 3px solid var(--brand); border-radius: 0 7px 7px 0; padding: 15px 17px; color: #31516a; background: var(--brand-soft); font-size: 14px; }
.warning { border-left-color: #f59e0b; color: #704b0c; background: #fff7e5; }

.step-grid, .two-column { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 25px; }
.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step-grid article, .two-column > div { border: 1px solid var(--line); border-radius: 9px; padding: 20px; background: var(--surface); }
.step-grid span { color: #0284c7; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.step-grid h3, .two-column h3 { margin: 12px 0 8px; font-size: 18px; }
.step-grid p, .two-column p { margin: 0; font-size: 14px; }

.numbered-list { display: grid; gap: 15px; margin: 21px 0 0; padding: 0; list-style: none; counter-reset: guide-step; }
.numbered-list li { position: relative; padding-left: 41px; color: #46586d; }
.numbered-list li::before { position: absolute; top: 2px; left: 0; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 7px; color: #0369a1; background: var(--brand-soft); content: counter(guide-step, decimal-leading-zero); counter-increment: guide-step; font-size: 10px; font-weight: 800; }
.numbered-list strong { color: var(--ink); }
.plain-list { display: grid; gap: 11px; margin: 20px 0 0; padding-left: 21px; color: #46586d; }
.plain-list li::marker { color: var(--brand); }
.flow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 25px 0; }
.flow-row span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: #31516a; background: var(--surface); font-size: 13px; font-weight: 700; }
.flow-row i { color: #8aa4b9; font-style: normal; }

.faq-list { display: grid; gap: 10px; margin-top: 24px; }
details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
summary { padding: 18px 20px; cursor: pointer; font-weight: 730; }
details p { margin: 0 !important; padding: 0 20px 20px; font-size: 14px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; min-height: 74px; align-items: center; padding: 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer a { color: var(--ink); font-weight: 780; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 22px; }
  .top-nav { display: none; }
  .guide-hero { grid-template-columns: 1fr; gap: 32px; padding: 60px 28px; }
  .hero-card { max-width: 560px; }
  .guide-layout { grid-template-columns: 1fr; gap: 34px; width: min(780px, calc(100% - 48px)); padding-top: 40px; }
  .guide-sidebar { position: static; }
  .guide-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .guide-nav p { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .site-header { min-height: 65px; padding: 0 16px; }
  .login-button { padding: 8px 11px; font-size: 13px; }
  .guide-hero { padding: 48px 20px; }
  .guide-layout { width: min(100% - 32px, 780px); padding-bottom: 64px; }
  .guide-nav { grid-template-columns: 1fr; }
  .step-grid, .two-column { grid-template-columns: 1fr; }
  .guide-content section { padding-bottom: 42px; margin-bottom: 46px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 20px; }
}
