/* NightLink Pay — витрина на токенах Nightlink v1.2.
   «Ночь + золото»: светящееся затмение, орбита эмблем, звёздное поле.
   Токены и self-host шрифты — в brand/tokens.css, здесь только компоненты. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}
/* тёплое «затменное» свечение сверху — атмосфера ночи */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 420px at 72% -12%, rgba(242, 194, 107, 0.09), transparent 62%),
    radial-gradient(500px 380px at 8% 108%, rgba(242, 194, 107, 0.04), transparent 60%);
}

::selection { background: var(--gold); color: var(--void); }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-tight);
  margin: 0 0 var(--s-3);
}
p { margin: 0 0 var(--s-3); }
a { color: var(--light); text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
a:hover { color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container-narrow { max-width: 760px; }

.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.page { padding: var(--s-6) 0 var(--s-8); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: var(--s-2);
  top: -48px;
  background: var(--surface-2);
  color: var(--light);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-md);
  z-index: var(--z-toast);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--s-2); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: var(--s-3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--light);
}
.brand .logo-mark { width: 24px; height: 24px; flex: none; display: block; }
.brand-text {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--light);
  white-space: nowrap;
}
.brand-pay {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--ls-wider);
  color: var(--gold);
  border: 1px solid rgba(242, 194, 107, 0.35);
  border-radius: var(--r-full);
  padding: 2px 8px;
  margin-left: 2px;
}

.nav { display: none; }
.nav a {
  display: block;
  padding: var(--s-2) var(--s-1);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  transition: color var(--dur-fast) var(--ease);
}
.nav a:hover { color: var(--light); }

.nav.open {
  display: block;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--s-2) var(--container-pad) var(--s-4);
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--light);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
#dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: var(--s-7);
  padding-top: var(--s-8);
  padding-bottom: var(--s-8);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  color: var(--dim-1);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-size: var(--fs-xs);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}
.hero h1 {
  font-weight: var(--fw-semibold);
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: var(--s-4);
}
.gold-grad {
  background: linear-gradient(100deg, #f7d894 0%, var(--gold) 45%, #c99a4b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(242, 194, 107, 0.22));
}
.hero-sub {
  color: var(--dim-1);
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  max-width: 52ch;
  margin-bottom: var(--s-5);
}
.hero-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.hero-actions .btn { width: 100%; }

/* чипы способов оплаты / фактов */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-1);
}
.chip svg { width: 13px; height: 13px; color: var(--gold); }

/* Затмение + орбита эмблем */
.orbit {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  margin: 0 auto;
  justify-self: center;
}
.eclipse {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eclipse::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 194, 107, 0.30) 0%, rgba(242, 194, 107, 0.10) 38%, transparent 68%);
  animation: eclipse-breathe 5.2s ease-in-out infinite;
}
.eclipse::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(242, 194, 107, 0.20);
  box-shadow: 0 0 44px rgba(242, 194, 107, 0.12), inset 0 0 44px rgba(242, 194, 107, 0.06);
}
.eclipse svg {
  position: relative;
  width: 46%;
  height: 46%;
  color: var(--light);
  filter: drop-shadow(0 0 26px rgba(242, 194, 107, 0.35));
}
@keyframes eclipse-breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.orbit-tile {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%), var(--surface-2);
  border: 1px solid rgba(242, 194, 107, 0.24);
  box-shadow: 0 0 22px -6px rgba(242, 194, 107, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--dim-1);
  animation: tile-float 6.4s ease-in-out infinite alternate;
}
.orbit-tile svg { width: 22px; height: 22px; fill: currentColor; }
.ot-1 { top: -5%; left: 50%; margin-left: -24px; animation-delay: -1.2s; }
.ot-2 { top: 17%; right: -3%; animation-delay: -3.4s; animation-duration: 7.1s; }
.ot-3 { bottom: 13%; right: 2%; animation-delay: -0.6s; animation-duration: 5.6s; }
.ot-4 { bottom: -5%; left: 45%; animation-delay: -2.5s; animation-duration: 7.6s; }
.ot-5 { bottom: 17%; left: -3%; animation-delay: -4.4s; }
.ot-6 { top: 21%; left: -1%; animation-delay: -5.5s; animation-duration: 6.9s; }
@keyframes tile-float {
  from { transform: translateY(-7px); }
  to { transform: translateY(7px); }
}

/* ---------- Кнопки (12px radius; primary — золотая пилюля) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-medium);
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              opacity var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(180deg, #f7d894 0%, var(--gold) 55%, #e0ae57 100%);
  color: var(--void);
  border: none;
  box-shadow: 0 6px 26px -8px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--void);
  transform: translateY(101%);
  transition: transform 0.3s var(--ease);
}
.btn-primary span { position: relative; z-index: 1; transition: color 0.3s var(--ease); }
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 36px -6px rgba(242, 194, 107, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover:not(:disabled)::after { transform: translateY(0); }
.btn-primary:hover:not(:disabled) span { color: var(--light); }
.btn-ghost {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--dim-2); }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Секции ---------- */
.section { padding: var(--s-7) 0; scroll-margin-top: 72px; }
.section + .section { border-top: 1px solid var(--border); }
.section h2 {
  font-weight: var(--fw-medium);
  font-size: clamp(var(--fs-lg), 3.4vw, var(--fs-xl));
  letter-spacing: var(--ls-snug);
  margin-bottom: var(--s-5);
}
.section-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--dim-1);
  margin-bottom: var(--s-2);
}

