/* ═══════════════════════════════════════════════════════════════
   Exceat Lab — public site
   Palette: #02c8f0 cyan · #000a25 navy · #000000 · #4A5568 slate · #ffffff
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/poppins-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/poppins-latin-700-normal.woff2') format('woff2'); }

:root {
  --cyan: #02c8f0;
  --cyan-600: #00a9cc;
  --cyan-050: #e6f9fe;
  --navy: #000a25;
  --navy-800: #071537;
  --navy-700: #0e1f4a;
  --black: #000000;
  --slate: #4A5568;
  --slate-400: #718096;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --line: #e4e9f0;
  --line-dark: rgba(255, 255, 255, .1);
  --ink: #000a25;            /* headings & strong text */
  --surface: #ffffff;        /* cards, inputs, panels */
  --line-strong: #d7dfe9;    /* input borders */
  --track: #e3e9f1;          /* slider/progress tracks */
  --header-bg: rgba(255, 255, 255, .86);
  --app-bg: #f3f6fa;
  --app-bg-glass: rgba(243, 246, 250, .92);
  color-scheme: light;
  --ok: #0f9d6b;
  --warn: #c27c0e;
  --err: #d64545;

  --font: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .8125rem;
  --fs-base: .875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.0625rem;
  --fs-h2: clamp(1.45rem, 1.05rem + 1.6vw, 2.15rem);
  --fs-h1: clamp(1.95rem, 1.2rem + 3vw, 3.15rem);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 10, 37, .06);
  --shadow: 0 10px 30px -12px rgba(0, 10, 37, .18);
  --shadow-lg: 0 30px 60px -24px rgba(0, 10, 37, .35);
  --container: 1180px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.65; color: var(--slate);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  top: 0 !important; /* Google Translate */
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: var(--fs-h1); letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #c7d0e0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: var(--fs-md); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--cyan-600); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--cyan); }
.lead { font-size: var(--fs-md); color: var(--slate); max-width: 62ch; }
.muted { color: var(--slate-400); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  --b: var(--navy); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 11px; border: 1px solid transparent; background: var(--b); color: var(--c);
  font-size: var(--fs-sm); font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; }
