:root {
  color-scheme: light;
  --bg: #f0f4f1;
  --bg-subtle: #e6ede8;
  --bg-elevated: #ffffff;
  --section-bar: #c9ddd2;
  --highlight: #1a6b45;
  --highlight-hover: #145536;
  --featured-bg: #c5f0a4;
  --text-on-featured: #0d1c16;
  --text: #152620;
  --text-subtle: #3d524a;
  --check: #1a6b45;
  --accent-line: #c5d0c9;
  --shadow-soft: 0 4px 24px rgba(21, 38, 32, 0.08);
  --max-width: 1100px;
}

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

html {
  font-size: 115%;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

.serif {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
}

.demo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--accent-line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.demo-nav a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 1rem;
}

.demo-nav a:hover {
  color: var(--highlight-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-nav .current {
  color: var(--highlight);
  font-weight: 600;
}

.demo-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.lead {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.lead h1 {
  font-size: clamp(1.65rem, 4.25vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lead p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 1rem;
}

.compare {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--accent-line);
  background: var(--bg-elevated);
}

.compare-header {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(72px, 1fr));
  gap: 0;
  text-align: center;
  align-items: end;
}

.compare-header .corner {
  padding: 1rem 1rem 0.75rem;
  background: var(--bg-subtle);
}

.badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 0.35rem;
  min-height: 1rem;
}

.badge:empty {
  visibility: hidden;
}

.plan-name {
  font-size: 1.12rem;
  padding: 0.5rem 0.75rem 1rem;
  background: var(--bg-subtle);
  color: var(--text);
  border-left: 1px solid var(--accent-line);
}

.plan-name.featured {
  background: var(--featured-bg);
  color: var(--text-on-featured);
  border-left: none;
}

.plan-name.featured .badge {
  color: var(--text-on-featured);
  opacity: 0.8;
}

.section-title {
  grid-column: 1 / -1;
  background: var(--section-bar);
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  border-top: 1px solid var(--accent-line);
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(72px, 1fr));
  border-top: 1px solid var(--accent-line);
}

.compare-row .feature {
  padding: 0.85rem 1rem;
  color: var(--text-subtle);
  font-size: 1.02rem;
  align-self: center;
}

.compare-row .cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-left: 1px solid var(--accent-line);
  font-size: 0.96rem;
  color: var(--text-subtle);
}

.compare-row .cell.featured {
  background: rgba(197, 240, 164, 0.42);
}

.mark {
  color: var(--check);
  font-size: 1.1rem;
  line-height: 1;
}

.footnote {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.placeholder-page {
  max-width: 36rem;
  padding: 3rem 0;
}

.placeholder-page h1 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
  color: var(--text);
}

.placeholder-page p {
  color: var(--text-subtle);
  margin: 0 0 1.25rem;
}

.placeholder-page a {
  color: var(--highlight);
  font-weight: 600;
}

.placeholder-page a:hover {
  color: var(--highlight-hover);
}

.callout-page {
  max-width: 40rem;
}

.callout-panel {
  margin-top: 1.75rem;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: 12px;
  border: 1px solid var(--accent-line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.callout-panel h2 {
  margin: 0 0 1rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--highlight);
}

.diff-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.diff-list li {
  margin: 0;
  padding: 0 0 0 1.35rem;
  position: relative;
  color: var(--text-subtle);
  font-size: 0.98rem;
  line-height: 1.5;
}

.diff-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--highlight);
  opacity: 0.85;
}

.diff-list strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.diff-list--headlines-only li {
  padding-left: 0;
}

.diff-list--headlines-only li::before {
  display: none;
}

.diff-list--headlines-only strong {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.page-footer-nav {
  margin-top: 2.5rem;
  font-size: 1.05rem;
}

.page-footer-nav a {
  color: var(--highlight);
  text-decoration: none;
  font-weight: 600;
}

.page-footer-nav a:hover {
  color: var(--highlight-hover);
  text-decoration: underline;
}

/* —— Competitive slide (page 3) — light table —— */
.page-wrap--wide {
  max-width: 1220px;
}

body.page--compete-dark {
  color-scheme: dark;
  background: #070f0d;
  color: #e8f0ec;
}

body.page--compete-dark .demo-nav {
  background: #0a1816;
  border-bottom-color: rgba(197, 240, 164, 0.12);
}

body.page--compete-dark .demo-nav a {
  color: #8aa99e;
}

body.page--compete-dark .demo-nav a:hover {
  color: #c5f0a4;
}

body.page--compete-dark .demo-nav .current {
  color: #c5f0a4;
}

body.page--compete-dark .lead h1 {
  color: #f0f7f4;
}

body.page--compete-dark .lead p {
  color: #9eb8b0;
}

body.page--compete-dark .page-footer-nav a {
  color: #c5f0a4;
}

body.page--compete-dark .page-footer-nav a:hover {
  color: #dff5c8;
}

/* Slide 4 — brutal take */
.brutal-slide {
  max-width: 44rem;
  padding-bottom: 3rem;
}

.brutal-slide__header {
  margin-bottom: 2rem;
}

.brutal-slide__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5f0a4;
}

