/* Shorpath: one stylesheet, no external fonts or scripts (nothing is sent to third parties). */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #55627a;
  --line: #dfe4ec;
  --accent: #0b7a6f;
  --accent-ink: #ffffff;
  --accent-soft: #e3f3f1;
  --danger: #c2412d;
  --danger-soft: #fbe9e5;
  --dead: #9aa5b8;
  --warn: #a86a00;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2c;
    --ink: #e8edf5;
    --muted: #9aa8bf;
    --line: #22304a;
    --accent: #3cc4b4;
    --accent-ink: #06231f;
    --accent-soft: #10302d;
    --danger: #ff7a63;
    --danger-soft: #3a1d18;
    --dead: #5d6a82;
    --warn: #f0b24a;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code, .mono { font-family: var(--mono); font-size: .9em; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.site-header .btn { margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } .site-header .btn { margin-left: 0; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; font-size: .97rem; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }

/* sections */
section { padding: 72px 0; scroll-margin-top: 64px; }
section + section { border-top: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 36px; }

/* hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
.hero h1 em { font-style: normal; color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }

.path-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.path-card figcaption { color: var(--muted); font-size: .85rem; margin-top: 10px; }
.path-svg { display: block; width: 100%; height: auto; }
.path-svg text { font-family: var(--mono); font-size: 15px; fill: var(--ink); }
.path-svg .n { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.path-svg .n-hot { fill: var(--danger-soft); stroke: var(--danger); stroke-width: 1.5; }
.path-svg .n-dead { fill: var(--surface); stroke: var(--dead); stroke-dasharray: 4 3; }
.path-svg .t-dead { fill: var(--dead); }
.path-svg .e { stroke: var(--accent); stroke-width: 2.2; fill: none; }
.path-svg .e-dead { stroke: var(--dead); stroke-width: 1.6; stroke-dasharray: 4 4; fill: none; }
.path-svg .badge { font-family: var(--font); font-size: 12px; font-weight: 700; }
.path-svg .b-hot { fill: var(--danger); }
.path-svg .b-dead { fill: var(--dead); }
.path-svg .label { font-family: var(--font); font-size: 13px; fill: var(--muted); }

/* grids and cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .num { font-family: var(--mono); color: var(--accent); font-weight: 700; font-size: .9rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* timeline */
.timeline { display: grid; gap: 14px; }
@media (min-width: 860px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.when { font-family: var(--mono); font-weight: 700; font-size: .95rem; }
.when.hot { color: var(--danger); }

/* states */
.states { display: grid; gap: 12px; margin-top: 8px; }
.state { display: flex; gap: 12px; align-items: baseline; }
.pill { display: inline-block; min-width: 116px; text-align: center; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.pill-hot { background: var(--danger-soft); color: var(--danger); }
.pill-warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.pill-dead { background: color-mix(in srgb, var(--dead) 18%, transparent); color: var(--muted); }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.n { font-family: var(--mono); font-weight: 700; }
td.zero { color: var(--muted); }

/* lists */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* cta band */
.cta-band { background: var(--ink); color: var(--bg); border-radius: 20px; padding: 40px 28px; display: grid; gap: 20px; }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.5fr 1fr; align-items: center; padding: 48px; } }
.cta-band .btn-primary { justify-self: start; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.site-footer a { color: var(--muted); }

/* legal pages */
.doc { max-width: 760px; padding: 48px 0 72px; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.todo { background: color-mix(in srgb, var(--warn) 18%, transparent); padding: 0 4px; border-radius: 4px; }
.site-header .brand + .btn { margin-left: auto; }
