/* ============================================================
   JOMLIX PROTOTYPE — Layout & Components
   ------------------------------------------------------------
   Baut ausschliesslich auf den Tokens aus
   colors_and_type.css auf (--bg, --fg, --primary,
   --accent, --ix-*, --text-*, --r-*, --shadow-*, --s-*).
   Keine hartkodierten Farben/Fonts/Abstände.
   ============================================================ */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font: var(--text-body);
  transition: background-color .2s ease, color .2s ease;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1 {
  font-size: 20px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--s-3) var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.brand-logo {
  position: relative;
  display: inline-flex;
}

.brand-logo__by {
  position: absolute;
  top: 60%;
  right: -16px;
  transform: translate(100%, -50%);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg-subtle);
  white-space: nowrap;
}

.wordmark {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
}

.wordmark__dot {
  color: var(--primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);

  /* Mobile-first: Nav ist standardmaessig als Overlay-Panel ausgeblendet */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.site-nav.is-open {
  max-height: 320px;
}

.site-nav__link {
  font: var(--text-body);
  font-weight: 500;
  color: var(--fg-muted);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--border);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--primary);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: 1.125rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.burger {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.burger__bar {
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}

/* Burger -> X wenn Nav offen */
.burger.is-active .burger__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-active .burger__bar:nth-child(2) {
  opacity: 0;
}

.burger.is-active .burger__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Ab ~700px: Nav wird zur normalen Inline-Leiste, Burger verschwindet */
@media (min-width: 700px) {
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    /* rechtsbündig: schiebt die Nav an den rechten Rand, direkt vor die Actions */
    margin-left: auto;
    gap: var(--s-5);
    max-height: none;
    overflow: visible;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
  }

  .site-nav__link {
    padding: 0;
    border-bottom: none;
    white-space: nowrap;
  }

  .burger {
    display: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: var(--s-9) var(--s-5) var(--s-8);
  text-align: center;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ix-electric) 35%, transparent), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 var(--s-4);
}

.hero__headline {
  margin: 0 0 var(--s-5);
  /* deutlich kleiner als die volle Display-Größe und garantiert einzeilig */
  font-size: clamp(1.35rem, 6vw, 3rem);
  white-space: nowrap;
}

.hero__gradient-word {
  /* Verlauf auskommentiert, evtl. später wieder aktivieren:
  background: linear-gradient(90deg, var(--ix-blue), var(--ix-electric) 55%, var(--ix-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  */
  color: var(--ix-green);
}

.hero__lead {
  margin: 0 auto var(--s-7);
  max-width: 650px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}

.hero__actions-hint {
  margin: 0;
  max-width: 400px;
  font: var(--text-body);
  font-size: 1rem;
  color: var(--ix-green);
}

.hero__logos {
  margin-top: var(--s-9);
}

.hero__logos-label {
  font: var(--text-small);
  color: var(--fg-subtle);
  margin: 0 0 var(--s-4);
}

.hero__logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-7);
}

.hero__logo {
  height: 56px;
  width: auto;
}

.hero__slogan-eyebrow {
  margin: var(--s-9) auto 0;
  text-align: center;
}

.hero__slogan {
  margin: var(--s-3) auto 0;
  max-width: 700px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  color: var(--ix-white);
}

.hero__quote {
  margin: var(--s-9) 0 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__quote-text {
  margin: 0 0 var(--s-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  color: var(--ix-blue);
}

.hero__quote-author {
  font: var(--text-small);
  font-style: normal;
  color: var(--fg-muted);
}

.hero__key-features-eyebrow {
  margin: var(--s-10) auto 0;
  text-align: center;
}

.hero__key-features-title {
  margin: var(--s-3) auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--ix-green);
}

.hero__key-features {
  margin: var(--s-5) auto 0;
  margin-top: 40px;
  padding: 0;
  max-width: 900px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: var(--s-7);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ix-white);
}

.hero__key-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  max-width: 220px;
}

.hero__key-features i {
  color: var(--ix-green);
  font-size: 1.5rem;
}

