:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #64645f;
  --line: #d9d4c9;
  --paper: #f7f4ec;
  --accent: #1f6f5b;
  --accent-dark: #103d33;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.topbar {
  max-width: 820px;
  margin-bottom: 42px;
}

.eyebrow,
.label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: 900px;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.primary {
  min-height: 320px;
  padding: 36px;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.82), rgba(21, 21, 21, 0.16)),
    url("https://images.pexels.com/photos/4246120/pexels-photo-4246120.jpeg?auto=compress&cs=tinysrgb&w=1800") center/cover;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.primary .label {
  color: #a7f0d4;
}

.primary h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
}

.primary p {
  max-width: 610px;
  color: rgba(255, 253, 248, 0.86);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: #a7f0d4;
  color: #10231d;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 253, 248, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.36);
}

.button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 253, 248, 0.5);
  color: var(--white);
}

.button.dark {
  background: var(--accent-dark);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.numbers {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.numbers div {
  padding: 28px;
  background: var(--white);
}

.numbers span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-dark);
}

.numbers p {
  margin: 8px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.grid a {
  min-height: 190px;
  padding: 26px;
  background: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.grid a:hover {
  transform: translateY(-3px);
  background: #fffaf0;
}

.grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 900;
}

.grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.grid p {
  color: var(--muted);
  line-height: 1.5;
}

.checkout-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.price-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 28px;
  background: var(--accent-dark);
  color: var(--white);
}

.price-panel span {
  display: block;
  font-size: clamp(3.2rem, 9vw, 5.7rem);
  line-height: 0.9;
  font-weight: 950;
}

.price-panel p {
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.45;
}

.price-panel .button {
  width: 100%;
  margin: 10px 0 14px;
}

.mini {
  margin: 0;
  font-size: 0.84rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

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

.checkout-grid article {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
}

.checkout-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 900;
}

.checkout-grid h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.checkout-grid p,
.fit-band li {
  color: var(--muted);
  line-height: 1.55;
}

.speed-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.speed-strip div {
  min-height: 180px;
  padding: 24px;
  background: var(--accent-dark);
  color: var(--white);
}

.speed-strip span,
.workflow-cards span {
  display: block;
  margin-bottom: 16px;
  color: #a7f0d4;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.speed-strip strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.speed-strip p {
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.55;
}

.workflow-menu {
  margin-top: 34px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.workflow-cards article {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
}

.workflow-cards span {
  color: var(--accent);
}

.workflow-cards p {
  color: var(--muted);
  line-height: 1.55;
}

.leak-calculator {
  margin-top: 34px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head p:not(.label) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.calc-form label {
  display: grid;
  gap: 12px;
  min-height: 142px;
  padding: 24px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.calc-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 8px 12px;
}

.calc-form input:focus {
  outline: 2px solid rgba(31, 111, 91, 0.28);
  border-color: var(--accent);
}

.calc-result {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: var(--accent-dark);
  color: var(--white);
}

.calc-result span {
  margin-bottom: 12px;
  color: #a7f0d4;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.calc-result strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(3rem, 8vw, 5.3rem);
  line-height: 0.92;
}

.calc-result p {
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.55;
}

.calc-result .button {
  width: 100%;
  margin-top: 8px;
}

.fit-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  margin-top: 34px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit-band h2 {
  max-width: 700px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.98;
}

.fit-band ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-band li {
  padding: 14px 16px;
  background: var(--white);
  border-left: 4px solid var(--accent);
}

.sample-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sample-band.split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.sample-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.button-stack {
  display: grid;
  gap: 12px;
}

.button-stack .button {
  width: 100%;
}

.sample-band p {
  color: var(--muted);
  line-height: 1.55;
}

.audit-sheet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.audit-sheet article,
.script-box {
  padding: 28px;
  background: var(--white);
}

.audit-sheet span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
}

.flow-list,
.leak-list,
.script-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.script-box p {
  margin-bottom: 14px;
}

.intake-hero h1 {
  max-width: 840px;
}

.intake-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.intake-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
}

.intake-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 900;
}

.intake-grid h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.intake-grid p,
.intake-script li {
  color: var(--muted);
  line-height: 1.55;
}

.intake-script {
  margin-top: 34px;
}

.intake-script h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 24px, 680px);
    padding: 32px 0;
  }

  .workspace,
  .grid,
  .checkout-hero,
  .checkout-grid,
  .checkout-grid.two,
  .speed-strip,
  .workflow-cards,
  .calc-layout,
  .calc-form,
  .fit-band,
  .sample-band,
  .sample-band.split,
  .intake-grid,
  .audit-sheet {
    grid-template-columns: 1fr;
  }

  .primary {
    min-height: 430px;
    padding: 24px;
  }
}
