/* ==========================================================================
   Soham Enterprises — design system
   Minimal / Swiss layout, calm health green, crisp 1px lines, dark "command
   center" sections for depth. One stylesheet for every page.

   1. Tokens          6. Header & nav        11. Inner-page blocks
   2. Base            7. Footer              12. Forms
   3. Typography      8. Hero & mockups      13. Motion
   4. Layout          9. Home sections       14. Responsive
   5. Components     10. Command center
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #F7F8FA;
  --bg-alt: #EFF2F6;
  --surface: #FFFFFF;
  --ink: #0B1220;
  --ink-2: #283345;
  --text: #3D4757;
  --muted: #5B6576;
  --soft: #7C8698;
  --line: #E3E7ED;
  --line-strong: #CFD6DF;

  --brand: #0E9F6E;
  --brand-strong: #047857;
  --brand-deep: #064E3B;
  --brand-tint: #E7F8F0;
  --mint: #34D399;
  --wa: #25D366;
  --wa-bubble: #D9FDD3;

  --info: #1D63C4;
  --info-tint: #E6F0FC;
  --warn: #A95208;
  --warn-tint: #FEF3C7;
  --danger: #B42318;
  --danger-tint: #FEF1F0;

  --night: #070B14;
  --night-2: #0E1524;
  --night-3: #16203A;
  --night-line: rgba(255, 255, 255, .09);
  --night-text: #C3CAD6;
  --night-muted: #8C96A8;
  --night-soft: #7E8AA0;

  --chart-1: #0E9F6E;
  --chart-2: #1C8FD6;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06);
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -12px rgba(11, 18, 32, .14);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, .04), 0 32px 64px -24px rgba(11, 18, 32, .28);

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
b, strong { font-weight: 600; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: #C9F0DF; color: var(--ink); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke-width: 1.75;
}
.icon-whatsapp { fill: currentColor; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }

.display {
  font-size: clamp(2.5rem, 1.3rem + 3.9vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.page-title {
  font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.h2,
.section-head__title {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.muted { color: var(--soft); }

.display em,
.page-title em,
.h2 em,
.section-head__title em,
.cta-band__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.01em;
  color: var(--brand-strong);
}

.lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.section-text {
  margin-top: 20px;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.175rem);
  color: var(--muted);
  text-wrap: pretty;
}

.fine-print {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.fine-print .icon { margin-top: 2px; width: 16px; height: 16px; }
.section--night .fine-print { color: var(--night-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color .2s, gap .2s var(--ease);
}
.link-arrow .icon { width: 18px; height: 18px; }
.link-arrow:hover { border-color: var(--ink); gap: 12px; }

.center-link { margin-top: 40px; text-align: center; }

/* 4. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__text {
  margin-top: 20px;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.175rem);
  color: var(--muted);
  text-wrap: pretty;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: 20px 64px; align-items: end; }
.section-head--split .eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.section-head--split .section-head__text { margin-top: 0; }

.split { display: grid; gap: 48px; align-items: center; }
.split__copy .link-arrow { margin-top: 8px; }
.split__copy > .btn { margin-top: 28px; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }

/* Night sections */
.section--night {
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: var(--night-text);
}
.section--night h2, .section--night h3 { color: #fff; }
.section--night .muted { color: var(--night-soft); }
.section--night .eyebrow { color: var(--mint); }
.section--night .section-head__text,
.section--night .section-text { color: var(--night-text); }
.section--night .display em,
.section--night .h2 em,
.section--night .section-head__title em { color: var(--mint); }
.section--night .link-arrow { color: #fff; border-color: rgba(255, 255, 255, .25); }
.section--night .link-arrow:hover { border-color: #fff; }

.night-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 45% at 50% 0%, rgba(14, 159, 110, .22), transparent 70%),
    radial-gradient(40% 35% at 95% 100%, rgba(28, 143, 214, .12), transparent 70%);
}
.night-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* 5. Components ------------------------------------------------------------ */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease),
    transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn .icon-arrow-right { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--sm { --h: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #1D2940; box-shadow: 0 10px 24px -10px rgba(11, 18, 32, .55); }

.btn--wa { background: var(--wa); color: var(--ink); }
.btn--wa:hover { background: #1FBE5B; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .6); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #E8EDF3; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .6); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: border-color .2s;
}
.pill:hover { border-color: var(--line-strong); }
.pill > .icon { width: 14px; height: 14px; color: var(--muted); }
.pill__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 600;
}
.pill__tag .icon { width: 14px; height: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.chip .icon { width: 13px; height: 13px; }
.section--night .chip,
.chip--light {
  border-color: var(--night-line);
  background: rgba(255, 255, 255, .04);
  color: var(--night-text);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { background: var(--brand-tint); color: var(--brand-strong); }
.status--live { background: var(--info-tint); color: var(--info); }
.status--wait { background: var(--warn-tint); color: var(--warn); }
.status--wa { background: #DCFCE7; color: #166534; }
.status--busy { background: var(--danger-tint); color: var(--danger); }
.section--night .status--ok, .call-card .status--ok { background: rgba(16, 185, 129, .14); color: #6EE7B7; }
.section--night .status--live { background: rgba(59, 130, 246, .16); color: #93C5FD; }
.section--night .status--wait { background: rgba(245, 158, 11, .14); color: #FCD34D; }
.section--night .status--wa { background: rgba(37, 211, 102, .14); color: #86EFAC; }
.section--night .status--busy { background: rgba(239, 68, 68, .14); color: #FCA5A5; }

.token {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  padding: 3px 7px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.token--lg { min-width: 52px; padding: 8px 10px; font-size: 14px; border-radius: 10px; }
.section--night .token { background: rgba(255, 255, 255, .08); }

.check-list { display: grid; gap: 12px; margin-top: 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-strong);
  stroke-width: 2.5;
}
.section--night .check-list li { color: var(--night-text); }
.section--night .check-list .icon { background: rgba(52, 211, 153, .12); color: var(--mint); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--ink-2);
}

/* Window + phone frames (used by every mockup) */
.window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(#fff, #FAFBFC);
}
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window__title {
  flex: 1;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.section--night .window {
  border-color: var(--night-line);
  background: var(--night-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02);
}
.section--night .window__bar { border-color: var(--night-line); background: rgba(255, 255, 255, .02); }
.section--night .window__dots i { background: rgba(255, 255, 255, .14); }
.section--night .window__title { color: var(--night-muted); }

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}
.section--night .live-dot { color: var(--mint); }

.phone {
  width: 272px;
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 38px;
  background: #EFEAE2;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 18, 32, .1);
}
.phone__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  background: #0B4F3C;
  color: #fff;
}
.phone__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}
.phone__avatar .icon { width: 18px; height: 18px; }
.phone__who { display: grid; line-height: 1.25; }
.phone__who b { font-size: 13.5px; }
.phone__who small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #A7F3D0; }
.phone__who small .icon { width: 12px; height: 12px; }
.phone__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px 10px;
  padding: 9px 12px 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--soft);
  font-size: 12.5px;
}
.phone__input .icon { width: 16px; height: 16px; color: #0B4F3C; }

.chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  height: 318px;
  padding: 14px 10px;
  overflow: hidden;
  background-color: #EFEAE2;
  background-image: radial-gradient(rgba(11, 18, 32, .05) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(transparent, #000 28px);
  mask-image: linear-gradient(transparent, #000 28px);
}
.bubble {
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(11, 18, 32, .08);
}
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: var(--wa-bubble); border-top-right-radius: 4px; }
.bubble--pass { display: grid; gap: 3px; border-left: 3px solid var(--brand); }
.pass__title { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-strong); }
.pass__title .icon { width: 15px; height: 15px; }
.pass__row { font-size: 12px; color: var(--ink-2); }
.pass__note { margin-top: 2px; font-size: 11px; color: var(--muted); }

.typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border-top-left-radius: 4px;
  background: #fff;
}
.typing.is-on { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--soft); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.chat--dark { height: auto; min-height: 280px; justify-content: flex-start; background: rgba(255, 255, 255, .02); border-radius: var(--r); }
.chat--dark .bubble { max-width: 72%; font-size: 14px; box-shadow: none; }
.chat--dark .bubble--in { background: rgba(255, 255, 255, .08); color: #fff; }
.chat--dark .bubble--out { background: #0F5E47; color: #fff; }
.chat--dark .bubble .icon { display: inline; width: 14px; height: 14px; vertical-align: -2px; }

.float-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.float-chip__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--mint);
}
.float-chip__icon .icon { width: 18px; height: 18px; }
.float-chip__text { display: grid; line-height: 1.3; }
.float-chip__text b { font-size: 13px; color: var(--ink); }
.float-chip__text small { font-size: 11.5px; color: var(--muted); }
.float-chip--stat { flex-direction: column; align-items: flex-start; gap: 0; }
.float-chip__big { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--brand-strong); line-height: 1.1; }
.float-chip--stat small { font-size: 11.5px; color: var(--muted); }

.wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.wave i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: var(--brand);
  transform-origin: center;
  animation: wave 1.1s ease-in-out infinite;
}
.wave i:nth-child(2n) { animation-delay: -.25s; }
.wave i:nth-child(3n) { animation-delay: -.5s; }
.wave i:nth-child(5n) { animation-delay: -.75s; }

.kpi {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.kpi__label { font-size: 11.5px; color: var(--muted); }
.kpi__value { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1.2; }
.kpi__note { font-size: 11px; color: var(--soft); }

.mini-title { margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.meter {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--brand-tint);
}
.meter > span { display: block; width: var(--pct); height: 100%; border-radius: inherit; background: var(--brand); }
.section--night .meter { background: rgba(52, 211, 153, .14); }
.section--night .meter > span { background: var(--mint); }

.data-table { width: 100%; font-size: 14px; }
.data-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
}
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--ink-2); }
.data-table tr:last-child td { border-bottom: 0; }
.section--night .data-table th { border-color: var(--night-line); color: var(--night-muted); }
.section--night .data-table td { border-color: var(--night-line); color: var(--night-text); }
.table-scroll { overflow-x: auto; }

