@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --brand-orange: #F59100;
  --brand-orange-dark: #D97800;
  --brand-orange-light: #FFA829;
  --brand-navy: #1A1C22;
  --brand-navy-light: #252830;
  --brand-navy-mid: #2E3140;
  --brand-white: #FFFFFF;
  --brand-gray: #F4F5F7;
  --brand-gray-mid: #E8E9EC;
  --brand-text: #1A1C22;
  --brand-text-muted: #6B7280;
  --brand-text-light: #9CA3AF;
  --brand-success: #22C55E;
  --brand-magenta: #E040FB;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --shadow-orange: 0 4px 20px rgba(245,145,0,.35);
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--brand-white);
  color: var(--brand-text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-orange-dark); }

h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: .4rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-alt { background: var(--brand-gray); }
.section-dark { background: var(--brand-navy); color: var(--brand-white); }

/* ─── SKIP LINK ─── */
.skip-link {
  position: fixed;
  top: 0; left: 0;
  z-index: 99999;
  background: var(--brand-orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
  font-size: .9rem;
  transform: translateY(-100%);
  transition: transform .15s ease;
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: 2px;
}
/* --- FOCUS VISIBLE (Accessibility) ---*/
:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }


/* ─── HEADER ─── */
#site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--brand-navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 20px;
}
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; }
.logo-text { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--brand-white); }
.logo-text span { color: var(--brand-orange); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(245,145,0,.18); color: var(--brand-orange);
}

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login {
  border: 2px solid var(--brand-orange); color: var(--brand-orange);
  background: transparent; padding: 8px 20px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .9rem; cursor: pointer; transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}
.btn-login:hover { background: var(--brand-orange); color: #fff; }
.btn-register {
  background: var(--brand-orange); color: #fff;
  padding: 8px 22px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: .9rem; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: var(--shadow-orange);
  font-family: 'Outfit', sans-serif;
}
.btn-register:hover { background: var(--brand-orange-dark); transform: translateY(-1px); }

/* Mobile nav toggle */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border: none; background: transparent;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--brand-white); border-radius: 2px; transition: var(--transition);
}

/* Mobile overlay nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: var(--brand-navy);
  flex-direction: column; padding: 80px 24px 32px;
  transform: translateX(-100%); transition: transform .35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer;
}
.mobile-nav a {
  display: block; color: #fff; font-size: 1.1rem; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a:hover { color: var(--brand-orange); }
.mobile-nav .mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav .mobile-cta a { text-align: center; padding: 14px; border-radius: var(--radius-sm); }
.mobile-nav .mobile-cta .btn-login { border-color: var(--brand-orange); color: var(--brand-orange); }
.mobile-nav .mobile-cta .btn-register { background: var(--brand-orange); color: #fff; }

/* ─── FOOTER ─── */
#site-footer { background: var(--brand-navy); color: rgba(255,255,255,.75); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-text { font-size: 1.5rem; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; line-height: 1.65; opacity: .75; margin-bottom: 16px; }
.footer-col h4 { color: var(--brand-orange); font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.7); font-size: .88rem; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--brand-orange); padding-left: 4px; }
.footer-disclaimer { font-size: .78rem; opacity: .55; line-height: 1.6; border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; margin-bottom: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; opacity: .55; }
.footer-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3); font-size: .78rem; font-weight: 800; color: rgba(255,255,255,.5);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem; cursor: pointer;
  border: none; transition: var(--transition); font-family: 'Outfit', sans-serif;
  text-decoration: none;
}
.btn-primary { background: var(--brand-orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--brand-orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(245,145,0,.45); }
.btn-outline { background: transparent; color: var(--brand-orange); border: 2px solid var(--brand-orange); }
.btn-outline:hover { background: var(--brand-orange); color: #fff; }
.btn-dark { background: var(--brand-navy); color: #fff; }
.btn-dark:hover { background: var(--brand-navy-light); color: var(--brand-orange); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--brand-navy);
  min-height: 420px; display: flex; align-items: center;
}
.page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; opacity: .35;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,28,34,.95) 40%, rgba(245,145,0,.15) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 60px 0; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,145,0,.18); border: 1px solid rgba(245,145,0,.4);
  color: var(--brand-orange); padding: 6px 16px; border-radius: 100px;
  font-size: .85rem; font-weight: 600; margin-bottom: 18px;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p.lead { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; }

