/* ==========================================================================
   RDP · Priority Summit 2026 — "Liquid Layers" (iOS 27 inspired)
   One file, mobile first, RTL first. Logical properties throughout.
   ========================================================================== */

@font-face {
  font-family: "RDP Hebrew";
  src: url("assets/fonts/noto-sans-hebrew.woff2") format("woff2"), url("assets/fonts/noto-sans-hebrew.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  /* Hebrew only: Latin falls through to the platform UI font (SF on Apple). */
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-2010, U+20AA, U+25CC;
}

:root {
  color-scheme: light;

  /* ground & labels */
  --bg: #eef2f9;
  --bg-deep: #e4eaf5;
  --surface: #ffffff;
  --ink: #0c1428;
  --ink-2: #3c4760;
  --ink-3: #5c6780;
  --hair: rgba(12, 20, 40, 0.09);
  --hair-strong: rgba(12, 20, 40, 0.14);
  --fill-quiet: rgba(118, 124, 148, 0.12);

  /* brand — from the RDP + Priority marks and the booth visual */
  --rdp: #f65415;           /* decorative orange (large marks, glows) */
  --rdp-ink: #cf3f0b;       /* orange fill that holds white text (4.6:1) */
  --violet: #3b37e3;        /* Priority blue-violet: links, selection, focus */
  --purple: #9e42ff;
  --cyan: #37b3f2;
  --navy: #16213d;

  --layer-erp: linear-gradient(145deg, #ff8a3d 0%, #f65415 55%, #d93a0c 100%);
  --layer-plm: linear-gradient(145deg, #a77bff 0%, #8a4dff 50%, #6a2fe0 100%);
  --layer-ai: linear-gradient(145deg, #5b8cff 0%, #3b5bf0 50%, #3b37e3 100%);
  --layer-bi: linear-gradient(145deg, #6fd8ff 0%, #37b3f2 50%, #1f8fd6 100%);

  --signal: linear-gradient(270deg, #37b3f2 0%, #3b37e3 36%, #9e42ff 66%, #f65415 100%);

  /* Liquid Glass material */
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.58));
  --glass-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8));
  --glass-edge: rgba(255, 255, 255, 0.75);
  --glass-blur: blur(22px) saturate(185%);
  --lift-1: 0 1px 2px rgba(22, 33, 61, 0.06), 0 6px 16px -8px rgba(22, 33, 61, 0.16);
  --lift-2: 0 2px 6px rgba(22, 33, 61, 0.05), 0 22px 48px -22px rgba(22, 33, 61, 0.34);
  --lift-3: 0 4px 12px rgba(22, 33, 61, 0.06), 0 40px 90px -36px rgba(22, 33, 61, 0.45);
  --inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(12, 20, 40, 0.04);

  /* shape */
  --r-2xl: 40px;
  --r-xl: 32px;
  --r-lg: 26px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-xs: 10px;

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Hebrew", "RDP Hebrew", "Segoe UI", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Hebrew", "RDP Hebrew", "Segoe UI", system-ui, sans-serif;

  /* motion */
  --spring: cubic-bezier(0.2, 0.9, 0.22, 1.04);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-mid: 340ms;
  --t-slow: 620ms;

  /* layout */
  --gutter: 20px;
  --max: 1200px;
  --dock-h: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
}

/* room under the content for the floating dock on phones */
@media (max-width: 899px) {
  :root { --dock-h: 86px; }
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: calc(var(--dock-h) + var(--safe-b));
}

/* soft atmosphere behind the glass — the booth's light, very low intensity */
body::before {
  content: "";
  position: fixed;
  inset: -20vh -20vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 88% 18%, rgba(55, 179, 242, 0.16), transparent 70%),
    radial-gradient(34vmax 28vmax at 8% 52%, rgba(158, 66, 255, 0.11), transparent 70%),
    radial-gradient(36vmax 30vmax at 92% 88%, rgba(246, 84, 21, 0.1), transparent 70%),
    var(--bg);
}

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

img { height: auto; }

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button { cursor: pointer; }

a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3 { text-wrap: balance; }

p { text-wrap: pretty; }

[hidden] { display: none !important; }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 12px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  inset-block-start: calc(env(safe-area-inset-top, 0px) + 12px);
  inset-inline-start: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  /* iOS 26+ Safari paints the page under the status bar, so an off-screen
     offset alone can still show; keep it transparent until focused. */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-160%);
  transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast);
}

.skip:focus-visible { opacity: 1; pointer-events: auto; transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }
.icon-lg { width: 28px; height: 28px; flex: none; }

/* ---------- Liquid Glass ---------- */

.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--inner-light), var(--lift-2);
}

/* specular sheen along the top edge */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 38%),
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.5), transparent 60%);
  mix-blend-mode: soft-light;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-strong); }
}

/* ---------- buttons ---------- */

.btn {
  --h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--t-fast) var(--spring),
    box-shadow var(--t-mid) var(--ease-out),
    background-color var(--t-mid) var(--ease-out);
}

.btn:active { transform: scale(0.965); }

.btn-primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 52%),
    var(--rdp-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 10px 24px -10px rgba(207, 63, 11, 0.7),
    0 2px 6px rgba(207, 63, 11, 0.22);
}

.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 16px 32px -12px rgba(207, 63, 11, 0.75), 0 2px 6px rgba(207, 63, 11, 0.25); }

.btn-glass {
  color: var(--ink);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--inner-light), var(--lift-1);
}

.btn-glass:hover { box-shadow: var(--inner-light), var(--lift-2); }

.btn-ink {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%), var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 22px -12px rgba(12, 20, 40, 0.6);
}

.btn-quiet {
  color: var(--violet);
  background: rgba(59, 55, 227, 0.09);
}

.btn-quiet:hover { background: rgba(59, 55, 227, 0.14); }

.btn-sm { --h: 40px; padding: 0 16px; font-size: 15px; gap: 8px; }
.btn-block { width: 100%; }

.btn .spark { color: var(--violet); }
.btn-primary .spark,
.btn-ink .spark { color: inherit; }

/* round icon button (close, send) */
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--fill-quiet);
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--spring), background-color var(--t-mid);
}

.icon-btn:hover { background: rgba(118, 124, 148, 0.2); }
.icon-btn:active { transform: scale(0.92); }

/* ---------- top bar ---------- */

.topbar {
  position: relative;
  z-index: 30;
  padding-block: 14px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 8px 10px 8px 8px;
  padding-inline-start: 16px;
  border-radius: 999px;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.lockup-rdp { width: 86px; height: auto; }

.lockup-sep {
  width: 1px;
  height: 28px;
  background: var(--hair-strong);
}

.lockup-priority {
  display: grid;
  gap: 1px;
  justify-items: start;
}

.lockup-priority img { width: 84px; height: auto; }

.lockup-priority small {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--violet);
  direction: ltr;
  padding-inline-start: 26px;
  white-space: nowrap;
}

.topnav { display: none; }

.topbar .btn { --h: 44px; padding: 0 18px; font-size: 16px; }

@media (min-width: 900px) {
  .topbar {
    position: sticky;
    top: 12px;
  }

  .topbar-inner { padding-inline-start: 22px; }

  .lockup-rdp { width: 100px; }
  .lockup-priority img { width: 96px; }
  .lockup-priority small { font-size: 10.5px; padding-inline-start: 30px; }

  .topnav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .topnav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 560;
    text-decoration: none;
    transition: background-color var(--t-mid), color var(--t-mid);
  }

  .topnav a:hover { background: var(--fill-quiet); color: var(--ink); }

  .topbar-actions { display: flex; align-items: center; gap: 8px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-block: 28px 8px;
  isolation: isolate;
  overflow-x: clip; /* the visual bleeds to the screen edges on phones */
}

main { overflow-x: clip; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 18px;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  direction: ltr;
  box-shadow: var(--inner-light), var(--lift-1);
}

.event-chip .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rdp);
  box-shadow: 0 0 0 4px rgba(246, 84, 21, 0.16);
}

.event-chip .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(246, 84, 21, 0.45);
  animation: ping 2.4s var(--ease-out) infinite;
}

.event-chip .tag { display: none; color: var(--ink-3); font-weight: 560; }

@keyframes ping {
  0% { transform: scale(0.6); opacity: 1; }
  80%, 100% { transform: scale(2.1); opacity: 0; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 12.6vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero h1 .line { display: block; white-space: nowrap; }

.hero h1 .heart {
  position: relative;
  display: inline-block;
  background: linear-gradient(270deg, #f65415 0%, #c2369b 46%, #6a3df0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-block-end: 0.06em;
}

.hero-lede {
  max-width: 30ch;
  font-size: clamp(18px, 4.8vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 450;
}

.hero-lede strong { color: var(--ink); font-weight: 650; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 6px;
  width: 100%;
}

@media (max-width: 599px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* visual: the conference layers, melting into the ground */
.hero-visual {
  position: relative;
  z-index: 1;
  margin-inline: calc(var(--gutter) * -1);
  margin-block-start: -6px;
  aspect-ratio: 1122 / 900;
  pointer-events: none;
}

.hero-visual .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(52% 50% at 54% 50%, #000 58%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
  mask-image: radial-gradient(52% 50% at 54% 50%, #000 58%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
  animation: float-art 14s ease-in-out infinite alternate;
  transform-origin: 60% 55%;
}

@keyframes float-art {
  from { transform: translate3d(0, 0, 0) scale(1.02); }
  to { transform: translate3d(0, -1.6%, 0) scale(1.05); }
}

/* labels pinned to the four glass layers of the visual */
.layer-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.layer-tag {
  position: absolute;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
  pointer-events: auto;
  box-shadow: var(--inner-light), var(--lift-1);
  animation: bob 6s ease-in-out infinite;
  transition: transform var(--t-fast) var(--spring), box-shadow var(--t-mid);
}

.layer-tag:hover { box-shadow: var(--inner-light), var(--lift-2); }

.layer-tag::before {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  width: 1.5px;
  height: var(--stem, 24px);
  translate: -50% 0;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.layer-tag:active { transform: scale(0.95); }

.layer-tag i {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  flex: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.layer-tag[data-cat="erp"] i { background: var(--layer-erp); }
.layer-tag[data-cat="plm"] i { background: var(--layer-plm); }
.layer-tag[data-cat="ai"] i { background: var(--layer-ai); }
.layer-tag[data-cat="bi"] i { background: var(--layer-bi); }

/* positions are % of the 1122×900 crop (panel top edges) */
.layer-tag[data-cat="erp"] { left: 77%; top: 12%; --stem: 30px; animation-delay: -1.2s; }
.layer-tag[data-cat="plm"] { left: 66%; top: 3%; --stem: 58px; animation-delay: -3.1s; }
.layer-tag[data-cat="ai"] { left: 55%; top: 11%; --stem: 30px; animation-delay: -2.2s; }
.layer-tag[data-cat="bi"] { left: 43%; top: 2%; --stem: 62px; animation-delay: -4.4s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-scroll {
  display: none;
}

@media (max-width: 599px) {
  .hero-visual {
    width: 162vw;
    max-width: none;
    margin-inline-start: calc(var(--gutter) * -1 - 15vw);
    margin-inline-end: 0;
    margin-block-start: 10px;
  }

  .layer-tag { font-size: 12px; min-height: 30px; padding: 5px 10px; gap: 6px; }
  .layer-tag i { width: 9px; height: 9px; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero-visual { margin-inline: calc(var(--gutter) * -1); }
}

@media (min-width: 900px) {
  .hero { padding-block: 56px 24px; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 24px;
  }

  .hero-copy { gap: 22px; padding-block: 40px; }

  .event-chip .tag { display: inline; }

  .hero h1 { font-size: clamp(52px, 5.3vw, 84px); }

  .hero-visual {
    margin-inline: 0 calc(var(--gutter) * -1);
    margin-block-start: 0;
  }

  .hero-actions { gap: 12px; }
}

@media (min-width: 1280px) {
  .hero-visual { margin-inline-end: -64px; }
}

/* ---------- two capabilities ---------- */

.pillars {
  position: relative;
  z-index: 3;
  padding-block: 0 24px;
}

.pillar-row {
  display: grid;
  gap: 12px;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: start;
  padding: 20px;
  border-radius: var(--r-lg);
}

.pillar .glyph {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 20px -10px rgba(22, 33, 61, 0.5);
}

.pillar .glyph.g-erp { background: var(--layer-erp); }
.pillar .glyph.g-build { background: linear-gradient(145deg, #6a8bff, #3b37e3 55%, #8a4dff); }

.pillar h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-block-start: 2px;
}

.pillar p {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

@media (min-width: 760px) {
  .pillar-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pillar { padding: 24px 26px; }
}

/* ---------- section headings ---------- */

.section { padding-block: 64px 24px; position: relative; }

.section-head {
  display: grid;
  gap: 10px;
  margin-block-end: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--rdp-ink);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 8.6vw, 54px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.section-sub {
  max-width: 44ch;
  font-size: 17px;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .section { padding-block: 104px 32px; }
  .section-head.center { justify-items: center; text-align: center; }
  .section-head.center .section-sub { margin-inline: auto; }
}

/* ---------- segmented control (4 domains) ---------- */

.segmented {
  --count: 4;
  --i: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--count), minmax(0, 1fr));
  padding: 5px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 2px rgba(12, 20, 40, 0.06), var(--lift-1);
}

.segmented .thumb {
  position: absolute;
  inset-block: 5px;
  inset-inline-start: 5px;
  width: calc((100% - 10px) / var(--count));
  border-radius: 19px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.92));
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 0.5px rgba(12, 20, 40, 0.06),
    0 6px 16px -6px rgba(22, 33, 61, 0.3),
    0 1px 3px rgba(22, 33, 61, 0.1);
  transform: translateX(calc(var(--i) * -100%));
  transition: transform var(--t-slow) var(--spring);
}

[dir="ltr"] .segmented .thumb { transform: translateX(calc(var(--i) * 100%)); }

.segmented .thumb::before {
  /* the lens: a hairline of the selected layer's color */
  content: "";
  position: absolute;
  inset-inline: 22%;
  inset-block-end: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--layer, var(--layer-erp));
  opacity: 0.95;
  transition: background var(--t-mid);
}

.seg {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 66px;
  padding: 8px 4px 12px;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.15;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-mid);
}

.seg .seg-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #fff;
  opacity: 0.55;
  filter: saturate(0.4);
  transition: opacity var(--t-mid), filter var(--t-mid), transform var(--t-mid) var(--spring);
}

.seg .seg-ico svg { width: 18px; height: 18px; }

.seg[data-cat="erp"] .seg-ico { background: var(--layer-erp); }
.seg[data-cat="plm"] .seg-ico { background: var(--layer-plm); }
.seg[data-cat="ai"] .seg-ico { background: var(--layer-ai); }
.seg[data-cat="bi"] .seg-ico { background: var(--layer-bi); }

.seg[aria-selected="true"] { color: var(--ink); }
.seg[aria-selected="true"] .seg-ico { opacity: 1; filter: none; transform: scale(1.06); }

.seg .long { display: none; }

@media (min-width: 760px) {
  .segmented { max-width: 980px; margin-inline: auto; border-radius: 999px; }
  .segmented .thumb { border-radius: 999px; }
  .segmented .thumb::before { display: none; }
  .seg {
    grid-auto-flow: column;
    gap: 10px;
    min-height: 56px;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 999px;
  }
  .seg .seg-ico { width: 28px; height: 28px; border-radius: 9px; }
}

@media (min-width: 1000px) {
  .seg .short { display: none; }
  .seg .long { display: inline; }
}

/* ---------- explorer stage ---------- */

.stage {
  margin-block-start: 18px;
  border-radius: var(--r-2xl);
  padding: 18px;
  overflow: hidden;
}

.stage-grid {
  display: grid;
  gap: 18px;
}

.cat-intro {
  display: grid;
  gap: 6px;
  padding-inline: 4px;
}

.cat-intro h3 {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cat-intro p { font-size: 16px; color: var(--ink-2); }

/* the "home screen" — every solution is an app */
.apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 6px;
  padding: 4px 0 2px;
}

.app {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  padding: 6px 2px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 560;
  line-height: 1.2;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.app .tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.08),
    0 10px 18px -10px rgba(22, 33, 61, 0.55),
    0 2px 4px rgba(22, 33, 61, 0.1);
  transition: transform var(--t-mid) var(--spring), box-shadow var(--t-mid);
}

.app .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}

.app .tile svg { width: 28px; height: 28px; position: relative; z-index: 1; }

.app[data-cat="erp"] .tile { background: var(--layer-erp); }
.app[data-cat="plm"] .tile { background: var(--layer-plm); }
.app[data-cat="ai"] .tile { background: var(--layer-ai); }
.app[data-cat="bi"] .tile { background: var(--layer-bi); }

.app:active .tile { transform: scale(0.92); }

.app[aria-pressed="true"] { color: var(--ink); font-weight: 700; }

.app[aria-pressed="true"] .tile {
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5.5px var(--violet),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 24px -12px rgba(22, 33, 61, 0.6);
}

.app-name { display: block; max-width: 11ch; }

/* the selected solution */
.feature {
  display: grid;
  gap: 16px;
  align-content: start;
}

.feature-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 18px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, 0.9), transparent 60%),
    linear-gradient(160deg, #dfe7f7, #eef1fa 45%, #e9e2fb);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), inset 0 -30px 60px -40px rgba(59, 55, 227, 0.25);
}

.feature-media[data-cat="erp"] { background: radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, 0.9), transparent 60%), linear-gradient(160deg, #ffe6d8, #f6eef0 50%, #eae6f8); }
.feature-media[data-cat="plm"] { background: radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, 0.9), transparent 60%), linear-gradient(160deg, #ebe1ff, #f1eefb 50%, #e3ebfa); }
.feature-media[data-cat="ai"] { background: radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, 0.9), transparent 60%), linear-gradient(160deg, #dde5ff, #eef0fb 50%, #e6e2fb); }
.feature-media[data-cat="bi"] { background: radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, 0.9), transparent 60%), linear-gradient(160deg, #d8f0ff, #edf3fb 50%, #e2e8fb); }

/* device frames */
.frame-window {
  position: relative;
  width: 100%;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.08), 0 30px 60px -30px rgba(22, 33, 61, 0.55), 0 8px 18px -8px rgba(22, 33, 61, 0.2);
  overflow: hidden;
}

