/* PharmacyMS landing — Meetings/POS layout, teal healthcare accent */

:root {
  --brand-accent: #0d9488;
  --brand-accent-dark: #0f766e;
  --brand-navy: #0f3d3a;
  --brand-sky-dark: #0f766e;
  --mt-muted: #4a6564;
  --ink: #14242b;
  --display: "Sora", "Segoe UI", sans-serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

.lp {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(13, 148, 136, 0.12), transparent 55%),
    linear-gradient(180deg, #f3f7f6 0%, #e8f0ef 40%, #f7faf9 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body:has(.lp) {
  margin: 0;
  background: #0f3d3a;
}

.lp a { color: var(--brand-accent-dark); }
.lp h1, .lp h2, .lp h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
}

.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.75rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lp-nav.is-solid {
  background: rgba(243, 247, 246, 0.94);
  border-bottom-color: rgba(15, 61, 58, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lp-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.lp-logo__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  background: var(--brand-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.lp-logo strong {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lp-nav.is-solid .lp-logo { color: var(--brand-navy); }

.lp-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.2rem;
}

.lp-nav__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.lp-nav.is-solid .lp-nav__links a { color: var(--brand-navy); }
.lp-nav__links a:hover { color: #fff; }
.lp-nav.is-solid .lp-nav__links a:hover { color: var(--brand-navy); }

.lp-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.95rem;
  border-radius: 8px;
  background: var(--brand-accent);
  color: #fff !important;
  font-weight: 700 !important;
}

.lp-nav__toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}
.lp-nav.is-solid .lp-nav__toggle {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.lp-nav.is-solid .lp-nav__cta {
  background: var(--brand-navy);
}

.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 34rem);
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.lp-hero__stage { position: absolute; inset: 0; }

.lp-hero__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 18%, rgba(13, 148, 136, 0.28), transparent 58%),
    linear-gradient(165deg, #042f2e 0%, #0d5c63 46%, #0b4a6f 100%);
}

.lp-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 14, 26, 0.94) 0%, rgba(12, 18, 32, 0.78) 44%, rgba(12, 18, 32, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 14, 26, 0.35) 0%, transparent 38%, rgba(10, 14, 26, 0.55) 100%);
  pointer-events: none;
}

.lp-hero__sweep {
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(115deg, transparent 38%, rgba(148, 163, 184, 0.08) 50%, transparent 62%);
  animation: lp-hero-sweep 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.lp-hero__copy {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
  padding: calc(6.25rem + env(safe-area-inset-top, 0px)) clamp(1.35rem, 4.5vw, 3rem) clamp(3rem, 8vw, 4.75rem);
}

.lp-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
}

.lp-brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.6rem, 14vw, 8.25rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.82;
  color: #fff;
  text-shadow: 0 16px 48px rgba(8, 12, 24, 0.45);
}

.lp-brand-sub {
  margin: 0.15rem 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.lp-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 22ch;
  color: #fff;
  letter-spacing: -0.03em;
}

.lp-hero__lead {
  margin: 0 0 1.65rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 42rem;
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.lp-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.lp-hero__proof li {
  position: relative;
  padding-left: 0.85rem;
}

.lp-hero__proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 1px;
  background: var(--brand-accent);
}

.lp-btn-primary,
.lp-btn-ghost,
.lp-plan__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  padding: 0.82rem 1.3rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lp-btn-primary {
  background: #fff;
  color: #042f2e !important;
}

.lp-btn-primary:hover {
  background: #d1fae5;
  transform: translateY(-1px);
  color: #042f2e !important;
}

.lp-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff !important;
}

.lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
}

.lp-hero__preview {
  position: relative;
  z-index: 2;
  padding: calc(6.25rem + env(safe-area-inset-top, 0px)) clamp(1.15rem, 3vw, 2.25rem) 3rem 0;
}

.lp-preview {
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(8, 12, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-preview__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  background: #e8f0ef;
  border-bottom: 1px solid #d7e4e2;
}

.lp-preview__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6d3d1;
}

