:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --paper: #fcfbf8;
  --surface: #efede7;
  --surface-strong: #e7e4dc;
  --text: #111614;
  --muted: #58605c;
  --quiet: #747b77;
  --line: #d8d5cd;
  --line-strong: #b8b7b1;
  --blue: #4b7291;
  --blue-deep: #345a76;
  --orange: #bd5b2a;
  --orange-soft: #f2dfd2;
  --silver: #aeb7bc;
  --max: 1180px;
  --reading: 760px;
  --radius: 18px;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.65rem;
  color: var(--text);
  background: var(--paper);
  font-weight: 750;
  transform: translateY(-180%);
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.proof-banner {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #dfc7b9;
  color: #6f3519;
  background: #f5e9e0;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(216, 213, 205, 0.9);
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner,
.section,
.page-shell,
.footer-inner {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  flex: 0 0 auto;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
}

.site-nav a {
  min-height: 2.75rem;
  padding: 0.62rem 0.78rem;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--blue);
  color: var(--text);
}

.hero {
  display: grid;
  min-height: 44rem;
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.hero-copy {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.35rem, 7.5vw, 6.8rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 4.8vw, 4rem);
}

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

.hero-lead,
.section-lead,
.page-lead {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.15rem;
}

.button-link,
.button-secondary,
.button-muted {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-weight: 760;
  text-decoration: none;
}

.button-link {
  color: #fff;
  background: var(--blue-deep);
}

