/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.18_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.18_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --ink: #0e2126;
  --muted: #5a6f74;
  --paper: #f6fbfb;
  --panel: #ffffff;
  --line: #d9e7e9;
  --teal: #075968;
  --teal-dark: #05434f;
  --aqua: #0e93a0;
  --ice: #e4f2f4;
  --mint: #7df0dd;
  --amber: #f59e0b;
  --deep: #07272e;
  --shadow: 0 24px 70px rgba(7, 63, 72, 0.16);
  --radius: 12px;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Sora', 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 85% -80px, rgba(14, 147, 160, 0.12), transparent 60%),
    radial-gradient(700px 380px at 8% 10%, rgba(125, 240, 221, 0.16), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
main { overflow: hidden; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Topbar ─────────────────────────────────────────────────────── */
.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 231, 233, 0.9);
  background: rgba(246, 251, 251, 0.86);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.wordmark-text {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.01em;
}

.wordmark-text em {
  color: var(--teal);
  font-style: normal;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-actions a:hover { color: var(--teal-dark); }

.crm-link,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 999px;
  font-weight: 800;
}

.crm-link {
  border: 1px solid var(--line);
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 63, 72, 0.08);
}

.crm-link:hover { border-color: var(--teal); color: var(--teal-dark); }

.primary-button {
  padding: 0 20px;
  border: 1px solid var(--teal);
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 89, 104, 0.32);
}

.primary-button:hover { filter: brightness(1.06); }

.primary-button.inverse {
  border-color: #fff;
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 14px 30px rgba(8, 25, 66, 0.35);
}

.ghost-button {
  padding: 0 20px;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.7);
}

.ghost-button:hover { border-color: var(--teal); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 28px 20px;
}

.mobile-nav-link {
  display: flex;
  padding: 13px 0;
  color: var(--muted);
  font-weight: 700;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 76px 0 64px;
}

.hero-inner {
  display: grid;
  justify-items: center;
  grid-gap: 20px;
  gap: 20px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid rgba(10, 110, 128, 0.3);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--teal-dark);
  background: rgba(228, 242, 244, 0.8);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow.solid {
  border-color: rgba(125, 240, 221, 0.4);
  background: rgba(125, 240, 221, 0.12);
  color: var(--mint);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 820px;
}

h1 .grad {
  background: linear-gradient(120deg, var(--teal), var(--aqua) 55%, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 4px 0 26px;
}

/* ── Hub preview (browser mockup) ───────────────────────────────── */
.hub-preview {
  width: min(100%, 980px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfefe, #f1f7f8);
}

.browser-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5e3e6;
}

.browser-chrome .urlbar {
  margin-left: 12px;
  flex: 1 1;
  max-width: 320px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 5px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.preview-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 0.72fr) minmax(0, 1fr);
  min-height: 360px;
}

.preview-side {
  display: grid;
  align-content: start;
  justify-items: center;
  grid-gap: 12px;
  gap: 12px;
  padding-top: 16px;
  background: var(--deep);
}

.preview-side span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.preview-side .side-brand {
  background: linear-gradient(135deg, var(--teal), var(--aqua));
}

.preview-agenda {
  display: grid;
  align-content: start;
  grid-gap: 10px;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #fbfefe;
}

.preview-agenda b {
  color: var(--teal-dark);
  font-size: 13px;
}

.agenda-slot {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
  font-size: 12px;
}

.agenda-slot em {
  font-style: normal;
  font-weight: 800;
  color: var(--teal-dark);
}

.agenda-slot.active {
  border-color: rgba(10, 110, 128, 0.5);
  background: var(--ice);
}

.agenda-slot.muted { opacity: 0.55; }

.preview-patient {
  display: grid;
  align-content: start;
  grid-gap: 12px;
  gap: 12px;
  padding: 18px;
}

.patient-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.patient-head div { display: grid; grid-gap: 2px; gap: 2px; }
.patient-head strong { font-size: 17px; }
.patient-head span { color: var(--muted); font-size: 12px; }
.patient-head svg { color: var(--teal); }

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

.patient-tabs span {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 7px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.patient-tabs span.on {
  border-color: var(--teal);
  background: var(--ice);
  color: var(--teal-dark);
}

.plan-rows {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.plan-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  grid-gap: 10px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
}

.plan-row em {
  font-style: normal;
  font-weight: 800;
}

.chip {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 9px;
}

.chip.ok { background: #d9f7ef; color: #067a5b; }
.chip.todo { background: #fdeed7; color: #a05a00; }

.plan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.plan-footer b { color: var(--teal-dark); }

/* ── Metrics band ───────────────────────────────────────────────── */
.metrics-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.metric {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  padding: 26px 18px;
  border-right: 1px solid var(--line);
}

.metric:last-child { border-right: 0; }
.metric strong {
  font-family: var(--font-display);
  color: var(--teal-dark);
  font-size: 30px;
  line-height: 1;
}
.metric span { color: var(--muted); font-size: 13px; font-weight: 700; }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: 88px 0; }

.section-heading {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-heading.invert span { color: var(--mint); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

/* ── Bento grid ─────────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.bento-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  display: grid;
  align-content: start;
  grid-gap: 12px;
  gap: 12px;
  min-height: 200px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 110, 128, 0.4);
  box-shadow: 0 18px 44px rgba(7, 63, 72, 0.14);
}

.bento-card.wide { grid-column: span 2; }

.bento-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--ice);
  color: var(--teal-dark);
}

.bento-card h3 { font-size: 18px; letter-spacing: -0.01em; }
.bento-card p { color: var(--muted); font-size: 14.5px; }

/* ── Flow section ───────────────────────────────────────────────── */
.flow-section {
  padding: 88px 0;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(20, 184, 166, 0.22), transparent 60%),
    var(--deep);
  color: #fff;
}

.flow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  counter-reset: step;
}

.flow-step {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 22px;
  display: grid;
  align-content: start;
  grid-gap: 10px;
  gap: 10px;
  min-height: 180px;
}

.flow-step small {
  color: var(--mint);
  font-weight: 800;
  font-size: 12px;
}

.flow-step svg { color: #8fd8d2; }
.flow-step strong { font-size: 16.5px; }
.flow-step p { color: rgba(255, 255, 255, 0.72); font-size: 13.5px; }

/* ── Trust / AI section ─────────────────────────────────────────── */
.trust-section {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--deep), #0a3a41);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  grid-gap: 48px;
  gap: 48px;
  align-items: center;
}

.trust-inner > div:first-child {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  justify-items: start;
}

.trust-text {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.trust-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.trust-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 15px;
  font-weight: 700;
  font-size: 14.5px;
}

.trust-list svg { color: var(--mint); flex-shrink: 0; }

/* ── CTA ────────────────────────────────────────────────────────── */
.cta-section { padding: 88px 0; }

.cta-panel {
  display: grid;
  justify-items: center;
  grid-gap: 14px;
  gap: 14px;
  text-align: center;
  border-radius: 24px;
  padding: 56px 32px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal) 60%, var(--aqua));
  color: #fff;
  box-shadow: 0 30px 80px rgba(7, 89, 104, 0.35);
}

.cta-panel p { color: rgba(255, 255, 255, 0.85); max-width: 520px; }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-inner small { font-size: 12.5px; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: 56px; }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.wide { grid-column: span 2; }
  .flow-rail, .metrics-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-inner { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 58px minmax(0, 1fr); }
  .preview-patient { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-inner { text-align: left; justify-items: start; }
  .metrics-row, .bento-grid, .flow-rail { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: auto; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-side { display: none; }
  .cta-panel { padding: 40px 20px; }
}

