:root {
  --cw-green: #33745a;
  --cw-green-deep: #2a5f47;
  --cw-navy: #0d192a;
  --cw-sage: #e4e7d5;
  --cw-cream: #ffe2b2;
  --cw-coral: #d4907a;
  --cw-paper: #f7f2eb;
  --cw-paper-strong: rgba(255, 255, 255, 0.74);
  --cw-paper-soft: rgba(255, 255, 255, 0.5);
  --cw-border: rgba(13, 25, 42, 0.1);
  --cw-copy: #1a2333;
  --cw-muted: #5f6b7f;
  --cw-shadow: 0 20px 45px rgba(13, 25, 42, 0.08);
  --cw-shadow-soft: 0 10px 24px rgba(13, 25, 42, 0.06);
  --cw-radius: 28px;
  --cw-radius-sm: 18px;
  --cw-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--cw-copy);
  background:
    radial-gradient(circle at top left, rgba(255, 226, 178, 0.58), transparent 32%),
    radial-gradient(circle at top right, rgba(51, 116, 90, 0.12), transparent 28%),
    linear-gradient(180deg, #f6f1e9 0%, #f4efe6 42%, #f8f5ef 100%);
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--cw-max));
  margin: 0 auto;
  padding: 28px 0 120px;
}

.hero {
  display: grid;
  gap: 18px;
  padding: 28px 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(51, 116, 90, 0.18);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--cw-shadow-soft);
  color: var(--cw-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4c9d78, var(--cw-green));
  box-shadow: 0 0 0 4px rgba(51, 116, 90, 0.12);
}

.hero h1,
.subsection-header h2,
.headline-card h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--cw-navy);
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.95;
}

.hero-copy {
  max-width: 60ch;
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  line-height: 1.65;
  color: var(--cw-muted);
}

.hero-proof {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cw-green-deep);
  font-weight: 700;
}

.hero-fact {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--cw-navy);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-pill {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(13, 25, 42, 0.08);
  box-shadow: var(--cw-shadow-soft);
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--cw-navy);
}

.layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  align-items: start;
}

.panel {
  border: 1px solid var(--cw-border);
  border-radius: var(--cw-radius);
  background: linear-gradient(180deg, var(--cw-paper-strong), var(--cw-paper-soft));
  backdrop-filter: blur(18px);
  box-shadow: var(--cw-shadow);
}

.panel-inner,
.results {
  padding: 26px;
}

.section-label {
  margin: 0 0 14px;
  color: var(--cw-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-hero {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.metric-value {
  font-size: clamp(3.4rem, 8vw, 5.2rem);
  line-height: 0.9;
  font-weight: 700;
  color: var(--cw-green);
}

.metric-subtitle {
  font-size: 0.95rem;
  color: var(--cw-muted);
  line-height: 1.6;
}

.field-label-row,
.inline-fields {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.field-label,
.field-label-row strong,
.inline-field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--cw-navy);
}

.field-hint {
  font-size: 0.85rem;
  color: var(--cw-muted);
}

.slider-wrap {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(51, 116, 90, 0.22), rgba(228, 231, 213, 0.9));
  outline: none;
  cursor: pointer;
}

input[type="range"]:focus-visible,
.feature-toggle:focus-visible,
.calc-button:focus-visible,
.primary-cta:focus-visible,
.secondary-cta:focus-visible,
.share-button:focus-visible,
.sticky-cta:focus-visible,
.input-shell:focus-within {
  outline: 3px solid rgba(51, 116, 90, 0.34);
  outline-offset: 3px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4b9470, var(--cw-green));
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(51, 116, 90, 0.2);
}

input[type="range"]::-moz-range-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4b9470, var(--cw-green));
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(51, 116, 90, 0.2);
}

.slider-markers {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--cw-muted);
  font-size: 0.77rem;
}

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

.feature-toggle {
  border: 1px solid rgba(13, 25, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 8px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  box-shadow: 0 10px 18px rgba(13, 25, 42, 0.04);
}

.feature-toggle:hover,
.feature-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(13, 25, 42, 0.08);
}

.feature-toggle.is-active {
  border-color: rgba(51, 116, 90, 0.38);
  background: linear-gradient(180deg, rgba(228, 231, 213, 0.9), rgba(255, 255, 255, 0.9));
}

.feature-toggle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(51, 116, 90, 0.12);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(13, 25, 42, 0.12);
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
}

.feature-toggle.is-active .feature-check {
  color: #fff;
  background: var(--cw-green);
  border-color: transparent;
}

.feature-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cw-navy);
}

.feature-teaser {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--cw-muted);
}

.inline-fields {
  margin-top: 18px;
  flex-wrap: wrap;
}

.inline-field {
  flex: 1 1 220px;
  display: grid;
  gap: 10px;
}

.inline-field.is-hidden {
  display: none;
}

.input-shell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(13, 25, 42, 0.08);
}

.input-shell span {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cw-green);
}

.input-shell input {
  width: 90px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cw-navy);
  outline: none;
}

