/* ============================================================
   NETA DAO — Night signal
   Black ground, hairline rules, condensed caps, mono labels, and one
   signal: the pink-to-cyan of the Neta mark. Shared by every page.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Sofia+Sans+Extra+Condensed:wght@800&family=Barlow:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Mono:wght@400;500&family=Anton&display=swap');

:root {
  --ns-bg: #000000;
  --ns-band: #0B0C0E;
  --ns-raised: #14161A;
  --ns-line: #2A2D33;
  --ns-line-strong: #4A4F57;
  --ns-text: #EDEEF0;
  --ns-soft: #C9CDD3;
  --ns-muted: #A3A8B0;
  --ns-dim: #7D838C;
  --ns-pink: #F2559B;
  --ns-cyan: #39C6EE;
  --ns-grad: linear-gradient(90deg, #F2559B 0%, #39C6EE 100%);
  --ns-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ns-wordmark: 'Sofia Sans Extra Condensed', 'Barlow Condensed', sans-serif;
  --ns-body: 'Barlow', system-ui, sans-serif;
  --ns-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ns-max: 1360px;
  --ns-pad: clamp(16px, 4vw, 40px);

  /* names the NetaDATA and Academy pages' own styles use */
  --bg: var(--ns-bg);
  --bg-panel: var(--ns-band);
  --bg-raised: var(--ns-raised);
  --gutter: var(--ns-line);
  --rule: 1px solid var(--ns-line);
  --text: var(--ns-text);
  --text-muted: var(--ns-muted);
  --text-dim: var(--ns-dim);
  --pink: var(--ns-pink);
  --blue: var(--ns-cyan);
  --gradient: var(--ns-grad);
  --font-display: var(--ns-display);
  --font-body: var(--ns-body);
  --font-mono: var(--ns-mono);
  --paper: var(--ns-text);
  --paper-dim: var(--ns-soft);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ns-bg); color: var(--ns-text); font: 400 16px/1.6 var(--ns-body); -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; }
a { color: var(--ns-text); }
a:hover { color: var(--ns-cyan); }
:focus-visible { outline: 2px solid var(--ns-cyan); outline-offset: 3px; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.ns-wrap { max-width: var(--ns-max); margin: 0 auto; padding-inline: var(--ns-pad); }
.ns-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ns-skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ns-text); color: #000; font: 500 12px/1.2 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.ns-skip:focus { top: 12px; color: #000; }

/* ── Header ─────────────────────────────────────────────── */
.ns-header { border-bottom: 1px solid var(--ns-line); }
.ns-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.ns-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ns-brand img { display: block; width: auto; height: 28px; }
.ns-brand span { font: 800 26px/1 var(--ns-display); letter-spacing: .02em; text-transform: uppercase; color: var(--ns-text); }
.ns-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font: 400 12px/1.4 var(--ns-mono); letter-spacing: .12em; text-transform: uppercase; }
.ns-nav a { text-decoration: none; padding-block: 6px; }
.ns-nav a[aria-current="page"] { color: var(--ns-text); box-shadow: inset 0 -1px 0 var(--ns-text); }
.ns-nav .ns-pill { padding: 9px 16px; border: 1px solid var(--ns-text); border-radius: 999px; }
.ns-nav .ns-pill:hover { background: var(--ns-text); color: #000; }
/* Initiatives: a small menu of the family's sites. It opens on hover with a pointer, or with its button; Escape,
   a click elsewhere or moving focus away closes it (main.js). Play is listed, not linked, until it opens. */
.ns-menu { position: relative; }
.ns-menu__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; color: var(--ns-text);
  font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.ns-menu__toggle:hover { color: var(--ns-cyan); }
.ns-menu__toggle svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .12s ease; }
.ns-menu[data-open] .ns-menu__toggle svg { transform: rotate(180deg); }
.ns-menu__list { display: none; position: absolute; top: calc(100% + 10px); left: -16px; z-index: 50; min-width: 300px; margin: 0; padding: 8px 0;
  list-style: none; background: var(--ns-band); border: 1px solid var(--ns-line); border-radius: 6px; }
.ns-menu__list::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 11px; }
.ns-menu[data-open] .ns-menu__list { display: block; }
@media (hover: hover) { .ns-menu:hover .ns-menu__list { display: block; } }
.ns-menu__list a, .ns-menu__soon { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 10px 16px; text-decoration: none; }
.ns-menu__list a:hover { background: var(--ns-raised); color: var(--ns-text); }
.ns-menu__list b { font: 700 22px/1 var(--ns-display); letter-spacing: .02em; }
.ns-menu__list span span, .ns-menu__list a span { font: 400 11px/1.4 var(--ns-mono); letter-spacing: .12em; color: var(--ns-muted); white-space: nowrap; }
.ns-menu__soon { cursor: default; color: var(--ns-dim); }
.ns-menu__soon span { color: var(--ns-cyan) !important; }

