

/* ─── ACCESSIBILITY ──────────────────────── */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 10000;
  background: #0071e3; color: #fff; padding: 12px 20px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, [onclick]:focus-visible {
  outline: 2px solid #0071e3; outline-offset: 2px;
}
.page:focus { outline: none; }

/* ─── TOKENS ─────────────────────────────── */
:root {
  --black: #000000;
  --near-black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --mid: #3a3a3a;
  --gray: #6e6e73;
  --light-gray: #aeaeb2;
  --near-white: #f5f5f7;
  --white: #ffffff;
  --blue: #0071e3;
  --blue-h: #0077ed;
  --green: #30d158;
  --F: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--black);
  color: var(--near-white);
  font-family: var(--F);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: var(--F); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--F); }
.page { display: none; }
.page.active { display: block; }

/* ─── SCROLL REVEAL ──────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s }
.d2 { transition-delay: .2s }
.d3 { transition-delay: .3s }
.d4 { transition-delay: .4s }
.d5 { transition-delay: .5s }

/* ─── NAV ────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  height: 48px;
  display: flex; align-items: center;
  background: rgba(0,0,0,0);
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-color: rgba(255,255,255,.06);
}
.nav.lt {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-color: rgba(0,0,0,.1);
}
.nw {
  max-width: 1100px; margin: 0 auto; width: 100%;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.nlogo {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 18px; font-weight: 700; letter-spacing: -.05em;
  color: var(--near-white);
  transition: color .3s;
  flex-shrink: 0;
}
.nlogo img { width: auto; height: 22px; filter: none; transition: filter .3s; }
.nav.lt .nlogo { color: var(--dark); }
.nav.lt .nlogo img { filter: none; }

.nlinks {
  display: flex; align-items: center; gap: 28px;
  position: absolute; left: 50%; transform: translateX(-50%);
  flex-wrap: nowrap;
}
.nlinks > a {
  font-size: 13px; font-weight: 400; letter-spacing: -.01em;
  color: rgba(255,255,255,.6);
  transition: color .2s;
  white-space: nowrap;
}
.nlinks > a:hover, .nlinks > a.on { color: var(--near-white); }
.nav.lt .nlinks > a { color: rgba(0,0,0,.55); }
.nav.lt .nlinks > a:hover, .nav.lt .nlinks > a.on { color: var(--dark); }

.nav-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.ncta {
  font-size: 13px; font-weight: 500;
  background: var(--blue);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  transition: background .2s, opacity .2s;
  border: none; cursor: pointer;
}
.ncta:hover { background: var(--blue-h); }
.ncta,
.ncta:visited,
.ncta:hover,
.ncta:focus-visible,
.mob-cta,
.mob-cta:visited,
.mob-cta:hover,
.mob-cta:focus-visible,
.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff !important;
}
.lang-selector {
  position: relative; display: inline-block;
}
.lang-toggle {
  font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 6px 14px; cursor: pointer;
  transition: background .2s, border-color .2s;
  display: flex; align-items: center; gap: 6px;
}
.lang-toggle:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.35); }
.nav.lt .lang-toggle { color: #1d1d1f; background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.12); }
.nav.lt .lang-toggle:hover { background: rgba(0,0,0,.12); border-color: rgba(0,0,0,.2); }
.lang-toggle svg { width: 12px; height: 12px; }
.lang-menu {
  position: absolute; top: 100%; right: 0; margin-top: 4px;
  background: #fff; border: 1px solid rgba(0,0,0,.15); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  width: min(300px, calc(100vw - 32px)); max-height: min(440px, calc(100vh - 88px));
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, visibility .2s, transform .2s;
  z-index: 1000; direction: ltr;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-search-wrap {
  display: flex; align-items: center; gap: 9px; flex: 0 0 auto;
  padding: 10px 12px; background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.lang-search-icon {
  width: 17px; height: 17px; flex: 0 0 17px;
  color: rgba(29,29,31,.48);
}
.lang-search-input {
  width: 100%; min-width: 0; padding: 2px 0;
  color: #1d1d1f; background: transparent; border: 0; outline: 0;
  font: inherit; font-size: 14px; line-height: 1.45;
}
.lang-search-input::placeholder { color: rgba(29,29,31,.42); }
.lang-search-input::-webkit-search-cancel-button { cursor: pointer; }
.lang-options {
  min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 14px;
  background: none; border: none; font-size: 13px; color: #1d1d1f;
  cursor: pointer; transition: background .15s;
  border-bottom: 1px solid rgba(0,0,0,.06); direction: ltr; justify-content: flex-start;
}
.lang-options button:last-of-type { border-bottom: none; }
.lang-menu button:hover { background: rgba(0,0,0,.04); }
.lang-menu button.active { font-weight: 600; color: #0071e3; background: rgba(0,113,227,.08); }
.lang-option-flag { width: 20px; font-size: 16px; line-height: 1; text-align: center; flex: 0 0 20px; }
.lang-option-name {
  min-width: 0;
  flex: 1;
  direction: ltr !important;
  unicode-bidi: isolate;
  text-align: left !important;
}
.lang-empty {
  display: none; padding: 24px 14px; color: rgba(29,29,31,.55);
  font-size: 13px; line-height: 1.45; text-align: center;
}
.lang-empty.visible { display: block; }
.lang-menu-divider { height: 1px; background: rgba(0,0,0,.08); margin: 4px 0; }
@media(max-width:900px) {
  .lang-toggle { margin-left: 6px; padding: 5px 10px; font-size: 11.5px; }
  .lang-menu { max-height: min(420px, calc(100dvh - 76px)); }
}

.ham {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none; flex-shrink: 0;
}
.ham span {
  display: block; width: 20px; height: 1.5px;
  background: rgba(255,255,255,.8);
  border-radius: 1px;
  transition: all .25s;
}
.nav.lt .ham span { background: var(--dark); }
.ham.o span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.ham.o span:nth-child(2) { opacity: 0; }
.ham.o span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

.mob {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(30px);
  z-index: 8999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 36px;
}
.mob.o {
  display: flex;
  visibility: visible;
  pointer-events: auto;
}
.mob a {
  font-size: 28px; font-weight: 700; letter-spacing: -.06em;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.mob a:hover { color: var(--near-white); }
.mob-cta {
  margin-top: 12px;
  font-size: 16px !important; font-weight: 500 !important;
  color: #fff !important;
  background: var(--blue);
  padding: 10px 28px;
  border-radius: 999px;
  letter-spacing: -.02em !important;
}
.mob-cta:hover { background: var(--blue-h); }

/* ─── HERO ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img, .hero-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
  transform: scale(1.05);
}
.hero-bg #heroBg {
  z-index: 0;
}
.hero-bg #heroBg.is-replaced {
  opacity: 0;
  visibility: hidden;
}
.hero-bg .hero-video-hd {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}
.hero-bg .hero-video-hd.is-ready {
  opacity: .45;
  visibility: visible;
}

/* Content images always retain a visible lightweight preview while their
   full-resolution counterpart downloads and decodes off-screen. */
img.progressive-media {
  image-rendering: auto;
  transition: opacity .32s ease;
}
img.progressive-media[data-progressive-state="preview"] {
  opacity: .985;
}
img.progressive-media[data-progressive-state="high"] {
  opacity: 1;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.1) 0%,
    rgba(0,0,0,.2) 40%,
    rgba(0,0,0,.85) 100%
  );
}
.hero-content {
  position: relative; z-index: 3;
  padding: 0 24px 80px;
  max-width: 900px; margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.hero-h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .96;
  overflow-wrap: anywhere;
  text-wrap: balance;
  color: var(--near-white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.65;
  overflow-wrap: anywhere;
  color: rgba(255,255,255,.55);
  max-width: 780px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  font-size: 17px; font-weight: 500; letter-spacing: -.02em;
  background: var(--blue); color: #fff;
  padding: 16px 32px; border-radius: 999px;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-h); transform: scale(1.015); }
.btn-ghost {
  font-size: 17px; font-weight: 400; letter-spacing: -.02em;
  color: rgba(255,255,255,.65);
  padding: 16px 32px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.35); color: #f5f5f7; }

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center;
  gap: 6px; opacity: .4; animation: sh 2s ease-in-out infinite;
}
.scroll-hint span { width: 1px; height: 40px; background: var(--near-white); display: block; }
@keyframes sh { 0%,100%{ opacity:.2 } 50%{ opacity:.6 } }

/* ─── STATS BAND ─────────────────────────── */
.stats-band {
  background: #f5f5f7;
  padding: 36px 0;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.stat {
  padding: 8px 0;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,.07);
}
.stat:last-child { border-right: none; }
.stat-n {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800; letter-spacing: -.07em;
  color: #1d1d1f; line-height: 1;
  margin-bottom: 6px;
}
.stat-n em { font-style: normal; color: var(--blue); }
.stat-l {
  font-size: 14px; font-weight: 400; letter-spacing: -.01em;
  color: #6e6e73; line-height: 1.5;
}

