/* Учрал · «Ирээдүйгээс ирсэн дохио»
   Шөнийн гүн суурь, сувдан бичиг, ганц сувдан-солонгорсон туяа. Хурц улаан, шар байхгүй. */
@font-face { font-family: "Commissioner"; src: url(/fonts/commissioner-200.woff2) format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url(/fonts/commissioner-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url(/fonts/commissioner-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url(/fonts/commissioner-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Prata"; src: url(/fonts/prata.woff2) format("woff2"); font-display: swap; }

:root {
  --night: #0c0b12;
  --night-2: #13121b;
  --night-3: #1a1925;
  --line: #2a2838;
  --line-2: #3b3950;
  --text: #ebe8f2;
  --mist: #b4b0c6;
  --dim: #85819a;
  --lilac: #c8bbff;
  --ice: #a9dbe4;
  --pearl: #efe2d6;
  --mint: #bfe5cf;
  --rose: #f1b8b0;
  --foil: linear-gradient(115deg, #c8bbff 0%, #a9dbe4 34%, #efe2d6 66%, #bfe5cf 100%);
  --sans: "Commissioner", system-ui, sans-serif;
  --serif: "Prata", Georgia, serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 5vw, 40px);
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--night) radial-gradient(120% 60% at 50% -10%, #1b1830 0%, transparent 60%) no-repeat;
  color: var(--text);
  font: 300 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
}
::selection { background: var(--lilac); color: var(--night); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: var(--lilac); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 2px solid var(--night); }

/* ---------- Учралын дохио (SVG) ---------- */
.sigil { width: 100%; height: auto; overflow: visible; }
.sg-ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.sg-tick { stroke: var(--dim); stroke-width: 1.2; }
.sg-tick--on { stroke: var(--text); stroke-width: 1.6; }
.sg-minor { stroke: var(--line-2); stroke-width: .8; }
.sg-wave { fill: none; stroke-width: 1; opacity: .55; }
.sg-orbit { fill: none; stroke-width: 1.3; }
.sg-orbit--them { stroke-dasharray: 2 6; opacity: .55; }
.is-revealed .sg-orbit--them { stroke-dasharray: none; opacity: 1; }
.sg-chord { stroke-width: .8; opacity: .35; stroke-dasharray: 1 4; }
.sg-dot { fill: var(--dim); }
.sg-dot--on { fill: var(--pearl); }
.sg-tri { fill: rgb(200 187 255 / .1); stroke: var(--lilac); stroke-width: .8; }
.sg-core { fill: var(--text); }
.sg-spark { fill: var(--text); }
.sg-spark--dim { opacity: .45; }
.sg-meet { fill: var(--pearl); }
.sg-unknown { fill: none; stroke: var(--dim); stroke-dasharray: 2 3; }
.sg-spin { transform-origin: 200px 200px; animation: spin 240s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sigil .sg-meet { animation: pulse 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.82); } }

/* ---------- Товч ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--foil); background-size: 180% 100%; background-position: 0 0;
  color: #14121e;
  font: 500 1.0625rem/1.1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-position .8s var(--ease-out), transform .25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background-position: 100% 0; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn--block { width: 100%; }
.btn--ghost {
  min-height: 46px; padding: 0 18px;
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-weight: 400;
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--mist); }
.btn--ink { background: var(--night-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ink:hover { box-shadow: inset 0 0 0 1px var(--lilac); }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font: 300 1.375rem/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; color: var(--text);
}
.wordmark .icon { width: 24px; height: 24px; color: var(--lilac); }

/* ---------- Нүүр ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: 1180px; margin: 0 auto;
}
.top a.back-link { font-size: .9375rem; color: var(--mist); }

.hero {
  max-width: 1180px; margin: 0 auto;
  padding: 0 var(--gutter) 64px;
  display: grid; gap: 0; grid-template-columns: minmax(0, 1fr);
}
.hero__sigil { width: min(78vw, 360px); justify-self: center; margin: -6px 0 -20px; }
.hero__copy { position: relative; z-index: 1; }
.hero h1 {
  margin: 0;
  font: 200 clamp(2.5rem, 11vw, 5.25rem)/1.02 var(--sans);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; font-weight: 300; color: var(--pearl); }
.hero__lede { margin: 16px 0 0; max-width: 34ch; font-size: 1.125rem; color: var(--mist); text-wrap: pretty; }
.hero__action { margin-top: 26px; display: grid; gap: 14px; justify-items: start; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9375rem; color: var(--mist); }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .icon { width: 17px; height: 17px; color: var(--ice); }
.resume { font-size: .9375rem; color: var(--mist); }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; padding-top: 40px; padding-bottom: 110px; }
  .hero__sigil { order: 2; width: 100%; max-width: 480px; margin: 0; }
}

.signal { height: 1px; background: var(--foil); opacity: .5; max-width: 1180px; margin: 0 auto; }

.band { color: var(--text); }
.band__inner { max-width: 1180px; margin: 0 auto; padding: 72px var(--gutter); }
.band h2, .faq h2, .demo h2 {
  margin: 0 0 10px;
  font: 200 clamp(1.9rem, 7vw, 3rem)/1.08 var(--sans); letter-spacing: -.02em;
  text-wrap: balance;
}
.band__sub { margin: 0 0 28px; color: var(--mist); max-width: 46ch; }
@media (min-width: 900px) { .band__inner--split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; } }

.contents { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.contents li {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.contents .icon { color: var(--ice); transform: translateY(4px); width: 18px; height: 18px; }

.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 400 .75rem/1.6 var(--sans); letter-spacing: .03em; white-space: nowrap; }
.tag--free { color: var(--mint); box-shadow: inset 0 0 0 1px rgb(191 229 207 / .35); }
.tag--letter { color: var(--ice); box-shadow: inset 0 0 0 1px rgb(169 219 228 / .35); }
.tag--full { color: #14121e; background: var(--foil); }
.legend { display: flex; gap: 8px; flex-wrap: wrap; margin: -12px 0 24px; }

/* Жишээ захидал */
.sample {
  position: relative; margin: 0;
  padding: 24px clamp(18px, 5vw, 30px) 0;
  background: var(--night-2); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.sample::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--foil); }
.sample__tag {
  position: absolute; right: 16px; top: 18px;
  padding: 2px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--mist); font: 400 .75rem/1.6 var(--sans); letter-spacing: .06em;
}
.sample__to { font-size: .8125rem; color: var(--dim); margin: 2px 0 14px; padding-right: 80px; }
.sample h3 { font: 300 1.3rem/1.2 var(--sans); margin: 14px 0 6px; }
.sample p { margin: 0 0 10px; color: var(--mist); }
.sample__fade {
  display: grid; margin: 14px calc(-1 * clamp(18px, 5vw, 30px)) 0; padding: 0 clamp(18px, 5vw, 30px) 16px;
  background: linear-gradient(transparent, var(--night-3) 45%);
}
.sample__fade span { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: .9375rem; }
.sample__fade .icon { width: 16px; height: 16px; color: var(--lilac); }
.sample-band .btn { margin: 4px 0 28px; }

/* Олон хүний дохио */
.demo { max-width: 1180px; margin: 0 auto; padding: 72px var(--gutter); display: grid; gap: 32px; }
.demo p { color: var(--mist); max-width: 42ch; margin: 0; }
.demo__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 3vw, 28px); }
.demo__row figure { margin: 0; text-align: center; }
.demo__row figcaption { margin-top: 6px; font-size: .8125rem; color: var(--dim); }
@media (min-width: 900px) { .demo { grid-template-columns: .8fr 1.2fr; align-items: center; } }

