*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
  background: #fff;
}

/* ── Nav ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: .5rem;
}
.nav-brand {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  letter-spacing: -.3px;
}
.nav-links-top {
  display: flex;
  gap: 1.25rem;
  font-size: 13px;
  flex-wrap: wrap;
}
.nav-links-top a {
  color: #666;
  text-decoration: none;
}
.nav-links-top a:hover { color: #111; }

/* ── Page wrapper ── */
.page-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}
.page-wrap-wide {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* ── Badges ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.badge-blue   { background: #e8f0fe; color: #1a56c4; }
.badge-amber  { background: #fff4e0; color: #9a5700; }
.badge-red    { background: #fce8e6; color: #b31412; }
.badge-green  { background: #e6f4ea; color: #1a7340; }
.badge-gray   { background: #f2f2f2; color: #555; }

/* ── Typography ── */
.page-wrap h1,
.page-wrap-wide h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: .2rem;
  letter-spacing: -.5px;
}
.page-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 1.5rem;
}
.page-intro {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.section-h {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 2.5rem 0 .7rem;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
}
.section-h:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

p { margin-bottom: .8rem; color: #333; font-size: 15px; line-height: 1.8; }
ul, ol { padding-left: 1.4rem; margin: .3rem 0 .8rem; }
li { margin-bottom: .4rem; color: #333; font-size: 15px; line-height: 1.7; }
a { color: #1a56c4; text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; color: #111; }

/* ── Quick-nav strip ── */
.quick-nav {
  display: flex;
  gap: .6rem 1.25rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  flex-wrap: wrap;
}
.quick-nav a { color: #1a56c4; }

/* ── Callout box ── */
.callout {
  background: #f8f8f8;
  border-left: 3px solid #ddd;
  border-radius: 0 6px 6px 0;
  padding: .9rem 1.1rem;
  margin: .5rem 0 1rem;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ── Warning box ── */
.warning-box {
  background: #fff8f0;
  border: 1px solid #fde4c8;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 14px;
  color: #7a4100;
  line-height: 1.65;
}
.warning-box strong { color: #7a4100; }

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 1.25rem; }
thead tr { border-bottom: 1.5px solid #e8e8e8; }
th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #bbb; padding: 0 10px 10px 0; }
td { padding: 13px 10px 13px 0; vertical-align: top; border-bottom: 1px solid #f4f4f4; color: #333; font-size: 14px; line-height: 1.65; }
tr:last-child td { border-bottom: none; }

/* ── Pills ── */
.pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.pill-blue  { background: #e8f0fe; color: #1a56c4; }
.pill-gray  { background: #f2f2f2; color: #666; }
.pill-green { background: #e6f4ea; color: #1a7340; }
.pill-red   { background: #fce8e6; color: #b31412; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -.1px;
  cursor: pointer;
  border: none;
}
.btn-dark  { background: #111; color: #fff !important; }
.btn-dark:hover  { background: #333; text-decoration: none; }
.btn-red   { background: #b31412; color: #fff !important; }
.btn-red:hover   { background: #8f100e; text-decoration: none; }
.btn-outline { background: transparent; color: #111 !important; border: 1.5px solid #ddd; }
.btn-outline:hover { background: #f8f8f8; text-decoration: none; }
.btn-note { display: block; margin-top: .65rem; font-size: 12px; color: #aaa; line-height: 1.5; }

/* ── Card ── */
.card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.card h3 { font-size: 17px; font-weight: 700; color: #111; margin-bottom: .4rem; }
.card p { font-size: 14px; color: #666; margin-bottom: 1.25rem; line-height: 1.65; }

/* ── Numbered steps ── */
.steps { counter-reset: steps; list-style: none; padding: 0; margin: .5rem 0 1.5rem; }
.steps li { counter-increment: steps; display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; font-size: 15px; color: #333; line-height: 1.65; }
.steps li::before { content: counter(steps); display: flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 50%; background: #111; color: #fff; font-size: 12px; font-weight: 700; margin-top: 2px; flex-shrink: 0; }

/* ── Timeline ── */
.timeline-row { display: flex; gap: 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid #f4f4f4; font-size: 14px; }
.timeline-row:last-child { border-bottom: none; }
.tl-label { min-width: 130px; font-weight: 600; color: #111; flex-shrink: 0; }
.tl-desc { color: #555; line-height: 1.6; }

/* ── Section sublabel ── */
.sublabel { font-size: 13px; color: #999; margin: -.3rem 0 .9rem; }

/* ── Footer ── */
.site-footer {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: #bbb;
  line-height: 1.8;
}
.site-footer a { color: #999; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-disclaimer { margin-top: .5rem; font-size: 12px; color: #ddd; }

/* ── Hero (index only) ── */
.hero { text-align: center; padding: 5rem 1.5rem 4rem; max-width: 600px; margin: 0 auto; }
.hero h1 { font-size: 42px; font-weight: 800; color: #111; letter-spacing: -1px; margin-bottom: .75rem; }
.hero .tagline { font-size: 18px; color: #666; margin-bottom: 2.5rem; line-height: 1.6; }
.hero-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Support FAQ ── */
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid #f0f0f0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 15px; font-weight: 600; color: #111; margin-bottom: .4rem; }
.faq-a { font-size: 14px; color: #555; line-height: 1.7; }

@media (max-width: 600px) {
  .site-nav { padding: 1rem; }
  .page-wrap, .page-wrap-wide { padding: 2rem 1rem 4rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero h1 { font-size: 32px; }
  table { font-size: 13px; }
  th, td { padding-right: 6px; }
}
