:root {
  --ink: #13212a;
  --muted: #5c6b73;
  --paper: #f7f9f7;
  --white: #ffffff;
  --line: rgba(19, 33, 42, 0.12);
  --teal: #0f8b8d;
  --green: #2f9d62;
  --coral: #e35d44;
  --amber: #d69b2d;
  --navy: #172b3a;
  --shadow: 0 24px 70px rgba(18, 39, 51, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.intro-lock {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-elevated="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(19, 33, 42, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.hero-actions,
.scenario-results,
.scenario-header {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--white);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  font-size: 0.78rem;
  letter-spacing: 0;
  overflow: hidden;
}

.site-header[data-elevated="true"] .brand-mark {
  background: var(--white);
  border-color: rgba(15, 139, 141, 0.18);
  box-shadow: 0 8px 24px rgba(19, 33, 42, 0.12);
}

.brand-mark img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.desktop-nav {
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a {
  opacity: 0.84;
}

.desktop-nav a:hover {
  opacity: 1;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: 72px;
  left: 12px;
  right: 12px;
  z-index: 29;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 14px;
  font-weight: 800;
}

.pharmacy-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #09161e;
  perspective: 1400px;
  animation: introExit 950ms ease 7.35s forwards;
}

.pharmacy-intro.skip {
  animation: introExit 420ms ease forwards;
}

.intro-sequence,
.intro-frame,
.intro-vignette,
.motion-flare,
.intro-copy,
.intro-skip {
  position: absolute;
}

.intro-sequence,
.intro-frame {
  inset: 0;
}

.intro-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
  opacity: 0;
  transform-origin: 50% 56%;
  will-change: transform, opacity;
}

.frame-closed {
  opacity: 1;
  animation: frameClosed 7.35s ease-in-out forwards;
}

.frame-open {
  animation: frameOpen 7.35s ease-in-out forwards;
}

.frame-inside {
  animation: frameInside 7.35s ease-in-out forwards;
}

.intro-vignette {
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 54%, transparent 0 28%, rgba(5, 12, 16, 0.12) 52%, rgba(5, 12, 16, 0.62) 100%),
    linear-gradient(90deg, rgba(5, 12, 16, 0.58), transparent 42%, rgba(5, 12, 16, 0.18)),
    linear-gradient(0deg, rgba(5, 12, 16, 0.58), transparent 46%);
  animation: vignetteOpen 7.05s ease forwards;
}

.motion-flare {
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.18), rgba(119, 234, 216, 0.08) 18%, transparent 42%);
  opacity: 0;
  mix-blend-mode: screen;
  animation: cameraFlare 7.35s ease forwards;
}

.intro-copy {
  left: clamp(18px, 6vw, 78px);
  bottom: clamp(24px, 8vh, 86px);
  z-index: 8;
  max-width: 760px;
  animation: introCopyMove 6.75s ease forwards;
}

.intro-logo {
  width: min(330px, 68vw);
  margin: 0 0 8px;
  border-radius: 8px;
  opacity: 0.92;
  filter: drop-shadow(0 24px 58px rgba(0, 0, 0, 0.42));
}

.intro-copy h2 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.5rem);
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

.intro-skip {
  right: clamp(16px, 4vw, 54px);
  bottom: clamp(16px, 4vw, 44px);
  z-index: 9;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

@keyframes frameClosed {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  36% {
    transform: scale(1.18);
    opacity: 1;
  }
  58% {
    transform: scale(1.34);
    opacity: 0;
  }
  100% {
    transform: scale(1.34);
    opacity: 0;
  }
}

@keyframes frameOpen {
  0%,
  22% {
    transform: scale(1.08);
    opacity: 0;
  }
  42% {
    transform: scale(1.22);
    opacity: 1;
  }
  72% {
    transform: scale(1.58);
    opacity: 1;
  }
  92% {
    transform: scale(1.82);
    opacity: 0;
  }
  100% {
    transform: scale(1.82);
    opacity: 0;
  }
}

@keyframes frameInside {
  0%,
  58% {
    transform: scale(1.04);
    opacity: 0;
  }
  78% {
    transform: scale(1.16);
    opacity: 1;
  }
  100% {
    transform: scale(1.28);
    opacity: 1;
  }
}

@keyframes cameraFlare {
  0%,
  38%,
  78%,
  100% {
    opacity: 0;
  }
  58% {
    opacity: 0.12;
  }
}

@keyframes vignetteOpen {
  100% {
    background:
      radial-gradient(circle at 50% 54%, transparent 0 40%, rgba(5, 12, 16, 0.08) 64%, rgba(5, 12, 16, 0.52) 100%),
      linear-gradient(90deg, rgba(5, 12, 16, 0.52), transparent 46%, rgba(5, 12, 16, 0.12)),
      linear-gradient(0deg, rgba(5, 12, 16, 0.5), transparent 52%);
  }
}

@keyframes introCopyMove {
  0%,
  68% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-18px);
    opacity: 0;
  }
}