/* ─── SECTION SHARED ─────────────────────── */
.sec { padding: 56px 24px; }
.sec-s { padding: 40px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 680px; margin: 0 auto; }
.label {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 20px; display: block;
}
.label-dim {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 20px; display: block;
}
.label-dark {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #6e6e73;
  margin-bottom: 20px; display: block;
}
.headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; letter-spacing: -.055em;
  line-height: 1.05; color: var(--near-white);
}
.headline-light { color: #1d1d1f; }
.headline-xl {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800; letter-spacing: -.065em;
  line-height: 1; color: var(--near-white);
}
.body-text {
  font-size: 19px; font-weight: 300; letter-spacing: -.02em;
  line-height: 1.7; color: rgba(255,255,255,.55);
}
.body-text-light { color: #6e6e73; }
.link-arrow {
  font-size: 17px; font-weight: 400; letter-spacing: -.015em;
  color: var(--blue); display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.link-arrow::after { content: '→'; }
.link-arrow:hover { gap: 10px; }

/* ─── NUMBERS — MARKET REALITY ───────────── */
.numbers-sec {
  background: var(--black);
  padding-bottom: 0;
  margin-bottom: -1px;
}
.numbers-sec .sec-header {
  padding: 0 24px;
}
.numbers-sec .container {
  max-width: 1100px;
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0;
  width: 100%;
  margin-top: 48px;
}
.num-cell {
  padding: 40px 6% 56px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.num-cell:last-child { border-right: none; }
.num-big {
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 900; letter-spacing: -.09em;
  line-height: 1; color: #f5f5f7;
  margin-bottom: 16px;
}
.num-big em { font-style: normal; color: var(--blue); }
.num-label {
  font-size: 18px; font-weight: 300; letter-spacing: -.02em;
  line-height: 1.6; color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  max-width: 280px;
}
.num-source {
  font-size: 12px; color: rgba(255,255,255,.2);
  letter-spacing: -.01em;
}

/* ─── DONUT SECTION ──────────────────────── */
.donut-wrap-sec {
  background: #f5f5f7;
}
.donut-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
}
.donut-svg-wrap {
  position: relative; max-width: 360px; margin: 0 auto;
}
.donut-svg-wrap svg { width: 100%; height: auto; }
.donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.donut-pct {
  font-size: 52px; font-weight: 800; letter-spacing: -.07em;
  color: #1d1d1f; line-height: 1;
}
.donut-lbl { font-size: 13px; color: #6e6e73; letter-spacing: .06em; text-transform: uppercase; }
.donut-ring { transition: stroke-dashoffset 1.4s var(--ease); }
.legend { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.legend-item { display: flex; align-items: center; gap: 14px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.legend-name { font-size: 15px; font-weight: 400; color: #1d1d1f; letter-spacing: -.015em; }
.legend-pct { margin-left: auto; font-size: 15px; font-weight: 600; color: #6e6e73; }

/* ─── BAR CHART ──────────────────────────── */
.bar-sec {
  background: var(--black);
}
.bar-chart { margin-top: 40px; }
.bar-row { margin-bottom: 28px; }
.bar-lbl {
  font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  color: rgba(255,255,255,.4); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .06em;
}
.bar-track {
  height: 48px; background: rgba(255,255,255,.06); border-radius: 8px;
  overflow: hidden; position: relative;
}
.bar-fill {
  height: 100%; border-radius: 8px;
  display: flex; align-items: center; padding: 0 18px;
  font-size: 14px; font-weight: 600; color: #fff;
  letter-spacing: -.02em;
  transition: width 1.4s var(--ease);
  white-space: nowrap;
}
.bar-heimayi { background: var(--blue); }
.bar-hw { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.bar-sm { background: rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
.bar-note { font-size: 12px; color: rgba(255,255,255,.25); margin-top: 6px; letter-spacing: -.01em; }

/* ─── 3 PILLARS ──────────────────────────── */
.pillars-sec {
  background: #f5f5f7;
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 40px;
}
.pillar {
  padding: 56px 48px;
  background: #fff;
  border-radius: 20px;
}
.pillar-num {
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #6e6e73; margin-bottom: 24px;
}
.pillar h3 {
  font-size: 24px; font-weight: 700; letter-spacing: -.04em;
  line-height: 1.2; color: #1d1d1f; margin-bottom: 16px;
}
.pillar p {
  font-size: 16px; font-weight: 300; letter-spacing: -.015em;
  line-height: 1.7; color: #6e6e73;
}

/* ─── PIPELINE DIAGRAM ───────────────────── */
.pipeline {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: stretch;
  margin-top: 32px;
  gap: 0;
}
.pipeline-heading {
  max-width: 100%;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.02;
  text-wrap: balance;
}
.pipeline-saas-term { font-weight: 400; }
.pl-step {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
}
.pl-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.pl-icon svg { width: 26px; height: 26px; }
.pl-step-label {
  font-size: 11px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: #aeaeb2;
  margin-bottom: 6px;
}
.pl-step-title {
  font-size: 15px; font-weight: 700; letter-spacing: -.03em;
  color: #1d1d1f; line-height: 1.3; margin-bottom: 8px;
}
.pl-step-items {
  font-size: 12px; font-weight: 400; color: #86868b;
  line-height: 1.6; letter-spacing: -.01em;
}
.pl-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.pl-arrow svg { width: 20px; height: 20px; }

/* Step colors — light bg version */
.pl-step:nth-child(1) .pl-icon { background: #e8f1fd; }
.pl-step:nth-child(1) .pl-icon svg { color: #0071e3; }
.pl-step:nth-child(3) .pl-icon { background: #e8f4fd; }
.pl-step:nth-child(3) .pl-icon svg { color: #34aadc; }
.pl-step:nth-child(5) .pl-icon { background: #ede8fd; }
.pl-step:nth-child(5) .pl-icon svg { color: #5e5ce6; }
.pl-step:nth-child(7) .pl-icon { background: #e4f6ee; }
.pl-step:nth-child(7) .pl-icon svg { color: #28a745; }
.pl-step:nth-child(9) .pl-icon { background: #e4f6ee; }
.pl-step:nth-child(9) .pl-icon svg { color: #30d158; }

/* Full-width bottom label */
.pipeline-label {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 0 4px;
  position: relative;
}
.pipeline-label::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(0,0,0,.07);
  z-index: 0;
}

/* ─── FEATURED PRODUCTS ──────────────────── */
.fp-card {
  cursor: pointer;
  border-right: 1px solid rgba(0,0,0,.07);
  transition: background .2s;
}
.fp-card:last-child { border-right: none; }
.fp-card:hover { background: rgba(0,0,0,.02); }
.fp-img {
  height: 220px;
  overflow: hidden;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.fp-img img {
  height: 100%; width: 100%;
  object-fit: contain;
  padding: 16px 24px;
  transition: transform .6s cubic-bezier(0.16,1,0.3,1);
}
.fp-card:hover .fp-img img { transform: scale(1.04); }
.fp-body {
  padding: 16px 10px 18px;
}
.fp-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #005fbd;
  display: block; margin-bottom: 8px;
}
.fp-name {
  font-size: 18px; font-weight: 700; letter-spacing: -.04em;
  color: #1d1d1f; line-height: 1.2; margin-bottom: 8px;
}
.fp-desc {
  font-size: 14px; font-weight: 300; letter-spacing: -.01em;
  line-height: 1.6; color: #6e6e73; margin-bottom: 16px;
}
.fp-link {
  font-size: 14px; font-weight: 500; color: #005fbd;
  letter-spacing: -.01em;
}
.fp-track {
  display: flex; width: 100%;
  border-top: 1px solid rgba(0,0,0,.06);
}
.fp-arrow {
  position: absolute; top: 110px; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  font-size: 20px; color: #1d1d1f; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: transform .2s, box-shadow .2s;
}
.fp-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.fp-arrow-left { left: 8px; }
.fp-arrow-right { right: 8px; }
@media(max-width:768px) {
  .fp-arrow { width: 34px; height: 34px; font-size: 17px; top: 90px; }
}
.pl-badge {
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #6e6e73;
  background: #f5f5f7; padding: 4px 12px;
  border-radius: 999px; position: relative; z-index: 1;
}

/* ─── PRODUCT CATEGORIES ─────────────────── */
.cats-sec {
  background: #000;
}
.cats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 72px;
}
.cat-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 32px;
  background: #111;
  border-radius: 20px;
  transition: transform .5s var(--ease);
}
.cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  z-index: 1;
}
.cat-card-img {
  position: absolute; inset: 0;
  transition: transform .7s var(--ease);
}
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cat-card:hover { transform: scale(.99); }
.cat-card:hover .cat-card-img { transform: scale(1.05); }
.cat-content { position: relative; z-index: 2; }
.cat-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.cat-name {
  font-size: 26px; font-weight: 700; letter-spacing: -.05em;
  line-height: 1.1; color: var(--near-white); margin-bottom: 10px;
}
.cat-desc {
  font-size: 14px; font-weight: 300; letter-spacing: -.01em;
  line-height: 1.5; color: rgba(255,255,255,.5); margin-bottom: 20px;
}

/* ─── ROI / PAYBACK ──────────────────────── */
.roi-sec {
  background: #f5f5f7;
  text-align: center;
}
.roi-track {
  height: 3px; background: rgba(0,0,0,.08);
  border-radius: 2px; margin: 40px auto 20px;
  max-width: 680px; overflow: hidden;
}
.roi-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px; transition: width 2s var(--ease);
}
.roi-markers {
  display: flex; justify-content: space-between;
  max-width: 680px; margin: 0 auto 40px;
}
.roi-m {
  font-size: 11px; font-weight: 500; letter-spacing: -.01em;
  color: #86868b; text-align: center; line-height: 1.5;
}
.roi-m.active { color: var(--green); font-weight: 600; }
.roi-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  width: 100%;
  gap: 0;
}
.roi-cell {
  background: transparent;
  border-right: 1px solid rgba(0,0,0,.07);
  min-width: 0;
  padding: 48px 24px; text-align: center;
}
.roi-cell:last-child { border-right: none; }
.roi-val {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800; letter-spacing: -.07em;
  color: #1d1d1f; line-height: 1; margin-bottom: 10px;
}
.roi-val em { font-style: normal; color: var(--blue); }
.roi-lbl {
  font-size: 14px; font-weight: 400; color: #6e6e73; letter-spacing: -.01em; line-height: 1.4;
  overflow-wrap: anywhere;
}

/* ─── FEATURE ROWS (PRODUCTS) ────────────── */
.fr {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.fr.rev .fr-vis { order: 2; }
.fr.rev .fr-txt { order: 1; }
.fr-vis {
  display: flex; align-items: center; justify-content: center;
  padding: 64px 48px;
  background: var(--near-black);
  overflow: hidden;
}
.fr-vis img {
  max-width: 72%; max-height: 360px;
  object-fit: contain;
  transition: transform .7s var(--ease);
}
.fr-vis.bg-white { background: var(--white); }
.fr-vis.bg-white img { mix-blend-mode: multiply; }
.fr-vis.bg-dark img {
  background: rgba(255,255,255,.04);
  border-radius: 20px; padding: 32px;
  max-width: 60%;
}
.fr:hover .fr-vis img { transform: scale(1.05); }
.fr-txt {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 64px;
  background: var(--black);
}
.fr-txt.bg-white { background: var(--white); }
.fr-txt.bg-near-white { background: var(--near-white); }
.fr-txt.bg-dark { background: var(--near-black); }
.ft-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.ft-h {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; letter-spacing: -.05em;
  line-height: 1.1; color: var(--near-white); margin-bottom: 18px;
}
.fr-txt.bg-white .ft-h,
.fr-txt.bg-near-white .ft-h { color: var(--dark); }
.ft-p {
  font-size: 16px; font-weight: 300; letter-spacing: -.015em;
  line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: 28px;
}
.fr-txt.bg-white .ft-p,
.fr-txt.bg-near-white .ft-p { color: rgba(0,0,0,.5); }
.ft-specs { margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.ft-spec {
  font-size: 13px; font-weight: 400; letter-spacing: -.01em;
  color: rgba(255,255,255,.35); padding-left: 16px; position: relative;
  line-height: 1.5;
}
.ft-spec::before {
  content: '—'; position: absolute; left: 0;
  color: rgba(255,255,255,.2);
}
.fr-txt.bg-white .ft-spec,
.fr-txt.bg-near-white .ft-spec { color: rgba(0,0,0,.45); }
.fr-txt.bg-white .ft-spec::before,
.fr-txt.bg-near-white .ft-spec::before { color: rgba(0,0,0,.2); }

/* ─── PAGE HERO (inner pages) ────────────── */
.page-hero {
  background: var(--black);
  padding: 140px 24px 80px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-hero .label { justify-content: center; display: block; }

/* ─── NEWS ───────────────────────────────── */
.news-empty { min-height:52vh; display:grid; place-items:center; text-align:center; background:#f5f5f7; }
.news-empty .body-text { max-width:520px; margin:16px auto 0; }

/* ─── ABOUT ──────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--black);
}
.about-split-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 64px 100px 8%;
}
.about-split-left .label-dim {
  display: block; margin-bottom: 20px;
}
.about-split-left h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; letter-spacing: -.045em;
  line-height: 1.05; color: var(--near-white);
  margin-bottom: 40px;
}
.about-stats-row {
  display: flex; gap: 32px;
  margin-bottom: 44px;
  padding-bottom: 0;
  border-bottom: none;
}
.about-stat-item .num {
  font-size: 40px; font-weight: 800; letter-spacing: -.06em;
  color: var(--near-white); line-height: 1;
}
.about-stat-item .num span { color: var(--blue); }
.about-stat-item .lbl {
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-top: 5px;
}
.about-split-left p {
  font-size: 16px; font-weight: 300; letter-spacing: -.015em;
  line-height: 1.8; color: rgba(255,255,255,.5);
  margin-bottom: 16px; max-width: 440px;
}
.cp-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.cp-list li {
  position: relative; padding-left: 26px;
  font-size: 16px; font-weight: 300; line-height: 1.7;
  letter-spacing: -.015em; color: #3d3d42;
}
.cp-list li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}
.cp-list.on-dark li { color: rgba(255,255,255,.5); }
.cp-intro.on-dark { color: rgba(255,255,255,.7) !important; }
.cp-close.on-dark { color: rgba(255,255,255,.5) !important; }

/* Vision & Mission */
.vm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px;
}
.vm-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: 20px; padding: 40px 36px;
}
.vm-label {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.vm-label svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vm-card p {
  font-size: 16.5px; font-weight: 300; line-height: 1.7;
  color: #3d3d42; letter-spacing: -.015em;
}

/* Development History timeline */
.timeline { margin-top: 56px; }
.tl-item {
  display: grid; grid-template-columns: 76px 1fr; gap: 28px;
  padding-bottom: 40px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  font-size: 24px; font-weight: 800; letter-spacing: -.04em;
  color: #1d1d1f; line-height: 1; text-align: right; padding-top: 1px;
}
.tl-content { position: relative; padding-left: 32px; }
.tl-content::before {
  content: ''; position: absolute; left: 5px; top: 5px; bottom: -40px;
  width: 2px; background: rgba(0,0,0,.1);
}
.tl-item:last-child .tl-content::before { display: none; }
.tl-content::after {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.16);
}
.tl-content p {
  font-size: 15px; font-weight: 300; line-height: 1.7;
  color: #6e6e73; letter-spacing: -.01em; margin: 0;
}
.tl-content strong { color: #1d1d1f; font-weight: 500; }
@media(max-width:600px) {
  .vm-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 52px 1fr; gap: 14px; }
  .tl-year { font-size: 18px; }
  .tl-content { padding-left: 24px; }
}

.about-split-right {
  position: relative;
  overflow: hidden;
}
.about-split-right img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
}
.about-split-right::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--black) 0%, rgba(0,0,0,.3) 30%, transparent 65%);
  z-index: 1; pointer-events: none;
}
.about-split-right::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 25%;
  background: linear-gradient(to bottom, transparent, var(--black));
  z-index: 1; pointer-events: none;
}
/* A stable desktop split keeps the complete introduction readable at every
   browser zoom level without allowing text to overlap or slide under the image. */
@media (min-width:901px) {
  .about-split {
    display: grid; position: relative;
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
    min-height: 100svh; overflow: visible;
  }
  .about-split-right {
    position: relative; inset: auto; z-index: 1;
  }
  .about-split-left {
    position: relative; z-index: 2; box-sizing: border-box; width: auto; min-height: auto;
    overflow: visible;
    padding: clamp(36px, 5vh, 76px) clamp(36px, 4.5vw, 88px) clamp(32px, 5vh, 72px) clamp(40px, 6vw, 8%);
    background: var(--black);
  }
  .about-split-left .label-dim { margin-bottom: clamp(8px, 1.8vh, 18px); }
  .about-split-left h2 {
    font-size: clamp(34px, 3.1vw, 52px); margin-bottom: clamp(18px, 3.2vh, 32px);
  }
  .about-stats-row {
    gap: clamp(22px, 2.2vw, 36px); margin-bottom: clamp(18px, 3vh, 32px);
    padding-bottom: clamp(16px, 2.8vh, 28px);
  }
  .about-stat-item .num { font-size: clamp(30px, 2.4vw, 40px); }
  .about-split-left p {
    max-width: min(760px, 100%); margin: 0; font-size: clamp(13px, .9vw, 16px);
    line-height: 1.6; color: rgba(255,255,255,.68);
  }
  .about-split-left p br + br { display: block; content: ''; margin-top: clamp(7px, 1.3vh, 13px); }
}
@media (min-width:901px) and (max-height:800px) {
  .about-split-left { padding-top: 34px; padding-bottom: 30px; }
  .about-split-left h2 { font-size: clamp(32px, 2.9vw, 44px); margin-bottom: 16px; }
  .about-stats-row { margin-bottom: 16px; padding-bottom: 14px; }
  .about-split-left p { font-size: 12px; line-height: 1.45; }
}
@media(max-width:900px) {
  .about-split {
    grid-template-columns: minmax(0, 1fr);
    min-height: unset;
    max-width: 100%;
    overflow-x: clip;
  }
  .about-split-right { position:relative; height: 56vw; min-height: 260px; order: -1; }
  .about-split-right::before {
    background: linear-gradient(to bottom, transparent 40%, var(--black) 100%);
  }
  .about-split-left,
  .about-split-right {
    min-width: 0;
    max-width: 100%;
  }
  .about-split-left {
    min-height: auto;
    overflow: visible;
    padding: 48px 24px 64px;
  }
  .about-split-left .label-dim,
  .about-split-left h2,
  .about-split-left p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .about-stats-row { gap: 20px; }
  .about-stat-item .num { font-size: 30px; }
}
.diff-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin-top: 64px;
}
.diff-cell {
  background: var(--near-black);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 40px 36px;
}
.diff-num {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.2);
  margin-bottom: 16px;
}
.diff-h {
  font-size: 20px; font-weight: 700; letter-spacing: -.04em;
  line-height: 1.2; color: var(--near-white); margin-bottom: 12px;
}
.diff-p {
  font-size: 15px; font-weight: 300; letter-spacing: -.015em;
  line-height: 1.65; color: rgba(255,255,255,.4);
}
.diff-grid.light .diff-cell { background: #f5f5f7; border-color: rgba(0,0,0,.07); }
.diff-grid.light .diff-num { color: var(--blue); }
.diff-grid.light .diff-h { color: #1d1d1f; }
.diff-grid.light .diff-p { color: #6e6e73; }
.vals-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 80px;
}
.val-cell {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.val-cell:last-child { border-right: none; }
.val-num {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.2);
  margin-bottom: 16px;
}
.val-cell h4 {
  font-size: 18px; font-weight: 700; letter-spacing: -.04em;
  color: var(--near-white); margin-bottom: 12px;
}
.val-cell p {
  font-size: 15px; font-weight: 300; letter-spacing: -.015em;
  line-height: 1.65; color: rgba(255,255,255,.4);
}
.vals-grid.light {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06); border-top: 1px solid rgba(0,0,0,.06);
  border-radius: 24px; overflow: hidden;
}
.vals-grid.light .val-cell { background: #fff; border-right: none; }
.vals-grid.light .val-num { color: var(--blue); }
.vals-grid.light .val-cell h4 { color: #1d1d1f; }
.vals-grid.light .val-cell p { color: #6e6e73; }

/* ─── FAQ ────────────────────────────────── */
.faq-sec { background: var(--near-black); }
.faq-list { margin-top: 56px; }
.fi {
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.fi:first-child { border-top: 1px solid rgba(255,255,255,.07); }
.fq {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; cursor: pointer; gap: 20px;
}
.fq span {
  font-size: 17px; font-weight: 500; letter-spacing: -.025em;
  color: var(--near-white); line-height: 1.4;
}
.fq-ic {
  flex-shrink: 0; width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: rgba(255,255,255,.4);
  transition: transform .3s, border-color .3s;
}
.fi.open .fq-ic { transform: rotate(45deg); border-color: rgba(255,255,255,.3); }
.fa {
  font-size: 16px; font-weight: 300; letter-spacing: -.015em;
  line-height: 1.7; color: rgba(255,255,255,.5);
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s;
}
.fi.open .fa { max-height: 300px; padding-bottom: 24px; }

/* ─── CASE STUDIES ───────────────────────── */
.cases-sec { background: var(--black); }
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.fb {
  font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.45);
  cursor: pointer; transition: all .2s;
}
.fb:hover { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.8); }
.fb.on { background: var(--near-white); color: var(--dark); border-color: transparent; }
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.cc {
  background: var(--near-black);
  overflow: hidden; cursor: pointer;
  transition: transform .4s var(--ease);
}
.cc:hover { transform: scale(.99); }
.cc-img {
  aspect-ratio: 16/10; overflow: hidden;
}
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cc:hover .cc-img img { transform: scale(1.05); }
.cc-body { padding: 28px 24px; }
.cc-cat {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 10px;
}
.cc-pct {
  font-size: 48px; font-weight: 800; letter-spacing: -.07em;
  color: var(--near-white); line-height: 1; margin-bottom: 7px;
}
.cc-metric-label {
  min-height: 1.4em;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,.72);
}
.cc-name {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.68);
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-tag {
  font-size: 11px; font-weight: 500; letter-spacing: -.005em;
  padding: 4px 10px; border-radius: 4px;
  background: rgba(255,255,255,.09); color: rgba(255,255,255,.72);
}
.case-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9800;
  padding: clamp(12px, 3vh, 28px) 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  --case-surface: var(--near-black);
  --case-surface-raised: var(--dark);
  --case-surface-soft: var(--dark2);
  --case-border: rgba(255,255,255,.1);
  --case-text: var(--near-white);
  --case-muted: rgba(245,245,247,.5);
  --case-accent: var(--blue);
}
.case-modal.open {
  display: block;
}
.case-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: saturate(130%) blur(14px);
}
.case-modal-panel {
  position: relative;
  width: min(1000px, 100%);
  max-height: calc(100dvh - 24px);
  margin: auto;
  background: linear-gradient(145deg, var(--case-surface-raised) 0%, var(--case-surface) 100%);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 32px 100px rgba(0,0,0,.72);
}
.case-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.92);
  color: var(--dark);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 18px rgba(0,0,0,.26);
}
.case-modal-content {
  display: block;
}
.case-modal-hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  height: 340px;
  min-height: 0;
  border-bottom: 1px solid var(--case-border);
}
.case-modal-media {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.case-modal-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}
.case-modal-intro {
  min-height: 0;
  padding: clamp(28px, 3.5vw, 44px);
  color: rgba(255,255,255,.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-modal-body {
  padding: clamp(24px, 3vw, 32px) clamp(26px, 4vw, 44px);
  color: rgba(255,255,255,.85);
}
.case-modal-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--case-accent);
  margin-bottom: 14px;
}
.case-modal-title {
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.16;
  letter-spacing: -.035em;
  margin-bottom: 12px;
  max-width: 15em;
}
.case-modal-loc {
  font-size: 14px;
  font-weight: 600;
  color: rgba(245,245,247,.82);
  margin-bottom: 14px;
}
.case-modal-summary {
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.65;
  color: var(--case-muted);
}
.case-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--case-border);
  border-radius: 11px;
  background: rgba(255,255,255,.08);
}
.case-modal-grid.case-modal-grid--rich {
  grid-template-columns: repeat(4, 1fr);
}
.case-kv {
  min-width: 0;
  background: rgba(10,10,10,.96);
  padding: 12px 15px;
}
.case-kv-label {
  font-size: 10px;
  color: rgba(255,255,255,.38);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.case-kv-value {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(245,245,247,.82);
  overflow-wrap: anywhere;
}
.case-section {
  margin-top: 20px;
}
.case-section h4 {
  font-size: 12px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.76);
  letter-spacing: .02em;
}
.case-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.case-result-card {
  position: relative;
  min-height: 104px;
  padding: 19px 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,113,227,.18);
  background: linear-gradient(145deg, rgba(34,34,34,.9), rgba(17,17,17,.9));
  text-align: center;
  overflow: hidden;
}
.case-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--case-accent), transparent);
}
.case-result-value {
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 650;
  color: var(--case-text);
  letter-spacing: -.035em;
  line-height: 1.1;
}
.case-result-label {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.68);
  line-height: 1.4;
}
.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
  font-size: 12px;
}
.case-list li {
  position: relative;
  padding-left: 17px;
}
.case-list li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: .58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--case-accent);
  box-shadow: 0 0 10px rgba(0,113,227,.55);
}
.case-list li + li { margin-top: 0; }
.case-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding-top: 4px;
}
.case-timeline::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,113,227,.58) 8%, rgba(0,113,227,.58) 92%, transparent);
}
.case-timeline-step {
  position: relative;
  min-width: 0;
  text-align: center;
  padding-top: 43px;
}
.case-timeline-marker {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 50%;
  width: 29px;
  height: 29px;
  transform: translateX(-50%);
  border: 1px solid rgba(0,113,227,.72);
  border-radius: 50%;
  background: var(--case-surface);
  color: var(--case-accent);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--case-surface);
}
.case-timeline-name {
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.case-timeline-date {
  margin-top: 6px;
  color: var(--case-accent);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.case-timeline-copy {
  margin-top: 8px;
  color: rgba(255,255,255,.36);
  font-size: 10px;
  line-height: 1.5;
}
.case-detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.25fr 2fr;
  gap: 10px;
  margin-top: 20px;
}
.case-detail-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--case-border);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(34,34,34,.82), rgba(17,17,17,.9));
}
.case-detail-card h4 {
  margin: 0 0 13px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  letter-spacing: .01em;
}
.case-detail-card .case-list {
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 11px;
}
.case-outcome {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.7;
}
.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.case-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--case-border);
  background: rgba(255,255,255,.04);
}
.case-actions { display: none; }
.case-body-lock { overflow: hidden; }
@media (max-width: 960px) {
  .case-modal-hero { grid-template-columns: 1fr 1fr; }
  .case-modal-grid.case-modal-grid--rich { grid-template-columns: repeat(2, 1fr); }
  .case-results { grid-template-columns: repeat(2, 1fr); }
  .case-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .case-detail-gallery { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .case-modal { padding: 8px; }
  .case-modal-panel { border-radius: 14px; }
  .case-modal-hero { grid-template-columns: 1fr; height: auto; }
  .case-modal-media { height: 210px; min-height: 210px; order: -1; }
  .case-modal-intro { padding: 26px 22px 24px; }
  .case-modal-body { padding: 22px; }
  .case-modal-grid { grid-template-columns: repeat(2, 1fr); }
  .case-results { grid-template-columns: repeat(2, 1fr); }
  .case-list { grid-template-columns: 1fr; gap: 10px; }
  .case-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 6px;
  }
  .case-timeline::before {
    top: 17px;
    bottom: 17px;
    left: 20px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(0,113,227,.58) 8%, rgba(0,113,227,.58) 92%, transparent);
  }
  .case-timeline-step {
    min-height: 72px;
    padding: 4px 0 16px 58px;
    text-align: left;
  }
  .case-timeline-marker { left: 14px; transform: none; }
  .case-timeline-copy { max-width: 32em; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-detail-gallery { grid-column: auto; }
  .case-modal-close { position: fixed; top: 18px; right: 18px; }
}
@media (max-width: 390px) {
  .case-modal-grid { grid-template-columns: 1fr; }
  .case-modal-grid.case-modal-grid--rich { grid-template-columns: 1fr; }
  .case-result-card { min-height: 104px; }
}

