@font-face {
  font-family: 'Inter';
  src: url('./assets/InterVariable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pangea';
  src: url('./assets/Pangea-SemiBold.woff2') format('woff2'),
       url('./assets/Pangea-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pangea';
  src: url('./assets/Pangea-Bold.woff2') format('woff2'),
       url('./assets/Pangea-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pangea Text';
  src: url('./assets/PangeaText-Regular.woff2') format('woff2'),
       url('./assets/PangeaText-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #52525C;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  /* Type scale (7 steps) */
  --fs-hero:     clamp(3rem, 8vw, 6.25rem);
  --fs-tagline:  12px;
  --fs-title:    clamp(2.25rem, 5vw, 3.5rem);
  --fs-subtitle: clamp(1.25rem, 2vw, 1.5rem);
  --fs-lg:       clamp(1.0625rem, 1.5vw, 1.25rem);
  --fs-hero-lead:clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-md:       15px;
  --fs-reg:      13px;

  /* Font families */
  --ff-display: 'Pangea', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Semantic colors */
  --ink:        #0B0E60;
  --ink-dim:    #464886;
  --body-strong:#3C3F75;
  --body:       #52525C;
  --muted:   #85858E;
  --brand:   #1840DA;

  /* Other tokens */
  --dark: #18181B;
  --text: #52525C;
  --light: #F4F4F5;
  --border: #E4E4E7;
  --border-soft: #EEEEF0;
  --blue: #1840DA;
  --blue-hover: #1535B8;
  --darkblue: #0B0E60;
  --white: #FFFFFF;
  --mono: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
  --column: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

/* Skip link — visible on focus only, jumps keyboard users to main content */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transform: translateY(-150%);
  transition: transform 0.15s var(--ease);
  z-index: 999;
}
.skip-link:focus { transform: translateY(0); }

/* ============ Layout primitives ============ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.column { width: 100%; max-width: var(--column); margin: 0 auto; padding: 0 24px; }

section { padding: 48px 0; }
@media (min-width: 1024px) { section { padding: 72px 0; } }

/* Skip rendering of off-screen sections until they scroll into view —
   big paint/layout savings on long pages (Lighthouse perf boost). */
.clients, .context, .usecases, .platform, .industries, .why, .compliance, .proof, .final-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-hero);
  letter-spacing: -0.05em;
  line-height: 0.98;
}
h2 {
  font-size: var(--fs-title);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h3 {
  font-size: var(--fs-lg);
  letter-spacing: -0.015em;
  line-height: 1.35;
}
p { line-height: 1.55; color: var(--body); text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: var(--fs-tagline);
  font-weight: 600;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}
.eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--brand);
  border-radius: 999px;
  flex-shrink: 0;
}

.lead {
  font-size: var(--fs-lg);
  color: var(--body-strong);
  line-height: 1.6;
  max-width: 62ch;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.12s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-soft {
  background: #E8ECFB;
  color: var(--blue);
  border-color: #C6D0F5;
}
.btn-soft:hover { background: #DCE4FA; border-color: #A8B7F0; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  gap: 6px;
  padding-left: 12px;
  padding-right: 12px;
}
.btn-ghost:hover { background: #F5F7FE; }
.btn-ghost svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* Google Calendar scheduling button — restyle to match our ghost button */
.gcal-btn { display: inline-flex; }
.gcal-btn .qxCTlb,
.gcal-btn button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 12px 22px !important;
  min-height: 44px !important;
  border-radius: 8px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: -0.005em !important;
  white-space: nowrap !important;
  background: transparent !important;
  color: var(--blue) !important;
  border: 1px solid #C6D0F5 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.12s var(--ease) !important;
  text-transform: none !important;
}
.gcal-btn .qxCTlb:active,
.gcal-btn button:active { transform: scale(0.96); }
.gcal-btn .qxCTlb:hover,
.gcal-btn button:hover {
  background: #E8ECFB !important;
  color: var(--blue) !important;
  border-color: #A8B7F0 !important;
}
.gcal-btn--inverse .qxCTlb,
.gcal-btn--inverse button {
  background: transparent !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}
.gcal-btn--inverse .qxCTlb:hover,
.gcal-btn--inverse button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
.btn-sm { padding: 8px 16px; min-height: 36px; font-size: 14px; }
.hero-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-video-wrap {
  position: relative;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 24px;
}
.hero-video-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 130%;
  background:
    radial-gradient(ellipse 45% 55% at 20% 40%, rgba(255, 154, 107, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 82% 55%, rgba(79, 110, 224, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 55% at 50% 50%, rgba(138, 93, 214, 0.22) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}
.hero-video {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: linear-gradient(135deg, #F5F7FE 0%, #E8ECFB 100%);
  box-shadow: 0 40px 90px rgba(11, 14, 96, 0.18), 0 10px 30px rgba(11, 14, 96, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.hero-video.playing video { opacity: 1; }
.hero-video-placeholder {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  overflow: hidden;
}
.hero-video-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}
.hero-video-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 96, 0.25) 0%, rgba(11, 14, 96, 0.45) 100%);
}
.hero-video.playing .hero-video-placeholder { opacity: 0; }
.hero-video .hero-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .hero-video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: rgba(255, 255, 255, 0.30); }
}
.hero-video-play:active { transform: translate(-50%, -50%) scale(0.97); }
.hero-video.playing .hero-video-play { opacity: 0; pointer-events: none; }
.hero-video-play {
  width: 84px;
  height: 84px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.30);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(11, 14, 96, 0.25);
  color: #fff;
}
.hero-video-play span { display: none; }
.hero-video-play svg { width: 30px; height: 30px; flex: 0 0 auto; }
@media (max-width: 768px) {
  .hero-video-wrap { margin-top: 56px; }
  .hero-video-play { width: 64px; height: 64px; }
  .hero-video-play svg { width: 22px; height: 22px; }
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: border-color 0.2s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }
body { padding-top: 72px; }
/* Anchor scrolling — content lands ~24px below navbar, consistent across sections.
   scroll-margin-top = 96 − section.padding-top, so scrolled-to content lines up. */