@keyframes introExit {
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 6vw, 78px) 60px;
  overflow: hidden;
  color: var(--white);
}

.hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 22, 30, 0.78), rgba(9, 22, 30, 0.32) 52%, rgba(9, 22, 30, 0.12)),
    linear-gradient(0deg, rgba(9, 22, 30, 0.64), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark-section .eyebrow {
  color: #77ead8;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 880px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.9vw, 4.7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  color: var(--white);
  background: var(--coral);
}

.secondary-action {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 42px;
  z-index: 2;
  width: min(310px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 21, 28, 0.58);
  backdrop-filter: blur(18px);
}

.panel-kicker {
  display: block;
  color: #77ead8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 2.2rem;
  line-height: 1;
}

.hero-panel span:last-child {
  color: rgba(255, 255, 255, 0.75);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  min-height: 190px;
  padding: clamp(22px, 3vw, 40px);
  background: var(--white);
}

.metric span {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
}

.metric small {
  margin-left: 4px;
  color: var(--green);
  font-weight: 800;
}

.metric p {
  max-width: 250px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: clamp(74px, 9vw, 128px) clamp(20px, 6vw, 78px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.section-copy p,
.finance-copy p,
.closing p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.thesis-grid article,
.timeline-item,
.scenario-card,
.service-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.thesis-grid article {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.card-mark {
  width: 38px;
  height: 38px;
  margin: 0 0 14px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.8;
}

.thesis-grid strong,
.thesis-grid span {
  display: block;
}

.thesis-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.image-stage {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-stage img,
.finance-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 40px;
}

.market-section {
  background: #eef5f0;
}

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

.market-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(19, 33, 42, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.08);
}

.market-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.market-card p {
  color: var(--muted);
  line-height: 1.6;
}

.service-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
}

.service-tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.service-tab {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.service-tab.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.service-panel {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 26px;
  min-height: 380px;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: 0 16px 46px rgba(19, 33, 42, 0.08);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--green));
  font-size: 1.3rem;
  font-weight: 900;
}

.service-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.service-panel ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 700;
}

.service-panel li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.dark-section {
  color: var(--white);
  background: var(--navy);
}

.finance-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 460px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  margin-bottom: 38px;
}

.finance-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.scenario-card {
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 22px 66px rgba(0, 0, 0, 0.24);
}

.scenario-header {
  justify-content: space-between;
  margin-bottom: 28px;
}

.scenario-header span,
.scenario-card label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scenario-header strong {
  color: var(--teal);
  font-size: 1.5rem;
}

.scenario-card input {
  width: 100%;
  margin: 12px 0 26px;
  accent-color: var(--coral);
}

.scenario-results {
  gap: 10px;
}

.scenario-results div {
  flex: 1;
  min-height: 116px;
  padding: 14px;
  border-radius: 8px;
  background: #eef6f3;
}

.scenario-results span,
.scenario-results small {
  display: block;
}

.scenario-results span {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 900;
}

.scenario-results small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.finance-image {
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.roadmap {
  background: #edf3f1;
}

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

.timeline-item {
  min-height: 250px;
  padding: 24px;
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--coral);
  font-weight: 900;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.6;
}

.risk-section {
  background: var(--white);
}

.risk-list {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

.risk-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  overflow: hidden;
}

.risk-list summary {
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.risk-list details[open] summary {
  color: var(--teal);
}

.risk-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.model-lab {
  background: var(--white);
}

.model-grid,
.diagnosis-layout,
.commercial-grid,
.risk-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(100%, 1120px);
  margin: -12px 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip span {
  min-height: 92px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  line-height: 1.35;
}

.model-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.model-pill,
.pain-point,
.segment-card,
.funnel-step,
.roadmap-step,
.risk-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.model-pill {
  min-height: 44px;
  padding: 0 16px;
  font-weight: 900;
}

.model-pill.active,
.risk-button.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.model-stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.model-stage > img,
.commercial-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.model-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: rgba(8, 21, 28, 0.68);
  backdrop-filter: blur(14px);
}

