/* ==========================================================================
   VEXA IMAGING — landing page
   Concept: Premium Dark Hero. Tokens follow PRD §9.2.
   ========================================================================== */

/* ---- Inter (self-hosted variable font, latin subset, 48 KB) ------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* brand palette (PRD §9.2) */
  --navy-900: #080D16;
  --navy-800: #101827;
  --navy-700: #0B1220;
  --surface: #192335;
  --surface-dark: #0F1827;

  --cyan: #35D7D5;
  --teal: #13BFAE;
  --blue: #1678D2;
  /* darker teal for small text on light surfaces (WCAG AA: 5.0-5.3:1) */
  --teal-ink: #07796F;

  --light-bg: #F7F9FC;
  --white: #FFFFFF;
  --ink: #172033;
  --ink-2: #667085;
  --border: #E4E8EF;

  /* dark-theme text */
  --d-text: #E9EFF7;
  --d-text-2: #A3B0C2;
  --d-text-3: #7C8AA0;
  --d-line: rgba(255, 255, 255, .09);

  --container: 1240px;
  --gutter: clamp(20px, 4.4vw, 40px);
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 76px;

  --grad: linear-gradient(115deg, var(--teal) 0%, var(--cyan) 48%, #4FB6F0 100%);
  --ease: cubic-bezier(.22, .68, .15, 1);
  --shadow-lg: 0 40px 80px -34px rgba(3, 8, 16, .85), 0 12px 28px -18px rgba(3, 8, 16, .6);
  --shadow-card: 0 1px 2px rgba(16, 24, 39, .05), 0 12px 30px -18px rgba(16, 24, 39, .18);
}

/* --------------------------------- reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--d-text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }   /* UA default 40px margins break the grid gutters */

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(53, 215, 213, .28); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--cyan); color: #04161A; padding: 10px 16px;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico { flex: none; display: inline-block; vertical-align: middle; }

/* ------------------------------- typography ------------------------------- */
.eyebrow {
  display: block;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow .dot {
  display: inline-block; vertical-align: middle;
  width: 6px; height: 6px; border-radius: 50%;
  margin: -2px 9px 0 0;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 215, 213, .14);
}
.eyebrow--dark { color: var(--teal-ink); }
.eyebrow--dark .dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(19, 191, 174, .12); }

h1 { font-size: clamp(2.35rem, 1.1rem + 4.1vw, 4.25rem); font-weight: 650; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 1.1rem + 2.1vw, 2.9rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); letter-spacing: -.015em; }

.lead {
  font-size: clamp(1rem, .96rem + .22vw, 1.12rem);
  line-height: 1.7;
  color: var(--d-text-2);
  max-width: 62ch;
}

.section { padding-block: clamp(64px, 7.4vw, 112px); position: relative; }

/* keep anchor targets clear of the sticky header */
section[id], footer[id], form[id] { scroll-margin-top: calc(var(--header-h) + 10px); }

.section--light { background: var(--light-bg); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.section--dark { background: var(--navy-800); }
.section--light .lead, .section--white .lead { color: var(--ink-2); }
.section--light h2, .section--white h2 { color: var(--ink); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4.4vw, 56px); }
.section-head .lead { margin-top: 18px; }
.section-head--split {
  max-width: none; display: grid; gap: 20px 48px;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; } }
.section-head--split .lead { margin-top: 0; }

.fineprint {
  margin-top: 18px; font-size: .78rem; line-height: 1.6;
  color: var(--d-text-3); max-width: 56ch;
}
.fineprint--dark { color: #5C6879; }

/* -------------------------------- buttons -------------------------------- */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--btn-h); padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px;
  font-size: .93rem; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background-color: #22CABE;            /* fallback + keeps contrast measurable */
  background-image: var(--grad);
  color: #04161A;
  box-shadow: 0 10px 26px -14px rgba(53, 215, 213, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { box-shadow: 0 14px 34px -12px rgba(53, 215, 213, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }

.btn-ghost {
  color: var(--d-text); border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .06);
}
.btn-ghost:hover { border-color: rgba(53, 215, 213, .45); background: rgba(53, 215, 213, .08); }

.btn-sm { --btn-h: 40px; padding: 0 18px; font-size: .875rem; border-radius: 10px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .875rem; font-weight: 600; color: var(--teal-ink);
}
.link-arrow .ico { transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* --------------------------------- header -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 13, 22, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 13, 22, .84);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 1.02rem; font-weight: 700; letter-spacing: .16em;
  color: #fff;
}
.brand-sub {
  font-size: .58rem; font-weight: 600; letter-spacing: .34em;
  color: var(--cyan); margin-top: 4px;
}

