/* =====================================================================
   NODEWIRE · crypto + markets news desk
   Template A (dark) · News / Media category · Albertson Designs
   ---------------------------------------------------------------------
   Type:   Archivo (variable, wdth 62 to 125) for display + body
           Martian Mono for tickers, prices, timestamps, datelines
   Color:  #07090C base · #0E1218 panel · #1A212B hairline
           #C6FF3D acid lime · #2BD99F up · #FF5A5F down · #5AA9FF link
   Every class is prefixed nw-. Nothing here is shared with siblings.
   ===================================================================== */

/* ---------- 01. Tokens ---------- */
:root {
  --nw-bg: #07090C;
  --nw-bg-2: #0A0D12;
  --nw-panel: #0E1218;
  --nw-panel-2: #121821;
  --nw-panel-3: #161D27;
  --nw-line: #1A212B;
  --nw-line-2: #252E3A;
  --nw-line-3: #323D4B;
  --nw-text: #E8EDF2;
  --nw-text-2: #C3CBD3;
  --nw-muted: #8A96A3;
  --nw-dim: #5B6673;
  --nw-lime: #C6FF3D;
  --nw-lime-deep: #9FD11F;
  --nw-lime-glow: rgba(198, 255, 61, 0.28);
  --nw-lime-wash: rgba(198, 255, 61, 0.07);
  --nw-up: #2BD99F;
  --nw-up-wash: rgba(43, 217, 159, 0.12);
  --nw-down: #FF5A5F;
  --nw-down-wash: rgba(255, 90, 95, 0.12);
  --nw-blue: #5AA9FF;
  --nw-blue-wash: rgba(90, 169, 255, 0.12);

  --nw-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --nw-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --nw-wrap: 1360px;
  --nw-gutter: 28px;
  --nw-tape-h: 32px;
  --nw-nav-h: 60px;
  --nw-head-h: calc(var(--nw-tape-h) + var(--nw-nav-h));

  --nw-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nw-ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --nw-radius: 2px;
}

/* ---------- 02. Reset + base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nw-head-h) + 16px);
}

body {
  margin: 0;
  background: var(--nw-bg);
  color: var(--nw-text);
  font-family: var(--nw-sans);
  font-size: 16px;
  line-height: 1.5;
  font-stretch: 100%;
  font-feature-settings: "ss01" 1, "tnum" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nw-lock {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
ol,
ul,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--nw-lime);
  color: var(--nw-bg);
}

:focus-visible {
  outline: 2px solid var(--nw-lime);
  outline-offset: 3px;
}

.nw-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nw-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--nw-lime);
  color: var(--nw-bg);
  font-weight: 700;
  padding: 10px 14px;
  transition: top 0.2s;
}

.nw-skip:focus {
  top: 12px;
}

.nw-wrap {
  width: 100%;
  max-width: var(--nw-wrap);
  margin: 0 auto;
  padding: 0 var(--nw-gutter);
}

.nw-mono {
  font-family: var(--nw-mono);
  font-feature-settings: "zero" 1;
}

.nw-up {
  color: var(--nw-up);
}

.nw-down {
  color: var(--nw-down);
}

.nw-lime {
  color: var(--nw-lime);
}

/* subtle scanline texture over the whole page: terminal glass */
.nw-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.012) 0,
    rgba(255, 255, 255, 0.012) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
}

main,
.nw-footer {
  position: relative;
  z-index: 2;
}

/* ---------- 03. Masthead: ticker tape + nav ---------- */
.nw-masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 9, 12, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--nw-line);
}

.nw-tape {
  display: flex;
  align-items: stretch;
  height: var(--nw-tape-h);
  border-bottom: 1px solid var(--nw-line);
  background: var(--nw-bg-2);
  font-family: var(--nw-mono);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.nw-tape__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 var(--nw-gutter);
  border-right: 1px solid var(--nw-line);
  color: var(--nw-muted);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  background: var(--nw-bg-2);
  position: relative;
  z-index: 2;
}

.nw-tape__label b {
  color: var(--nw-lime);
  font-weight: 600;
}

.nw-tape__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nw-lime);
  box-shadow: 0 0 0 0 var(--nw-lime-glow);
  animation: nw-pulse 2s infinite;
}

.nw-tape__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.nw-tape__track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: nw-tape 70s linear infinite;
}

.nw-tape:hover .nw-tape__track {
  animation-play-state: paused;
}

.nw-tape__group {
  display: flex;
  align-items: center;
}

.nw-tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 18px;
  border-right: 1px solid var(--nw-line);
  white-space: nowrap;
  transition: background-color 0.6s;
}

.nw-tick__sym {
  color: var(--nw-text);
  font-weight: 600;
}

.nw-tick__px {
  color: var(--nw-text-2);
  font-variant-numeric: tabular-nums;
}

.nw-tick__chg {
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
}

.nw-tick__chg::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 5px;
  vertical-align: 1px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.nw-tick.nw-is-up .nw-tick__chg {
  color: var(--nw-up);
}

.nw-tick.nw-is-up .nw-tick__chg::before {
  border-bottom: 5px solid var(--nw-up);
}

.nw-tick.nw-is-down .nw-tick__chg {
  color: var(--nw-down);
}

.nw-tick.nw-is-down .nw-tick__chg::before {
  border-top: 5px solid var(--nw-down);
}

.nw-tick.nw-is-flash-up {
  animation: nw-flash-up 0.9s var(--nw-ease);
}

.nw-tick.nw-is-flash-down {
  animation: nw-flash-down 0.9s var(--nw-ease);
}

.nw-tick.nw-is-flash-up .nw-tick__px {
  color: var(--nw-up);
}

.nw-tick.nw-is-flash-down .nw-tick__px {
  color: var(--nw-down);
}

.nw-tape__note {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 var(--nw-gutter) 0 14px;
  border-left: 1px solid var(--nw-line);
  color: var(--nw-dim);
  font-size: 9.5px;
  white-space: nowrap;
}

/* nav */
.nw-nav {
  height: var(--nw-nav-h);
}

.nw-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nw-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  font-stretch: 125%;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  line-height: 1;
}

.nw-logo__mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.nw-logo__mark svg {
  width: 100%;
  height: 100%;
}

.nw-logo__mark line {
  stroke: var(--nw-line-3);
  stroke-width: 1.5;
}

.nw-logo__mark circle {
  fill: var(--nw-text);
}

.nw-logo__dot {
  position: absolute;
  right: -1px;
  top: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nw-lime);
  box-shadow: 0 0 10px var(--nw-lime-glow);
  animation: nw-blink 2.4s steps(1, end) infinite;
}

.nw-logo__word b {
  color: var(--nw-lime);
  font-weight: 800;
}

.nw-links {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  margin-right: auto;
}

.nw-links a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  font-size: 13.5px;
  font-weight: 500;
  font-stretch: 100%;
  color: var(--nw-muted);
  transition: color 0.2s;
}

.nw-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: var(--nw-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--nw-ease);
}

.nw-links a:hover,
.nw-links a[aria-current="page"] {
  color: var(--nw-text);
}

.nw-links a:hover::after,
.nw-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nw-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nw-kbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 6px 0 14px;
  border: 1px solid var(--nw-line-2);
  border-radius: 999px;
  background: var(--nw-panel);
  color: var(--nw-muted);
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.nw-kbar-btn:hover {
  border-color: var(--nw-line-3);
  color: var(--nw-text);
  background: var(--nw-panel-2);
}