.route { list-style: none; margin: 0; padding: 0; display: grid; }
.route li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
.route li::before { content: ""; position: absolute; left: 19.5px; top: 40px; bottom: 0; width: 1px; background: var(--line-2); }
.route li:last-child::before { display: none; }
.route .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--night); }
.route .dot .icon { color: var(--ice); width: 18px; height: 18px; }
.route strong { display: block; font: 400 1.125rem/1.3 var(--sans); margin-top: 8px; }
.route span { color: var(--mist); font-size: 1rem; }

.prices { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--night-2); }
.prices__inner { max-width: 1180px; margin: 0 auto; padding: 72px var(--gutter); }
.prices h2 { margin: 0; font: 200 clamp(2rem, 8vw, 3.5rem)/1.04 var(--sans); letter-spacing: -.02em; }
.prices__inner > p { color: var(--mist); max-width: 48ch; margin: 10px 0 28px; }
.prices__row { display: grid; gap: 14px; }
@media (min-width: 760px) { .prices__row { grid-template-columns: 1fr 1fr; } }
.price { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-2); background: var(--night); }
.price--full { border: 1px solid transparent; box-shadow: none; background: linear-gradient(var(--night), var(--night)) padding-box, var(--foil) border-box; }
.price h3 { margin: 0 0 4px; font: 300 1.4rem/1.15 var(--sans); }
.price p { margin: 0; color: var(--mist); font-size: .9375rem; }

