:root {
  --ink: #171816;
  --paper: #ffffff;
  --mist: #f2f4f1;
  --line: #d8ddd7;
  --muted: #5b625c;
  --red: #b9362e;
  --green: #1f664c;
  --yellow: #e5bd42;
  --blue: #31708e;
  --display: "Newsreader", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.investor-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  gap: 1.5rem;
  min-height: 88px;
  padding: 1rem max(1.25rem, calc((100vw - 1280px) / 2));
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.wordmark {
  display: flex;
  flex-direction: column;
  width: max-content;
  text-decoration: none;
}

.wordmark span {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
}

.wordmark small {
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
}

.investor-header nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.investor-header nav a,
.locale-switch {
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.investor-header nav a:hover,
.investor-header nav a:focus-visible,
.locale-switch:hover,
.locale-switch:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.locale-switch {
  justify-self: end;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 4px;
}

.investor-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(820px, 88vh);
  padding: 9rem max(1.25rem, calc((100vw - 1280px) / 2)) 5rem;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.investor-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 10, 0.65);
}

.hero-content {
  position: relative;
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.investor-hero .eyebrow {
  color: #ffaaa4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  max-width: 16ch;
  font-size: 5.3rem;
}

h2 {
  max-width: 17ch;
  font-size: 3.25rem;
}

h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-dek {
  max-width: 760px;
  margin: 1.5rem 0 0;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

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

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-note {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.section-pad {
  padding: 6rem max(1.25rem, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: 2rem 5rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.section-heading.compact {
  grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
}

.section-intro {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.proof-section {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.proof-item {
  min-height: 180px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.proof-item p,
.principle p,
.market-step p,
.engine-layer p,
.asset-item p,
.stream-item p,
.metric-item p,
.diligence-item p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.status {
  flex: 0 0 auto;
  padding: 0.18rem 0.45rem;
  color: #754d00;
  background: #fff2c4;
  border: 1px solid #e8c45f;
  border-radius: 3px;
  font-size: 0.67rem;
  font-weight: 700;
}

.status-positive {
  color: #164f3a;
  background: #e5f4ec;
  border-color: #9ccbb5;
}

.principle-grid,
.stream-grid,
.metrics-list,
.diligence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.principle,
.stream-item,
.metric-item,
.diligence-item {
  position: relative;
  min-height: 170px;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle:nth-child(even),
.stream-item:nth-child(even),
.metric-item:nth-child(even),
.diligence-item:nth-child(even) {
  border-right: 0;
}

.item-index {
  position: absolute;
  top: 1.5rem;
  left: 1.2rem;
  color: var(--red);
  font-family: var(--display);
  font-size: 1.1rem;
}

.market-section,
.economics-section,
.capital-section {
  background: var(--ink);
  color: var(--paper);
}

.market-section .section-intro,
.economics-section .section-intro,
.capital-section .section-intro,
.economics-section .metric-item p {
  color: #bac2bb;
}

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

.market-step {
  min-height: 250px;
  padding: 1.75rem;
  border: 1px solid #414640;
  border-right: 0;
}

.market-step:last-child {
  border-right: 1px solid #414640;
}

.market-step > span,
.phase-code {
  color: #f5ca4b;
  font-family: var(--display);
  font-size: 1.8rem;
}

.market-step h3 {
  margin-top: 2.8rem;
  font-size: 1.2rem;
}

.market-step p {
  color: #bac2bb;
}

.validation-note {
  margin: 2rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  border-left: 3px solid var(--yellow);
  font-size: 0.85rem;
}

.market-section .validation-note,
.economics-section .validation-note,
.capital-section .validation-note {
  color: #bac2bb;
}

.engine-section {
  background: #f7faf8;
}

.engine-stack {
  width: min(900px, 100%);
  margin-left: auto;
}

.engine-layer {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.25rem;
  align-items: center;
  min-height: 130px;
  margin-bottom: 0.7rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.engine-layer > span {
  font-family: var(--display);
  font-size: 2rem;
}

.engine-layer-1 {
  border-left: 7px solid var(--red);
}

.engine-layer-2 {
  border-left: 7px solid var(--yellow);
}

.engine-layer-3 {
  border-left: 7px solid var(--green);
}

.engine-layer-4 {
  border-left: 7px solid var(--blue);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

thead th {
  color: var(--paper);
  background: var(--ink);
}

tbody th {
  min-width: 150px;
  color: var(--green);
}

.moat-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  background: var(--mist);
}

.moat-image {
  position: relative;
  min-height: 760px;
  margin: 0;
}

.moat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moat-image figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.75rem;
  color: var(--paper);
  background: rgba(16, 18, 16, 0.8);
  font-size: 0.72rem;
}

.moat-content.section-pad {
  padding-right: max(1.25rem, calc((100vw - 1180px) / 2));
  padding-left: 4rem;
}

.moat-content .section-heading {
  display: block;
}

.moat-content .section-heading .eyebrow {
  margin-bottom: 1rem;
}

.moat-content .section-intro {
  margin-top: 1.5rem;
}

.asset-list {
  border-top: 1px solid var(--line);
}

.asset-item {
  position: relative;
  min-height: 115px;
  padding: 1.3rem 1rem 1.3rem 3.6rem;
  border-bottom: 1px solid var(--line);
}

.network-loop {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.network-loop li {
  position: relative;
  min-height: 190px;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.network-loop li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 1rem;
  right: -0.55rem;
  z-index: 2;
  color: var(--red);
  background: var(--paper);
}

.network-loop strong,
.network-loop span {
  display: block;
}

.network-loop span {
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.business-section {
  background: #eef5f1;
}

.economics-section .metrics-list {
  border-color: #414640;
}

.economics-section .metric-item {
  border-color: #414640;
}

.roadmap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 150px;
  gap: 1rem;
  align-items: center;
  min-height: 80px;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.phase-status {
  justify-self: end;
  color: var(--muted);
  font-size: 0.78rem;
}

.capital-section .section-heading {
  margin-bottom: 1rem;
}

.capital-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.capital-controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.capital-controls input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--yellow);
}

.capital-controls output {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.35rem;
}

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid #414640;
  border-left: 1px solid #414640;
}

.allocation {
  min-height: 190px;
  padding: 1.2rem;
  border-right: 1px solid #414640;
  border-bottom: 1px solid #414640;
}

.allocation > span {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 2rem;
}

.allocation h3 {
  min-height: 62px;
  margin-top: 1rem;
}

.allocation strong {
  display: block;
  margin-top: 1rem;
  color: #bac2bb;
  font-size: 0.78rem;
}

.capital-burn {
  margin: 1.5rem 0 0;
  color: var(--yellow);
  font-weight: 700;
}

.diligence-section {
  background: #f6f7f4;
}

.diligence-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.diligence-action p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.investor-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
  padding: 3rem max(1.25rem, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: var(--ink);
}

.investor-footer p {
  margin: 0;
  color: #bac2bb;
  font-size: 0.76rem;
}

.investor-footer a {
  width: max-content;
  color: var(--yellow);
  font-size: 0.8rem;
}

.photo-credit {
  grid-column: 2;
}

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

  .investor-header nav {
    display: none;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

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

  .market-step:nth-child(2) {
    border-right: 1px solid #414640;
  }

  .market-step:last-child {
    grid-column: 1 / -1;
  }

  .moat-section {
    grid-template-columns: 1fr;
  }

  .moat-image {
    min-height: 520px;
  }

  .moat-content.section-pad {
    padding-left: max(1.25rem, calc((100vw - 1180px) / 2));
  }

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

  .network-loop li:nth-child(3)::after {
    display: none;
  }

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

  .allocation:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .investor-header {
    min-height: 74px;
  }

  .wordmark span {
    font-size: 1.2rem;
  }

  .locale-switch {
    font-size: 0.72rem;
  }

  .investor-hero {
    min-height: 86vh;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-dek {
    font-size: 1rem;
  }

  .section-pad {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-heading,
  .section-heading.compact {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 1.5rem;
  }

  .proof-grid,
  .principle-grid,
  .stream-grid,
  .metrics-list,
  .diligence-grid,
  .market-ladder,
  .network-loop,
  .capital-controls,
  .allocation-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .principle,
  .stream-item,
  .metric-item,
  .diligence-item {
    min-height: 0;
    border-right: 1px solid var(--line);
  }

  .market-step,
  .market-step:nth-child(2),
  .market-step:last-child {
    grid-column: auto;
    min-height: 210px;
    border-right: 1px solid #414640;
  }

  .engine-layer {
    grid-template-columns: 48px 1fr;
  }

  .moat-image {
    min-height: 430px;
  }

  .network-loop li {
    min-height: 130px;
  }

  .network-loop li::after {
    display: none;
  }

  .network-loop span {
    margin-top: 1rem;
  }

  .roadmap-list li {
    grid-template-columns: 60px 1fr;
    align-items: start;
  }

  .phase-status {
    grid-column: 2;
    justify-self: start;
  }

  .allocation:last-child {
    grid-column: auto;
  }

  .allocation {
    min-height: 150px;
  }

  .diligence-action,
  .investor-footer {
    grid-template-columns: 1fr;
  }

  .photo-credit {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
