/* Warppool — site styles. Builds on the Williams-Tracy/USWDS token base. */
@import url("./colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg-1); color: var(--fg-1); }
img, svg { max-width: 100%; }

/* ---------- Container ---------- */
.container { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-3); }
.container-narrow { max-width: var(--container-default); margin: 0 auto; padding: 0 var(--space-3); }

/* ---------- USWDS-style "official network" banner ---------- */
.banner { background: var(--banner-bg); border-bottom: 1px solid var(--border-default); font-size: 13px; color: var(--banner-fg); }
.banner__inner { display: flex; align-items: center; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.banner__flag { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 14px; border-radius: 2px; background: linear-gradient(90deg, #005ea2 0 50%, #d83933 50% 100%); flex: 0 0 18px; }
.banner__flag::after { content: ""; display: block; width: 5px; height: 5px; background: #fff; border-radius: 50%; margin-left: -1px; box-shadow: 0 0 0 1px rgba(0,0,0,0.05); }
.banner__lede { line-height: 1.3; }
.banner__lede b { font-weight: 600; }
.banner__button { background: none; border: 0; color: var(--link); font-weight: 600; padding: 0; cursor: pointer; font: inherit; text-decoration: underline; margin-left: auto; }
.banner__button:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
.banner__button:focus-visible { outline: 0.25rem solid var(--border-focus); outline-offset: 2px; }
.banner__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 14px 0 22px; max-width: 56rem; }
.banner__panels[hidden] { display: none; }
.banner__panel { display: flex; gap: 12px; }
.banner__panel img { width: 36px; height: 36px; flex: 0 0 36px; }
.banner__panel b { display: block; font-size: 14px; margin-bottom: 4px; }
.banner__panel p { margin: 0; font-size: 13px; max-width: none; line-height: 1.45; }

/* ---------- Header / nav ---------- */
.site-header { border-bottom: 1px solid var(--border-default); background: var(--bg-1); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg-1); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 32px; height: 32px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 1.5px; padding: 2px; background: var(--color-primary); border-radius: 4px; }
.brand__mark span { background: rgba(255,255,255,0.95); border-radius: 1px; }
.brand__mark span:nth-child(4n) { background: rgba(255,255,255,0.55); }
.brand__mark span:nth-child(2),
.brand__mark span:nth-child(7),
.brand__mark span:nth-child(11) { background: rgba(255,255,255,0.35); }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; color: var(--color-primary); }
.brand__divider { width: 1px; height: 22px; background: var(--border-default); }
.brand__role { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-2); line-height: 1.1; }
.brand__role b { display: block; color: var(--fg-1); font-weight: 600; }

