:root {
  --ink: #17201d;
  --muted: #596763;
  --paper: #f5f3ee;
  --paper-strong: #fffdf8;
  --line: rgba(23, 32, 29, 0.14);
  --forest: #123a34;
  --forest-2: #0c2825;
  --teal: #2d8d82;
  --gold: #c99a4a;
  --sage: #dfe8df;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 35, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 32px;
  color: var(--white);
  background: rgba(12, 40, 37, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--forest);
  background: var(--white);
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 600;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.header-cta {
  color: var(--forest);
  background: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.section {
  padding: 112px 0;
}

.section-dark {
  color: var(--white);
  background: var(--forest-2);
}

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 140px 0 76px;
  overflow: hidden;
}

.page-hero {
  min-height: 720px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 40, 37, 0.94) 0%, rgba(12, 40, 37, 0.84) 44%, rgba(12, 40, 37, 0.36) 100%),
    linear-gradient(0deg, rgba(12, 40, 37, 0.76), rgba(12, 40, 37, 0.08));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.62fr);
  align-items: end;
  gap: 58px;
}

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

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

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

h1,
h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.9rem, 7.2vw, 5.8rem);
  max-width: 860px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6vw, 4.7rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
}

.section-dark p,
.section-dark .hero-lede {
  color: rgba(255, 255, 255, 0.78);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.btn-primary {
  color: var(--forest);
  background: var(--white);
  border-color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.signal-panel,
.ledger {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-panel {
  padding: 22px;
}

.panel-topline,
.ledger-header,
.ledger-row,
.attribution-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-topline,
.ledger-header {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cashflow-card {
  padding: 20px;
  background: var(--forest);
  border-radius: 8px;
}

.cashflow-card strong {
  display: block;
  color: var(--white);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.cashflow-card span,
.metric-label {
  color: rgba(255, 255, 255, 0.7);
}

.metric-label {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.attribution-list {
  margin: 18px 0;
  border-top: 1px solid var(--line);
}

.attribution-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.attribution-list span {
  color: var(--muted);
  font-weight: 600;
}

.panel-note {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 44px;
}

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

.section-heading p,
.split > div > p,
.faq-grid > div > p {
  font-size: 1.08rem;
}

.problem-grid,
.intelligence-grid,
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-grid article,
.intelligence-grid article,
.feature-card,
.faq-list details {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.problem-grid article,
.intelligence-grid article {
  padding: 26px;
}

.problem-grid span,
.feature-card span,
.intelligence-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.band,
.outcome-band {
  background: var(--sage);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 70px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: 8px;
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.24rem;
}

.steps p,
.feature-card p,
.problem-grid p,
.intelligence-grid p,
.faq-list p {
  margin-bottom: 0;
}

.advocate-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.community-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 22px;
  background: var(--forest);
  border: 1px solid rgba(23, 32, 29, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.community-proof div {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.community-proof div:last-child {
  border-right: 0;
}

.community-proof strong {
  color: var(--white);
  font-size: 1.05rem;
}

.community-proof span {
  color: rgba(255, 255, 255, 0.72);
}

.feature-card {
  padding: 24px;
}

.advocate-card {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.advocate-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.advocate-card div {
  padding: 24px;
}

.cfo-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(45, 141, 130, 0.42), transparent 30%),
    linear-gradient(135deg, var(--forest-2), #0b1716 70%);
}

.cfo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1fr);
  gap: 60px;
  align-items: center;
}

.ledger {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.ledger-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.ledger-row.strong {
  color: var(--ink);
  font-weight: 800;
}

.intelligence-grid {
  margin-top: 34px;
}

.intelligence-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.intelligence-grid h3 {
  color: var(--white);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.highlighted {
  background: var(--forest);
  color: var(--white);
}

.highlighted p,
.highlighted-alt p {
  color: rgba(255, 255, 255, 0.78);
}

.highlighted-alt {
  background: #243f60;
  color: var(--white);
}

.outcomes {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-strong);
}

.outcomes div {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.outcomes div:last-child {
  border-right: 0;
}

.outcomes strong {
  font-size: 1.12rem;
}

.outcomes span {
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 60px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 14px;
}

.final-cta {
  padding: 98px 0;
  background:
    linear-gradient(rgba(12, 40, 37, 0.8), rgba(12, 40, 37, 0.88)),
    url("https://images.unsplash.com/photo-1600573472550-8090b5e0745e?auto=format&fit=crop&w=2400&q=85") center/cover;
}

.final-inner {
  display: grid;
  justify-items: start;
  max-width: 800px;
}

.final-inner h2 {
  margin-bottom: 28px;
}

.site-footer {
  padding: 34px 0;
  background: var(--forest-2);
  color: var(--white);
}

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

.footer-inner > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-inner a:hover {
  color: var(--white);
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(12, 40, 37, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .cfo-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .intelligence-grid,
  .community-proof,
  .outcomes {
    grid-template-columns: 1fr;
  }

  .outcomes div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .outcomes div:last-child {
    border-bottom: 0;
  }

  .community-proof div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .community-proof div:last-child {
    border-bottom: 0;
  }

  .advocate-grid,
  .roadmap-grid,
  .agent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advocate-card {
    grid-row: auto;
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 68px;
    gap: 12px;
    padding: 0 14px;
  }

  .brand {
    gap: 9px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    font-size: 0.68rem;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 116px;
  }

  h1 {
    font-size: clamp(2.8rem, 12.5vw, 4rem);
  }

  h2 {
    font-size: clamp(2.18rem, 11vw, 3.25rem);
  }

  .hero-lede {
    font-size: 1.05rem;
  }

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

  .btn {
    white-space: normal;
    text-align: center;
  }

  .signal-panel,
  .ledger {
    padding: 16px;
  }

  .cashflow-card strong {
    font-size: 2.35rem;
  }

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

  .advocate-grid,
  .roadmap-grid,
  .agent-grid {
    grid-template-columns: 1fr;
  }

  .advocate-card {
    grid-column: auto;
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

  .footer-inner > div {
    justify-content: flex-start;
  }
}
