@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #0066ff;
  --blue-deep: #004fc4;
  --blue-bright: #2997ff;
  --blue-mist: #eef5ff;
  --blue-wash: #dceaff;
  --navy: #061b3a;
  --ink: #0b0b0d;
  --graphite: #1d1d1f;
  --body: #5f6268;
  --muted: #7a7d84;
  --line: rgba(11, 11, 13, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --warm: #fff1e8;
  --warm-soft: #fff8f3;
  --apricot: #ff9d6c;
  --apricot-deep: #a84f29;
  --orange-accent: #ea580c;
  --warm-white: #f8f7f3;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-product: 0 34px 90px rgba(17, 40, 82, 0.16);
  --shadow-float: 0 18px 48px rgba(22, 36, 64, 0.13);
  --window-radius: 24px;
  --window-inner-radius: 17px;
  --window-bar-height: 46px;
  --window-border-light: #dce4ee;
  --window-border-dark: rgba(255, 255, 255, 0.14);
  --shadow-window-light: 0 1px 2px rgba(6, 27, 58, 0.06), 0 14px 32px rgba(6, 27, 58, 0.08), 0 38px 76px rgba(6, 27, 58, 0.09);
  --shadow-window-dark: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 10, 32, 0.24), 0 28px 64px rgba(0, 13, 46, 0.28);
  --shadow-control: 0 1px 2px rgba(6, 27, 58, 0.08), 0 8px 20px rgba(6, 27, 58, 0.07);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* The target surface starts at the viewport edge. Section padding keeps its
     heading clear of the fixed header without exposing the previous section. */
  scroll-padding-top: 0;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--graphite);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

/* Own booking modal hosting the Cal.com inline embed. A plain div carries the
   1px hairline + 10px white frame, so corners render crisply at any DPI.
   unlike border/shadow painted directly on the composited cross-origin iframe. */
body.booking-open {
  overflow: hidden;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 28px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 260ms;
}

.booking-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 20, 0.56);
  opacity: 0;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  transition:
    opacity 240ms cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 240ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-backdrop-filter 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-modal.is-open .booking-modal-backdrop {
  opacity: 1;
  backdrop-filter: blur(7px) saturate(115%);
  -webkit-backdrop-filter: blur(7px) saturate(115%);
}

.booking-modal-frame {
  position: relative;
  /* 982px = Cal booker's natural 960px width + 10px frame + 1px border per side,
     so the white frame is equally thick on all four sides. */
  width: min(982px, 100%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 21px;
  padding: 10px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition:
    opacity 200ms ease-out,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-modal.is-open .booking-modal-frame {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.booking-modal-embed {
  position: relative;
  min-height: min(480px, calc(100dvh - 160px));
  max-height: calc(100dvh - 78px);
  overflow: auto;
}

.booking-modal-embed iframe {
  display: block;
}

/* Cal resizes cal-inline via inline height in px steps (e.g. when the
   timeslots load); transition them instead of letting the frame snap. */
.booking-modal-embed cal-inline {
  transition: height 260ms ease-out;
}

/* Desktop: the modal opens compact and grows in the same two steps as the Cal
   booker itself: to 742px when the booker renders centered at 720px wide
   (is-ready via bookerViewed), to full width when the timeslot column expands
   the booker to 960px (is-full via availabilityLoaded/bookerReady). The embed
   keeps its final 960px width the whole time, so the booker never re-layouts;
   the frame just clips it. */
@media (min-width: 1038px) {
  .booking-modal-frame {
    width: 520px;
    transition:
      opacity 200ms ease-out,
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
      width 460ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .booking-modal.is-open.is-ready .booking-modal-frame {
    width: 742px;
  }

  .booking-modal.is-open.is-ready.is-full .booking-modal-frame {
    width: 982px;
  }

  /* margin-left 50% resolves against the animating frame width in the same
     layout pass, so together with the constant -50% translate the embed stays
     exactly centered at every frame width without a second, drift-prone
     transform animation. */
  .booking-modal-embed {
    width: 960px;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

.booking-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(9, 14, 26, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 180ms var(--ease-ui);
}

.booking-modal-close:hover,
.booking-modal-close:focus-visible {
  background: rgba(9, 14, 26, 0.8);
}

@media (max-width: 768px) {
  .booking-modal {
    padding: 14px;
    padding-top: 74px;
  }

  .booking-modal-embed {
    max-height: calc(100dvh - 110px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal,
  .booking-modal-backdrop,
  .booking-modal-frame {
    transition: none !important;
  }
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

p {
  margin: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-optical-sizing: auto;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  font-size: clamp(4.6rem, 6.6vw, 6.4rem);
  font-weight: 640;
  letter-spacing: -0.062em;
  line-height: 0.94;
}

h2 {
  font-size: clamp(3.25rem, 5vw, 4.7rem);
  font-weight: 630;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

h3 {
  font-size: clamp(1.65rem, 2.45vw, 2.2rem);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.07;
}

:focus-visible {
  outline: 3px solid rgba(0, 102, 255, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1240px, calc(100% - 56px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 148px 0;
}

.serif-key {
  color: var(--blue);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  hyphens: manual;
  letter-spacing: -0.035em;
}

.light-serif {
  color: #9fc6ff;
}

.section-label {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.section-label.warm {
  color: var(--apricot-deep);
}

.section-label.light {
  color: #76adff;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 72px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 25px;
}

.section-heading p {
  max-width: 690px;
  color: var(--body);
  font-size: 1.12rem;
  letter-spacing: -0.012em;
  line-height: 1.72;
}

.section-heading.centered p {
  margin-inline: auto;
}

.window-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.window-leading {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.window-controls {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.window-controls i {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.34), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.window-controls i:nth-child(2) {
  background: #febc2e;
}

.window-controls i:nth-child(3) {
  background: #28c840;
}

.window-title > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.window-app-glyph {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: var(--blue);
  color: white;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

/* Navigation */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
}

.site-header::before {
  position: absolute;
  inset: 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 247, 255, 0);
  content: "";
  pointer-events: none;
  transition: background 260ms var(--ease-ui), border-color 260ms var(--ease-ui), backdrop-filter 260ms var(--ease-ui);
}

.site-header.scrolled::before {
  border-color: rgba(11, 11, 13, 0.07);
  background: rgba(248, 250, 255, 0.84);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.nav-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease-out);
}

.brand:active .brand-mark {
  transform: scale(0.93);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 31px;
  color: #3f444c;
  font-size: 0.82rem;
  font-weight: 520;
}

.nav-links a,
.footer-links a {
  position: relative;
  padding: 10px 0;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 260ms var(--ease-out);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 280ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 620;
  letter-spacing: -0.012em;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.button::after {
  content: "↗";
  font-size: 0.9em;
  transition: transform 300ms var(--ease-out);
}

.button:active {
  transform: scale(0.98);
  transition-duration: 80ms;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
}

.button-primary {
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.24);
  color: white;
}

.button-light {
  background: white;
  color: var(--ink);
}

/* Hero */

.hero {
  display: flex;
  min-height: 980px;
  align-items: center;
  overflow: hidden;
  padding-top: 164px;
  padding-bottom: 132px;
  background: linear-gradient(125deg, #f8faff 0%, #edf4ff 60%, #fff6ef 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(6, 27, 58, 0.08);
  content: "";
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-blue {
  top: 140px;
  right: 16%;
  width: 380px;
  height: 380px;
  background: rgba(0, 102, 255, 0.055);
}

.hero-orb-warm {
  bottom: 80px;
  left: -130px;
  width: 320px;
  height: 320px;
  background: rgba(255, 157, 108, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(570px, 1.12fr);
  align-items: center;
  gap: clamp(64px, 7vw, 108px);
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 .serif-key {
  display: block;
  margin-top: 0.04em;
}

.hero-text {
  max-width: 620px;
  margin-top: 31px;
  color: #575d66;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  letter-spacing: -0.014em;
  line-height: 1.64;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-deep);
  font-size: 0.94rem;
  font-weight: 620;
}

.text-link span {
  transition: transform 300ms var(--ease-out);
}

.hero-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 0;
  margin-top: 38px;
  color: #6b7078;
  font-size: 0.76rem;
  font-weight: 560;
}

.hero-principles span {
  display: inline-flex;
  align-items: center;
}

.hero-principles span:not(:last-child)::after {
  width: 3px;
  height: 3px;
  margin: 0 11px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  opacity: 0.65;
}

.hero-visual {
  position: relative;
  z-index: 1;
  padding: 16px 0 54px;
}

.product-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 38, 76, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-product);
  transform: translateZ(0);
}

.stage-bar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(6, 27, 58, 0.08);
  background: rgba(250, 252, 255, 0.9);
  color: #696f78;
  font-size: 0.68rem;
  font-weight: 600;
}

.stage-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stage-brand > span {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--blue);
}

.stage-demo {
  color: #8b8f96;
}

.stage-body {
  min-height: 520px;
  padding: 34px;
  background: linear-gradient(180deg, white, #f8faff);
}

.pipeline-overview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2px 0 34px;
}

.pipeline-overview::before,
.pipeline-overview::after {
  position: absolute;
  top: 17px;
  left: 12.5%;
  height: 2px;
  content: "";
}

.pipeline-overview::before {
  right: 12.5%;
  background: #dce2ea;
}

.pipeline-overview::after {
  z-index: 1;
  width: 50%;
  background: var(--blue);
  transform: scaleX(1);
  transform-origin: left;
}

.hero-visual.flow-pending .pipeline-overview::after {
  transform: scaleX(0);
  transition: transform 1.1s 350ms var(--ease-out);
}

.hero-visual.flow-pending.is-visible .pipeline-overview::after {
  transform: scaleX(1);
}

.pipeline-step {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #8c9199;
  font-size: 0.64rem;
  text-align: center;
}

.pipeline-step i {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #d8dfe8;
  border-radius: 50%;
  background: white;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 700;
}

.pipeline-step.complete,
.pipeline-step.active {
  color: var(--graphite);
}

.pipeline-step.complete i {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.pipeline-step.active i {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.08);
}

.stage-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(165px, 0.88fr);
  gap: 14px;
}

.profile-panel {
  padding: 20px;
  border: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 19px;
  background: white;
}

.profile-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--blue-wash);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-head strong,
.profile-head span {
  display: block;
}

.profile-head strong {
  font-size: 0.9rem;
}

.profile-head > div:nth-child(2) span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.67rem;
}

.profile-status {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #edf7ef;
  color: #27823e;
  font-size: 0.61rem;
  font-weight: 700;
  white-space: nowrap;
}

.profile-status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34c759;
}

.profile-match {
  display: grid;
  grid-template-columns: 94px 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 15px;
  background: var(--blue-mist);
}

.match-number {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  align-content: center;
  border: 6px solid rgba(0, 102, 255, 0.15);
  border-top-color: var(--blue);
  border-radius: 50%;
  text-align: center;
  transform: rotate(-20deg);
}

.match-number > * {
  transform: rotate(20deg);
}

.match-number strong,
.match-number span {
  display: block;
}

.match-number strong {
  font-size: 0.88rem;
  line-height: 1;
}

.match-number span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.59rem;
}

.match-copy strong,
.match-copy span {
  display: block;
}

.match-copy strong {
  margin-bottom: 8px;
  font-size: 0.76rem;
}

.match-copy span {
  position: relative;
  margin-top: 6px;
  padding-left: 14px;
  color: #656a73;
  font-size: 0.61rem;
}

.match-copy span::before {
  position: absolute;
  top: 0.38em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.signal-stack {
  display: grid;
  gap: 14px;
}

.signal-card {
  border: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 17px;
  background: white;
}

.message-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
}

.signal-icon {
  display: grid;
  flex: 0 0 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--warm);
  color: var(--apricot-deep);
  font-family: "Instrument Serif", serif;
  font-style: italic;
}

.message-card span,
.calendar-card > span {
  color: var(--muted);
  font-size: 0.59rem;
}

.message-card p {
  margin-top: 4px;
  color: var(--graphite);
  font-size: 0.7rem;
  line-height: 1.4;
}

.calendar-card {
  display: grid;
  align-content: center;
  padding: 18px;
  background: var(--navy);
  color: white;
}

.calendar-card > span {
  color: #98a9c0;
}

.calendar-card strong {
  margin-top: 7px;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.calendar-card small {
  margin-top: 5px;
  color: #b9c5d5;
  font-size: 0.61rem;
}

.human-chip {
  position: absolute;
  right: 24px;
  bottom: 0;
  display: flex;
  max-width: 320px;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow-float);
}

.human-chip-dot {
  flex: 0 0 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 0 0 0 5px rgba(255, 157, 108, 0.15);
}

.human-chip strong,
.human-chip small {
  display: block;
}

.human-chip strong {
  font-size: 0.72rem;
}

.human-chip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.61rem;
}

/* Human problem chapter */

.section-warm {
  overflow: hidden;
  background: var(--warm);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(68px, 9vw, 126px);
}

.problem-grid > *,
.solution-grid > *,
.consulting-grid > *,
.white-label-grid > * {
  min-width: 0;
}

.problem-heading h2 {
  max-width: 610px;
}

.problem-heading .serif-key {
  color: var(--apricot-deep);
}

.problem-story {
  display: grid;
  gap: 21px;
  color: #695e59;
  font-size: 1.05rem;
  letter-spacing: -0.008em;
  line-height: 1.76;
}

.problem-story .lead-copy {
  color: #423c39;
  font-size: 1.18rem;
  line-height: 1.68;
}

.human-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 15px;
  padding-top: 25px;
  border-top: 1px solid rgba(89, 48, 28, 0.14);
}

.human-note > p {
  max-width: 450px;
  color: #403936;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.4;
}

.human-faces {
  display: flex;
  padding-left: 8px;
}

.human-faces span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid var(--warm);
  border-radius: 50%;
  background: white;
  color: var(--apricot-deep);
  font-size: 0.65rem;
  font-weight: 700;
}

.human-faces span:nth-child(2) {
  background: #ffe0ce;
}

.human-faces span:last-child {
  background: var(--apricot);
  color: white;
}

.delay-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 96px;
  padding: 29px 0 4px;
  border-top: 1px solid rgba(89, 48, 28, 0.16);
  color: #4b433f;
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.delay-item.wait {
  color: var(--apricot-deep);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.2em;
  font-style: italic;
  font-weight: 400;
}

.delay-arrow {
  color: rgba(89, 48, 28, 0.32);
  font-weight: 400;
}

/* Modular solution chapter */

.solutions {
  overflow: hidden;
  background: var(--blue-mist);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.solution-card {
  position: relative;
  display: flex;
  grid-column: span 7;
  min-height: 440px;
  flex-direction: column;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(6, 27, 58, 0.09);
  border-radius: 26px;
  background: white;
  min-width: 0;
}

.solution-card.solution-wide {
  display: grid;
  grid-column: span 8;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.9fr);
  align-items: center;
  gap: 40px;
}

.solution-card.solution-warm {
  grid-column: span 4;
  background: var(--warm);
}

.solution-card.solution-dark {
  grid-column: span 5;
  border-color: transparent;
  background: var(--ink);
  color: white;
}

.solution-card.solution-cobalt {
  grid-column: span 12;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  min-height: 390px;
  border-color: transparent;
  background: var(--blue);
  color: white;
}

.solution-card.solution-blue {
  background: #f9fbff;
}

.solution-kicker {
  display: block;
  margin-bottom: 17px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.solution-dark .solution-kicker,
.solution-cobalt .solution-kicker {
  color: #80b4ff;
}

.solution-card h3 {
  max-width: 520px;
}

.solution-card p {
  max-width: 540px;
  margin-top: 15px;
  color: var(--body);
  line-height: 1.68;
}

.solution-dark p,
.solution-cobalt p {
  color: rgba(255, 255, 255, 0.84);
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.solution-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(6, 27, 58, 0.1);
  border-radius: 999px;
  color: #636a74;
  font-size: 0.67rem;
  font-weight: 600;
}

.solution-cobalt .solution-tags span {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
}

.solution-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: auto;
  place-items: center;
  border: 1px solid rgba(0, 102, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue);
}

.solution-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.solution-warm .solution-kicker,
.solution-card:not(.solution-wide):not(.solution-dark) .solution-kicker {
  margin-top: 34px;
}

.campaign-visual {
  align-self: stretch;
  min-height: 290px;
  padding: 25px;
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: 19px;
  background: white;
}

.campaign-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.campaign-top span {
  color: var(--muted);
  font-size: 0.7rem;
}

.campaign-top strong {
  color: var(--blue);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
}

.campaign-bars {
  display: flex;
  height: 148px;
  align-items: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(6, 27, 58, 0.09);
}

.campaign-bars i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: var(--blue-wash);
  transform-origin: bottom;
  transition: transform 750ms var(--ease-out);
}

.campaign-bars i:nth-child(1) { height: 34%; }
.campaign-bars i:nth-child(2) { height: 52%; }
.campaign-bars i:nth-child(3) { height: 45%; }
.campaign-bars i:nth-child(4) { height: 72%; background: #9fc4ff; }
.campaign-bars i:nth-child(5) { height: 84%; background: #4d93ff; }
.campaign-bars i:nth-child(6) { height: 100%; background: var(--blue); }

.solution-card.reveal-pending:not(.is-visible) .campaign-bars i {
  transform: scaleY(0.04);
}

.campaign-bars i:nth-child(2) { transition-delay: 60ms; }
.campaign-bars i:nth-child(3) { transition-delay: 120ms; }
.campaign-bars i:nth-child(4) { transition-delay: 180ms; }
.campaign-bars i:nth-child(5) { transition-delay: 240ms; }
.campaign-bars i:nth-child(6) { transition-delay: 300ms; }

.campaign-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  color: #92969d;
  font-size: 0.58rem;
}

.apply-flow {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 34px;
}

.apply-flow span {
  position: relative;
  padding: 13px 15px 13px 37px;
  border: 1px solid rgba(110, 61, 34, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.54);
  color: #755a4c;
  font-size: 0.69rem;
  font-weight: 600;
}

.apply-flow span::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(110, 61, 34, 0.2);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.apply-flow span.done::before {
  border-color: var(--apricot);
  background: var(--apricot);
  box-shadow: inset 0 0 0 3px var(--warm);
}

.chat-visual {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 34px;
}

.chat-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.69rem;
  line-height: 1.42;
}

.chat-bubble.incoming {
  border-bottom-left-radius: 4px;
  background: #242428;
  color: #d9d9de;
}

.chat-bubble.outgoing {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--blue);
  color: white;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: #92929a;
  font-size: 0.61rem;
}

