/* ============================================
   TraderX — Общие дизайн-токены и базовые стили
   Подключается во всех block-mockup файлах.
   ============================================ */

:root {
  /* Цвета — фон */
  --bg-page: #F4F5F7;
  --bg-surface: #FFFFFF;
  --bg-subtle: #FAFAFB;
  --bg-dark: #0E1217;

  /* Цвета — текст */
  --text-primary: #0E1217;
  --text-secondary: #5C6370;
  --text-muted: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* Бренд */
  --brand-primary: #0D79F2;
  --brand-primary-hover: #0B65CC;
  --brand-primary-soft: #E7F1FE;

  /* Системные */
  --success: #22C55E;
  --success-soft: #DCFCE7;
  --warning: #F59E0B;
  --warning-soft: #FEF3C7;
  --danger: #EF4444;
  --danger-soft: #FEE2E2;

  /* Границы */
  --border-default: #E5E7EB;
  --border-soft: #F0F1F3;

  /* Шрифт */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* Скругления */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 9999px;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(15,18,23,0.04);
  --shadow-md: 0 4px 12px rgba(15,18,23,0.06);
  --shadow-lg: 0 8px 32px rgba(15,18,23,0.08);
  --shadow-card-blue: 0 12px 40px rgba(13,121,242,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }

/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ===== Header (общий для всех мокапов) ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  overflow: hidden;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(229,231,235,0.72);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 20px; font-weight: 700;
  letter-spacing: 0;
  color: var(--text-primary);
}
.logo .x { color: var(--brand-primary); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text-primary); }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone {
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
}
.header-phone:hover { color: var(--text-primary); }
.header-cta { padding: 11px 18px; font-size: 14px; text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--brand-primary);
  color: var(--text-inverse);
}
.btn-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}
.btn-secondary:hover { border-color: var(--text-primary); }
.btn-large { padding: 18px 36px; font-size: 17px; }
.btn-large .arrow { font-size: 20px; transition: transform 0.2s; }
.btn-large:hover .arrow { transform: translateX(4px); }

/* ===== Scroll motion ===== */
body.scroll-motion-ready [data-reveal] {
  --reveal-x: 0px;
  --reveal-y: 26px;
  --reveal-scale: 1;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 0.76s cubic-bezier(0.2, 0.78, 0.18, 1),
    transform 0.76s cubic-bezier(0.2, 0.78, 0.18, 1),
    filter 0.76s cubic-bezier(0.2, 0.78, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
body.scroll-motion-ready [data-reveal="left"] {
  --reveal-x: -30px;
  --reveal-y: 10px;
}
body.scroll-motion-ready [data-reveal="right"] {
  --reveal-x: 30px;
  --reveal-y: 10px;
}
body.scroll-motion-ready [data-reveal="scale"] {
  --reveal-y: 18px;
  --reveal-scale: 0.97;
}
body.scroll-motion-ready [data-reveal].is-visible {
  --reveal-x: 0px;
  --reveal-y: 0px;
  --reveal-scale: 1;
  opacity: 1;
  filter: blur(0);
}
.closed-beta-places strong.is-counting {
  text-shadow: 0 14px 34px rgba(13,121,242,0.18);
}

@media (max-width: 680px) {
  body.scroll-motion-ready [data-reveal] {
    --reveal-y: 18px;
    filter: blur(5px);
    transition-duration: 0.58s;
  }
  body.scroll-motion-ready [data-reveal="left"],
  body.scroll-motion-ready [data-reveal="right"] {
    --reveal-x: 0px;
    --reveal-y: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.scroll-motion-ready [data-reveal] {
    --reveal-x: 0px;
    --reveal-y: 12px;
    filter: none;
    transition-duration: 0.42s;
  }
}

/* ===== Problem component ===== */
.problem-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-height, 74px);
  padding: clamp(64px, 7vw, 92px) 32px clamp(68px, 8vw, 98px);
  background:
    radial-gradient(circle at 18% 16%, rgba(13,121,242,0.07), transparent 30%),
    linear-gradient(180deg, #F4F5F7 0%, #FFFFFF 38%, #F7F8FA 100%);
}
.problem-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,121,242,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,121,242,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.68), transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.68), transparent 76%);
}
.problem-section::after {
  content: '';
  position: absolute;
  right: -210px;
  top: 16px;
  width: 650px;
  height: 470px;
  pointer-events: none;
  background: url('img/hero-metal-bg.webp') right top / 720px auto no-repeat;
  opacity: 0.16;
  filter: saturate(0.9);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
}
.problem-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.problem-head {
  max-width: 810px;
  margin-bottom: 30px;
}
.problem-overline {
  margin: 0 0 16px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}
.problem-head h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}
.problem-head p {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.55;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.problem-card {
  position: relative;
  min-height: 242px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 15px;
  padding: 22px;
  overflow: hidden;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 86% 12%, rgba(13,121,242,0.08), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.54)),
    rgba(255,255,255,0.48);
  border: 1px solid rgba(198,215,237,0.78);
  border-radius: 22px;
  box-shadow:
    0 20px 54px rgba(15,18,23,0.052),
    inset 0 1px 0 rgba(255,255,255,0.88);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  transform: translateY(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.48), transparent 38%),
    linear-gradient(180deg, transparent 0%, rgba(13,121,242,0.035) 100%);
  opacity: 0.84;
}
.problem-card::after {
  content: '';
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 148px;
  height: 148px;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(13,121,242,0.09), transparent 64%),
    repeating-linear-gradient(90deg, rgba(13,121,242,0.07) 0 1px, transparent 1px 8px);
  opacity: 0.75;
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13,121,242,0.34);
  box-shadow:
    0 26px 70px rgba(15,18,23,0.082),
    inset 0 1px 0 rgba(255,255,255,0.92);
}
.problem-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.problem-index {
  color: rgba(13,121,242,0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.problem-icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.38)),
    rgba(13,121,242,0.075);
  border: 1px solid rgba(13,121,242,0.18);
  border-radius: 16px;
  box-shadow:
    0 12px 30px rgba(13,121,242,0.08),
    inset 0 1px 0 rgba(255,255,255,0.84);
}
.problem-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.problem-card h3 {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: 0;
}
.problem-proof {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: 70px;
  overflow: hidden;
  border: 1px solid rgba(213,225,241,0.84);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(245,249,255,0.48)),
    rgba(255,255,255,0.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}
.problem-proof-percent {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.problem-proof-percent div {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 14px;
}
.problem-proof-percent div:first-child {
  border-right: 1px solid rgba(213,225,241,0.84);
}
.problem-proof-percent span,
.problem-proof-base > span,
.problem-proof-brake em,
.problem-proof-brake b,
.problem-proof-profit span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.problem-proof-percent strong {
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
}
.problem-proof-percent div:last-child strong {
  color: var(--brand-primary);
}
.problem-proof-base {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 13px 14px;
}
.problem-proof-base div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.problem-proof-base i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(13,121,242,0.09);
  border: 1px solid rgba(13,121,242,0.18);
}
.problem-proof-base b {
  margin-left: auto;
  color: var(--brand-primary);
  font-size: 13px;
  line-height: 1;
}
.problem-proof-routine {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
}
.problem-proof-routine span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px 6px;
  color: var(--text-secondary);
  background: rgba(13,121,242,0.055);
  border: 1px solid rgba(13,121,242,0.12);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
.problem-proof-ceiling {
  display: flex;
  align-items: end;
  gap: 9px;
  padding: 16px 14px 12px;
}
.problem-proof-ceiling::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: 18px;
  border-top: 1px dashed rgba(13,121,242,0.42);
}
.problem-proof-ceiling em {
  position: absolute;
  right: 14px;
  top: 9px;
  color: var(--brand-primary);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.problem-proof-ceiling span {
  flex: 1;
  height: var(--h);
  min-height: 22px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #0D79F2, rgba(13,121,242,0.20));
  opacity: 0.82;
}
.problem-proof-brake {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
}
.problem-proof-brake div {
  position: relative;
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(13,121,242,0.10);
}
.problem-proof-brake div span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0D79F2, #7EB8FF);
}
.problem-proof-brake div::after {
  content: '';
  position: absolute;
  left: 58%;
  top: -6px;
  width: 3px;
  height: 25px;
  border-radius: 999px;
  background: rgba(239,68,68,0.58);
  transform: rotate(18deg);
}
.problem-proof-brake b {
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0;
}
.problem-proof-profit {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
}
.problem-proof-profit strong {
  color: var(--brand-primary);
  font-size: 28px;
  line-height: 1;
}
.problem-proof-profit i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 46%, transparent 47%),
    conic-gradient(var(--brand-primary) 0 43deg, rgba(13,121,242,0.12) 43deg 360deg);
  border: 1px solid rgba(13,121,242,0.14);
}
.problem-proof-profit b {
  color: var(--text-primary);
  font-size: 17px;
}
.problem-accent {
  position: relative;
  max-width: none;
  min-height: 134px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 25px 40px;
  color: var(--text-primary);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,255,255,0.52)),
    rgba(255,255,255,0.44);
  border: 1px solid rgba(207,219,235,0.78);
  border-radius: 22px;
  box-shadow:
    0 18px 54px rgba(15,18,23,0.05),
    inset 0 1px 0 rgba(255,255,255,0.84);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.problem-accent::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(48%, 640px);
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right center / cover no-repeat;
  opacity: 0.72;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.18) 16%, #000 42%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.18) 16%, #000 42%, #000 100%);
}
.problem-accent-icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.075);
  border: 1px solid rgba(13,121,242,0.16);
  border-radius: 50%;
}
.problem-accent-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.problem-accent p {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(151,174,207,0.42);
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.45;
}
.problem-accent strong {
  font-weight: 650;
}
.problem-accent span {
  color: var(--brand-primary);
  font-weight: 650;
}

@media (prefers-reduced-motion: reduce) {
  .problem-card {
    transition: none;
  }
}

@media (max-width: 980px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .problem-card {
    min-height: 226px;
  }
}