.model-card span,
.diagnosis-panel .panel-kicker,
.funnel-detail .eyebrow,
.risk-panel > span {
  display: inline-block;
  margin-bottom: 10px;
  color: #77ead8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.model-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.diagnosis-section,
.segment-section {
  background: #eef5f0;
}

.diagnosis-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pain-point {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 18px;
  text-align: left;
  font-weight: 900;
}

.pain-point span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.pain-point.active {
  border-color: var(--teal);
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.12);
}

.diagnosis-panel,
.segment-detail,
.funnel-detail,
.roadmap-panel,
.risk-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.08);
}

.diagnosis-panel .panel-kicker,
.funnel-detail .eyebrow,
.risk-panel > span {
  color: var(--teal);
}

.diagnosis-panel p,
.segment-detail p,
.funnel-detail p,
.roadmap-panel p,
.risk-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.impact-meter,
.segment-bars {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.impact-meter span,
.segment-bars span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.impact-meter div,
.segment-bars span {
  position: relative;
  overflow: hidden;
  min-height: 12px;
  border-radius: 999px;
  background: #dce9e3;
}

.segment-bars span {
  display: block;
  padding-top: 26px;
  background: transparent;
}

.impact-meter i,
.segment-bars i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transition: width 320ms ease;
}

.segment-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.segment-card {
  min-height: 210px;
  padding: 24px;
  text-align: left;
}

.segment-card span,
.timeline-item span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.segment-card strong,
.segment-card small {
  display: block;
}

.segment-card strong {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.segment-card small {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.segment-card.active {
  border-color: var(--green);
  box-shadow: 0 20px 54px rgba(19, 33, 42, 0.13);
}

.segment-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 28px;
  margin-top: 18px;
}

.services-section {
  background: var(--white);
}

.seal-section {
  background: #eef5f0;
}

.seal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.process-cards article,
.indicator-grid article {
  border: 1px solid rgba(19, 33, 42, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.08);
}

.process-cards article {
  min-height: 170px;
  padding: 18px;
}

.process-cards span,
.indicator-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-cards strong,
.process-cards small,
.indicator-grid strong {
  display: block;
}

.process-cards small {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.seal-visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.seal-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.seal-visual div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(9, 22, 30, 0.72);
  backdrop-filter: blur(14px);
}

.seal-visual span,
.seal-visual strong {
  display: block;
}

.seal-visual span {
  margin-bottom: 8px;
  color: #77ead8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.commercial-section {
  overflow: hidden;
}

.commercial-grid {
  margin-bottom: 34px;
}

.commercial-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.funnel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.funnel-step {
  min-height: 160px;
  padding: 18px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}

.funnel-step span,
.funnel-step strong,
.funnel-step small {
  display: block;
}

.funnel-step span {
  color: #77ead8;
  font-weight: 900;
}

.funnel-step strong {
  margin: 20px 0 8px;
  font-size: 1.05rem;
}

.funnel-step small {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.funnel-step.active {
  background: var(--teal);
}

.funnel-detail {
  margin-top: 12px;
  color: var(--ink);
}

.roadmap-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.roadmap-step {
  min-height: 72px;
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 900;
}

.roadmap-step.active {
  color: var(--white);
  border-color: var(--coral);
  background: var(--coral);
}

.roadmap-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  gap: 26px;
}

.roadmap-panel span {
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-panel li {
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef5f0;
  font-weight: 800;
}

.risk-dashboard {
  align-items: start;
}

.risk-list {
  max-width: none;
}

.risk-button {
  min-height: 58px;
  padding: 0 18px;
  text-align: left;
  font-weight: 900;
}

.risk-panel strong {
  display: block;
  margin: 24px 0 8px;
  color: var(--green);
  text-transform: uppercase;
}

.indicator-section {
  background: var(--white);
}

.indicator-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.indicator-grid article {
  min-height: 210px;
  padding: 22px;
}

.indicator-grid strong {
  font-size: 1.02rem;
  line-height: 1.45;
}

.financial-page {
  background: #f4f8f5;
}

.financial-page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(19, 33, 42, 0.1);
  backdrop-filter: blur(18px);
}

.financial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: 142px clamp(20px, 6vw, 78px) 64px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 51, 45, 0.88), rgba(15, 139, 141, 0.68)),
    url("assets/farma-rural-ecosistema.png") center / cover;
}

.financial-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.financial-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.scenario-selector {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 21, 28, 0.48);
  backdrop-filter: blur(14px);
}

.scenario-choice {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  cursor: pointer;
}

.scenario-choice.active {
  border-color: #77ead8;
  background: var(--teal);
}

.financial-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.financial-kpi {
  min-height: 170px;
  padding: clamp(22px, 3vw, 38px);
  background: var(--white);
}

