/* Greems — merged design system (Edge shell + Greems engine components)
   Single global stylesheet. No build step. RTL-aware. IS 5568 / WCAG 2.1 AA.
   Base extracted from Greems demo; merge additions appended at end. */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #0b130d;
  --bg2: #111d14;
  --bg3: #18271b;
  --text: #e4f0e4;
  --dim: #6a9a6a;
  /* raised from #3a5a3a, which measured 2.43:1 on --bg and failed WCAG AA */
  --dim2: #6a9a6a;
  --accent: #22c55e;
  --accent2: #4ade80;
  --accent-dark: #16a34a;
  --glow: rgba(34, 197, 94, 0.06);
  --glow2: rgba(34, 197, 94, 0.12);
  --border: rgba(34, 197, 94, 0.06);
  --border2: rgba(34, 197, 94, 0.15);
  --r: 14px;
  --font: "Outfit", system-ui, sans-serif;
}
html {
  scroll-behavior: smooth;
}
html[dir="rtl"] {
  --font: "Heebo", "Outfit", system-ui, sans-serif;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
a {
  color: inherit;
}
/* Nav */
/* The banner landmark carries the sticky, not the nav inside it: a sticky
   element can only move within its containing block, so a tight wrapper
   around a sticky nav would pin it in place. */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  padding: 18px 0;
  background: rgba(4, 8, 4, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled {
  padding: 12px 0;
  background: rgba(4, 8, 4, 0.95);
  border-color: var(--border2);
}
/* DOM order is logo -> nav-r -> hamburger. A row-reverse here placed the logo
   at the right edge under dir="ltr" and, because RTL reverses again, at the
   left edge under dir="rtl" — i.e. English got RTL placement and Hebrew got
   LTR placement. Plain `row` follows `dir` and is correct in both. Confirmed
   right-aligned in EN in a browser on 2026-08-11 before changing this. */
nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img {
  height: 50px;
  width: auto;
}
.nav-l {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta {
  font-size: 13px !important;
  padding: 8px 18px !important;
  white-space: nowrap;
}
.nav-r {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-r a {
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-r a:hover {
  color: var(--accent);
}
.lang-btn {
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--dim);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.btn-p {
  background: var(--accent);
  color: #000;
}
.btn-p:hover {
  background: var(--accent2);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.25);
  transform: translateY(-1px);
}
.btn-g {
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--border2);
}
.btn-g:hover {
  border-color: var(--accent);
  color: var(--text);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}
/* Hero */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(34, 197, 94, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--glow);
  border: 1px solid var(--border2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.gr {
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent2),
    #a7f3d0
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--dim);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Scroll Animations — DRAMATIC */
.anim,
.anim-l,
.anim-r,
.anim-s {
  opacity: 1;
}
.anim.ready {
  opacity: 0;
  transform: translateY(80px);
  -webkit-filter: blur(8px);
  filter: blur(8px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.anim-l.ready {
  opacity: 0;
  transform: translateX(-100px) rotate(-2deg);
  -webkit-filter: blur(6px);
  filter: blur(6px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.anim-r.ready {
  opacity: 0;
  transform: translateX(100px) rotate(2deg);
  -webkit-filter: blur(6px);
  filter: blur(6px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.anim-s.ready {
  opacity: 0;
  transform: scale(0.7) rotate(-1deg);
  -webkit-filter: blur(10px);
  filter: blur(10px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.anim.ready.show,
.anim-l.ready.show,
.anim-r.ready.show,
.anim-s.ready.show {
  opacity: 1;
  transform: none;
  -webkit-filter: blur(0);
  filter: blur(0);
}
/* Stagger — children cascade in */
.stagger.ready > * {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  -webkit-filter: blur(4px);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.stagger.ready > *:nth-child(1) {
  transition-delay: 0.08s;
}
.stagger.ready > *:nth-child(2) {
  transition-delay: 0.18s;
}
.stagger.ready > *:nth-child(3) {
  transition-delay: 0.28s;
}
.stagger.ready > *:nth-child(4) {
  transition-delay: 0.38s;
}
.stagger.ready > *:nth-child(5) {
  transition-delay: 0.48s;
}
.stagger.ready > *:nth-child(6) {
  transition-delay: 0.58s;
}
.stagger.ready > *:nth-child(7) {
  transition-delay: 0.68s;
}
.stagger.ready.show > * {
  opacity: 1;
  transform: none;
  -webkit-filter: blur(0);
  filter: blur(0);
}
/* Hero — cinematic entrance */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }
  50% {
    box-shadow: 0 0 60px rgba(34, 197, 94, 0.3);
  }
  100% {
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }
}
.hero .pill {
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.hero h1 {
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero .hero-sub {
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero .hero-btns {
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
/* Glow on service cards when visible */
.sc {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger.ready.show .sc {
  animation: glowPulse 1.5s ease 0.3s;
}
/* Stats counter glow */
.stat-val {
  transition: all 0.6s;
}
.anim-s.ready.show .stat-val {
  animation: glowPulse 2s ease 0.2s;
}
/* Section dividers animate */
.divider {
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.divider.show {
  transform: scaleX(1);
}
/* Hover 3D tilt on cards */
.sc:hover,
.team-card:hover,
.cert:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.08);
}
.sc,
.team-card,
.cert {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* MOBILE: remove blur (kills iOS performance), keep transforms */
@media (max-width: 900px) {
  .anim.ready,
  .anim-l.ready,
  .anim-r.ready,
  .anim-s.ready {
    -webkit-filter: none !important;
    filter: none !important;
  }
  .stagger.ready > * {
    -webkit-filter: none !important;
    filter: none !important;
  }
  .anim-l.ready {
    transform: translateX(-60px);
  }
  .anim-r.ready {
    transform: translateX(60px);
  }
  .anim.ready {
    transform: translateY(50px);
  }
  .anim-s.ready {
    transform: scale(0.8);
  }
}
/* Mockup */
.mockup-section {
  padding: 0 0 80px;
}
.mockup-frame {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}
.mockup-bar {
  height: 36px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) {
  background: #ef4444;
  opacity: 0.6;
}
.mockup-dot:nth-child(2) {
  background: #eab308;
  opacity: 0.6;
}
.mockup-dot:nth-child(3) {
  background: #22c55e;
  opacity: 0.6;
}
.mockup-url {
  margin-left: 12px;
  font-size: 11px;
  color: var(--dim2);
  font-family: "JetBrains Mono", monospace;
}
html[dir="rtl"] .mockup-url {
  margin-left: 0;
  margin-right: 12px;
}
.mockup-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 400px;
}
.mockup-sidebar {
  background: var(--bg3);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  font-size: 12px;
}
html[dir="rtl"] .mockup-sidebar {
  border-right: none;
  border-left: 1px solid var(--border);
}
.sb-logo {
  padding: 8px 16px 18px;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sb-logo span {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #000;
  font-size: 10px;
  font-weight: 800;
}
.sb-g {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim2);
  padding: 12px 16px 6px;
}
.sb-i {
  padding: 7px 16px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.sb-i.on {
  background: var(--glow2);
  color: var(--accent);
  border-right: 2px solid var(--accent);
}
html[dir="rtl"] .sb-i.on {
  border-right: none;
  border-left: 2px solid var(--accent);
}
.mc {
  padding: 24px;
  background: var(--bg);
}
.mc-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mc-h h2 {
  font-size: 16px;
  font-weight: 600;
}
.mc-badge {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--glow2);
  color: var(--accent);
  font-weight: 600;
}
.mc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.mc-s {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}
.mc-sv {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.mc-sl {
  font-size: 9px;
  color: var(--dim);
  margin-top: 2px;
}
.mc-chart {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  height: 170px;
  overflow: hidden;
}
.mc-ct {
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 12px;
}
.mc-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 120px;
}
.mc-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-dark), var(--accent));
  border-radius: 3px 3px 0 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.mc-bar:hover {
  opacity: 1;
}
/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    transparent
  );
  opacity: 0.15;
  margin: 0 auto;
  max-width: 900px;
}
/* Stats */
.stats-section {
  padding: 60px 0 80px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.stat {
  background: var(--bg2);
  padding: 44px 20px;
  text-align: center;
}
.stat-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-val .u {
  font-size: 22px;
  opacity: 0.6;
}
.stat-lbl {
  font-size: 13px;
  color: var(--dim);
  margin-top: 8px;
}
/* Section headers */
.sh {
  text-align: center;
  margin-bottom: 56px;
}
.sh h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.sh p {
  color: var(--dim);
  margin-top: 10px;
  font-size: 16px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
/* Services grid */
.sg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.sc {
  background: var(--bg2);
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
}
.sc:hover {
  background: var(--bg3);
  box-shadow: inset 0 0 40px rgba(34, 197, 94, 0.04);
}
.sc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--glow2);
  border: 1px solid var(--border2);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.sc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.sc p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.7;
  font-weight: 300;
}
/* Steps */
.steps {
  padding: 100px 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  position: relative;
  padding: 32px 24px 28px;
}
.step::before {
  content: attr(data-n);
  font-family: "JetBrains Mono", monospace;
  font-size: 72px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.07;
  position: absolute;
  top: -8px;
  left: 12px;
  line-height: 1;
}
html[dir="rtl"] .step::before {
  left: auto;
  right: 12px;
}
.step h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
}
.step p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
  font-weight: 300;
  position: relative;
}
.step-line {
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-top: 20px;
  border-radius: 2px;
  opacity: 0.2;
}
/* Alt rows */
.alt {
  padding: 80px 0;
}
.ar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.ar:last-child {
  margin-bottom: 0;
}
.ar.rev {
  direction: rtl;
}
.ar.rev > * {
  direction: ltr;
}
html[dir="rtl"] .ar.rev {
  direction: ltr;
}
html[dir="rtl"] .ar.rev > * {
  direction: rtl;
}
html[dir="rtl"] .ar:not(.rev) {
  direction: ltr;
}
html[dir="rtl"] .ar:not(.rev) > * {
  direction: rtl;
}
.at {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--glow);
  border: 1px solid var(--border2);
  border-radius: 6px;
}
.ar h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.alt-p {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 20px;
}
.av {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.fl {
  list-style: none;
  padding: 28px;
  width: 100%;
}
.fl li {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.fl li:last-child {
  border: none;
}
.fc {
  width: 18px;
  height: 18px;
  background: var(--glow2);
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fc svg {
  width: 10px;
  height: 10px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
}
/* Depot */
.dg {
  display: grid;
  gap: 2px;
  background: var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 24px;
}
.di {
  background: var(--bg2);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.di:hover {
  background: var(--bg3);
}
.dc {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.team-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 28px;
  transition: all 0.3s;
  text-align: center;
}
.team-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--glow2);
  border: 2px solid var(--border2);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}
.team-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.team-card p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
  font-weight: 300;
}
/* Certs */
.certs-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.cert {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 28px;
  text-align: center;
  min-width: 140px;
  transition: all 0.3s;
}
.cert:hover {
  border-color: var(--border2);
}
.cert-name {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}
.cert-desc {
  font-size: 11px;
  color: var(--dim);
  margin-top: 2px;
}
/* Partners */
.pw {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.pw::before,
.pw::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.pw::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.pw::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.pt {
  display: flex;
  gap: 16px;
  animation: sx 35s linear infinite;
  width: max-content;
}
@keyframes sx {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.pi {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 28px;
  text-align: center;
  min-width: 140px;
  transition: all 0.3s;
}
.pi:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}
/* App */
.app {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.app-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.al {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
}
.al:hover {
  border-color: var(--accent);
  background: var(--bg3);
}
.al svg {
  width: 24px;
  height: 24px;
  fill: var(--text);
}
.al-t {
  text-align: left;
}
html[dir="rtl"] .al-t {
  text-align: right;
}
.al-t small {
  font-size: 10px;
  color: var(--dim);
  display: block;
}
.al-t strong {
  font-size: 14px;
  color: var(--text);
}
/* FAQ */
.faq {
  padding: 80px 0;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.faq-q:hover {
  color: var(--accent);
}
.faq-q::after {
  content: "+";
  font-size: 20px;
  color: var(--dim);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.7;
  font-weight: 300;
}
.faq-item.open .faq-a {
  max-height: 200px;
}
.faq-a-inner {
  padding: 0 0 20px;
}
/* Contact */
.contact {
  padding: 80px 0;
}
.cg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.ci {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: border-color 0.3s;
}
.ci:hover {
  border-color: var(--border2);
}
.ci-ic {
  width: 40px;
  height: 40px;
  background: var(--glow2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ci-ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}
.ci span {
  font-size: 14px;
}
.ci small {
  display: block;
  font-size: 11px;
  color: var(--dim);
}
.cb {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 36px;
}
.fr {
  margin-bottom: 16px;
}
.fr label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  margin-bottom: 6px;
}
.fr input,
.fr textarea,
.fr select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.2s;
}
.fr input:focus,
.fr textarea:focus,
.fr select:focus {
  border-color: var(--accent);
}
.fr textarea {
  resize: vertical;
  min-height: 100px;
}
.fr select {
  cursor: pointer;
  appearance: none;
}
.f2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fm {
  text-align: center;
  padding: 16px;
  color: var(--accent);
  font-size: 14px;
  display: none;
}
.fm.show {
  display: block;
}
/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p {
  font-size: 13px;
  color: var(--dim2);
}
.social {
  display: flex;
  gap: 12px;
}
.social a {
  width: 36px;
  height: 36px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.social a:hover {
  border-color: var(--accent);
  background: var(--bg3);
}
.social a svg {
  width: 16px;
  height: 16px;
  stroke: var(--dim);
  fill: none;
  stroke-width: 1.5;
}
/* WhatsApp */
.wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s;
  cursor: pointer;
  text-decoration: none;
}
html[dir="rtl"] .wa {
  right: auto;
  left: 24px;
}
.wa:hover {
  transform: scale(1.1);
}
.wa svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
/* Back to top */
.btt {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  /* opacity:0 alone leaves this button in the tab order at scroll-top */
  visibility: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
html[dir="rtl"] .btt {
  left: auto;
  right: 24px;
}
.btt.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.btt:hover {
  border-color: var(--accent);
  background: var(--bg3);
}
.btt svg {
  width: 18px;
  height: 18px;
  stroke: var(--dim);
  fill: none;
  stroke-width: 2;
}
/* Responsive */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
/* The drawer must slide in from the same edge the hamburger sits on. With the
   nav no longer row-reversed, that is the left edge in RTL and the right edge
   in LTR — the opposite of what these rules said before. */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--bg2);
  border-right: 1px solid var(--border2);
  z-index: 99;
  transition: left 0.3s ease, visibility 0.3s ease;
  padding: 80px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Off-screen is not hidden: without this the close button, 6 nav links and
     3 language links stay focusable on every page, including desktop where
     the hamburger is display:none. */
  visibility: hidden;
}
html[dir="ltr"] .mobile-menu {
  left: auto;
  right: -280px;
  border-right: none;
  border-left: 1px solid var(--border2);
  transition: right 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.show {
  left: 0;
  visibility: visible;
}
html[dir="ltr"] .mobile-menu.show {
  right: 0;
}
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--dim);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a:active {
  background: var(--glow2);
  color: var(--accent);
}
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--dim);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
html[dir="ltr"] .mobile-close {
  right: auto;
  left: 20px;
}
@media (max-width: 900px) {
  .nav-r a:not(.lang-btn):not(.btn) {
    display: none;
  }
  .nav-r .btn {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .stats-row,
  .mc-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .sg,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .ar,
  .cg {
    grid-template-columns: 1fr;
  }
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ts-grid {
    grid-template-columns: 1fr !important;
  }
  h1 {
    font-size: clamp(28px, 7vw, 42px);
  }
  .hero {
    padding: 90px 0 60px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .alt,
  .steps,
  .faq,
  .contact,
  .app {
    padding: 60px 0;
  }
  .sh {
    margin-bottom: 36px;
  }
  .sh h2 {
    font-size: clamp(24px, 5vw, 32px);
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .wa {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }
  html[dir="rtl"] .wa {
    right: auto;
    left: 16px;
  }
  .btt {
    width: 38px;
    height: 38px;
    bottom: 16px;
    left: 16px;
  }
  html[dir="rtl"] .btt {
    left: auto;
    right: 16px;
  }
}
@media (max-width: 600px) {
  .f2 {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .stat-val {
    font-size: 32px;
  }
  .stat {
    padding: 28px 16px;
  }
  .wrap {
    padding: 0 16px;
  }
}

/* Accessibility, Privacy & Legal Modals */
.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.a11y-toggle {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--accent);
  color: #021006;
  display: grid;
  place-items: center;
  z-index: 120;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.28);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  font-family: var(--font);
}
html[dir="rtl"] .a11y-toggle {
  right: auto;
  left: 24px;
}
.a11y-toggle:hover,
.a11y-toggle:focus {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 36px rgba(34, 197, 94, 0.36);
  outline: 3px solid rgba(255, 255, 255, 0.25);
  outline-offset: 3px;
}
.a11y-toggle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.a11y-panel {
  position: fixed;
  bottom: 156px;
  right: 24px;
  width: min(320px, calc(100vw - 32px));
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 16px;
  z-index: 121;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  display: none;
  color: var(--text);
}
html[dir="rtl"] .a11y-panel {
  right: auto;
  left: 24px;
}
.a11y-panel.open {
  display: block;
  animation: a11yPop 0.18s ease-out;
}
@keyframes a11yPop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.a11y-head strong {
  font-size: 16px;
  color: var(--accent);
}
.a11y-close {
  background: transparent;
  border: 0;
  color: var(--dim);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.a11y-close:hover,
.a11y-close:focus {
  color: var(--accent);
}
.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.a11y-action {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 8px;
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}
.a11y-action:hover,
.a11y-action:focus,
.a11y-action.active {
  border-color: var(--accent);
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
}
.a11y-action.full {
  grid-column: 1/-1;
}
body.a11y-contrast {
  --bg: #000;
  --bg2: #050505;
  --bg3: #101010;
  --text: #fff;
  --dim: #e8e8e8;
  --dim2: #cfcfcf;
  --accent: #fff200;
  --accent2: #fff;
  --border: rgba(255, 255, 255, 0.35);
  --border2: rgba(255, 242, 0, 0.75);
}
body.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 4px;
  color: var(--accent) !important;
}
body.a11y-readable {
  --font: Arial, "Heebo", system-ui, sans-serif !important;
  font-family: var(--font) !important;
}
body.a11y-readable * {
  font-family: var(--font) !important;
  letter-spacing: 0 !important;
}
body.a11y-motion-off *,
body.a11y-motion-off *::before,
body.a11y-motion-off *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.a11y-scale-1 p,
body.a11y-scale-1 li,
body.a11y-scale-1 label,
body.a11y-scale-1 input,
body.a11y-scale-1 textarea,
body.a11y-scale-1 select,
body.a11y-scale-1 button,
body.a11y-scale-1 a {
  font-size: calc(1em + 1px) !important;
}
body.a11y-scale-2 p,
body.a11y-scale-2 li,
body.a11y-scale-2 label,
body.a11y-scale-2 input,
body.a11y-scale-2 textarea,
body.a11y-scale-2 select,
body.a11y-scale-2 button,
body.a11y-scale-2 a {
  font-size: calc(1em + 2px) !important;
}
body.a11y-scale-3 p,
body.a11y-scale-3 li,
body.a11y-scale-3 label,
body.a11y-scale-3 input,
body.a11y-scale-3 textarea,
body.a11y-scale-3 select,
body.a11y-scale-3 button,
body.a11y-scale-3 a {
  font-size: calc(1em + 3px) !important;
}
body.a11y-focus *:focus {
  outline: 3px solid var(--accent) !important;
  outline-offset: 3px !important;
}
@media (max-width: 900px) {
  .a11y-toggle {
    bottom: 78px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  html[dir="rtl"] .a11y-toggle {
    right: auto;
    left: 16px;
  }
  .a11y-panel {
    bottom: 136px;
    right: 16px;
  }
  html[dir="rtl"] .a11y-panel {
    right: auto;
    left: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MERGE ADDITIONS — Greems components + accessibility (IS 5568 / WCAG 2.1 AA)
   layered on top of the Greems design system above.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Skip link (WCAG 2.4.1) ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -200px;
  inset-inline-start: 0;
  z-index: 200;
  background: var(--accent);
  color: #021006;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  font-family: var(--font);
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ── Visible focus on all interactive elements (WCAG 2.4.7) ─────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced motion (WCAG 2.3.3 / IS 5568) — Edge demo lacked this ──────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .anim,
  .anim-l,
  .anim-r,
  .anim-s,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero::before,
  .pill .dot,
  .pt {
    animation: none !important;
  }
}

/* ── Tone down desktop animation: drop blur, keep fade+slide ────────────── */
.anim.ready,
.anim-l.ready,
.anim-r.ready,
.anim-s.ready,
.stagger.ready > * {
  -webkit-filter: none !important;
  filter: none !important;
}

/* ── Language switcher (separate-file i18n: HE root / en / pl) ──────────── */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 2px;
}
.lang-switch a {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  text-decoration: none;
  transition: all 0.2s;
}
.lang-switch a:hover {
  color: var(--accent);
}
.lang-switch a[aria-current="true"] {
  background: var(--accent);
  color: #021006;
}

/* ── FAQ as real buttons (was onclick div in Edge demo) ─────────────────── */
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: inherit;
  color: var(--text);
  font-family: var(--font);
}

/* ── Hero video background (ported from Greems) ─────────────────────────── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 19, 13, 0.35) 0%,
    rgba(11, 19, 13, 0.62) 62%,
    var(--bg) 100%
  );
}
.hero .wrap {
  position: relative;
  z-index: 1;
}

/* ── Engine band — "the engine inside" (Greems platform advantages) ─────── */
.engine {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(34, 197, 94, 0.06),
      transparent 55%
    ),
    var(--bg2);
}
html[dir="rtl"] .engine {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(34, 197, 94, 0.06),
      transparent 55%
    ),
    var(--bg2);
}
.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.engine-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: border-color 0.3s;
}
.engine-card:hover {
  border-color: var(--border2);
}
.engine-card .ev {
  font-family: "JetBrains Mono", monospace;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.engine-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 12px 0 6px;
}
.engine-card p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
  font-weight: 300;
}
.engine-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--glow);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .engine-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Audience selector cards (route to deep pages) ──────────────────────── */
.aud-grid {
  display: grid;
  /* auto-fit, not repeat(4,1fr): the card count changes when a segment is
     added or hidden (bus depots is currently hidden) and a fixed 4-column
     track leaves a dead column behind. */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.aud-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 22px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s;
}
.aud-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.aud-card .sc-icon {
  margin-bottom: 4px;
}
.aud-card h3 {
  font-size: 16px;
  font-weight: 600;
}
.aud-card p {
  font-size: 13px;
  color: var(--dim);
  font-weight: 300;
  line-height: 1.6;
  flex: 1;
}
.aud-card .go {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
@media (max-width: 900px) {
  .aud-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .aud-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Deployment showcase (Greems station photos) ───────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.showcase figure {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
}
.showcase figure.wide {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}
.showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.showcase figure:hover img {
  transform: scale(1.05);
}
.showcase figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(4, 8, 4, 0.92), transparent);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr 1fr;
  }
  .showcase figure.wide {
    grid-column: span 2;
  }
}

/* ── Gold Partners tier ─────────────────────────────────────────────────── */
.gold-wrap {
  margin-top: 48px;
  text-align: center;
}
.gold-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e9c46a;
  margin-bottom: 18px;
}
.gold-label::before,
.gold-label::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e9c46a);
}
.gold-label::after {
  background: linear-gradient(90deg, #e9c46a, transparent);
}
.gold-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.gold-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(233, 196, 106, 0.08), rgba(233, 196, 106, 0.02));
  border: 1px solid rgba(233, 196, 106, 0.3);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.3s, transform 0.3s;
}
.gold-card:hover {
  border-color: rgba(233, 196, 106, 0.65);
  transform: translateY(-2px);
}
.gold-card .gd {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e9c46a;
  flex-shrink: 0;
}