/* ── Type ───────────────────────────────────────────────── */
.ns-kicker { font: 400 12px/1.4 var(--ns-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ns-muted); }
.ns-h1 { font: 800 clamp(60px, 7.6vw, 120px)/.86 var(--ns-display); text-transform: uppercase; letter-spacing: -.005em; }
.ns-h1--page { font-size: clamp(56px, 7vw, 104px); }
.ns-h2 { font: 800 clamp(44px, 4.6vw, 64px)/.9 var(--ns-display); text-transform: uppercase; }
.ns-h3 { font: 700 26px/1.05 var(--ns-display); text-transform: uppercase; }
.ns-grad { background: var(--ns-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ns-quiet { color: var(--ns-dim); }
.ns-lede { max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--ns-soft); }
.ns-prose { display: flex; flex-direction: column; gap: 1em; max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--ns-soft); }
.ns-prose strong { color: var(--ns-text); font-weight: 500; }
.ns-mono { font: 400 12px/1.6 var(--ns-mono); color: var(--ns-dim); word-break: break-all; }
.ns-label { font: 400 11px/1.4 var(--ns-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ns-dim); }

/* ── Buttons and links ──────────────────────────────────── */
.ns-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ns-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 23px; border: 1px solid var(--ns-text); border-radius: 999px; background: transparent; color: var(--ns-text); text-decoration: none; font: 500 13px/1.2 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ns-btn:hover { background: var(--ns-raised); color: var(--ns-text); }
.ns-btn--solid { background: var(--ns-text); color: #000; }
.ns-btn--solid:hover { background: var(--ns-cyan); border-color: var(--ns-cyan); color: #000; }
.ns-btn--sm { padding: 10px 16px; font-size: 12px; }
.ns-link { font: 500 12px/1.4 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.ns-link:hover { color: var(--ns-cyan); }

/* ── Sections ───────────────────────────────────────────── */
.ns-section { padding-block: clamp(48px, 6vw, 88px); }
.ns-section--rule { border-top: 1px solid var(--ns-line); }
.ns-band { background: var(--ns-band); border-top: 1px solid var(--ns-line); border-bottom: 1px solid var(--ns-line); }
.ns-band + .ns-section--rule, .ns-band + .ns-band { border-top: 0; }
.ns-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; margin-bottom: 32px; }
.ns-section-head .ns-lede { margin-top: 18px; }
.ns-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.ns-split > :first-child { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 899px) { .ns-split { grid-template-columns: 1fr; } }

/* page head of an inner page */
.ns-pagehead { padding-block: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.ns-pagehead__copy { flex: 999 1 560px; display: flex; flex-direction: column; gap: 24px; }
.ns-pagehead__aside { flex: 1 1 280px; max-width: 420px; }

/* ── Home: hero ─────────────────────────────────────────── */
.ns-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-block: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.ns-hero__copy { flex: 999 1 560px; display: flex; flex-direction: column; gap: 26px; }
.ns-hero__mark { flex: 1 1 360px; display: block; width: 100%; max-width: 520px; aspect-ratio: 1; height: auto; margin: 0 auto; object-fit: contain; mix-blend-mode: screen; }

/* state of the DAO: label over value, on hairlines */
.ns-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ns-line); border-bottom: 1px solid var(--ns-line); }
.ns-stats > div { padding: 20px 20px 22px; border-left: 1px solid var(--ns-line); }
.ns-stats > div:first-child { padding-left: 0; border-left: 0; }
.ns-stats > div:last-child { padding-right: 0; }
.ns-stats dt { font: 400 11px/1.4 var(--ns-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ns-dim); }
.ns-stats dd { margin-top: 8px; font: 700 26px/1.1 var(--ns-display); text-transform: uppercase; }
.ns-stats dd.ns-quiet { color: var(--ns-muted); }
@media (max-width: 899px) {
  .ns-stats { grid-template-columns: 1fr 1fr; }
  .ns-stats > div { padding: 18px 16px 20px; border-left: 0; }
  .ns-stats > div:nth-child(odd) { padding-left: 0; }
  .ns-stats > div:nth-child(even) { padding-right: 0; border-left: 1px solid var(--ns-line); }
  .ns-stats > div:nth-child(n+3) { border-top: 1px solid var(--ns-line); }
}
@media (max-width: 599px) {   /* one fact to a row: the label on the left, the value on the right */
  .ns-stats { grid-template-columns: 1fr; }
  .ns-stats > div, .ns-stats > div:nth-child(odd), .ns-stats > div:nth-child(even) { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-left: 0; }
  .ns-stats > div + div { border-top: 1px solid var(--ns-line); }
  .ns-stats dd { margin: 0; font-size: 22px; text-align: right; }
}
.ns-nowrap { white-space: nowrap; }

.ns-statement { max-width: 1100px; font: 800 clamp(40px, 4.8vw, 76px)/.95 var(--ns-display); text-transform: uppercase; }

/* ── Home: on the record, and ahead ─────────────────────── */
.ns-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font: 400 11px/1.4 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ns-dim); }
.ns-legend span { display: flex; align-items: center; gap: 8px; }
.ns-legend i { display: block; width: 28px; height: 3px; background: var(--ns-grad); }
.ns-legend i.is-ahead { background: repeating-linear-gradient(90deg, var(--ns-cyan) 0 7px, transparent 7px 13px); }
.ns-timeline { overflow-x: auto; scrollbar-width: thin; }
.ns-timeline__track { position: relative; min-width: calc(var(--steps, 7) * 130px); }   /* --steps: how many; --done: how many are done */
.ns-timeline__done, .ns-timeline__ahead { position: absolute; top: 7.5px; height: 3px; }
.ns-timeline__done { left: 9px; width: calc((var(--done, 5) - 1) * 100% / var(--steps, 7)); background: var(--ns-grad); }
.ns-timeline__ahead { left: calc((var(--done, 5) - 1) * 100% / var(--steps, 7) + 9px); right: 0; background: repeating-linear-gradient(90deg, var(--ns-cyan) 0 7px, transparent 7px 13px);
  -webkit-mask-image: linear-gradient(90deg, #000 75%, transparent); mask-image: linear-gradient(90deg, #000 75%, transparent); }
.ns-timeline ol { position: relative; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(var(--steps, 7), minmax(0, 1fr)); }
.ns-timeline li { display: flex; flex-direction: column; gap: 10px; padding-right: 22px; }
.ns-timeline__dot { position: relative; z-index: 1; display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--dot, var(--ns-pink)); border: 3px solid var(--dot, var(--ns-pink)); }   /* done: filled */
.ns-timeline li.is-ahead .ns-timeline__dot { background: var(--ns-band); border-style: dashed; }   /* ahead: open, dashed */
.ns-timeline__when { font: 500 12px/1.4 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ns-muted); }
.ns-timeline li.is-ahead .ns-timeline__when { color: var(--ns-cyan); }
.ns-timeline__what { font-size: 16px; line-height: 1.5; }
.ns-timeline li.is-ahead .ns-timeline__what { color: var(--ns-soft); }