.chat-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--apricot);
}

.match-visual {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 32px;
}

.match-score {
  display: grid;
  flex: 0 0 88px;
  height: 88px;
  place-items: center;
  border: 7px solid var(--blue-wash);
  border-top-color: var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
}

.match-visual > div:last-child {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.68rem;
}

.match-good {
  color: var(--graphite);
  font-weight: 650;
}

.insight-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(0, 39, 111, 0.28);
}

.insight-visual > div,
.insight-visual span,
.insight-visual strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.insight-visual > div {
  padding: 15px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.insight-visual span,
.insight-visual strong {
  display: block;
}

.insight-visual span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
}

.insight-visual strong {
  margin-top: 6px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.23rem;
  font-style: italic;
  font-weight: 400;
}

.insight-visual svg {
  grid-column: 1 / -1;
  width: 100%;
  height: 115px;
  overflow: visible;
}

.insight-visual path {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

/* Consulting / delivery */

.consulting {
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.consulting::before {
  position: absolute;
  top: -180px;
  right: -130px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(41, 151, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.consulting-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  align-items: center;
  gap: clamp(74px, 10vw, 140px);
}

.consulting-copy h2 {
  max-width: 670px;
}

.consulting-copy > p {
  max-width: 600px;
  margin-top: 22px;
  color: #a9a9af;
  font-size: 1.05rem;
  line-height: 1.75;
}

.consulting-copy .button {
  margin-top: 34px;
}

.consulting-human {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 29px;
  color: #8e8e95;
  font-size: 0.7rem;
}

.consulting-human span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--apricot);
}

.process-card {
  border-top: 1px solid var(--line-light);
}

.process-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-light);
  color: #7f7f87;
  transition: background-color 220ms ease, color 220ms ease;
}

.process-step > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms var(--ease-out);
}

.process-step strong,
.process-step small {
  display: block;
}

.process-step strong {
  font-size: 1rem;
  font-weight: 610;
}

.process-step small {
  margin-top: 4px;
  color: #74747c;
  font-size: 0.75rem;
  transition: color 220ms ease;
}

.process-step.active {
  color: white;
}

.process-step.active > span {
  border-color: var(--blue-bright);
  background: var(--blue);
  color: white;
}

.process-step.active small {
  color: #a9b6c9;
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    background: rgba(255, 255, 255, 0.045);
    color: white;
  }

  .process-step:hover > span {
    border-color: rgba(76, 151, 255, 0.8);
    background: rgba(0, 102, 255, 0.18);
    color: white;
    transform: translateX(2px);
  }

  .process-step.active:hover > span {
    background: #1975ff;
  }

  .process-step:hover small {
    color: #b6c2d3;
  }
}

/* White label and custom builds */

.white-label {
  background: var(--warm-white);
}

.white-label-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(68px, 8vw, 116px);
}

.white-label-copy h2 {
  max-width: 650px;
}

.white-label-copy > p {
  max-width: 610px;
  margin-top: 24px;
  color: var(--body);
  font-size: 1.08rem;
  line-height: 1.74;
}

.white-label-copy .wl-impact {
  max-width: 610px;
  margin-top: 28px;
  padding-left: 17px;
  border-left: 2px solid var(--blue);
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.7;
}

.white-label-copy .wl-impact strong {
  font-weight: 660;
}

.white-label-visual {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 22px;
}

.wl-audience-anchors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 0;
  font-size: 0.82rem;
}

.wl-audience-anchors a {
  position: relative;
  color: var(--blue-deep);
  font-weight: 600;
  transition: color 180ms ease;
}

.wl-audience-anchors a:not(:last-child)::after {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 13px;
  border-radius: 50%;
  background: var(--muted);
  content: "";
  vertical-align: middle;
}

@media (hover: hover) and (pointer: fine) {
  .wl-audience-anchors a:hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* Anonymisierter Lebenslauf, aus dem Modul-Rail in die White-Label-Sektion verschoben */
.wl-anonym {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  margin-top: clamp(56px, 8vw, 100px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.wl-anonym-copy {
  min-width: 0;
}

.wl-anonym-copy h3 {
  max-width: 440px;
  margin-top: 15px;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.wl-anonym-copy h3 .serif-key {
  display: block;
}

.wl-anonym-copy > p {
  max-width: 470px;
  margin-top: 17px;
  color: var(--body);
  font-size: 1.02rem;
  line-height: 1.7;
}

.wl-anonym-copy .module-benefits {
  margin-top: 22px;
}

/* Ausserhalb eines Modul-Panels dauerhaft sichtbar (die Einblendung
   uebernimmt hier der reveal-Effekt des ganzen Blocks). */
.wl-anonym .anonym-result-cv {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .wl-anonym {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-top: 64px;
    padding-top: 44px;
  }
}

.check-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-width: 0;
  padding-left: 27px;
  color: #454950;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.check-list li::before {
  position: absolute;
  top: 0.04em;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 750;
}

.brand-studio {
  overflow: hidden;
  border: 1px solid rgba(7, 23, 47, 0.12);
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: 0 30px 80px rgba(7, 23, 47, 0.18);
}

.studio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 0.68rem;
  font-weight: 650;
}

.studio-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.studio-title strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.studio-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.59rem;
}

.studio-status i,
.studio-foot span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8cf0ad;
  box-shadow: 0 0 0 4px rgba(140, 240, 173, 0.1);
}

.brand-system {
  display: grid;
  grid-template-columns: minmax(150px, 0.82fr) minmax(220px, 1.18fr);
  gap: 14px;
  padding: 18px;
  background: #edf3fb;
}

.brand-identity {
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0066ff, #064bb5);
  color: white;
}

.brand-monogram {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: white;
  color: var(--blue-deep);
  font-size: 0.72rem;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(0, 32, 96, 0.2);
}