section[id]  { scroll-margin-top: 96px; }
#usecases    { scroll-margin-top: 80px; }
#platform    { scroll-margin-top: 0; }
#industries  { scroll-margin-top: 48px; }
#why         { scroll-margin-top: 48px; }
@media (min-width: 1024px) {
  #usecases  { scroll-margin-top: 72px; }
  #platform  { scroll-margin-top: 0; }
}
@media (max-width: 560px) {
  #usecases  { scroll-margin-top: 84px; }
  #platform  { scroll-margin-top: 40px; }
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  letter-spacing: -0.005em;
  transition: color 0.15s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .site-nav { display: none; }
}
.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 24px;
}
.site-header-inner .logo { grid-column: 1; justify-self: start; }
.site-header-inner .site-nav { grid-column: 2; }
.site-header-inner .site-header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 4px; }
@media (max-width: 860px) {
  .site-header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .site-header .logo { height: 26px; }
  .site-header .btn-sm { padding: 8px 14px; font-size: 13px; min-height: 34px; }
}
.logo {
  display: block;
  height: 34px;
  width: auto;
}

/* ============ Language switcher ============ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 8px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.lang-link {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.lang-link:hover { color: var(--ink); background: rgba(11, 14, 96, 0.04); }
.lang-link.is-active { color: var(--ink); font-weight: 600; }
.lang-sep { color: var(--border); user-select: none; }
@media (max-width: 560px) {
  .lang-switcher { margin-right: 4px; font-size: 12px; }
  .lang-link { padding: 4px 6px; }
}

/* ============ Cookie banner ============ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 96px;
  z-index: 200;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 10px 40px rgba(11, 14, 96, 0.12), 0 2px 6px rgba(11, 14, 96, 0.06);
  font-family: var(--ff-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body);
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  transform: translateY(8px);
  opacity: 0;
  overscroll-behavior: contain;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cookie-banner.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner__text { flex: 1 1 260px; min-width: 220px; }
.cookie-banner__text strong { color: var(--ink); font-weight: 600; }
.cookie-banner__text a { color: var(--blue); text-decoration: underline; }
.cookie-banner__text a:hover { color: var(--blue-hover); }
.cookie-banner__actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  min-height: 34px;
  border-radius: 7px;
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.12s var(--ease);
  white-space: nowrap;
}
.cookie-btn:active { transform: scale(0.96); }
.cookie-btn--primary { background: var(--blue); color: var(--white); }
.cookie-btn--primary:hover { background: var(--blue-hover); }
.cookie-btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.cookie-btn--ghost:hover { background: #F5F7FE; border-color: #C6D0F5; }
@media (max-width: 480px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 88px; padding: 14px 16px; font-size: 13px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1 1 auto; }
}

