:root {
  color-scheme: light;
  --ink: #171b1c;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --muted: #5a6462;
  --line: #d9d4c9;
  --green: #1f8a70;
  --green-dark: #11624f;
  --clay: #9a3b49;
  --gold: #e0a526;
  --blue: #315c7a;
  --shadow: 0 18px 50px rgba(23, 27, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(217, 212, 201, 0.8);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.hero-facts,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border: 7px solid var(--green);
  border-right-color: var(--gold);
  border-bottom-color: var(--clay);
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 64px) clamp(38px, 6vw, 70px);
}

.hero-copy,
.section-heading,
.split > div {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 820px;
  font-size: clamp(3rem, 12vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border: 1px solid var(--green-dark);
  background: var(--green);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.wide {
  width: 100%;
}

.hero-facts {
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.hero-facts div {
  min-width: 140px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-media {
  width: min(100%, 560px);
  justify-self: end;
}

.hero-media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.band,
.split {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 64px);
}

.band {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.band.muted {
  background: #f0eee6;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.split h2 {
  max-width: 780px;
}

.section-heading p:not(.eyebrow),
.split p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.deliverables article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.metric {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.deliverables p,
.steps p,
.checkout-panel p,
.site-footer {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.checkout-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 36px rgba(23, 27, 28, 0.08);
}

.price {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 850;
  line-height: 1;
}

.fine-print {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.audit-includes {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.audit-includes li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 700;
}

.audit-includes li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "+";
}

.audit-meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.audit-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf6;
}

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

.audit-proof div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.audit-proof strong,
.audit-proof span {
  display: block;
}

.audit-proof strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.audit-proof span {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 170px;
  padding: 24px;
  border-left: 5px solid var(--green);
  background: rgba(255, 255, 255, 0.72);
}

.steps span {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 850;
}

.steps p {
  margin-bottom: 0;
}

.guarantee {
  background: #17201f;
  color: #ffffff;
}

.guarantee .eyebrow {
  color: #e0a526;
}

.guarantee .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  margin: 0;
  padding: 16px 20px 20px;
  color: var(--muted);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer span {
  color: #ffffff;
  font-weight: 800;
}

.site-footer a {
  color: #ffffff;
}

.report-hero {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 64px) clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.report-hero h1 {
  max-width: 920px;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 5vw, 64px);
}

.report-main {
  max-width: 900px;
}

.report-meta {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
  padding: 18px;
  border-left: 5px solid var(--blue);
  background: var(--surface);
}

.report-meta span,
.finding h4 {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.report-meta strong {
  font-size: 1.05rem;
}

.finding {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.finding h4 {
  margin: 18px 0 8px;
}

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

.report-actions {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.scan-hero h1 {
  max-width: 1100px;
}

.scan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 5vw, 64px);
}

.scan-panel {
  display: grid;
  gap: 22px;
  max-width: 920px;
}

.scan-form,
.scan-results {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.scan-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.scan-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.scan-controls input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
}

.scan-controls input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(31, 138, 112, 0.18);
}

.scan-status {
  min-height: 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.scan-status.is-error {
  color: var(--clay);
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.score-row strong {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.95;
}

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

.scan-summary div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.scan-summary span,
.scan-finding span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.scan-summary p {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.finding-list {
  display: grid;
  gap: 12px;
}

.scan-finding {
  padding: 18px;
  border: 1px solid var(--line);
  border-left-width: 5px;
  border-radius: 8px;
  background: #fbfaf6;
}

.scan-finding.good {
  border-left-color: var(--green);
}

.scan-finding.warn {
  border-left-color: var(--gold);
}

.scan-finding.bad {
  border-left-color: var(--clay);
}

.scan-finding h3 {
  margin-bottom: 8px;
}

.scan-finding p {
  margin-bottom: 0;
  color: var(--muted);
}

.scan-next-step {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(31, 138, 112, 0.25);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: rgba(31, 138, 112, 0.08);
  color: var(--green-dark);
  font-weight: 750;
}

.scan-next-step p {
  margin-bottom: 0;
}

.checklist h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.checklist h2:first-child {
  margin-top: 0;
}

.checklist ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding-left: 22px;
}

.checklist li {
  padding-left: 4px;
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .report-layout,
  .scan-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    justify-self: start;
  }

  .deliverables,
  .steps {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .nav-links {
    gap: 10px;
    font-size: 0.88rem;
  }

  .nav-cta {
    white-space: nowrap;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .checkout-panel,
  .deliverables article,
  .steps li {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .scan-controls,
  .scan-summary,
  .score-row,
  .audit-proof {
    grid-template-columns: 1fr;
  }

  .score-row {
    align-items: stretch;
    display: grid;
  }
}