.nav-desktop { display: none; align-items: center; gap: 4px; margin-left: 8px; }
@media (min-width: 1000px) { .nav-desktop { display: flex; } }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 9px;
  font-size: .9rem; font-weight: 500;
  color: rgba(233, 239, 247, .74);
  background: none; border: 0; cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-link:hover, .nav-trigger[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-trigger .ico { transition: transform .22s var(--ease); color: var(--d-text-3); }
.nav-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--cyan); }

.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: 320px; padding: 8px;
  background: #0D1522;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu-link {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 9px;
  transition: background-color .16s var(--ease);
}
.menu-link:hover, .menu-link:focus-visible { background: rgba(53, 215, 213, .09); }
.menu-title { font-size: .9rem; font-weight: 600; color: #fff; }
.menu-desc { font-size: .78rem; color: var(--d-text-3); }
.tag-soon {
  font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #E0B775;
  border: 1px solid rgba(224, 183, 117, .35);
  background: rgba(224, 183, 117, .1);
  padding: 1px 6px; border-radius: 5px; margin-left: 6px;
  vertical-align: middle;
}

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions .btn-primary { display: none; }
@media (min-width: 720px) { .header-actions .btn-primary { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .24);
  cursor: pointer;
}
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
@media (min-width: 1000px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0;
  background: #080D16;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px var(--gutter) 40px;
  overflow-y: auto;
  z-index: 99;
}
.mobile-menu[hidden] { display: none; }
.m-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 15px 4px;
  font-size: 1.02rem; font-weight: 500; color: var(--d-text);
  border-bottom: 1px solid var(--d-line);
  width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0;
  text-align: left; cursor: pointer;
}
.m-trigger .ico { transition: transform .22s var(--ease); color: var(--d-text-3); }
.m-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }
.m-sub { padding: 6px 0 6px 14px; }
.m-sub[hidden] { display: none; }
.m-sub a {
  display: block; padding: 11px 0; font-size: .93rem; color: var(--d-text-2);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.m-cta { margin-top: 22px; width: 100%; }

/* ---------------------------------- hero --------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% -12%, rgba(22, 120, 210, .20) 0%, transparent 58%),
    radial-gradient(80% 70% at 12% 8%, rgba(19, 191, 174, .12) 0%, transparent 55%),
    linear-gradient(180deg, #080D16 0%, #0A1220 62%, #0B1524 100%);
  padding-top: clamp(44px, 5.4vw, 72px);
  padding-bottom: clamp(64px, 7.6vw, 104px);
  overflow: hidden;
}
.hero::after {
  /* hairline grid, very low contrast — texture without noise */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 80% at 62% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 62% 0%, #000 0%, transparent 72%);
}
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 780px; height: 780px; right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(53, 215, 213, .16) 0%, rgba(53, 215, 213, 0) 62%);
  filter: blur(6px);
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: clamp(48px, 6vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; }
}

.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead {
  font-size: clamp(1rem, .95rem + .28vw, 1.15rem);
  line-height: 1.68; color: var(--d-text-2);
  max-width: 54ch; margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-facts {
  display: grid; gap: 9px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .07);
}
@media (max-width: 560px) { .hero-facts { grid-template-columns: 1fr; } }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; color: var(--d-text-3);
}
.hero-facts .ico { color: var(--teal); }

/* app frame */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -12% -6% 4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(53, 215, 213, .14), rgba(53, 215, 213, 0) 74%);
  filter: blur(10px);
}

