:root {
  --green: #2bbf8f;
  --green-strong: #168a63;
  --green-deep: #0d3d2b;
  --ink: #102b27;
  --ink-soft: #526a65;
  --cream: #f4faf7;
  --cream-strong: #eaf6f0;
  --white: #ffffff;
  --night: #0d1f1a;
  --line: rgba(16, 43, 39, 0.1);
  --shadow: 0 24px 70px rgba(20, 73, 57, 0.13);
  --font: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 82% 9%, rgba(43, 191, 143, 0.12), transparent 27rem),
    radial-gradient(circle at 3% 47%, rgba(43, 191, 143, 0.07), transparent 25rem);
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(43, 191, 143, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--night);
  color: var(--white);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(43, 191, 143, 0.14);
  background: rgba(244, 250, 247, 0.9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--green-strong);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(43, 191, 143, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(43, 191, 143, 0.1);
  color: var(--green-strong);
}

.nav-links .nav-login {
  padding-inline: 1.1rem;
  background: var(--night);
  color: var(--white);
}

.nav-links .nav-login:hover {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(43, 191, 143, 0.24);
  border-radius: 999px;
  background: rgba(43, 191, 143, 0.1);
  color: var(--green-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(43, 191, 143, 0.12);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.65rem, 5.7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h1 em,
h2 em {
  color: var(--green);
  font-style: normal;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.8;
}

.hero-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 13px 28px rgba(43, 191, 143, 0.25);
}

.button-primary:hover {
  background: var(--green-strong);
  box-shadow: 0 16px 34px rgba(43, 191, 143, 0.3);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(43, 191, 143, 0.25);
  background: var(--white);
}

.button-dark {
  background: var(--night);
  color: var(--white);
  box-shadow: 0 13px 28px rgba(13, 31, 26, 0.2);
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.ecosystem-preview {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.preview-orb {
  position: absolute;
  width: 430px;
  height: 430px;
  right: 0;
  border-radius: 50%;
  background: rgba(43, 191, 143, 0.1);
  box-shadow: 0 0 0 52px rgba(43, 191, 143, 0.045);
}

.dashboard-shell {
  position: relative;
  width: min(520px, 94%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 26px;
  background: var(--night);
  box-shadow: var(--shadow);
  color: #e9fbf4;
  transform: rotate(1.5deg);
}

.browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #132b24;
}

.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.browser-address {
  width: 42%;
  height: 14px;
  margin-left: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-body {
  min-height: 330px;
  display: grid;
  grid-template-columns: 94px 1fr;
}

.demo-sidebar {
  padding: 1rem 0.65rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.demo-brand {
  height: 20px;
  margin-bottom: 1.2rem;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--green), rgba(43, 191, 143, 0.2));
}

.demo-nav-line {
  height: 9px;
  margin: 0.75rem 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.demo-nav-line.active {
  background: rgba(43, 191, 143, 0.4);
}

.demo-main {
  padding: 1.25rem;
}

.demo-title {
  width: 38%;
  height: 16px;
  margin-bottom: 0.45rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.85);
}

.demo-subtitle {
  width: 57%;
  height: 7px;
  margin-bottom: 1.2rem;
  border-radius: 5px;
  background: rgba(168, 216, 200, 0.25);
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.demo-metric {
  min-height: 74px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.demo-metric strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green);
  font-size: 1.1rem;
}

.demo-metric span {
  color: rgba(233, 251, 244, 0.55);
  font-size: 0.48rem;
}

.demo-chart {
  height: 128px;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.demo-chart i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--green), rgba(43, 191, 143, 0.16));
}

.phone-shell {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: 182px;
  padding: 8px;
  border-radius: 34px;
  background: #171c1a;
  box-shadow: 0 22px 55px rgba(13, 31, 26, 0.34);
  transform: rotate(-5deg);
}

.phone-screen {
  min-height: 356px;
  overflow: hidden;
  padding: 1rem 0.75rem 0.75rem;
  border-radius: 27px;
  background:
    radial-gradient(circle at 30% 0, rgba(43, 191, 143, 0.21), transparent 46%),
    var(--night);
  color: #e9fbf4;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: rgba(233, 251, 244, 0.57);
  font-size: 0.42rem;
  font-weight: 700;
}

.phone-greeting {
  margin-bottom: 0.8rem;
  font-size: 0.66rem;
  font-weight: 700;
}

.phone-card {
  margin-bottom: 0.55rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.phone-card small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green);
  font-size: 0.42rem;
  font-weight: 700;
  text-transform: uppercase;
}

.phone-card strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.65rem;
}

