:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-soft: #edf4f1;
  --surface-dark: #0f2f27;

  --text: #17211d;
  --text-muted: #64736d;

  --green: #173f34;
  --green-2: #245d4d;
  --mint: #7ae7c7;
  --mint-soft: #dff7ef;

  --border: #d9e4df;
  --border-dark: rgba(255,255,255,0.12);

  --shadow-sm: 0 8px 24px rgba(20, 45, 37, 0.08);
  --shadow-md: 0 18px 50px rgba(20, 45, 37, 0.14);
  --shadow-lg: 0 30px 90px rgba(8, 28, 22, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --max-width: 1180px;
}


/* -----------------------------
   Reset / base
----------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-name {
  font-family: Manrope, Inter, Arial, sans-serif;
}

.page-shell {
  width: 100%;
  overflow-x: hidden;
}

.section-pad {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}


/* -----------------------------
   Header / nav
----------------------------- */

.site-header {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  padding: 22px 0;

  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  width: 28px;
  height: 28px;
}

.brand-mark span {
  display: block;
  width: 6px;
  border-radius: 4px;
  background: var(--green);
}

.brand-mark span:nth-child(1) {
  height: 10px;
}

.brand-mark span:nth-child(2) {
  height: 18px;
}

.brand-mark span:nth-child(3) {
  height: 26px;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.brand-name strong {
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--green);
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--green-2);
}


/* -----------------------------
   Hero
----------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  min-height: 690px;
}

.hero-copy {
  max-width: 630px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--green-2);
}

.hero h1 {
  margin-bottom: 22px;

  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--green-2);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;

  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 13px 18px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;

  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--green-2);
}

.btn-ghost {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-light {
  background: white;
  color: var(--green);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--text-muted);
  font-size: 13px;
}

.trust-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(122, 231, 199, 0.18);
}


/* -----------------------------
   Hero dashboard
----------------------------- */

.hero-visual {
  position: relative;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.55;
}

.glow-one {
  width: 220px;
  height: 220px;
  background: rgba(122,231,199,0.28);
  top: -70px;
  right: -20px;
}

.glow-two {
  width: 180px;
  height: 180px;
  background: rgba(36,93,77,0.13);
  bottom: -60px;
  left: -40px;
}

.dashboard-card {
  position: relative;
  z-index: 2;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  padding: 24px;

  box-shadow: var(--shadow-lg);
}

