@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500&family=IBM+Plex+Mono:wght@400&display=swap');

/* === CUSTOM PROPERTIES === */
:root {
  --embx-nav-h: 64px;
  --bg-void: #0B0F17;
  --bg-panel: #141923;
  --bg-card: #1C2333;
  --bg-field: #F2F5F9;
  --bg-soft: #E5EAEF;
  --fg-bright: #EDF2F7;
  --fg-dim: #7A90AA;
  --fg-ink: #111827;
  --fg-gray: #4A5568;
  --accent-sensor: #0DCCA8;
  --accent-warn: #E8A020;
  --line-dark: #2A3447;
  --line-light: #D1D9E4;
  --white: #FFFFFF;
  --radius-card: 6px;
  --radius-btn: 4px;
  --shadow-dark: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-light: 0 2px 12px rgba(17,24,39,0.08);
  --section-pad: 6rem;
  --container-max: 1200px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--bg-void);
  color: var(--fg-bright);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { font-size: 1rem; line-height: 1.7; }

/* === LAYOUT CONTAINER === */
.embx-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}

/* === SECTION CONTEXTS === */
.embx-section--dark {
  background: var(--bg-void);
  color: var(--fg-bright);
  padding-block: var(--section-pad);
}
.embx-section--dark-alt {
  background: var(--bg-panel);
  color: var(--fg-bright);
  padding-block: var(--section-pad);
}
.embx-section--light {
  background: var(--bg-field);
  color: var(--fg-ink);
  padding-block: var(--section-pad);
}
.embx-section--light-alt {
  background: var(--bg-soft);
  color: var(--fg-ink);
  padding-block: var(--section-pad);
}

/* === NAVIGATION === */
.embx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--embx-nav-h);
  background: var(--bg-void);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
}
.embx-nav__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.embx-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.embx-nav__logo img { height: 28px; width: auto; }
.embx-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.embx-nav__link {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-dim);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-btn);
  transition: color 0.2s;
  white-space: nowrap;
}
.embx-nav__link:hover { color: var(--fg-bright); }
.embx-nav__link--active { color: var(--fg-bright); }

/* Dropdown */
.embx-nav__dropdown {
  position: relative;
}
.embx-nav__dropdown-toggle {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-dim);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-btn);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  background: none;
  border: none;
}
.embx-nav__dropdown-toggle:hover { color: var(--fg-bright); }
.embx-nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.embx-nav__dropdown.is-open .embx-nav__dropdown-toggle { color: var(--fg-bright); }
.embx-nav__dropdown.is-open .embx-nav__dropdown-toggle svg { transform: rotate(180deg); }
.embx-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  background: var(--bg-panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-dark);
  padding: 0.5rem;
  display: none;
}
.embx-nav__dropdown.is-open .embx-nav__dropdown-menu { display: block; }
.embx-nav__dropdown-item {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-dim);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.embx-nav__dropdown-item:hover {
  color: var(--fg-bright);
  background: var(--bg-card);
}

/* Nav right cluster */
.embx-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.embx-nav__signin {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-dim);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-btn);
  transition: color 0.2s;
}
.embx-nav__signin:hover { color: var(--fg-bright); }

/* Hamburger */
.embx-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.embx-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg-bright);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.embx-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.embx-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.embx-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.embx-nav__mobile {
  display: none;
  position: fixed;
  top: var(--embx-nav-h);
  left: 0;
  right: 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line-dark);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}
.embx-nav__mobile.is-open { display: flex; }
.embx-nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-dim);
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-btn);
  transition: color 0.2s, background 0.2s;
}
.embx-nav__mobile-link:hover {
  color: var(--fg-bright);
  background: var(--bg-card);
}
.embx-nav__mobile-divider {
  height: 1px;
  background: var(--line-dark);
  margin-block: 0.5rem;
}
.embx-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* === BUTTONS === */
.embx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-btn);
  transition: opacity 0.2s, transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.embx-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.embx-btn:active { transform: translateY(0); }

.embx-btn--primary {
  background: var(--accent-sensor);
  color: var(--bg-void);
  border: 2px solid var(--accent-sensor);
  font-weight: 600;
}
.embx-btn--primary:hover { opacity: 0.9; }

.embx-btn--outline-light {
  background: transparent;
  color: var(--fg-ink);
  border: 2px solid var(--fg-ink);
}
.embx-btn--outline-light:hover { background: var(--fg-ink); color: var(--bg-field); }

.embx-btn--ghost-on-dark {
  background: transparent;
  color: var(--fg-bright);
  border: 2px solid var(--line-dark);
}
.embx-btn--ghost-on-dark:hover { border-color: var(--fg-dim); color: var(--fg-bright); }

.embx-btn--ghost-on-light {
  background: transparent;
  color: var(--fg-ink);
  border: 2px solid var(--line-light);
}
.embx-btn--ghost-on-light:hover { border-color: var(--fg-gray); }

.embx-btn--sm { padding: 0.45rem 1rem; font-size: 0.875rem; }
.embx-btn--full { width: 100%; }

/* === FADE-IN ANIMATION === */
.embx-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.embx-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAV CLEARANCE === */
.embx-nav-clearance { padding-top: var(--embx-nav-h); }

