/* KB#3984 Tokenomics — «тяжёлый люкс» (the Commander, 09.10.2026: «Приведи эту страницу в состояние дизайна тяжелый
   люкс, так же, как мы приводим в это состояние всю платформу… Не стесняйся применять чат GPT»). One stylesheet, this
   page only; main.css and main.js are untouched (their keys stand on hundreds of pages).
   The masthead and the two key figures sit on the deep teal-black band of the Academy and the FAQ (both themes): a
   cast-copper token with an engraved node network by ChatGPT, the copper label, the large Brygada title; the supply and
   the chain read as cast plaques with their photographed objects (ingots, chain). Below, on warm paper in the light theme
   and deep jade in the dark one: the contract in a bronze-ruled panel (the anchor, its scroll margin and the copy action
   are untouched — KB#3558), the core principle with the circulation ring, the four circuits as cards with their own
   photographed objects instead of the untranslated «Circuit N» tags, and the fee table in copper rules — stacked into
   rows on a phone. Text is 17 px; no cyan, lime or violet. Every word and number on the page is unchanged. */

body[data-page="tokenomics"] {
  --tok-col: min(980px, calc(100% - 32px));
  --tok-band-ink: #f6f1ea;
  --tok-band-copy: #cfddd9;
  --tok-band-copper: #e6b283;
  --tok-band-line: rgb(196 150 104 / .42);
  --tok-paper: #f4eee3;
  --tok-card: #faf6ee;
  --tok-ink: #1d1914;
  --tok-copy: #302b25;
  --tok-muted: #5d554b;
  --tok-copper: #85552f;
  --tok-line: rgb(133 85 47 / .3);
  --tok-soft: rgb(133 85 47 / .06);
  --tok-focus: #1d1914;
}
html[data-theme="dark"] body[data-page="tokenomics"] {
  --tok-paper: #051f19;
  --tok-card: #072720;
  --tok-ink: #f6f1ea;
  --tok-copy: #dfe7e3;
  --tok-muted: #a9bdb7;
  --tok-copper: #e6b283;
  --tok-line: rgb(196 150 104 / .3);
  --tok-soft: rgb(230 178 131 / .05);
  --tok-focus: var(--pn-fg-on-dark-focus, #dff7ca);
}

body[data-page="tokenomics"] #main.tok-journal {
  padding-top: 0;
  padding-bottom: clamp(48px, 6vw, 88px);
  background: var(--tok-paper);
  color: var(--tok-copy);
  overflow-x: clip;
  --pn-fg-focus: var(--tok-focus);
  --pn-fg-link: var(--tok-copper);
}
body[data-page="tokenomics"] #main.tok-journal > .breadcrumb-nav { display: none; }
body[data-page="tokenomics"] #main.tok-journal > section.container,
body[data-page="tokenomics"] #main.tok-journal > section > .container {
  width: var(--tok-col);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

