/* ArborSoft AI site stylesheet
   Palette: bark / loam / moss / turf / rust / stone
   Type: Zilla Slab (display), Fira Sans (text + data), Fira Mono for timestamps only */

:root {
  --bark:   #14140F;
  --bark-2: #201F18;
  --loam:   #4A3826;
  --moss:   #1F4433;
  --moss-2: #163225;
  --turf:   #8FAE63;
  --turf-lt:#B4CC92;
  --rust:   #C2621B;
  --rust-lt:#E08A44;
  --link:   #9E4E12;
  --stone:  #E6E5DC;
  --paper:  #F7F6F1;
  --ink:    #1A1915;
  --ink-2:  #5C5D53;
  --rule:   #D2D3C6;

  --wide: 1180px;
  --text: 68ch;

  --f-display: "Zilla Slab", Georgia, serif;
  --f-text: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Fira Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

img, svg { max-width: 100%; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--moss); }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.5vw, 3.85rem); line-height: 1.06; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.28rem; }
h4 { font-family: var(--f-text); font-size: .95rem; font-weight: 600; letter-spacing: .01em; }

p { margin: 0 0 1.1em; max-width: var(--text); }
.lead { font-size: 1.16rem; line-height: 1.55; color: var(--ink); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: .89rem; line-height: 1.5; }

/* ---------- layout ---------- */

.wrap { width: min(100% - 3rem, var(--wide)); margin-inline: auto; }
section { padding: 5.5rem 0; }
section.tight { padding: 3.5rem 0; }

