/* KB#3983 FAQ — «тяжёлый люкс» (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 search sit on the deep teal-black band of the Academy (both themes): a cast-copper lantern with
   jade panes by ChatGPT, the copper label and the large Brygada title. Below, the questions read on warm paper in the
   light theme and on deep jade in the dark one, like an Academy article: each section opens with its photographed
   icon (ChatGPT, the same shoot as the Academy covers) and a copper rule; a question is 19 px, an answer 17 px at 1.75
   in a 70-character measure. No cyan, lime or violet: copper and jade only. Breadcrumbs are hidden, as on the
   Academy. The questions, answers and the accordion script are unchanged. */

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

body[data-page="faq"] #main.faq-journal {
  padding-top: 0;
  background: var(--faq-paper);
  color: var(--faq-copy);
  overflow-x: clip;
  --pn-fg-focus: var(--faq-focus);
  --pn-fg-link: var(--faq-copper);
}
body[data-page="faq"] #main.faq-journal > .breadcrumb-nav { display: none; }

/* ---------- the band: masthead and search ---------- */
body[data-page="faq"] .faq-hero,
body[data-page="faq"] .faq-tools {
  max-width: none;
  margin: 0;
  color: var(--faq-band-copy);
  --pn-fg-focus: var(--pn-fg-on-dark-focus, #dff7ca);
}
body[data-page="faq"] .faq-hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(24px, 3vw, 36px);
  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="faq"] .faq-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="faq"] .faq-hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  width: var(--faq-col);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