.hero__key-features-note {
  margin: var(--s-6) auto 0;
  max-width: 650px;
}

/* ============================================================
   BUTTONS (Pill-Style)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn:disabled,
.footer-subscribe__button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--ix-green);
  color: var(--on-success);
  box-shadow: 0 12px 28px -8px rgba(87,232,78,.45);
}

.btn--primary:hover {
  background: var(--ix-green);
  filter: brightness(0.9);
}

.btn--secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--danger {
  background: #E5484D;
  color: var(--ix-white);
  box-shadow: 0 12px 28px -8px rgba(229,72,77,.45);
}

.btn--danger:hover {
  background: #C93A3E;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
  padding: var(--s-8) var(--s-5) var(--s-9);
}

.features__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.features__eyebrow {
  margin: 0 0 var(--s-3);
}

.features__headline {
  margin: 0 0 var(--s-7);
  color: var(--ix-blue);
}

.features__headline--with-lead {
  margin: 0 0 var(--s-4);
}

.features__lead {
  margin: 0 auto var(--s-7);
  max-width: 700px;
}

.text-highlight-blue {
  color: var(--ix-blue);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  text-align: left;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: var(--s-4);
}

.feature-card__icon--adapter {
  color: var(--ix-blue);
}

.feature-card__title {
  margin: 0 0 var(--s-2);
}

.feature-card__text {
  margin: 0;
  color: var(--fg-muted);
}

/* ============================================================
   JOML PIPELINE
   ============================================================ */

.pipeline {
  padding: var(--s-8) var(--s-5) var(--s-9);
}

.pipeline__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.pipeline__eyebrow {
  margin: 0 0 var(--s-3);
}

.pipeline__headline {
  margin: 0 0 var(--s-4);
  color: var(--ix-blue);
}

#geo-data .pipeline__headline {
  color: var(--ix-green);
}

.pipeline__headline--danger {
  color: var(--ix-green);
}

.pipeline__lead {
  margin: 0 auto var(--s-7);
  max-width: 700px;
}

.pipeline__board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5);
  box-shadow: var(--shadow-sm);
}

#free-analysis .pipeline__board {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.pipeline__board-title {
  margin: 0 0 var(--s-5);
  text-align: center;
}

.pipeline__board--placeholder {
  min-height: 240px;
}

.geo-blocks {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-7);
}

@media (min-width: 700px) {
  .geo-blocks {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: calc(var(--s-8) * 1.6);
  }
}

.geo-blocks__col {
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
  flex: 1;
}

@media (min-width: 700px) {
  .geo-blocks__col {
    flex: none;
    width: 170px;
  }
}

.geo-arrows {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  flex: none;
}

@media (min-width: 700px) {
  .geo-arrows {
    display: flex;
    margin: 0 calc(var(--s-8) * -1.6);
  }
}

.geo-arrow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--r-pill);
  background: var(--ix-blue);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--on-primary);
}

.geo-arrow-line {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(var(--s-8) * 1.6);
  border-top: 2px dashed var(--ix-white);
}

.geo-arrow-line i {
  position: absolute;
  top: -8px;
  font-size: 10px;
  color: var(--ix-white);
}

.geo-arrow-line i:first-child {
  left: -1px;
}

.geo-arrow-line i:last-child {
  right: -1px;
}

.geo-arrows-v {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin: calc(var(--s-7) * -1) 0;
}

.geo-arrow__num--right {
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: var(--s-2);
  transform: translateY(-50%);
}

.geo-arrow-line--v {
  width: auto;
  height: calc(var(--s-7) * 2);
  border-top: none;
  border-left: 2px dashed var(--ix-white);
}

.geo-arrow-line--v i {
  left: -5px;
  top: auto;
}

.geo-arrow-line--v i:first-child {
  top: -8px;
}

.geo-arrow-line--v i:last-child {
  bottom: -8px;
  right: auto;
}

.geo-arrow-line--down-only.geo-arrow-line--v i {
  top: auto;
  bottom: -8px;
}