.brutal-slide__title {
  margin: 0;
  font-size: clamp(1.58rem, 4.35vw, 2.05rem);
  font-weight: 600;
  color: #f0f7f4;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brutal-slide__body p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  line-height: 1.62;
  color: #b0cac2;
}

.brutal-slide__body p:last-child {
  margin-bottom: 0;
}

.brutal-slide__body strong {
  color: #e8f0ec;
  font-weight: 600;
}

.brutal-slide__body em {
  color: #d4e8df;
}

.brutal-thesis {
  margin: 0 0 1.75rem;
  font-size: clamp(1.12rem, 2.6vw, 1.32rem);
  font-weight: 600;
  line-height: 1.45;
  color: #c5f0a4;
}

.brutal-points {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: #b0cac2;
  font-size: 1.08rem;
  line-height: 1.55;
}

.brutal-points:last-child {
  margin-bottom: 0;
}

.brutal-points li {
  margin-bottom: 0.55rem;
}

.brutal-points li:last-child {
  margin-bottom: 0;
}

.brutal-points strong {
  color: #e8f0ec;
}

.brutal-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 240, 164, 0.12);
}

.brutal-section:first-of-type {
  margin-top: 1.75rem;
}

.brutal-section__title {
  margin: 0 0 0.85rem;
  font-size: 1.18rem;
  font-weight: 700;
  color: #f0f7f4;
  line-height: 1.3;
}

.brutal-slide__nav {
  margin-top: 2.5rem;
}

.compete-slide-intro {
  max-width: 44rem;
}

.compete-table-wrap {
  border-radius: 12px;
  border: 1px solid var(--accent-line);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.compete-table {
  --ct-feature: minmax(200px, 1.45fr);
  --ct-cell: minmax(88px, 1fr);
}

.compete-table__head,
.compete-table__row {
  display: grid;
  grid-template-columns: var(--ct-feature) repeat(3, var(--ct-cell));
}

.compete-table__corner {
  padding: 1rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--accent-line);
}

.compete-table__plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0.85rem 0.65rem 1.1rem;
  background: var(--bg-subtle);
  border-left: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
  gap: 0.28rem;
}

.compete-table__plan--grow {
  background: rgba(197, 240, 164, 0.42);
}

.compete-table__plan-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.compete-table__plan--grow .compete-table__plan-name {
  color: var(--text-on-featured);
}

.compete-table__plan-price {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.compete-table__plan--grow .compete-table__plan-price {
  color: var(--text-on-featured);
}

.compete-table__plan-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-subtle);
  line-height: 1.35;
  max-width: 15rem;
}

.compete-table__plan--grow .compete-table__plan-sub {
  color: var(--text-on-featured);
  opacity: 0.85;
}

.compete-table__section {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: inherit;
  padding: 0.6rem 1rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--section-bar);
  border-top: 1px solid var(--accent-line);
}

.compete-table__row {
  border-top: 1px solid var(--accent-line);
}

.compete-table__feature {
  padding: 0.7rem 1rem;
  font-size: 0.98rem;
  color: var(--text-subtle);
  line-height: 1.4;
  align-self: center;
}

.compete-table__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.45rem;
  border-left: 1px solid var(--accent-line);
  text-align: center;
  background: var(--bg-elevated);
}

.compete-table__cell--grow {
  background: rgba(197, 240, 164, 0.28);
}

.mark--dark {
  color: var(--check);
  font-size: 1.12rem;
  line-height: 1;
}

.cell-dash {
  color: #94aaa0;
  font-size: 1.1rem;
  line-height: 1;
}

.cell-note {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  color: #9a7040;
  max-width: 7.5rem;
  hyphens: auto;
}

.compete-legend {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-subtle);
  background: var(--bg-subtle);
  border-top: 1px solid var(--accent-line);
  line-height: 1.5;
}

.compete-legend strong {
  color: var(--text);
}

.compete-footnotes {
  margin: 1.25rem 0 0;
  padding: 0 0.25rem;
  font-size: 0.86rem;
  color: var(--text-subtle);
  line-height: 1.55;
}

