:root {
  --ink: #10231d;
  --ink-soft: #3d514a;
  --paper: #f7f6f0;
  --paper-deep: #ecebe2;
  --white: #ffffff;
  --green: #14764b;
  --green-dark: #0b5133;
  --green-light: #d8f3e5;
  --lime: #c7f36f;
  --amber: #f2b84b;
  --red: #b64c42;
  --line: rgba(16, 35, 29, 0.14);
  --shadow: 0 24px 70px rgba(16, 35, 29, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(199, 243, 111, 0.22), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button,
input,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--amber);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(16, 35, 29, 0.1);
  background: rgba(247, 246, 240, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 1.25rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: -0.3rem;
  color: var(--ink-soft);
  font-size: 0.66rem;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav-links > a:not(.button) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links > a:not(.button):hover {
  color: var(--green-dark);
}

.language-link {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Author styles can otherwise override the browser's native [hidden] rule. */
[hidden] {
  display: none !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 9px 24px rgba(31, 143, 95, 0.2);
  cursor: pointer;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.15;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #073b25;
  box-shadow: 0 13px 28px rgba(31, 143, 95, 0.25);
}

.button.secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

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

.button.light {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.button.light:hover {
  background: var(--lime);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--green);
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 4.5rem;
}

.hero::after {
  position: absolute;
  right: -12rem;
  top: 5rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(31, 143, 95, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(31, 143, 95, 0.045),
    0 0 0 140px rgba(31, 143, 95, 0.035);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 830px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.15rem, 8vw, 6.7rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.hero h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.lead {
  max-width: 720px;
  margin: 0 0 1.8rem;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.microcopy {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.receipt {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.receipt::before,
.receipt::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(135deg, transparent 6px, var(--white) 0) 0 0/12px 12px repeat-x;
  content: "";
}

.receipt::before {
  top: -9px;
}

.receipt::after {
  bottom: -9px;
  transform: rotate(180deg);
}

.receipt-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.receipt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}

.receipt-row strong {
  text-align: right;
}

.receipt-total {
  margin-top: 1.15rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--green-light);
  text-align: center;
  font-weight: 800;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 1.3rem 1rem;
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-item:last-child {
  border-right: 0;
}

.section {
  padding: 6rem 0;
}

.section.compact {
  padding-block: 4rem;
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section.green {
  color: var(--white);
  background: var(--green-dark);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 3rem;
}

.section-heading p {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.dark .section-heading p,
.green .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.dark .eyebrow,
.green .eyebrow {
  color: var(--lime);
}

.dark .eyebrow::before,
.green .eyebrow::before {
  background: var(--lime);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.card strong.number {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 500;
}

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

.dark .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.dark .card strong.number {
  color: var(--lime);
}

.dark .card p {
  color: rgba(255, 255, 255, 0.7);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline::before {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 24px;
  height: 2px;
  background: var(--line);
  content: "";
}

.timeline-step {
  position: relative;
  padding-top: 4.2rem;
}

.timeline-step::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 25px;
  height: 25px;
  border: 8px solid var(--paper);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--line);
  content: "";
}

.timeline-step span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-step p {
  color: var(--ink-soft);
}

.deliverable-list,
.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.deliverable-list li,
.check-list li {
  position: relative;
  padding-left: 2rem;
}

.deliverable-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  content: "✓";
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.3rem;
}

.dark .deliverable-list li::before,
.dark .check-list li::before {
  background: var(--lime);
}

.fit-card {
  height: 100%;
}

.fit-card.no {
  background: rgba(182, 76, 66, 0.07);
}

.fit-card.yes {
  background: rgba(31, 143, 95, 0.08);
}

.plain-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 0;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.calculator-panel,
.result-panel {
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.question legend {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.field small {
  color: var(--ink-soft);
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #6b7c76;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.question {
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}

.question legend {
  margin-bottom: 0.65rem;
}

.options {
  display: grid;
  gap: 0.55rem;
}

.option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.option:hover,
.option:has(input:checked) {
  border-color: var(--green);
  background: var(--green-light);
}

.option input {
  margin-top: 0.35rem;
  accent-color: var(--green);
}

.result-panel {
  position: sticky;
  top: 100px;
  color: var(--white);
  background: var(--ink);
}

.result-panel .eyebrow {
  color: var(--lime);
}

.metric {
  margin: 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.metric span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--lime);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.result-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.result-panel .button {
  width: 100%;
  margin-top: 0.7rem;
}

.result-panel .button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.result-panel .button.secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.score-band {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.privacy-note {
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font-size: 0.76rem;
}

.proof-ledger {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.proof-row {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-row:last-child {
  border-bottom: 0;
}

.proof-row.header {
  color: var(--lime);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.offer-box {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.7rem, 5vw, 3.5rem);
  border-radius: 28px;
  background: var(--lime);
  color: var(--ink);
}

.offer-box h2 {
  margin-bottom: 0.8rem;
}

.price-card {
  padding: 1.4rem;
  border: 1px solid rgba(16, 35, 29, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.price-card strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.price-card small {
  color: var(--ink-soft);
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 1.2rem 0;
  cursor: pointer;
  font-weight: 750;
}

.faq details p {
  max-width: 800px;
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
}

.final-cta {
  padding: 4rem 0;
}

.cta-box {
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 30px;
  background: var(--green-dark);
  color: var(--white);
}

.cta-box p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-box .button.secondary,
.final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.82);
  color: var(--white);
}

.cta-box .button.secondary:hover,
.final-cta .button.secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, 0.7fr);
  gap: 2rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.copy-email {
  padding: 0;
  border: 0;
  border-bottom: 1px dotted currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.45rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--green-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.resource-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 1rem 6rem;
}

.resource-sheet {
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.resource-sheet table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.resource-sheet th,
.resource-sheet td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.resource-sheet th {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.write-line {
  display: block;
  width: 100%;
  min-height: 1.5rem;
  border-bottom: 1px solid var(--ink-soft);
}

.print-only {
  display: none;
}

@media (max-width: 920px) {
  .nav-links > a:not(.button):not(.language-link) {
    display: none;
  }

  .hero-grid,
  .calculator-shell,
  .offer-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .receipt {
    max-width: 560px;
  }

  .grid-4,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    display: none;
  }

  .result-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .nav {
    min-height: 66px;
  }

  .brand small,
  .nav-links .button {
    display: none;
  }

  .nav-links [data-print] {
    display: inline-flex;
    min-height: 40px;
    padding: 0.55rem 0.7rem;
    font-size: 0.72rem;
  }

  .hero {
    padding-block: 3.5rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .section {
    padding-block: 4.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .field-grid,
  .deliverable-list,
  .timeline,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .proof-row.header {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .resource-sheet {
    padding-inline: 1rem;
  }

  .resource-sheet table {
    font-size: 0.85rem;
  }

  .resource-sheet th,
  .resource-sheet td {
    padding: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body {
    background: var(--white);
    color: #000;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .no-print,
  .button {
    display: none !important;
  }

  .print-only {
    display: block;
  }

  .resource-page {
    max-width: none;
    padding: 0;
  }

  .resource-sheet {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  @page {
    size: A4;
    margin: 16mm;
  }
}
