/* Lefori Labs 2026 website */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #0b2434;
  --ink-deep: #061a27;
  --ink-soft: #17394d;
  --paper: #f4f1e9;
  --paper-light: #fbfaf6;
  --white: #ffffff;
  --orange: #f47a2a;
  --orange-dark: #d85d13;
  --orange-soft: #fff0e4;
  --pharma: #087a67;
  --pharma-dark: #03594c;
  --pharma-soft: #dff4ef;
  --health: #2e6bea;
  --health-dark: #174aaf;
  --health-soft: #e8efff;
  --green: #27b273;
  --red: #d9534f;
  --muted: #62727c;
  --line: rgba(11, 36, 52, 0.13);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(6, 26, 39, 0.13);
  --shadow-soft: 0 14px 40px rgba(6, 26, 39, 0.08);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --nav-h: 78px;
  --container: 1240px;
  --display: "Instrument Sans", sans-serif;
  --body: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

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

button {
  border: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(244, 122, 42, 0.35);
  outline-offset: 3px;
}

.btn--small {
  min-height: 42px;
  padding-inline: 1rem;
  font-size: 0.88rem;
}

.btn--large {
  min-height: 56px;
  padding-inline: 1.5rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--orange);
  color: var(--ink-deep);
  box-shadow: 0 10px 24px rgba(244, 122, 42, 0.22);
}

.btn--primary:hover {
  background: #ff8d41;
  box-shadow: 0 14px 30px rgba(244, 122, 42, 0.3);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.btn--light:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--pharma {
  background: var(--pharma);
  color: var(--white);
}

.btn--health {
  background: var(--health);
  color: var(--white);
}

.btn--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 22px;
  height: 2px;
  background: currentColor;
}

.eyebrow--light {
  color: #ff9b5c;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal--delay-1 {
  transition-delay: 110ms;
}

.reveal--delay-2 {
  transition-delay: 220ms;
}

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

/* Navigation */
.nav {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 26, 39, 0.86);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.8);
  transition: height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav.scrolled {
  height: 70px;
  background: rgba(6, 26, 39, 0.96);
  box-shadow: 0 10px 30px rgba(6, 26, 39, 0.14);
}

.nav__inner {
  width: min(var(--container), calc(100% - 80px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  width: 96px;
  height: 52px;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--white);
}

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

.nav__links,
.nav__actions {
  display: flex;
  align-items: center;
}

.nav__links {
  gap: 2rem;
}

.nav__links a,
.nav__text-link {
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.nav__links a:hover,
.nav__links a.is-active,
.nav__text-link:hover {
  color: var(--white);
}

.nav__links a.is-active {
  position: relative;
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.nav__actions {
  gap: 1.1rem;
}

.nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
}

.nav__mobile {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  padding: calc(var(--nav-h) + 88px) 0 96px;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -230px;
  top: -150px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.025), 0 0 0 180px rgba(255, 255, 255, 0.015);
}

.hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.19;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.hero__content h1 {
  max-width: 700px;
  margin: 1.35rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6.4vw, 6.7rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.96;
}

.hero__content h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero__lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero__proof span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: 1px;
}

.hero__visual {
  position: relative;
  padding: 46px 24px 42px 10px;
}

.system-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: #07131d;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.38);
  transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
}

.system-window__bar {
  min-height: 48px;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.live-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #9de0bd;
}

.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #51cf8c;
  box-shadow: 0 0 0 4px rgba(81, 207, 140, 0.15);
}

.system-window__media {
  margin: 0 10px 10px;
  overflow: hidden;
  border-radius: 16px;
  background: #02080d;
}

.system-window__media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero__signal {
  position: absolute;
  z-index: 2;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 48, 65, 0.88);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.hero__signal small,
.hero__signal span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
}

.hero__signal--bottom {
  bottom: 0;
  left: -24px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
}

.hero__signal--bottom div {
  display: flex;
  flex-direction: column;
}

.hero__signal--bottom strong {
  font-size: 0.75rem;
}

.signal-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white) !important;
  font-size: 0.9rem !important;
}

/* Trust strip */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip__grid > div {
  min-height: 116px;
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.trust-strip__grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  font-family: var(--display);
  font-size: 0.92rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.75rem;
}

/* Product chapters */
.products {
  padding: 130px 0;
  background: var(--paper-light);
}

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

.section-intro h2,
.pricing__header h2,
.contact__content h2,
.platform__intro h2 {
  max-width: 820px;
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.6vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.05;
}

