@font-face {
  font-family: "Noto Sans Cyrillic";
  src: url("../fonts/NotoSans-Cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+040D, U+045D;
}

@font-face {
  font-family: Onest;
  src: url("../fonts/Onest-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-body: Onest, "Noto Sans Cyrillic", system-ui, sans-serif;
  --font-display: var(--font-body);
  --acid: #dcfa73;
  --muted: #b3bac3;
  --faint: #a7afba;
  --border: #343a42;
  --edition-bg: #111417;
  --edition-panel: #1a1e23;
}

body { background: var(--edition-bg); color: #f6f5f0; font-size: 1rem; }
.container { width: min(1280px, calc(100% - 80px)); }
.container.narrow { width: min(860px, calc(100% - 80px)); }
.site-header { background: #111417; border-bottom: 1px solid var(--border); }
.nav-inner { height: 76px; }
.brand-text { font-size: 1.125rem; letter-spacing: -.035em; }
.brand-glyph { border-radius: 7px; width: 39px; height: 39px; }
.primary-nav > a, .nav-login, .lang-menu summary { font-size: .875rem; text-transform: none; letter-spacing: 0; }
.btn { border-radius: 6px; text-transform: none; letter-spacing: 0; font-size: .875rem; }
.btn-acid { color: #15190b; }
.nav-actions .btn { white-space: nowrap; }
*:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.text-link { font-size: .875rem; text-transform: none; letter-spacing: 0; }
.front-page { padding: 41px 0 34px; }
.front-heading, .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1rem;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.front-heading h1, .section-head h2, .forum-headline h2, .front-community h2 {
  font: 740 clamp(1.375rem, 2.2vw, 2rem)/1.18 var(--font-display);
  letter-spacing: -.04em;
  text-transform: none;
  margin: 0;
}
.section-head .eyebrow { display: none; }
.front-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 20px; }
.front-rail { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.story-card { min-width: 0; border-radius: 9px; background: var(--edition-panel); border-color: var(--border); overflow: hidden; }
.story-card:hover { transform: none; border-color: #81924b; }
.story-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.story-copy { min-width: 0; padding: 20px 22px; }
.story-card h2 {
  color: inherit;
  font: 760 clamp(1.25rem, 2vw, 1.75rem)/1.15 var(--font-display);
  letter-spacing: -.035em;
  text-transform: none;
  min-height: 0;
  margin: .6rem 0;
  overflow-wrap: anywhere;
}
.story-card p { font-size: .95rem; line-height: 1.55; color: var(--muted); min-height: 0; margin: 0; }
.story-meta { justify-content: flex-start; margin-bottom: 0; font-size: .75rem; text-transform: none; letter-spacing: .025em; min-height: 0; }
.story-meta time { color: var(--muted); }
.chip { font-size: .7rem; letter-spacing: .045em; border-radius: 4px; }
.fallback-label { display: inline-block; color: #ffce9d; margin-top: .65rem; }
.lead-story { position: relative; display: flex; align-items: end; min-height: 510px; isolation: isolate; }
.lead-story .story-photo { position: absolute; inset: 0; height: 100%; z-index: -2; }
.lead-story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0b0e11 1%, #0b0e11ed 21%, #0b0e115e 63%, transparent 100%); }
.lead-story .story-copy { padding: clamp(23px, 4vw, 46px); width: 100%; }
.lead-story h2 { color: #fff; font-size: clamp(2.1rem, 4.15vw, 4.15rem); max-width: 19ch; }
.lead-story p { color: #dde0e4; max-width: 62ch; }
.front-rail .story-card { display: grid; grid-template-columns: 39% 1fr; align-items: stretch; }
.front-rail .story-photo { aspect-ratio: auto; height: 100%; }
.front-rail .text-story { display: block; }
.front-rail h2 { font-size: clamp(1.125rem, 1.65vw, 1.55rem); }
.front-rail .story-card p { font-size: .875rem; }
.edition-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 19px 0 0; border: 1px solid var(--border); border-radius: 8px; }
.edition-status > div { padding: 15px 20px; }
.edition-status > div + div { border-left: 1px solid var(--border); }
.edition-status dt { font-size: .925rem; font-weight: 720; }
.edition-status dd { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.section-space { padding: 38px 0 54px; }
.front-community { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.front-community > div { padding: clamp(20px, 3vw, 38px); border: 1px solid var(--border); border-radius: 8px; background: var(--edition-panel); }
.front-community p { color: var(--muted); margin: 14px 0 20px; }
.mini-list a strong { font-size: 1.125rem; text-transform: none; }
.mini-list a small, .footer-links > a, .footer-top > div:first-child > p, .footer-bottom small { font-size: .875rem; }
.footer-bottom > span { font-size: .75rem; }
.footer-bottom small { color: #798695; }
.page-section, .article-section { padding: 38px 0 80px; }
.crumbs { font-size: .8125rem; }
.page-heading { margin-bottom: 30px; max-width: 800px; }
.page-heading h1, .account-top h1, .topic-detail > h1 {
  font: 790 clamp(2.15rem, 5.2vw, 4.65rem)/1.06 var(--font-display);
  letter-spacing: -.045em;
  text-transform: none;
  overflow-wrap: anywhere;
}
.page-heading p, .project-hero p { font-size: 1rem; color: var(--muted); }
.page-heading .eyebrow { display: none; }
.listing-grid { gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing-grid .story-card:first-child { grid-column: auto; }
.tools-bar { margin: 16px 0 22px; padding: 12px 0; border-color: var(--border); }
.search-form input { font-size: 1rem; min-height: 44px; }
.search-form button { min-width: 44px; }
.article-layout { gap: clamp(28px, 5vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
.article-main h1 { font: 790 clamp(2.15rem, 4.6vw, 4.45rem)/1.06 var(--font-display); text-transform: none; letter-spacing: -.045em; margin: .65rem 0 1rem; overflow-wrap: anywhere; }
.article-lead { font-size: clamp(1.0625rem, 1.55vw, 1.25rem); color: #c5cad0; }
.article-category, .article-byline small { font-size: .8125rem; }
.editorial-cover { margin: 28px 0 32px; }
.editorial-cover img { border-radius: 9px; }
.editorial-cover figcaption { color: var(--muted); font-size: .8rem; margin-top: 8px; }
.article-body { max-width: 69ch; font-size: 1.0625rem; line-height: 1.75; color: #e0e2e4; }
.article-body h2 { font: 740 clamp(1.4rem, 2.5vw, 2rem)/1.2 var(--font-display); letter-spacing: -.025em; margin: 1.5em 0 .55em; color: #fff; }
.article-body h3 { font: 720 1.18rem/1.35 var(--font-display); margin: 1.25em 0 .4em; }
.source-box { margin: 12px 0; padding: 16px; border-radius: 7px; }
.aside-box, .aside-community, .form-card, .post-card, .reply-compose, .board-card, .project-hero, .language-tile {
  background: var(--edition-panel); border-color: var(--border); border-radius: 8px;
}
.aside-box h2, .aside-community h2, .form-card h2, .roadmap h2, .project-hero h2 {
  font: 750 clamp(1.35rem, 2.5vw, 2rem)/1.12 var(--font-display);
  letter-spacing: -.032em;
  text-transform: none;
}
.forum-headline { gap: 12px; }
.boards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.board-card { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.board-card h3 { font: 750 1.125rem/1.23 var(--font-display); text-transform: none; overflow-wrap: anywhere; }
.board-card p, .board-card small, .topic-main small, .account-top p { font-size: .875rem; }
.board-arrow { display: none; }
.topic-main strong { font-size: 1rem; overflow-wrap: anywhere; }
.post-body { font-size: 1rem; }
.account-top { background: var(--edition-panel); border: 1px solid var(--border); border-radius: 8px; padding: clamp(18px, 4vw, 42px); }
.account-top > div { min-width: 0; }
.account-top p { overflow-wrap: anywhere; }
.account-avatar { flex-shrink: 0; border-radius: 50%; }
.account-grid { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); }
.check-label, .form-group label, .form-help { font-size: .875rem; }
.form-group input, .form-group textarea, .form-group select { font-size: 1rem; border-radius: 5px; }
.project-hero { grid-template-columns: minmax(0, 1fr); padding: clamp(20px, 4vw, 44px); }
.project-mark { display: none; }
.roadmap { margin-top: 42px; }
.roadmap p, .step > p, .language-tile p { font-size: .95rem; }
.footer-top { padding-bottom: 35px; }

@media (max-width: 1080px) {
  .container, .container.narrow { width: calc(100% - 48px); }
  .front-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .lead-story { min-height: 450px; }
  .front-rail .story-card { grid-template-columns: 30% minmax(0, 1fr); }
  .boards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .container, .container.narrow { width: calc(100% - 36px); }
  .nav-inner { height: 64px; }
  .brand-text { font-size: 1rem; }
  .brand-glyph { width: 33px; height: 33px; }
  .front-page { padding-top: 26px; }
  .front-grid, .front-community, .account-grid { grid-template-columns: minmax(0, 1fr); }
  .lead-story { min-height: 400px; }
  .front-rail .story-card { grid-template-columns: 34% minmax(0, 1fr); }
  .edition-status { grid-template-columns: minmax(0, 1fr); }
  .edition-status > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-aside { display: block; margin-top: 35px; }
  .forum-headline { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .story-copy { padding: 14px; }
  .front-rail .story-card { grid-template-columns: 29% minmax(0, 1fr); }
  .front-rail .story-card p { display: none; }
  .boards-grid, .listing-grid { grid-template-columns: minmax(0, 1fr); }
  .account-avatar { width: 54px; height: 54px; font-size: 1.8rem; }
  .nav-account-name { display: none; }
}

.forum-index, .localization-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}
.forum-boards .boards-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.forum-boards .board-card { padding: 14px; align-items: start; }
.forum-boards .board-card p { min-height: 0; }
.forum-index .forum-headline { min-height: 50px; }
.forum-feed .forum-latest { margin: 0 0 15px; }
.forum-feed .search-form { min-width: 0; }
.forum-feed .empty-state, .account-activity .empty-state { min-height: 110px; display: grid; place-content: center; }
.account-activity { align-self: start; background: var(--edition-panel); border: 1px solid var(--border); border-radius: 8px; padding: clamp(16px, 3vw, 30px); min-width: 0; }
.localization-index { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.localization-index .project-hero { display: block; }
.localization-index .project-hero .btn { margin: 8px 0 14px; white-space: normal; }
.localization-index .project-hero .text-link { display: block; }
.localization-index .lang-section { margin: 0; }
.localization-index h2, .edition-roadmap h2 { font: 750 clamp(1.35rem, 2.5vw, 2rem)/1.2 var(--font-display); letter-spacing: -.03em; }
.language-list { padding: 0; list-style: none; border: 1px solid var(--border); border-radius: 8px; }
.language-list li { padding: 12px 16px; display: flex; gap: 14px; border-bottom: 1px solid var(--border); }
.language-list li:last-child { border: 0; }
.language-list li span { color: var(--acid); font-size: .875rem; min-width: 2rem; }
.edition-roadmap { margin-top: 36px; }
.edition-roadmap .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding: 0; }
.edition-roadmap .step { align-items: flex-start; background: var(--edition-panel); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.edition-roadmap .step > span { min-width: 2rem; width: auto; height: auto; font-size: 1rem; }
.edition-roadmap .step > p { margin: 0; }
.notice-inline a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) {
  .forum-index, .localization-index, .edition-roadmap .steps { grid-template-columns: minmax(0, 1fr); }
}

.platform-table { border-collapse: collapse; margin: 24px 0; width: 100%; font-size: .925rem; }
.platform-table caption { text-align: left; font-weight: 725; margin-bottom: 8px; }
.platform-table th, .platform-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--border); }
.platform-table th { background: var(--edition-panel); }
.nav-login, .menu-toggle, .lang-menu summary { min-height: 44px; }
.menu-toggle { min-width: 44px; }

.aside-box a small { font-size: .8125rem; }
.aside-box a strong { font-size: 1rem; text-transform: none; }
.footer-bottom { grid-template-columns: 1fr 2fr; }
@media (max-width: 760px) {
  .footer-bottom { grid-template-columns: 1fr; }
}

.aside-community { color: #f6f5f0; }
.aside-community .btn { background: var(--acid); color: #15190b; font-size: .875rem; }