/* ---------- the band: masthead and the two key figures ---------- */
body[data-page="tokenomics"] .tok-hero,
body[data-page="tokenomics"] #main.tok-journal > section.tok-figures {
  width: auto;
  max-width: none;
  margin: 0;
  padding-inline: 0;
  color: var(--tok-band-copy);
  --pn-fg-focus: var(--pn-fg-on-dark-focus, #dff7ca);
}
body[data-page="tokenomics"] .tok-hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(20px, 3vw, 32px);
  background:
    radial-gradient(40% 70% at 12% 0%, rgb(160 104 52 / .18) 0%, transparent 72%),
    linear-gradient(180deg, #062119 0%, #041b15 100%);
}
html[dir="rtl"] body[data-page="tokenomics"] .tok-hero {
  background:
    radial-gradient(40% 70% at 88% 0%, rgb(160 104 52 / .18) 0%, transparent 72%),
    linear-gradient(180deg, #062119 0%, #041b15 100%);
}
body[data-page="tokenomics"] .tok-hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  width: var(--tok-col);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
body[data-page="tokenomics"] .tok-emblem {
  flex: none;
  width: clamp(104px, 11vw, 156px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / .45));
}
body[data-page="tokenomics"] .tok-hero-copy { min-width: 0; }
body[data-page="tokenomics"] .tok-hero .section-label {
  margin: 0 0 10px;
  color: var(--tok-band-copper);
  opacity: 1;
  font: 600 1rem/1.3 var(--pn-font-ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: start;
}
body[data-page="tokenomics"] .tok-hero h1 {
  margin: 0;
  color: var(--tok-band-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 700 clamp(2.5rem, 5.6vw, 4.5rem)/1.02 var(--pn-font-ui);
  letter-spacing: -0.012em;
  text-align: start;
  text-wrap: balance;
  overflow-wrap: break-word;
}
body[data-page="tokenomics"] .tok-hero-sub {
  margin: 14px 0 0;
  max-width: 46ch;
  color: var(--tok-band-copy);
  font: 400 clamp(1.125rem, 1.6vw, 1.3125rem)/1.5 var(--pn-font-ui);
  text-align: start;
}

body[data-page="tokenomics"] #main.tok-journal > section.tok-figures {
  padding-block: 0 clamp(32px, 4vw, 48px);
  background: linear-gradient(180deg, #041b15 0%, #03160f 100%);
  border-bottom: 1px solid var(--tok-band-line);
}
body[data-page="tokenomics"] .tok-figures .grid-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: var(--tok-col);
  max-width: none;
  margin-inline: auto;
}
body[data-page="tokenomics"] .tok-figures .card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  padding: 20px 24px;
  text-align: start;
  background: rgb(2 16 12 / .66);
  border: 1px solid var(--tok-band-line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 14px 30px rgb(0 0 0 / .28);
}
body[data-page="tokenomics"] .tok-figures .card::before {
  content: "";
  grid-row: 1 / span 2;
  width: 72px;
  height: 72px;
  background: var(--tok-icon, none) center / contain no-repeat;
  filter: drop-shadow(0 6px 12px rgb(0 0 0 / .35));
}
body[data-page="tokenomics"] .tok-figures .card:nth-child(1) { --tok-icon: url("/landing-assets/tokenomics/icon-supply.webp"); }
body[data-page="tokenomics"] .tok-figures .card:nth-child(2) { --tok-icon: url("/landing-assets/tokenomics/icon-chain.webp"); }
body[data-page="tokenomics"] .tok-figures .stat-label-upper {
  margin: 0 0 6px;
  align-self: end;
  color: var(--tok-band-copper);
  font: 600 .875rem/1.3 var(--pn-font-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
}
body[data-page="tokenomics"] .tok-figures .stat-value-lg {
  align-self: start;
  color: var(--tok-band-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--pn-font-ui);
  font-variant-numeric: tabular-nums lining-nums;
  overflow-wrap: anywhere;
}

/* ---------- the contract ---------- */
body[data-page="tokenomics"] #main.tok-journal > section.section-sm,
body[data-page="tokenomics"] #main.tok-journal > section.section {
  padding-block: clamp(36px, 4.5vw, 56px) 0;
}
body[data-page="tokenomics"] .contract-address-block {
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  background:
    radial-gradient(60% 90% at 0% 0%, rgb(160 104 52 / .1) 0%, transparent 70%),
    var(--tok-card);
  border: 1px solid var(--tok-line);
  border-radius: 18px;
  box-shadow: inset 0 0 0 4px var(--tok-soft);
}
body[data-page="tokenomics"] .contract-label {
  color: var(--tok-copper);
  font: 600 .875rem/1.3 var(--pn-font-ui);
  letter-spacing: .16em;
}
body[data-page="tokenomics"] .contract-row { gap: 12px; }
body[data-page="tokenomics"] .contract-code {
  padding: 12px 16px;
  color: #f1dcc0;
  background: #062119;
  border: 1px solid rgb(196 150 104 / .45);
  border-radius: 10px;
  font-size: 1rem;
  letter-spacing: .01em;
}
body[data-page="tokenomics"] .btn-copy {
  min-height: 46px;
  padding: 10px 22px;
  color: #fffaf2;
  background: linear-gradient(180deg, #a06d42 0%, #7a4f2c 100%);
  border: 1px solid rgb(230 178 131 / .6);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 8px 18px rgb(0 0 0 / .2);
  font: 700 1rem/1.2 var(--pn-font-ui);
}
body[data-page="tokenomics"] .btn-copy:hover {
  background: linear-gradient(180deg, #ad7849 0%, #855732 100%);
  border-color: rgb(230 178 131 / .8);
}
body[data-page="tokenomics"] .btn-bscscan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  color: var(--tok-copper);
  background: transparent;
  border: 1px solid var(--tok-line);
  border-radius: 10px;
  font: 700 1rem/1.2 var(--pn-font-ui);
}
body[data-page="tokenomics"] .btn-bscscan:hover { color: var(--tok-ink); border-color: var(--tok-copper); }
body[data-page="tokenomics"] .btn-copy:focus-visible,
body[data-page="tokenomics"] .btn-bscscan:focus-visible { outline: 2px solid var(--tok-focus); outline-offset: 3px; }
body[data-page="tokenomics"] .contract-network,
body[data-page="tokenomics"] .contract-copy-status {
  color: var(--tok-muted);
  font: 400 1rem/1.5 var(--pn-font-ui);
}
body[data-page="tokenomics"] .contract-copy-status:empty { display: none; }

/* ---------- the core principle ---------- */
body[data-page="tokenomics"] .highlight-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  background:
    radial-gradient(70% 120% at 0% 50%, rgb(160 104 52 / .12) 0%, transparent 70%),
    var(--tok-card);
  border: 1px solid var(--tok-line);
  border-radius: 18px;
}
body[data-page="tokenomics"] .highlight-box::before {
  content: "";
  grid-row: 1 / span 2;
  width: 96px;
  height: 96px;
  background: url("/landing-assets/tokenomics/icon-principle.webp") center / contain no-repeat;
  filter: drop-shadow(0 6px 12px rgb(0 0 0 / .3));
}
body[data-page="tokenomics"] .highlight-box h3 {
  margin: 0 0 8px;
  color: var(--tok-ink);
  font: 700 clamp(1.375rem, 2.2vw, 1.75rem)/1.2 var(--pn-font-ui);
  text-wrap: balance;
}
body[data-page="tokenomics"] .highlight-desc {
  margin: 0;
  color: var(--tok-copy);
  font: 400 1.0625rem/1.7 var(--pn-font-ui);
}

/* ---------- the four circuits ---------- */
body[data-page="tokenomics"] .circuits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
body[data-page="tokenomics"] .circuit-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  align-content: start;
  margin: 0;
  padding: 24px;
  background: var(--tok-card);
  border: 1px solid var(--tok-line);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgb(29 25 20 / .06);
}
html[data-theme="dark"] body[data-page="tokenomics"] .circuit-card { box-shadow: 0 14px 30px rgb(0 0 0 / .28); }
body[data-page="tokenomics"] .circuit-card::before { content: none; display: none; }
body[data-page="tokenomics"] .tok-circuit-icon {
  grid-row: 1 / span 2;
  width: 76px;
  height: 76px;
  background: var(--tok-icon, none) center / contain no-repeat;
  filter: drop-shadow(0 6px 12px rgb(0 0 0 / .3));
}
body[data-page="tokenomics"] .tok-circuit-icon--1 { --tok-icon: url("/landing-assets/tokenomics/icon-circuit-1.webp"); }
body[data-page="tokenomics"] .tok-circuit-icon--2 { --tok-icon: url("/landing-assets/tokenomics/icon-circuit-2.webp"); }
body[data-page="tokenomics"] .tok-circuit-icon--3 { --tok-icon: url("/landing-assets/tokenomics/icon-circuit-3.webp"); }
body[data-page="tokenomics"] .tok-circuit-icon--4 { --tok-icon: url("/landing-assets/tokenomics/icon-circuit-4.webp"); }
body[data-page="tokenomics"] .circuit-card h3 {
  margin: 4px 0 8px;
  color: var(--tok-ink);
  font: 700 1.3125rem/1.25 var(--pn-font-ui);
  text-wrap: balance;
  overflow-wrap: break-word;
}
body[data-page="tokenomics"] .circuit-desc {
  margin: 0;
  color: var(--tok-copy);
  font: 400 1.0625rem/1.65 var(--pn-font-ui);
}

