:root {
  --bg: #0b1020;
  --bg-soft: #11182e;
  --panel: #161f3a;
  --ink: #e8ecf5;
  --ink-dim: #aab4c8;
  --brand: #4f9cf5;
  --brand-2: #38bdf8;
  --line: #27314f;
  --maxw: 1120px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,16,32,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-top: 6px; padding-bottom: 6px; }
.site .brand { font-weight: 700; letter-spacing: 0.5px; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
.site .brand span { color: var(--brand-2); }
nav.main { display: flex; flex-wrap: wrap; justify-content: flex-end; }
nav.main a { color: var(--ink-dim); margin-left: 18px; font-size: 0.92rem; padding: 4px 0; }
nav.main a:hover { color: var(--ink); text-decoration: none; }
nav.main a.active { color: var(--ink); border-bottom: 2px solid var(--brand); }

/* Hero */
.hero { padding: 80px 0 64px; }
.hero h1 { font-size: 2.6rem; line-height: 1.1; margin: 0 0 16px; max-width: 22ch; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-dim); max-width: 64ch; margin: 0 0 24px; }
.cta { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; border: 1px solid transparent; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.ghost { border-color: var(--line); color: var(--ink); }
.btn:hover { text-decoration: none; opacity: 0.92; }
.hero .eyebrow { color: var(--brand-2); font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--bg-soft); }
h2.section { font-size: 1.8rem; margin: 0 0 8px; }
p.section-sub { color: var(--ink-dim); margin: 0 0 32px; max-width: 70ch; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
}
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0 0 16px; color: var(--ink-dim); flex-grow: 1; }
.card .tag { color: var(--brand-2); font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 8px; }

/* Content pages */
.page-head { padding: 64px 0 24px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-head h1 { font-size: 2.2rem; margin: 0 0 10px; }
.page-head p.lead { color: var(--ink-dim); max-width: 70ch; margin: 0; }
.prose { max-width: 76ch; }
.prose p { color: var(--ink-dim); }
.prose h2 { color: var(--ink); font-size: 1.4rem; margin: 32px 0 8px; }
.prose ul { color: var(--ink-dim); }
.prose li { margin: 8px 0; }
.prose strong { color: var(--ink); }

ol.steps { color: var(--ink-dim); padding-left: 20px; max-width: 76ch; }
ol.steps li { margin: 14px 0; }
ol.steps li strong { color: var(--ink); display: inline; }

ul.guides { list-style: none; padding: 0; max-width: 76ch; }
ul.guides li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 12px 0; }
ul.guides li a { font-weight: 600; font-size: 1.05rem; }
ul.guides li p { margin: 6px 0 0; color: var(--ink-dim); font-size: 0.95rem; }

.contact-lines { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 560px; }
.contact-lines p { margin: 6px 0; }
.contact-lines .label { color: var(--ink-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.contact-lines a { font-size: 1.15rem; font-weight: 600; }

/* Reassurance strip */
.strip { padding: 40px 0; border-top: 1px solid var(--line); }
.strip p { margin: 0; color: var(--ink-dim); max-width: 80ch; }

/* Footer */
footer.site { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 32px 0; }
footer.site p { margin: 4px 0; color: var(--ink-dim); font-size: 0.9rem; }
footer.site strong { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 2rem; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  nav.main { justify-content: flex-start; }
  nav.main a { margin-left: 0; margin-right: 16px; }
}