/* Үнийн «хавтан»: дугуй, дотроо тоо */
.plate {
  width: 76px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 0 6px var(--night), inset 0 0 0 7px var(--line);
  color: var(--text);
}
.plate b { font: 200 1.9rem/1 var(--sans); }
.plate small { font-size: .5625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.plate--full { background: var(--foil); color: #14121e; box-shadow: inset 0 0 0 6px var(--night), inset 0 0 0 7px rgb(255 255 255 / .5); }
.plate--full small { color: #3b3850; }

.faq { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 0; font: 400 1.0625rem/1.4 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease-out); color: var(--dim); width: 18px; height: 18px; }
.faq details[open] summary .icon { transform: rotate(90deg); color: var(--lilac); }
.faq details p { margin: 0 0 18px; color: var(--mist); max-width: 60ch; }
.closing { text-align: center; padding: 8px var(--gutter) 80px; }
.foot { border-top: 1px solid var(--line); padding: 26px var(--gutter) 44px; text-align: center; font-size: .8125rem; color: var(--dim); }
.foot p { max-width: 60ch; margin: 0 auto 8px; }

/* ---------- Асуулга ---------- */
.quiz { position: fixed; inset: 0; z-index: 10; background: var(--night); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.quiz[hidden] { display: none; }
.quiz__bar { position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: 10px 8px; background: var(--night); }
.icon-btn { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; color: var(--text); }
.icon-btn:hover { background: var(--night-3); }
.icon-btn[aria-hidden="true"] { visibility: hidden; }
.marks { display: flex; justify-content: center; gap: 8px; }
.marks span { width: 28px; height: 2px; border-radius: 2px; background: var(--line-2); transition: background .4s; }
.marks span.done { background: var(--foil); }
.marks span.now { background: var(--mist); }
.quiz__count { justify-self: center; font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--dim); }
.quiz__body { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 12px var(--gutter) 40px; display: flex; flex-direction: column; }
.quiz h2 { margin: 22px 0 26px; font: 200 clamp(1.75rem, 7.5vw, 2.5rem)/1.12 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.options { display: grid; gap: 10px; }
.option {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 14px 64px 14px 18px;
  background: var(--night-2); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); text-align: left; cursor: pointer;
  font: 300 1.0625rem/1.4 var(--sans);
  transition: border-color .25s, background-color .25s, transform .2s var(--ease-out);
}
.option:hover { border-color: var(--line-2); background: var(--night-3); }
.option__dot { width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--dim); }
.option.picked { border-color: transparent; background: linear-gradient(var(--night-3), var(--night-3)) padding-box, var(--foil) border-box; }
.option.picked .option__dot { background: var(--foil); box-shadow: inset 0 0 0 5px var(--night-3); }
.option .frank { position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--lilac); opacity: 0; transform: scale(.4) rotate(-40deg); }
.option .frank .icon { width: 22px; height: 22px; }
.option.picked .frank { animation: frank .5s var(--ease-out) forwards; }
@keyframes frank { to { opacity: 1; transform: none; } }

.field { display: grid; gap: 8px; margin-bottom: 22px; border: 0; padding: 0; }
.field legend, .field > label { font-weight: 400; font-size: 1rem; margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: var(--radius); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.seg span .icon { width: 18px; height: 18px; color: var(--dim); }
.seg input:checked + span { background: var(--night-3); box-shadow: inset 0 0 0 1px var(--lilac); }
.seg input:checked + span .icon { color: var(--lilac); }
.seg input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }
.date { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.input {
  width: 100%; min-height: 56px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--night-2); color: var(--text);
  font: 400 1.1875rem/1 var(--sans); font-variant-numeric: tabular-nums;
  caret-color: var(--lilac);
  transition: border-color .2s;
}
.input:focus { border-color: var(--lilac); outline: none; }
.input::placeholder { color: var(--dim); font-weight: 300; }
.input[aria-invalid="true"] { border-color: var(--rose); }
.input--area { min-height: 96px; padding: 14px; font-weight: 300; font-size: 1.0625rem; line-height: 1.45; resize: vertical; }
.hint { font-size: .875rem; color: var(--dim); margin: 0; font-weight: 300; }
.error { min-height: 1.4em; margin: 0 0 12px; color: var(--rose); font-weight: 400; font-size: .9375rem; }
.quiz__foot { margin-top: auto; padding-top: 16px; }
.writing { flex: 1; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; }
.writing .icon { width: 64px; height: 64px; color: var(--lilac); animation: bob 1.6s ease-in-out infinite; }
.writing p { font: 200 1.6rem/1.2 var(--sans); margin: 0; }
@keyframes bob { 50% { transform: translateY(-6px); opacity: .6; } }