@media (max-width: 640px) {
  .problem-section {
    padding: 54px 20px 60px;
  }
  .problem-section::after {
    right: -330px;
    top: -24px;
    opacity: 0.10;
  }
  .problem-head {
    margin-bottom: 24px;
  }
  .problem-overline {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.2;
  }
  .problem-head h2 {
    font-size: 38px;
    line-height: 1.04;
  }
  .problem-head p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .problem-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border-radius: 15px;
  }
  .problem-card-top {
    align-items: center;
  }
  .problem-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .problem-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.05;
  }
  .problem-card h3 {
    max-width: none;
    font-size: 16px;
    line-height: 1.32;
  }
  .problem-proof {
    min-height: 58px;
    border-radius: 14px;
  }
  .problem-proof-percent strong,
  .problem-proof-profit strong {
    font-size: 22px;
  }
  .problem-proof-routine {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .problem-proof-routine span {
    min-height: 34px;
  }
  .problem-accent {
    margin-top: 14px;
    min-height: 0;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
  }
  .problem-accent::after {
    width: 100%;
    opacity: 0.12;
    background-size: cover;
    mask-image: linear-gradient(90deg, transparent 0%, #000 54%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 54%, #000 100%);
  }
  .problem-accent-icon {
    width: 42px;
    height: 42px;
  }
  .problem-accent-icon svg {
    width: 24px;
    height: 24px;
  }
  .problem-accent p {
    padding-left: 14px;
    font-size: 16px;
    line-height: 1.42;
  }
}

/* ===== InfrastructureSection component ===== */
.infrastructure-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 88px) 32px clamp(70px, 8vw, 98px);
  background:
    radial-gradient(circle at 82% 20%, rgba(13,121,242,0.08), transparent 32%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);
}
.infrastructure-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,121,242,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,121,242,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.66), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.66), transparent 78%);
}
.infrastructure-section::after {
  content: '';
  position: absolute;
  right: -160px;
  top: 70px;
  width: 720px;
  height: 470px;
  pointer-events: none;
  background: url('img/hero-metal-bg.webp') right top / 760px auto no-repeat;
  opacity: 0.11;
  filter: saturate(0.92);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 36%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 36%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
}
.infrastructure-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.infrastructure-head {
  max-width: 960px;
  margin-bottom: 28px;
}
.infrastructure-overline {
  margin: 0 0 16px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}
.infrastructure-head h2 {
  max-width: 930px;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}
.infrastructure-head h2 span {
  color: var(--brand-primary);
}
.infrastructure-head p {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.55;
}
.infrastructure-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(390px, 1.34fr) minmax(250px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}
.infrastructure-layout::before {
  content: '';
  position: absolute;
  inset: 84px 248px auto 248px;
  height: 190px;
  pointer-events: none;
  border: 1px solid rgba(151,174,207,0.22);
  border-top-color: transparent;
  border-radius: 0 0 38px 38px;
  opacity: 0.8;
}
.infrastructure-side {
  display: grid;
  gap: 16px;
}
.infrastructure-card,
.infrastructure-main-card,
.infrastructure-accent {
  color: var(--text-primary);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.48)),
    rgba(255,255,255,0.42);
  border: 1px solid rgba(207,219,235,0.76);
  box-shadow:
    0 18px 52px rgba(15,18,23,0.045),
    inset 0 1px 0 rgba(255,255,255,0.84);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.infrastructure-card {
  position: relative;
  min-height: 138px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.infrastructure-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13,121,242,0.30);
  box-shadow:
    0 24px 64px rgba(15,18,23,0.07),
    inset 0 1px 0 rgba(255,255,255,0.92);
}
.infrastructure-card h3,
.infrastructure-main-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: 0;
}
.infrastructure-card p,
.infrastructure-main-card p {
  margin: 9px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}
.infrastructure-icon,
.infrastructure-main-icon {
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.065);
  border: 1px solid rgba(13,121,242,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}
.infrastructure-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
}
.infrastructure-icon svg,
.infrastructure-main-icon svg,
.infrastructure-accent-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.infrastructure-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}
.infrastructure-main-card {
  position: relative;
  min-height: 446px;
  padding: 24px;
  overflow: hidden;
  border-radius: 22px;
}
.infrastructure-main-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 8%, rgba(13,121,242,0.15), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.36), transparent 50%);
}
.infrastructure-main-visual {
  position: absolute;
  right: -150px;
  top: 8px;
  width: 420px;
  height: 240px;
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right center / cover no-repeat;
  opacity: 0.24;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.22) 20%, #000 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.22) 20%, #000 48%, transparent 100%);
}
.infrastructure-main-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}
.infrastructure-main-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}
.infrastructure-main-icon svg {
  width: 35px;
  height: 35px;
  stroke-width: 2.05;
}
.supplier-table {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.supplier-table-head,
.supplier-row {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 0.72fr;
  gap: 12px;
  align-items: center;
}
.supplier-table-head {
  padding: 0 14px 2px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}
.supplier-row {
  min-height: 58px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(222,230,241,0.78);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.74);
}
.supplier-row span,
.supplier-row strong,
.supplier-row em {
  min-width: 0;
  color: var(--text-primary);
  font-size: 13px;
  font-style: normal;
  line-height: 1.25;
}
.supplier-row span:first-child {
  position: relative;
  padding-left: 16px;
  font-weight: 600;
}
.supplier-row span:first-child i {
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 8px;
  display: block;
  background: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(13,121,242,0.10);
}
.supplier-row small {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
}
.supplier-row strong {
  color: var(--brand-primary);
  font-weight: 700;
}
.supplier-row em {
  color: var(--text-secondary);
  font-weight: 600;
}
.infrastructure-accent {
  position: relative;
  min-height: 126px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 24px 36px;
  border-radius: 18px;
}
.infrastructure-accent::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(48%, 620px);
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right center / cover no-repeat;
  opacity: 0.54;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.16) 16%, #000 44%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.16) 16%, #000 44%, #000 100%);
}
.infrastructure-accent-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.075);
  border: 1px solid rgba(13,121,242,0.16);
  border-radius: 16px;
}
.infrastructure-accent-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
}
.infrastructure-accent div {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-left: 24px;
  border-left: 1px solid rgba(151,174,207,0.42);
}
.infrastructure-accent p {
  margin: 0;
  color: var(--text-primary);
  font-size: 21px;
  line-height: 1.4;
}
.infrastructure-accent strong {
  font-weight: 700;
}
.infrastructure-accent span {
  color: var(--brand-primary);
  font-weight: 700;
}
.infrastructure-accent small {
  display: block;
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 1080px) {
  .infrastructure-layout {
    grid-template-columns: 1fr;
  }
  .infrastructure-layout::before {
    display: none;
  }
  .infrastructure-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .infrastructure-side-right {
    order: 3;
  }
  .infrastructure-main-card {
    order: 2;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .infrastructure-section {
    padding: 58px 20px 64px;
  }
  .infrastructure-section::after {
    right: -300px;
    top: 110px;
    opacity: 0.08;
  }
  .infrastructure-head {
    margin-bottom: 24px;
  }
  .infrastructure-overline {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.2;
  }
  .infrastructure-head h2 {
    font-size: 34px;
    line-height: 1.06;
  }
  .infrastructure-head p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .infrastructure-layout,
  .infrastructure-side {
    gap: 10px;
  }
  .infrastructure-side {
    grid-template-columns: 1fr;
  }
  .infrastructure-card {
    min-height: 0;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 15px;
  }
  .infrastructure-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .infrastructure-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.05;
  }
  .infrastructure-card h3,
  .infrastructure-main-card h3 {
    font-size: 16px;
  }
  .infrastructure-card p,
  .infrastructure-main-card p {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.38;
  }
  .infrastructure-main-card {
    padding: 18px;
    border-radius: 17px;
  }
  .infrastructure-main-visual {
    right: -220px;
    top: -12px;
    opacity: 0.14;
  }
  .infrastructure-main-top {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
  .infrastructure-main-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .infrastructure-main-icon svg {
    width: 28px;
    height: 28px;
  }
  .supplier-table {
    gap: 7px;
  }
  .supplier-table-head {
    display: none;
  }
  .supplier-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
    min-height: 0;
    padding: 10px 12px;
  }
  .supplier-row span:nth-child(2),
  .supplier-row em {
    display: none;
  }
  .supplier-row strong {
    font-size: 13px;
    white-space: nowrap;
  }
  .infrastructure-accent {
    min-height: 0;
    grid-template-columns: 44px 1fr;
    gap: 13px;
    padding: 18px;
    border-radius: 16px;
  }
  .infrastructure-accent::after {
    width: 100%;
    opacity: 0.10;
    mask-image: linear-gradient(90deg, transparent 0%, #000 54%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 54%, #000 100%);
  }
  .infrastructure-accent-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .infrastructure-accent-icon svg {
    width: 27px;
    height: 27px;
  }
  .infrastructure-accent div {
    padding-left: 14px;
  }
  .infrastructure-accent p {
    font-size: 16px;
    line-height: 1.36;
  }
  .infrastructure-accent small {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.34;
  }
}

/* ===== CareerPathSection component ===== */
.career-path-section {
  position: relative;
  overflow: hidden;
  padding: clamp(66px, 7.5vw, 96px) 32px clamp(70px, 8vw, 104px);
  background:
    radial-gradient(circle at 50% 12%, rgba(13,121,242,0.055), transparent 34%),
    linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 52%, #F7F8FA 100%);
}
.career-path-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,121,242,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,121,242,0.032) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 34%, rgba(0,0,0,0.72), transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 34%, rgba(0,0,0,0.72), transparent 72%);
}
.career-path-section::after {
  content: '';
  position: absolute;
  right: -220px;
  top: 80px;
  width: 620px;
  height: 420px;
  pointer-events: none;
  background: url('img/hero-metal-bg.webp') right top / 660px auto no-repeat;
  opacity: 0.08;
  filter: saturate(0.9);
  mask-image: linear-gradient(90deg, transparent 0%, #000 44%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 44%, transparent 100%);
}
.career-path-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.career-path-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}
.career-path-overline {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px 15px;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.09);
  border: 1px solid rgba(13,121,242,0.10);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}
