/* NDXBL — parent company of Growth Nuts, Green Rush and Blocklr.
   Light, editorial: paper ground, Instrument Serif display, Hanken Grotesk text,
   IBM Plex Mono for labels and measurements, one deep green accent.
   Loaded on every ndxbl.com page; article.css adds the reading layout. */

:root {
  --paper: #F6F5F1;
  --paper2: #EEECE6;
  --ink: #15161A;
  --ink2: #4A4C53;   /* 8.3:1 on paper */
  --ink3: #62646B;   /* 5.6:1 on paper */
  --rule: #DCDAD2;
  --ac: #1E5A45;     /* 7.4:1 on paper */
  --fd: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --mo: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
}
body.ndx { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); -webkit-font-smoothing: antialiased; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.ndx-top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.ndx-top .in { max-width: 72rem; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ndx-logo { font: 500 15px var(--mo); letter-spacing: .32em; color: var(--ink); text-decoration: none; }
.ndx-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.ndx-nav a { font: 500 15px var(--f); color: var(--ink2); text-decoration: none; }
.ndx-nav a:hover, .ndx-nav a[aria-current="page"] { color: var(--ink); }
.ndx-nav a.ndx-cta { color: var(--paper); background: var(--ink); padding: 9px 16px; border-radius: 999px; }
.ndx-nav a.ndx-cta:hover { background: var(--ac); }
.ndx-menu { display: none; }
@media (max-width: 640px) {
  .ndx-nav { display: none; }
  .ndx-menu { display: block; position: relative; }
  .ndx-menu summary { list-style: none; cursor: pointer; font: 500 15px var(--f); color: var(--ink); padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; }
  .ndx-menu summary::-webkit-details-marker { display: none; }
  .ndx-menu[open] .ndx-menu-list { display: grid; }
  .ndx-menu-list { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 12rem; padding: 8px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 16px 32px -16px rgba(21, 22, 26, .35); }
  .ndx-menu-list a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 16px; }
  .ndx-menu-list a:hover { background: var(--paper2); }
}
:is(.ndx-top, .ndx-foot) a:focus-visible, .ndx-menu summary:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.ndx-foot { border-top: 1px solid var(--rule); margin-top: clamp(40px, 6vw, 72px); }
.ndx-foot .in { max-width: 72rem; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 44px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); font-size: 15px; color: var(--ink2); }
.ndx-foot h2 { margin: 0 0 8px; font: 500 12px var(--mo); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.ndx-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ndx-foot a { color: var(--ink2); text-decoration: none; }
.ndx-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .18em; }
.ndx-foot .logo { font: 500 14px var(--mo); letter-spacing: .32em; color: var(--ink); }
.ndx-foot p { margin: 8px 0 0; max-width: 22rem; }

/* ── Company pages ──────────────────────────────────────────────────────── */
.ndx-page { max-width: 72rem; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.ndx-hero { padding: clamp(48px, 9vw, 112px) 0 clamp(32px, 5vw, 56px); }
.ndx-hero h1 { margin: 0; max-width: 17ch; font: 400 clamp(2.8rem, 1.5rem + 5.2vw, 5.8rem)/.98 var(--fd); letter-spacing: -.015em; }
.ndx-hero h1 em { font-style: italic; color: var(--ac); }
.ndx-lede { max-width: 42rem; margin: 24px 0 0; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--ink2); }
.ndx-h2 { margin: 0 0 18px; font: 400 clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem)/1.05 var(--fd); }
.ndx-kick { font: 500 12px var(--mo); letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
.ndx-section { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--rule); }
.ndx-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); border-top: 1px solid var(--ink); }
.ndx-brand { display: grid; gap: 10px; align-content: start; padding: 26px 24px 30px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.ndx-brand + .ndx-brand { padding-left: 24px; border-left: 1px solid var(--rule); }
@media (max-width: 680px) { .ndx-brand + .ndx-brand { padding-left: 0; border-left: 0; } }
.ndx-brand strong { font: 400 2rem/1.1 var(--fd); }
.ndx-brand span { color: var(--ink2); }
.ndx-brand em { font: 500 13px var(--mo); font-style: normal; color: var(--ac); }
.ndx-brand:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.ndx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ndx-list li { border-bottom: 1px solid var(--rule); }
.ndx-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 18px 0; color: var(--ink); text-decoration: none; }
.ndx-list a strong { font: 400 1.35rem/1.25 var(--fd); }
.ndx-list a time, .ndx-list a small { font: 500 12px var(--mo); color: var(--ink3); white-space: nowrap; align-self: center; }
.ndx-list a span { grid-column: 1 / -1; color: var(--ink2); font-size: 15px; }
.ndx-list a:hover strong { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: 1px; }
.ndx-more { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--ac); text-decoration: none; }
.ndx-more:hover { text-decoration: underline; text-underline-offset: .18em; }
.ndx-prose { max-width: 42rem; }
.ndx-prose p { margin: 0 0 1.1em; font-size: 1.08rem; line-height: 1.7; color: var(--ink2); }
.ndx-prose p strong { color: var(--ink); }
.ndx-prose a { color: var(--ac); }
.ndx-prose h2 { margin: 1.6em 0 .5em; font: 400 1.9rem/1.15 var(--fd); color: var(--ink); }
.ndx-quote { margin: 0; font: 400 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1.2 var(--fd); color: var(--ink); max-width: 36rem; }

