/* predictivelayer.io — marketing site
   Plain CSS. No frameworks, no external fonts, no trackers. */

:root {
  --bg:         #000000;
  --bg-2:       #060606;
  --panel:      #0c0c0c;
  --panel-2:    #131313;
  --line:       #1e1e1e;
  --line-soft:  #161616;

  --ink:        #ffffff;
  --ink-2:      #a3a3a3;
  --muted:      #6e6e6e;

  /* Brand green. Sampled from Cartesia and kept as the one colour on
     the site. --green-text is a lifted version of --green so it stays
     readable on black; do not use --green for small text. */
  --green-deep: #1f4d2d;
  --green:      #309d4b;
  --green-2:    #277f3d;
  --green-text: #4fbc6c;
  --green-soft: #c1e6c6;

  /* Supporting spectrum. Blue is the second state and the second data
     series. Amber is caution. Red is errors only, never a data category,
     because red against green is the pair a twelfth of men cannot split. */
  --blue:       #4a86e8;
  --blue-text:  #7ba8f0;
  --blue-dim:   rgba(74,134,232,.13);
  --amber:      #d9962b;
  --amber-text: #e9b84a;
  --amber-dim:  rgba(217,150,43,.13);
  --red:        #e5484d;
  --red-text:   #f08d90;
  --violet:     #8b7bea;

  --accent:     var(--green);
  --accent-2:   var(--green-2);
  --accent-dim: rgba(48,157,75,.13);
  --accent-ink: var(--green-text);

  --radius:     10px;
  --radius-lg:  14px;
  --maxw:       1120px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

/* Space Grotesk, SIL Open Font License. Self-hosted and subset to the
   sixteen characters of the wordmark, so it costs 1.4KB and no third party
   ever sees a request. */
@font-face {
  font-family: "Wordmark";
  src: url("wordmark.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* the soft green glow behind the top of the page */
body::before {
  content: "";
  position: absolute;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  width: 1900px;
  height: 1000px;
  background: radial-gradient(ellipse at center,
              rgba(48,157,75,.10) 0%,
              rgba(48,157,75,.035) 42%,
              rgba(0,0,0,0) 72%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  font-weight: 500;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.02rem; font-weight: 500; letter-spacing: -0.012em; }

p { margin: 0 0 1.05em; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--green-soft); }

code {
  font-family: var(--mono);
  font-size: .875em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1em .38em;
  color: var(--ink);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
/* keep narrow blocks on the same left edge as the rest of the page */
.narrow { max-width: var(--maxw); }
.narrow > * { max-width: 720px; }
.center { text-align: left; }

/* ---------- header ---------- */

.site-header { position: relative; z-index: 40; padding-top: 18px; }

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 58px;
  padding: 0 10px 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14,16,20,.72);
  backdrop-filter: saturate(160%) blur(12px);
}

.wordmark {
  font-family: "Wordmark", var(--font);
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
}
.wordmark:hover { color: var(--ink); }
.mark {
  width: 15px; height: 15px;
  border: 1.5px solid var(--green);
  border-radius: 3px;
  position: relative;
  flex: none;
}
.mark::after {
  content: "";
  position: absolute;
  right: -1.5px; top: -1.5px; bottom: -1.5px;
  width: 5px;
  background: var(--green);
  border-radius: 0 2px 2px 0;
}

.nav-links { display: flex; align-items: center; gap: 30px; justify-self: center; }
.nav-links a { color: var(--ink-2); font-size: .94rem; font-weight: 450; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

.nav-right { justify-self: end; display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 11px;
  cursor: pointer;
  color: var(--ink);
  font-size: .88rem;
  font-family: var(--font);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 9px 17px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--green); color: #ffffff; }
.btn-primary:hover { background: var(--green-2); color: #ffffff; }

.btn-secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--panel-2); border-color: #2e2e2e; color: var(--ink); }

.btn-ghost { background: none; color: var(--ink-2); padding: 9px 4px; }
.btn-ghost:hover { color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-row.center { justify-content: flex-start; }

/* ---------- sections ---------- */

section { padding: 92px 0; position: relative; }
section.tight { padding: 66px 0; }
.rule { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.lead { font-size: 1.05rem; color: var(--ink-2); }
.sub  { font-size: 1.08rem; color: var(--muted); max-width: 52ch; }

/* ---------- hero ---------- */

.hero { padding: 96px 0 0; text-align: left; }
.hero h1 { max-width: 22ch; margin-left: 0; }
.hl { color: var(--green-text); }
.hl-alt { color: var(--green-text); }

/* line break that only applies on wide screens */
br.brk { display: none; }
@media (min-width: 981px) { br.brk { display: inline; } }
.hero .sub { margin: 0; max-width: 58ch; }

.hero-visual { margin-top: 62px; padding-bottom: 0; }

/* ---------- animated chat demo ---------- */

.demo {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 -1px 0 rgba(255,255,255,.03) inset,
              0 30px 90px rgba(0,0,0,.55);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
  font-size: .8rem;
  color: var(--muted);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #262626; display: block; }
.demo-bar .spacer { flex: 1; }
.pill {
  font-size: .72rem;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); display: block;
}

.demo-body {
  padding: 22px;
  min-height: 890px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-foot {
  border-top: 1px solid var(--line-soft);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  font-size: .88rem;
  color: #5c636e;
}
.demo-foot .caret { color: var(--accent); }
.demo-foot .spacer { flex: 1; }
.demo-foot .send {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--panel-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); font-size: .8rem;
}

/* messages */
.step, .msg, .chips, .result { opacity: 0; transform: translateY(6px); }
.step.show, .msg.show, .chips.show, .result.show {
  opacity: 1; transform: none;
  transition: opacity .35s ease, transform .35s ease;
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 7px 11px;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink);
}
.chip .sz { color: var(--muted); }
.chip .ic { color: var(--accent); }

.msg-user {
  align-self: flex-end;
  max-width: 78%;
  background: #1f1f1f;
  border: 1px solid #2a2a2a;
  color: var(--ink);
  border-radius: 12px 12px 4px 12px;
  padding: 10px 14px;
  font-size: .92rem;
  line-height: 1.45;
}
.msg-user .cursor {
  display: inline-block;
  width: 7px;
  margin-left: 1px;
  border-bottom: 1.5px solid var(--ink-2);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.steps { display: flex; flex-direction: column; gap: 9px; }
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .87rem;
  color: var(--ink-2);
}
.step .tick {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--line);
  flex: none;
  display: grid; place-items: center;
  font-size: .6rem;
  color: transparent;
}
.step.done .tick { background: var(--accent); border-color: var(--accent); color: #fff; }
.step .val { color: var(--muted); }

.result { margin-top: 2px; }
.result .tbl-wrap { background: var(--panel); }
table.data tbody tr { opacity: 0; }
table.data tbody tr.in { opacity: 1; transition: opacity .3s ease; }

.demo-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .84rem;
  color: var(--muted);
  margin-top: 12px;
}
.demo-cta .dl {
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 7px;
  padding: 6px 12px;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .step, .msg, .chips, .result, table.data tbody tr { opacity: 1 !important; transform: none !important; }
  .msg-user .cursor { display: none; }
}

/* ---------- data table ---------- */

.tbl-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.tbl-head {
  padding: 9px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.tbl-head .dl { color: var(--accent-ink); }
.tbl-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .78rem; }
table.data th, table.data td {
  padding: 8px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
  color: var(--ink-2);
}
table.data th { color: var(--muted); font-weight: 400; }
table.data tr:last-child td { border-bottom: 0; }
.col-new { background: var(--accent-dim); color: var(--accent-ink) !important; }
table.data th.col-new { color: var(--accent-ink) !important; }

/* ---------- cards / grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--panel);
}
.card h3 { margin-bottom: .45em; }
.card p { margin-bottom: 0; font-size: .95rem; color: var(--muted); }
.card-link { display: block; color: inherit; }
.card-link:hover { border-color: #2e2e2e; background: var(--panel-2); color: inherit; }
.card-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.step-num {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--accent-ink);
  background: var(--accent-dim);
  border-radius: 5px;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 14px;
}

/* ---------- contact ---------- */

.email-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  text-align: left;
}
.email-address { font-family: var(--mono); font-size: 1.1rem; color: var(--ink); word-break: break-all; }
.email-address:hover { color: #fff; }
.copy-btn {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 14px;
  font-size: .86rem;
  font-family: var(--font);
  color: var(--ink);
  cursor: pointer;
}
.copy-btn:hover { border-color: #2e2e2e; }

.field { margin-bottom: 15px; text-align: left; }
.field label { display: block; font-size: .85rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: var(--font);
  font-size: .94rem;
  color: var(--ink);
  background: var(--panel);
}
.field input::placeholder, .field textarea::placeholder { color: #5c636e; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 128px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 12px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 36px 0;
  font-size: .88rem;
  color: var(--muted);
}
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.8rem; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .app-body { grid-template-columns: 1fr; }
  .app-rail { display: none; }
  .controls { grid-template-columns: 1fr; align-items: stretch; }
  .run { text-align: center; }
}

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding-top: 44px; }
  .hero .sub { font-size: 1.04rem; }
  .hero-visual { margin-top: 42px; }
  section { padding: 64px 0; }
  .drops { grid-template-columns: 1fr; }

  .nav { grid-template-columns: 1fr auto; height: 64px; }
  .nav-right { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    z-index: 60;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:last-child { border-bottom: 0; }

  .btn-row .btn { width: 100%; text-align: center; }
  .email-box { flex-direction: column; align-items: flex-start; }
}

/* ---------- run panel (auto prediction) ---------- */

.run-stage { border-top: 1px solid var(--line-soft); padding: 20px 0; }
.run-stage:first-child { border-top: 0; padding-top: 4px; }
.run-stage:last-child { padding-bottom: 4px; }

.run-head {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .95rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 14px;
}
.run-num {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--accent-ink);
  background: var(--accent-dim);
  border-radius: 5px;
  padding: 3px 7px;
  font-weight: 400;
}
.run-head .tick {
  margin-left: auto;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 400;
}
.run-meta { font-size: .82rem; color: var(--muted); margin-top: 11px; }
.run-meta b { color: var(--ink-2); font-weight: 500; }

table.data td.why { color: var(--muted); white-space: normal; }
.tag-good, .tag-bad {
  font-family: var(--mono);
  font-size: .72rem;
  border-radius: 4px;
  padding: 2px 7px;
}
.tag-good { background: rgba(48,157,75,.16); color: var(--green-text); }
.tag-bad  { background: var(--blue-dim); color: var(--blue-text); }

.fix {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 7px;
  padding: 6px 11px;
  font-size: .8rem;
  color: var(--ink-2);
  margin-top: 12px;
}
.fix .n { color: var(--accent-ink); font-family: var(--mono); }

.plain { list-style: none; padding: 0; margin: 0; }
.plain li {
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 1rem;
  color: var(--ink-2);
}
.plain li:first-child { border-top: 0; }
.plain li b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 3px; }