/* Image slots: a styled placeholder shows until the real image is added */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 3);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(14, 159, 110, .28), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(28, 143, 214, .18), transparent 60%),
    linear-gradient(135deg, #0E1524, #182640);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.media img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .55);
  transform: translate(-50%, -50%);
}
.media__icon .icon { width: 30px; height: 30px; }
.stage > .media { width: min(100%, 500px); }

/* 6. Header & nav ---------------------------------------------------------- */
.announce { background: var(--ink); color: #D5DBE5; font-size: 13.5px; }
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding-block: 8px;
  text-align: center;
}
.announce__tag {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.announce__link { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 500; white-space: nowrap; }
.announce__link .icon { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.announce__inner:hover .announce__link .icon { transform: translateX(3px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(247, 248, 250, .8);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .88); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header__brand { flex: none; border-radius: 10px; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo__mark { width: 32px; height: 32px; color: var(--ink); }
.logo__word { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.logo__word b { font-weight: 700; color: var(--brand-strong); }

.nav { margin-left: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.nav__link:hover,
.nav__item.is-open > .nav__link { background: rgba(11, 18, 32, .05); color: var(--ink); }
.nav__link[data-active] { color: var(--ink); }
.nav__link[data-active]::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%);
}
.nav__caret { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  width: min(980px, calc(100vw - var(--gutter) * 2));
  padding-top: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.mega--compact { width: min(780px, calc(100vw - var(--gutter) * 2)); }
.nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.mega__panel {
  display: grid;
  grid-template-columns: 1fr 272px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; }
.mega__grid--2 { grid-template-columns: repeat(2, 1fr); }
.mega__item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; transition: background-color .15s; }
.mega__item:hover, .mega__item[aria-current] { background: var(--bg); }
.mega__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  transition: background-color .15s, color .15s;
}
.mega__icon .icon { width: 18px; height: 18px; }
.mega__item:hover .mega__icon { background: var(--ink); color: var(--mint); }
.mega__item b { display: block; font-size: 14px; color: var(--ink); line-height: 1.35; }
.mega__item small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.mega__feature {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  padding: 22px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--night-text);
  font-size: 13.5px;
}
.mega__feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 60% at 100% 0%, rgba(14, 159, 110, .45), transparent 70%);
}
.mega__feature b { font-size: 17px; line-height: 1.25; letter-spacing: -0.015em; color: #fff; }
.mega__feature-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.mega__feature-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: #fff; font-weight: 500; }
.mega__feature-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mega__feature:hover .mega__feature-link .icon { transform: translateX(3px); }

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu {
  position: fixed;
  top: var(--menu-top, var(--header-h));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 49;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  background: var(--surface);
  animation: fadeIn .2s var(--ease);
}
.mobile-menu__inner { display: grid; padding-block: 8px 40px; }
.mobile-menu__group { border-bottom: 1px solid var(--line); }
.mobile-menu__group summary,
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s var(--ease); }
.mobile-menu__group[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__group ul { display: grid; padding: 0 0 12px 4px; }
.mobile-menu__group a { display: block; padding: 10px 0; font-size: 16px; color: var(--ink-2); }
.mobile-menu__link { border-bottom: 1px solid var(--line); }
.mobile-menu__cta { display: grid; gap: 10px; margin-top: 28px; }

/* 7. Footer ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 96px);
  background: var(--night);
  color: var(--night-text);
  font-size: 14.5px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo__mark { color: #fff; --logo-ink: var(--ink); }
.site-footer .logo__word b { color: var(--mint); }
.site-footer__top { display: grid; gap: 48px; padding-bottom: 56px; }
.site-footer__brand p { max-width: 34ch; margin-top: 18px; color: var(--night-muted); }
.site-footer__contact { display: grid; gap: 10px; margin-top: 24px; }
.site-footer__contact a,
.site-footer__contact span { display: inline-flex; align-items: center; gap: 10px; color: var(--night-text); }
.site-footer__contact a:hover { color: #fff; }
.site-footer__contact .icon { width: 16px; height: 16px; color: var(--mint); }
.site-footer__contact .site-footer__address { max-width: 34ch; align-items: flex-start; }
.site-footer__address .icon { margin-top: .3em; }
.footer-partner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--night-line);
  border-radius: var(--r);
  transition: border-color .2s var(--ease);
}
.footer-partner:hover { border-color: rgba(255, 255, 255, .28); }
.footer-partner__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-soft); }
.footer-partner img { width: 150px; height: auto; }
.site-footer__heading {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--night-soft);
}
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col ul + .site-footer__heading { margin-top: 32px; }
.site-footer__col li a { color: var(--night-text); transition: color .15s; }
.site-footer__col li a:hover { color: #fff; }
.site-footer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__cta p:not(.site-footer__heading) { margin-bottom: 8px; color: var(--night-muted); }
.site-footer__cta .btn { width: 100%; max-width: 280px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid var(--night-line);
  font-size: 13px;
  color: var(--night-muted);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bottom a:hover { color: #fff; }
.site-footer__wordmark {
  margin-bottom: -0.1em;
  font-size: clamp(44px, 10vw, 168px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--wa);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 16px 32px -12px rgba(11, 18, 32, .45);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float .icon { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(11, 18, 32, .5); }

/* 8. Hero & mockups -------------------------------------------------------- */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 50% at 85% 5%, rgba(14, 159, 110, .14), transparent 70%),
    radial-gradient(40% 40% at 5% 0%, rgba(28, 143, 214, .08), transparent 70%);
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .75;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 75%);
}
.hero__inner { display: grid; gap: 56px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
.hero__proof li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hero__proof .icon { width: 16px; height: 16px; color: var(--brand-strong); stroke-width: 2.5; }
/* Meta Tech Provider badge: keep the official lockup unmodified, with clear space around it */
.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.meta-badge__logo { width: 120px; height: auto; }
.meta-badge__text { display: grid; gap: 2px; padding-left: 18px; border-left: 1px solid var(--line); line-height: 1.3; }
.meta-badge__text b { font-size: 14.5px; color: var(--ink); }
.meta-badge__text small { font-size: 12.5px; color: var(--muted); }

/* Collage geometry (desktop): the dashboard sits top-right, the phone overlaps its
   lower-left corner. The queue is indented so nothing readable hides behind the phone. */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 668px;
  margin-inline: auto;
  animation: heroIn 1s var(--ease) both .2s;
}
.hero-dash { position: absolute; top: 0; right: 0; width: 70%; }
.hero-dash__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.hero-dash__queue { display: grid; gap: 8px; margin: 0 14px 14px 96px; }
.hero-dash__queue .mini-title { margin-bottom: 2px; }
.queue-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; }
.queue-row__name { flex: 1; overflow: hidden; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.hero__visual .phone { position: absolute; top: 250px; left: 0; z-index: 2; width: 260px; }
.hero__visual .chat { height: 290px; }
.hero__visual .float-chip--voice { position: absolute; top: 448px; right: -8px; z-index: 3; }
.hero__visual .float-chip--stat { position: absolute; right: 40px; bottom: 36px; z-index: 3; }

/* 9. Home sections --------------------------------------------------------- */
.band { overflow: hidden; padding-block: 18px; border-block: 1px solid var(--line); background: var(--surface); }
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  flex: none;
  gap: 48px;
  padding-right: 48px;
  animation: marquee 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee__track .icon { width: 18px; height: 18px; color: var(--brand); }

.problem-grid { display: grid; gap: 16px; }
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.problem-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--danger-tint);
  color: var(--danger);
}
.problem-card__icon .icon { width: 20px; height: 20px; }
.problem-card h3 { font-size: 18px; }
.problem-card p { font-size: 15px; color: var(--muted); }
.problem-card__fix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-strong);
}
.problem-card__fix .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.problem-card__fix:hover .icon { transform: translateX(3px); }

