:root {
  --bg: #030711;
  --panel: #080d18;
  --panel-2: #0c1320;
  --text: #f6f8ff;
  --muted: #9ba5b8;
  --line: rgba(255,255,255,.1);
  --blue: #2e7bff;
  --blue-light: #67b9ff;
  --blue-dark: #0e46cf;
  --radius: 26px;
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 300px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(37,100,242,.18), transparent 36rem),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 48px 48px, 48px 48px, auto;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
p { line-height: 1.65; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 99; padding: 12px 18px; border-radius: 10px; background: var(--blue); text-decoration: none; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(4,8,17,.84);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 165px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; }
.brand span { display: grid; gap: 2px; }
.brand b { font-size: 14px; letter-spacing: .08em; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.site-header nav { display: flex; justify-content: center; gap: 24px; }
.site-header nav a, .site-footer nav a { color: #c4cada; font-size: 13px; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover, .text-link:hover { color: var(--blue-light); }
.header-cta { padding: 11px 17px; border-radius: 12px; background: #fff; color: #060a12; font-size: 13px; font-weight: 800; text-decoration: none; }

main, .site-footer { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.hero {
  position: relative;
  min-height: 650px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(3,7,17,.98) 0%, rgba(3,7,17,.9) 49%, rgba(3,7,17,.18) 100%),
    url('/assets/store.jpg') 62% center/cover no-repeat;
  box-shadow: 0 40px 100px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.02);
}
.hero-grid { position: absolute; inset: 0 0 0 58%; opacity: .35; background: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg,transparent,#000); }
.hero-copy { position: relative; z-index: 2; width: min(680px, 70%); padding: 76px 68px 58px; }
.eyebrow, .product-kicker { margin: 0 0 10px; color: var(--blue-light); font-size: 11px; font-weight: 900; letter-spacing: .19em; }
h1 { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(76px, 10vw, 138px); font-weight: 500; line-height: .86; letter-spacing: .012em; }
.hero-lead { max-width: 560px; margin: 30px 0 0; color: #c6cede; font-size: 18px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; font-weight: 850; text-decoration: none; transition: .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { border-color: rgba(87,156,255,.6); background: linear-gradient(135deg,var(--blue),var(--blue-dark)); box-shadow: 0 16px 34px rgba(24,84,219,.24); }
.button.secondary { background: rgba(11,17,29,.78); }
.button.full { width: 100%; margin-top: 22px; }
.hero-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 52px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(5,10,20,.68); }
.hero-facts b { font-size: 18px; }
.hero-facts span { color: var(--muted); font-size: 10px; }
.spark { position: absolute; z-index: 2; width: 176px; height: 176px; background: linear-gradient(135deg,var(--blue-light),#0754f8); clip-path: polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%); filter: drop-shadow(0 0 28px rgba(42,114,255,.55)); }
.spark-one { right: 11%; top: 28%; }
.spark-two { right: 28%; top: 16%; width: 34px; height: 34px; opacity: .9; }

.section { margin-top: 100px; scroll-margin-top: 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.section-heading.compact { align-items: center; }
.section-heading h2, .info-card h2, .contact-section h2 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -.04em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; }
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg,rgba(14,21,35,.97),rgba(5,9,17,.98)); box-shadow: 0 26px 70px rgba(0,0,0,.28); }
.product-image { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--line); background: #050914; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-body { display: flex; flex-direction: column; padding: 28px; }
.product-title-row { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.product-title-row h3 { margin: 0; font-size: 30px; }
.price-chip { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(93,161,255,.42); border-radius: 12px; color: #dceaff; background: rgba(33,101,230,.14); font-size: 12px; font-weight: 850; }
.product-body > p { min-height: 78px; color: var(--muted); font-size: 14px; }
.package-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.package-grid span { display: grid; gap: 3px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #080e19; }
.package-grid b { font-size: 13px; }
.package-grid small { color: var(--blue-light); font-size: 11px; }
.premium-prices { display: grid; gap: 8px; }
.premium-prices div { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #080e19; }
.premium-prices span { color: var(--muted); font-size: 13px; }
.premium-prices b { font-size: 14px; }
.product-terms { display: grid; gap: 7px; margin: 20px 0 22px; padding: 0; color: #bdc5d5; font-size: 12px; list-style: none; }
.product-terms li::before { content: '✓'; margin-right: 8px; color: var(--blue-light); font-weight: 900; }
.product-body > .button.full { margin-top: auto; }
.catalog-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.process { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7,12,22,.78); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 205px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,#0c1423,#070c15); }
.steps > li > span { color: var(--blue-light); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.steps h3 { margin: 36px 0 8px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg,#0d1422,#060b14); }
.info-card > p:not(.eyebrow) { color: var(--muted); }
dl { display: grid; gap: 0; margin: 25px 0; }
dl div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: 12px; }
dd { margin: 0; font-size: 12px; font-weight: 700; }
.text-link { color: var(--blue-light); font-size: 13px; font-weight: 800; text-decoration: none; }
.contact-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; padding: 44px; border: 1px solid rgba(77,143,255,.34); border-radius: 30px; background: radial-gradient(circle at 90% 10%,rgba(33,100,236,.18),transparent 25rem),#07101d; }
.contact-section > div > p:not(.eyebrow) { color: var(--muted); }
.requisites { display: grid; gap: 0; padding: 8px 0; font-style: normal; }
.requisites div { display: grid; grid-template-columns: 145px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.requisites span { color: var(--muted); font-size: 11px; }
.requisites b, .requisites a { font-size: 12px; text-decoration: none; }
.document-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.document-links a { display: flex; align-items: center; gap: 15px; min-height: 64px; padding: 12px 17px; border: 1px solid var(--line); border-radius: 15px; background: #080e18; font-size: 13px; font-weight: 800; text-decoration: none; }
.document-links a:hover { border-color: rgba(87,153,255,.5); background: #0b1526; }
.document-links span { color: var(--blue-light); font-size: 10px; letter-spacing: .1em; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 22px 50px; margin-top: 100px; padding: 32px 0 50px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border: 1px solid var(--line); border-radius: 11px; }
.footer-brand div { display: grid; gap: 3px; }
.footer-brand b { font-size: 13px; letter-spacing: .08em; }
.footer-brand span { color: var(--muted); font-size: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 16px; }
.site-footer > p { grid-column: 1 / -1; max-width: 860px; margin: 0; color: #788398; font-size: 10px; }
.site-footer small { color: #788398; font-size: 10px; }
.site-footer small a { color: #a9b4c8; text-decoration: none; }

/* Legal pages */
.legal-shell { width: min(920px, calc(100% - 32px)); margin: 72px auto 100px; }
.legal-hero { position: relative; overflow: hidden; padding: 54px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at 92% 14%,rgba(39,105,247,.24),transparent 21rem),linear-gradient(145deg,#0b1424,#050912); }
.legal-hero h1 { max-width: 760px; font-family: inherit; font-size: clamp(40px,7vw,72px); font-weight: 900; line-height: .95; letter-spacing: -.05em; }
.legal-hero p { max-width: 650px; margin: 22px 0 0; color: var(--muted); }
.legal-article { margin-top: 18px; padding: 42px 54px; border: 1px solid var(--line); border-radius: 28px; background: rgba(7,12,21,.94); }
.legal-article h2 { margin: 44px 0 12px; font-size: 24px; letter-spacing: -.025em; }
.legal-article h2:first-child { margin-top: 0; }
.legal-article p, .legal-article li { color: #bbc4d4; font-size: 14px; line-height: 1.7; }
.legal-article ul { padding-left: 20px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal-meta span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 10px; }
.legal-nav { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 18px; }
.legal-nav a { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #070d17; font-size: 12px; text-decoration: none; }
.legal-nav a:hover { border-color: rgba(87,153,255,.48); }
.warning-note { padding: 16px; border: 1px solid rgba(255,190,80,.28); border-radius: 14px; color: #d8c39b !important; background: rgba(99,64,13,.12); }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 600px; }
  .hero-copy { width: 86%; padding: 68px 38px 42px; }
  .spark-one { right: 5%; opacity: .7; }
  .catalog-grid, .info-grid, .contact-section { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 160px; }
  .steps h3 { margin-top: 24px; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 20px); margin-top: 10px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .header-cta { padding-inline: 13px; }
  main, .site-footer { width: calc(100% - 20px); }
  .hero { min-height: 640px; border-radius: 25px; background-position: 68% center; }
  .hero-copy { width: 100%; padding: 54px 22px 32px; }
  h1 { font-size: clamp(68px,24vw,102px); }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 36px; }
  .hero-facts li { grid-template-columns: 70px 1fr; align-items: center; }
  .spark-one { width: 105px; height: 105px; right: -5px; top: 25%; }
  .spark-two { display: none; }
  .section { margin-top: 72px; }
  .section-heading { display: grid; gap: 14px; }
  .product-body { padding: 21px; }
  .product-title-row { display: grid; }
  .price-chip { justify-self: start; }
  .package-grid { grid-template-columns: repeat(2,1fr); }
  .product-body > p { min-height: 0; }
  .process, .info-card, .contact-section { padding: 24px; }
  .contact-actions .button { width: 100%; }
  dl div, .requisites div { grid-template-columns: 1fr; gap: 5px; }
  .document-links { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: start; }
  .legal-shell { width: calc(100% - 20px); margin-top: 30px; }
  .legal-hero, .legal-article { padding: 28px 22px; border-radius: 22px; }
  .legal-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
