/* ============================================================
   Gobiverse S Project — нүүр хуудас
   Фонт: Geologica (гарчиг), Golos Text (бичвэр) — self-hosted, OFL.
   ⚠️ Монгол Ө/Ү нь cyrillic-ext subset-д байдаг — 3 subset-ийг заавал.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: "Geologica"; font-weight: 600; font-display: swap;
  src: url("assets/fonts/geologica-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geologica"; font-weight: 600; font-display: swap;
  src: url("assets/fonts/geologica-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Geologica"; font-weight: 600; font-display: swap;
  src: url("assets/fonts/geologica-cyrillic-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }

@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("assets/fonts/golos-text-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("assets/fonts/golos-text-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }

/* ---------- Tokens ---------- */
:root {
  --ink: #16232E;        /* хүрэн-хөх шөнө */
  --paper: #EEF1EC;      /* талын цайвар саарал-ногоон */
  --card: #FFFFFF;
  --steppe: #2F6B4F;     /* тал нутгийн ногоон */
  --ochre: #B8862A;      /* ашигт малтмалын алт — ERP давхарга */
  --line: #CDD5CC;
  --muted: #55636B;
  --dark-text: #E7ECE6;
  --dark-muted: #A9B6B0;
  --dark-line: #2E3E4A;

  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Geologica", "Golos Text", system-ui, var(--cjk);
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, var(--cjk);

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-lg: 14px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(238, 241, 236, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; color: var(--steppe); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.brand-product { font-size: 13px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--card); }
.lang button {
  font: inherit; font-size: 13px; font-weight: 600; border: 0; background: transparent; color: var(--muted);
  padding: 4px 10px; border-radius: 999px; cursor: pointer; min-height: 30px;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 14ch; }
.lead { margin-top: 22px; font-size: 1.125rem; color: var(--muted); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; font-size: 15px; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--steppe); color: #fff; }
.btn-primary:hover { background: #255a42; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.pilot-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--steppe); box-shadow: 0 0 0 4px rgba(47,107,79,.18); flex: none; }

/* Layers: the memorable element — feed in front, ledger behind */
.layers { position: relative; min-height: 560px; }
.layer { position: absolute; border-radius: var(--r-lg); padding: 22px; }
.feed { width: min(86%, 340px); z-index: 1; }
.ledger { width: min(90%, 370px); }
.layer-tag { font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.ledger {
  right: 0; top: 210px;
  padding-top: 80px;
  background: var(--ink); color: var(--dark-text);
  border-top: 4px solid var(--ochre);
}
.ledger .layer-tag { color: var(--ochre); }
.ledger-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 12px; }
.ledger-rows { margin: 0; }
.ledger-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--dark-line); font-size: 14px; }
.ledger-rows dt { color: var(--dark-muted); }
.ledger-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.ledger-rows dd.ok { color: #8FD1AE; }
.feed {
  left: 0; top: 0;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(22, 35, 46, .35);
  animation: peel 1.1s cubic-bezier(.2,.7,.2,1) .35s both;
}
.feed .layer-tag { color: var(--steppe); }
.post-head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--steppe); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.post-author { font-weight: 600; font-size: 15px; line-height: 1.3; }
.post-time { font-size: 13px; color: var(--muted); line-height: 1.3; }
.post-body { margin-top: 14px; font-size: 15px; }
.post-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.chip-on { background: rgba(47,107,79,.1); border-color: rgba(47,107,79,.35); color: var(--steppe); font-weight: 600; }

