/* Chipmo landing — хуудас бүрд хуваалцах суурь: фонт, өнгөний токен, товч, толгой, хөл.
   Хуудас тус бүрийн өөрийн хэсгүүд (hero, bento, тооцоолуур …) тухайн HTML-ийн <style>-д.
   2026-10-26 (Duk): Meridian-ийн «том улбар шар» хэв маягаас → Vercel/Stripe/Linear маягийн
   цэвэрхэн минимал: цагаан/цайвар саарал гадаргуу, 1px нимгэн хүрээ, зөөлөн сүүдэр, Geist 500 гарчиг,
   улбар шар = зөвхөн акцент (цэг, шугам, гэрэл, онцлох багана). Хар = үндсэн товч. */

/* ── Фонт: Geist (SIL OFL, өөрөө хостлоно — Google Fonts Хятадад ажилладаггүй) ── */
@font-face { font-family: "Geist"; src: url(fonts/Geist-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/Geist-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/GeistMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* брэнд */
  --orange: #f75d00;
  --orange-2: #ff7a2a;
  --orange-soft: #fff3eb;
  --orange-tint: #fff3eb;
  --orange-ring: rgba(247, 93, 0, .22);
  --brown: #311300;
  /* нейтраль (хүйтэн саарал, нэг гэр бүл) */
  --paper: #fff;
  --bg: #fafafa;
  --bg-2: #f4f4f5;
  --ink: #0a0a0a;
  --text: #171717;
  --muted: #5f6368;
  --muted-2: #8b8f96;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);
  --green: #0f7b45;
  --red: #b42318;
  /* хэлбэр */
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --sh-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 0 0 1px rgba(16, 24, 40, .04);
  --sh-md: 0 1px 2px rgba(16, 24, 40, .05), 0 16px 40px -20px rgba(16, 24, 40, .25);
  --sh-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 30px 70px -30px rgba(16, 24, 40, .35);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  --wrap: 1280px;
  --gutter: 40px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--text);
  background: var(--paper); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
ul { list-style: none; }
::selection { background: var(--orange-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section.block { padding: 96px 0 104px; }
section.block.alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Хэвлэлийн хэв маяг ── */
.h-giant { font-weight: 500; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.h-big { font-weight: 500; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.55; letter-spacing: -0.01em; color: var(--muted); text-wrap: pretty; }
/* Догол мөрийн баруун зах нэг шугамд (Duk 10-27, Word-ийн justify шиг): зөвхөн ≥640px — утсанд нарийн мөрөнд үгийн хооронд
   том зай үүсдэг тул хэвээр. Төвлөрсөн хэсгүүд (.how-head) өөрийн дүрмээр давна. Монголд hyphens толь байхгүй, en-д ажиллана. */
@media (min-width: 640px) {
  p { text-align: justify; text-align-last: start; hyphens: auto; -webkit-hyphens: auto; }
}
.mono { font-family: var(--mono); font-size: 12px; line-height: 1.2; }
.label { font-family: var(--mono); font-size: 12px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.kicker { font-weight: 500; font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.muted { color: var(--muted); }
/* Eyebrow = жижиг pill: улбар шар цэг + моно бичиг */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 7px 12px 7px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--orange-ring); }

/* ── Товч ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1.2 var(--sans); letter-spacing: -0.01em; padding: 11px 18px; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
/* Үндсэн товч — хар (Vercel/Linear маяг); «btn-orange» нэр хуучин хуудсуудын төлөө хэвээр */
.btn-orange, .btn-black { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.08); }
.btn-orange:hover, .btn-black:hover { background: #262626; box-shadow: 0 6px 16px -8px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); }
.btn-light, .btn-outline { background: var(--paper); color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-sm); }
.btn-light:hover, .btn-outline:hover { background: var(--bg); border-color: rgba(0,0,0,.22); }
.btn-nav { font-size: 13px; padding: 8px 14px; }
.link-u { position: relative; font-size: 15px; font-weight: 500; color: var(--ink); padding-bottom: 2px; border-bottom: 1px solid var(--line-2); transition: border-color .18s ease; }
.link-u:hover { border-color: var(--ink); }

/* ── Толгой ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 12px 0;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
header.scrolled { border-color: var(--line); background: rgba(255,255,255,.9); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 44px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.logo img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); padding: 7px 12px; border-radius: 8px; transition: color .15s ease, background .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); background: var(--bg-2); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.langsel {
  font: 500 13px/1.2 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 8px 10px; cursor: pointer; appearance: none; -webkit-appearance: none; box-shadow: var(--sh-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 26px; transition: border-color .15s ease;
}
.langsel:hover { border-color: rgba(0,0,0,.22); }

/* ── Нийтлэг блокууд ── */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1120px; margin: 0 auto; }
.two .h-big u { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .14em; text-decoration-thickness: 3px; }
.two .lead { margin-top: 20px; max-width: 520px; }
/* Карт: цагаан, нимгэн хүрээ, зөөлөн сүүдэр (хуучин «улбар шар дөрвөлжин»-гийн оронд) */
.orange-card {
  position: relative; width: min(456px, 100%); aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-md); margin-left: auto;
}
.orange-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px 220px at 85% -10%, var(--orange-soft), transparent 70%); }
.glow { display: none; }   /* хуучин хар бөмбөлөг — минимал хэв маягт байхгүй */
.orange-card .price { position: absolute; left: 32px; top: 32px; right: 32px; color: var(--ink); }
.orange-card .price b { display: block; font-weight: 500; font-size: clamp(88px, 11vw, 136px); line-height: .9; letter-spacing: -0.06em; color: var(--ink); }
.orange-card .price span { display: block; margin-top: 14px; font-size: 15px; color: var(--muted); }
.orange-card .price span:first-of-type { color: var(--orange); font-weight: 500; }
.checks { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; max-width: 520px; color: var(--text); }
.checks svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.divider { display: none; }

/* ── Footer — цайвар, нимгэн хүрээтэй ── */
footer { position: relative; margin-top: 64px; background: var(--bg); color: var(--text); border-top: 1px solid var(--line); padding: 80px 0 32px; }
footer .wrap { width: 100%; }
.foot-lines, .foot-glow { display: none; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.foot-links .t { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.foot-links .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 460px; }
.foot-links li a { display: block; padding: 5px 0; font-size: 15px; color: var(--muted); transition: color .15s ease; }
.foot-links li a:hover { color: var(--ink); }
.foot-org { margin-top: 28px; font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.foot-contact { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; font-size: 13px; color: var(--text); box-shadow: var(--sh-sm); transition: border-color .15s ease; }
.foot-contact a:hover { border-color: rgba(0,0,0,.25); }
.foot-cta { display: flex; flex-direction: column; gap: 24px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.foot-cta .h-big { font-size: clamp(26px, 2.6vw, 36px); }
.foot-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-bottom a:hover { color: var(--ink); }
.foot-bottom .copy { color: var(--muted); }

/* ── Responsive (нийтлэг) ── */
@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  section.block { padding: 64px 0 72px; }
  .nav-links, .btn-login { display: none; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .orange-card { margin-left: 0; }
  .foot-bottom { flex-direction: column; margin-top: 48px; }
  footer { padding-top: 56px; }
  .foot-cta { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}