/* ─── CARDS ─── */
.card {
  background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: var(--transition); border: 1px solid var(--brand-gray-mid);
  opacity: 0; transform: translateY(20px);
}
.card.animate-in { opacity: 1; transform: translateY(0); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 24px; }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
  box-shadow: var(--shadow-orange);
}
.card-dark { background: var(--brand-navy-light); border-color: rgba(255,255,255,.07); }
.card-dark h3, .card-dark h4 { color: #fff; }
.card-dark p { color: rgba(255,255,255,.7); }

/* ─── GRID LAYOUTS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block; color: var(--brand-orange);
  font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--brand-text-muted); max-width: 560px; margin: 0 auto; }

/* ─── STATS BAR ─── */
.stats-bar { background: var(--brand-orange); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-value { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; display: block; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.85); font-weight: 500; }

/* ─── TABLES ─── */
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.data-table thead th {
  background: var(--brand-navy); color: var(--brand-orange);
  padding: 14px 16px; text-align: left; font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.data-table tbody td { padding: 13px 16px; border-bottom: 1px solid var(--brand-gray-mid); }
.data-table tbody tr:hover { background: var(--brand-gray); }
.data-table tbody tr:last-child td { border-bottom: none; }
.table-wrap { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--brand-gray-mid); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .78rem; font-weight: 700; }
.badge-orange { background: rgba(245,145,0,.15); color: var(--brand-orange-dark); }
.badge-green { background: rgba(34,197,94,.15); color: #16a34a; }
.badge-blue { background: rgba(59,130,246,.15); color: #1d4ed8; }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--brand-gray-mid); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; background: #fff; cursor: pointer; border: none;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  color: var(--brand-text); text-align: left; transition: var(--transition);
}
.faq-question:hover { background: var(--brand-gray); color: var(--brand-orange); }
.faq-question.active { background: var(--brand-navy); color: var(--brand-orange); }
.faq-icon { font-size: 1.4rem; font-weight: 300; transition: transform .3s; flex-shrink: 0; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 22px 18px; background: #fff; color: var(--brand-text-muted); line-height: 1.7; }
.faq-answer.open { display: block; }

/* ─── AUTHOR BLOCK ─── */
.author-block {
  display: flex; gap: 24px; align-items: flex-start;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-mid) 100%);
  border-radius: var(--radius-lg); padding: 32px; margin: 48px 0;
  border: 1px solid rgba(245,145,0,.2);
}
.author-block-img {
  width: 90px; height: 90px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--brand-orange); box-shadow: var(--shadow-orange);
}
.author-block-info h4 { color: var(--brand-orange); font-size: 1.05rem; margin-bottom: 4px; }
.author-block-info .author-role { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 10px; display: block; }
.author-block-info p { color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.65; margin: 0; }

/* ─── FLOATING BONUS BANNER ─── */
.bonus-popup {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  width: 240px; background: var(--brand-navy);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.4); border: 2px solid var(--brand-orange);
  animation: slideInRight .6s ease forwards;
  transform: translateX(120%);
}
@keyframes slideInRight { to { transform: translateX(0); } }
.bonus-popup-img { width: 100%; height: 130px; object-fit: cover; }
.bonus-popup-body { padding: 14px; }
.bonus-popup-title { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.bonus-popup-sub { font-size: .78rem; color: rgba(255,255,255,.65); margin-bottom: 12px; }
.bonus-popup a.btn-primary { display: block; text-align: center; padding: 10px; font-size: .88rem; border-radius: var(--radius-sm); }
.bonus-popup-close {
  position: absolute; top: 8px; right: 10px;
  background: rgba(0,0,0,.5); border: none; color: #fff;
  width: 24px; height: 24px; border-radius: 50%; cursor: pointer;
  font-size: .9rem; display: flex; align-items: center; justify-content: center;
}

/* ─── BREADCRUMB ─── */
.breadcrumb { padding: 12px 0; font-size: .85rem; color: var(--brand-text-muted); }
.breadcrumb a { color: var(--brand-text-muted); }
.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb span { margin: 0 6px; }

/* ─── PROGRESS BARS ─── */
.progress-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.progress-bar { background: var(--brand-gray-mid); border-radius: 100px; height: 10px; overflow: hidden; margin-bottom: 16px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-light)); border-radius: 100px; transition: width 1.2s ease; width: 0; }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: linear-gradient(135deg, rgba(245,145,0,.08), rgba(245,145,0,.03));
  border-left: 4px solid var(--brand-orange); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 24px 0;
}
.highlight-box p { margin: 0; font-size: .95rem; }

/* ─── CHECKLIST ─── */
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--brand-gray-mid); }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-orange); font-weight: 800; }

/* ─── COMPARISON TABLE ─── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: var(--brand-navy); color: #fff; padding: 14px; text-align: center; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 13px 14px; border-bottom: 1px solid var(--brand-gray-mid); text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-table .highlight-col { background: rgba(245,145,0,.06); }
.compare-table .highlight-col th { background: var(--brand-orange); }
.compare-icon-yes { color: #22c55e; font-weight: 800; }
.compare-icon-no { color: #ef4444; }

/* ─── STEPS ─── */
.steps-list { counter-reset: steps; display: flex; flex-direction: column; gap: 20px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  counter-increment: steps; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-orange); color: #fff; font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange);
}
.step-content h4 { margin-bottom: 6px; }
.step-content p { color: var(--brand-text-muted); font-size: .93rem; margin: 0; }

/* ─── RATINGS ─── */
.rating-stars { color: var(--brand-orange); font-size: 1.1rem; letter-spacing: 2px; }
.rating-bar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.rating-bar-label { font-size: .85rem; min-width: 130px; font-weight: 500; }
.rating-bar-track { flex: 1; height: 8px; background: var(--brand-gray-mid); border-radius: 100px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--brand-orange); border-radius: 100px; }
.rating-score { font-size: .85rem; font-weight: 700; min-width: 36px; text-align: right; }