/* === HERO: TWO-COLUMN === */
.embx-hero {
  background: var(--bg-void);
  color: var(--fg-bright);
  padding-top: calc(var(--embx-nav-h) + 4rem);
  padding-bottom: 4rem;
}
.embx-hero__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.embx-hero__text { display: flex; flex-direction: column; gap: 1.5rem; }
.embx-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-sensor);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.embx-hero__h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; color: var(--fg-bright); }
.embx-hero__sub {
  font-size: 1.0625rem;
  color: var(--fg-dim);
  max-width: 480px;
  line-height: 1.7;
}
.embx-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}
.embx-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.embx-hero__visual svg { width: 100%; max-width: 340px; height: auto; }

/* Hero centered stack (sub-pages) */
.embx-hero--centered {
  text-align: center;
  padding-top: calc(var(--embx-nav-h) + 3.5rem);
  padding-bottom: 3.5rem;
}
.embx-hero--centered .embx-hero__inner {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.embx-hero--centered .embx-hero__text { align-items: center; }
.embx-hero--centered .embx-hero__sub { max-width: 600px; text-align: center; }
.embx-hero--centered .embx-hero__ctas { justify-content: center; }

/* Hero with visual anchor (two-column, hero-img right) */
.embx-hero--with-img .embx-hero__visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-dark);
}

/* === SUB-PAGE HERO STAT BAND === */
.embx-hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
/* When stats band is a direct child of a centered hero (outside __inner),
   contain and center it to match the hero content axis */
.embx-hero--centered > .embx-hero-stats {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  justify-content: center;
  width: 100%;
}
.embx-hero-stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.embx-hero-stats__value {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-sensor);
}
.embx-hero-stats__label {
  font-size: 0.8125rem;
  color: var(--fg-dim);
  line-height: 1.4;
}

/* === METRICS BAND === */
.embx-metrics {
  background: var(--bg-panel);
  padding-block: 3rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.embx-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.embx-metrics__item { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.embx-metrics__value {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-sensor);
  line-height: 1;
}
.embx-metrics__label {
  font-size: 0.9375rem;
  color: var(--fg-dim);
  max-width: 180px;
  line-height: 1.45;
}

/* === HOW IT WORKS (3-STEP) === */
.embx-steps { }
.embx-steps__heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.embx-steps__heading h2 { color: var(--fg-ink); margin-bottom: 0.75rem; }
.embx-steps__heading p { color: var(--fg-gray); max-width: 520px; margin-inline: auto; }
.embx-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.embx-step__card { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.embx-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-sensor);
  color: var(--bg-void);
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.embx-step__icon { color: var(--fg-ink); }
.embx-step__title { font-size: 1.125rem; font-weight: 600; color: var(--fg-ink); }
.embx-step__body { font-size: 0.9375rem; color: var(--fg-gray); line-height: 1.6; }

/* Steps SVG visual */
.embx-steps__visual {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* === USE CASES CARDS === */
.embx-use-cases { }
.embx-use-cases__heading {
  text-align: center;
  margin-bottom: 3rem;
}
.embx-use-cases__heading h2 { color: var(--fg-ink); margin-bottom: 0.75rem; }
.embx-use-cases__heading p { color: var(--fg-gray); }
.embx-use-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.embx-use-case-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.embx-use-case-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.embx-use-case-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.embx-use-case-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-gray);
}
.embx-use-case-card__title { font-size: 1.25rem; font-weight: 700; color: var(--fg-ink); }
.embx-use-case-card__body p { font-size: 0.9375rem; color: var(--fg-gray); flex: 1; }
.embx-use-case-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-ink);
  border-top: 1px solid var(--line-light);
  padding-top: 0.75rem;
  margin-top: auto;
}
.embx-use-case-card__stat strong { color: var(--fg-ink); }

/* === PROOF SECTION (TESTIMONIAL) === */
.embx-proof__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.embx-proof__quote {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.embx-proof__quotemark {
  font-family: 'Sora', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-sensor);
  opacity: 0.4;
}
.embx-proof__text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--fg-bright);
  line-height: 1.7;
}
.embx-proof__attribution { font-size: 0.875rem; color: var(--fg-dim); }
.embx-proof__metrics { display: flex; flex-direction: column; gap: 1.5rem; }
.embx-proof__metric {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem;
  background: var(--bg-panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
}
.embx-proof__metric-value {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-sensor);
}
.embx-proof__metric-label { font-size: 0.875rem; color: var(--fg-dim); }

/* === TEAM CARDS === */
.embx-team__heading {
  text-align: center;
  margin-bottom: 3rem;
}
.embx-team__heading h2 { color: var(--fg-ink); margin-bottom: 0.75rem; }
.embx-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.embx-team-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.embx-team-card__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.embx-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.embx-team-card__initials {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg-gray);
  background: var(--bg-soft);
}
.embx-team-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.embx-team-card__name { font-size: 1.125rem; font-weight: 700; color: var(--fg-ink); }
.embx-team-card__role { font-size: 0.8125rem; font-weight: 500; color: var(--fg-gray); text-transform: uppercase; letter-spacing: 0.06em; }
.embx-team-card__bio { font-size: 0.9rem; color: var(--fg-gray); line-height: 1.6; margin-top: 0.5rem; }

/* === SECTION HEADINGS (REUSABLE) === */
.embx-section-heading {
  margin-bottom: 3rem;
}
.embx-section-heading--center { text-align: center; }
.embx-section-heading__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-sensor);
  margin-bottom: 0.75rem;
}
.embx-section--light .embx-section-heading__eyebrow,
.embx-section--light-alt .embx-section-heading__eyebrow { color: var(--fg-gray); }
.embx-section-heading h2 { margin-bottom: 0.875rem; }
.embx-section-heading p { max-width: 600px; }
.embx-section-heading--center p { margin-inline: auto; }