.frame-window .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding-inline: 12px;
  background: linear-gradient(180deg, #f8f9fc, #eff2f8);
  border-bottom: 1px solid rgba(12, 20, 40, 0.07);
  direction: ltr;
}

.frame-window .bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d7dbe5;
}

.frame-window img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top right;
}

.frame-window.fit-contain img { object-fit: contain; background: #fff; }
.frame-window.tall img { aspect-ratio: 16 / 11; }

.frame-phone {
  position: relative;
  width: min(46%, 196px);
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2a3045, #0d1222);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 50px -24px rgba(22, 33, 61, 0.7), 0 6px 14px -6px rgba(22, 33, 61, 0.35);
}

.frame-phone img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top center;
  border-radius: 27px;
  background: #fff;
}

.frame-banner {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.06), 0 30px 60px -30px rgba(22, 33, 61, 0.6);
}

.frame-banner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }

.media-actions {
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 14px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.media-actions > * { pointer-events: auto; }

.play-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px 0 8px;
  padding-inline-start: 8px;
  padding-inline-end: 18px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--inner-light), var(--lift-2);
  transition: transform var(--t-fast) var(--spring);
}

.play-pill:active { transform: scale(0.95); }
.play-pill > span:not(.disc) { white-space: nowrap; }

@media (max-width: 380px) {
  .play-pill { gap: 8px; padding-inline-end: 14px; font-size: 14.5px; }
  .play-pill .disc { width: 30px; height: 30px; }
  .media-actions { inset-inline: 10px; inset-block-end: 10px; }
}

.play-pill .disc {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--rdp-ink);
  box-shadow: 0 6px 12px -6px rgba(207, 63, 11, 0.8);
}

.play-pill .disc svg { width: 14px; height: 14px; margin-inline-end: -2px; }

.play-pill small { color: var(--ink-3); font-weight: 560; font-size: 13px; }

.zoom-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-edge);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--inner-light), var(--lift-1);
  color: var(--ink);
}

.feature-body {
  display: grid;
  gap: 10px;
  padding-inline: 4px;
}

.feature-kicker {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.feature-body h3 {
  font-size: 26px;
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.feature-body .benefit {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}

.feature-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 4px;
}

.note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-3);
}

.note svg { margin-block-start: 1px; color: var(--ink-3); }

/* disclosure — "how it works" */
.how {
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 #fff;
}

.how summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
  border-radius: var(--r-md);
  -webkit-tap-highlight-color: transparent;
}

.how summary::-webkit-details-marker { display: none; }

.how summary .chev {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fill-quiet);
  color: var(--ink-2);
  transition: transform var(--t-mid) var(--spring);
}

.how[open] summary .chev { transform: rotate(-90deg); }

.how ol {
  margin: 0;
  padding: 0 16px 16px;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.how li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.how li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  background: rgba(59, 55, 227, 0.1);
}

/* switching between solutions / domains */
.stage .cat-intro,
.stage .apps,
.stage .feature-media > *,
.stage .feature-body {
  transition: opacity 240ms var(--ease-out), transform 460ms var(--ease-out), filter 240ms var(--ease-out);
}

.stage.is-swapping .feature-media > *,
.stage.is-swapping .feature-body { opacity: 0; transform: translateY(10px) scale(0.985); filter: blur(4px); }

.apps[hidden] { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.frame-window.diagram img { aspect-ratio: 1600 / 582; object-fit: contain; padding: 10px; }

@media (min-width: 900px) {
  .stage { padding: 30px; margin-block-start: 22px; }

  .stage-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "intro media"
      "apps  media"
      "body  media";
    column-gap: 36px;
    row-gap: 24px;
    align-items: start;
  }

  .cat-intro { grid-area: intro; padding-block-start: 6px; }
  .apps { grid-area: apps; }
  .feature-media { grid-area: media; align-self: stretch; min-height: 540px; padding: 44px; }
  .feature-body { grid-area: body; }
  .stage[data-cat="plm"] .feature-body { padding-block-start: 4px; }

  .cat-intro h3 { font-size: 26px; }
  .feature-body h3 { font-size: 30px; }

  .apps { gap: 18px 8px; }
  .app .tile { width: 64px; height: 64px; border-radius: 18px; }
  .frame-phone { width: min(42%, 250px); }
  .media-actions { inset-inline: 20px; inset-block-end: 20px; }
}

/* ---------- ask (problem → solution) ---------- */

.ask-card {
  border-radius: var(--r-2xl);
  padding: 22px 18px 18px;
  overflow: hidden;
}

.ask-card .section-head { margin-block-end: 18px; }

.composer {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px;
  padding-inline-start: 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.08), 0 12px 30px -16px rgba(22, 33, 61, 0.35);
  transition: box-shadow var(--t-mid);
}

.composer:focus-within { box-shadow: 0 0 0 2px var(--violet), 0 12px 30px -16px rgba(22, 33, 61, 0.35); }

/* Apple-Intelligence-like edge glow while the assistant thinks */
.composer::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: 31px;
  background: conic-gradient(from var(--spin, 0deg), #37b3f2, #3b37e3, #9e42ff, #f65415, #ffb36b, #37b3f2);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}

.composer.is-thinking::before {
  opacity: 0.85;
  animation: spin 2.2s linear infinite;
}

@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes spin { to { --spin: 360deg; } }

.composer textarea {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  max-height: 140px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  resize: none;
  font-size: 17px;
  line-height: 1.45;
  outline: none;
  field-sizing: content;
}

.composer textarea::placeholder { color: #737c92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.send-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 2px;
  flex: none;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--violet);
  box-shadow: 0 8px 16px -8px rgba(59, 55, 227, 0.8);
  transition: transform var(--t-fast) var(--spring), opacity var(--t-mid), background-color var(--t-mid);
}

.send-btn:active { transform: scale(0.9); }
.send-btn:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.send-btn svg { width: 20px; height: 20px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 560;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(22, 33, 61, 0.06);
  transition: background-color var(--t-mid), transform var(--t-fast) var(--spring), color var(--t-mid);
}

@media (hover: hover) and (pointer: fine) { .chip:hover { background: #fff; color: var(--ink); } }
.chip:active { transform: scale(0.95); }

.fineprint {
  margin-block-start: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* conversation */
.thread {
  display: grid;
  gap: 12px;
  margin-block-start: 18px;
}

.thread:empty { display: none; }

.msg {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 22px;
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-line;
  animation: msg-in 420ms var(--ease-out) both;
}

/* RTL messages: the visitor's bubble sits at the end (left), like iOS in Hebrew */
.msg.me {
  justify-self: end;
  color: #fff;
  background: linear-gradient(180deg, #5552f0, var(--violet));
  border-end-end-radius: 8px;
}

.msg.bot {
  justify-self: start;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.06), 0 6px 16px -10px rgba(22, 33, 61, 0.35);
  border-end-start-radius: 8px;
}

.msg.bot .who {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-block-end: 4px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-3);
}

.msg.bot .who svg { width: 14px; height: 14px; color: var(--violet); }

.typing {
  justify-self: start;
  display: inline-flex;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 22px;
  border-end-start-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.06);
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa3b8;
  animation: blink 1.2s infinite ease-in-out;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes blink {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* solution cards inside answers */
.sol-cards {
  display: grid;
  gap: 10px;
  justify-self: stretch;
  animation: msg-in 520ms var(--ease-out) both;
  animation-delay: 120ms;
}

.sol-card {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  padding-inline-end: 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
  text-align: start;
  box-shadow: 0 8px 22px -14px rgba(22, 33, 61, 0.45);
  transition: transform var(--t-fast) var(--spring), box-shadow var(--t-mid);
  -webkit-tap-highlight-color: transparent;
}

.sol-card:hover { box-shadow: 0 14px 30px -14px rgba(22, 33, 61, 0.5); }
.sol-card:active { transform: scale(0.98); }

.sol-card img {
  width: 76px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top right;
  background: #eef1f8;
}

.sol-card b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.sol-card span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }

.sol-card .go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--rdp-ink);
}

.sol-card .go svg { width: 13px; height: 13px; margin-inline-end: -2px; }

.answer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: msg-in 520ms var(--ease-out) both;
  animation-delay: 220ms;
}

@media (min-width: 900px) {
  .ask-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    padding: 44px;
    align-items: start;
  }
  .ask-card .section-head { margin: 0; }
  .ask-main { padding-block-start: 8px; }
  .sol-cards { grid-template-columns: 1fr; }
}

/* ---------- final call ---------- */