.live-preview {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 226, 178, 0.4), transparent 42%),
    linear-gradient(180deg, rgba(13, 25, 42, 0.98), rgba(35, 59, 47, 0.96));
  color: #fff;
  display: grid;
  gap: 6px;
}

.live-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.live-primary {
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 0.96;
}

.live-secondary,
.micro-note {
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.formula-line {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.formula-chip,
.formula-total {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 25, 42, 0.08);
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--cw-muted);
}

.formula-total {
  color: var(--cw-green-deep);
  font-weight: 700;
}

.micro-note {
  margin: 12px 0 0;
  color: var(--cw-muted);
}

.action-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.calc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #448968, var(--cw-green));
  box-shadow: 0 18px 30px rgba(51, 116, 90, 0.18);
}

.action-hint {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--cw-muted);
}

.quick-cta {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(13, 25, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--cw-shadow-soft);
  display: grid;
  gap: 14px;
}

.quick-cta strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
  color: var(--cw-navy);
}

.quick-cta p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cw-muted);
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--cw-green-deep);
  background: rgba(228, 231, 213, 0.92);
  border: 1px solid rgba(51, 116, 90, 0.16);
}

.secondary-cta.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.insight-stack {
  display: grid;
  gap: 14px;
}

.note-panel,
.note-list {
  display: grid;
  gap: 14px;
}

.note-row {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(13, 25, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--cw-shadow-soft);
}

.note-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.97rem;
  color: var(--cw-navy);
}

.note-row--lead {
  background: linear-gradient(180deg, rgba(228, 231, 213, 0.92), rgba(255, 255, 255, 0.86));
  border-color: rgba(51, 116, 90, 0.16);
}

.note-row p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--cw-muted);
}

.compact-quote {
  margin-top: 2px;
}

.insight-card,
.trust-card,
.quote-card,
.compare-card,
.assumption-card,
.method-card,
.cta-panel {
  border-radius: 22px;
  border: 1px solid rgba(13, 25, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
  padding: 20px;
  box-shadow: var(--cw-shadow-soft);
}

.insight-card h2,
.quote-card h2,
.subsection-header h2,
.compare-card h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.insight-card p,
.quote-card p,
.trust-card p,
.method-card p,
.compare-card p,
.compare-card li,
.assumption-card li,
.breakdown-copy,
.cta-panel p,
.share-help {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--cw-muted);
}

.trust-card {
  background: linear-gradient(180deg, rgba(228, 231, 213, 0.88), rgba(255, 255, 255, 0.9));
  border-top: 4px solid rgba(51, 116, 90, 0.28);
}

.quote-card {
  background: rgba(255, 255, 255, 0.64);
  border-left: 4px solid rgba(51, 116, 90, 0.3);
  box-shadow: none;
}

.method-card {
  background: linear-gradient(180deg, rgba(13, 25, 42, 0.96), rgba(34, 55, 47, 0.96));
  border-color: rgba(13, 25, 42, 0.3);
  box-shadow: 0 18px 32px rgba(13, 25, 42, 0.12);
}

.method-card p,
.method-card li {
  color: rgba(255, 255, 255, 0.82);
}

.assumption-card {
  background: rgba(255, 255, 255, 0.92);
}

.insight-card ul,
.compare-card ul,
.assumption-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.results {
  margin-top: 20px;
}

.results.is-hidden {
  display: none;
}

.summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.summary-card {
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 25, 42, 0.08);
  box-shadow: var(--cw-shadow-soft);
}

.summary-card--wide {
  grid-column: span 3;
  background: linear-gradient(180deg, rgba(228, 231, 213, 0.9), rgba(255, 255, 255, 0.84));
}

.summary-number {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--cw-green);
}

.summary-number.is-money {
  color: var(--cw-navy);
}

.summary-label {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cw-muted);
}

.headline-card {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 226, 178, 0.5), transparent 34%),
    linear-gradient(180deg, rgba(228, 231, 213, 0.84), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(51, 116, 90, 0.16);
}

.headline-kicker {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  font-family: "Fraunces", serif;
  color: var(--cw-green-deep);
}

.headline-copy {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cw-muted);
}

.proof-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.story-rail,
.proof-rail,
.fast-list {
  display: grid;
  gap: 12px;
}

.story-step,
.proof-step,
.fast-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(13, 25, 42, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--cw-shadow-soft);
}

.story-step {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
}

.story-index {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(51, 116, 90, 0.14);
  color: var(--cw-green);
  font-weight: 700;
}

.story-step strong,
.proof-step strong,
.fast-item strong {
  display: block;
  font-size: 0.96rem;
  color: var(--cw-navy);
}

.story-step p,
.proof-step p,
.fast-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cw-muted);
}

.proof-step {
  position: relative;
  padding-left: 22px;
}

.proof-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cw-green), rgba(255, 226, 178, 0.9));
}

.proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(51, 116, 90, 0.1);
  color: var(--cw-green-deep);
  font-size: 0.76rem;
  font-weight: 700;
}

.fast-item {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
}

.fast-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4b9470, var(--cw-green));
  box-shadow: 0 0 0 4px rgba(51, 116, 90, 0.12);
}

.trust-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.8rem;
  font-family: "Fraunces", serif;
  color: var(--cw-green);
}