/* === FINAL CTA BAND === */
.embx-cta-band {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.embx-cta-band h2 { color: var(--fg-bright); max-width: 640px; }
.embx-cta-band p { color: var(--fg-dim); max-width: 520px; line-height: 1.7; }
.embx-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* === FOOTER === */
.embx-footer {
  background: var(--bg-void);
  color: var(--fg-dim);
  padding-block: 4rem;
  border-top: 1px solid var(--line-dark);
}
.embx-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.embx-footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.embx-footer__brand img { height: 26px; width: auto; }
.embx-footer__tagline { font-size: 0.875rem; line-height: 1.55; }
.embx-footer__address { font-size: 0.8125rem; line-height: 1.7; font-style: normal; }
.embx-footer__contact { font-size: 0.8125rem; line-height: 1.7; }
.embx-footer__contact a { color: var(--fg-dim); transition: color 0.2s; }
.embx-footer__contact a:hover { color: var(--fg-bright); }
.embx-footer__col h4 {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-bright);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.embx-footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.embx-footer__links a {
  font-size: 0.875rem;
  color: var(--fg-dim);
  transition: color 0.2s;
}
.embx-footer__links a:hover { color: var(--fg-bright); }
.embx-footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}
.embx-footer__copyright { color: var(--fg-dim); }
.embx-footer__legal-links {
  display: flex;
  gap: 1.25rem;
}
.embx-footer__legal-links a {
  color: var(--fg-dim);
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.embx-footer__legal-links a:hover { color: var(--fg-bright); }

/* === FEATURE / CAPABILITY CARDS === */
.embx-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.embx-capability-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: var(--shadow-light);
}
.embx-capability-card__icon {
  width: 40px;
  height: 40px;
  color: var(--fg-ink);
}
.embx-capability-card__icon i { font-size: 1.5rem; color: var(--fg-gray); }
.embx-capability-card__title { font-size: 1.0625rem; font-weight: 600; color: var(--fg-ink); }
.embx-capability-card__body { font-size: 0.9rem; color: var(--fg-gray); line-height: 1.6; }
.embx-capability-card__example {
  font-size: 0.8125rem;
  color: var(--fg-gray);
  font-style: italic;
  padding: 0.625rem 0.875rem;
  background: var(--bg-soft);
  border-radius: 4px;
  border-left: 3px solid var(--line-light);
}

/* Capability grid on dark bg */
.embx-section--dark .embx-capability-card,
.embx-section--dark-alt .embx-capability-card {
  background: var(--bg-panel);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-dark);
}
.embx-section--dark .embx-capability-card__title,
.embx-section--dark-alt .embx-capability-card__title { color: var(--fg-bright); }
.embx-section--dark .embx-capability-card__body,
.embx-section--dark-alt .embx-capability-card__body { color: var(--fg-dim); }
.embx-section--dark .embx-capability-card__icon i,
.embx-section--dark-alt .embx-capability-card__icon i { color: var(--accent-sensor); }
.embx-section--dark .embx-capability-card__example,
.embx-section--dark-alt .embx-capability-card__example {
  background: var(--bg-card);
  border-left-color: var(--accent-sensor);
  color: var(--fg-dim);
}

/* === SOLUTIONS GRID === */
.embx-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.embx-solution-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-light);
}
.embx-solution-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-gray);
}
.embx-solution-card__title { font-size: 1.25rem; font-weight: 700; color: var(--fg-ink); }
.embx-solution-card__body { font-size: 0.9375rem; color: var(--fg-gray); line-height: 1.6; flex: 1; }
.embx-solution-card__list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.embx-solution-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-gray);
}
.embx-solution-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-sensor);
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.embx-solution-card__cta { margin-top: auto; }

/* === RESULTS BAND === */
.embx-results-band {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.embx-results-band__item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 160px;
}
.embx-results-band__value {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg-ink);
}
.embx-results-band__label { font-size: 0.875rem; color: var(--fg-gray); }

/* === TESTIMONIAL BLOCK === */
.embx-testimonial {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
  padding: 2.5rem;
  max-width: 680px;
  margin-inline: auto;
}
.embx-testimonial__quote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--fg-ink);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.embx-testimonial__attribution { font-size: 0.875rem; color: var(--fg-gray); }
.embx-testimonial--dark {
  background: var(--bg-panel);
  border: 1px solid var(--line-dark);
}
.embx-testimonial--dark .embx-testimonial__quote { color: var(--fg-bright); }
.embx-testimonial--dark .embx-testimonial__attribution { color: var(--fg-dim); }

/* === INFO PANEL (two-col text/image) === */
.embx-info-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.embx-info-panel--flip { direction: rtl; }
.embx-info-panel--flip > * { direction: ltr; }
.embx-info-panel__text { display: flex; flex-direction: column; gap: 1.25rem; max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
.embx-info-panel__text h2 { color: var(--fg-ink); }
.embx-info-panel__text p { color: var(--fg-gray); font-size: 0.9375rem; line-height: 1.7; }
.embx-info-panel__text--dark h2 { color: var(--fg-bright); }
.embx-info-panel__text--dark p { color: var(--fg-dim); }
.embx-info-panel__visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
}
.embx-section--dark .embx-info-panel__visual img { box-shadow: var(--shadow-dark); }

