/* To use a local Geist Pixel Circle fallback font, add fonts/GeistPixel-Circle.woff2
   and restore an @font-face rule here, then add "Geist Pixel Circle" back into
   --font-display below. Omitted for now since no font file is present (avoids a 404). */

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", monospace;
  --trust-size: clamp(36px, 4.5vw, 42px);
  --header-top: clamp(16px, 2.4vh, 28px);
  --header-h: clamp(44px, 5.2vw, 48px);
  --side-pad: clamp(14px, 3vw, 32px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

.hero-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
  z-index: 0;
}

.hero-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
  z-index: 0;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
  padding: calc(var(--header-top) + var(--header-h) + 16px) var(--side-pad) var(--header-top);
  z-index: 1;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero-viewport {
  position: relative;
  width: 100%;
  height: clamp(320px, 56vh, 480px);
  overflow: hidden;
  background: #000;
  z-index: 0;
}

.page-hero-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: calc(var(--header-top) + var(--header-h) + 16px) var(--side-pad) var(--header-top);
  z-index: 1;
}

.page-hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.page-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(11px, 1.2vw, 12.5px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--trust-text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(30px, 5.4vw, 58px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.page-intro {
  max-width: min(560px, 94%);
  margin: 4px 0 0;
  font-size: clamp(14px, 1.4vw, 16px);
  color: #d0d0d0;
  opacity: 0.82;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: var(--header-top);
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  width: min(720px, calc(100% - 2 * var(--side-pad)));
  z-index: 10;
}

.logo-btn {
  display: grid;
  place-items: center;
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.logo-btn:hover {
  transform: scale(1.04);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  grid-area: 1 / 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #fff;
  height: clamp(44px, 5.2vw, 48px);
  max-width: 430px;
  flex: 1;
  padding: 4px 6px;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
}

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  padding: 8px 9px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  opacity: 0.75;
}

.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #000;
  box-shadow:
    -5px 0 0 #000,
    5px 0 0 #000;
}

.sign-in-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(16px, 2vw, 22px);
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  box-shadow: var(--nav-shadow);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.sign-in-pill:hover {
  background: #323234;
  color: #fff;
  transform: translateY(-1px);
}

.lang-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(12px, 1.6vw, 16px);
  border-radius: 999px;
  background: var(--pill-dark);
  border: none;
  color: var(--sign-in-text);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(12px, 1.3vw, 13.5px);
  letter-spacing: 0.02em;
  box-shadow: var(--nav-shadow);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover {
  background: #323234;
  color: #fff;
}

.lang-btn .caret {
  font-size: 9px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.lang-btn[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  z-index: 20;
}

.lang-dropdown[hidden] {
  display: none;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nav-text);
  opacity: 0.65;
}

.lang-dropdown a:hover {
  background: #f2f2f2;
  opacity: 1;
}

.lang-dropdown a.active {
  opacity: 1;
  background: #f2f2f2;
  font-weight: 600;
}

.lang-grid-mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 10px 0 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.lang-grid-mobile a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nav-text);
  opacity: 0.65;
}

.lang-grid-mobile a:hover,
.lang-grid-mobile a.active {
  background: #f5f5f5;
  opacity: 1;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

.legal-disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #14140a;
  border: 1px solid rgba(255, 220, 120, 0.28);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0 0 32px;
  color: #e3d9b8;
  font-size: 13.5px;
  line-height: 1.6;
}

.legal-disclaimer i {
  color: #e0c05c;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.legal-disclaimer a {
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

.ltr-embed {
  unicode-bidi: isolate;
  direction: ltr;
  display: inline-block;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pill-dark);
  border: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.burger span {
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease, background 0.25s ease;
}

.burger.open {
  background: #fff;
}

.burger.open span {
  background: #000;
}

.burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.trust-row {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.avatar {
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  padding: 5px;
  transition: transform 0.35s ease;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #111;
  font-size: calc(var(--trust-size) * 0.34);
}

.a1 {
  z-index: 1;
}

.a2 {
  z-index: 2;
  margin-left: calc(var(--trust-size) * -0.42);
}

.a3 {
  z-index: 4;
  margin-left: calc(var(--trust-size) * -0.42);
}

.trust-row:hover .a1 {
  transform: translateY(-2px);
}

.trust-row:hover .a2 {
  transform: translateY(-4px);
}

.trust-row:hover .a3 {
  transform: translateY(-2px);
}

.trust-pill {
  display: flex;
  align-items: center;
  height: var(--trust-size);
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: 16px;
  color: var(--trust-text);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
  z-index: 3;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(28px, 6.2vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.headline-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--ld);
}

.subhead {
  max-width: min(500px, 92%);
  margin: clamp(16px, 2.4vh, 22px) 0 0;
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  color: #d0d0d0;
  opacity: 0.8;
  line-height: 1.55;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.7);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(22px, 3.5vh, 34px);
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 22px rgba(255, 255, 255, 0.32),
    0 0 44px rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 30px rgba(255, 255, 255, 0.44),
    0 0 60px rgba(255, 255, 255, 0.18);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 920px;
  flex-shrink: 0;
  z-index: 1;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.stat-icon {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1;
}

.stat-value {
  font-family: var(--font-sans);
  color: #fff;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.stat-label {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
}

/* ---------- Site content (below-the-fold / subpages) ---------- */

.site-main {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 108px) clamp(20px, 5vw, 40px);
}

.section-tight {
  padding-top: 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vh, 52px);
}