.app-frame {
  position: relative;
  padding: 9px 9px 10px;
  background-color: #0B1320;
  background-image: linear-gradient(180deg, #0C1420 0%, #0A111C 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.app-frame::before {
  /* 1px rim light along the top edge — reads as glass, not a flat box */
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 22%, rgba(53, 215, 213, .3) 62%, transparent);
  pointer-events: none;
}
.app-frame img {
  display: block; width: 100%; height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: #0A0F18;
}
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 1px 3px 9px; }
.dotrow { display: inline-flex; gap: 5px; }
.dotrow i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.frame-url {
  font-size: .66rem; letter-spacing: .05em; color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 999px; padding: 2px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* static hero shot (the source asset already contains the device).
   Hover = gentle lift + slow zoom, kept inside the rounded frame. */
.hero-shot {
  padding: 0; background: none; border: 0;
  box-shadow: 0 44px 84px -38px rgba(0, 0, 0, .95);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.hero-shot::before { content: none; }
.hero-shot img {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 1px rgba(53, 215, 213, .07), 0 0 70px -30px rgba(53, 215, 213, .35);
  transform: scale(1);
  transform-origin: 50% 45%;
  transition: transform 1.1s var(--ease);
}
.hero-shot:hover {
  transform: translateY(-5px);
  box-shadow: 0 54px 96px -36px rgba(0, 0, 0, 1);
}
.hero-shot:hover img { transform: scale(1.045); }
.hero-shot:focus-within img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .hero-shot, .hero-shot img { transition: none; }
  .hero-shot:hover { transform: none; }
  .hero-shot:hover img, .hero-shot:focus-within img { transform: none; }
}

/* ------------------------------ hero slider ----------------------------- */
.slider-viewport {
  position: relative;
  /* width must be explicit: with a definite height, aspect-ratio would
     otherwise derive the width from the ratio instead of filling the column */
  width: 100%;
  aspect-ratio: 16 / 10;          /* fallback before JS measures the slide */
  transition: height .55s var(--ease);
  border-radius: 16px;
  overflow: hidden;
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 1px rgba(53, 215, 213, .07),
              0 44px 84px -38px rgba(0, 0, 0, .95),
              0 0 70px -30px rgba(53, 215, 213, .35);
}
.slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.slide.is-active { opacity: 1; }
.slide img {
  display: block; width: 100%; height: 100%;
  /* the panel is sized to the slide's own ratio, so contain fills it exactly
     and nothing is ever cropped */
  object-fit: contain; object-position: center;
}
.slider-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 16px; flex-wrap: wrap;
  margin-top: 16px;
}
.slider-ui { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 720px) {
  /* indicators centred, label left, play/pause right */
  .slider-bar .slider-dots {
    position: absolute; left: 50%; transform: translateX(-50%);
  }
}
.slider-dots { display: flex; align-items: center; gap: 0; }
.sdot {
  width: 30px; height: 28px; padding: 0; border: 0; background: none;
  display: grid; place-items: center; cursor: pointer;
}
.sdot span {
  display: block; width: 20px; height: 4px; border-radius: 2px;
  background: rgba(255, 255, 255, .45);
  transition: width .25s var(--ease), background-color .25s var(--ease);
}
.sdot:hover span { background: rgba(255, 255, 255, .78); }
.sdot.is-active span { width: 30px; background: var(--cyan); }
.slider-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .42);
  color: #fff;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.slider-toggle:hover { border-color: rgba(53, 215, 213, .55); background: rgba(11, 18, 28, .95); }
.slider-toggle .ico-play { display: none; }
.slider-toggle[aria-pressed="true"] .ico-pause { display: none; }
.slider-toggle[aria-pressed="true"] .ico-play { display: block; }

.snav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(11, 18, 28, .72);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; opacity: 0;
  transition: opacity .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}