/* ---------- Захидал ---------- */
.letter-wrap { max-width: 720px; margin: 0 auto; padding: 4px 12px 96px; }
.letter {
  position: relative;
  background: var(--night-2); color: var(--text);
  padding: 26px clamp(20px, 6vw, 52px) 40px;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
}
.letter::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: var(--foil); opacity: .7; }
.letter__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(110px, 32vw, 190px); gap: 12px 16px; align-items: center; padding: 14px 0 22px; border-bottom: 1px solid var(--line); }
.letter__to { font-size: .8125rem; color: var(--dim); margin: 0 0 8px; letter-spacing: .02em; }
.letter__head h1 { margin: 0; font: 200 clamp(1.65rem, 6.6vw, 2.75rem)/1.08 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.letter__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.letter__sigil { margin: -6px -6px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .875rem; color: var(--mist); }
.chip .icon { width: 15px; height: 15px; color: var(--ice); }

.letter section { padding: 28px 0 4px; }
.letter h2 { margin: 0 0 10px; font: 300 1.5rem/1.2 var(--sans); letter-spacing: -.01em; }
.letter p { margin: 0 0 14px; max-width: 64ch; text-wrap: pretty; font-size: 1.09375rem; line-height: 1.7; color: #d9d6e4; }
.letter blockquote { margin: 4px 0 18px; padding: 4px 0 4px 18px; border-left: 1px solid var(--lilac); font: 400 1.3rem/1.45 var(--serif); color: var(--pearl); }
.letter ol.steps { margin: 6px 0 0; padding-left: 1.3em; }
.letter ol.steps li { margin-bottom: 10px; padding-left: 4px; color: #d9d6e4; }
.letter ol.steps li::marker { font: 300 1rem var(--sans); color: var(--lilac); }
.years { display: grid; gap: 8px; margin: 4px 0 14px; }
.years div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.years b { font: 400 1.0625rem/1.3 var(--sans); }
.years span { font-variant-numeric: tabular-nums; color: var(--pearl); }
.years em { display: block; font-style: normal; font-size: .8125rem; color: var(--lilac); }
.months { display: grid; border-top: 1px solid var(--line); }
.months div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.months b { font: 400 1rem/1.5 var(--sans); color: var(--ice); font-variant-numeric: tabular-nums; }
.months span { color: var(--mist); }
.months--year { grid-template-columns: 1fr; }
@media (min-width: 640px) { .months--year { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

.how { margin: 24px 0 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 0; font: 400 1rem/1.3 var(--sans); }
.how summary::-webkit-details-marker { display: none; }
.how summary .icon { color: var(--ice); }
.how dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 12px; font-size: .9375rem; }
.how dt { font-weight: 400; }
.how dd { margin: 0; color: var(--mist); }
.how > p { font-size: .875rem; color: var(--dim); }
@media (max-width: 480px) { .how dl { grid-template-columns: 1fr; gap: 2px; } .how dd { margin-bottom: 8px; } }

/* Түгжээтэй хэсгүүд */
.locked { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line-2); }
.locked li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.locked .icon { color: var(--lilac); width: 17px; height: 17px; margin-top: 5px; }
.locked b { display: block; font-weight: 400; color: var(--text); }
.locked em { display: block; font-style: normal; color: var(--dim); font-size: .9375rem; }
.locked__rest span { color: var(--dim); font-size: .9375rem; }

/* Paywall */
.paywall { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.paywall h2 { font: 200 clamp(1.7rem, 6.6vw, 2.2rem)/1.1 var(--sans); letter-spacing: -.02em; margin: 0 0 14px; }
.paywall > p { color: var(--mist); }
.plans { border: 0; padding: 0; margin: 6px 0 16px; display: grid; gap: 12px; }
.plan {
  position: relative; cursor: pointer;
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  padding: 18px 16px; border-radius: var(--radius);
  background: var(--night); border: 1px solid var(--line);
  transition: border-color .25s;
}
.plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan:hover { border-color: var(--line-2); }
.plan.is-on { border-color: transparent; background: linear-gradient(var(--night), var(--night)) padding-box, var(--foil) border-box; }
.plan:has(input:focus-visible) { outline: 2px solid var(--ice); outline-offset: 3px; }
.plan .plate { width: 64px; }
.plan .plate b { font-size: 1.6rem; }
.plan__title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 300 1.3rem/1.2 var(--sans); }
.plan__price { font: 400 1rem/1 var(--sans); color: var(--pearl); white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: .9375rem; line-height: 1.45; color: var(--mist); }
.plan li .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--mint); }
.plan--full li:nth-child(n+2) { color: var(--text); }
.paynote { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: .875rem; color: var(--dim); }
.paynote span { display: inline-flex; align-items: center; gap: 6px; }
.paynote .icon { width: 15px; height: 15px; }
.paywall--up { border-top-color: var(--line); }

/* Утсан дээр доор наалдсан товч */
.paybar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgb(26 25 37 / .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px rgb(0 0 0 / .45);
  animation: barIn .4s var(--ease-out);
}
.paybar[hidden] { display: none; }
.paybar span { display: grid; font-size: .8125rem; color: var(--dim); line-height: 1.3; }
.paybar b { font: 400 1rem/1.3 var(--sans); color: var(--text); }
.paybar .btn { min-height: 46px; padding: 0 20px; font-size: 1rem; }
@keyframes barIn { from { transform: translateY(140%); } }
@media (min-width: 900px) { .paybar { display: none !important; } }

/* «Тэр мөн үү?» */
.letter .check { margin-top: 30px; padding: 24px clamp(16px, 4vw, 26px); border-radius: var(--radius); background: var(--night); box-shadow: inset 0 0 0 1px var(--line-2); }
.check h2 { display: flex; align-items: center; gap: 10px; }
.check h2 .icon { color: var(--lilac); }
.letter .check p { color: var(--mist); }
.letter .check p b { color: var(--text); font-weight: 400; }
.check h3 { margin: 20px 0 6px; font: 400 1.125rem/1.3 var(--sans); }
.check .field label { display: block; margin-bottom: 6px; }
.check__pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin: 4px 0 16px; }
.check__pair div { padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.check__pair b { display: block; font: 400 1.0625rem/1.25 var(--sans); }
.check__pair span { font-size: .8125rem; color: var(--dim); }
.check__amp { font: 400 1.6rem/1 var(--serif); color: var(--lilac); }
.letter .check .check__level { font: 200 clamp(1.6rem, 6.4vw, 2rem)/1.1 var(--sans); margin-bottom: 6px; color: var(--pearl); }
.letter .check .check__more { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--night-3); font-size: .9375rem; }
.check__more .icon { width: 17px; height: 17px; color: var(--lilac); margin-top: 3px; }
.linkish { margin-top: 12px; border: 0; background: none; padding: 6px 0; color: var(--mist); text-decoration: underline; text-underline-offset: .22em; text-decoration-color: var(--line-2); cursor: pointer; font-size: .9375rem; }