.lp-preview__bar span:first-child { background: #ef4444; }
.lp-preview__bar span:nth-child(2) { background: #fbbf24; }
.lp-preview__bar span:nth-child(3) { background: #22c55e; }

.lp-preview__bar em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mt-muted);
}

.lp-preview__body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 280px;
}

.lp-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem;
  background: #f3faf8;
}

.lp-preview__grid article {
  background: #fff;
  border: 1px solid #d7e4e2;
  border-radius: 10px;
  padding: 0.7rem 0.45rem 0.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lp-preview__grid b {
  font-size: 0.78rem;
  font-weight: 650;
  color: #1f4a48;
}

.lp-preview__grid strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  line-height: 1.1;
}

.lp-preview__cart {
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: #fff;
}

.lp-preview__cart > p {
  margin: 0 0 0.2rem;
  font-weight: 750;
  font-size: 0.88rem;
}

.lp-preview__cart > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--mt-muted);
}

.lp-preview__cart strong {
  font-family: var(--display);
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.lp-preview__cart .is-total {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px dashed #d7e4e2;
  color: var(--brand-navy);
  font-weight: 700;
}

.lp-preview__cart .is-total strong {
  font-size: 1.2rem;
}

.lp-preview__pay {
  margin-top: 0.35rem;
  background: var(--brand-accent);
  color: #fff;
  text-align: center;
  padding: 0.65rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 750;
}

@keyframes lp-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lp-hero-drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.09) translate3d(-1.2%, 0.8%, 0); }
}
@keyframes lp-hero-sweep {
  from { transform: translate3d(-4%, 0, 0); opacity: 0.55; }
  to { transform: translate3d(6%, 0, 0); opacity: 0.95; }
}

.lp-section {
  padding: clamp(3.25rem, 8vw, 5.5rem) clamp(1.15rem, 4.5vw, 2.75rem);
  max-width: 66rem;
  margin: 0 auto;
}

.lp-section .page-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent-dark);
}

.lp-section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  color: var(--brand-navy);
  max-width: 28rem;
  line-height: 1.15;
}

.lp-section .lead {
  margin: 0 0 2rem;
  color: var(--mt-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 38rem;
}

.lp-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(28, 25, 23, 0.14);
}

.lp-mode {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid rgba(28, 25, 23, 0.14);
}

.lp-mode:first-child {
  padding-right: 1.75rem;
  border-right: 1px solid rgba(28, 25, 23, 0.14);
}

.lp-modes--four .lp-mode:first-child,
.lp-modes--four .lp-mode:last-child {
  padding-right: 1.25rem;
  padding-left: 0;
  border-right: 1px solid rgba(28, 25, 23, 0.14);
}

.lp-modes--four .lp-mode:nth-child(even) {
  padding-left: 1.75rem;
  padding-right: 0;
  border-right: none;
}

.lp-modes--four .lp-mode:nth-child(-n+2) {
  border-bottom: 1px solid rgba(28, 25, 23, 0.14);
}

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

.lp-detail-grid article {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 14px;
  padding: 1.25rem 1.2rem 1.1rem;
}

.lp-detail-grid h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  color: var(--brand-navy);
}

.lp-detail-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.lp-detail-grid li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #1f4a48;
}

.lp-detail-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 1px;
  background: var(--brand-accent);
}

.lp-faq {
  display: grid;
  gap: 0.55rem;
  max-width: 42rem;
}

.lp-faq details {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
}

.lp-faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--brand-navy);
  font-size: 0.98rem;
}

.lp-faq p {
  margin: 0.55rem 0 0;
  color: var(--mt-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.lp-mode__index {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--brand-accent-dark);
  line-height: 1.2;
}

.lp-mode h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--brand-navy);
}