.final {
  position: relative;
  border-radius: var(--r-2xl);
  padding: 30px 22px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(246, 84, 21, 0.85), transparent 55%),
    radial-gradient(80% 110% at 0% 100%, rgba(59, 55, 227, 0.95), transparent 60%),
    radial-gradient(60% 80% at 40% 40%, rgba(158, 66, 255, 0.7), transparent 70%),
    #1b1f5e;
  box-shadow: var(--lift-3);
  isolation: isolate;
}

.final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 40%);
  pointer-events: none;
}

.final h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.final p {
  margin-block-start: 12px;
  max-width: 36ch;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 22px;
}

.btn-white {
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #f3f4fb);
  box-shadow: inset 0 1px 0 #fff, 0 14px 28px -14px rgba(0, 0, 0, 0.6);
}

.final .btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.final-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-block-start: 22px;
  font-size: 15px;
}

.final-contacts a { color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.final-contacts a:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .final { padding: 64px; display: grid; grid-template-columns: 1.2fr auto; align-items: end; gap: 32px; }
  .final-actions { margin: 0; justify-content: flex-end; }
}

/* ---------- footer ---------- */

.site-footer {
  padding-block: 40px calc(28px + var(--safe-b));
  color: var(--ink-3);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer-links a { color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-links { justify-content: center; }
}

/* ---------- mobile dock (floating tab bar) ---------- */

.dock {
  position: fixed;
  inset-inline: 12px;
  inset-block-end: calc(10px + var(--safe-b));
  z-index: 40;
  display: grid;
  /* iOS tab bar: side tabs stack icon over label, so the RDP AI action keeps its full name */
  grid-template-columns: minmax(62px, auto) minmax(0, 1fr) minmax(62px, auto);
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  transition: transform var(--t-slow) var(--spring), opacity var(--t-mid);
}

.dock.is-hidden { transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast), visibility 0s linear var(--t-mid); }

.dock a,
.dock button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--spring), background-color var(--t-mid);
}

.dock a:active,
.dock button:active { transform: scale(0.94); }

.dock .dock-ai {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%), var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 16px -10px rgba(12, 20, 40, 0.7);
}

.dock .dock-ai .spark { color: #b9a6ff; }

.dock > a,
.dock > button:not(.dock-ai) { flex-direction: column; gap: 3px; padding: 0 10px; font-size: 11.5px; font-weight: 650; }
.dock > a .icon-sm,
.dock > button:not(.dock-ai) .icon-sm { width: 21px; height: 21px; }
.dock .dock-ai { padding: 0 14px; font-size: 15.5px; }

/* tap feedback: pressed pill, a short icon pop, and a lit "current" tab */
.dock > a,
.dock > button:not(.dock-ai) { position: relative; }
.dock > a::before,
.dock > button:not(.dock-ai)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(59, 55, 227, 0.12);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--t-fast), transform var(--t-mid) var(--spring);
}
.dock > a.is-pressed::before,
.dock > button:not(.dock-ai).is-pressed::before,
.dock > a.is-current::before,
.dock > button:not(.dock-ai).is-current::before { opacity: 1; transform: scale(1); }
.dock > a.is-pressed,
.dock > button.is-pressed { transform: scale(0.92); }
.dock > a.is-current,
.dock > button:not(.dock-ai).is-current { color: var(--violet); }
.dock .dock-ai.is-pressed { transform: scale(0.95); filter: brightness(1.25); }
.dock .tapped svg { animation: dock-pop 0.46s var(--spring); }
@keyframes dock-pop {
  0% { transform: scale(1); }
  30% { transform: scale(0.72); }
  65% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .dock .tapped svg { animation: none; }
}

@media (min-width: 900px) {
  .dock { display: none; }
}

/* desktop AI launcher */
.ai-fab {
  display: none;
}

@media (min-width: 900px) {
  .ai-fab {
    position: fixed;
    inset-inline-end: 28px;
    inset-block-end: 28px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 22px 0 18px;
    padding-inline-start: 18px;
    padding-inline-end: 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%), var(--ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 36px -16px rgba(12, 20, 40, 0.8);
    transition: transform var(--t-fast) var(--spring), opacity var(--t-mid);
  }
  .ai-fab:active { transform: scale(0.96); }
  .ai-fab .spark { color: #b9a6ff; }
  .ai-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
}

/* ---------- sheets (dialog) ---------- */

dialog.sheet {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 28px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 34px 34px 0 0;
  color: var(--ink);
  background: rgba(248, 250, 254, 0.9);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  backdrop-filter: blur(30px) saturate(190%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.9) inset, 0 -24px 60px -20px rgba(12, 20, 40, 0.35);
  overflow: hidden;
  overscroll-behavior: contain;
}

dialog.sheet::backdrop {
  background: rgba(10, 16, 34, 0.38);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

dialog.sheet[open] { animation: sheet-up 520ms var(--spring) both; }
dialog.sheet[open]::backdrop { animation: fade-in 300ms ease both; }
dialog.sheet.is-closing { animation: sheet-down 260ms var(--ease-out) both; }
dialog.sheet.is-closing::backdrop { animation: fade-out 260ms ease both; }

@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.sheet-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 28px);
}

/* iOS: measure against the small viewport so Safari's own toolbars never hide the sheet */
@supports (height: 100svh) {
  dialog.sheet { max-height: calc(100svh - 20px); }
  .sheet-inner { max-height: calc(100svh - 20px); }
}

.grabber {
  width: 38px;
  height: 5px;
  margin: 8px auto 0;
  border-radius: 5px;
  background: rgba(60, 67, 90, 0.28);
  flex: none;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 6px 20px;
  padding-inline-start: 20px;
  padding-inline-end: 14px;
  flex: none;
}

.sheet-head h2 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.sheet-head .sub { font-size: 14px; color: var(--ink-3); }

.sheet-body {
  flex: 1 1 auto;
  min-height: 0; /* lets the body scroll instead of pushing the footer out */
  padding: 8px 20px calc(22px + var(--safe-b));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@media (min-width: 900px) {
  dialog.sheet {
    inset: 0;
    margin: auto;
    width: min(760px, calc(100% - 64px));
    max-height: min(860px, calc(100dvh - 64px));
    border-radius: 34px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--lift-3);
  }
  dialog.sheet[open] { animation: pop-in 460ms var(--spring) both; }
  dialog.sheet.is-closing { animation: pop-out 220ms var(--ease-out) both; }
  .sheet-inner { max-height: min(860px, calc(100dvh - 64px)); }
  .grabber { display: none; }
  .sheet-head { padding: 22px 22px 8px 28px; padding-inline-start: 28px; padding-inline-end: 20px; }
  .sheet-body { padding: 8px 28px 28px; }
  dialog.sheet.narrow { width: min(560px, calc(100% - 64px)); }
}

@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes pop-out { to { opacity: 0; transform: translateY(10px) scale(0.98); } }

/* media player */
.player {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0b1020;
  aspect-ratio: 16 / 9;
}

.player.portrait { aspect-ratio: 9 / 16; max-height: 62dvh; margin-inline: auto; width: auto; }

.player video,
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b1020;
}

.player video { object-fit: contain; }

.player-meta {
  display: grid;
  gap: 8px;
  margin-block-start: 16px;
}

.player-meta p { color: var(--ink-2); font-size: 16px; }

.player-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 16px; }

.yt-gate {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  color: #fff;
  background: radial-gradient(80% 80% at 50% 40%, rgba(59, 55, 227, 0.4), transparent 70%), #0b1020;
}

.yt-gate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.yt-gate > *:not(img) { position: relative; }
.yt-gate img { opacity: 0.28; filter: blur(1px) saturate(0.9); }
.yt-gate p { font-size: 13.5px; color: rgba(255, 255, 255, 0.92); max-width: 40ch; }
.yt-gate a { color: #fff; font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.yt-gate .btn-white svg { color: var(--rdp-ink); }

.zoom-img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.08);
  background: #fff;
}

/* ---------- forms: iOS inset-grouped ---------- */

.form-intro { color: var(--ink-2); font-size: 16px; margin-block-end: 16px; }

.group {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.06), 0 6px 18px -14px rgba(22, 33, 61, 0.4);
  overflow: hidden;
}

.group legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding-inline: 16px;
}

.row + .row::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 16px;
  inset-inline-end: 0;
  height: 1px;
  background: var(--hair);
}

.row label {
  font-size: 16px;
  font-weight: 560;
  color: var(--ink);
}

.row input,
.row textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  font-size: 17px;
  outline: none;
}

.row input::placeholder,
.row textarea::placeholder { color: #8189a0; }

.row input[type="email"],
.row input[type="tel"] { direction: ltr; text-align: right; }

.row.stack {
  grid-template-columns: 1fr;
  gap: 0;
  padding-block-start: 12px;
}

.row.stack textarea { min-height: 96px; padding-block: 6px 14px; resize: vertical; line-height: 1.45; }

.row:focus-within label { color: var(--violet); }

.row.invalid label { color: #c4271f; }

.field-error {
  margin: -8px 4px 12px;
  font-size: 13.5px;
  color: #b3261e;
}

.consent {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.consent label { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); font-weight: 450; cursor: pointer; }

/* iOS switch */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 32px;
  flex: none;
}

.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.switch .track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.22);
  transition: background-color 260ms var(--ease-out);
}

.switch .knob {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.06);
  transition: transform 320ms var(--spring);
}

.switch input:checked ~ .track { background: #248a3d; }
.switch input:checked ~ .knob { transform: translateX(-20px); }
[dir="ltr"] .switch input:checked ~ .knob { transform: translateX(20px); }
.switch input:focus-visible ~ .track { outline: 3px solid var(--violet); outline-offset: 2px; }

.form-actions { display: grid; gap: 10px; margin-block-start: 6px; }

.form-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-block-start: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
}

