/* Steelreed site system. One stylesheet for the company page and every product page.
   Layout: left-aligned 12-column page, hairline rules between sections, real product
   output instead of illustrations. Dark is the default; html.light switches the tokens. */
/* Dark is the default look: neutral black, no blue tint. Colour only carries state
   (green ran fine, red missed or failed, amber slow). html.light switches to paper white. */
:root {
  color-scheme: dark;
  --bg: #0A0A0A;
  --paper: #131313;
  --ink: #EDEDED;
  --ink-2: #B9B9B9;
  --mute: #8B8B8B;
  --line: #232323;
  --line-2: #363636;
  --accent: #FFFFFF;
  --accent-ink: #FFFFFF;
  --cron: #F5A524;
  --cron-soft: rgba(245, 165, 36, .12);
  --qf: #7CC4FF;
  --qf-soft: rgba(124, 196, 255, .1);
  --bad: #FF5C5C;
  --bad-soft: rgba(255, 92, 92, .12);
  --good: #3DD68C;
  --good-soft: rgba(61, 214, 140, .11);
  --term: #000000;
  --term-ink: #E6E6E6;
  --term-mute: #7D7D7D;
  --term-line: #222222;
  --dot: rgba(255, 255, 255, .07);
  --btn-bg: #FFFFFF;
  --btn-ink: #0A0A0A;
  --foreground: var(--ink);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --r: 12px;
  --r-lg: 16px;
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html.light {
  color-scheme: light;
  --bg: #FFFFFF;
  --paper: #F7F7F7;
  --ink: #0A0A0A;
  --ink-2: #3D3D3D;
  --mute: #6B6B6B;
  --line: #E7E7E7;
  --line-2: #D2D2D2;
  --accent: #0A0A0A;
  --accent-ink: #0A0A0A;
  --cron: #A15C00;
  --cron-soft: #FFF3E0;
  --qf: #0B6F9C;
  --qf-soft: #E5F2F9;
  --bad: #D92D20;
  --bad-soft: #FDECEB;
  --good: #11804F;
  --good-soft: #E6F4EC;
  --term: #0A0A0A;
  --term-ink: #E6E6E6;
  --term-mute: #8A8A8A;
  --term-line: #262626;
  --dot: rgba(0, 0, 0, .07);
  --btn-bg: #0A0A0A;
  --btn-ink: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, pre, kbd { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }
.rm *, .rm *::before, .rm *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* scrollbars: thin and hidden until hover */
* { --scrollbar-thumb: transparent; }
*:hover { --scrollbar-thumb: color-mix(in srgb, var(--foreground) 16%, transparent); }
.is-scrolling { --scrollbar-thumb: color-mix(in srgb, var(--foreground) 28%, transparent); }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--foreground) 40%, transparent); }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: transparent transparent; }
  *:hover { scrollbar-color: color-mix(in srgb, var(--foreground) 18%, transparent) transparent; }
}
.scrollbar-clean { scrollbar-width: none; }
.scrollbar-clean::-webkit-scrollbar { display: none; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 560px) { .wrap { padding-inline: 16px; } }
.on-light { display: none; }
html.light .on-light { display: block; }
html.light .on-dark { display: none; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 14px; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .hdr { backdrop-filter: saturate(1.4) blur(10px); } }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.brand { flex: none; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); }
.nav a { padding-block: 6px; transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 500; }
.hdr-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 720px) { .nav { gap: 12px; } .nav-hide-sm { display: none; } }
.seg { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.seg button { min-width: 34px; height: 30px; padding: 0 8px; border: 0; border-radius: 6px; background: none; color: var(--mute); font: 500 12px var(--mono); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme { position: relative; }
.theme .ic-sun { display: none; }
html.light .theme .ic-moon { display: none; }
html.light .theme .ic-sun { display: block; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 168px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 12px 32px -12px rgba(11, 29, 51, .25); display: none; }
.menu.open { display: block; }
.menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); font: 14px var(--sans); text-align: left; cursor: pointer; }
.menu button:hover { background: var(--bg); color: var(--ink); }
.menu button .ck { margin-left: auto; visibility: hidden; }
.menu button[aria-checked="true"] { color: var(--ink); }
.menu button[aria-checked="true"] .ck { visibility: visible; }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font: 500 15px/1.2 var(--sans); cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.btn.primary:hover { opacity: .88; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .ic { width: 15px; height: 15px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font: 500 12px/1.6 var(--mono); color: var(--mute); background: var(--paper); white-space: nowrap; }
.tag.cron { color: var(--cron); border-color: color-mix(in srgb, var(--cron) 35%, transparent); background: var(--cron-soft); }
.tag.qf { color: var(--qf); border-color: color-mix(in srgb, var(--qf) 35%, transparent); background: var(--qf-soft); }
.tag .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
code.i { padding: .05em .35em; border-radius: 5px; background: color-mix(in srgb, var(--ink) 7%, transparent); font-size: .9em; }

/* ---------- sections ---------- */
.sec { padding-block: 96px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .sec { padding-block: 64px; } }
.sec-head { display: grid; gap: 14px 56px; margin-bottom: 44px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 5fr 6fr; align-items: end; } }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sec-head p { font-size: 17px; color: var(--ink-2); max-width: 58ch; }
.split { display: grid; gap: 40px 56px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; align-items: start; } }
.split > * { min-width: 0; }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); }
.split .copy { display: grid; gap: 16px; align-content: start; }
.split .copy p { color: var(--ink-2); font-size: 17px; }
.checks { display: grid; gap: 10px; margin-top: 8px; }
.checks li { position: relative; padding-left: 26px; color: var(--ink-2); text-wrap: pretty; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.note { font-size: 14px; color: var(--mute); }

/* ---------- hero ---------- */
.hero { padding-block: 72px 88px; display: grid; gap: 48px 56px; }
@media (min-width: 1020px) { .hero { grid-template-columns: 6fr 6fr; align-items: center; padding-block: 88px 104px; } }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -.03em; line-height: 1.04; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 54ch; }
.hero .cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .meta { margin-top: 28px; font: 13px var(--mono); color: var(--mute); }

