/* Norvon: dark-first, technical look. System fonts only (no third-party font requests). */
:root {
  --bg: #0b1120;
  --bg-2: #0e1628;
  --surface: #111a2e;
  --surface-2: #16213a;
  --text: #e6edf7;
  --muted: #93a4bf;
  --brand: #22d3ee;
  --brand-ink: #06202a;
  --accent: #a5b4fc;
  --border: #1f2c47;
  --grid: rgba(120, 160, 220, 0.07);
  --glow: rgba(34, 211, 238, 0.14);
  --note-bg: #10223a;
  --warn-bg: #2a2314;
  --warn-line: #f0b35a;
  --ok: #4ade80;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f8fc;
    --bg-2: #eaf0f8;
    --surface: #ffffff;
    --surface-2: #f0f5fb;
    --text: #0b1220;
    --muted: #4a5b78;
    --brand: #0e7490;
    --brand-ink: #ffffff;
    --accent: #4338ca;
    --border: #d5dfec;
    --grid: rgba(20, 60, 120, 0.07);
    --glow: rgba(14, 116, 144, 0.12);
    --note-bg: #e6f2f8;
    --warn-bg: #fdf3e2;
    --warn-line: #b45309;
    --ok: #15803d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--sans);
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 1080px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--mono); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 1.05rem; }
.brand svg { width: 30px; height: 30px; color: var(--brand); flex: none; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.site-header nav a { font-size: 0.93rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { color: var(--text); }
.site-header nav a.nav-cta { background: var(--brand); color: var(--brand-ink); padding: 7px 14px; border-radius: 8px; font-weight: 700; }
.site-header nav a.nav-cta:hover { opacity: 0.9; color: var(--brand-ink); }

main { padding-top: 32px; padding-bottom: 64px; }
/* On wide pages, keep running text at a readable width; grids and sections use the full width. */
main.wide > :not(.price-cards):not(section):not(aside):not(.hero-wrap) { max-width: 760px; }
h1 { font-size: 2.1rem; line-height: 1.18; margin: 0.4em 0 0.35em; letter-spacing: -0.02em; }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 2em 0 0.5em; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin: 1.5em 0 0.4em; }
a { color: var(--brand); text-underline-offset: 3px; }
p, ul, ol { margin: 0 0 1.1em; }
li { margin-bottom: 0.35em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.meta, .crumbs { color: var(--muted); font-size: 0.88rem; font-family: var(--mono); }
.crumbs a { color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 3rem 0 0; }
.kicker + h2 { margin-top: 0.35rem; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 11px 20px; border-radius: 9px; font-weight: 700; text-decoration: none; font-size: 0.98rem; border: 2px solid var(--brand); }
.btn:hover { opacity: 0.9; }
.btn-secondary { background: transparent; color: var(--brand); }

/* Hero */
.hero-wrap { position: relative; padding: 24px 0 28px; margin-bottom: 8px; }
.hero-wrap::before {
  content: ""; position: absolute; inset: -40px -50vw 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 300px at 75% 20%, var(--glow), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-grid { display: grid; gap: 36px; grid-template-columns: 1.25fr 1fr; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0; }
.hero h1 { font-size: 2.6rem; }
.hl { color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.checklist-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5); }
.checklist-card .bar { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.checklist-card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.checklist-card .bar span:last-child { margin-left: auto; }
.checklist-card ul { list-style: none; padding: 0; margin: 0; font-family: var(--mono); font-size: 0.86rem; }
.checklist-card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; margin: 0; }
.checklist-card li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }
.checklist-card .foot { margin: 12px 0 0; font-size: 0.78rem; color: var(--muted); font-family: var(--mono); }

/* Cards and steps */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 26px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card .tag { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.card a { text-decoration: none; }
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 26px 0; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 1.4rem; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; padding: 0; list-style: none; }
.chips li { margin: 0; font-family: var(--mono); font-size: 0.8rem; border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 4px 12px; }

.price-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 24px 0 8px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.price-card h3 { margin: 0; }
.price-card .price { font-family: var(--mono); font-size: 2.1rem; font-weight: 800; margin: 6px 0 0; color: var(--brand); }
.price-card .price-meta { color: var(--muted); font-size: 0.86rem; margin: 0 0 12px; font-family: var(--mono); }
.price-card ul { font-size: 0.92rem; padding-left: 1.1em; flex: 1; }
.price-card .btn { width: 100%; text-align: center; }
.fine { color: var(--muted); font-size: 0.86rem; }
.two-col { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.two-col h3 { margin-top: 0; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.cta-band, .cta-box { background: linear-gradient(135deg, var(--surface-2), var(--note-bg)); border: 1px solid var(--border); border-radius: 14px; padding: 28px; margin: 44px 0; text-align: center; }
.cta-band h2, .cta-box h2 { margin-top: 0; }
.cta-box { text-align: left; }

.guide-list { list-style: none; padding: 0; }
.guide-list li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.guide-list li a { font-weight: 600; text-decoration: none; }
.guide-list li a:hover { text-decoration: underline; }
.guide-list li span { display: block; color: var(--muted); font-size: 0.93rem; }

/* Notices */
.disclosure, .note, .warn { border-radius: 8px; padding: 12px 14px; font-size: 0.93rem; margin: 0 0 24px; }
.disclosure, .note { background: var(--note-bg); border-left: 4px solid var(--brand); }
.warn { background: var(--warn-bg); border-left: 4px solid var(--warn-line); }

.related { margin-top: 48px; border-top: 1px solid var(--border); }
table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: 0.93rem; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--surface-2); }
.table-scroll { overflow-x: auto; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 28px 0 44px; font-size: 0.88rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--text); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 520px) {
  body { font-size: 16.5px; }
  h1 { font-size: 1.75rem; }
  .hero h1 { font-size: 1.85rem; }
  .brand { letter-spacing: 0.12em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