.brand-identity > small {
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand-identity > strong {
  max-width: 100%;
  margin-top: 7px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.brand-identity > p {
  max-width: 100%;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.59rem;
  overflow-wrap: anywhere;
}

.brand-palette {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.56rem;
}

.brand-palette i {
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: white;
}

.brand-palette i:nth-child(2) { background: var(--apricot); }
.brand-palette i:nth-child(3) { background: var(--navy); }

.brand-palette span {
  margin-left: 3px;
}

.brand-touchpoints {
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
}

.brand-touchpoints::before {
  position: absolute;
  top: 19%;
  bottom: 19%;
  left: 25px;
  width: 1px;
  background: #cbd8e9;
  content: "";
}

.brand-touchpoint {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 82px;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border: 1px solid #dce5f1;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 24px rgba(15, 31, 60, 0.055);
}

.brand-touchpoint > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d4dfed;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.brand-touchpoint div {
  min-width: 0;
}

.brand-touchpoint strong,
.brand-touchpoint small {
  display: block;
}

.brand-touchpoint strong {
  margin-top: 3px;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.brand-touchpoint small {
  color: var(--muted);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-touchpoint > i {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  background: #e8f8ef;
  color: #238a52;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 750;
}

.studio-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.61rem;
}

.studio-foot span {
  box-shadow: none;
}

.custom-build {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  column-gap: clamp(56px, 7vw, 112px);
  margin-top: 108px;
  padding: clamp(32px, 3vw, 44px) clamp(48px, 4.5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: white;
  text-align: left;
}

.custom-build h3 {
  max-width: 560px;
  font-size: clamp(2.65rem, 4vw, 4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.custom-build > p {
  max-width: 610px;
  padding-top: 0;
  color: #aebdd0;
  line-height: 1.72;
  text-align: left;
}

.custom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.custom-tags li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #c9d4e2;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Investment */

.offer {
  background: white;
}

.investment-table {
  border-top: 1px solid var(--line);
}

.investment-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr) auto;
  align-items: center;
  gap: 48px;
  min-height: 180px;
  padding: 38px 4px;
  border-bottom: 1px solid var(--line);
}

.investment-row > div:first-child {
  display: flex;
  align-items: center;
  gap: 17px;
}

.investment-row > div:first-child > span {
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 700;
}

.investment-row > div:first-child > strong {
  font-size: 1.05rem;
  font-weight: 650;
}

.investment-row > p {
  color: var(--body);
  line-height: 1.68;
}

.investment-price {
  min-width: 190px;
  text-align: right;
}

.investment-price small,
.investment-price strong {
  display: block;
}

.investment-price small {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.investment-price strong {
  margin-top: 5px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.offer-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: center;
}

/* Final CTA */

.final-cta {
  padding-top: 60px;
  background: white;
}

.final-card {
  position: relative;
  overflow: hidden;
  padding: 92px 70px;
  border-radius: var(--radius-lg);
  background: var(--blue);
  color: white;
  text-align: center;
}

.final-card::before,
.final-card::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.final-card::before {
  top: -210px;
  left: -110px;
  width: 430px;
  height: 430px;
}

.final-card::after {
  right: -130px;
  bottom: -260px;
  width: 520px;
  height: 520px;
}

.final-card > * {
  position: relative;
  z-index: 2;
}

.final-card .section-label {
  color: #d1e3ff;
}

.final-card h2 {
  max-width: 900px;
  margin-inline: auto;
}

.final-card .light-serif {
  color: white;
}

.final-card > p {
  max-width: 700px;
  margin: 25px auto 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  line-height: 1.72;
}

.final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.final-actions > span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

/* Footer */

.site-footer {
  padding: 54px 0 70px;
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 72px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-grid p {
  max-width: 370px;
  color: #89898f;
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 10px;
  color: #89898f;
  font-size: 0.78rem;
}

.footer-disclosure > summary {
  display: none;
}

.footer-meta-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-copyright {
  color: #89898f;
  font-size: 0.78rem;
}

.footer-links a {
  padding: 0;
}

.footer-meta a {
  width: fit-content;
  transition: color 180ms ease;
}

/* Reveal motion */

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.996);
  transition: opacity 740ms var(--ease-out), transform 740ms var(--ease-out);
  /* Staggered build-up when several elements of a section reveal together;
     --reveal-order is assigned per section in script.js. */
  transition-delay: calc(var(--reveal-order, 0) * 110ms);
}

.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: hero-enter 780ms both var(--ease-out);
  }

  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 130ms; }
  .hero-copy > :nth-child(4) { animation-delay: 190ms; }
  .hero-copy > :nth-child(5) { animation-delay: 250ms; }

  .product-stage {
    animation: product-enter 900ms 170ms both var(--ease-out);
  }

  .human-chip {
    animation: chip-enter 650ms 620ms both var(--ease-out);
  }

  @keyframes hero-enter {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes product-enter {
    from { opacity: 0; transform: translateY(22px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  @keyframes chip-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark {
    transform: scale(0.97);
  }

  .nav-links a:hover,
  .footer-links a:hover,
  .footer-meta a:hover {
    color: var(--blue);
  }

  .nav-links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .button-small:hover {
    background: #303034;
  }

  .button-primary:hover {
    background: var(--blue-deep);
    box-shadow: 0 15px 34px rgba(0, 79, 196, 0.27);
    transform: translateY(-1px);
  }

  .button-light:hover {
    background: #f0f4fa;
    transform: translateY(-1px);
  }

  .button:hover::after {
    transform: translate(3px, -3px);
  }

  .text-link:hover span {
    transform: translateY(3px);
  }
}

/* Responsive */

@media (max-width: 1160px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 154px;
  }

  .hero-copy {
    max-width: 930px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-text {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .hero-principles {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 840px);
    margin: 28px auto 0;
  }

  .problem-grid,
  .consulting-grid,
  .white-label-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-grid {
    gap: 42px;
  }

  .problem-story {
    max-width: 780px;
  }

  .consulting-grid,
  .white-label-grid {
    gap: 64px;
  }

  .process-card,
  .brand-studio {
    width: min(100%, 760px);
  }

  .solution-card.solution-wide {
    grid-column: span 12;
  }

  .solution-card.solution-warm,
  .solution-card.solution-dark,
  .solution-card:not(.solution-wide):not(.solution-warm):not(.solution-dark) {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 108px 0;
  }

  .investment-row {
    grid-template-columns: 1fr 1.2fr;
  }

  .investment-price {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 36px, 1240px);
  }

  .nav-wrap {
    grid-template-columns: auto auto;
    min-height: 62px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 62px 0 auto;
    display: flex;
    visibility: hidden;
    max-height: calc(100dvh - 62px);
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 17px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(248, 250, 255, 0.96);
    box-shadow: 0 24px 50px rgba(15, 31, 60, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: visibility 0s linear 300ms, opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-links a {
    width: 100%;
    padding: 15px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--graphite);
    font-size: 0.96rem;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    padding-top: 124px;
  }

  .stage-content-grid {
    grid-template-columns: 1fr;
  }

  .signal-stack {
    grid-template-columns: 1fr 1fr;
  }

  .solution-card,
  .solution-card.solution-wide,
  .solution-card.solution-warm,
  .solution-card.solution-dark,
  .solution-card:not(.solution-wide):not(.solution-warm):not(.solution-dark),
  .solution-card.solution-cobalt {
    display: flex;
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .campaign-visual,
  .insight-visual {
    margin-top: 34px;
  }

  .custom-build {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .custom-build > p {
    max-width: 680px;
    padding-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta,
  .footer-meta-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1240px);
  }

  .section {
    padding: 82px 0;
  }

  h1 {
    font-size: clamp(3.35rem, 14.7vw, 4.45rem);
    line-height: 0.93;
  }

  h2 {
    font-size: clamp(2.55rem, 11.7vw, 3.45rem);
  }

  h3 {
    font-size: 1.65rem;
  }

  .section-label,
  .eyebrow {
    font-size: 0.67rem;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading p {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 84px;
  }

  .hero h1 .serif-key {
    margin-top: 0.1em;
  }

  .hero-text {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    flex-direction: column;
    gap: 18px;
    margin-top: 31px;
  }

  .button {
    width: 100%;
  }

  .hero-principles {
    max-width: 300px;
    margin: 31px auto 0;
  }

  .hero-visual {
    margin-top: 4px;
    padding-bottom: 0;
  }

  .product-stage {
    border-radius: 20px;
  }

  .stage-body {
    min-height: 0;
    padding: 20px 15px;
  }

  .pipeline-overview {
    margin-bottom: 26px;
  }

  .pipeline-step span {
    display: none;
  }

  .profile-panel {
    padding: 15px;
  }

  .profile-head {
    grid-template-columns: auto 1fr;
  }

  .profile-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .profile-match {
    grid-template-columns: 72px 1fr;
    gap: 13px;
    padding: 14px;
  }

  .match-number {
    width: 68px;
    height: 68px;
  }

  .signal-stack {
    grid-template-columns: 1fr;
  }

  .human-chip {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .problem-grid {
    gap: 31px;
  }

  .problem-story,
  .problem-story .lead-copy {
    font-size: 1rem;
  }

  .human-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .delay-flow {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-top: 58px;
    padding-top: 24px;
  }

  .delay-arrow {
    width: 1.2em;
    font-size: 0;
    text-align: center;
    transform: none;
  }

  .delay-arrow::after {
    content: "↓";
    font-size: 1rem;
  }

  .solution-card,
  .solution-card.solution-wide,
  .solution-card.solution-warm,
  .solution-card.solution-dark,
  .solution-card:not(.solution-wide):not(.solution-warm):not(.solution-dark),
  .solution-card.solution-cobalt {
    min-height: 400px;
    padding: 26px;
    border-radius: 22px;
  }

  .campaign-visual,
  .insight-visual {
    padding: 18px;
  }

  .campaign-bars {
    gap: 6px;
  }

  .consulting-grid,
  .white-label-grid {
    gap: 50px;
  }

  .process-step {
    grid-template-columns: 48px 1fr;
  }

  .brand-studio {
    padding: 0;
    border-radius: 24px;
  }

  .brand-system {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .brand-identity {
    min-height: 210px;
    padding: 20px;
  }

  .brand-identity > small {
    margin-top: 26px;
  }

  .brand-palette {
    margin-top: 30px;
  }

  .brand-touchpoint {
    min-height: 74px;
  }

  .custom-build {
    gap: 26px;
    margin-top: 72px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .custom-build h3 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .custom-tags {
    margin-top: 32px;
  }

  .investment-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 2px;
  }

  .investment-price {
    grid-column: auto;
  }

  .final-cta {
    padding-top: 30px;
  }

  .final-card {
    padding: 58px 22px;
    border-radius: 24px;
  }

  .final-card > p {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-meta {
    grid-column: auto;
  }
}

@media (max-width: 820px) and (scripting: none) {
  .site-header {
    position: relative;
  }

  .menu-toggle {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: 1fr;
    padding-top: 10px;
  }

  .nav-links {
    position: static;
    grid-column: 1 / -1;
    visibility: visible;
    max-height: none;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero {
    padding-top: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.reveal-pending {
    opacity: 1;
    transform: none;
  }

  .pipeline-overview::after,
  .campaign-bars i {
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.scrolled::before,
  .nav-links {
    background: #f8faff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Liquid-glass navigation dock */

.site-header {
  inset: 14px 0 auto;
}

.site-header::before {
  display: none;
}

.site-header .nav-wrap {
  min-height: 64px;
  padding: 0 12px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(118deg, rgba(245, 254, 255, 0.2) 0%, rgba(226, 244, 248, 0.07) 38%, rgba(141, 193, 211, 0.12) 100%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(4, 23, 36, 0.14),
    0 14px 38px rgba(0, 16, 30, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.12);
  isolation: isolate;
  overflow: hidden;
  backdrop-filter: blur(26px) saturate(165%) brightness(1.06);
  -webkit-backdrop-filter: blur(26px) saturate(165%) brightness(1.06);
  transition: background 260ms var(--ease-ui), border-color 260ms var(--ease-ui), box-shadow 260ms var(--ease-ui);
}

.site-header .nav-wrap::before {
  position: absolute;
  z-index: 0;
  inset: 1px 12% 42% 4%;
  border-radius: inherit;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 47%, transparent 72%);
  content: "";
  filter: blur(7px);
  opacity: 0.58;
  pointer-events: none;
}

.site-header .nav-wrap::after {
  position: absolute;
  z-index: 0;
  top: -100%;
  right: 8%;
  width: 34%;
  height: 260%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12), transparent 66%);
  content: "";
  pointer-events: none;
  transform: rotate(18deg);
}

.site-header .nav-wrap > :is(.brand, .menu-toggle, .nav-cta) {
  position: relative;
  z-index: 1;
}

.site-header .nav-links {
  position: relative;
  z-index: 1;
}

.site-header .brand {
  gap: 0;
  text-shadow: 0 1px 12px rgba(0, 20, 35, 0.18);
}

.site-header.scrolled .nav-wrap {
  border-color: rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.48), rgba(231, 244, 248, 0.28) 48%, rgba(205, 224, 236, 0.34)),
    rgba(240, 248, 252, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(11, 34, 49, 0.1),
    0 14px 38px rgba(0, 16, 30, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .brand {
  text-shadow: none;
}

@media (max-width: 820px) {
  .site-header {
    inset: 10px 0 auto;
  }

  .site-header .nav-wrap {
    min-height: 58px;
    padding: 0 8px 0 18px;
    border-radius: 22px;
  }

  .site-header .nav-links {
    position: fixed;
    inset: 76px 18px auto;
    max-height: calc(100dvh - 94px);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 22px;
    background: rgba(233, 244, 248, 0.7);
    box-shadow: 0 18px 42px rgba(0, 16, 30, 0.18), inset 0 1px rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
  }

  .site-header:not(.scrolled) .nav-links.open {
    background: rgba(233, 244, 248, 0.7);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header .nav-wrap,
  .site-header.scrolled .nav-wrap {
    background: #eef5f7;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header .nav-wrap::before,
  .site-header .nav-wrap::after {
    display: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --body: #3f4248;
    --muted: #565960;
    --line: rgba(11, 11, 13, 0.25);
  }

  .site-header.scrolled::before,
  .nav-links {
    background: #f8faff;
  }
}

@media (forced-colors: active) {
  .brand-mark,
  .button,
  .pipeline-step i,
  .solution-card,
  .process-step > span {
    border: 1px solid currentColor;
  }

  .pipeline-overview::after,
  .campaign-bars i {
    background: Highlight;
  }
}

/* Joboloo v4, product-first art direction */

.scroll-progress {
  position: fixed;
  z-index: 160;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
}

.site-header:not(.scrolled) .nav-wrap > .brand,
.site-header:not(.scrolled) .nav-links,
.site-header:not(.scrolled) .menu-toggle {
  color: white;
}

.site-header:not(.scrolled) .brand-mark {
  background: white;
  color: var(--blue);
}

.site-header:not(.scrolled) .nav-cta {
  background: white;
  color: var(--ink);
}

.nav-links a[aria-current="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(112px, 15vh, 168px) 0 clamp(72px, 11vh, 130px);
  background: #020714;
  color: white;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  background-image:
    linear-gradient(180deg, rgba(1, 10, 19, 0.2) 0%, rgba(2, 18, 29, 0.04) 42%, rgba(2, 18, 30, 0.3) 100%),
    radial-gradient(circle 42vw at 50% 68%, transparent 99.55%, rgba(224, 241, 255, 0.075) 99.72%, rgba(224, 241, 255, 0.075) 99.84%, transparent 100%),
    radial-gradient(circle 27vw at 50% 68%, transparent 99.35%, rgba(224, 241, 255, 0.055) 99.6%, rgba(224, 241, 255, 0.055) 99.78%, transparent 100%),
    radial-gradient(circle 13vw at 50% 68%, transparent 99.1%, rgba(224, 241, 255, 0.038) 99.45%, rgba(224, 241, 255, 0.038) 99.7%, transparent 100%),
    linear-gradient(rgba(224, 241, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 241, 255, 0.026) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, auto, auto, 80px 80px, 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 78%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  z-index: 1;
  height: clamp(280px, 42vh, 440px);
  background: linear-gradient(90deg, #0b2f39 0%, #236e80 44%, #1f6678 72%, #102f45 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.12) 22%, rgba(0, 0, 0, 0.58) 64%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.12) 22%, rgba(0, 0, 0, 0.58) 64%, black 100%);
  pointer-events: none;
}

.hero-atmosphere,
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-atmosphere {
  z-index: -1;
  overflow: hidden;
  background: #000;
}

.hero-atmosphere::before,
.hero-atmosphere::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-atmosphere::before {
  display: none;
}

.hero-atmosphere::after {
  display: none;
}

.hero-shader-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms var(--ease-out);
}

.hero-shader-primary {
  background: #000;
}

.hero-shader-overlay {
  z-index: 2;
}

.hero-shader-layer canvas {
  z-index: 0;
}

.hero-shader-layer.is-ready {
  opacity: 1;
}

.hero-shader-overlay.is-ready {
  opacity: 0.34;
}

.hero-grid-lines {
  z-index: 3;
}

.hero-halo,
.hero-signal-flight {
  z-index: 4;
}

.hero-signal-flight {
  display: none;
}

@media (forced-colors: active) {
  .hero-shader-layer {
    display: none;
  }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-signal-flight {
      position: absolute;
      top: 210px;
      left: 50%;
      display: flex;
      gap: 7px;
      opacity: 0;
      animation: hero-signal-flight-scroll 1ms linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 115vh;
      will-change: transform, opacity;
    }

    .hero-signal-flight i {
      width: 34px;
      height: 23px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 8px;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(158, 204, 255, 0.08));
      box-shadow: 0 10px 24px rgba(0, 39, 126, 0.15);
      transform: rotate(-8deg);
    }

    .hero-signal-flight i:nth-child(2) {
      transform: translateY(8px) rotate(5deg);
    }

    .hero-signal-flight i:nth-child(3) {
      transform: translateY(-4px) rotate(12deg);
    }

    @keyframes hero-signal-flight-scroll {
      0% { opacity: 0; transform: translate3d(42vw, -40px, 0) rotate(-12deg) scale(0.9); }
      18% { opacity: 0.2; }
      58% { opacity: 0.26; transform: translate3d(-4vw, 360px, 0) rotate(6deg) scale(1); }
      100% { opacity: 0; transform: translate3d(-44vw, 760px, 0) rotate(22deg) scale(0.94); }
    }
  }
}

.hero-atmosphere {
  animation: none !important;
  transform: none !important;
}

.hero-halo {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.halo-one {
  top: 160px;
  left: 50%;
  width: min(1080px, 90vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
}

.halo-two {
  top: 315px;
  left: 50%;
  width: min(760px, 68vw);
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.09);
  transform: translateX(-50%);
}

.hero-sphere {
  display: none;
}

.hero-stack {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.hero-copy {
  position: relative;
  top: 0;
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.hero-copy > * {
  animation: none !important;
}

.eyebrow {
  margin-bottom: 27px;
  color: white;
}

.hero h1 {
  color: #f8fcfd;
  font-size: clamp(4.4rem, min(6.5vw, 9.5vh), 6.55rem);
  letter-spacing: -0.058em;
  line-height: 0.91;
  text-shadow: 0 2px 32px rgba(0, 11, 23, 0.2);
}

.hero h1 > span:first-child {
  display: block;
}

.hero h1 .serif-key {
  display: inline;
  margin: 0;
  color: #edf8fa;
  font-size: 1.13em;
  letter-spacing: -0.038em;
  line-height: 0.84;
}

.hero-text {
  max-width: 820px;
  margin: 37px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.62;
}

.hero-subheadline {
  display: grid;
  gap: 0.12em;
  color: rgba(244, 251, 252, 0.84);
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
  letter-spacing: -0.012em;
  line-height: 1.5;
}

.hero-subheadline span {
  display: block;
  font-weight: 400;
}

.hero-actions,
.hero-principles {
  justify-content: center;
}

.hero-actions {
  position: static;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: clamp(44px, 6vh, 62px);
}

.hero-primary {
  box-shadow: 0 16px 42px rgba(0, 24, 93, 0.28);
}

.hero-link {
  color: white;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7px 0;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 520;
  letter-spacing: 0.006em;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
}

.hero-trust span:not(:last-child)::after {
  width: 3px;
  height: 3px;
  margin: 0 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  content: "";
}

.hero-principles {
  margin-top: 38px;
  color: white;
}

.hero-principles span:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.76);
}

.hero-visual {
  width: min(100%, 1120px);
  margin-top: 82px;
  padding: 0;
}

.j-core-frame {
  --mx: 0;
  --my: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--window-radius);
  background: linear-gradient(155deg, rgba(7, 36, 103, 0.72), rgba(3, 20, 69, 0.48));
  box-shadow: var(--shadow-window-dark);
  perspective: 1200px;
}

.j-core-frame::before {
  position: absolute;
  inset: var(--window-bar-height) 0 46px;
  background: radial-gradient(circle at 50% 50%, rgba(73, 151, 255, 0.25), transparent 42%);
  content: "";
  pointer-events: none;
}

.j-core-topline,
.j-core-footer {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: var(--window-bar-height);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.j-core-topline {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 20, 63, 0.22);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.j-core-topline > span,
.core-live,
.j-core-footer > strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.j-core-topline > span:first-child > i,
.core-live > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--apricot);
}

.core-live > i {
  background: #62dc8b;
  box-shadow: 0 0 0 4px rgba(98, 220, 139, 0.12);
}

.j-core-footer {
  min-height: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.j-core-footer > strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.59rem;
  font-weight: 650;
}

.j-core-canvas {
  position: relative;
  min-height: 520px;
}

.core-connectors {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.core-connectors path {
  fill: none;
  stroke: rgba(176, 213, 255, 0.42);
  stroke-dasharray: 4 7;
  stroke-linecap: round;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.j-core-object {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 330px;
  transform: translate(-50%, -51%) translate3d(calc(var(--mx) * 3px), calc(var(--my) * 3px), 0) rotateX(calc(var(--my) * -2deg)) rotateY(calc(var(--mx) * 3deg));
  transform-style: preserve-3d;
}

.j-core-frame.is-interacting .j-core-object {
  will-change: transform;
}

.j-core-tiles {
  position: absolute;
  inset: 0;
  transform: rotateX(51deg) rotateZ(-32deg);
  transform-style: preserve-3d;
}

.core-tile {
  position: absolute;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  background: linear-gradient(145deg, #5eb0ff 0%, #0b74ff 42%, #0052cf 100%);
  box-shadow: 9px 13px 0 #003a9b, 13px 18px 28px rgba(0, 12, 53, 0.38), inset 0 1px rgba(255, 255, 255, 0.32);
}

.core-tile:nth-child(2n) {
  background: linear-gradient(145deg, #7fc2ff 0%, #2588ff 45%, #0759d4 100%);
}

.tile-1 { top: 9px; left: 18px; }
.tile-2 { top: 9px; left: 100px; }
.tile-3 { top: 9px; left: 182px; }
.tile-4 { top: 91px; left: 182px; }
.tile-5 { top: 173px; left: 182px; }
.tile-6 { top: 239px; left: 112px; }
.tile-7 { top: 218px; left: 30px; }

.core-signature {
  position: absolute;
  z-index: 4;
  top: 46%;
  left: 51%;
  color: rgba(255, 255, 255, 0.96);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 3.9rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 8px 30px rgba(0, 17, 68, 0.44);
  transform: translate(-50%, -50%);
}

.core-port {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 216px;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(6, 28, 82, 0.72);
  box-shadow: 0 14px 34px rgba(0, 13, 54, 0.2);
}

.core-port > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #aad0ff;
  font-size: 0.59rem;
  font-style: normal;
  font-weight: 700;
}

.core-port strong,
.core-port small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.core-port strong {
  color: white;
  font-size: 0.72rem;
  font-weight: 650;
}

.core-port small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
}

.port-1 { top: 9%; left: 3.5%; }
.port-2 { top: 42%; left: 1%; }
.port-3 { bottom: 8%; left: 4.5%; }
.port-4 { top: 9%; right: 3.5%; }
.port-5 { top: 42%; right: 1%; }
.port-6 { right: 4.5%; bottom: 8%; }

.core-status-card {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  left: 50%;
  display: grid;
  min-width: 265px;
  grid-template-columns: 38px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: white;
  box-shadow: 0 20px 50px rgba(0, 17, 67, 0.3);
  color: var(--ink);
  transform: translateX(-50%);
}

.status-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-wash);
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 700;
}

.core-status-card small,
.core-status-card strong {
  display: block;
}

.core-status-card small {
  color: var(--muted);
  font-size: 0.56rem;
}

.core-status-card strong {
  margin-top: 2px;
  font-size: 0.69rem;
}

.core-status-card > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  .j-core-demo.flow-pending .j-core-tiles {
    opacity: 0;
    transform: rotateX(51deg) rotateZ(-32deg) translateY(20px) scale(0.97);
    transition: opacity 560ms 80ms var(--ease-out), transform 650ms 80ms var(--ease-out);
  }

  .j-core-demo.flow-pending.is-visible .j-core-tiles {
    opacity: 1;
    transform: rotateX(51deg) rotateZ(-32deg) translateY(0) scale(1);
  }

  .j-core-demo.flow-pending .core-connectors path {
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 760ms 250ms var(--ease-out);
  }

  .j-core-demo.flow-pending.is-visible .core-connectors path {
    stroke-dashoffset: 0;
  }

  .j-core-demo.flow-pending .core-port,
  .j-core-demo.flow-pending .core-status-card {
    opacity: 0;
    transition: opacity 420ms 520ms var(--ease-out), transform 420ms 520ms var(--ease-out);
  }

  .j-core-demo.flow-pending.is-visible .core-port,
  .j-core-demo.flow-pending.is-visible .core-status-card {
    opacity: 1;
  }
}

/* The software model */

.system-story {
  overflow: hidden;
  padding-bottom: 172px;
  background: #05070b;
  color: white;
}

.system-story::before {
  position: absolute;
  top: -350px;
  left: 50%;
  width: 960px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15), transparent 68%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.system-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(70px, 8vw, 130px);
}

.system-grid > * {
  min-width: 0;
}

.system-copy h2 {
  max-width: 670px;
}

.system-copy .lead-copy {
  margin-top: 31px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
  line-height: 1.7;
}

.system-copy > p:not(.lead-copy) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.72;
}

.software-definition {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.55;
}

.software-definition > span {
  flex: 0 0 8px;
  height: 8px;
  margin-top: 0.38em;
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 0 0 0 5px rgba(255, 157, 108, 0.12);
}

.software-definition strong {
  color: white;
  white-space: nowrap;
}

.system-convergence {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--window-radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-window-dark);
}

.system-window-bar {
  display: flex;
  min-width: 0;
  min-height: var(--window-bar-height);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.62rem;
  font-weight: 600;
}

.system-window-bar > small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.55rem;
}

.workflow-before {
  padding: 19px 24px 0;
}

.convergence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
}

.convergence-head span {
  color: white;
  font-size: 0.68rem;
  font-weight: 680;
}

.fragment-cloud {
  display: grid;
  min-height: 156px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  align-items: center;
  gap: 4px 8px;
  padding: 14px 3px 11px;
}

.fragment-cloud > span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 9px 20px rgba(0, 0, 0, 0.13);
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.61rem;
  white-space: nowrap;
}

.fragment-cloud > span i {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(125, 175, 255, 0.22);
  border-radius: 7px;
  background: rgba(34, 112, 245, 0.14);
  color: #8ab8ff;
  font-size: 0.48rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 740;
}

.fragment-cloud > span strong {
  min-width: 0;
  font-weight: 570;
  overflow-wrap: anywhere;
}

.fragment-cloud > span:nth-child(1) {
  grid-area: 1 / 1 / 2 / 5;
  justify-self: start;
  transform: rotate(-1.5deg) translateY(2px);
}

.fragment-cloud > span:nth-child(2) {
  grid-area: 1 / 8 / 2 / 12;
  justify-self: end;
  transform: rotate(1.8deg) translateY(7px);
}

.fragment-cloud > span:nth-child(3) {
  grid-area: 2 / 4 / 3 / 9;
  justify-self: center;
  transform: rotate(-0.7deg) translateY(-2px);
}

.fragment-cloud > span:nth-child(4) {
  grid-area: 3 / 1 / 4 / 5;
  justify-self: start;
  transform: rotate(1.4deg) translateY(-4px);
}

.fragment-cloud > span:nth-child(5) {
  grid-area: 3 / 8 / 4 / 13;
  justify-self: end;
  transform: rotate(-1.4deg) translateY(2px);
}

.convergence-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 1px 24px 18px;
  color: #78aeff;
  font-size: 0.56rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.convergence-route i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 150, 255, 0.58));
}

.convergence-route i:last-child {
  background: linear-gradient(90deg, rgba(78, 150, 255, 0.58), transparent);
}

.workflow-board {
  margin: 0 24px 24px;
  padding: 24px;
  border-radius: 17px;
  background: white;
  color: var(--ink);
}

.workflow-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.unified-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.unified-title > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--orange-accent);
  color: white;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
}

.unified-title strong,
.unified-title small {
  display: block;
}

.unified-title strong {
  font-size: 0.86rem;
}

.unified-title small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
}

.workflow-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #dfe8f5;
  border-radius: 999px;
  color: #47705a;
  font-size: 0.58rem;
  font-weight: 650;
}

