/* Орлоготой ээжүүд. Trust-first single-product shop.
   Radius rule: buttons and chips pill, surfaces 14px, inputs 10px. One accent: teal. */
:root {
  --bg: #F4F7F6;
  --surface: #FFFFFF;
  --ink: #13201F;
  --muted: #4A5B59;
  --line: #D5DFDD;
  --accent: #0E6B74;
  --accent-ink: #FFFFFF;
  --accent-soft: #DFEFEE;
  --warn: #A63D2B;
  --warn-soft: #F8E7E3;
  --ok: #2E7D4F;
  --ok-soft: #E2F2E8;
  --shadow: 18 52 50;
  --font-display: "Manrope", "Golos Text", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r-surface: 14px;
  --r-input: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1615; --surface: #15211F; --ink: #E6EFEE; --muted: #A2B3B1; --line: #2A3B39;
    --accent: #56B6BB; --accent-ink: #051C1D; --accent-soft: #15302F; --warn: #F0907C; --warn-soft: #36201B;
    --ok: #7CCB98; --ok-soft: #173024; --shadow: 0 0 0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1615; --surface: #15211F; --ink: #E6EFEE; --muted: #A2B3B1; --line: #2A3B39;
  --accent: #56B6BB; --accent-ink: #051C1D; --accent-soft: #15302F; --warn: #F0907C; --warn-soft: #36201B;
  --ok: #7CCB98; --ok-soft: #173024; --shadow: 0 0 0; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--bg);
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%; max-width: 1120px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(56px, 8vw, 96px); }
.h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.lead { color: var(--muted); max-width: 60ch; margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 17px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover:not([disabled]) { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover:not([disabled]) { border-color: var(--accent); }
.btn-danger { background: transparent; color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.btn-danger:hover:not([disabled]) { border-color: var(--warn); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a.link { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a.link:hover { color: var(--ink); }
@media (max-width: 760px) { .nav a.link { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; margin-top: 14px; }
.hero .sub { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); margin-top: 18px; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.price-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.price-note strong { font-family: var(--font-display); font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Product cover (designed object, not a page preview) */
.cover-wrap { position: relative; width: 100%; max-width: 380px; margin-inline: auto; padding: 18px 18px 26px 0; }
.cover-back {
  position: absolute; inset: 0 0 8px 18px; border-radius: var(--r-surface);
  background: var(--accent-soft); border: 1px solid var(--line); transform: rotate(4deg);
}
.cover {
  position: relative; border-radius: var(--r-surface); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgb(var(--shadow) / .06), 0 24px 48px rgb(var(--shadow) / .16);
  aspect-ratio: 1 / 1.3; display: grid; grid-template-rows: auto 1fr auto;
}
.cover-band { background: #0F6E78; color: #FFFFFF; padding: 28px 24px 26px; display: grid; gap: 10px; }
.cover-band .kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.cover-band b { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 27px); line-height: 1.15; text-wrap: balance; }
.cover-band small { font-size: 14px; opacity: .9; }
.cover-list { list-style: none; margin: 0; padding: 22px 24px; display: grid; gap: 12px; align-content: start; }
.cover-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; }
.cover-list span { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 17px; }
.cover-foot { border-top: 1px solid var(--line); padding: 14px 24px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cover-wrap { max-width: 320px; }
}

/* Facts */
.facts { border-block: 1px solid var(--line); padding-block: 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 8px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fact span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Fit */
.fit-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: 36px; }
.fit-col { min-width: 0; padding: 28px; border-radius: var(--r-surface); }
.fit-yes { background: var(--surface); border: 1px solid var(--line); }
.fit-no { background: var(--warn-soft); }
.fit-col h3 { font-size: 20px; font-weight: 800; }
.fit-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.fit-col li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; margin-top: 1px; }
.fit-yes .mark { background: var(--accent-soft); color: var(--accent); }
.fit-no .mark { background: var(--surface); color: var(--warn); }
@media (max-width: 760px) { .fit-grid { grid-template-columns: 1fr; } }

/* Methods */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.method-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; }
.method { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: start; padding: 26px 0; }
.method + .method { border-top: 1px solid var(--line); }
.method .num { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.method h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 800; }
.method p { color: var(--muted); margin-top: 6px; max-width: 62ch; }
.method .body { min-width: 0; }
.tag { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.method.warn .num { color: var(--warn); }
.method.warn .tag { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 640px) {
  .method { grid-template-columns: 44px 1fr; }
  .method .num { font-size: 30px; }
  .method .tag { grid-column: 2; justify-self: start; }
}

/* Inside */
.inside-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: 40px; }
.inside-grid > div { border-top: 3px solid var(--accent); padding-top: 18px; }
.inside-grid h3 { font-size: 19px; font-weight: 800; }
.inside-grid ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.inside-grid li { padding-left: 22px; position: relative; }
.inside-grid li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 820px) { .inside-grid { grid-template-columns: 1fr; } }

/* Promise */
.promise { background: var(--accent-soft); }
.promise .wrap { display: grid; justify-items: center; text-align: center; }
.promise h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; max-width: 18ch; }
.promise p { color: var(--muted); max-width: 58ch; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 15px; text-align: left; }
.chip b { color: var(--accent); }

/* Order */
.order-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px); margin-top: 40px; align-items: start; }
.price-card {
  background: var(--surface); border: 1.5px solid var(--accent); border-radius: var(--r-surface); padding: 30px;
  box-shadow: 0 18px 44px rgb(var(--shadow) / .10); min-width: 0; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px));
}
.price-card .label { font-weight: 600; color: var(--muted); font-size: 15px; }
.price-card .amount { font-family: var(--font-display); font-size: clamp(40px, 5vw, 52px); font-weight: 800; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.price-card .once { color: var(--muted); margin-top: 4px; font-size: 15px; }
.price-card ul { list-style: none; padding: 20px 0 0; margin: 22px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.price-card li { padding-left: 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } .price-card { position: static; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 34px; counter-reset: s; min-width: 0; }
.steps > li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps > li::before {
  counter-increment: s; content: counter(s);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 800; font-size: 18px;
}
.steps > li > div { min-width: 0; }
.steps h3 { font-size: 19px; font-weight: 800; padding-top: 9px; }
.steps .step-text { color: var(--muted); margin-top: 4px; }

.bank {
  margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface);
  display: grid;
}
.bank-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 14px 18px; }
.bank-row + .bank-row { border-top: 1px solid var(--line); }
.bank-row .k { font-size: 14px; color: var(--muted); }
.bank-row .v { font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; user-select: all; }
.bank-row.ref { background: var(--accent-soft); border-radius: 0 0 var(--r-surface) var(--r-surface); }
.bank-row.ref .v { color: var(--accent); user-select: auto; }
.copy { min-height: 36px; padding: 0 14px; font-size: 14px; }
.note { margin-top: 12px; font-size: 15px; color: var(--muted); }
.note b { color: var(--ink); }