.solutions-grid { display: grid; gap: 16px; }
.solution-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.solution-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.solution-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.solution-card__num { font-family: var(--font-mono); font-size: 12.5px; color: var(--soft); }
.solution-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.solution-card__icon .icon { width: 22px; height: 22px; }
.solution-card:hover .solution-card__icon { background: var(--ink); color: var(--mint); }
.solution-card__title { margin-top: 8px; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.solution-card__desc { font-size: 15px; color: var(--muted); }
.solution-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.solution-card__metric { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.solution-card__metric .icon { width: 16px; height: 16px; color: var(--brand); }
.solution-card__arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.solution-card__arrow .icon { width: 16px; height: 16px; }
.solution-card:hover .solution-card__arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(45deg); }

.suite-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
}
.suite-foot p { font-size: 17px; font-weight: 500; color: var(--ink); }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.step__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--line-strong);
}
.step__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--mint);
}
.step__icon .icon { width: 22px; height: 22px; }
.step h3 { margin-bottom: 8px; font-size: 19px; }
.step p { font-size: 15px; color: var(--muted); }

.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.langs li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color .2s, transform .2s var(--ease);
}
.langs li:hover { border-color: var(--brand); transform: translateY(-2px); }
.langs span { font-size: 16px; font-weight: 600; color: var(--ink); }
.langs small { font-size: 11.5px; color: var(--muted); }
.section--night .langs li { border-color: var(--night-line); background: rgba(255, 255, 255, .04); }
.section--night .langs li:hover { border-color: var(--mint); }
.section--night .langs span { color: #fff; }
.section--night .langs small { color: var(--night-muted); }

.call-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--night-text);
  box-shadow: var(--shadow-lg);
}
.call-card__head { display: flex; align-items: center; gap: 12px; }
.call-card__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.call-card__avatar .icon { width: 20px; height: 20px; }
.call-card__who { display: grid; flex: 1; line-height: 1.35; }
.call-card__who b { font-size: 14px; color: #fff; }
.call-card__who small { font-size: 12px; color: var(--night-muted); }
.call-card__timer { font-size: 13px; color: var(--mint); }
.wave--lg { justify-content: center; gap: 5px; height: 56px; padding: 8px 0; border-block: 1px solid var(--night-line); }
.wave--lg i { width: 4px; background: var(--mint); }
.transcript { display: grid; gap: 12px; }
.transcript__line { display: flex; gap: 12px; font-size: 14.5px; color: #fff; line-height: 1.5; }
.transcript__who {
  flex: none;
  width: 64px;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mint);
}
.transcript__line--patient .transcript__who { color: #93C5FD; }
.transcript__line--patient span:last-child { color: var(--night-text); }
.transcript__switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .1);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mint);
}
.transcript__switch .icon { width: 14px; height: 14px; }
.call-card__foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--night-line); }