.workflow-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35b56f;
  box-shadow: 0 0 0 4px rgba(53, 181, 111, 0.11);
}

.workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 38px;
}

.workflow-track::before {
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0 50%, #dfe5ed 50% 100%);
  content: "";
}

.workflow-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 9px;
  color: #8a929d;
  text-align: center;
}

.workflow-stage i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid #d7dde6;
  border-radius: 50%;
  background: white;
  font-size: 0.54rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.workflow-stage strong {
  max-width: 100%;
  font-size: 0.6rem;
  font-weight: 620;
  overflow-wrap: anywhere;
}

.workflow-stage.is-complete i {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.workflow-stage.is-active {
  color: var(--ink);
}

.workflow-stage.is-active i {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.1);
}

.workflow-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding: 16px 17px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f7f9fc;
}

.workflow-result span {
  color: var(--blue);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.workflow-result strong {
  max-width: 260px;
  font-size: 0.69rem;
  font-weight: 620;
  text-align: right;
}

.system-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.system-capabilities span {
  min-width: 0;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

.system-capabilities span:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

/* Product module specimens */

.solutions {
  background: #f3f6fb;
}

.solution-grid {
  overflow: hidden;
  gap: 1px;
  border: 1px solid rgba(6, 27, 58, 0.1);
  border-radius: 26px;
  background: rgba(6, 27, 58, 0.1);
}

.solution-card {
  border: 0;
  border-radius: 0;
}

.application-preview {
  align-self: stretch;
  min-height: 300px;
  padding: 25px;
  border: 1px solid rgba(0, 102, 255, 0.12);
  border-radius: 19px;
  background: white;
  box-shadow: 0 20px 55px rgba(16, 56, 117, 0.1);
}

.application-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3d444e;
  font-size: 0.68rem;
  font-weight: 650;
}

.application-brand > span {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--blue);
}

.application-preview > small,
.application-preview > strong {
  display: block;
}

.application-preview > small {
  margin-top: 31px;
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 650;
}

.application-preview > strong {
  max-width: 250px;
  margin-top: 5px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.application-fields {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.application-fields i {
  height: 34px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background: #fbfcfe;
}

.application-fields i:last-child {
  width: 72%;
}

.application-action {
  display: flex;
  width: 118px;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 0.65rem;
  font-weight: 650;
}

.application-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 19px;
}

.application-progress > span {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue) 33%, #e5eaf1 33%);
}

.application-progress small {
  color: var(--muted);
  font-size: 0.55rem;
}

.integration-demo {
  display: grid;
  min-width: 0;
  align-self: stretch;
  gap: 11px;
}

.integration-visual {
  position: relative;
  display: grid;
  align-self: stretch;
  min-height: 340px;
  grid-template-rows: var(--window-bar-height) minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--window-border-light);
  border-radius: var(--window-radius);
  background: #f6f8fc;
  box-shadow: var(--shadow-window-light);
  color: var(--ink);
}

.integration-window-bar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
  border-bottom: 1px solid #e1e7ef;
  background: rgba(255, 255, 255, 0.9);
  color: #46505d;
  font-size: 0.6rem;
  font-weight: 650;
}

.integration-window-bar > small {
  color: #89919d;
  font-size: 0.52rem;
}

.integration-canvas {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(84px, 1fr) 28px minmax(84px, 1fr) 28px minmax(84px, 1fr) 28px minmax(84px, 1fr);
  align-items: center;
  gap: 7px;
  padding: 27px 18px 20px;
}

.integration-step {
  display: grid;
  min-width: 0;
  min-height: 112px;
  justify-items: center;
  align-content: center;
  gap: 7px;
  padding: 12px 8px;
  border: 1px solid #dce4ee;
  border-radius: 14px;
  background: white;
  box-shadow: 0 1px 2px rgba(6, 27, 58, 0.06);
  text-align: center;
  transform: translateY(0);
  transition: opacity 240ms ease, transform 320ms var(--ease-out), border-color 240ms ease;
}

.integration-step-joboloo {
  border-color: #112e56;
  background: #061b3a;
  box-shadow: 0 10px 24px rgba(6, 27, 58, 0.16);
  color: white;
}

.integration-step > div,
.integration-step strong,
.integration-step small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.integration-step strong,
.integration-step small {
  display: block;
}

.integration-step strong {
  font-size: 0.61rem;
  font-weight: 700;
}

.integration-step small {
  margin-top: 2px;
  color: #7d8692;
  font-size: 0.49rem;
  line-height: 1.3;
}

.integration-step-joboloo small {
  color: #aab9ce;
}

.integration-app-icon {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: white;
  box-shadow: 0 1px 2px rgba(6, 27, 58, 0.08), 0 6px 14px rgba(6, 27, 58, 0.08);
}

.integration-app-icon svg {
  width: 21px;
  height: 21px;
}

.whatsapp-icon {
  color: #25d366;
}

.whatsapp-icon path {
  fill: currentColor;
}

.joboloo-icon {
  background: var(--blue);
  color: white;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.outlook-icon {
  background: #eaf4ff;
  color: white;
}

.outlook-icon svg {
  fill: none;
  stroke: #0876c9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.teams-icon {
  background: #f0efff;
}

.teams-icon svg {
  fill: none;
  stroke: #655fc4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.integration-link {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: #cad6e5;
}

.integration-link > span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transform: translate3d(-3px, -50%, 0);
}

.solution-card.reveal-pending:not(.is-visible) .integration-step {
  opacity: 0.58;
  transform: translateY(5px);
}

.solution-card.is-visible .integration-link > span {
  animation: integration-bead 420ms 220ms var(--ease-out) both;
}

.solution-card.is-visible .integration-link.link-delay-1 > span {
  animation-delay: 500ms;
}

.solution-card.is-visible .integration-link.link-delay-2 > span {
  animation-delay: 780ms;
}

@keyframes integration-bead {
  0% { opacity: 0; transform: translate3d(-3px, -50%, 0); }
  20%, 72% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(27px, -50%, 0); }
}

.integration-ledger {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 14px;
  padding: 11px 12px;
  border: 1px solid #e0e6ee;
  border-radius: 11px;
  background: white;
  color: #7a838f;
  font-size: 0.51rem;
}

.integration-ledger strong {
  min-width: 0;
  color: #273140;
  font-size: 0.55rem;
  overflow-wrap: anywhere;
  text-align: right;
}

.integration-disclaimer {
  max-width: none !important;
  margin: 0 8px !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.66rem;
  line-height: 1.5 !important;
}

@media (max-width: 680px) {
  .integration-visual {
    min-height: 0;
  }

  .integration-window-bar > small {
    max-width: 94px;
    font-size: 0.48rem;
    line-height: 1.15;
    text-align: right;
  }

  .integration-canvas {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 18px 14px 14px;
  }

  .integration-step {
    min-height: 68px;
    grid-template-columns: 38px minmax(0, 1fr);
    justify-items: start;
    gap: 10px;
    text-align: left;
  }

  .integration-step small {
    font-size: 0.56rem;
  }

  .solution-cobalt .integration-brand-tag {
    display: none;
  }

  .solution-cobalt .integration-system-note {
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.7rem;
  }

  .integration-link {
    width: 1px;
    height: 18px;
    justify-self: center;
  }

  .integration-link > span {
    display: none;
  }

  .integration-ledger {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .integration-ledger strong {
    text-align: left;
  }

  .integration-disclaimer {
    margin-inline: 2px !important;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .integration-step {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .integration-link > span {
    display: none;
    animation: none !important;
  }

  .hero-atmosphere {
    animation: none !important;
    animation-timeline: auto !important;
    transform: none !important;
  }

  .hero-atmosphere::before {
    animation: none !important;
    transform: none !important;
  }

  .hero-shader-layer {
    transition: none;
  }
}

/* Scroll-linked module studio */

.module-showcase {
  --module-progress: 0;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 12% 2%, rgba(6, 182, 212, 0.28), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.32), transparent 34%),
    linear-gradient(180deg, #173c49 0%, #0a2438 25%, #06162d 58%, #020714 100%);
  color: white;
}

.module-showcase::after {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: clamp(320px, 48vh, 500px);
  background: linear-gradient(90deg, #0b2f39 0%, #236e80 44%, #1f6678 72%, #102f45 100%);
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.74) 24%, rgba(0, 0, 0, 0.24) 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.74) 24%, rgba(0, 0, 0, 0.24) 70%, transparent 100%);
  pointer-events: none;
}

.module-showcase > .container {
  position: relative;
  z-index: 1;
}

.module-showcase > .container > .section-heading .section-label {
  color: rgba(218, 235, 255, 0.78);
}

.module-showcase > .container > .section-heading h2,
.module-showcase > .container > .section-heading .serif-key {
  color: white;
}

.module-showcase > .container > .section-heading p {
  max-width: 840px;
  color: rgba(235, 244, 255, 0.78);
}

.module-scroll-rail {
  position: relative;
  min-height: 348svh;
  margin-top: 76px;
}

.module-stage {
  position: sticky;
  top: 88px;
  display: grid;
  height: calc(100svh - 112px);
  min-height: 650px;
  max-height: 780px;
  align-items: stretch;
}

.module-stage-window {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: var(--window-bar-height) auto minmax(0, 1fr) 42px;
  overflow: hidden;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #071e4e;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 2px 5px rgba(0, 35, 95, 0.18), 0 34px 90px rgba(0, 55, 145, 0.2);
}

.module-stage-window::before {
  position: absolute;
  z-index: 0;
  top: -260px;
  right: -160px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(143, 192, 255, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.module-window-bar,
.module-window-foot,
.module-tabs-shell,
.module-panel-stack {
  position: relative;
  z-index: 1;
}

.module-window-bar,
.module-window-foot {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  color: #d8e5f7;
  font-size: 0.62rem;
  font-weight: 620;
}

.module-window-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 24, 67, 0.72);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.module-window-bar small {
  color: #91a8c8;
  font-size: 0.56rem;
}

.module-window-bar [data-module-current] {
  color: white;
  font-variant-numeric: tabular-nums;
}

.module-tabs-shell {
  padding: 12px 14px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.module-tabs {
  --tab-x: 0px;
  --tab-w: calc(16.666% - 5px);
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(3, 17, 49, 0.5);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.module-tab-indicator {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--tab-w);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, #1378ff, #0059dc);
  box-shadow: 0 1px 2px rgba(0, 19, 61, 0.24), 0 9px 20px rgba(0, 76, 206, 0.22);
  transform: translate3d(var(--tab-x), 0, 0);
  transition: width 360ms var(--ease-out), transform 360ms var(--ease-out);
}

.module-tab {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 48px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8fa6c6;
  cursor: pointer;
  font: inherit;
  text-align: left;
  touch-action: manipulation;
  transition: color 180ms ease, transform 110ms ease-out;
}

.module-tab:active {
  transform: scale(0.98);
}

.module-tab > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  color: #a8bcda;
  font-size: 0.55rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.module-tab strong {
  min-width: 0;
  font-size: 0.61rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.module-tab.is-active,
.module-tab[aria-selected="true"] {
  color: white;
}

.module-tab.is-active > span {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.module-progress {
  height: 2px;
  margin: 10px 5px 0;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.module-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #69a9ff, white);
  transform: scaleX(var(--module-progress));
  transform-origin: left center;
  transition: transform 120ms linear;
}

.module-panel-stack {
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 12px 14px 0;
  overflow: hidden;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--window-inner-radius);
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 102, 255, 0.1), transparent 34%),
    #f8fbff;
  box-shadow: inset 0 1px white, 0 16px 36px rgba(0, 10, 38, 0.18);
}

.module-panel {
  grid-area: 1 / 1;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  padding: clamp(30px, 3.6vw, 54px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(18px, 0, 0) scale(0.994);
  visibility: hidden;
  transition: opacity 210ms ease, transform 360ms var(--ease-out), visibility 0s 360ms;
}

.module-panel.is-before {
  transform: translate3d(-18px, 0, 0) scale(0.994);
}

.module-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.module-panel-copy {
  min-width: 0;
}

.module-panel-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.module-panel-copy h3 {
  max-width: 520px;
  color: #071a2e;
  font-size: clamp(2rem, 3.3vw, 3.55rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.module-panel-copy h3 .serif-key {
  display: block;
  font-size: 1.1em;
}

.module-panel-copy p {
  max-width: 520px;
  margin-top: 20px;
  color: #5d6674;
  font-size: 0.94rem;
  line-height: 1.65;
}

.module-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.module-benefits span {
  padding: 7px 10px;
  border: 1px solid #d9e5f4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #536174;
  font-size: 0.62rem;
  font-weight: 620;
}

.module-demo {
  position: relative;
  min-width: 0;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 19px;
  background: #eef4fb;
  box-shadow: 0 1px 2px rgba(6, 27, 58, 0.05), 0 18px 44px rgba(10, 51, 112, 0.11);
}

/* Legacy-Pruefen-Demo bis zum Matching-Umbau. */
.check-module-demo {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 28%, rgba(0, 102, 255, 0.13), transparent 33%),
    linear-gradient(145deg, #f2f7ff, #e7effa);
}

.module-window-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8199bc;
}

.module-window-foot strong {
  color: #dbe8f8;
  font-size: 0.61rem;
  font-weight: 650;
}

.module-integration-note {
  max-width: 860px;
  margin: 34px auto 0;
  color: rgba(206, 223, 244, 0.58);
  font-size: 0.68rem;
  line-height: 1.55;
  text-align: center;
}

/* Module 01: One-click application */

.apply-module-demo {
  display: grid;
  align-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 86% 8%, rgba(0, 102, 255, 0.09), transparent 32%),
    #f4f7fb;
}

.apply-form-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dfe6ef;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 26px rgba(12, 52, 110, 0.07);
}

.apply-form-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.apply-form-head small,
.apply-form-head strong {
  display: block;
}

.apply-form-head small {
  color: #8a95a5;
  font-size: 0.48rem;
}

.apply-form-head strong {
  margin-top: 2px;
  color: #18263a;
  font-size: 0.78rem;
}

.apply-form-head > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #d6e4f7;
  border-radius: 999px;
  background: var(--blue-mist);
  color: var(--blue-deep);
  font-size: 0.47rem;
  font-weight: 700;
}

.apply-form-card > p {
  margin: 0;
  color: #748092;
  font-size: 0.5rem;
  line-height: 1.45;
}

.apply-dropzone {
  display: grid;
  min-height: 104px;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px dashed #aebccd;
  border-radius: 11px;
  background: #fbfdff;
  text-align: center;
}

.apply-dropzone svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #64748b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.apply-upload-title {
  color: var(--blue);
  font-size: 0.6rem;
  font-weight: 400;
}

.apply-dropzone small {
  color: #7f8a9a;
  font-size: 0.46rem;
}

.apply-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.apply-field {
  display: grid;
  gap: 5px;
}

.apply-field:last-child {
  grid-column: 1 / -1;
}

.apply-field span {
  color: #4d5b6d;
  font-size: 0.47rem;
  font-weight: 650;
}

.apply-field i {
  display: block;
  height: 23px;
  border: 1px solid #dfe5ed;
  border-radius: 7px;
  background: #f7f9fb;
}

/* Module 03: matching and pre-qualification */

.matching-detail-demo {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 11px;
  padding: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 102, 255, 0.08), transparent 34%),
    #f4f7fb;
}

.matching-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: white;
  box-shadow: 0 7px 18px rgba(12, 52, 110, 0.055);
}

.matching-person {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.matching-person > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f1f3f6;
  color: #16243a;
  font-size: 0.58rem;
  font-weight: 750;
}

.matching-person strong,
.matching-person small {
  display: block;
}

.matching-person strong {
  color: #142238;
  font-size: 0.68rem;
}

.matching-person small {
  margin-top: 2px;
  color: #7e8998;
  font-size: 0.49rem;
}

.match-score {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 2px solid #65bd6a;
  border-radius: 999px;
  color: #236e35;
  font-size: 0.67rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.matching-dashboard-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.3fr) minmax(112px, 0.7fr);
  gap: 9px;
}

.matching-recommendations,
.matching-reasons {
  min-width: 0;
  padding: 11px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: white;
}

.matching-recommendations > strong,
.matching-reasons > strong {
  display: block;
  color: #25354a;
  font-size: 0.57rem;
}

.match-row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  padding-top: 9px;
}

.match-row + .match-row {
  margin-top: 7px;
  border-top: 1px solid #edf0f4;
}

.match-row span,
.match-row strong,
.match-row small {
  display: block;
  min-width: 0;
}

.match-row strong {
  color: #203046;
  font-size: 0.57rem;
  overflow-wrap: anywhere;
}

.match-row small {
  margin-top: 2px;
  color: #8a95a4;
  font-size: 0.43rem;
}

