:root {
  color-scheme: light;
  --ink: #101418;
  --muted: #5d6772;
  --line: #dfe5e7;
  --paper: #fffdf7;
  --soft: #f4f6ef;
  --mint: #b7f06b;
  --mint-dark: #486f1b;
  --teal: #11726d;
  --coral: #f06449;
  --gold: #ffc857;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 20, 24, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: clamp(0.95rem, 3.8vw, 1.02rem);
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.section-band,
.article-section {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.section-band {
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: min(760px, calc(100vh - 74px));
  background:
    linear-gradient(135deg, rgba(183, 240, 107, 0.28), transparent 34%),
    linear-gradient(225deg, rgba(240, 100, 73, 0.14), transparent 32%),
    var(--paper);
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 900px;
  font-size: clamp(2.4rem, 5.8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: #2f363d;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.author-note {
  display: grid;
  gap: 4px;
  max-width: 620px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.author-note span {
  font-weight: 850;
}

.author-note small {
  color: var(--muted);
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  margin: 0;
  justify-self: end;
}

.hero-visual img {
  overflow: hidden;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.summary-band,
.impact-band {
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading.compact {
  display: block;
}

.summary-grid,
.plans-grid,
.impact-grid {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card,
.plan-card,
.impact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.summary-card {
  padding: 24px;
}

.summary-card .number {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  font-weight: 900;
}

.summary-card p,
.change-item p,
.plan-card li,
.impact-card li,
.example-strip p,
.checklist p,
.article-copy p,
.note,
.site-footer,
.sources li {
  color: var(--muted);
}

.article-copy {
  max-width: 820px;
  margin: 0 auto;
}

.article-copy p {
  font-size: clamp(1.04rem, 1.55vw, 1.18rem);
}

.article-copy strong {
  color: var(--ink);
}

.change-list {
  max-width: 1060px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.change-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.change-label {
  width: fit-content;
  height: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.plans-section {
  background: var(--paper);
}

.plans-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-card {
  position: relative;
  padding: 18px;
}

.plan-card.highlighted {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.plan-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
}

.price {
  margin-bottom: 14px;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
}

.price span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.plan-card ul,
.impact-card ul,
.sources ul {
  margin: 0;
  padding-left: 18px;
}

.plan-card li + li,
.impact-card li + li {
  margin-top: 8px;
}

.note {
  max-width: 1180px;
  margin: 18px auto 0;
  font-size: 0.95rem;
}

.impact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.impact-card {
  padding: 24px;
}

.impact-card.calm {
  border-top: 6px solid var(--teal);
}

.impact-card.attention {
  border-top: 6px solid var(--coral);
}

.example-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.example-strip div {
  padding: 20px;
  background: var(--white);
}

.example-strip strong {
  display: block;
  margin-bottom: 8px;
}

.quote-panel {
  margin: 32px 0 0;
  padding: 24px;
  border-left: 6px solid var(--mint);
  border-radius: 8px;
  background: #f8faef;
}

.quote-panel p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
}

.checklist-band {
  background: #f7f0e8;
}

.checklist {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 8px;
  background: var(--white);
}

.checklist span {
  color: var(--coral);
  font-size: 1.35rem;
  font-weight: 900;
}

.checklist h3,
.checklist p {
  margin-bottom: 0;
}

.pipe-cta {
  position: relative;
  overflow: hidden;
  padding: 44px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%),
    linear-gradient(145deg, #10100f 0%, #15100d 58%, #26150d 100%);
  color: var(--white);
}

.pipe-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.pipe-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.pipe-logo {
  width: 148px;
  max-width: 56vw;
  height: auto;
  margin: 0 0 22px;
}

.pipe-kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(239, 193, 152, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f6c69d;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.pipe-cta-copy h2 {
  margin-bottom: 16px;
  max-width: 780px;
  color: var(--white);
  font-size: clamp(2.05rem, 10vw, 4.3rem);
  line-height: 0.98;
}

.pipe-cta-copy p {
  max-width: 720px;
  color: #f1dcc8;
  font-size: 1.02rem;
}

.pipe-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.pipe-actions .button,
.pipe-secondary {
  width: 100%;
}

.pipe-actions .button {
  min-height: 52px;
  border-color: #db813e;
  background: #db813e;
  color: var(--white);
}

.pipe-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f1dcc8;
  font-weight: 850;
  text-decoration: none;
}

.pipe-note {
  margin: 14px 0 0;
  color: rgba(241, 220, 200, 0.74);
  font-size: 0.88rem;
}

.pipe-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(239, 193, 152, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(18, 13, 10, 0.86);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

.pipe-preview-header,
.pipe-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pipe-preview-header span,
.pipe-next span {
  color: #f3c9a6;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.pipe-preview-header strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(219, 129, 62, 0.18);
  color: #ffbd88;
  font-size: 0.8rem;
}

.pipe-preview h3 {
  margin: 4px 0 0;
  color: var(--white);
  font-size: 1.55rem;
}

.pipe-preview p {
  margin: 0;
  color: #f1dcc8;
}

.pipe-next {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.pipe-next strong {
  color: var(--white);
  text-align: right;
}

.pipe-tags {
  display: grid;
  gap: 8px;
}

.pipe-tags span {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #f1dcc8;
  font-size: 0.9rem;
}

.takeaway-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.takeaway-list li {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
}

.sources a {
  color: var(--teal);
  font-weight: 750;
}

.sources li + li {
  margin-top: 8px;
}

.site-footer {
  padding: 30px 18px;
  border-top: 1px solid rgba(16, 20, 24, 0.08);
  background: #101418;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-copy {
  display: grid;
  gap: 6px;
}

.footer-copy span {
  color: #ffc857;
  font-weight: 850;
}

.footer-copy strong {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
}

@media (min-width: 760px) {
  .pipe-cta {
    padding: clamp(64px, 8vw, 110px) clamp(28px, 5vw, 72px);
  }

  .pipe-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    align-items: center;
  }

  .pipe-logo {
    width: 190px;
  }

  .pipe-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .pipe-actions .button,
  .pipe-secondary {
    width: auto;
  }

  .pipe-preview {
    padding: 26px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .change-item,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-self: start;
  }

  .summary-grid,
  .plans-grid,
  .impact-grid,
  .example-strip {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    max-width: 680px;
  }

  .plan-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0 16px;
    align-items: start;
  }

  .plan-card img {
    grid-row: span 4;
  }

  .plan-card ul,
  .price {
    grid-column: 2;
  }

  .cta-band .button {
    width: fit-content;
  }

  .pipe-cta-panel .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 4.1rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .change-item {
    gap: 14px;
  }

  .plan-card {
    display: block;
  }

  .plan-card ul,
  .price {
    grid-column: auto;
  }

  .badge {
    position: static;
    width: fit-content;
    margin-bottom: 10px;
  }

  .checklist li {
    grid-template-columns: 1fr;
  }

  .cta-band .button {
    width: 100%;
  }
}
