/* JuniorCard.ru — refined dark (from variants/02) */
/* Shared UX layer — spacing, motion, structure */
:root {
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .45s;
  --dur-fast: .22s;
  --space-section: clamp(3.5rem, 7vw, 5.5rem);
  --space-block: clamp(1.25rem, 2.5vw, 1.75rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 1.5rem)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .65rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.compare {
  position: sticky; top: 0; z-index: 80;
  background: rgba(0,0,0,.92); backdrop-filter: blur(10px);
  color: #fff; font-size: .78rem; letter-spacing: .02em;
  padding: .55rem 1.1rem;
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.compare a {
  color: var(--accent-soft, #7ecbff);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast);
}
.compare a:hover { border-bottom-color: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; cursor: pointer; font-weight: 700;
  transition:
    transform var(--dur-fast) var(--ease),
    background var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    filter var(--dur-fast) ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink, #fff);
  border-radius: var(--btn-radius, 999px);
  padding: .95rem 1.45rem;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 45%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--btn-radius, 999px);
  padding: .88rem 1.3rem;
  font-weight: 700;
}
.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}
.btn--sm { padding: .68rem 1.05rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* Sections — air & rhythm */
.section { padding: var(--space-section) 0; }
.section--pale { background: var(--bg-pale, transparent); }
.section--alt { background: var(--bg-alt, transparent); }
.section-head { max-width: 40rem; margin-bottom: clamp(1.5rem, 3vw, 2.1rem); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-family: var(--display, var(--font));
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: .65rem;
  letter-spacing: -.025em;
  color: var(--heading, var(--ink));
}
.section-head p { color: var(--muted); font-size: 1.02rem; max-width: 38rem; }
.section-head--center p { margin-inline: auto; }
.section-head a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--link, var(--accent));
  transition: opacity var(--dur-fast);
}
.section-head a:hover { opacity: .8; }

.catalog-tag {
  display: inline-block;
  margin-bottom: .75rem;
  background: var(--tag-bg);
  color: var(--tag-ink);
  border-radius: 999px;
  padding: .32rem .8rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.panel-lead { margin-bottom: 1.25rem; }
.panel-subhead { font-size: 1.12rem; margin-bottom: .4rem; }
.panel-note { color: var(--muted); font-size: .96rem; }

/* Products — 3 per row, centered */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}
.product {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
    max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius, 18px);
  overflow: hidden;
    color: inherit;
  text-decoration: none;
  /* Same shadow layers at rest (alpha 0) so hover can interpolate smoothly */
  box-shadow:
    0 0 28px 8px rgba(80,140,255,0),
    0 12px 28px rgba(0,0,0,0);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) ease,
    box-shadow .35s ease;
}
.product:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ink) 18%, var(--line));
  box-shadow:
    0 0 28px 8px rgba(80,140,255,.2),
    0 12px 28px color-mix(in srgb, var(--ink) 12%, transparent);
}
.product-img {
  padding: 1.1rem;
  background: var(--img-bg, var(--bg-pale));
  overflow: hidden;
}
.product-img img {
  width: 100%;
    height: auto;
  aspect-ratio: 1.586 / 1;
  object-fit: contain;
  border-radius: 12px;
  transition: transform var(--dur) var(--ease);
}
.product:hover .product-img img { transform: none; }
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 1.15rem 1.15rem;
}
.product-body h3 { margin-bottom: .25rem; letter-spacing: -.01em; font-size: 1rem; }
.product-body p { color: var(--muted); font-size: .9rem; line-height: 1.45; margin: 0 0 .75rem; }
.product-body .btn { margin-top: auto; }
.catalog-cta {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0;
}

/* Category tabs (shared) */
.cat-tabs {
  display: flex; flex-wrap: wrap; gap: .35rem;
  justify-content: center;
  margin: 0 auto 1.75rem;
  padding: .3rem;
  max-width: max-content;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.cat-tab {
  appearance: none; border: 0; cursor: pointer;
  background: transparent; color: var(--muted);
  font: inherit; font-weight: 600; font-size: .88rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  transition: background .2s, color .2s;
}
.cat-tab:hover { color: var(--heading, var(--ink)); }
.cat-tab.is-active {
  background: var(--accent);
  color: var(--accent-ink, #111);
}
.cat-panel { display: none; }
.cat-panel.is-active { display: block; }

.bullet-list { list-style: none; display: grid; gap: .7rem; margin: 1.5rem 0; }
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease);
}
.bullet-list li:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  transform: translateX(4px);
}
.bullet-list .bullet-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: .12rem;
  color: var(--accent);
  stroke-width: 2.5;
}