/* ---------- product dropdown ---------- */

.nav-item { position: relative; }

.nav-trigger {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font);
  font-size: .94rem;
  font-weight: 450;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav-trigger.active { color: var(--ink); }
.nav-trigger .chev { font-size: .62rem; opacity: .7; transition: transform .15s ease; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 380px;
  background: rgba(14,16,20,.96);
  backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item:hover .menu,
.nav-item:focus-within .menu,
.nav-item.open .menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* keeps the pointer from falling through the gap under the nav pill */
.nav-item::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 20px;
}

.menu-item {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: inherit;
}
.menu-item:hover { background: var(--panel-2); color: inherit; }
.menu-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.menu-desc { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.menu-tag {
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-dim);
  border-radius: 4px;
  padding: 2px 6px;
}
.menu-tag.soft { color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); }

@media (max-width: 720px) {
  .nav-item { position: static; }
  .nav-item::after { display: none; }
  .nav-trigger { display: none; }
  .menu {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    background: none;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .menu-item { padding: 11px 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
}

/* ---------- assistant messages ---------- */

.msg-bot {
  align-self: flex-start;
  max-width: 84%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 12px 12px 12px 4px;
  padding: 11px 15px;
  font-size: .92rem;
  line-height: 1.55;
}
.msg-bot b { color: var(--ink); font-weight: 500; }
.msg-bot .q { display: block; margin-top: 8px; color: var(--ink); }

/* ---------- labeling feature block ---------- */

.label-demo {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  overflow: hidden;
}
.label-demo .cap {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}
.label-demo .cap .spacer { flex: 1; }

.lrow {
  display: grid;
  grid-template-columns: 190px 130px 1fr 92px;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .84rem;
}
.lrow:last-child { border-bottom: 0; }
.lrow .co { color: var(--ink); font-family: var(--mono); font-size: .8rem; }
.lrow .why { color: var(--muted); }
.lrow .act {
  font-size: .74rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 9px;
  text-align: center;
}
.lrow.fixed { background: rgba(48,157,75,.05); }
.lrow.fixed .act { border-color: rgba(48,157,75,.4); color: var(--green-text); }
.lrow .was {
  font-size: .72rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 7px;
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat .n {
  font-size: 2rem;
  color: var(--green-text);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 9px;
}
.stat .l { font-size: .9rem; color: var(--muted); }

@media (max-width: 860px) {
  .lrow { grid-template-columns: 1fr; gap: 6px; }
  .lrow .act { text-align: left; width: fit-content; }
  .stat-row { grid-template-columns: 1fr; gap: 14px; }
}