.career-path-overline::before {
  content: '';
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--brand-primary);
  border-radius: 50%;
}
.career-path-head h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 4.4vw, 58px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: 0;
}
.career-path-head h2 span {
  color: var(--brand-primary);
}
.career-path-head p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.52;
}
.career-path-head p span {
  color: var(--brand-primary);
  font-weight: 700;
}
.career-path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.career-path-card {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  overflow: hidden;
  padding: 28px;
  color: var(--text-primary);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.50)),
    rgba(255,255,255,0.46);
  border: 1px solid rgba(207,219,235,0.78);
  border-radius: 24px;
  box-shadow:
    0 20px 58px rgba(15,18,23,0.048),
    inset 0 1px 0 rgba(255,255,255,0.86);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.career-path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.50), transparent 44%),
    radial-gradient(circle at 88% 12%, rgba(13,121,242,0.055), transparent 34%);
}
.career-path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13,121,242,0.26);
  box-shadow:
    0 26px 72px rgba(15,18,23,0.072),
    inset 0 1px 0 rgba(255,255,255,0.92);
}
.career-path-card-top,
.career-path-card ul,
.career-path-note {
  position: relative;
  z-index: 1;
}
.career-path-card-top span {
  display: block;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.career-path-card-top h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: 0;
}
.career-path-card ul {
  display: grid;
  gap: 14px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.career-path-card li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.35;
}
.career-path-card li i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}
.career-path-muted li i {
  color: #9CA3AF;
  background: rgba(156,163,175,0.13);
}
.career-path-warning {
  border-color: rgba(245,158,11,0.22);
}
.career-path-warning .career-path-card-top span {
  color: var(--warning);
}
.career-path-warning li i {
  color: #B45309;
  background: rgba(245,158,11,0.16);
}
.career-path-primary {
  margin-top: -12px;
  margin-bottom: -12px;
  background:
    radial-gradient(circle at 80% 12%, rgba(13,121,242,0.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(232,243,255,0.70)),
    rgba(255,255,255,0.58);
  border-color: rgba(13,121,242,0.42);
  box-shadow:
    0 28px 86px rgba(13,121,242,0.16),
    0 18px 52px rgba(15,18,23,0.050),
    inset 0 1px 0 rgba(255,255,255,0.92);
}
.career-path-primary::after {
  content: '';
  position: absolute;
  right: -130px;
  bottom: -115px;
  width: 360px;
  height: 260px;
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right bottom / cover no-repeat;
  opacity: 0.18;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, transparent 100%);
}
.career-path-primary .career-path-card-top span {
  color: var(--brand-primary);
}
.career-path-primary li {
  color: var(--text-primary);
  font-weight: 620;
}
.career-path-primary li i {
  color: #FFFFFF;
  background: linear-gradient(180deg, #1283FF, #0D79F2);
  box-shadow: 0 8px 18px rgba(13,121,242,0.24);
}
.career-path-note {
  min-height: 60px;
  display: flex;
  align-items: center;
  margin: 0;
  padding-top: 18px;
  color: var(--text-muted);
  border-top: 1px solid rgba(207,219,235,0.78);
  font-size: 14px;
  font-style: italic;
  font-weight: 560;
  line-height: 1.45;
}
.career-path-primary .career-path-note {
  color: var(--text-secondary);
  border-color: rgba(13,121,242,0.18);
}
.career-path-accent {
  position: relative;
  max-width: 860px;
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: center;
  color: var(--text-primary);
}
.career-path-accent::before,
.career-path-accent::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 88px;
  border-top: 1px solid rgba(151,174,207,0.28);
}
.career-path-accent::before {
  right: calc(100% + 24px);
}
.career-path-accent::after {
  left: calc(100% + 24px);
}
.career-path-accent-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.08);
  border: 1px solid rgba(13,121,242,0.16);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}
.career-path-accent-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.career-path-accent p {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(22px, 2.25vw, 30px);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: 0;
}
.career-path-accent p span {
  color: var(--brand-primary);
  font-weight: 720;
}

@media (max-width: 980px) {
  .career-path-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }
  .career-path-card,
  .career-path-primary {
    min-height: 0;
    margin: 0;
  }
  .career-path-card {
    padding: 24px;
  }
  .career-path-accent::before,
  .career-path-accent::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .career-path-section {
    padding: 56px 20px 62px;
  }
  .career-path-section::after {
    right: -360px;
    opacity: 0.055;
  }
  .career-path-head {
    margin-bottom: 24px;
    text-align: left;
  }
  .career-path-overline {
    margin: 0 0 12px;
    padding: 7px 12px;
    font-size: 10px;
    line-height: 1.2;
  }
  .career-path-head h2 {
    font-size: 34px;
    line-height: 1.06;
  }
  .career-path-head p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .career-path-grid {
    gap: 10px;
  }
  .career-path-card {
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
  }
  .career-path-card-top span {
    margin-bottom: 10px;
    font-size: 10px;
  }
  .career-path-card-top h3 {
    font-size: 22px;
  }
  .career-path-card ul {
    gap: 10px;
  }
  .career-path-card li {
    grid-template-columns: 22px 1fr;
    gap: 10px;
    font-size: 14px;
    line-height: 1.32;
  }
  .career-path-card li i {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .career-path-note {
    min-height: 0;
    padding-top: 14px;
    font-size: 13px;
  }
  .career-path-accent {
    margin-top: 22px;
    grid-template-columns: 44px 1fr;
    gap: 13px;
  }
  .career-path-accent-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .career-path-accent-icon svg {
    width: 27px;
    height: 27px;
  }
  .career-path-accent p {
    font-size: 18px;
    line-height: 1.34;
  }
}

/* ===== IncomeCalculatorSection component ===== */
.income-calculator-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-height, 74px);
  padding: clamp(70px, 8vw, 104px) 32px clamp(74px, 8vw, 110px);
  background:
    radial-gradient(circle at 20% 18%, rgba(13,121,242,0.075), transparent 30%),
    linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 46%, #F6F8FB 100%);
}
.income-calculator-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,121,242,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,121,242,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.62), transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.62), transparent 76%);
}
.income-calculator-section::after {
  content: '';
  position: absolute;
  right: -210px;
  top: 90px;
  width: 720px;
  height: 520px;
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right center / cover no-repeat;
  opacity: 0.13;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 38%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 38%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
}
.income-calculator-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.income-calculator-head {
  max-width: 930px;
  margin-bottom: 30px;
}
.income-calculator-overline {
  margin: 0 0 16px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}
.income-calculator-head h2 {
  max-width: 920px;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}
.income-calculator-head h2 span {
  color: var(--brand-primary);
}
.income-calculator-head p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.55;
}
.income-calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}
.calculator-controls,
.calculator-results {
  color: var(--text-primary);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.48)),
    rgba(255,255,255,0.42);
  border: 1px solid rgba(207,219,235,0.76);
  border-radius: 22px;
  box-shadow:
    0 22px 64px rgba(15,18,23,0.055),
    inset 0 1px 0 rgba(255,255,255,0.86);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.calculator-controls {
  display: grid;
  gap: 14px;
  padding: 24px;
}
.calculator-control {
  padding: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(222,230,241,0.80);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}
.calculator-control-main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(136px, 160px);
  gap: 16px;
  align-items: center;
}
.calculator-control-icon,
.calculator-share-icon,
.calculator-difference-icon {
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.065);
  border: 1px solid rgba(13,121,242,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}
.calculator-control-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}
.calculator-control-icon svg,
.calculator-share-icon svg,
.calculator-difference-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.calculator-control-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 2;
}
.calculator-control-text label {
  display: block;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
}
.calculator-control-text p {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}
.calculator-number {
  width: 100%;
  min-width: 0;
  padding: 13px 12px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(207,219,235,0.92);
  border-radius: 13px;
  box-shadow: inset 0 1px 2px rgba(15,18,23,0.03);
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.15;
  text-align: right;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calculator-number:focus {
  border-color: rgba(13,121,242,0.50);
  box-shadow: 0 0 0 4px rgba(13,121,242,0.10);
}
.calculator-slider {
  --range-progress: 0%;
  width: 100%;
  height: 6px;
  margin-top: 18px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--brand-primary) 0 var(--range-progress), #DDE7F4 var(--range-progress) 100%);
  border-radius: 999px;
  outline: none;
}
.calculator-slider::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--brand-primary);
  border: 4px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(13,121,242,0.30);
  cursor: pointer;
}
.calculator-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--brand-primary);
  border: 4px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(13,121,242,0.30);
  cursor: pointer;
}
.calculator-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.2;
}
.calculator-share-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  padding: 19px;
  background:
    linear-gradient(135deg, rgba(13,121,242,0.08), rgba(255,255,255,0.58)),
    rgba(255,255,255,0.56);
  border: 1px solid rgba(13,121,242,0.16);
  border-radius: 17px;
}
.calculator-share-card::after {
  content: '';
  position: absolute;
  right: -150px;
  top: -80px;
  width: 360px;
  height: 220px;
  background: url('img/hero-metal-bg.webp') right top / cover no-repeat;
  opacity: 0.10;
}
.calculator-share-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 16px;
}
.calculator-share-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.1;
}
.calculator-share-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.calculator-share-copy span {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.3;
}
.calculator-share-copy strong {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 7px;
  color: var(--text-primary);
  font-size: 25px;
  line-height: 1;
}
.calculator-share-copy b:last-child {
  color: var(--brand-primary);
}
.calculator-share-copy i {
  width: min(140px, 24vw);
  height: 2px;
  display: inline-block;
  background: repeating-linear-gradient(90deg, rgba(151,174,207,0.80) 0 7px, transparent 7px 11px);
  position: relative;
}
.calculator-share-copy i::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(151,174,207,0.9);
  border-right: 2px solid rgba(151,174,207,0.9);
  transform: translateY(-50%) rotate(45deg);
}
.calculator-share-copy small {
  display: flex;
  gap: 18px;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.2;
}
.calculator-share-copy em {
  color: var(--brand-primary);
  font-style: normal;
  font-weight: 650;
}
.calculator-results {
  position: relative;
  overflow: hidden;
  padding: 26px;
}
.calculator-results-bg {
  position: absolute;
  right: -170px;
  top: -80px;
  width: 460px;
  height: 360px;
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right top / cover no-repeat;
  opacity: 0.16;
  mask-image: linear-gradient(90deg, transparent 0%, #000 46%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, transparent 100%);
}
.calculator-results h3,
.calculator-compare,
.calculator-difference,
.calculator-growth,
.calculator-cta-card {
  position: relative;
  z-index: 1;
}
.calculator-results h3 {
  margin: 0 0 18px;
  color: var(--text-primary);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.calculator-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.calculator-result-mini {
  min-width: 0;
  padding: 17px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(222,230,241,0.82);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}
.calculator-result-mini.traderx {
  background:
    linear-gradient(135deg, rgba(13,121,242,0.08), rgba(255,255,255,0.62)),
    rgba(255,255,255,0.66);
  border-color: rgba(13,121,242,0.18);
}
.calculator-result-mini span,
.calculator-difference span,
.calculator-growth span {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}
.calculator-result-mini strong {
  display: block;
  margin-top: 9px;
  color: var(--text-primary);
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 750;
  line-height: 1.05;
}
.calculator-result-mini.traderx strong {
  color: var(--brand-primary);
}
.calculator-result-mini small,
.calculator-growth small {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.25;
}
.calculator-vs {
  align-self: center;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.08);
  border: 1px solid rgba(13,121,242,0.15);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.calculator-difference {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  margin-top: 14px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(13,121,242,0.12), rgba(255,255,255,0.66)),
    rgba(255,255,255,0.66);
  border: 1px solid rgba(13,121,242,0.20);
  border-radius: 18px;
}
.calculator-difference-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}
.calculator-difference-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.25;
}
.calculator-difference strong {
  display: block;
  margin-top: 5px;
  color: var(--brand-primary);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 780;
  line-height: 1;
}
.calculator-difference p {
  grid-column: 2;
  margin: -5px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}