.nw-kbar-btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.nw-kbar-btn__text {
  min-width: 150px;
  text-align: left;
}

.nw-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--nw-line-2);
  border-radius: 999px;
  background: var(--nw-bg);
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-text-2);
  white-space: nowrap;
}

.nw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--nw-ease), box-shadow 0.25s var(--nw-ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}

.nw-btn--lime {
  background: var(--nw-lime);
  color: var(--nw-bg);
}

.nw-btn--lime:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 0 var(--nw-text);
}

.nw-btn--ghost {
  border-color: var(--nw-line-3);
  color: var(--nw-text);
}

.nw-btn--ghost:hover {
  border-color: var(--nw-lime);
  color: var(--nw-lime);
}

.nw-btn--lg {
  height: 48px;
  padding: 0 22px;
  font-size: 14px;
}

.nw-btn svg {
  width: 14px;
  height: 14px;
}

.nw-burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--nw-line-2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nw-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--nw-text);
  transition: transform 0.3s var(--nw-ease), opacity 0.2s;
}

.nw-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nw-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nw-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* drawer */
.nw-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(3, 4, 6, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nw-scrim.nw-is-open {
  opacity: 1;
  visibility: visible;
}

.nw-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(380px, 88vw);
  background: var(--nw-panel);
  border-left: 1px solid var(--nw-line-2);
  transform: translateX(100%);
  transition: transform 0.45s var(--nw-ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.nw-drawer.nw-is-open {
  transform: translateX(0);
}

.nw-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nw-nav-h);
  padding: 0 20px;
  border-bottom: 1px solid var(--nw-line);
}

.nw-drawer__close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--nw-line-2);
  font-size: 20px;
  line-height: 1;
  color: var(--nw-text);
}

.nw-drawer__nav a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 20px;
  border-bottom: 1px solid var(--nw-line);
  font-size: 22px;
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: -0.01em;
}

.nw-drawer__nav a span {
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-dim);
  font-weight: 400;
}

.nw-drawer__nav a:hover {
  color: var(--nw-lime);
}

.nw-drawer__foot {
  margin-top: auto;
  padding: 20px;
  display: grid;
  gap: 10px;
}

.nw-drawer__foot .nw-btn {
  width: 100%;
  height: 46px;
}

/* ---------- 04. Search overlay (Cmd/Ctrl + K) ---------- */
.nw-search {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 11vh 16px 16px;
  background: rgba(3, 4, 6, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
}

.nw-search.nw-is-open {
  opacity: 1;
  visibility: visible;
}

.nw-search__panel {
  width: 100%;
  max-width: 680px;
  background: var(--nw-panel);
  border: 1px solid var(--nw-line-2);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(198, 255, 61, 0.04);
  transform: translateY(-10px) scale(0.985);
  transition: transform 0.35s var(--nw-ease);
  display: flex;
  flex-direction: column;
  max-height: 76vh;
}

.nw-search.nw-is-open .nw-search__panel {
  transform: none;
}

.nw-search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 58px;
  border-bottom: 1px solid var(--nw-line);
}

.nw-search__field svg {
  width: 18px;
  height: 18px;
  color: var(--nw-lime);
  flex: 0 0 auto;
}

.nw-search__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px;
  font-stretch: 105%;
  color: var(--nw-text);
}

.nw-search__input::placeholder {
  color: var(--nw-dim);
}

.nw-search__results {
  overflow-y: auto;
  padding: 8px 0;
  flex: 1 1 auto;
}

.nw-search__group {
  padding: 10px 16px 6px;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nw-dim);
}

.nw-search__item {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
}

.nw-search__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--nw-lime);
  transform: scaleY(0);
  transition: transform 0.2s var(--nw-ease);
}

.nw-search__item.nw-is-active {
  background: var(--nw-panel-2);
}

.nw-search__item.nw-is-active::before {
  transform: scaleY(1);
}

.nw-search__type {
  font-family: var(--nw-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nw-muted);
}

.nw-search__title {
  font-size: 14.5px;
  font-weight: 600;
  font-stretch: 92%;
  line-height: 1.3;
}

.nw-search__title mark {
  background: none;
  color: var(--nw-lime);
}

.nw-search__meta {
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-dim);
  white-space: nowrap;
}

.nw-search__meta.nw-is-up {
  color: var(--nw-up);
}

.nw-search__meta.nw-is-down {
  color: var(--nw-down);
}

.nw-search__empty {
  padding: 28px 16px;
  color: var(--nw-muted);
  font-size: 14px;
}

.nw-search__foot {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 16px;
  border-top: 1px solid var(--nw-line);
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
}

.nw-search__foot .nw-kbd {
  height: 18px;
  min-width: 20px;
  font-size: 9px;
  margin-right: 4px;
}

/* ---------- 05. Shared atoms: tags, section heads, sample badges ---------- */
.nw-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nw-lime);
}

.nw-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
}

.nw-tag--policy {
  color: var(--nw-blue);
}

.nw-tag--defi {
  color: var(--nw-up);
}

.nw-tag--btc,
.nw-tag--eth {
  color: var(--nw-text-2);
}

.nw-tag--research {
  color: var(--nw-muted);
}

.nw-tag--dev {
  color: var(--nw-down);
}

.nw-sample {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 8px;
  border: 1px dashed var(--nw-line-3);
  font-family: var(--nw-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nw-muted);
  white-space: nowrap;
}

.nw-section {
  padding: 56px 0;
  border-top: 1px solid var(--nw-line);
}

.nw-section--flush {
  border-top: 0;
}

.nw-sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--nw-line);
  position: relative;
}

.nw-sechead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 2px;
  background: var(--nw-lime);
}

.nw-sechead__idx {
  display: block;
  margin-bottom: 8px;
  font-family: var(--nw-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nw-dim);
}

.nw-sechead__idx b {
  color: var(--nw-lime);
  font-weight: 500;
}

.nw-sechead h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.nw-sechead__aside {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nw-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nw-blue);
  white-space: nowrap;
}

.nw-more span {
  transition: transform 0.25s var(--nw-ease);
}

.nw-more:hover span {
  transform: translateX(4px);
}

.nw-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--nw-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nw-lime);
}

.nw-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nw-lime);
  animation: nw-pulse 2s infinite;
}

.nw-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--nw-mono);
  font-size: 10.5px;
  color: var(--nw-muted);
}

.nw-byline a,
.nw-byline strong {
  color: var(--nw-text);
  font-weight: 500;
}

.nw-byline a:hover {
  color: var(--nw-lime);
}

.nw-byline__sep {
  width: 3px;
  height: 3px;
  background: var(--nw-dim);
}

/* image frames: gradient fallback always sits behind the photo */
.nw-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(198, 255, 61, 0.1), transparent 55%),
    radial-gradient(90% 90% at 100% 100%, rgba(90, 169, 255, 0.14), transparent 60%),
    linear-gradient(160deg, #141b25 0%, #0b0f15 70%);
}

.nw-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--nw-line) 1px, transparent 1px), linear-gradient(90deg, var(--nw-line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  z-index: 0;
}

.nw-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--nw-ease), filter 0.6s;
}

