:root {
  --article-bg: #f7f8fb;
  --article-surface: #ffffff;
  --article-text: #17171b;
  --article-muted: #62636b;
  --article-border: #e3e5eb;
  --article-accent: #6000ff;
  --article-accent-strong: #4d00cc;
  --article-warm: #f5363d;
  --article-highlight: #fff6b8;
  --article-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  --article-content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--article-bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--article-text);
  background: var(--article-bg);
  font-family: var(--article-font);
  font-size: 18px;
  line-height: 1.72;
}

a {
  color: inherit;
}

.article-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 42px 20px 64px;
}

.article-hero {
  padding: 34px 0 28px;
}

.article-hero h1 {
  width: min(100%, var(--article-content-width));
  margin: 0 auto;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
}

.article-body {
  padding: 34px 0 0;
}

.article-copy {
  width: min(100%, var(--article-content-width));
  margin: 0 auto 30.36px;
}

.article-copy p,
.article-copy li,
.article-copy blockquote,
.article-copy h2,
.article-copy h3,
.article-copy h4,
.article-price-list__title,
.article-price-list__meta,
.article-heading h2,
.article-heading h3,
.article-heading h4,
.article-heading p {
  overflow-wrap: anywhere;
}

.article-copy p {
  margin: 0 0 16.56px;
}

.article-copy p:last-child {
  margin-bottom: 0;
}

.article-copy > br {
  display: none;
}

.article-copy h2,
.article-heading h2 {
  margin: 38px 0 18px;
  font-size: 34px;
  line-height: 1.2;
}

.article-copy h3,
.article-heading h3 {
  margin: 32px 0 16px;
  font-size: 27px;
  line-height: 1.24;
}

.article-copy h4,
.article-heading h4 {
  margin: 26px 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.article-heading {
  width: 100vw;
  margin: 42px calc(50% - 50vw);
  padding: 36px 20px;
  color: #ffffff;
  background: var(--article-accent);
  text-align: center;
}

.article-heading p,
.article-heading h2,
.article-heading h3,
.article-heading h4 {
  width: min(100%, var(--article-content-width));
  margin: 0 auto;
  color: inherit;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.article-copy blockquote {
  margin: 28px 0;
  border-left: 5px solid var(--article-accent);
  padding: 18px 24px;
  color: #24242a;
  background: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.article-price-list {
  width: min(100%, var(--article-content-width));
  margin: 18px auto 44px;
  border-left: 6px solid rgba(96, 0, 255, 0.34);
  padding: 18px 0 18px 38px;
}

.article-price-list__item {
  margin: 0 0 34px;
}

.article-price-list__item:last-child {
  margin-bottom: 0;
}

.article-price-list__title,
.article-price-list__meta {
  margin: 0;
  color: var(--article-text);
  font-weight: 400;
}

.article-price-list__title {
  margin-bottom: 4px;
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
}

.article-price-list__meta {
  font-size: inherit;
  line-height: inherit;
}

.article-copy ul,
.article-copy ol {
  margin: 18px 0 24px;
  padding-left: 26px;
}

.article-copy strong {
  font-weight: 800;
}

.article-copy em {
  color: #33333a;
}

.article-highlight {
  padding: 0 3px;
  background: var(--article-highlight);
}

.article-media {
  width: min(100%, var(--article-content-width));
  margin: 30px auto 36px;
}

.article-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--article-border);
  border-radius: 0;
  background: var(--article-surface);
}

.article-media:has(img[src^="/assets/moneydick/part-3-04.webp"]) {
  width: min(35%, var(--article-content-width));
}

.article-media:has(img[src^="/assets/moneydick/part-3-04.webp"]) img {
  border: 0;
  background: transparent;
}

.article-media figcaption {
  margin-top: 10px;
  color: var(--article-muted);
  font-size: 14px;
  text-align: center;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, var(--article-content-width));
  margin: 34px auto;
}

.article-media--gallery {
  width: 100%;
  margin: 0;
}

.article-carousel {
  position: relative;
  width: min(100%, var(--article-content-width));
  margin: 30px auto 48px;
  padding: 0 54px;
}

.article-carousel__viewport {
  overflow: hidden;
  overflow: clip;
  width: 100%;
  min-height: 360px;
  max-height: 620px;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.article-carousel__container {
  position: relative;
  height: 100%;
}

.article-carousel__slide {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.article-carousel__slide:not(.is-active) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.article-carousel__slide.is-active {
  visibility: visible;
  opacity: 1;
}

.article-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center center;
  user-select: none;
}

.article-carousel__control {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(18, 24, 38, 0.14);
  border-radius: 999px;
  color: rgba(20, 24, 32, 0.74);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(18, 24, 38, 0.08);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.article-carousel__control:hover {
  border-color: rgba(18, 24, 38, 0.24);
  color: rgba(20, 24, 32, 0.94);
  box-shadow: 0 10px 26px rgba(18, 24, 38, 0.12);
  transform: translateY(-50%) scale(1.03);
}

.article-carousel__icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.article-carousel__control:focus-visible,
.article-carousel__dot:focus-visible {
  outline: 3px solid rgba(18, 24, 38, 0.14);
  outline-offset: 3px;
}

.article-carousel:focus-visible {
  outline: 3px solid rgba(18, 24, 38, 0.12);
  outline-offset: 8px;
}

.article-carousel__control--prev {
  left: 6px;
}

.article-carousel__control--next {
  right: 6px;
}

.article-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
  margin-top: 18px;
}

.article-carousel__dot {
  position: relative;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.article-carousel__dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(18, 24, 38, 0.22);
  content: "";
  transform: translate(-50%, -50%);
  transition: background-color 0.16s ease, width 0.16s ease;
}

.article-carousel__dot.is-active::before {
  width: 14px;
  background: rgba(18, 24, 38, 0.72);
}

.tripwire-offer {
  width: min(100%, 580px);
  margin: 52px auto 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.tripwire-offer__eyebrow,
.tripwire-offer__note {
  margin: 0 auto 24px;
  color: var(--article-muted);
  text-align: center;
}

.tripwire-offer__note {
  max-width: 620px;
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
}

.tripwire-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: min(100%, 580px);
  margin-inline: auto;
}

.tripwire-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 2px solid var(--article-border);
  border-radius: 8px;
  padding: 24px 20px;
  background: #ffffff;
}