/* ── Home: initiatives ──────────────────────────────────── */
.ns-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ns-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 28px; border: 1px solid var(--ns-line); border-radius: 6px; background: var(--ns-band); color: var(--ns-text); text-decoration: none; transition: border-color .2s ease; }
a.ns-card:hover { color: var(--ns-text); border-color: var(--ns-line-strong); }
.ns-card__mark { display: flex; align-items: flex-end; min-height: 96px; }
.ns-card__state { font: 500 11px/1.4 var(--ns-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ns-muted); }
.ns-card__state--now { color: var(--ns-pink); }
.ns-card__state--ahead { color: var(--ns-cyan); }
.ns-card__body { font-size: 16px; line-height: 1.55; color: var(--ns-soft); }
.ns-card__foot { margin-top: auto; font: 500 12px/1.4 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; }
/* the Academy's word, filled with its pigment film on hover (the film loads on first hover) */
.ns-liquid { position: relative; display: inline-block; font: 800 92px/.8 var(--ns-wordmark); text-transform: uppercase; letter-spacing: -.005em; }
.ns-liquid__film { position: absolute; inset: 0; background-position: center; background-size: cover; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transition: opacity .35s ease; }
.ns-card:hover .ns-liquid__film, .ns-card:focus-visible .ns-liquid__film { opacity: 1; }
/* Fork: whole at rest; on hover the bottom half drops and the slash is drawn between */
.ns-fork { display: block; width: 300px; max-width: 100%; height: auto; overflow: visible; color: var(--ns-text); }
.ns-fork__bottom { transform: translate(-6px, -5px); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.ns-fork__slash { fill: none; stroke-width: 5; stroke-opacity: .9; stroke-dasharray: 241 241; stroke-dashoffset: 241; opacity: 0; transition: opacity .2s ease-out, stroke-dashoffset 0s linear .2s; }
.ns-card:hover .ns-fork__bottom, .ns-card:focus-visible .ns-fork__bottom { transform: none; transition: transform .46s cubic-bezier(.3, 1.4, .5, 1) 70ms; }
.ns-card:hover .ns-fork__slash, .ns-card:focus-visible .ns-fork__slash { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .34s cubic-bezier(.2, .6, .25, 1), opacity 0s; }
/* Ludum: its own wordmark, the name in Anton with the byline beside it behind a perforation, a column of punched holes in
   the Neta colours: Ludum the ticket, its byline the stub. Pointing at the card runs a light down the holes (main.js). The
   first time only, when the light has finished, "Games by" glows pink and "Neta DAO" cyan, and they stay lit for good. */
.ns-ludum { display: inline-flex; align-items: stretch; gap: 14px; }
.ns-ludum__name { font: 400 clamp(64px, 17vw, 88px)/.8 Anton, 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: -.005em; }
.ns-ludum__by { position: relative; display: flex; flex-direction: column; justify-content: center; padding-left: 14px; font: 500 11px/1.35 var(--ns-mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--ns-muted); }
.ns-ludum__holes { position: absolute; left: -3px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; }
.ns-ludum__holes i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--hc); }
.ns-ludum.is-run .ns-ludum__holes i { animation: ns-signal .5s ease-out both; animation-delay: calc(var(--n) * 80ms); }
@keyframes ns-signal { 0% { background: var(--hc); } 30% { background: #fff; box-shadow: 0 0 8px 1px var(--hc); } 100% { background: var(--hc); box-shadow: none; } }
.ns-ludum.is-glow .ns-ludum__line { animation: ns-sign 1.4s ease-out both; animation-delay: calc(var(--k) * 160ms); }
@keyframes ns-sign { 0% { color: var(--ns-muted); text-shadow: none; } 30%, 55% { color: var(--g); text-shadow: 0 0 6px var(--gs), 0 0 16px var(--gs); } 100% { color: var(--g); text-shadow: none; } }
.ns-ludum.is-lit .ns-ludum__line { color: var(--g); }
.ns-tbd { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border: 1px dashed var(--ns-line-strong); border-radius: 4px; }
.ns-tbd b { font: 500 15px/1.2 var(--ns-mono); }
.ns-tbd span { font: 400 11px/1.3 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ns-dim); }
@media (prefers-reduced-motion: reduce) { .ns-liquid__film, .ns-fork__bottom, .ns-fork__slash { transition: none; } .ns-liquid__film { display: none; } .ns-ludum .ns-ludum__holes i, .ns-ludum .ns-ludum__line { animation: none !important; } }

/* ── Home: join ─────────────────────────────────────────── */
.ns-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.ns-join h2 { flex: 1 1 360px; font: 800 clamp(40px, 4.2vw, 60px)/.92 var(--ns-display); text-transform: uppercase; }
.ns-tiles { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.ns-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--ns-line); border-radius: 6px; text-decoration: none; }
.ns-tile:hover { border-color: var(--ns-line-strong); color: var(--ns-text); background: var(--ns-band); }
.ns-tile--key { border-color: var(--ns-text); }
.ns-tile b { font: 700 24px/1 var(--ns-display); text-transform: uppercase; }
.ns-tile span { font-size: 14px; line-height: 1.45; color: var(--ns-muted); }