.geo-block {
  box-sizing: border-box;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface-2);
  border: 2px solid var(--ix-blue);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  text-align: center;
}

.geo-block--accent {
  border-color: var(--ix-green);
}

.geo-block--muted {
  border-color: var(--border-strong);
}

.geo-block__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
}

.geo-block__icon {
  flex: none;
  font-size: 1.0625rem;
  color: var(--ix-blue);
}

.geo-block--accent .geo-block__icon {
  color: var(--ix-green);
}

.geo-block--muted .geo-block__icon {
  color: var(--fg-subtle);
}

.geo-block__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--fg);
}

.geo-block__text {
  margin: var(--s-3) 0 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--fg-muted);
}

.geo-legend-title {
  margin: var(--s-8) 0 0;
  padding-top: var(--s-6);
  padding-left: 120px;
  border-top: 1px solid var(--border);
}

.geo-legend {
  margin: var(--s-4) 0 0;
  padding: 0 0 0 250px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  text-align: left;
  font: var(--text-small);
  color: var(--fg-muted);
}

.geo-legend__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: var(--s-3);
  border-radius: var(--r-pill);
  background: var(--ix-blue);
  color: var(--on-primary);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
}

.pipeline__board-scroll {
  overflow-x: auto;
}

.pipeline-diagram {
  display: block;
  width: 100%;
  min-width: 880px;
  max-width: 1096px;
  height: auto;
  margin: 0 auto;
}

.webhook-diagram {
  display: block;
  width: 100%;
  min-width: 680px;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
}

.pipeline__board--signature {
  margin-top: var(--s-6);
}

.adapters__board {
  margin-top: var(--s-7);
}

.adapter-diagram {
  display: block;
  width: 100%;
  min-width: 600px;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
}

.orchestration-diagram {
  display: block;
  width: 100%;
  min-width: 720px;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
}

.debug-diagram {
  display: block;
  width: 100%;
  min-width: 960px;
  max-width: 1190px;
  height: auto;
  margin: 0 auto;
}

.pipeline__board-caption {
  margin: var(--s-5) 0 0;
  text-align: center;
  font: var(--text-small);
  color: var(--fg-muted);
}

.signature-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  text-align: left;
}

@media (min-width: 800px) {
  .signature-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.cockpit-tab-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-5);
}

.cockpit-tab-screenshot {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  opacity: 0.8;
}

.cockpit-tab-desc {
  max-width: 640px;
  color: var(--fg-muted);
}

.geo-data-desc {
  margin: var(--s-6) 0 0;
  text-align: center;
  color: var(--fg-muted);
}

.code-block {
  margin: 0;
  padding: var(--s-5);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  white-space: pre-wrap;
  word-break: break-word;
  font: var(--text-mono);
  line-height: 1.6;
  color: var(--fg);
}

.code-comment {
  color: var(--fg-subtle);
  font-style: italic;
}

.code-keyword {
  color: var(--fg-muted);
}

.code-class,
.code-fn {
  color: var(--ix-blue);
  font-weight: 600;
}

.signature-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.signature-benefits li {
  font: var(--text-body);
  color: var(--fg-muted);
  padding-left: var(--s-5);
  position: relative;
}

.signature-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--ix-green);
}

.signature-benefits strong {
  color: var(--fg);
}

/* ============================================================
   ÜBERBLICK
   ============================================================ */

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  text-align: left;
}

@media (min-width: 900px) {
  .overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.overview-card {
  display: flex;
  flex-direction: column;
}

.overview-card--linked {
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.overview-card--linked:hover,
.overview-card--linked:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ix-blue);
}

.overview-item__badge {
  flex: none;
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-4);
  border-radius: var(--r-pill);
  background: var(--ix-blue);
  color: var(--on-primary);
  font-size: 1.0625rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-item__title {
  margin: 0 0 var(--s-2);
}

.overview-item__text {
  margin: 0 0 var(--s-2);
  color: var(--fg-muted);
}