.tripwire-card--featured {
  border-color: var(--article-accent);
}

.tripwire-card__header {
  min-height: 49px;
  text-align: center;
}

.tripwire-card__header h2,
.tripwire-card__header p {
  margin: 0;
}

.tripwire-card__features {
  display: grid;
  gap: 13px;
  flex: 1 1 auto;
  margin-top: 16px;
}

.tripwire-card__price h4 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.35;
}

.tripwire-card__feature {
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  line-height: 1.35;
}

.tripwire-card__feature-icon {
  display: inline-flex;
  width: 13px;
  height: 13px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  margin-top: 4px;
}

.tripwire-card__feature--included .tripwire-card__feature-icon {
  color: #ffffff;
  background: var(--article-accent);
}

.tripwire-card__feature--excluded {
  color: var(--article-muted);
}

.tripwire-card__feature--excluded .tripwire-card__feature-icon {
  border: 1px solid var(--article-border);
  color: var(--article-muted);
  background: #f7f7f9;
}

.tripwire-card__feature--excluded .tripwire-card__feature-label {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(18, 18, 22, 0.32);
}

.tripwire-card__feature-copy {
  min-width: 0;
}

.tripwire-card__price {
  margin-top: 20px;
  text-align: center;
}

.tripwire-card__price .tripwire-card__price-value {
  font-size: 19px;
  white-space: nowrap;
}

.article-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  color: #ffffff;
  background: var(--article-accent);
  font: 800 16px/1.2 var(--article-font);
  text-decoration: none;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.article-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .article-button::after {
    animation: article-button-shine 4s ease-in-out infinite;
  }
}

@keyframes article-button-shine {
  0% {
    left: -75%;
  }
  25% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

.article-button:hover {
  background: var(--article-accent-strong);
  transform: translateY(-1px);
}

.article-button:focus-visible {
  outline: 3px solid rgba(96, 0, 255, 0.24);
  outline-offset: 4px;
}

.tripwire-card__button {
  width: 100%;
  margin-top: 20px;
}

.tripwire-card__button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.56;
}

.tripwire-offer__status {
  width: min(100%, 580px);
  margin: 20px auto 0;
  text-align: center;
}

.tripwire-offer__status p {
  margin: 0 0 12px;
  color: #8f1d1d;
}

.article-button--secondary {
  min-height: 44px;
  background: #32323a;
}

.article-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--article-content-width));
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--article-border);
}

.article-nav > .article-button {
  margin-inline: auto;
}

@media (max-width: 860px) {
  body {
    font-size: 17px;
  }

  .article-shell {
    padding-top: 30px;
  }

  .article-hero h1 {
    font-size: 36px;
  }

  .article-heading p,
  .article-heading h2,
  .article-heading h3,
  .article-heading h4 {
    font-size: 22px;
  }

  .tripwire-grid,
  .article-gallery {
    grid-template-columns: 1fr;
  }

  .article-carousel {
    padding: 0 48px;
  }

  .article-carousel__viewport {
    min-height: 330px;
    max-height: 580px;
  }

  .tripwire-card__header {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
    line-height: 1.66;
  }

  .article-shell {
    padding: 22px 16px 48px;
  }

  .article-hero {
    padding-top: 20px;
  }

  .article-hero h1 {
    font-size: 30px;
  }

  .article-copy,
  .article-heading {
    margin-bottom: 22px;
  }

  .article-copy blockquote {
    padding: 16px 18px;
    font-size: 17px;
  }

  .article-copy h2,
  .article-heading h2 {
    font-size: 28px;
  }

  .article-copy h3,
  .article-heading h3 {
    font-size: 23px;
  }

  .article-copy ul,
  .article-copy ol {
    padding-left: 22px;
  }

  .article-media:has(img[src^="/assets/moneydick/part-3-04.webp"]) {
    width: min(70%, 260px);
  }

  .article-price-list {
    margin: 14px auto 34px;
    border-left-width: 5px;
    padding: 14px 0 14px 22px;
  }

  .article-price-list__item {
    margin-bottom: 26px;
  }

  .article-heading {
    padding: 20px 18px;
  }

  .tripwire-offer {
    padding: 0;
  }

  .article-carousel {
    margin: 22px auto 34px;
    padding: 0;
  }

  .article-carousel__viewport {
    min-height: 320px;
    max-height: 520px;
    aspect-ratio: 3 / 4;
  }

  .article-carousel__control {
    top: auto;
    bottom: -2px;
    width: 44px;
    height: 44px;
    transform: none;
  }

  .article-carousel__control:hover {
    transform: scale(1.04);
  }

  .article-carousel__control--prev {
    left: 0;
  }

  .article-carousel__control--next {
    right: 0;
  }

  .article-carousel__dots {
    min-height: 44px;
    align-items: center;
    padding: 0 54px;
  }

  .article-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .article-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .article-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .article-heading p,
  .article-heading h2,
  .article-heading h3,
  .article-heading h4 {
    font-size: 18px;
  }

  .article-carousel__viewport {
    min-height: 300px;
  }
}
