/* Стили страницы billing/_public_base.html (перенесены из <style> в шаблоне). */
@layer legacy {

/* Палитра выровнена с маркетинговым лэндингом (core/landing.html). */
:root {
  --bg: #0a0d12; --bg-elev: #131720; --bg-card: #141a23;
  --border: #1f2530; --border-strong: #2a3140;
  --text: #f5f6f8; --muted: #8a93a3; --dim: #5b6373;
  --amber: #d4a574; --amber-h: #e6bd8c; --amber-d: #a98259;
  --teal: #5fb8b4; --rust: #a64940;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
             font-family: 'Inter', -apple-system, Segoe UI, sans-serif;
             font-feature-settings: 'cv11','ss01','ss03';
             -webkit-font-smoothing: antialiased; }
.num { font-variant-numeric: tabular-nums; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-h); }
 /* Узбекский геометрический орнамент — как на лэндинге, очень слабый. */
.ornament {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%23d4a574' stroke-width='0.6'><polygon points='60,8 76,28 100,28 88,52 100,76 76,76 60,96 44,76 20,76 32,52 20,28 44,28'/><polygon points='60,28 70,40 86,40 78,52 86,64 70,64 60,76 50,64 34,64 42,52 34,40 50,40'/><circle cx='60' cy='52' r='8'/></g></svg>");
  background-size: 180px 180px;
}
.page { position: relative; z-index: 1; }
 /* Nav */
.nav { display: flex; align-items: center; justify-content: space-between;
       padding: 18px 32px; border-bottom: 1px solid var(--border);
       position: sticky; top: 0; z-index: 20;
       backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
       background: rgba(10,13,18,0.72); }
.nav__brand { display: flex; align-items: center; gap: 10px;
              font-weight: 600; letter-spacing: -0.025em; font-size: 18px; color: var(--text); }
.nav__brand img { height: 36px; width: auto; display: block; }
.nav__brand .tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
                   color: var(--dim); border: 1px solid var(--border); border-radius: 100px;
                   padding: 1px 7px; margin-left: 2px; }
.nav__links { display: flex; gap: 24px; font-size: 14px; align-items: center; }
.nav__links a { color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__links .nav__cta, .nav__links .nav__cta:hover { color: #1b1308; }
.nav__cta {
  padding: 8px 18px; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: #1b1308;
  background: linear-gradient(180deg,#e6bd8c 0%, #d4a574 55%, #b88c5c 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 -1px 0 rgba(0,0,0,.2) inset, 0 8px 24px -10px rgba(212,165,116,.6);
  transition: transform .2s ease, filter .25s;
}
.nav__cta:hover { transform: translateY(-1px); filter: brightness(1.04); color: #1b1308; }
/* Телефон: в шапке остаются «Войти» и кнопка заявки. */
@media (max-width: 640px) {
  .nav { padding: 14px 16px; }
  .nav__links { gap: 14px; }
  .nav__extra { display: none; }
}
 .wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.center { text-align: center; }
 .hero-h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 60px 0 16px; line-height: 1.04; }
.hero-h1 span { color: var(--amber); }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 600px; margin: 0 auto 48px; line-height: 1.6; }
 /* Buttons — золотой градиент как btn-gold на лэндинге. */
.btn { display: inline-block; padding: 12px 28px; font-weight: 600; font-size: 14px;
       border-radius: 10px; border: 0; cursor: pointer;
       font-family: inherit; transition: transform .2s ease, box-shadow .25s ease, filter .25s, border-color .2s, background .2s; }
.btn--primary { color: #1b1308;
  background: linear-gradient(180deg,#e6bd8c 0%, #d4a574 55%, #b88c5c 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 -1px 0 rgba(0,0,0,.2) inset, 0 8px 24px -10px rgba(212,165,116,.6); }
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.04); color: #1b1308;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -1px 0 rgba(0,0,0,.25) inset, 0 14px 36px -10px rgba(212,165,116,.8); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn--ghost:hover { border-color: #4a5466; background: rgba(255,255,255,.03); transform: translateY(-1px); }
 .foot { position: relative; z-index: 1; text-align: center; padding: 60px 32px 32px;
        color: var(--dim); font-size: 12px; border-top: 1px solid var(--border); margin-top: 80px; }
.foot .status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.foot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
             box-shadow: 0 0 0 3px rgba(95,184,180,.18); }
 ::selection { background: rgba(212,165,116,.30); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #1f2530; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2a3140; }

}
