@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Inter:wght@500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --text: #111827;
  --body: #374151;
  --muted: #4b5563;
  --accent: #3ba4f7;
  --teal: #2dd4bf;
  --accent-hover: #67bcff;
  --accent-soft: #d6eeff;
  --border: #e5e7eb;
  --border-2: #d1d5db;
  --success: #22c55e;
  --warning: #f59e0b;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius: 8px;
  --max: 1180px;
  --font-heading: "Cairo", "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Arial, sans-serif;
  --font-ui: Inter, "IBM Plex Sans Arabic", "Segoe UI", Arial, sans-serif;
  font-family:
    var(--font-body);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111821;
  --surface: #1a2430;
  --surface-2: #223041;
  --text: #f5f7fa;
  --body: #d1d9e0;
  --muted: #aab4c0;
  --accent: #3ba4f7;
  --accent-hover: #67bcff;
  --accent-soft: #1d3a52;
  --border: #2a3645;
  --border-2: #324152;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 28rem),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--surface-2) 52%, var(--bg)));
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  z-index: 100;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 45%, transparent);
}

button,
input,
select {
  font-family: var(--font-body);
}

button {
  cursor: pointer;
}

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

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

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

.site-shell {
  width: min(100%, 1520px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text);
}

.brand img {
  width: 42px;
  height: 42px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.header-actions,
.hero-actions,
.join-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qr-trigger {
  display: inline-flex;
}

.icon-button,
.primary-button,
.secondary-button,
.text-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  will-change: transform;
}

.icon-button {
  min-width: 44px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.icon-button:active,
.primary-button:active,
.secondary-button:active,
.text-button:active,
.sticky-cta:active {
  transform: translateY(0) scale(0.985);
}

.primary-button {
  padding: 0 20px;
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 800;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 18%, transparent);
}

.primary-button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--accent) 24%, transparent);
}

.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  font-weight: 800;
}

.secondary-button:hover,
.text-button:hover,
.icon-button:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--text) 8%, transparent);
}

.compact {
  padding-inline: 14px;
}

.hero-section,
.path-picker,
.value-section,
.story-section,
.screens-section,
.join-section,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: 46px;
  min-height: auto;
  padding: 34px 0 50px;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset-inline-start: 42%;
  top: 12%;
  width: 46%;
  height: 62%;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 68%);
  filter: blur(34px);
  opacity: 0.42;
}

.hero-map-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 38%, transparent) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
  transform: translate3d(var(--map-x, 0), var(--map-y, 0), 0);
  transition: transform 260ms ease-out;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  margin: 0 0 12px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-soft) 42%, transparent);
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 10%, transparent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

.distance-card strong,
.qr-trigger,
.coverflow-dots button {
  font-family: var(--font-ui);
}

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-lead,
.section-heading p:not(.eyebrow),
.join-copy p,
.journey-card p,
.steps-list p,
.site-footer p {
  color: var(--body);
  line-height: 1.9;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 1.2rem;
}

.hero-credibility {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-credibility span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--body);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--text) 4%, transparent);
  backdrop-filter: blur(10px);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  perspective: 1100px;
  transform-style: preserve-3d;
  z-index: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 4%;
  bottom: 1%;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.35), transparent 68%);
  filter: blur(18px);
  opacity: 0.75;
}

.phone-stack {
  position: absolute;
  inset: 0;
}

.phone-frame {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 10px solid color-mix(in srgb, var(--surface) 82%, var(--accent));
  border-radius: 36px;
  background: var(--surface);
  box-shadow:
    0 42px 80px rgba(0, 0, 0, 0.34),
    0 0 44px color-mix(in srgb, var(--accent) 18%, transparent);
  transition: transform 260ms ease;
  will-change: transform;
}

.hero-radar {
  position: absolute;
  left: 47%;
  top: 67%;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  transform: translate(-50%, -50%);
  z-index: 4;
}

.hero-radar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid color-mix(in srgb, var(--accent) 48%, transparent);
  border-radius: 50%;
  animation: radar-wave 3s ease-out infinite;
}

.hero-provider-dot {
  position: absolute;
  z-index: 4;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 18px color-mix(in srgb, var(--success) 80%, transparent);
  opacity: 0;
  transform: scale(0.5);
  animation: provider-pop 480ms ease forwards;
}