/* Feature list */
.embx-feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.embx-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--fg-gray);
}
.embx-feature-list li i { color: var(--fg-gray); margin-top: 0.15rem; }
.embx-section--dark .embx-feature-list li { color: var(--fg-dim); }
.embx-section--dark .embx-feature-list li i { color: var(--accent-sensor); }

/* === CHALLENGE + SOLUTION TEXT BLOCKS === */
.embx-challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.embx-challenge-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-light);
}
.embx-challenge-item__num {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #C07010;
}
.embx-challenge-item__title { font-size: 1rem; font-weight: 600; color: var(--fg-ink); }
.embx-challenge-item__body { font-size: 0.875rem; color: var(--fg-gray); line-height: 1.6; }

/* === OUTCOMES GRID === */
.embx-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.embx-outcome-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  box-shadow: var(--shadow-light);
}
.embx-outcome-card__value {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg-ink);
}
.embx-outcome-card__title { font-size: 0.9375rem; font-weight: 600; color: var(--fg-ink); }
.embx-outcome-card__body { font-size: 0.875rem; color: var(--fg-gray); }

/* === BENCHMARK TABLE === */
.embx-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
/* Right-edge fade scroll affordance on narrow viewports */
@media (max-width: 640px) {
  .embx-table-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48px;
    background: linear-gradient(to right, transparent, var(--bg-void));
    pointer-events: none;
  }
}
.embx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}
.embx-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line-dark);
}
.embx-table td {
  padding: 0.875rem 1rem;
  color: var(--fg-bright);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.9rem;
}
.embx-table tr:last-child td { border-bottom: none; }
.embx-table th.embx-table__accent,
.embx-table td.embx-table__accent { color: var(--accent-sensor); font-weight: 600; }
.embx-table__dim { color: var(--fg-dim); }

/* Light table variant */
.embx-table--light th { color: var(--fg-gray); border-bottom-color: var(--line-light); }
.embx-table--light td { color: var(--fg-ink); border-bottom-color: var(--line-light); }

/* Light section context: force dark text on tables to prevent fg-bright on light bg */
.embx-section--light .embx-table th,
.embx-section--light-alt .embx-table th { color: var(--fg-gray); border-bottom-color: var(--line-light); }
.embx-section--light .embx-table td,
.embx-section--light-alt .embx-table td { color: var(--fg-ink); border-bottom-color: var(--line-light); }

/* Docs content context: tables render on white background, must use dark text */
.embx-docs-content .embx-table th { color: var(--fg-gray); border-bottom-color: var(--line-light); }
.embx-docs-content .embx-table td { color: var(--fg-ink); border-bottom-color: var(--line-light); }

/* === CODE / INTEGRATION MOCK === */
.embx-code-block {
  background: var(--bg-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-family: 'IBM Plex Mono', monospace;
}
.embx-code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line-dark);
}
.embx-code-block__lang {
  font-size: 0.75rem;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.embx-code-block__dots {
  display: flex;
  gap: 6px;
}
.embx-code-block__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.embx-code-block__dots span:nth-child(1) { background: #FF5F57; }
.embx-code-block__dots span:nth-child(2) { background: #FEBC2E; }
.embx-code-block__dots span:nth-child(3) { background: #28C840; }
.embx-code-block__body {
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}
.embx-code-block pre {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
  max-width: 100%;
  color: var(--fg-bright);
}
.embx-code-block code { color: var(--fg-bright); }
.embx-code-kw { color: var(--accent-sensor); }
.embx-code-str { color: var(--accent-warn); }
.embx-code-fn { color: var(--fg-bright); }
.embx-code-comment { color: var(--fg-dim); }
.embx-code-var { color: #C3D6F5; }

/* === DOCS LAYOUT === */
.embx-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--embx-nav-h));
}
.embx-docs-sidebar {
  background: var(--bg-soft);
  border-right: 1px solid var(--line-light);
  padding: 2rem 1.25rem;
  position: sticky;
  top: var(--embx-nav-h);
  height: calc(100vh - var(--embx-nav-h));
  overflow-y: auto;
}
.embx-docs-sidebar__section { margin-bottom: 2rem; }
.embx-docs-sidebar__heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-gray);
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}
.embx-docs-sidebar__link {
  display: block;
  padding: 0.4rem 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-gray);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.embx-docs-sidebar__link:hover { color: var(--fg-ink); background: var(--line-light); }
.embx-docs-sidebar__link.is-active { color: var(--fg-ink); font-weight: 500; background: var(--line-light); }
.embx-docs-content {
  background: var(--white);
  padding: 3rem 3.5rem;
  min-height: calc(100vh - var(--embx-nav-h));
}
.embx-docs-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg-ink);
  margin-bottom: 0.5rem;
}
.embx-docs-content h2 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--fg-ink);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line-light);
}
.embx-docs-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fg-ink);
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}
.embx-docs-content p {
  font-size: 0.9375rem;
  color: var(--fg-gray);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 680px;
}
.embx-docs-content ul, .embx-docs-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}
.embx-docs-content li {
  font-size: 0.9375rem;
  color: var(--fg-gray);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}
.embx-docs-content ol { list-style: decimal; }
.embx-docs-content code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  background: var(--bg-soft);
  color: var(--fg-ink);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