.tips-block, .content-block {
  margin-top: 1.75rem;
  background: var(--block-bg, var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--card-radius, 20px);
  padding: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--block-ink, var(--ink));
}
.content-block__lead, .tips-block > p {
  color: var(--block-muted, var(--muted));
  margin: .45rem 0 1.1rem;
}
.content-block a,
.tips-block a {
  color: var(--link, var(--accent));
  text-decoration: underline;
  text-underline-offset: .15em;
}
.content-block a:hover,
.tips-block a:hover { opacity: .85; }
.tips-list { list-style: none; display: grid; gap: .65rem; }

.benefits { display: grid; gap: var(--space-block); grid-template-columns: 1fr; }
.benefit, .why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius, 18px);
  padding: 1.35rem 1.25rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur-fast), box-shadow var(--dur) var(--ease);
}
.benefit:hover, .why-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 6%, transparent);
}
.benefit-icon {
  display: block;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-bottom: .75rem;
}
.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
  display: block;
}
.benefit h3, .why-card h3 { margin-bottom: .4rem; letter-spacing: -.01em; }
.benefit p, .why-card p { color: var(--muted); font-size: .93rem; }
.why-grid { display: grid; gap: var(--space-block); margin-top: 1.35rem; }

.steps { display: grid; gap: .9rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast);
}
.step:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.step-n {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink, #fff);
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 35%, transparent);
}
.step p { color: var(--muted); font-size: .92rem; }