/* ─── CHART WRAPPER ─── */
.chart-wrap { background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--brand-gray-mid); }
.chart-title { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--brand-text); }

/* ─── FEATURE GRID ─── */
.feature-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius-md); transition: var(--transition); }
.feature-item:hover { background: var(--brand-gray); }
.feature-icon { font-size: 1.8rem; flex-shrink: 0; }
.feature-text h4 { margin-bottom: 6px; }
.feature-text p { color: var(--brand-text-muted); font-size: .9rem; margin: 0; }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.animate-in { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* === GLOBAL === */
  body { overflow-x: hidden; }
  * { max-width: 100%; }
  img, figure, canvas, svg { max-width: 100% !important; }
  figure[style*="float"] { float: none !important; margin: 0 0 20px 0 !important; max-width: 100% !important; }

  /* === CONTAINER === */
  .container { padding: 0 16px; width: 100%; }

  /* === HEADER === */
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  /* Кнопка CTA в хедере рядом с бургером */
  .header-inner { position: relative; }
  .header-mobile-cta {
    display: inline-flex !important;
    align-items: center;
    padding: 8px 14px;
    background: var(--brand-orange);
    color: #fff !important;
    font-weight: 700;
    font-size: .78rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    margin-right: 8px;
    text-decoration: none;
  }
  .header-mobile-cta:hover { background: var(--brand-orange-dark); color: #fff !important; }

  /* === SECTIONS === */
  .section { padding: 36px 0; }

  /* === GRIDS → single column === */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* === HOMEPAGE: 2-col article+aside → stack === */
  div[style*="grid-template-columns:2fr 1fr"],
  div[style*="grid-template-columns: 2fr 1fr"] {
    display: block !important;
  }
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    display: block !important;
  }

  /* === TABLES: horizontal scroll === */
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
  }
  .compare-table,
  .data-table,
  table {
    min-width: 500px;
    font-size: .8rem;
  }
  .compare-table th,
  .compare-table td,
  .data-table th,
  .data-table td {
    padding: 10px 10px;
    white-space: normal;
    word-break: break-word;
  }

  /* === CARDS === */
  .card { width: 100%; box-sizing: border-box; }
  .card-body { padding: 16px; }

  /* === INLINE GRIDS with mobile-stack class === */
  .mobile-stack {
    display: block !important;
  }
  .mobile-stack > * { margin-bottom: 20px; }

  /* === ASIDE inside pages === */
  aside { width: 100% !important; margin-top: 24px; }

  /* === PAGE HERO === */
  .page-hero { min-height: 260px; padding: 50px 0 30px; }
  .page-hero-badge { font-size: .75rem; }

  /* === AUTHOR === */
  .author-block { flex-direction: column; align-items: center; text-align: center; }
  .author-avatar { width: 80px !important; height: 80px !important; }

  /* === BONUS POPUP === */
  .bonus-popup { width: 200px; bottom: 12px; right: 12px; }
  .bonus-popup img { height: 80px; }

  /* === HIGHLIGHT BOX === */
  .highlight-box { padding: 16px; font-size: .9rem; }

  /* === PROGRESS BARS === */
  .progress-label { font-size: .85rem; }

  /* === STEP BLOCKS with inline style grids === */
  div[style*="display:grid"][style*="1fr 1fr"],
  div[style*="display: grid"][style*="1fr 1fr"] {
    display: block !important;
  }
  div[style*="display:grid"] {
    display: block !important;
  }
}

@media (max-width: 480px) {
  /* === CONTAINER === */
  .container { padding: 0 12px; }

  /* === TYPOGRAPHY === */
  h1 { font-size: 1.5rem; line-height: 1.2; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }

  /* === BUTTONS === */
  .btn-lg { padding: 13px 20px; font-size: .95rem; }
  .btn { font-size: .85rem; padding: 10px 16px; }

  /* === STATS === */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-value { font-size: 1.6rem; }

  /* === HEADER CTA BUTTON === */
  .header-mobile-cta { font-size: .72rem; padding: 7px 10px; }

  /* === BONUS POPUP === */
  .bonus-popup { width: 180px; bottom: 8px; right: 8px; }

  /* === TABLES === */
  .compare-table, .data-table, table { font-size: .75rem; min-width: 440px; }

  /* === CARDS === */
  .card-body { padding: 14px; }
  .card-icon { font-size: 1.6rem; width: 44px; height: 44px; }

  /* === HERO === */
  .home-hero { min-height: 420px; }
  div[style*="display:flex"][style*="gap:14px"],
  div[style*="display:flex"][style*="gap: 14px"] {
    flex-direction: column;
    gap: 10px !important;
  }
  .home-hero .btn-lg { width: 100%; text-align: center; }

  /* === FIGURE === */
  figure { margin: 0 0 16px !important; }
  figure img { height: 180px !important; }

  /* === CHARTS === */
  .chart-wrap { padding: 16px; }
  canvas { max-width: 100% !important; }

  /* === COMPARISON TABLE === */
  .table-wrap { margin: 0 -12px; border-radius: 0; }
}