.eyebrow {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--trust-text);
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(24px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.section-desc {
  margin: 12px 0 0;
  color: #d0d0d0;
  opacity: 0.82;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.6;
}

/* Services grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  background: #0c0c0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 30px);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  background: #101012;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pill-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* CTA banner */

.cta-banner {
  background: linear-gradient(180deg, #0c0c0d 0%, #050505 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: clamp(36px, 6vh, 60px) clamp(20px, 5vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-banner .section-title {
  max-width: 620px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 22px rgba(255, 255, 255, 0.32),
    0 0 44px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 30px rgba(255, 255, 255, 0.44),
    0 0 60px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Trusted-by strip */

.trusted-strip {
  text-align: center;
}

.trusted-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 20px);
  margin-top: 28px;
}

.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 5.6vw, 56px);
  padding: 0 clamp(10px, 1.6vw, 16px);
  background: transparent;
  transition: transform 0.25s ease;
}

.trusted-logo:hover {
  transform: translateY(-2px);
}

.trusted-logo img {
  height: clamp(18px, 2.3vw, 26px);
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.trusted-logo:hover img {
  opacity: 0.95;
}

/* Network badges */

.network-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.network-badge {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--pill-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--trust-text);
  font-size: 13px;
  font-weight: 500;
}

/* Feature list */

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-item {
  background: #0c0c0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
}

.feature-item i {
  color: #fff;
  font-size: 18px;
  margin-bottom: 14px;
  display: block;
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
}

.feature-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Format performance bars */

.format-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.format-bar-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.format-bar-labels {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13.5px;
}

