:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #65716d;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d9ded7;
  --green: #4f8f77;
  --blue: #476c9b;
  --orange: #e77d3c;
  --dark: #16201d;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, .92);
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 7px 6px;
  border-radius: 7px;
  background: var(--dark);
}

.brand-mark span {
  width: 4px;
  display: block;
  border-radius: 99px;
  background: var(--paper);
}

.brand-mark span:nth-child(1) { height: 8px; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 11px; }

.site-header nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.header-cta {
  justify-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--dark);
  border-radius: 7px;
  font-weight: 700;
}

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  max-width: 790px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .98;
  font-weight: 760;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
}

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

.primary-cta,
.secondary-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 7px;
  font-weight: 760;
}

.primary-cta {
  background: var(--dark);
  color: var(--paper);
}

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

.terminal {
  border: 1px solid #26342f;
  border-radius: 8px;
  background: var(--dark);
  color: #e6eee8;
  box-shadow: 0 24px 70px rgba(22, 32, 29, .22);
  overflow: hidden;
}

.terminal-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid #2e4039;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.terminal-bar span:nth-child(2) { background: #e3bd4f; }
.terminal-bar span:nth-child(3) { background: var(--green); }

pre {
  margin: 0;
  padding: clamp(22px, 4vw, 34px);
  overflow: auto;
  white-space: pre-wrap;
  font: 14px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.process,
.evidence,
.cta-band {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.steps article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.steps span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 800;
}

.steps p,
.evidence p,
.evidence li,
.cta-band p {
  color: var(--muted);
  line-height: 1.6;
}

.evidence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(28px, 5vw, 64px);
  background: #edf2ef;
}

.evidence ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence li {
  padding: 18px 0;
  border-bottom: 1px solid #cad7d0;
}

.evidence strong {
  color: var(--ink);
}

.cta-band {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--dark);
  color: var(--paper);
}

.cta-band p {
  max-width: 580px;
  color: #b8c3bd;
}

.cta-band .primary-cta {
  margin-top: 12px;
  background: var(--paper);
  color: var(--dark);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .evidence {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 12px;
  }

  h1 {
    font-size: 42px;
  }

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

  .steps article {
    min-height: 0;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 28px 32px;
  padding: 44px 6vw 32px;
  background: var(--dark);
  color: #e8ece9;
}

.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: .01em;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 34ch;
  color: #a9b5ae;
  font-size: 14px;
  line-height: 1.55;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8fa09a;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: #dfe6e2;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #8fa09a;
}

.footer-legal nav a {
  display: inline-block;
  margin-right: 16px;
  font-size: 13px;
}

.marketing-hero {
  padding: 72px 6vw 48px;
  text-align: left;
}

.marketing-hero h1 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.1;
}

.marketing-hero p.lede {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.breadcrumbs {
  padding: 18px 6vw 0;
  font-size: 13px;
  color: var(--muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 8px 6vw 40px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.plan-card.featured {
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(22, 32, 29, .08);
}

.plan-card h2 {
  margin: 0;
  font-size: 20px;
}

.plan-price {
  font-size: 34px;
  font-weight: 780;
}

.plan-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.plan-card .primary-cta {
  margin-top: auto;
  text-align: center;
}

.faq {
  padding: 8px 6vw 48px;
  max-width: 820px;
}

.faq h2 {
  font-size: 26px;
}

.faq dt {
  margin-top: 18px;
  font-weight: 700;
}

.faq dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .marketing-hero h1 {
    font-size: 32px;
  }
}