.overview-item__text--white {
  color: var(--ix-blue);
}

.overview-item__benefit {
  margin: 0;
  color: var(--fg);
}

.overview-item__benefit strong {
  color: var(--ix-blue);
}

/* ============================================================
   KI UNTERSTÜTZUNG
   ============================================================ */

.ai-prompt {
  align-self: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.ai-prompt__header {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}

.ai-prompt__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--ix-green);
}

.ai-prompt__badge {
  font: var(--text-mono);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
}

.ai-prompt__text {
  margin: 0;
  font: var(--text-body);
  color: var(--fg);
  font-style: italic;
}

.pipeline-result-panel {
  align-self: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.pipeline-result-panel__title {
  margin: 0 0 var(--s-4);
  font: var(--text-small);
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
}

.pipeline-result {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pipeline-step;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.pipeline-result li {
  counter-increment: pipeline-step;
  position: relative;
  padding-left: var(--s-6);
  display: flex;
  flex-direction: column;
}

.pipeline-result li::before {
  content: counter(pipeline-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--r-pill);
  background: var(--ix-blue);
  color: var(--on-primary);
  font: 700 11px var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline-result__file {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
}

.pipeline-result__desc {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* ============================================================
   TEAM
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  text-align: center;
}

@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}

.team-card__avatar {
  width: 216px;
  height: 216px;
  border-radius: var(--r-pill);
  object-fit: cover;
  border: 4px solid var(--ix-blue);
  box-shadow: var(--shadow-md);
}

.team-card__name {
  margin-top: 10px;
}

.team-card__tag {
  display: inline-block;
  max-width: 200px;
  font: var(--text-mono);
  font-weight: 600;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--fg-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-3);
}

.team-card__quote {
  margin: var(--s-2) 0 0;
  max-width: 280px;
  font: var(--text-small);
  font-style: italic;
  color: var(--fg-muted);
}

.team-card__fact {
  margin: var(--s-2) 0 0;
  font: var(--text-mono);
  font-size: 0.8125rem;
  color: var(--ix-blue);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: var(--s-8) var(--s-5) var(--s-6);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-col--brand img {
  margin-bottom: var(--s-3);
}

.footer-col__title {
  font: var(--text-small);
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  margin: 0 0 var(--s-4);
}

.footer-col__text {
  font: var(--text-small);
  color: var(--fg-muted);
  margin: 0;
  max-width: 320px;
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer-col__list a {
  font: var(--text-small);
  color: var(--fg-muted);
}

.footer-col__list a:hover,
.footer-col__list a:focus-visible {
  color: var(--ix-blue);
}

.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

#free-analysis .footer-subscribe {
  align-items: center;
  margin: 0 auto;
}

#free-analysis .footer-subscribe__input,
#free-analysis .footer-subscribe__message {
  width: 600px;
  max-width: 100%;
}

#free-analysis .footer-subscribe__message {
  height: 300px;
}

#free-analysis .footer-subscribe .btn--primary {
  margin-top: 30px;
}

.footer-subscribe__input,
.footer-subscribe__message {
  min-width: 0;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
  font: var(--text-small);
  font-family: inherit;
}

.footer-subscribe__message {
  resize: vertical;
}

.footer-subscribe__button {
  align-self: flex-start;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm);
  border: none;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
}

.footer-subscribe__button:hover {
  background: var(--ix-blue-press);
}

.footer-subscribe__status {
  margin: 0;
  font: var(--text-small);
  color: var(--ix-green);
  min-height: 1.2em;
}

.footer-subscribe__status--error {
  color: #E5484D;
}

.site-footer__bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.site-footer__brand-note {
  font: var(--text-small);
  color: var(--fg-muted);
  margin: 0;
}

.site-footer__brand-note a {
  color: var(--ix-blue);
  font-weight: 600;
}

.site-footer__brand-note a:hover {
  text-decoration: underline;
}

.site-footer__copyright {
  font: var(--text-small);
  color: var(--fg-subtle);
  margin: 0;
}
