/* ==========================================================================
   Infrena — marketing site
   Orange is structural: it marks what you can act on. Nothing else wears it.
   ========================================================================== */

:root {
  --bg:           #101113;
  --bg-sunken:    #0a0b0c;
  --panel:        #17191c;
  --panel-raised: #1e2125;
  --line:         #272a2f;
  --line-soft:    #1d2024;

  --orange:       #e8832a;
  --orange-lift:  #eda05d;
  --on-orange:    #16181a;
  --orange-quiet: rgba(232, 131, 42, 0.42);
  --orange-wash:  rgba(232, 131, 42, 0.06);

  --text:         #e6e8ea;
  --text-soft:    #b4bac1;
  --muted:        #878e97;
  --faint:        #5b626b;

  --code-key:     #e3c892;
  --code-str:     #9dbf8c;
  --code-ref:     #7fa6c9;
  --code-note:    #6f7681;

  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --shell: 1180px;
  --radius: 4px;
  --radius-card: 14px;
}

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

html { scroll-behavior: smooth; }

/* Anchor targets clear the sticky header. */
:target, section[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
a:hover { color: var(--orange-lift); border-bottom-color: var(--orange-quiet); }

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

code, pre, .wordmark, .tree__row, .ide__filename, .copy-btn,
.terminal__bar, .code__gutter, .exit-code dt, .site-footer__legal,
.ide__sidebar-title, .pillar__proof {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--code-key);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.1em 0.38em;
  border-radius: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: var(--on-orange);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 17, 19, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 64px;
}

.wordmark {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--text);
  border-bottom: 0;
}
.wordmark::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.55rem;
  border: 2px solid var(--orange);
  border-radius: 2px;
  vertical-align: 1px;
}
.wordmark:hover { color: var(--text); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.94rem;
}
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--text); border-bottom-color: transparent; }

.site-nav__gh {
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 0.36rem 0.85rem;
  font-weight: 500;
  color: var(--on-orange) !important;
}
.site-nav__gh:hover {
  background: var(--orange-lift);
  border-color: var(--orange-lift);
  color: var(--on-orange) !important;
}

/* ---------- Hero -------------------------------------------------------- */

.hero { padding: 7rem 0 5.5rem; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
}

.hero__grid > * { min-width: 0; }

.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.05rem);
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin-bottom: 1.5rem;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.1rem;
}

.hero__note {
  font-size: 0.92rem;
  color: var(--faint);
  max-width: 44ch;
  padding-left: 1rem;
  border-left: 2px solid var(--orange-quiet);
}

.hero__caption {
  margin: 3.2rem 0 0;
  max-width: 74ch;
  font-size: 0.97rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 500;
  padding: 0.72rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { border-bottom-color: transparent; }

.btn--primary { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-lift); border-color: var(--orange-lift); color: var(--on-orange); }

.btn--ghost { color: var(--text-soft); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--orange-quiet); color: var(--orange); }

/* ---------- Terminals --------------------------------------------------- */

