:root {
  color-scheme: light;
  --bg: #f6f8f5;
  --paper: #ffffff;
  --ink: #15241f;
  --muted: #5f6f68;
  --line: #dce5df;
  --teal: #0f766e;
  --blue: #2563eb;
  --coral: #c95c32;
  --gold: #b47a18;
  --soft-teal: #e8f5f2;
  --soft-blue: #eef4ff;
  --soft-coral: #fff0e8;
  --soft-gold: #fff6dc;
  --shadow: 0 20px 60px rgba(21, 36, 31, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 8px 12px;
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.decision-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(220, 229, 223, 0.8);
  background: rgba(246, 248, 245, 0.94);
  padding: 16px clamp(18px, 5vw, 72px);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--teal), var(--blue) 64%, var(--coral));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.decision-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

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

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

.decision-page main {
  overflow: hidden;
}

.page-shell {
  width: min(1140px, calc(100% - 36px));
  margin-inline: auto;
}

.decision-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: min(720px, calc(100vh - 70px));
  padding-block: clamp(54px, 8vw, 92px) clamp(42px, 7vw, 78px);
}

.decision-hero > *,
.section-heading > *,
.split-grid > *,
.decision-tree > *,
.grid-3 > *,
.source-row > *,
.matrix-notes > *,
.answer-strip > *,
.workflow-steps > * {
  min-width: 0;
}

.hero-copy {
  max-width: 700px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 6vw, 5rem);
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 18px;
  max-width: 760px;
  color: #42524b;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  overflow-wrap: break-word;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 11px 16px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(21, 36, 31, 0.06);
}

.button.primary {
  border-color: #0b5e58;
  background: var(--teal);
  color: #ffffff;
}

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

.hero-media,
.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-media img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.91rem;
}

.caption-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.answer-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.answer-strip article {
  min-height: 132px;
  background: var(--paper);
  padding: 20px;
}

.answer-strip span,
.metric-label,
.table-kicker,
.step-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.answer-strip strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.answer-strip p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding-block: clamp(50px, 8vw, 92px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.45fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
  margin-bottom: 26px;
}

.section-heading p {
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 20px;
}

.panel,
.card,
.source-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.panel {
  padding: clamp(22px, 4vw, 34px);
}

.panel > * + *,
.card > * + *,
.source-panel > * + * {
  margin-top: 12px;
}

.muted {
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
}

.card.accent-teal {
  background: var(--soft-teal);
}

.card.accent-blue {
  background: var(--soft-blue);
}

.card.accent-coral {
  background: var(--soft-coral);
}

.card.accent-gold {
  background: var(--soft-gold);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #394a43;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--soft-teal);
}

.review-table,
.compare-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 17px 18px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0f5f2;
  color: #26362f;
  font-size: 0.86rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  font-weight: 800;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.step {
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(21, 36, 31, 0.06);
}

.step:nth-child(2) {
  border-color: var(--blue);
}

.step:nth-child(3) {
  border-color: var(--coral);
}

.step:nth-child(4) {
  border-color: var(--gold);
}

.step:nth-child(5) {
  border-color: var(--teal);
}

.source-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.source-panel {
  padding: 20px;
}

.source-panel a {
  color: var(--blue);
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list details p {
  margin-top: 10px;
  color: var(--muted);
}

.decision-tree {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.choice-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choice-list li {
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--paper);
  padding: 15px 16px;
}

.choice-list li:nth-child(2) {
  border-color: var(--blue);
}

.choice-list li:nth-child(3) {
  border-color: var(--coral);
}

.choice-list li:nth-child(4) {
  border-color: var(--gold);
}

.choice-list strong {
  display: block;
}

.choice-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.matrix-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cta-band {
  border: 1px solid #b7cbc4;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 245, 242, 0.95), rgba(238, 244, 255, 0.95));
  padding: clamp(26px, 5vw, 46px);
}

.cta-band .lead {
  max-width: 800px;
}

.decision-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .decision-hero,
  .section-heading,
  .split-grid,
  .decision-tree {
    grid-template-columns: 1fr;
  }

  .answer-strip,
  .grid-3,
  .source-row,
  .workflow-steps,
  .matrix-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .decision-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .decision-hero {
    min-height: auto;
    padding-block: 42px 48px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .answer-strip,
  .grid-3,
  .source-row,
  .workflow-steps,
  .matrix-notes {
    grid-template-columns: 1fr;
  }

  .caption-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.5vw, 2.25rem);
    line-height: 1.08;
    text-wrap: wrap;
  }

  .hero-copy,
  .lead {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: 9.4em;
  }
}