.tariff-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--card-radius, 18px);
  background: var(--surface);
}
.tariff-table { width: 100%; border-collapse: collapse; }
.tariff-table th, .tariff-table td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-fast);
}
.tariff-table tr:hover th, .tariff-table tr:hover td {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.tariff-table th { width: 34%; color: var(--muted); font-weight: 600; }
.tariff-table tr:last-child th, .tariff-table tr:last-child td { border-bottom: 0; }

.faq-subtitle { margin: 1.5rem 0 .85rem; font-size: 1.08rem; letter-spacing: -.01em; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  margin-bottom: .65rem;
  overflow: hidden;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-item:hover { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ink) 5%, transparent);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 1.05rem 1.2rem;
  position: relative;
  padding-right: 2.75rem;
  transition: background var(--dur-fast);
}
.faq-item summary:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-chevron {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--accent);
  stroke-width: 2.25;
  transition: transform var(--dur-fast) var(--ease);
  pointer-events: none;
}
.faq-item[open] .faq-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.faq-body {
  color: var(--muted);
  padding: .55rem 1.2rem 1.2rem;
  font-size: .95rem;
  line-height: 1.55;
  animation: faqIn .35s var(--ease);
}
.faq-body > :first-child { margin-top: 0; }
.faq-body > :last-child { margin-bottom: 0; }
.faq-body p { margin: 0; }
.faq-body ul {
  margin: 0;
  padding-left: 1.15rem;
}
.faq-body li + li { margin-top: .35rem; }
.faq-body a {
  color: var(--link, var(--accent));
  text-decoration: underline;
  text-underline-offset: .15em;
}
.faq-body a:hover { opacity: .85; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.cta-band {
  text-align: center;
  background: var(--cta-bg);
  border: 1px solid var(--cta-line, var(--line));
  border-radius: var(--card-radius, 24px);
  padding: clamp(2.5rem, 5.5vw, 3.5rem) clamp(1.5rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cta-band h2 {
  font-family: var(--display, var(--font));
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
  max-width: 28ch;
}
.cta-band p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 42rem;
  line-height: 1.55;
}
.cta-band .btn {
  margin-top: .15rem;
}

.site-footer {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.footer-grid { display: grid; gap: 1.75rem; margin-bottom: 0; }
.footer-about > p { margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .5rem; columns: 2; }
.footer-links a {
  transition: color var(--dur-fast), transform var(--dur-fast);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--heading, var(--ink));
  transform: translateX(3px);
}
.footer-copy { font-size: .82rem; display: grid; gap: .45rem; margin-top: 2rem; color: var(--muted); }

.fab-dock {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: .65rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.96);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.fab-dock.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.fab {
  position: static;
  background: var(--accent);
  color: var(--accent-ink, #fff);
  padding: .9rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: transform var(--dur-fast) var(--ease);
}
.fab:hover { transform: translateY(-2px); }

.mobile-nav {
  display: none;
  width: 92%;
  max-width: 22rem;
  margin-top: .85rem;
  margin-bottom: 1.25rem;
  margin-left: auto;
  padding: 1.1rem 1.1rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  animation: dropIn .3s var(--ease);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; display: grid; gap: .8rem; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
/* Logo lockup */
.logo, .brand {
    display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
}
.logo-mark, .brand-mark {
  width: 36px;
  height: 36px;
    flex-shrink: 0;
  display: block;
  object-fit: contain;
  transition: transform var(--dur-fast) var(--ease);
}
.logo:hover .logo-mark, .brand:hover .brand-mark { transform: scale(1.05); }
.logo-title, .brand-title {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  color: var(--heading, var(--ink));
}
.logo-text, .brand-text,
.logo-sub, .brand-sub { display: none; }

.menu-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid; place-items: center;
    cursor: pointer;
  padding: 0;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.menu-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  display: block;
}
.menu-btn:hover { border-color: var(--accent); transform: scale(1.04); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* Breakpoints (mobile-first):
   base   — маломощные телефоны (~до 380px)
   380px  — средние телефоны
   640px  — большие телефоны
   768px  — планшеты
   1024px — ПК и шире
*/
@media (min-width: 380px) {
  .container { width: min(1120px, calc(100% - 2.5rem)); }
  .mobile-nav { width: 78%; }
}
@media (min-width: 640px) {
  .product {
    flex: 0 1 calc(50% - var(--space-block) / 2);
    max-width: calc(50% - var(--space-block) / 2);
  }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 1024px) {
  .product,
  .product-grid--4 .product,
  .product-grid--wide .product {
    flex: 0 1 calc((100% - 2 * 3rem) / 3);
    max-width: 340px;
  }
  .product-grid {
    gap: 3rem;
  }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .product:hover, .benefit:hover, .why-card:hover, .step:hover, .btn:hover {
    transform: none;
  }
}

/* Theme 02 — Refined Dark = mockup-02-refined-dark.png */
:root {
  --bg: #080810;
  --bg-pale: #0c0c12;
  --bg-alt: #0a0a10;
  --surface: #16161c;
  --ink: #f2f1f6;
  --muted: #9a96a8;
  --heading: #fff;
  --line: rgba(255,255,255,.09);
  --accent: #3eb6ff;
  --accent-ink: #041018;
  --accent-soft: #8fd0ff;
  --accent-deep: #1a8fe0;
  --tag-bg: rgba(62, 182, 255, .14);
  --tag-ink: #8fd0ff;
  --img-bg: transparent;
  --block-bg: #16161c;
  --block-ink: #f2f1f6;
  --block-muted: #9a96a8;
  --cta-bg: #16161c;
  --cta-line: rgba(255,255,255,.1);
  --font: "Onest", system-ui, sans-serif;
  --display: "Onest", system-ui, sans-serif;
  --font-display: var(--display);
  --btn-radius: 22px;
  --card-radius: 20px;
  --link: #8fd0ff;
  --ink-soft: #9a96a8;
  --sun: #3eb6ff;
  --text-lg: 1.0625rem;
  --text-sm: 0.875rem;
  --leading: 1.6;
  --fs-h2: clamp(1.75rem, 4vw, 2.35rem);
}

/* Accent A (default): VTB-like blue. Accent C: lighter / softer on dark. */
html[data-accent="soft"] {
  --accent: #6ec8ff;
  --accent-ink: #03121c;
  --accent-soft: #b4e4ff;
  --tag-bg: rgba(110, 200, 255, .16);
  --tag-ink: #b4e4ff;
  --link: #b4e4ff;
  --sun: #6ec8ff;
}

body {
  background: var(--bg);
  letter-spacing: -.01em;
  overflow-x: hidden;
  max-width: 100%;
}

html {
    overflow-x: hidden;
  }

/* Slightly tighter page rhythm */
.section {
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
}

h1, h2, h3 {
  font-family: var(--display);
}

/* —— Header —— */
.site-header {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}
.logo-mark {
  width: 34px; height: 34px;
  display: block; object-fit: contain; flex-shrink: 0;
}
.logo-title {
  font-family: var(--display);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
}
.site-footer .logo-title {
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.nav {
  display: none;
  list-style: none;
  gap: 1.6rem;
  color: rgba(255,255,255,.78);
  font-weight: 500;
  font-size: .9rem;
}
.nav a { transition: color .2s; }
.nav a::after { display: none; }
.nav a:hover { color: #fff; }
.nav a.is-active { color: #fff; }
.section-head h2 a {
  color: inherit;
  text-decoration: none;
}
.section-head h2 a:hover {
  color: var(--accent);
}
.header-cta {
  display: none;
  gap: .45rem;
  border-radius: 12px;
  padding: .55rem 1.05rem;
  font-size: .88rem;
  font-weight: 700;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: none;
}
.header-cta:hover {
  filter: none;
  background: rgba(255,255,255,.04);
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.menu-btn {
  background: transparent;
  border-color: var(--line);
  border-radius: 10px;
}

.fab {
  border-radius: 22px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 42%, transparent);
  animation: cta-invite 2.4s ease-in-out infinite;
  transition: filter .35s ease, box-shadow .35s ease, transform .25s ease;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
}
.fab svg {
  flex-shrink: 0;
  stroke-width: 2.25;
}
.fab:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 55%, transparent);
}

/* Buttons — VTB blue capsules */
.btn {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  gap: .55rem;
}
.btn svg {
  flex-shrink: 0;
  stroke-width: 2.25;
}
.btn--primary {
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 38%, transparent);
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 22px;
  min-height: 56px;
  padding: 0 1.75rem 0 1.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
}
.btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 48%, transparent);
  transform: translateY(-1px);
}
.btn--primary svg {
  color: var(--accent-ink);
}

/* CTA breathe — soft scale, blue glow */
.hero-actions .btn--primary,
.product .btn--primary,
.cta-band .btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: filter .35s ease, box-shadow .35s ease, transform .25s ease;
}
.hero-actions .btn--primary,
.cta-band .btn--primary {
  animation: cta-invite 2.4s ease-in-out infinite;
}
.hero-actions .btn--primary:hover,
.hero-actions .btn--primary:focus-visible,
.cta-band .btn--primary:hover,
.cta-band .btn--primary:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 52%, transparent);
}
.product .btn--primary {
  animation: none;
  transform: scale(1);
  min-height: 52px;
  font-size: 1rem;
}
.product:hover .btn--primary,
.product:focus-within .btn--primary {
  animation: cta-invite 2.4s ease-in-out infinite;
  filter: brightness(1.04);
}
.product .btn--primary:hover,
.product .btn--primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 50%, transparent);
}
@keyframes cta-invite {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@media (hover: none) {
  .product:active .btn--primary {
    animation: cta-invite 2.4s ease-in-out infinite;
    filter: brightness(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-actions .btn--primary,
  .product .btn--primary,
  .product:hover .btn--primary,
  .product:focus-within .btn--primary,
  .product:active .btn--primary,
  .cta-band .btn--primary,
  .fab {
    animation: none !important;
    transform: none !important;
  }
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  min-height: 56px;
  padding: 0 1.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
}
.btn--sm {
  min-height: 44px;
  padding: 0 1.25rem;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 16px;
}
.btn--block {
  width: 100%;
  border-radius: 16px;
  min-height: 48px;
  padding: 0 1.25rem;
}
.header-cta.btn,
.header-cta.btn--sm {
  min-height: 40px;
  padding: 0 1.05rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: -.01em;
  border-radius: 14px;
  gap: .4rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: none;
}
.header-cta.btn:hover,
.header-cta.btn--sm:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.header-cta svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.75;
}
.btn:hover { transform: translateY(-1px); }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.5rem;
}
.hero-actions .btn {
  min-height: 52px;
  padding: 0 1.15rem;
  font-size: 1rem;
  width: 100%;
  justify-content: center;
}
.hero-actions .btn--primary {
  padding-right: 1.15rem;
}
@media (min-width: 380px) {
  .hero-actions .btn {
    width: 85%;
    min-height: 56px;
    padding: 0 1.9rem;
    font-size: 1.0625rem;
  }
  .hero-actions .btn--primary { padding-right: 1.55rem; }
}
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
  .hero-actions .btn {
    width: auto;
  }
}

