:root {
  --paper: #f6f3eb;
  --paper-strong: #fffaf0;
  --ink: #17231f;
  --muted: #62706a;
  --line: rgba(23, 35, 31, 0.14);
  --forest: #173f35;
  --moss: #5a7c42;
  --teal: #2f8f83;
  --amber: #d59b3d;
  --coral: #cc6b5a;
  --sky: #527c9b;
  --shadow: 0 24px 70px rgba(23, 35, 31, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.site-hero {
  position: relative;
  min-height: 100vh;
  padding: 18px clamp(18px, 4vw, 56px) 56px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(23, 63, 53, 0.95), rgba(31, 80, 66, 0.82)),
    radial-gradient(circle at 78% 18%, rgba(213, 155, 61, 0.32), transparent 28%),
    var(--forest);
  color: #fffaf0;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, var(--paper), rgba(246, 243, 235, 0));
  pointer-events: none;
}

.top-nav {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 8px;
  background: rgba(23, 63, 53, 0.72);
  backdrop-filter: blur(18px);
}

.nav-mark {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(255, 250, 240, 0.78);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 250, 240, 0.12);
  color: #fffaf0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 210px);
  margin: 0 auto;
  padding: 86px 0 34px;
}

.kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--amber);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8.5vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 18px;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.38;
}

.hero-thesis {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.74);
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 250, 240, 0.3);
  border-radius: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: var(--amber);
  background: var(--amber);
  color: #1f241c;
}

.button.secondary {
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
}

.hero-visual {
  min-height: 460px;
}

.journey-orbit {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 50%;
  background:
    conic-gradient(from 212deg, rgba(213, 155, 61, 0.22), rgba(47, 143, 131, 0.18), rgba(204, 107, 90, 0.12), rgba(213, 155, 61, 0.22)),
    rgba(255, 250, 240, 0.05);
  box-shadow: inset 0 0 80px rgba(255, 250, 240, 0.08), var(--shadow);
}

.journey-orbit::before {
  content: "ritual";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 50%;
  color: rgba(255, 250, 240, 0.72);
  font-size: 28px;
  font-style: italic;
}

.orbit-step {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 126px;
  min-height: 88px;
  padding: 13px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.13);
  backdrop-filter: blur(12px);
  text-align: center;
}

.orbit-step span {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 38px;
  font-weight: 850;
  line-height: 1;
}

.orbit-step small {
  color: rgba(255, 250, 240, 0.72);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
}

.step-open {
  left: -18px;
  top: 54px;
}

.step-tree {
  right: -8px;
  top: 24px;
}

.step-success {
  right: 18px;
  bottom: 42px;
}

.step-trial {
  left: 26px;
  bottom: 16px;
}

.orbit-line {
  position: absolute;
  height: 2px;
  background: rgba(255, 250, 240, 0.28);
  transform-origin: left center;
}

.line-a {
  left: 100px;
  top: 116px;
  width: 200px;
  transform: rotate(-7deg);
}

.line-b {
  right: 72px;
  top: 132px;
  width: 186px;
  transform: rotate(72deg);
}

.line-c {
  left: 95px;
  bottom: 104px;
  width: 184px;
  transform: rotate(-13deg);
}

.metric-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.62);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.metric {
  padding: 20px 22px;
  background: rgba(255, 250, 240, 0.82);
}