.segments { display: grid; gap: 16px; }
.segment {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.segment:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.segment__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.segment__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--mint);
}
.segment__icon .icon { width: 20px; height: 20px; }
.segment h3 { font-size: 19px; }
.segment__row { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; color: var(--ink-2); }
.segment__row b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.segment__row--pain { background: var(--danger-tint); }
.segment__row--pain b { color: var(--danger); }
.segment__row--fix { background: var(--brand-tint); }
.segment__row--fix b { color: var(--brand-strong); }
.segment__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.segment__link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.segment:hover .segment__link .icon { transform: translateX(3px); }

.roi {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.range label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.range output { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.range input {
  --fill: 50%;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.range input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand) var(--fill), var(--line) var(--fill));
}
.range input::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(11, 18, 32, .2);
  -webkit-appearance: none;
  appearance: none;
  transition: transform .15s var(--ease);
}
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }
.range input::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }
.range input::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--brand); }
.range input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(11, 18, 32, .2);
}
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(14, 159, 110, .25); }
.range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(14, 159, 110, .25); }

.roi__results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.roi__result { display: grid; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--bg); }
.roi__result span { font-size: 13px; color: var(--muted); }
.roi__result b { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.roi__result--hero { grid-column: 1 / -1; background: var(--ink); }
.roi__result--hero span { color: var(--night-muted); }
.roi__result--hero b { font-size: clamp(2.4rem, 1.8rem + 2vw, 3rem); letter-spacing: -0.04em; line-height: 1.1; color: #fff; }
.roi__compare { font-size: 14px; color: var(--muted); }

.trust-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.trust-tile { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.trust-tile > .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand-strong);
}
.trust-tile h3 { margin-bottom: 6px; font-size: 18px; }
.trust-tile p { font-size: 15px; color: var(--muted); }

.testimonials { display: grid; gap: 16px; }
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.quote-card__stars { display: flex; gap: 2px; color: #F5A524; }
.quote-card__stars .icon { width: 16px; height: 16px; fill: currentColor; }
.quote-card blockquote { font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card figcaption b { display: block; font-size: 15px; color: var(--ink); }
.quote-card figcaption small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}
.quote-card__metric {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.quote-card--dark { border-color: var(--ink); background: var(--ink); }
.quote-card--dark blockquote { color: #E5E9F0; }
.quote-card--dark figcaption b { color: #fff; }
.quote-card--dark figcaption small { color: var(--night-muted); }
.quote-card--dark .avatar { background: rgba(52, 211, 153, .14); color: var(--mint); }
.quote-card--dark .quote-card__metric { background: rgba(52, 211, 153, .12); color: var(--mint); }

.pricing { display: grid; gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}
/* .plan .plan__name beats `.section--night h3` so a white card keeps dark text inside night sections */
.plan .plan__name { font-size: 20px; color: var(--ink); }
.plan__target { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price span { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.plan__price small { font-size: 14px; color: var(--muted); }
.plan__features { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan__features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan__features .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--brand-strong); stroke-width: 2.5; }
.plan--popular { border-color: var(--ink); background: var(--ink); box-shadow: 0 32px 64px -32px rgba(11, 18, 32, .6); }
.plan--popular::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 50% at 100% 0%, rgba(14, 159, 110, .35), transparent 70%);
  pointer-events: none;
}
.plan--popular > * { position: relative; }
.plan--popular .plan__name,
.plan--popular .plan__price span { color: #fff; }
.plan--popular .plan__target,
.plan--popular .plan__price small { color: var(--night-muted); }
.plan--popular .plan__features { border-color: var(--night-line); }
.plan--popular .plan__features li { color: var(--night-text); }
.plan--popular .plan__features .icon { color: var(--mint); }
.plan__flag {
  position: absolute;
  top: -13px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}
.plan--popular .plan__flag { position: absolute; }
.plan__flag .icon { width: 14px; height: 14px; }
.section--night .plan--popular {
  border-color: rgba(52, 211, 153, .35);
  background: var(--night-2);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, .12), 0 32px 64px -32px rgba(0, 0, 0, .8);
}
.pricing__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--muted); text-align: center; }
.pricing__note .icon { width: 16px; height: 16px; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.faq__item[open] summary .icon { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__item p { max-width: 64ch; padding-bottom: 24px; font-size: 15.5px; color: var(--muted); }
.faq__item[open] p { animation: fadeUp .35s var(--ease); }

.contact-rows { display: grid; gap: 12px; margin-top: 32px; }
.contact-rows a { display: inline-flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; color: #fff; }
.contact-rows .icon { width: 20px; height: 20px; color: var(--mint); }

.cta-band {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--night-text);
}
.cta-band__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(14, 159, 110, .38), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(28, 143, 214, .16), transparent 70%);
}
.cta-band__glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band .eyebrow--light,
.eyebrow--light { color: var(--mint); }
.cta-band__title {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.cta-band__title em { color: var(--mint); }
.cta-band__text { max-width: 52ch; margin-top: 16px; font-size: 16.5px; color: var(--night-text); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 10. Command center ------------------------------------------------------- */
.app-window { max-width: 1060px; margin-inline: auto; }
.app-window__body { display: grid; min-height: 460px; }
.app-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 12px; border-bottom: 1px solid var(--night-line); scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tab {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--night-muted);
  text-align: left;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.app-tab .icon { width: 18px; height: 18px; }
.app-tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.app-tab[aria-selected="true"] { background: rgba(255, 255, 255, .07); color: #fff; box-shadow: inset 0 -2px 0 var(--mint); }
.app-tab[aria-selected="true"] .icon { color: var(--mint); }
.app-panels { min-width: 0; padding: clamp(16px, 2.5vw, 28px); }
.app-panel:not([hidden]) { animation: fadeUp .35s var(--ease); }
.app-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.app-panel__head h3 { font-size: 17px; }

.queue { display: grid; gap: 10px; }
.queue__item {
  display: grid;
  grid-template-columns: auto 1fr minmax(80px, 38%);
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--night-line);
  border-radius: var(--r);
}
.queue__who { display: grid; line-height: 1.35; }
.queue__who b { font-size: 15px; color: #fff; }
.queue__who small { font-size: 13px; color: var(--night-muted); }

.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--night-line); border-radius: var(--r); }
.stat__label { font-size: 12.5px; color: var(--night-muted); }
.stat__value { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.stat__delta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mint); }
.stat__delta .icon { width: 14px; height: 14px; }

.charts { display: grid; gap: 12px; }
.chart { padding: 14px 14px 6px; border: 1px solid var(--night-line); border-radius: var(--r); }
.chart figcaption { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #fff; }
.chart figcaption span { margin-left: 4px; font-weight: 400; color: var(--night-muted); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: rgba(255, 255, 255, .08); stroke-width: 1; shape-rendering: crispEdges; }
.chart__ticks text { font-family: var(--font-mono); font-size: 10.5px; fill: var(--night-muted); }
.chart__label { font-family: var(--font); font-size: 11px; font-weight: 600; fill: #fff; }
.chart__bars path { fill: var(--chart-1); }
.chart__hit { cursor: default; outline: none; }
.chart__hit rect { fill: transparent; transition: fill .15s; }
.chart__hit:hover rect { fill: rgba(255, 255, 255, .04); }
.chart__hit:focus-visible rect { fill: rgba(255, 255, 255, .06); stroke: var(--mint); stroke-width: 1; }
.chart__area { fill: var(--chart-2); opacity: .1; }
.chart__line { fill: none; stroke: var(--chart-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart__points circle { fill: var(--chart-2); stroke: var(--night-2); stroke-width: 2; opacity: 0; transition: opacity .15s; }
.chart__points .chart__hit:first-child circle,
.chart__hit--end circle,
.chart__hit:hover circle,
.chart__hit:focus-visible circle { opacity: 1; }
.chart-table { margin-top: 12px; font-size: 13px; }
.chart-table summary { display: inline-block; color: var(--night-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chart-table summary:hover { color: #fff; }
.chart-table table { margin-top: 12px; }

.chart-tip {
  position: fixed;
  z-index: 60;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
}

/* 11. Inner-page blocks ---------------------------------------------------- */
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.page-hero__inner { display: grid; gap: 48px; align-items: center; }
.page-hero--center .page-hero__inner { max-width: 880px; margin-inline: auto; text-align: center; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .hero__actions,
.page-hero--center .hero-metrics,
.page-hero--center .breadcrumbs { justify-content: center; }
.page-hero .hero__actions { margin-top: 32px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--soft); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); }

.hero-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  color: var(--ink-2);
}
.metric-chip b { color: var(--ink); }
.metric-chip .icon { width: 16px; height: 16px; color: var(--brand-strong); }

/* A positioned canvas for page-hero mockups; add float chips with the corner modifiers */
.stage { position: relative; display: grid; place-items: center; min-height: 440px; padding: 24px 0; }
.stage > .window { width: min(100%, 520px); }
.stage > .phone { justify-self: start; margin-left: 6%; }
.float-chip--tl { position: absolute; top: 4%; left: 0; z-index: 3; }
.float-chip--tr { position: absolute; top: 6%; right: 0; z-index: 3; }
.float-chip--bl { position: absolute; bottom: 6%; left: 0; z-index: 3; }
.float-chip--br { position: absolute; bottom: 4%; right: 0; z-index: 3; }

.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand-strong);
}
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; font-size: 18px; }
.feature p { font-size: 15.5px; color: var(--muted); }
.section--night .feature { border-color: var(--night-line); background: var(--night-2); }
.section--night .feature p { color: var(--night-muted); }
.section--night .feature__icon { background: rgba(52, 211, 153, .12); color: var(--mint); }

.metrics {
  display: grid;
  gap: 1px;
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--line);
}
.metric { padding: clamp(24px, 3vw, 36px); background: var(--surface); }
.metric__value { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.metric__label { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); }
.section--night .metrics { border-color: var(--night-line); background: var(--night-line); }
.section--night .metric { background: var(--night-2); }
.section--night .metric__value { color: #fff; }
.section--night .metric__label { color: var(--night-muted); }

.timeline { display: grid; gap: 12px; }
.timeline__item {
  display: grid;
  gap: 8px 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.timeline__time { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--brand-strong); }
.timeline__body h3 { margin-bottom: 4px; font-size: 17px; }
.timeline__body p { font-size: 15px; color: var(--muted); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; min-width: 720px; font-size: 15px; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { position: sticky; top: 0; background: var(--surface); font-size: 15px; color: var(--ink); }
.compare thead small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.compare tbody th { font-weight: 400; color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .group th {
  padding-top: 20px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare .icon-check { width: 20px; height: 20px; margin-inline: auto; color: var(--brand-strong); stroke-width: 2.5; }
.compare .icon-minus { width: 18px; height: 18px; margin-inline: auto; color: var(--line-strong); }
.compare .is-popular { background: var(--brand-tint); }

.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.contact-cards + .contact-cards { margin-top: 16px; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .2s, transform .25s var(--ease);
}
a.contact-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.contact-card h3 { margin-top: 12px; font-size: 18px; }
.contact-card p { font-size: 15px; color: var(--muted); }
.contact-card strong { margin-top: auto; padding-top: 8px; font-size: 15.5px; color: var(--ink); }

.prose { max-width: 740px; margin-inline: auto; font-size: 17px; line-height: 1.7; color: var(--text); }
.prose h2 { margin: 2.2em 0 .6em; font-size: 1.55rem; letter-spacing: -0.02em; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.2rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.25em; list-style: disc; }
.prose ol { padding-left: 1.25em; list-style: decimal; }
.prose li { margin: .4em 0; }
.prose a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose .prose__meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

/* Book-a-demo hero */
.demo-hero .page-hero__inner { align-items: start; }
.demo-hero .check-list { margin-top: 28px; }
.plan-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand-tint);
  font-size: 14.5px;
  color: var(--brand-deep);
}
.plan-note .icon { width: 16px; height: 16px; }

/* Story block (about) */
.split--story { align-items: start; }
.story { display: grid; gap: 18px; font-size: 17.5px; color: var(--text); }
.story p:first-child { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }

.link-inline { display: inline-flex; align-items: center; gap: 6px; }
.link-inline .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a:hover .link-inline .icon { transform: translateX(3px); }

.section--night .contact-card { border-color: var(--night-line); background: var(--night-2); }
.section--night .contact-card p { color: var(--night-muted); }
.section--night .contact-card strong { color: #fff; }
.section--night a.contact-card:hover { border-color: rgba(255, 255, 255, .22); }

/* Plan-fit cards (pricing) */
.fit-grid { display: grid; gap: 16px; }
.fit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.fit:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.fit:hover .segment__link .icon { transform: translateX(3px); }
.fit__plan {
  align-self: flex-start;
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.fit__plan--popular { border-color: var(--ink); background: var(--ink); color: var(--mint); }
.fit h3 { font-size: 19px; }
.fit p { font-size: 15px; color: var(--muted); }

/* Patient-journey groups (solutions overview) */
.journey { display: grid; gap: clamp(48px, 6vw, 72px); }
.journey__head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.journey__num { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--mint); font-family: var(--font-mono); font-size: 13px; }
.journey__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }
.journey__head p { max-width: 60ch; margin-top: 6px; color: var(--muted); }
.step__link { margin-top: 20px; font-size: 14px; }

/* Technology partner */
.partner { display: grid; gap: 40px; align-items: center; }
.partner__points { display: grid; gap: 18px; margin-top: 32px; }
.partner__points li { display: flex; gap: 14px; align-items: flex-start; }
.partner__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--mint);
}
.partner__icon .icon { width: 18px; height: 18px; }
.partner__points b { display: block; font-size: 16px; color: var(--ink); }
.partner__points small { display: block; margin-top: 2px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.partner__points a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.partner-card__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.partner-card__label .icon { width: 14px; height: 14px; }
.partner-card__logo { width: min(100%, 340px); height: auto; margin-block: 8px 4px; }
.partner-card__text { font-size: 14.5px; color: var(--muted); }
.partner-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s var(--ease);
}
.partner-card__cta .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.partner-card:hover .partner-card__cta { border-color: var(--ink); }
.partner-card:hover .partner-card__cta .icon { transform: translate(2px, -2px); }

/* Before / after rows */
.versus { display: grid; gap: 12px; }
.versus__row { display: grid; gap: 10px; align-items: stretch; }
.versus__pain,
.versus__fix {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.versus__fix { border-color: #BFE9D6; background: var(--brand-tint); }
.versus__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--danger-tint);
  color: var(--danger);
}
.versus__fix .versus__icon { background: var(--ink); color: var(--mint); }
.versus__icon .icon { width: 20px; height: 20px; }
.versus b { display: block; margin-bottom: 2px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--danger); }
.versus__fix b { color: var(--brand-strong); }
.versus p { font-size: 15.5px; color: var(--ink-2); }
.versus__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand-strong);
  transform: rotate(90deg);
}
.versus__arrow .icon { width: 18px; height: 18px; }