/* ── Edge team monogram avatars (distinct, until real portraits) ─────────── */
.team-avatar.mono {
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  color: var(--accent);
  font-size: 26px;
  font-weight: 800;
  border-width: 2px;
}

/* ── Partner logo chips ─────────────────────────────────────────────────── */
.pi img {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.pi:hover img {
  opacity: 1;
}

/* ── Stats as electric cards ─────────────────────────────────────────────── */
.stats-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.stat {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 220% 100%;
  animation: statSweep 3.2s linear infinite;
}
@keyframes statSweep {
  0% { background-position: 220% 0; }
  100% { background-position: -220% 0; }
}
.stat:hover {
  border-color: var(--accent);
  box-shadow: 0 0 34px rgba(34, 197, 94, 0.14);
}
.stat-val {
  text-shadow: 0 0 22px rgba(34, 197, 94, 0.3);
}
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .stats-row { grid-template-columns: 1fr; }
}

/* ── How It Works — lift the ghost step numbers ─────────────────────────── */
.step::before {
  opacity: 0.2;
}

/* ── Platform header breathing room ─────────────────────────────────────── */
.mockup-section {
  padding-top: 72px;
}

/* ── Engine band — add life (pulsing glow + value glow) ─────────────────── */
.engine {
  position: relative;
  overflow: hidden;
}
.engine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.12), transparent 60%);
  animation: enginePulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes enginePulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.engine .wrap {
  position: relative;
  z-index: 1;
}
.engine-card .ev {
  text-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
}