.match-row em {
  align-self: center;
  padding: 3px 6px;
  border: 1px solid #a9deb0;
  border-radius: 999px;
  background: #f1fbf3;
  color: #317b40;
  font-size: 0.52rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.match-row.is-low em {
  border-color: #efbdc4;
  background: #fff4f5;
  color: #b63d4d;
}

.match-row > i {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #e3e8ef;
}

.match-row > i > b {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #65bd6a;
  transform: scaleX(var(--score));
  transform-origin: left center;
}

.match-row.is-low > i > b {
  background: #df5264;
}

.matching-reasons {
  border-color: #bde7c4;
  background: #f1fbf3;
}

.matching-reasons > strong {
  color: #2b7a3d;
}

.matching-reasons > strong span {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #74c380;
  border-radius: 50%;
  font-size: 0.44rem;
}

.matching-reasons ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.matching-reasons li {
  position: relative;
  padding-left: 10px;
  color: #367944;
  font-size: 0.49rem;
  line-height: 1.3;
}

.matching-reasons li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #65bd6a;
  content: "";
}

.matching-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #dfe6ef;
  border-radius: 11px;
  background: white;
}

.matching-actions > span {
  min-width: 0;
  color: #7a8696;
  font-size: 0.46rem;
}

.matching-actions > div {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.matching-decision {
  padding: 5px 7px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #fbfcfd;
  font-size: 0.49rem;
  font-weight: 700;
}

.matching-decision.is-approve {
  color: #378342;
}

.matching-decision.is-decline {
  color: #be3d49;
}

.matching-channel {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  background: white;
}

.matching-channel img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Module 01: Matching */

.matching-module-demo {
  display: grid;
  grid-template-columns: minmax(130px, 0.72fr) 32px minmax(210px, 1.28fr);
  align-items: center;
  gap: 12px;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 28%, rgba(0, 102, 255, 0.13), transparent 33%),
    linear-gradient(145deg, #f2f7ff, #e7effa);
  /* row 2 (matching-pool) spans full width below the profile/route/results row */
}

.matching-pool {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #081f50;
  color: white;
}

.matching-pool > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  font-size: 0.82rem;
  line-height: 1;
}

.matching-pool small {
  color: #cdddf5;
  font-size: 0.55rem;
  line-height: 1.4;
}

.matching-profile {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 12px;
  padding: 22px 14px;
  border: 1px solid #d8e3f0;
  border-radius: 15px;
  background: white;
  box-shadow: 0 10px 26px rgba(12, 52, 110, 0.08);
  text-align: center;
}

.matching-profile > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #e0ebff;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 750;
}

.matching-profile small,
.matching-profile strong,
.matching-profile em {
  display: block;
}

.matching-profile small {
  color: #8a94a3;
  font-size: 0.54rem;
}

.matching-profile strong {
  margin-top: 3px;
  color: #16243a;
  font-size: 0.82rem;
}

.matching-profile em {
  margin-top: 4px;
  color: #6f7b8b;
  font-size: 0.55rem;
  font-style: normal;
}

.matching-route {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.matching-route i {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #b8c8dc, var(--blue));
}

.matching-route span {
  color: #78869a;
  font-size: 0.48rem;
  line-height: 1.3;
  text-align: center;
}

.matching-results {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.matching-results > div {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  padding: 12px;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
}

.matching-results > div.is-best {
  border-color: rgba(0, 102, 255, 0.28);
  box-shadow: 0 9px 22px rgba(0, 91, 225, 0.09);
}

.matching-results > div > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 0 8px;
}

.matching-results span > b {
  grid-row: 1 / 3;
  color: #8a96a6;
  font-size: 0.52rem;
}

.matching-results strong,
.matching-results small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.matching-results strong {
  color: #202d40;
  font-size: 0.65rem;
}

.matching-results small {
  color: #8994a3;
  font-size: 0.51rem;
}

.matching-results > div > em {
  align-self: center;
  color: var(--blue);
  font-size: 0.76rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.matching-results > div > i {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #dfe7f1;
}

.matching-results > div > i > b {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #69a8ff);
  transform: scaleX(0.08);
  transform-origin: left center;
  transition: transform 620ms 120ms var(--ease-out);
}

.module-panel.is-active .matching-results > div > i > b {
  transform: scaleX(var(--score));
}

/* Module 02: CV extraction */

.cv-module-demo {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 0 20px 18px;
  background: #f4f7fb;
}

.cv-browser-head {
  display: grid;
  min-width: 0;
  min-height: 46px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0 -20px;
  padding: 0 14px;
  border-bottom: 1px solid #dfe6ef;
  background: white;
}

.cv-browser-head > span {
  display: flex;
  gap: 4px;
}

.cv-browser-head > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8d1dd;
}

.cv-browser-head strong {
  min-width: 0;
  color: #596575;
  font-size: 0.58rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv-browser-head em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #e2f8e9;
  color: #208044;
  font-size: 0.55rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.cv-extraction-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 15px 0 12px;
}

.cv-extraction-progress > span {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), #6eaeff);
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: transform 640ms 100ms var(--ease-out);
}

.module-panel.is-active .cv-extraction-progress > span {
  transform: scaleX(1);
}

.cv-extraction-progress small {
  color: #6d7888;
  font-size: 0.52rem;
}

.cv-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 8px;
}

.cv-data-grid > div {
  position: relative;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dde5ef;
  border-radius: 11px;
  background: white;
}

.cv-data-grid > div.was-missing {
  border-color: rgba(0, 102, 255, 0.26);
  background: #f7faff;
}

.cv-data-grid small,
.cv-data-grid strong {
  display: block;
}

.cv-data-grid small {
  color: #8c96a3;
  font-size: 0.5rem;
}

.cv-data-grid strong {
  margin-top: 4px;
  color: #273548;
  font-size: 0.64rem;
}

.cv-data-grid i {
  position: absolute;
  top: 9px;
  right: 9px;
  color: #2b8c4b;
  font-size: 0.45rem;
  font-style: normal;
}

.cv-data-grid .was-missing i {
  color: var(--blue);
}

.cv-candidate-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #e9f2ff;
}

.cv-candidate-note > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 0.62rem;
}

.cv-candidate-note strong,
.cv-candidate-note small {
  display: block;
}

.cv-candidate-note strong {
  color: #24416a;
  font-size: 0.58rem;
}

.cv-candidate-note small {
  color: #6f7e92;
  font-size: 0.49rem;
}

/* Module 03: qualification dialog */

.dialog-module-demo {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgba(37, 211, 102, 0.09), transparent 28%),
    #edf3fa;
}

.dialog-channel-bar {
  display: flex;
  gap: 7px;
  padding-bottom: 14px;
}

.dialog-channel-bar > span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #d9e3ef;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  color: #6d7989;
  font-size: 0.56rem;
  font-weight: 650;
}

.dialog-channel-bar > span.is-selected {
  border-color: rgba(37, 211, 102, 0.32);
  background: white;
  color: #27814a;
}

.dialog-channel-bar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.dialog-channel-bar img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.dialog-conversation {
  display: grid;
  align-content: center;
  gap: 9px;
}

.dialog-bubble {
  width: min(82%, 330px);
  padding: 10px 12px;
  border-radius: 13px;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 260ms ease, transform 360ms var(--ease-out);
}

.module-panel.is-active .dialog-bubble {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.module-panel.is-active .dialog-bubble.candidate {
  transition-delay: 120ms;
}

.dialog-bubble.joboloo {
  border: 1px solid #dbe5f1;
  border-bottom-left-radius: 4px;
  background: white;
}

.dialog-bubble.candidate {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: #dff7e8;
}

.dialog-bubble small {
  display: block;
  color: #84909f;
  font-size: 0.48rem;
}

.dialog-bubble p {
  margin: 4px 0 0;
  color: #26364a;
  font-size: 0.62rem;
  line-height: 1.45;
}

.dialog-profile-update {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid rgba(0, 102, 255, 0.16);
  border-radius: 11px;
  background: #f8fbff;
}

.dialog-transcript {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid #dce5ef;
  border-radius: 11px;
  background: white;
}

.dialog-transcript > i {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 9px;
  background: #e9f2ff;
}

.dialog-transcript > i b {
  width: 2px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}

.dialog-transcript > i b:nth-child(2),
.dialog-transcript > i b:nth-child(4) {
  height: 13px;
}

.dialog-transcript strong,
.dialog-transcript small {
  display: block;
}

.dialog-transcript strong {
  color: #2d4059;
  font-size: 0.55rem;
}

.dialog-transcript small {
  margin-top: 2px;
  color: #7d8999;
  font-size: 0.47rem;
}

.dialog-profile-update > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 0.65rem;
  font-style: normal;
}

.dialog-profile-update strong,
.dialog-profile-update small {
  display: block;
}

.dialog-profile-update strong {
  color: #23344b;
  font-size: 0.61rem;
}

.dialog-profile-update small {
  color: #778496;
  font-size: 0.5rem;
}

/* Module 04: calendar */

.calendar-module-demo {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  padding: 18px;
  background: #f3f7fc;
}

.calendar-integrations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding-top: 10px;
}

.calendar-integrations > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  padding: 6px 9px 6px 6px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 2px rgba(6, 27, 58, 0.04), 0 5px 14px rgba(6, 27, 58, 0.045);
}

.calendar-integrations img {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.calendar-integrations em,
.calendar-integrations small,
.calendar-integrations strong {
  display: block;
  font-style: normal;
  line-height: 1.05;
}

.calendar-integrations small {
  color: #8a96a6;
  font-size: 0.4rem;
}

.calendar-integrations strong {
  margin-top: 3px;
  color: #2a3950;
  font-size: 0.52rem;
}

.microsoft-mark {
  position: relative;
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  color: white;
  font-style: normal;
  box-shadow: 0 4px 10px rgba(44, 72, 170, 0.18);
}

.microsoft-mark b {
  position: relative;
  z-index: 1;
  font-size: 0.58rem;
  line-height: 1;
}

.outlook-mark {
  background: linear-gradient(145deg, #1473e6, #0755b5);
}

.outlook-mark::after {
  position: absolute;
  inset: 5px 3px 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  content: "";
}

.teams-mark {
  background: linear-gradient(145deg, #797bd9, #4e52b7);
}

.teams-mark b:last-child {
  position: absolute;
  top: 5px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aeb0f4;
}

.calendar-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #dce5ef;
}

.calendar-demo-head small,
.calendar-demo-head strong {
  display: block;
}

.calendar-demo-head small {
  color: #8894a4;
  font-size: 0.5rem;
}

.calendar-demo-head strong {
  margin-top: 3px;
  color: #26364a;
  font-size: 0.69rem;
}

.calendar-demo-head > span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e3f8e9;
  color: #247f45;
  font-size: 0.49rem;
  font-weight: 700;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  padding: 13px 0 10px;
}

.calendar-days span {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 7px 3px;
  border-radius: 9px;
  color: #667487;
}

.calendar-days span.is-today {
  background: var(--blue);
  color: white;
  box-shadow: 0 7px 16px rgba(0, 102, 255, 0.2);
}

.calendar-days small {
  font-size: 0.46rem;
}

.calendar-days b {
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
}

.calendar-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 8px;
}

.calendar-slots span {
  display: flex;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: white;
  color: #556376;
  font-size: 0.58rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.calendar-slots span.is-selected {
  border-color: rgba(0, 102, 255, 0.32);
  background: #e8f1ff;
  color: var(--blue-deep);
}

.calendar-slots i {
  font-style: normal;
}

.calendar-confirmation {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #081f50;
  color: white;
}

.calendar-confirmation > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  font-size: 0.62rem;
}

.calendar-confirmation strong,
.calendar-confirmation small {
  display: block;
}

.calendar-confirmation strong {
  font-size: 0.59rem;
}

.calendar-confirmation small {
  margin-top: 2px;
  color: #a6bad6;
  font-size: 0.48rem;
}

/* Module 06: talent pool */

.talentpool-module-demo {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 11px;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 102, 255, 0.1), transparent 32%),
    #f3f7fc;
}

.talentpool-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.talentpool-head small,
.talentpool-head strong {
  display: block;
}

.talentpool-head small {
  color: #8995a5;
  font-size: 0.48rem;
}

.talentpool-head strong {
  margin-top: 2px;
  color: #1e2e44;
  font-size: 0.76rem;
}

.talentpool-head > span {
  padding: 5px 8px;
  border: 1px solid #d9e4f1;
  border-radius: 999px;
  background: white;
  color: #607087;
  font-size: 0.49rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.talentpool-card {
  align-self: center;
  padding: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 24px rgba(12, 52, 110, 0.065);
}

.talentpool-person {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid #e8edf3;
}

.talentpool-person > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #eef3fa;
  color: #19304f;
  font-size: 0.6rem;
  font-weight: 750;
}

.talentpool-person strong,
.talentpool-person small {
  display: block;
}

.talentpool-person strong {
  color: #1c2c42;
  font-size: 0.66rem;
}

.talentpool-person small {
  margin-top: 2px;
  color: #8290a1;
  font-size: 0.49rem;
}

.talentpool-person em {
  padding: 4px 7px;
  border: 1px solid #a9deb0;
  border-radius: 999px;
  background: #f1fbf3;
  color: #317b40;
  font-size: 0.49rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.talentpool-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding-top: 11px;
}

.talentpool-meta > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 0 7px;
  padding: 8px;
  border-radius: 9px;
  background: #f6f8fb;
}

.talentpool-meta i {
  grid-row: 1 / 3;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: #e5efff;
  color: var(--blue-deep);
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 750;
}

.talentpool-meta small,
.talentpool-meta strong {
  display: block;
  min-width: 0;
}

.talentpool-meta small {
  color: #8995a4;
  font-size: 0.4rem;
}

.talentpool-meta strong {
  margin-top: 1px;
  color: #33445a;
  font-size: 0.46rem;
}

.talentpool-result {
  display: grid;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 11px;
  background: #081f50;
  color: white;
}

.talentpool-result > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
}

.talentpool-result svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.talentpool-result strong,
.talentpool-result small {
  display: block;
}

.talentpool-result strong {
  font-size: 0.58rem;
}

.talentpool-result small {
  margin-top: 2px;
  color: #b8c9e1;
  font-size: 0.48rem;
}

.talentpool-module-demo > p {
  margin: 0;
  color: #7d8998;
  font-size: 0.46rem;
  text-align: center;
}

/* Module 05: anonymized CV */

.anonym-module-demo {
  display: grid;
  grid-template-columns: minmax(100px, 0.72fr) 46px minmax(160px, 1.28fr);
  align-items: center;
  gap: 10px;
  padding: 18px;
  background:
    radial-gradient(circle at 86% 14%, rgba(0, 102, 255, 0.12), transparent 34%),
    #edf3fa;
}

.anonym-source-cv,
.anonym-result-cv {
  min-width: 0;
  border: 1px solid #d9e3ee;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 22px rgba(15, 49, 95, 0.08);
}

.anonym-source-cv {
  display: grid;
  gap: 8px;
  padding: 12px;
  filter: saturate(0.45);
  opacity: 0.7;
}

.anonym-person {
  display: grid;
  min-width: 0;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3e8ef;
}

.anonym-person > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #e1e8f2;
  color: #6d7888;
  font-size: 0.48rem;
  font-weight: 700;
}

.anonym-person strong,
.anonym-person small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anonym-person strong {
  color: #394659;
  font-size: 0.54rem;
}

.anonym-person small {
  margin-top: 3px;
  color: #8e98a5;
  font-size: 0.42rem;
}

.anonym-source-cv > i {
  height: 6px;
  border-radius: 3px;
  background: #dce3ec;
}

.anonym-source-cv > i:nth-child(3) { width: 82%; }
.anonym-source-cv > i:nth-child(4) { width: 94%; }
.anonym-source-cv > i:nth-child(5) { width: 64%; }

.anonym-arrow {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--blue);
}

.anonym-arrow > span {
  font-size: 1.25rem;
}

.anonym-arrow small {
  color: #7c8999;
  font-size: 0.42rem;
}

.anonym-result-cv {
  display: grid;
  gap: 8px;
  padding: 14px;
  opacity: 0;
  transform: translate3d(8px, 0, 0) scale(0.985);
  transition: opacity 280ms ease, transform 420ms var(--ease-out);
}

.module-panel.is-active .anonym-result-cv {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.anonym-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e1e7ef;
}

.anonym-brand span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: var(--blue);
  color: white;
  font-size: 0.5rem;
  font-weight: 700;
}

.anonym-brand strong {
  color: #26364a;
  font-size: 0.56rem;
}

.anonym-result-cv > small {
  color: var(--blue);
  font-size: 0.43rem;
  font-weight: 720;
  letter-spacing: 0.07em;
}

.anonym-result-cv h4 {
  margin: 0;
  color: #203047;
  font-size: 0.74rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.anonym-result-cv > div:not(.anonym-brand) {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7px;
  padding-top: 7px;
  border-top: 1px solid #e7ebf1;
}

.anonym-result-cv > div span,
.anonym-result-cv > div strong {
  font-size: 0.46rem;
}

.anonym-result-cv > div span {
  color: #8893a1;
}

.anonym-result-cv > div strong {
  color: #3b485a;
  overflow-wrap: anywhere;
}

.anonym-result-cv footer {
  padding-top: 8px;
  border-top: 1px solid #e3e9f0;
  color: #738399;
  font-size: 0.42rem;
  line-height: 1.35;
}

@media (hover: hover) and (pointer: fine) {
  .module-tab:hover:not(.is-active) {
    color: #d7e4f5;
  }
}

@media (max-width: 1000px) {
  .module-panel {
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: 26px;
    padding: 28px;
  }

  .module-panel-copy h3 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
  }

  .module-tab {
    padding-inline: 7px;
  }

  .module-tab strong {
    font-size: 0.56rem;
  }
}