/* ─── CTA SECTION ────────────────────────── */
/* ─── BOOK A MEETING ─────────────────────── */
.book-sec {
  background: #f5f5f7;
  padding: 64px 24px 72px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.book-sec .label-dim { color: #6e6e73; }
.book-sec .headline-xl { color: #1d1d1f; }
.book-sec .body-text { color: #6e6e73; }
.book-card {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 290px 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 40px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.06);
  background: #fff;
}
/* LEFT */
.book-left {
  background: #fff;
  padding: 28px 28px 28px;
  display: flex; flex-direction: column; gap: 0;
  border-right: 1px solid #f0f0f0;
}
.book-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.book-logo-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: #f5f5f7; display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0; border: 1px solid #e5e5ea;
}
.book-logo { width: 28px; height: auto; max-height: 28px; object-fit: contain; }
.book-company { font-size: 13px; font-weight: 600; color: #1d1d1f; }
.book-title-sm { font-size: 11px; color: #aeaeb2; margin-top: 2px; }
.book-meeting-title {
  font-size: 19px; font-weight: 700; color: #1d1d1f;
  letter-spacing: -.03em; line-height: 1.2; margin-bottom: 20px;
}
.book-meta { display: flex; flex-direction: column; gap: 14px; margin-bottom: 0; }
.book-meta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #6e6e73; line-height: 1.4;
}
.book-meta-item svg { color: #aeaeb2; flex-shrink: 0; }
/* RIGHT — calendar / slots / form */
.book-right { background: #fff; position: relative; min-height: 380px; transition: min-height .22s ease; }
.book-right:has(.book-panel[id^="bpanel-form"]:not(.hidden)) { min-height: 470px; }
.book-panel { position: absolute; inset: 0; padding: 28px 32px 24px; transition: opacity .22s, transform .22s; display: flex; flex-direction: column; min-height: 0; }
.book-panel.hidden { opacity: 0; pointer-events: none; transform: translateX(12px); }
/* Form panels are absolutely positioned, so their contents do not increase
   the card height. Allow them to scroll on short screens instead of clipping
   the submit button behind the card's rounded overflow. */
.book-panel[id^="bpanel-form"]:not(.hidden) {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.book-panel[id^="bpanel-form"]::-webkit-scrollbar { width: 5px; }
.book-panel[id^="bpanel-form"]::-webkit-scrollbar-thumb { background: #d8d8dc; border-radius: 5px; }
/* Calendar panel */
.bcal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.bcal-month { font-size: 16px; font-weight: 600; color: #1d1d1f; letter-spacing: -.02em; }
.bcal-nav { display: flex; gap: 4px; }
.bcal-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e5e5ea;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: #fff; color: #1d1d1f;
  transition: background .15s, border-color .15s;
}
.bcal-btn:hover { background: #f5f5f7; border-color: #d0d0d5; }
.bcal-btn:disabled { opacity: .3; cursor: default; }
.bcal-today-btn {
  height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid #e5e5ea;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: #fff; color: #1d1d1f;
  font-size: 12.5px; font-weight: 600; letter-spacing: -.01em;
  transition: background .15s, border-color .15s;
}
.bcal-today-btn:hover { background: #f5f5f7; border-color: #d0d0d5; }
.book-card.dark .bcal-today-btn { background: var(--dark); border-color: rgba(255,255,255,.1); color: var(--near-white); }
.book-card.dark .bcal-today-btn:hover { background: rgba(255,255,255,.08); }
.bcal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.bcal-dow {
  font-size: 11px; font-weight: 500; color: #aeaeb2;
  text-align: center; padding-bottom: 10px; letter-spacing: .04em;
}
.bcal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; color: #1d1d1f; border-radius: 50%;
  cursor: pointer; transition: background .12s, color .12s;
}
.bcal-day:hover:not(.bcal-empty):not(.bcal-past) { background: #f0f0f2; }
.bcal-day.bcal-selected { background: #0071e3 !important; color: #fff !important; font-weight: 600; }
.bcal-day.bcal-past { color: #d0d0d5; cursor: default; }
.bcal-day.bcal-today {
  font-weight: 700;
  color: #0071e3;
  background: #f0f7ff;
  box-shadow: inset 0 0 0 1px rgba(0,113,227,.28);
}
.bcal-day.bcal-today:hover { background: #e7f2ff; }
.bcal-day.bcal-today-unavailable { cursor: pointer; }
.bcal-day.bcal-empty { cursor: default; }
.bcal-tz {
  width: 100%;
  min-height: 28px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  font-size: 12px;
  color: #aeaeb2;
}
.tz-trigger {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: #6e6e73; cursor: pointer;
  padding: 4px 8px; border-radius: 6px;
  transition: background .15s, color .15s;
  user-select: none;
}
.tz-trigger:hover { background: #f0f0f2; color: #1d1d1f; }
.tz-trigger svg { flex-shrink: 0; transition: transform .2s; }
.tz-trigger.open svg.tz-chevron { transform: rotate(180deg); }
.tz-dropdown {
  position: fixed;
  width: 340px; max-width: calc(100vw - 24px); background: #fff;
  border-radius: 14px; border: 1px solid #e5e5ea;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  z-index: 9500; overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s;
}
.tz-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.tz-search-wrap { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 8px; }
.tz-search-wrap svg { color: #aeaeb2; flex-shrink: 0; }
.tz-search {
  border: none; outline: none; font-size: 13px; color: #1d1d1f;
  background: none; width: 100%; font-family: var(--F);
}
.tz-search::placeholder { color: #c7c7cc; }
.tz-list { max-height: 240px; overflow-y: auto; padding: 6px 0; }
.tz-list::-webkit-scrollbar { width: 4px; }
.tz-list::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 2px; }
.tz-group-label {
  font-size: 10px; font-weight: 600; color: #aeaeb2;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 14px 4px;
}
.tz-option {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; cursor: pointer; font-size: 12.5px; color: #1d1d1f;
  transition: background .12s;
}
.tz-option:hover { background: #f5f5f7; }
.tz-option.selected { background: #f0f7ff; color: #0071e3; }
.tz-option .tz-flag { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.tz-option .tz-name { font-weight: 500; }
.tz-option .tz-offset { color: #aeaeb2; font-size: 11px; margin-left: auto; flex-shrink: 0; }
/* Time slots panel */
.bslots-back { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #0071e3; cursor: pointer; margin-bottom: 4px; background: none; border: none; padding: 0; }
.bslots-back:hover { opacity: .75; }
.bslots-date-label { font-size: 17px; font-weight: 600; color: #1d1d1f; letter-spacing: -.02em; margin-bottom: 20px; margin-top: 8px; }
.bslots-grid { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }
.bslots-grid::-webkit-scrollbar { width: 4px; }
.bslots-grid::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 2px; }
.bslots-empty {
  flex: 1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: #6e6e73;
  border: 1px dashed #d7d7dc;
  border-radius: 14px;
  background: #fafafa;
}
.bslots-empty-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #0071e3;
  background: #eef6ff;
  font-size: 26px;
  line-height: 1;
}
.bslots-empty p { max-width: 280px; margin: 0; font-size: 13px; line-height: 1.55; }
.bslot {
  border: 1.5px solid #e5e5ea; border-radius: 12px;
  padding: 13px 16px; font-size: 14px; font-weight: 500; color: #1d1d1f;
  cursor: pointer; background: #fff; text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}
.bslot:hover { border-color: #0071e3; color: #0071e3; background: #f0f7ff; }
.bslot.selected { background: #0071e3; border-color: #0071e3; color: #fff; }
/* Form panel */
.bform-back { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #0071e3; cursor: pointer; margin-bottom: 4px; background: none; border: none; padding: 0; }
.bform-back:hover { opacity: .75; }
.bform-chosen { font-size: 15px; font-weight: 600; color: #1d1d1f; letter-spacing: -.02em; margin-bottom: 20px; margin-top: 8px; }
.bform { display: flex; flex-direction: column; gap: 14px; }
.brow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bfield { display: flex; flex-direction: column; gap: 5px; }
.bfield label { font-size: 11.5px; font-weight: 500; color: #6e6e73; letter-spacing: .02em; }
.bfield input, .bfield textarea {
  border: 1px solid #e5e5ea; border-radius: 10px;
  padding: 11px 14px; font-size: 14px; color: #1d1d1f;
  background: #fff; outline: none; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.bfield input::placeholder, .bfield textarea::placeholder { color: #c7c7cc; }
.bfield input:focus, .bfield textarea:focus {
  border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0,113,227,.1);
}
.bfield textarea { resize: none; line-height: 1.5; }
.bform-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #0071e3; color: #fff; border: none; border-radius: 12px;
  padding: 13px 24px; font-size: 14.5px; font-weight: 600;
  cursor: pointer; width: 100%; margin-top: 4px;
  transition: background .15s, box-shadow .15s;
}
.bform-submit:hover { background: #0077ed; box-shadow: 0 4px 18px rgba(0,113,227,.3); }
/* Success */
.book-success {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; text-align: center;
  padding: 40px;
}
.book-success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: #e8faf0; display: flex; align-items: center; justify-content: center;
  color: #30d158; box-shadow: 0 6px 20px rgba(48,209,88,.18);
}
.book-success-title { font-size: 20px; font-weight: 700; color: #1d1d1f; letter-spacing: -.03em; }
.book-success-desc { font-size: 14px; color: #6e6e73; max-width: 240px; line-height: 1.6; }

/* Dark variant — used where the booking card sits on a dark section
   (e.g. the Contact page) instead of a light one, so it reads as one
   consistent card language with the rest of that page. */
.book-sec.dark { background: var(--black); border-top-color: rgba(255,255,255,.08); }
.book-sec.contact-booking { padding-bottom: 24px; border-top: none; }
.contact-sec.contact-after-booking { padding-top: 80px; border-top: none; }
.book-sec.dark .label-dim { color: rgba(255,255,255,.35); }
.book-sec.dark .headline-xl { color: var(--near-white); }
.book-sec.dark .body-text { color: rgba(255,255,255,.55); }
.book-card.dark { background: var(--near-black); box-shadow: 0 2px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06); }
.book-card.dark .book-left { background: var(--near-black); border-right-color: rgba(255,255,255,.08); }
.book-card.dark .book-logo-wrap { background: var(--dark); border-color: rgba(255,255,255,.1); }
.book-card.dark .book-company { color: var(--near-white); }
.book-card.dark .book-title-sm { color: rgba(255,255,255,.35); }
.book-card.dark .book-meeting-title { color: var(--near-white); }
.book-card.dark .book-meta-item { color: rgba(255,255,255,.5); }
.book-card.dark .book-meta-item svg { color: rgba(255,255,255,.3); }
.book-card.dark .book-right { background: var(--near-black); }
.book-card.dark .bcal-month { color: var(--near-white); }
.book-card.dark .bcal-btn { background: var(--dark); border-color: rgba(255,255,255,.1); color: var(--near-white); }
.book-card.dark .bcal-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.book-card.dark .bcal-dow { color: rgba(255,255,255,.3); }
.book-card.dark .bcal-day { color: var(--near-white); }
.book-card.dark .bcal-day:hover:not(.bcal-empty):not(.bcal-past) { background: rgba(255,255,255,.08); }
.book-card.dark .bcal-day.bcal-past { color: rgba(255,255,255,.15); }
.book-card.dark .bcal-day.bcal-today {
  color: #4da3ff;
  background: rgba(0,113,227,.14);
  box-shadow: inset 0 0 0 1px rgba(77,163,255,.45);
}
.book-card.dark .bcal-day.bcal-today:hover { background: rgba(0,113,227,.22); }
.book-card.dark .bcal-tz { color: rgba(255,255,255,.35); }
.book-card.dark .tz-trigger { color: rgba(255,255,255,.5); }
.book-card.dark .tz-trigger:hover { background: rgba(255,255,255,.08); color: var(--near-white); }
.book-card.dark .tz-dropdown { background: var(--dark); border-color: rgba(255,255,255,.1); box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.book-card.dark .tz-search-wrap { border-bottom-color: rgba(255,255,255,.08); }
.book-card.dark .tz-search { color: var(--near-white); }
.book-card.dark .tz-search::placeholder { color: rgba(255,255,255,.25); }
.book-card.dark .tz-group-label { color: rgba(255,255,255,.3); }
.book-card.dark .tz-option { color: var(--near-white); }
.book-card.dark .tz-option:hover { background: rgba(255,255,255,.06); }
.book-card.dark .tz-option.selected { background: rgba(0,113,227,.15); color: #4da3ff; }
.book-card.dark .tz-option .tz-offset { color: rgba(255,255,255,.3); }
.book-card.dark .bslots-date-label { color: var(--near-white); }
.book-card.dark .bslots-empty {
  color: rgba(255,255,255,.55);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}
.book-card.dark .bslots-empty-icon { color: #4da3ff; background: rgba(0,113,227,.16); }
.book-card.dark .bslot { background: var(--dark); border-color: rgba(255,255,255,.1); color: var(--near-white); }
.book-card.dark .bslot:hover { border-color: #0071e3; color: #4da3ff; background: rgba(0,113,227,.1); }
.book-card.dark .bform-chosen { color: var(--near-white); }
.book-card.dark .bfield label { color: rgba(255,255,255,.4); }
.book-card.dark .bfield input, .book-card.dark .bfield textarea {
  background: var(--dark); border-color: rgba(255,255,255,.1); color: var(--near-white);
}
.book-card.dark .bfield input::placeholder, .book-card.dark .bfield textarea::placeholder { color: rgba(255,255,255,.25); }
.book-card.dark .book-success-title { color: var(--near-white); }
.book-card.dark .book-success-desc { color: rgba(255,255,255,.45); }
/* iPadOS Safari uses the same focus-zoom rule as iPhone Safari. Apply the
   safe editable font size through the complete tablet breakpoint, not only
   after the booking card changes to its single-column phone layout. */
@media(max-width:900px) {
  input,
  select,
  textarea,
  .lang-search-input,
  .tz-search {
    font-size: 16px !important;
  }
  input,
  select,
  textarea,
  .bfield,
  .fg,
  .brow,
  .frow2 {
    min-width: 0;
    max-width: 100%;
  }
}
@media(max-width:760px) {
  .book-card { grid-template-columns: 1fr; }
  .contact-scheduler .book-card { grid-template-columns: 1fr; }
  .contact-scheduler .book-left { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .book-left { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 28px 24px; }
  .book-meeting-title { font-size: 18px; margin-bottom: 20px; }
  .book-panel { padding: 24px 20px; }
  .brow { grid-template-columns: 1fr; }
  .book-right:has(.book-panel[id^="bpanel-form"]:not(.hidden)) { min-height: 560px; }

  .book-panel[id^="bpanel-form"]:not(.hidden) {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
}
@media(max-width:480px) {
  .book-sec { padding: 64px 16px 80px; }
  .book-card { border-radius: 18px; }
}
.cta-sec {
  background: #fff;
  text-align: center;
  padding: 96px 24px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.cta-sec .headline-xl { margin-bottom: 20px; color: #1d1d1f; }
.cta-sec .body-text { margin-bottom: 48px; max-width: 420px; margin-left: auto; margin-right: auto; color: #6e6e73; }
.cta-sec .btn-ghost { color: rgba(0,0,0,.55); border-color: rgba(0,0,0,.15); }
.cta-sec .btn-ghost:hover { border-color: rgba(0,0,0,.35); color: #1d1d1f; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── CONTACT ────────────────────────────── */
.contact-sec { background: #f4f3f6; border-top: 1px solid rgba(0,0,0,.07); padding-top: 80px; }
.contact-layout {
  display: grid; grid-template-columns: 35fr 65fr;
  gap: 56px; align-items: stretch;
}
.contact-info h2 {
  font-size: 28px; font-weight: 700; letter-spacing: -.05em;
  color: #1d1d1f; margin-bottom: 16px;
}
.contact-info p {
  font-size: 16px; font-weight: 300; letter-spacing: -.015em;
  line-height: 1.7; color: #6e6e73; margin-bottom: 40px;
}
.ci-rows { display: flex; flex-direction: column; gap: 16px; }
.ci-office {
  padding: 20px 20px 4px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  scroll-margin-top: 104px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,.035);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.ci-office.office-focus {
  background: #fff;
  border-color: rgba(0,113,227,.28);
  box-shadow: 0 0 0 4px rgba(0,113,227,.08), 0 8px 24px rgba(0,0,0,.05);
}
.ci-office-title { margin: 0 0 2px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: #1d1d1f; }
.ci-office .ci-row:last-child { border-bottom: none; }
.ci-row {
  display: flex; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.08);
}
.ci-row:last-child { border-bottom: none; }
.ci-lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(0,0,0,.42); min-width: 100px; padding-top: 1px; }
.ci-val { font-size: 14px; font-weight: 400; color: #6e6e73; letter-spacing: -.01em; line-height: 1.5; }
.ci-val a { color: var(--blue); }
.soc-row { display: flex; gap: 12px; margin-top: 28px; }
.sb {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,.5); transition: border-color .2s, color .2s;
}
.sb:hover { border-color: rgba(0,0,0,.35); color: #1d1d1f; }
.sb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* FORM */
.contact-scheduler {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.contact-scheduler .book-card {
  margin: 0;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-scheduler .book-left {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid #f0f0f0;
  border-bottom: none;
}
.contact-scheduler .book-right {
  min-width: 0;
  min-height: 300px;
  transition: min-height .22s ease;
}
.contact-scheduler .book-right:has(.bcal-grid.weeks-4) { min-height: 270px; }
.contact-scheduler .book-right:has(.bcal-grid.weeks-6) { min-height: 330px; }
.contact-scheduler .book-panel { padding: 18px; }
.contact-scheduler .book-brand { gap: 8px; margin-bottom: 14px; }
.contact-scheduler .book-logo-wrap { width: 34px; height: 34px; border-radius: 9px; }
.contact-scheduler .book-logo { width: 24px; height: auto; max-height: 24px; }
.contact-scheduler .book-company { font-size: 12px; }
.contact-scheduler .book-title-sm { font-size: 10px; }
.contact-scheduler .book-meeting-title { font-size: 16px; margin-bottom: 14px; }
.contact-scheduler .book-meta { gap: 10px; }
.contact-scheduler .book-meta-item { gap: 8px; font-size: 11.5px; }
.contact-scheduler .bcal-header { margin-bottom: 14px; }
.contact-scheduler .bcal-month { font-size: 14px; }
.contact-scheduler .bcal-nav { gap: 2px; }
.contact-scheduler .bcal-btn { width: 26px; height: 26px; }
.contact-scheduler .bcal-today-btn { height: 26px; padding: 0 9px; font-size: 11px; }
.contact-scheduler .bcal-dow { font-size: 9px; padding-bottom: 6px; }
.contact-scheduler .bcal-day { font-size: 11px; aspect-ratio: auto; min-height: 32px; }
.contact-scheduler .bcal-tz {
  min-height: 24px;
  margin-top: 10px;
  top: -8px;
  font-size: 10px;
}
.contact-scheduler .tz-trigger { font-size: 10px; }
.contact-scheduler .cf-head { margin-bottom: 8px; }
.contact-scheduler .cf-sub { margin-bottom: 24px; }
.contact-scheduler .book-right:has(#bpanel-form2:not(.hidden)) { min-height: 470px; }

@media(max-width:760px) {
  .contact-scheduler .book-right:has(#bpanel-form2:not(.hidden)) { min-height: 560px; }
}
.cf {
  background: var(--near-black);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  padding: 48px 44px;
}
.cf-head {
  font-size: 20px; font-weight: 700; letter-spacing: -.04em;
  color: var(--near-white); margin-bottom: 8px;
}
.cf-sub {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,.4);
  letter-spacing: -.01em; line-height: 1.6; margin-bottom: 32px;
}
.frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 8px; }
.fg input, .fg select, .fg textarea {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--near-white);
  font-size: 15px; font-weight: 300;
  padding: 12px 16px;
  outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); }
.fg textarea { min-height: 100px; resize: vertical; }
.fg select option { background: var(--dark); }
.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.fsub {
  width: 100%; min-height: 54px; padding: 14px 18px;
  background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 500; letter-spacing: -.02em;
  border-radius: 12px; cursor: pointer; margin-top: 0;
  transition: background .2s, transform .2s;
}
.fsub:hover { background: var(--blue-h); transform: scale(1.01); }
.form-response-note {
  margin: -2px 0 0;
  color: rgba(255,255,255,.46);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .01em;
  text-align: center;
}
.ok-msg {
  display: none; margin-top: 14px;
  font-size: 14px; color: var(--green);
  text-align: center; letter-spacing: -.01em;
}

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--near-black);
  border-top: 1px solid rgba(255,255,255,.06);
}
.ft-top {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 64px 28px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(190px, .8fr);
  column-gap: clamp(40px, 5.5vw, 72px);
  row-gap: 36px;
  align-items: start;
}
.ft-brand { min-width: 0; }
.ft-brand-name {
  font-size: 20px; font-weight: 800; letter-spacing: -.06em;
  color: var(--near-white); margin-bottom: 12px; text-transform: uppercase;
}
.ft-brand-logo {
  display: inline-flex;
  align-items: center;
  width: 118px;
  min-height: 34px;
  margin-bottom: 12px;
  padding: 7px 9px;
  border-radius: 5px;
  background: var(--near-white);
}
.ft-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.ft-brand-desc {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,.68);
  letter-spacing: -.01em; line-height: 1.6; max-width: 280px;
}
.ft-top > .ft-col { min-width: 0; }
.ft-col h2 {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
  margin-bottom: 16px;
}
.ft-office-links li + li { margin-top: 12px; }
.ft-brand .ft-office-links {
  width: min(100%, 320px);
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.ft-brand .ft-office-links h2 {
  margin-bottom: 14px;
}
.ft-office-links a {
  position: relative;
  display: block;
  padding-left: 0;
  line-height: 1.45;
}
.ft-office-links a::before {
  content: none;
}
.ft-col li { margin-bottom: 10px; }
.ft-col a {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,.64);
  letter-spacing: -.01em; transition: color .2s;
}
.ft-col li > span {
  display: block; font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,.64); letter-spacing: -.01em;
}
.ft-col a:hover { color: var(--near-white); }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  max-width: 1100px; margin: 0 auto;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.ft-copy { font-size: 12px; color: rgba(255,255,255,.58); letter-spacing: -.01em; }
.ft-legal { display: flex; gap: 20px; }
.ft-legal a { font-size: 12px; color: rgba(255,255,255,.2); transition: color .2s; }
.ft-legal a:hover { color: rgba(255,255,255,.5); }

/* ─── CATEGORY NAV ──────────────────────── */
.cat-nav {
  position: sticky; top: 48px; z-index: 800;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cat-nav-inner {
  width: 100%; max-width: 1600px; margin: 0 auto;
  box-sizing: border-box;
  padding: 0 clamp(16px, 2vw, 32px);
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none;
  scroll-padding-inline: clamp(16px, 2vw, 32px);
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.cat-nav.nav-ready:not(.has-overflow) .cat-nav-inner {
  justify-content: center;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav::before,
.cat-nav::after {
  content: ''; position: absolute; top: 0; bottom: 1px; width: 36px;
  z-index: 2; opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
}
.cat-nav::before { left: 0; background: linear-gradient(to right, rgba(255,255,255,.98), transparent); }
.cat-nav::after { right: 0; background: linear-gradient(to left, rgba(255,255,255,.98), transparent); }
.cat-nav.can-scroll-left::before,
.cat-nav.can-scroll-right::after { opacity: 1; }
.cn-btn {
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  color: rgba(255,255,255,.4);
  padding: 16px 22px; white-space: nowrap;
  border-bottom: 2px solid transparent;
  cursor: pointer; transition: color .2s, border-color .2s;
  flex: 0 0 auto;
  min-width: max-content;
  scroll-snap-align: center;
  text-align: center;
}
.cn-btn:hover { color: rgba(255,255,255,.75); }
.cn-btn.active { color: var(--near-white); border-color: var(--blue); }
.cn-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -4px;
  border-radius: 8px 8px 0 0;
}

/* ─── PRODUCT CATALOG — ALL WHITE ────────── */
.prod-catalog { background: #f5f5f7; }
.prod-section,
.prod-section-alt { background: #f5f5f7; padding: 72px 24px; scroll-margin-top: 60px; }

/* section header */
.prod-sec-head { margin-bottom: 48px; }
.prod-sec-head .headline,
.prod-sec-head .headline-light { color: var(--dark); }
.prod-sec-head .label-dim,
.prod-sec-head .label-dark { color: rgba(0,0,0,.4); }
.prod-sec-head p { color: rgba(0,0,0,.45) !important; }

/* category nav — white */
.cat-nav {
  background: rgba(255,255,255,.9) !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.cn-btn { color: rgba(0,0,0,.45) !important; }
.cn-btn:hover { color: rgba(0,0,0,.8) !important; }
.cn-btn.active { color: var(--dark) !important; border-color: var(--blue); }

/* product grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem-stats,
.cert-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.problem-stats { width: 100%; border-top: 1px solid rgba(0,0,0,.07); }
.cert-stats { gap: 1px; background: rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.06); border-radius: 20px; overflow: hidden; }
.page-hero-products { padding: 80px 24px 48px; }
.page-hero .headline-xl { max-width: 100%; text-wrap: balance; }
.page-hero .body-text { max-width: 100%; text-wrap: pretty; }
.container, .container-sm, .nw, .cat-nav-inner,
.prod-grid > *, .problem-stats > *, .cert-stats > * { min-width: 0; }
.pc-family-header {
  grid-column: 1 / -1;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: none;
  color: rgba(255,255,255,.92);
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255,255,255,.25);
  margin-top: 48px;
  margin-bottom: 8px;
}
.pc-family-header:first-child { margin-top: 0; }
.pc-family-header-light { color: rgba(0,0,0,.85); border-bottom-color: rgba(0,0,0,.15); }

/* product card — uniform white */
.pc {
  background: var(--white);
  padding: 0;
  display: flex; flex-direction: column;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  transition: box-shadow .3s, transform .3s;
  overflow: hidden;
}
.pc:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.pc-light { background: var(--white); }
.pc-light:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12); transform: translateY(-2px); }

/* product image — clean white tile */
.pc-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: #f5f5f7;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 24px;
  mix-blend-mode: multiply;
  /* harmonise mixed product photos: calmer, cohesive tone */
  filter: saturate(.82) contrast(.96) brightness(1.02);
  transition: transform .7s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.pc:hover .pc-img img { transform: scale(1.05); filter: saturate(1) contrast(1) brightness(1); }
.pc-img.ph img {
  object-fit: cover; padding: 0;
  mix-blend-mode: normal;
}

/* text content */
.pc-code {
  padding: 18px 20px 0;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.pc-name {
  font-size: 16px; font-weight: 700; letter-spacing: -.035em;
  color: var(--dark); line-height: 1.25; margin-bottom: 10px;
  padding: 0 20px;
}
.pc-light .pc-name { color: var(--dark); }
.pc-desc {
  font-size: 13px; font-weight: 400; letter-spacing: -.01em;
  line-height: 1.6; color: rgba(0,0,0,.5);
  margin-bottom: 16px; flex: 1;
  padding: 0 20px;
}
.pc-light .pc-desc { color: rgba(0,0,0,.5); }
.pc-tags {
  display: none;
}
.pc-tags span {
  font-size: 11px; font-weight: 500;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(0,0,0,.05); color: rgba(0,0,0,.5);
  letter-spacing: -.005em;
}
.pc-tags-light span { background: rgba(0,0,0,.05); color: rgba(0,0,0,.5); }
.pc-link {
  font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  color: var(--blue); margin-top: auto; cursor: pointer;
  transition: opacity .2s;
  padding: 0 20px 20px;
  display: block;
}
.pc-link:hover { opacity: .7; }
.pc-link-dark { color: var(--blue); }
.pc { cursor: pointer; }

/* RTL languages keep the same page composition as every other language.
   Only the copy changes reading direction; the header, grids, filters and
   controls must never be mirrored or reordered. */
html[data-text-direction="rtl"] [data-i18n] {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: left;
}
/* Components that are intentionally centered keep that composition in every
   language. All other translated blocks use the same left anchor as English. */
html[data-text-direction="rtl"] :is(
  .hero,
  .stat,
  .pl-step,
  .roi-sec,
  .roi-cell,
  .page-hero,
  .news-empty,
  .book-success,
  .cta-sec,
  .case-result-card,
  .case-timeline-step,
  .cn-btn,
  .bcal-grid,
  .bslot,
  [style*="text-align:center"],
  [style*="text-align: center"]
) [data-i18n],
html[data-text-direction="rtl"] [data-i18n][style*="text-align:center"],
html[data-text-direction="rtl"] [data-i18n][style*="text-align: center"] {
  text-align: center;
}
html[data-text-direction="rtl"] [data-i18n-placeholder],
html[data-text-direction="rtl"] input,
html[data-text-direction="rtl"] textarea {
  direction: rtl;
  unicode-bidi: plaintext;
}
/* Language names and the language search are intentionally English. Keep the
   whole selector LTR even while the selected page language uses RTL text. */
html[data-text-direction="rtl"] .lang-menu,
html[data-text-direction="rtl"] .lang-search-wrap,
html[data-text-direction="rtl"] .lang-search-input,
html[data-text-direction="rtl"] .lang-search-input::placeholder {
  direction: ltr !important;
  unicode-bidi: isolate;
  text-align: left !important;
}
html[data-text-direction="rtl"] .prod-sec-head,
html[data-text-direction="rtl"] .pc-family-header,
html[data-text-direction="rtl"] .pc-name,
html[data-text-direction="rtl"] .pc-desc,
html[data-text-direction="rtl"] .pc-link {
  direction: rtl;
  unicode-bidi: plaintext;
  /* Preserve the same visual anchor as English. `direction: rtl` controls
     glyph order only; it must not move the whole content block to the right. */
  text-align: left;
}
html[data-text-direction="rtl"] .pc-code {
  direction: ltr;
  unicode-bidi: isolate;
}
html[data-text-direction="rtl"] .cn-btn {
  flex: 0 0 auto;
  min-width: max-content;
  padding-inline: 22px;
  font-size: 14px;
  font-weight: 600;
}

/* Writing-system normalization
   Apple-style negative tracking is designed for Latin text and can make
   connected or stacked scripts collide. Keep the same component geometry,
   but give every non-Latin writing system safe glyph spacing and line height. */
html[data-writing-system]:not([data-writing-system="latin"]) [data-i18n],
html[data-writing-system]:not([data-writing-system="latin"]) .pc-family-header,
html[data-writing-system]:not([data-writing-system="latin"]) .pc-name,
html[data-writing-system]:not([data-writing-system="latin"]) .pc-desc,
html[data-writing-system]:not([data-writing-system="latin"]) .pc-link,
html[data-writing-system]:not([data-writing-system="latin"]) .pd-name,
html[data-writing-system]:not([data-writing-system="latin"]) .pd-cat-label,
html[data-writing-system]:not([data-writing-system="latin"]) .pd-overview,
html[data-writing-system]:not([data-writing-system="latin"]) .pd-section-title,
html[data-writing-system]:not([data-writing-system="latin"]) .pd-specs,
html[data-writing-system]:not([data-writing-system="latin"]) .pd-features,
html[data-writing-system]:not([data-writing-system="latin"]) .pd-apps,
html[data-writing-system]:not([data-writing-system="latin"]) .case-modal-content {
  letter-spacing: 0 !important;
}
html[data-writing-system="cjk"] [data-i18n],
html[data-writing-system="cjk"] .pc-name,
html[data-writing-system="cjk"] .pc-desc,
html[data-writing-system="cjk"] .pd-right,
html[data-writing-system="cjk"] .case-modal-content {
  word-break: normal;
  line-break: strict;
}
html:is(
  [data-writing-system="arabic"],
  [data-writing-system="indic"],
  [data-writing-system="thai"]
) :is(
  .hero-h1,
  .headline,
  .headline-xl,
  .page-hero h1,
  .case-modal-title,
  .pd-name
) {
  line-height: 1.28 !important;
}
html:is(
  [data-writing-system="cjk"],
  [data-writing-system="cyrillic"],
  [data-writing-system="greek"]
) :is(
  .hero-h1,
  .headline,
  .headline-xl,
  .page-hero h1,
  .case-modal-title,
  .pd-name
) {
  line-height: 1.16 !important;
}
html:is(
  [data-writing-system="arabic"],
  [data-writing-system="indic"],
  [data-writing-system="thai"]
) .pc-name {
  line-height: 1.45;
}
html:is(
  [data-writing-system="arabic"],
  [data-writing-system="indic"],
  [data-writing-system="thai"]
) :is(.pc-desc, .body-text, .case-modal-content, .pd-right) {
  line-height: 1.7;
}
html[data-writing-system="arabic"] :is(
  .pd-name,
  .pd-cat-label,
  .pd-overview,
  .pd-section-title,
  .pd-specs td,
  .pd-features li,
  .pd-apps span,
  .case-modal-kicker,
  .case-modal-title,
  .case-modal-loc,
  .case-modal-summary,
  .case-kv-label,
  .case-kv-value,
  .case-section h4,
  .case-list,
  .case-outcome
) {
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: left;
}

/* ─── PRODUCT DETAIL MODAL (centered popup) ── */
.pd-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 900; opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  will-change: opacity;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.pd-backdrop.open { opacity: 1; pointer-events: all; }
.pd-modal {
  position: relative;
  width: 100%; max-width: 960px; max-height: 90vh;
  background: #141414;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 120px rgba(0,0,0,.8);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: scale(.94) translateY(16px);
  transition: transform .22s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.pd-backdrop.open .pd-modal { transform: scale(1) translateY(0); }
.pd-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center;
  color: #1d1d1f; font-size: 20px; line-height: 1; z-index: 20;
  transition: background .2s, color .2s;
}
.pd-close:hover { background: #fff; color: #000; }

/* ── MODAL LAYOUT: left image col + right content col ── */
.pd-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.pd-left {
  background: #f5f5f7;
  display: flex; flex-direction: column;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.pd-img-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 40px 32px;
  position: relative;
  min-height: 240px;
}
.pd-img-wrap::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid rgba(0,113,227,.16);
  border-top-color: var(--blue);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.pd-img-wrap.is-loading::after {
  opacity: 1;
  animation: pd-image-spin .7s linear infinite;
}
.pd-img-wrap img {
  width: 100%; max-height: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 1;
  visibility: visible;
  transition: opacity .18s ease;
}
.pd-img-wrap.is-loading img {
  opacity: 0;
  visibility: hidden;
}
.pd-img-wrap.is-error img {
  display: none;
}
@keyframes pd-image-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pd-img-wrap.is-loading::after { animation: none; }
}
.pd-left-badges {
  display: none;
}
.pd-left-badges span {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
  background: rgba(0,0,0,.06); color: rgba(0,0,0,.55);
  letter-spacing: -.005em;
}

/* ── RIGHT SCROLL AREA ── */
.pd-right {
  overflow-y: auto; padding: 36px 36px 36px 32px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent;
  display: flex; flex-direction: column; gap: 0;
}
.pd-code {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.pd-name {
  font-size: 26px; font-weight: 800; letter-spacing: -.05em;
  color: #fff; line-height: 1.15; margin-bottom: 4px;
}
.pd-cat-label {
  font-size: 13px; color: rgba(255,255,255,.35); margin-bottom: 20px;
  letter-spacing: -.01em;
}
.pd-divider {
  height: 1px; background: rgba(255,255,255,.07);
  margin: 20px 0;
}
.pd-overview {
  font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.6);
  letter-spacing: -.01em;
}
.pd-section-title {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  margin-bottom: 12px;
}
/* ── SPEC TABLE ── */
.pd-specs {
  width: 100%; border-collapse: collapse;
}
.pd-specs tr { border-bottom: 1px solid rgba(255,255,255,.055); }
.pd-specs tr:last-child { border-bottom: none; }
.pd-specs td {
  padding: 10px 0; font-size: 13px; line-height: 1.45; vertical-align: top;
}
.pd-specs td:first-child {
  color: rgba(255,255,255,.38); width: 42%; padding-right: 16px;
  letter-spacing: -.01em; font-weight: 400;
}
.pd-specs td:last-child { color: rgba(255,255,255,.88); font-weight: 500; }
/* ── FEATURES LIST ── */
.pd-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.pd-features li {
  font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.65);
  padding-left: 18px; position: relative; letter-spacing: -.01em;
}
.pd-features li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--blue); font-weight: 700; font-size: 15px; top: -1px;
}
/* ── APPLICATIONS ── */
.pd-apps {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pd-apps span {
  font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 7px;
  background: rgba(10,132,255,.12); color: var(--blue);
  border: 1px solid rgba(10,132,255,.2);
  letter-spacing: -.01em;
}
/* ── CTA ── */
.pd-cta {
  display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07);
}
.pd-cta-primary {
  flex: 1; min-width: 160px; text-align: center;
  background: var(--blue); color: #fff; border: none;
  padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 600;
  letter-spacing: -.02em; cursor: pointer; transition: opacity .2s;
}
.pd-cta-primary:hover { opacity: .85; }
.pd-cta-ghost {
  flex: 1; min-width: 160px; text-align: center;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.12);
  padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 600;
  letter-spacing: -.02em; cursor: pointer; transition: background .2s;
}
.pd-cta-ghost:hover { background: rgba(255,255,255,.13); }

/* ── MOBILE ── */
@media(max-width:760px) {
  .pd-backdrop {
    padding: 0;
    align-items: flex-end;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .pd-modal {
    max-width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0;
    transform: translateY(40px);
  }
  .pd-backdrop.open .pd-modal { transform: translateY(0); }
  .pd-body { grid-template-columns: 1fr; }
  .pd-left { max-height: 220px; flex-direction: row; background: #f0f0f2; }
  .pd-img-wrap { flex: 1; padding: 20px; }
  .pd-left-badges { border-top: none; border-left: 1px solid rgba(0,0,0,.06); background: transparent; flex-direction: column; justify-content: center; padding: 16px; }
  .pd-right { padding: 24px 20px 32px; }
  .pd-name { font-size: 20px; }
}

/* ─── RESPONSIVE ─────────────────────────── */

/* Avoid collisions between the centered links, CTA and language menu. */
@media(max-width:1180px) {
  .nlinks, .ncta { display: none; }
  .ham { display: flex; }
  .nw { padding-inline: 18px; justify-content: flex-start; }
  .nav-actions { margin-left: auto; gap: 6px; }
  .lang-toggle { margin-left: 0; }
  .ham { margin-left: 2px; }
}

/* Tablet: 960px */
@media(max-width:960px) {
  /* Section padding */
  .sec { padding: 48px 20px; }
  .sec-s { padding: 32px 20px; }

  /* Featured products (card widths are set inline by the carousel JS) */

  /* Numbers grid */
  .numbers-grid { grid-template-columns: 1fr; }
  .num-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 32px 24px 40px; }
  .num-cell:last-child { border-bottom: none; }

  /* Donut / problem */
  .donut-layout { grid-template-columns: 1fr; gap: 48px; }
  .donut-svg-wrap { max-width: 260px; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; gap: 12px; }
  .pillar { padding: 40px 32px; }

  /* Pipeline — stack vertically, hide arrows */
  .pipeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pl-arrow { display: none; }
  .pipeline-label { display: none; }

  /* Product categories */
  .cats-grid { grid-template-columns: 1fr 1fr !important; }
  .cat-card { aspect-ratio: auto; min-height: 220px; }

  /* ROI grid: 2×2 */
  .roi-grid { grid-template-columns: repeat(2,1fr); }
  .roi-cell { border-right: none; border-bottom: 1px solid rgba(0,0,0,.07); }
  .roi-cell:nth-child(odd) { border-right: 1px solid rgba(0,0,0,.07); }
  .roi-cell:nth-child(3),
  .roi-cell:nth-child(4) { border-bottom: none; }

  /* About */
  .diff-grid { grid-template-columns: 1fr; }
  .vals-grid, .vals-grid.light { grid-template-columns: 1fr; }
  .val-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .vals-grid.light .val-cell { border-bottom: 1px solid rgba(0,0,0,.06); }
  .vals-grid.light .val-cell:last-child { border-bottom: none; }

  /* Cases */
  .cases-grid { grid-template-columns: repeat(2,1fr); }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-scheduler .book-card { grid-template-columns: 1fr; }
  .contact-scheduler .book-left { border-right: none; border-bottom: 1px solid #f0f0f0; }

  /* Footer */
  .ft-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ft-brand { grid-column: 1/-1; }

  /* Products page */
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: 768px */
@media(max-width:768px) {
  /* Nav */
  .nav { height: 58px; }
  .nlinks { display: none; }
  .ncta { display: none; }
  .ham { display: flex; }
  .nw { justify-content: flex-start; padding-inline: 16px; }
  .nlogo img { height: 27px; }
  .nav-actions { margin-left: auto; gap: 7px; }
  .lang-toggle {
    min-height: 32px;
    margin-left: 0;
    padding: 7px 12px;
    font-size: 12.5px;
  }
  .lang-toggle svg { width: 13px; height: 13px; }
  .ham {
    width: 36px;
    height: 36px;
    margin-left: 1px;
    padding: 7px;
    justify-content: center;
  }
  .ham span { width: 22px; height: 2px; }
  .cat-nav { top: 58px; }

  /* Sections */
  .sec { padding: 40px 16px; }
  .sec-s { padding: 28px 16px; }

  /* Hero */
  .hero-content { padding: 0 20px 64px; }
  .hero-h1 { font-size: clamp(32px, 9vw, 48px); letter-spacing: -.06em; }
  .hero-sub { font-size: 14px; line-height: 1.6; }
  .btn-primary, .btn-ghost { font-size: 15px; padding: 13px 24px; }
  .hero-actions { gap: 12px; }

  /* Stats band: 2 columns */
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,.07); padding: 20px 16px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(0,0,0,.07); }
  .stat:nth-child(3),
  .stat:nth-child(4) { border-bottom: none; }
  .stat-n { font-size: clamp(28px, 8vw, 40px); }


  /* Pipeline: already stacked, add padding fix */
  .pipeline { gap: 8px; }
  .pl-step { padding: 24px 20px 20px; border-radius: 12px; }

  /* ROI: 2 columns */
  .roi-grid { grid-template-columns: 1fr 1fr; }
  .roi-cell { padding: 32px 16px; }

  /* Feature rows */
  .fr { grid-template-columns: 1fr; min-height: auto; }
  .fr.rev .fr-vis, .fr.rev .fr-txt { order: unset; }
  .fr-vis { min-height: 240px; padding: 40px 24px; }
  .fr-txt { padding: 40px 24px; }

  /* Cases */
  .cases-grid { grid-template-columns: 1fr; }

  /* Contact form */
  .frow2 { grid-template-columns: 1fr; }
  .cf { padding: 28px 20px; border-radius: 16px; }

  /* Products page */
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-section, .prod-section-alt { padding: 48px 16px; }

  /* Product categories */
  .cats-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .ft-top { padding: 48px 16px 32px; }
  .ft-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .ft-legal { flex-wrap: wrap; justify-content: center; }

  /* Headline sizes */
  .headline { font-size: clamp(26px, 7vw, 40px); }
  .headline-xl { font-size: clamp(28px, 8vw, 44px); }
  .pipeline-heading { font-size: clamp(22px, 6vw, 34px); line-height: 1.08; letter-spacing: -.045em; }
  .body-text { font-size: 16px; }

  .page-hero-products { padding: 72px 18px 44px; }
  .problem-stats, .cert-stats { grid-template-columns: 1fr; }
  .problem-stats > div { border-right: 0 !important; border-bottom: 1px solid rgba(0,0,0,.07); padding-inline: 20px !important; }
  .problem-stats > div:last-child { border-bottom: 0; }

  /* CTA section */
  .cta-sec { padding: 64px 20px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { width: 100%; max-width: 320px; text-align: center; }
}

/* Phone layouts: product cards need the full width before the very-small-phone breakpoint. */
@media(max-width:640px) {
  .prod-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* In the compact navigation layout, consultation CTAs can put booking first.
   The regular Contact link keeps office details first. */
@media(max-width:1024px) {
  #page-contact.booking-first .contact-layout > .cf { order: -1; }
}

/* Small mobile: 480px */
@media(max-width:480px) {
  /* Nav logo */
  .nlogo { font-size: 16px; }

  /* Keep the enlarged mobile controls balanced on very narrow phones. */
  .nw { padding-inline: 12px; }
  .nlogo img { height: 24px; }
  .nav-actions { gap: 4px; }
  .lang-toggle { padding-inline: 10px; font-size: 12px; }
  .ham { width: 34px; height: 34px; padding: 6px; }
  .ham span { width: 21px; }

  /* Hero */
  .hero-h1 { font-size: clamp(30px, 10vw, 44px); }
  .hero-sub { font-size: 13px; line-height: 1.55; }

  /* Stats: 2 columns tight */
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-n { font-size: 32px; }

  /* ROI: 2 columns tight */
  .roi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .roi-val { font-size: 28px; }
  .roi-cell { padding: 24px 12px; }

  /* Long translated labels must not widen or clip the three About metrics. */
  .about-stats-row { gap: 12px; }
  .about-stat-item { flex: 1 1 0; min-width: 0; }
  .about-stat-item .num { font-size: 28px; white-space: nowrap; }
  .about-stat-item .lbl { overflow-wrap: anywhere; }

  /* Footer */
  .ft-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 24px; }
  .ft-brand { grid-column: auto; }

  /* Product names and specifications need the full width on phones. */
  .prod-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Section titles */
  .headline { font-size: clamp(24px, 8vw, 36px); }
  .headline-xl { font-size: clamp(26px, 9vw, 40px); }
  .pipeline-heading { font-size: clamp(21px, 5.8vw, 28px); }

  /* Page hero inner pages */
  .page-hero { padding: 88px 16px 48px; }
  .page-hero-products { padding: 68px 16px 40px; }

  /* Pillar */
  .pillar { padding: 32px 24px; }

  /* Remove excessive bottom padding */
  .num-big { font-size: clamp(48px, 14vw, 72px); }
}

/* ─── MOBILE SPECIFIC IMPROVEMENTS ─────────── */
@media(max-width:480px) {
  /* Category nav: readable and easy to tap while remaining horizontally scrollable */
  .cn-btn { font-size: 13px; font-weight: 600; padding: 14px 16px; }

  /* Product card: tighter on small screens */
  .pc-code { font-size: 10px; padding: 12px 14px 0; margin-bottom: 4px; }
  .pc-name { font-size: 13px; padding: 0 14px; margin-bottom: 6px; }
  .pc-desc { font-size: 12px; padding: 0 14px; margin-bottom: 10px; }
  .pc-link { font-size: 12px; padding: 0 14px 14px; }

  /* Modal: full height on small phone */
  .pd-backdrop { padding: 0; align-items: flex-end; }
  .pd-modal {
    max-width: 100%; max-height: 95vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(40px);
  }
  .pd-backdrop.open .pd-modal { transform: translateY(0); }
  .pd-body { grid-template-columns: 1fr; }

  /* Modal image: short strip at top */
  .pd-left {
    max-height: 180px;
    flex-direction: row;
    background: #f0f0f2;
    flex-shrink: 0;
  }
  .pd-img-wrap { flex: 1; padding: 16px; }
  .pd-img-wrap img { max-height: 148px; }

  /* Modal right: tighter padding */
  .pd-right { padding: 20px 16px 32px; gap: 0; }
  .pd-name { font-size: 18px; line-height: 1.2; }

  /* Specs table: stack key on top of value */
  .pd-specs { width: 100%; }
  .pd-specs tr { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .pd-specs tr:last-child { border-bottom: none; }
  .pd-specs td { padding: 0 !important; font-size: 13px; }
  .pd-specs td:first-child { font-size: 11px; margin-bottom: 2px; }

  /* Features list: tighter */
  .pd-features li { font-size: 13px; padding: 6px 0 6px 16px; }
  .pd-features li::before { top: 10px; }
}

/* Touch: remove hover on mobile */
@media(hover:none) {
  .pc:hover { box-shadow: none; transform: none; }
  .pc-link:hover { opacity: 1; }
}

/* Landscape phone */
@media(max-width:768px) and (orientation:landscape) {
  .pd-modal { max-height: 96vh; }
  .pd-left { max-height: 160px; }
}

/* Chrome/iOS uses a smaller dynamic content viewport whenever its top
   translation/address controls are visible. Keep every full-screen surface
   inside that real viewport and below the fixed HEIMAYI navigation bar. */
@media(max-width:760px) {
  :root {
    --mobile-nav-h: 58px;
    --mobile-overlay-gap: 12px;
    --mobile-overlay-side-gap: 8px;
  }

  .nav {
    height: calc(var(--mobile-nav-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .mob {
    inset:
      calc(var(--mobile-nav-h) + env(safe-area-inset-top, 0px))
      0
      0;
    min-height: 0;
    height: auto;
    max-height: calc(100dvh - var(--mobile-nav-h) - env(safe-area-inset-top, 0px));
    padding:
      clamp(20px, 4dvh, 34px)
      16px
      calc(clamp(20px, 4dvh, 34px) + env(safe-area-inset-bottom, 0px));
    gap: clamp(20px, 4dvh, 34px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .hero {
    /* Keep the first screen stable while Chrome expands/collapses its bars. */
    min-height: 100svh;
    height: 100svh;
  }

  .pd-backdrop {
    inset:
      calc(
        var(--mobile-nav-h) +
        env(safe-area-inset-top, 0px)
      )
      0
      0;
    min-height: 0;
    height: auto;
    padding:
      var(--mobile-overlay-gap)
      var(--mobile-overlay-side-gap)
      calc(var(--mobile-overlay-side-gap) + env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }

  .pd-modal {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 18px;
    border: 0;
    overflow: hidden;
  }

  .pd-img-wrap {
    display: grid;
    place-items: center;
  }

  .pd-img-wrap img {
    display: block;
    margin: auto;
    object-position: 50% 50%;
  }

  .pd-right {
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }
}

@media(max-width:480px) and (max-height:700px) {
  .mob {
    justify-content: flex-start;
    gap: 18px;
    padding-top: 24px;
  }
  .mob a { font-size: 22px; }
  .mob-cta { margin-top: 4px; }
  .pd-left { max-height: 145px; }
  .pd-img-wrap { min-height: 120px; padding: 12px; }
  .pd-img-wrap img { max-height: 118px; }
  .pd-right { padding-top: 18px; }
}