.embx-docs-content pre {
  background: var(--bg-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.embx-docs-content pre code {
  background: none;
  color: var(--fg-bright);
  font-size: 0.875rem;
  padding: 0;
}
.embx-docs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--fg-ink);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.embx-docs-back-link:hover { color: var(--accent-sensor); }
.embx-docs-content__meta {
  font-size: 0.8125rem;
  color: var(--fg-dim);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-light);
}

/* === QUICK LINKS === */
.embx-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.embx-quicklink-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-light);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.embx-quicklink-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17,24,39,0.1); }
.embx-quicklink-card i { font-size: 1.5rem; color: var(--fg-gray); }
.embx-quicklink-card__title { font-size: 1rem; font-weight: 600; color: var(--fg-ink); }
.embx-quicklink-card__desc { font-size: 0.875rem; color: var(--fg-gray); line-height: 1.55; }

/* === API REFERENCE === */
.embx-api-endpoint {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}
.embx-api-endpoint__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-light);
}
.embx-api-method {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.embx-api-method--post { background: var(--accent-sensor); color: var(--bg-void); }
.embx-api-method--get { background: #3B82F6; color: #fff; }
.embx-api-method--delete { background: #EF4444; color: #fff; }
.embx-api-endpoint__path {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  color: var(--fg-ink);
}
.embx-api-endpoint__body { padding: 1.25rem; }
.embx-api-endpoint__desc { font-size: 0.9rem; color: var(--fg-gray); margin-bottom: 1rem; }
.embx-api-params { font-size: 0.875rem; }
.embx-api-params table { width: 100%; border-collapse: collapse; }
.embx-api-params th, .embx-api-params td { padding: 0.5rem 0.75rem; text-align: left; }
.embx-api-params th { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-gray); border-bottom: 1px solid var(--line-light); }
.embx-api-params td { font-size: 0.875rem; color: var(--fg-ink); border-bottom: 1px solid var(--bg-soft); }
.embx-api-params td:first-child { font-family: 'IBM Plex Mono', monospace; color: var(--accent-sensor); }

/* === PRICING TIERS === */
.embx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.embx-pricing-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-light);
  position: relative;
}
.embx-pricing-card--highlighted {
  border-color: var(--accent-sensor);
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(13,204,168,0.1), var(--shadow-light);
}
.embx-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-sensor);
  color: var(--bg-void);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25em 0.875em;
  border-radius: 20px;
  white-space: nowrap;
}
.embx-pricing-card__name {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.embx-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.embx-pricing-card__amount {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg-ink);
  line-height: 1;
}
.embx-pricing-card__unit { font-size: 0.8125rem; color: var(--fg-gray); }
.embx-pricing-card__desc { font-size: 0.9rem; color: var(--fg-gray); line-height: 1.55; }
.embx-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}
.embx-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-gray);
}
.embx-pricing-card__feature i { color: var(--accent-sensor); font-size: 0.875rem; margin-top: 0.15rem; flex-shrink: 0; }
.embx-pricing-card__cta { margin-top: auto; }

/* === PRICING FAQ === */
.embx-faq { max-width: 760px; margin-inline: auto; }
.embx-faq__item {
  border-bottom: 1px solid var(--line-light);
}
.embx-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-ink);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 1rem;
}
.embx-faq__question i {
  font-size: 0.875rem;
  color: var(--fg-gray);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.embx-faq__item.is-open .embx-faq__question i { transform: rotate(180deg); }
.embx-faq__answer {
  font-size: 0.9375rem;
  color: var(--fg-gray);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
}
.embx-faq__item.is-open .embx-faq__answer {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

/* === ABOUT PAGE === */
.embx-mission-block {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.embx-mission-block h2 { color: var(--fg-ink); }
.embx-mission-block p { font-size: 1.0625rem; color: var(--fg-gray); line-height: 1.8; }
.embx-story-block { max-width: 720px; margin-inline: auto; }
.embx-story-block p { font-size: 0.9375rem; color: var(--fg-gray); line-height: 1.8; margin-bottom: 1.25rem; }

/* === CONTACT FORM === */
.embx-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.embx-form { display: flex; flex-direction: column; gap: 1.25rem; }
.embx-form__group { display: flex; flex-direction: column; gap: 0.375rem; }
.embx-form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-ink);
}
.embx-form__input,
.embx-form__select,
.embx-form__textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--fg-ink);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-btn);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.embx-form__input:focus,
.embx-form__select:focus,
.embx-form__textarea:focus {
  border-color: var(--accent-sensor);
  box-shadow: 0 0 0 3px rgba(13,204,168,0.12);
}
.embx-form__textarea { resize: vertical; min-height: 120px; }
.embx-form__select { appearance: none; cursor: pointer; }
.embx-form__helper { font-size: 0.8rem; color: var(--fg-gray); }
.embx-form__success {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background: rgba(13,204,168,0.08);
  border: 1px solid rgba(13,204,168,0.3);
  border-radius: var(--radius-card);
  text-align: center;
}
.embx-form__success.is-visible { display: flex; }
.embx-form__success i { font-size: 2rem; color: var(--accent-sensor); }
.embx-form__success h3 { color: var(--fg-ink); }
.embx-form__success p { font-size: 0.9rem; color: var(--fg-gray); }
.embx-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.embx-contact-info__heading { font-size: 1.125rem; font-weight: 600; color: var(--fg-ink); }
.embx-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.embx-contact-info__item i { color: var(--fg-gray); margin-top: 0.15rem; }
.embx-contact-info__item p { font-size: 0.9rem; color: var(--fg-gray); line-height: 1.55; }
.embx-contact-info__item a { color: var(--fg-gray); transition: color 0.2s; }
.embx-contact-info__item a:hover { color: var(--fg-ink); }