.hero-dot-one { top: 38%; left: 68%; animation-delay: 320ms; }
.hero-dot-two { top: 52%; left: 47%; animation-delay: 520ms; }
.hero-dot-three { top: 61%; left: 28%; animation-delay: 720ms; }

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-main {
  right: 4%;
  top: 6%;
  z-index: 2;
  width: min(310px, 58vw);
  height: 485px;
  transform: rotateY(-10deg) rotateZ(2deg);
  --base-transform: rotateY(-10deg) rotateZ(2deg);
}

.phone-back {
  left: 0;
  bottom: 0;
  z-index: 1;
  width: min(270px, 52vw);
  height: 440px;
  opacity: 0.92;
  transform: rotateY(14deg) rotateZ(-4deg);
  --base-transform: rotateY(14deg) rotateZ(-4deg);
}

.distance-card {
  position: absolute;
  right: 2%;
  bottom: 11%;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.distance-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.distance-card strong {
  color: var(--accent);
  font-size: 1.7rem;
  font-family: var(--font-ui);
}

.distance-card {
  animation: pop-in 520ms ease 850ms both;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.value-section,
.story-section,
.screens-section,
.join-section {
  padding: 62px 0;
}

.path-picker {
  padding: 30px 0 62px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.journey-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 35px color-mix(in srgb, var(--text) 9%, transparent);
  transform-style: preserve-3d;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.journey-card::after {
  content: none;
}

.journey-card:hover {
  transform: translateY(-5px) rotateX(1.5deg) rotateY(-1.5deg);
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  box-shadow:
    0 18px 38px color-mix(in srgb, var(--text) 10%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}

.provider-card:hover {
  border-color: color-mix(in srgb, var(--teal) 52%, var(--border));
  box-shadow:
    0 18px 38px color-mix(in srgb, var(--text) 10%, transparent),
    0 0 0 1px color-mix(in srgb, var(--teal) 14%, transparent);
}

.is-featured {
  border-color: color-mix(in srgb, var(--teal) 45%, var(--border));
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--teal) 16%, var(--surface)));
}

.provider-card .app-label {
  color: color-mix(in srgb, var(--teal) 78%, var(--text));
  background: color-mix(in srgb, var(--teal) 16%, transparent);
}

.app-label,
.featured-ribbon {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
  font-size: 0.9rem;
}

.featured-ribbon {
  width: fit-content;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--teal));
}

.mini-mockup {
  position: absolute;
  inset-inline-end: 22px;
  top: 22px;
  width: 140px;
  height: 110px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--text) 14%, transparent);
  transform: rotateX(10deg) rotateY(-12deg) translateZ(18px);
  opacity: 0.92;
}

.mini-map {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 45%, var(--surface)), var(--surface));
}

.mini-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: rotate(8deg) scale(1.2);
}

.provider-dot {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 60%, transparent);
}

.dot-one { top: 24px; right: 24px; }
.dot-two { top: 58px; left: 38px; }
.dot-three { bottom: 18px; right: 58px; }

.mini-profile {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border-color: color-mix(in srgb, var(--teal) 35%, var(--border));
  background: linear-gradient(135deg, color-mix(in srgb, var(--teal) 14%, var(--surface)), var(--surface));
}

.profile-avatar {
  width: 38px;
  height: 38px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
}

.profile-line {
  width: 54px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 30%, transparent);
}

.profile-line.wide {
  width: 80px;
}

.visibility-ring {
  position: absolute;
  width: 78px;
  height: 78px;
  border: 2px solid color-mix(in srgb, var(--teal) 62%, transparent);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

.overview-band {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  border-radius: var(--radius);
  background: var(--border);
}

/* Hidden until launch metrics are backed by real product data. */

.metric {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: var(--surface);
  box-shadow: none;
}

.metric-icon,
.value-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent-soft) 58%, transparent);
  color: color-mix(in srgb, var(--accent) 70%, var(--muted));
}

.metric-icon svg,
.value-icon svg,
.social-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.metric strong {
  color: var(--text);
  font-size: 2rem;
}

.metric span {
  color: var(--muted);
}

.value-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

.value-grid article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--text) 4%, transparent);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.value-grid article:nth-child(1) {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));
}

.value-grid article:nth-child(2) {
  background: linear-gradient(135deg, color-mix(in srgb, var(--teal) 12%, var(--surface)), var(--surface));
}