.calculator-growth {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(150px, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(222,230,241,0.82);
  border-radius: 17px;
}
.calculator-growth strong {
  display: block;
  margin-top: 6px;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 750;
  line-height: 1.05;
}
.calculator-growth svg {
  width: 100%;
  min-height: 82px;
  overflow: visible;
}
.calculator-chart-fill {
  fill: url(#calculatorFill);
}
.calculator-chart-line {
  fill: none;
  stroke: var(--brand-primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 7px 8px rgba(13,121,242,0.16));
}
.calculator-growth circle {
  fill: var(--brand-primary);
}
.calculator-cta-card {
  margin-top: 14px;
  padding: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(222,230,241,0.82);
  border-radius: 17px;
}
.calculator-cta-card p {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}
.calculator-cta-card .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  text-align: center;
}
@media (max-width: 1020px) {
  .income-calculator-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .income-calculator-section {
    padding: 58px 20px 64px;
  }
  .income-calculator-section::after {
    right: -330px;
    opacity: 0.09;
  }
  .income-calculator-head {
    margin-bottom: 24px;
  }
  .income-calculator-overline {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.2;
  }
  .income-calculator-head h2 {
    font-size: 34px;
    line-height: 1.06;
  }
  .income-calculator-head p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .calculator-controls,
  .calculator-results {
    border-radius: 18px;
  }
  .calculator-controls {
    gap: 10px;
    padding: 14px;
  }
  .calculator-control {
    padding: 14px;
    border-radius: 15px;
  }
  .calculator-control-main {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .calculator-control-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .calculator-control-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.05;
  }
  .calculator-control-text label {
    font-size: 16px;
  }
  .calculator-control-text p {
    margin-top: 4px;
    font-size: 12px;
  }
  .calculator-number {
    grid-column: 1 / -1;
    padding: 12px;
    font-size: 16px;
    text-align: left;
  }
  .calculator-slider {
    margin-top: 14px;
  }
  .calculator-share-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 15px;
  }
  .calculator-share-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .calculator-share-icon svg {
    width: 27px;
    height: 27px;
  }
  .calculator-share-copy strong {
    gap: 9px;
    font-size: 21px;
  }
  .calculator-share-copy i {
    width: 72px;
  }
  .calculator-results {
    padding: 16px;
  }
  .calculator-results h3 {
    margin-bottom: 12px;
    font-size: 23px;
  }
  .calculator-compare {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    gap: 6px;
  }
  .calculator-vs {
    width: 26px;
    height: 26px;
    margin: 0;
    font-size: 10px;
  }
  .calculator-result-mini {
    padding: 12px;
    border-radius: 15px;
  }
  .calculator-result-mini span,
  .calculator-difference span,
  .calculator-growth span {
    font-size: 11px;
  }
  .calculator-result-mini strong {
    font-size: 20px;
  }
  .calculator-result-mini small,
  .calculator-growth small {
    font-size: 10px;
  }
  .calculator-difference {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }
  .calculator-difference-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .calculator-difference-icon svg {
    width: 27px;
    height: 27px;
  }
  .calculator-difference strong {
    font-size: 31px;
  }
  .calculator-difference p {
    margin-top: 0;
  }
  .calculator-growth {
    grid-template-columns: minmax(0, 0.8fr) minmax(116px, 1fr);
    gap: 10px;
    padding: 14px;
    border-radius: 15px;
  }
  .calculator-growth strong {
    font-size: 23px;
  }
  .calculator-growth svg {
    min-height: 78px;
  }
  .calculator-cta-card {
    padding: 15px;
    border-radius: 15px;
  }
  .calculator-cta-card .btn {
    white-space: normal;
    line-height: 1.2;
  }
}

/* ===== HowItWorksSection component ===== */
.how-it-works-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 104px) 32px clamp(74px, 8vw, 110px);
  background:
    radial-gradient(circle at 82% 18%, rgba(13,121,242,0.08), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);
}
.how-it-works-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,121,242,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,121,242,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.62), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.62), transparent 78%);
}
.how-it-works-section::after {
  content: '';
  position: absolute;
  right: -180px;
  bottom: -80px;
  width: 760px;
  height: 520px;
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right bottom / cover no-repeat;
  opacity: 0.16;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 40%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 24%, #000 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 40%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 24%, #000 100%);
  -webkit-mask-composite: source-in;
}
.how-it-works-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 0.9fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.how-it-works-copy {
  max-width: 610px;
}
.how-it-works-overline {
  margin: 0 0 16px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}
.how-it-works-copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}
.how-it-works-subtitle {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.55;
}
.how-it-works-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.how-it-works-actions .btn {
  flex-shrink: 0;
}
.how-it-works-actions p {
  max-width: 250px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}
.how-it-works-accent {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  color: var(--text-primary);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.48)),
    rgba(255,255,255,0.42);
  border: 1px solid rgba(207,219,235,0.76);
  border-radius: 18px;
  box-shadow:
    0 18px 52px rgba(15,18,23,0.045),
    inset 0 1px 0 rgba(255,255,255,0.84);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.how-it-works-accent-icon,
.how-step-icon {
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.065);
  border: 1px solid rgba(13,121,242,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}
.how-it-works-accent-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
}
.how-it-works-accent-icon svg,
.how-step-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how-it-works-accent-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.9;
}
.how-it-works-accent p {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.42;
}
.how-it-works-accent strong {
  font-weight: 700;
}
.how-it-works-timeline {
  position: relative;
  padding: 22px;
  color: var(--text-primary);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.48)),
    rgba(255,255,255,0.42);
  border: 1px solid rgba(207,219,235,0.76);
  border-radius: 24px;
  box-shadow:
    0 22px 64px rgba(15,18,23,0.055),
    inset 0 1px 0 rgba(255,255,255,0.86);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.how-it-works-timeline::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -90px;
  width: 420px;
  height: 280px;
  pointer-events: none;
  background: url('img/hero-metal-bg.webp') right top / cover no-repeat;
  opacity: 0.08;
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%, transparent 100%);
}
.how-it-works-route {
  position: absolute;
  left: 50px;
  top: 74px;
  bottom: 74px;
  width: 2px;
  background: linear-gradient(180deg, rgba(13,121,242,0.16), rgba(13,121,242,0.62), rgba(13,121,242,0.16));
  border-radius: 999px;
  pointer-events: none;
}
.how-it-works-steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}
.how-step {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(222,230,241,0.82);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.how-step:hover {
  transform: translateY(-3px);
  border-color: rgba(13,121,242,0.30);
  box-shadow:
    0 18px 52px rgba(15,18,23,0.055),
    inset 0 1px 0 rgba(255,255,255,0.92);
}
.how-step-number {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  background: var(--brand-primary);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(13,121,242,0.24);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.how-step-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}
.how-step-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}
.how-step h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}
.how-step p {
  margin: 9px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.48;
}

@media (max-width: 980px) {
  .how-it-works-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .how-it-works-copy {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .how-it-works-section {
    padding: 58px 20px 64px;
  }
  .how-it-works-section::after {
    right: -340px;
    opacity: 0.10;
  }
  .how-it-works-overline {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.2;
  }
  .how-it-works-copy h2 {
    font-size: 34px;
    line-height: 1.06;
  }
  .how-it-works-subtitle {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .how-it-works-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  .how-it-works-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
  .how-it-works-actions p {
    max-width: none;
    font-size: 12px;
  }
  .how-it-works-accent {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    margin-top: 14px;
    padding: 15px;
    border-radius: 16px;
  }
  .how-it-works-accent-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .how-it-works-accent-icon svg {
    width: 27px;
    height: 27px;
  }
  .how-it-works-accent p {
    font-size: 14px;
    line-height: 1.38;
  }
  .how-it-works-timeline {
    padding: 14px;
    border-radius: 18px;
  }
  .how-it-works-route {
    left: 37px;
    top: 58px;
    bottom: 58px;
  }
  .how-it-works-steps {
    gap: 10px;
  }
  .how-step {
    grid-template-columns: 44px 1fr;
    gap: 13px;
    padding: 15px;
    border-radius: 15px;
  }
  .how-step-number {
    left: -5px;
    top: -5px;
    width: 21px;
    height: 21px;
    font-size: 10px;
    border-width: 2px;
  }
  .how-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .how-step-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.05;
  }
  .how-step h3 {
    font-size: 16px;
  }
  .how-step p {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.38;
  }
}

/* ===== ClosedBetaSection component ===== */
.closed-beta-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 108px) 32px clamp(76px, 8vw, 116px);
  background:
    radial-gradient(circle at 82% 18%, rgba(13,121,242,0.09), transparent 30%),
    linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 48%, #F6F8FB 100%);
}
.closed-beta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,121,242,0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,121,242,0.036) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.78), transparent 86%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.78), transparent 86%);
}
.closed-beta-section::after {
  content: '';
  position: absolute;
  right: -130px;
  top: 116px;
  width: min(780px, 58vw);
  height: 520px;
  pointer-events: none;
  background: url('img/hero-metal-bg.webp') right top / cover no-repeat;
  opacity: 0.12;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 38%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 38%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
}
.closed-beta-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.closed-beta-head {
  max-width: 780px;
  margin-bottom: 34px;
}
.closed-beta-overline {
  margin: 0 0 16px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}