.product {
  box-shadow:
    0 0 28px 8px rgba(80,140,255,0),
    0 12px 28px rgba(0,0,0,0);
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}
.product:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow:
    0 0 32px 10px color-mix(in srgb, var(--accent) 18%, transparent),
    0 14px 32px rgba(0,0,0,.42);
}
.benefit:hover {
  transform: none;
  border-color: #7ecbff;
  box-shadow: none;
}
.step:hover {
  transform: none;
  border-color: #7eb6ff;
  box-shadow: none;
}
.benefit,
.step {
  transition: border-color .3s ease;
}
.product:hover .product-img img { transform: none; }

/* Catalog grids — max 3 per row; 4→2×2; 5→3+2 centered */
.product-grid {
  gap: 2.5rem 3rem;
  margin-bottom: 2rem;
}
.product-grid .product {
  max-width: 340px;
}
@media (min-width: 1024px) {
  .product-grid {
    gap: 2.5rem 3rem;
  }
  .product-grid .product {
    flex: 0 0 auto;
    width: 340px;
    max-width: 340px;
  }
  /* 4 cards: 2×2, no orphan */
  .product-grid--4 {
    max-width: calc(2 * 340px + 3rem);
    margin-inline: auto;
  }
  /* 5 cards: keep 3 max, tighter row gap so bottom pair sits closer */
  .product-grid--wide {
    gap: 2.25rem 3rem;
  }
}