.subsection-header {
  display: grid;
  gap: 8px;
  margin: 8px 0 16px;
}

.subsection-header--tight {
  margin-top: 6px;
}

.subsection-header p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--cw-muted);
}

.assumption-list,
.breakdown-grid,
.testimonial-grid {
  display: grid;
  gap: 14px;
}

.assumption-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.assumption-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: var(--cw-navy);
}

.breakdown-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.breakdown-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(13, 25, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--cw-shadow-soft);
}

.breakdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.breakdown-title {
  display: grid;
  gap: 5px;
}

.breakdown-title strong {
  font-size: 1rem;
  color: var(--cw-navy);
}

.breakdown-save {
  font-size: 0.87rem;
  color: var(--cw-green);
  font-weight: 700;
}

.timeline-row {
  display: grid;
  gap: 8px;
}

.timeline-row span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cw-muted);
}

.timeline-bar-shell {
  overflow: hidden;
  height: 34px;
  border-radius: 999px;
  background: rgba(13, 25, 42, 0.06);
}

.timeline-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.timeline-bar.is-before {
  width: 100%;
  background: linear-gradient(90deg, rgba(212, 216, 196, 0.98), rgba(200, 204, 184, 0.98));
  color: #556050;
}

.timeline-bar.is-after {
  background: linear-gradient(90deg, rgba(228, 231, 213, 0.92), rgba(188, 211, 198, 0.98));
  color: var(--cw-green-deep);
}

.breakdown-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cw-green);
  text-decoration: none;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.quote-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cw-navy);
}

.quote-card cite {
  display: block;
  margin-top: 12px;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
  color: var(--cw-green);
}

.cta-panel {
  display: grid;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at top right, rgba(255, 226, 178, 0.45), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(228, 231, 213, 0.88));
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.primary-cta,
.sticky-cta,
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.primary-cta {
  padding: 16px 24px;
  background: linear-gradient(180deg, #448968, var(--cw-green));
  color: #fff;
  box-shadow: 0 18px 30px rgba(51, 116, 90, 0.18);
}

.share-wrap {
  display: grid;
  gap: 8px;
}

.share-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.share-input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(13, 25, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
  color: var(--cw-muted);
  font-size: 0.92rem;
}

.share-button {
  padding: 14px 18px;
  background: rgba(13, 25, 42, 0.9);
  color: #fff;
}

.share-button.is-copied {
  background: var(--cw-green);
}

.footer {
  padding-top: 18px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--cw-muted);
}

.sticky-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(13, 25, 42, 0.96), rgba(29, 50, 41, 0.96));
  color: #fff;
  box-shadow: 0 18px 34px rgba(13, 25, 42, 0.22);
  z-index: 20;
}

.sticky-cta small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
}

.sticky-copy {
  display: grid;
  gap: 4px;
}

.sticky-copy span {
  font-weight: 700;
}

.sticky-cta-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.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;
}

.theme-story .hero h1 span,
.theme-compare .hero h1 span {
  color: var(--cw-green);
}

.theme-proof .hero h1 span {
  color: var(--cw-coral);
}

.theme-fast .hero h1 span {
  color: var(--cw-green-deep);
}

.theme-fast .hero {
  gap: 12px;
  padding-bottom: 12px;
}

.theme-compare .compare-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(228, 231, 213, 0.84));
}

.compare-table {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.compare-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.compare-row strong {
  display: flex;
  align-items: center;
  color: var(--cw-navy);
  font-size: 0.92rem;
}

.compare-cell {
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  background: rgba(13, 25, 42, 0.04);
  color: var(--cw-muted);
}

.compare-cell.is-good {
  background: rgba(51, 116, 90, 0.1);
  color: var(--cw-green-deep);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .layout,
  .proof-grid,
  .testimonial-grid,
  .breakdown-grid,
  .assumption-list {
    grid-template-columns: 1fr;
  }

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

  .summary-card--wide {
    grid-column: span 2;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--cw-max));
    padding-top: 18px;
  }

  .hero {
    gap: 14px;
    padding-bottom: 18px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .panel-inner,
  .results {
    padding: 20px;
  }

  .feature-grid,
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .share-row,
  .compare-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .share-button {
    width: 100%;
  }

  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 16px), var(--cw-max));
  }

  .feature-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-card--wide {
    grid-column: span 1;
  }

  .hero-copy,
  .hero-fact,
  .hero-pill,
  .feature-teaser,
  .metric-subtitle,
  .micro-note,
  .insight-card p,
  .quote-card p,
  .trust-card p,
  .method-card p,
  .compare-card p,
  .compare-card li,
  .assumption-card li,
  .breakdown-copy,
  .cta-panel p {
    font-size: 0.92rem;
  }

  .feature-toggle,
  .summary-card,
  .breakdown-card,
  .trust-card,
  .quote-card,
  .compare-card,
  .assumption-card,
  .method-card,
  .cta-panel {
    border-radius: 20px;
  }

  .sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px 16px;
  }

  .formula-chip,
  .formula-total {
    font-size: 0.82rem;
  }
}