.terminal {
  margin: 0;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.terminal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.terminal__dot--err { background: #d94b3a; }

/* A generated file, not terminal output: it gets the editor's chrome. */
.terminal--file .terminal__bar { color: var(--text); }

.terminal__title { flex: 1; }

.terminal__body {
  margin: 0;
  padding: 1.15rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.815rem;
  line-height: 1.75;
  color: var(--text-soft);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}

.t-dim    { color: var(--code-note); }
.t-key    { color: var(--code-key); }
.t-str    { color: var(--code-str); }
.t-ref    { color: var(--code-ref); }
.t-add    { color: #7fbf6a; }
.t-err    { color: #ff6b52; font-weight: 700; }
.t-note   { color: var(--orange); }
.t-prompt { color: var(--orange); font-weight: 700; }
.t-cmd    { color: var(--text); font-weight: 500; }

/* Scrollbars inside code surfaces stay out of the way. */
.terminal__body, .code, .ide__sidebar {
  scrollbar-width: thin;
  scrollbar-color: #33373d transparent;
}
.terminal__body::-webkit-scrollbar,
.code::-webkit-scrollbar,
.ide__sidebar::-webkit-scrollbar { width: 9px; height: 9px; }
.terminal__body::-webkit-scrollbar-track,
.code::-webkit-scrollbar-track,
.ide__sidebar::-webkit-scrollbar-track { background: transparent; }
.terminal__body::-webkit-scrollbar-thumb,
.code::-webkit-scrollbar-thumb,
.ide__sidebar::-webkit-scrollbar-thumb {
  background: #33373d;
  border-radius: 6px;
}
.terminal__body::-webkit-scrollbar-thumb:hover,
.code::-webkit-scrollbar-thumb:hover,
.ide__sidebar::-webkit-scrollbar-thumb:hover { background: #454a52; }

/* ---------- Section furniture ------------------------------------------- */

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 1rem;
  max-width: 22ch;
}

.section-lead {
  color: var(--muted);
  max-width: 70ch;
  margin-bottom: 2.6rem;
}

/* ---------- Pillar cards ------------------------------------------------ */

.pillars {
  padding: 5rem 0;
  border-top: 1px solid var(--line-soft);
}

.pillars .section-title { margin-bottom: 2.6rem; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--orange-quiet);
  border-radius: var(--radius-card);
  background: transparent;
  padding: 1.6rem 1.6rem 1.35rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.pillar:hover {
  border-color: var(--orange);
  background: var(--orange-wash);
}

.pillar__title {
  font-size: 1.08rem;
  color: var(--orange);
  margin-bottom: 0.7rem;
  letter-spacing: -0.015em;
}

.pillar p {
  font-size: 0.945rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
  max-width: none;
}

.pillar code { background: none; padding: 0; }

.pillar__proof {
  display: block;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--code-note);
  background: none;
  word-break: break-word;
}

/* ---------- Examples / IDE ---------------------------------------------- */

.examples {
  padding: 5rem 0;
  border-top: 1px solid var(--line-soft);
}

.ide {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

.ide__tabs {
  display: flex;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.ide__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ide__tab:hover { color: var(--text); }
.ide__tab[aria-selected="true"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.ide__panel {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 460px;
}

.ide__sidebar {
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 0 0 1rem;
  overflow-y: auto;
}

.ide__sidebar-title {
  margin: 0;
  padding: 0.8rem 1rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.tree, .tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Indent guides make the nesting legible without extra chrome. */
.tree ul {
  padding-left: 0;
  margin-left: 1.35rem;
  border-left: 1px solid var(--line-soft);
}

.tree__row {
  display: flex;
  align-items: center;
  width: 100%;
  appearance: none;
  background: none;
  border: 0;
  border-left: 2px solid transparent;
  padding: 0.28rem 0.9rem 0.28rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: left;
  transition: color 0.12s ease, background-color 0.12s ease;
}

/* Folders are labels, not controls: the layout stays open. */
.tree__row--dir {
  color: var(--text-soft);
  cursor: default;
}

.tree__row--file { cursor: pointer; }
.tree__row--file:hover { color: var(--text); background: rgba(255, 255, 255, 0.035); }

.tree__row--file[aria-pressed="true"] {
  color: var(--orange);
  background: var(--orange-wash);
  border-left-color: var(--orange);
}

.tree__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ide__editor {
  display: flex;
  flex-direction: column;
  background: var(--bg-sunken);
  min-width: 0;
}

.ide__editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.8rem 0.55rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.ide__filename {
  font-family: var(--mono);
  font-size: 0.79rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ide__filepath { color: var(--faint); }

.copy-btn {
  appearance: none;
  flex: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.22rem 0.62rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover { color: var(--orange); border-color: var(--orange-quiet); }
.copy-btn[data-copied="true"] { color: var(--orange); border-color: var(--orange); }

.code {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.code__gutter {
  flex: none;
  padding: 1.1rem 0.75rem 1.1rem 1.1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.75;
  color: #3a3f46;
  text-align: right;
  user-select: none;
  white-space: pre;
}

.code__body {
  margin: 0;
  padding: 1.1rem 1.4rem 1.1rem 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-soft);
  white-space: pre;
  flex: 1;
  min-width: 0;
}

.c-comment { color: var(--code-note); font-style: italic; }
.c-key     { color: var(--code-key); }
.c-str     { color: var(--code-str); }
.c-ref     { color: var(--code-ref); }
.c-num     { color: #c8a6e0; }
.c-punct   { color: #5f666e; }

.examples__footnote {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--faint);
  max-width: 78ch;
}

.examples__footnote--spaced { margin-top: 0.9rem; }

/* ---------- Discover / import ------------------------------------------- */

.discover {
  padding: 5rem 0;
  border-top: 1px solid var(--line-soft);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  counter-increment: step;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3.25rem;
  align-items: start;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line-soft);
}
.step:first-child { border-top: 0; padding-top: 0.5rem; }

.step__copy {
  position: relative;
  min-width: 0;
  padding-left: 3.1rem;
}

.step__demo { min-width: 0; }

.step__copy::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--orange-quiet);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
}

.step__title {
  font-size: 1.22rem;
  margin-bottom: 0.75rem;
}

.step__copy p { font-size: 0.96rem; color: var(--muted); }

.step__aside {
  font-size: 0.89rem !important;
  color: var(--faint) !important;
  padding-left: 1rem;
  border-left: 2px solid var(--orange-quiet);
}

.step__note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--faint);
  max-width: none;
}

/* ---------- Fail-fast --------------------------------------------------- */

.failfast {
  padding: 5rem 0;
  border-top: 1px solid var(--line-soft);
}

.failfast__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.failfast__grid > * { min-width: 0; }

.failfast__copy p { font-size: 0.99rem; color: var(--muted); }

.failfast__aside {
  font-size: 0.9rem !important;
  color: var(--faint) !important;
  padding-left: 1rem;
  border-left: 2px solid var(--orange-quiet);
}

/* ---------- Install ----------------------------------------------------- */

.install {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--line-soft);
}

.install__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.install__grid > * { min-width: 0; }

@media (min-width: 700px) {
  .install__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.copy-btn--bar { margin-left: auto; }

.exit-codes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  margin: 2.5rem 0 1.4rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.exit-code {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  background: var(--bg);
  padding: 1rem 1.2rem;
}

.exit-code dt {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--orange);
  flex: none;
}

.exit-code dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.install__footnote {
  font-size: 0.92rem;
  color: var(--faint);
  max-width: 78ch;
}

/* ---------- Footer ------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.5rem 0 3.5rem;
}

.site-footer__inner p { font-size: 0.9rem; color: var(--faint); max-width: none; }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin: 1rem 0 0.8rem;
}
.site-footer__links a { color: var(--muted); }
.site-footer__links a:hover { color: var(--orange); }

.site-footer__legal { font-family: var(--mono); font-size: 0.78rem !important; }

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 980px) {
  .hero { padding: 4rem 0 3.5rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero__lead { max-width: none; }
  .failfast__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .step { grid-template-columns: 1fr; gap: 1.75rem; }
  .ide__panel { grid-template-columns: 1fr; min-height: 0; }
  .ide__sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 230px;
  }
  .code { max-height: 420px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { padding: 0 20px; }
  .site-header__inner { height: 58px; gap: 1rem; }
  .site-nav { gap: 1.05rem; font-size: 0.86rem; }
  .site-nav__gh { padding: 0.3rem 0.6rem; }
  .pillars, .examples, .discover, .failfast { padding: 3.5rem 0; }
  .step { padding: 2.2rem 0; }
  .step__copy { padding-left: 0; padding-top: 2.9rem; }
  .step__copy::before { top: 0; }
  .install { padding: 3.5rem 0 4rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .install__grid { grid-template-columns: 1fr; }
  .terminal__body, .code__body, .code__gutter { font-size: 0.74rem; }
  .btn { flex: 1 1 auto; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   About page
   ========================================================================== */

.page-head { padding: 5.5rem 0 1rem; }

.page-head__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.6rem;
  max-width: 16ch;
}

.page-head__lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}

.about-section { padding: 4.5rem 0; }
.about-section--ruled { border-top: 1px solid var(--line-soft); }

.about-section .section-title { margin-bottom: 1.6rem; }
.about-section > .shell > p { color: var(--muted); }

.pillar-grid--two { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

/* Genuinely two columns once there is room, so a fourth card pairs up rather
   than being left alone on a row of three. */
@media (min-width: 920px) {
  .pillar-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.subhead {
  font-size: 1.2rem;
  margin: 2.8rem 0 1rem;
  color: var(--text);
}

/* The open-core promise, quoted as the project states it. */
.tenet {
  margin: 0 0 1rem;
  padding: 1.6rem 0 1.6rem 1.6rem;
  border-left: 2px solid var(--orange);
}

.tenet p {
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 64ch;
}
.tenet p + p { margin-top: 0.9rem; color: var(--muted); }

.tick-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 0.5rem 2rem;
}

.tick-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--orange);
  border-radius: 2px;
}

.note-strong {
  padding-left: 1.1rem;
  border-left: 2px solid var(--orange-quiet);
  color: var(--text-soft) !important;
  font-size: 0.97rem;
  margin-bottom: 1.4rem !important;
}

.pairs-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.pairs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 540px;
}