@media (max-width: 820px) {
  .module-showcase {
    padding-bottom: 76px;
  }

  .module-scroll-rail {
    min-height: 372svh;
    margin-top: 56px;
  }

  .module-stage {
    top: 76px;
    height: calc(100svh - 92px);
    min-height: 620px;
    max-height: 750px;
  }

  .module-stage-window {
    border-radius: 22px;
  }

  .module-window-bar,
  .module-window-foot {
    padding-inline: 12px;
  }

  .module-tabs-shell {
    padding: 9px 9px 0;
  }

  .module-tabs {
    gap: 4px;
    padding: 4px;
  }

  .module-tab-indicator {
    top: 4px;
    bottom: 4px;
  }

  .module-tab {
    min-height: 44px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 5px;
    padding-inline: 7px;
  }

  .module-tab > span {
    width: 22px;
    height: 22px;
  }

  .module-panel-stack {
    margin: 9px 9px 0;
  }

  .module-panel {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: 17px;
    padding: 21px;
  }

  .module-panel-kicker {
    margin-bottom: 8px;
    font-size: 0.57rem;
  }

  .module-panel-copy h3 {
    max-width: 460px;
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }

  .module-panel-copy h3 .serif-key {
    display: inline;
  }

  .module-panel-copy p {
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.52;
  }

  .module-benefits {
    gap: 5px;
    margin-top: 12px;
  }

  .module-benefits span {
    padding: 5px 8px;
    font-size: 0.54rem;
  }

  .module-demo {
    min-height: 264px;
    border-radius: 15px;
  }

  .matching-module-demo {
    grid-template-columns: 118px 24px minmax(170px, 1fr);
    padding: 14px;
  }

  .matching-profile {
    padding: 15px 9px;
  }

  .matching-profile > span {
    width: 40px;
    height: 40px;
  }

  .cv-module-demo,
  .dialog-module-demo,
  .calendar-module-demo,
  .anonym-module-demo {
    min-height: 276px;
  }
}

@media (max-width: 680px) {
  .module-tab {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .module-tab strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* Compact 2-column matching demo on mobile: profile | results, pool spans below.
     The route arrow is hidden here to keep the panel within the fixed stage height. */
  .matching-module-demo {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 8px 10px;
  }

  .matching-profile {
    grid-template-columns: 40px minmax(0, 1fr);
    justify-items: start;
    gap: 8px;
    padding: 10px;
    text-align: left;
  }

  .matching-route {
    display: none;
  }

  .matching-results {
    gap: 5px;
  }

  .matching-results > div {
    padding: 8px 9px;
  }

  .cv-data-grid {
    gap: 6px;
  }

  .cv-data-grid > div {
    padding: 9px;
  }

  .anonym-module-demo {
    grid-template-columns: minmax(82px, 0.68fr) 28px minmax(130px, 1.32fr);
    gap: 6px;
    padding: 10px;
  }

  .anonym-arrow small {
    display: none;
  }

  .module-window-foot > span {
    font-size: 0.54rem;
  }
}

@media (max-height: 519px), (max-width: 359px), (max-height: 699px) and (max-width: 699px) {
  .module-scroll-rail {
    min-height: 0;
  }

  .module-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .module-stage-window {
    min-height: 690px;
  }
}

.module-showcase.text-expanded .module-scroll-rail {
  min-height: 0;
}

.module-showcase.text-expanded .module-stage {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
  max-height: none;
}

.module-showcase.text-expanded .module-stage-window {
  min-height: 680px;
}

.module-showcase.text-expanded .module-panel {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}

.module-showcase.text-expanded .module-panel-copy h3,
.module-showcase.text-expanded .module-panel-copy p {
  max-width: 820px;
}

.module-showcase.text-expanded .module-demo {
  width: 100%;
  max-width: 820px;
}

.module-showcase.text-expanded .module-tab {
  grid-template-columns: 1fr;
  justify-items: center;
}

.module-showcase.text-expanded .module-tab strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.module-showcase.text-expanded .module-window-bar small {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .module-scroll-rail {
    min-height: 0;
  }

  .module-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .module-stage-window {
    min-height: 680px;
  }

  .module-tab-indicator,
  .module-panel,
  .matching-results > div > i > b,
  .cv-extraction-progress > span,
  .dialog-bubble,
  .anonym-result-cv {
    transition: none !important;
  }
}

@media (scripting: none) {
  .module-scroll-rail {
    min-height: 0;
  }

  .module-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .module-stage-window {
    display: block;
    height: auto;
    padding-bottom: 14px;
  }

  .module-tabs-shell,
  .module-window-foot {
    display: none;
  }

  .module-panel-stack {
    display: grid;
    gap: 12px;
  }

  .module-panel {
    grid-area: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }
}

@media (forced-colors: active) {
  .module-stage-window,
  .module-tabs,
  .module-panel-stack,
  .module-demo,
  .module-tab {
    border: 1px solid currentColor;
  }

  .module-tab-indicator {
    background: Highlight;
  }
}

/* Human outcome */

.human-experience {
  min-height: 780px;
  overflow: hidden;
  padding: 0;
  background: #111317;
  color: white;
}

.human-photo-wrap,
.human-photo-wrap picture,
.human-photo-wrap img,
.human-photo-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.human-photo-wrap img {
  background: #34383d;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1);
  transition: transform 1.2s var(--ease-out);
}

.human-experience:has(.human-experience-copy.reveal-pending:not(.is-visible)) .human-photo-wrap img {
  transform: scale(1.025);
}

.human-photo-overlay {
  background: linear-gradient(90deg, rgba(8, 11, 17, 0.94) 0%, rgba(8, 11, 17, 0.82) 34%, rgba(8, 11, 17, 0.28) 72%, rgba(8, 11, 17, 0.46) 100%), linear-gradient(0deg, #07172f 0%, rgba(7, 23, 47, 0.78) 10%, transparent 38%);
}

.human-experience-grid {
  position: relative;
  display: grid;
  min-height: 780px;
  align-items: center;
}

.human-experience-copy {
  max-width: 710px;
  padding: 130px 0;
}

.human-experience-copy h2 {
  max-width: 700px;
}

.human-experience-copy > p {
  max-width: 620px;
  margin-top: 29px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.72;
}

.human-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.71rem;
  font-weight: 620;
}

.human-flow span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(8, 11, 17, 0.42);
}

.human-flow i {
  color: var(--apricot);
  font-style: normal;
}

/* Implementation and audiences */

.consulting {
  background: #07172f;
}

.process-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.audience-section {
  background: var(--white);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 48px clamp(25px, 4vw, 58px) 52px;
}

.audience-grid article + article {
  border-left: 0;
}

.audience-grid article:nth-child(even) {
  border-left: 1px solid var(--line);
}

.audience-grid article:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.audience-grid article > span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-grid h3 {
  max-width: 480px;
  margin-top: 21px;
}

.audience-grid p {
  margin-top: 18px;
  color: var(--body);
  line-height: 1.7;
}

.audience-grid ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  color: #555b64;
  font-size: 0.78rem;
  list-style: none;
}

.audience-grid li {
  position: relative;
  padding-left: 18px;
}

.audience-grid li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.audience-grid .audience-wl {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 0.83rem;
  line-height: 1.62;
}

.audience-grid .audience-wl strong {
  color: var(--blue);
  font-weight: 680;
}

.audience-note {
  max-width: 100%;
  margin: 36px auto 0;
  color: #707780;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.65;
  text-align: center;
}

@media (min-width: 821px) {
  .audience-grid h3 {
    min-height: 2.1em;
  }

  .audience-grid .audience-wl {
    min-height: calc(24px + 3.24em);
  }

  .audience-note {
    white-space: nowrap;
  }
}

.offer {
  background: #f4f7fb;
}

.final-card .section-label {
  color: white;
}

.final-card > p {
  color: rgba(255, 255, 255, 0.92);
}

.final-actions > span {
  color: rgba(255, 255, 255, 0.9);
}

.button,
.core-port,
.solution-card,
.audience-grid article {
  min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
  .site-header:not(.scrolled) .nav-links a:hover {
    color: white;
  }

  .site-header:not(.scrolled) .nav-cta:hover {
    background: #eef5ff;
  }

  .core-port {
    transition: border-color 220ms ease, background 220ms ease;
  }

  .core-port:hover {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(11, 50, 125, 0.92);
  }

  .application-preview {
    transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out);
  }

  .solution-card:hover .application-preview {
    transform: translateY(-3px);
  }
}

@media (max-width: 1050px) {
  .system-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .system-copy {
    max-width: 760px;
  }

  .system-convergence {
    width: min(100%, 720px);
  }

  .system-capabilities {
    margin-top: 70px;
  }
}

@media (max-width: 820px) {
  .site-header:not(.scrolled) .nav-links {
    color: var(--graphite);
  }

  .site-header:not(.scrolled) .nav-links.open {
    background: rgba(248, 250, 255, 0.97);
  }

  .hero {
    padding-top: clamp(104px, 14vh, 126px);
    padding-bottom: clamp(64px, 10vh, 94px);
  }

  .hero h1 {
    font-size: clamp(4rem, min(11vw, 10.5vh), 5.8rem);
  }

  .hero-visual {
    margin-top: 62px;
  }

  .j-core-canvas {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 28px 18px 20px;
  }

  .core-connectors {
    display: none;
  }

  .j-core-object {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    width: 280px;
    height: 300px;
    margin: 0 auto 8px;
    transform: none;
  }

  .core-port {
    position: static;
    width: auto;
  }

  .core-status-card {
    position: static;
    grid-column: 1 / -1;
    width: min(100%, 320px);
    min-width: 0;
    margin: 7px auto 0;
    transform: none;
  }

  .system-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-capabilities span:nth-child(2) {
    border-right: 0;
  }

  .system-capabilities span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .solution-card,
  .solution-card.solution-wide,
  .solution-card.solution-warm,
  .solution-card.solution-dark,
  .solution-card:not(.solution-wide):not(.solution-warm):not(.solution-dark),
  .solution-card.solution-cobalt {
    min-height: 0;
  }

  .application-preview,
  .integration-demo {
    width: min(100%, 560px);
    margin-top: 36px;
  }

  .integration-visual {
    width: 100%;
  }

  .human-experience,
  .human-experience-grid {
    min-height: 690px;
  }

  .human-photo-overlay {
    background: linear-gradient(90deg, rgba(8, 11, 17, 0.9), rgba(8, 11, 17, 0.45)), linear-gradient(0deg, #07172f 0%, rgba(7, 23, 47, 0.8) 12%, transparent 48%);
  }

  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .audience-grid article:nth-child(even) {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: max(96px, calc(env(safe-area-inset-top) + 76px));
    padding-bottom: max(56px, calc(env(safe-area-inset-bottom) + 40px));
  }

  .hero-copy {
    top: 0;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.65rem, min(11.2vw, 8.5vh), 3.5rem);
    line-height: 0.91;
    text-wrap: wrap;
  }

  .hero h1 .serif-key {
    font-size: 1.08em;
  }

  .hero .eyebrow {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.4;
    text-wrap: balance;
  }

  .hero-text {
    margin-top: 28px;
    font-size: 1rem;
  }

  .hero-actions .button,
  .final-actions .button {
    height: auto;
    min-height: 54px;
    padding-top: 12px;
    padding-bottom: 12px;
    white-space: normal;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .hero-primary {
    width: min(100%, 320px);
    justify-content: center;
  }

  .hero-actions .hero-link {
    min-height: 44px;
    justify-content: center;
  }

  .hero-principles {
    max-width: 100%;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .j-core-frame {
    border-radius: 21px;
  }

  .j-core-topline,
  .j-core-footer {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.58rem;
  }

  .j-core-topline .window-title {
    max-width: 150px;
  }

  .j-core-canvas {
    padding: 20px 12px 14px;
  }

  .j-core-object {
    width: 246px;
    height: 267px;
    transform: scale(0.86);
    transform-origin: top center;
    margin-bottom: -29px;
  }

  .core-port {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
  }

  .core-port > i {
    width: 29px;
    height: 29px;
  }

  .software-definition {
    display: block;
  }

  .software-definition > span {
    display: inline-block;
    margin-right: 8px;
  }

  .software-definition strong {
    display: block;
    margin: 0 0 7px;
    white-space: normal;
  }

  .system-convergence {
    padding: 0;
    border-radius: 19px;
  }

  .system-window-bar {
    padding: 12px 13px;
  }

  .workflow-before {
    padding: 16px 14px 0;
  }

  .fragment-cloud {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 8px;
    padding: 16px 0 14px;
  }

  .fragment-cloud > span,
  .fragment-cloud > span:nth-child(n) {
    grid-area: auto;
    width: 100%;
    justify-self: stretch;
    transform: none;
    white-space: normal;
  }

  .fragment-cloud > span:nth-child(3) {
    transform: translateX(7px);
  }

  .fragment-cloud > span:nth-child(5) {
    grid-column: 1 / -1;
    width: calc(50% - 4px);
    justify-self: center;
  }

  .convergence-route {
    gap: 8px;
    margin: 2px 14px 16px;
  }

  .workflow-board {
    margin: 0 14px 14px;
    padding: 18px 14px;
  }

  .workflow-track {
    gap: 4px;
    margin-top: 32px;
  }

  .workflow-stage strong {
    font-size: 0.53rem;
  }

  .workflow-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .workflow-result strong {
    text-align: left;
  }

  .system-capabilities span {
    padding: 15px 8px;
    font-size: 0.61rem;
  }

  .application-preview {
    min-height: 270px;
    padding: 18px;
  }

  .human-experience,
  .human-experience-grid {
    min-height: 720px;
  }

  .human-experience-copy {
    padding: 100px 0 130px;
  }

  .human-experience-copy > p {
    font-size: 1rem;
  }

  .human-flow {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .human-flow i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .audience-block {
    margin-top: 90px;
  }

  .audience-grid article {
    padding: 36px 4px 40px;
  }

  .audience-grid article > span {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .solution-card,
  .solution-card.solution-wide,
  .solution-card.solution-warm,
  .solution-card.solution-dark,
  .solution-card:not(.solution-wide):not(.solution-warm):not(.solution-dark),
  .solution-card.solution-cobalt {
    border-radius: 0;
  }

  .investment-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .investment-row > *,
  .investment-row > div:first-child > strong,
  .investment-price {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .investment-row > div:first-child {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .system-window-bar > small {
    display: none;
  }

  .core-live {
    justify-content: flex-end;
    text-align: right;
  }
}

@media (max-height: 700px) and (min-width: 700px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 10vh, 5.2rem);
  }

  .hero-copy {
    top: 0;
  }

  .hero-text {
    margin-top: 24px;
  }

  .hero-actions {
    margin-top: clamp(24px, 5vh, 40px);
  }

  .hero-trust {
    margin-top: 18px;
  }
}

@media (max-width: 820px) and (scripting: none) {
  .site-header:not(.scrolled) .nav-wrap > .brand {
    color: var(--graphite);
  }

  .site-header:not(.scrolled) .brand-mark {
    background: var(--blue);
    color: white;
  }

  .hero {
    padding-top: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .j-core-tiles,
  .core-connectors path,
  .core-port,
  .core-status-card {
    opacity: 1 !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .j-core-frame,
  .core-port,
  .system-convergence,
  .human-flow span {
    backdrop-filter: none;
  }

  .j-core-frame,
  .core-port {
    background: #082d78;
  }
}

@media (forced-colors: active) {
  .j-core-frame,
  .core-port,
  .system-convergence,
  .unified-panel,
  .application-preview,
  .integration-visual,
  .audience-grid article {
    border: 1px solid currentColor;
  }

  .human-photo-wrap {
    display: none;
  }
}

.demo-state-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1c2736;
  font-size: 0.68rem;
  font-weight: 700;
}

.demo-state-head > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.demo-state-head > small {
  flex: 0 0 auto;
  color: #858e9a;
  font-size: 0.52rem;
  font-weight: 600;
}

.demo-apply-card,
.demo-data-list,
.demo-rule-list,
.demo-match-list,
.demo-chat,
.demo-calendar-card {
  align-self: center;
  min-width: 0;
}

.demo-apply-card {
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 14px;
  background: white;
}

.demo-apply-card > span {
  display: block;
  padding: 10px 12px;
  background: #eef5ff;
  color: var(--blue-deep);
  font-size: 0.56rem;
  font-weight: 700;
}

.demo-apply-card > div {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(78px, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid #e7ebf1;
}

.demo-apply-card small,
.demo-apply-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.demo-apply-card small {
  color: #858e9a;
  font-size: 0.54rem;
}

.demo-apply-card strong {
  color: #273140;
  font-size: 0.59rem;
  font-weight: 650;
  text-align: right;
}

.demo-data-list,
.demo-rule-list,
.demo-match-list {
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 14px;
  background: white;
}

.demo-data-list > div {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid #e7ebf1;
}

.demo-data-list > div:first-child {
  background: #f2f7ff;
}

.demo-data-list > div:last-child,
.demo-rule-list > div:last-child,
.demo-match-list > div:last-child {
  border-bottom: 0;
}

.demo-data-list span,
.demo-data-list strong {
  min-width: 0;
  font-size: 0.59rem;
  overflow-wrap: anywhere;
}

.demo-data-list span {
  color: #858e9a;
}

.demo-data-list strong {
  color: #273140;
  font-weight: 650;
  text-align: right;
}

.demo-rule-list > div {
  display: grid;
  min-width: 0;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-bottom: 1px solid #e7ebf1;
  color: #303a47;
  font-size: 0.58rem;
}

.demo-rule-list i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 750;
}

.demo-rule-list strong {
  color: #27784b;
  font-size: 0.53rem;
}

.demo-rule-list .open {
  background: var(--warm-soft);
}

.demo-rule-list .open i {
  background: var(--warm);
  color: var(--apricot-deep);
}

.demo-rule-list .open strong {
  color: var(--apricot-deep);
}

.demo-event {
  display: grid;
  min-width: 0;
  grid-template-columns: 29px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-top: 1px solid #dfe5ed;
  color: #354050;
}

.demo-event > i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 750;
}

.demo-event.success > i {
  background: #eaf7f0;
  color: #157a4d;
}

.demo-event.warm > i {
  background: var(--warm);
  color: var(--apricot-deep);
}

.demo-event strong,
.demo-event small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.demo-event strong {
  font-size: 0.58rem;
}

.demo-event small {
  margin-top: 1px;
  color: #7f8793;
  font-size: 0.5rem;
}

@media (max-width: 620px) {
  .system-story {
    padding-bottom: 110px;
  }
}

@media (forced-colors: active) {
  .demo-apply-card,
  .demo-rule-list {
    border: 1px solid currentColor;
  }
}

/* Product principles with trust and no invented proof */

.product-principles {
  overflow: hidden;
  background: #f4f7fc;
  color: var(--graphite);
}

.product-principles::before {
  position: absolute;
  top: -360px;
  left: -220px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.product-principles .section-label {
  color: var(--blue);
}

.product-principles .light-serif {
  color: var(--blue);
}

.principles-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(76px, 9vw, 140px);
}

.principles-grid > * {
  min-width: 0;
}

.principles-intro h2 {
  max-width: 620px;
  font-size: clamp(3.15rem, 4.6vw, 4.25rem);
  hyphens: none;
  overflow-wrap: normal;
}

.principles-intro > p {
  max-width: 580px;
  margin-top: 28px;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.72;
}

.decision-boundary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: 40px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
}

.decision-boundary > div {
  min-width: 0;
  padding: 13px;
  border-radius: 12px;
  background: #eaf1fb;
}

.decision-boundary > div:last-child {
  background: var(--blue);
}

.decision-boundary span,
.decision-boundary small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.decision-boundary span {
  font-size: 0.72rem;
  font-weight: 700;
}

.decision-boundary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.53rem;
}

.decision-boundary > div:last-child span {
  color: white;
}

.decision-boundary > div:last-child small {
  color: rgba(255, 255, 255, 0.82);
}

.decision-boundary > i {
  color: var(--blue);
  font-size: 0.9rem;
  font-style: normal;
}

.principles-list {
  border-top: 1px solid var(--line);
}

.principles-list article {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 20px;
  padding: 31px 0 33px;
  border-bottom: 1px solid var(--line);
}

.principles-list article > span {
  padding-top: 5px;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 700;
}

.principles-list h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.principles-list p {
  max-width: 620px;
  margin-top: 9px;
  color: var(--body);
  font-size: 0.91rem;
  line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
  .principles-list article {
    transition: padding-left 260ms var(--ease-out), border-color 220ms ease;
  }

  .principles-list article:hover {
    padding-left: 8px;
    border-color: rgba(0, 102, 255, 0.4);
  }
}

@media (max-width: 900px) {
  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 66px;
  }

  .principles-intro {
    max-width: 760px;
  }
}

@media (max-width: 560px) {
  .decision-boundary {
    grid-template-columns: minmax(0, 1fr);
  }

  .decision-boundary > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .principles-list article {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 27px 0 29px;
  }
}

@media (forced-colors: active) {
  .decision-boundary,
  .decision-boundary > div,
  .principles-list article {
    border: 1px solid currentColor;
  }
}

.communication-config {
  margin-top: auto;
  padding-top: 31px;
}

.config-head,
.config-row,
.config-foot {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
}

.config-head {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px 13px 0 0;
  background: rgba(255, 255, 255, 0.055);
  color: white;
}

.config-head strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8fe0aa;
  font-size: 0.59rem;
}