.snav--prev { left: 12px; }
.snav--next { right: 12px; }
.hero-slider:hover .snav,
.hero-slider:focus-within .snav { opacity: 1; }
.snav:hover { border-color: rgba(53, 215, 213, .55); background: rgba(11, 18, 28, .95); }
@media (hover: none) { .snav { display: none; } }
@media (max-width: 560px) {
  /* keep the bar on one row on phones */
  .slider-bar { gap: 8px 10px; }
  .shot-tag { font-size: .68rem; padding: 4px 10px; }
  .sdot { width: 24px; height: 24px; }
  .sdot span { width: 16px; height: 3px; }
  .sdot.is-active span { width: 22px; }
  .slider-toggle { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.shot-tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--d-text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  white-space: nowrap;
}



/* ----------------------------- value props ------------------------------ */
.value-grid {
  display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 980px) { .value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

.value-card {
  padding: 26px 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.v-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  margin-bottom: 18px;
  color: #0E9E93;
  background: linear-gradient(180deg, rgba(19, 191, 174, .1), rgba(19, 191, 174, .04));
  border: 1px solid rgba(19, 191, 174, .18);
}
.value-card h3 { margin-bottom: 8px; color: var(--ink); }
.value-card p { font-size: .9rem; color: var(--ink-2); line-height: 1.62; }

/* ------------------------------- products ------------------------------- */
.product-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: #CFE3E1;
  box-shadow: 0 24px 48px -28px rgba(16, 24, 39, .34), 0 2px 4px rgba(16, 24, 39, .04);
}
.pc-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0B1220;
  overflow: hidden;
}
.pc-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.pc-media--art {
  display: grid; place-items: center;
  background-color: #0C1420;
  background-image:
    radial-gradient(90% 80% at 50% 0%, rgba(53, 215, 213, .12), transparent 70%),
    linear-gradient(180deg, #0D1624, #0A111B);
}
.pc-media--art svg { width: 88%; height: auto; }
.ecg-trace { stroke-dasharray: 620; stroke-dashoffset: 620; }
.is-in .ecg-trace, .no-reveal .ecg-trace { animation: trace 2.4s var(--ease) forwards .15s; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.art-label {
  position: absolute; bottom: 10px; right: 12px;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .66);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px; padding: 2px 7px;
}

.pc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-cat {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px;
  min-height: 3.35em;              /* two lines: keeps every card's title on one baseline */
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1.65;
  color: var(--teal-ink); margin-bottom: 6px;
}
/* status pills: light surface = default, dark surface = on media / twin cards */
.status {
  font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 5px; white-space: nowrap;
  line-height: 1.2;
  border: 1px solid transparent;
}
.status--live { color: #06614F; background-color: rgba(19, 191, 174, .14); border-color: rgba(19, 191, 174, .3); }
.status--dev { color: #6B4400; background-color: rgba(224, 183, 117, .22); border-color: rgba(214, 168, 92, .42); }

.pc-media .status {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pc-media .status--live, .twin-body .status--live {
  color: #7FEBD0; background-color: rgba(8, 13, 22, .74); border-color: rgba(53, 215, 213, .42);
}
.pc-media .status--dev, .twin-body .status--dev {
  color: #F2CE95; background-color: rgba(8, 13, 22, .74); border-color: rgba(224, 183, 117, .48);
}
.product-card h3 { margin-bottom: 8px; font-size: 1.16rem; }
.pc-text { font-size: .885rem; color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.product-card .link-arrow { margin-top: auto; }

/* -------------------------------- split --------------------------------- */
.split { display: grid; gap: clamp(38px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) {
  .split { grid-template-columns: 1fr 1.06fr; }
  .split--reverse .split-copy { order: 2; }
  .split--reverse .split-media { order: 1; }
}
.split-copy { max-width: 560px; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy .lead { margin-bottom: 26px; }
.split-copy .btn { margin-top: 26px; }
.btn-link-under {
  display: flex; width: fit-content; align-items: center; gap: .4rem;
  margin-top: 14px;
  font-size: .875rem; font-weight: 600;
  color: var(--teal-ink);
  border-bottom: 1px solid rgba(7, 121, 111, .28);
  padding-bottom: 2px;
}
.btn-link-under .ico { transition: transform .2s var(--ease); }
.btn-link-under:hover .ico { transform: translateX(3px); }
.split-copy .btn-link-under + .fineprint { margin-top: 16px; }

.feature-list { display: grid; gap: 14px; }
.feature-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  font-size: .93rem; line-height: 1.6; color: var(--d-text-2);
}
.feature-list .ico { color: var(--teal); margin-top: 3px; }
.feature-list strong { color: var(--d-text); font-weight: 600; }
.feature-list--dark li { color: var(--ink-2); }
.feature-list--dark strong { color: var(--ink); }

.split-media { position: relative; }
.split-media--stack { padding-bottom: 34px; }

.phone-frame {
  /* the source asset is a full-bleed phone capture: round the corners and let
     a shadow separate it from the light section behind */
  position: absolute; left: -6px; bottom: -22px;
  width: 26%; max-width: 168px;
  padding: 3px;
  background: linear-gradient(160deg, #1B2433, #0B111B);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  box-shadow: 0 26px 46px -18px rgba(3, 8, 16, .55);
}
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 17px; }
@media (max-width: 620px) { .phone-frame { display: none; } }

/* ------------------------------- twin cards ------------------------------ */
.twin-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .twin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

.twin-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
}
.twin-card--soon { border-style: dashed; border-color: rgba(255, 255, 255, .16); }
.twin-media {
  position: relative;
  aspect-ratio: 16 / 7;
  display: grid; place-items: center;
  background-color: #0A111B;
  background-image:
    radial-gradient(80% 90% at 50% 0%, rgba(53, 215, 213, .1), transparent 72%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 18px;
  background-color: #0A111B;
}
.twin-media svg { width: 100%; height: auto; }
.twin-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.twin-body .pc-cat { margin-bottom: 12px; }
.twin-body h3 { margin-bottom: 10px; color: #fff; }
.twin-body > p { font-size: .92rem; color: var(--d-text-2); margin-bottom: 18px; }
.mini-list { display: grid; gap: 8px; margin-bottom: 6px; }
/* the two cards have different content lengths: pin the caveat to the bottom
   so both disclaimers sit on the same line */
.twin-body .fineprint { margin-top: auto; padding-top: 16px; }
.mini-list li {
  position: relative; padding-left: 16px;
  font-size: .86rem; color: var(--d-text-2);
}
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal);
}

/* ------------------------------- solutions ------------------------------- */
.solution-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .solution-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.solution-card {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.s-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px;
  color: #0E9E93; background: rgba(19, 191, 174, .08);
  border: 1px solid rgba(19, 191, 174, .16);
}
.solution-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--ink); }
.solution-card ul { display: grid; gap: 7px; }
.solution-card li {
  position: relative; padding-left: 14px;
  font-size: .855rem; line-height: 1.55; color: var(--ink-2);
}
.solution-card li::before {
  content: ""; position: absolute; left: 0; top: .66em;
  width: 4px; height: 4px; border-radius: 50%; background: #B6C2D2;
}

.light-device { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 900px; text-align: center; }
.light-device img {
  width: 100%; height: auto; display: block;
  mix-blend-mode: multiply;
  border-radius: 14px;
}
.light-device figcaption {
  margin-top: 6px; font-size: .84rem; color: var(--ink-2);
}

/* ------------------------------ integration ------------------------------ */
.flow {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: clamp(36px, 4.4vw, 54px);
}
@media (min-width: 900px) {
  .flow { grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr; align-items: stretch; gap: 0; }
  .flow-link { align-self: center; }
}
.flow-node {
  padding: 16px 15px 18px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
}
.flow-node--accent {
  background: linear-gradient(180deg, rgba(53, 215, 213, .12), rgba(53, 215, 213, .04));
  border-color: rgba(53, 215, 213, .32);
  box-shadow: 0 0 40px -18px rgba(53, 215, 213, .5);
}
.fn-kicker {
  display: block; font-size: .62rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--d-text-3); margin-bottom: 7px;
}
.flow-node--accent .fn-kicker { color: var(--cyan); }
.flow-node strong { display: block; font-size: .98rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.flow-node em { font-style: normal; font-size: .79rem; color: var(--d-text-3); }
.flow-link {
  position: relative;
  justify-self: center;
  width: 1px; height: 26px;
  background: linear-gradient(to bottom, rgba(53, 215, 213, 0), rgba(53, 215, 213, .45), rgba(53, 215, 213, 0));
}
.flow-link::after {
  /* arrow head pointing at the next step */
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 5px; height: 5px;
  border-right: 1px solid rgba(53, 215, 213, .85);
  border-bottom: 1px solid rgba(53, 215, 213, .85);
  transform: translateX(-50%) rotate(45deg);
}
@media (min-width: 900px) {
  .flow-link {
    justify-self: stretch;
    width: auto; height: 2px; border-radius: 1px;
    background: linear-gradient(to right, rgba(53, 215, 213, .08), rgba(53, 215, 213, .85));
  }
  .flow-link::after {
    left: auto; right: -1px; bottom: auto; top: 50%;
    width: 7px; height: 7px;
    border-right: 1.5px solid rgba(53, 215, 213, 1);
    border-bottom: 1.5px solid rgba(53, 215, 213, 1);
    border-radius: 0;
    background: none;
    transform: translate(0, -50%) rotate(-45deg);
  }
}

.int-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .int-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.int-card {
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .022);
}
.int-card h3 { font-size: .98rem; color: #fff; margin-bottom: 8px; }
.int-card p { font-size: .875rem; color: var(--d-text-2); line-height: 1.6; }

/* --------------------------------- why ---------------------------------- */
.split--why { align-items: start; }
.why-note {
  margin-top: 22px; padding-left: 16px;
  border-left: 2px solid rgba(19, 191, 174, .4);
  font-size: .9rem; color: var(--ink-2);
}
.why-note em { color: var(--ink); }

.why-list { display: grid; gap: 2px; }
.why-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.why-list li:last-child { border-bottom: 1px solid var(--border); }
.why-num {
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  color: var(--teal-ink); padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.why-list h3 { font-size: .98rem; margin-bottom: 5px; color: var(--ink); }
.why-list p { font-size: .875rem; color: var(--ink-2); line-height: 1.6; }

/* ---------------------------------- CTA ---------------------------------- */
.section--cta {
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(19, 191, 174, .12) 0%, transparent 55%),
    radial-gradient(80% 100% at 88% 100%, rgba(22, 120, 210, .16) 0%, transparent 58%),
    #080D16;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.cta-grid { display: grid; gap: clamp(40px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cta-copy h2 { margin-bottom: 18px; max-width: 16ch; }
.cta-copy .lead { margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.contact-inline { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .07); }
.contact-inline li {
  display: flex; align-items: center; gap: 9px;
  font-size: .85rem; color: var(--d-text-3); line-height: 1.5;
}
.contact-inline .ico { color: var(--teal); }
.contact-inline a:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(25, 35, 53, .92), rgba(15, 24, 39, .94));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.demo-form { display: grid; gap: 16px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .8rem; font-weight: 500; color: var(--d-text-2); }
.field label span { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit; font-size: .9rem;
  color: var(--d-text);
  background: rgba(8, 13, 22, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #8494AB; }
/* empty selects must not look like a filled one */
.field select:has(option[value=""]:checked), .field select.is-empty { color: #8494AB; }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #8B99AE 50%), linear-gradient(135deg, #8B99AE 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.field select option { background: #101827; color: var(--d-text); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(53, 215, 213, .6);
  box-shadow: 0 0 0 3px rgba(53, 215, 213, .14);
  background: rgba(8, 13, 22, .9);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: rgba(255, 122, 122, .65);
  box-shadow: 0 0 0 3px rgba(255, 122, 122, .1);
}
.err { font-size: .74rem; color: #FF9C9C; min-height: 0; }
.err:empty { display: none; }

.field--check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.field--check input {
  width: 20px; height: 20px; margin-top: 1px;   /* WCAG 2.2 target size */
  accent-color: var(--teal); cursor: pointer;
}
.field--check label { font-size: .8rem; line-height: 1.55; color: var(--d-text-2); }
.field--check label a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.field--check .err { grid-column: 2; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: .85rem; line-height: 1.55; margin: 0; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #7FE3C9; }
.form-status.is-err { color: #FF9C9C; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* --------------------------------- footer -------------------------------- */
.site-footer {
  background: #060A11;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: clamp(48px, 6vw, 72px);
  color: var(--d-text-2);
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: clamp(36px, 4vw, 52px);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; } }

.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.65; color: var(--d-text-3); max-width: 38ch; }
.footer-col h3 {
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--d-text-3); margin-bottom: 14px;
}
.footer-col a {
  display: block; padding: 6px 0;
  font-size: .875rem; color: var(--d-text-2);
  transition: color .16s var(--ease);
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .8rem; color: var(--d-text-3);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--cyan); }

/* ------------------------------- reveal ---------------------------------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ecg-trace { animation: none !important; stroke-dashoffset: 0 !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* -------------------------------- utility -------------------------------- */
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .brand-sub { letter-spacing: .28em; }
}

@media print {
  .site-header, .hero-visual, .mobile-menu, .form-card, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 20px; }
}

/* ------------------------------ legal pages ------------------------------ */
.doc-page { padding-block: clamp(48px, 6vw, 84px) clamp(56px, 7vw, 96px); background: var(--navy-900); }
.doc-wrap { max-width: 820px; margin-inline: auto; }
.doc-back {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; color: var(--d-text-3); margin-bottom: 28px;
}
.doc-back:hover { color: var(--cyan); }
.doc-back svg { transform: rotate(180deg); }
.doc h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); margin-bottom: 10px; }
.doc-meta { font-size: .8rem; color: var(--d-text-3); margin-bottom: 34px; }
.doc h2 { font-size: 1.12rem; margin: 34px 0 10px; color: #fff; letter-spacing: -.01em; }
.doc p, .doc li { font-size: .93rem; line-height: 1.72; color: var(--d-text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0; display: grid; gap: 7px; }
.doc ul li { position: relative; padding-left: 16px; }
.doc ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--teal);
}
.doc strong { color: var(--d-text); font-weight: 600; }
.doc a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.doc-note {
  margin-top: 34px; padding: 18px 20px;
  border: 1px solid rgba(53, 215, 213, .22);
  border-radius: 12px; background: rgba(53, 215, 213, .05);
  font-size: .86rem; color: var(--d-text-2);
}
.simple-header {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 13, 22, .92);
}
.simple-header .header-inner { height: 68px; }
@media (prefers-reduced-motion: reduce) { .doc * { transition: none !important; } }

