:root {
  --ink: #16212e;
  --ink-soft: #46525f;
  --muted: #6b7684;
  --line: #dde3ea;
  --paper: #ffffff;
  --wash: #f4f6f9;
  --brand: #1c4e8a;
  --brand-deep: #123660;
  --accent: #d9822b;
  --radius: 10px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 0 0 12px; }
h3 { font-size: 1.15rem; margin: 0 0 6px; font-family: inherit; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 6px 10px; z-index: 10; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.08rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 8px; border: 3px solid #fff; border-radius: 50%; border-right-color: var(--accent); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

/* hero */
.hero { background: linear-gradient(180deg, #eef3f9 0%, #fff 100%); padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 36em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid var(--brand); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn-ghost { color: var(--brand); background: #fff; }

/* status card illustration */
.status-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(18,54,96,.45); padding: 20px; }
.status-card .row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.status-card .row:last-child { border-bottom: 0; }
.status-card .id { font-weight: 700; }
.pill { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: #e3f3e8; color: #1d6b3a; }
.pill.wait { background: #fdf0e1; color: #8a4b0f; }
.pill.info { background: #e6eef8; color: var(--brand-deep); }
.status-card .head { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }

/* sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--wash); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { color: var(--ink-soft); margin: 0; }
.icon { width: 36px; height: 36px; border-radius: 9px; background: #e6eef8; color: var(--brand); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* document pages */
.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 780px; }
.doc h2 { margin-top: 36px; font-size: 1.4rem; }
.doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin: 5px 0; }
.updated { color: var(--muted); margin-bottom: 28px; }
code { background: var(--wash); padding: 1px 6px; border-radius: 4px; font-size: .92em; }

/* opt-in form mock */
.optin { background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0 8px; }
.optin .frame-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.optin label.field { display: block; font-weight: 700; margin-bottom: 6px; }
.optin input[type=tel] { width: 100%; max-width: 320px; padding: 10px 12px; border: 1px solid #a9b3bf; border-radius: 7px; font: inherit; background: #fff; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; }
.consent input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--brand); }
.consent label { font-size: .97rem; }
.optin button { background: var(--brand); color: #fff; border: 0; border-radius: 7px; padding: 10px 20px; font: inherit; font-weight: 700; cursor: pointer; }
.fine { color: var(--muted); font-size: .9rem; }
.callout { border-left: 4px solid var(--accent); background: #fff8f0; padding: 14px 16px; border-radius: 0 8px 8px 0; margin: 18px 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .93rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero .wrap, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { padding: 40px 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
}