.pairs th {
  text-align: left;
  padding: 0.85rem 1.1rem;
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.pairs th:first-child { color: var(--orange); }

.pairs td {
  padding: 0.85rem 1.1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.pairs tr:last-child td { border-bottom: 0; }
.pairs td:first-child { color: var(--text-soft); border-right: 1px solid var(--line-soft); }

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem 2.5rem;
}

.status-item { min-width: 0; }

.status-item__key {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.5rem !important;
}

.status-item p:not(.status-item__key) {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: none;
}

@media (max-width: 620px) {
  .page-head { padding: 3rem 0 0.5rem; }
  .about-section { padding: 3rem 0; }
  .tenet { padding: 1rem 0 1rem 1.1rem; }
  .tenet p { font-size: 1.02rem; }
  .tick-list { grid-template-columns: 1fr; }
}

/* ---------- Generated markup must not carry inline styles ----------------- */
/* The CSP has no 'unsafe-inline' for style-src, and that applies to markup the
   scripts build exactly as it does to markup written by hand. These replace a
   style="padding-left:…" the file tree used to generate per depth. */

.tree__row--d0 { padding-left: 0.70rem; }
.tree__row--d1 { padding-left: 1.60rem; }
.tree__row--d2 { padding-left: 2.50rem; }
.tree__row--d3 { padding-left: 3.40rem; }
.tree__row--d4 { padding-left: 4.30rem; }
.tree__row--d5 { padding-left: 5.20rem; }

/* The off-screen textarea the clipboard fallback uses. */
.visually-hidden-copy {
  position: fixed;
  top: 0;
  opacity: 0;
  pointer-events: none;
}