.value-grid article:nth-child(3) {
  background: linear-gradient(135deg, color-mix(in srgb, #7c3aed 10%, var(--surface)), var(--surface));
}

.value-grid article:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  box-shadow:
    0 14px 30px color-mix(in srgb, var(--text) 6%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent);
}

.value-icon {
  margin-bottom: 16px;
}

.value-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
}

.value-grid h3 {
  margin-bottom: 10px;
}

.value-grid p {
  margin-bottom: 0;
  color: var(--body);
  line-height: 1.85;
  font-size: 1rem;
  font-weight: 500;
}

.journey-card p,
.steps-list p,
.trust-section p,
.screens-rail figcaption span,
.site-footer p {
  font-weight: 500;
}

.story-tabs {
  display: flex;
  width: fit-content;
  gap: 6px;
  padding: 6px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.tab-button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--muted);
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-weight: 900;
}

.tab-button.is-active {
  color: #fff;
  background: var(--accent);
}

.story-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: stretch;
}

.story-panel.is-active {
  display: grid;
  animation: story-panel-in 360ms ease-out both;
}

.steps-list {
  position: relative;
  display: grid;
  gap: 14px;
  padding-inline-start: 18px;
}

.steps-list::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--teal), transparent);
}

.steps-list::after {
  content: "";
  position: absolute;
  inset-inline-start: -5px;
  top: 26px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 20px var(--accent);
  animation: journey-dot 4s ease-in-out infinite;
}

.steps-list article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.steps-list article:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 36%, var(--border));
  box-shadow: 0 18px 38px color-mix(in srgb, var(--text) 8%, transparent);
}

.steps-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 900;
}

.screen-showcase {
  overflow: hidden;
  height: 650px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screen-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 220ms ease, transform 220ms ease;
}

.screen-showcase.is-changing img {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
}

.screens-coverflow {
  position: relative;
  min-height: 650px;
  padding: 22px 76px 64px;
  overflow: hidden;
  perspective: 1500px;
}

.screens-rail {
  position: relative;
  height: 570px;
  transform-style: preserve-3d;
  touch-action: pan-y;
}

.screens-rail figure {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(300px, 72vw);
  margin: 0;
  opacity: 0;
  transform: translateX(-50%) scale(0.72);
  transition:
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  filter: saturate(0.9) blur(2px);
  will-change: transform, opacity, filter;
}

.screens-rail figure.is-active {
  z-index: 4;
  opacity: 1;
  transform: translateX(-50%) translateZ(120px) rotateY(0) scale(1);
  pointer-events: auto;
  filter: saturate(1) blur(0);
}

.screens-rail figure.is-prev {
  z-index: 3;
  opacity: 0.48;
  transform: translateX(calc(-50% - 238px)) rotateY(-25deg) scale(0.74);
}

.screens-rail figure.is-next {
  z-index: 3;
  opacity: 0.48;
  transform: translateX(calc(-50% + 238px)) rotateY(25deg) scale(0.74);
}

.screens-rail figure.is-far-prev {
  z-index: 2;
  opacity: 0.12;
  transform: translateX(calc(-50% - 420px)) rotateY(-32deg) scale(0.62);
}

.screens-rail figure.is-far-next {
  z-index: 2;
  opacity: 0.12;
  transform: translateX(calc(-50% + 420px)) rotateY(32deg) scale(0.62);
}

.device-frame {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 38px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 74%, var(--accent-soft)), var(--surface));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #fff 36%, transparent),
    inset 0 12px 24px rgba(255, 255, 255, 0.08),
    0 30px 76px color-mix(in srgb, var(--text) 15%, transparent),
    0 0 34px color-mix(in srgb, var(--accent) 12%, transparent);
}

.device-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 18px;
  border-radius: 0 0 16px 16px;
  background: #0b1017;
  transform: translateX(-50%);
}

.device-frame img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top;
}

.screens-rail figcaption {
  display: grid;
  gap: 6px;
  min-height: 92px;
  margin-top: 16px;
  text-align: center;
}

.screens-rail figcaption strong {
  color: var(--text);
  font-size: 1.04rem;
}

.screens-rail figcaption span {
  color: var(--body);
  line-height: 1.65;
  font-size: 0.94rem;
}

.coverflow-arrow {
  position: absolute;
  top: 42%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--text) 10%, transparent);
  font-size: 2rem;
  line-height: 1;
}