.form-status.show { display: flex; }
.form-status.ok { background: rgba(47, 181, 83, 0.12); color: #13602b; }
.form-status.err { background: rgba(196, 39, 31, 0.08); color: #8f1d17; }
.form-status.info { background: rgba(59, 55, 227, 0.08); color: #2a2696; }

.alt-contact {
  display: grid;
  gap: 8px;
  margin-block-start: 14px;
}

.alt-contact a { justify-content: flex-start; }

.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- assistant sheet ---------- */

.assistant .sheet-inner { height: min(86dvh, 760px); }
@supports (height: 100svh) { .assistant .sheet-inner { height: min(84svh, 760px); } }
.assistant .sheet-body { padding-bottom: 12px; }

.assistant .thread { margin: 0; padding-block-end: 8px; }

.assistant-intro {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 6px 0 14px;
}

.assistant-intro .badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: conic-gradient(from 200deg, #37b3f2, #3b37e3, #9e42ff, #f65415, #37b3f2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 24px -12px rgba(59, 55, 227, 0.7);
}

.assistant-intro h3 { font-size: 22px; font-weight: 760; letter-spacing: -0.02em; }
.assistant-intro p { color: var(--ink-2); font-size: 15.5px; }

.assistant-foot {
  flex: none;
  padding: 10px 16px calc(12px + var(--safe-b));
  border-top: 1px solid var(--hair);
  background: rgba(248, 250, 254, 0.86);
}

.assistant-foot .fineprint { margin-block-start: 8px; text-align: center; }

@media (min-width: 900px) {
  dialog.sheet.assistant {
    inset: auto 28px 28px auto;
    inset-inline-end: 28px;
    inset-inline-start: auto;
    inset-block-end: 28px;
    inset-block-start: auto;
    margin: 0;
    width: 420px;
    max-height: min(720px, calc(100dvh - 120px));
    border-radius: 30px;
  }
  .assistant .sheet-inner { height: min(720px, calc(100dvh - 120px)); max-height: none; }
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  inset-inline: 16px;
  inset-block-end: calc(90px + var(--safe-b));
  z-index: 80;
  max-width: 420px;
  margin-inline: auto;
  padding: 14px 18px;
  border-radius: 20px;
  color: #fff;
  font-size: 15px;
  background: rgba(12, 20, 40, 0.92);
  box-shadow: var(--lift-3);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid), transform var(--t-mid) var(--spring);
}

.toast.show { opacity: 1; transform: none; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- View Transitions polish ---------- */

::view-transition-old(feature),
::view-transition-new(feature) {
  animation-duration: 380ms;
  animation-timing-function: var(--ease-out);
}

/* ---------- reduced motion ---------- */

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

/* ---------- squircle where supported ---------- */

@supports (corner-shape: squircle) {
  .app .tile { corner-shape: squircle; border-radius: 30px; }
  .pillar .glyph { corner-shape: squircle; border-radius: 26px; }
}

/* ==========================================================================
   Additions: states used by app.js
   ========================================================================== */

html.has-sheet { overflow: hidden; }

.desk-only { display: none !important; }
@media (min-width: 900px) { .desk-only { display: inline-flex !important; } }

/* sheet drag-to-dismiss continues from the finger position */
@keyframes sheet-down { from { transform: translateY(var(--drag, 0px)); } to { transform: translateY(100%); } }

/* topbar gains weight once the page scrolls */
@media (min-width: 900px) {
  .topbar .topbar-inner { transition: box-shadow var(--t-mid), background var(--t-mid); }
  .topbar.is-scrolled .topbar-inner { background: var(--glass-strong); box-shadow: var(--inner-light), var(--lift-2); }
}

/* sheet header with identity (assistant) */
.assistant-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.assistant-id .badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 13px;
  color: #fff;
  background: conic-gradient(from 210deg, #37b3f2, #3b37e3, #9e42ff, #f65415, #37b3f2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 18px -10px rgba(59, 55, 227, 0.8);
}

.assistant-intro p { font-size: 16px; color: var(--ink-2); }
.assistant-intro .chips { margin-block-start: 4px; }

/* media tabs (two PLM demos) */
.media-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  margin-block-end: 12px;
  border-radius: 16px;
  background: var(--fill-quiet);
}

.mtab {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 620;
  transition: background-color var(--t-mid), color var(--t-mid), box-shadow var(--t-mid);
}

.mtab[aria-pressed="true"] {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 0 #fff inset, 0 4px 12px -6px rgba(22, 33, 61, 0.35);
}

.player-fallback {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 36px 16px;
  border-radius: 22px;
  background: rgba(118, 124, 148, 0.1);
  text-align: center;
}

/* image viewer */
.viewer { display: grid; gap: 10px; justify-items: center; }

.zoom-box {
  width: 100%;
  max-height: 66dvh;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.08);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.zoom-box .zoom-img { border-radius: 0; box-shadow: none; width: 100%; height: auto; }
.zoom-box.portrait { width: auto; max-width: 100%; }
.zoom-box.portrait .zoom-img { width: auto; max-height: 64dvh; margin-inline: auto; }
.zoom-box.zoomed .zoom-img { width: 220%; max-width: none; max-height: none; }
.zoom-box.portrait.zoomed .zoom-img { width: 160%; }

.sol-text { display: grid; gap: 2px; min-width: 0; }

.chips.followup { margin-block-start: 0; }

.fineprint.scope { margin-block-start: 0; }

.stage[data-cat] .cat-intro h3 { transition: color var(--t-mid); }

/* real-finger gestures: horizontal swipe on the demo, drag-down on sheet handles */
#feature-media { touch-action: pan-y; }
dialog.sheet .grabber,
dialog.sheet .sheet-head { touch-action: none; }

/* slow answer: a short note next to the typing dots */
.typing.is-slow::after { content: "החיבור כאן איטי, עוד רגע…"; margin-inline-start: 10px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- one orchestrated entrance ---------- */

@keyframes rise {
  from { opacity: 0.35; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes bloom {
  from { opacity: 0; transform: scale(0.94); filter: blur(10px) saturate(0.6); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-copy > * { animation: rise 700ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 50ms; }
.hero-copy > :nth-child(3) { animation-delay: 100ms; }
.hero-copy > :nth-child(4) { animation-delay: 150ms; }
.hero-visual { animation: bloom 1200ms var(--ease-out) 80ms both; }
.layer-tags { animation: rise 700ms var(--ease-out) 350ms both; }
.topbar-inner { animation: rise 700ms var(--ease-out) both; }

/* scroll-linked depth for the visual, where supported */
@supports (animation-timeline: scroll()) {
  /* scroll depth is now driven in app.js on .art-wrap + .layer-tags together (smoother in Safari) */
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-visual, .layer-tags, .topbar-inner { animation: none !important; opacity: 1; filter: none; transform: none; }
  .hero-visual .art { animation: none !important; translate: none; }
}

/* ---------- simple pages (404, accessibility) ---------- */
.simple-page { display: grid; gap: 22px; padding-block: 28px 64px; max-width: 860px; }
.simple-card { display: grid; gap: 14px; justify-items: start; padding: 26px 22px; border-radius: var(--r-2xl); }
.prose h2 { font-size: 20px; font-weight: 750; margin-block-start: 10px; }
.prose ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; color: var(--ink-2); }
.prose p { color: var(--ink-2); }
@media (min-width: 900px) { .simple-card { padding: 44px; } }

/* touch users: focus still moves, without a ring */
[data-quiet-focus]:focus,
[data-quiet-focus]:focus-visible { outline: none; }
.sheet-head h2:focus { outline: none; }

/* ---------- brand promise ---------- */
.signature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-start: -4px;
  font-size: 16px;
  font-weight: 560;
  color: var(--ink-2);
}
.signature img { width: 20px; height: auto; }
.signature b { font-weight: 800; color: var(--ink); letter-spacing: 0.02em; }
.signature span { background: linear-gradient(270deg, #f65415, #c2369b 55%, #6a3df0); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.signature i { font-style: normal; color: var(--ink-3); }

.pillar .glyph.g-ai { background: conic-gradient(from 210deg, #37b3f2, #3b37e3, #9e42ff, #f65415, #37b3f2); }

@media (min-width: 900px) {
  .pillar-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.final-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff !important;
}
.final-kicker img { width: 18px; height: auto; filter: brightness(0) invert(1); }
.final h2 { max-width: 16ch; }

/* ================= QA fixes ================= */

/* small phones: header lockup and dock fit without overlap */
@media (max-width: 374px) {
  .lockup { gap: 8px; }
  .lockup-rdp { width: 68px; }
  .lockup-priority img { width: 66px; }
  .lockup-priority small { font-size: 8.5px; padding-inline-start: 20px; }
  .topbar .btn { padding: 0 14px; }
  .app .tile { width: 54px; height: 54px; border-radius: 15px; }
  .app .tile svg { width: 25px; height: 25px; }
  .seg { font-size: 12px; }
}
@media (max-width: 340px) {
  .dock { grid-template-columns: minmax(56px, auto) minmax(0, 1fr) minmax(56px, auto); }
  .dock > a, .dock > button:not(.dock-ai) { padding: 0 6px; }
  .dock .dock-ai { gap: 5px; padding: 0 8px; font-size: 14px; }
}

/* focus stays visible on dark surfaces */
.final :focus-visible,
.yt-gate :focus-visible { outline-color: #fff; }

/* focused or anchored content never hides under fixed bars */
html { scroll-padding-block: 24px calc(var(--dock-h) + 16px); }
@media (min-width: 900px) {
  html { scroll-padding-block: 100px 96px; }
  .site-footer { padding-block-end: 110px; }
}

/* contrast */
#solutions .eyebrow, .eyebrow { color: #b8380a; }
.signature span { background: linear-gradient(270deg, #b8380a, #a8287f 55%, #5b32d6); -webkit-background-clip: text; background-clip: text; }
.composer textarea::placeholder,
.row input::placeholder,
.row textarea::placeholder { color: #6b7389; }
.btn-primary { background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 52%), var(--rdp-ink); }

/* form: consent error state */
.consent.invalid { box-shadow: inset 0 0 0 2px #c4271f, 0 0 0 1px rgba(12, 20, 40, 0.06); }

/* touch targets ≥ 44px */
.chip { min-height: 44px; }
.btn-sm { --h: 44px; }
.mtab { min-height: 44px; }
.lockup { min-height: 44px; }
.layer-tag::after { content: ""; position: absolute; inset: -8px -4px; }

/* used follow-up chips */
.chip[disabled] { opacity: 0.55; cursor: default; }
.chip[aria-pressed="true"] { opacity: 1; color: var(--ink); background: #fff; box-shadow: 0 0 0 2px var(--violet); }

@media (prefers-reduced-motion: reduce) {
  dialog.sheet::backdrop { animation: none !important; }
}

/* ---------- media card: picture, then one clear action below it ---------- */
.feature-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.frame-zoom {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--spring);
}
.frame-zoom:active { transform: scale(0.985); }
.frame-zoom:focus-visible { outline-offset: 6px; border-radius: 20px; }

.watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px 0 10px;
  padding-inline-start: 10px;
  padding-inline-end: 26px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%), var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 28px -14px rgba(12, 20, 40, 0.7);
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--spring), box-shadow var(--t-mid);
}
.watch-btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 34px -14px rgba(12, 20, 40, 0.75); }
.watch-btn:active { transform: scale(0.96); }
.watch-btn .disc {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rdp-ink);
  box-shadow: 0 6px 12px -6px rgba(207, 63, 11, 0.9);
}
.watch-btn .disc svg { width: 14px; height: 14px; margin-inline-end: -2px; }
.watch-btn.quiet { color: var(--ink); background: var(--glass-strong); box-shadow: var(--inner-light), var(--lift-1); }
.watch-btn.quiet .disc { background: var(--fill-quiet); color: var(--ink); box-shadow: none; }
.watch-btn.quiet .disc svg { margin: 0; }

@media (max-width: 599px) {
  .watch-btn { width: 100%; }
}

/* the video button sits under the picture box, outside it */
.feature-action { display: flex; justify-content: center; margin-block-start: -4px; }
.stage .feature-action { transition: opacity 240ms var(--ease-out), transform 460ms var(--ease-out); }
.stage.is-swapping .feature-action { opacity: 0; transform: translateY(8px); }

@media (min-width: 900px) {
  .stage-grid {
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "intro media"
      "apps  media"
      "body  media"
      "body  action";
  }
  .feature-action { grid-area: action; margin: 0; }
}

/* =====================================================================
   Customers · clearer navigation · motion
   ===================================================================== */

/* "Let's talk!" in the top bar, sized for every phone */
.topbar .btn.talk { white-space: nowrap; }
@media (max-width: 429px) {
  .lockup-rdp { width: 76px; }
  .lockup-priority img { width: 74px; }
  .lockup-priority small { font-size: 9px; padding-inline-start: 23px; }
  .topbar .btn.talk { padding: 0 14px; font-size: 15px; }
}
@media (max-width: 374px) {
  .lockup { gap: 6px; }
  .lockup-rdp { width: 66px; }
  .lockup-priority img { width: 64px; }
  .lockup-priority small { font-size: 8px; padding-inline-start: 19px; }
  .topbar .btn.talk { padding: 0 11px; font-size: 14px; }
  .topbar-inner { padding-inline-start: 12px; }
}

/* Priority's own P on the first card */
.pillar .glyph.g-priority { background: #fff; box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.06), 0 10px 20px -12px rgba(22, 33, 61, 0.45); }
.pillar .glyph.g-priority img { width: 26px; height: auto; }

/* customers strip */
.clients { padding-block: 40px 8px; }
.clients-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.marquee {
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
.marquee-set { display: flex; align-items: center; gap: 46px; margin: 0; padding: 6px 23px; list-style: none; }
.marquee-set li { flex: none; }
.marquee-set img { height: 34px; width: auto; opacity: 0.82; transition: opacity var(--t-mid); }
.marquee-set img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 900px) {
  .clients { padding-block: 64px 8px; }
  .marquee-set { gap: 64px; padding-inline: 32px; }
  .marquee-set img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-set { flex-wrap: wrap; justify-content: center; gap: 22px 34px; }
  .marquee-set[aria-hidden="true"] { display: none; }
}

/* "choose a solution" label + entrance */
.apps-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 -6px;
  padding-inline: 4px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-3);
}
.apps-label svg { color: var(--violet); }
.apps[hidden] + .feature-media,
.stage[data-cat="plm"] .apps-label { }
.stage .apps[data-count="1"], .stage .apps[hidden] { display: none; }
.stage:has(.apps[hidden]) .apps-label { display: none; }

@keyframes app-pop {
  0% { opacity: 0; transform: translateY(10px) scale(0.86); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.03); }
  100% { opacity: 1; transform: none; }
}
.app.pop { animation: app-pop 520ms var(--spring) both; animation-delay: var(--d, 0ms); }

.app .tile.logo { background: #fff; box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.06), inset 0 -2px 6px rgba(0, 0, 0, 0.04), 0 10px 18px -10px rgba(22, 33, 61, 0.45), 0 2px 4px rgba(22, 33, 61, 0.08); }
.app .tile.logo img { width: 30px; height: auto; position: relative; z-index: 1; }

@media (hover: hover) {
  .app:hover .tile { transform: translateY(-3px) scale(1.04); }
}

/* the selected solution breathes softly so it reads as "active" */
@keyframes ring-breathe {
  0%, 100% { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5.5px var(--violet), 0 14px 24px -12px rgba(22, 33, 61, 0.6); }
  50% { box-shadow: 0 0 0 3px var(--bg), 0 0 0 7px rgba(59, 55, 227, 0.55), 0 16px 28px -12px rgba(59, 55, 227, 0.55); }
}
.app[aria-pressed="true"] .tile { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5.5px var(--violet), 0 14px 24px -12px rgba(22, 33, 61, 0.6); }
.app[aria-pressed="true"] .tile::after { content: ""; position: absolute; inset: -7px; border-radius: 22px; box-shadow: 0 0 0 2px rgba(59, 55, 227, 0.55); pointer-events: none; animation: ring-pulse 2.6s ease-in-out infinite; }
@keyframes ring-pulse { 0%, 100% { transform: scale(0.96); opacity: 0; } 50% { transform: scale(1.04); opacity: 1; } }

/* the video button invites a tap */
@keyframes watch-pulse {
  0% { box-shadow: 0 0 0 0 rgba(207, 63, 11, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(207, 63, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 63, 11, 0); }
}
.watch-btn:not(.quiet) .disc { position: relative; isolation: isolate; }
.watch-btn:not(.quiet) .disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(207, 63, 11, 0.45); z-index: -1; animation: disc-ping 2.4s ease-out infinite; }
@keyframes disc-ping { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* brand mark beside a solution title (D&B) */
.feature-brand { width: 150px; height: auto; margin-block-end: 2px; }

/* pager: previous · position · next */
.pager {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 2px 0;
}
.pager-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(59, 55, 227, 0.08);
  color: var(--violet);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-mid), transform var(--t-fast) var(--spring);
}
.pager-btn:hover { background: rgba(59, 55, 227, 0.14); }
.pager-btn:active { transform: scale(0.94); }
.pager-btn .arrow { display: grid; place-items: center; flex: none; width: 16px; height: 16px; }
.pager-btn .arrow svg { width: 16px; height: 16px; }
.pager-btn.prev .arrow svg { transform: scaleX(-1); }
.pager-btn.next { color: #fff; background: var(--violet); box-shadow: 0 8px 18px -10px rgba(59, 55, 227, 0.9); }
@media (hover: hover) and (pointer: fine) { .pager-btn.next:hover { background: #2f2bd0; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
.pager:not(.explored) .pager-btn.next .arrow { animation: nudge 1.4s ease-in-out infinite; }
.pager-mid { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.dots { display: flex; gap: 6px; direction: rtl; }
.dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(60, 67, 90, 0.22); transition: width var(--t-mid) var(--spring), background-color var(--t-mid); }
.dots i.on { width: 20px; background: var(--violet); }
.count { font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.swipe-hint { grid-column: 1 / -1; margin: 2px 0 0; text-align: center; font-size: 12.5px; color: var(--ink-3); display: none; }
@media (pointer: coarse) { .pager:not(.explored) .swipe-hint { display: block; } }
@media (min-width: 900px) {
  .pager { grid-area: pager; padding: 0; }
  .apps-label { grid-area: label; }
  .stage-grid {
    grid-template-rows: auto auto auto 1fr auto auto;
    grid-template-areas:
      "intro media"
      "label media"
      "apps  media"
      "body  media"
      "body  action"
      "body  pager";
  }
}

/* the domain picker shows it moves, once, when it first appears */
@keyframes thumb-peek {
  0%, 100% { translate: 0 0; }
  30%, 48% { translate: -55% 0; }
}
@keyframes seg-hop {
  0%, 100% { transform: none; }
  40% { transform: translateY(-4px) scale(1.08); }
}
.segmented.peek .thumb { animation: thumb-peek 1.6s var(--ease-out) both; }
.segmented.peek .seg:not([aria-selected="true"]) .seg-ico { animation: seg-hop 700ms var(--spring) both; }
.segmented.peek .seg:nth-of-type(2) .seg-ico { animation-delay: 120ms; }
.segmented.peek .seg:nth-of-type(3) .seg-ico { animation-delay: 240ms; }
.segmented.peek .seg:nth-of-type(4) .seg-ico { animation-delay: 360ms; }
.seg:not([aria-selected="true"]):hover .seg-ico { opacity: 0.9; filter: none; }

/* swipe direction: content slides the way the finger went */
.stage[data-swipe="fwd"].is-swapping .feature-media > * { transform: translateX(28px) scale(0.98); }
.stage[data-swipe="back"].is-swapping .feature-media > * { transform: translateX(-28px) scale(0.98); }

@media (prefers-reduced-motion: reduce) {
  .app.pop, .app[aria-pressed="true"] .tile, .watch-btn .disc, .pager-btn .arrow, .segmented.peek .thumb, .segmented.peek .seg-ico { animation: none !important; }
}

/* =====================================================================
   Accessibility menu
   ===================================================================== */
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.a11y-btn {
  width: 44px;
  height: 44px;
  color: var(--violet);
  background: rgba(59, 55, 227, 0.1);
}
.a11y-btn:hover { background: rgba(59, 55, 227, 0.16); }
.a11y-btn .icon { width: 24px; height: 24px; }
@media (max-width: 429px) {
  .topbar-inner { gap: 8px; }
  .topbar-actions { gap: 6px; }
  .a11y-btn { width: 44px; height: 44px; }
  .a11y-btn .icon { width: 22px; height: 22px; }
  .lockup-sep { display: none; }
  .lockup { gap: 8px; }
}
@media (max-width: 374px) {
  .lockup-rdp { width: 60px; }
  .lockup-priority img { width: 58px; }
  .lockup-priority small { font-size: 7.5px; padding-inline-start: 17px; }
  .a11y-btn { width: 42px; height: 42px; }
  .topbar .btn.talk { padding: 0 10px; font-size: 13.5px; }
}

.a11y-fab {
  position: fixed;
  inset-block-start: calc(env(safe-area-inset-top, 0px) + 14px);
  inset-inline-end: 14px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--glass-edge);
  border-radius: 50%;
  color: var(--violet);
  background: var(--glass-strong);
  box-shadow: var(--inner-light), var(--lift-2);
}

.a11y-badge { background: linear-gradient(145deg, #5b8cff, #3b37e3) !important; }
.a11y-label { margin: 4px 2px 8px; font-size: 14px; font-weight: 650; color: var(--ink-3); }
.a11y-sizes { margin-block-end: 14px; }
.a11y-group { padding: 0; }
.a11y-group .a11y-row + .a11y-row { border-top: 1px solid var(--hair); }
.a11y-row label { font-size: 16px; color: var(--ink); font-weight: 560; }
.a11y-more { display: flex; gap: 18px; justify-content: center; margin-block-start: 14px; }
.a11y-more a { min-height: 44px; display: inline-flex; align-items: center; }

/* --- text size --- */
html.a11y-text-1 { --ts: 1.17; }
html.a11y-text-2 { --ts: 1.34; }
html.a11y-text-1 body, html.a11y-text-2 body { font-size: calc(17px * var(--ts)); }
html.a11y-text-1 :is(.hero-lede, .section-sub, .feature-body .benefit, .cat-intro p, .pillar p, .final p, .player-meta p, .msg, .prose p, .prose li, .assistant-intro p, .form-intro),
html.a11y-text-2 :is(.hero-lede, .section-sub, .feature-body .benefit, .cat-intro p, .pillar p, .final p, .player-meta p, .msg, .prose p, .prose li, .assistant-intro p, .form-intro) { font-size: calc(17px * var(--ts)); line-height: 1.55; }
html.a11y-text-1 :is(.fineprint, .note, .how li, .feature-kicker, .app-name, .count, .apps-label, .clients-title, .swipe-hint, .sol-card span, .consent label, .footer-links a, .site-footer p, .chip, .seg, .sheet-head .sub),
html.a11y-text-2 :is(.fineprint, .note, .how li, .feature-kicker, .app-name, .count, .apps-label, .clients-title, .swipe-hint, .sol-card span, .consent label, .footer-links a, .site-footer p, .chip, .seg, .sheet-head .sub) { font-size: calc(14.5px * var(--ts)); line-height: 1.45; }
html.a11y-text-1 :is(.row label, .row input, .row textarea, .composer textarea, .btn, .watch-btn, .pager-btn, .sol-card b, .pillar h2),
html.a11y-text-2 :is(.row label, .row input, .row textarea, .composer textarea, .btn, .watch-btn, .pager-btn, .sol-card b, .pillar h2) { font-size: calc(16.5px * var(--ts)); }
html.a11y-text-2 .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.a11y-text-2 .row { grid-template-columns: 1fr; gap: 0; padding-block-start: 10px; }

/* --- high contrast --- */
html.a11y-contrast {
  --ink-2: #0c1428;
  --ink-3: #1d2740;
  --glass: linear-gradient(#fff, #fff);
  --glass-strong: #fff;
  --glass-edge: rgba(12, 20, 40, 0.4);
  --hair: rgba(12, 20, 40, 0.35);
  --fill-quiet: rgba(12, 20, 40, 0.12);
}
html.a11y-contrast body::before { display: none; }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .glass, html.a11y-contrast .chip, html.a11y-contrast .how, html.a11y-contrast .sol-card, html.a11y-contrast .group, html.a11y-contrast .msg.bot { border: 1.5px solid rgba(12, 20, 40, 0.45); box-shadow: none; }
html.a11y-contrast :is(.hero h1 .heart, .signature span) { background: none; color: var(--rdp-ink); -webkit-text-fill-color: currentColor; }
html.a11y-contrast .eyebrow { color: #8f2a06; }
html.a11y-contrast .feature-media { background: #f3f5fa; }
html.a11y-contrast dialog.sheet { background: #fff; }

/* --- highlight links and buttons --- */
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; }
html.a11y-links :is(a, button):not(.seg):not(.app) { outline: 2px dashed rgba(59, 55, 227, 0.75); outline-offset: 2px; }
html.a11y-links .final :is(a, button) { outline-color: #fff; }

/* --- stop animations --- */
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-motion .marquee { -webkit-mask-image: none; mask-image: none; }
html.a11y-motion .marquee-track { width: auto; justify-content: center; }
html.a11y-motion .marquee-set { flex-wrap: wrap; justify-content: center; gap: 22px 34px; }
html.a11y-motion .marquee-set[aria-hidden="true"] { display: none; }

/* --- readable font --- */
html.a11y-font body, html.a11y-font :is(button, input, textarea) { font-family: Arial, "Helvetica Neue", "RDP Hebrew", sans-serif !important; letter-spacing: 0.015em; word-spacing: 0.08em; }
html.a11y-font :is(p, li) { line-height: 1.7; }

/* --- grayscale --- */
html.a11y-gray { filter: grayscale(1); }


/* =====================================================================
   Mobile review fixes (2026-10-05)
   ===================================================================== */
.keep { display: inline-block; }

/* largest text size never widens the explorer past its card (phones and tablets only) */
@media (max-width: 899px) { .stage-grid { grid-template-columns: minmax(0, 1fr); } }
html.a11y-text-1 .btn, html.a11y-text-2 .btn { white-space: normal; text-align: center; padding-block: 8px; }

/* phones: the dots get their own row, so 8 dots never slide under the buttons */
@media (max-width: 899px) {
  .pager { grid-template-columns: 1fr 1fr; grid-template-areas: "mid mid" "prev next" "hint hint"; row-gap: 10px; }
  .pager-mid { grid-area: mid; }
  .swipe-hint { grid-area: hint; }
  .pager-btn.prev { grid-area: prev; justify-self: start; }
  .pager-btn.next { grid-area: next; justify-self: end; }
  .dots { flex-wrap: wrap; justify-content: center; }
}

/* narrow phones: the lockup never runs into the accessibility button */
@media (max-width: 392px) {
  .lockup-priority small { display: none; }
  .a11y-btn { width: 44px; height: 44px; }
}
@media (max-width: 374px) {
  .topbar-inner { gap: 6px; }
  .lockup { gap: 4px; }
  .a11y-btn { width: 44px; height: 44px; }
  .seg .short { white-space: nowrap; font-size: 11px; letter-spacing: -0.01em; }
}

/* app labels wider than their tile stay centred under it */
.app { grid-template-columns: minmax(0, 1fr); }

/* final call: full-width buttons on phones, like the hero */
@media (max-width: 599px) {
  .final-actions .btn { flex: 1 1 100%; }
}

/* accessibility button that follows the visitor on phones once the top bar is gone */
.a11y-float { transition: opacity var(--t-mid), transform var(--t-mid) var(--spring), visibility 0s; }
.a11y-float.is-hidden { opacity: 0; transform: translateY(-12px) scale(0.9); visibility: hidden; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s linear var(--t-fast); }
@media (min-width: 900px) { .a11y-float { display: none; } }
html.has-sheet .a11y-float { opacity: 0; pointer-events: none; }

/* short screens: the assistant keeps room for the conversation */
@media (max-width: 899px) and (max-height: 700px) {
  .assistant .sheet-inner { height: calc(100svh - 20px); }
}
.assistant:has(#assistant-thread:not(:empty)) .assistant-foot .fineprint { display: none; }

/* landscape phones */
@media (orientation: landscape) and (max-height: 500px) {
  .hero h1 { font-size: clamp(38px, 11vh, 56px); }
  .dock { max-width: 440px; margin-inline: auto; }
  .feature-media .frame-window, .frame-banner { width: min(100%, calc((100svh - 160px) * 1.6)); }
  .player { width: min(100%, calc((100svh - 120px) * 16 / 9)); margin-inline: auto; }
}

/* grayscale reaches the sheets too */
html.a11y-gray dialog.sheet, html.a11y-gray dialog.sheet::backdrop { filter: grayscale(1); }

/* stop-animations also stops smooth scrolling (the html element itself) */
html.a11y-motion { scroll-behavior: auto !important; }
/* status region stays in the accessibility tree so its messages are announced */
.form-status:empty { display: block; padding: 0; margin: 0; border: 0; min-height: 0; }
.switch .track { box-shadow: inset 0 0 0 1.5px #767c8f; }
.switch input:checked ~ .track { box-shadow: none; }
/* landscape: keep content clear of the camera cutout */
@supports (padding: max(0px)) {
  .container { padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
}
/* on-screen keyboard (iOS): sheets sit above it and shrink to the visible area */
@media (max-width: 899px) {
  html.kb-open dialog.sheet { bottom: var(--kb, 0px); }
  html.kb-open dialog.sheet, html.kb-open dialog.sheet .sheet-inner { max-height: calc(var(--vvh, 100svh) - 12px); }
}
/* largest text: the remaining small labels grow too */
html.a11y-text-1 :is(.dock > a, .dock > button:not(.dock-ai), .event-chip),
html.a11y-text-2 :is(.dock > a, .dock > button:not(.dock-ai), .event-chip) { font-size: calc(12.5px * var(--ts)); }

/* designed product screens and infographics: whole image, natural ratio */
.frame-card { display: grid; place-items: center; }
.frame-card img { display: block; width: 100%; height: auto; max-height: min(62svh, 560px); object-fit: contain; border-radius: 22px; box-shadow: 0 2px 6px rgba(22, 33, 61, 0.06), 0 22px 48px -24px rgba(22, 33, 61, 0.35); }


/* =====================================================================
   Hero badge, layer tags, final call, motion polish (2026-10-06)
   ===================================================================== */

/* SYSTEMATICS NEXT badge: the official conference logo + date */
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 12px;
  border-radius: 22px;
  box-shadow: var(--inner-light), var(--lift-1);
}
.event-badge > img { display: block; height: 42px; width: auto; }
.event-when { display: grid; gap: 2px; padding-inline-start: 14px; border-inline-start: 1px solid var(--hair-strong); line-height: 1.15; }
.event-when b { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; letter-spacing: 0.01em; color: var(--ink); direction: ltr; justify-content: flex-end; }
.event-when > span { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.event-when .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--rdp); box-shadow: 0 0 0 3px rgba(246, 84, 21, 0.16); }
.event-when .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(246, 84, 21, 0.45); animation: ping 2.4s var(--ease-out) infinite; }
@media (min-width: 900px) {
  .event-badge > img { height: 52px; }
  .event-when b { font-size: 18px; }
  .event-when > span { font-size: 13.5px; }
}
@media (max-width: 374px) {
  .event-badge { gap: 10px; padding: 8px 12px 8px 10px; }
  .event-badge > img { height: 34px; }
  .event-when { padding-inline-start: 10px; }
  .event-when b { font-size: 14px; }
  .event-when > span { font-size: 11.5px; }
}

/* floating domain tags: small brand / icon tile + a crisp two-weight label */
.layer-tag { gap: 9px; min-height: 40px; padding: 5px 14px 5px 6px; font-size: 13.5px; }
.layer-tag .tag-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 10px -4px rgba(22, 33, 61, 0.45);
}
.layer-tag .tag-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.layer-tag .tag-ico img { width: 13px; height: auto; }
.layer-tag[data-cat="erp"] .tag-ico { background: #fff; box-shadow: inset 0 0 0 1px rgba(12, 20, 40, 0.08), 0 4px 10px -4px rgba(22, 33, 61, 0.35); }
.layer-tag[data-cat="plm"] .tag-ico { background: var(--layer-plm); }
.layer-tag[data-cat="ai"] .tag-ico { background: var(--layer-ai); }
.layer-tag[data-cat="bi"] .tag-ico { background: var(--layer-bi); }
.layer-tag .tag-txt { display: inline-flex; align-items: baseline; gap: 5px; }
.layer-tag .tag-txt b { font-weight: 750; letter-spacing: -0.005em; color: var(--ink); }
.layer-tag .tag-txt small { font-size: 0.86em; font-weight: 600; color: var(--ink-3); }
.layer-tag i { display: none; }
@media (max-width: 599px) {
  .layer-tag { min-height: 34px; padding: 4px 11px 4px 5px; gap: 7px; font-size: 12.5px; }
  .layer-tag .tag-ico { width: 24px; height: 24px; border-radius: 8px; }
  .layer-tag .tag-ico svg { width: 14px; height: 14px; }
  .layer-tag .tag-ico img { width: 11px; }
}
@media (max-width: 374px) {
  .layer-tag .tag-txt small { display: none; }
}

/* final call: bigger, calmer, more air */
#contact.section { padding-block: 40px 56px; }
.final { padding: 44px 26px 30px; border-radius: 36px; }
.final::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  inset-block-start: -35%;
  inset-inline-start: -20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), transparent);
  animation: final-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes final-drift { to { transform: translate3d(-18%, 22%, 0) scale(1.15); } }
.final-kicker { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); margin-block-end: 22px !important; }
.final h2 { font-size: clamp(40px, 11.2vw, 64px); line-height: 1.02; letter-spacing: -0.035em; max-width: 12ch; text-wrap: balance; }
.final p { margin-block-start: 20px; font-size: 18.5px; line-height: 1.6; max-width: 38ch; }
.final-contacts { margin-block-start: 26px; padding-block-start: 18px; border-block-start: 1px solid rgba(255, 255, 255, 0.2); gap: 4px 22px; }
.final-actions { gap: 12px; margin-block-start: 28px; }
.final-actions .btn { min-height: 58px; font-size: 17px; }
@media (min-width: 900px) {
  #contact.section { padding-block: 72px 96px; }
  .final { padding: 88px 80px; gap: 56px; grid-template-columns: minmax(0, 1.25fr) minmax(260px, auto); align-items: center; border-radius: 44px; }
  .final h2 { font-size: clamp(56px, 5.4vw, 84px); max-width: 13ch; }
  .final p { font-size: 20px; }
  .final-actions { flex-direction: column; align-items: stretch; min-width: 280px; }
  .final-actions .btn { min-height: 64px; font-size: 18px; }
}

/* motion polish: GPU-only properties, one easing, gentle stagger */
@keyframes bloom {
  from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.965); }
  to { opacity: 1; transform: none; }
}
.reveal { transform: translate3d(0, 26px, 0) scale(0.985); transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out); }
.reveal:not(.in) { will-change: opacity, transform; }
.reveal.in { transform: none; }
.stagger > .reveal:nth-child(2) { transition-delay: 90ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 180ms; }
.pillar-row > .reveal:nth-child(2) { transition-delay: 90ms; }
.pillar-row > .reveal:nth-child(3) { transition-delay: 180ms; }
.btn, .icon-btn, .app, .pager-btn, .seg, .layer-tag, .watch-btn { -webkit-tap-highlight-color: transparent; }
.btn { transition: transform 220ms var(--spring), box-shadow 300ms var(--ease-out), background-color 300ms var(--ease-out), filter 200ms; }
@media (prefers-reduced-motion: reduce) {
  .final::before { animation: none; }
  .reveal { transform: none; }
}
html.a11y-motion .final::before { animation: none; }
@media (max-width: 389px) {
  .layer-tag { min-height: 30px; padding: 3px 9px 3px 4px; gap: 6px; font-size: 11.5px; }
  .layer-tag .tag-ico { width: 21px; height: 21px; border-radius: 7px; }
  .layer-tag .tag-ico svg { width: 12px; height: 12px; }
  .layer-tag .tag-ico img { width: 10px; }
  .layer-tag[data-cat="plm"] { top: 1%; }
}

/* final headline: two parallel sentences, the promise lit warm */
.final h2 { max-width: none; }
.final h2 .line { display: block; text-wrap: balance; }
.final h2 .accent {
  margin-block-start: 0.06em;
  background: linear-gradient(90deg, #ffffff 0%, #ffd9c4 45%, #ff9a6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html.a11y-contrast .final h2 .accent { background: none; color: #fff; }
@media (min-width: 900px) {
  .final h2 { font-size: clamp(44px, 4.3vw, 66px); }
}
@media (min-width: 1100px) {
  .final h2 .line { white-space: nowrap; }
}

/* floating tags: one clean bubble. Safari draws a second, offset copy of backdrop-filter
   under elements moved with `translate` + an animated transform, so the tags use a solid
   frosted fill and center themselves inside the animation instead. */
.layer-tag.glass {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.9);
  translate: none;
  transform: translateX(-50%);
  animation-name: bob-centered;
}
.layer-tag.glass::after { display: none; }
.layer-tag.glass:active { transform: translateX(-50%) scale(0.95); }
@keyframes bob-centered {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* =====================================================================
   Accessibility button: one fixed button, bottom-left on every page
   ===================================================================== */
.a11y-fab {
  position: fixed;
  inset-block-start: auto;
  inset-block-end: calc(18px + var(--safe-b, 0px));
  inset-inline-end: 16px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%), var(--violet);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 14px 28px -12px rgba(59, 55, 227, 0.75);
  transition: transform 220ms var(--spring), opacity var(--t-mid), bottom var(--t-mid) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.a11y-fab .icon { width: 28px; height: 28px; }
.a11y-fab:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .a11y-fab:hover { transform: scale(1.05); } }
.a11y-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
html.has-sheet .a11y-fab { opacity: 0; pointer-events: none; }
/* phones: sits just above the tab bar when it is showing */
@media (max-width: 899px) {
  .dock ~ .a11y-fab { inset-block-end: calc(20px + var(--safe-b, 0px)); }
  .dock:not(.is-hidden) ~ .a11y-fab { inset-block-end: calc(84px + var(--safe-b, 0px)); }
}
/* desktop: the AI launcher moves over to make room */
@media (min-width: 900px) {
  .a11y-fab { inset-inline-end: 28px; inset-block-end: 30px; }
  .ai-fab { inset-inline-end: 92px; }
}
/* the top bar no longer carries the accessibility button: give the lockup its room back */
@media (max-width: 392px) {
  .lockup-priority small { display: block; }
}
@media (max-width: 340px) {
  .lockup-priority small { display: none; }
}

/* top bar: RDP and the Priority partner mark get room to breathe (the accessibility button moved down) */
.lockup { gap: 16px; }
.lockup-sep { display: block; flex: none; width: 1px; height: 28px; background: linear-gradient(180deg, transparent, var(--hair-strong) 20%, var(--hair-strong) 80%, transparent); }
@media (max-width: 899px) {
  .lockup { gap: 14px; }
  .lockup-rdp { width: 78px; }
  .lockup-priority img { width: 78px; }
  .lockup-priority small { display: block; font-size: 9px; padding-inline-start: 24px; }
}
@media (max-width: 374px) {
  .lockup { gap: 10px; }
  .lockup-sep { height: 22px; }
  .lockup-rdp { width: 66px; }
  .lockup-priority img { width: 66px; }
  .lockup-priority small { font-size: 8px; padding-inline-start: 20px; }
}
@media (max-width: 340px) {
  .lockup { gap: 8px; }
  .lockup-priority small { display: none; }
}

/* =====================================================================
   SYSTEMATICS NEXT badge in the conference colours + first-load logo glow
   ===================================================================== */
.event-badge {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(90% 140% at 0% 110%, rgba(64, 196, 230, 0.42), transparent 55%),
    radial-gradient(80% 130% at 100% -10%, rgba(158, 66, 255, 0.5), transparent 60%),
    linear-gradient(135deg, #15183a 0%, #1f1f55 55%, #2a2468 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 36px -18px rgba(21, 24, 58, 0.75);
}
.event-badge::before {
  /* the conference's particle wave, drawn with gradients only */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(circle at 20% 120%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 7px);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 45%, transparent 85%);
  mask-image: linear-gradient(100deg, transparent 10%, #000 45%, transparent 85%);
}
.event-when { border-inline-start-color: rgba(255, 255, 255, 0.22); }
.event-when b { color: #fff; }
.event-when > span { color: rgba(226, 228, 255, 0.82); }
.event-when .dot { background: #ff7a45; box-shadow: 0 0 0 3px rgba(255, 122, 69, 0.25); }

/* one light sweep + a soft glow on every logo when the page first opens */
.brand-glow { position: relative; isolation: isolate; }
.brand-glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.85) 48%, rgba(255, 255, 255, 0) 64%);
  mix-blend-mode: soft-light;
  transform: translateX(-120%);
  animation: logo-sweep 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.55s 1 both;
}
.event-badge.brand-glow::after { mix-blend-mode: normal; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.28) 48%, transparent 64%); animation-delay: 0.9s; }
@keyframes logo-sweep { from { transform: translateX(120%); } to { transform: translateX(-120%); } }
.lockup-rdp { animation: glow-orange 1.8s ease-out 0.5s 1 both; }
.lockup-priority img { animation: glow-violet 1.8s ease-out 0.7s 1 both; }
.event-badge > img { animation: glow-white 2s ease-out 0.9s 1 both; }
.signature img, .final-kicker img { animation: glow-orange 1.8s ease-out 1.1s 1 both; }
.pillar .glyph { animation: glow-violet 1.8s ease-out 1.2s 1 both; }
@keyframes glow-orange { 0% { filter: drop-shadow(0 0 0 rgba(246, 84, 21, 0)); } 35% { filter: drop-shadow(0 0 10px rgba(246, 84, 21, 0.75)); } 100% { filter: drop-shadow(0 0 0 rgba(246, 84, 21, 0)); } }
@keyframes glow-violet { 0% { filter: drop-shadow(0 0 0 rgba(120, 90, 255, 0)); } 35% { filter: drop-shadow(0 0 12px rgba(120, 90, 255, 0.7)); } 100% { filter: drop-shadow(0 0 0 rgba(120, 90, 255, 0)); } }
@keyframes glow-white { 0% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); } 35% { filter: drop-shadow(0 0 12px rgba(190, 210, 255, 0.95)); } 100% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); } }
/* client logos: a single shimmer passes along the strip as it scrolls into view */
.clients .marquee { position: relative; }
.clients .marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
  transform: translateX(110%);
  opacity: 0;
}
.clients.in .marquee::after { animation: strip-shine 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s 1 both; }
@keyframes strip-shine { 0% { opacity: 1; transform: translateX(110%); } 100% { opacity: 1; transform: translateX(-110%); } }
@media (prefers-reduced-motion: reduce) {
  .brand-glow::after, .clients .marquee::after { display: none; }
  .lockup-rdp, .lockup-priority img, .event-badge > img, .signature img, .final-kicker img, .pillar .glyph { animation: none; }
}
html.a11y-motion .brand-glow::after, html.a11y-motion .clients .marquee::after { display: none; }
html.a11y-contrast .event-badge { background: #000; }

/* SYSTEMATICS NEXT badge: light glass, as before, with the logo in the conference navy */
.event-badge.event-light {
  color: var(--ink);
  border: 1px solid var(--glass-edge);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--inner-light), var(--lift-1);
}
.event-badge.event-light::before { display: none; }
.event-light .event-when { border-inline-start-color: var(--hair-strong); }
.event-light .event-when b { color: #23265a; }
.event-light .event-when > span { color: var(--ink-3); }
.event-light .event-when .dot { background: var(--rdp); box-shadow: 0 0 0 3px rgba(246, 84, 21, 0.16); }
.event-light.brand-glow::after { mix-blend-mode: normal; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.85) 48%, transparent 64%); }
.event-light > img { animation-name: glow-navy; }
@keyframes glow-navy { 0% { filter: drop-shadow(0 0 0 rgba(35, 38, 90, 0)); } 35% { filter: drop-shadow(0 0 10px rgba(110, 90, 255, 0.55)); } 100% { filter: drop-shadow(0 0 0 rgba(35, 38, 90, 0)); } }

/* =====================================================================
   Hero depth on scroll: the art and its tags move as one GPU layer
   ===================================================================== */
.hero-visual .art-wrap {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(52% 50% at 54% 50%, #000 58%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
  mask-image: radial-gradient(52% 50% at 54% 50%, #000 58%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
  transform: translate3d(0, 0, 0);
  transform-origin: 56% 45%;
  will-change: transform;
  backface-visibility: hidden;
}
.hero-visual .art { -webkit-mask-image: none; mask-image: none; backface-visibility: hidden; }
.hero-visual .layer-tags { transform: translate3d(0, 0, 0); will-change: transform; }
/* the cards below the hero always ride above the drifting art */
.pillars { position: relative; z-index: 2; }

/* parallax uses the independent translate/scale properties (see app.js) */
.hero-visual .art-wrap { will-change: translate, scale; }
.hero-visual .layer-tags { will-change: translate; }

/* =====================================================================
   iPhone fix: nothing may widen the page (Safari zooms the whole page out)
   ===================================================================== */
html, body { overflow-x: clip; }
/* the light sweep moves its gradient, not the layer, so it never leaves the logo's box */
.brand-glow::after {
  transform: none !important;
  background-size: 260% 100% !important;
  background-position: 130% 0;
  animation: logo-sweep-bg 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.55s 1 both !important;
}
.event-badge.brand-glow::after { animation-delay: 0.9s !important; }
@keyframes logo-sweep-bg {
  0% { background-position: 130% 0; opacity: 1; }
  99% { background-position: -30% 0; opacity: 1; }
  100% { background-position: -30% 0; opacity: 0; }
}

/* brand mark on a regular domain tile (D&B on Priority orange) */
.app .tile.has-logo img { width: 22px; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18)); }

/* =====================================================================
   Final call "wow": a glowing brand ring, a shimmering promise, one sweep
   ===================================================================== */
.final-glow {
  position: relative;
  padding: 2px;
  border-radius: 38px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px -34px rgba(158, 66, 255, 0.55), 0 18px 50px -30px rgba(246, 84, 21, 0.45);
}
@media (min-width: 900px) { .final-glow { border-radius: 46px; } }
.final-glow > .final { border-radius: 36px; }
@media (min-width: 900px) { .final-glow > .final { border-radius: 44px; } }
/* the ring: a conic gradient square spun with transform (GPU), clipped to a 2px edge */
.final-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: var(--ring, 200%);
  height: var(--ring, 200%);
  background: conic-gradient(from 0deg, #ff7a45, #ff3d8b, #9e42ff, #3b37e3, #37b3f2, #3b37e3, #9e42ff, #ff7a45);
  transform: translate(-50%, -50%) rotate(0turn);
  animation: ring-spin 8s linear infinite;
  will-change: transform;
}
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(1turn); } }
/* one light sweep across the card the first time it scrolls into view */
.final-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  opacity: 0;
}
.final-glow:has(.final.in)::after { animation: final-sweep 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.45s 1 both; }
@keyframes final-sweep { 0% { opacity: 1; background-position: 130% 0; } 99% { opacity: 1; background-position: -30% 0; } 100% { opacity: 0; background-position: -30% 0; } }
/* the promise line shimmers */
.final h2 .accent {
  background: linear-gradient(90deg, #ffffff 0%, #ffd9c4 22%, #ff9a6b 42%, #ffffff 55%, #ffd9c4 72%, #ff9a6b 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: promise-shine 5s linear infinite;
  filter: drop-shadow(0 0 18px rgba(255, 140, 90, 0.35));
}
@keyframes promise-shine { from { background-position: 0% 0; } to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) {
  .final-glow::before, .final h2 .accent { animation: none; }
  .final-glow::after { display: none; }
}
html.a11y-motion .final-glow::before, html.a11y-motion .final h2 .accent { animation: none !important; }
html.a11y-contrast .final-glow::before { display: none; }

/* contact form: every field is a visible, tappable text box */
.row input,
.row textarea {
  min-height: 46px;
  margin-block: 7px;
  padding: 11px 14px;
  border: 1px solid #dfe4ef;
  border-radius: 12px;
  background: #f5f7fc;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.row input:hover, .row textarea:hover { border-color: #c9d0e2; }
.row input:focus,
.row textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(59, 55, 227, 0.16);
}
.row.stack { padding-block-end: 10px; }
.row.stack textarea { min-height: 112px; margin-block-start: 8px; resize: vertical; }
.row input::placeholder, .row textarea::placeholder { color: #8a92a8; }
.row.invalid input, .row.invalid textarea { border-color: #c4271f; box-shadow: 0 0 0 3px rgba(196, 39, 31, 0.12); }


/* =====================================================================
   What customers say
   ===================================================================== */
.voices-track {
  display: flex;
  gap: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.voices-track::-webkit-scrollbar { display: none; }
.voices-track:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 24px; }
.voice {
  flex: 0 0 min(84%, 360px);
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  margin: 0;
  padding: 26px 22px 20px;
  border-radius: 28px;
  box-shadow: var(--inner-light), var(--lift-1);
}
.voice blockquote { margin: 0; position: relative; }
.voice blockquote::before {
  content: "\201D";
  display: block;
  height: 38px;
  font: 800 76px/1 Georgia, "Times New Roman", serif;
  background: linear-gradient(135deg, var(--rdp), var(--purple) 60%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.voice blockquote p { margin-block-start: 8px; font-size: 17.5px; line-height: 1.6; font-weight: 550; color: var(--ink); text-wrap: pretty; }
.voice figcaption { display: flex; align-items: center; gap: 12px; padding-block-start: 14px; border-block-start: 1px solid var(--hair); }
.voice-logo { flex: none; width: auto; height: 30px; max-width: 92px; object-fit: contain; opacity: 0.85; }
.voice-initial { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--violet), var(--purple)); }
.voice-who { display: grid; gap: 2px; min-width: 0; }
.voice-who b { font-size: 16px; font-weight: 750; }
.voice-who small { font-size: 13.5px; color: var(--ink-3); }
.voices-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-block-start: 4px; font-size: 13.5px; color: var(--ink-3); }
.voices-foot a { color: var(--violet); }
.voices-hint::after { content: " ←"; }
@media (min-width: 900px) {
  .voices-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-inline: 0; padding: 6px 0 10px; overflow: visible; }
  .voice { padding: 30px 28px 24px; }
  .voice blockquote p { font-size: 18px; }
  .voices-hint { display: none; }
  .voices-foot { justify-content: center; }
}
html.a11y-text-1 .voice blockquote p, html.a11y-text-2 .voice blockquote p { font-size: calc(17.5px * var(--ts)); }

/* testimonials: an auto-advancing carousel at every width (3 per view on desktop) */
.voices-track { scroll-behavior: smooth; }
.voice-logo { height: 34px; max-width: 104px; opacity: 1; }
@media (min-width: 900px) {
  .voices-track {
    display: flex;
    gap: 18px;
    margin-inline: 0;
    padding: 6px 2px 14px;
    overflow-x: auto;
  }
  .voice { flex: 0 0 calc((100% - 36px) / 3); }
}
.voices-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-block-start: 6px; }
.vc-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--violet);
  background: rgba(59, 55, 227, 0.08);
  transition: transform 200ms var(--spring), background-color var(--t-fast);
}
.vc-btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .vc-btn:hover { background: rgba(59, 55, 227, 0.16); } }
.vc-prev svg { transform: scaleX(-1); }
.vc-dots { display: flex; gap: 6px; align-items: center; padding-inline: 4px; }
.vc-dots i { width: 7px; height: 7px; border-radius: 4px; background: #c9cedb; transition: width var(--t-mid) var(--ease-out), background-color var(--t-mid); }
.vc-dots i.on { width: 22px; background: var(--violet); }
.vc-pause { position: relative; width: 12px; height: 14px; }
.vc-pause::before, .vc-pause::after { content: ""; position: absolute; top: 0; width: 4px; height: 14px; border-radius: 2px; background: currentColor; }
.vc-pause::before { right: 0; }
.vc-pause::after { left: 0; }
.vc-toggle[aria-pressed="true"] .vc-pause::after { display: none; }
.vc-toggle[aria-pressed="true"] .vc-pause::before { right: auto; left: 2px; width: 0; height: 0; border-radius: 0; background: none; border-block: 7px solid transparent; border-inline-end: 12px solid currentColor; }
.voices-foot { justify-content: center; margin-block-start: 10px; }
.voices-hint { display: none; }
/* logos with a white plate blend into the glass card */
.voice-logo { mix-blend-mode: normal; }

/* entrance: movement only. The hero is fully opaque from the first frame, so it paints (and counts as LCP) immediately */
@keyframes bloom { from { transform: translate3d(0, 14px, 0) scale(0.97); } to { transform: none; } }
@keyframes rise { from { transform: translate3d(0, 12px, 0); } to { transform: none; } }
/* snap only after the visitor touches the strip: a snap correction at load counts as a scroll and hides LCP */
.voices-track { scroll-snap-type: none; }
.voices-track.snap { scroll-snap-type: x mandatory; }

/* =====================================================================
   Smooth scrolling on phones
   ===================================================================== */
/* loops stop when their section is off screen */
.offscreen *, .offscreen::before, .offscreen::after,
.offscreen .marquee-track, .offscreen .layer-tag, .offscreen .art { animation-play-state: paused !important; }
@media (pointer: coarse) {
  /* in-flow cards: frosted look without a live blur (blur re-renders on every scroll frame on iOS) */
  .glass:not(.dock):not(.topbar-inner):not(dialog *),
  .pillar, .stage, .ask-card, .voice, .clients, .event-badge.event-light, .segmented {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  }
  .final-glow { background: none; }
  /* the hero art floats only while the page is still */
  .hero-visual .art { animation: none; }
  .hero-visual .art-wrap, .hero-visual .layer-tags { will-change: auto; translate: none !important; scale: none !important; }
  /* scroll reveal: shorter, transform only */
  .reveal { transition-duration: 600ms, 650ms; }
}
/* the ask box sits right under the hero */
#ask.section { padding-block: 8px 28px; position: relative; z-index: 3; }
@media (min-width: 900px) { #ask.section { padding-block: 0 40px; } }

/* =====================================================================
   Hero: "תשאלו את RDP AI" is the eye-catcher; "גלו" is the quiet white button
   ===================================================================== */
.btn-explore { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(12, 20, 40, 0.08), 0 10px 22px -14px rgba(22, 33, 61, 0.45); }
.btn-ai {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  font-weight: 750;
  background: linear-gradient(120deg, #3b37e3 0%, #7a3cf0 45%, #9e42ff 70%, #f65415 120%);
  background-size: 180% 100%;
  box-shadow: 0 0 0 0 rgba(122, 60, 240, 0.5), 0 16px 30px -14px rgba(83, 52, 227, 0.85);
  animation: ai-breathe 4s ease-in-out infinite, ai-hue 8s ease-in-out infinite alternate;
}
.btn-ai .spark { color: #fff; animation: ai-twinkle 4s ease-in-out infinite; }
/* a light sweep passes across the button every 4 seconds */
.btn-ai::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  background-size: 260% 100%;
  background-position: 130% 0;
  animation: ai-sweep 4s cubic-bezier(0.4, 0, 0.2, 1) 1.2s infinite;
}
@keyframes ai-sweep { 0% { background-position: 130% 0; } 40%, 100% { background-position: -30% 0; } }
@keyframes ai-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122, 60, 240, 0.45), 0 16px 30px -14px rgba(83, 52, 227, 0.85); }
  50% { box-shadow: 0 0 0 9px rgba(122, 60, 240, 0), 0 18px 36px -12px rgba(122, 60, 240, 0.95); }
}
@keyframes ai-hue { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes ai-twinkle { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.3) rotate(18deg); } }
@media (hover: hover) and (pointer: fine) { .btn-ai:hover { filter: brightness(1.08); } }
.offscreen .btn-ai, .offscreen .btn-ai::after, .offscreen .btn-ai .spark { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .btn-ai, .btn-ai::after, .btn-ai .spark { animation: none; } }
html.a11y-motion .btn-ai, html.a11y-motion .btn-ai::after, html.a11y-motion .btn-ai .spark { animation: none !important; }