/* --------------------------- magic volume masking ------------------------- */
.section--video {
  background:
    radial-gradient(70% 90% at 82% 0%, rgba(22, 120, 210, .16) 0%, transparent 55%),
    radial-gradient(60% 70% at 8% 100%, rgba(19, 191, 174, .1) 0%, transparent 60%),
    #080D16;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.video-grid { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .video-grid { grid-template-columns: 1.55fr .85fr; gap: 34px; } }

.video-shell {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #05080E;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 44px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(53, 215, 213, .07);
}
.video-el {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9;
  background: #05080E;
  object-fit: contain;
}
.video-shell.is-playing .video-el { aspect-ratio: auto; }

.video-play {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 15px; padding: 0; border: 0; cursor: pointer;
  background: radial-gradient(52% 52% at 50% 48%, rgba(4, 8, 14, .12), rgba(4, 8, 14, .46));
  color: #fff;
  transition: background-color .25s var(--ease);
}
.video-play:hover { background: radial-gradient(52% 52% at 50% 48%, rgba(4, 8, 14, .04), rgba(4, 8, 14, .38)); }
.video-play .vp-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad); color: #04161A;
  box-shadow: 0 8px 24px -8px rgba(53, 215, 213, .8);
  transition: transform .22s var(--ease);
}
.video-play .vp-text {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 17px;
  border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  background: rgba(6, 11, 19, .74);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.vp-dot { opacity: .5; }
.video-play:hover .vp-icon { transform: scale(1.06); }
.video-play:hover .vp-text { border-color: rgba(53, 215, 213, .5); }
.video-shell.is-playing .video-play,
.video-shell.is-playing .video-caption { display: none; }

.video-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  padding: 28px 16px 13px;
  font-size: .76rem; line-height: 1.4;
  color: rgba(233, 239, 247, .8);
  background: linear-gradient(to top, rgba(4, 8, 14, .9), rgba(4, 8, 14, 0));
  pointer-events: none;
}
.vc-tag {
  font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 5px;
  color: var(--cyan); background: rgba(8, 13, 22, .7);
  border: 1px solid rgba(53, 215, 213, .38);
  white-space: nowrap;
}

