:root {
  --color-brand: #92400e;
  --color-cta: #16a34a;
  --font-main: Bahnschrift, 'Arial Black', 'Helvetica Neue', sans-serif;
  --text-dark: #222;
  --text-muted: #666;
  --border: #ddd;
  --bg-light: #faf7f4;
  --bg-card: #fff;
  --radius-card: 8px;
  --radius-btn: 6px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

* {
  font-family: var(--font-main);
  line-height: 1.7;
}

body {
  font-size: 16px;
  color: var(--text-dark);
  background-color: #fff;
  font-weight: 400;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

.article-main {
  width: 100%;
}

.article-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 420px;
  background-color: var(--color-brand);
}

.article-hero__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: brightness(0.45);
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.article-hero__content {
  max-width: 820px;
}

.article-hero__meta {
  font-size: 14px;
  color: #ccc;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.article-hero__sep {
  margin: 0 8px;
  color: var(--color-brand);
  opacity: 0.8;
}

.article-hero__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px 0;
  line-height: 1.7;
}

.article-hero__subtitle {
  font-size: 1.1rem;
  color: #e5ddd4;
  font-weight: 400;
  margin: 0;
  line-height: 1.7;
}

.article-body-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.article-content {
  width: 100%;
  padding: 40px 0 60px;
}

.article-intro-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-bottom: 48px;
  align-items: start;
}

.article-intro-text p {
  font-size: 1.08rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.7;
}

.article-intro-card {
  background-color: var(--bg-light);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

.intro-card__icon {
  margin-bottom: 14px;
}

.intro-card__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 14px;
}

.intro-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.intro-card__list li {
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px solid #e8ddd4;
  line-height: 1.7;
}

.intro-card__list li:last-child {
  border-bottom: none;
}

.intro-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand);
  opacity: 0.6;
}

.prose-section {
  margin-bottom: 48px;
}

.prose-section h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0 0 20px 0;
  padding-top: 8px;
  line-height: 1.7;
  border-bottom: 2px solid #e8ddd4;
  padding-bottom: 12px;
}

.prose-section p {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.7;
}

.prose-section p:last-child {
  margin-bottom: 0;
}

.highlight-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: #fdf4ec;
  border-left: 4px solid var(--color-brand);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-block__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-block p {
  font-size: 1rem;
  color: #5a3010;
  margin: 0;
  font-weight: 400;
  line-height: 1.7;
}

.products-grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(146,64,14,0.12);
}

.product-card--featured {
  border-color: var(--color-brand);
  border-width: 2px;
}

.product-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.product-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-card__body {
  padding: 20px 20px 24px;
}

.product-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0 0 4px 0;
  line-height: 1.7;
}

.product-card__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 0 14px 0;
  line-height: 1.7;
}

.product-card__body p {
  font-size: 0.97rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.7;
}

.product-card__specs {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 14px;
}

.spec-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 8px;
  border-right: 1px solid var(--border);
}

.spec-item:first-child {
  padding-left: 0;
}

.spec-item:last-child {
  border-right: none;
}

.spec-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.spec-value {
  font-size: 0.88rem;
  color: var(--color-brand);
  font-weight: 700;
  line-height: 1.7;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 48px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table-caption {
  caption-side: top;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 16px 8px;
  font-weight: 400;
}

.comparison-table thead tr {
  background-color: var(--color-brand);
}

.comparison-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  border: none;
  white-space: nowrap;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s;
}

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

.comparison-table tbody tr:nth-child(even) {
  background-color: var(--bg-light);
}

.comparison-table tbody tr:hover {
  background-color: #fdf0e3;
}

.comparison-table tbody td {
  padding: 13px 16px;
  color: var(--text-dark);
  vertical-align: top;
  font-size: 0.93rem;
  line-height: 1.7;
}

.comparison-table tbody td strong {
  color: var(--color-brand);
  font-weight: 700;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid #ede5dc;
}

.step-item:last-child {
  border-bottom: none;
}

.step-item__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-item__content {
  flex: 1;
}

.step-item__content strong {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.7;
}

.step-item__content p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.metrics-section {
  margin-bottom: 48px;
  background-color: var(--bg-light);
  border-radius: var(--radius-card);
  padding: 36px 32px;
}

.metrics-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0 0 10px 0;
  line-height: 1.7;
}