.button-link:hover {
  background: #26475f;
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

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

.button-muted {
  border-color: var(--line);
  color: var(--quiet);
  background: transparent;
}

.availability-note {
  margin: 1rem 0 0;
  color: var(--quiet);
  font-size: 0.84rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 2.35rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.trust-strip li {
  position: relative;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 670;
}

.trust-strip li + li::before {
  position: absolute;
  left: -0.67rem;
  color: var(--silver);
  content: "·";
}

.product-visual {
  width: min(100%, 20rem);
  margin-inline: auto;
}

.product-screen-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2.2rem;
  background: var(--paper);
  box-shadow: 0 2rem 5rem rgba(55, 49, 41, 0.13);
}

.product-screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.product-screen-crop .product-screen-frame {
  aspect-ratio: 1206 / 2462;
}

.product-screen-crop .product-screen-frame img {
  transform: translateY(-6.1%);
}

.product-visual figcaption,
.product-shot figcaption {
  margin-top: 1rem;
  color: var(--quiet);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.section {
  padding-block: clamp(4.75rem, 8vw, 8rem);
}

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

.section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.card-grid,
.truth-grid,
.price-grid,
.proof-grid {
  display: grid;
  gap: 1.5rem;
}

.step-card,
.card,
.truth-card {
  padding: 1.7rem 0 0;
  border-top: 1px solid var(--line-strong);
}

.step-card p,
.card p,
.truth-card p,
.price-card p,
.price-card li,
.policy-section p,
.policy-section li {
  color: var(--muted);
}

.step-card p:last-child,
.card p:last-child,
.truth-card p:last-child,
.price-card p:last-child,
.policy-section p:last-child {
  margin-bottom: 0;
}

.step-number,
.price-label {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-grid {
  align-items: start;
}

.product-shot {
  width: min(100%, 20rem);
  margin-inline: auto;
}

.product-shot-copy {
  width: min(100%, 20rem);
  margin-inline: auto;
  padding-top: 1rem;
}

.product-shot-copy strong,
.truth-card strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 650;
}

.product-shot-copy strong {
  font-size: 1.32rem;
  line-height: 1.2;
}

.truth-card strong {
  font-size: 1.45rem;
}

.product-shot-copy .accent,
.truth-card.warning strong {
  color: var(--orange);
}

.price-card,
.notice,
.policy-section,
.calc-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.price-card {
  padding: clamp(1.65rem, 3.5vw, 2.4rem);
}

.price-card ul {
  padding-left: 1.2rem;
}

.price-card.featured {
  border-color: #9fb0bc;
  box-shadow: inset 0 3px 0 var(--blue);
}

.price-note {
  margin-top: 1.3rem;
  color: var(--quiet);
  font-size: 0.86rem;
}

.faq-list {
  max-width: 54rem;
}

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

.faq-list details:last-child,
.fold:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary,
.fold > summary {
  padding: 1.45rem 2.5rem 1.45rem 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 650;
  cursor: pointer;
}

.faq-list details p,
.fold > p,
.fold > ul,
.fold > pre,
.fold > h3 {
  max-width: 48rem;
  color: var(--muted);
}

.faq-list details p {
  margin-top: 0;
  padding: 0 0 1.5rem;
}

.fold {
  margin: 0;
  padding: 0;
}

.fold > summary::marker {
  color: var(--orange);
  font-size: 0.85em;
}

.fold[open] > summary {
  margin-bottom: 0.25rem;
}

.fold[open] {
  padding-bottom: 1.5rem;
}

.notice {
  padding: 1.4rem 1.5rem;
  border-color: #dfc7b9;
  color: #673219;
  background: #f8eee7;
}

.notice strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #4f2714;
}

.page-shell {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.page-header {
  max-width: 56rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.page-header h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.policy-stack {
  display: grid;
  width: 100%;
  max-width: var(--reading);
  min-width: 0;
  gap: 1.15rem;
}

.policy-stack > * {
  min-width: 0;
}

.policy-stack > section:not(.policy-section):not(.calc-panel) {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.policy-section,
.calc-panel {
  padding: clamp(1.45rem, 3.5vw, 2.35rem);
}

.policy-section h2,
.policy-stack > section h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.035em;
}

.policy-section h3,
.policy-stack > section h3 {
  margin-top: 1.8rem;
}

.policy-section a,
.policy-stack a {
  color: var(--blue-deep);
  text-underline-offset: 0.18em;
}

.policy-section li + li,
.policy-stack li + li {
  margin-top: 0.5rem;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: #26312c;
  background: var(--surface);
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.calc-form {
  display: grid;
  max-width: 36rem;
  gap: 1.35rem;
}

.calc-field {
  display: grid;
  gap: 0.5rem;
}

.calc-field label,
.calc-field legend {
  color: var(--text);
  font-weight: 690;
}

.calc-field input[type="number"],
.calc-field select {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.55rem;
  color: var(--text);
  background: var(--paper);
}

.calc-field input[type="number"]:focus,
.calc-field select:focus {
  border-color: var(--blue);
}

.calc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.calc-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.calc-radios label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 520;
}

.calc-button {
  min-height: 3.25rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--blue-deep);
  border-radius: 0.65rem;
  color: #fff;
  background: var(--blue-deep);
  font-weight: 740;
  cursor: pointer;
}

.calc-button:hover {
  background: #26475f;
}

.calc-result {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.calc-range {
  margin-bottom: 0.35rem;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 2.55rem);
  font-weight: 650;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

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

.calc-error {
  color: #8c321d;
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 10rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--quiet);
  font-size: 0.83rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 670;
  text-underline-offset: 0.18em;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.72fr);
    align-items: center;
  }

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

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

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

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 20rem));
    justify-content: start;
    column-gap: clamp(2rem, 6vw, 6rem);
  }

  .product-shot,
  .product-shot-copy {
    margin-inline: 0;
  }

  .product-shot-copy strong {
    white-space: nowrap;
  }
}

@media (max-width: 759px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding-block: 1rem;
  }

  .site-header {
    position: relative;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    min-height: 2.4rem;
    padding: 0.48rem 0.62rem 0.48rem 0;
    margin-right: 0.7rem;
  }

  .site-nav .nav-optional {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .product-visual {
    width: min(100%, 20rem);
  }

  .trust-strip li + li::before {
    content: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #353a37;
    --quiet: #4e5450;
    --line: #858883;
    --line-strong: #585c58;
    --blue: #254f6c;
    --blue-deep: #173e59;
    --orange: #8b3c18;
  }
}