.video-points { display: grid; gap: 0; counter-reset: vp; }
.video-points li {
  display: grid; grid-template-columns: 32px 1fr; gap: 12px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.video-points li:first-child { border-top: 0; padding-top: 4px; }
@media (min-width: 1000px) { .video-points li:first-child { padding-top: 6px; } }
.vp-num {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  color: var(--cyan); padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.video-points h3 { font-size: .96rem; color: #fff; margin-bottom: 5px; letter-spacing: -.01em; }
.video-points p { font-size: .865rem; line-height: 1.6; color: var(--d-text-2); }

.video-side { display: flex; flex-direction: column; align-items: flex-start; }
.video-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 18px;
  font-size: .875rem; font-weight: 600; color: var(--cyan);
  border-bottom: 1px solid rgba(53, 215, 213, .3);
  padding-bottom: 2px;
}
.video-cta .ico { transition: transform .2s var(--ease); }
.video-cta:hover .ico { transform: translateX(3px); }

/* carousel inside the featured VEXA RIS split (dark surface) */
@media (min-width: 980px) {
  /* give the featured media the larger half of the row */
  #vexa-ris .split { grid-template-columns: .84fr 1.16fr; gap: 46px; }
}
.ris-carousel { min-width: 0; }
.ris-carousel .slider-viewport { aspect-ratio: 16 / 10; }
.ris-carousel .slider-bar { margin-top: 14px; }
.ris-carousel .shot-tag {
  color: var(--d-text);
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .13);
}
.ris-carousel .slider-toggle { color: var(--d-text); }
@media (max-width: 560px) {
  .ris-carousel .slider-viewport { aspect-ratio: 16 / 10; }
}

/* step 5: patient delivery is a VEXA capability, so it gets its own tint */
.flow-node--portal {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: inset 3px 0 0 rgba(53, 215, 213, .65);
}

.flow-note {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  margin: -14px 0 clamp(30px, 3.6vw, 44px);
  padding: 16px 18px;
  border: 1px solid rgba(53, 215, 213, .2);
  border-radius: 12px;
  background: rgba(53, 215, 213, .045);
  font-size: .87rem; line-height: 1.62;
  color: var(--d-text-2);
}
.flow-note .ico { color: var(--teal); margin-top: 3px; }
.flow-note strong { color: var(--d-text); font-weight: 600; }

/* SATUSEHAT — full-width integration card */
.int-card--satu-sehat {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px);
  padding: 24px clamp(20px, 2.6vw, 30px);
  border-color: rgba(19, 191, 174, .32);
  background: linear-gradient(100deg, rgba(19, 191, 174, .11), rgba(19, 191, 174, .015) 62%, transparent);
}
.int-card--satu-sehat img {
  flex: none; height: 46px; width: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
}
.int-card--satu-sehat .ss-copy { min-width: 0; }
.int-card--satu-sehat h3 { margin-bottom: 5px; }
.int-card--satu-sehat .ss-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); font-weight: 650;
}
.int-card--satu-sehat .ss-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
@media (max-width: 620px) {
  .int-card--satu-sehat { flex-direction: column; align-items: flex-start; gap: 14px; }
  .int-card--satu-sehat img { height: 40px; }
}

