:root {
  color-scheme: light dark;
  --bg: #fbfaf3;
  --surface: #f4f3ea;
  --surface-strong: #eee7d4;
  --text: #1a1c16;
  --muted: #565d52;
  --primary: #1e6b47;
  --primary-text: #ffffff;
  --gold: #8a6d14;
  --border: #d9d8cc;
  --header-bg: rgba(251, 250, 243, 0.94);
  --shadow: 0 18px 50px rgba(31, 42, 34, 0.09);
  --content: 800px;
  --header-height: 68px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--primary); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
}

.site-nav {
  min-height: var(--header-height);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.nav-links a { color: var(--muted); font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: var(--primary); }

main, footer { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
section { padding: 88px 0; scroll-margin-top: calc(var(--header-height) + 20px); border-bottom: 1px solid var(--border); }
.hero { min-height: calc(88vh - var(--header-height)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-bottom: 0; }
.hero-logo { border-radius: 28px; box-shadow: var(--shadow); margin-bottom: 28px; }
.eyebrow, .section-label { color: var(--gold); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { font-family: Iowan Old Style, Baskerville, "Times New Roman", serif; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(3rem, 8vw, 6.3rem); letter-spacing: -0.055em; }
h2 { margin: 8px 0 26px; font-size: clamp(2.15rem, 5vw, 3.8rem); letter-spacing: -0.035em; }
h3 { margin: 0 0 8px; font-size: 1.35rem; }
p, li { max-width: 70ch; }
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { min-height: 48px; padding: 11px 18px; display: inline-flex; align-items: center; border: 2px solid var(--primary); border-radius: 8px; font-weight: 800; text-decoration: none; }
.button.primary { background: var(--primary); color: var(--primary-text); }
.button.secondary { color: var(--primary); }

.transformation { width: min(900px, calc(100vw - 32px)); margin: 38px 50% 38px 0; transform: translateX(calc((var(--content) - min(900px, calc(100vw - 32px))) / 2)); padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.transformation .transformation-label { margin: 0 0 8px; color: var(--gold); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
blockquote { margin: 0; color: var(--muted); font-style: italic; }
.arrow { display: block; padding: 16px 0; color: var(--primary); font-size: 1.8rem; text-align: center; }
.clean-notification { padding: 18px; border-left: 4px solid var(--primary); border-radius: 7px; background: var(--bg); }
.clean-notification p { margin: 0; }
.copy-chip { float: right; padding: 2px 10px; border-radius: 999px; background: var(--primary); color: var(--primary-text); font-size: 0.78rem; font-weight: 800; }

.assurances { padding: 0; list-style: none; display: grid; gap: 12px; }
.assurances li { padding: 18px 20px; border-left: 3px solid var(--primary); background: var(--surface); }
.statement { margin-top: 32px; padding-right: clamp(20px, 7vw, 80px); padding-left: clamp(20px, 7vw, 80px); border: 1px solid var(--border); border-radius: 16px; background: var(--surface-strong); }
pre { max-width: 100%; overflow-x: auto; padding: 18px 20px; border: 1px solid var(--border); border-radius: 9px; background: #20251f; color: #eff6ed; font-size: 0.82rem; line-height: 1.5; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.steps { padding-left: 1.4rem; }
.steps > li { margin: 32px 0; padding-left: 10px; }
footer { padding: 48px 0 64px; color: var(--muted); font-size: 0.84rem; }
footer p { margin: 6px 0; }

@media (max-width: 839px) {
  .transformation { width: 100%; transform: none; margin-right: 0; }
}

@media (max-width: 700px) {
  :root { --header-height: 62px; font-size: 16px; }
  .site-nav { overflow-x: auto; justify-content: flex-start; padding: 0 16px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .brand { position: sticky; left: 0; z-index: 1; padding-right: 14px; background: var(--header-bg); }
  .nav-links { gap: 18px; }
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
  main, footer { width: min(calc(100% - 32px), var(--content)); }
  section { padding: 64px 0; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero-logo { width: 96px; height: 96px; border-radius: 22px; }
  h1 { font-size: clamp(3rem, 17vw, 4.6rem); }
  .transformation { transform: none; margin-right: 0; padding: 20px; }
  .copy-chip { float: none; display: inline-block; margin-left: 5px; }
  .statement { margin-right: -8px; margin-left: -8px; }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12140f;
    --surface: #1e211a;
    --surface-strong: #29291c;
    --text: #e3e3d9;
    --muted: #c1c9be;
    --primary: #8fdbb0;
    --primary-text: #003920;
    --gold: #d8b84a;
    --border: #414941;
    --header-bg: rgba(18, 20, 15, 0.94);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }
  pre { background: #090b08; color: #eff6ed; }
}