.closed-beta-head h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}
.closed-beta-head h2 span {
  color: var(--brand-primary);
}
.closed-beta-head p {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.56;
}
.closed-beta-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}
.closed-beta-main-card,
.closed-beta-benefits-card,
.closed-beta-accent {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.54)),
    rgba(255,255,255,0.48);
  border: 1px solid rgba(207,219,235,0.82);
  box-shadow:
    0 24px 70px rgba(15,18,23,0.06),
    inset 0 1px 0 rgba(255,255,255,0.90);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.closed-beta-main-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-radius: 28px;
}
.closed-beta-main-card::before {
  content: '';
  position: absolute;
  inset: auto -80px -130px auto;
  width: 360px;
  height: 270px;
  pointer-events: none;
  background:
    radial-gradient(circle at 64% 34%, rgba(13,121,242,0.16), transparent 31%),
    url('img/problem-accent-visual.webp') right bottom / cover no-repeat;
  opacity: 0.30;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, transparent 100%);
}
.closed-beta-main-icon {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.07);
  border: 1px solid rgba(13,121,242,0.18);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.80);
}
.closed-beta-main-icon svg,
.closed-beta-accent-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.closed-beta-main-content {
  position: relative;
  z-index: 1;
}
.closed-beta-main-content h3,
.closed-beta-benefits-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}
.closed-beta-places {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
  color: var(--brand-primary);
}
.closed-beta-places strong {
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 750;
  line-height: 0.82;
  letter-spacing: 0;
}
.closed-beta-places span {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
}
.closed-beta-caption {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.4;
}
.closed-beta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 13px;
  color: #0B65CC;
  background: rgba(13,121,242,0.08);
  border: 1px solid rgba(13,121,242,0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.closed-beta-status i {
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(13,121,242,0.10);
}
.closed-beta-meter {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin-top: 16px;
  max-width: 360px;
}
.closed-beta-meter span {
  height: 7px;
  border-radius: 999px;
  background: rgba(13,121,242,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}
.closed-beta-meter span:nth-child(-n+6) {
  background: linear-gradient(90deg, #0D79F2, #65A7FF);
}
.closed-beta-note {
  max-width: 460px;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}
.closed-beta-benefits-card {
  min-height: 420px;
  padding: 30px;
  border-radius: 28px;
}
.closed-beta-benefits-card::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -130px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,121,242,0.10), transparent 62%);
  pointer-events: none;
}
.closed-beta-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.closed-beta-benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 15px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(222,230,241,0.86);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.closed-beta-benefit:hover {
  transform: translateY(-3px);
  border-color: rgba(13,121,242,0.30);
  box-shadow:
    0 16px 44px rgba(15,18,23,0.052),
    inset 0 1px 0 rgba(255,255,255,0.92);
}
.closed-beta-benefit-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.07);
  border: 1px solid rgba(13,121,242,0.16);
  border-radius: 13px;
}
.closed-beta-benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.closed-beta-benefit p {
  margin: 0;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.28;
}
.closed-beta-accent {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 22px;
  border-radius: 24px;
}
.closed-beta-accent::before {
  content: '';
  position: absolute;
  right: 0;
  inset-block: 0;
  width: min(430px, 38%);
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right center / cover no-repeat;
  opacity: 0.15;
  mask-image: linear-gradient(90deg, transparent 0%, #000 52%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 52%, transparent 100%);
}
.closed-beta-accent-icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.075);
  border: 1px solid rgba(13,121,242,0.17);
  border-radius: 18px;
}
.closed-beta-accent-copy,
.closed-beta-cta {
  position: relative;
  z-index: 1;
}
.closed-beta-accent-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.45;
}
.closed-beta-accent-copy strong {
  color: var(--text-primary);
  font-weight: 700;
}
.closed-beta-cta {
  display: grid;
  justify-items: start;
  gap: 9px;
  min-width: 282px;
}
.closed-beta-cta .btn {
  width: 100%;
  justify-content: center;
}
.closed-beta-cta small {
  max-width: 300px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 1040px) {
  .closed-beta-layout {
    grid-template-columns: 1fr;
  }
  .closed-beta-benefits-card,
  .closed-beta-main-card {
    min-height: auto;
  }
  .closed-beta-accent {
    grid-template-columns: 56px 1fr;
  }
  .closed-beta-cta {
    grid-column: 2;
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .closed-beta-section {
    padding: 58px 20px 64px;
  }
  .closed-beta-section::after {
    right: -280px;
    top: 160px;
    width: 620px;
    opacity: 0.08;
  }
  .closed-beta-head {
    margin-bottom: 22px;
  }
  .closed-beta-overline {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.2;
  }
  .closed-beta-head h2 {
    font-size: 34px;
    line-height: 1.06;
  }
  .closed-beta-head p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .closed-beta-layout {
    gap: 14px;
  }
  .closed-beta-main-card,
  .closed-beta-benefits-card {
    padding: 18px;
    border-radius: 20px;
  }
  .closed-beta-main-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }
  .closed-beta-main-icon svg {
    width: 31px;
    height: 31px;
  }
  .closed-beta-main-content h3,
  .closed-beta-benefits-card h3 {
    font-size: 20px;
  }
  .closed-beta-places {
    margin-top: 18px;
    gap: 9px;
  }
  .closed-beta-places strong {
    font-size: 72px;
  }
  .closed-beta-places span {
    font-size: 23px;
  }
  .closed-beta-caption {
    margin-top: 8px;
    font-size: 14px;
  }
  .closed-beta-status {
    margin-top: 16px;
    font-size: 12px;
  }
  .closed-beta-note {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.45;
  }
  .closed-beta-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .closed-beta-benefit {
    min-height: 66px;
    grid-template-columns: 38px 1fr;
    padding: 12px;
    border-radius: 15px;
  }
  .closed-beta-benefit-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .closed-beta-benefit p {
    font-size: 14px;
  }
  .closed-beta-accent {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
  }
  .closed-beta-accent::before {
    width: 82%;
    opacity: 0.09;
  }
  .closed-beta-accent-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .closed-beta-accent-icon svg {
    width: 27px;
    height: 27px;
  }
  .closed-beta-accent-copy p {
    font-size: 14px;
    line-height: 1.38;
  }
  .closed-beta-cta {
    grid-column: 1 / -1;
    gap: 8px;
    width: 100%;
    margin-top: 2px;
  }
  .closed-beta-cta .btn {
    padding: 15px 18px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}

/* ===== FinalCtaSection component ===== */
.final-cta-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-height, 74px);
  padding: clamp(68px, 8vw, 108px) 32px clamp(70px, 8vw, 112px);
  background:
    radial-gradient(circle at 18% 24%, rgba(13,121,242,0.09), transparent 30%),
    radial-gradient(circle at 84% 62%, rgba(13,121,242,0.08), transparent 34%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F8FB 100%);
}
.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,121,242,0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,121,242,0.036) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.76), transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.76), transparent 88%);
}
.final-cta-section::after {
  content: '';
  position: absolute;
  right: -150px;
  bottom: -90px;
  width: min(760px, 58vw);
  height: 500px;
  pointer-events: none;
  background: url('img/problem-accent-visual.webp') right bottom / cover no-repeat;
  opacity: 0.13;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 44%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 44%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.74fr);
  grid-template-areas:
    "copy form"
    "steps form";
  gap: 20px 44px;
  align-items: center;
}
.final-cta-copy {
  grid-area: copy;
  max-width: 690px;
}
.final-cta-overline {
  margin: 0 0 16px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}
.final-cta-copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(42px, 4.7vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}
.final-cta-copy p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.56;
}
.final-cta-steps,
.final-form-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.54)),
    rgba(255,255,255,0.48);
  border: 1px solid rgba(207,219,235,0.82);
  box-shadow:
    0 24px 70px rgba(15,18,23,0.06),
    inset 0 1px 0 rgba(255,255,255,0.90);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.final-cta-steps {
  grid-area: steps;
  max-width: 680px;
  padding: 24px;
  border-radius: 24px;
}
.final-cta-steps h3 {
  margin: 0 0 16px;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.22;
}
.final-cta-steps ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  counter-reset: final-steps;
}
.final-step {
  counter-increment: final-steps;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 66px;
  padding: 13px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(222,230,241,0.86);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}
.final-step::before {
  content: counter(final-steps);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.075);
  border: 1px solid rgba(13,121,242,0.17);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
}
.final-step span {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.28;
}
.final-form-card {
  grid-area: form;
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
}
.final-form-card::before {
  content: '';
  position: absolute;
  right: -110px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,121,242,0.14), transparent 62%);
  pointer-events: none;
}
.access-form,
.final-form-success {
  position: relative;
  z-index: 1;
}
.access-form {
  display: grid;
  gap: 17px;
}
.form-field {
  display: grid;
  gap: 8px;
}
.form-field label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}
.form-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(207,219,235,0.92);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
  font: 600 16px/1.2 var(--font-sans);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field input::placeholder {
  color: #9AA5B5;
  font-weight: 500;
}
.form-field input:focus {
  background: rgba(255,255,255,0.92);
  border-color: rgba(13,121,242,0.54);
  box-shadow:
    0 0 0 4px rgba(13,121,242,0.10),
    inset 0 1px 0 rgba(255,255,255,0.92);
}
.form-field.has-error input {
  border-color: rgba(239,68,68,0.72);
  box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}
.form-error {
  min-height: 17px;
  margin: 0;
  color: #D12F2F;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.access-form .btn {
  justify-content: center;
  width: 100%;
  margin-top: 2px;
  min-height: 58px;
}
.form-consent {
  margin: -3px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.42;
  text-align: center;
}
.final-form-success {
  min-height: 332px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}
.final-form-success[hidden] {
  display: none;
}
.success-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: rgba(13,121,242,0.075);
  border: 1px solid rgba(13,121,242,0.17);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}