/* ---------- Калькулятор Stars — широкая полоса под hero ---------- */
.calc-section { padding-top: var(--s-6); }
.calc-strip {
  display: grid;
  gap: var(--s-5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-md);
}
.calc-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.calc-label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--s-3);
}
.calc-values {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.calc-stars { color: var(--text-muted); font-weight: var(--fw-medium); font-size: var(--fs-sm); }
.calc-stars span { font-family: var(--font-display); font-weight: var(--fw-medium); color: var(--light); }
.calc-price {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(var(--fs-xl), 4vw, var(--fs-2xl));
  letter-spacing: var(--ls-snug);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  appearance: none;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  outline-offset: 4px;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--void);
  box-shadow: 0 0 12px var(--gold-glow);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--void);
  box-shadow: 0 0 12px var(--gold-glow);
  cursor: pointer;
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--dim-3);
  margin-top: var(--s-2);
}
.calc-side { display: flex; flex-direction: column; justify-content: center; }
.calc-note { font-size: var(--fs-xs); color: var(--text-muted); margin: var(--s-3) 0 0; }

/* Табы каталога — surface-пилюля + золотое inset-подчёркивание */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.tab svg { width: 15px; height: 15px; fill: currentColor; color: var(--dim-1); transition: color var(--dur-fast) var(--ease); }
.tab:hover { color: var(--light); }
.tab:hover svg { color: var(--light); }
.tab[aria-selected="true"] {
  background: var(--surface);
  border-color: var(--border);
  color: var(--light);
  box-shadow: inset 0 -2px 0 var(--gold), 0 6px 20px -8px var(--gold-glow);
}
.tab[aria-selected="true"] svg { color: var(--gold); }

/* Эмблемы сервисов: монохромный тайл surface-2 с золотой кромкой при hover */
.emblem-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%), var(--surface-2);
  border: 1px solid var(--border);
  color: var(--dim-1);
  margin-bottom: var(--s-4);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.emblem-tile svg { width: 24px; height: 24px; fill: currentColor; }
.emblem-tile-lg { width: 60px; height: 60px; margin-bottom: 0; flex: none; }
.emblem-tile-lg svg { width: 28px; height: 28px; }
.emblem-initial {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Карточки каталога */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
.card {
  display: block;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 194, 107, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 34px -12px rgba(242, 194, 107, 0.28);
}
.card:hover .emblem-tile {
  color: var(--light);
  border-color: rgba(242, 194, 107, 0.4);
  box-shadow: 0 0 20px -4px rgba(242, 194, 107, 0.35);
}
.card-title { font-size: var(--fs-md); font-weight: var(--fw-semibold); margin-bottom: var(--s-2); }
.card-desc { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--s-4); }
.card-price {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-snug);
  color: var(--white);
}
.card[hidden] { display: none; }
.catalog-empty { margin-top: var(--s-2); }

/* Шаги: mono-лейбл + hairline + золотая stroke-иконка */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}
.step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--dim-1);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.step h3 { font-size: var(--fs-md); font-weight: var(--fw-medium); }
.step p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

.h-ico {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  color: var(--gold);
}
.h-ico svg { width: 100%; height: 100%; }

/* Доверие */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
.trust-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.trust-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--dim-1);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.trust-card h3 { font-size: var(--fs-md); font-weight: var(--fw-medium); margin-bottom: var(--s-2); }
.trust-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

/* FAQ-аккордеон */
.faq-list { display: grid; }
.acc {
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
.acc:last-child { border-bottom: 1px solid var(--border); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  cursor: pointer;
  font-weight: var(--fw-medium);
  list-style: none;
  transition: color var(--dur-fast) var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--white); }
.acc summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: var(--fw-regular);
  color: var(--dim-2);
  flex: none;
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.acc summary:hover::after { color: var(--gold); }
.acc[open] summary::after { content: "−"; color: var(--gold); }
.acc-body { overflow: hidden; transition: height var(--dur) var(--ease); }
.acc-body p {
  padding: 0 0 var(--s-4);
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 64ch;
}

/* ---------- Страница товара ---------- */
.back-link {
  display: inline-block;
  margin-bottom: var(--s-5);
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--dur-fast) var(--ease);
}
.back-link:hover { color: var(--white); }
.product-head {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  margin-bottom: var(--s-6);
}
.product-head .emblem-tile { border-color: rgba(242, 194, 107, 0.28); color: var(--light); }
.product-title {
  font-weight: var(--fw-medium);
  font-size: clamp(var(--fs-lg), 5vw, var(--fs-xl));
  margin-bottom: var(--s-2);
}