.nw-media--policy {
  background:
    radial-gradient(100% 70% at 70% 10%, rgba(90, 169, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #1a2230, #0a0e14);
}

.nw-media--mono img {
  filter: grayscale(1) contrast(1.05) brightness(0.92);
}

/* ---------- 06. Hero: lead story + latest river ---------- */
.nw-hero {
  padding: 28px 0 0;
}

.nw-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-bottom: 1px solid var(--nw-line);
}

.nw-lead {
  grid-column: span 7;
  padding: 0 32px 32px 0;
  border-right: 1px solid var(--nw-line);
}

.nw-lead__media {
  aspect-ratio: 16 / 10.5;
  border: 1px solid var(--nw-line);
}

.nw-lead__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0) 30%, rgba(7, 9, 12, 0.6) 62%, rgba(7, 9, 12, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 9, 12, 0.5), transparent 60%);
}

.nw-lead:hover .nw-lead__media img {
  transform: scale(1.035);
}

.nw-lead__over {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 30px 26px;
}

.nw-lead__chips {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.nw-lead__flag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  background: var(--nw-lime);
  color: var(--nw-bg);
  font-family: var(--nw-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nw-lead__title {
  max-width: 17ch;
  font-size: clamp(30px, 3.9vw, 56px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.nw-lead__title a:hover {
  color: var(--nw-lime);
}

.nw-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.nw-w__i {
  display: inline-block;
  will-change: transform;
}

.nw-lead__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-top: 22px;
}

.nw-lead__dek {
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--nw-text-2);
  font-stretch: 96%;
}

.nw-lead__dek strong {
  color: var(--nw-text);
  font-weight: 600;
}

.nw-lead__stat {
  text-align: right;
  padding-left: 22px;
  border-left: 1px solid var(--nw-line);
}

.nw-lead__stat-num {
  display: block;
  font-family: var(--nw-mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--nw-up);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.nw-lead__stat-lbl {
  display: block;
  margin-top: 4px;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nw-lead .nw-byline {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--nw-line);
}

/* latest river */
.nw-river {
  grid-column: span 5;
  padding: 0 0 32px 28px;
  display: flex;
  flex-direction: column;
}

.nw-river__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--nw-text);
}

.nw-river__head h2 {
  font-size: 15px;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nw-river__updated {
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-dim);
}

.nw-river__list {
  flex: 1 1 auto;
  counter-reset: nw-river;
}

.nw-river__item {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--nw-line);
}

.nw-river__item::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--nw-line);
}

.nw-river__time {
  position: relative;
  font-family: var(--nw-mono);
  font-size: 11px;
  color: var(--nw-muted);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.nw-river__time::after {
  content: "";
  position: absolute;
  left: 43px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nw-bg);
  border: 1px solid var(--nw-line-3);
}

.nw-river__item:first-child .nw-river__time {
  color: var(--nw-lime);
}

.nw-river__item:first-child .nw-river__time::after {
  background: var(--nw-lime);
  border-color: var(--nw-lime);
  box-shadow: 0 0 0 4px var(--nw-lime-wash);
}

.nw-river__item .nw-tag {
  margin-bottom: 5px;
  font-size: 9px;
}

.nw-river__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  font-stretch: 88%;
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}

.nw-river__item:hover .nw-river__title {
  color: var(--nw-lime);
}

.nw-river__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-dim);
}

/* ---------- 07. Market pulse ---------- */
.nw-pulse {
  padding: 0 0 8px;
}

.nw-pulse__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 12px;
}

.nw-pulse__bar h2 {
  font-size: 13px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nw-pulse__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--nw-line);
  background: var(--nw-panel);
}

.nw-pulse__card {
  position: relative;
  padding: 18px 20px 16px;
  border-right: 1px solid var(--nw-line);
  transition: background-color 0.3s;
}

.nw-pulse__card:last-child {
  border-right: 0;
}

.nw-pulse__card:hover {
  background: var(--nw-panel-2);
}

.nw-pulse__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--nw-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-muted);
}

.nw-pulse__top span:last-child {
  color: var(--nw-dim);
}

.nw-pulse__val {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.nw-pulse__num {
  font-size: 30px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.nw-pulse__chg {
  font-family: var(--nw-mono);
  font-size: 11px;
  padding: 3px 6px;
}

.nw-pulse__chg.nw-up {
  background: var(--nw-up-wash);
}

.nw-pulse__chg.nw-down {
  background: var(--nw-down-wash);
}

.nw-spark {
  width: 100%;
  height: 56px;
  margin: 14px 0 10px;
  overflow: visible;
}

.nw-spark__line {
  fill: none;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.nw-spark--up .nw-spark__line {
  stroke: var(--nw-up);
}

.nw-spark--down .nw-spark__line {
  stroke: var(--nw-down);
}

.nw-spark--lime .nw-spark__line {
  stroke: var(--nw-lime);
}

.nw-spark--blue .nw-spark__line {
  stroke: var(--nw-blue);
}

.nw-spark__area {
  opacity: 0.9;
  transition: opacity 1.2s 0.6s;
}

.nw-spark__base {
  stroke: var(--nw-line-2);
  stroke-dasharray: 2 4;
  vector-effect: non-scaling-stroke;
}

.nw-pulse__foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
}

/* ---------- 08. Top stories (asymmetric) ---------- */
.nw-top__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 0;
  border-top: 1px solid var(--nw-line);
  border-left: 1px solid var(--nw-line);
}

.nw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-right: 1px solid var(--nw-line);
  border-bottom: 1px solid var(--nw-line);
  grid-column: span 3;
  transition: background-color 0.3s;
}

.nw-card:hover {
  background: var(--nw-panel);
}

.nw-card__media {
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}

.nw-card:hover .nw-card__media img {
  transform: scale(1.06);
}

.nw-card .nw-tag {
  margin-bottom: 10px;
}

.nw-card__title {
  font-size: 18px;
  font-weight: 700;
  font-stretch: 100%;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.nw-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.nw-card:hover .nw-card__title {
  color: var(--nw-lime);
}

.nw-card__dek {
  margin-top: 8px;
  font-size: 14px;
  color: var(--nw-muted);
  line-height: 1.5;
}

.nw-card__meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-dim);
}

.nw-card--xl {
  grid-column: span 6;
  grid-row: span 2;
  padding: 24px;
}

.nw-card--xl .nw-card__media {
  aspect-ratio: 16 / 11;
  margin-bottom: 22px;
}

.nw-card--xl .nw-card__title {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  font-stretch: 120%;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.nw-card--xl .nw-card__dek {
  font-size: 16px;
  max-width: 54ch;
  margin-top: 14px;
}

.nw-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--nw-line);
}

.nw-card__facts div {
  padding: 12px 12px 0 0;
}

.nw-card__facts dt {
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nw-card__facts dd {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  font-stretch: 92%;
}

/* ---------- 09. Data desk: ETF flows chart + sentiment gauge ---------- */
.nw-desk__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.nw-panel {
  background: var(--nw-panel);
  border: 1px solid var(--nw-line);
  padding: 22px;
  position: relative;
}

.nw-panel--chart {
  grid-column: span 8;
}

.nw-panel--gauge {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}

.nw-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.nw-panel__title {
  font-size: 19px;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.nw-panel__sub {
  margin-top: 4px;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-muted);
}

.nw-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 14px;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-muted);
}

.nw-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nw-legend i {
  width: 10px;
  height: 10px;
  display: inline-block;
}

.nw-legend .nw-legend__c1 {
  background: var(--nw-lime);
}

.nw-legend .nw-legend__c2 {
  background: var(--nw-blue);
}

.nw-legend .nw-legend__c3 {
  background: #9AA6B2;
}

.nw-legend .nw-legend__c4 {
  background: var(--nw-up);
}