/* === AUTH / LOGIN PAGES === */
.embx-auth-page {
  min-height: 100vh;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.embx-auth-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  padding: 2.5rem 2.5rem;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.embx-auth-card__logo {
  display: flex;
  justify-content: center;
}
.embx-auth-card__logo img { height: 28px; width: auto; }
.embx-auth-card__heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg-ink);
  margin-bottom: 0.375rem;
}
.embx-auth-card__heading h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg-ink);
  margin-bottom: 0.375rem;
}
.embx-auth-card__heading p { font-size: 0.875rem; color: var(--fg-gray); }
.embx-auth-form { display: flex; flex-direction: column; gap: 1rem; }
.embx-auth-form .embx-form__group { gap: 0.3rem; }
.embx-auth-form .embx-form__label { color: var(--fg-ink); }
.embx-auth-form .embx-form__input {
  background: var(--bg-field);
  border-color: var(--line-light);
  color: var(--fg-ink);
}
.embx-auth-form .embx-form__input:focus {
  background: var(--white);
  border-color: var(--accent-sensor);
}
.embx-auth-form__actions { margin-top: 0.5rem; }
.embx-auth-card__footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-gray);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.embx-auth-card__footer a { color: var(--fg-ink); text-decoration: underline; }
.embx-auth-card__footer a:hover { color: var(--accent-sensor); text-decoration: none; }
.embx-auth-card__legal {
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-gray);
  padding-top: 0.5rem;
  border-top: 1px solid var(--line-light);
}
.embx-auth-card__legal a { color: var(--fg-gray); text-decoration: underline; }
.embx-auth-inline-msg {
  display: none;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
}
.embx-auth-inline-msg--error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #DC2626;
}
.embx-auth-inline-msg--success {
  background: rgba(13,204,168,0.1);
  border: 1px solid rgba(13,204,168,0.3);
  color: #0A8E74;
}
.embx-auth-inline-msg.is-visible { display: block; }
.embx-auth-confirm {
  display: none;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
.embx-auth-confirm.is-visible { display: flex; }
.embx-auth-confirm i { font-size: 2.5rem; color: var(--accent-sensor); }
.embx-auth-confirm h2 { font-size: 1.25rem; font-weight: 700; color: var(--fg-ink); }
.embx-auth-confirm p { font-size: 0.9rem; color: var(--fg-gray); line-height: 1.6; }

/* === INSIGHTS / BLOG === */
.embx-insights-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
  overflow: hidden;
}
.embx-insights-featured__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.embx-insights-featured__body {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.embx-insights-featured__tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-gray);
}
.embx-insights-featured__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg-ink);
  line-height: 1.3;
}
.embx-insights-featured__excerpt {
  font-size: 0.9375rem;
  color: var(--fg-gray);
  line-height: 1.65;
}
.embx-insights-featured__meta {
  font-size: 0.8125rem;
  color: var(--fg-gray);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.embx-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.embx-article-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.embx-article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(17,24,39,0.1); }
.embx-article-card__cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.embx-article-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.625rem; }
.embx-article-card__tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.embx-article-card__tag {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-gray);
  background: var(--bg-soft);
  padding: 0.15em 0.5em;
  border-radius: 3px;
}
.embx-article-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-ink);
  line-height: 1.4;
}
.embx-article-card__excerpt {
  font-size: 0.875rem;
  color: var(--fg-gray);
  line-height: 1.6;
  flex: 1;
}
.embx-article-card__meta {
  font-size: 0.775rem;
  color: var(--fg-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--line-light);
  padding-top: 0.625rem;
  margin-top: auto;
}

