:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5a6670;
  --line: #d9e0e3;
  --soft: #f5f4ef;
  --paper: #fffefa;
  --accent: #126b68;
  --accent-dark: #0c4f4c;
  --clay: #b45f3c;
  --blue-gray: #e8eef1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  background: rgba(255, 254, 250, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #fffefa;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.section,
.section-band,
.hero {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.section,
.hero,
.split,
.safety,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.section-band {
  background: var(--soft);
  border-top: 1px solid rgba(23, 32, 38, 0.06);
  border-bottom: 1px solid rgba(23, 32, 38, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 74px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

p {
  color: var(--muted);
}

.lede {
  color: var(--ink);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.trust-note {
  color: var(--muted);
  font-size: 14px;
}

.review-callout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 12px;
}

.review-callout span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(18, 107, 104, 0.24);
  border-radius: 8px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.process-note,
.review-note {
  padding: 16px 18px;
  border: 1px solid rgba(18, 107, 104, 0.24);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: #eef7f5;
  color: #244b49;
  font-size: 15px;
}

.review-note strong {
  color: var(--accent-dark);
}

.doc-visual {
  display: grid;
  grid-template-columns: minmax(160px, 0.9fr) auto minmax(190px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 32, 38, 0.12);
}

.doc-stack {
  position: relative;
  min-height: 260px;
}

.paper {
  position: absolute;
  width: 172px;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 32, 38, 0.09);
}

.paper-a {
  left: 16px;
  top: 4px;
  transform: rotate(-5deg);
}

.paper-b {
  left: 44px;
  top: 28px;
  transform: rotate(4deg);
}

.paper-c {
  left: 70px;
  top: 58px;
  transform: rotate(-1deg);
}

.paper-title {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.paper span:not(.paper-title) {
  display: block;
  height: 9px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--blue-gray);
}

.paper .short {
  width: 58%;
  background: #eadfd8;
}

.pipe-arrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.output-sheet {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.sheet-header {
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.table-row {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr 0.8fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.table-row:first-of-type {
  color: var(--ink);
  font-weight: 700;
}

.exception {
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--clay);
  background: #fff5ef;
  color: #783b24;
  font-size: 13px;
}

.narrow {
  max-width: 900px;
}

.pill-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.pill-grid span,
.fit-grid span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
}

.split,
.safety {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
}

.output-list {
  display: grid;
  gap: 14px;
}

.review-note {
  grid-column: 2;
  margin: 0;
}

.output-list > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.output-list p,
.check-list {
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 220px;
  padding: 56px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 10px;
  line-height: 1.3;
}

.steps span {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: #fff;
  color: var(--ink);
  font-weight: 650;
}

.final-cta {
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-right: auto;
  margin-left: auto;
}

.final-cta p {
  max-width: 660px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 64px) 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .split,
  .safety {
    grid-template-columns: 1fr;
  }

  .review-note {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .doc-visual {
    grid-template-columns: 1fr;
  }

  .review-callout {
    grid-template-columns: 1fr;
  }

  .doc-stack {
    max-width: 300px;
    margin: 0 auto;
  }

  .pipe-arrow {
    text-align: center;
  }

  .steps,
  .pill-grid,
  .fit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .section,
  .section-band,
  .hero {
    padding: 42px 18px;
  }

  .steps,
  .pill-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .doc-visual {
    padding: 16px;
  }
}