.phone-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-progress::after {
  width: 68%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
  content: "";
}

.phone-meal {
  margin-top: 0.45rem;
  padding: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.48rem;
}

.phone-meal::before {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.demo-label {
  position: absolute;
  z-index: 5;
  right: 1rem;
  bottom: 1rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(13, 31, 26, 0.86);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-white {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.section-dark::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 40%, rgba(43, 191, 143, 0.14), transparent 33rem);
  content: "";
}

.section-dark .wrap {
  position: relative;
}

.section-heading {
  max-width: 670px;
  margin-bottom: 2.75rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--green-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: var(--green);
}

.section-title {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-copy {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.section-dark .section-copy {
  color: rgba(220, 242, 233, 0.62);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.audience-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(20, 73, 57, 0.08);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.audience-card.pro {
  border-color: rgba(255, 255, 255, 0.09);
  background: var(--green-deep);
  color: var(--white);
}

.card-tag {
  align-self: flex-start;
  margin-bottom: 1.3rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(43, 191, 143, 0.11);
  color: var(--green-strong);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.audience-card.pro .card-tag {
  background: rgba(43, 191, 143, 0.16);
  color: var(--green);
}

.audience-card h3 {
  max-width: 450px;
  margin-bottom: 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.audience-card p {
  max-width: 450px;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.audience-card.pro p {
  color: rgba(220, 242, 233, 0.64);
}

.card-link {
  margin-top: auto;
  color: var(--green-strong);
  font-weight: 700;
}

.audience-card.pro .card-link {
  color: var(--green);
}

.audience-decoration {
  position: absolute;
  right: -1.5rem;
  bottom: -1.7rem;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(43, 191, 143, 0.08);
  border-radius: 50%;
}

.audience-card.pro .audience-decoration {
  border-color: rgba(43, 191, 143, 0.11);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.step-number {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(43, 191, 143, 0.15);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.step-card p {
  margin-bottom: 0;
  color: rgba(220, 242, 233, 0.58);
  font-size: 0.85rem;
  line-height: 1.7;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--green-deep), var(--night));
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-panel::after {
  position: absolute;
  right: -8rem;
  width: 22rem;
  height: 22rem;
  border: 55px solid rgba(43, 191, 143, 0.09);
  border-radius: 50%;
  content: "";
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.cta-copy h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.cta-copy p {
  margin-bottom: 0;
  color: rgba(220, 242, 233, 0.63);
  line-height: 1.75;
}

.cta-actions {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.cta-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.site-footer {
  padding: 2.2rem 0;
  background: #07110e;
  color: rgba(255, 255, 255, 0.47);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  font-size: 0.72rem;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

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

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

  .hero-copy {
    max-width: 690px;
  }

  .ecosystem-preview {
    width: min(680px, 100%);
    min-height: 510px;
    margin: 0 auto;
  }

  .dashboard-shell {
    width: min(560px, 88%);
  }

  .audience-card {
    min-height: 390px;
  }

  .cta-panel,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 1.25rem, 1180px);
  }

  .nav-inner {
    min-height: 66px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 0.55rem 0.62rem;
    font-size: 0.72rem;
  }

  .nav-links .nav-login {
    padding-inline: 0.75rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .ecosystem-preview {
    min-height: 420px;
    align-items: flex-start;
  }

  .dashboard-shell {
    width: 100%;
    transform: none;
  }

  .dashboard-body {
    min-height: 270px;
    grid-template-columns: 64px 1fr;
  }

  .demo-main {
    padding: 0.85rem;
  }

  .demo-metric {
    min-height: 60px;
    padding: 0.5rem;
  }

  .demo-chart {
    height: 95px;
  }

  .phone-shell {
    width: 145px;
    bottom: -0.3rem;
  }

  .phone-screen {
    min-height: 284px;
  }

  .audience-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 340px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.45rem;
  }

  .nav-links a:not(.nav-login) {
    display: none;
  }

  .ecosystem-preview {
    min-height: 385px;
  }

  .demo-sidebar {
    display: none;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    left: -0.15rem;
  }

  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }
}

/* Interior landing pages */
.subpage-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.subpage-hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
}

.subpage-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.subpage-visual::before {
  position: absolute;
  width: min(480px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(43, 191, 143, 0.1);
  box-shadow: 0 0 0 58px rgba(43, 191, 143, 0.04);
  content: "";
}

.store-button {
  min-width: 174px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--night);
  color: var(--white);
  box-shadow: 0 11px 25px rgba(13, 31, 26, 0.18);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(13, 31, 26, 0.25);
}

.store-button svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-overline,
.store-name {
  display: block;
  line-height: 1.1;
}

.store-overline {
  margin-bottom: 0.16rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.56rem;
}

.store-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.store-disclaimer {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.patient-phone {
  position: relative;
  z-index: 2;
  width: 292px;
  padding: 9px;
  border-radius: 47px;
  background: #171c1a;
  box-shadow: 0 30px 75px rgba(13, 31, 26, 0.32);
  transform: rotate(2.5deg);
}

.patient-screen {
  min-height: 570px;
  overflow: hidden;
  padding: 1.15rem 1rem 0.9rem;
  border-radius: 38px;
  background:
    radial-gradient(circle at 25% 0, rgba(43, 191, 143, 0.22), transparent 42%),
    var(--night);
  color: #e9fbf4;
}

.patient-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  color: rgba(233, 251, 244, 0.55);
  font-size: 0.54rem;
  font-weight: 700;
}

.patient-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.patient-header small {
  display: block;
  color: rgba(220, 242, 233, 0.55);
  font-size: 0.55rem;
}

.patient-header strong {
  font-size: 0.93rem;
}

.patient-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
}

.today-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.055);
}

.today-label {
  margin-bottom: 0.35rem;
  color: var(--green);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.today-card h3 {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.today-card p {
  margin-bottom: 0.85rem;
  color: rgba(220, 242, 233, 0.5);
  font-size: 0.55rem;
}

.progress-line {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-line span {
  width: 68%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
}

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

.macro-box {
  padding: 0.62rem 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.macro-box strong,
.macro-box small {
  display: block;
}

.macro-box strong {
  margin-bottom: 0.12rem;
  color: var(--green);
  font-size: 0.7rem;
}

.macro-box small {
  color: rgba(220, 242, 233, 0.42);
  font-size: 0.43rem;
}

.screen-section-title {
  margin: 0.85rem 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.patient-meal {
  margin-bottom: 0.45rem;
  padding: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.patient-meal .meal-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(43, 191, 143, 0.12);
  font-size: 0.8rem;
}

.patient-meal div {
  min-width: 0;
  flex: 1;
}

.patient-meal strong,
.patient-meal small {
  display: block;
}

.patient-meal strong {
  overflow: hidden;
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.patient-meal small {
  color: rgba(220, 242, 233, 0.43);
  font-size: 0.44rem;
}

.patient-meal time {
  color: var(--green);
  font-size: 0.48rem;
  font-weight: 700;
}

.mock-note {
  position: absolute;
  z-index: 4;
  right: 3%;
  bottom: 6%;
  max-width: 155px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(20, 73, 57, 0.11);
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.5;
  backdrop-filter: blur(10px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-box {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--white);
}

.feature-symbol {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(43, 191, 143, 0.11);
  color: var(--green-strong);
  font-size: 1.15rem;
}

.feature-box h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.feature-box p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.7;
}

.mockup-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.mockup-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.mockup-caption {
  padding: 0.9rem 0.4rem 0.2rem;
}

.mockup-caption strong,
.mockup-caption span {
  display: block;
}

.mockup-caption strong {
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.mockup-caption span {
  color: rgba(220, 242, 233, 0.5);
  font-size: 0.72rem;
  line-height: 1.55;
}

.mini-screen {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 1rem;
  border-radius: 16px;
  background: #132b24;
}

.mini-screen::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  background: rgba(7, 17, 14, 0.72);
  color: rgba(255, 255, 255, 0.52);
  content: "Demo temporal";
  font-size: 0.48rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mini-head {
  width: 46%;
  height: 13px;
  margin-bottom: 0.4rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.82);
}

.mini-sub {
  width: 66%;
  height: 6px;
  margin-bottom: 1rem;
  border-radius: 5px;
  background: rgba(168, 216, 200, 0.22);
}

.mini-tile {
  min-height: 66px;
  margin-bottom: 0.55rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
}

.mini-tile::before,
.mini-tile::after {
  display: block;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.mini-tile::before {
  width: 50%;
  height: 8px;
  margin-bottom: 0.55rem;
}

.mini-tile::after {
  width: 76%;
  height: 5px;
}

.mini-ring {
  width: 112px;
  height: 112px;
  margin: 1.5rem auto;
  display: grid;
  place-items: center;
  border: 13px solid rgba(255, 255, 255, 0.06);
  border-top-color: var(--green);
  border-right-color: var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 800;
  transform: rotate(8deg);
}

.mini-ring span {
  transform: rotate(-8deg);
}

.mini-bars {
  height: 160px;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}

.mini-bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--green), rgba(43, 191, 143, 0.17));
}

.pro-page {
  background: #f2f8f5;
}

.pro-page .subpage-hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.pro-page .subpage-hero::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 86% 42%, rgba(43, 191, 143, 0.18), transparent 32rem);
  content: "";
  pointer-events: none;
}

.pro-page .subpage-grid {
  position: relative;
  z-index: 1;
}

.pro-page .hero-copy,
.pro-page .hero-note {
  color: rgba(220, 242, 233, 0.62);
}

.pro-page .button-secondary {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.pro-page .subpage-visual::before {
  background: rgba(43, 191, 143, 0.09);
  box-shadow: 0 0 0 60px rgba(43, 191, 143, 0.035);
}

.pro-dashboard {
  position: relative;
  z-index: 2;
  width: min(690px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #f7fbf9;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.33);
  color: var(--ink);
  transform: perspective(1100px) rotateY(-5deg) rotateX(1deg);
}

.pro-browser {
  height: 38px;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.pro-browser i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4dfda;
}

.pro-browser span {
  width: 42%;
  height: 14px;
  margin-left: 0.45rem;
  border-radius: 999px;
  background: #eef4f1;
}

.pro-layout {
  min-height: 390px;
  display: grid;
  grid-template-columns: 115px 1fr;
}

.pro-side {
  padding: 1rem 0.75rem;
  background: var(--green-deep);
}

.pro-side-brand {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 800;
}

.pro-side-brand img {
  width: 23px;
  height: 23px;
  border-radius: 7px;
}

.pro-side-link {
  height: 23px;
  margin-bottom: 0.4rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.pro-side-link.active {
  background: rgba(43, 191, 143, 0.25);
}

.pro-content {
  min-width: 0;
  padding: 1.2rem;
}

.pro-content-head {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pro-content-head h3 {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.pro-content-head p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.47rem;
}

.fake-new-button {
  padding: 0.45rem 0.65rem;
  border-radius: 7px;
  background: var(--green);
  color: var(--white);
  font-size: 0.45rem;
  font-weight: 700;
}

.pro-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.pro-stat {
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.pro-stat strong,
.pro-stat span {
  display: block;
}

.pro-stat strong {
  margin-bottom: 0.18rem;
  color: var(--green-strong);
  font-size: 0.88rem;
}

.pro-stat span {
  color: var(--ink-soft);
  font-size: 0.42rem;
}

.pro-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}

.pro-row {
  min-height: 44px;
  padding: 0.6rem 0.7rem;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.6fr;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.44rem;
}

.pro-row:last-child {
  border-bottom: 0;
}

.pro-row strong {
  font-size: 0.5rem;
}

.status-chip {
  justify-self: start;
  padding: 0.22rem 0.4rem;
  border-radius: 999px;
  background: rgba(43, 191, 143, 0.11);
  color: var(--green-strong);
  font-weight: 700;
}

.pro-demo-label {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(13, 31, 26, 0.86);
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.workflow-list {
  display: grid;
  gap: 0.85rem;
}

.workflow-item {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
}

.workflow-item span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(43, 191, 143, 0.11);
  color: var(--green-strong);
  font-size: 0.72rem;
  font-weight: 800;
}

.workflow-item h3 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.workflow-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .subpage-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .subpage-visual {
    min-height: 540px;
  }

  .pro-dashboard {
    width: min(690px, 94%);
    transform: none;
  }

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

@media (max-width: 720px) {
  .subpage-visual {
    min-height: 490px;
  }

  .patient-phone {
    width: 245px;
  }

  .patient-screen {
    min-height: 475px;
  }

  .mock-note {
    right: 0;
    bottom: 0;
  }

  .feature-grid,
  .mockup-gallery {
    grid-template-columns: 1fr;
  }

  .mini-screen {
    min-height: 260px;
  }

  .pro-layout {
    min-height: 315px;
    grid-template-columns: 70px 1fr;
  }

  .pro-side {
    padding-inline: 0.45rem;
  }

  .pro-side-brand span {
    display: none;
  }

  .pro-content {
    padding: 0.75rem;
  }

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

@media (max-width: 480px) {
  .store-buttons,
  .store-button {
    width: 100%;
  }

  .store-button {
    justify-content: center;
  }

  .subpage-visual {
    min-height: 450px;
  }

  .patient-phone {
    width: 226px;
  }

  .patient-screen {
    min-height: 430px;
  }

  .mock-note {
    display: none;
  }

  .pro-dashboard {
    width: 100%;
  }

  .pro-layout {
    grid-template-columns: 1fr;
  }

  .pro-side {
    display: none;
  }

  .pro-row {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .pro-row > :last-child {
    display: none;
  }
}