/* === ARTICLE TEMPLATE === */
.embx-article-hero {
  background: var(--bg-void);
  padding-top: calc(var(--embx-nav-h) + 3rem);
  padding-bottom: 3rem;
}
.embx-article-hero__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.embx-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--accent-sensor);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: opacity 0.2s;
}
.embx-article-back:hover { opacity: 0.8; }
.embx-article-hero__meta {
  font-size: 0.8125rem;
  color: var(--fg-dim);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.embx-article-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--fg-bright);
  max-width: 800px;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.embx-article-hero__excerpt {
  font-size: 1.0625rem;
  color: var(--fg-dim);
  max-width: 640px;
  line-height: 1.65;
}
.embx-article-hero__cover {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-dark);
}
.embx-article-body {
  background: var(--bg-field);
  padding-block: 4rem;
}
.embx-article-body__inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.embx-article-body__inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg-ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.embx-article-body__inner h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--fg-ink);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.embx-article-body__inner p {
  font-size: 0.9375rem;
  color: var(--fg-gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.embx-article-body__inner ul, .embx-article-body__inner ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.embx-article-body__inner ul { list-style: disc; }
.embx-article-body__inner ol { list-style: decimal; }
.embx-article-body__inner li {
  font-size: 0.9375rem;
  color: var(--fg-gray);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}
.embx-article-body__inner pre {
  background: var(--bg-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.embx-article-body__inner pre code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  color: var(--fg-bright);
  background: none;
  padding: 0;
  white-space: pre;
  overflow-x: auto;
  display: block;
  max-width: 100%;
}
.embx-article-body__inner code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85em;
  background: var(--bg-soft);
  color: var(--fg-ink);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
.embx-article-related {
  background: var(--bg-field);
  padding-block: 4rem;
  border-top: 1px solid var(--line-light);
}
.embx-article-related__inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.embx-article-related h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg-ink);
  margin-bottom: 1.5rem;
}
.embx-article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* === LEGAL PAGES === */
.embx-legal-header {
  background: var(--bg-void);
  padding-top: calc(var(--embx-nav-h) + 3.5rem);
  padding-bottom: 3rem;
}
.embx-legal-header__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.embx-legal-header h1 { color: var(--fg-bright); font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.embx-legal-header p { color: var(--fg-dim); font-size: 0.9rem; }
.embx-legal-content {
  background: var(--white);
  padding-block: 3rem;
}
.embx-legal-content__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.embx-legal-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--fg-ink); margin-top: 2rem; margin-bottom: 0.75rem; }
.embx-legal-content h3 { font-size: 1rem; font-weight: 600; color: var(--fg-ink); margin-top: 1.25rem; margin-bottom: 0.5rem; }
.embx-legal-content p { font-size: 0.9375rem; color: var(--fg-gray); line-height: 1.8; margin-bottom: 1rem; }
.embx-legal-content ul { margin-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.embx-legal-content li { font-size: 0.9375rem; color: var(--fg-gray); line-height: 1.7; margin-bottom: 0.375rem; }
.embx-legal-content a { color: var(--fg-ink); text-decoration: underline; }
.embx-legal-content a:hover { color: var(--accent-sensor); }
.embx-legal-content address { color: var(--fg-gray); font-style: normal; }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--bg-panel);
  border-top: 1px solid var(--line-dark);
  padding: 1rem;
}
.cookie-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text { font-size: 0.875rem; color: var(--fg-dim); flex: 1; min-width: 240px; line-height: 1.55; }
.cookie-banner__text a { color: var(--fg-bright); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.625rem; flex-shrink: 0; align-items: center; }
.cookie-banner__btn {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: opacity 0.2s;
  border: 1px solid transparent;
}
.cookie-banner__btn:hover { opacity: 0.85; }
.cookie-banner__btn--primary {
  background: var(--accent-sensor);
  color: var(--bg-void);
  border-color: var(--accent-sensor);
}
.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--fg-dim);
  border-color: var(--line-dark);
}
.cookie-banner__btn--secondary:hover { color: var(--fg-bright); border-color: var(--fg-dim); }

/* === PLATFORM ARCHITECTURE SECTION === */
.embx-arch-visual {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.embx-arch-visual svg { max-width: 100%; height: auto; }
/* At narrow viewports, enforce a minimum render width so SVG text stays legible */
@media (max-width: 640px) {
  .embx-arch-visual svg {
    min-width: 800px;
    max-width: none;
  }
}

/* === INTEGRATION SECTION LAYOUT === */
.embx-integration-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.embx-integration-text { display: flex; flex-direction: column; gap: 1.25rem; }
.embx-integration-text h2 { color: var(--fg-ink); }
.embx-integration-text p { font-size: 0.9375rem; color: var(--fg-gray); line-height: 1.7; }
.embx-integration-compat { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.embx-integration-compat__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--fg-gray);
  padding: 0.5rem;
  background: var(--bg-soft);
  border-radius: 4px;
}
.embx-integration-compat__item i { color: var(--fg-gray); }

/* === PROSE TEXT BLOCK (about mission, etc.) === */
.embx-prose-block {
  max-width: 720px;
  margin-inline: auto;
}
.embx-prose-block h2 { color: var(--fg-ink); margin-bottom: 1rem; }
.embx-prose-block p {
  font-size: 0.9375rem;
  color: var(--fg-gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* === DOCS INDEX CARDS === */
.embx-doc-category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.embx-doc-category-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-light);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.embx-doc-category-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17,24,39,0.1); }
.embx-doc-category-card i { font-size: 1.75rem; color: var(--fg-gray); }
.embx-doc-category-card__title { font-size: 1.0625rem; font-weight: 600; color: var(--fg-ink); }
.embx-doc-category-card__desc { font-size: 0.875rem; color: var(--fg-gray); line-height: 1.55; }

/* === BREADCRUMB === */
.embx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--fg-gray);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.embx-breadcrumb a { color: var(--fg-gray); transition: color 0.2s; }
.embx-breadcrumb a:hover { color: var(--fg-ink); }
.embx-breadcrumb__sep { color: var(--line-light); }
.embx-breadcrumb__current { color: var(--fg-ink); }

/* === NOTICE BOX / CALLOUT === */
.embx-callout {
  display: flex;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-card);
  margin-block: 1.25rem;
}
.embx-callout--note {
  background: rgba(13,204,168,0.08);
  border-left: 3px solid var(--accent-sensor);
}
.embx-callout--warn {
  background: rgba(232,160,32,0.08);
  border-left: 3px solid var(--accent-warn);
}
.embx-callout i { flex-shrink: 0; margin-top: 0.1rem; }
.embx-callout--note i { color: var(--accent-sensor); }
.embx-callout--warn i { color: var(--accent-warn); }
.embx-callout__body p { font-size: 0.875rem; color: var(--fg-gray); margin: 0; }