/* ---------- taxes and fees ---------- */
body[data-page="tokenomics"] #main.tok-journal > section.tok-fees > h2 {
  margin: 0;
  color: var(--tok-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 700 clamp(1.75rem, 3vw, 2.375rem)/1.15 var(--pn-font-ui);
  text-align: start;
  text-wrap: balance;
}
body[data-page="tokenomics"] #main.tok-journal > section.tok-fees > .subtitle {
  margin: 10px 0 0;
  max-width: 60ch;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tok-copper);
  color: var(--tok-copy);
  font: 400 1.0625rem/1.6 var(--pn-font-ui);
  text-align: start;
}
body[data-page="tokenomics"] .table-wrap { margin: 8px 0 0; }
body[data-page="tokenomics"] .table-wrap th,
body[data-page="tokenomics"] .table-wrap td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--tok-line);
  text-align: start;
}
body[data-page="tokenomics"] .table-wrap th {
  color: var(--tok-copper);
  font: 600 .8125rem/1.3 var(--pn-font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
}
body[data-page="tokenomics"] .table-wrap td {
  color: var(--tok-copy);
  font: 400 1.0625rem/1.5 var(--pn-font-ui);
}
body[data-page="tokenomics"] .table-wrap td:first-child { color: var(--tok-ink); font-weight: 600; }
body[data-page="tokenomics"] .table-wrap td:nth-child(2) {
  color: var(--tok-copper);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
body[data-page="tokenomics"] .table-wrap tr:hover td { background: var(--tok-soft); }

/* ---------- tablet and phone ---------- */
@media (max-width: 860px) {
  body[data-page="tokenomics"] .circuits { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body[data-page="tokenomics"] .tok-hero-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  body[data-page="tokenomics"] .tok-emblem { width: 80px; }
  body[data-page="tokenomics"] .tok-hero .section-label { font-size: .875rem; letter-spacing: .16em; margin-bottom: 6px; }
  body[data-page="tokenomics"] .tok-hero h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  body[data-page="tokenomics"] .tok-figures .grid-stats { grid-template-columns: 1fr; gap: 12px; }
  body[data-page="tokenomics"] .tok-figures .card { padding: 16px 18px; column-gap: 14px; }
  body[data-page="tokenomics"] .tok-figures .card::before { width: 56px; height: 56px; }
  body[data-page="tokenomics"] .highlight-box { grid-template-columns: 1fr; row-gap: 12px; }
  body[data-page="tokenomics"] .highlight-box::before { grid-row: auto; width: 72px; height: 72px; }
  body[data-page="tokenomics"] .circuit-card { padding: 18px; column-gap: 14px; grid-template-rows: auto auto; }
  body[data-page="tokenomics"] .tok-circuit-icon { grid-row: 1; width: 60px; height: 60px; }
  body[data-page="tokenomics"] .circuit-card h3 { align-self: center; margin: 0; }
  body[data-page="tokenomics"] .circuit-desc { grid-column: 1 / -1; margin-top: 12px; }
  body[data-page="tokenomics"] .contract-code { font-size: .9375rem; }
  /* the fee table reads as rows: action and fee on one line, the note under them */
  body[data-page="tokenomics"] .table-wrap { overflow: visible; }
  body[data-page="tokenomics"] .table-wrap table,
  body[data-page="tokenomics"] .table-wrap tbody { display: block; width: 100%; }
  body[data-page="tokenomics"] .table-wrap thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  body[data-page="tokenomics"] .table-wrap tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--tok-line);
  }
  body[data-page="tokenomics"] .table-wrap td { padding: 0; border: 0; }
  body[data-page="tokenomics"] .table-wrap td:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 4px;
    color: var(--tok-muted);
    font-size: 1rem;
  }
}

