:root {
  --ink: #0b2545;
  --ink-soft: #3d5170;
  --muted: #6b7a90;
  --bg: #f7f9fc;
  --card: #ffffff;
  --line: #dde5ef;
  --accent: #0ea5e9;
  --accent-ink: #ffffff;
  --navy: #0b2545;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink) !important;
  padding: 11px 20px; border-radius: 9px; font-weight: 700; text-decoration: none; border: 0;
}
.btn.dark { background: var(--navy); }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--line); }
.nav .btn { padding: 8px 16px; }

/* hero */
.hero { padding-top: 72px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; letter-spacing: -.02em; max-width: 760px; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 680px; margin: 18px 0 28px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding: 48px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 1.75rem; letter-spacing: -.01em; margin-bottom: 10px; }
h3 { font-size: 1.1rem; margin-bottom: 6px; }
.sub { color: var(--ink-soft); max-width: 720px; margin-bottom: 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
section.alt .card { background: var(--bg); }
.card .ico { font-size: 1.6rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .97rem; }
ol.steps { padding-left: 22px; max-width: 820px; }
ol.steps li { margin: 10px 0; }
table { border-collapse: collapse; width: 100%; max-width: 820px; margin: 14px 0 6px; background: var(--card); }
td, th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg); }
code { background: #eaf1f8; padding: 1px 6px; border-radius: 5px; font-size: .92em; }
ul.plain { padding-left: 22px; max-width: 820px; }
ul.plain li { margin: 6px 0; }
.note { background: #eaf6fd; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 8px; max-width: 820px; margin-top: 20px; }

/* legal pages */
.legal { max-width: 780px; padding-top: 48px; padding-bottom: 64px; }
.legal h1 { font-size: 2.1rem; margin-bottom: 4px; }
.legal .upd { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.legal h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin: 5px 0; }

/* nav */
.nav a.on { color: var(--ink); }
.nav a.signin { border: 1.5px solid var(--line); padding: 6px 14px; border-radius: 8px; }

/* hero variants */
.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 10px; }
.hero.small { padding-top: 56px; padding-bottom: 36px; }
.btn.ghost.light { color: #fff !important; border-color: rgba(255,255,255,.4); }

/* two-column + stats */
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.two p { color: var(--ink-soft); margin-bottom: 12px; }
.stat { display: grid; gap: 18px; }
.stat strong { display: block; font-size: 1.8rem; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }

/* features */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.feature { display: flex; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feature .ico { font-size: 1.6rem; }
.feature p { color: var(--ink-soft); font-size: .97rem; }

/* steps */
ol.bigsteps { list-style: none; counter-reset: s; display: grid; gap: 14px; max-width: 820px; }
ol.bigsteps li { counter-increment: s; position: relative; padding: 18px 20px 18px 68px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
ol.bigsteps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; }
ol.bigsteps p { color: var(--ink-soft); }

/* prose + faq */
.prose { max-width: 780px; }
.prose h2 { margin-top: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin-bottom: 12px; }
.faq { max-width: 820px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--ink-soft); margin-top: 8px; }

/* call-to-action band */
.band { background: var(--navy); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #c9d6e8; margin-bottom: 20px; }
.band .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* footer */
footer { background: var(--navy); color: #c9d6e8; padding: 40px 0 24px; border-top: 1px solid rgba(255,255,255,.08); }
.fcols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.fbrand { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }
footer h4 { color: #fff; font-size: .9rem; margin-bottom: 8px; }
footer a { color: #fff; text-decoration: none; display: block; margin: 4px 0; font-size: .95rem; }
footer p { font-size: .92rem; margin-bottom: 6px; }
.copyrow { margin-top: 24px; color: #8ea3bf; font-size: .88rem; }

@media (max-width: 760px) {
  .top .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 6px 14px; }
  .two { grid-template-columns: 1fr; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 40px; padding-bottom: 32px; }
  .feature-list { grid-template-columns: 1fr; }
  table, tbody, tr, td { display: block; width: 100%; }
  table tr:first-child { display: none; }
  table tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
  table td { border: 0; border-top: 1px solid var(--line); }
  table td:first-child { border-top: 0; background: var(--bg); font-weight: 700; }
}