/* every "ask RDP AI" button gets a violet glow pulse every ~4s (opacity only, so it stays smooth on phones) */
.dock .dock-ai,
.ai-fab,
.topbar [data-open="assistant"],
.final [data-open="assistant"],
.btn-outline[data-open="assistant"] {
  position: relative;
  isolation: isolate;
}
.ai-fab { position: fixed; }
.dock .dock-ai::before,
.ai-fab::before,
.topbar [data-open="assistant"]::before,
.btn-outline[data-open="assistant"]::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, #4f46ff, #9e42ff 55%, #f65415);
  filter: blur(11px);
  opacity: 0;
  pointer-events: none;
  animation: ai-glow 4s ease-in-out 1.5s infinite;
}
.dock .dock-ai .spark,
.ai-fab .spark,
.topbar [data-open="assistant"] .spark { animation: ai-twinkle 4s ease-in-out 1.5s infinite; }
@keyframes ai-glow { 0%, 62%, 100% { opacity: 0; } 78% { opacity: 0.95; } }
.offscreen .dock-ai::before, .offscreen .ai-fab::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .dock .dock-ai::before, .ai-fab::before, .topbar [data-open="assistant"]::before, .btn-outline[data-open="assistant"]::before,
  .dock .dock-ai .spark, .ai-fab .spark, .topbar [data-open="assistant"] .spark { animation: none; }
}
html.a11y-motion .dock .dock-ai::before, html.a11y-motion .ai-fab::before, html.a11y-motion .topbar [data-open="assistant"]::before, html.a11y-motion .btn-outline[data-open="assistant"]::before,
html.a11y-motion .dock .dock-ai .spark, html.a11y-motion .ai-fab .spark, html.a11y-motion .topbar [data-open="assistant"] .spark { animation: none !important; }

