:root {
  --purple: #7f55a8;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.article-meta > span {
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.editorial-note {
  border: 1px solid #d9c9aa;
  border-left: 5px solid var(--teal);
  border-radius: 0 18px 18px 0;
  background: #f2fbf9;
  margin-bottom: 44px;
  padding: 19px 22px;
}

.editorial-note strong {
  color: var(--teal-dark);
  display: block;
  margin-bottom: 3px;
}

.editorial-note p {
  color: #4f5f5d;
  margin: 0;
  font-size: 0.9rem;
}

.comparison-table-wrap {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  margin: 25px 0 16px;
  overflow-x: auto;
  box-shadow: 0 8px 22px #4e35180b;
}

.comparison-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 0.88rem;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 15px 16px;
}

.comparison-table thead th {
  color: #fff;
  background: var(--teal-dark);
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody tr:nth-child(even) {
  background: #fffaf0;
}

.comparison-table td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 25px;
}

.decision-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff3ed;
  min-height: 145px;
  padding: 21px;
}

.decision-card:nth-child(2) {
  background: #e9f8f6;
}

.decision-card:nth-child(3) {
  background: #fff6d9;
}

.decision-card strong {
  display: block;
  margin-bottom: 7px;
}

.decision-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.group-intro {
  display: block;
  padding-top: 10px;
}

.group-intro .content-section__body {
  width: 100%;
  min-width: 0;
}

.group-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.group-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff0eb;
  min-height: 235px;
  padding: 27px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.group-card > span {
  color: #2322311c;
  font-size: 3.4rem;
  font-weight: 950;
  line-height: 1;
}

.group-card h3 {
  margin: 12px 0 8px;
  font-size: 1.42rem;
}

.group-card p {
  color: var(--muted);
  margin: 0 0 34px;
  font-size: 0.92rem;
}

.group-card b {
  color: var(--red);
  position: absolute;
  bottom: 23px;
  left: 27px;
  font-size: 0.86rem;
}

.group-card--teal {
  background: #e9f8f6;
}

.group-card--teal b {
  color: var(--teal-dark);
}

.group-card--gold {
  background: #fff6d9;
}

.group-card--gold b {
  color: #9a6800;
}

.group-card--blue {
  background: #edf7fd;
}

.group-card--blue b {
  color: var(--blue);
}

.group-card--purple {
  background: #f2ecf8;
  grid-column: 1 / -1;
}

.group-card--purple b {
  color: var(--purple);
}

.next-step-section {
  background: radial-gradient(circle at 10% 10%, #f4b51615, transparent 30%), #fffaf0;
}

.next-step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.next-step-card {
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  min-height: 285px;
  padding: 24px 21px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}

.next-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.next-step-card::after {
  content: "";
  width: 130px;
  height: 130px;
  border: 19px dotted #eb202b1f;
  border-radius: 50%;
  position: absolute;
  right: -55px;
  top: -55px;
}

.next-step-card > span {
  color: #eb202b35;
  font-size: 2.7rem;
  font-weight: 950;
  line-height: 1;
}

.next-step-card h3 {
  margin: 20px 0 9px;
  font-size: 1.23rem;
  line-height: 1.18;
}

.next-step-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.87rem;
}

.next-step-card b {
  color: var(--teal-dark);
  position: absolute;
  bottom: 20px;
  left: 21px;
  right: 18px;
  font-size: 0.76rem;
}

.next-step-card--2::after,
.next-step-card--5::after {
  border-color: #069b9826;
}

.next-step-card--3::after {
  border-color: #f4b51635;
}

.next-step-card--4::after {
  border-color: #7f55a82b;
}

.print-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
  margin: 0 0 35px;
  padding: 22px;
}

.print-actions button {
  cursor: pointer;
}

.print-checklist {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.print-checklist li {
  border-bottom: 1px dashed #d8c7a5;
  padding: 7px 0;
  color: #4e4a57;
}

.swatch[hidden] {
  display: none !important;
}

a[data-track="click_to_radost"]:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #0b7270;
  outline-offset: 4px;
}

@media (max-width: 1230px) {
  .next-step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .next-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .article-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .editorial-note {
    margin-bottom: 24px;
  }

  .group-card-grid,
  .next-step-grid {
    grid-template-columns: 1fr;
  }

  .group-card--purple {
    grid-column: auto;
  }

  .next-step-card {
    min-height: 245px;
  }

  .print-actions {
    display: grid;
  }

  .print-actions .button {
    width: 100%;
    text-align: center;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 10.5pt;
  }

  .site-header,
  .site-footer,
  .article-hero__mascot,
  .article-aside,
  .print-actions,
  .article-cta,
  .faq-section {
    display: none !important;
  }

  .article-hero {
    background: #fff !important;
    padding: 0 0 8mm !important;
  }

  .article-hero__sparkles,
  .article-hero__grain,
  .breadcrumbs,
  .editorial-note {
    display: none !important;
  }

  .article-hero__grid,
  .article-layout,
  .content-section {
    display: block !important;
  }

  .article-hero h1 {
    color: #111 !important;
    font-size: 24pt !important;
    margin: 0 0 3mm !important;
  }

  .article-hero__lead {
    color: #333 !important;
    max-width: none !important;
  }

  .article-layout {
    width: 100% !important;
    padding: 0 !important;
  }

  .article-meta {
    margin-bottom: 5mm;
  }

  .content-section {
    break-inside: avoid;
    padding: 5mm 0 !important;
  }

  .section-number {
    display: none !important;
  }

  .comparison-table-wrap {
    box-shadow: none;
    overflow: visible;
  }

  .comparison-table {
    min-width: 0;
    font-size: 8.5pt;
  }

  .comparison-table thead th {
    color: #000;
    background: #e6f4f2 !important;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}