.financial-kpi span,
.financial-kpi small {
  display: block;
}

.financial-kpi span {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.financial-kpi small {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.financial-dashboard {
  background: var(--white);
}

.finance-narrative {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  justify-items: center;
  background: #13212a;
  color: var(--white);
  text-align: center;
}

.finance-story {
  max-width: 1040px;
}

.finance-story p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.75;
}

.scenario-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
  width: min(980px, 100%);
  text-align: left;
}

.scenario-facts article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.scenario-facts span,
.scenario-facts strong,
.scenario-facts small {
  display: block;
}

.scenario-facts span {
  color: #77ead8;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scenario-facts strong {
  margin-top: 8px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.scenario-facts small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.assumption-section,
.cost-section {
  background: #eef5f0;
}

.assumption-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.assumption-grid article,
.unit-strip article,
.break-even-card {
  border: 1px solid rgba(19, 33, 42, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.08);
}

.assumption-grid article {
  min-height: 220px;
  padding: 24px;
}

.assumption-grid span,
.unit-strip span,
.break-even-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.assumption-grid strong,
.unit-strip strong,
.break-even-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.assumption-grid small,
.unit-strip small,
.break-even-card p {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.revenue-logic {
  background: var(--white);
}

.finance-explain-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.revenue-waterfall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.08);
}

.revenue-visual {
  display: grid;
  gap: 12px;
}

.prudence-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 139, 141, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: #eef5f0;
  font-weight: 850;
  line-height: 1.5;
}

.revenue-waterfall div {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: max(70px, var(--h));
  padding: 14px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(180deg, var(--teal), var(--green));
}

.revenue-waterfall .total {
  background: linear-gradient(180deg, var(--coral), #b94733);
}

.revenue-waterfall span {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.revenue-waterfall strong {
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
}

.statement-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.08);
}

.finance-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.finance-table th,
.finance-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.finance-table th:first-child,
.finance-table td:first-child {
  text-align: left;
}

.finance-table thead th {
  color: var(--teal);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.finance-table tbody th {
  color: var(--ink);
}

.finance-table td {
  color: var(--ink);
  font-weight: 800;
}

.finance-table .negative {
  color: var(--coral);
}

.finance-chart-grid,
.cash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.chart-card,
.scenario-detail {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.08);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.chart-header span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.combo-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 16px;
  min-height: 320px;
  padding-top: 28px;
}

.combo-chart div {
  position: relative;
  height: 280px;
  padding-bottom: 34px;
}

.combo-chart i,
.combo-chart b {
  position: absolute;
  bottom: 34px;
  width: 30%;
  border-radius: 8px 8px 0 0;
}

.combo-chart i {
  left: 18%;
  height: max(10px, var(--rev));
  background: linear-gradient(180deg, var(--teal), var(--green));
}

.combo-chart b {
  right: 18%;
  height: max(8px, var(--ebitda));
  background: var(--coral);
}

.combo-chart span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.chart-legend {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.chart-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
}

.legend-revenue {
  background: var(--teal);
}

.legend-ebitda {
  background: var(--coral);
}

.pharmacy-growth {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  min-height: 300px;
}

.pharmacy-growth span {
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  min-width: 54px;
  min-height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--green));
  font-weight: 900;
}

.pharmacy-growth small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
}

.unit-economics,
.scenario-section {
  background: #eef5f0;
}

.cost-stack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(19, 33, 42, 0.08);
}

.cost-stack div {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  min-height: 290px;
  color: var(--ink);
}

.cost-stack span {
  color: var(--muted);
  font-weight: 900;
}

.cost-stack strong {
  font-size: 1rem;
}

.cost-stack i {
  align-self: end;
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--teal), var(--green));
}

.unit-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.unit-strip article {
  min-height: 170px;
  padding: 22px;
}

.break-even-card {
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
}

.break-even-card strong {
  color: var(--coral);
}