.dark { background: var(--bark); color: #E8E7DF; }
.dark h1, .dark h2, .dark h3 { color: #FBFAF5; }
.dark p { color: #C6C6BB; }
.dark a { color: var(--turf-lt); }
.dark .muted { color: #94958A; }

.forest { background: var(--moss-2); color: #E4EDE3; }
.forest h2, .forest h3 { color: #FFFFFF; }
.forest p { color: #C0D2BE; }
.forest a { color: var(--turf-lt); }

.band { background: var(--stone); }

.cols {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 3rem;
  align-items: start;
}
.cols .rail { position: sticky; top: 5.5rem; }

.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.75rem; }
.two.wide { grid-template-columns: 1.45fr 1fr; }
.two.narrow { grid-template-columns: 1fr 1.45fr; }
.two.flip > div:first-child { order: 2; }

/* section openers, so every section does not start with the same block */
.opener { max-width: 34ch; margin-bottom: 2.75rem; }
.opener h2 { margin-bottom: .5rem; }
.opener .lead { max-width: 52ch; }
.opener-wide { margin-bottom: 3rem; border-bottom: 1px solid var(--rule); padding-bottom: 1.75rem; }
.opener-wide h2 { max-width: 20ch; margin-bottom: .6rem; }
.opener-wide .lead { max-width: 62ch; margin-bottom: 0; }
.dark .opener-wide, .forest .opener-wide { border-bottom-color: #3A3227; }
.band .opener-wide { border-bottom-color: #C4C5B6; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }

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

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248,248,244,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead.on-dark {
  background: rgba(30,26,20,.9);
  border-bottom-color: #3A3227;
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 68px;
}
.brand { display: flex; align-items: center; gap: .62rem; text-decoration: none; color: inherit; }
.brand svg { display: block; }
.brand b {
  font-family: var(--f-display); font-weight: 600; font-size: 1.22rem;
  letter-spacing: -.02em; color: var(--bark);
}
.brand span { font-family: var(--f-text); font-weight: 500; font-size: .82rem; color: var(--moss); letter-spacing: .06em; }
.on-dark .brand b { color: #FBFAF5; }
.on-dark .brand span { color: var(--turf); }

nav.primary { display: flex; align-items: center; gap: 1.6rem; }
nav.primary a {
  font-size: .93rem; color: var(--ink-2); text-decoration: none;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
nav.primary a:hover { color: var(--ink); border-bottom-color: var(--turf); }
nav.primary a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--moss); }
.on-dark nav.primary a { color: #A9AA9E; }
.on-dark nav.primary a:hover, .on-dark nav.primary a[aria-current="page"] { color: #FBFAF5; }

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

.btn {
  display: inline-block; padding: .72rem 1.35rem;
  font-family: var(--f-text); font-size: .95rem; font-weight: 500;
  border-radius: 3px; text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-solid { background: var(--moss); color: #fff; }
.btn-solid:hover { background: var(--moss-2); color: #fff; }
.btn-line { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--moss); color: var(--moss); }
.dark .btn-line, .forest .btn-line { border-color: #574C3D; color: #E8E7DF; }
.dark .btn-line:hover, .forest .btn-line:hover { border-color: var(--turf); color: var(--turf-lt); }
.dark .btn-solid { background: var(--turf); color: #16210E; }
.dark .btn-solid:hover { background: var(--turf-lt); color: #16210E; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

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

.hero { padding: 4.5rem 0 4rem; }
.hero .grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 3.5rem; align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero .lead { color: #C9C9BE; }
.kicker {
  font-size: .93rem; color: var(--turf); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: .6rem;
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: var(--turf); display: block;
}

/* ---------- brief panel (the one bold element) ---------- */

.brief {
  background: #17140F;
  border: 1px solid #3A3227;
  border-radius: 4px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.9);
  overflow: hidden;
}
.brief header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .85rem 1.15rem; border-bottom: 1px solid #322B21; background: #12100C;
}
.brief header .t { font-size: .9rem; color: #E8E7DF; font-weight: 500; }
.brief header .s { font-family: var(--f-mono); font-size: .74rem; color: #7E7F72; }
.brief ol { list-style: none; margin: 0; padding: .4rem 0; }
.brief li {
  display: grid; grid-template-columns: 4.6rem 1fr; gap: .9rem;
  padding: .82rem 1.15rem; border-bottom: 1px solid #262019;
}
.brief li:last-child { border-bottom: 0; }
.brief .when { font-family: var(--f-mono); font-size: .72rem; color: #6E7A63; padding-top: .2rem; }
.brief .what { font-size: .93rem; line-height: 1.45; color: #DDDCD2; }
.brief .what em { font-style: normal; color: var(--turf-lt); }
.brief .what b { font-weight: 600; color: #fff; }
.brief .note { display: block; font-size: .82rem; color: #8B8C7F; margin-top: .22rem; }
.brief .flag { color: #CFA46A; }
.brief footer {
  padding: .8rem 1.15rem; background: #12100C; border-top: 1px solid #322B21;
  font-size: .84rem; color: #8B8C7F;
  display: flex; justify-content: space-between; gap: 1rem;
}
.brief footer b { color: var(--turf-lt); font-weight: 600; }

.reveal { opacity: 0; }
.revealed { opacity: 1; transition: opacity .5s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- figures / stats ---------- */

.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.figs > div { padding: 1.5rem 1.4rem 1.5rem 0; border-right: 1px solid var(--rule); }
.figs > div:last-child { border-right: 0; }
.figs .n {
  font-family: var(--f-display); font-size: 2.15rem; font-weight: 500;
  line-height: 1; color: var(--rust); display: block; margin-bottom: .45rem;
}
.dark .figs { border-top-color: #3A3227; }
.dark .figs > div { border-right-color: #3A3227; }
.dark .figs .n { color: var(--rust-lt); }
.figs .d { font-size: .88rem; line-height: 1.45; color: var(--ink-2); }
.dark .figs .d { color: #94958A; }

/* ---------- before / after ---------- */

.ba { border-top: 1px solid var(--rule); margin-top: 2.25rem; }
.ba-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 600;
}
.ba-head span { padding: .85rem 1.9rem .85rem 0; color: var(--ink-2); }
.ba-head span + span { padding-left: 1.9rem; color: var(--moss); }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule); }
.ba-row > div { padding: 1.5rem 1.9rem 1.5rem 0; }
.ba-row .after { padding-left: 1.9rem; border-left: 2px solid var(--moss); background: #fff; }
.ba .t { font-weight: 600; font-size: 1.02rem; margin: 0 0 .35rem; color: var(--loam); }
.ba .after .t { color: var(--moss); }
.ba p { font-size: .95rem; line-height: 1.5; margin: 0; color: var(--ink-2); max-width: 46ch; }

/* ---------- pivot callout ---------- */

.pivot { margin-top: 3rem; border-left: 3px solid var(--moss); padding: .1rem 0 .1rem 1.75rem; max-width: 78ch; }
.pivot h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.pivot p { max-width: 74ch; }
.pivot p:last-child { margin-bottom: 0; }

/* ---------- AI cards ---------- */

.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.75rem; }
.ai-card {
  border: 1px solid #35664A; border-radius: 3px;
  padding: 1.6rem 1.5rem; background: rgba(255,255,255,.045);
}
.ai-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.ai-card p { font-size: .94rem; margin: 0; }
.forest .kicker { color: var(--turf-lt); }
.forest .kicker::before { background: var(--turf-lt); }

/* ---------- product cards ---------- */

.product {
  border: 1px solid var(--rule); border-top: 3px solid var(--moss);
  background: #fff; padding: 2rem 1.9rem; border-radius: 3px;
  display: flex; flex-direction: column;
}
.product.alt { border-top-color: var(--rust); }
.product .pname {
  font-family: var(--f-display); font-size: 1.75rem; font-weight: 500;
  margin: 0 0 .1rem; letter-spacing: -.02em;
}
.product .prole { font-size: .87rem; color: var(--moss); margin-bottom: 1rem; }
.product.alt .prole { color: var(--rust); }
.product p { font-size: .98rem; }
.product ul { margin: 0 0 1.4rem; padding-left: 1.1rem; }
.product li { font-size: .95rem; margin-bottom: .45rem; color: var(--ink-2); }
.product .foot { margin-top: auto; }

/* ---------- register (evidence) ---------- */

.reg { border-top: 1px solid var(--rule); }
.reg-item {
  display: grid; grid-template-columns: 3.2rem 1fr 15rem; gap: 2rem;
  padding: 2rem 0; border-bottom: 1px solid var(--rule);
}
.reg-item .idx {
  font-family: var(--f-mono); font-size: .82rem; color: var(--ink-2); padding-top: .35rem;
}
.reg-item h3 { margin-bottom: .5rem; }
.reg-item p { font-size: .97rem; margin-bottom: 0; }
.reg-size {
  border-left: 1px solid var(--rule); padding-left: 1.4rem;
}
.reg-size .v {
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 500;
  color: var(--rust); line-height: 1.05; display: block; margin-bottom: .35rem;
}
.reg-size .l { font-size: .84rem; color: var(--ink-2); line-height: 1.45; }
.tag {
  display: inline-block; font-size: .74rem; padding: .18rem .5rem;
  border: 1px solid var(--rule); border-radius: 2px; color: var(--ink-2);
  margin-top: .7rem; margin-right: .35rem;
}
.tag.m { border-color: var(--moss); color: var(--moss); }
.tag.o { border-color: var(--loam); color: var(--loam); }

/* ---------- agent rows ---------- */

.agents { border-top: 1px solid var(--rule); }
.agent {
  display: grid; grid-template-columns: 11rem 1fr 1fr; gap: 2rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.agent .an {
  font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; color: var(--moss);
}
.agent p { font-size: .95rem; margin: 0; }
.agent .out { font-size: .9rem; color: var(--ink-2); margin: 0; }
.dark .agents, .dark .agent { border-color: #3A3227; }
.dark .agent .an { color: var(--turf); }
.dark .agent .out { color: #94958A; }

/* ---------- ladder ---------- */

.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.5rem; }
.rung { padding: 1.7rem 1.6rem; border: 1px solid var(--rule); border-right: 0; background: #fff; }
.rung:last-child { border-right: 1px solid var(--rule); }
.rung .step { font-family: var(--f-mono); font-size: 1rem; color: var(--rust); letter-spacing: .01em; font-weight: 500; }
.rung h3 { margin: .5rem 0 .5rem; }
.rung p { font-size: .93rem; margin: 0; color: var(--ink-2); }
.rung:nth-child(1) { border-top: 3px solid var(--turf-lt); }
.rung:nth-child(2) { border-top: 3px solid var(--turf); }
.rung:nth-child(3) { border-top: 3px solid var(--moss); }

/* ---------- misc ---------- */

.stack-diagram { border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; background: #fff; }
.layer { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--rule); }
.layer:last-child { border-bottom: 0; }
.layer .lt { font-weight: 600; font-size: .98rem; margin-bottom: .25rem; }
.layer .ld { font-size: .9rem; color: var(--ink-2); margin: 0; }
.layer.top { background: #F1F5EE; }
.layer.mid { background: #fff; }
.layer.base { background: var(--stone); }

ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { padding: .62rem 0; border-bottom: 1px solid var(--rule); font-size: .96rem; }
.dark ul.plain li { border-color: #3A3227; }

.subhead { font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin-bottom: .45rem; }

.quote {
  font-family: var(--f-display); font-size: 1.45rem; line-height: 1.4;
  max-width: 46ch; margin: 0;
}

hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

/* ---------- product screenshots ---------- */

.shot { margin: 2.5rem 0 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 3px; }
.shot.narrow img { max-width: 340px; margin-inline: auto; border: 0; border-radius: 0; }
.shot.narrow figcaption { text-align: center; margin-inline: auto; }
.shot-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem; text-align: center; padding: 2rem 1.75rem;
  border: 2px dashed var(--rule); border-radius: 3px; background: #fff;
}
.shot-tag {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rust); border: 1px solid var(--rust); border-radius: 2px; padding: .2rem .55rem;
}
.shot-what { font-size: .93rem; color: var(--ink-2); max-width: 52ch; line-height: 1.5; }
.shot figcaption { font-size: .87rem; color: var(--ink-2); margin-top: .8rem; max-width: 62ch; }
.dark .shot-ph, .forest .shot-ph { background: rgba(255,255,255,.03); border-color: #4A4438; }
.dark .shot-what, .forest .shot-what { color: #9A9B8E; }
.dark .shot figcaption, .forest .shot figcaption { color: #9A9B8E; }
.dark .shot-tag, .forest .shot-tag { color: var(--rust-lt); border-color: var(--rust-lt); }
.band .shot-ph { background: #fff; border-color: #C4C5B6; }

/* ---------- form ---------- */

.form { display: grid; gap: 1rem; max-width: 30rem; }
.form label { font-size: .88rem; font-weight: 500; display: block; margin-bottom: .3rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: .68rem .8rem; font-family: var(--f-text); font-size: .96rem;
  border: 1px solid var(--rule); border-radius: 3px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--moss); outline: none; box-shadow: 0 0 0 2px rgba(36,82,58,.15); }

/* the `hidden` attribute must beat component display rules (e.g. .form's grid) */
[hidden] { display: none !important; }

/* reCAPTCHA v3: badge hidden, disclosure shown instead (Google permits this
   only if the notice below is visible) */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { margin: .85rem 0 0; font-size: .78rem; line-height: 1.45; color: var(--ink-2); max-width: 30rem; }
.recaptcha-note a { color: var(--ink-2); text-decoration: underline; }


.form-msg { max-width: 30rem; padding: 1rem 1.1rem; border-radius: 3px; font-size: .95rem; line-height: 1.5; }
.form-msg.ok { background: rgba(143,174,99,.16); border-left: 3px solid var(--turf); color: var(--ink); }
.form-msg.err { background: rgba(194,98,27,.10); border-left: 3px solid var(--rust); color: var(--ink); }
.form button[disabled] { opacity: .6; cursor: default; }

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

footer.site { background: var(--bark); color: #A9AA9E; padding: 3.5rem 0 2.5rem; }
footer.site .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
footer.site h4 { color: #E8E7DF; margin-bottom: .9rem; }
footer.site a { color: #A9AA9E; text-decoration: none; display: block; padding: .28rem 0; font-size: .93rem; }
footer.site a:hover { color: var(--turf-lt); }
footer.site .legal {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid #3A3227;
  font-size: .82rem; color: #75766B; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
footer.site p { color: #8B8C7F; font-size: .92rem; }

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

@media (max-width: 960px) {
  .hero .grid, .two, .two.wide, .two.narrow, .three, .cols, .ai-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .two.flip > div:first-child { order: 0; }
  .opener, .opener .lead { max-width: none; }
  .ai-grid { gap: 1.25rem; }
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-row > div { padding: 1.25rem 0; }
  .ba-row .after { padding: 1.25rem 1.1rem; }
  .ba-row .before::before, .ba-row .after::before {
    content: "Today"; display: block; margin-bottom: .45rem;
    font-size: .72rem; letter-spacing: .09em; text-transform: uppercase;
    font-weight: 600; color: var(--ink-2);
  }
  .ba-row .after::before { content: "With ArborSoft"; color: var(--moss); }
  .cols .rail { position: static; }
  .figs { grid-template-columns: repeat(2, 1fr); }
  .figs > div:nth-child(2) { border-right: 0; }
  .figs > div:nth-child(1), .figs > div:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .reg-item { grid-template-columns: 2.6rem 1fr; }
  .reg-size { grid-column: 2; border-left: 0; padding-left: 0; padding-top: .9rem; border-top: 1px solid var(--rule); }
  .agent { grid-template-columns: 1fr; gap: .5rem; }
  .ladder { grid-template-columns: 1fr; }
  .rung { border-right: 1px solid var(--rule); border-bottom: 0; }
  .rung:last-child { border-bottom: 1px solid var(--rule); }
  footer.site .top { grid-template-columns: 1fr 1fr; }
  .masthead .wrap { flex-wrap: wrap; height: auto; padding-top: .75rem; padding-bottom: .25rem; }
  nav.primary {
    order: 3; width: 100%; overflow-x: auto; gap: 1.15rem;
    padding-bottom: .35rem; -webkit-overflow-scrolling: touch;
  }
  nav.primary a { white-space: nowrap; font-size: .88rem; }
  .masthead .btn { padding: .55rem 1rem; font-size: .88rem; }
  section { padding: 3.75rem 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .figs { grid-template-columns: 1fr; }
  .figs > div { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .brief li { grid-template-columns: 1fr; gap: .2rem; }
  footer.site .top { grid-template-columns: 1fr; }
}

/* ---------- atlas ---------- */

.atlas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.dom {
  border: 1px solid var(--rule); border-left: 3px solid var(--rule);
  background: #fff; padding: 1.2rem 1.15rem;
}
.dom.ind { border-left-color: var(--turf); }
.dom h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.dom .dsub { font-size: .84rem; color: var(--ink-2); margin-bottom: .85rem; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: .38rem; }
.chip {
  font-size: .82rem; padding: .24rem .55rem; border: 1px solid var(--rule);
  color: var(--ink-2); background: #FBFBF8; line-height: 1.35;
}
.dom.ind .chip { border-color: #C9D8BA; color: #3B5B33; background: #F5F8F1; }
.legend { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: .86rem; color: var(--ink-2); margin-bottom: 1.75rem; }
.legend span { display: flex; align-items: center; gap: .5rem; }
.legend i { width: 3px; height: 15px; display: block; background: var(--rule); }
.legend i.ind { background: var(--turf); }

/* ---------- autonomy spectrum ---------- */

.spectrum { border-top: 1px solid var(--rule); }
.lvl {
  display: grid; grid-template-columns: 3.5rem 10rem 1fr 13rem; gap: 1.5rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.lvl .k { font-family: var(--f-mono); font-size: .82rem; color: var(--turf); padding-top: .15rem; }
.lvl .nm {
  font-family: var(--f-display); font-size: 1.1rem; font-weight: 500;
}
.lvl p { font-size: .95rem; margin: 0; }
.lvl .who { font-size: .88rem; color: var(--ink-2); margin: 0; }
.dark .spectrum, .dark .lvl { border-color: #3A3227; }
.dark .lvl .who { color: #94958A; }

@media (max-width: 960px) {
  .atlas { grid-template-columns: repeat(2, 1fr); }
  .lvl { grid-template-columns: 3rem 1fr; gap: .4rem 1rem; }
  .lvl .nm { grid-column: 2; }
  .lvl p, .lvl .who { grid-column: 2; }
}
@media (max-width: 560px) {
  .atlas { grid-template-columns: 1fr; }
}

/* ---------- tables ---------- */

.scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .91rem; min-width: 620px; }
.tbl th {
  text-align: left; font-weight: 500; font-size: .82rem; color: var(--ink-2);
  border-bottom: 1px solid var(--rule); padding: .55rem 1rem .55rem 0; white-space: nowrap;
}
.tbl td { border-bottom: 1px solid var(--rule); padding: .7rem 1rem .7rem 0; vertical-align: top; line-height: 1.45; }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }
.tbl td.n { font-weight: 500; color: var(--ink); }
.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .from { color: var(--ink-2); }
.tbl .to { color: var(--moss); font-weight: 500; }
.dark .tbl th, .dark .tbl td { border-bottom-color: #3A3227; }
.dark .tbl th { color: #94958A; }
.dark .tbl td { color: #C6C6BB; }
.dark .tbl td.n { color: #EDECE4; }
.dark .tbl .to { color: var(--turf); }

.fam { display: inline-block; font-size: .77rem; padding: .12rem .45rem; border: 1px solid var(--rule); color: var(--ink-2); white-space: nowrap; }
.fam.constraint { border-color: var(--rust); color: var(--rust); }
.fam.retrieval  { border-color: var(--moss);  color: var(--moss); }
.fam.generation { border-color: var(--loam);  color: var(--loam); }
.fam.agency     { border-color: #7A4B1E;      color: #7A4B1E; }
.fam.vision     { border-color: #4F6E86;      color: #4F6E86; }
.fam.language   { border-color: #4A7A4A;      color: #4A7A4A; }

/* ---------- counterparts ---------- */

.counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.count { padding: 1.9rem 2rem 1.9rem 0; border-bottom: 1px solid var(--rule); }
.count:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 2rem; }
.count:nth-child(even) { padding-left: 2rem; }
.count .cn {
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; margin-bottom: .15rem;
}
.count .ct { font-size: .85rem; color: var(--rust); margin-bottom: .9rem; }
.count p { font-size: .95rem; margin-bottom: .8rem; }
.count .fail { font-size: .87rem; color: var(--ink-2); margin: 0; }
.count .fail b { color: var(--ink); font-weight: 500; }

@media (max-width: 760px) {
  .counts { grid-template-columns: 1fr; }
  .count, .count:nth-child(odd), .count:nth-child(even) { padding: 1.6rem 0; border-right: 0; }
}

/* ---------- coming soon marker ---------- */

.soon {
  display: inline-block; font-size: .72rem; padding: .1rem .42rem; margin-left: .5rem;
  border: 1px solid var(--rust); color: var(--rust); vertical-align: middle;
  letter-spacing: .01em; white-space: nowrap; font-family: var(--f-text); font-weight: 500;
}
.dark .soon, .band .soon { border-color: var(--rust); color: var(--rust); }
.dark .soon { border-color: var(--rust-lt); color: var(--rust-lt); }

/* ---------- deployment options ---------- */

.deploy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.deploy > div { padding: 1.9rem 2rem 1.9rem 0; border-bottom: 1px solid var(--rule); }
.deploy > div:first-child { border-right: 1px solid var(--rule); }
.deploy > div:last-child { padding-left: 2rem; padding-right: 0; }
.deploy h3 { margin-bottom: .2rem; }
.deploy .who { font-size: .86rem; color: var(--rust); margin-bottom: .9rem; }
.deploy p { font-size: .95rem; }
.deploy ul.plain li { font-size: .93rem; }

@media (max-width: 760px) {
  .deploy { grid-template-columns: 1fr; }
  .deploy > div, .deploy > div:first-child, .deploy > div:last-child {
    padding: 1.6rem 0; border-right: 0;
  }
}