.metric strong {
  display: block;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.report-section {
  padding: clamp(58px, 9vw, 110px) clamp(18px, 4vw, 56px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.scope-band,
.story-band,
.next-band {
  background: var(--paper-strong);
}

.monetization-band {
  background: #edf2ed;
}

.evidence-band {
  background: #f1efe6;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

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

h2 {
  margin-bottom: 15px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.scope-copy p,
.panel p,
.next-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.scope-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.scope-pills span,
.evidence-label,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.evidence-label {
  border-color: rgba(47, 143, 131, 0.24);
  background: rgba(47, 143, 131, 0.09);
  color: var(--teal);
}

.evidence-label.muted {
  border-color: rgba(213, 155, 61, 0.25);
  background: rgba(213, 155, 61, 0.1);
  color: #91652a;
}

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

.monetization-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(320px, 1fr);
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.7);
  box-shadow: 0 14px 42px rgba(23, 35, 31, 0.08);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.funnel-chart {
  display: grid;
  gap: 13px;
}

.funnel-row,
.bar-row {
  display: grid;
  gap: 8px;
}

.row-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 750;
}

.row-note {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.bar-track {
  width: 100%;
  height: 15px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 31, 0.1);
  border-radius: 999px;
  background: rgba(23, 35, 31, 0.08);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--moss));
  transform-origin: left center;
  animation: grow 700ms ease both;
}

.bar-fill.amber {
  background: linear-gradient(90deg, var(--amber), #9a7140);
}

.bar-fill.coral {
  background: linear-gradient(90deg, var(--coral), #9a4d43);
}

.bar-fill.sky {
  background: linear-gradient(90deg, var(--sky), var(--teal));
}

@keyframes grow {
  from {
    transform: scaleX(0.06);
  }
  to {
    transform: scaleX(1);
  }
}

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

.insight {
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 250, 240, 0.6);
}

.insight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.insight p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: start;
}

.story-list {
  display: grid;
  gap: 10px;
}

.story-button {
  width: 100%;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.story-button:hover,
.story-button.active {
  transform: translateY(-1px);
  border-color: rgba(47, 143, 131, 0.42);
  background: rgba(47, 143, 131, 0.08);
}

.story-button strong {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.story-button .mini-bar {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 35, 31, 0.08);
}

.story-button .mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.story-detail {
  position: sticky;
  top: 88px;
  min-height: 420px;
  padding: 28px;
  border: 1px solid rgba(23, 35, 31, 0.12);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.story-stats div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.story-stats strong {
  display: block;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
}

.story-stats span {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
}

.representative-list,
.timeline-stack,
.trial-list {
  display: grid;
  gap: 12px;
}

.rep,
.timeline-card,
.trial-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 243, 235, 0.72);
}

.rep strong,
.timeline-card strong,
.trial-card strong {
  display: block;
  margin-bottom: 7px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.milestones,
.timeline-events {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.milestones span,
.timeline-events span {
  padding: 5px 7px;
  border: 1px solid rgba(23, 35, 31, 0.1);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.7);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.35;
}

.platform-table {
  display: grid;
  gap: 11px;
}

.platform-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
}

.platform-bars {
  display: grid;
  gap: 6px;
}

.platform-line {
  display: grid;
  grid-template-columns: 78px 1fr 70px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
}

.toggle-group {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toggle-group button {
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.toggle-group button.active {
  background: var(--forest);
  color: #fffaf0;
}

.trial-panel {
  background: #173f35;
  color: #fffaf0;
}

.trial-panel p,
.trial-panel .row-note,
.trial-panel .timeline-events span {
  color: rgba(255, 250, 240, 0.74);
}

.trial-panel .trial-card {
  border-color: rgba(255, 250, 240, 0.18);
  background: rgba(255, 250, 240, 0.08);
}

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

.next-grid article {
  padding: 22px;
  border-top: 4px solid var(--teal);
  background: rgba(255, 250, 240, 0.68);
}

.next-grid span {
  color: var(--coral);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.table-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.table-controls select,
.table-controls input {
  min-width: 180px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

.evidence-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.evidence-table th,
.evidence-table td {
  padding: 12px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.evidence-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f6f3eb;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.evidence-table tbody tr:hover {
  background: rgba(47, 143, 131, 0.06);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fffaf0;
}

.site-footer p {
  margin: 6px 0 0;
  max-width: 720px;
  color: rgba(255, 250, 240, 0.66);
}

.site-footer a {
  color: #fffaf0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 750;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .split-panels,
  .value-grid,
  .monetization-grid,
  .story-layout,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .journey-orbit {
    max-width: 340px;
  }

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

  .story-detail {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-hero {
    min-height: auto;
    padding-inline: 14px;
  }

  .top-nav,
  .hero-grid,
  .metric-strip {
    max-width: calc(100vw - 28px);
  }

  .hero-copy,
  .hero-subtitle,
  .hero-thesis,
  .kicker {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .kicker {
    font-size: 10px;
    line-height: 1.45;
  }

  .top-nav {
    position: static;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(38px, 12.5vw, 54px);
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 310px;
  }

  .journey-orbit {
    max-width: 286px;
  }

  .orbit-step {
    width: 92px;
    min-height: 74px;
  }

  .orbit-step span {
    font-size: 28px;
  }

  .step-open {
    left: 2px;
    top: 42px;
  }

  .step-tree {
    right: 2px;
    top: 34px;
  }

  .step-success {
    right: 12px;
    bottom: 28px;
  }

  .step-trial {
    left: 14px;
    bottom: 16px;
  }

  .line-a {
    left: 82px;
    top: 95px;
    width: 126px;
  }

  .line-b {
    right: 68px;
    top: 118px;
    width: 124px;
  }

  .line-c {
    left: 72px;
    bottom: 86px;
    width: 132px;
  }

  .journey-orbit::before {
    width: 96px;
    height: 96px;
    font-size: 22px;
  }

  .metric-strip,
  .insight-grid,
  .story-stats {
    grid-template-columns: 1fr;
  }

  .report-section {
    padding-inline: 14px;
  }

  .panel {
    padding: 18px;
  }

  .panel-heading {
    display: grid;
  }

  .platform-row,
  .platform-line {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
