/* ClinicFrame custom design-system overrides.
   Loaded after clinicframe.webflow.shared.*.css — only redefines CSS custom
   properties (+ a handful of literal-white surface selectors that don't use
   variables), so the whole site re-themes without touching the generated file. */

:root {
  /* Blue scale, light -> dark */
  --blue-100: #eff0f6;
  --blue-200: #dee2ed;
  --blue-300: #bec5dc;
  --blue-400: #9da9ca;
  --blue-500: #7d8eb9;
  --blue-600: #5b74a8;
  --blue-700: #355c96;
  --blue-800: #14457d;
  --blue-900: #003065;
  --blue-1000: #001c4d;
  --blue-1100: #001241;

  /* Site "white" is always this warm off-white, never pure #fff */
  --cf-white: #fdfef9;

  /* Yellow scribing accent (was #f2f962, unused in practice) -> blue */
  --color--base--brand-color: var(--blue-800);

  /* Teal scribing accents -> blue, chosen per surface for WCAG contrast:
     dark text/fills on light bg get the darker shades, light fills on
     dark bg get the lighter shades. */
  --_color---base-color--scribing-brand-color: var(--blue-800);
  --_color---base-color--green: var(--blue-700);
  --teal: var(--blue-800);
  --teal-mid: var(--blue-700);
  --teal-soft: var(--blue-100);

  /* Dark "scribing" surfaces -> unified navy instead of near-black/dark-teal */
  --base--bg--bg-primary: var(--blue-1100);
  --_color---bg-color--bg-primary: var(--cf-white);
  --base--bg--bg-secondary: var(--blue-1100);
  --_color---bg-color--bg-secondary: var(--blue-1100);

  /* Semantic "white" tokens -> cf-white */
  --_color---base-color--white: var(--cf-white);
  --kütüp-library--white: var(--cf-white);

  /* These teal/tan vars were missed in the first pass — still leaking
     through gradient text and a couple of surfaces. */
  --_color---scribing--text-color--text-inverse: var(--blue-800);
  --_color---bg-color--card-bg-01: var(--blue-1100);
  --_color---bg-color--input-bg: var(--blue-1100);
  --text-dark: var(--blue-1000);
  --base--text--text-inverse: var(--blue-400);
}

/* A few gradients/shadows are hardcoded teal hex (not wired to the
   variables above), so they survived the first color pass untouched. */
.hiw-image-wrap.transcription.real-time-transcription {
  background-image:
    linear-gradient(0deg, var(--cf-white), transparent 50%),
    url("https://cdn.prod.website-files.com/69c6d0aaf6b74415caa500c6/69cce071e6b181c5888da07a_Teal-Time%20Transcription.webp");
}

.hiw-image-wrap.ai-coaching {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(20, 69, 125, 0.5) 99%),
    linear-gradient(180deg, transparent, var(--cf-white) 63%),
    url("https://cdn.prod.website-files.com/69c6d0aaf6b74415caa500c6/69ccdfb83396eb61cfd35689_AI%20coaching.webp");
}

.hiw-image-wrap.transcription {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(20, 69, 125, 0.5)),
    linear-gradient(0deg, var(--cf-white), transparent 50%),
    url("https://cdn.prod.website-files.com/69c6d0aaf6b74415caa500c6/69cce071e6b181c5888da07a_Teal-Time%20Transcription.webp");
}

.sfa-icon-wrap-1 {
  background-image: linear-gradient(135deg, var(--blue-800), var(--blue-600) 77%);
  box-shadow:
    0 6px 7.5px rgba(20, 69, 125, 0.25),
    0 0 3px rgba(20, 69, 125, 0.25);
}

.sfa-icon-wrap {
  background-image: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  box-shadow:
    0 4px 12px 4px rgba(20, 69, 125, 0.25),
    0 1px 20px -20px rgba(20, 69, 125, 0.25);
}

.cf-icon {
  box-shadow: 0 4px 16px rgba(20, 69, 125, 0.25);
}

.sc-subtitle {
  color: var(--blue-1000);
}

/* Bolder, more confident headline weight — the Webflow default "medium"
   (500) reads flat next to the rest of the redesign. */
.heading-h1,
.heading-h2 {
  font-weight: var(--_font---font-weight--bold);
}

.heading-h3,
.heading-h4 {
  font-weight: var(--_font---font-weight--semibold);
}

/* Literal #fff/white surface backgrounds in the generated stylesheet aren't
   wired to a variable, so the visible "white" panels are re-pointed here. */
body,
.w-input,
.w-select,
._404_section,
.section.features,
.section.how-to,
.section.is-cta,
.section.faq,
.section.specialties-carousel,
.hiw-item-card.platform-clinicframe,
.features-table,
.kutup-section,
.sfa-card,
.sfa-card-1,
.wc-card,
.dropdown-link,
.dropdown-link-2,
.dropdown-link-3,
.page,
.card,
.s1-browser,
.s2-dmg,
.url-bar,
.s1-toast,
.s3-login {
  background-color: var(--cf-white);
}

.w-webflow-badge {
  background-color: var(--cf-white) !important;
}

/* ============================================
   Shared Nav: Features dropdown
   Layout structure only (icon + title + description rows in a shadowed
   panel) — colors/type are ClinicFrame's own blue/Inter system.
   ============================================ */
.cf-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.cf-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--_font---font--family--body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue-1000);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0;
  text-decoration: none;
}

.cf-nav-item[aria-current="page"] {
  color: var(--blue-800);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.cf-nav-item svg {
  transition: transform 0.15s ease;
}

.cf-nav-item[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.cf-nav-dropdown {
  position: relative;
}

.cf-nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background-color: var(--cf-white);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 18, 65, 0.16);
  padding: 0.5rem;
  display: none;
  z-index: 1000;
}

.cf-nav-dropdown-panel.is-open {
  display: block;
}

.cf-nav-dropdown-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.cf-nav-dropdown-row:hover,
.cf-nav-dropdown-row:focus-visible {
  background-color: var(--blue-100);
}

.cf-nav-dropdown-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--blue-1000);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-nav-dropdown-icon svg {
  width: 18px;
  height: 18px;
}

.cf-nav-dropdown-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--_font---font--family--heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-1000);
}

.cf-nav-dropdown-desc {
  margin-top: 0.15rem;
  font-family: var(--_font---font--family--body);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-body);
}

.cf-nav-external-icon {
  flex: none;
  width: 12px;
  height: 12px;
  color: var(--text-body);
}

@media (max-width: 991px) {
  .cf-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cf-nav-dropdown-panel {
    position: static;
    transform: none;
    width: auto;
    box-shadow: none;
    margin-top: 0.5rem;
  }
}