.section-intro > p,
.pricing__header > p,
.platform__intro > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.product-chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 760px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.product-chapter__content {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vw, 82px);
}

.product-number {
  margin-bottom: 2rem;
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-logo {
  width: 185px;
  height: 58px;
  margin-bottom: 1.6rem;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.health-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.7rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}

.health-brand img {
  width: 50px;
  height: 50px;
}

.product-chapter h3 {
  max-width: 520px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.3vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.08;
}

.product-chapter__content > p {
  max-width: 560px;
  margin-top: 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

.capability-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.capability-list li {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.capability-list strong {
  font-size: 0.81rem;
}

.capability-list span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.product-chapter__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}

.product-chapter--pharma .product-chapter__content {
  order: 2;
}

.product-chapter--pharma .product-number {
  color: var(--pharma);
}

.product-chapter--health .product-number {
  color: var(--health);
}

.product-stage {
  position: relative;
  min-width: 0;
  padding: clamp(32px, 5vw, 70px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 34px 34px;
}

.product-stage--shop {
  background: #ef8b48;
}

.product-stage--pharma {
  background: #087a67;
}

.product-stage--health {
  background: #2e6bea;
}

.mini-app,
.batch-window,
.care-window {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 34px 70px rgba(6, 26, 39, 0.25);
}

.mini-app {
  min-height: 480px;
  display: grid;
  grid-template-columns: 68px 1fr;
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.mini-app__rail {
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  background: var(--ink-deep);
}

.mini-mark {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 0.8rem;
  place-items: center;
  border-radius: 9px;
  background: var(--orange);
  color: var(--ink-deep);
  font-family: var(--display);
  font-weight: 800;
}

.mini-app__rail i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-app__rail i.is-active {
  background: rgba(244, 122, 42, 0.88);
}

.mini-app__main {
  min-width: 0;
  padding: 1.5rem;
  background: #f6f8fa;
}

.mini-app__header,
.chart-panel__title,
.batch-window__header,
.care-window__top,
.patient-card,
.care-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mini-app__header > div,
.batch-window__header > div,
.care-window__top > div,
.patient-card > div:not(.patient-avatar) {
  display: flex;
  flex-direction: column;
}

.mini-app small,
.batch-window small,
.care-window small {
  color: #7c8a93;
  font-size: 0.62rem;
}

.mini-app__header strong {
  font-size: 0.86rem;
}

.mini-app__header button,
.batch-window__header button,
.care-notes button {
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.61rem;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.metric-grid > div {
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8ec;
  border-radius: 12px;
  background: var(--white);
}

.metric-grid strong {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
}

.metric-grid span {
  color: #8d9aa2;
  font-size: 0.57rem;
}

.metric-grid .up {
  color: var(--green);
}

.chart-panel {
  margin-top: 0.8rem;
  padding: 1rem;
  border: 1px solid #e2e8ec;
  border-radius: 12px;
  background: var(--white);
}

.chart-panel__title strong {
  font-size: 0.72rem;
}

.chart-panel__title span,
.activity-row span,
.activity-row em {
  color: #84919a;
  font-size: 0.58rem;
  font-style: normal;
}

.bar-chart {
  height: 140px;
  padding-top: 20px;
  display: flex;
  align-items: end;
  gap: 8%;
  border-bottom: 1px solid #e2e8ec;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 32px, #edf1f3 33px);
}

.bar-chart i {
  width: 7%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--orange), #ffbd91);
}

.activity-row {
  margin-top: 0.8rem;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 0.75rem;
  border: 1px solid #e2e8ec;
  border-radius: 10px;
  background: var(--white);
  font-size: 0.62rem;
}

.batch-window {
  padding: 1.4rem;
  transform: rotate(1deg);
}

.batch-window__header > div,
.care-window__top > div {
  flex-direction: row;
  align-items: center;
}

.mini-mark--pharma {
  margin: 0;
  background: var(--pharma);
  color: var(--white);
}

.batch-window__header button {
  background: var(--pharma);
}

.batch-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: 1.4rem 0 1rem;
}

.batch-summary > div {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background: #f2f7f6;
}

.batch-summary strong {
  margin-top: 0.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.batch-summary .warning {
  color: #d46a24;
}

.batch-table {
  overflow: hidden;
  border: 1px solid #e1e8e6;
  border-radius: 10px;
}

.batch-table > div {
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  display: grid;
  grid-template-columns: 1.65fr 1fr 1.1fr 0.7fr;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid #e8eeec;
  color: #6f7e7a;
  font-size: 0.58rem;
}

.batch-table > div strong {
  color: var(--ink);
}

.batch-table .batch-table__head {
  min-height: 38px;
  border-top: 0;
  background: #f2f7f6;
  color: #7d8e89;
  font-weight: 800;
}

.status {
  justify-self: start;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 800;
}

.status--good {
  background: #dcf6e9;
  color: #16744b;
}

.status--watch {
  background: #fff0df;
  color: #a65018;
}

.statement-card {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}

.statement-card > div {
  display: flex;
  flex-direction: column;
}

.statement-card span {
  color: #8de0cd;
  font-size: 0.59rem;
  font-weight: 800;
}

.care-window {
  padding: 1.4rem;
  transform: rotate(-0.8deg);
}

.care-cross {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--health);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 500;
}

.patient-id {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: var(--health-soft);
  color: var(--health-dark);
  font-size: 0.56rem;
  font-weight: 800;
}

.patient-card {
  margin-top: 1.2rem;
  padding: 1rem;
  justify-content: flex-start;
  border: 1px solid #e0e7f5;
  border-radius: 12px;
  background: #f7f9ff;
}

.patient-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #dce7ff;
  color: var(--health-dark);
  font-size: 0.65rem;
  font-weight: 800;
}

.patient-card strong {
  font-size: 0.7rem;
}

.patient-card span {
  color: #73808d;
  font-size: 0.56rem;
}

.patient-card em {
  margin-left: auto;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #def3e8;
  color: #19704a;
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 800;
}

.care-flow {
  position: relative;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.care-flow > div {
  min-height: 86px;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f2;
  border-radius: 10px;
}

.care-flow > div > span {
  color: #9aa5ae;
  font-size: 0.48rem;
  font-weight: 800;
}

.care-flow strong {
  margin: auto 0 0.15rem;
  font-size: 0.62rem;
}

.care-flow .is-done {
  border-color: #b9e5cf;
  background: #effaf4;
}

.care-flow .is-current {
  border-color: var(--health);
  background: var(--health-soft);
  box-shadow: 0 8px 20px rgba(46, 107, 234, 0.12);
}

.care-notes {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e1e7f0;
}

.care-notes > div {
  display: flex;
  flex-direction: column;
}

.care-notes strong {
  font-size: 0.62rem;
}

.care-notes button {
  background: var(--health);
}

/* Platform */
.platform {
  padding: 130px 0;
  background: var(--ink-deep);
  color: var(--white);
}

.platform__intro {
  max-width: 880px;
  margin-bottom: 64px;
}

.platform__intro > p {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
}

.platform__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.platform-card {
  position: relative;
  min-height: 340px;
  padding: clamp(32px, 4.5vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.platform-card--wide {
  grid-column: 1 / -1;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 4rem;
  background: #0c3043;
}

.platform-card--accent {
  background: var(--orange);
  color: var(--ink-deep);
}

.platform-card__number {
  position: absolute;
  top: 28px;
  right: 32px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.platform-card--accent .platform-card__number {
  color: rgba(6, 26, 39, 0.4);
}

.platform-card__label {
  margin-bottom: 1rem;
  color: #ff9b5c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-card--accent .platform-card__label {
  color: var(--ink-deep);
}

.platform-card h3 {
  max-width: 560px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.platform-card > p,
.platform-card > div > p {
  max-width: 590px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.58);
}

.platform-card--accent > p {
  color: rgba(6, 26, 39, 0.72);
}

.connection-visual {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 178, 115, 0.11), transparent 63%);
  text-align: center;
}

.connection-visual::before,
.connection-visual::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.connection-visual::after {
  inset: 31%;
}

.pulse-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #42d591;
  box-shadow: 0 0 0 10px rgba(66, 213, 145, 0.1), 0 0 0 24px rgba(66, 213, 145, 0.04);
}

.connection-visual strong,
.connection-visual small {
  position: relative;
  z-index: 1;
}

.connection-visual small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Rollout */
.rollout {
  padding: 130px 0;
  background: var(--paper);
}

.section-intro--compact {
  margin-bottom: 56px;
}

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

.rollout-step {
  min-height: 230px;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.rollout-step > span {
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.rollout-step > div {
  display: grid;
  grid-template-columns: 130px minmax(280px, 0.8fr) minmax(300px, 1fr);
  align-items: start;
  gap: 2rem;
}

.rollout-step small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rollout-step h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.rollout-step p {
  color: var(--muted);
}

/* Pricing */
.pricing {
  padding: 130px 0;
  background: var(--paper-light);
}

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

.pricing-controls {
  padding: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.product-tabs,
.billing-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-tab,
.toggle__label {
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.product-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.toggle__label--active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(6, 26, 39, 0.09);
}

.toggle__label span {
  margin-left: 0.25rem;
  color: var(--orange-dark);
  font-size: 0.62rem;
}

.pricing-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.price-card {
  position: relative;
  min-height: 530px;
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.price-card--featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-soft);
}

.price-card--pharma {
  border-color: var(--pharma);
}

.recommended {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.58rem;
  font-weight: 800;
}

.price-card--pharma .recommended {
  background: var(--pharma-soft);
  color: var(--pharma-dark);
}

.price-card__tier {
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.price-card h3 {
  min-height: 58px;
  margin-top: 0.7rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.price {
  margin: 1.7rem 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.price small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
}

.price strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.price span {
  color: var(--muted);
  font-size: 0.7rem;
}

.price-card ul {
  margin-bottom: 2rem;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.price-card li::before,
.health-price-card li::before {
  content: "\2713";
  margin-right: 0.65rem;
  color: var(--green);
  font-weight: 900;
}

.price-card .btn {
  margin-top: auto;
}

.pricing-panel--health {
  display: block;
}

.health-price-card {
  min-height: 470px;
  padding: clamp(38px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--health-dark);
  color: var(--white);
}

.health-price-card h3 {
  max-width: 650px;
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.07;
}

.health-price-card p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
}

.health-price-card ul {
  display: grid;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.76);
}

.health-price-card__actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.pricing__note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

/* Contact */
.contact {
  padding: 130px 0;
  background: #0b2a3d;
  color: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 0.74fr);
  align-items: start;
  gap: clamp(60px, 8vw, 120px);
}

.contact__content {
  position: sticky;
  top: 120px;
}

.contact__content > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

.contact__direct {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-light);
}

.contact__direct > * {
  min-height: 100px;
  padding: 1.3rem 1rem 1.3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line-light);
}

.contact__direct > *:nth-child(odd) {
  border-right: 1px solid var(--line-light);
}

.contact__direct > *:nth-child(even) {
  padding-left: 1.4rem;
}

.contact__direct small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__direct strong {
  margin-top: 0.25rem;
  font-size: 0.82rem;
}

.contact__form-shell {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.22);
}

.form-heading {
  margin-bottom: 1.7rem;
  padding-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.form-heading span {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}

.form-heading small {
  color: var(--muted);
}

.contact__form,
.form__group {
  display: grid;
  gap: 0.55rem;
}

.contact__form {
  gap: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group label {
  font-size: 0.7rem;
  font-weight: 800;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form__group input,
.form__group select {
  min-height: 50px;
  padding: 0 0.9rem;
}

.form__group textarea {
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 122, 42, 0.1);
  outline: 0;
}

.form__note {
  color: var(--muted);
  font-size: 0.66rem;
  text-align: center;
}

.form__success {
  display: none;
  padding: 0.9rem;
  border-radius: 10px;
  background: #e2f7ec;
  color: #146843;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.form__success.show {
  display: block;
}

/* Footer and floating controls */
.footer {
  padding: 76px 0 26px;
  background: var(--paper);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
}

.footer__brand img {
  width: 118px;
  height: 78px;
  object-fit: cover;
}

.footer__brand p {
  max-width: 340px;
  margin-top: 1rem;
  color: var(--muted);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__links > div {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links strong {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.78rem;
}

.footer__links a:hover {
  color: var(--orange-dark);
}

.footer__bottom {
  margin-top: 64px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 900;
  bottom: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(6, 26, 39, 0.22);
  cursor: pointer;
}

.whatsapp-float {
  left: 24px;
  background: #20b968;
}

.back-to-top {
  right: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  background: var(--ink);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .container,
  .nav__inner {
    width: min(100% - 48px, var(--container));
  }

  .nav__links {
    gap: 1.1rem;
  }

  .nav__text-link {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

  .hero__content {
    max-width: 800px;
  }

  .hero__content h1 {
    max-width: 780px;
    font-size: clamp(4rem, 9vw, 6rem);
  }

  .hero__visual {
    max-width: 900px;
  }

  .product-chapter {
    grid-template-columns: 1fr;
  }

  .product-chapter--pharma .product-chapter__content {
    order: 0;
  }

  .product-stage {
    min-height: 650px;
  }

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

  .contact__content {
    position: static;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-h: 70px;
  }

  .container,
  .nav__inner {
    width: min(100% - 36px, var(--container));
  }

  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__hamburger {
    display: block;
  }

  .nav__mobile {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    padding: 1rem;
    display: grid;
    gap: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #0b2a3d;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav__mobile.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__mobile > a:not(.btn) {
    padding: 0.8rem 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    font-weight: 700;
  }

  .nav__mobile .btn {
    margin-top: 0.7rem;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 70px);
  }

  .hero__content h1 {
    font-size: clamp(3.4rem, 14vw, 5rem);
  }

  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip__grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .trust-strip__grid > div {
    border-bottom: 1px solid var(--line);
  }

  .products,
  .platform,
  .rollout,
  .pricing,
  .contact {
    padding: 94px 0;
  }

  .section-intro,
  .pricing__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .product-stage {
    min-height: 540px;
    padding: 36px;
  }

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

  .platform-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rollout-step {
    grid-template-columns: 70px 1fr;
  }

  .rollout-step > div {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .pricing-controls {
    border-radius: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .product-tabs,
  .billing-toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .billing-toggle {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-panel {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .price-card h3 {
    min-height: 0;
  }

  .health-price-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 560px) {
  .container,
  .nav__inner {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-bottom: 70px;
  }

  .hero__content h1 {
    font-size: clamp(3.05rem, 16vw, 4.4rem);
  }

  .hero__lead {
    font-size: 0.96rem;
  }

  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    padding: 28px 0 72px;
  }

  .system-window {
    transform: none;
    border-radius: 17px;
  }

  .system-window__bar {
    grid-template-columns: 1fr auto;
  }

  .system-window__bar > span:nth-child(2) {
    display: none;
  }

  .hero__signal--bottom {
    left: 12px;
    bottom: 8px;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .trust-strip__grid > div,
  .trust-strip__grid > div:nth-child(3) {
    min-height: 94px;
    padding: 1.2rem 1rem;
    border-left: 1px solid var(--line);
  }

  .section-intro h2,
  .pricing__header h2,
  .contact__content h2,
  .platform__intro h2 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .product-chapter {
    border-radius: 26px;
  }

  .product-chapter__content {
    padding: 38px 24px;
  }

  .product-chapter h3 {
    font-size: 2.25rem;
  }

  .capability-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .product-chapter__actions,
  .product-chapter__actions .btn {
    width: 100%;
  }

  .product-chapter__actions .text-link {
    justify-content: center;
  }

  .product-stage {
    min-height: 450px;
    padding: 22px 14px;
  }

  .mini-app {
    min-height: 390px;
    grid-template-columns: 45px 1fr;
  }

  .mini-app__rail {
    gap: 0.65rem;
  }

  .mini-app__rail i {
    width: 20px;
    height: 20px;
  }

  .mini-mark {
    width: 29px;
    height: 29px;
  }

  .mini-app__main,
  .batch-window,
  .care-window {
    padding: 0.85rem;
  }

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

  .metric-grid > div:last-child {
    display: none;
  }

  .bar-chart {
    height: 100px;
  }

  .activity-row {
    grid-template-columns: 1fr auto;
  }

  .activity-row span {
    display: none;
  }

  .batch-summary > div:last-child {
    display: none;
  }

  .batch-summary {
    grid-template-columns: 1fr 1fr;
  }

  .batch-table > div {
    grid-template-columns: 1.5fr 1fr 0.7fr;
  }

  .batch-table > div > *:nth-child(3) {
    display: none;
  }

  .care-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .care-notes {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-card,
  .platform-card--wide {
    min-height: auto;
    padding: 32px 24px;
  }

  .connection-visual {
    min-height: 220px;
  }

  .rollout-step {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

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

  .toggle__label span {
    display: none;
  }

  .price-card,
  .health-price-card,
  .contact__form-shell {
    padding: 28px 22px;
  }

  .recommended {
    position: static;
    align-self: flex-start;
    margin-bottom: 1rem;
  }

  .form__row,
  .contact__direct {
    grid-template-columns: 1fr;
  }

  .contact__direct > *:nth-child(odd),
  .contact__direct > *:nth-child(even) {
    padding-left: 0;
    border-right: 0;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float,
  .back-to-top {
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .whatsapp-float {
    left: 14px;
  }

  .back-to-top {
    right: 14px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
