:root {
  --ink: #17201c;
  --muted: #5d6962;
  --paper: #fbfbf7;
  --band: #eef4ef;
  --line: #d8ded8;
  --green: #176b4d;
  --green-dark: #0c4331;
  --gold: #b57925;
  --blue: #1f5d7a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 251, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  min-height: calc(100vh - 65px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(48px, 7vw, 84px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(251, 251, 247, 0.98) 0%, rgba(251, 251, 247, 0.9) 48%, rgba(238, 244, 239, 0.84) 100%),
    repeating-linear-gradient(90deg, rgba(23, 32, 28, 0.045) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(23, 32, 28, 0.035) 0 1px, transparent 1px 80px);
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

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

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

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

.button-icon {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  font-size: 17px;
  white-space: nowrap;
}

.hero-visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  min-height: 420px;
}

.audit-sheet {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.sheet-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.sheet-topline strong {
  color: var(--blue);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.metric-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8f2;
}

.metric-grid span,
.leak-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}

.leak-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.leak-list li {
  padding-left: 4px;
}

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

.section,
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 36px);
}

.split,
.two-column,
.interest-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.text-stack p,
.section-heading p,
.two-column p,
.interest-layout p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.sample-card,
.pattern-card,
.step,
.rule-panel,
.interest-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sample-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 20px;
}

.pattern-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px;
  text-align: center;
}

.pattern-card h3 {
  font-size: 17px;
}

.pattern-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 5px auto 14px;
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pattern-icon img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.pattern-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.sample-type {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-card p {
  color: var(--muted);
}

.sample-card a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.sample-card a:hover {
  text-decoration: underline;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 20px;
}

.step span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 50%;
  font-weight: 800;
}

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

.rule-panel {
  padding: 24px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.interest-band {
  background: #f1f0e8;
}

.interest-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.field-trap {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #c8d0ca;
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.beta-offer {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #f7faf7;
  border: 1px solid #bdd6c4;
  border-radius: 8px;
}

.beta-offer[hidden] {
  display: none;
}

.beta-offer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.radio-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.radio-line input {
  width: auto;
  margin-top: 3px;
  padding: 0;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 93, 122, 0.22);
  border-color: var(--blue);
}

.small-note,
.form-status {
  font-size: 14px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--ink);
}

.footer strong,
.footer a {
  color: var(--white);
}

.footer p {
  margin: 4px 0 0;
}

.sample-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 36px);
}

.sample-page h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.sample-page h2 {
  margin-top: 42px;
  font-size: clamp(24px, 3vw, 34px);
}

.sample-page p,
.sample-page li {
  color: var(--muted);
  font-size: 17px;
}

.sample-page .back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.sample-page .finding {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-reference {
  display: grid;
  gap: 10px;
  margin: 28px 0 34px;
}

.product-reference img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-reference figcaption {
  color: var(--muted);
  font-size: 14px;
}

.plain-note {
  padding: 22px;
  border-left: 4px solid var(--green);
  background: var(--band);
}

.plain-note h2 {
  margin-top: 0;
}

.plain-note p {
  margin-bottom: 0;
}

.source-list {
  padding-left: 22px;
}

.source-list a {
  color: var(--blue);
}

@media (max-width: 960px) {
  .hero,
  .split,
  .two-column,
  .interest-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  h1 {
    font-size: 38px;
  }

  .pattern-grid,
  .sample-grid,
  .steps,
  .metric-grid {
    grid-template-columns: 1fr;
  }

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