/* Catalog sections — shorter vertical rhythm, less “same tape” */
.catalog-block.section {
  padding: clamp(2.4rem, 4.5vw, 3.5rem) 0;
}
.catalog-block .section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.catalog-block .product-grid {
  margin-bottom: 0;
}
#youth .catalog-tag {
  border-color: rgba(180, 166, 255, .28);
  background: rgba(130, 110, 255, .12);
  color: #b4a6ff;
}
#retro .catalog-tag {
  border-color: rgba(110, 212, 170, .28);
  background: rgba(70, 180, 140, .12);
  color: #6ed4aa;
}
#aroma .catalog-tag {
  border-color: rgba(126, 182, 255, .28);
  background: rgba(80, 150, 255, .12);
  color: #7eb6ff;
}

/* #cards — same hover glow as other products, purple */
#cards .product {
  box-shadow:
    0 0 28px 8px rgba(130,110,255,0),
    0 12px 28px rgba(0,0,0,0);
}
#cards .product:hover {
  box-shadow:
    0 0 28px 8px rgba(130,110,255,.22),
    0 12px 28px rgba(0,0,0,.4);
}
#cards .catalog-tag {
  border-color: rgba(180, 166, 255, .3);
  background: rgba(130, 110, 255, .14);
  color: #c4b8ff;
}

/* #cards — air between head / grid / bullets / tips */
#cards .section-head {
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}
#cards .product-grid {
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}
#cards .bullet-list {
  margin: 0 0 clamp(2.25rem, 4vw, 3rem);
  gap: .75rem;
}
#cards .tips-block {
  margin-top: 0;
}

/* Bullet + tips — same language as product cards */
#cards .bullet-list li {
  border-radius: var(--card-radius, 20px);
  padding: 1.05rem 1.2rem;
  transition: border-color .35s ease, box-shadow .35s ease;
}
#cards .bullet-list li:hover {
  transform: none;
  border-color: rgba(255,255,255,.14);
  box-shadow:
    0 0 24px 6px rgba(80,140,255,.12),
    0 10px 24px rgba(0,0,0,.28);
}
#cards .tips-block {
  border-radius: var(--card-radius, 20px);
  padding: clamp(1.4rem, 3vw, 1.85rem);
}
#cards .tips-block h2,
#cards .tips-block h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .35rem;
}
#cards .tips-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 640px) {
  #cards .tips-list {
    grid-template-columns: 1fr 1fr;
    gap: .85rem 1rem;
  }
}
#cards .tips-list li {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  line-height: 1.45;
}