/* One orchestrated moment: the post slides off the record it created */
@keyframes peel {
  from { transform: translate(16%, 24%); }
  to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .feed { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: #E4E9E2; }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 22ch; }
.section-lead { margin-top: 16px; color: var(--muted); max-width: 60ch; font-size: 1.0625rem; }
.section h3 { font-size: 1.125rem; }

/* Flow — a real sequence, so numbered */
.flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.flow li { counter-increment: step; position: relative; padding-top: 52px; }
.flow li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--steppe); color: var(--steppe);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; z-index: 1;
}
.flow li::after { content: ""; position: absolute; top: 17px; left: 36px; right: -28px; height: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Modules */
.mod-table { margin-top: 40px; border-bottom: 1px solid var(--line); }
.mod-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.mod-row p { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 64ch; }
.status { display: inline-block; white-space: nowrap; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.status-live  { background: var(--steppe); color: #fff; }
.status-build { background: rgba(184,134,42,.16); color: #7A5714; }
.status-test  { background: rgba(22,35,46,.08); color: var(--ink); }
.status-plan  { border: 1px dashed var(--muted); color: var(--muted); }

/* Security (dark) */
.section-dark { background: var(--ink); color: var(--dark-text); }
.section-dark .section-lead { color: var(--dark-muted); }
.sec-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.sec-grid article { border-top: 2px solid var(--ochre); padding-top: 18px; }
.sec-grid p { margin-top: 10px; color: var(--dark-muted); font-size: 15px; }

/* Tech */
.tech-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }

/* Deploy */
.scale { display: flex; align-items: center; gap: 14px; margin-top: 44px; font-size: 13px; font-weight: 600; color: var(--muted); }
.scale-bar { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--steppe), var(--ink)); }
.deploy { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.deploy p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Хятад: гарчигт CJK фонт, үсэг хоорондын зай 0 */
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { letter-spacing: 0; }
html:lang(zh) .hero h1 { max-width: none; word-break: keep-all; font-size: clamp(1.9rem, 4vw, 3.1rem); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero-grid, .tech-grid { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .flow, .deploy { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-product { display: none; }
  .layers { min-height: 0; display: grid; gap: 0; }
  .layer { position: relative; width: auto; }
  .feed { order: -1; animation: none; z-index: 1; margin-right: 24px; }
  .ledger { top: auto; margin: -28px 0 0 24px; padding-top: 48px; }
  .sec-grid, .flow, .deploy { grid-template-columns: 1fr; }
  .flow li::after { display: none; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .mod-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ============================================================
   Дэлгэрэнгүй хувилбарын нэмэлт хэсгүүд (2026-10-13)
   Одоогийн token, хэмжээсийг л ашиглана.
   ============================================================ */
.sub-title { font-size: 1.25rem; margin-top: 64px; }
.note { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* Why: prose columns */
.prose-cols { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.prose-cols p { color: var(--muted); font-size: 1rem; }
.prose-cols p:first-child { color: var(--ink); }
.prose-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }

/* Idea: one feed, three worlds */
.feedmap { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 0; align-items: stretch; }
.feedmap-col { display: grid; grid-template-rows: auto repeat(3, 1fr); gap: 16px; }
.feedmap-head { font-size: 13px; font-weight: 600; color: var(--muted); }
.fm-post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fm-post p { font-size: 15px; }
.fm-author { font-weight: 600; }
.fm-src { font-size: 12px; font-weight: 600; }
.fm-src-public { color: #3B6A9E; }
.fm-src-org { color: var(--steppe); }
.fm-src-erp { color: #7A5714; }
.fm-post .chip { margin-top: 6px; }
.feedmap-wall { position: relative; display: flex; justify-content: center; }
.feedmap-wall::before { content: ""; position: absolute; top: 28px; bottom: 0; left: 50%; border-left: 2px dashed var(--ink); opacity: .35; }
.feedmap-wall span {
  position: sticky; top: 50%; align-self: center; writing-mode: vertical-rl; transform: rotate(180deg);
  background: #E4E9E2; padding: 10px 2px; font-size: 12px; font-weight: 600; color: var(--ink); z-index: 1;
}
.fm-vault { border-radius: var(--r-lg); padding: 18px 20px; border: 1px solid var(--line); background: transparent; }
.fm-vault h3 { font-size: 1rem; }
.fm-vault p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.fm-vault-public { border-left: 4px solid #3B6A9E; }
.fm-vault-org { border-left: 4px solid var(--steppe); }
.fm-vault-erp { border-left: 4px solid var(--ochre); }

/* Isolation: two columns */
.iso { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.iso-col { padding: 24px 28px; }
.iso-col + .iso-col { border-left: 1px solid var(--line); }
.iso-col h3 { font-size: 1.0625rem; }
.iso-col ul { margin: 14px 0 0; padding: 0; list-style: none; }
.iso-col li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-size: 15px; }
.iso-col li::before { position: absolute; left: 0; top: 10px; font-weight: 600; }
.iso-yes li::before { content: "✓"; color: var(--steppe); }
.iso-no { background: #F6F2EA; }
.iso-no li::before { content: "✕"; color: #9A3B2E; }

/* Industries */
.ind-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
.ind { padding: 22px 0; border-top: 1px solid var(--line); }
.ind-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.ind-head .status { font-size: 12px; padding: 3px 10px; }
.ind p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.ind-label { color: var(--ink); font-weight: 600; }

/* Commerce chips */
.chip-groups { margin-top: 40px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.chip-group-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { background: var(--card); color: var(--ink); }

/* Module groups */
.mod-group { padding: 28px 0 8px; font-size: 14px; font-weight: 600; color: var(--steppe); border-top: 1px solid var(--line); }
.mod-group:first-child { padding-top: 0; border-top: 0; }

/* Architecture */
.arch { margin-top: 44px; display: grid; gap: 10px; max-width: 860px; }
.arch-layer { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 18px; display: grid; grid-template-columns: 13rem 1fr; gap: 16px; align-items: center; }
.arch-layer p { font-size: 15px; color: var(--muted); }
.arch-name { font-family: var(--font-display); font-weight: 600; color: var(--ink) !important; }
.arch > .arch-layer:not(:first-child)::before, .arch-data::before {
  content: ""; position: absolute; top: -11px; left: 28px; width: 2px; height: 10px; background: var(--ochre);
}
.arch-core { background: var(--ink); border-color: var(--ink); }
.arch-core .arch-name { color: #fff !important; }
.arch-core .chip { background: transparent; color: var(--dark-text); border-color: var(--dark-line); }
.arch-data { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.arch-data .arch-layer { grid-template-columns: 1fr; gap: 4px; align-content: start; }
.tech-below { margin-top: 24px; }
.tree { margin: 18px 0 0; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); overflow-x: auto; font-size: 13.5px; line-height: 1.75; }
.tree code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.tree span { color: var(--muted); }

/* Timeline — a real sequence */
.timeline { list-style: none; margin: 48px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 9rem 1fr; gap: 20px; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--steppe); }
.timeline li.tl-now::before { background: var(--ochre); box-shadow: 0 0 0 5px rgba(184,134,42,.2); }
.timeline li.tl-next::before { background: var(--paper); border: 2px solid var(--muted); }
.tl-ver { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.tl-ver span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.timeline h3 { font-size: 1.0625rem; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.timeline .tl-ver { color: var(--ink); margin-top: 0; }
.tl-next h3, .tl-next .tl-ver { color: var(--muted); }

/* Vision */
#vision .flow { margin-top: 40px; }

/* FAQ */
.faq { margin-top: 32px; border-bottom: 1px solid var(--line); max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--steppe); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

@media (max-width: 980px) {
  .prose-cols, .prose-2 { grid-template-columns: 1fr; gap: 16px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-groups { grid-template-columns: 1fr; }
  .arch-layer { grid-template-columns: 10rem 1fr; }
}
@media (max-width: 720px) {
  .feedmap { grid-template-columns: 1fr; gap: 16px; }
  .feedmap-wall { height: 36px; }
  .feedmap-wall::before { top: 50%; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 2px dashed var(--ink); }
  .feedmap-wall span { position: relative; top: 0; writing-mode: horizontal-tb; transform: none; padding: 2px 10px; }
  .feedmap-col { grid-template-rows: none; }
  .iso { grid-template-columns: 1fr; }
  .iso-col + .iso-col { border-left: 0; border-top: 1px solid var(--line); }
  .ind-grid { grid-template-columns: 1fr; }
  .arch-layer { grid-template-columns: 1fr; gap: 4px; }
  .arch-data { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}
/* Grid item-ийн min-width: auto нь <pre>-г тэлж mobile-д хэвтээ гүйлгээ үүсгэдэг */
.tech-grid > *, .feedmap-col, .ind-grid > *, .arch-layer { min-width: 0; }
.tech-below { grid-template-columns: 1.25fr 1fr; margin-top: 56px; }
.tech-below .sub-title { margin-top: 0; }
.tree { font-size: 13px; }
@media (max-width: 980px) { .tech-below { grid-template-columns: 1fr; } }

/* ============================================================
   Хөрөнгө оруулагч / байгууллагад зориулсан хэсгүүд
   ============================================================ */
/* Mission */
.manifesto { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.manifesto article { border-top: 2px solid var(--ochre); padding-top: 20px; }
.manifesto h3 { font-size: 1.3rem; line-height: 1.25; }
.manifesto p { margin-top: 14px; color: var(--dark-muted); font-size: 15.5px; }

/* Market stats — one row of figures with source under each */
.stats { margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 24px 24px 24px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt { font-size: 14px; color: var(--muted); min-height: 2.6em; }
.stats dd { margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; color: var(--ink); }
.stat-sub { font-size: 14px; color: var(--ink); }
.stat-src { font-size: 12.5px; color: var(--muted); text-underline-offset: 2px; }
.mkt-notes { margin-top: 36px; }
.mkt-notes p:first-child { color: var(--ink); }

/* Plans */
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--card); }
.plan-main { border: 2px solid var(--steppe); }
.plan-name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.plan-who { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan ul { margin: 18px 0 0; padding: 0; list-style: none; }
.plan li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); font-size: 15px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--steppe); }
.plan:first-child li::before { background: var(--ochre); }
.plan:last-child li::before { background: var(--ink); }

/* Contact */
.contact-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-grid article { border-top: 2px solid var(--ochre); padding-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-grid h3 { font-size: 1.3rem; }
.contact-grid p { color: var(--dark-muted); font-size: 15.5px; max-width: 52ch; }
.btn-light { background: var(--dark-text); color: var(--ink); }
.btn-light:hover { background: #fff; }
.contact-list { margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--dark-line); padding-top: 24px; }
.contact-list dt { font-size: 13px; color: var(--dark-muted); }
.contact-list dd { margin: 4px 0 0; font-weight: 600; }
.contact-list a { color: var(--dark-text); }
.site-footer a { color: var(--muted); }

@media (max-width: 980px) {
  .manifesto, .plans { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-grid, .contact-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats dt { min-height: 0; }
}

/* ============================================================
   Системийн харагдах байдал (концепц зургууд)
   ============================================================ */
.shots-phone { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.shots-desk { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 1040px; }
.shots-desk .shot:first-child { grid-column: 1 / -1; }
.shot { margin: 0; min-width: 0; }
.shot img { display: block; width: 100%; height: auto; }
.shot-phone img { max-width: 300px; margin: 0 auto; }
.shot figcaption { margin-top: 14px; }
.shot-phone figcaption { max-width: 300px; margin-left: auto; margin-right: auto; }
.shot-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.shot-tag { font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--muted); border: 1px dashed var(--muted); border-radius: 999px; padding: 1px 8px; }
.shot figcaption p + p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 980px) { .shots-phone { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .shots-phone, .shots-desk { grid-template-columns: 1fr; }
  .shot-phone img { max-width: 260px; }
}