/* Forms */
.form { margin-top: 16px; display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field .help { font-size: 14px; color: var(--muted); }
.field .err { font-size: 14px; color: var(--warn); min-height: 0; }
.input {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--r-input);
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font: 400 17px/1.4 var(--font-body);
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 80%, var(--bg)); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.input[aria-invalid="true"] { border-color: var(--warn); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: var(--r-input); background: var(--warn-soft); color: var(--warn); font-size: 15px; }
.form .btn { width: 100%; }

/* FAQ */
.faq-list { margin-top: 32px; max-width: 780px; display: grid; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 18px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--accent);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .a { padding: 0 0 22px; color: var(--muted); max-width: 66ch; }

/* Final + footer */
.final { text-align: center; padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.final h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; }
.final .btn { margin-top: 24px; }
footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer p { max-width: 60ch; }

/* Order status page */
.status-page { padding-block: clamp(40px, 7vw, 88px); }
.status-card {
  max-width: 620px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-surface); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px;
  box-shadow: 0 18px 44px rgb(var(--shadow) / .08);
}
.pill { justify-self: start; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.pill.pending { background: var(--accent-soft); color: var(--accent); }
.pill.approved { background: var(--ok-soft); color: var(--ok); }
.pill.rejected { background: var(--warn-soft); color: var(--warn); }
.status-card h1 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; }
.status-card p { color: var(--muted); }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 15px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.save-link { display: flex; gap: 10px; flex-wrap: wrap; }
.save-link .input { flex: 1 1 220px; min-width: 0; font-size: 14px; }
.skeleton { height: 18px; border-radius: 6px; background: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .skeleton { animation: pulse 1.4s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .45; } }
}

/* Admin */
.admin-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 28px 8px; }
.admin-top h1 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 16px 18px; }
.stat b { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }
.stat.pending b { color: var(--accent); }
.stat.money b { color: var(--ok); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; min-height: 38px; padding: 0 14px; font: 600 14px var(--font-body); cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toolbar .input { max-width: 300px; min-height: 42px; font-size: 15px; }
.orders { margin-top: 16px; display: grid; gap: 10px; padding-bottom: 48px; }
.order {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface);
  padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; align-items: center;
}
.order.pending { border-left: 4px solid var(--accent); }
.order .who { min-width: 0; }
.order .email { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.order .sub { color: var(--muted); font-size: 14px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.order .actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.order .confirm { font-size: 14px; color: var(--ink); font-weight: 600; }
.empty { text-align: center; color: var(--muted); padding: 48px 16px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-surface); }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 600;
  max-width: calc(100% - 32px); text-align: center;
}
.login { max-width: 420px; margin: clamp(40px, 10vw, 120px) auto; }
.login h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
@media (max-width: 640px) {
  .order { grid-template-columns: 1fr; }
  .order .actions { justify-content: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat.money { grid-column: 1 / -1; }
  .toolbar .input { max-width: none; }
}

/* Order code */
.bank-row .v.code { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: .08em; user-select: all; }
.status-card .bank { margin-top: 0; }
.order .code { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .06em; color: var(--accent); }
.chip-paid { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); margin-left: 8px; vertical-align: middle; }
.chip-wait { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--line); color: var(--muted); margin-left: 8px; vertical-align: middle; }
.form .bank-row .btn { width: auto; }
#order-done .bank { margin-top: 0; }