.nw-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.nw-chart__grid line {
  stroke: var(--nw-line);
  stroke-width: 1;
}

.nw-chart__zero {
  stroke: var(--nw-line-3);
  stroke-width: 1;
}

.nw-chart__label {
  font-family: var(--nw-mono);
  font-size: 10px;
  fill: var(--nw-dim);
}

.nw-chart__total {
  font-family: var(--nw-mono);
  font-size: 9.5px;
  fill: var(--nw-text-2);
  text-anchor: middle;
  opacity: 1;
  transition: opacity 0.5s;
}

.nw-bar {
  transform-box: view-box;
  transform-origin: 0 170px;
  transition: transform 0.9s var(--nw-ease), opacity 0.2s;
  transition-delay: var(--d, 0s);
}

.nw-bar:hover {
  opacity: 0.75;
}

.nw-bar--c1 {
  fill: var(--nw-lime);
}

.nw-bar--c2 {
  fill: var(--nw-blue);
}

.nw-bar--c3 {
  fill: #9AA6B2;
}

.nw-bar--c4 {
  fill: var(--nw-up);
}

.nw-desk__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--nw-line);
}

.nw-desk__stat {
  padding: 14px 14px 0 0;
}

.nw-desk__stat + .nw-desk__stat {
  padding-left: 14px;
  border-left: 1px solid var(--nw-line);
}

.nw-desk__stat dt {
  font-family: var(--nw-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nw-dim);
}

.nw-desk__stat dd {
  margin-top: 6px;
  font-family: var(--nw-mono);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--nw-text);
}

.nw-desk__stat dd small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
}

/* gauge */
.nw-gauge {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 6px auto 0;
}

.nw-gauge__dial {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.nw-gauge__arc {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: conic-gradient(
    from 270deg,
    var(--nw-down) 0deg 34deg,
    #FF8E6B 36deg 70deg,
    #8A96A3 72deg 106deg,
    #7FE3A8 108deg 142deg,
    var(--nw-up) 144deg 180deg,
    transparent 180deg 360deg
  );
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0 58%, #000 58.5% 70%, transparent 70.5%);
  mask: radial-gradient(circle at 50% 50%, transparent 0 58%, #000 58.5% 70%, transparent 70.5%);
}

.nw-gauge__ticks {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 270deg, var(--nw-line-3) 0deg 0.6deg, transparent 0.6deg 9deg);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0 74%, #000 74.5% 78%, transparent 78.5%);
  mask: radial-gradient(circle at 50% 50%, transparent 0 74%, #000 74.5% 78%, transparent 78.5%);
}

.nw-gauge__needle {
  position: absolute;
  left: calc(50% - 1.5px);
  bottom: 0;
  width: 3px;
  height: 66%;
  background: linear-gradient(to top, var(--nw-text), var(--nw-lime));
  border-radius: 2px;
  transform-origin: 50% 100%;
  transform: rotate(var(--nw-angle, 25deg));
  box-shadow: 0 0 14px var(--nw-lime-glow);
}

.nw-gauge__hub {
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: var(--nw-panel);
  border: 2px solid var(--nw-text);
}

.nw-gauge__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nw-gauge__ends span:first-child {
  color: var(--nw-down);
}

.nw-gauge__ends span:last-child {
  color: var(--nw-up);
}

.nw-gauge__read {
  text-align: center;
  margin-top: 18px;
}

.nw-gauge__num {
  display: block;
  font-size: 64px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.nw-gauge__lbl {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  background: var(--nw-up-wash);
  color: var(--nw-up);
  font-family: var(--nw-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nw-gauge__hist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  padding-top: 20px;
}

.nw-gauge__hist div {
  padding-top: 12px;
  border-top: 1px solid var(--nw-line);
  text-align: center;
}

.nw-gauge__hist dt {
  font-family: var(--nw-mono);
  font-size: 9px;
  color: var(--nw-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nw-gauge__hist dd {
  margin-top: 4px;
  font-family: var(--nw-mono);
  font-size: 15px;
}

.nw-panel__note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--nw-dim);
}

/* ---------- 10. Policy watch ---------- */
.nw-policy__list {
  border-top: 1px solid var(--nw-line);
}

.nw-policy__row {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 150px 110px 28px;
  align-items: center;
  gap: 24px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--nw-line);
  transition: background-color 0.25s, padding 0.35s var(--nw-ease);
}

.nw-policy__row:hover {
  background: var(--nw-panel);
  padding-left: 20px;
}

.nw-juris {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--nw-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--nw-muted);
}

.nw-juris b {
  color: var(--nw-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nw-policy__title {
  font-size: 17px;
  font-weight: 700;
  font-stretch: 92%;
  line-height: 1.3;
}

.nw-policy__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.nw-policy__row:hover .nw-policy__title {
  color: var(--nw-lime);
}

.nw-policy__dek {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--nw-muted);
  font-stretch: 92%;
}

.nw-status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 9px;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.nw-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.nw-status--open {
  color: var(--nw-blue);
}

.nw-status--filed {
  color: var(--nw-text-2);
}

.nw-status--force {
  color: var(--nw-lime);
}

.nw-status--passed {
  color: var(--nw-up);
}

.nw-status--watch {
  color: var(--nw-muted);
  border-style: dashed;
}

.nw-policy__date {
  font-family: var(--nw-mono);
  font-size: 10.5px;
  color: var(--nw-muted);
  font-variant-numeric: tabular-nums;
}

.nw-policy__arrow {
  font-size: 18px;
  color: var(--nw-dim);
  transition: transform 0.3s var(--nw-ease), color 0.2s;
}

.nw-policy__row:hover .nw-policy__arrow {
  transform: translateX(4px);
  color: var(--nw-lime);
}

/* ---------- 11. Research long reads ---------- */
.nw-research__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.nw-long {
  position: relative;
  display: flex;
  flex-direction: column;
}

.nw-long__media {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--nw-line);
}

.nw-long:first-child .nw-long__media {
  aspect-ratio: 16 / 10;
}

.nw-long:hover .nw-long__media img {
  transform: scale(1.06);
}

.nw-long__idx {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: rgba(7, 9, 12, 0.85);
  border: 1px solid var(--nw-line-2);
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-lime);
  letter-spacing: 0.08em;
}

.nw-long__body {
  padding-top: 18px;
}

.nw-long__kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nw-long__title {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.nw-long:first-child .nw-long__title {
  font-size: clamp(24px, 2.3vw, 32px);
}

.nw-long__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
}

.nw-long:hover .nw-long__title {
  color: var(--nw-lime);
}

.nw-long__dek {
  margin-top: 10px;
  color: var(--nw-muted);
  font-size: 14.5px;
}

.nw-long__by {
  margin-top: 14px;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-dim);
}

.nw-long__by b {
  color: var(--nw-text-2);
  font-weight: 500;
}

/* ---------- 12. Newsletter + podcast band ---------- */
.nw-signup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  border: 1px solid var(--nw-line);
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(198, 255, 61, 0.08), transparent 60%),
    var(--nw-panel);
  overflow: hidden;
}

.nw-signup::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: var(--nw-lime);
}

.nw-signup__main {
  padding: 40px;
}

.nw-signup__kicker {
  font-family: var(--nw-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nw-lime);
}

.nw-signup__title {
  margin-top: 14px;
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}

.nw-signup__title em {
  font-style: normal;
  color: var(--nw-lime);
}

.nw-signup__lede {
  margin-top: 16px;
  max-width: 50ch;
  color: var(--nw-text-2);
  font-size: 16px;
}

