:root {
  /* Pre-VC sandy earth palette (docs/BRAND_PALETTE.md) */
  --sand: #f0daba;
  --paper: #fdf7ec;
  --green: #12b86e;
  --green-dark: #0b5c3b;
  --green-tint: #b8ecd4;
  --ink: #2a1c0e;
  --muted: #8a7060;
  --line: #d8c8a8;
  --band: #e8d4a0;
  --brown: #c4855a;
  --brown-light: #da9e70;
  --white: #ffffff;
  --band-alt: #f5edd8;
  --gold: #c4855a;
  --gold-ink: #2a1c0e;
  --coral: #d8694f;
  --blue: #2f5f98;
  --violet: #6650a4;
  --cyan: #00d4aa;
  --cyan-dark: #00a888;
  --cyan-tint: #b3f0e2;
  --paper-on-green: rgba(253, 247, 236, 0.9);
  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;
  color: var(--ink);
  background: var(--paper);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(251, 252, 250, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--green-dark);
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(17, 97, 73, 0.96), rgba(11, 63, 50, 0.9)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: var(--white);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--gold);
  color: var(--gold-ink);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.region-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-panel {
  width: min(100%, 520px);
  padding: 20px;
  border-radius: 8px;
  background: rgba(251, 252, 250, 0.96);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.panel-header {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.score-ring {
  display: grid;
  place-items: center;
  width: 178px;
  height: 178px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 74%, var(--line) 74% 100%);
  position: relative;
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--white);
}

.score-ring strong,
.score-ring span {
  position: relative;
  z-index: 1;
}

.score-ring strong {
  font-size: 50px;
  line-height: 1;
}

.score-ring span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.signal-grid,
.answer-grid,
.criteria-grid,
.agent-grid,
.pricing-grid,
.market-grid,
.template-grid,
.exposure-flow,
.media-grid,
.journey-grid,
.workbook-grid,
.modelling-grid,
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.signal-grid div,
.workflow span,
.answer-grid article,
.criteria-grid article,
.agent-grid article,
.pricing-grid article,
.market-grid article,
.template-grid article,
.exposure-flow article,
.media-grid article,
.journey-grid article,
.workbook-grid article,
.modelling-grid article,
.stack-grid article,
.pillar-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.signal-grid div {
  padding: 14px;
}

.signal-grid b,
.signal-grid span {
  display: block;
}

.signal-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

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

.workflow span {
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.band,
.section,
.cta {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.band {
  background: var(--band);
}

.band.compact {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section.alternate {
  background: var(--band-alt);
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.answer-grid article,
.criteria-grid article,
.agent-grid article,
.pricing-grid article,
.market-grid article,
.template-grid article,
.exposure-flow article,
.media-grid article,
.journey-grid article,
.workbook-grid article,
.modelling-grid article,
.stack-grid article {
  padding: 22px;
}

.answer-grid strong {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.answer-grid strong .icon {
  width: 17px;
  height: 17px;
}

.criteria-grid {
  grid-template-columns: repeat(7, minmax(155px, 1fr));
  overflow-x: auto;
  padding-bottom: 6px;
}

.criteria-grid article {
  min-height: 190px;
}

.criteria-grid article:nth-child(2n) {
  border-top: 4px solid var(--gold);
}

.criteria-grid article:nth-child(2n + 1) {
  border-top: 4px solid var(--blue);
}

.criteria-grid p,
.agent-grid p,
.pricing-grid p,
.answer-grid p,
.pillar-list p,
.split p {
  color: var(--muted);
  line-height: 1.55;
}

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

.pillar-list article {
  padding: 24px;
}

ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

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

.agent-grid article {
  border-left: 4px solid var(--green);
}

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

.pricing-grid article {
  border-top: 4px solid var(--coral);
}

.market-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 18px;
}

.market-grid article {
  border-top: 4px solid var(--blue);
}

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

.template-grid article {
  border-left: 4px solid var(--gold);
}

.exposure-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.exposure-flow article {
  border-top: 4px solid var(--green);
}

.exposure-flow strong {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.media-grid article {
  border-top: 4px solid var(--coral);
}

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

.journey-grid article {
  border-top: 4px solid var(--green);
}

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

.workbook-grid article {
  border-top: 4px solid var(--blue);
}

.modelling-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.modelling-grid article {
  border-top: 4px solid var(--violet);
}

.modelling-grid strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--violet);
}

.modelling-grid span {
  display: block;
  margin-top: 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

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

.stack-grid article {
  border-left: 4px solid var(--gold);
}

.workbench-mock {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 260px;
  gap: 14px;
  margin-top: 18px;
}

.workbench-sidebar,
.workbench-main,
.review-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.workbench-sidebar,
.review-panel {
  padding: 18px;
}

.mini-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-pill {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.stage-pill.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.workbench-main {
  padding: 20px;
}

.workbench-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.status-chip {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-tint);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.assumption-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.assumption-grid label {
  display: grid;
  gap: 8px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.assumption-grid strong {
  color: var(--ink);
  font-size: 18px;
}

.output-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.output-strip article {
  padding: 12px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
}

.output-strip span,
.output-strip strong {
  display: block;
}

.output-strip span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
}

.output-strip strong {
  margin-top: 7px;
  font-size: 18px;
}

.comparison-table {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table div {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.comparison-table span {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.comparison-table div:first-child span {
  color: var(--ink);
  background: var(--band);
}

.comparison-table div:last-child span {
  border-bottom: 0;
}

.review-panel {
  position: relative;
}

.review-panel h3 {
  font-size: 18px;
}

.icon-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--gold-ink);
  background: var(--gold);
}

.structure-split {
  margin-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.split > div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--green);
}

.cta {
  text-align: center;
  color: var(--white);
  background: var(--green-dark);
}

.cta p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.6;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .signal-grid,
  .agent-grid,
  .pricing-grid,
  .market-grid,
  .template-grid,
  .exposure-flow,
    .media-grid,
    .journey-grid,
    .workbook-grid,
    .modelling-grid,
    .stack-grid,
    .workbench-mock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workbench-main,
  .review-panel {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .answer-grid,
  .pillar-list,
  .split,
  .signal-grid,
  .agent-grid,
  .pricing-grid,
  .market-grid,
  .template-grid,
  .exposure-flow,
    .media-grid,
    .journey-grid,
    .workbook-grid,
    .modelling-grid,
    .stack-grid,
    .workbench-mock,
    .assumption-grid,
    .output-strip {
    grid-template-columns: 1fr;
  }

  .workbench-main,
  .review-panel {
    grid-column: auto;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table div {
    min-width: 520px;
  }

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

  .footer {
    flex-direction: column;
  }
}