/* ===================== REAL METAL · KB#4083 S3b =====================
   Decision #502 (Commander, 12.10.2026): metal is real copper poured into the jade, never drawn. The copper lines
   and rims of this page were colours; now they are grooves cut into the stone (dark in the jade, a soft dark line on
   the paper of the light theme), and its buttons are the cast copper and dark steel buttons of the element base
   (/shared/luxury-elements/, KB#4079). Composition, copy and photographs stay as they are. */
body[data-page="tokenomics"] { --tok-band-line: rgb(0 0 0 / .55); --tok-line: rgb(20 40 30 / .2); --tok-soft: rgb(20 40 30 / .05); }
html[data-theme="dark"] body[data-page="tokenomics"] { --tok-line: rgb(0 0 0 / .5); --tok-soft: rgb(0 0 0 / .18); }
body[data-page="tokenomics"] #main.tok-journal > section.tok-fees > .subtitle { border-bottom-color: var(--tok-line); }
body[data-page="tokenomics"] .contract-code { border-color: var(--tok-line); }
body[data-page="tokenomics"] .btn-copy, body[data-page="tokenomics"] .btn-copy:hover {
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  border-image: url(/shared/luxury-elements/button-copper.webp) 45 65 fill / 10px 14px stretch !important;
  background: #09311f padding-box !important;
  box-shadow: none !important;
  color: #f3d2ad !important;
  text-shadow: 0 1px 1px rgb(0 0 0 / .55);
}
body[data-page="tokenomics"] .btn-copy:hover { filter: brightness(1.1); }
body[data-page="tokenomics"] .btn-bscscan, body[data-page="tokenomics"] .btn-bscscan:hover {
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  border-image: url(/shared/luxury-elements/button-steel.webp) 45 65 fill / 8px 12px stretch !important;
  background: #0c2a1b padding-box !important;
  box-shadow: none !important;
  color: #eef2f2 !important;
}
body[data-page="tokenomics"] .btn-bscscan:hover { filter: brightness(1.1); }

/* ================= KB#4093 W5 · READING FLOOR =================
 * Commander 13.10.2026: the site is a workplace people read for hours. The workplace scale of W2 — reading
 * text from 16 px, compact labels from 15 px — for the text this page set smaller (found on production rule
 * by rule). Same selectors and media as the rules they follow: only the font size changes. */
body[data-page="tokenomics"] th { font-size: .9375rem; }
body[data-page="tokenomics"] .stat-label-upper { font-size: .9375rem; }
body[data-page="tokenomics"] .contract-label { font-size: .9375rem; }
body[data-page="tokenomics"] .table-wrap th { font-size: .9375rem; }
body[data-page="tokenomics"] .tok-figures .stat-label-upper { font-size: .9375rem; }
@media (max-width: 767px) {
  body[data-page="tokenomics"] .tok-hero .section-label { font-size: .9375rem; }
  body[data-page="tokenomics"] .contract-code { font-size: 1rem; }
}