.lp-mode p {
  margin: 0;
  color: var(--mt-muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.lp-pricing { max-width: 70rem; }

.lp-billing-toggle {
  display: inline-flex;
  padding: 0.22rem;
  margin: 0 0 1.65rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.12);
  gap: 0.15rem;
}

.lp-billing-toggle__btn {
  border: none;
  background: transparent;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.88rem;
  color: var(--mt-muted);
  cursor: pointer;
}

.lp-billing-toggle__btn.is-on {
  background: var(--brand-navy);
  color: #fff;
}

.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding: 1.4rem 1.2rem 1.2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.12);
}

.lp-plan--featured {
  border-color: var(--brand-accent);
  background: linear-gradient(180deg, #fff 0%, #ecfdf5 100%);
}

.lp-plan__badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  border-radius: 5px;
  background: var(--brand-accent);
  color: #fff;
}

.lp-plan__name {
  margin: 0.1rem 0 0;
  font-size: 1.2rem;
  color: var(--brand-navy);
}

.lp-plan__tagline {
  margin: 0;
  font-size: 0.86rem;
  color: var(--mt-muted);
  min-height: 2.35em;
  line-height: 1.4;
}

.lp-plan__price {
  margin: 0.55rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.12rem;
  color: var(--brand-navy);
}

.lp-plan__currency {
  font-size: 1.15rem;
  font-weight: 800;
}

.lp-plan__amount {
  font-family: var(--display);
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lp-plan--featured .lp-plan__amount,
.lp-plan--featured .lp-plan__currency {
  color: var(--brand-accent-dark);
}

.lp-plan__interval {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mt-muted);
}

.lp-plan__equiv {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  color: var(--mt-muted);
}

.lp-plan__features {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  flex: 1;
  display: grid;
  gap: 0.42rem;
}

.lp-plan__features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #1f4a48;
}

.lp-plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--brand-accent);
}

.lp-plan__cta {
  width: 100%;
  margin-top: auto;
  background: var(--brand-navy);
  color: #fff !important;
  padding: 0.7rem 1rem;
}

.lp-plan--featured .lp-plan__cta {
  background: var(--brand-accent);
}

.lp-pricing-note {
  margin: 1.35rem 0 0;
  font-size: 0.86rem;
  color: var(--mt-muted);
}

.lp-close {
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.35rem, 4vw, 2.5rem);
  border-radius: 18px;
  background: linear-gradient(135deg, #042f2e 0%, #0d5c63 48%, #0f766e 100%);
  color: #fff;
  max-width: 70rem;
  width: calc(100% - clamp(2.3rem, 9vw, 5.5rem));
}

.lp-close h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  max-width: 22rem;
  color: #fff;
}

.lp-close p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  line-height: 1.5;
}

.lp-close .lp-btn-primary {
  background: #fff;
  color: var(--brand-navy) !important;
}

.lp-close .lp-btn-primary:hover {
  background: #ecfdf5;
  color: var(--brand-navy) !important;
}

.lp-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  align-items: center;
  padding: 2rem clamp(1.15rem, 4.5vw, 2.75rem) 2.75rem;
  color: var(--mt-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.lp-foot a {
  text-decoration: none;
  color: var(--brand-accent-dark);
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__media, .lp-hero__sweep, .lp-hero__copy, .lp-hero__preview { animation: none; }
}

@media (max-width: 900px) {
  .lp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .lp-hero__preview { padding: 0 1.15rem 2.5rem; }
  .lp-plans, .lp-modes, .lp-detail-grid { grid-template-columns: 1fr; }
  .lp-mode:first-child,
  .lp-modes--four .lp-mode:first-child,
  .lp-modes--four .lp-mode:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: none;
  }
  .lp-mode:last-child { padding-left: 0; }
}

@media (max-width: 640px) {
  .lp-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .lp-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1.15rem 1.1rem;
    background: #042f2e;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .lp-nav__links.is-open { display: flex; }
  .lp-nav.is-solid .lp-nav__links { background: #f3f7f6; }
  .lp-preview__body { grid-template-columns: 1fr; }
}

.lp-brand--long {
  font-size: clamp(2.35rem, 8vw, 4.85rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
}