.format-bar-name {
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.format-bar-value {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.format-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.format-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8e8e8e, #ffffff);
  width: 0%;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Two-column content layout */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.split-copy p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.split-copy p:last-child {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.5;
}

.check-list i {
  color: #fff;
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.info-card {
  background: #0c0c0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 32px);
}

.info-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card-row:last-child {
  border-bottom: none;
}

.info-card-row dt {
  color: var(--muted);
  font-size: 13.5px;
}

.info-card-row dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  text-align: right;
}

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-card {
  background: #0c0c0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 30px);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pill-dark);
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}

.contact-method-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 2px;
}

.contact-method-value {
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
}

.contact-form {
  background: #0c0c0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}

.field textarea {
  min-height: 110px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.form-status {
  font-size: 13px;
  color: #d0d0d0;
  min-height: 18px;
}

/* Legal document pages */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-updated {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0 0 32px;
}

.legal-content p {
  color: #d0d0d0;
  opacity: 0.85;
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.legal-content h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15.5px;
  color: #fff;
  margin: 26px 0 10px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #d0d0d0;
  opacity: 0.85;
  font-size: 14.5px;
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-def-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 20px;
}

.legal-def {
  background: #0c0c0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
}

.legal-def dt {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.legal-def dd {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.legal-info-block {
  background: #0c0c0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  margin: 0 0 32px;
}

.legal-info-block p {
  margin: 0 0 6px;
  font-size: 14px;
}

.legal-info-block p:last-child {
  margin-bottom: 0;
}

.legal-info-block .legal-info-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 18px 0 4px;
}

.legal-info-block .legal-info-label:first-child {
  margin-top: 0;
}

.legal-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-brand-row img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.legal-brand-row span {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}

.signatory-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0c0c0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(16px, 2.4vw, 20px);
  margin: 0 0 32px;
}

.signatory-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.signatory-name {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 2px;
}

.signatory-role {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Site footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(40px, 6vh, 64px) clamp(20px, 5vw, 40px) clamp(24px, 4vh, 36px);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 38px;
  height: 38px;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-name {
  font-weight: 600;
  color: #fff;
  font-size: 15px;
}

.footer-brand-tag {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--trust-text);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1080px;
  margin: clamp(28px, 4vh, 44px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Entrance animations ---------- */

.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.header.anim {
  transform: translateY(-18px);
  animation-name: slideDown;
  animation-duration: 0.7s;
}

.anim-pulse {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: revealPulse 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealPulse {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  70% {
    opacity: 1;
    transform: translateY(0) scale(1.03);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes headlineFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Mobile menu ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 40;
  animation: overlayIn 0.28s ease forwards;
}

.overlay[hidden] {
  display: none;
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mobile-menu {
  position: fixed;
  top: calc(var(--header-top) + var(--header-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, calc(100vw - 32px));
  background: #fff;
  border-radius: 28px;
  padding: 22px 18px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  z-index: 50;
  flex-direction: column;
  gap: 4px;
  animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu:not([hidden]) {
  display: flex;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.mobile-link {
  position: relative;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 500;
  color: var(--nav-text);
  opacity: 0;
  animation: linkIn 0.4s ease forwards;
}

.mobile-link:nth-child(1) {
  animation-delay: 0.05s;
}
.mobile-link:nth-child(2) {
  animation-delay: 0.1s;
}
.mobile-link:nth-child(3) {
  animation-delay: 0.15s;
}
.mobile-link:nth-child(4) {
  animation-delay: 0.2s;
}

.mobile-link.active {
  position: relative;
}

.mobile-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #000;
  box-shadow:
    -5px 0 0 #000,
    5px 0 0 #000;
}

.mobile-sign-in {
  margin-top: 8px;
  text-align: center;
  background: var(--pill-dark);
  color: #fff;
  font-weight: 600;
  padding: 14px;
  border-radius: 14px;
  opacity: 0;
  animation: linkIn 0.4s ease forwards;
  animation-delay: 0.25s;
}

@keyframes linkIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Responsive ---------- */

/* Legibility scrim: on mobile/tablet the hero video's own brightness can't be
   predicted or sampled (cross-origin video, no canvas access), so we guarantee
   headline/subhead contrast with a calibrated dark gradient instead, strongest
   through the text band and tapering at the edges. Desktop is left untouched. */
@media (max-width: 1024px) {
  .hero-viewport::after,
  .page-hero-viewport::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.32) 0%,
      rgba(0, 0, 0, 0.5) 28%,
      rgba(0, 0, 0, 0.58) 52%,
      rgba(0, 0, 0, 0.48) 74%,
      rgba(0, 0, 0, 0.28) 100%
    );
  }
}

@media (max-width: 720px) {
  .nav-pill,
  .sign-in-pill,
  .lang-btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header {
    justify-content: space-between;
  }

  .headline {
    letter-spacing: -0.08em;
    line-height: 1.05;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .services-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-grid,
  .legal-def-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .page-title {
    letter-spacing: -0.02em;
  }
}

@media (max-width: 700px) and (max-height: 700px) {
  .hero {
    justify-content: flex-start;
    padding-top: clamp(6px, 2vh, 16px);
  }

  .trust-row {
    margin-bottom: 12px;
  }

  .cta {
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  :root {
    --trust-size: 34px;
  }

  .trust-pill {
    font-size: 12px;
  }

  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim,
  .anim-pulse,
  .header.anim,
  .headline-line,
  .overlay,
  .mobile-menu,
  .mobile-link,
  .mobile-sign-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .headline {
    color: #fff;
  }

  .io-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Scroll reveal (below-the-fold sections) ---------- */

.io-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.io-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RTL (Hebrew / Arabic) ---------- */

[dir="rtl"] .a2,
[dir="rtl"] .a3 {
  margin-left: 0;
  margin-right: calc(var(--trust-size) * -0.42);
}

[dir="rtl"] .trust-pill {
  margin-left: 0;
  margin-right: calc(var(--trust-size) * -0.42);
  padding-left: 16px;
  padding-right: calc(var(--trust-size) * 0.58);
}

[dir="rtl"] .nav-link.active::after {
  left: auto;
  right: 50%;
}

[dir="rtl"] .mobile-link.active::after {
  left: auto;
  right: 14px;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .skip-link {
  left: auto;
  right: 12px;
}

[dir="rtl"] .service-icon,
[dir="rtl"] .contact-method i,
[dir="rtl"] .feature-item i {
  margin-left: 0;
}

[dir="rtl"] .check-list li,
[dir="rtl"] .contact-method,
[dir="rtl"] .legal-disclaimer {
  text-align: right;
}

[dir="rtl"] .info-card-row dd {
  text-align: left;
}

[dir="rtl"] .format-bar-fill {
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .headline,
[dir="rtl"] .page-title,
[dir="rtl"] .stat-icon {
  font-family: "Arial Hebrew", "Geeza Pro", var(--font-sans);
  letter-spacing: 0;
}

[dir="rtl"] .btn,
[dir="rtl"] .cta,
[dir="rtl"] .nav-link,
[dir="rtl"] .sign-in-pill,
[dir="rtl"] .lang-btn {
  letter-spacing: 0;
}

/* ---------- iOS "Add to Home Screen" banner ---------- */

.ios-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 20px;
  padding: 14px 14px 14px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  max-width: 420px;
  margin: 0 auto;
  transform: translateY(calc(100% + 24px));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ios-install-banner.in-view {
  transform: translateY(0);
}

.ios-install-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0);
}

.ios-install-copy {
  flex: 1;
  min-width: 0;
}

.ios-install-title {
  margin: 0 0 2px;
  font-weight: 600;
  font-size: 13.5px;
  color: #000;
}

.ios-install-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #555;
}

.ios-install-close {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  color: #666;
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.ios-install-close:hover {
  background: #e4e4e4;
  color: #000;
}

[dir="rtl"] .ios-install-banner {
  padding: 14px 16px 14px 14px;
}