.btn--primary { --b: var(--cyan); --c: var(--ink); font-weight: 600; box-shadow: 0 8px 24px -10px rgba(2, 200, 240, .7); }
.btn--primary:hover { --b: #27d3f5; }
.btn--ghost { --b: transparent; --c: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --b: rgba(255, 255, 255, .08); --c: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn--light:hover { --b: rgba(255, 255, 255, .14); }
.btn--sm { height: 34px; padding: 0 12px; font-size: var(--fs-xs); border-radius: 9px; }
.btn--lg { height: 48px; padding: 0 22px; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.link { color: var(--cyan-600); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar { background: var(--navy); color: #a9b5ca; font-size: var(--fs-xs); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 13px; height: 13px; }
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.lang select {
  appearance: none; background: transparent; border: 1px solid rgba(255, 255, 255, .16); color: #e5ebf5; border-radius: 7px;
  padding: 3px 24px 3px 8px; font-size: var(--fs-xs); cursor: pointer;
}
.lang::after { content: ''; position: absolute; right: 9px; top: 50%; width: 5px; height: 5px; border-right: 1.5px solid #9aa6bb; border-bottom: 1.5px solid #9aa6bb; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lang select option { color: #000; }
.show-xs { display: none; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }
@media (max-width: 560px) {
  .topbar .hide-xs { display: none; }
  .topbar .show-xs { display: inline; }
  .topbar__right { gap: 10px; }
  .lang select { max-width: 92px; }
}

/* ── Header / navigation ─────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 10, 37, .35); }
.header .container { display: flex; align-items: center; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; max-width: 220px; object-fit: contain; }
/* Header logo "drops" from the nav bar and overhangs the page (Emirates-style) */
.header .brand { align-self: flex-start; position: relative; z-index: 2; }
.header .brand img { height: 92px; max-width: 260px; filter: drop-shadow(0 10px 18px rgba(0, 10, 37, .28)); transition: height .3s var(--ease), filter .3s; }
.header.is-scrolled .brand img { height: 64px; filter: drop-shadow(0 6px 12px rgba(0, 10, 37, .22)); }
@media (max-width: 760px) {
  .header .brand img { height: 72px; max-width: 180px; }
  .header.is-scrolled .brand img { height: 56px; }
}
.logo-dark-theme { display: none; }
[data-theme="dark"] .logo-has-alt .logo-light-theme { display: none; }
[data-theme="dark"] .logo-has-alt .logo-dark-theme { display: block; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border-radius: 9px; border: 0; background: none;
  color: var(--ink); font-size: var(--fs-sm); font-weight: 500; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current="page"] { background: var(--bg-soft); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { margin-left: auto; display: flex; gap: 8px; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 240px; padding: 8px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: var(--fs-sm); }
.dropdown a small { color: var(--slate-400); font-weight: 400; font-size: var(--fs-xs); }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown--mega { width: min(640px, 90vw); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; left: -120px; }
.dropdown--mega .dropdown__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px; margin-top: 6px; border-top: 1px solid var(--line); }
.dropdown--mega .dropdown__foot a { flex-direction: row; padding: 0; }
.dropdown--mega .dropdown__foot a:hover { background: none; text-decoration: underline; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; color: var(--ink); }

@media (max-width: 1060px) {
  .nav, .nav__cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 10, 37, .5); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: var(--surface); padding: 20px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 4px;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer a.drawer__link { padding: 12px 10px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.drawer a.drawer__link:hover { background: var(--bg-soft); }
.drawer details summary { padding: 12px 10px; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.drawer details summary::-webkit-details-marker { display: none; }
.drawer details a { display: block; padding: 8px 10px 8px 22px; color: var(--slate); font-size: var(--fs-sm); }
.drawer__cta { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; }
body.no-scroll { overflow: hidden; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #c3cde0; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2, 200, 240, .35), rgba(2, 200, 240, 0));
}
.hero h1 { color: #fff; }
.hero h1.h1--product { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.6rem); }
.hero h1 .accent { background: linear-gradient(90deg, var(--cyan), #8be9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__grid > * { min-width: 0; }
.hero__sub { font-size: var(--fs-md); max-width: 52ch; color: #b6c2d8; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; font-size: var(--fs-xs);
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #dbe4f3; margin-bottom: 20px;
}
.pill b { background: var(--cyan); color: var(--ink); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); justify-content: start; }
.stat strong { display: block; font-size: 1.5rem; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.stat span { font-size: var(--fs-xs); color: #8e9bb4; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, auto); }
}

.page-hero { background: var(--navy); color: #b9c4d9; position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 7vw, 88px) 0 clamp(44px, 5vw, 64px); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% -10%, rgba(2, 200, 240, .3), transparent 70%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { font-size: var(--fs-md); max-width: 60ch; }
.crumbs { display: flex; gap: 8px; font-size: var(--fs-xs); color: #8e9bb4; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* ── Featured slider (scroll-snap, swipeable) ────────────── */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { scroll-snap-align: start; }
.slider__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.slider__dots { display: flex; gap: 6px; }
.slider__dot { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .25); cursor: pointer; transition: width .25s var(--ease), background .25s; }
.slider__dot[aria-current="true"] { width: 26px; background: var(--cyan); }
.section:not(.section--dark) .slider__dot { background: var(--line-strong); }
.section:not(.section--dark) .slider__dot[aria-current="true"] { background: var(--navy); }
.slider__arrows { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .14); }
.icon-btn svg { width: 18px; height: 18px; }
.section:not(.section--dark) .icon-btn, .icon-btn--light { border-color: var(--line); background: var(--surface); color: var(--ink); }

.feature-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .1); aspect-ratio: 16 / 11; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-card:hover img { transform: scale(1.03); }
.feature-card__body { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(transparent, rgba(0, 10, 37, .92) 45%); color: #c9d3e5; }
.feature-card__body h3 { color: #fff; font-size: 1.25rem; margin-bottom: 4px; }
.feature-card__body p { margin: 0 0 10px; font-size: var(--fs-sm); max-width: 48ch; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: rgba(2, 200, 240, .14); color: var(--cyan); margin-bottom: 8px; align-self: flex-start; width: fit-content; max-width: 100%; }
.tag--light { background: var(--cyan-050); color: var(--cyan-600); }

.showcase-slider .slider__track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; }
@media (max-width: 960px) { .showcase-slider .slider__track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .showcase-slider .slider__track { grid-auto-columns: 86%; } }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 150px; width: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Cards ───────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
a.card:hover { transform: translateY(-2px); }
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.card--dark { background: var(--navy-800); border-color: rgba(255, 255, 255, .08); color: #b9c4d9; }
.card--dark:hover { border-color: rgba(2, 200, 240, .4); box-shadow: none; }
.ico { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--cyan-050); color: var(--cyan-600); margin-bottom: 16px; }
.ico svg { width: 21px; height: 21px; }
.card--dark .ico { background: rgba(2, 200, 240, .12); color: var(--cyan); }
.num { font-size: var(--fs-xs); font-weight: 600; color: var(--cyan-600); letter-spacing: .1em; margin-bottom: 14px; display: block; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento > :first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color: #b9c4d9; border: 0; position: relative; overflow: hidden; }
.bento > :first-child::after { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 200, 240, .35), transparent); }
.bento > :first-child h3 { color: #fff; font-size: 1.35rem; }
.bento > :first-child .ico { background: rgba(2, 200, 240, .15); color: var(--cyan); }
.bento > :nth-child(4) { grid-column: span 2; }
.bento > :nth-child(5) { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.bento > :nth-child(5) .ico { display: none; }
.bento > :nth-child(5) h3 { margin: 0; }
.bento > :nth-child(5) .chips { margin: 0 !important; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento > :first-child { grid-row: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento > * { grid-column: auto !important; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; flex-direction: column; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); min-width: 170px; }
.chip strong { color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.chip span { font-size: var(--fs-xs); color: var(--slate-400); }

/* Product cards (collection) */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; height: 100%; }
.product-card__media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__body p { font-size: var(--fs-sm); flex: 1; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); font-size: var(--fs-xs); }
.price-from { color: var(--ink); font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--bg-soft); color: var(--slate); }
.badge--cyan { background: var(--cyan-050); color: var(--cyan-600); }
.badge--navy { background: var(--navy); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-xs); font-weight: 500; color: var(--ink); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--ink); }
.search { position: relative; max-width: 320px; flex: 1; margin-left: auto; }
.search input { width: 100%; height: 34px; border-radius: 99px; border: 1px solid var(--line); padding: 0 14px 0 34px; font-size: var(--fs-xs); }
.search svg { position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); color: var(--slate-400); }

/* ── Calculators (drag) ──────────────────────────────────── */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.calc__inputs { padding: clamp(22px, 3vw, 34px); display: grid; gap: 22px; align-content: start; }
.calc__result { padding: clamp(22px, 3vw, 34px); background: var(--navy); color: #b9c4d9; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.calc__result::after { content: ''; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 200, 240, .3), transparent); }
.calc__result h3 { color: #fff; }
.calc__big { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc__big small { font-size: var(--fs-sm); color: #8e9bb4; font-weight: 400; letter-spacing: 0; }
.calc__rows { display: grid; gap: 8px; font-size: var(--fs-sm); border-top: 1px solid var(--line-dark); padding-top: 14px; }
.calc__rows div { display: flex; justify-content: space-between; gap: 12px; }
.calc__rows strong { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc__note { font-size: var(--fs-xs); color: #8291ab; margin-top: auto; position: relative; z-index: 1; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.field-label output { font-weight: 600; color: var(--cyan-600); font-variant-numeric: tabular-nums; }
.range { --pct: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: grab; touch-action: pan-y; }
.range:active { cursor: grabbing; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--cyan) var(--pct), var(--track) var(--pct)); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--track); }
.range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--cyan); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 4px 12px rgba(0, 10, 37, .25); transition: transform .15s; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 4px 12px rgba(0, 10, 37, .25); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(2, 200, 240, .35); }
.range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--slate-400); margin-top: 2px; }

.segmented { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.segmented button { height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; font-size: var(--fs-xs); font-weight: 500; color: var(--slate); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-xs); font-weight: 500; color: var(--ink); cursor: pointer; user-select: none; }
.toggle input { accent-color: var(--cyan-600); }
.toggle:has(input:checked) { border-color: var(--cyan); background: var(--cyan-050); }

/* ── Testimonials ────────────────────────────────────────── */
.quote { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.quote blockquote { margin: 0; color: var(--ink); font-size: var(--fs-base); line-height: 1.7; flex: 1; }
.quote blockquote::before { content: '“'; display: block; font-size: 2.6rem; line-height: .6; color: var(--cyan); font-weight: 600; margin-bottom: 8px; }
.person { display: flex; align-items: center; gap: 12px; }
.person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); }
.person strong { display: block; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.person span { font-size: var(--fs-xs); color: var(--slate-400); }
.stars { display: flex; gap: 2px; color: #f5b301; }
.stars svg { width: 14px; height: 14px; }

/* ── Team ────────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.member { position: relative; text-align: center; padding: 26px 18px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.member__photo { width: 104px; height: 104px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, var(--cyan-050), var(--track)); box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line); display: flex; align-items: center; justify-content: center; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member__photo span { font-weight: 600; font-size: 1.5rem; color: var(--cyan-600); }
.member h3 { font-size: var(--fs-base); margin-bottom: 2px; }
.member p { margin: 0; font-size: var(--fs-xs); }
.member .region { color: var(--cyan-600); font-weight: 500; margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; }
.member .region svg { width: 12px; height: 12px; }
.member__in { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--slate-400); }
.member__in:hover { color: #0a66c2; background: var(--bg-soft); }
.member__in svg { width: 14px; height: 14px; }

/* ── Split / media ───────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.media-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.media-stack img { border-radius: 14px; border: 1px solid var(--line); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.media-stack img:first-child { grid-column: span 2; aspect-ratio: 16 / 7; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 18px; height: 18px; color: var(--cyan-600); flex-shrink: 0; margin-top: 2px; }
.section--dark .check-list svg { color: var(--cyan); }

/* ── Pricing ─────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.plan--hl { background: var(--navy); color: #b9c4d9; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan--hl h3, .plan--hl .plan__price { color: #fff; }
.plan__flag { position: absolute; top: -11px; left: 24px; background: var(--cyan); color: var(--ink); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.plan__price { font-size: 1.85rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: var(--fs-sm); font-weight: 400; color: var(--slate-400); letter-spacing: 0; }
.plan__price s { font-size: var(--fs-sm); color: var(--slate-400); font-weight: 400; margin-left: 6px; }
.plan__note { font-size: var(--fs-xs); min-height: 2.4em; }
.plan .check-list { margin: 16px 0 22px; font-size: var(--fs-sm); flex: 1; }
.tabs { display: flex; justify-content: center; margin-bottom: 28px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-base); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.2rem; line-height: 1; color: var(--cyan-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 16px; font-size: var(--fs-sm); }

/* ── Forms ───────────────────────────────────────────────── */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.field label .opt { color: var(--slate-400); font-weight: 400; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: var(--fs-base); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(2, 200, 240, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__error { font-size: var(--fs-xs); color: var(--err); }
.field__hint { font-size: var(--fs-xs); color: var(--slate-400); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); line-height: 1.6; }
.consent input { margin-top: 3px; accent-color: var(--cyan-600); width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--cyan-600); text-decoration: underline; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.alert { padding: 12px 14px; border-radius: 11px; font-size: var(--fs-sm); border: 1px solid; }
.alert--error { background: #fdf1f1; border-color: #f4caca; color: #8f2626; }
.alert--success { background: #edf9f4; border-color: #bfe8d6; color: #0b6b49; }
.alert--info { background: var(--cyan-050); border-color: #b5ecfa; color: #035a6d; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.radio-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); cursor: pointer; font-size: var(--fs-sm); color: var(--ink); font-weight: 500; transition: border-color .15s, background .15s; }
.radio-card small { font-weight: 400; color: var(--slate-400); font-size: 11px; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card:has(input:checked) { border-color: var(--cyan); background: var(--cyan-050); box-shadow: 0 0 0 3px rgba(2, 200, 240, .15); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps span.on { background: var(--cyan); }

/* ── Info list / contact ─────────────────────────────────── */
.info-list { list-style: none; display: grid; gap: 4px; }
.info-list li a, .info-list li > div { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; transition: background .2s; }
.info-list li a:hover { background: var(--bg-soft); }
.info-list .ico { margin: 0; flex-shrink: 0; }
.info-list strong { display: block; color: var(--ink); font-weight: 500; font-size: var(--fs-sm); }
.info-list span { font-size: var(--fs-xs); color: var(--slate-400); }

/* ── Steps / timeline ────────────────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.timeline > div { position: relative; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.timeline > div::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--cyan); font-weight: 600; font-size: var(--fs-sm); margin-bottom: 14px; }
.section--dark .timeline > div { background: var(--navy-800); border-color: rgba(255, 255, 255, .08); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } }

/* ── Legal pages ─────────────────────────────────────────── */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: var(--fs-xs); display: grid; gap: 2px; }
.legal__toc a { padding: 6px 10px; border-radius: 8px; color: var(--slate); border-left: 2px solid transparent; }
.legal__toc a:hover { background: var(--bg-soft); color: var(--ink); }
.prose { max-width: 760px; font-size: var(--fs-base); }
.prose h2 { font-size: 1.2rem; margin-top: 2em; padding-top: .5em; }
.prose h3 { font-size: 1rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { color: var(--cyan-600); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin: 0 0 1.2em; }
.prose th, .prose td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--bg-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-size: var(--fs-sm); margin-bottom: 1.5em; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; display: none; } }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); background: var(--navy); color: #b9c4d9; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 100% 0%, rgba(2, 200, 240, .35), transparent 70%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px; }
.cta-band h2 { color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--bg-soft); color: var(--slate); font-size: var(--fs-sm); padding: 64px 0 28px; border-top: 1px solid var(--line); position: relative; }
.footer a:hover { color: var(--cyan-600); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer h4 { color: var(--ink); font-size: var(--fs-sm); font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer__brand img { height: 96px; width: auto; max-width: 260px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 10, 37, .22)); }
/* Footer logo hangs from the footer's top edge, mirroring the header */
.footer__brand .logo { margin: -65px 0 20px; }
@media (max-width: 760px) { .footer__brand img { height: 76px; } .footer__brand .logo { margin-top: -65px; } }
.footer__brand p { max-width: 36ch; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.footer__social svg { width: 16px; height: 16px; }
.footer__regions { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 24px 0; margin-top: 40px; border-top: 1px solid var(--line); font-size: var(--fs-xs); }
.footer__regions strong { color: var(--ink) !important; }
.footer__regions span { display: inline-flex; align-items: center; gap: 6px; }
.footer__regions span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-xs); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer .btn--light { --b: var(--surface); --c: var(--ink); border-color: var(--line-strong); }
[data-theme="dark"] .footer { background: #020713; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: inherit; }
.linklike:hover { color: var(--cyan-600); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ── Cookie consent ──────────────────────────────────────── */
.consent-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(420px, calc(100vw - 32px)); padding: 20px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: var(--fs-xs); display: none;
}
.consent-open .ai-launch { visibility: hidden; }
.consent-bar.is-open { display: block; animation: rise .35s var(--ease); }
.consent-bar h2 { font-size: var(--fs-base); margin-bottom: 6px; }
.consent-bar p { margin-bottom: 12px; }
.consent-bar a { color: var(--cyan-600); text-decoration: underline; }
.consent-bar__opts { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border-radius: 10px; background: var(--bg-soft); }
.consent-bar__opts label { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.consent-bar__opts small { display: block; color: var(--slate-400); font-weight: 400; }
.consent-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-bar__actions .btn { flex: 1; }
.switch { position: relative; width: 38px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line-strong); transition: background .2s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: var(--surface); transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--cyan-600); }
.switch input:checked + span::before { transform: translateX(16px); }
.switch input:disabled + span { opacity: .6; cursor: not-allowed; }
.switch input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ── Exceat AI assistant ─────────────────────────────────── */
.ai-launch {
  position: fixed; right: 18px; bottom: 18px; z-index: 85; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 8px;
  border-radius: 99px; border: 1px solid rgba(255,255,255,.12); background: var(--navy); color: #fff; cursor: pointer; font-size: var(--fs-sm); font-weight: 500;
  box-shadow: 0 16px 40px -12px rgba(0, 10, 37, .55); transition: transform .2s var(--ease), box-shadow .2s;
}
.ai-launch:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(2, 200, 240, .5); }
.ai-launch__orb { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: conic-gradient(from 210deg, var(--cyan), #7ae7ff, #0e6cff, var(--cyan)); color: var(--ink); position: relative; }
.ai-launch__orb::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(2, 200, 240, .5); animation: pulse 2.4s ease-out infinite; }
.ai-launch__orb svg { width: 18px; height: 18px; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 560px) { .ai-launch { padding: 0 7px; } .ai-launch__label { display: none; } }
.ai-panel {
  position: fixed; right: 18px; bottom: 82px; z-index: 86; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100vh - 110px));
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0, 10, 37, .45);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .22s, transform .25s var(--ease), visibility .22s;
}
.ai-panel.is-open { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 560px) { .ai-panel { right: 12px; left: 12px; width: auto; bottom: 78px; height: calc(100vh - 100px); } }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: #b9c4d9; }
.ai-head .ai-launch__orb { width: 34px; height: 34px; }
.ai-head .ai-launch__orb::after { display: none; }
.ai-head strong { color: #fff; font-weight: 600; font-size: var(--fs-sm); display: block; }
.ai-head span { font-size: 11px; display: inline-flex; align-items: center; gap: 6px; }
.ai-head span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2bd98b; }
.ai-head .icon-btn { margin-left: auto; width: 34px; height: 34px; }
.ai-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, var(--bg-soft), #fff 120px); scroll-behavior: smooth; }
.ai-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: var(--fs-sm); line-height: 1.6; word-wrap: break-word; }
.ai-msg p { margin: 0 0 .5em; } .ai-msg p:last-child { margin: 0; }
.ai-msg ul { margin: .3em 0 .5em; padding-left: 1.1em; }
.ai-msg a { color: var(--cyan-600); text-decoration: underline; font-weight: 500; }
.ai-msg--bot { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.ai-msg--me { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ai-msg--err { background: #fdf1f1; border: 1px solid #f4caca; color: #8f2626; align-self: flex-start; }
.ai-typing { display: inline-flex; gap: 4px; padding: 14px; }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400); animation: blink 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .15s; } .ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 11px; font-size: 12px; color: var(--ink); cursor: pointer; }
.ai-chips button:hover { border-color: var(--cyan); background: var(--cyan-050); }
.ai-foot { border-top: 1px solid var(--line); padding: 10px; background: var(--surface); }
.ai-form { display: flex; gap: 8px; align-items: flex-end; }
.ai-form textarea { flex: 1; resize: none; max-height: 120px; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; font-size: var(--fs-sm); line-height: 1.4; }
.ai-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(2, 200, 240, .15); }
.ai-form .btn { width: 42px; height: 42px; padding: 0; flex-shrink: 0; }
.ai-legal { font-size: 10.5px; color: var(--slate-400); margin: 8px 2px 0; line-height: 1.45; }
.ai-legal a { text-decoration: underline; }

/* ── Instant navigation progress bar ─────────────────────── */
.nav-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--cyan), #7ae7ff); box-shadow: 0 0 10px rgba(2, 200, 240, .7); opacity: 0; pointer-events: none; }
.nav-progress.run { opacity: 1; width: 75%; transition: width 2.5s cubic-bezier(.1, .7, .2, 1); }
.nav-progress.done { opacity: 0; width: 100%; transition: width .2s ease, opacity .35s ease .15s; }
main#main:focus { outline: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

/* ── Misc ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.flags { max-width: 520px; width: 100%; }
.video-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; cursor: zoom-in; }
.gallery figcaption { padding: 8px 12px; font-size: var(--fs-xs); }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0, 10, 37, .9); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 18px; right: 18px; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--slate-400); }
.cal-frame { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.kbd-copy { display: flex; align-items: center; gap: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════════════
   Dark theme — toggled from the top bar, remembered per browser
   ═══════════════════════════════════════════════════════════════ */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #030919;
  --bg-soft: #071129;
  --surface: #0b1733;
  --ink: #eef3fb;
  --slate: #aeb9cd;
  --slate-400: #7f8ca6;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --track: rgba(255, 255, 255, .12);
  --cyan-050: rgba(2, 200, 240, .12);
  --cyan-600: #3fd6f5;
  --header-bg: rgba(3, 9, 25, .86);
  --app-bg: #030919;
  --app-bg-glass: rgba(3, 9, 25, .9);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
}
[data-theme="dark"] .btn:not(.btn--primary):not(.btn--ghost):not(.btn--light):not(.btn--danger) { --b: #e6edf7; --c: #000a25; }
[data-theme="dark"] .btn--danger { --b: transparent; --c: #ff8f8f; border-color: rgba(255, 120, 120, .35); }
[data-theme="dark"] .hero, [data-theme="dark"] .page-hero { border-bottom: 1px solid var(--line); }
[data-theme="dark"] .section--dark, [data-theme="dark"] .cta-band, [data-theme="dark"] .calc__result, [data-theme="dark"] .plan--hl { background: #071538; }
[data-theme="dark"] .bento > :first-child { background: linear-gradient(160deg, #071538 0%, #0e2257 100%); }
[data-theme="dark"] .card--dark { background: #0b1a40; }
[data-theme="dark"] .alert--error { background: rgba(214, 69, 69, .12); border-color: rgba(214, 69, 69, .35); color: #ffb3b3; }
[data-theme="dark"] .alert--success { background: rgba(15, 157, 107, .12); border-color: rgba(15, 157, 107, .35); color: #8ee9c4; }
[data-theme="dark"] .alert--info { background: rgba(2, 200, 240, .1); border-color: rgba(2, 200, 240, .3); color: #a9eefc; }
[data-theme="dark"] .badge { background: rgba(255, 255, 255, .08); color: var(--slate); }
[data-theme="dark"] .badge--navy { background: var(--cyan); color: #000a25; }
[data-theme="dark"] .segmented button[aria-pressed="true"] { background: var(--surface); }
[data-theme="dark"] .filter[aria-pressed="true"] { background: var(--cyan); color: #000a25; border-color: var(--cyan); }
[data-theme="dark"] .ai-msg--me { background: var(--cyan); color: #000a25; }
[data-theme="dark"] .ai-msg--err { background: rgba(214, 69, 69, .12); border-color: rgba(214, 69, 69, .35); color: #ffb3b3; }
[data-theme="dark"] .timeline > div::before { background: var(--cyan); color: #000a25; }
[data-theme="dark"] .member__photo { background: linear-gradient(180deg, #0e1d42, #0b1733); }
[data-theme="dark"] .notice { background: var(--surface); }
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color: #66748f; }
[data-theme="dark"] select option { background: #0b1733; color: #eef3fb; }
[data-theme="dark"] .range::-webkit-slider-thumb { background: #0b1733; border-color: var(--cyan); }
[data-theme="dark"] .range::-moz-range-thumb { background: #0b1733; border-color: var(--cyan); }


/* Theme toggle */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 26px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #e5ebf5; cursor: pointer; padding: 0; }
.theme-toggle:hover { background: rgba(255, 255, 255, .08); }
.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* Google Translate — hide injected UI (from the provided snippet) */
a.gflag img { border: 0; }
#goog-gt-tt, .goog-te-banner-frame, .skiptranslate iframe, .VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
.goog-te-menu-value:hover { text-decoration: none !important; }
#google_translate_element2 { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ── Software logo carousel ─────────────────────────────── */
.logos { padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.logos__label { text-align: center; font-size: var(--fs-xs); color: var(--slate-400); margin-bottom: 16px; letter-spacing: .02em; }
.logos .marquee__track { gap: 12px; animation-duration: 45s; }
.logo-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; transition: border-color .2s, transform .2s var(--ease); }
.logo-pill:hover { border-color: var(--cyan); transform: translateY(-2px); }
.logo-pill__icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.logo-pill__icon img { display: block; width: 100%; height: 100%; object-fit: cover; padding: 0; margin: 0; }
.logo-pill__icon--mono { border: 0; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.logo-pill strong { display: block; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; }
.logo-pill small { display: block; color: var(--slate-400); font-size: 11px; }

/* ── Generated product mockup ───────────────────────────── */
.mock { position: relative; padding: 10px 40px 40px 0; }
.mock__browser { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.mock__bar i:nth-child(2) { background: #ffc94d; } .mock__bar i:nth-child(3) { background: #3ed598; }
.mock__bar span { margin-left: 10px; flex: 1; font-size: 10.5px; color: var(--slate-400); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__app { display: grid; grid-template-columns: 110px 1fr; min-height: 300px; }
.mock__side { background: var(--navy); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock__side b { width: 60%; height: 10px; border-radius: 4px; background: var(--cyan); margin: 2px 6px 12px; }
.mock__side span { font-size: 10.5px; color: #8e9bb4; padding: 6px 8px; border-radius: 6px; }
.mock__side span.on { background: rgba(2, 200, 240, .16); color: #fff; }
.mock__main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.mock__kpis small, .mock__chart small { display: block; font-size: 9.5px; color: var(--slate-400); }
.mock__kpis strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.mock__kpis em { font-style: normal; font-size: 9.5px; color: var(--ok); font-weight: 600; }
.mock__chart { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock__bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-top: 8px; }
.mock__bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--cyan), rgba(2, 200, 240, .35)); }
.mock__rows { display: grid; gap: 6px; }
.mock__rows div { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink); padding: 7px 10px; border-radius: 8px; background: var(--bg-soft); }
.mock__rows .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.mock__rows .pill { margin-left: auto; font-size: 9.5px; font-weight: 600; color: var(--ok); background: rgba(15, 157, 107, .12); padding: 2px 8px; border-radius: 99px; }
.mock__phone { position: absolute; right: 0; bottom: 0; width: 150px; padding: 22px 12px 14px; border-radius: 24px; background: var(--navy); border: 6px solid #0e1f4a; box-shadow: var(--shadow-lg); color: #b9c4d9; }
.mock__notch { position: absolute; top: 6px; left: 50%; width: 46px; height: 6px; border-radius: 6px; background: #0e1f4a; transform: translateX(-50%); }
.mock__phone small { font-size: 9.5px; color: #8e9bb4; display: block; }
.mock__phone strong { display: block; font-size: 13px; color: #fff; margin-bottom: 8px; }
.mock__item { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.mock__item b { font-size: 9.5px; color: var(--cyan); font-weight: 600; }
.mock__item span { flex: 1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.mock__item i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #8e9bb4; }
.mock__item i.ok { background: #3ed598; border-color: #3ed598; }
.mock__badge { position: absolute; left: -14px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--cyan); color: var(--navy); font-size: 12px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(2, 200, 240, .7); }
.mock__badge svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .mock { padding-right: 20px; } .mock__app { grid-template-columns: 1fr; } .mock__side { display: none; } .mock__phone { width: 120px; } .mock__badge { left: 0; } }

/* Smaller flags */
.flags { max-width: 300px; width: 100%; }


/* Product feature grid: compact, 4 per row */
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.features-grid .card { padding: 18px; }
.features-grid .ico { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px; }
.features-grid .ico svg { width: 16px; height: 16px; }
.features-grid h3 { font-size: var(--fs-sm); margin-bottom: 4px; }
.features-grid p { font-size: var(--fs-xs); line-height: 1.55; margin: 0; }
@media (max-width: 1100px) { .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }

/* Product logo on single software page: no frame, padding or margin */
.product-logo { display: block; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; padding: 0; margin: 0; background: none; flex-shrink: 0; }

/* ── v2.3: icon-first product cards ───────────────────────── */
.product-card { padding: 0; position: relative; isolation: isolate; }
.product-card::before { content: ''; position: absolute; z-index: -1; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 200, 240, .16), transparent); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.product-card:hover::before { opacity: 1; }
.product-card:hover { border-color: rgba(2, 200, 240, .55); }
.product-card__body { padding: 22px; }
.product-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.product-card__top .tag { margin: 0; align-self: center; }
.product-card h3 { margin-bottom: 6px; }

.p-icon { display: inline-flex; flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px -10px rgba(0, 10, 37, .45), 0 0 0 1px rgba(0, 10, 37, .06); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.p-icon img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; padding: 0; }
.p-icon__mono { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.p-icon--sm { width: 38px; height: 38px; border-radius: 11px; }
.p-icon--sm .p-icon__mono { font-size: 14px; }
.product-card:hover .p-icon { transform: translateY(-3px) rotate(-3deg); box-shadow: 0 14px 28px -12px rgba(2, 200, 240, .6), 0 0 0 1px rgba(2, 200, 240, .3); }
[data-theme="dark"] .p-icon { box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }

/* ── Product overview without video: full width ─────────── */
.prose--wide { max-width: none; }

/* ── Logo strip: monochrome until hover ─────────────────── */
.logo-pill__icon { filter: grayscale(1); opacity: .7; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.logo-pill strong { transition: color .3s; }
.logo-pill:hover .logo-pill__icon, .logo-pill:focus-visible .logo-pill__icon { filter: none; opacity: 1; }

/* ── Hero globe ──────────────────────────────────────────── */
.globe-wrap { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; }
.globe-wrap::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 200, 240, .22), rgba(2, 200, 240, 0) 75%); filter: blur(18px); z-index: 0; }
.globe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.globe:active { cursor: grabbing; }
.globe-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 14px; background: rgba(0, 10, 37, .62); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #c9d3e5; white-space: nowrap; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); animation: globe-float 6s ease-in-out infinite; transition: border-color .25s, transform .25s; }
.globe-chip:hover { border-color: var(--cyan); }
.globe-chip strong { display: block; color: #fff; font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; }
.globe-chip small { display: block; font-size: 11px; color: #93a3bf; }
.globe-chip--1 { top: 10%; left: -2%; }
.globe-chip--2 { top: 28%; right: -4%; animation-delay: -1.5s; }
.globe-chip--3 { bottom: 20%; left: 2%; animation-delay: -3s; }
.globe-chip--4 { bottom: 6%; right: 6%; animation-delay: -4.5s; }
@keyframes globe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .globe-chip { animation: none; } }
@media (max-width: 960px) { .globe-wrap { max-width: 420px; } }
@media (max-width: 520px) { .globe-chip { padding: 5px 10px 5px 5px; } .globe-chip small { display: none; } .globe-chip--1 { left: 0; } .globe-chip--2 { right: 0; } }