/* === TAG CHIP === */
.embx-tag {
  display: inline-block;
  padding: 0.2em 0.625em;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 3px;
  background: var(--bg-soft);
  color: var(--fg-gray);
}
.embx-tag--sensor { background: rgba(13,204,168,0.15); color: var(--accent-sensor); }

/* === STEP NUMBER TIMELINE === */
.embx-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.embx-timeline__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}
.embx-timeline__item:last-child { padding-bottom: 0; }
.embx-timeline__node {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.embx-timeline__step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-sensor);
  color: var(--bg-void);
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.embx-timeline__connector {
  width: 2px;
  flex: 1;
  background: var(--line-light);
  margin-top: 4px;
}
.embx-timeline__content { padding-top: 0.375rem; }
.embx-timeline__content h3 { font-size: 1rem; font-weight: 600; color: var(--fg-ink); margin-bottom: 0.375rem; }
.embx-timeline__content p { font-size: 0.875rem; color: var(--fg-gray); line-height: 1.6; }

/* === OG META (not visual, but referenced in HTML) === */
/* === DOCS QUICKSTART STEPS === */
.embx-qs-steps { display: flex; flex-direction: column; gap: 2.5rem; }
.embx-qs-step { display: flex; flex-direction: column; gap: 0.75rem; }
.embx-qs-step__header { display: flex; align-items: center; gap: 0.875rem; }
.embx-qs-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent-sensor);
  color: var(--fg-ink);
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.embx-qs-step__title { font-size: 1.0625rem; font-weight: 600; color: var(--fg-ink); }
.embx-qs-step__body { font-size: 0.9rem; color: var(--fg-gray); line-height: 1.7; padding-left: calc(32px + 0.875rem); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root { --section-pad: 4.5rem; }
  .embx-hero__inner { gap: 2.5rem; }
  .embx-proof__grid { gap: 2.5rem; }
  .embx-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .embx-footer__grid > :first-child { grid-column: 1 / -1; }
  .embx-docs-layout { grid-template-columns: 200px 1fr; }
  .embx-docs-content { padding: 2rem 2rem; }
  .embx-pricing-grid { gap: 1rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3.5rem; --embx-nav-h: 58px; }
  h1 { font-size: clamp(1.85rem, 5vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 4vw, 2rem); }

  .embx-nav__links, .embx-nav__actions { display: none; }
  .embx-nav__hamburger { display: flex; }

  .embx-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .embx-hero--centered .embx-hero__inner { grid-template-columns: 1fr; }
  .embx-hero__visual { order: -1; }
  .embx-hero__visual svg { max-width: 260px; }

  .embx-metrics__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .embx-steps__grid { grid-template-columns: 1fr; gap: 2rem; }
  .embx-use-cases__grid { grid-template-columns: 1fr; }
  .embx-proof__grid { grid-template-columns: 1fr; gap: 2rem; }
  .embx-team__grid { grid-template-columns: 1fr; }
  .embx-capability-grid { grid-template-columns: 1fr; }
  .embx-solutions-grid { grid-template-columns: 1fr; }
  .embx-challenge-grid { grid-template-columns: 1fr; }
  .embx-outcomes-grid { grid-template-columns: 1fr; }
  .embx-pricing-grid { grid-template-columns: 1fr; }
  .embx-quicklinks-grid { grid-template-columns: 1fr; }
  .embx-insights-grid { grid-template-columns: 1fr; }
  .embx-doc-category-cards { grid-template-columns: 1fr; }
  .embx-insights-featured { grid-template-columns: 1fr; }
  .embx-insights-featured__body { padding: 1.5rem; }
  .embx-info-panel { grid-template-columns: 1fr; gap: 2rem; }
  .embx-info-panel--flip { direction: ltr; }
  .embx-contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .embx-integration-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .embx-article-related-grid { grid-template-columns: 1fr; }

  .embx-docs-layout { grid-template-columns: 1fr; overflow-x: hidden; }
  .embx-docs-sidebar {
    display: none;
  }
  .embx-docs-content { padding: 1.5rem; max-width: 100%; overflow-x: hidden; }
  .embx-auth-card { padding: 2rem 1.5rem; }
  .embx-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .embx-footer__grid > :first-child { grid-column: auto; }
  .embx-footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .embx-footer__legal-links { justify-content: center; }
  .embx-cookie-banner__inner { flex-direction: column; }
}

@media (max-width: 480px) {
  :root { --section-pad: 2.5rem; }
  .embx-hero__ctas { flex-direction: column; align-items: flex-start; }
  .embx-hero--centered .embx-hero__ctas { align-items: center; }
  .embx-hero-stats { flex-direction: column; gap: 1rem; }
  .embx-cta-band__actions { flex-direction: column; align-items: center; }
  .embx-pricing-card { padding: 1.5rem; }
  .embx-auth-card { max-width: 100%; }
  .embx-docs-content { padding: 1rem; }
  .embx-table { font-size: 0.8125rem; }
  .embx-table th, .embx-table td { padding: 0.625rem 0.625rem; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .embx-fade-in { opacity: 1; transform: none; }
  .embx-fade-in.is-visible { opacity: 1; transform: none; }
}

/* === ACCESSIBILITY === */
.embx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
:focus-visible { outline: 2px solid var(--accent-sensor); outline-offset: 3px; }

/* JS state hooks — no visual styling, class present for querySelector targeting only */
.embx-contact-form { /* JS state hook, no styling */ }
