:root {
  --brand: #3c87fa;
  --brand-dark: #1f5fcf;
  --ink: #0f1b33;
  --muted: #5b6678;
  --line: #e4e9f2;
  --soft: #f3f7ff;
  --white: #fff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand img { display: block; height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--brand-dark); }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; padding: 10px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }
@media (max-width: 760px) {
  .nav-burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; text-align: center; border: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff !important; text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: 999px; border: 0; }
.btn:hover { background: var(--brand-dark); }
.btn-small { padding: 9px 18px; }
.btn-ghost { background: #fff; color: var(--brand-dark) !important; border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* sections */
.section { padding: 56px 0; }
.section.soft { background: var(--soft); }
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--soft), #fff); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero .hi { color: var(--brand-dark); font-weight: 600; }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); }
.icon { font-size: 1.6rem; margin-bottom: 8px; display: block; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; padding-left: 52px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* legal / prose */
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose .updated { color: var(--muted); font-size: .92rem; }
.note { background: var(--soft); border-left: 4px solid var(--brand); padding: 14px 16px; border-radius: 8px; margin: 18px 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 18px 0; }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 12px; } }

/* footer */
.site-footer { background: #0f1b33; color: #cfd8ea; padding: 44px 0 20px; margin-top: 0; }
.site-footer a { color: #cfd8ea; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .6em; }
.site-footer .grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.site-footer img { filter: brightness(0) invert(1); opacity: .95; }
.site-footer .muted { color: #9fb0cf; }
.site-footer .copy { border-top: 1px solid #263556; margin-top: 28px; padding-top: 16px; font-size: .85rem; color: #9fb0cf; }
.site-footer span { display: block; padding: 3px 0; }