.catalog-tag {
  border-radius: 8px;
}

/* Section heads — quieter tag, clearer hierarchy, aligned with centered grids */
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 2.85rem);
    text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 0 0 .9rem;
  color: #fff;
}
.section-head p {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
}
.catalog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
  padding: .3rem .75rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-soft);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
    text-transform: uppercase;
  }

/* —— Hero (mockup order) —— */
.hero {
  text-align: center;
  padding: clamp(3.5rem, 8vh, 5rem) 0 clamp(3rem, 6vh, 4rem);
  position: relative;
  overflow-x: clip;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 0;
  right: 0;
  height: 70%;
  background:
    radial-gradient(ellipse 55% 70% at 35% 40%, rgba(26,143,224,.20), transparent 70%),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(62,182,255,.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 8.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 0 auto 0;
  max-width: 14ch;
  color: #fff;
}
.hero-h1-main {
  display: block;
  position: relative;
}
.hero-h1-main::after {
  display: none;
}
.hero-h1-accent {
  display: block;
  color: var(--accent);
  font-size: .82em;
  font-weight: 700;
  margin-top: .4rem;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.hero-h1-accent::after { display: none; }

.hero-lead {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 1.35rem auto 1.75rem;
}
@media (min-width: 380px) {
  .hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.25rem); }
  .hero-lead { font-size: 1.05rem; }
}