/* ── SVG illustrated avatars (for crew without a photo) ─────────────────── */
.team-avatar svg.av {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Ecosystem radial — Greems engine at the center ─────────────────────── */
.eco {
  position: relative;
  max-width: 820px;
  margin: 56px auto 0;
  aspect-ratio: 1 / 1;
}
.eco-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.eco-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--bg3), var(--bg2));
  border: 1.5px solid var(--border2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 20px;
  box-shadow: 0 0 70px rgba(34, 197, 94, 0.18);
  z-index: 3;
}
.eco-core .mk {
  width: 46px;
  height: 46px;
}
.eco-core strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.eco-core span {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.4;
  font-weight: 300;
}
.eco-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 168px;
  --r: 300px;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r))
    rotate(calc(-1 * var(--a)));
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  z-index: 2;
  transition: border-color 0.3s, transform 0.3s;
}
.eco-node:hover {
  border-color: var(--accent);
}
.eco-node .ic {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background: var(--glow2);
  border: 1px solid var(--border2);
  display: grid;
  place-items: center;
}
.eco-node .ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eco-node h3 {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 3px;
}
.eco-node p {
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.45;
  font-weight: 300;
}
.eco-node .m {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}
@media (max-width: 860px) {
  .eco {
    aspect-ratio: auto;
    max-width: 520px;
  }
  .eco-svg {
    display: none;
  }
  .eco-core {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    border-radius: 16px;
    flex-direction: row;
    gap: 14px;
    margin-bottom: 16px;
  }
  .eco-core .mk {
    width: 38px;
    height: 38px;
  }
  .eco-nodes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .eco-node {
    position: static;
    transform: none !important;
    width: auto;
  }
}
@media (max-width: 420px) {
  .eco-nodes {
    grid-template-columns: 1fr;
  }
}