/* ---------- terminal / code ---------- */
.term { border-radius: var(--r-lg); background: var(--term); color: var(--term-ink); border: 1px solid var(--term-line); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 40px; border-bottom: 1px solid var(--term-line); font: 12px var(--mono); color: var(--term-mute); }
.term pre { margin: 0; padding: 18px 20px; font: 13.5px/1.75 var(--mono); overflow-x: auto; white-space: pre; }
.term .c { color: var(--term-mute); }
.term .k { color: #F2C66D; }
.term .s { color: #8FD3A8; }
.term .u { color: #7CC4F2; }
.term .r { color: #FF8C82; }
.tabs { display: flex; gap: 2px; overflow-x: auto; }
.tabs button { flex: none; height: 40px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--term-mute); font: 500 12.5px var(--mono); cursor: pointer; }
.tabs button:hover { color: var(--term-ink); }
.tabs button[aria-selected="true"] { color: var(--term-ink); border-bottom-color: var(--cron); }
.copy-btn { margin-left: auto; height: 28px; padding: 0 10px; border: 1px solid var(--term-line); border-radius: 6px; background: none; color: var(--term-mute); font: 500 12px var(--mono); cursor: pointer; flex: none; }
.copy-btn:hover { color: var(--term-ink); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- run timeline (signature visual) ---------- */
.runs { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.runs-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.runs-head b { font: 600 14px var(--mono); }
.runs-head .sched { font: 12.5px var(--mono); color: var(--mute); }
.runs-head .state { margin-left: auto; }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font: 500 12px/1.6 var(--mono); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.up { color: var(--good); background: var(--good-soft); }
.st.down { color: var(--bad); background: var(--bad-soft); }
.st.new, .st.paused { color: var(--ink-2); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.st.paused::before { border-radius: 1px; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 132px; padding: 22px 18px 0; }
.bar { position: relative; height: var(--h, 40%); border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--good) 72%, var(--paper)); transform-origin: bottom; transition: transform .45s var(--ease), background-color .3s; }
.bar.slow { background: color-mix(in srgb, var(--cron) 70%, var(--paper)); }
.bar.due { height: 46%; background: none; border: 1.5px dashed var(--line-2); border-bottom: 0; }
.bar.miss { height: 46%; background: var(--bad-soft); border: 1.5px solid var(--bad); border-bottom: 0; }
.bar.ok-late { background: color-mix(in srgb, var(--good) 72%, var(--paper)); border: 0; height: 42%; }
.runs[data-play] .bar.grow { transform: scaleY(0); }
.days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; padding: 8px 18px 0; font: 11px var(--mono); color: var(--mute); text-align: center; border-top: 1px solid var(--line); margin-inline: 18px; padding-inline: 0; }
.days span:nth-child(odd) { visibility: hidden; }
@media (min-width: 560px) { .days span:nth-child(odd) { visibility: visible; } }
.grace { display: flex; align-items: center; gap: 10px; padding: 14px 18px 0; font: 12px var(--mono); color: var(--mute); }
.grace .track { flex: 1; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.grace .fill { display: block; height: 100%; width: var(--g, 100%); background: var(--bad); transition: width .1s linear; }
.alert { margin: 16px 18px 18px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); display: grid; gap: 6px; transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .3s; }
.alert .from { display: flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--mute); }
.alert .from .ch { color: var(--ink-2); font-weight: 500; }
.alert .from time { margin-left: auto; }
.alert p { font-size: 14.5px; }
.alert p b { font-family: var(--mono); font-size: 13.5px; font-weight: 600; }
.alert.is-down { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); }
.alert.is-up { border-color: color-mix(in srgb, var(--good) 45%, var(--line)); }
.alert.wait { opacity: 0; transform: translateY(8px); }
.alert .msg-up { display: none; }
.alert.is-up .msg-down { display: none; }
.alert.is-up .msg-up { display: block; }

/* ---------- alert feed ---------- */
.feed { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.feed li { display: grid; gap: 4px 18px; padding: 18px 20px; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
@media (min-width: 720px) { .feed li { grid-template-columns: 190px 1fr; } }
.feed .what { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.feed time { font: 12px var(--mono); color: var(--mute); }
.feed .msg { font: 13.5px/1.6 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.feed .why { margin-top: 4px; font-size: 15px; color: var(--ink-2); }

/* ---------- dashboard preview ---------- */
.dash { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.dash-scroll { overflow-x: auto; }
.dash-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dash-top b { font-size: 15px; }
.dash-top .counts { display: flex; gap: 14px; font: 12.5px var(--mono); color: var(--mute); }
.dash-top .counts .bad { color: var(--bad); }
.dash-top .fake-btn { margin-left: auto; height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 7px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; }
.dash table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dash th { text-align: left; padding: 10px 18px; font: 500 12px var(--mono); color: var(--mute); border-bottom: 1px solid var(--line); background: var(--bg); white-space: nowrap; }
.dash td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dash tr:last-child td { border-bottom: 0; }
.dash .nm { max-width: 260px; }
.dash .nm b { display: block; font: 500 13.5px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash .nm span { font-size: 12.5px; color: var(--mute); }
.dash .mono { font: 12.5px var(--mono); color: var(--ink-2); white-space: nowrap; }
.dash .spark { display: flex; align-items: end; gap: 2px; height: 22px; width: 84px; }
.dash .spark i { flex: 1; background: color-mix(in srgb, var(--good) 60%, var(--paper)); border-radius: 1px; }
.dash .spark i.x { background: var(--bad); }
.dash .spark.none { align-items: center; color: var(--mute); font: 12px var(--mono); }
.dash .row-down td { background: color-mix(in srgb, var(--bad-soft) 55%, transparent); }
@media (max-width: 900px) {
  .dash thead { display: none; }
  .dash tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .dash tr:last-child { border-bottom: 0; }
  .dash td { padding: 0; border: 0; }
  .dash td.c-sched, .dash td.c-spark { display: none; }
  .dash td.c-status { grid-column: 2; grid-row: 1; }
  .dash td.c-last, .dash td.c-next { grid-column: 1 / -1; }
  .dash .nm { max-width: none; min-width: 0; }
}

/* ---------- integrations ---------- */
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font: 500 13px var(--mono); color: var(--ink-2); }

/* ---------- plans ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.plan { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 14px; align-content: start; }
.plan.main { border-color: var(--ink); }
.plan h3 { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.plan .price { font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--mute); letter-spacing: 0; margin-left: 4px; }
.plan .for { font-size: 14px; color: var(--mute); }
.plan ul { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; max-width: 640px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field label { font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); color: var(--ink); font: 15px var(--sans); }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.status { font-size: 14px; color: var(--mute); }
.status[data-kind="ok"] { color: var(--good); }
.status[data-kind="bad"] { color: var(--bad); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--mute); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); max-width: 70ch; }

/* ---------- products on the company page ---------- */
.prods { display: grid; gap: 16px; }
@media (min-width: 900px) { .prods { grid-template-columns: 7fr 5fr; } }
.prod { position: relative; display: grid; gap: 16px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: border-color .2s; min-width: 0; }
.prod:hover { border-color: var(--line-2); }
.prod .top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.prod .top img { width: 36px; height: 36px; border-radius: 8px; }
.prod h3 { font-size: 24px; }
.prod p { color: var(--ink-2); }
.prod .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.prod .more .ic { transition: transform .2s var(--ease); }
.prod:hover .more .ic { transform: translateX(3px); }
.prod .stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mini-runs { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 46px; }
.mini-runs i { height: var(--h); border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--good) 70%, var(--paper)); }
.mini-runs i.x { background: var(--bad-soft); border: 1px solid var(--bad); border-bottom: 0; height: 60%; }

.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .principles li { grid-template-columns: 300px 1fr; } }
.principles b { font-weight: 600; }
.principles span { color: var(--ink-2); }
.log li { display: grid; gap: 2px 32px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .log li { grid-template-columns: 140px 1fr; } }
.log time { font: 13px var(--mono); color: var(--mute); }
.log { border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 14px; color: var(--mute); }
.ftr-in { display: grid; gap: 32px; }
@media (min-width: 800px) { .ftr-in { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.ftr h4 { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.ftr a { display: block; padding-block: 4px; transition: color .15s; }
.ftr a:hover { color: var(--ink); }
.ftr .brand img { height: 24px; }
.ftr .fine { margin-top: 12px; max-width: 32ch; }
.ftr-bot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* company hero: two real reports, stacked */
.caught { display: grid; gap: 14px; }
.caught .alert { margin: 0; background: var(--paper); }
.caught .term pre { font-size: 12.5px; }
@media (min-width: 1020px) { .caught { transform: translateY(8px); } }
.term .tag.qf { color: #6FD0F7; border-color: rgba(111, 208, 247, .4); background: transparent; }
.term .tag.cron { color: #F5B95A; border-color: rgba(245, 185, 90, .4); background: transparent; }
.principles span, .log p, .feed .why, .prod p { text-wrap: pretty; }
@media (min-width: 1020px) { .hero.home { grid-template-columns: 7fr 5fr; } }
.hero.home h1 { font-size: clamp(38px, 4.8vw, 58px); }
.runs.recovered .grace .fill { background: var(--good); }

/* ---------- flow hero: your jobs → the monitor → one alert ---------- */
.flow { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 22px 22px; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
.flow-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.flow-lines path.sig { stroke: var(--good); stroke-dasharray: 3 9; stroke-linecap: round; animation: sig 1.2s linear infinite; }
.flow[data-state="down"] .flow-lines path.sig.out { stroke: var(--bad); }
.flow[data-state="wait"] .flow-lines path.sig.out { stroke: var(--mute); }
@keyframes sig { to { stroke-dashoffset: -24; } }
.flow-grid { position: relative; display: grid; gap: 16px; padding-block: 72px 64px; }
.flow-center { text-align: center; display: grid; justify-items: center; margin-bottom: 24px; }
.flow-center h1 { font-size: clamp(40px, 6vw, 78px); letter-spacing: -.035em; line-height: 1.02; font-weight: 650; max-width: 15ch; }
.flow-center .lead { margin-top: 22px; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 50ch; }
.flow-center .cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.node { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px 14px; min-width: 0; }
.node-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font: 12px var(--mono); color: var(--mute); }
.node pre { margin: 0; font: 12.5px/1.65 var(--mono); color: var(--ink); white-space: pre; overflow-x: auto; }
.node .nc { font-size: 14px; color: var(--ink-2); }
.node .nc b { font: 600 13px var(--mono); color: var(--ink); }
.hub-node .node-h span:first-child { color: var(--ink); font-weight: 600; }
.hub { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.flow[data-state="down"] .hub { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.flow[data-state="wait"] .hub { background: var(--mute); box-shadow: 0 0 0 4px var(--line); }
.node-alert .nc-down, .node-alert .nc-up { display: none; }
.flow[data-state="down"] .nc-wait, .flow[data-state="up"] .nc-wait { display: none; }
.flow[data-state="down"] .nc-down, .flow[data-state="up"] .nc-up { display: block; }
.flow[data-state="down"] .node-alert { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); }
.flow[data-state="up"] .node-alert { border-color: color-mix(in srgb, var(--good) 40%, var(--line)); }
@media (min-width: 1000px) {
  .flow-lines { display: block; }
  .flow-grid { grid-template-columns: 300px 1fr 300px; column-gap: 56px; row-gap: 18px; padding-block: 96px 88px; align-items: center; }
  .flow-center { grid-column: 1 / -1; margin-bottom: 40px; }
  .node[data-node="a"] { grid-column: 1; grid-row: 2; }
  .node[data-node="b"] { grid-column: 1; grid-row: 3; }
  .hub-node { grid-column: 2; grid-row: 2 / span 2; justify-self: center; width: min(100%, 260px); }
  .node[data-node="c"] { grid-column: 3; grid-row: 2 / span 2; }
}

/* Labels are plain text. No pill borders, dots or tinted backgrounds (locked in DESIGN-SYSTEM.md). */
.tag, .tag.cron, .tag.qf, .term .tag.qf, .term .tag.cron { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; font: 500 12.5px/1.5 var(--mono); color: var(--mute); }
.tag .d { display: none; }
.st, .st.up, .st.down, .st.new, .st.paused { padding: 0; background: none; border-radius: 0; font: 600 12px/1.5 var(--mono); letter-spacing: .02em; }
.st::before { display: none; }
.app { display: inline-flex; align-items: center; gap: 7px; font: 600 13px var(--sans); color: var(--ink); }
.app img { width: 18px; height: 18px; border-radius: 4px; }
.term .app { color: var(--term-ink); }

/* products menu: scales to any number of products without empty sections */
.prodmenu { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; border: 0; background: none; color: var(--ink-2); font: 14px var(--sans); cursor: pointer; }
.nav-btn:hover, .nav-btn[aria-expanded="true"], .prodmenu.current .nav-btn { color: var(--ink); }
.nav-btn .chev { width: 14px; height: 14px; transition: transform .15s; }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.prodpanel { position: absolute; left: -12px; top: calc(100% + 10px); width: 330px; max-width: calc(100vw - 32px); padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .45); display: none; z-index: 40; }
.prodpanel.open { display: grid; gap: 2px; }
.prodpanel a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; }
.prodpanel a:hover, .prodpanel a[aria-current="page"] { background: var(--bg); }
.prodpanel img { width: 32px; height: 32px; border-radius: 7px; flex: none; }
.prodpanel b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.prodpanel small { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.prod .kind { font: 500 12.5px var(--mono); color: var(--mute); }
@media (max-width: 720px) { .prodpanel { position: fixed; left: 16px; right: 16px; top: calc(var(--hdr) + 6px); width: auto; max-width: none; } }
.nav-btn { white-space: nowrap; }
/* nav items share one baseline: the Products button and the links use the same line box */
.nav { align-items: center; }
.nav a, .nav-btn { display: inline-flex; align-items: center; height: 34px; padding-block: 0; font-size: 14px; line-height: 1; }
@media (max-width: 720px) { .nav a.nav-hide-sm { display: none; } }


/* comparison matrix: criteria across, tools down; marks carry state colour only */
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.cmpx { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.cmpx th, .cmpx td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmpx tbody tr:last-child > * { border-bottom: 0; }
.cmpx thead th { font: 500 12.5px/1.35 var(--sans); color: var(--mute); background: var(--paper); vertical-align: bottom; }
.cmpx th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; background: var(--paper); width: 250px; }
.cmpx tbody th { font-weight: 400; }
.cmpx tbody th b, .cmpx tbody th .app { display: inline-flex; font-size: 15px; font-weight: 600; color: var(--ink); }
.cmpx tbody th small { display: block; margin-top: 3px; font: 12px/1.4 var(--mono); color: var(--mute); }
.cmpx tr.us > * { background: color-mix(in srgb, var(--ink) 5%, var(--paper)); }
.cmpx .mk { width: 18px; height: 18px; margin: 0 auto; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cmpx .y .mk { stroke: var(--good); }
.cmpx .n .mk { stroke: var(--line-2); stroke-width: 2; }
.cmpx .p { color: var(--ink-2); }
.cmpx .half { display: block; width: 12px; height: 12px; margin: 0 auto 4px; border-radius: 50%; border: 2px solid var(--cron); background: linear-gradient(90deg, var(--cron) 50%, transparent 50%); }
.cmpx .p small { display: block; font-size: 12px; line-height: 1.35; color: var(--mute); }
.cmpx .na { color: var(--mute); }
.cmp-scroll + .note { margin-top: 14px; }
@media (max-width: 720px) { .cmpx th:first-child { width: 170px; min-width: 170px; } }