.coverflow-arrow.prev {
  inset-inline-start: 8px;
}

.coverflow-arrow.next {
  inset-inline-end: 8px;
}

.coverflow-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.coverflow-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 45%, transparent);
}

.coverflow-dots button.is-active {
  width: 24px;
  background: var(--accent);
}

.join-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
  padding: 52px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 25rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 85%, var(--accent-soft)), color-mix(in srgb, var(--surface-2) 72%, var(--bg)));
}

.join-section::before {
  content: "";
  position: absolute;
  inset-inline: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--teal), transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent);
}

.join-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 38%, transparent) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

.join-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.join-actions {
  position: relative;
  z-index: 1;
}

.trust-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 8px;
}

.trust-placeholders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-placeholders div {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  place-items: center;
  padding: 20px;
  border: 1px dashed color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--muted);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trust-placeholders div:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--border));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--text) 5%, transparent);
}

.trust-placeholders div::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 38%, transparent) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  animation: drift-dots 12s linear infinite;
}

.trust-placeholders strong,
.trust-icon {
  position: relative;
  z-index: 1;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: color-mix(in srgb, var(--accent) 45%, var(--muted));
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
  padding: 42px 28px 54px;
  border: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 24rem),
    radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--teal) 9%, transparent), transparent 18rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 78%, var(--surface)), color-mix(in srgb, var(--bg) 70%, #07111d));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--accent) 22%, transparent);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 72%, transparent), transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 36%, transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 38%, transparent) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  color: var(--body);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 10px;
}

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

.social-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  border-color: currentColor;
  box-shadow: 0 10px 26px color-mix(in srgb, currentColor 12%, transparent);
}

.social-icon.tiktok:hover { color: #111111; background: #fff; }
.social-icon.snapchat:hover { color: #ffd400; background: #111821; }
.social-icon.x:hover { color: var(--text); }
.social-icon.telegram:hover { color: #229ed9; }
.social-icon.whatsapp:hover { color: #25d366; }
.social-icon.email:hover { color: #60a5fa; }

.pending-social {
  cursor: default;
}

.footer-email,
.copyright {
  color: var(--body);
  font-size: 0.94rem;
}

.footer-email:hover {
  color: var(--accent);
}

.mobile-tabbar {
  position: fixed;
  inset-inline: 10px;
  bottom: 10px;
  z-index: 18;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--text) 16%, transparent);
  backdrop-filter: blur(18px);
}

.mobile-tab {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 58px;
  padding: 5px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.mobile-tab.is-active {
  background: var(--accent);
  color: #fff;
}

.tabbar-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.tabbar-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

.lead-modal {
  width: min(560px, calc(100% - 24px));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.qr-modal {
  position: fixed;
  inset-block-start: 76px;
  inset-inline-end: max(16px, calc((100vw - var(--max)) / 2));
  width: min(340px, calc(100% - 24px));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.qr-modal::backdrop {
  background: rgba(8, 13, 20, 0.62);
  backdrop-filter: blur(5px);
}

.qr-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
  text-align: center;
}

.qr-card .eyebrow {
  margin-inline: auto;
}

.qr-code {
  width: 160px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 10px solid var(--surface-2);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, var(--text) 10px, transparent 10px) 0 0 / 38px 38px,
    linear-gradient(var(--text) 10px, transparent 10px) 0 0 / 38px 38px,
    radial-gradient(circle at 25% 25%, var(--text) 0 18px, transparent 19px),
    radial-gradient(circle at 75% 25%, var(--text) 0 18px, transparent 19px),
    radial-gradient(circle at 25% 75%, var(--text) 0 18px, transparent 19px),
    var(--surface);
  box-shadow: 0 20px 46px color-mix(in srgb, var(--text) 16%, transparent);
}

.sticky-cta {
  position: fixed;
  z-index: 19;
  left: 18px;
  right: auto;
  bottom: 22px;
  top: auto;
  min-height: 42px;
  padding: 0 16px;
  display: inline-grid;
  place-items: center;
  inline-size: 148px !important;
  max-inline-size: 148px !important;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 28%, transparent);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-cta:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--accent) 30%, transparent);
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rag-chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--font-body);
}

.rag-chat-panel {
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform-origin: bottom right;
  animation: pop-in 180ms ease both;
}