.compete-footnotes p {
  margin: 0 0 0.65rem;
}

.compete-footnotes p:last-child {
  margin-bottom: 0;
}

/* —— Slide 5 — Modest proposal (pricing builder) —— */
body.page--proposal {
  background: #efe9df;
  color: var(--text);
}

.page-wrap--proposal {
  max-width: 720px;
}

.proposal-header {
  margin-bottom: 1.75rem;
}

.proposal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
}

.proposal-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.proposal-sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-subtle);
  line-height: 1.5;
}

.proposal-base {
  border: 2px solid var(--highlight);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.5rem;
  background: #faf8f4;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.75rem;
}

.proposal-base__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.proposal-badge {
  display: inline-block;
  margin: 0 0 0.4rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--highlight);
  background: rgba(26, 107, 69, 0.12);
  border-radius: 999px;
}

.proposal-base__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.proposal-base__price {
  margin: 0;
  text-align: right;
}

.proposal-base__amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--highlight);
}

.proposal-base__period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.proposal-base__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
}

@media (max-width: 560px) {
  .proposal-base__grid {
    grid-template-columns: 1fr;
  }
}

.proposal-base__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--highlight);
  line-height: 1.55;
}

.proposal-base__list li {
  margin-bottom: 0.35rem;
}

.proposal-riders-heading {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
}

.proposal-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.4rem;
  padding: 0.15rem 0.4rem 0.15rem 0.32rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #145536 0%, #1a6b45 55%, #2a8f5c 100%);
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  vertical-align: middle;
}

.proposal-new-badge__spark {
  width: 0.65rem;
  height: 0.65rem;
  flex-shrink: 0;
  opacity: 0.95;
}

.proposal-new-badge--compact {
  margin-left: 0.35rem;
  padding: 0.12rem 0.32rem 0.12rem 0.28rem;
  font-size: 0.52rem;
}

.proposal-new-badge--compact .proposal-new-badge__spark {
  width: 0.55rem;
  height: 0.55rem;
}

.proposal-base__li--badge {
  position: relative;
}

.proposal-calc__label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
}

.proposal-riders {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.proposal-rider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: flex-start;
  gap: 0.85rem 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-elevated);
  border-radius: 14px;
  border: 1px solid var(--accent-line);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.proposal-rider:hover {
  border-color: rgba(26, 107, 69, 0.35);
}

.proposal-rider.is-on {
  border-color: var(--highlight);
  box-shadow: 0 0 0 1px rgba(26, 107, 69, 0.2);
}

.proposal-rider:focus-within {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

.proposal-rider__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.proposal-rider__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-subtle);
  line-height: 1.45;
}

.proposal-rider__add {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--highlight);
  white-space: nowrap;
  padding-top: 0.15rem;
}

.proposal-toggle {
  display: inline-block;
  width: 2.75rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #c8cfc9;
  position: relative;
  flex-shrink: 0;
  margin-top: 0.2rem;
  transition: background 0.2s;
}

.proposal-rider.is-on .proposal-toggle {
  background: var(--highlight);
}

.proposal-toggle__knob {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  top: 0.175rem;
  left: 0.2rem;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.proposal-rider.is-on .proposal-toggle__knob {
  transform: translateX(1.15rem);
}

.proposal-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.proposal-calc {
  background: #faf8f4;
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.proposal-calc__rows {
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.proposal-calc__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.98rem;
  color: var(--text);
}

.proposal-calc__row--base {
  font-weight: 600;
}

.proposal-calc__row--addon {
  transition: opacity 0.15s;
}

.proposal-calc__row--off {
  opacity: 0.38;
}

.proposal-calc__total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.proposal-calc__total-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.proposal-calc__mo {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--highlight);
  line-height: 1.1;
}

.proposal-calc__yr {
  font-size: 0.95rem;
  color: var(--text-subtle);
}

.proposal-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 720px) {
  .proposal-compare {
    grid-template-columns: 1fr;
  }
}

.proposal-compare__card {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border-radius: 14px;
  border: 1px solid var(--accent-line);
}

.proposal-compare__card--lettuce {
  border: 2px solid var(--highlight);
  box-shadow: 0 6px 20px rgba(26, 107, 69, 0.12);
}

.proposal-compare__name {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.proposal-compare__name--accent {
  color: var(--highlight);
}

.proposal-compare__price {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.proposal-compare__price--accent {
  color: var(--highlight);
}

.proposal-compare__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .compare,
  .compare-header,
  .compare-row {
    min-width: 560px;
  }

  .compare-scroll,
  .compete-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
  }

  .compete-table {
    min-width: 640px;
  }
}