/* ── Team avatars (illustrated photo) + dogs row ────────────────────────── */
.team-avatar {
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.team-dogs {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.team-dogs .team-card {
  width: 320px;
  max-width: 100%;
}
.team-dogs-label {
  text-align: center;
  font-size: 13px;
  color: var(--dim);
  margin-top: 40px;
  font-weight: 300;
}

/* ── SAFETY: content always visible (reveal is enhancement only, never blanks) ── */
.anim, .anim-l, .anim-r, .anim-s, .stagger > *,
.anim.ready, .anim-l.ready, .anim-r.ready, .anim-s.ready, .stagger.ready > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* ── Platform reliability strip (crawlable metric claims) ───────────────── */
.rel-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.rel-item {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 26px 22px;
  text-align: center;
}
.rel-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 22px rgba(34, 197, 94, 0.3);
}
.rel-val .u { font-size: 20px; opacity: 0.6; }
.rel-lbl {
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
}
.rel-sub {
  font-size: 13px;
  color: var(--dim);
  font-weight: 300;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .rel-strip { grid-template-columns: 1fr; }
}

/* Screen-reader-only utility. Used by the accessibility widget's live region,
   which announces text-size changes that carry no aria-pressed state. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Contact-form error state. Previously the form reported success even when
   both submissions failed, so there was no error surface at all. */
.fm-err {
  color: #f87171;
}
.form-note {
  font-size: 12px;
  color: var(--dim);
  margin-top: 10px;
  text-align: center;
}
.form-note a {
  color: var(--accent);
}
/* Consent checkbox on the contact form. The policy rests the form on
   Article 6(1)(a) consent, so the form has to actually collect it — a link
   to the policy is notice, not consent. `required` blocks submission; the
   44px target and the focus ring keep it operable per IS 5568. */
.consent {
  margin-top: 6px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dim);
  cursor: pointer;
  text-align: start;
  min-height: 44px;
}
.consent-label input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-label input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.consent-label a {
  color: var(--accent);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Current page in the nav. Previously nothing marked it, and /buildings/ was
   reachable from no header nav at all. */
.nav-r a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