/* =====================================================================
   Priority Summit 2026 (22.10.2026): Priority navy + neon, RDP orange actions
   ===================================================================== */
:root {
  --ps-navy: #16213d;
  --ps-cyan: #5ecdf6;
  --bg: #eef1fb;
}
body::before {
  background:
    radial-gradient(40vmax 30vmax at 90% 8%, rgba(94, 205, 246, 0.26), transparent 70%),
    radial-gradient(36vmax 30vmax at 4% 40%, rgba(158, 66, 255, 0.18), transparent 70%),
    radial-gradient(34vmax 28vmax at 70% 62%, rgba(59, 55, 227, 0.12), transparent 70%),
    radial-gradient(26vmax 22vmax at 96% 96%, rgba(246, 84, 21, 0.09), transparent 70%),
    var(--bg);
}

/* the summit's neon rounded-corner lines at the top corners; the gradient flows along them */
@keyframes ps-neon-flow { to { background-position: 200% 0; } }
body.ps-theme::after,
html:has(> body.ps-theme)::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.85;
  animation: ps-neon-flow 6s linear infinite;
}
body.ps-theme::after { right: 0; padding: 0 0 3px 3px; width: 34%; height: 110px; border-radius: 0 0 0 64px; background-image: linear-gradient(90deg, #9e42ff, #3b37e3, #5ecdf6, #3b37e3, #9e42ff); }
html:has(> body.ps-theme)::after { left: 0; padding: 0 3px 3px 0; width: 24%; height: 80px; border-radius: 0 0 56px 0; background-image: linear-gradient(90deg, #5ecdf6, #3b37e3, #9e42ff, #3b37e3, #5ecdf6); animation-duration: 8s; animation-direction: reverse; }
@media (max-width: 599px) {
  body.ps-theme::after { width: 46%; height: 44px; border-radius: 0 0 0 44px; }
  html:has(> body.ps-theme)::after { width: 30%; height: 30px; border-radius: 0 0 40px 0; }
}

/* Priority Summit badge: navy pill, white Priority logo, neon edge that pulses */
@keyframes ps-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 1.5px rgba(94, 205, 246, 0.55), 0 0 22px -8px rgba(110, 90, 255, 0.6), 0 20px 40px -20px rgba(22, 33, 61, 0.8); }
  50% { box-shadow: 0 0 0 1.5px rgba(158, 66, 255, 0.85), 0 0 40px -4px rgba(110, 90, 255, 0.95), 0 20px 40px -20px rgba(22, 33, 61, 0.8); }
}
.event-badge.ps-badge {
  color: #fff;
  gap: 16px;
  padding: 12px 18px 12px 14px;
  border: 0;
  background:
    radial-gradient(120% 160% at 100% -20%, rgba(158, 66, 255, 0.45), transparent 55%),
    radial-gradient(90% 150% at 0% 120%, rgba(94, 205, 246, 0.35), transparent 55%),
    var(--ps-navy);
  animation: ps-badge-pulse 3.2s ease-in-out infinite;
}
.event-badge.ps-badge::before { display: none; }
.ps-mark { display: grid; gap: 4px; justify-items: start; direction: ltr; }
.ps-mark > img { display: block; height: 22px; width: auto; animation: glow-white 2s ease-out 0.9s 1 both; }
.ps-name { display: flex; align-items: baseline; gap: 8px; line-height: 1; white-space: nowrap; }
.ps-name b { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.ps-name small { font-size: 11.5px; font-weight: 600; color: var(--ps-cyan); letter-spacing: 0.02em; }
.ps-badge .event-when { border-inline-start-color: rgba(255, 255, 255, 0.22); }
.ps-badge .event-when b { color: var(--ps-cyan); }
.ps-badge .event-when > span { color: rgba(226, 232, 255, 0.86); }
.ps-badge .event-when .dot { background: #ff7a45; box-shadow: 0 0 0 3px rgba(255, 122, 69, 0.28); }
@media (min-width: 900px) {
  .ps-mark > img { height: 26px; }
  .ps-name b { font-size: 20px; }
}
@media (max-width: 599px) {
  .event-badge.ps-badge { gap: 12px; padding: 10px 14px 10px 12px; max-width: 100%; box-sizing: border-box; }
  .ps-mark > img { height: 18px; }
  .ps-name { flex-direction: column; align-items: flex-start; gap: 3px; }
  .ps-name b { font-size: 15px; }
  .ps-name small { font-size: 10.5px; }
  .ps-badge .event-when { padding-inline-start: 12px; }
  .ps-badge .event-when b { font-size: 15px; }
  .ps-badge .event-when > span { font-size: 11.5px; }
}
@media (max-width: 374px) {
  .event-badge.ps-badge { gap: 10px; padding: 9px 12px 9px 10px; }
  .ps-mark > img { height: 16px; }
  .ps-name b { font-size: 13.5px; }
  .ps-name small { font-size: 9.5px; }
}
html.a11y-contrast .event-badge.ps-badge { background: #000; animation: none; }

/* "ללב": the gradient flows and the word beats softly */
@keyframes ps-heart-flow { to { background-position: 200% 0; } }
@keyframes ps-heart-beat { 0%, 62%, 100% { transform: scale(1); } 70% { transform: scale(1.07); } 78% { transform: scale(1); } 86% { transform: scale(1.04); } }
.ps-theme .hero h1 .heart {
  background-image: linear-gradient(270deg, #f65415 0%, #c2369b 25%, #6a3df0 50%, #c2369b 75%, #f65415 100%);
  background-size: 200% 100%;
  animation: ps-heart-flow 5s linear infinite, ps-heart-beat 3.6s ease-in-out 1.2s infinite;
}

/* one light sweep across the orange buttons every few seconds */
@keyframes ps-sheen { 0%, 70% { transform: translateX(130%) skewX(-18deg); } 100% { transform: translateX(-130%) skewX(-18deg); } }
.ps-theme .btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.ps-theme .btn-primary::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); animation: ps-sheen 5s ease-in-out 2s infinite; }

/* final call on the summit navy */
.ps-theme .final {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(246, 84, 21, 0.7), transparent 52%),
    radial-gradient(70% 110% at 0% 100%, rgba(94, 205, 246, 0.55), transparent 60%),
    radial-gradient(60% 80% at 45% 40%, rgba(158, 66, 255, 0.6), transparent 70%),
    var(--ps-navy);
}

@media (prefers-reduced-motion: reduce) {
  body.ps-theme::after, html:has(> body.ps-theme)::after, .event-badge.ps-badge, .ps-theme .hero h1 .heart, .ps-theme .btn-primary::after { animation: none; }
}
html.a11y-motion :is(body.ps-theme::after, .event-badge.ps-badge, .ps-theme .hero h1 .heart, .ps-theme .btn-primary::after) { animation: none; }
html.a11y-motion:has(> body.ps-theme)::after, html.a11y-motion body.ps-theme::after { animation: none; }

/* =====================================================================
   2026-10-18 (Oz): summit badge in the site's light glass, not navy;
   calmer motion on phones (no pulsing / beating / flowing on small screens)
   ===================================================================== */
@keyframes ps-badge-glow {
  0%, 100% { box-shadow: var(--inner-light), var(--lift-1), 0 0 0 1px rgba(94, 205, 246, 0.35); }
  50% { box-shadow: var(--inner-light), var(--lift-1), 0 0 0 1px rgba(158, 66, 255, 0.45), 0 0 22px -6px rgba(110, 90, 255, 0.45); }
}
.event-badge.ps-badge {
  color: var(--ink);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  animation: ps-badge-glow 4s ease-in-out infinite;
}
.ps-mark > img { animation-name: glow-navy; }
.ps-name b { color: var(--navy); }
.ps-name small { color: var(--violet); }
.ps-badge .event-when { border-inline-start-color: var(--hair-strong); }
.ps-badge .event-when b { color: var(--violet); }
.ps-badge .event-when > span { color: var(--ink-3); }
.ps-badge .event-when .dot { background: var(--rdp); box-shadow: 0 0 0 3px rgba(246, 84, 21, 0.16); }
html.a11y-contrast .event-badge.ps-badge { background: #fff; color: #000; }

@media (max-width: 899px) {
  body.ps-theme::after, html:has(> body.ps-theme)::after, .event-badge.ps-badge,
  .ps-theme .hero h1 .heart, .ps-theme .btn-primary::after { animation: none; }
  .ps-theme .btn-primary::after { display: none; }
  /* hero art and domain tags stand still on phones */
  .ps-theme .hero-visual .art, .ps-theme .layer-tag { animation: none; }
}

/* =====================================================================
   Hero panes: each glass pane (RDP → Priority → AI → BI) steps forward
   in turn and settles back. Transform only, one GPU layer per pane.
   ===================================================================== */
.hero-visual .panes { position: absolute; inset: 0; }
.hero-visual .pane-l {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  will-change: transform;
  animation: pane-pop 12s ease-in-out infinite both;
}
/* origin = the centre of each pane in the 1122×900 art */
.hero-visual .pl-1 { transform-origin: 18.6% 50.2%; animation-delay: 9s; }
.hero-visual .pl-2 { transform-origin: 38.9% 50.2%; animation-delay: 6s; }
.hero-visual .pl-3 { transform-origin: 60.3% 50.2%; animation-delay: 3s; }
.hero-visual .pl-4 { transform-origin: 83% 50.2%; animation-delay: 0s; }
@keyframes pane-pop {
  /* each pane stays in front for 3s; as the next one steps up, it settles back (a soft hand-off) */
  0% { transform: translate3d(0, 0, 0) scale(1); animation-timing-function: cubic-bezier(.34, 1.35, .64, 1); }
  12%, 25% { transform: translate3d(0, -3.5%, 0) scale(1.12); animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
  37%, 100% { transform: translate3d(0, 0, 0) scale(1); }
}
/* the background and the panes float together (desktop only) */
.ps-theme .hero-visual .art { animation: none; }
.ps-theme .hero-visual .art-wrap { animation: float-art 14s ease-in-out infinite alternate; }
.offscreen .pane-l { animation-play-state: paused !important; }
@media (max-width: 899px) {
  .ps-theme .hero-visual .art-wrap { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .pane-l, .ps-theme .hero-visual .art-wrap { animation: none !important; }
}

/* =====================================================================
   Moti's notes (20.10): official "Priority Authorized Partner" logo in the
   header, and a QR card in the corner for the booth screen (desktop only:
   on a phone the visitor is already on the site).
   ===================================================================== */
.lockup-priority img.partner-logo { width: 104px; height: auto; }
@media (min-width: 900px) { .lockup-priority img.partner-logo { width: 132px; } }
@media (max-width: 374px) { .lockup-priority img.partner-logo { width: 84px; } }

.qr-card { display: none; }
@media (min-width: 1200px) and (min-height: 640px) {
  /* bigger on a booth screen (1920) so it scans from a step away */
  .qr-card { --qr: clamp(104px, 7.8vw, 150px); }
  .qr-card {
    position: fixed;
    z-index: 39;
    inset-inline-start: 28px;
    inset-block-end: 28px;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: calc(var(--qr) + 28px);
    padding: 12px 12px 11px;
    border-radius: 26px;
    color: var(--ink);
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(135deg, var(--ps-cyan, #5ecdf6), #3b37e3 45%, #9e42ff 70%, var(--rdp, #f65415)) border-box;
    border: 2px solid transparent;
    box-shadow: 0 18px 40px -18px rgba(35, 38, 90, 0.45), 0 2px 6px rgba(35, 38, 90, 0.08);
    transition: opacity 240ms ease, transform 240ms ease;
  }
  .qr-frame { display: block; width: var(--qr); aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; }
  .qr-frame img { display: block; width: 100%; height: 100%; }
  .qr-txt { display: grid; justify-items: center; gap: 1px; text-align: center; line-height: 1.2; }
  .qr-txt b { font-size: 13px; font-weight: 750; color: var(--navy, #16213d); }
  .qr-txt small { font-size: 10px; font-weight: 600; color: var(--violet); letter-spacing: 0.01em; }
  html.has-sheet .qr-card { opacity: 0; pointer-events: none; transform: translateY(12px); }
}
html.a11y-contrast .qr-card { background: #fff; border-color: #000; }

/* hero tags read in English (20.10): keep word order left-to-right inside each tag */
.layer-tag .tag-txt { direction: ltr; }
@media (max-width: 599px) {
  /* "PLM · PDM Engineering" is wider than the Hebrew label was; give BI room */
  .layer-tag[data-cat="plm"] { left: 69%; }
}
@media (min-width: 600px) {
  .layer-tag[data-cat="bi"] { left: 36%; }
  .layer-tag[data-cat="plm"] { left: 70%; }
}
@media (min-width: 600px) and (max-width: 1399px) {
  .layer-tag[data-cat="ai"] { left: 49%; }
  .layer-tag[data-cat="erp"] { left: 82%; }
}