/* Flow diagram: entry points -> hub -> outcomes */
.flow { display: grid; gap: 16px; align-items: center; }
.flow__col { display: grid; gap: 10px; }
.flow__label { margin-bottom: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flow__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.flow__item .icon { width: 20px; height: 20px; color: var(--brand-strong); }
.flow__hub {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(100%, 240px);
  margin-inline: auto;
  padding: 28px 24px;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--night-muted);
  font-size: 13.5px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.flow__hub .icon { width: 32px; height: 32px; color: var(--mint); }
.flow__hub b { font-size: 17px; color: #fff; }

/* 12. Forms ---------------------------------------------------------------- */
.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.lead-form__title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.lead-form__sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.field-row { display: grid; gap: 18px; }
.field label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field__optional { font-weight: 400; color: var(--soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #98A1B0; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 159, 110, .16); }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.select .icon { position: absolute; top: 50%; right: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; transform: translateY(-50%); }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: var(--danger); }
.field.is-invalid input { border-color: var(--danger); }
.field.is-invalid input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field.is-invalid .field__error { display: block; }
.lead-form__note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-align: center; }
.lead-form__note .icon { width: 14px; height: 14px; }
.lead-form__success { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--brand-tint); font-size: 14px; color: var(--ink-2); }
.lead-form__success-icon .icon { width: 22px; height: 22px; color: var(--brand-strong); }
.lead-form__success a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }

/* 13. Motion --------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js [data-chat] [data-msg] { display: none; }
.js [data-chat] [data-msg].is-in { display: block; animation: msgIn .35s var(--ease); }
.js [data-chat] .bubble--pass.is-in { display: grid; }
.js [data-chat].is-fading [data-msg] { opacity: 0; transition: opacity .5s; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 159, 110, .5); }
  70% { box-shadow: 0 0 0 7px rgba(14, 159, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0); }
}
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* 14. Responsive ----------------------------------------------------------- */
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .problem-grid,
  .solutions-grid,
  .segments { grid-template-columns: repeat(2, 1fr); }
  .timeline__item { grid-template-columns: 140px 1fr; }
}