.nw-form {
  display: flex;
  margin-top: 24px;
  max-width: 520px;
  border: 1px solid var(--nw-line-3);
  background: var(--nw-bg);
  transition: border-color 0.2s;
}

.nw-form:focus-within {
  border-color: var(--nw-lime);
}

.nw-form input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.nw-form input::placeholder {
  color: var(--nw-dim);
}

.nw-form .nw-btn {
  height: 50px;
  border-radius: 0;
}

.nw-form__note {
  margin-top: 10px;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-dim);
  min-height: 1.4em;
}

.nw-form__note.nw-is-ok {
  color: var(--nw-up);
}

.nw-signup__side {
  padding: 40px;
  border-left: 1px solid var(--nw-line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nw-signup__side h3 {
  font-size: 13px;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nw-ep {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--nw-line);
}

.nw-ep__play {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--nw-line-3);
  color: var(--nw-lime);
  transition: background-color 0.2s, color 0.2s;
}

.nw-ep__play:hover {
  background: var(--nw-lime);
  color: var(--nw-bg);
}

.nw-ep__play svg {
  width: 14px;
  height: 14px;
}

.nw-ep__title {
  font-size: 15px;
  font-weight: 600;
  font-stretch: 92%;
  line-height: 1.3;
}

.nw-ep__meta {
  margin-top: 4px;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
}

.nw-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 34px;
}

.nw-wave i {
  flex: 1;
  background: var(--nw-line-3);
  height: var(--h, 40%);
  transform-origin: center;
}

.nw-wave i:nth-child(-n + 14) {
  background: var(--nw-lime);
}

.nw-signup.nw-is-in .nw-wave i {
  animation: nw-wave 1.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -0.11s);
}

/* ---------- 13. Footer ---------- */
.nw-footer {
  margin-top: 40px;
  border-top: 1px solid var(--nw-line);
  background: var(--nw-bg-2);
}

.nw-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 48px 0 36px;
}

.nw-footer__brand p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14px;
  color: var(--nw-muted);
}

.nw-footer__brand .nw-tagline {
  display: block;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--nw-text);
}

.nw-footer__col h4 {
  margin-bottom: 14px;
  font-family: var(--nw-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nw-dim);
}

.nw-footer__col li + li {
  margin-top: 9px;
}

.nw-footer__col a {
  font-size: 14px;
  color: var(--nw-text-2);
  transition: color 0.2s;
}

.nw-footer__col a:hover {
  color: var(--nw-lime);
}

.nw-footer__disclose {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--nw-line);
  background: var(--nw-panel);
  font-size: 13.5px;
  color: var(--nw-text-2);
}

.nw-footer__disclose svg {
  width: 18px;
  height: 18px;
  color: var(--nw-lime);
  flex: 0 0 auto;
}

.nw-footer__disclose a {
  color: var(--nw-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nw-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0 30px;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-dim);
}

.nw-footer__base a:hover {
  color: var(--nw-text);
}

/* ---------- 14. Interior page head (about) ---------- */
.nw-pagehead {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--nw-line);
  position: relative;
  overflow: hidden;
}

.nw-pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--nw-line) 1px, transparent 1px), linear-gradient(90deg, var(--nw-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 90% at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 80% 20%, #000, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.nw-pagehead .nw-wrap {
  position: relative;
}

.nw-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nw-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-dim);
}

.nw-crumbs a:hover {
  color: var(--nw-lime);
}

.nw-crumbs span[aria-hidden] {
  color: var(--nw-line-3);
}

.nw-pagehead__title {
  margin-top: 22px;
  max-width: 15ch;
  font-size: clamp(42px, 7.2vw, 112px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.nw-pagehead__title em {
  font-style: normal;
  color: var(--nw-lime);
}

.nw-pagehead__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 32px;
  align-items: end;
}

.nw-pagehead__lede {
  max-width: 58ch;
  font-size: 19px;
  color: var(--nw-text-2);
  line-height: 1.55;
}

.nw-pagehead__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--nw-line-2);
}

.nw-pagehead__meta div {
  padding: 12px 12px 0 0;
}

.nw-pagehead__meta dt {
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nw-pagehead__meta dd {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
}

/* mission */
.nw-mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.nw-mission__media {
  aspect-ratio: 5 / 4;
  border: 1px solid var(--nw-line);
}

.nw-mission__media figcaption {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(7, 9, 12, 0.85);
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-muted);
}

.nw-mission__body h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.nw-mission__body p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--nw-text-2);
  max-width: 56ch;
}

.nw-mission__body p:first-of-type::first-letter {
  float: left;
  margin: 6px 10px 0 0;
  font-size: 64px;
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.8;
  color: var(--nw-lime);
}

.nw-mission__sign {
  margin-top: 22px;
  font-family: var(--nw-mono);
  font-size: 11px;
  color: var(--nw-muted);
}

/* standards */
.nw-standards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--nw-line);
  border-top: 1px solid var(--nw-line);
}

.nw-std {
  position: relative;
  padding: 26px 22px 28px;
  border-right: 1px solid var(--nw-line);
  border-bottom: 1px solid var(--nw-line);
  transition: background-color 0.3s;
}

.nw-std:hover {
  background: var(--nw-panel);
}

.nw-std__num {
  font-family: var(--nw-mono);
  font-size: 11px;
  color: var(--nw-lime);
}

.nw-std__title {
  margin-top: 26px;
  font-size: 22px;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nw-std p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--nw-muted);
}

.nw-std__rule {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--nw-line-3);
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-text-2);
  line-height: 1.6;
}

/* stats */
.nw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--nw-line);
  border-bottom: 1px solid var(--nw-line);
}

.nw-stat {
  padding: 30px 22px;
  border-right: 1px solid var(--nw-line);
}

.nw-stat:last-child {
  border-right: 0;
}

.nw-stat__num {
  display: block;
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.nw-stat__num small {
  font-size: 0.45em;
  color: var(--nw-lime);
  letter-spacing: 0;
  margin-left: 2px;
}

.nw-stat__lbl {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--nw-muted);
  max-width: 24ch;
}

/* staff */
.nw-staff {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

.nw-person {
  position: relative;
}

.nw-person__media {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--nw-line);
}

.nw-person__media img {
  filter: grayscale(1) contrast(1.06) brightness(0.9);
}

.nw-person:hover .nw-person__media img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.04);
}

.nw-person__beat {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  background: var(--nw-lime);
  color: var(--nw-bg);
  font-family: var(--nw-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nw-person__name {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  font-stretch: 105%;
  letter-spacing: -0.01em;
}

.nw-person__role {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--nw-muted);
}

.nw-person__desk {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--nw-line);
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
  line-height: 1.6;
}

/* tables */
.nw-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--nw-line);
  background: var(--nw-panel);
}

.nw-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.nw-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nw-dim);
  border-bottom: 1px solid var(--nw-line-2);
  background: var(--nw-bg-2);
}

.nw-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--nw-line);
  vertical-align: top;
}

.nw-table tr:last-child td {
  border-bottom: 0;
}

.nw-table tbody tr {
  transition: background-color 0.2s;
}

.nw-table tbody tr:hover {
  background: var(--nw-panel-2);
}

.nw-table td.nw-mono {
  font-size: 11.5px;
  color: var(--nw-text-2);
  white-space: nowrap;
}

.nw-pill {
  display: inline-block;
  margin: 0 6px 4px 0;
  padding: 2px 7px;
  border: 1px solid var(--nw-line-3);
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-text-2);
}