/* ── Inner pages: blocks ────────────────────────────────── */
/* label and text on hairlines (Constitution provisions, parameters, validator details) */
.ns-facts { border-top: 1px solid var(--ns-line); }
.ns-facts > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--ns-line); }
.ns-facts dt, .ns-facts .ns-facts__label { font: 400 11px/1.4 var(--ns-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ns-dim); }
.ns-facts dd, .ns-facts p { font-size: 15px; line-height: 1.6; color: var(--ns-soft); }
.ns-facts dd strong { color: var(--ns-text); font-weight: 500; }
.ns-facts--pairs > div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; }
.ns-facts--pairs dd { font: 500 13px/1.4 var(--ns-mono); color: var(--ns-text); }
/* cards on the inner pages: the same panel as the homepage's initiatives, without the height */
.ns-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.ns-panels--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.ns-panel { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; border: 1px solid var(--ns-line); border-radius: 6px; background: var(--ns-band); }
.ns-panel__tag { font: 400 11px/1.4 var(--ns-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ns-dim); }
.ns-panel h3 { font: 800 34px/.92 var(--ns-display); text-transform: uppercase; }
.ns-panel p { font-size: 15px; line-height: 1.6; color: var(--ns-soft); }
.ns-panel .ns-mono { margin-top: 2px; }
.ns-panel__foot { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ns-note { padding: 16px 18px; border: 1px solid var(--ns-line); border-radius: 6px; background: var(--ns-bg); }
.ns-note .ns-label { display: block; margin-bottom: 6px; }
.ns-note p { font-size: 14px; color: var(--ns-soft); }
.ns-linklist { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ns-figure { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--ns-line); border-radius: 6px; background: var(--ns-band); }
.ns-figure svg { display: block; width: 100%; max-width: 680px; height: auto; margin: 0 auto; }
.ns-est { display: flex; flex-direction: column; gap: 6px; padding-left: 24px; border-left: 1px solid var(--ns-line); }
.ns-est b { font: 800 clamp(88px, 10vw, 140px)/.82 var(--ns-display); }

/* ── Footer ─────────────────────────────────────────────── */
/* The footer every Neta DAO site shares: the name and its mark, the treasury address here, the family's
   addresses, X, Discord and GitHub as their own marks, the copyright. */
.ns-footer { border-top: 1px solid var(--ns-line); }
.ns-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; padding-block: 28px; font: 400 12px/1.5 var(--ns-mono); color: var(--ns-dim); }
.ns-footer__brand { display: flex; align-items: center; gap: 12px; color: var(--ns-text); font: 800 22px/1 var(--ns-display); text-transform: uppercase; text-decoration: none; }
.ns-footer__brand img { display: block; height: 36px; width: auto; }
.ns-footer__addr { word-break: break-all; }
.ns-footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.ns-footer__sites, .ns-footer__marks { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.ns-footer__sites { gap: 8px 24px; padding-right: 28px; border-right: 1px solid var(--ns-line); letter-spacing: .08em; text-transform: uppercase; }
.ns-footer__sites a { color: var(--ns-muted); text-decoration: none; }
.ns-footer__sites a:hover { color: var(--ns-cyan); }
.ns-footer__marks { gap: 16px; }
.ns-footer__icon { display: grid; place-items: center; width: 32px; height: 32px; color: var(--ns-muted); transition: color .2s ease; }
.ns-footer__icon:hover { color: var(--ns-cyan); }
.ns-footer__icon svg { display: block; width: 20px; height: 20px; }
.ns-footer__print { margin: 0; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 599px) {
  .ns-footer__nav { flex-basis: 100%; justify-content: space-between; }
  .ns-footer__sites { padding-right: 0; border-right: 0; }
}

/* ── Legacy names (the NetaDATA and Academy pages, live proposals) ── */
.container { max-width: var(--ns-max); margin: 0 auto; padding-inline: var(--ns-pad); }
.grad-text { background: var(--ns-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.section-label { margin: 0 0 12px; font: 400 12px/1.4 var(--ns-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ns-muted); }
.section-title { margin: 0 0 20px; font: 800 clamp(44px, 4.6vw, 64px)/.9 var(--ns-display); text-transform: uppercase; }
.section-body { max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--ns-soft); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--ns-text); border-radius: 999px; background: transparent; color: var(--ns-text); text-decoration: none; font: 500 12px/1.2 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.btn-primary { background: var(--ns-text); color: #000; }
.btn-primary:hover { background: var(--ns-cyan); border-color: var(--ns-cyan); color: #000; }
.btn-outline:hover { background: var(--ns-raised); color: var(--ns-text); }
.reveal { opacity: 1; transform: none; }
/* live proposals, as main.js writes them */
.proposal-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--ns-line); color: inherit; text-decoration: none; }
.proposal-item:first-child { border-top: 1px solid var(--ns-line); }
.proposal-item:hover { color: inherit; }
.proposal-item:hover .proposal-title { color: var(--ns-cyan); }
.proposal-num { font: 500 13px/1.4 var(--ns-mono); color: var(--ns-muted); }
.proposal-title { font: 800 26px/.95 var(--ns-display); text-transform: uppercase; }
.proposal-meta { margin-top: 6px; font: 400 11px/1.4 var(--ns-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ns-dim); }
.badge { padding: 5px 10px; border: 1px solid; border-radius: 999px; font: 500 10px/1 var(--ns-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.badge-passed { color: var(--ns-cyan); }
.badge-executed { color: var(--ns-pink); }
.badge-open { color: var(--ns-text); }
.badge-failed { color: var(--ns-dim); }
.proposals-loading { padding: 32px 0; font: 400 12px/1.6 var(--ns-mono); color: var(--ns-dim); }
.proposals-loading a { color: var(--ns-cyan); }
@media (max-width: 599px) { .proposal-item { grid-template-columns: 52px minmax(0, 1fr); } .proposal-item .badge { grid-column: 2; justify-self: start; } }