/* ================================ SEO article pages (/id/) ================================ */
.idp-hero { padding-block: clamp(48px, 5.4vw, 76px) clamp(36px, 4.4vw, 60px); position: relative; overflow: hidden; }
.idp-hero::before {
  content: ""; position: absolute; inset: -40% 20% auto -10%; height: 460px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(19,191,174,.16), transparent 72%);
}
.idp-hero h1 {
  position: relative; margin: 14px 0 0; max-width: 26ch; color: var(--d-text);
  font-size: clamp(1.95rem, 3.5vw, 3rem); line-height: 1.12; letter-spacing: -.025em;
}
.idp-hero .lead { position: relative; margin-top: 20px; max-width: 64ch; color: var(--d-text-2); font-size: 1.02rem; line-height: 1.7; }
.idp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.idp-crumbs { font-size: .78rem; color: var(--d-text-3); margin-bottom: 4px; }
.idp-crumbs a { color: var(--d-text-2); text-decoration: none; }
.idp-crumbs a:hover { color: var(--teal); }
.idp-crumbs span { opacity: .5; margin-inline: 6px; }

.idp-prose { max-width: 76ch; }
.idp-prose h2 { margin: 46px 0 14px; color: var(--ink); font-size: clamp(1.45rem, 2.2vw, 1.95rem); letter-spacing: -.018em; line-height: 1.24; }
.idp-prose h2:first-child { margin-top: 0; }
.idp-prose h3 { margin: 30px 0 10px; color: var(--ink); font-size: 1.08rem; letter-spacing: -.01em; }
.idp-prose p { margin: 0 0 16px; color: #3D4759; font-size: 1rem; line-height: 1.78; }
.idp-prose ul, .idp-prose ol { margin: 0 0 18px; padding-left: 22px; }
.idp-prose li { color: #3D4759; line-height: 1.72; margin-bottom: 9px; }
.idp-prose strong { color: var(--ink); font-weight: 650; }
.idp-prose a { color: var(--teal-ink); text-underline-offset: 3px; }

.idp-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.idp-card { padding: 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.idp-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.05rem; }
.idp-card p { margin: 0; color: #4A5568; font-size: .915rem; line-height: 1.66; }
.idp-card--dark { background: var(--surface-dark); border-color: var(--d-line); }
.idp-card--dark h3 { color: var(--d-text); }
.idp-card--dark p { color: var(--d-text-2); }

.idp-steps { counter-reset: s; display: grid; gap: 14px; }
.idp-step { position: relative; padding: 18px 22px 18px 62px; border-radius: 12px; background: var(--white); border: 1px solid var(--border); }
.idp-step::before {
  counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 17px;
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(19,191,174,.12); color: var(--teal-ink); font-size: .82rem; font-weight: 700;
}
.idp-step h3 { margin: 0 0 4px; font-size: .98rem; color: var(--ink); }
.idp-step p { margin: 0; font-size: .9rem; color: #4A5568; line-height: 1.6; }

.idp-faq { max-width: 80ch; }
.idp-faq details { background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.idp-faq summary {
  cursor: pointer; list-style: none; padding: 17px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; color: var(--ink); font-weight: 600; font-size: .97rem; line-height: 1.45;
}
.idp-faq summary::-webkit-details-marker { display: none; }
.idp-faq summary::after { content: "+"; flex: none; color: var(--teal-ink); font-size: 1.3rem; font-weight: 400; line-height: 1; }
.idp-faq details[open] summary::after { content: "2"; }
.idp-faq details[open] summary { background: #F4FAF9; }
.idp-faq .faq-body { padding: 4px 20px 18px; color: #3D4759; font-size: .945rem; line-height: 1.74; }
.idp-faq .faq-body p { margin: 0 0 10px; }
.idp-faq .faq-body p:last-child { margin-bottom: 0; }

.idp-note { margin: 22px 0; padding: 15px 18px; border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; background: #F2FAF9; color: #2C3B4E; font-size: .93rem; line-height: 1.66; }
.idp-note strong { color: var(--ink); }

.idp-kw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.idp-kw a { font-size: .78rem; color: #43506A; background: #EFF3F8; border: 1px solid var(--border); border-radius: 999px; padding: 6px 11px; text-decoration: none; }
.idp-kw a:hover { border-color: var(--teal); color: var(--teal-ink); }

.idp-cta { text-align: center; }
.idp-cta h2 { color: var(--d-text); margin: 0 0 12px; }
.idp-cta p { margin: 0 auto 26px; max-width: 58ch; color: var(--d-text-2); }
.idp-cta .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--d-line); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase;
}
.lang-switch__cur { color: var(--teal); font-weight: 650; background: rgba(19,191,174,.13); border-radius: 5px; padding: 1px 5px; }
.lang-switch a { color: var(--d-text-3); text-decoration: none; transition: color .18s var(--ease); }
.lang-switch a:hover { color: var(--teal); }
.lang-switch__sep { color: var(--d-text-3); opacity: .45; }

@media (max-width: 640px) {
  .idp-prose h2 { margin-top: 36px; }
  .idp-step { padding-left: 54px; }
  .idp-faq summary { padding: 15px 16px; font-size: .93rem; }
  .idp-faq .faq-body { padding-inline: 16px; }
}