.nw-pill--none {
  border-style: dashed;
  color: var(--nw-dim);
}

.nw-table__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--nw-dim);
}

/* tips */
.nw-tips {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.nw-tip {
  padding: 26px;
  background: var(--nw-panel);
  border: 1px solid var(--nw-line);
  display: flex;
  flex-direction: column;
}

.nw-tip--primary {
  border-color: var(--nw-lime);
  background:
    linear-gradient(180deg, var(--nw-lime-wash), transparent 60%),
    var(--nw-panel);
}

.nw-tip__label {
  font-family: var(--nw-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nw-lime);
}

.nw-tip h3 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nw-tip p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--nw-muted);
}

.nw-tip__code {
  margin-top: 18px;
  padding: 14px;
  background: var(--nw-bg);
  border: 1px solid var(--nw-line-2);
  font-family: var(--nw-mono);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--nw-text);
  word-break: break-all;
}

.nw-tip__code span {
  color: var(--nw-dim);
}

.nw-fpr {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 4px 12px;
  justify-content: start;
  margin-top: 18px;
  padding: 14px;
  background: var(--nw-bg);
  border: 1px solid var(--nw-line-2);
  font-family: var(--nw-mono);
  font-size: 12px;
  color: var(--nw-lime);
  letter-spacing: 0.04em;
}

.nw-tip .nw-btn {
  margin-top: auto;
  align-self: flex-start;
}

.nw-tip__actions {
  margin-top: 22px;
}

/* careers */
.nw-roles {
  border-top: 1px solid var(--nw-line);
}

.nw-role {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 140px 28px;
  gap: 24px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--nw-line);
  transition: background-color 0.25s;
}

.nw-role:hover {
  background: var(--nw-panel);
}

.nw-role__title {
  font-size: 20px;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.015em;
}

.nw-role__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.nw-role:hover .nw-role__title {
  color: var(--nw-lime);
}

.nw-role__dek {
  margin-top: 4px;
  font-size: 14px;
  color: var(--nw-muted);
}

.nw-role__meta {
  font-family: var(--nw-mono);
  font-size: 10.5px;
  color: var(--nw-muted);
}

/* ---------- 15. Article page ---------- */
.nw-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.nw-progress__bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--nw-lime-deep), var(--nw-lime));
  box-shadow: 0 0 12px var(--nw-lime-glow);
  transform: scaleX(0);
  transform-origin: left;
}

.nw-progress__pct {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 55;
  padding: 6px 10px;
  border: 1px solid var(--nw-line-2);
  background: rgba(7, 9, 12, 0.9);
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-muted);
  opacity: 0;
  transition: opacity 0.3s;
}

.nw-progress__pct.nw-is-on {
  opacity: 1;
}

.nw-art__note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nw-line);
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-muted);
}

.nw-art__note b {
  color: var(--nw-lime);
  font-weight: 500;
}

.nw-art__head {
  padding: 40px 0 32px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 20px;
}

.nw-art__head > * {
  grid-column: 2 / span 10;
}

.nw-art__title {
  margin-top: 20px;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.nw-art__dek {
  margin-top: 22px;
  max-width: 62ch;
  font-size: 21px;
  line-height: 1.45;
  color: var(--nw-text-2);
  font-stretch: 96%;
}

.nw-art__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--nw-line);
}

.nw-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nw-author__img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--nw-line-2);
  flex: 0 0 auto;
}

.nw-author__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.nw-author__name {
  font-size: 15px;
  font-weight: 700;
}

.nw-author__name a:hover {
  color: var(--nw-lime);
}

.nw-author__role {
  font-size: 13px;
  color: var(--nw-muted);
}

.nw-stamps {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--nw-mono);
  font-size: 10.5px;
  color: var(--nw-muted);
}

.nw-stamps dt {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nw-dim);
}

.nw-stamps dd {
  margin-top: 3px;
  color: var(--nw-text-2);
}

.nw-stamps .nw-is-updated dd {
  color: var(--nw-lime);
}

.nw-art__figure {
  margin-bottom: 40px;
}

.nw-art__figure .nw-media {
  aspect-ratio: 21 / 9;
  border: 1px solid var(--nw-line);
}

.nw-art__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  font-size: 13px;
  color: var(--nw-muted);
}

.nw-art__figure figcaption span {
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
  white-space: nowrap;
}

.nw-art__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 20px;
  align-items: start;
}

.nw-share {
  grid-column: 1 / span 1;
  position: sticky;
  top: calc(var(--nw-head-h) + 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nw-share__lbl {
  font-family: var(--nw-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nw-dim);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 6px;
}

.nw-share__btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--nw-line-2);
  color: var(--nw-text-2);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.nw-share__btn:hover {
  border-color: var(--nw-lime);
  color: var(--nw-lime);
}

.nw-share__btn svg {
  width: 16px;
  height: 16px;
}

.nw-share__btn.nw-is-copied {
  background: var(--nw-lime);
  color: var(--nw-bg);
  border-color: var(--nw-lime);
}

.nw-share__tip {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 7px;
  background: var(--nw-lime);
  color: var(--nw-bg);
  font-family: var(--nw-mono);
  font-size: 9px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.nw-share__btn.nw-is-copied .nw-share__tip {
  opacity: 1;
}

.nw-prose {
  grid-column: 3 / span 7;
  font-size: 18.5px;
  line-height: 1.72;
  color: var(--nw-text-2);
  font-stretch: 98%;
}

.nw-prose > * + * {
  margin-top: 1.15em;
}

.nw-prose p strong {
  color: var(--nw-text);
  font-weight: 600;
}

.nw-prose a {
  color: var(--nw-blue);
  text-decoration: underline;
  text-decoration-color: rgba(90, 169, 255, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.nw-prose a:hover {
  text-decoration-color: var(--nw-blue);
}

.nw-prose h2 {
  margin-top: 2em;
  font-size: 28px;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--nw-text);
}

.nw-prose > p.nw-dropcap::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  font-size: 76px;
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.78;
  color: var(--nw-text);
}

.nw-dateline {
  font-family: var(--nw-mono);
  font-size: 0.68em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nw-lime);
  margin-right: 4px;
}

.nw-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 1px 7px;
  margin: 0 2px;
  border: 1px solid var(--nw-line-2);
  background: var(--nw-panel);
  font-family: var(--nw-mono);
  font-size: 0.66em;
  line-height: 1.6;
  color: var(--nw-text);
  white-space: nowrap;
  vertical-align: 0.12em;
}

.nw-chip b {
  font-weight: 500;
}

.nw-chip.nw-is-up b {
  color: var(--nw-up);
}

.nw-chip.nw-is-down b {
  color: var(--nw-down);
}

.nw-takeaways {
  padding: 24px 26px;
  border: 1px solid var(--nw-line-2);
  border-left: 3px solid var(--nw-lime);
  background: var(--nw-panel);
}

.nw-takeaways h3 {
  font-family: var(--nw-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nw-lime);
}

.nw-takeaways ol {
  margin-top: 14px;
  counter-reset: nw-take;
}

.nw-takeaways li {
  position: relative;
  padding: 10px 0 10px 40px;
  border-top: 1px solid var(--nw-line);
  font-size: 16px;
  line-height: 1.5;
  color: var(--nw-text);
  counter-increment: nw-take;
}

.nw-takeaways li::before {
  content: "0" counter(nw-take);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--nw-mono);
  font-size: 11px;
  color: var(--nw-muted);
}