.buy-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.buy-form label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--s-2);
}
.buy-form input[type="text"],
.buy-form input[type="email"] {
  width: 100%;
  padding: 12px var(--s-4);
  background: var(--void);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--dur-fast) var(--ease);
}
.buy-form input:focus { border-color: rgba(242, 194, 107, 0.45); outline: none; }
.field-hint { font-size: 13px; color: var(--text-muted); margin: var(--s-2) 0 var(--s-4); }
.field-error { font-size: 13px; color: var(--danger); margin: var(--s-2) 0 var(--s-4); }
.buy-form input[aria-invalid="true"] { border-color: var(--danger); }

.buy-form label[for="email"] { margin-top: 2px; }
.buy-form input[type="email"] { margin-bottom: var(--s-4); }

.agree {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--text-secondary);
  margin-bottom: var(--s-5);
  cursor: pointer;
}
.agree input { margin-top: 3px; accent-color: var(--gold); width: 17px; height: 17px; flex: none; }

.buy-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--border);
  margin-bottom: var(--s-4);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}
.buy-price {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  letter-spacing: var(--ls-snug);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.form-note { font-size: 13px; margin: var(--s-3) 0 0; }

/* ---------- Страница заказа ---------- */
.order-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.order-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--dim-1);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--s-1);
}
.order-num {
  font-family: var(--font-mono);
  font-weight: var(--fw-regular);
  font-size: clamp(26px, 6vw, 34px);
  color: var(--white);
  margin-bottom: var(--s-4);
}

.pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  border: 1px solid transparent;
}
.pill-awaiting_payment { color: var(--dim-1); border-color: var(--border-strong); }
.pill-paid, .pill-fulfilling { color: var(--light); border-color: var(--border-strong); background: var(--surface-2); }
.pill-completed { color: var(--gold); border-color: var(--gold-dim); background: var(--gold-soft); }
.pill-canceled, .pill-failed, .pill-refunded { color: var(--danger); border-color: var(--danger); }

.order-meta {
  margin: var(--s-5) 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}
.order-meta div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.order-meta dt { color: var(--text-muted); font-size: var(--fs-sm); }
.order-meta dd { margin: 0; text-align: right; font-weight: var(--fw-medium); }

.result-block {
  background: var(--surface-2);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
}
.result-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-2);
}
.result-block code {
  display: block;
  color: var(--text);
  word-break: break-word;
}
.order-note { font-size: var(--fs-sm); }

/* ---------- Юридические страницы ---------- */
.legal h1 {
  font-weight: var(--fw-medium);
  font-size: clamp(var(--fs-xl), 5vw, var(--fs-2xl));
}
.legal h2 {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  margin-top: var(--s-6);
  color: var(--light);
}
.legal p { color: var(--text-muted); }

/* ---------- Футер: золотая волосяная линия ---------- */
.site-footer {
  border-top: 1px solid rgba(242, 194, 107, 0.22);
  box-shadow: 0 -1px 24px -12px rgba(242, 194, 107, 0.25);
  padding: var(--s-6) 0 var(--s-5);
  background: var(--void);
}
.footer-grid { display: grid; gap: var(--s-5); }
.footer-brand p { font-size: var(--fs-sm); margin-top: var(--s-3); }
.footer-links, .footer-contacts { display: grid; gap: var(--s-2); align-content: start; }
.footer-links a, .footer-contacts a {
  color: var(--dim-1);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--dur-fast) var(--ease);
}
.footer-links a:hover, .footer-contacts a:hover { color: var(--white); }
.footer-legal {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  border-top: 1px solid var(--border);
  padding-top: var(--s-4);
  margin: 0;
}

/* ---------- Брейкпоинты ---------- */
@media (min-width: 640px) {
  .btn { width: auto; }
  .hero-actions .btn { width: auto; }
  .btn-block { width: 100%; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .calc-strip { grid-template-columns: 1.2fr 0.8fr; gap: var(--s-6); padding: var(--s-6); }
}

@media (min-width: 960px) {
  .burger { display: none; }
  .nav { display: flex; gap: var(--s-5); }
  .nav a { padding: var(--s-1) 0; }
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: var(--s-8);
    padding-bottom: var(--s-9);
  }
  .orbit { justify-self: center; }
  .section { padding: var(--s-8) 0; }
  .calc-section { padding-top: var(--s-7); }
}

@media (min-width: 1200px) {
  .catalog-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 639px) {
  .orbit { width: min(250px, 72vw); }
  .orbit-tile { width: 40px; height: 40px; border-radius: 11px; }
  .orbit-tile svg { width: 18px; height: 18px; }
  .ot-1 { margin-left: -20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .orbit-tile, .eclipse::before { animation: none; }
  .acc-body { transition: none; }
}
