.article-header {
  margin-bottom: 1.6rem;
}

.article-main section {
  margin-bottom: 1.6rem;
}

.article-main h2 {
  scroll-margin-top: 6rem;
}

.article-main > *:last-child {
  margin-bottom: 0;
}

.article-main p,
.article-main li {
  max-width: 70ch;
}

.takeaway-grid,
.link-grid,
.compare-grid,
.process-grid {
  display: grid;
  gap: 1rem;
}

.takeaway-card,
.link-card,
.compare-card,
.process-step {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.takeaway-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.compare-card {
  border-color: #d5e2ef;
}

.process-step {
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, #7ba9cc 100%);
}

.takeaway-card h3,
.link-card h3,
.compare-card h3,
.process-step h3 {
  margin-bottom: 0.5rem;
}

.takeaway-card p:last-child,
.link-card p:last-child,
.compare-card p:last-child,
.process-step p:last-child {
  margin-bottom: 0;
}

.link-card a {
  text-decoration: none;
  color: var(--text);
}

.article-kicker-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.article-kicker-links a {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.article-kicker-links a:hover {
  text-decoration: none;
}

.image-placeholder {
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fafcff 0%, #f5f8fc 100%);
  color: var(--text-soft);
  font-weight: 700;
}

.article-header-panel {
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(29, 83, 127, 0.08), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-card);
}

.article-jump-nav {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.article-jump-label {
  margin-bottom: 0.65rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.article-jump-links,
.article-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.article-jump-links a,
.article-inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-line);
}

.article-jump-links a:hover,
.article-inline-links a:hover {
  text-decoration: none;
  background: #fff;
}

.article-endcap {
  display: grid;
  gap: 0.85rem;
  background:
    radial-gradient(circle at top right, rgba(29, 83, 127, 0.06), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.summary-box h2,
.note-box h2 {
  margin-bottom: 0.7rem;
}

.summary-box {
  position: relative;
  overflow: hidden;
}

.summary-box::before,
.note-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, #79a4c7 100%);
}

.note-box::before {
  background: linear-gradient(180deg, #d4921b 0%, #edc56c 100%);
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(29, 83, 127, 0.08);
}

.related-list a {
  display: block;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.related-list a:hover {
  text-decoration: none;
}

.aside-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,253,0.98) 100%);
}

.aside-box h2 {
  margin-bottom: 0.8rem;
}

.aside-box ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .takeaway-grid,
  .link-grid,
  .compare-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-header-panel {
    padding: 1.35rem;
  }
}


.price-summary-grid {
  display: grid;
  gap: 1rem;
}

.price-summary-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--shadow-soft);
}

.price-summary-card .price-label {
  display: block;
  margin-bottom: 0.35rem;
}

.price-summary-card .price-value {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.visual-stack {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .price-summary-grid,
  .visual-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.visual-stack + .visual-strip,
.visual-strip + .content-box,
.content-box + .visual-strip {
  margin-top: 1.25rem;
}


/* v37 price readability polish */
.article-main .price-answer-box,
.article-main .summary-box,
.article-main .content-box,
.article-main .table-wrap {
  scroll-margin-top: 6rem;
}

.price-summary-card {
  position: relative;
  overflow: hidden;
}

.price-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(20, 84, 129, 0.88), rgba(20, 84, 129, 0.28));
}

.price-summary-card .price-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.price-summary-card .price-value {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.05;
}

.price-summary-grid {
  margin-top: 1rem;
}

.article-main .table-wrap::before {
  content: "Scroll horizontally on smaller screens";
  display: block;
  padding: 0.7rem 0.95rem 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-faint);
}

@media (min-width: 768px) {
  .article-main .table-wrap::before {
    display: none;
  }
}