.nw-pull {
  position: relative;
  margin: 2em 0;
  padding: 26px 0 22px;
  border-top: 2px solid var(--nw-text);
  border-bottom: 1px solid var(--nw-line);
}

.nw-pull p {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--nw-text);
}

.nw-pull p::before {
  content: "\201C";
  color: var(--nw-lime);
}

.nw-pull p::after {
  content: "\201D";
  color: var(--nw-lime);
}

.nw-pull cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--nw-mono);
  font-size: 10.5px;
  color: var(--nw-muted);
}

.nw-inchart {
  margin: 2em 0;
  padding: 22px;
  border: 1px solid var(--nw-line);
  background: var(--nw-panel);
}

.nw-inchart__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.nw-inchart__title {
  font-size: 17px;
  font-weight: 700;
  font-stretch: 108%;
  color: var(--nw-text);
  line-height: 1.25;
}

.nw-inchart__sub {
  margin-top: 4px;
  font-family: var(--nw-mono);
  font-size: 10px;
  color: var(--nw-muted);
}

.nw-cum__line {
  fill: none;
  stroke: var(--nw-lime);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.nw-cum__area {
  transition: opacity 1.2s 0.8s;
}

.nw-cum__dot {
  fill: var(--nw-lime);
  stroke: var(--nw-panel);
  stroke-width: 3;
  transition: opacity 0.4s 1.6s;
}

.nw-inchart figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--nw-line);
  font-family: var(--nw-mono);
  font-size: 9.5px;
  color: var(--nw-dim);
  line-height: 1.6;
}

.nw-update {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border: 1px dashed var(--nw-line-3);
  background: rgba(90, 169, 255, 0.04);
  font-size: 15px;
  line-height: 1.55;
}

.nw-update__tag {
  font-family: var(--nw-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nw-blue);
  padding-top: 3px;
  white-space: nowrap;
}

.nw-update p {
  color: var(--nw-text-2);
}

.nw-update time {
  font-family: var(--nw-mono);
  font-size: 0.8em;
  color: var(--nw-text);
}

.nw-prose .nw-sourcing {
  font-size: 14px;
  color: var(--nw-muted);
  padding-top: 18px;
  border-top: 1px solid var(--nw-line);
}

.nw-aside {
  grid-column: 10 / span 3;
  position: sticky;
  top: calc(var(--nw-head-h) + 24px);
  display: grid;
  gap: 16px;
}

.nw-aside__box {
  padding: 18px;
  border: 1px solid var(--nw-line);
  background: var(--nw-panel);
}

.nw-aside__box h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--nw-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nw-muted);
}

.nw-aside__box h3 span {
  color: var(--nw-dim);
}

.nw-quotes {
  margin-top: 12px;
}

.nw-quotes li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 10px;
  padding: 10px 0;
  border-top: 1px solid var(--nw-line);
  font-family: var(--nw-mono);
}

.nw-quotes__sym {
  font-size: 12px;
  font-weight: 600;
  color: var(--nw-text);
}

.nw-quotes__px {
  font-size: 12px;
  color: var(--nw-text-2);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.nw-quotes__name {
  font-size: 9.5px;
  color: var(--nw-dim);
}

.nw-quotes__chg {
  font-size: 10px;
  text-align: right;
}

.nw-quotes__stamp {
  margin-top: 10px;
  font-family: var(--nw-mono);
  font-size: 9px;
  color: var(--nw-dim);
}

.nw-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.nw-topics a {
  padding: 5px 9px;
  border: 1px solid var(--nw-line-2);
  font-size: 12.5px;
  color: var(--nw-text-2);
  transition: border-color 0.2s, color 0.2s;
}

.nw-topics a:hover {
  border-color: var(--nw-lime);
  color: var(--nw-lime);
}

.nw-bio {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  margin-top: 2.4em;
  padding: 24px;
  border: 1px solid var(--nw-line);
  background: var(--nw-panel);
}

.nw-bio__img {
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 1px solid var(--nw-line-2);
}

.nw-bio__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.nw-bio__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--nw-text);
  line-height: 1.3;
}

.nw-bio__name span {
  display: block;
  font-family: var(--nw-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--nw-muted);
  margin-top: 2px;
}

.nw-bio p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--nw-muted);
}

.nw-bio__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-family: var(--nw-mono);
  font-size: 10.5px;
}

.nw-bio__links a {
  color: var(--nw-blue);
  text-decoration: none;
}

.nw-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--nw-line);
  border-left: 1px solid var(--nw-line);
}

.nw-related__grid .nw-card {
  grid-column: auto;
}

/* ---------- 16. Reveal + motion states ----------
   Content is only hidden when html has .nw-motion (set before paint by
   an inline script, and only when reduced motion is NOT requested).
   motion.js reveals; a 3s safety net forces everything visible. */
.nw-motion .nw-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.nw-motion .nw-split .nw-w__i {
  transform: translateY(105%);
}

.nw-motion .nw-spark__line,
.nw-motion .nw-cum__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.nw-motion .nw-spark__area,
.nw-motion .nw-cum__area,
.nw-motion .nw-cum__dot {
  opacity: 0;
}

.nw-motion .nw-is-drawn .nw-spark__area,
.nw-motion .nw-is-drawn .nw-cum__area,
.nw-motion .nw-is-drawn .nw-cum__dot {
  opacity: 1;
}

.nw-motion .nw-chart .nw-bar {
  transform: scaleY(0);
}

.nw-motion .nw-chart .nw-chart__total {
  opacity: 0;
}

.nw-motion .nw-chart.nw-is-in .nw-bar {
  transform: scaleY(1);
}

.nw-motion .nw-chart.nw-is-in .nw-chart__total {
  opacity: 1;
  transition-delay: 1s;
}

.nw-motion .nw-gauge__needle {
  transform: rotate(-90deg);
}

/* ---------- 17. Keyframes ---------- */
@keyframes nw-tape {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes nw-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--nw-lime-glow);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(198, 255, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 255, 61, 0);
  }
}

@keyframes nw-blink {
  0%,
  72% {
    opacity: 1;
  }
  73%,
  86% {
    opacity: 0.15;
  }
  87%,
  100% {
    opacity: 1;
  }
}

@keyframes nw-flash-up {
  0% {
    background-color: rgba(43, 217, 159, 0.28);
  }
  100% {
    background-color: transparent;
  }
}

@keyframes nw-flash-down {
  0% {
    background-color: rgba(255, 90, 95, 0.28);
  }
  100% {
    background-color: transparent;
  }
}

@keyframes nw-wave {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1);
  }
}