.metrics-section > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.metric-card {
  background-color: #fff;
  border-radius: var(--radius-card);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid #e8ddd4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.metric-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.metric-circle__val {
  position: absolute;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1;
}

.metric-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.7;
}

.metric-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

.accord-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.accord-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: var(--bg-light);
  border-radius: var(--radius-card);
  padding: 20px;
  border: 1px solid #e8ddd4;
}

.accord-item__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.accord-item__body strong {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-brand);
  margin-bottom: 8px;
  line-height: 1.7;
}

.accord-item__body p {
  font-size: 0.93rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.7;
}

.advice-block {
  background-color: #fdf4ec;
  border-radius: var(--radius-card);
  border: 1px solid #e8ddd4;
  padding: 24px;
  margin: 24px 0;
}

.advice-block__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.advice-block__header strong {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-brand);
  line-height: 1.7;
}

.advice-block__list {
  margin: 0;
  padding-left: 20px;
}

.advice-block__list li {
  font-size: 0.97rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.7;
  padding-left: 4px;
}

.advice-block__list li:last-child {
  margin-bottom: 0;
}

.faq-section {
  margin-bottom: 48px;
}

.faq-section h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0 0 24px 0;
  line-height: 1.7;
  border-bottom: 2px solid #e8ddd4;
  padding-bottom: 12px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  list-style: none;
  line-height: 1.7;
  background-color: var(--bg-light);
  transition: background-color 0.2s;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question:hover {
  background-color: #f0e4d6;
}

.faq-item__question span {
  flex: 1;
}

.faq-item__arrow {
  flex-shrink: 0;
  color: var(--color-brand);
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__arrow {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
}

.faq-item__answer p {
  font-size: 0.97rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.7;
}

.conclusion-block {
  background-color: var(--color-brand);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  margin-bottom: 40px;
}

.conclusion-block h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px 0;
  line-height: 1.7;
}

.conclusion-block p {
  font-size: 1rem;
  color: #f5e6d3;
  margin-bottom: 16px;
  line-height: 1.7;
}

.conclusion-block p:last-of-type {
  margin-bottom: 24px;
}

.conclusion-cta {
  display: inline-block;
  background-color: var(--color-cta);
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background-color 0.2s;
}

.conclusion-cta:hover {
  background-color: #15803d;
}

.article-disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background-color: #f5f5f5;
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 8px;
}

.article-disclaimer svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.article-disclaimer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

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

  .article-intro-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .article-hero__img {
    height: 340px;
  }

  .article-hero__overlay {
    padding: 28px 20px;
  }

  .article-hero__title {
    font-size: 1.55rem;
  }

  .article-hero__subtitle {
    font-size: 1rem;
  }

  .article-body-wrap {
    padding: 0 16px;
  }

  .article-content {
    padding: 28px 0 40px;
  }

  .products-grid-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .metrics-section {
    padding: 24px 16px;
  }

  .accord-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-item {
    gap: 14px;
    padding: 18px 0;
  }

  .conclusion-block {
    padding: 28px 20px;
  }

  .product-card__specs {
    flex-direction: column;
    gap: 10px;
  }

  .spec-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 10px 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .comparison-table {
    font-size: 0.87rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .article-hero__img {
    height: 260px;
  }

  .article-hero__title {
    font-size: 1.25rem;
  }

  .prose-section h2 {
    font-size: 1.3rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .faq-item__question {
    font-size: 0.93rem;
    padding: 14px 16px;
  }

  .conclusion-block h2 {
    font-size: 1.25rem;
  }

  .conclusion-cta {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}

/* ===== TYPOGRAPHY SPACING FIX (APS_ARTICLE_TYPO_REQUIRED_v2) ===== */
/* Defensive guard against universal * { margin: 0 } reset in global.css. */
/* body-scoped via :where() so specificity stays at 0,0,0,1 — beats * but
   loses to any component rule like .tip-box p / .faq-item p. */
body :where(p)              { margin-bottom: 1.1rem; }
body :where(h2)             { margin-top: 2.5rem; margin-bottom: 1rem; }
body :where(h3)             { margin-top: 1.75rem; margin-bottom: 0.75rem; }
body :where(h4)             { margin-top: 1.25rem; margin-bottom: 0.5rem; }
body :where(ul, ol)         { margin-bottom: 1.1rem; padding-left: 1.5rem; }
body :where(li)             { margin-bottom: 0.4rem; }
body :where(blockquote)     { margin: 1.5rem 0; }
