:root {
  --ink: #111313;
  --panel: #181b1b;
  --panel-2: #202424;
  --paper: #f4f0e7;
  --parchment: #e6dece;
  --charcoal: #24211d;
  --muted-dark: #b8b2a6;
  --muted-light: #6f675d;
  --rule-dark: rgba(232, 226, 214, 0.13);
  --rule-light: rgba(36, 33, 29, 0.16);
  --verdigris: #5f8f83;
  --verdigris-deep: #47756b;
  --brass: #b58a4a;
  --focus: #d3a95f;
  --max: 1180px;
  --radius: 8px;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, serif;
  --sans: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--muted-dark);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--paper);
  color: var(--charcoal);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 19, 19, 0.86);
  border-bottom: 1px solid var(--rule-dark);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-weight: 760;
}

.wordmark-text {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.16em;
}

.nav-links-scroll {
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted-dark);
  font-size: 14px;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--paper);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.button-small {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 14px;
}

.button-primary {
  background: var(--verdigris);
  color: #07110f;
  border: 1px solid rgba(244, 240, 231, 0.14);
}

.button-primary:hover {
  background: #75aa9d;
}

.button-secondary,
.button-ghost {
  background: rgba(244, 240, 231, 0.04);
  color: var(--paper);
  border: 1px solid var(--rule-dark);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(244, 240, 231, 0.09);
}

.section-dark {
  background:
    linear-gradient(90deg, rgba(232, 226, 214, 0.035) 1px, transparent 1px) 0 0 / 84px 84px,
    var(--ink);
}

.section-paper {
  background: var(--paper);
  color: var(--charcoal);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 86px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.hero-copy,
.memo-panel,
.section-heading,
.section-copy,
.cta-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 12px;
}

.eyebrow.dark {
  color: var(--verdigris-deep);
}

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

h1,
h2 {
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: 0;
}

.section-paper h2,
.section-paper h3,
.section-proof h2,
.section-proof h3 {
  color: var(--charcoal);
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 6.1vw, 4rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  color: inherit;
  font-size: 1.06rem;
  line-height: 1.25;
}

.hero-lede,
.section-heading p,
.section-copy p,
.cta-copy p {
  max-width: 68ch;
  font-size: 1.08rem;
}

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

.memo-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(244, 240, 231, 0.06), rgba(244, 240, 231, 0.025)),
    var(--panel);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.memo-kicker {
  margin-bottom: 0;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.memo-panel h2 {
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.memo-list {
  display: grid;
  gap: 15px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.memo-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-dark);
}

.memo-list span {
  color: var(--verdigris);
  font-family: var(--mono);
  font-size: 12px;
}

.memo-list strong {
  color: var(--paper);
  font-size: 15px;
  line-height: 1.45;
}

.memo-footer {
  margin: 4px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule-dark);
  color: rgba(184, 178, 166, 0.74);
  font-family: var(--mono);
  font-size: 12px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 64px;
  padding: 96px 0 56px;
}

.section-heading.narrow {
  max-width: 760px;
}

.automation-list {
  padding: 0 0 96px;
}

.automation-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule-light);
}

.automation-item:last-child {
  border-bottom: 1px solid var(--rule-light);
}

.automation-item > span,
.step-number,
.tile-index {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 12px;
}

.automation-item p,
.why-grid p,
.proof-intro p,
.proof-tile p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted-light);
}

.process-section {
  padding: 96px 0;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 46px;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(244, 240, 231, 0.03);
}

.process-step {
  position: relative;
  min-height: 300px;
  padding: 26px;
  border-right: 1px solid var(--rule-dark);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 70px;
  height: 2px;
  background: var(--rule-dark);
}

.process-step.highlighted::before {
  background: var(--verdigris);
}

.process-step h3 {
  margin-top: 56px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
}

.process-step p {
  color: var(--muted-dark);
}

.process-step small {
  display: block;
  margin-top: 28px;
  color: rgba(184, 178, 166, 0.72);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}

.process-step.highlighted {
  background: rgba(95, 143, 131, 0.08);
}

.section-proof {
  background: var(--parchment);
  color: var(--charcoal);
  padding: 96px 0;
}

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

.proof-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.proof-tile {
  display: grid;
  gap: 22px;
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  background: rgba(244, 240, 231, 0.58);
  padding: 28px;
  min-height: 100%;
}

.proof-tile ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--charcoal);
}

.proof-tile li::marker {
  color: var(--verdigris-deep);
}

.tile-index {
  display: block;
  margin-bottom: 16px;
}

.result-line {
  background: rgba(95, 143, 131, 0.1);
  border-left: 3px solid var(--verdigris-deep);
  padding: 14px 16px;
}

.why-section {
  padding: 96px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}

.why-grid article {
  min-height: 230px;
  padding: 26px;
  background: var(--paper);
}

.why-grid small {
  display: block;
  margin-top: 28px;
  color: var(--verdigris-deep);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}

.faq-section {
  padding: 96px 0;
}

.faq-list {
  display: grid;
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--rule-light);
  background: var(--rule-light);
}

.faq-list details {
  background: var(--paper);
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
}

.faq-list p {
  max-width: 78ch;
  margin-top: 14px;
}

.cta-section {
  padding: 86px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.email-brief {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--rule-dark);
  border-left: 3px solid var(--verdigris);
  border-radius: var(--radius);
  background: rgba(244, 240, 231, 0.04);
}

.email-brief-title {
  margin-bottom: 0;
  color: var(--paper);
  font-weight: 700;
}

.email-brief ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted-dark);
}

.email-brief li::marker {
  color: var(--verdigris);
}

.email-brief p:last-child {
  margin-bottom: 0;
  color: rgba(184, 178, 166, 0.76);
  font-size: 0.96rem;
}

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--rule-dark);
  color: rgba(184, 178, 166, 0.72);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted-dark);
}

.reveal {
  animation: enter 560ms ease-out both;
}

.delay-1 {
  animation-delay: 140ms;
}

@keyframes enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links-scroll {
    position: relative;
    width: 100%;
  }

  .nav-links-scroll::after {
    content: "Scroll →";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 4px;
    display: grid;
    align-items: center;
    padding-left: 28px;
    background: linear-gradient(90deg, rgba(17, 19, 19, 0), rgba(17, 19, 19, 0.96) 38%);
    color: var(--brass);
    font-family: var(--mono);
    font-size: 11px;
    pointer-events: none;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-right: 76px;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 64px;
  }

  .hero-grid,
  .two-column,
  .proof-tiles,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-rail,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rule-dark);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 32px), 290px);
  }

  .header-inner {
    min-height: 0;
  }

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

  h1 {
    font-size: clamp(1.72rem, 7.8vw, 1.95rem);
    line-height: 1.08;
  }

  .button {
    font-size: 14px;
  }

  .hero-lede,
  .section-heading p,
  .section-copy p,
  .cta-copy p {
    font-size: 1rem;
  }

  .automation-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .two-column,
  .process-section,
    .section-proof,
    .why-section,
    .faq-section,
    .cta-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