.rag-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 13px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    var(--surface);
}

.rag-chat-header h2,
.rag-chat-kicker {
  margin: 0;
}

.rag-chat-header h2 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.35;
}

.rag-chat-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.rag-chat-close,
.rag-chat-button,
.rag-chat-form button {
  display: grid;
  place-items: center;
  border: 0;
}

.rag-chat-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}

.rag-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 290px;
  padding: 14px;
  overflow: auto;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 13rem),
    var(--bg);
}

.rag-message {
  max-width: 86%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--body);
  background: var(--surface);
  font-size: 0.92rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.rag-message.user {
  align-self: flex-end;
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.rag-message.assistant {
  align-self: flex-start;
}

.rag-message.is-loading {
  color: var(--muted);
}

.rag-chat-form {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.rag-chat-form textarea {
  width: 100%;
  min-height: 42px;
  max-height: 118px;
  resize: none;
  padding: 9px 11px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.rag-chat-form textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-color: var(--accent);
}

.rag-chat-form button,
.rag-chat-button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 28%, transparent);
}

.rag-chat-form button {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
}

.rag-chat-form button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.rag-chat-form svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[dir="rtl"] .rag-chat-form svg {
  transform: scaleX(-1);
}

.rag-chat-status {
  min-height: 0;
  margin: 0;
  padding: 0 12px 10px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 800;
}

.rag-chat-status:empty {
  display: none;
}

.rag-chat-button {
  width: 58px;
  height: 58px;
  padding: 3px;
  border-radius: 50%;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.rag-chat-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--accent) 30%, transparent);
}

.rag-chat-button img {
  width: 100%;
  height: 100%;
  border: 2px solid color-mix(in srgb, #ffffff 82%, var(--accent));
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.rag-chat-button-label {
  position: absolute;
  right: 70px;
  bottom: 8px;
  max-width: 160px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--text);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--text) 12%, transparent);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.rag-chat-widget.is-open .rag-chat-button-label {
  display: none;
}

@keyframes pulse-ring {
  from {
    transform: scale(0.65);
    opacity: 0.9;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes radar-wave {
  from {
    opacity: 0.7;
    transform: scale(0.35);
  }
  to {
    opacity: 0;
    transform: scale(8);
  }
}

@keyframes provider-pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typing-dot {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes drift-dots {
  from { background-position: 0 0; }
  to { background-position: 48px 24px; }
}

@keyframes journey-dot {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(230px);
  }
}

@keyframes story-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-modal::backdrop {
  background: rgba(8, 13, 20, 0.62);
  backdrop-filter: blur(5px);
}

.lead-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
}

.lead-form[aria-busy="true"] {
  cursor: wait;
}

.lead-form[aria-busy="true"] input,
.lead-form[aria-busy="true"] select {
  opacity: 0.74;
}

.honeypot-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.close-button {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.5rem;
}

.modal-heading {
  padding-inline-end: 42px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--body);
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-color: var(--accent);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.form-status {
  min-height: 24px;
  color: var(--success);
  font-weight: 800;
}

.full {
  width: 100%;
}

.legal-page {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 80px;
}

.legal-hero {
  max-width: 900px;
  margin-bottom: 28px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--accent-soft) 36%, var(--surface)));
}

.legal-hero h1 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.updated-date {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 999px;
  color: var(--accent) !important;
  background: color-mix(in srgb, var(--accent-soft) 72%, transparent);
  font-weight: 900;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-toc strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.05rem;
}

.legal-toc a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.legal-toc a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 38px color-mix(in srgb, var(--text) 6%, transparent);
  scroll-margin-top: 96px;
}

.legal-number {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 900;
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}

.legal-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.legal-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.legal-subgrid > div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.notice {
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent-soft) 46%, transparent);
  color: var(--text) !important;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-inline-start: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-page li,
.legal-page p {
  color: var(--body);
  line-height: 1.95;
}

.legal-page p {
  margin-bottom: 12px;
}

.legal-page ul {
  margin: 0;
  padding-inline-start: 22px;
}

html[dir="ltr"] body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

html[dir="ltr"] .phone-main {
  right: auto;
  left: 4%;
  transform: rotateY(10deg) rotateZ(-2deg);
}

html[dir="ltr"] .phone-back {
  left: auto;
  right: 0;
  transform: rotateY(-14deg) rotateZ(4deg);
}