.dashboard-topline,
.comparison-title-row,
.distribution-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.micro-label {
  display: block;
  margin-bottom: 5px;

  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-topline h3,
.comparison-title-row h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.status-chip,
.mini-chip,
.confidence {
  display: inline-flex;
  align-items: center;

  padding: 6px 10px;
  border-radius: 999px;

  background: var(--mint-soft);
  color: var(--green);

  font-size: 11px;
  font-weight: 700;

  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;

  margin-top: 22px;
}

.metric-card {
  padding: 16px;

  background: #f8faf9;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.metric-card span,
.metric-card small {
  display: block;
}

.metric-card span {
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.metric-card strong {
  display: block;
  margin-bottom: 4px;

  font-size: 24px;
  letter-spacing: -0.02em;
}

.metric-card small {
  color: var(--text-muted);
  font-size: 11px;
}

.primary-metric {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.primary-metric span,
.primary-metric small {
  color: rgba(255,255,255,0.72);
}

.distribution-card {
  margin-top: 16px;
  padding: 16px;

  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfcfb;
}

.chart-area {
  position: relative;
  height: 170px;
  margin-top: 14px;
}

.chart-area svg {
  width: 100%;
  height: 100%;
}

.area {
  fill: url(#curveFill);
}

.curve {
  fill: none;
  stroke: var(--green-2);
  stroke-width: 3;
}

.expected-line {
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  opacity: 0.6;
}

.expected-dot {
  fill: var(--green);
}

.chart-marker {
  position: absolute;
  top: 6px;
  left: 56%;

  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.axis {
  position: absolute;
  background: #dfe7e3;
}

.axis-x {
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
}

.axis-y {
  top: 0;
  bottom: 8px;
  left: 0;
  width: 1px;
}

.decision-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-top: 16px;
  padding: 14px 16px;

  background: var(--surface-soft);
  border-radius: 12px;
}

.decision-icon {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border-radius: 999px;
  background: var(--green);
  color: white;

  font-weight: 800;
  flex: 0 0 auto;
}

.decision-row p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 13px;
}


/* -----------------------------
   Proof strip
----------------------------- */

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 34px;

  padding: 24px;

  background: var(--surface-dark);
  color: rgba(255,255,255,0.8);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* -----------------------------
   Section headings
----------------------------- */

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.platform-copy h2,
.principle-card h2,
.contact-card h2 {
  margin-bottom: 16px;

  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading p,
.platform-copy > p,
.principle-card p,
.contact-copy p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}


/* -----------------------------
   Problem cards
----------------------------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-card {
  padding: 26px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);
}

.card-number {
  display: inline-block;
  margin-bottom: 24px;

  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.problem-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.problem-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}


/* -----------------------------
   Platform section
----------------------------- */

.platform-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.feature-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;

  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.feature-list span {
  color: var(--green-2);
  font-weight: 800;
}

.comparison-panel {
  padding: 24px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);
}

.initiative-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: center;

  margin-top: 12px;
  padding: 14px 12px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: #fbfcfb;
}

.initiative-row.winner {
  background: var(--surface-soft);
  border-color: #c8ddd5;
}

.rank {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border-radius: 999px;
  background: #edf2f0;

  color: var(--green);
  font-weight: 800;
  font-size: 12px;
}

.initiative-info,
.initiative-value {
  display: flex;
  flex-direction: column;
}

.initiative-info span,
.initiative-value span {
  margin-top: 3px;

  color: var(--text-muted);
  font-size: 11px;
}

.initiative-value {
  text-align: right;
}


/* -----------------------------
   Process
----------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  align-items: stretch;
}

.process-step {
  padding: 24px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.step-icon {
  display: inline-flex;
  margin-bottom: 22px;

  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.process-connector {
  position: relative;
}

.process-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;

  height: 1px;
  background: var(--border);
}


/* -----------------------------
   Principle
----------------------------- */

.principle-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;

  padding: 42px;

  background: var(--surface-dark);
  color: white;
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);
}

.principle-card .eyebrow {
  color: var(--mint);
}

.principle-card h2 {
  margin-bottom: 0;
}

.principle-card p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.72);
}


/* -----------------------------
   Contact CTA
----------------------------- */

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  padding: 42px;

  border-radius: var(--radius-lg);

  background: linear-gradient(135deg, #174537 0%, #0e2f27 100%);
  color: white;

  box-shadow: var(--shadow-md);
}

.contact-card .eyebrow {
  color: var(--mint);
}

.contact-card h2 {
  max-width: 760px;
}

.contact-copy p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.72);
}


/* -----------------------------
   Footer
----------------------------- */

.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;

  padding: 30px 0 42px;

  border-top: 1px solid var(--border);

  color: var(--text-muted);
  font-size: 12px;
}

.footer-brand .brand-mark {
  transform: scale(0.8);
  transform-origin: left center;
}


/* -----------------------------
   Reveal animation
----------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 1050px) {
  .hero,
  .platform-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 760px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .process-connector {
    display: none;
  }

  .principle-card {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 800px) {
  .site-header {
    gap: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .metric-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-pad {
    width: min(100% - 32px, var(--max-width));
    padding: 68px 0;
  }

  .site-header,
  .site-footer {
    width: min(100% - 32px, var(--max-width));
  }
}


@media (max-width: 560px) {
  .site-header {
    padding: 16px 0;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .dashboard-card,
  .comparison-panel,
  .principle-card,
  .contact-card {
    padding: 20px;
  }

  .dashboard-topline,
  .comparison-title-row {
    flex-direction: column;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .initiative-row {
    grid-template-columns: 32px 1fr;
  }

  .initiative-value {
    grid-column: 2;
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}