.config-head strong > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55ca7b;
}

.config-row {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.config-row strong {
  min-width: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.62rem;
  font-weight: 620;
  text-align: right;
  overflow-wrap: anywhere;
}

.config-foot {
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 13px 13px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.4;
}

.config-foot > i {
  display: grid;
  flex: 0 0 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 102, 255, 0.18);
  color: #7fb2ff;
  font-style: normal;
}

/* Premium scroll choreography */

html.lenis {
  scroll-behavior: auto;
}

.motion-sequencing .hero-copy > *,
.motion-sequencing .hero-visual {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.995);
  transition:
    opacity 560ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.motion-sequencing .hero.hero-content-ready .hero-copy > *,
.motion-sequencing .hero.hero-content-ready .hero-visual {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-sequencing .hero.hero-content-ready .hero-copy > :nth-child(1) { transition-delay: 40ms; }
.motion-sequencing .hero.hero-content-ready .hero-copy > :nth-child(2) { transition-delay: 120ms; }
.motion-sequencing .hero.hero-content-ready .hero-copy > :nth-child(3) { transition-delay: 210ms; }
.motion-sequencing .hero.hero-content-ready .hero-copy > :nth-child(4) { transition-delay: 300ms; }
.motion-sequencing .hero.hero-content-ready .hero-copy > :nth-child(5) { transition-delay: 390ms; }
.motion-sequencing .hero.hero-content-ready .hero-visual { transition-delay: 500ms; }

.motion-sequencing .scroll-scene .reveal.reveal-pending {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.995);
  transition:
    opacity 540ms var(--ease-out),
    transform 680ms var(--ease-out);
  transition-delay: 0ms;
}

.motion-sequencing .scroll-scene .reveal.reveal-pending:is(
  .system-convergence,
  .module-stage-window,
  .process-card,
  .brand-studio,
  .investment-table,
  .final-card
) {
  transform: translate3d(0, 34px, 0) scale(0.985);
}

.motion-sequencing .scroll-scene.scene-content-ready .reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: calc(80ms + var(--reveal-order, 0) * 90ms);
}

@media (max-width: 560px) {
  .motion-sequencing .hero-copy > *,
  .motion-sequencing .hero-visual,
  .motion-sequencing .scroll-scene .reveal.reveal-pending,
  .motion-sequencing .scroll-scene .reveal.reveal-pending:is(
    .system-convergence,
    .module-stage-window,
    .process-card,
    .brand-studio,
    .investment-table,
    .final-card
  ) {
    transform: translate3d(0, 24px, 0) scale(0.992);
  }

  .motion-sequencing .hero.hero-content-ready .hero-copy > *,
  .motion-sequencing .hero.hero-content-ready .hero-visual,
  .motion-sequencing .scroll-scene.scene-content-ready .reveal.reveal-pending.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-sequencing .hero-copy > *,
  .motion-sequencing .hero-visual,
  .motion-sequencing .scroll-scene .reveal.reveal-pending {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 21st.dev-inspired animated module tabs */

.module-showcase .module-stage-window {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.module-showcase .module-stage-window::before,
.module-showcase .module-window-bar,
.module-showcase .module-window-foot,
.module-showcase .module-progress {
  display: none;
}

.module-showcase .module-tabs-shell {
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(35, 35, 35, 0.56);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.module-showcase .module-tabs {
  --tab-x: 0px;
  --tab-y: 0px;
  --tab-w: calc(16.666% - 5px);
  --tab-h: 52px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
}

.module-showcase .module-tab-indicator {
  top: 0;
  bottom: auto;
  left: 0;
  width: var(--tab-w);
  height: var(--tab-h);
  border: 0;
  border-radius: 12px;
  background: #111111d1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transform: translate3d(var(--tab-x), var(--tab-y), 0);
  transition:
    width 400ms cubic-bezier(0.22, 1, 0.36, 1),
    height 400ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.module-showcase .module-tab {
  min-height: 52px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  padding: 0 13px;
  border-radius: 12px;
  color: #fff;
  transition: color 180ms ease, transform 100ms ease-out;
}

.module-showcase .module-tab > span {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
}

.module-showcase .module-tab strong {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: inherit;
  font-size: 0.65rem;
  white-space: normal;
}

.module-showcase .module-tab:is(.is-active, [aria-selected="true"]) {
  color: white;
}

.module-showcase .module-tab:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.module-showcase .module-panel-stack {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(35, 35, 35, 0.56);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.module-showcase .module-panel {
  gap: clamp(28px, 3.6vw, 56px);
  padding: clamp(28px, 3.2vw, 48px);
  transform: translate3d(14px, 0, 0) scale(0.985);
  transition:
    opacity 190ms ease-out,
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 380ms;
}

.module-showcase .module-panel.is-before {
  transform: translate3d(-14px, 0, 0) scale(0.985);
}

.module-showcase .module-panel.is-active {
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

.module-showcase .module-panel-copy h3 {
  color: white;
}

.module-showcase .module-panel-copy h3 .serif-key {
  color: white;
}

.module-showcase .module-panel-copy p {
  color: #e5e7eb;
}

.module-showcase .module-benefits span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
}

.module-showcase .module-demo {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .module-showcase .module-tab:hover:not(.is-active) {
    color: #fff;
  }
}

@media (max-width: 820px) {
  .module-showcase .module-stage-window {
    gap: 9px;
    border-radius: 0;
  }

  .module-showcase .module-tabs-shell {
    padding: 6px;
    border-radius: 16px;
  }

  .module-showcase .module-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-showcase .module-tab {
    min-height: 46px;
    grid-template-columns: 22px minmax(0, 1fr);
    justify-items: start;
    padding-inline: 10px;
  }

  .module-showcase .module-panel-stack {
    margin: 0;
    border-radius: 20px;
  }

  .module-showcase .module-panel {
    gap: 16px;
    padding: 20px;
  }
}

@media (max-width: 430px) {
  .module-showcase .module-tabs {
    gap: 4px;
  }

  .module-showcase .module-tab {
    min-height: 44px;
    gap: 7px;
    padding-inline: 8px;
  }

  .module-showcase .module-tab strong {
    font-size: 0.58rem;
  }

  .module-showcase .module-panel {
    padding: 17px;
  }

  #module-panel-matching .module-panel-copy p,
  #module-panel-calendar .module-panel-copy p {
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  #module-panel-matching .module-benefits,
  #module-panel-calendar .module-benefits {
    gap: 4px;
    margin-top: 10px;
  }

  #module-panel-matching .module-benefits span,
  #module-panel-calendar .module-benefits span {
    padding: 4px 6px;
    font-size: 0.48rem;
  }

  .matching-detail-demo {
    gap: 8px;
    padding: 10px;
  }

  .matching-dashboard-head {
    padding: 7px 9px;
  }

  .matching-recommendations,
  .matching-reasons {
    padding: 8px;
  }

  .match-row {
    padding-top: 6px;
  }

  .match-row + .match-row {
    margin-top: 5px;
  }

  .matching-reasons ul {
    gap: 4px;
    margin-top: 7px;
  }

  .matching-actions {
    padding: 6px 8px;
  }

  .calendar-module-demo {
    padding: 12px;
  }

  .calendar-days {
    padding-block: 9px 7px;
  }

  .calendar-integrations {
    padding-top: 7px;
  }

  .calendar-confirmation {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .module-showcase .module-tab-indicator,
  .module-showcase .module-panel {
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .module-showcase .module-tabs-shell,
  .module-showcase .module-panel-stack {
    background: #111;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Process demos: restrained product UI */
.module-showcase {
  --demo-canvas: #f3f6f9;
  --demo-surface: #ffffff;
  --demo-surface-subtle: #f8fafc;
  --demo-line: #dbe3ec;
  --demo-line-strong: #cbd6e2;
  --demo-ink: #172338;
  --demo-muted: #738094;
  --demo-radius: 11px;
  --demo-shadow: 0 12px 28px rgba(23, 35, 56, 0.08);
}

.module-showcase .module-demo {
  border-color: var(--demo-line);
  border-radius: 15px;
  background: var(--demo-canvas);
  box-shadow: 0 18px 40px rgba(4, 15, 32, 0.16);
}

.module-showcase .apply-module-demo {
  display: block;
  height: 350px;
  padding: 14px 16px 0;
  background: var(--demo-canvas);
}

.module-showcase .apply-module-demo::after,
.module-showcase .cv-module-demo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 20px;
  background: linear-gradient(to bottom, rgba(243, 246, 249, 0), var(--demo-canvas) 92%);
  content: "";
  pointer-events: none;
}

.module-showcase .apply-form-card {
  gap: 9px;
  min-height: 372px;
  padding: 15px;
  border-color: var(--demo-line);
  border-radius: var(--demo-radius);
  box-shadow: var(--demo-shadow);
}

.module-showcase .apply-form-head strong {
  color: var(--demo-ink);
  font-size: 0.73rem;
  letter-spacing: -0.01em;
}

.module-showcase .apply-form-head > span {
  padding: 4px 7px;
  border-color: var(--demo-line-strong);
  border-radius: 6px;
  background: var(--demo-surface-subtle);
  color: #526176;
  font-weight: 650;
}

.module-showcase .apply-dropzone {
  min-height: 87px;
  border-color: #aab8c8;
  border-radius: 9px;
  background: var(--demo-surface-subtle);
}

.module-showcase .apply-dropzone svg {
  width: 23px;
  height: 23px;
  stroke: #526176;
}

.module-showcase .apply-form-grid {
  gap: 8px 10px;
}

.module-showcase .apply-field:last-child {
  grid-column: auto;
}

.module-showcase .apply-field span {
  color: #445166;
}

.module-showcase .apply-field i {
  height: 25px;
  border-color: var(--demo-line);
  border-radius: 6px;
  background: #fbfcfd;
}

.module-showcase .apply-field-lower {
  margin-top: 2px;
}

.module-showcase .cv-module-demo {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0;
  padding: 0 15px;
  background: var(--demo-canvas);
}

.module-showcase .cv-browser-head {
  min-height: 34px;
  margin-inline: -15px;
  padding-inline: 14px;
  border-bottom-color: var(--demo-line);
  background: #e9eef4;
}

.module-showcase .cv-browser-head > span i {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ff5f57;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.34), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.module-showcase .cv-browser-head > span i:nth-child(2) {
  background: #febc2e;
}

.module-showcase .cv-browser-head > span i:nth-child(3) {
  background: #28c840;
}

.module-showcase .cv-browser-head strong {
  color: #4d5a6e;
  font-weight: 600;
}

.module-showcase .cv-browser-head em {
  border: 0;
  border-radius: 4px;
  background: #dfe7ef;
  color: #405068;
}

.cv-document-status {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--demo-muted);
  font-size: 0.45rem;
}

.cv-document-status span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #315d3d;
  font-weight: 700;
}

.cv-document-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52a969;
  box-shadow: 0 0 0 3px #e4f3e8;
}

.cv-document-page {
  min-height: 315px;
  padding: 13px 16px 24px;
  border: 1px solid var(--demo-line);
  border-bottom: 0;
  border-radius: var(--demo-radius) var(--demo-radius) 0 0;
  background: var(--demo-surface);
  box-shadow: var(--demo-shadow);
}

.cv-document-page section + section {
  margin-top: 12px;
}

.cv-document-page h4 {
  margin: 0 0 8px;
  color: #5274d8;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.cv-document-entry {
  display: grid;
  grid-template-columns: 83px minmax(0, 1fr);
  gap: 9px;
  color: #647084;
  font-size: 0.47rem;
  line-height: 1.35;
}

.cv-document-entry + .cv-document-entry {
  margin-top: 8px;
}

.cv-document-entry time {
  color: #6e7888;
  font-variant-numeric: tabular-nums;
}

.cv-document-entry strong {
  color: #172033;
  font-size: 0.53rem;
  font-weight: 700;
}

.cv-document-entry span {
  color: #657084;
}

.cv-document-entry small {
  display: block;
  margin-top: 2px;
  color: #727d8d;
  font-size: 0.45rem;
}

.cv-document-page p {
  margin: 0;
  color: #657084;
  font-size: 0.45rem;
  line-height: 1.45;
}

.module-showcase .matching-detail-demo {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: 13px;
  background: var(--demo-canvas);
}

.module-showcase .matching-dashboard-head,
.module-showcase .matching-summary,
.module-showcase .matching-insight,
.module-showcase .matching-actions {
  border-color: var(--demo-line);
  border-radius: var(--demo-radius);
  background: var(--demo-surface);
  box-shadow: none;
}

.module-showcase .matching-dashboard-head {
  padding: 9px 11px;
}

.module-showcase .matching-person > span {
  width: 31px;
  height: 31px;
  background: #edf1f5;
}

.module-showcase .matching-person strong {
  color: var(--demo-ink);
  font-size: 0.64rem;
}

.module-showcase .match-score {
  display: inline-grid;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-width: 70px;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #78bd85;
  border-radius: 7px;
  background: #f5fbf6;
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  line-height: 1;
}

.module-showcase .match-score small {
  color: #708079;
  font-size: 0.37rem;
  font-weight: 650;
}

.module-showcase .match-score strong {
  color: #246b35;
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
}

.matching-summary {
  padding: 8px 10px;
  border: 1px solid var(--demo-line);
}

.matching-summary strong {
  display: block;
  color: #334156;
  font-size: 0.48rem;
}

.matching-summary p {
  margin: 3px 0 0;
  color: #68758a;
  font-size: 0.45rem;
  line-height: 1.4;
}

.matching-insight-grid {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.matching-insight {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--demo-line);
}

.matching-insight > strong {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #35435a;
  font-size: 0.48rem;
}

.matching-insight > strong i {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.42rem;
  font-style: normal;
}

.matching-insight ul {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.matching-insight li,
.matching-insight p {
  position: relative;
  margin: 0;
  color: #5f6d80;
  font-size: 0.43rem;
  line-height: 1.35;
}

.matching-insight li {
  padding-left: 9px;
}

.matching-insight li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.matching-insight p {
  margin-top: 8px;
}

.matching-insight.is-positive {
  border-color: #b9dfc2;
  background: #f6fbf7;
}

.matching-insight.is-positive > strong {
  color: #347345;
}

.matching-insight.is-open {
  border-color: #ead8a0;
  background: #fffdf6;
}

.matching-insight.is-open > strong {
  color: #8a6316;
}

.matching-insight.is-critical {
  border-color: #ead1d5;
  background: #fff9fa;
}

.matching-insight.is-critical > strong {
  color: #9a4050;
}

.module-showcase .matching-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--demo-line);
}

.module-showcase .matching-actions > span {
  min-width: 0;
  color: var(--demo-muted);
}

.module-showcase .matching-actions > span small,
.module-showcase .matching-actions > span strong {
  display: block;
}

.module-showcase .matching-actions > span small {
  font-size: 0.38rem;
}

.module-showcase .matching-actions > span strong {
  margin-top: 2px;
  color: var(--demo-ink);
  font-size: 0.49rem;
}

.module-showcase .matching-decision,
.module-showcase .matching-channel {
  min-height: 25px;
  border-radius: 6px;
  background: #fff;
}

.module-showcase .dialog-module-demo {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: 13px;
  background: var(--demo-canvas);
}

.module-showcase .dialog-channel-bar {
  gap: 6px;
  padding: 0;
}

.module-showcase .dialog-channel-bar > span {
  min-height: 29px;
  padding-inline: 8px;
  border-color: var(--demo-line);
  border-radius: 7px;
  background: var(--demo-surface);
}

.module-showcase .dialog-channel-bar > span.is-selected {
  border-color: #afd8ba;
  background: #f7fbf8;
}

.dialog-template-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: var(--demo-surface);
}

.dialog-template-head small,
.dialog-template-head strong {
  display: block;
}

.dialog-template-head small {
  color: var(--demo-muted);
  font-size: 0.4rem;
}

.dialog-template-head strong {
  margin-top: 2px;
  color: var(--demo-ink);
  font-size: 0.55rem;
}

.dialog-template-head em {
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 5px;
  background: #eef3f8;
  color: #627086;
  font-size: 0.4rem;
  font-style: normal;
  font-weight: 650;
}

.dialog-message-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-left: 3px solid #4cae69;
  border-radius: var(--demo-radius);
  background: var(--demo-surface);
  box-shadow: var(--demo-shadow);
}

.dialog-message-card > small {
  display: block;
  margin-bottom: 8px;
  color: var(--demo-muted);
  font-size: 0.44rem;
}

.dialog-message-card p {
  margin: 0;
  color: #344157;
  font-size: 0.56rem;
  line-height: 1.5;
}

.dialog-message-card p + p {
  margin-top: 9px;
}

.dialog-delivery {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: #e9eef3;
}

.dialog-delivery span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dialog-delivery i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4da966;
}