/* ── Contact form ───────────────────────────────────────────────────────── */
.ndx-form { display: grid; gap: 14px; max-width: 34rem; }
.ndx-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ndx-form label span { font-weight: 400; color: var(--ink3); }
.ndx-form :is(input, textarea) { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line2, rgba(21, 22, 26, .18)); border-radius: 10px; background: #fff; font: 400 16px/1.4 var(--f); color: var(--ink); }
.ndx-form :is(input, textarea):focus { outline: 2px solid var(--ac); outline-offset: 1px; border-color: transparent; }
.ndx-form button { justify-self: start; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 16px var(--f); cursor: pointer; }
.ndx-form button:hover { background: var(--ac); }
.ndx-form button:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
.ndx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ndx-fine { font-size: 13px; color: var(--ink3); }
.ndx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ndx-form a, .ndx-fine a { color: var(--ac); }
.ndx-err { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: #9B1C1C; }
.ndx-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ── Signal archive ─────────────────────────────────────────────────────── */
.ndx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.ndx-chips a { display: inline-flex; gap: 6px; align-items: baseline; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink2); text-decoration: none; font-size: 14px; background: #fff; }
.ndx-chips a span { font: 500 11px var(--mo); color: var(--ink3); }
.ndx-chips a:hover { border-color: var(--ink); color: var(--ink); }
.ndx-chips a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ndx-chips a[aria-current="true"] span { color: #C9C7BF; }
.ndx-chips a:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.ndx-list li[hidden] { display: none; }

/* ── Glossary index ─────────────────────────────────────────────────────── */
.ndx-az { position: sticky; top: 64px; z-index: 10; display: flex; flex-wrap: wrap; gap: 2px; padding: 10px 0; margin-bottom: 8px; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.ndx-az a { min-width: 32px; min-height: 32px; display: grid; place-items: center; border-radius: 6px; font: 500 13px var(--mo); color: var(--ink2); text-decoration: none; }
.ndx-az a:hover { background: var(--ink); color: var(--paper); }
.ndx-az a:focus-visible { outline: 2px solid var(--ac); }
.ndx-letter { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 120px; }
.ndx-letter h2 { margin: 0; font: 400 3rem/1 var(--fd); color: var(--ac); }
.ndx-letter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.ndx-letter a { display: grid; gap: 2px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.ndx-letter a strong { font: 400 1.25rem/1.2 var(--fd); }
.ndx-letter a span { font-size: 14px; line-height: 1.45; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ndx-letter a:hover strong { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: 1px; }
@media (max-width: 560px) { .ndx-letter { grid-template-columns: 1fr; } .ndx-letter h2 { margin-bottom: 8px; font-size: 2.2rem; } }
.ndx-page a:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
@media (max-width: 560px) {
  .ndx-list a { grid-template-columns: minmax(0, 1fr); }
  .ndx-list a time, .ndx-list a small { order: -1; align-self: start; }
}