@media (min-width: 760px) {
  .charts { grid-template-columns: 1fr 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .versus__row { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .versus__arrow { transform: none; }
  .flow { grid-template-columns: 1fr auto 1fr; gap: 48px; }
  .flow__hub::before,
  .flow__hub::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), var(--brand));
  }
  .flow__hub::before { right: 100%; }
  .flow__hub::after { left: 100%; background: linear-gradient(90deg, var(--brand), var(--line-strong)); }
  .app-window__body { grid-template-columns: 220px minmax(0, 1fr); }
  .app-tabs { flex-direction: column; padding: 16px 12px; border-right: 1px solid var(--night-line); border-bottom: 0; }
  .app-tab[aria-selected="true"] { box-shadow: inset 2px 0 0 var(--mint); }
  .testimonials,
  .pricing,
  .fit-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1.4fr 1fr; }
  .cta-band__actions { justify-content: flex-end; }
}

@media (min-width: 1024px) {
  .partner { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; }
  .page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
  .page-hero--center .page-hero__inner { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1.15fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--faq { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .split--demo { align-items: start; }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
}

@media (min-width: 1100px) {
  .problem-grid,
  .segments,
  .solutions-grid--4,
  .feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1179px) {
  .site-header__wa { display: none; }
}

@media (max-width: 1079px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
}

@media (max-width: 639px) {
  .announce__text { display: none; }
  .hero__visual { display: flex; flex-direction: column; align-items: center; height: auto; }
  .hero__visual .hero-dash,
  .hero__visual .float-chip--voice { display: none; }
  .hero__visual .phone { position: relative; top: 0; width: min(300px, 100%); }
  .hero__visual .float-chip--stat { position: relative; right: auto; bottom: auto; margin-top: -32px; margin-left: 140px; }
  .stage { min-height: 0; }
  .stage > .phone { justify-self: center; margin-left: 0; }
  .float-chip--tl, .float-chip--tr, .float-chip--bl, .float-chip--br { position: relative; inset: auto; margin-top: 12px; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .roi__results { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .transcript__line { flex-direction: column; gap: 2px; }
  .suite-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 479px) {
  .site-header__actions .btn--primary { display: none; }
  .hero__actions .btn { width: 100%; }
  .meta-badge { gap: 14px; padding: 12px 16px; }
  .meta-badge__logo { width: 100px; }
  .meta-badge__text { padding-left: 14px; }
  .queue__item { grid-template-columns: auto 1fr; }
  .queue__item .meter { grid-column: 1 / -1; }
}