.success-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.final-form-success h3 {
  margin: 18px 0 0;
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1.15;
}
.final-form-success p {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

/* ===== Lead modal ===== */
body.modal-open {
  overflow: hidden;
}
.lead-modal[hidden] {
  display: none;
}
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 54% 38%, rgba(13,121,242,0.13), transparent 32%),
    rgba(244,247,251,0.70);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.lead-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(760px, calc(100svh - 32px));
  overflow: hidden auto;
  padding: 30px;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 88% 12%, rgba(13,121,242,0.15), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(245,249,255,0.78)),
    rgba(255,255,255,0.74);
  border: 1px solid rgba(207,219,235,0.88);
  border-radius: 28px;
  box-shadow:
    0 34px 100px rgba(15,18,23,0.18),
    inset 0 1px 0 rgba(255,255,255,0.96);
}
.lead-modal-dialog::before {
  content: '';
  position: absolute;
  right: -170px;
  top: -90px;
  width: 460px;
  height: 340px;
  pointer-events: none;
  background: url('img/hero-metal-bg.webp') right top / cover no-repeat;
  opacity: 0.12;
  mask-image: linear-gradient(90deg, transparent 0%, #000 46%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, transparent 100%);
}
.lead-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(207,219,235,0.86);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lead-modal-close:hover {
  color: var(--brand-primary);
  border-color: rgba(13,121,242,0.28);
  transform: translateY(-1px);
}
.lead-modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.lead-modal-content,
.lead-modal-success {
  position: relative;
  z-index: 1;
}
.lead-modal-overline {
  margin: 0 0 14px;
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}
.lead-modal-head h2 {
  max-width: 420px;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 740;
  line-height: 1.05;
  letter-spacing: 0;
}
.lead-modal-head p {
  max-width: 430px;
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.48;
}
.lead-modal-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}
.lead-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}
.lead-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lead-consent span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(13,121,242,0.28);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}
.lead-consent span::before {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: translateY(-1px) rotate(-45deg);
  opacity: 0;
}
.lead-consent input:checked + span {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}
.lead-consent input:checked + span::before {
  opacity: 1;
}
.lead-consent input:focus-visible + span {
  box-shadow:
    0 0 0 4px rgba(13,121,242,0.12),
    inset 0 1px 0 rgba(255,255,255,0.86);
}
.lead-consent em {
  font-style: normal;
}
.lead-consent-error {
  min-height: 0;
  margin-top: -10px;
}
.lead-modal-form .btn {
  justify-content: center;
  width: 100%;
  min-height: 58px;
}
.lead-modal-success {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}
.lead-modal-success[hidden] {
  display: none;
}
.lead-modal-success h3 {
  margin: 18px 0 0;
  color: var(--text-primary);
  font-size: 30px;
  line-height: 1.16;
}
.lead-modal-success p {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .lead-modal {
    align-items: end;
    padding: 12px;
  }
  .lead-modal-dialog {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: 22px;
    border-radius: 24px;
  }
  .lead-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .lead-modal-overline {
    max-width: calc(100% - 44px);
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.2;
  }
  .lead-modal-head h2 {
    max-width: calc(100% - 30px);
    font-size: 28px;
  }
  .lead-modal-head p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.42;
  }
  .lead-modal-form {
    gap: 12px;
    margin-top: 18px;
  }
  .lead-consent {
    font-size: 12px;
  }
  .lead-modal-success {
    min-height: 300px;
  }
}

.footer.minimal-footer {
  padding: 24px 32px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.86);
  border-top: 1px solid rgba(207,219,235,0.78);
}
.footer.minimal-footer::before {
  display: none;
}
.minimal-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer.minimal-footer p,
.footer.minimal-footer a {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
}
.footer.minimal-footer .logo {
  color: var(--text-primary);
  flex-shrink: 0;
}
.footer.minimal-footer .privacy-link {
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer.minimal-footer .privacy-link:hover {
  color: var(--brand-primary);
}

@media (max-width: 980px) {
  .final-cta-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "form"
      "steps";
    gap: 18px;
  }
  .final-cta-copy,
  .final-cta-steps {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .final-cta-section {
    padding: 58px 20px 64px;
  }
  .final-cta-section::after {
    right: -310px;
    opacity: 0.08;
  }
  .final-cta-overline {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.2;
  }
  .final-cta-copy h2 {
    font-size: 34px;
    line-height: 1.06;
  }
  .final-cta-copy p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .final-form-card,
  .final-cta-steps {
    padding: 18px;
    border-radius: 20px;
  }
  .form-field input {
    min-height: 54px;
    border-radius: 15px;
    font-size: 15px;
  }
  .access-form .btn {
    min-height: 54px;
    padding: 15px 18px;
  }
  .final-cta-steps h3 {
    margin-bottom: 14px;
    font-size: 20px;
  }
  .final-cta-steps ol {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .final-step {
    min-height: 60px;
    padding: 12px;
  }
  .final-form-success {
    min-height: 282px;
  }
  .footer.minimal-footer {
    padding: 22px 20px;
  }
  .minimal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== Hero component ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(13,121,242,0.13), transparent 32%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 72%, #F4F5F7 100%);
  padding: 54px 32px 66px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13,121,242,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,121,242,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 44%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 44%, #000 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(540px, 1.05fr);
  gap: 28px;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 21px;
  max-width: 690px;
}
.pre-headline {
  margin: 0;
  align-self: flex-start;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}
.hero h1 {
  max-width: 690px;
  color: var(--text-primary);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}
.hero h1 .accent {
  color: var(--brand-primary);
}
.hero-title-line {
  display: inline;
}
.hero-subtitle {
  max-width: 590px;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.55;
}
.hero-mobile-showcase {
  display: none;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 2px;
}
.hero-cta-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}
.hero-cta-meta span:first-child {
  color: var(--text-secondary);
  font-weight: 600;
}
.hero-benefits {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  max-width: 680px;
  overflow: hidden;
  background: rgba(255,255,255,0.74);
  border: 1px solid #DCE5F1;
  border-radius: 10px;
  box-shadow:
    0 18px 48px rgba(15,18,23,0.04),
    inset 0 1px 0 rgba(255,255,255,0.84);
}
.hero-benefit {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px 18px;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  border-right: 1px solid #DCE5F1;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  line-height: 1.25;
}
.hero-benefit:last-child {
  border-right: 0;
}
.hero-benefit strong {
  max-width: 132px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}
.benefit-icon {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
}
.benefit-icon-pie {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, var(--brand-primary) 0 90deg, #C8D5E7 90deg 360deg);
  box-shadow: inset 0 0 0 1px rgba(13,121,242,0.035);
}
.benefit-icon-pie::before {
  content: '';
  position: absolute;
  inset: 50% 0 0 50%;
  background: rgba(255,255,255,0.82);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.7;
}
.benefit-icon-share::before,
.benefit-icon-cube::before,
.benefit-icon-clock::before {
  content: '';
  width: 58px;
  height: 58px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.benefit-icon-share::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Crect x='11' y='38' width='9' height='14' rx='2.4' stroke='%2377A7FF' stroke-width='3.2'/%3E%3Crect x='27.5' y='30' width='9' height='22' rx='2.4' stroke='%230D79F2' stroke-width='3.2'/%3E%3Crect x='44' y='20' width='9' height='32' rx='2.4' stroke='%2377A7FF' stroke-width='3.2'/%3E%3Cpath d='M12 27c12.5-1 21-7 33.5-18' stroke='%230D79F2' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M40 8h7.5v7.5' stroke='%230D79F2' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 54h44' stroke='%23C8D5E7' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.benefit-icon-cube::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Cpath d='M32 8 51 19v24L32 54 13 43V19L32 8Z' stroke='%2377A7FF' stroke-width='3.2' stroke-linejoin='round'/%3E%3Cpath d='M13 19 32 30 51 19M32 30v24' stroke='%230D79F2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' opacity='.78'/%3E%3C/svg%3E");
}
.benefit-icon-clock::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Ccircle cx='32' cy='32' r='23' stroke='%230D79F2' stroke-width='3.2'/%3E%3Cpath d='M32 18v15l10 6' stroke='%2377A7FF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hero-visual {
  position: relative;
  min-height: 590px;
  isolation: isolate;
}
.hero-visual-bg {
  position: absolute;
  top: calc(-1 * clamp(118px, 17svh, 190px));
  right: calc(-1 * max(32px, (100vw - 1280px) / 2 + 32px));
  bottom: calc(-1 * clamp(14px, 2.8svh, 34px));
  left: -92px;
  z-index: -2;
  background:
    url('img/hero-metal-bg.webp') right top / min(980px, 86vw) auto no-repeat;
  border-radius: 0;
  filter: saturate(0.98);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.16) 10%, #000 30%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 72%, rgba(0,0,0,0.58) 84%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.16) 10%, #000 30%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 72%, rgba(0,0,0,0.58) 84%, transparent 100%);
  -webkit-mask-composite: source-in;
}
.hero-visual::after {
  content: '';
  position: absolute;
  left: -92px;
  right: calc(-1 * max(32px, (100vw - 1280px) / 2 + 32px));
  bottom: calc(-1 * clamp(14px, 2.8svh, 34px));
  height: 230px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(247,248,250,0.92) 74%, #F4F5F7 100%);
  pointer-events: none;
}
.margin-card {
  position: absolute;
  top: 36px;
  left: 92px;
  width: 244px;
  padding: 24px 27px 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.62), rgba(255,255,255,0.34)),
    rgba(255,255,255,0.24);
  border: 1px solid rgba(207,219,235,0.72);
  border-radius: 17px;
  box-shadow:
    0 22px 58px rgba(15,18,23,0.085),
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(255,255,255,0.34);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  z-index: 2;
}
.margin-card::before {
  content: '';
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.08));
  border: 1px solid rgba(207,219,235,0.42);
  box-shadow: 0 18px 48px rgba(15,18,23,0.045);
}
.margin-card p {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.3;
}
.margin-card-value {
  margin-top: 14px;
  color: var(--brand-primary);
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}
.margin-card-value span {
  font-size: 29px;
}
.margin-chart {
  width: 100%;
  height: 104px;
  margin: -4px 0 -2px;
  overflow: visible;
}
.chart-line {
  fill: none;
  stroke: var(--brand-primary);
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#marginGlow);
}
.chart-shadow {
  fill: none;
  stroke: #8EC1FF;
  stroke-width: 8.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.18;
}
.margin-chart circle {
  fill: var(--brand-primary);
  filter: url(#marginGlow);
}
.margin-card-footer {
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid #D8DFEA;
}
.margin-card-footer span,
.margin-card-footer strong {
  display: block;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}
.margin-card-footer strong {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
}
.ops-strip {
  position: absolute;
  left: 38px;
  right: 6px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr;
  align-items: center;
  padding: 18px 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.54), rgba(255,255,255,0.24)),
    rgba(255,255,255,0.20);
  border: 1px solid rgba(207,219,235,0.72);
  border-radius: 18px;
  box-shadow:
    0 20px 56px rgba(15,18,23,0.075),
    inset 0 1px 0 rgba(255,255,255,0.86),
    inset 0 -1px 0 rgba(255,255,255,0.30);
  backdrop-filter: blur(17px) saturate(165%);
  -webkit-backdrop-filter: blur(17px) saturate(165%);
  z-index: 3;
}
.ops-strip::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  border: 1px solid rgba(207,219,235,0.36);
}
.ops-card {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.42)),
    rgba(255,255,255,0.22);
  border: 1px solid rgba(222,230,241,0.76);
  border-radius: 12px;
  box-shadow:
    0 14px 34px rgba(15,18,23,0.06),
    inset 0 1px 0 rgba(255,255,255,0.82);
  backdrop-filter: blur(12px) saturate(155%);
  -webkit-backdrop-filter: blur(12px) saturate(155%);
  text-align: center;
  font-size: 13px;
  line-height: 1.18;
}
.ops-card svg {
  width: 37px;
  height: 37px;
  color: var(--brand-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ops-arrow {
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(151,174,207,0.75) 0 6px, transparent 6px 10px);
}
.ops-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(151,174,207,0.9);
  border-right: 2px solid rgba(151,174,207,0.9);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 { font-size: 56px; }
  .hero-visual {
    min-height: 560px;
  }
  .hero-visual-bg {
    inset: 0 -30px 0 -30px;
  }
  .margin-card {
    left: 70px;
  }
  .ops-strip {
    left: 48px;
    right: 26px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 20px;
  }
  .header-cta {
    padding: 10px 14px;
    font-size: 13px;
    max-width: 180px;
    white-space: normal;
    line-height: 1.15;
  }
  .hero {
    padding: 28px 20px 50px;
  }
  .hero::before {
    opacity: 0.55;
    mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  }
  .hero-content {
    gap: 17px;
  }
  .pre-headline {
    font-size: 10px;
    line-height: 1.25;
  }
  .hero h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.45;
  }
  .hero-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  .hero-cta .btn .arrow {
    flex-shrink: 0;
  }
  .hero-cta-meta {
    gap: 2px;
    font-size: 12px;
  }
  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
  }
  .hero-benefit {
    min-height: 122px;
    padding: 16px 12px;
  }
  .hero-benefit strong {
    font-size: 13px;
    max-width: 116px;
  }
  .benefit-icon {
    width: 44px;
    height: 44px;
  }
  .benefit-icon-share::before,
  .benefit-icon-cube::before,
  .benefit-icon-clock::before {
    width: 34px;
    height: 34px;
  }
  .hero-visual {
    min-height: 390px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 26px;
  }
  .hero-visual-bg {
    inset: 0 -120px 0 -80px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 62%, rgba(247,248,250,0.94) 100%),
      url('img/hero-metal-bg.webp') center / cover no-repeat;
  }
  .hero-visual::before {
    display: none;
  }
  .margin-card {
    top: 26px;
    left: 18px;
    width: 178px;
    padding: 16px;
    border-radius: 16px;
  }
  .margin-card p {
    font-size: 13px;
  }
  .margin-card-value {
    margin-top: 8px;
    font-size: 36px;
  }
  .margin-card-value span {
    font-size: 21px;
  }
  .margin-chart {
    height: 68px;
    margin: 4px 0 6px;
  }
  .margin-card-footer span,
  .margin-card-footer strong {
    font-size: 10px;
  }
  .margin-card-footer strong {
    margin-top: 4px;
    font-size: 12px;
  }
  .ops-strip {
    left: 14px;
    right: 14px;
    bottom: 22px;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }
  .ops-arrow {
    display: none;
  }
  .ops-card {
    min-height: 86px;
    gap: 7px;
    border-radius: 12px;
    font-size: 10px;
  }
  .ops-card svg {
    width: 25px;
    height: 25px;
    stroke-width: 2.5;
  }
}