/* Features bar — after hero, before catalog */
.features-section {
  padding-top: clamp(1.5rem, 3vh, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vh, 2.25rem);
}
.features-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  background: rgba(22,22,28,.95);
  border-radius: 16px;
  position: relative;
}
.feature-item:hover { background: rgba(28,28,36,.98); }
.feature-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-top: 0;
  background: none;
}
.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
  display: block;
}
.feature-item:nth-child(1) .feature-icon { background: rgba(62,182,255,.15); color: #8fd0ff; }
.feature-item:nth-child(2) .feature-icon { background: rgba(26,143,224,.18); color: #5ec8ff; }
.feature-item:nth-child(3) .feature-icon { background: rgba(62,182,255,.12); color: #7ecbff; }
.feature-item:nth-child(4) .feature-icon { background: rgba(143,208,255,.14); color: #b4e4ff; }
.feature-copy { min-width: 0; }
.feature-item strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .2rem;
  color: #fff;
  letter-spacing: -.015em;
}
.feature-item span {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Stacked card stage (from prev) */
.hero-stage {
  position: relative;
  display: block;
  max-width: 720px;
  height: clamp(180px, 28vw, 260px);
  margin: 0 auto .85rem;
}
.hero-stage-glow {
  position: absolute;
  inset: 10% 8% 5%;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(62,182,255,.18), transparent 65%),
    radial-gradient(ellipse at 30% 40%, rgba(26,143,224,.20), transparent 60%),
    radial-gradient(ellipse at 75% 45%, rgba(143,208,255,.14), transparent 55%);
  filter: blur(12px);
  pointer-events: none;
}
.hero-stage-card {
  position: absolute;
  width: min(52%, 300px);
  height: auto;
  aspect-ratio: 1.586 / 1;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(0,0,0,.5);
  top: 50%;
  transition: transform .35s var(--ease, ease);
}
.hero-stage-card--back {
  left: 4%;
  transform: translateY(-46%) rotate(-8deg) scale(.9);
  z-index: 1;
  opacity: .85;
}
.hero-stage-card--front {
  right: 4%;
  left: auto;
  transform: translateY(-46%) rotate(8deg) scale(.9);
  z-index: 1;
  opacity: .85;
}
.hero-stage-card--main {
  left: 50%;
  width: min(62%, 340px);
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 28px 56px rgba(0,0,0,.55);
}
.hero-stage:hover .hero-stage-card--back { transform: translateY(-48%) rotate(-10deg) scale(.92); }
.hero-stage:hover .hero-stage-card--front { transform: translateY(-48%) rotate(10deg) scale(.92); }
.hero-stage:hover .hero-stage-card--main { transform: translate(-50%, -52%) scale(1.02); }
.hero-stage-caption {
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
  margin: .75rem auto 0;
}
.hero-price {
  margin: .85rem auto 1.75rem;
  max-width: 42rem;
  text-align: center;
  color: var(--accent-soft);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.45;
  padding: .85rem 1.15rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

/* Stats bar */
.trust-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
  max-width: 960px;
  margin: 0 auto;
  padding: .5rem 0 0;
  text-align: left;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.trust-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-top: 0;
}
.trust-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
  display: block;
}
.trust-item:nth-child(1) .trust-icon { background: rgba(62,182,255,.15); color: #8fd0ff; }
.trust-item:nth-child(2) .trust-icon { background: rgba(26,143,224,.18); color: #5ec8ff; }
.trust-item:nth-child(3) .trust-icon { background: rgba(62,182,255,.12); color: #7ecbff; }
.trust-item:nth-child(4) .trust-icon { background: rgba(143,208,255,.14); color: #b4e4ff; }
.trust-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: .15rem;
}
.trust-item span {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.35;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: .15rem 1.25rem 1.35rem;
}
.product-body h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.product-body p {
  margin: 0 0 .35rem;
  flex: 1;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.45;
}
.product-body .btn {
  margin-top: .35rem;
  min-height: 52px;
  font-size: 1.0625rem;
  font-weight: 700;
  gap: .5rem;
  padding: 0 1.15rem;
}
.product-body .btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}
.product-img {
  padding: 1rem 1rem .35rem;
  background: transparent;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: .85rem;
  background: rgba(62,182,255,.15);
  color: #7ecbff;
}
.benefit-icon svg { width: 18px; height: 18px; stroke-width: 1.75; }
.benefit:nth-child(1) .benefit-icon { background: rgba(62,182,255,.15); color: #8fd0ff; }
.benefit:nth-child(2) .benefit-icon { background: rgba(26,143,224,.18); color: #5ec8ff; }
.benefit:nth-child(3) .benefit-icon { background: rgba(62,182,255,.12); color: #7ecbff; }
.benefit:nth-child(4) .benefit-icon { background: rgba(143,208,255,.14); color: #b4e4ff; }

.step-n {
  box-shadow: none;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
}

.cta-band {
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 24px;
  padding: clamp(2.75rem, 5.5vw, 3.75rem) clamp(1.75rem, 5vw, 4rem);
  text-align: center;
}
.cta-band h2 {
  margin-bottom: .85rem;
}
.cta-band p {
  margin-bottom: 1.65rem;
  font-size: 1.0625rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1024px) {
  .nav { display: flex; justify-content: center; }
  .header-cta { display: inline-flex; align-items: center; }
  .menu-btn, .mobile-nav { display: none !important; }
  .header-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .features-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0;
  }
  .feature-item {
    padding: 1.1rem 1.05rem;
  }
  .feature-item:not(:last-child)::after {
    display: none;
  }
  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: .75rem;
  }
  .trust-item:not(:last-child) {
    border-right: 1px solid var(--line);
    padding-right: 1.25rem;
  }
  .hero-stage { height: 260px; max-width: 720px; }
}

/* —— Article / landing pages (/kak-oformit, /usloviya, /kontrol) —— */
.page-main {
  padding: 2.5rem 0 var(--space-section);
  min-height: 60vh;
}
.page-head {
  margin-bottom: 2rem;
  max-width: 42rem;
}
.page-head h1 {
  font-family: var(--display);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 0 0 .85rem;
  color: #fff;
}
.page-head p {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: var(--leading);
}
.prose {
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.prose h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  margin: .75rem 0 0;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  margin: .35rem 0 0;
}
.prose p,
.prose li {
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--leading);
  color: var(--ink-soft);
}
.prose ul,
.prose ol {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.prose a:hover { color: #fff; }
.prose strong { color: #fff; font-weight: 600; }
.page-cta {
  margin-top: 2.5rem;
}
.page-nav-links {
      display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
}
.page-nav-links a {
  color: var(--link, var(--accent));
  text-decoration: underline;
  text-underline-offset: .15em;
  transition: opacity .2s;
}
.page-nav-links a:hover { opacity: .85; }

/* Article pages have no #menu-btn — keep nav + CTA visible on mobile */
body:not(:has(#menu-btn)) .nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  font-size: .85rem;
}
body:not(:has(#menu-btn)) .header-cta {
  display: inline-flex;
  align-items: center;
}
body:not(:has(#menu-btn)) .logo {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .02em;
}
body:not(:has(#menu-btn)) .site-footer .footer-copy {
  margin-top: 0;
}
.page-main .tariff-wrap {
  overflow-x: auto;
  margin: .25rem 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.page-main .tariff-table th,
.page-main .tariff-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-lg);
  color: var(--ink-soft);
}
.page-main .tariff-table th {
  color: var(--muted);
  font-weight: 600;
  text-align: left;
}
.page-main .tariff-table strong {
  color: #fff;
}


/* Production extras */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .65rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }
.compare { display: none !important; }

/* BlackCards.ru extras */
#nostalgia .catalog-tag {
  border-color: rgba(110, 212, 170, .28);
  background: rgba(70, 180, 140, .12);
  color: #6ed4aa;
}
#svet .catalog-tag {
  border-color: rgba(180, 166, 255, .3);
  background: rgba(130, 110, 255, .14);
  color: #c4b8ff;
}
#molodezh .catalog-tag {
  border-color: rgba(180, 166, 255, .28);
  background: rgba(130, 110, 255, .12);
  color: #b4a6ff;
}
#aroma .catalog-tag {
  border-color: rgba(126, 182, 255, .28);
  background: rgba(80, 150, 255, .12);
  color: #7eb6ff;
}
#junior .catalog-tag {
  border-color: rgba(62, 182, 255, .28);
  background: rgba(62, 182, 255, .12);
  color: #7ecbff;
}
#premium .catalog-tag {
  border-color: rgba(255, 196, 80, .3);
  background: rgba(255, 180, 40, .12);
  color: #ffc450;
}
#drive .catalog-tag {
  border-color: rgba(80, 200, 220, .28);
  background: rgba(40, 160, 180, .12);
  color: #5ad0e0;
}

/* DesignDebitCard.ru — section tags in one blue family (+ Magnit brand pink) */
#collection .catalog-tag {
  border-color: rgba(62, 182, 255, .28);
  background: rgba(62, 182, 255, .12);
  color: #8fd0ff;
}
#cyber .catalog-tag {
  border-color: rgba(94, 200, 255, .35);
  background: rgba(26, 143, 224, .16);
  color: #5ec8ff;
}
#sticker .catalog-tag {
  border-color: rgba(143, 208, 255, .32);
  background: rgba(62, 182, 255, .14);
  color: #b4e4ff;
}
#magnit .catalog-tag {
  border-color: rgba(255, 120, 140, .28);
  background: rgba(220, 60, 90, .12);
  color: #ff9aab;
}
#multicard .catalog-tag {
  border-color: rgba(42, 160, 240, .32);
  background: rgba(26, 143, 224, .14);
  color: #7ecbff;
}

#nostalgia .section-head,
#svet .section-head {
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}
#nostalgia .product-grid,
#svet .product-grid {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
#nostalgia .bullet-list {
  margin: 0;
  gap: .75rem;
}

.fact-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.breadcrumbs {
  margin: 0 0 1rem;
  font-size: .85rem;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--link, var(--accent));
  text-decoration: underline;
  text-underline-offset: .15em;
}
.breadcrumbs-sep { margin: 0 .5rem; opacity: .5; }
.page-head .catalog-tag {
  display: inline-flex;
  margin: 0 0 .85rem;
}
.page-meta {
  margin: .75rem 0 0;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
}

.category-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.category-nav-label {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .9rem;
}
.category-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.category-nav-links a {
  display: inline-flex;
  align-items: center;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}
.category-nav-links a:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.contact-grid {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color .2s, transform .2s;
}
.contact-card:hover {
  border-color: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.contact-card-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer-copy a {
  color: var(--link, var(--accent));
  text-decoration: underline;
  text-underline-offset: .15em;
}
.prose h5 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: .75rem 0 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.prose th, .prose td {
  text-align: left;
  padding: .65rem .75rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.prose figure { margin: 0; overflow: auto; }

html { scroll-padding-top: 88px; }