html[dir="ltr"] .distance-card {
  right: auto;
  left: 2%;
}

html[dir="ltr"] .steps-list {
  padding-inline-start: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-map-pattern,
  .phone-frame {
    transform: none !important;
  }

  .screens-rail figure {
    transition: none !important;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .header-actions .compact,
  .qr-trigger {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone-main {
    right: 4%;
    width: min(280px, 58vw);
    height: 520px;
  }

  .phone-back {
    width: min(245px, 50vw);
    height: 470px;
  }

  .journey-grid,
    .overview-band,
    .value-grid,
    .trust-placeholders,
    .legal-layout,
    .legal-subgrid,
    .story-panel.is-active {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .screen-showcase {
    height: 540px;
    max-width: 360px;
  }

  .screens-coverflow {
    min-height: 610px;
    padding-inline: 28px;
  }

  .screens-rail figure.is-prev {
    opacity: 0.42;
    transform: translateX(calc(-50% - 180px)) rotateY(-22deg) scale(0.72);
  }

  .screens-rail figure.is-next {
    opacity: 0.42;
    transform: translateX(calc(-50% + 180px)) rotateY(22deg) scale(0.72);
  }

  .join-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 86px;
  }

  .mobile-tabbar {
    display: grid;
  }

  .sticky-cta {
    left: auto;
    right: 18px;
    top: auto;
    bottom: calc(100px + env(safe-area-inset-bottom));
    width: 132px !important;
    min-width: 132px;
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .rag-chat-widget {
    right: auto;
    left: 18px;
    bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .rag-chat-button-label {
    right: auto;
    left: 70px;
  }

  .rag-chat-panel {
    width: min(360px, calc(100vw - 36px));
    transform-origin: bottom left;
  }

  .rag-chat-messages {
    height: min(46vh, 300px);
  }
}

@media (max-width: 560px) {

  .site-header,
  .hero-section,
  .path-picker,
  .value-section,
  .trust-section,
  .story-section,
  .screens-section,
  .join-section,
  .site-footer,
  .overview-band {
    width: min(100% - 22px, var(--max));
  }

  .brand span {
    display: none;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.14;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-actions,
  .join-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions button,
  .join-actions button {
    width: 100%;
  }

  .hero-credibility {
    gap: 7px;
    margin-top: 14px;
  }

  .hero-credibility span {
    min-height: 30px;
    font-size: 0.82rem;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-section::after {
    inset-inline-start: 4%;
    width: 92%;
    height: 50%;
    top: 44%;
  }

  .phone-main {
    width: 64vw;
    height: 430px;
  }

  .phone-back {
    width: 54vw;
    height: 390px;
  }

  .distance-card {
    bottom: 5%;
  }

  .journey-card {
    min-height: 280px;
    padding: 22px;
  }

  .mini-mockup {
    position: relative;
    inset: auto;
    width: 100%;
    height: 96px;
    margin-bottom: 10px;
    transform: none;
  }

  .screens-rail {
    height: 520px;
  }

  .screens-coverflow {
    min-height: 560px;
    padding: 12px 8px 58px;
  }

  .screens-rail figure {
    width: min(260px, 74vw);
  }

  .screens-rail figure.is-prev {
    opacity: 0.38;
    transform: translateX(calc(-50% - 112px)) rotateY(-20deg) scale(0.7);
  }

  .screens-rail figure.is-next {
    opacity: 0.38;
    transform: translateX(calc(-50% + 112px)) rotateY(20deg) scale(0.7);
  }

  .screens-rail figure.is-far-prev,
  .screens-rail figure.is-far-next {
    opacity: 0;
  }

  .coverflow-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.45rem;
    opacity: 0.72;
  }

  .screens-rail figcaption {
    min-height: 86px;
  }

  .join-section {
    padding: 30px 22px;
  }

  .lead-form {
    padding: 22px;
  }

  .legal-page {
    width: min(100% - 22px, var(--max));
    padding-top: 28px;
  }

  .legal-hero,
  .legal-card {
    padding: 22px;
  }

  .legal-toc {
    max-height: 240px;
    overflow: auto;
  }

  .rag-chat-widget {
    left: 12px;
    right: 12px;
    align-items: flex-start;
  }

  .rag-chat-panel {
    width: 100%;
  }

}