.dialog-delivery strong {
  color: #38465a;
  font-size: 0.44rem;
}

.dialog-delivery small {
  color: var(--demo-muted);
  font-size: 0.4rem;
}

.module-showcase .calendar-module-demo {
  padding: 14px;
  background: var(--demo-canvas);
}

.module-showcase .calendar-demo-head {
  border-bottom-color: var(--demo-line);
}

.module-showcase .calendar-demo-head > span {
  border: 1px solid #b8dfc3;
  border-radius: 6px;
  background: #f5fbf6;
}

.module-showcase .calendar-days span {
  border-radius: 7px;
}

.module-showcase .calendar-days span.is-today {
  background: #172d5b;
  box-shadow: none;
}

.module-showcase .calendar-slots span,
.module-showcase .calendar-integrations > span {
  border-color: var(--demo-line);
  border-radius: 8px;
  box-shadow: none;
}

.module-showcase .calendar-slots span.is-selected {
  border-color: #8fb1e1;
  background: #eef4fc;
}

.module-showcase .calendar-confirmation {
  border-radius: 8px;
  background: #172d5b;
}

.module-showcase .calendar-confirmation > span {
  border-radius: 6px;
  background: #315fa8;
}

.module-showcase .talentpool-module-demo {
  gap: 9px;
  padding: 14px;
  background: var(--demo-canvas);
}

.module-showcase .talentpool-head strong {
  color: var(--demo-ink);
  letter-spacing: -0.01em;
}

.module-showcase .talentpool-head > span {
  padding: 4px 7px;
  border-color: var(--demo-line-strong);
  border-radius: 6px;
  background: var(--demo-surface);
}

.module-showcase .talentpool-card {
  padding: 11px;
  border-color: var(--demo-line);
  border-radius: var(--demo-radius);
  box-shadow: var(--demo-shadow);
}

.module-showcase .talentpool-person {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  padding-bottom: 10px;
  border-bottom-color: var(--demo-line);
}

.module-showcase .talentpool-person > span {
  width: 34px;
  height: 34px;
  background: #edf1f5;
}

.module-showcase .talentpool-person strong {
  color: var(--demo-ink);
}

.module-showcase .talentpool-person em {
  border-radius: 6px;
  background: #f5fbf6;
}

.module-showcase .talentpool-meta {
  gap: 6px;
  padding-top: 10px;
}

.module-showcase .talentpool-meta > span {
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 0 6px;
  padding: 7px;
  border: 1px solid #e7ecf2;
  border-radius: 7px;
  background: var(--demo-surface-subtle);
}

.module-showcase .talentpool-meta i {
  width: 23px;
  height: 23px;
  border-radius: 5px;
  background: #e9eef5;
  color: #43536a;
}

.module-showcase .talentpool-result {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid #28436d;
  border-radius: 8px;
  background: #172d5b;
}

.module-showcase .talentpool-result > .talentpool-result-status {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  place-items: initial;
  gap: 5px;
  padding-right: 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  color: #b9c8dc;
  font-size: 0.4rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.talentpool-result-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69c67c;
  box-shadow: 0 0 0 3px rgba(105, 198, 124, 0.14);
}

.module-showcase .talentpool-result strong {
  font-size: 0.55rem;
}

.module-showcase .talentpool-result small {
  color: #b9c8dc;
}

.module-showcase .talentpool-result > em {
  color: #dbe6f4;
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}

.module-showcase .talentpool-module-demo > p {
  color: #778397;
  text-align: left;
}

@media (max-width: 820px) {
  .module-showcase .apply-module-demo {
    height: 290px;
  }

  .module-showcase .apply-form-card {
    min-height: 304px;
  }

  .module-showcase .apply-dropzone {
    min-height: 70px;
  }

  .cv-document-page {
    min-height: 244px;
    padding: 11px 13px 22px;
  }

  .cv-document-entry {
    grid-template-columns: 74px minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .module-showcase .apply-module-demo {
    height: 276px;
    padding: 10px 11px 0;
  }

  .module-showcase .apply-form-card {
    min-height: 300px;
    gap: 7px;
    padding: 11px;
  }

  .module-showcase .apply-dropzone {
    min-height: 62px;
    padding: 8px;
  }

  .module-showcase .apply-dropzone svg {
    width: 19px;
    height: 19px;
  }

  .module-showcase .apply-field i {
    height: 22px;
  }

  .module-showcase .cv-module-demo {
    min-height: 276px;
    padding-inline: 10px;
  }

  .module-showcase .cv-browser-head {
    margin-inline: -10px;
  }

  .cv-document-page {
    min-height: 236px;
    padding: 10px 11px 20px;
  }

  .cv-document-page section + section {
    margin-top: 9px;
  }

  .cv-document-entry {
    grid-template-columns: 67px minmax(0, 1fr);
    gap: 7px;
    font-size: 0.42rem;
  }

  .cv-document-entry + .cv-document-entry {
    margin-top: 6px;
  }

  .module-showcase .matching-detail-demo {
    gap: 6px;
    padding: 9px;
  }

  .module-showcase .matching-dashboard-head {
    padding: 7px 8px;
  }

  .module-showcase .match-score {
    min-width: 62px;
    gap: 4px;
    padding: 4px 6px;
  }

  .matching-summary {
    padding: 6px 8px;
  }

  .matching-insight-grid {
    gap: 5px;
  }

  .matching-insight {
    padding: 6px;
  }

  .matching-insight > strong {
    align-items: flex-start;
    font-size: 0.42rem;
  }

  .matching-insight ul {
    gap: 3px;
    margin-top: 6px;
  }

  .matching-insight li,
  .matching-insight p {
    font-size: 0.38rem;
  }

  .module-showcase .matching-actions {
    padding: 6px 7px;
  }

  .module-showcase .dialog-module-demo {
    gap: 6px;
    padding: 9px;
  }

  .dialog-template-head,
  .dialog-message-card {
    padding: 8px 9px;
  }

  .dialog-message-card > small {
    margin-bottom: 5px;
  }

  .dialog-message-card p {
    font-size: 0.48rem;
    line-height: 1.45;
  }

  .dialog-message-card p + p {
    margin-top: 5px;
  }

  .dialog-delivery {
    padding: 6px 7px;
  }

  .module-showcase .calendar-module-demo {
    padding: 11px;
  }

  .module-showcase .talentpool-module-demo {
    gap: 7px;
    padding: 10px;
  }

  .module-showcase .talentpool-card {
    padding: 9px;
  }

  .module-showcase .talentpool-meta > span {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 0 4px;
    padding: 5px;
  }

  .module-showcase .talentpool-meta i {
    width: 20px;
    height: 20px;
  }

  .module-showcase .talentpool-result {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 8px;
  }

  .module-showcase .talentpool-result > em {
    display: none;
  }
}

@media (max-height: 699px) and (min-height: 520px) and (min-width: 700px) {
  .module-showcase .module-scroll-rail {
    min-height: 390svh;
  }

  .module-showcase .module-stage {
    position: sticky;
    top: 72px;
    height: calc(100svh - 84px);
    min-height: 0;
    max-height: none;
  }

  .module-showcase .module-stage-window {
    height: 100%;
    min-height: 0;
  }

  .module-showcase .module-tabs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .module-showcase .module-tab {
    min-height: 46px;
    padding-inline: 8px;
  }

  .module-showcase .module-panel {
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
    gap: 20px;
    padding: 18px;
  }

  .module-showcase .module-demo {
    min-height: 300px;
  }

  .module-showcase .apply-module-demo {
    height: 300px;
  }
}

@media (max-height: 519px), (max-width: 359px), (max-height: 699px) and (max-width: 699px) {
  .module-showcase .module-scroll-rail {
    min-height: 0;
  }

  .module-showcase .module-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .module-showcase .module-stage-window {
    display: block;
    height: auto;
    min-height: 0;
  }

  .module-showcase .module-tabs-shell {
    display: none;
  }

  .module-showcase .module-panel-stack {
    display: grid;
    gap: 14px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .module-showcase .module-panel {
    grid-area: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(35, 35, 35, 0.56);
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce), (scripting: none) {
  .module-showcase .module-scroll-rail {
    min-height: 0;
  }

  .module-showcase .module-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .module-showcase .module-stage-window {
    display: block;
    height: auto;
    min-height: 0;
    padding-bottom: 14px;
  }

  .module-showcase .module-tabs-shell {
    display: none;
  }

  .module-showcase .module-panel-stack {
    display: grid;
    gap: 12px;
  }

  .module-showcase .module-panel {
    grid-area: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: none !important;
  }

  .module-showcase .cv-extraction-progress > span {
    transform: scaleX(1);
  }

  .module-showcase .dialog-bubble {
    opacity: 1;
    transform: none;
  }
}

/* Compact mobile footer: native disclosures keep the closed footer calm and
   give every destination a consistent full-width row when expanded. */
@media (max-width: 560px) {
  .site-footer {
    padding: 32px 0 max(36px, env(safe-area-inset-bottom));
  }

  .site-footer .footer-grid {
    gap: 0;
    padding-top: 24px;
  }

  .site-footer .footer-grid > :first-child {
    padding-bottom: 20px;
  }

  .site-footer .footer-brand {
    margin-bottom: 6px;
  }

  .site-footer .footer-grid p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .site-footer .footer-meta-column {
    display: block;
  }

  .site-footer .footer-disclosure {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer .footer-disclosure > summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    list-style: none;
    touch-action: manipulation;
  }

  .site-footer .footer-disclosure > summary::-webkit-details-marker {
    display: none;
  }

  .site-footer .footer-disclosure > summary::after {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    opacity: 0.72;
    transform: rotate(45deg);
    transition: transform 180ms var(--ease-ui);
  }

  .site-footer .footer-disclosure[open] > summary::after {
    transform: rotate(225deg);
  }

  .site-footer .footer-disclosure > .footer-links,
  .site-footer .footer-disclosure > .footer-meta {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 8px;
    padding-bottom: 8px;
  }

  .site-footer .footer-links a,
  .site-footer .footer-meta a {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    overflow-wrap: anywhere;
  }

  .site-footer .footer-copyright {
    display: block;
    padding-top: 18px;
  }
}

@media (max-width: 560px) and (prefers-reduced-motion: reduce) {
  .site-footer .footer-disclosure > summary::after {
    transition: none;
  }
}

/* Full-width liquid-glass header */

.site-header {
  inset: 0 0 auto;
}

.site-header::before,
.site-header.scrolled::before {
  position: absolute;
  inset: 0;
  display: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  content: "";
  pointer-events: none;
  transition: background 260ms var(--ease-ui), border-color 260ms var(--ease-ui), backdrop-filter 260ms var(--ease-ui);
}

.site-header.scrolled::before {
  display: block;
  border-bottom-color: rgba(18, 31, 43, 0.14);
  background: rgba(248, 251, 255, 0.92);
  box-shadow: 0 8px 24px rgba(8, 24, 40, 0.08), inset 0 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.site-header .nav-wrap,
.site-header.scrolled .nav-wrap {
  min-height: 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: auto;
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .nav-wrap::before,
.site-header .nav-wrap::after {
  display: none;
}

.site-header .nav-wrap,
.site-header .nav-links {
  z-index: 1;
}

.site-header .nav-wrap > .brand,
.site-header .nav-links,
.site-header .menu-toggle {
  color: white;
}

.site-header.scrolled .nav-wrap > .brand,
.site-header.scrolled .nav-links,
.site-header.scrolled .menu-toggle {
  color: #18212a;
}

@media (max-width: 820px) {
  .site-header {
    inset: 0 0 auto;
  }

  .site-header .nav-wrap,
  .site-header.scrolled .nav-wrap {
    min-height: 62px;
    padding: 0;
  }

  .site-header .nav-links {
    inset: 72px 18px auto;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.scrolled::before {
    display: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Mobile release hardening
   Keep the desktop scroll-linked studio intact. Touch-sized layouts use a
   naturally sized tab panel so every process graphic stays complete and the
   page never depends on a clipped viewport-height stage. */

.hero-atmosphere {
  background: #000 url("assets/images/hero-shader-start-desktop.webp") center / cover no-repeat;
}

@media (max-width: 560px) {
  .hero-atmosphere {
    background-image: url("assets/images/hero-shader-start-mobile.webp");
  }
}

@media (max-width: 820px), (max-height: 699px) and (pointer: coarse) {
  .module-showcase .module-scroll-rail {
    min-height: 0;
    margin-top: 56px;
  }

  .module-showcase .module-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .module-showcase .module-stage-window {
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto;
    gap: 9px;
    overflow: visible;
  }

  .module-showcase .module-tabs-shell {
    display: block;
  }

  .module-showcase .module-panel-stack {
    display: grid;
    min-height: 0;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(35, 35, 35, 0.56);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .module-showcase .module-panel,
  .module-showcase .module-panel.is-before {
    grid-area: 1 / 1;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: start;
    border: 0;
    border-radius: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transform: none;
    visibility: hidden;
    transition: opacity 190ms ease-out, visibility 0s 190ms !important;
  }

  .module-showcase .module-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition-delay: 0s !important;
  }

  .module-showcase .apply-module-demo {
    height: auto;
    min-height: 0;
    padding-bottom: 11px;
  }

  .module-showcase .apply-module-demo::after {
    display: none;
  }

  .module-showcase .apply-form-card {
    min-height: 0;
  }
}

@media (min-width: 821px) and (max-height: 699px) and (pointer: coarse) {
  .module-showcase .module-panel,
  .module-showcase .module-panel.is-before {
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  }
}

@media (pointer: coarse), (max-width: 820px) {
  a,
  button {
    touch-action: manipulation;
  }

  .brand {
    min-width: 44px;
    min-height: 44px;
  }

  .skip-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .nav-links a,
  .hero-link,
  .wl-audience-anchors a,
  .footer-links a,
  .footer-meta a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
  }

  .nav-cta {
    min-height: 46px;
  }

  .module-showcase .module-tab {
    min-height: 46px;
  }

  .booking-modal-close {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
  }

  .booking-modal-embed {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Browser text zoom can double the root font size without widening the
   viewport. Let the compact dialog chrome reflow instead of hiding its
   right-hand labels inside the demo canvas. */
.module-showcase.text-expanded .dialog-channel-bar {
  flex-wrap: wrap;
}

.module-showcase.text-expanded .dialog-template-head,
.module-showcase.text-expanded .dialog-delivery {
  align-items: flex-start;
  flex-direction: column;
}

.module-showcase.text-expanded .dialog-template-head > *,
.module-showcase.text-expanded .dialog-delivery > * {
  min-width: 0;
  max-width: 100%;
}

.module-showcase.text-expanded .dialog-delivery span {
  white-space: normal;
}

/* Reduced motion and no-script remain complete static reading modes. This
   comes after the compact overrides so the six panels cannot overlap. */
@media (prefers-reduced-motion: reduce), (scripting: none) {
  .module-showcase .module-scroll-rail {
    min-height: 0;
  }

  .module-showcase .module-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .module-showcase .module-stage-window {
    display: block;
    height: auto;
    min-height: 0;
  }

  .module-showcase .module-tabs-shell {
    display: none;
  }

  .module-showcase .module-panel-stack {
    display: grid;
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .module-showcase .module-panel,
  .module-showcase .module-panel.is-before,
  .module-showcase .module-panel.is-active {
    grid-area: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: none !important;
  }
}