@media (max-width: 600px) {
  .header-inner {
    max-width: 350px;
    margin: 0;
  }
  .header-cta {
    width: 128px;
    white-space: normal;
    line-height: 1.15;
  }
  .hero-inner,
  .hero-content,
  .hero-benefits {
    max-width: 350px;
  }
  .hero-inner {
    margin: 0;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero h1 .accent {
    display: block;
  }
}

@media (max-width: 420px) {
  .logo { font-size: 18px; }
  .header-cta {
    width: 128px;
    white-space: normal;
    line-height: 1.15;
  }
  .hero-inner,
  .hero-content,
  .hero-benefits {
    max-width: 350px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero h1 .accent {
    display: block;
  }
  .hero-visual {
    min-height: 372px;
  }
}

/* ===== Section header ===== */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head .pre {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 14px;
  background: var(--brand-primary-soft);
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.section-head .pre .dot {
  width: 6px; height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
}
.section-head h2 {
  font-size: 48px; font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-head h2 .accent { color: var(--brand-primary); }
.section-head .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Card (базовая) ===== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: var(--brand-primary-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card .icon {
  width: 48px; height: 48px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Pill / chip ===== */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
}
.pill-neutral {
  background: var(--border-soft);
  color: var(--text-secondary);
}

/* ===== Mockup meta footer ===== */
.mockup-meta {
  background: var(--text-primary);
  color: white;
  padding: 16px 32px;
  font-size: 13px;
  text-align: center;
  font-family: var(--font-mono);
}
.mockup-meta a { color: var(--brand-primary); }
.mockup-meta strong { color: white; }

/* ===== Адаптив ===== */
@media (max-width: 768px) {
  .header-inner { padding: 12px 20px; gap: 12px; }
  .nav, .header-phone { display: none; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 32px; }
  .section-head .subtitle { font-size: 16px; }
  .card { padding: 24px; }
  .card h3 { font-size: 19px; }
}

/* ===== Viewport fit: header + hero always fill the first screen ===== */
:root { --header-height: 74px; }

.header-inner {
  min-height: var(--header-height);
  padding-top: 10px;
  padding-bottom: 10px;
}

.hero {
  height: calc(100svh - var(--header-height));
  min-height: 0;
  padding-top: clamp(18px, 3.2svh, 40px);
  padding-bottom: clamp(14px, 2.8svh, 34px);
  display: flex;
  align-items: center;
}

.hero-inner {
  width: 100%;
  max-height: 100%;
}

@media (max-height: 820px) and (min-width: 769px) {
  :root { --header-height: 64px; }

  .header-inner {
    min-height: var(--header-height);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header-cta {
    padding: 10px 17px;
  }

  .hero {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.98fr) minmax(510px, 1.02fr);
    gap: 24px;
  }

  .hero-content {
    gap: 13px;
  }

  .pre-headline {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(44px, 4.25vw, 54px);
    line-height: 1.04;
  }

  .hero-subtitle {
    font-size: 17px;
    line-height: 1.42;
  }

  .hero-cta {
    gap: 14px;
  }

  .hero-cta .btn-large {
    padding: 14px 30px;
    font-size: 16px;
  }

  .hero-cta-meta {
    font-size: 12px;
  }

  .hero-benefits {
    margin-top: 2px;
  }

  .hero-benefit {
    min-height: 126px;
    gap: 10px;
    padding: 16px 12px 14px;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
  }

  .benefit-icon-pie {
    width: 48px;
    height: 48px;
  }

  .benefit-icon-share::before,
  .benefit-icon-cube::before,
  .benefit-icon-clock::before {
    width: 48px;
    height: 48px;
  }

  .hero-benefit strong {
    font-size: 14px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .margin-card {
    top: 16px;
    left: 86px;
    width: 232px;
    padding: 20px 24px 18px;
  }

  .margin-card::before {
    inset: -9px;
  }

  .margin-card p {
    font-size: 15px;
  }

  .margin-card-value {
    font-size: 44px;
    margin-top: 10px;
  }

  .margin-card-value span {
    font-size: 25px;
  }

  .margin-chart {
    height: 84px;
    margin: -4px 0 -4px;
  }

  .margin-card-footer {
    padding-top: 10px;
  }

  .margin-card-footer span {
    font-size: 12px;
  }

  .margin-card-footer strong {
    font-size: 14px;
  }

  .ops-strip {
    left: 34px;
    right: 6px;
    bottom: 16px;
    padding: 12px 18px;
    grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
  }

  .ops-card {
    min-height: 98px;
    gap: 9px;
    font-size: 12px;
  }

  .ops-card svg {
    width: 31px;
    height: 31px;
  }

}

@media (max-width: 768px) {
  :root { --header-height: 68px; }

  .header-inner {
    min-height: var(--header-height);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .hero {
    height: calc(100svh - var(--header-height));
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .hero-visual {
    display: none;
  }

  .hero {
    align-items: flex-start;
  }

  .hero-inner {
    justify-content: flex-start;
  }

  .hero-content {
    max-height: 100%;
  }
}

@media (max-width: 390px), (max-height: 760px) and (max-width: 600px) {
  .hero-content {
    gap: 13px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.38;
  }

  .hero-cta .btn {
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .hero-benefit {
    min-height: 104px;
  }

  .benefit-icon {
    width: 42px;
    height: 42px;
  }

  .benefit-icon-pie {
    width: 42px;
    height: 42px;
  }

  .benefit-icon-share::before,
  .benefit-icon-cube::before,
  .benefit-icon-clock::before {
    width: 42px;
    height: 42px;
  }
}

/* ===== Mobile polish: hero, problem cards, calculator ===== */
@media (max-width: 680px) {
  :root { --header-height: 76px; }

  .header {
    overflow: visible;
  }

  .header-inner {
    width: 100%;
    max-width: none;
    min-height: var(--header-height);
    margin: 0;
    padding: 10px 20px;
    justify-content: space-between;
  }

  .logo {
    flex: 0 0 auto;
    font-size: 20px;
  }

  .header-cta {
    width: auto;
    min-width: 132px;
    max-width: 154px;
    margin-left: auto;
    padding: 10px 13px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.08;
    white-space: normal;
  }

  .hero {
    height: auto;
    min-height: auto;
    display: block;
    align-items: stretch;
    overflow: hidden;
    padding: 16px 20px 22px;
    background:
      radial-gradient(circle at 92% 10%, rgba(13,121,242,0.14), transparent 31%),
      radial-gradient(circle at 30% 95%, rgba(13,121,242,0.07), transparent 30%),
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,249,255,0.96) 100%);
  }

  .hero::before {
    opacity: 0.82;
    mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
  }

  .hero::after {
    content: '';
    position: absolute;
    right: -132px;
    top: 208px;
    width: 430px;
    height: 330px;
    pointer-events: none;
    background: url('img/hero-metal-bg.webp') right center / cover no-repeat;
    opacity: 0.24;
    mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.72) 28%, #000 54%, #000 100%),
      linear-gradient(180deg, transparent 0%, #000 16%, #000 76%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.72) 28%, #000 54%, #000 100%),
      linear-gradient(180deg, transparent 0%, #000 16%, #000 76%, transparent 100%);
    -webkit-mask-composite: source-in;
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    max-height: none;
    display: block;
    margin: 0;
    overflow: visible;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    max-height: none;
    gap: 11px;
    overflow: visible;
  }

  .pre-headline {
    font-size: 10px;
    line-height: 1.18;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.25vw, 35px);
    line-height: 1.01;
    overflow-wrap: normal;
  }

  .hero h1 .accent {
    display: block;
  }

  .hero-title-line {
    display: block;
  }

  .hero-subtitle {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.38;
  }

  .hero-mobile-showcase {
    position: relative;
    display: block;
    height: 158px;
    margin: 2px 0 2px;
    overflow: hidden;
    border: 1px solid rgba(198,215,237,0.62);
    border-radius: 18px;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.68) 48%, rgba(255,255,255,0.14) 100%),
      url('img/hero-metal-bg.webp') right 43% / 360px auto no-repeat,
      linear-gradient(135deg, rgba(239,246,255,0.96), rgba(255,255,255,0.86));
    box-shadow:
      0 18px 48px rgba(15,18,23,0.07),
      inset 0 1px 0 rgba(255,255,255,0.90);
  }

  .hero-mobile-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(13,121,242,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(13,121,242,0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 82%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 82%);
  }

  .hero-mobile-card {
    position: absolute;
    left: 12px;
    top: 13px;
    width: 132px;
    padding: 12px 12px 10px;
    border: 1px solid rgba(205,219,238,0.78);
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.38)),
      rgba(255,255,255,0.35);
    box-shadow:
      0 14px 34px rgba(15,18,23,0.08),
      inset 0 1px 0 rgba(255,255,255,0.92);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
  }

  .hero-mobile-card span,
  .hero-mobile-card small {
    display: block;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
  }

  .hero-mobile-card small {
    display: none;
  }

  .hero-mobile-card strong {
    display: block;
    margin-top: 4px;
    color: var(--brand-primary);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
  }

  .hero-mobile-card i {
    display: block;
    width: 100%;
    height: 28px;
    margin: 3px 0 7px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 40' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Cpath d='M3 31 C13 21 19 19 27 21 C36 24 38 9 49 12 C59 15 62 28 73 23 C83 18 86 9 96 11 C105 13 110 3 117 2' stroke='%238EC1FF' stroke-width='8' stroke-linecap='round' stroke-linejoin='round' opacity='.22'/%3E%3Cpath d='M3 31 C13 21 19 19 27 21 C36 24 38 9 49 12 C59 15 62 28 73 23 C83 18 86 9 96 11 C105 13 110 3 117 2' stroke='%230D79F2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='117' cy='2' r='4' fill='%230D79F2'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .hero-mobile-flow {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 11px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-mobile-flow span {
    display: grid;
    place-items: center;
    min-height: 28px;
    padding: 5px 6px;
    color: var(--brand-primary);
    background: rgba(255,255,255,0.66);
    border: 1px solid rgba(205,219,238,0.72);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }

  .hero-cta {
    gap: 9px;
    margin-top: 1px;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.12;
  }

  .hero-cta-meta {
    max-width: 390px;
    font-size: 11px;
    line-height: 1.24;
  }

  .hero-benefits {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 4px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow:
      none;
  }

  .hero-benefit {
    min-height: 58px;
    height: auto;
    gap: 5px;
    justify-content: flex-start;
    padding: 8px 5px 7px;
    overflow: visible;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(205,219,238,0.74);
    border-radius: 12px;
    box-shadow:
      0 10px 26px rgba(15,18,23,0.035),
      inset 0 1px 0 rgba(255,255,255,0.82);
  }

  .hero-benefit:nth-child(2n) {
    border-right: 1px solid rgba(205,219,238,0.74);
  }

  .hero-benefit:nth-child(n+3) {
    border-top: 1px solid rgba(205,219,238,0.74);
  }

  .hero-benefit strong {
    max-width: 78px;
    font-size: 9.5px;
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .benefit-icon {
    width: 24px;
    height: 24px;
  }

  .benefit-icon-pie {
    width: 23px;
    height: 23px;
  }

  .benefit-icon-share::before,
  .benefit-icon-cube::before,
  .benefit-icon-clock::before {
    width: 23px;
    height: 23px;
  }

  .hero-visual {
    display: none;
  }

  .problem-section {
    padding: 42px 20px 48px;
  }

  .problem-head {
    margin-bottom: 20px;
  }

  .problem-overline {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .problem-head h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .problem-head p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.42;
  }

  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .problem-card {
    min-height: 172px;
    gap: 8px;
    padding: 11px;
    border-radius: 15px;
  }

  .problem-card::after {
    right: -48px;
    bottom: -46px;
    width: 126px;
    height: 126px;
    opacity: 0.55;
  }

  .problem-card-top {
    align-items: flex-start;
  }

  .problem-index {
    font-size: 10px;
  }

  .problem-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .problem-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 2;
  }

  .problem-card h3 {
    font-size: 12px;
    line-height: 1.24;
  }

  .problem-proof {
    min-height: 44px;
    border-radius: 12px;
  }

  .problem-proof-percent div {
    padding: 8px 7px;
  }

  .problem-proof-percent span,
  .problem-proof-base > span,
  .problem-proof-brake em,
  .problem-proof-brake b,
  .problem-proof-profit span {
    font-size: 8px;
    line-height: 1.05;
  }

  .problem-proof-percent strong {
    font-size: 18px;
  }

  .problem-proof-base {
    gap: 6px;
    padding: 9px;
  }

  .problem-proof-base div {
    gap: 5px;
  }

  .problem-proof-base i {
    width: 22px;
    height: 22px;
    border-radius: 8px;
  }

  .problem-proof-base b {
    font-size: 10px;
  }

  .problem-proof-routine {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 7px;
  }

  .problem-proof-routine span {
    min-height: 22px;
    padding: 4px;
    border-radius: 9px;
    font-size: 9px;
  }

  .problem-proof-ceiling {
    gap: 5px;
    padding: 13px 8px 7px;
  }

  .problem-proof-ceiling::before {
    left: 8px;
    right: 8px;
    top: 14px;
  }

  .problem-proof-ceiling em {
    right: 8px;
    top: 5px;
    font-size: 8px;
  }

  .problem-proof-ceiling span {
    min-height: 18px;
    border-radius: 7px 7px 3px 3px;
  }

  .problem-proof-brake {
    gap: 5px;
    padding: 9px;
  }

  .problem-proof-brake div {
    height: 10px;
  }

  .problem-proof-profit {
    grid-template-columns: auto 1fr;
    gap: 6px;
    padding: 8px;
  }

  .problem-proof-profit strong {
    font-size: 18px;
  }

  .problem-proof-profit i {
    width: 28px;
    height: 28px;
  }

  .problem-proof-profit b {
    font-size: 11px;
  }

  .problem-accent {
    margin-top: 12px;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 15px;
    border-radius: 15px;
  }

  .problem-accent-icon {
    width: 38px;
    height: 38px;
  }

  .problem-accent-icon svg {
    width: 22px;
    height: 22px;
  }

  .problem-accent p {
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.34;
  }

  .income-calculator-section {
    min-height: calc(100svh - var(--header-height));
    padding: 28px 20px 36px;
  }

  .income-calculator-head {
    margin-bottom: 11px;
  }

  .income-calculator-overline {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .income-calculator-head h2 {
    max-width: 420px;
    font-size: clamp(27px, 8.2vw, 34px);
    line-height: 1.03;
  }

  .income-calculator-head p {
    display: none;
  }

  .income-calculator-shell {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .calculator-results {
    order: -1;
    padding: 12px;
    border-radius: 16px;
  }

  .calculator-results h3 {
    display: none;
  }

  .calculator-results-bg {
    opacity: 0.22;
  }

  .calculator-compare {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 6px;
  }

  .calculator-vs {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .calculator-result-mini {
    padding: 9px;
    border-radius: 12px;
  }

  .calculator-result-mini span,
  .calculator-difference span,
  .calculator-growth span {
    font-size: 9px;
    line-height: 1.1;
  }

  .calculator-result-mini strong {
    margin-top: 4px;
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .calculator-result-mini small {
    margin-top: 3px;
    font-size: 8px;
    line-height: 1.2;
  }

  .calculator-difference {
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 13px;
  }

  .calculator-difference-icon {
    display: none;
  }

  .calculator-difference strong {
    margin-top: 3px;
    font-size: clamp(22px, 6.8vw, 28px);
  }

  .calculator-difference p {
    font-size: 9px;
    line-height: 1.2;
  }

  .calculator-growth,
  .calculator-cta-card {
    display: none;
  }

  .calculator-controls {
    gap: 8px;
    padding: 11px;
    border-radius: 16px;
  }

  .calculator-control {
    padding: 9px;
    border-radius: 13px;
  }

  .calculator-control-main {
    grid-template-columns: 32px minmax(0, 1fr) minmax(94px, 116px);
    gap: 8px;
    align-items: center;
  }

  .calculator-control-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .calculator-control-icon svg {
    width: 20px;
    height: 20px;
  }

  .calculator-control-text label {
    font-size: 13px;
    line-height: 1.12;
  }

  .calculator-control-text p {
    display: none;
  }

  .calculator-number {
    grid-column: auto;
    min-height: 36px;
    padding: 8px;
    border-radius: 10px;
    font-size: 14px;
    text-align: right;
  }

  .calculator-slider {
    height: 5px;
    margin-top: 9px;
  }

  .calculator-slider::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border-width: 3px;
  }

  .calculator-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-width: 3px;
  }

  .calculator-scale {
    margin-top: 5px;
    font-size: 9px;
  }

  .calculator-share-card {
    display: none;
  }
}

@media (max-width: 390px) {
  .header-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-cta {
    min-width: 138px;
    max-width: 150px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-benefit {
    min-height: 56px;
    padding: 7px 4px 6px;
  }

  .hero-benefit strong {
    font-size: 9px;
  }

  .problem-card {
    min-height: 164px;
    padding: 10px;
  }

  .problem-card h3 {
    font-size: 11.5px;
  }

  .income-calculator-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .calculator-control-main {
    grid-template-columns: 30px minmax(0, 1fr) minmax(88px, 104px);
  }

  .calculator-number {
    font-size: 13px;
  }
}