/* ---------- 18. Responsive: 1100px ---------- */
@media (max-width: 1100px) {
  :root {
    --nw-gutter: 22px;
  }

  .nw-links {
    display: none;
  }

  .nw-nav__inner {
    gap: 14px;
  }

  .nw-nav__actions {
    margin-left: auto;
  }

  .nw-burger {
    display: inline-flex;
  }

  .nw-kbar-btn__text {
    min-width: 0;
  }

  .nw-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-lead {
    grid-column: auto;
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--nw-line);
  }

  .nw-river {
    grid-column: auto;
    padding: 24px 0 28px;
  }

  .nw-river__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .nw-pulse__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nw-pulse__card:nth-child(2) {
    border-right: 0;
  }

  .nw-pulse__card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--nw-line);
  }

  .nw-card--xl {
    grid-column: span 12;
    grid-row: auto;
  }

  .nw-card {
    grid-column: span 6;
  }

  .nw-panel--chart,
  .nw-panel--gauge {
    grid-column: span 12;
  }

  .nw-panel--gauge {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 28px;
    align-items: center;
  }

  .nw-panel--gauge .nw-panel__head,
  .nw-panel--gauge .nw-panel__note {
    grid-column: 1 / -1;
  }

  .nw-policy__row {
    grid-template-columns: 110px minmax(0, 1fr) 140px 28px;
  }

  .nw-policy__date {
    display: none;
  }

  .nw-research__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nw-long:first-child {
    grid-column: 1 / -1;
  }

  .nw-signup {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-signup__side {
    border-left: 0;
    border-top: 1px solid var(--nw-line);
  }

  .nw-footer__top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nw-footer__brand {
    grid-column: 1 / -1;
  }

  .nw-pagehead__row,
  .nw-mission {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .nw-standards,
  .nw-staff {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nw-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nw-stat:nth-child(2) {
    border-right: 0;
  }

  .nw-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--nw-line);
  }

  .nw-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nw-tip--primary {
    grid-column: 1 / -1;
  }

  .nw-art__head > * {
    grid-column: 1 / -1;
  }

  .nw-share {
    grid-column: 1 / span 1;
  }

  .nw-prose {
    grid-column: 2 / span 11;
  }

  .nw-aside {
    grid-column: 2 / span 11;
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 40px;
    grid-row: 2;
  }
}

/* ---------- 19. Responsive: 760px ---------- */
@media (max-width: 760px) {
  :root {
    --nw-gutter: 16px;
    --nw-nav-h: 56px;
  }

  body {
    font-size: 15px;
  }

  .nw-tape__label {
    padding: 0 10px 0 var(--nw-gutter);
  }

  .nw-tape__label .nw-tape__long,
  .nw-tape__note {
    display: none;
  }

  .nw-logo {
    font-size: 17px;
  }

  .nw-kbar-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }

  .nw-kbar-btn__text,
  .nw-kbar-btn .nw-kbd {
    display: none;
  }

  .nw-nav__actions .nw-btn--lime {
    height: 38px;
    padding: 0 12px;
  }

  .nw-section {
    padding: 40px 0;
  }

  .nw-sechead {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nw-sechead__aside {
    justify-content: flex-start;
  }

  .nw-lead__media {
    aspect-ratio: 4 / 5;
  }

  .nw-lead__over {
    padding: 20px 18px;
  }

  .nw-lead__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-lead__stat {
    text-align: left;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--nw-line);
  }

  .nw-lead__dek {
    font-size: 16px;
  }

  .nw-river__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-pulse__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-pulse__card {
    border-right: 0;
    border-bottom: 1px solid var(--nw-line);
  }

  .nw-pulse__card:last-child {
    border-bottom: 0;
  }

  .nw-card,
  .nw-card--xl {
    grid-column: span 12;
  }

  .nw-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0 16px;
    padding: 16px;
  }

  .nw-card .nw-card__media {
    grid-row: span 3;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
  }

  .nw-card .nw-card__dek {
    display: none;
  }

  .nw-card__title {
    font-size: 16px;
  }

  .nw-card__meta {
    padding-top: 10px;
  }

  .nw-card--xl {
    display: flex;
    padding: 18px;
  }

  .nw-card--xl .nw-card__media {
    aspect-ratio: 4 / 3;
    margin-bottom: 18px;
  }

  .nw-card--xl .nw-card__dek {
    display: block;
  }

  .nw-card__facts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nw-panel {
    padding: 16px;
  }

  .nw-panel__head {
    flex-direction: column;
  }

  .nw-desk__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nw-desk__stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .nw-desk__stat dd {
    font-size: 16px;
  }

  .nw-panel--gauge {
    display: flex;
  }

  .nw-policy__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    padding: 18px 4px;
  }

  .nw-policy__row:hover {
    padding-left: 8px;
  }

  .nw-policy__row .nw-juris {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 8px;
  }

  .nw-policy__main {
    grid-column: 1 / -1;
  }

  .nw-policy__arrow {
    display: none;
  }

  .nw-policy__date {
    display: block;
    justify-self: end;
  }

  .nw-research__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-signup__main,
  .nw-signup__side {
    padding: 26px 18px;
  }

  .nw-form {
    flex-direction: column;
  }

  .nw-form .nw-btn {
    width: 100%;
  }

  .nw-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .nw-footer__disclose {
    align-items: flex-start;
  }

  .nw-pagehead {
    padding: 36px 0 32px;
  }

  .nw-pagehead__lede {
    font-size: 16.5px;
  }

  .nw-pagehead__meta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nw-standards,
  .nw-stats,
  .nw-tips {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-stat {
    border-right: 0;
    border-bottom: 1px solid var(--nw-line);
  }

  .nw-stat:last-child {
    border-bottom: 0;
  }

  .nw-staff {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .nw-person__name {
    font-size: 15.5px;
  }

  .nw-person__desk {
    display: none;
  }

  .nw-fpr {
    grid-template-columns: repeat(2, auto);
    font-size: 11px;
  }

  .nw-role {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
  }

  .nw-role > div:first-child {
    grid-column: 1 / -1;
  }

  .nw-role__arrow {
    display: none;
  }

  .nw-art__head {
    padding: 28px 0 24px;
  }

  .nw-art__dek {
    font-size: 17.5px;
  }

  .nw-art__figure .nw-media {
    aspect-ratio: 4 / 3;
  }

  .nw-art__figure figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .nw-share {
    grid-column: 1 / -1;
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 24px;
  }

  .nw-share__lbl {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0 8px 0 0;
  }

  .nw-share__tip {
    left: 50%;
    top: auto;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
  }

  .nw-prose,
  .nw-aside {
    grid-column: 1 / -1;
  }

  .nw-aside {
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-prose {
    font-size: 17px;
  }

  .nw-prose h2 {
    font-size: 23px;
  }

  .nw-takeaways {
    padding: 18px;
  }

  .nw-inchart {
    padding: 14px;
  }

  .nw-inchart__head {
    flex-direction: column;
  }

  .nw-bio {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .nw-bio__img {
    width: 64px;
    height: 64px;
  }

  .nw-related__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-related__grid .nw-card {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .nw-nav__actions .nw-btn--lime span {
    display: none;
  }

  .nw-nav__actions .nw-btn--lime::after {
    content: "Join";
  }

  .nw-staff {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nw-gauge__num {
    font-size: 54px;
  }
}

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .nw-tape__track {
    animation: none !important;
  }

  .nw-tape__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .nw-tape__group[aria-hidden="true"] {
    display: none;
  }

  .nw-logo__dot,
  .nw-tape__pulse,
  .nw-live::before {
    animation: none !important;
  }
}

/* ---------- 21. Print ---------- */
@media print {
  .nw-masthead,
  .nw-share,
  .nw-aside,
  .nw-signup,
  .nw-footer,
  .nw-progress,
  .nw-progress__pct,
  .nw-grain {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .nw-prose {
    color: #000;
  }
}

/* ---------- 22. Late additions: scrolled masthead, article chart ---------- */
.nw-masthead.nw-is-scrolled {
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.9);
}

.nw-cum {
  width: 100%;
  height: auto;
  overflow: visible;
}

.nw-cum__grid line {
  stroke: var(--nw-line);
}

.nw-cum__tag {
  font-family: var(--nw-mono);
  font-size: 10px;
  fill: var(--nw-lime);
}
