/* Telic Sentry console — teal #0E3B3C with a saffron accent, same family as ERP and Connect. */
:root {
  --teal: #0E3B3C;
  --teal-2: #17595a;
  --saffron: #F4B63F;
  --ink: #16201f;
  --muted: #5c6b6a;
  --line: #dfe6e5;
  --bg: #f7faf9;
  --card: #ffffff;
  --crit: #8c1d18;
  --high: #c2410c;
  --med: #b45309;
  --low: #3f6212;
  --info: #57606a;
  --good: #1f6f4a;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font: 15px/1.55 ui-sans-serif, system-ui, 'Segoe UI', Inter, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--teal-2); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }

/* ---- shell ---- */
.shell { display: flex; min-height: 100vh; }

.side {
  width: 232px;
  flex: 0 0 232px;
  background: var(--teal);
  color: #d7e5e4;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.brand strong { font-weight: 700; }
.ws {
  font-size: 12px;
  color: #9fc0bf;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 14px 2px;
}

.side .nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  color: #cfe1e0;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
}
.side .nav .ico { flex: none; opacity: 0.75; transition: opacity 0.15s ease, transform 0.15s ease; }
.side .nav:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.side .nav:hover .ico { opacity: 1; transform: translateX(1px); }
.side .nav.active { background: rgba(244, 182, 63, 0.16); color: #fff; font-weight: 600; }
.side .nav.active .ico { opacity: 1; color: var(--saffron, #F4B63F); }
/* The saffron bar marks where you are even when the label is not being read. */
.side .nav.active::before {
  content: "";
  position: absolute; left: -14px; top: 6px; bottom: 6px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--saffron, #F4B63F);
}
.ico { display: inline-block; vertical-align: -3px; }
.who .link .ico { vertical-align: -2px; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; }

.side .group {
  margin: 16px 0 4px 10px;
  font-size: 11px;
  color: #80a5a4;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.who {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
}
.who .name { color: #fff; }
.who .role { color: #9fc0bf; margin-bottom: 6px; }

.main { flex: 1 1 auto; padding: 26px 30px 56px; max-width: 1500px; }

/* ---- typography ---- */
h1 { font-size: 25px; margin: 0 0 4px; color: var(--teal); letter-spacing: -0.015em; }
h1 .sev { vertical-align: 3px; margin-right: 6px; }
h2 { font-size: 16px; margin: 26px 0 9px; color: var(--teal); }
p.sub { color: var(--muted); margin: 0 0 20px; }
p.note, .note { color: var(--muted); font-size: 13px; }
.muted { color: var(--muted); }
.strong { font-weight: 600; }
.url { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; word-break: break-all; }
.over { color: var(--crit); font-weight: 650; }
.err { color: var(--crit); }
.faded { opacity: 0.55; }

/* Help text. `.sub` is the one-line explanation under a page title; `.hint` is the smaller
   note that sits under a field, a cell or a control and explains what it will do. Both are
   quiet by default and only take colour when the thing they describe is a risk. */
.hint {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 3px;
  max-width: 62ch;
}
.hint.warn { color: var(--high); }
.hint.bad  { color: var(--crit); }
.hint.good { color: var(--good); }
td .hint, .tile .hint { margin-top: 2px; }
/* Inside a form label the hint sits under the control and must not inherit the label's weight. */
label > .hint { font-weight: 400; text-transform: none; letter-spacing: 0; margin-top: 4px; }
label.check + .hint { margin: -2px 0 8px 24px; }

/* Saved views: a row of chips above the filters, because the question comes before the knobs. */
.views { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 10px; }
.chip-wrap { display: inline-flex; align-items: stretch; }
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
}
.chip:hover { border-color: var(--teal-2); }
.chip.on { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 600; }
.chip.add { border-style: dashed; color: var(--muted); }
.chip-wrap .chip { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.chip-x {
  border: 1px solid var(--line); border-left: 0;
  border-radius: 0 999px 999px 0;
  background: var(--card); color: var(--muted);
  padding: 0 9px; font-size: 13px; line-height: 1; cursor: pointer;
}
.chip-x:hover { color: var(--crit); border-color: var(--crit); }
.chip-name { max-width: 200px; }

/* An empty state is a place to explain the feature, not an apology for having no rows. */
.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 22px 24px;
  margin: 14px 0;
  max-width: 70ch;
}
.empty h3 { margin: 0 0 6px; font-size: 15px; color: var(--teal); }
.empty p { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.empty p:last-child { margin-bottom: 0; }
.empty .btn { margin-top: 4px; }

/* The first-run panel on the overview: numbered steps that tick off as they are done. */
.steps { list-style: none; counter-reset: step; margin: 10px 0 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 14px 34px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.5;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 650;
  display: grid; place-items: center;
}
.steps li.done::before { content: "\2713"; background: var(--good); }
.steps li.done { color: var(--muted); }
.steps li .hint { margin-top: 2px; }

/* ---- layout helpers ---- */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 1100px) { .cols { grid-template-columns: 1fr; } }

.centre { display: flex; justify-content: center; align-items: flex-start; padding: 8vh 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 14px 0;
}
.card.narrow { max-width: 480px; width: 100%; }
.card h2:first-child { margin-top: 0; }

.row { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.row.wrap { flex-wrap: wrap; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 10px 0 14px; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }

/* ---- controls ---- */
.in {
  font: inherit;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  min-width: 140px;
}
.in:focus { outline: 2px solid var(--saffron); outline-offset: -1px; border-color: var(--saffron); }
textarea.in { min-height: 60px; resize: vertical; }

.btn {
  font: inherit;
  font-size: 14px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn:hover { border-color: var(--teal-2); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-2); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
/* Buttons sitting together in a cell need a gap of their own: whitespace between inline
   elements collapses away in a table and they end up touching. */
td.right { white-space: nowrap; }
td.right > .btn + .btn, .actions > .btn + .btn { margin-left: 6px; }

.link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13.5px;
  color: var(--teal-2);
  cursor: pointer;
  text-decoration: underline;
}

.check { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink); }

details { margin: 12px 0; }
summary { cursor: pointer; color: var(--teal-2); font-size: 14px; }

/* ---- tiles ---- */
.tiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.tile {
  flex: 1 1 140px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.tile .label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tile .value { font-size: 24px; font-weight: 650; color: var(--teal); line-height: 1.25; }
.tile .label .ico { margin-right: 5px; vertical-align: -2px; opacity: 0.7; }
.tile { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.tile:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(14, 59, 60, 0.07); }
.btn .ico { margin-right: 4px; vertical-align: -3px; }
.btn { transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease; }
.btn:active:not(:disabled) { transform: translateY(1px); }
/* Rows and panels arrive gently instead of snapping in, and not at all for anyone who has
   asked their system for less motion. */
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.main > h1, .main > .sub, .tiles, .empty, table.grid, .card { animation: rise 0.28s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.tile .note { font-size: 11.5px; color: var(--muted); }
.tile.bad { border-left: 3px solid var(--crit); }
.tile.bad .value { color: var(--crit); }
.tile.warn { border-left: 3px solid var(--high); }
.tile.good { border-left: 3px solid var(--good); }

/* ---- tables ---- */
table.grid, table.meta { border-collapse: collapse; width: 100%; background: var(--card); }
table.grid { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.grid th, table.grid td, table.meta th, table.meta td {
  text-align: left;
  padding: 8px 11px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 13.5px;
}
table.grid th, table.meta th {
  color: var(--muted);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f1f6f5;
}
table.meta th { width: 150px; background: transparent; }
table.grid tbody tr:last-child td, table.meta tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
tr.clickable { cursor: pointer; }
tr.clickable:hover { background: #f4f9f8; }

/* ---- chips ---- */
.sev, .pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.sev { color: #fff; }
.sev.crit { background: var(--crit); }
.sev.high { background: var(--high); }
.sev.med { background: var(--med); }
.sev.low { background: var(--low); }
.sev.info { background: var(--info); }

.pill { border: 1px solid var(--line); background: #f3f6f6; color: var(--muted); }
.pill.open { background: #fff5e2; border-color: #f0dcae; color: #8a5a00; }
.pill.work { background: #e8f1fb; border-color: #c4dbf3; color: #1b4f82; }
.pill.fixed { background: #eef7f1; border-color: #c9e4d3; color: var(--good); }
.pill.done { background: #e9f6ee; border-color: #bfe3cd; color: var(--good); }
.pill.bad { background: #fdeceb; border-color: #f3c9c6; color: var(--crit); }
.pill.warn { background: #fdf0e3; border-color: #f2d6b2; color: var(--high); }
.pill.muted { background: #f3f6f6; }

/* ---- banners ---- */
.banner {
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 12px 0;
  background: #fff;
  font-size: 14px;
}
.banner.bad { border-left-color: var(--crit); background: #fdeceb; }
.banner.warn { border-left-color: var(--saffron); background: #fff8ea; }
.banner.good { border-left-color: var(--good); background: #eef7f1; }
.banner pre { margin: 6px 0 0; }

/* ---- misc ---- */
pre {
  background: #f4f7f7;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12.5px;
  margin: 6px 0;
  max-height: 340px;
  overflow: auto;
}

ul.plain { list-style: none; padding: 0; margin: 8px 0; }
ul.plain li { padding: 5px 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border-bottom: 0; }

a.wslink {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
}
a.wslink span { color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }

ul.timeline { list-style: none; padding: 0; margin: 8px 0; }
ul.timeline li {
  border-left: 2px solid var(--line);
  padding: 2px 0 10px 12px;
  margin-left: 3px;
  font-size: 13.5px;
}
ul.timeline li.sys { color: var(--muted); }
ul.timeline .when { font-size: 11.5px; color: var(--muted); }

.bar { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 4px 0; }
.bar.big { height: 9px; margin: 10px 0; }
.bar span { display: block; height: 100%; background: var(--saffron); }

.blazor-error-boundary {
  background: #fdeceb;
  border: 1px solid #f3c9c6;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--crit);
}

/* ============================================================================
   Public site. Shares the Telic palette with the console but stands on its own:
   a dark teal hero, generous type, and no console chrome.
   ========================================================================= */
.pub { display: flex; flex-direction: column; min-height: 100vh; background: #fff; }
.pub main { flex: 1 1 auto; }

.pub-head {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 32px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px); z-index: 20; flex-wrap: wrap;
}
.pub-brand {
  display: flex; align-items: center; gap: 9px;
  color: var(--teal); text-decoration: none; font-size: 18px; letter-spacing: -0.01em;
}
.pub-nav { display: flex; gap: 20px; flex: 1 1 auto; flex-wrap: wrap; }
.pub-nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.pub-nav a:hover { color: var(--teal-2); text-decoration: underline; }
.pub-cta { display: flex; align-items: center; gap: 14px; }
.pub-link { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.pub-btn {
  background: var(--teal); color: #fff; text-decoration: none;
  padding: 9px 16px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--teal); display: inline-block; cursor: pointer;
}
.pub-btn:hover { background: var(--teal-2); }
.pub-btn.ghost { background: transparent; color: var(--teal); }
.pub-btn.ghost:hover { background: #eef5f4; }
.pub-btn.saffron { background: var(--saffron); border-color: var(--saffron); color: #2a1d00; }
.pub-btn.saffron:hover { background: #e9a726; }
.pub-btn.big { padding: 13px 24px; font-size: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 820px; }

.hero { background: linear-gradient(160deg, #0E3B3C 0%, #11494a 55%, #17595a 100%); color: #e8f2f1; padding: 72px 0 64px; }
.hero h1 { color: #fff; font-size: 42px; line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; max-width: 18ch; }
.hero p.lead { font-size: 18px; color: #bcd6d4; max-width: 62ch; margin: 0 0 26px; }
.hero .row { gap: 12px; flex-wrap: wrap; }
.hero .fineprint { color: #8fb3b1; font-size: 13.5px; margin-top: 14px; }

section.band { padding: 62px 0; }
section.band.tint { background: var(--bg); border-block: 1px solid var(--line); }
section.band h2 { font-size: 27px; color: var(--teal); margin: 0 0 10px; letter-spacing: -0.015em; }
section.band > .wrap > p.lead { font-size: 17px; color: var(--muted); max-width: 70ch; margin: 0 0 28px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cols4 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 900px) {
  .grid3, .grid2, .cols4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}

.pcard {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: #fff;
}
.pcard h3 { font-size: 17px; margin: 0 0 8px; color: var(--teal); }
.pcard p { margin: 0 0 8px; color: #3c4746; font-size: 14.5px; }
.pcard .kicker {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--saffron); font-weight: 700; margin-bottom: 6px;
}
.pcard a.more { font-size: 14px; }
.pcard.accent { border-left: 4px solid var(--saffron); }

.tool-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tool-form input[type=text] {
  flex: 1 1 320px; font: inherit; font-size: 16px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
.hero .tool-form input[type=text] { border-color: transparent; }
.tool-form input[type=text]:focus { outline: 2px solid var(--saffron); outline-offset: 1px; }

.scorecard { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 6px 0 18px; }
.scoreball {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  font-size: 32px; font-weight: 700; color: #fff; background: var(--info); flex: 0 0 auto;
}
.scoreball.a { background: #1f6f4a; } .scoreball.b { background: #3f6212; }
.scoreball.c { background: #b45309; } .scoreball.d { background: #c2410c; }
.scoreball.f { background: #8c1d18; }
.scoreball small { display: block; font-size: 11px; font-weight: 600; opacity: .85; }

ul.checks { list-style: none; padding: 0; margin: 10px 0 0; }
ul.checks li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line); align-items: start;
}
ul.checks li:last-child { border-bottom: 0; }
ul.checks .mark { font-weight: 700; line-height: 1.4; }
ul.checks .mark.pass { color: #1f6f4a; } ul.checks .mark.warn { color: #b45309; }
ul.checks .mark.fail { color: #8c1d18; } ul.checks .mark.info { color: var(--muted); }
ul.checks .mark.unknown { color: var(--muted); }
ul.checks .title { font-weight: 600; font-size: 14.5px; }
ul.checks .detail { color: #3c4746; font-size: 14px; }
ul.checks .fix { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
ul.checks .fix b { color: var(--teal); font-weight: 600; }

.plan {
  border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff;
  display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 10px 30px rgba(14,59,60,.08); }
.plan h3 { margin: 0 0 4px; font-size: 18px; color: var(--teal); }
.plan .price { font-size: 30px; font-weight: 650; color: var(--ink); letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan .who { color: var(--muted); font-size: 14px; margin: 2px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1 1 auto; }
.plan li { padding: 6px 0 6px 22px; position: relative; font-size: 14.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: #1f6f4a; font-weight: 700; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "—"; color: var(--muted); }

table.pub-table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
table.pub-table th, table.pub-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top;
}
table.pub-table th { background: var(--bg); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--muted); }
table.pub-table td.yes { color: #1f6f4a; font-weight: 600; }
table.pub-table td.no { color: var(--muted); }

.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--teal);
  background: var(--bg); border-radius: 10px; padding: 16px 20px; margin: 20px 0;
}
.callout h3 { margin: 0 0 6px; font-size: 16px; color: var(--teal); }
.callout p { margin: 0; font-size: 14.5px; color: #3c4746; }

.badge-soon {
  display: inline-block; background: #fff8ea; border: 1px solid #f0dcae; color: #8a5a00;
  border-radius: 20px; padding: 1px 9px; font-size: 11px; font-weight: 650; margin-left: 6px;
}

.pub-foot { background: var(--teal); color: #bcd6d4; padding: 44px 32px 22px; margin-top: 60px; }
.pub-foot .cols4 { max-width: 1120px; margin: 0 auto; }
.pub-foot h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.pub-foot a { display: block; color: #bcd6d4; text-decoration: none; font-size: 14px; padding: 3px 0; }
.pub-foot a:hover { color: #fff; text-decoration: underline; }
.pub-foot p { font-size: 14px; margin: 0 0 8px; }
.pub-foot p.small { font-size: 12.5px; color: #8fb3b1; }
.foot-brand { color: #fff; font-size: 17px; margin-bottom: 8px; }
.foot-base {
  max-width: 1120px; margin: 28px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8fb3b1;
}

.stat-row { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 26px; }
.stat .n { font-size: 30px; font-weight: 650; color: #fff; letter-spacing: -0.02em; }
.stat .l { font-size: 13px; color: #8fb3b1; }
.spinner { color: var(--muted); font-size: 14.5px; }

/* ===================================================================================
   Hero banner — the first three seconds.
   A visitor should understand "two scanners, de-duplicated, scored, proven" before
   they scroll. The panel on the right is a dramatisation and is aria-hidden; every
   claim it makes is also written in the prose and the proof bar beneath it, so a
   screen reader and a crawler lose nothing. It is CSS only: no JavaScript, no second
   request, and it paints with the first byte.
   =================================================================================== */

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(244, 182, 63, 0.12);
  border: 1px solid rgba(244, 182, 63, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0 0 18px;
}
.hero h1 { max-width: 20ch; }

/* ---- the scan panel ---- */
.hero-panel {
  background: rgba(6, 30, 31, 0.62);
  border: 1px solid rgba(143, 179, 177, 0.26);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  min-width: 0;
}
.hp-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(143, 179, 177, 0.18);
}
.hp-chrome .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(143, 179, 177, 0.35);
}
.hp-title {
  margin-left: 8px;
  font-size: 12px;
  color: #8fb3b1;
  font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hp-live {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6ee7b7;
  display: inline-flex; align-items: center; gap: 5px;
}
.hp-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  animation: hp-pulse 1.8s ease-in-out infinite;
}
@keyframes hp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hp-body { padding: 16px 16px 14px; }

.hp-engines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-engine {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(143, 179, 177, 0.16);
  border-radius: 9px;
  padding: 10px 11px;
}
.hp-engine .nm {
  display: block; font-size: 12px; font-weight: 650; color: #d7e8e6; margin-bottom: 7px;
}
.hp-engine .bar {
  display: block; height: 4px; border-radius: 3px;
  background: rgba(143, 179, 177, 0.2); overflow: hidden;
}
.hp-engine .bar i {
  display: block; height: 100%; width: 0; border-radius: 3px;
  animation: hp-fill 1.5s cubic-bezier(.25,.8,.3,1) forwards;
}
.hp-engine.zap .bar i { background: #60a5fa; animation-delay: 0.15s; }
.hp-engine.nuc .bar i { background: var(--saffron); animation-delay: 0.45s; }
@keyframes hp-fill { to { width: 100%; } }
.hp-engine .ct {
  display: block; margin-top: 7px; font-size: 11.5px; color: #8fb3b1;
  opacity: 0; animation: hp-in 0.5s ease forwards;
}
.hp-engine.zap .ct { animation-delay: 1.5s; }
.hp-engine.nuc .ct { animation-delay: 1.8s; }

.hp-merge {
  display: flex; align-items: center; gap: 10px;
  margin: 13px 0 12px;
  opacity: 0; animation: hp-in 0.5s ease forwards; animation-delay: 2.1s;
}
.hp-merge .arrow {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,182,63,.55), transparent);
}
.hp-merge-label {
  font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--saffron); white-space: nowrap;
}

.hp-findings { display: flex; flex-direction: column; gap: 7px; }
.hp-find {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(143, 179, 177, 0.14);
  border-radius: 8px;
  padding: 8px 10px;
  opacity: 0;
  animation: hp-slide 0.55s cubic-bezier(.2,.8,.3,1) forwards;
}
.hp-find.f1 { animation-delay: 2.35s; }
.hp-find.f2 { animation-delay: 2.6s; }
.hp-find.f3 { animation-delay: 2.85s; }
.hp-find.f4 { animation-delay: 3.1s; }
@keyframes hp-slide {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}
.hp-find .sev {
  flex: none;
  min-width: 30px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: #fff;
}
.hp-find .sev.crit { background: #b91c1c; }
.hp-find .sev.high { background: #c2410c; }
.hp-find .sev.med  { background: #a16207; }
.hp-find .sev.ok   { background: #15803d; }
.hp-find .txt {
  min-width: 0; font-size: 12.5px; color: #cfe3e1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hp-find .txt b { color: #fff; font-weight: 600; }
.hp-find .src {
  margin-left: 8px; font-size: 10.5px; color: #8fb3b1;
  border: 1px solid rgba(143, 179, 177, 0.3);
  border-radius: 999px; padding: 1px 7px;
}
.hp-find.fixed { border-color: rgba(52, 211, 153, 0.3); }
.hp-find.fixed .txt b { text-decoration: line-through; color: #a7d8cd; }

.hp-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  margin-top: 13px; padding-top: 11px;
  border-top: 1px solid rgba(143, 179, 177, 0.16);
  opacity: 0; animation: hp-in 0.5s ease forwards; animation-delay: 3.35s;
}
.hp-count { font-size: 13px; color: #8fb3b1; }
.hp-count b { color: #d7e8e6; font-weight: 650; }
.hp-count b.em { color: var(--saffron); font-size: 16px; }
.hp-count .to { margin: 0 4px; }
.hp-stamp { font-size: 11px; color: #6f9694; }

@keyframes hp-in { to { opacity: 1; } }

/* ---- proof bar beneath the hero ---- */
.proofbar {
  background: #0b3233;
  border-top: 1px solid rgba(143, 179, 177, 0.16);
  border-bottom: 1px solid rgba(143, 179, 177, 0.16);
  padding: 20px 0;
}
.proofbar .wrap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.pb-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pb-item b {
  font-size: 23px; font-weight: 650; color: #fff;
  letter-spacing: -0.02em; line-height: 1.1;
}
.pb-item span { font-size: 12.5px; color: #8fb3b1; line-height: 1.35; }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { max-width: none; }
  .proofbar .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 560px) {
  .hp-engines { grid-template-columns: 1fr; }
  .pb-item b { font-size: 20px; }
}

/* A hero that animates on every visit is a nuisance to anyone who has asked for less
   motion, so the panel simply arrives already finished. */
@media (prefers-reduced-motion: reduce) {
  .hero-panel *,
  .hero-panel *::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hp-engine .bar i { width: 100%; }
}

/* Blazor's FocusOnNavigate moves focus to the h1 after a navigation, which is right for a
   screen reader but draws a focus ring around the headline for everyone else. Keep the ring
   only where the browser judges it wanted — that is, for keyboard navigation. */
/* The heading is not an interactive control, so the ring carries no information a sighted
   user needs; the focus move itself is what matters, and screen readers still announce it. */
h1[tabindex="-1"]:focus { outline: none; }


/* ---- compact public header on a phone ----
   The full nav wrapped onto three rows and pushed the hero below the fold on a 430px screen,
   which defeats the point of a hero. Below 820px the links collapse into a disclosure the
   browser opens on its own, with no JavaScript and no hamburger script to go wrong. */
@media (max-width: 1040px) {
  .pub-head { flex-wrap: wrap; row-gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .pub-brand { margin-right: auto; }
  .pub-nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .pub-cta .pub-link { display: none; }
  .pub-cta .pub-btn { padding: 9px 14px; font-size: 14px; }
}

/* ===================================================================================
   Suite bar, brand mark and footer credit.
   The bar and the mark follow the pattern the rest of the Telic suite already uses, so
   a visitor coming from TelicMail or Telic ERP recognises where they are.
   =================================================================================== */

.suite-bar {
  background: #072A2B;
  color: #9dbfb3;
  display: flex;
  align-items: center;
  gap: 0.2rem 1.1rem;
  flex-wrap: wrap;
  padding: 7px clamp(16px, 4vw, 32px);
  font-size: 12.8px;
}
.suite-by {
  display: inline-flex; align-items: center; gap: 7px;
  color: #dcebe5; font-weight: 600; margin-right: 5px;
}
.suite-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }
.suite-bar a { color: #c9ded6; text-decoration: none; }
.suite-bar a:hover { color: #fff; }
.suite-bar a span { color: #7fa697; margin-left: 3px; }
.suite-bar a[aria-current] {
  color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--saffron);
}
.suite-id { margin-left: auto; color: #7fa697; }

/* The header is sticky; the suite bar deliberately is not, so it scrolls away and gives
   the page back its full height once the visitor is reading. */
.pub-head { top: 0; }

.brand-mark { display: block; flex: none; border-radius: 9px; }
.brand-word { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--teal); }
.brand-word strong { font-weight: 750; }

.foot-brand {
  display: flex; align-items: center; gap: 9px;
  color: #fff; font-size: 17px; margin-bottom: 10px; font-weight: 500;
}
.foot-brand strong { font-weight: 750; }

.foot-parent {
  display: inline-flex !important; align-items: center; gap: 9px;
  margin-top: 16px; padding: 9px 12px 9px 9px !important;
  border: 1px solid rgba(143, 179, 177, 0.26); border-radius: 10px;
  text-decoration: none;
}
.foot-parent:hover { border-color: rgba(143, 179, 177, 0.5); text-decoration: none !important; }
.foot-parent span { display: flex; flex-direction: column; line-height: 1.2; }
.foot-parent b { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.foot-parent em {
  font-style: normal; font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8fb3b1;
}

@media (max-width: 880px) {
  .suite-id { display: none; }
  .suite-bar a span { display: none; }
}

/* ---- public seal verification page ---- */
.wrap.narrow { max-width: 760px; }
.verify-head { display: flex; align-items: center; gap: 22px; margin-bottom: 8px; }
.verify-grade {
  flex: none; width: 76px; height: 76px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 750; letter-spacing: -0.02em;
}
.verify-grade.ok { background: rgba(52, 211, 153, 0.14); color: #6ee7b7;
                   border: 1px solid rgba(52, 211, 153, 0.35); }
.verify-grade.off { background: rgba(148, 163, 184, 0.14); color: #94a3b8;
                    border: 1px solid rgba(148, 163, 184, 0.3); }
.verify-head h1 { margin: 0; font-size: 30px; }
.verify-status { margin: 4px 0 0; font-size: 15px; }
.verify-status.ok { color: #6ee7b7; }
.verify-status.off { color: #cbd5e1; }
.verify-note {
  border-radius: 9px; padding: 12px 16px; font-size: 14.5px; margin: 18px 0 0;
}
.verify-note.bad { background: rgba(185, 28, 28, 0.16); border: 1px solid rgba(248, 113, 113, 0.4); }
.verify-note.warn { background: rgba(244, 182, 63, 0.12); border: 1px solid rgba(244, 182, 63, 0.35); }
.verify-table { width: 100%; border-collapse: collapse; margin: 22px 0 10px; }
.verify-table th, .verify-table td {
  text-align: left; padding: 9px 12px 9px 0; font-size: 14.5px;
  border-bottom: 1px solid rgba(143, 179, 177, 0.18); vertical-align: top;
}
.verify-table th { width: 160px; color: #8fb3b1; font-weight: 500; }
.verify-cta { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .verify-head { gap: 14px; }
  .verify-grade { width: 60px; height: 60px; font-size: 24px; }
  .verify-head h1 { font-size: 23px; }
  .verify-table th { width: 110px; }
}

/* ---- hero banners ---- */
.hero-art { width: 100%; height: auto; max-width: 560px; justify-self: center; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.25)); }
.hero-art.wide { max-width: 600px; }
.hero .hero-title {
  color: #fff; font-size: 38px; line-height: 1.14; font-weight: 700;
  margin: 0 0 16px; letter-spacing: -0.02em; max-width: 20ch;
}
.pub-btn.ghost-light { background: transparent; color: #e8f2f1; border-color: rgba(232, 242, 241, 0.4); }
.pub-btn.ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

/* Every slide occupies the same grid cell, so the hero is as tall as its tallest banner and the
   page below never jumps when the banner changes. */
.hero-carousel { padding-bottom: 30px; overflow-x: clip; }
.hero-carousel .slides { display: grid; }
.hero-carousel .slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: translateX(26px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0s linear 0.55s;
}
.hero-carousel .slide.on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.hero-carousel .slide.on .hero-copy > * { animation: rise 0.6s ease both; }
.hero-carousel .slide.on .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-carousel .slide.on .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-carousel .slide.on .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero-carousel .slide.on .hero-art { animation: rise 0.7s 0.1s ease both; }

.carousel-ctl { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.carousel-ctl[hidden] { display: none; }
.car-dots { display: flex; gap: 8px; }
.car-dots button {
  width: 30px; height: 5px; border-radius: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(232, 242, 241, 0.28); transition: background 0.2s ease, width 0.2s ease;
}
.car-dots button:hover { background: rgba(232, 242, 241, 0.55); }
.car-dots button[aria-selected="true"] { background: var(--saffron); width: 46px; }
.car-arrow, .car-pause {
  border: 1px solid rgba(232, 242, 241, 0.3); background: transparent; color: #e8f2f1;
  border-radius: 999px; cursor: pointer; font: inherit; line-height: 1;
}
.car-arrow { width: 30px; height: 30px; font-size: 18px; }
.car-pause { padding: 6px 12px; font-size: 12px; margin-left: auto; }
.car-arrow:hover, .car-pause:hover { background: rgba(255, 255, 255, 0.1); }
.hero-carousel :focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-art { max-width: 440px; }
  .hero .hero-title { font-size: 30px; max-width: none; }
}

/* ---- scroll reveal: only once the script has said it is running ---- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.shown { opacity: 1; transform: none; }
.pcard { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(14, 59, 60, 0.09); }
.pub-btn { transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease; }
.pub-btn:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .slide, .hero-carousel .slide.on { transition: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- insights ---- */
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.insight-grid.three { grid-template-columns: repeat(3, 1fr); }
.insight-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  color: inherit; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(14, 59, 60, 0.1); border-color: var(--teal-2); }
.insight-art { background: linear-gradient(160deg, #0E3B3C, #17595a); padding: 18px 22px; }
.insight-art img { display: block; width: 100%; height: 170px; object-fit: contain; transition: transform 0.4s ease; }
.insight-card:hover .insight-art img { transform: scale(1.04); }
.insight-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.insight-body .kicker { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.insight-body h2, .insight-body h3 { margin: 0; font-size: 18px; line-height: 1.3; color: var(--teal); }
.insight-body p { margin: 0; font-size: 14.5px; color: #3c4746; }
.insight-body .more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--teal-2); }
.insight-card.compact .insight-body h3 { font-size: 16px; }
@media (max-width: 900px) { .insight-grid, .insight-grid.three { grid-template-columns: 1fr; } }

.prose p { font-size: 16.5px; line-height: 1.7; color: #26302f; margin: 0 0 16px; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose .takeaway { margin-bottom: 8px; }
.prose .takeaway p { font-size: 17px; }
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary {
  cursor: pointer; font-weight: 600; color: var(--teal); font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--teal-2); transition: transform 0.2s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 10px 0 0; color: #3c4746; font-size: 15px; line-height: 1.6; }

.hero .fineprint a { color: #cfe1e0; }
.hero .fineprint a:hover { color: #fff; }

/* ---- bulk actions ---- */
.bulkbar {
  position: sticky; top: 8px; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--teal-2); border-radius: var(--radius);
  padding: 10px 12px; margin: 10px 0; box-shadow: 0 6px 18px rgba(14, 59, 60, 0.1);
  animation: rise 0.2s ease both;
}
.bulkbar .in { max-width: 190px; }
.bulkbar .in.wide { max-width: 300px; flex: 1; }
.bulkbar .hint { flex-basis: 100%; margin: 0; }
th.sel, td.sel { width: 30px; text-align: center; cursor: default; }
tr.picked { background: rgba(244, 182, 63, 0.09); }
ul.tight { margin: 6px 0 0; padding-left: 18px; }

/* AI advice: prose, not a terminal. Wraps, and is visibly set apart from scanner output. */
.advice { border-left: 3px solid var(--saffron); padding: 2px 0 2px 14px; margin: 8px 0 12px; }
pre.prose { white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 13.5px;
            line-height: 1.55; background: none; border: 0; padding: 0; margin: 0 0 8px; color: inherit; }
h2 > svg { vertical-align: -3px; margin-right: 4px; }

/* Plan cards and usage meters on the billing page. */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 12px 0 18px; }
.plans .plan { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.plans .plan.current { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(14, 59, 60, .12); }
.plans .plan h3 { margin: 0; font-size: 16px; }
.plans .plan .price { font-size: 22px; font-weight: 700; }
.plans .plan .price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.plans .plan ul { list-style: disc; margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); flex: 1; }
.meter { margin: 8px 0 12px; }
.meter .bar { height: 8px; border-radius: 4px; background: #e8edf2; overflow: hidden; }
.meter .bar > i { display: block; height: 100%; background: var(--teal); border-radius: 4px; transition: width .4s ease; }
.meter.near .bar > i { background: var(--saffron); }
.meter.full .bar > i { background: var(--crit); }
.meter .cap { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }

.form.one { grid-template-columns: 1fr; }

/* Report schedules: a short list in a narrow card, so stacked rows rather than a table. */
ul.sched { list-style: none; margin: 10px 0 16px; padding: 0; border-top: 1px solid var(--line); }
ul.sched li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
              padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
ul.sched li > div:first-child { flex: 1 1 240px; min-width: 0; }
ul.sched .hint { display: block; overflow-wrap: anywhere; }
ul.sched .row { margin: 0; }

/* Checkout: the code box, a struck-through list price, and the tax line under each price. */
.codebox { max-width: 460px; align-items: center; }
.plans .plan .price s.was { font-size: 15px; font-weight: 500; color: var(--muted); margin-right: 6px; }
.plans .plan .taxline { font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.plans .plan .taxline .hint { display: block; }

/* The console's plan cards reuse the public card's class; undo the public tick marks there. */
.plans .plan li { padding: 2px 0; font-size: 13px; }
.plans .plan li::before { content: none; }

/* Public pricing: four cards, a currency switcher, and a monthly/yearly pair under each price. */
.pricegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .pricegrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricegrid { grid-template-columns: 1fr; } }
.pricegrid .plan .price { font-size: 27px; }
.plan .yearly { font-size: 13px; color: var(--muted); margin: -2px 0 6px; }
.plan .yearly strong { color: var(--ink); }
.curbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 22px; }
.curbar .lbl { font-size: 13.5px; color: var(--muted); margin-right: 4px; }
.curbar a { display: inline-block; padding: 5px 12px; border-radius: 16px; border: 1px solid var(--line);
            font-size: 13.5px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, background .15s; }
.curbar a:hover { border-color: var(--teal); }
.curbar a.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.taxnote { font-size: 13.5px; color: var(--muted); margin-top: 18px; }

/* Legal links in the public footer, and legal pages reuse the article prose. */
.foot-base .foot-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-base { flex-wrap: wrap; gap: 8px 24px; }

/* Self-serve sign-up: a second button in the header, a quiet one under the hero form. */
.hero-signup { align-items: center; margin-top: 18px; gap: 14px !important; }
.hero-signup .fineprint { margin: 0; max-width: 40ch; }
.foot-arch { font-size: 13px; color: #8fb3b1; max-width: 900px; margin: 22px 0 0; line-height: 1.55; }
.foot-arch a { color: #c9ded6; }
@media (max-width: 1040px) { .pub-cta .cta-check { display: none; } }

/* A wide comparison table scrolls inside its own box on a phone instead of widening the page. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

/* Footer: the architecture line sits in the same column as everything else, and the legal
   links read as one row. Footer links are blocks by default, so both need saying. */
.pub-foot .foot-arch { max-width: 1120px; margin: 26px auto 0; }
.pub-foot .foot-arch a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.foot-base .foot-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-base .foot-legal a { display: inline; padding: 0; font-size: 13px; }

/* ===================================================================================
   Menu icons and hover motion, header and footer.
   Each link carries a small stroke icon in a soft tile. On hover the tile warms to
   saffron, the icon lifts a pixel and tilts, and an underline draws in from the left.
   Everything is transform and colour, so nothing reflows; and all of it is switched off
   for visitors who ask for reduced motion.
   =================================================================================== */
.pub-nav { gap: 6px 6px; }
.pub-nav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 10px 7px 7px; border-radius: 10px; text-decoration: none !important;
  color: var(--ink); font-size: 14.5px; font-weight: 500;
  transition: background .25s ease, color .25s ease;
}
.pub-nav .nl-ico {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: #e9f2f1; color: var(--teal); font-style: normal;
  transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1.4), box-shadow .25s ease;
}
.pub-nav .nl-ico .ico { transition: transform .35s cubic-bezier(.2,.8,.2,1.4); }
.pub-nav .nl-txt { position: relative; }
.pub-nav .nl-txt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--saffron), #f7cf7a);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.pub-nav a:hover, .pub-nav a:focus-visible { background: #f5f9f8; color: var(--teal); }
.pub-nav a:hover .nl-ico, .pub-nav a:focus-visible .nl-ico {
  background: var(--saffron); color: #2a1d00; transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(244, 182, 63, .75);
}
.pub-nav a:hover .nl-ico .ico, .pub-nav a:focus-visible .nl-ico .ico { transform: rotate(-8deg) scale(1.08); }
.pub-nav a:hover .nl-txt::after, .pub-nav a:focus-visible .nl-txt::after { transform: scaleX(1); }
.pub-nav a[aria-current="page"] .nl-ico, .pub-nav a.active .nl-ico { background: var(--teal); color: #fff; }

.pub-cta .pub-link { display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease; }
.pub-cta .pub-link:hover { color: var(--teal); }
.pub-cta .pub-btn { display: inline-flex; align-items: center; gap: 7px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.pub-cta .pub-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(14, 59, 60, .55); }
.pub-cta .cta-go .go { transition: transform .3s cubic-bezier(.2,.8,.2,1.4); }
.pub-cta .cta-go:hover .go { transform: translateX(3px); }
.pub-cta .cta-go:hover { box-shadow: 0 10px 22px -10px rgba(244, 182, 63, .9); }

/* Footer links: icon beside each, a short slide on hover, a saffron icon, and an arrow that
   appears on links that leave this site. */
.pub-foot a.fl {
  display: flex; align-items: center; gap: 9px; padding: 4px 0; width: fit-content;
  transition: color .2s ease, transform .25s ease;
}
.pub-foot a.fl .fl-ico { color: #7fa697; flex: none; transition: color .2s ease, transform .3s cubic-bezier(.2,.8,.2,1.4); }
.pub-foot a.fl .fl-ext { opacity: 0; transform: translate(-3px, 2px); transition: opacity .2s ease, transform .25s ease; color: var(--saffron); }
.pub-foot a.fl:hover { color: #fff; text-decoration: none; transform: translateX(3px); }
.pub-foot a.fl:hover .fl-ico { color: var(--saffron); transform: scale(1.12) rotate(-6deg); }
.pub-foot a.fl:hover .fl-ext { opacity: 1; transform: none; }
.pub-foot h4 { position: relative; padding-bottom: 8px; margin-bottom: 12px; }
.pub-foot h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; border-radius: 2px; background: var(--saffron); }
.foot-base .foot-legal a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: color .2s ease; }
.foot-base .foot-legal a .ico { transition: transform .3s ease; }
.foot-base .foot-legal a:hover { color: #fff; }
.foot-base .foot-legal a:hover .ico { transform: translateY(-1px) scale(1.1); color: var(--saffron); }

/* The icons cost about thirty pixels a link, so the header steps down as it narrows: first
   the outline button goes, then the tiles, and below 1040 the mobile grid takes over and the
   tiles come back, since there each link has a row of its own. */
.pub-head { gap: 18px; }
.pub-nav { gap: 0; }
.pub-nav a { padding: 5px 8px 5px 5px; gap: 6px; font-size: 14px; }
.pub-nav .nl-ico { width: 24px; height: 24px; border-radius: 7px; }
@media (max-width: 1560px) { .pub-cta .cta-check { display: none; } }
@media (max-width: 1300px) and (min-width: 1041px) {
  .pub-nav .nl-ico { display: none; }
  .pub-nav a { padding: 6px 8px; }
}
@media (max-width: 1180px) and (min-width: 1041px) {
  .pub-head { padding-left: 20px; padding-right: 20px; gap: 12px; }
  .pub-nav a { padding: 6px 6px; font-size: 13.5px; }
  .pub-cta { gap: 10px; }
}
@media (max-width: 1040px) {
  .pub-nav a { padding: 5px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pub-nav a, .pub-nav .nl-ico, .pub-nav .nl-ico .ico, .pub-nav .nl-txt::after,
  .pub-cta .pub-btn, .pub-cta .cta-go .go, .pub-foot a.fl, .pub-foot a.fl .fl-ico,
  .pub-foot a.fl .fl-ext, .foot-base .foot-legal a .ico { transition: none !important; }
  .pub-nav a:hover .nl-ico, .pub-nav a:hover .nl-ico .ico, .pub-cta .pub-btn:hover,
  .pub-cta .cta-go:hover .go, .pub-foot a.fl:hover, .pub-foot a.fl:hover .fl-ico { transform: none !important; }
}
/* On a phone the header keeps to logo and one button, as before; sign-in is one tap away on
   the sign-up page itself. */
@media (max-width: 1040px) { .pub-cta .pub-link { display: none; } }

/* ===================================================================================
   Home page: inline free check, three steps, standards, integrations, comparison, close.
   =================================================================================== */
.quick { padding-top: 36px; padding-bottom: 36px; background: linear-gradient(180deg, #f3f8f7, #fff); scroll-margin-top: 80px; }
.quick-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px;
  box-shadow: 0 24px 50px -32px rgba(14, 59, 60, .45); animation: quickIn .45s ease both; }
@keyframes quickIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quick-card .scorecard { margin-bottom: 10px; }
.quick-card .scorecard h3 { margin: 2px 0 4px; }
.quick-wait { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.quick-wait .spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #d7e6e3; border-top-color: var(--teal);
  animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.quick-h { margin: 18px 0 6px; font-size: 15px; }
.quick-card .checks .sect { margin-left: 8px; font-size: 12px; color: var(--muted); }
.quick-more { margin-top: 12px; }
.quick-more summary { cursor: pointer; color: var(--teal); font-weight: 600; }
.quick-next { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.quick-next p { margin: 0 0 10px; color: var(--muted); }
.quick-err h3 { margin: 0 0 6px; }

.steps3 { list-style: none; margin: 26px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; position: relative; counter-reset: none; }
.steps3::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 34px; height: 2px; background: #e1ecea; }
.steps3::after { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 34px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--saffron)); transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s cubic-bezier(.6,0,.2,1) .2s; }
.steps3.go::after { transform: scaleX(1); }
.steps3 li { position: relative; z-index: 1; text-align: center; padding: 0 8px;
  opacity: .35; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.steps3.go li { opacity: 1; transform: none; }
.steps3.go li:nth-child(2) { transition-delay: .55s; }
.steps3.go li:nth-child(3) { transition-delay: 1.1s; }
.steps3 .st-ico { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 20px;
  background: #fff; color: var(--teal); border: 1.5px solid #d9e7e4; box-shadow: 0 14px 30px -18px rgba(14, 59, 60, .5);
  transition: background .3s ease, color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1.4); }
.steps3 li:hover .st-ico { background: var(--teal); color: #fff; transform: translateY(-3px) rotate(-4deg); }
.steps3 .st-num { position: absolute; top: -6px; left: calc(50% + 22px); width: 24px; height: 24px; border-radius: 50%;
  background: var(--saffron); color: #2a1d00; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.steps3 h3 { margin: 16px 0 6px; font-size: 17px; }
.steps3 p { margin: 0 auto; max-width: 32ch; color: var(--muted); font-size: 14.5px; }
.row.center { justify-content: center; }
@media (max-width: 760px) {
  .steps3 { grid-template-columns: 1fr; gap: 26px; }
  .steps3::before, .steps3::after { display: none; }
}

.stdrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.stdrow .std-lbl { font-size: 13px; color: var(--muted); margin-right: 6px; }
.stdrow .std { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: #fff; color: var(--teal); border: 1px solid #d5e5e1; text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1.4), border-color .2s ease, box-shadow .2s ease; }
.stdrow .std:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 8px 16px -12px rgba(14, 59, 60, .6); }
.stdrow .std.gulf { border-color: #efd8a6; color: #7a5300; background: #fffaf0; }
.std-note { margin-top: 10px; max-width: 70ch; }

.intgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
@media (max-width: 960px) { .intgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .intgrid { grid-template-columns: 1fr; } }
.intg { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: start;
  padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: transform .3s cubic-bezier(.2,.8,.2,1.4), box-shadow .3s ease, border-color .3s ease; }
.intg:hover { transform: translateY(-3px); border-color: #cfe1dd; box-shadow: 0 18px 32px -24px rgba(14, 59, 60, .55); }
.intg .ig-ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: #e9f2f1; color: var(--teal); transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1.4); }
.intg:hover .ig-ico { background: var(--saffron); color: #2a1d00; transform: rotate(-6deg); }
.intg b { font-size: 15px; }
.intg span:last-child { font-size: 13.5px; color: var(--muted); }

.cmp-mini { margin-top: 18px; }
.cmp-mini td:first-child { font-weight: 600; }

.two-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
@media (max-width: 860px) { .two-paths { grid-template-columns: 1fr; } }
.path { position: relative; padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: #fff;
  transition: transform .3s ease, box-shadow .3s ease; }
.path:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -32px rgba(14, 59, 60, .6); }
.path.featured { background: linear-gradient(150deg, #0e3b3c, #145354); color: #e8f2ef; border-color: transparent; }
.path.featured h3 { color: #fff; }
.path.featured .note, .path.featured .note a { color: #b7d2cc; }
.path .path-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: #e9f2f1; color: var(--teal); margin-bottom: 8px; }
.path.featured .path-ico { background: rgba(244, 182, 63, .16); color: var(--saffron); }
.path h3 { margin: 6px 0 8px; font-size: 20px; }
.path .tool-form { margin: 14px 0 10px; }
.path .pub-btn.big { margin: 12px 0 10px; display: inline-flex; align-items: center; gap: 8px; }
.path .pub-btn .ico { transition: transform .3s cubic-bezier(.2,.8,.2,1.4); }
.path .pub-btn:hover .ico { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .quick-card, .quick-wait .spin { animation: none; }
  .steps3 li, .steps3::after, .steps3 .st-ico, .stdrow .std, .intg, .intg .ig-ico, .path, .path .pub-btn .ico { transition: none !important; }
  .steps3 li { opacity: 1; transform: none; }
  .steps3::after { transform: scaleX(1); }
}
/* On a phone the header carries the whole menu, so pinning it would hide a third of the screen
   while reading. It scrolls away with the page there. */
@media (max-width: 1040px) { .pub-head { position: static; } }

/* ---- Release 2026-11-27b: proof, pipelines, agents, API checks, management, evidence ---- */
.small { font-size: 12px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.good-text { color: var(--good); font-weight: 600; }
.cols > .card, .cols > section.card { margin: 0; }
section.card + section.card, section.card + .cols, .cols + section.card, .tiles + .cols, .tiles + section.card { margin-top: 22px; }
.cols > section.card + section.card { margin-top: 0; }

/* Proof of a finding */
.proof-evidence { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin: 8px 0 12px; }
.proof-evidence .k { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.proof-evidence code { background: #fff6dd; border: 1px solid #f1dda2; padding: 2px 8px; border-radius: 6px; word-break: break-all; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proof-pane { border: 1px solid var(--line); border-radius: 8px; background: #fbfdfc; margin-bottom: 12px; min-width: 0; }
.proof-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px;
  border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.proof-pane pre { margin: 0; border: 0; border-radius: 0 0 8px 8px; max-height: 360px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.proof-pane mark, tr.sub-row mark { background: #ffe08a; color: inherit; padding: 0 1px; border-radius: 2px; }
tr.sub-row td { background: #fafcfb; padding-top: 0; }
tr.sub-row pre { max-height: 220px; overflow: auto; white-space: pre-wrap; font-size: 12px; }
@media (max-width: 1100px) { .proof-grid { grid-template-columns: 1fr; } }

/* Pipelines */
.steps-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0 18px; }
.steps-inline .si { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.steps-inline .si p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.steps-inline .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.form.inline { grid-template-columns: repeat(4, 1fr); }
.tabs-line { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 14px 0 10px; flex-wrap: wrap; }
.tabs-line .tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; cursor: pointer;
  font: inherit; color: var(--muted); }
.tabs-line .tab:hover { color: var(--ink); }
.tabs-line .tab.on { color: var(--teal); border-bottom-color: var(--saffron); font-weight: 600; }
pre.copyable { cursor: copy; position: relative; transition: box-shadow .2s ease; }
pre.copyable:hover { box-shadow: 0 0 0 2px rgba(23, 89, 90, .18); }
pre.copyable.copied::after { content: "Copied"; position: absolute; top: 8px; right: 10px; background: var(--teal); color: #fff;
  font: 600 11px/1 system-ui, sans-serif; padding: 4px 8px; border-radius: 10px; }
ol.numbered { padding-left: 20px; }
ol.numbered li { margin: 8px 0; }
@media (max-width: 1000px) { .steps-inline, .form.inline { grid-template-columns: 1fr; } }

/* Management report */
.chart-wrap { width: 100%; overflow-x: auto; }
.chart-wrap.narrow { max-width: 760px; }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart .ax { font: 11px system-ui, sans-serif; fill: #6b7877; }
svg.chart .val { font: 600 11px system-ui, sans-serif; fill: #16201f; }
svg.chart .val.late { fill: var(--crit); }
svg.chart .lab { font: 600 12px system-ui, sans-serif; fill: #16201f; }
.legend { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); align-items: center; margin-top: 6px; }
.legend .k { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: -8px; vertical-align: -1px; }
.slameter { display: inline-block; width: 56px; height: 7px; border-radius: 4px; background: #e8edf2; overflow: hidden; vertical-align: middle; margin-right: 6px; }
.slameter > span { display: block; height: 100%; border-radius: 4px; }
.slameter > .good { background: var(--good); }
.slameter > .warn { background: var(--saffron); }
.slameter > .bad { background: var(--crit); }

@media print {
  .side, .no-print, .reconnect, #components-reconnect-modal { display: none !important; }
  .shell, .main { display: block !important; padding: 0 !important; margin: 0 !important; }
  body { background: #fff; }
  .card { break-inside: avoid; box-shadow: none; }
  a { color: inherit; text-decoration: none; }
}
