:root {
  --ink: #1B1D1B;
  --ink-rgb: 27, 29, 27;
  --canvas: #F7F7F5;
  --paper: #FFFFFF;
  --paper-rgb: 255, 255, 255;
  --muted: #646A65;
  --line: #E0E3DF;
  --raised: #FAFBF9;
  --ink-raised: #262926;
  --market: #176B4D;
  --live: #3BA778;
  --shadow: 0 1px 2px rgba(var(--ink-rgb), 0.05);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--canvas); color: var(--ink); }

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.showcase-skip {
  position: fixed;
  z-index: 50;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.showcase-header,
.showcase-footer,
.showcase-hero,
.showcase-paths {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

.showcase-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.showcase-brand {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.showcase-brand .brand-dot { color: var(--market); }

.showcase-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.showcase-header nav a { border-bottom: 1px solid transparent; }
.showcase-header nav a:hover { border-color: currentColor; }

.showcase-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.showcase-kicker {
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font: 600 0.72rem/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.showcase-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.showcase-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.072em;
}

.showcase-lede {
  max-width: 610px;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.65;
}

.showcase-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.showcase-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 650;
  transition: transform 150ms ease, background 150ms ease;
}

.showcase-button:hover { transform: translateY(-2px); }
.showcase-button-primary { border-color: var(--ink); background: var(--ink); color: white; }
.showcase-button-primary:hover { background: var(--ink-raised); }
.showcase-button-secondary { background: rgba(var(--paper-rgb), 0.38); }

.showcase-mechanism {
  margin: 2.8rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.showcase-mechanism > div {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.showcase-mechanism dt {
  color: var(--muted);
  font: 600 0.68rem/1.5 var(--mono);
}

.showcase-mechanism dd { margin: 0; display: grid; gap: 0.13rem; }
.showcase-mechanism strong { font-size: 0.87rem; }
.showcase-mechanism span { color: var(--muted); font-size: 0.8rem; }

.showcase-deck-preview {
  position: relative;
  display: block;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
  transition: transform 220ms ease;
}

.showcase-deck-preview:hover {
  transform: rotate(0) translateY(-5px);
}

.showcase-deck-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 11px;
  background: var(--paper);
}

.showcase-story-card {
  min-height: 430px;
  display: grid;
  place-content: center;
  gap: 0.7rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: 11px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.showcase-story-card small {
  color: white;
  font: 600 0.68rem/1.2 var(--mono);
  letter-spacing: 0.1em;
}

.showcase-story-card strong {
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.showcase-story-card > span {
  color: white;
  font-size: 1.2rem;
}

.showcase-preview-label,
.showcase-preview-action {
  position: absolute;
  z-index: 2;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  background: rgba(var(--ink-rgb), 0.92);
  color: white;
  font: 600 0.68rem/1 var(--mono);
}

.showcase-preview-label { top: -1rem; left: 1.3rem; }
.showcase-preview-action { right: 1.3rem; bottom: -1rem; }
.showcase-preview-action b { margin-left: 0.4rem; color: white; }

.showcase-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-paths > a {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2rem, 4vw, 3.5rem);
  transition: background 160ms ease;
}

.showcase-paths > a + a { border-left: 1px solid var(--line); }
.showcase-paths > a:hover { background: rgba(var(--paper-rgb), 0.5); }
.showcase-paths > a > span { color: var(--ink); font: 600 0.68rem/1.3 var(--mono); letter-spacing: 0.08em; }
.showcase-paths h2 { max-width: 15ch; margin: 1rem 0 0; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.02; letter-spacing: -0.05em; }
.showcase-paths p { max-width: 55ch; margin: 1.1rem 0 2rem; color: var(--muted); line-height: 1.6; }
.showcase-paths strong { margin-top: auto; font-size: 0.9rem; }
.showcase-paths strong b { margin-left: 0.5rem; color: var(--ink); }

.showcase-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.showcase-footer a { color: var(--ink); }

.story-hero,
.story-section,
.story-grid {
  width: min(1040px, calc(100% - 3rem));
  margin-inline: auto;
}

.story-hero {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.story-hero h1 {
  max-width: 13ch;
  margin: 1.4rem 0;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.story-hero > p:not(.showcase-kicker) {
  max-width: 690px;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.story-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.story-label {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font: 600 0.72rem/1.2 var(--mono);
  letter-spacing: 0.09em;
}

.story-section > h2,
.story-grid h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

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

.story-steps li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.story-steps li > span {
  color: var(--muted);
  font: 600 0.72rem/1.5 var(--mono);
}

.story-steps strong {
  font-size: 1.12rem;
}

.story-steps p,
.story-grid article > p:last-child,
.story-pilot p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.story-grid article {
  min-height: 310px;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.story-grid article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.story-grid h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.story-pilot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem 3rem;
}

.story-pilot > strong {
  color: var(--ink);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.75;
  letter-spacing: -0.08em;
}

.story-pilot > span {
  grid-column: 2;
  max-width: 14rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.story-tool-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.story-tool-list p {
  display: grid;
  grid-template-columns: minmax(150px, 0.6fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.story-tool-list span {
  color: var(--muted);
}

/* Investor homepage: one visual transaction rather than repeated prose. */
.showcase-artifact-story {
  min-height: 470px;
  padding: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  align-content: center;
  gap: 0.5rem;
  border-radius: 11px;
  background: var(--ink);
  color: white;
}

.showcase-artifact {
  min-width: 0;
  min-height: 76px;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0.15rem 0.85rem;
  border: 1px solid rgba(var(--paper-rgb), 0.22);
  border-radius: 10px;
  background: rgba(var(--paper-rgb), 0.07);
}

.showcase-artifact-icon {
  width: 42px;
  height: 42px;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--paper-rgb), 0.25);
  border-radius: 9px;
}

.showcase-artifact-icon .flow-icon {
  width: 23px;
  height: 23px;
}

.showcase-artifact small {
  color: var(--line);
  font: 600 0.63rem/1.2 var(--mono);
  letter-spacing: 0.08em;
}

.showcase-artifact strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.2;
}

.showcase-artifact-decision {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.showcase-artifact-decision small {
  color: var(--muted);
}

.showcase-artifact-decision .showcase-artifact-icon {
  border-color: var(--line);
}

.showcase-artifact-arrow {
  color: var(--line);
  font: 600 0.9rem/1 var(--mono);
  text-align: center;
}

.showcase-flow-section {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.showcase-flow-heading {
  margin-bottom: 2.4rem;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  gap: 0.8rem 3rem;
  align-items: end;
}

.showcase-flow-heading .story-label {
  grid-column: 1 / -1;
}

.showcase-flow-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.showcase-flow-heading > p:last-child {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.showcase-paths > a {
  min-height: 570px;
}

.showcase-path-preview {
  width: 100%;
  margin: 1.6rem 0 0.25rem;
}

.showcase-path-flow {
  display: grid;
  grid-template-columns: minmax(58px, 1fr) auto minmax(58px, 1fr) auto minmax(58px, 1fr) auto minmax(58px, 1fr);
  align-items: center;
  gap: 0.4rem;
}

.showcase-path-flow > span {
  min-width: 0;
  min-height: 82px;
  padding: 0.7rem 0.4rem;
  display: grid;
  place-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.showcase-path-flow .flow-icon {
  width: 24px;
  height: 24px;
}

.showcase-path-flow small {
  color: var(--muted);
  font: 600 0.62rem/1.2 var(--mono);
  letter-spacing: 0.04em;
}

.showcase-path-flow > i,
.showcase-path-money > i {
  color: var(--muted);
  font: 600 0.85rem/1 var(--mono);
  font-style: normal;
  text-align: center;
}

.showcase-path-money {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.45rem;
}

.showcase-path-money > span {
  min-width: 0;
  min-height: 88px;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.showcase-path-money > span:last-of-type {
  background: var(--ink);
  color: white;
}

.showcase-path-money small {
  color: var(--muted);
  font: 600 0.59rem/1.25 var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.showcase-path-money > span:last-of-type small {
  color: var(--line);
}

.showcase-path-money span > strong {
  margin: 0;
  overflow-wrap: anywhere;
  font: 600 0.78rem/1.25 var(--mono);
}

.showcase-path-money > b {
  grid-column: 1 / -1;
  padding: 0.65rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--raised);
  font-size: 0.72rem;
}

.showcase-path-money em {
  font: 700 1rem/1 var(--mono);
  font-style: normal;
}

/* Investor story: supporting hierarchy around the shared visual components. */
.story-section-intro,
.story-visual-heading > p:last-child {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.story-section > .firmo-flow {
  margin-top: 2.5rem;
}

.story-origin-rule,
.story-buyer-value {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--raised);
}

.story-origin-rule > span,
.story-buyer-value > span,
.story-tool-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}

.story-origin-rule .flow-icon,
.story-buyer-value .flow-icon,
.story-tool-icon .flow-icon {
  width: 23px;
  height: 23px;
}

.story-origin-rule strong,
.story-buyer-value strong {
  display: block;
  font-size: 0.9rem;
}

.story-origin-rule p,
.story-buyer-value p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.story-visual-heading {
  margin-bottom: 2.5rem;
}

.story-visual-heading h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.story-fine-print {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.story-fine-print + .story-fine-print {
  margin-top: 0.4rem;
}

.story-pilot-copy {
  align-self: center;
}

.story-pilot-facts {
  margin: 2rem 0 0;
}

.story-pilot-facts > div {
  padding: 0.75rem 0;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.story-pilot-facts dt {
  color: var(--muted);
  font: 600 0.66rem/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-pilot-facts dd {
  margin: 0;
  font-weight: 600;
}

.story-pilot-target {
  min-width: 270px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  align-content: center;
  border-radius: 16px;
  background: var(--ink);
  color: white;
}

.story-pilot-target > span {
  color: var(--line);
  font: 600 0.68rem/1.2 var(--mono);
  letter-spacing: 0.08em;
}

.story-pilot-target > strong {
  margin-top: 1rem;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.72;
  letter-spacing: -0.08em;
}

.story-pilot-target > p {
  max-width: 17rem;
  margin: 1.2rem 0 0;
  color: var(--line);
  font-size: 0.82rem;
}

.story-tool-map {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.story-tool-card {
  min-width: 0;
  min-height: 230px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.story-tool-card > p {
  margin: 1rem 0 0.35rem;
  color: var(--muted);
  font: 600 0.65rem/1.2 var(--mono);
  letter-spacing: 0.07em;
}

.story-tool-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.story-tool-card > strong {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .showcase-hero { grid-template-columns: 1fr; min-height: 0; gap: 4.5rem; }
  .showcase-copy h1 { max-width: 10ch; }
  .showcase-deck-preview { width: min(680px, 100%); justify-self: center; }
  .showcase-flow-heading { grid-template-columns: 1fr; }
  .story-tool-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .showcase-header, .showcase-footer, .showcase-hero, .showcase-flow-section, .showcase-paths { width: min(100% - 2rem, 1240px); }
  .story-hero, .story-section, .story-grid { width: min(100% - 2rem, 1040px); }
  .showcase-header { min-height: 70px; }
  .showcase-header nav { gap: 0.9rem; font-size: 0.78rem; }
  .showcase-hero { padding: 3.75rem 0 4.5rem; }
  .showcase-copy h1 { font-size: clamp(3.15rem, 15vw, 4.7rem); }
  .showcase-actions { display: grid; grid-template-columns: 1fr; }
  .showcase-button { width: 100%; }
  .showcase-artifact-story { min-height: 0; padding: 1.5rem; }
  .showcase-flow-section { padding: 3.75rem 0; }
  .showcase-flow-heading { margin-bottom: 1.75rem; }
  .showcase-paths { grid-template-columns: 1fr; }
  .showcase-paths > a { min-height: 0; padding: 2.75rem 1.25rem; }
  .showcase-paths > a + a { border-top: 1px solid var(--line); border-left: 0; }
  .showcase-path-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-path-flow > i { display: none; }
  .showcase-path-money { grid-template-columns: 1fr; }
  .showcase-path-money > i { padding: 0.15rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid article { min-height: 0; padding-inline: 0; }
  .story-grid article:nth-child(odd) { border-right: 0; }
  .story-pilot { grid-template-columns: 1fr; }
  .story-pilot > span { grid-column: 1; }
  .story-pilot-target { min-width: 0; }
  .story-pilot-facts > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .story-tool-map { grid-template-columns: 1fr; }
  .story-tool-card { min-height: 200px; }
  .story-origin-rule, .story-buyer-value { grid-template-columns: 1fr; }
  .story-tool-list p { grid-template-columns: 1fr; gap: 0.35rem; }
  .showcase-footer { min-height: 100px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-button, .showcase-deck-preview { transition: none; }
}