.site-nav { display: flex; gap: 2px; align-items: center; }
.site-nav a { display: inline-block; padding: 10px 14px; color: var(--fg-1); text-decoration: none; font-size: 15px; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.site-nav a:hover { color: var(--link); background: var(--bg-2); }
.site-nav a.is-active { color: var(--link); border-bottom-color: var(--link); }
.site-nav a:focus-visible { outline: 0.25rem solid var(--border-focus); outline-offset: -2px; }
.site-nav__sep { display: inline-block; width: 1px; height: 18px; background: var(--border-default); margin: 0 8px; }
.site-nav__signin { padding: 6px 10px !important; font-size: 13px !important; font-weight: 500 !important; color: var(--fg-2) !important; }
.site-nav__signin:hover { color: var(--link) !important; background: transparent !important; }
.site-nav__signup { background: var(--color-primary); color: #fff !important; border-bottom: 3px solid transparent; padding: 6px 12px !important; font-size: 13px !important; font-weight: 600 !important; margin-left: 4px; border-radius: 4px; }
.site-nav__signup:hover { background: var(--color-primary-dark); color: #fff !important; }
.site-nav__signup:visited { color: #fff !important; }

.header-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-2); padding: 6px 10px; border: 1px solid var(--border-default); border-radius: 99rem; }
.header-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 0 rgba(0,169,28,0.5); animation: pulse 2s ease-out infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,169,28,0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(0,169,28,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,169,28,0); }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; border-bottom: 1px solid var(--border-default); position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-default) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-default) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-2); font-weight: 500; margin-bottom: 18px; padding: 5px 10px; background: var(--bg-2); border-radius: 99rem; }
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); }
.hero h1 { font-family: var(--font-serif); font-size: 52px; line-height: 1.05; margin: 0 0 22px; letter-spacing: -0.02em; max-width: 18ch; }
.hero h1 em { color: var(--color-primary); font-style: normal; }
.hero .lead { font-size: 20px; line-height: 1.5; color: var(--fg-2); max-width: 36rem; margin: 0 0 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__caveat { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); margin-top: 16px; max-width: 36rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 var(--font-sans); padding: 13px 22px; border: 0; border-radius: 4px; cursor: pointer; text-decoration: none; text-align: center; white-space: nowrap; transition: background-color 0.1s ease, color 0.1s ease, box-shadow 0.1s ease; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; text-decoration: none; }
.btn--outline { background: var(--bg-1); color: var(--color-primary); box-shadow: inset 0 0 0 2px var(--color-primary); }
.btn--outline:hover { background: var(--color-blue-5); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-primary); padding: 13px 8px; }
.btn--ghost:hover { text-decoration: underline; background: transparent; }
.btn:visited { color: inherit; }
.btn--primary:visited { color: #fff; }
.btn--outline:visited, .btn--ghost:visited { color: var(--color-primary); }
.btn:focus-visible { outline: 0.25rem solid var(--border-focus); outline-offset: 0; }
.btn--sm { font-size: 14px; padding: 9px 14px; }
.btn--lg { font-size: 17px; padding: 16px 26px; }
.btn--invert { background: #fff; color: var(--fg-1); }
.btn--invert:hover { background: var(--bg-2); color: var(--fg-1); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #dfe1e2; }
.section--dark .section-heading__eyebrow { color: var(--color-blue-30); }
.section-heading { margin-bottom: 40px; max-width: 50rem; }
.section-heading__eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--color-primary); font-weight: 500; margin-bottom: 14px; }
.section-heading h2 { font-family: var(--font-serif); font-size: 36px; margin: 0 0 14px; line-height: 1.1; letter-spacing: -0.01em; }
.section-heading p { font-size: 18px; color: var(--fg-2); max-width: 38rem; margin: 0; }

/* ---------- Live stats strip ---------- */
.stats { background: var(--bg-darker); color: #fff; padding: 28px 0; border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: stretch; }
.stat { padding: 4px 24px; border-left: 1px solid #2a2a2a; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #a9aeb1; margin-bottom: 6px; }
.stat__value { font-family: var(--font-serif); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.stat__value .unit { font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: #a9aeb1; margin-left: 4px; letter-spacing: 0; }
.stat__sub { font-family: var(--font-mono); font-size: 12px; color: #71b8ff; margin-top: 6px; }
.stat__sub .down { color: var(--color-warning); }

/* ---------- "How it works" two-track ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.track { background: var(--bg-1); border: 1px solid var(--border-default); padding: 32px; }
.track__tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99rem; font-weight: 600; margin-bottom: 14px; }
.track__tag--submit { background: var(--color-blue-10); color: var(--color-primary-darker); }
.track__tag--contribute { background: #ecf3ec; color: #216e1f; }
.track h3 { font-family: var(--font-serif); font-size: 26px; margin: 0 0 8px; }
.track > p { font-size: 16px; color: var(--fg-2); margin: 0 0 24px; max-width: none; }
.track__steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; padding: 0; list-style: none; margin: 0; border-top: 1px solid var(--border-default); }
.track__step { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border-default); align-items: start; counter-increment: step; }
.track__step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 14px; color: var(--fg-3); padding-top: 1px; }
.track__step b { display: block; font-size: 16px; margin-bottom: 4px; }
.track__step p { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; max-width: none; }

/* ---------- Cards (use-cases, trust, etc.) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: 1fr 1fr; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg-1); border: 1px solid var(--border-default); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-family: var(--font-serif); font-size: 19px; line-height: 1.2; margin: 0; }
.card p { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; max-width: none; }
.card__icon { width: 36px; height: 36px; background: var(--bg-2); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--color-primary); margin-bottom: 6px; }
.card__icon svg { width: 20px; height: 20px; }
.card__meta { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border-default); font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); display: flex; gap: 16px; }
.card__meta b { color: var(--fg-1); font-weight: 600; }
.card--fit { border-top: 3px solid var(--color-success); }
.card--unfit { border-top: 3px solid var(--color-warning); }
.card__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.card--fit .card__tag { color: var(--color-green-cool-60v); }
.card--unfit .card__tag { color: var(--color-gold-50v); }

/* ---------- Demo widget ---------- */
.demo {
  background: #11181d;
  color: #e6eef5;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.demo__bar { background: #0b0f13; padding: 10px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #1f2a33; font-size: 12px; color: #a9aeb1; }
.demo__lights { display: inline-flex; gap: 5px; }
.demo__lights span { width: 10px; height: 10px; border-radius: 50%; background: #3d4551; }
.demo__title { font-family: var(--font-mono); }
.demo__support { margin-left: auto; padding: 2px 8px; border-radius: 99rem; background: #1f2a33; color: #71b8ff; font-size: 11px; letter-spacing: 0.04em; }
.demo__support.is-bad { color: var(--color-warning); background: #2a221a; }
.demo__body { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; flex: 1; }
.demo__col h4 { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #71b8ff; margin: 0 0 10px; font-weight: 600; }
.demo__col p { margin: 0; color: #a9aeb1; font-size: 12px; max-width: none; }
.demo__pi {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 4px 0 4px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.demo__pi small { font-size: 14px; font-family: var(--font-mono); color: #a9aeb1; margin-left: 6px; font-weight: 400; }
.demo__pi-target { font-family: var(--font-mono); font-size: 12px; color: #71b8ff; }
.demo__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 10px 0; border-top: 1px solid #1f2a33; border-bottom: 1px solid #1f2a33; margin: 14px 0; }
.demo__stat .lbl { color: #71767a; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.demo__stat .val { color: #fff; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.demo__progress { height: 4px; background: #1f2a33; border-radius: 2px; overflow: hidden; margin: 4px 0 6px; }
.demo__progress > div { height: 100%; background: var(--color-blue-30v); width: 0%; transition: width 0.15s linear; }
.demo__log { background: #0b0f13; border-radius: 4px; padding: 10px 12px; max-height: 140px; overflow-y: auto; font-size: 11.5px; line-height: 1.55; color: #cfe8ff; }
.demo__log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo__log .t { color: #71767a; margin-right: 8px; }
.demo__log .ok { color: #70e17b; }
.demo__log .info { color: #71b8ff; }
.demo__log .warn { color: var(--color-warning); }
.demo__actions { display: flex; gap: 10px; margin-top: 12px; align-items: center; }
.demo__btn { font-family: var(--font-sans); font-size: 13px; font-weight: 600; background: var(--color-blue-50v); color: #fff; border: 0; padding: 8px 14px; border-radius: 4px; cursor: pointer; }
.demo__btn:hover { background: var(--color-blue-60v); }
.demo__btn:disabled { background: #3d4551; color: #71767a; cursor: not-allowed; }
.demo__btn--ghost { background: transparent; color: #71b8ff; box-shadow: inset 0 0 0 1px #1f2a33; }
.demo__btn--ghost:hover { background: #1f2a33; }
.demo__chunks { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; padding: 12px 0 0; }
.demo__chunks .ck { aspect-ratio: 1; background: #1f2a33; border-radius: 1px; }
.demo__chunks .ck.run { background: var(--color-blue-40v); animation: pulseChunk 1.2s ease-in-out infinite alternate; }
.demo__chunks .ck.done { background: var(--color-green-cool-40v); }
@keyframes pulseChunk { from { opacity: 0.45; } to { opacity: 1; } }

/* WGSL background poster */
.wgsl-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.06; font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: #fff; white-space: pre; padding: 24px; mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); }

/* ---------- World map ---------- */
.worldmap { position: relative; aspect-ratio: 2.05/1; background: var(--bg-2); border: 1px solid var(--border-default); border-radius: 4px; overflow: hidden; }
.worldmap__leaflet { position: absolute; inset: 0; background: #f4f4f1; cursor: default; }
.worldmap__leaflet .leaflet-control-attribution { font-family: var(--font-mono); font-size: 10px; background: rgba(255,255,255,0.8); padding: 2px 8px; color: var(--fg-3); }
.worldmap__leaflet .leaflet-control-attribution a { color: var(--fg-2); text-decoration: none; }
.worldmap__leaflet .leaflet-control-attribution a:hover { color: var(--link); text-decoration: underline; }
.worldmap__leaflet .leaflet-tile-container img { filter: grayscale(0.1) contrast(0.95); }
.worldmap__svg { width: 100%; height: 100%; display: block; }
.worldmap__svg .land { fill: #d9e0e4; }
.worldmap__svg .grid { stroke: rgba(0,0,0,0.04); stroke-width: 0.4; fill: none; }
.worldmap__node { position: absolute; transform: translate(-50%, -50%); width: 8px; height: 8px; border-radius: 50%; background: var(--color-blue-50v); box-shadow: 0 0 0 2px rgba(0,118,214,0.18); pointer-events: none; }
.worldmap__node.busy { background: var(--color-success); box-shadow: 0 0 0 2px rgba(0,169,28,0.2); }
.worldmap__node.idle { background: var(--color-base); box-shadow: 0 0 0 2px rgba(113,118,122,0.18); }
.worldmap__node.dim { opacity: 0.55; width: 5px; height: 5px; }
.worldmap__node.ping { animation: nodePing 1.6s ease-out 1; }
@keyframes nodePing {
  from { box-shadow: 0 0 0 2px rgba(0,169,28,0.4); }
  to   { box-shadow: 0 0 0 14px rgba(0,169,28,0); }
}
.worldmap__legend { position: absolute; left: 12px; bottom: 12px; z-index: 800; background: rgba(255,255,255,0.94); border: 1px solid var(--border-default); border-radius: 4px; padding: 8px 12px; font-family: var(--font-mono); font-size: 11px; display: flex; gap: 14px; }
.worldmap__legend span { display: inline-flex; align-items: center; gap: 6px; }
.worldmap__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Code block ---------- */
.codeblock { background: #11181d; color: #e6eef5; border-radius: 6px; padding: 0; overflow: hidden; border: 1px solid #2a2a2a; }
.codeblock__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0b0f13; font-family: var(--font-mono); font-size: 12px; color: #a9aeb1; border-bottom: 1px solid #1f2a33; }
.codeblock__bar .file { color: #71b8ff; }
.codeblock__bar .copy { margin-left: auto; background: transparent; border: 0; color: #cfe8ff; cursor: pointer; font: inherit; font-size: 11px; padding: 4px 8px; border-radius: 3px; }
.codeblock__bar .copy:hover { background: #1f2a33; }
.codeblock pre { background: transparent; margin: 0; padding: 16px 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; overflow-x: auto; border-radius: 0; color: #e6eef5; }
.codeblock .k { color: #70e17b; }   /* keyword */
.codeblock .s { color: #ffbe2e; }   /* string */
.codeblock .c { color: #71767a; }   /* comment */
.codeblock .n { color: #71b8ff; }   /* number */
.codeblock .p { color: #f2938c; }   /* punctuation accent */

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border-default); }
.faq details { border-bottom: 1px solid var(--border-default); padding: 18px 0; }
.faq summary { font-family: var(--font-serif); font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--font-sans); font-size: 22px; font-weight: 400; color: var(--fg-3); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 14px 0 4px; max-width: 50rem; color: var(--fg-2); }
.faq summary:focus-visible { outline: 0.25rem solid var(--border-focus); outline-offset: 4px; }

/* ---------- Treeline (subtle horizon above footer) ---------- */
.treeline { display: block; line-height: 0; background: var(--bg-1); color: var(--color-base-light); margin: 0; }
.treeline svg { display: block; width: 100%; height: 64px; opacity: 0.55; }

/* ---------- Identifier / footer ---------- */
.identifier { background: #1b1b1b; color: #fff; padding: 40px 0 28px; margin-top: 0; }
.identifier__top { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid #565c65; }
.identifier__mark { width: 36px; height: 36px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 2px; padding: 3px; background: #fff; border-radius: 4px; }
.identifier__mark span { background: #1b1b1b; border-radius: 1px; }
.identifier__mark span:nth-child(4n) { background: #565c65; }
.identifier__mark span:nth-child(2),
.identifier__mark span:nth-child(7),
.identifier__mark span:nth-child(11) { background: #71767a; }
.identifier__role { font-size: 14px; color: #dfe1e2; }
.identifier__role b { color: #fff; display: block; font-family: var(--font-serif); font-size: 18px; font-weight: 700; }
.identifier__cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding: 28px 0; }
.identifier__col h4 { font-family: var(--font-sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #a9aeb1; margin: 0 0 12px; font-weight: 600; }
.identifier__col ul { list-style: none; padding: 0; margin: 0; }
.identifier__col li { padding: 4px 0; }
.identifier__col a { color: #dfe1e2; text-decoration: none; font-size: 14px; }
.identifier__col a:hover { color: #fff; text-decoration: underline; }
.identifier__about { font-size: 14px; color: #dfe1e2; line-height: 1.55; max-width: 26rem; }
.identifier__about b { color: #fff; }
.identifier__meta { font-size: 13px; color: #a9aeb1; padding-top: 18px; border-top: 1px solid #565c65; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); }
.identifier__status { display: inline-flex; align-items: center; gap: 8px; }
.identifier__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); }

/* ---------- Misc ---------- */
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--color-primary); font-weight: 500; text-transform: uppercase; }
.eyebrow-divider { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-3); margin-bottom: 14px; text-transform: uppercase; }
.eyebrow-divider::before { content: ""; width: 30px; height: 1px; background: var(--fg-3); }

.callout { padding: 16px 18px; background: var(--bg-2); border-left: 4px solid var(--color-primary); border-radius: 0 4px 4px 0; font-size: 15px; }
.callout b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-primary); margin-bottom: 4px; font-weight: 700; }
.callout p { margin: 0; max-width: none; }

/* ---------- Two-col with image ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split--rev { grid-template-columns: 1fr 1.05fr; }

/* ---------- Comparison / "fit" matrix ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border-default); border-radius: 4px; overflow: hidden; }
.fit__col { padding: 28px; }
.fit__col + .fit__col { border-left: 1px solid var(--border-default); }
.fit__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.fit__head.ok { color: var(--color-green-cool-60v); }
.fit__head.no { color: var(--color-gold-50v); }
.fit__head .badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 99rem; font-size: 14px; }
.fit__head.ok .badge { background: #ecf3ec; color: var(--color-green-cool-60v); }
.fit__head.no .badge { background: #fff5e1; color: var(--color-gold-50v); }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { padding: 12px 0; border-bottom: 1px solid var(--border-default); font-size: 15px; line-height: 1.4; }
.fit li:last-child { border-bottom: 0; }
.fit li b { display: block; font-size: 15px; }
.fit li span { font-family: var(--font-mono); color: var(--fg-3); font-size: 12px; }

/* ---------- Hero demo & live stat micro ---------- */
.metabar { display: flex; gap: 24px; padding: 18px 0; border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); font-family: var(--font-mono); font-size: 13px; color: var(--fg-2); flex-wrap: wrap; }
.metabar b { color: var(--fg-1); font-weight: 600; font-family: var(--font-sans); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .tracks, .cards, .cards--4, .fit, .split, .split--rev { grid-template-columns: 1fr; }
  .fit__col + .fit__col { border-left: 0; border-top: 1px solid var(--border-default); }
  .identifier__cols { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 560px) {
  .demo__body { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; }
  .identifier__cols { grid-template-columns: 1fr; }
}

/* ---------- Page chrome links ---------- */
a.inline-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--link); text-decoration: none; font-weight: 600; font-size: 15px; }
a.inline-arrow::after { content: "→"; transition: transform 0.15s ease; }
a.inline-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
a.inline-arrow:hover::after { transform: translateX(3px); }

/* Block lists used for content sections */
.numlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; counter-reset: nl; border-top: 1px solid var(--border-default); }
.numlist li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border-default); counter-increment: nl; }
.numlist li::before { content: counter(nl, decimal-leading-zero); font-family: var(--font-mono); font-size: 14px; color: var(--fg-3); padding-top: 2px; }
.numlist li b { display: block; font-family: var(--font-serif); font-size: 19px; margin-bottom: 6px; }
.numlist li p { margin: 0; max-width: 36rem; font-size: 15px; color: var(--fg-2); }

/* Tabs (used on Run jobs page) */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border-default); margin-bottom: 24px; }
.tabs button { background: none; border: 0; padding: 12px 18px; font: 600 14px var(--font-sans); color: var(--fg-2); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button.is-active { color: var(--link); border-bottom-color: var(--link); }
.tabs button:hover { color: var(--link); }
.tabs button:focus-visible { outline: 0.25rem solid var(--border-focus); outline-offset: -2px; }