.revenue-build {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.revenue-build article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.revenue-build span {
  display: block;
  margin-bottom: 30px;
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.revenue-build p {
  color: var(--muted);
  line-height: 1.6;
}

.cash-section {
  background: var(--navy);
  color: var(--white);
}

.cash-section .section-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.cash-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
}

.cash-timeline div {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.cash-timeline .positive {
  background: rgba(15, 139, 141, 0.38);
}

.cash-timeline span,
.cash-timeline strong,
.cash-timeline small {
  display: block;
}

.cash-timeline span {
  color: #77ead8;
  font-weight: 900;
}

.cash-timeline strong {
  margin-top: 42px;
  font-size: clamp(1.3rem, 2vw, 2.1rem);
}

.cash-timeline small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.scenario-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 28px;
  margin-bottom: 18px;
}

.scenario-detail p {
  color: var(--muted);
  line-height: 1.7;
}

.scenario-bars {
  display: grid;
  gap: 18px;
  align-content: center;
}

.scenario-bars span {
  color: var(--ink);
  font-weight: 900;
}

.finance-narrative .scenario-bars span {
  color: var(--white);
}

.scenario-bars i {
  display: block;
  height: 14px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transition: width 260ms ease;
}

.sensitivity-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.sensitivity-grid span,
.sensitivity-grid b {
  min-height: 58px;
  padding: 16px;
  background: var(--white);
}

.sensitivity-grid span {
  color: var(--muted);
  font-weight: 900;
}

.sensitivity-grid b {
  color: var(--teal);
  font-size: 1.15rem;
}

.closing {
  padding: clamp(70px, 8vw, 110px) 20px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 139, 141, 0.92), rgba(47, 157, 98, 0.9)),
    var(--teal);
}

.closing-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.closing-logo {
  width: min(460px, 82vw);
  margin: 0 auto 28px;
  border-radius: 8px;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.26));
}

.closing p {
  color: rgba(255, 255, 255, 0.82);
}

.closing .eyebrow {
  color: #d9fff6;
}

.pitch-modal {
  width: min(1080px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: clamp(22px, 2.6vw, 34px);
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.pitch-modal h2 {
  max-width: 920px;
  margin-bottom: 14px;
  padding-right: 44px;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  line-height: 1.05;
}

.pitch-modal::backdrop {
  background: rgba(9, 22, 30, 0.68);
  backdrop-filter: blur(8px);
}

.pitch-scroll {
  display: grid;
  gap: 10px;
}

.pitch-scroll p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  line-height: 1.5;
}

.pitch-scroll p:last-child {
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--ink);
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 560ms ease, opacity 560ms ease;
}

.reveal.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .intro-copy {
    right: 18px;
    max-width: none;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero {
    min-height: 900px;
    align-items: center;
    padding-top: 110px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

	  .metric-band,
	  .split,
	  .finance-shell,
	  .timeline,
	  .market-grid,
	  .model-grid,
	  .diagnosis-layout,
	  .proof-strip,
	  .commercial-grid,
	  .risk-dashboard,
	  .segment-board,
	  .funnel,
	  .roadmap-rail,
	  .seal-grid,
	  .process-cards,
	  .indicator-grid,
	  .finance-narrative,
	  .assumption-grid,
	  .finance-explain-grid,
	  .revenue-waterfall,
	  .cost-stack,
	  .unit-strip {
	    grid-template-columns: 1fr 1fr;
	  }

  .financial-hero,
  .finance-chart-grid,
  .cash-grid,
  .revenue-build,
  .cash-timeline,
  .scenario-detail,
  .finance-narrative,
  .finance-explain-grid {
    grid-template-columns: 1fr;
  }

	  .split,
	  .finance-shell,
	  .service-layout,
	  .segment-detail,
	  .roadmap-panel {
	    grid-template-columns: 1fr;
	  }

  .thesis-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .intro-frame {
    object-position: center;
  }

  .intro-copy {
    bottom: 86px;
  }

  .site-header {
    height: 66px;
    padding-inline: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .intro-logo {
    width: min(270px, 78vw);
  }

  .hero {
    min-height: 820px;
    padding: 104px 18px 34px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.75rem);
  }

	  .metric-band,
	  .timeline,
	  .market-grid,
	  .model-grid,
	  .diagnosis-layout,
	  .diagnosis-map,
	  .proof-strip,
	  .commercial-grid,
	  .risk-dashboard,
	  .segment-board,
	  .segment-detail,
	  .funnel,
	  .roadmap-rail,
	  .seal-grid,
	  .process-cards,
	  .indicator-grid,
	  .finance-narrative,
	  .assumption-grid,
	  .finance-explain-grid,
	  .revenue-waterfall,
	  .cost-stack,
	  .unit-strip,
	  .financial-hero,
	  .financial-kpis,
	  .finance-chart-grid,
	  .cash-grid,
	  .revenue-build,
	  .cash-timeline,
	  .scenario-detail,
	  .sensitivity-grid,
	  .scenario-results,
	  .service-panel {
	    grid-template-columns: 1fr;
	  }

  .metric {
    min-height: 160px;
  }

  .service-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .service-panel {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pharmacy-intro,
  .pharmacy-intro *,
  .reveal {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }
}