/* Оргил мөч: ирээдүйгээс ирсэн захидал */
.letter .airletter { margin: 34px 0 0; padding: 0; }
.airletter__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.airletter__head .icon { width: 26px; height: 26px; color: var(--lilac); }
.airletter__paper {
  position: relative;
  padding: 28px clamp(18px, 5vw, 34px) 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: linear-gradient(160deg, #191727, #121119) padding-box, var(--foil) border-box;
}
.letter .airletter__paper p { font: 400 1.1875rem/1.75 var(--serif); color: var(--pearl); margin: 0 0 18px; max-width: none; }
.letter .airletter__paper p:last-child { margin-bottom: 0; }
.letter .airletter__sign { font: 300 1.0625rem/1.6 var(--sans) !important; text-align: right; color: var(--lilac) !important; }
.letter .airletter__note { margin: 10px 2px 0; font-size: .8125rem; color: var(--dim); }

.keep { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.keep h3 { margin: 0 0 6px; font: 300 1.25rem/1.2 var(--sans); }
.keep p { color: var(--mist); font-size: .9375rem; }
.keep__row { display: flex; flex-wrap: wrap; gap: 10px; }
.disclaimer { margin-top: 28px; font-size: .8125rem; color: var(--dim) !important; }
.disclaimer a { color: var(--mist); }

.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 999px; background: var(--night-3); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: .9375rem; opacity: 0; pointer-events: none; z-index: 20;
  transition: opacity .25s, transform .35s var(--ease-out);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.status { text-align: center; padding: 80px var(--gutter); }
.status h1 { font: 200 1.9rem/1.2 var(--sans); margin: 0 0 12px; }
.status p { color: var(--mist); margin: 0 0 24px; }

/* Нээгдэх мөч */
.reveal { animation: reveal .9s var(--ease-out) both; }
@keyframes reveal { from { transform: translateY(10px); } }
.affix .sg-orbit--them { animation: dash 2.4s var(--ease-out) both; }
@keyframes dash { from { stroke-dasharray: 2 6; opacity: .4; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.error--field { margin: 6px 0 0; min-height: 0; }
.error--field:empty { display: none; }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); color: #d9d6e4; }
.checks .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--mint); }
.letter .error { color: var(--rose); font-size: .9375rem; }