body[data-page="faq"] .faq-emblem {
  flex: none;
  width: clamp(104px, 11vw, 156px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / .45));
}
body[data-page="faq"] .faq-hero-copy { min-width: 0; }
body[data-page="faq"] .faq-hero .section-label {
  margin: 0 0 10px;
  color: var(--faq-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="faq"] .faq-hero h1 {
  margin: 0;
  color: var(--faq-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="faq"] .faq-hero-sub {
  margin: 14px 0 0;
  color: var(--faq-band-copy);
  font: 400 clamp(1.125rem, 1.6vw, 1.3125rem)/1.5 var(--pn-font-ui);
  text-align: start;
}

body[data-page="faq"] .faq-tools {
  padding-block: 0 clamp(32px, 4vw, 48px);
  background: linear-gradient(180deg, #041b15 0%, #03160f 100%);
  border-bottom: 1px solid var(--faq-band-line);
}
body[data-page="faq"] .faq-tools { padding-inline: 0; }
body[data-page="faq"] .faq-tools > * {
  width: var(--faq-col);
  max-width: none;
  margin-inline: auto;
}
body[data-page="faq"] .faq-search-wrap { position: relative; }
/* the photographed brass magnifier stands in for the outline icon */
body[data-page="faq"] .faq-search-icon { display: none; }
body[data-page="faq"] .faq-search-wrap::before {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  background: url("/landing-assets/faq/icon-search.webp") center / contain no-repeat;
  pointer-events: none;
  z-index: 1;
}
body[data-page="faq"] .faq-search {
  min-height: 60px;
  padding-inline: 60px 56px;
  color: var(--faq-band-ink);
  background: rgb(2 16 12 / .72);
  border: 1px solid var(--faq-band-line);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 12px 28px rgb(0 0 0 / .28);
  font: 500 1.125rem/1.4 var(--pn-font-ui);
}
body[data-page="faq"] .faq-search::placeholder { color: #a9bdb7; opacity: 1; }
body[data-page="faq"] .faq-search:hover { border-color: rgb(230 178 131 / .7); }
body[data-page="faq"] .faq-search:focus {
  outline: none;
  border-color: var(--faq-band-copper);
  box-shadow: 0 0 0 3px rgb(230 178 131 / .24), 0 12px 28px rgb(0 0 0 / .28);
}
body[data-page="faq"] .faq-search-clear { color: var(--faq-band-copy); }
body[data-page="faq"] .faq-search-clear:hover { color: var(--faq-band-ink); background: rgb(230 178 131 / .14); }
body[data-page="faq"] .faq-search-clear:focus-visible { outline: 2px solid var(--faq-band-copper); }
body[data-page="faq"] .faq-search-status {
  margin: 10px 4px 0;
  color: var(--faq-band-copy);
  font: 400 1rem/1.5 var(--pn-font-ui);
}

/* ---------- the questions ---------- */
body[data-page="faq"] .faq-list {
  width: var(--faq-col);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
  padding-block: clamp(40px, 5vw, 64px) 8px;
}
body[data-page="faq"] .faq-list > h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 64px 0 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--faq-copper);
  color: var(--faq-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 700 clamp(1.625rem, 2.6vw, 2.125rem)/1.15 var(--pn-font-ui);
  letter-spacing: -0.005em;
  text-wrap: balance;
  scroll-margin-top: 112px;
}
body[data-page="faq"] .faq-list > h2:first-of-type { margin-top: 0; }
body[data-page="faq"] .faq-list > h2::before {
  content: "";
  flex: none;
  width: 60px;
  height: 60px;
  background: var(--faq-icon, none) center / contain no-repeat;
  filter: drop-shadow(0 4px 8px rgb(0 0 0 / .28));
}
body[data-page="faq"] [data-i18n="faq.catGeneral"] { --faq-icon: url("/landing-assets/faq/icon-general.webp"); }
body[data-page="faq"] [data-i18n="faq.catProvider"] { --faq-icon: url("/landing-assets/faq/icon-provider.webp"); }
body[data-page="faq"] [data-i18n="faq.catInvestor"] { --faq-icon: url("/landing-assets/faq/icon-investor.webp"); }
body[data-page="faq"] [data-i18n="faq.catTechnical"] { --faq-icon: url("/landing-assets/faq/icon-technical.webp"); }
body[data-page="faq"] [data-i18n="faq.catSecurity"] { --faq-icon: url("/landing-assets/faq/icon-security.webp"); }
body[data-page="faq"] [data-i18n="faq.catCustomer"] { --faq-icon: url("/landing-assets/faq/icon-customer.webp"); }
body[data-page="faq"] [data-i18n="faq.catReferrals"] { --faq-icon: url("/landing-assets/faq/icon-referrals.webp"); }
body[data-page="faq"] [data-i18n="faq.catToken"] { --faq-icon: url("/landing-assets/faq/icon-token.webp"); }
body[data-page="faq"] [data-i18n="faq.catLegal"] { --faq-icon: url("/landing-assets/faq/icon-legal.webp"); }
/* the three Russian sections from the Academy articles carry the Academy's own rubric icons */
body[data-page="faq"] [data-article-faq-group="platform"] { --faq-icon: url("/landing-assets/academy/icon-platform.webp"); }
body[data-page="faq"] [data-article-faq-group="validator"] { --faq-icon: url("/landing-assets/academy/icon-validator.webp"); }
body[data-page="faq"] [data-article-faq-group="storage"] { --faq-icon: url("/landing-assets/academy/icon-storage.webp"); }

body[data-page="faq"] .faq-item {
  border-bottom: 1px solid var(--faq-line);
  transition: background-color .2s ease;
}
body[data-page="faq"] .faq-item.open { background: var(--faq-open); }
body[data-page="faq"] .faq-q {
  padding: 22px 8px;
  color: var(--faq-ink);
  font: 600 1.1875rem/1.42 var(--pn-font-ui);
  gap: 24px;
}
body[data-page="faq"] .faq-q:hover,
body[data-page="faq"] .faq-item.open .faq-q { color: var(--faq-copper); }
body[data-page="faq"] .faq-q:focus-visible { outline: 2px solid var(--faq-focus); outline-offset: 2px; }
body[data-page="faq"] .faq-q::after {
  color: var(--faq-copper);
  font: 400 1.75rem/1 var(--pn-font-ui);
}
body[data-page="faq"] .faq-item.open .faq-q::after { color: var(--faq-copper); }
body[data-page="faq"] .faq-a {
  color: var(--faq-copy);
  font: 400 1.0625rem/1.75 var(--pn-font-ui);
}
body[data-page="faq"] .faq-a p {
  max-width: 70ch;
  margin-inline: 8px;
  padding-inline-start: 18px;
  border-inline-start: 2px solid var(--faq-copper);
}
body[data-page="faq"] .faq-item.open .faq-a { padding-bottom: 24px; }
body[data-page="faq"] .faq-a a {
  color: var(--faq-copper);
  font-weight: 600;
  text-decoration-color: currentColor;
}
body[data-page="faq"] .faq-a a:hover { color: var(--faq-ink); }
body[data-page="faq"] .faq-a a:focus-visible { outline: 2px solid var(--faq-focus); }
body[data-page="faq"] .faq-a code {
  color: var(--faq-ink);
  background: var(--faq-open);
  border: 1px solid var(--faq-line);
}

/* ---------- not found: ask the community ---------- */
body[data-page="faq"] .faq-contact-block {
  width: var(--faq-col);
  margin: 56px auto 0;
  padding: 40px 28px 36px;
  border: 1px solid var(--faq-line);
  border-radius: 18px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgb(160 104 52 / .1) 0%, transparent 70%),
    var(--faq-open);
}
body[data-page="faq"] .faq-contact-block::before {
  content: "";
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  background: url("/landing-assets/faq/icon-contact.webp") center / contain no-repeat;
  filter: drop-shadow(0 6px 12px rgb(0 0 0 / .3));
}
body[data-page="faq"] .faq-contact-block h2 {
  color: var(--faq-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 700 clamp(1.5rem, 2.4vw, 1.875rem)/1.2 var(--pn-font-ui);
  margin-bottom: 10px;
}
body[data-page="faq"] .faq-contact-copy {
  color: var(--faq-copy);
  font: 400 1.0625rem/1.65 var(--pn-font-ui);
  margin-bottom: 22px;
}
body[data-page="faq"] .faq-contact-telegram {
  min-height: 52px;
  padding: 12px 28px;
  color: #fffaf2;
  background: linear-gradient(180deg, #a06d42 0%, #7a4f2c 100%);
  border: 1px solid rgb(230 178 131 / .6);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 10px 22px rgb(0 0 0 / .22);
  font: 700 1.0625rem/1.2 var(--pn-font-ui);
}
body[data-page="faq"] .faq-contact-telegram:hover {
  color: #fffaf2;
  background: linear-gradient(180deg, #ad7849 0%, #855732 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 12px 26px rgb(0 0 0 / .28);
}
body[data-page="faq"] .faq-contact-telegram:focus-visible { outline: 2px solid var(--faq-focus); outline-offset: 3px; }

/* the paper runs to the footer */
body[data-page="faq"] #main.faq-journal { padding-bottom: clamp(48px, 6vw, 88px); }

/* ---------- phone ---------- */
@media (max-width: 767px) {
  body[data-page="faq"] .faq-hero-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  body[data-page="faq"] .faq-emblem { width: 76px; }
  body[data-page="faq"] .faq-hero .section-label { font-size: .875rem; letter-spacing: .16em; margin-bottom: 6px; }
  body[data-page="faq"] .faq-hero h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  body[data-page="faq"] .faq-search { min-height: 56px; padding-inline: 54px 50px; font-size: 1.0625rem; }
  body[data-page="faq"] .faq-search-wrap::before { width: 32px; height: 32px; inset-inline-start: 10px; }
  body[data-page="faq"] .faq-list > h2 { gap: 12px; margin-top: 48px; font-size: 1.5rem; }
  body[data-page="faq"] .faq-list > h2::before { width: 44px; height: 44px; }
  body[data-page="faq"] .faq-q { padding: 20px 4px; font-size: 1.0625rem; gap: 16px; }
  body[data-page="faq"] .faq-a { font-size: 1.0625rem; line-height: 1.7; }
  body[data-page="faq"] .faq-a p { margin-inline: 4px; padding-inline-start: 14px; }
  body[data-page="faq"] .faq-contact-block { padding: 32px 18px 28px; }
  body[data-page="faq"] .faq-contact-telegram { width: 100%; }
}

/* ===================== 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="faq"] { --faq-band-line: rgb(0 0 0 / .55); --faq-line: rgb(20 40 30 / .2); }
html[data-theme="dark"] body[data-page="faq"] { --faq-line: rgb(0 0 0 / .5); }
body[data-page="faq"] .faq-list > h2 { border-bottom-color: var(--faq-line); }
body[data-page="faq"] .faq-a p { border-inline-start-color: var(--faq-line); }
body[data-page="faq"] .faq-search:hover { border-color: rgb(0 0 0 / .75); }
body[data-page="faq"] .faq-search:focus {
  border-color: var(--faq-band-line);
  box-shadow: 0 0 0 3px rgb(245 236 223 / .4), 0 12px 28px rgb(0 0 0 / .28);
}
body[data-page="faq"] .faq-contact-telegram {
  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="faq"] .faq-contact-telegram: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="faq"] .faq-a code { font-size: max(.9375rem, .9em); }
@media (max-width: 767px) {
  body[data-page="faq"] .faq-hero .section-label { font-size: .9375rem; }
}
