@font-face {
  font-family: 'Plex Hebrew';
  font-weight: 400;
  font-display: swap;
  src: url('/install/assets/fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Plex Hebrew';
  font-weight: 700;
  font-display: swap;
  src: url('/install/assets/fonts/ibm-plex-sans-hebrew-hebrew-700-normal.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Plex Hebrew';
  font-weight: 400;
  font-display: swap;
  src: url('/install/assets/fonts/ibm-plex-sans-hebrew-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF;
}
@font-face {
  font-family: 'Plex Hebrew';
  font-weight: 700;
  font-display: swap;
  src: url('/install/assets/fonts/ibm-plex-sans-hebrew-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF;
}

:root {
  --bg: #050912;
  --bg-2: #0a1324;
  --ink: #eef6fb;
  --muted: #9fb3c8;
  --brand: #18c3f5;
  --brand-2: #5fe0ff;
  --brand-deep: #0a7fb0;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  color-scheme: dark;
  font-family:
    'Plex Hebrew',
    system-ui,
    -apple-system,
    'Segoe UI',
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(24, 195, 245, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(46, 92, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

/* ---------- Background: the globe, aurora and grain ---------- */

#globe {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from 200deg at 60% 40%,
    transparent 0deg,
    rgba(24, 195, 245, 0.16) 60deg,
    transparent 120deg,
    rgba(95, 70, 255, 0.12) 200deg,
    transparent 260deg
  );
  filter: blur(60px);
  animation: aurora 24s linear infinite;
}

@keyframes aurora {
  to {
    transform: rotate(360deg);
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.topbar,
.hero,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(12px, env(safe-area-inset-top)) 20px 12px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(5, 9, 18, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

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

.topbar-sivan {
  width: 120px;
  height: auto;
  opacity: 0.9;
}

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

.hero {
  overflow-x: clip;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  max-width: 1180px;
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  line-height: 1;
}

.wordmark {
  display: block;
  width: min(360px, 78vw);
  height: auto;
  /* The app's black crystal letters, turned to ice for the dark page. */
  filter: invert(1) brightness(1.15) drop-shadow(0 0 28px rgba(95, 224, 255, 0.45));
}

.tagline {
  margin: 20px 0 0;
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
}

.glow-text {
  background: linear-gradient(90deg, var(--brand-2), #8fa8ff, var(--brand));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  50% {
    background-position: 100% 0;
  }
}

.lead {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 16px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.btn-primary {
  color: #03131c;
  background: linear-gradient(135deg, var(--brand-2), var(--brand) 55%, var(--brand-deep));
  box-shadow:
    0 10px 30px rgba(24, 195, 245, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  box-shadow:
    0 14px 40px rgba(24, 195, 245, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(120%);
  animation: shine 3.6s ease-in-out infinite;
}

@keyframes shine {
  60%,
  100% {
    transform: translateX(-120%);
  }
}

.btn-glass {
  background: var(--glass);
  border-color: var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: var(--glass-strong);
}

:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 3px;
}

.pill-note {
  display: inline-block;
  margin: 18px 0 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(24, 195, 245, 0.14);
  border: 1px solid rgba(24, 195, 245, 0.35);
}

.by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  color: var(--muted);
}

.by img {
  width: 150px;
  height: auto;
}

/* ---------- Hero visual: phone, orbits ---------- */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  perspective: 1200px;
}

.phone {
  position: relative;
  z-index: 2;
  width: 270px;
  height: 550px;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a3446, #0b111c 60%);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(24, 195, 245, 0.25);
  transform: rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  50% {
    translate: 0 -14px;
  }
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: #02050a;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  padding: 56px 16px 16px;
  border-radius: 36px;
  background:
    radial-gradient(240px 200px at 30% 0%, rgba(24, 195, 245, 0.25), transparent 70%),
    linear-gradient(180deg, #f6fbfe, #e7f1f7);
  color: #0b1b2a;
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.phone-head img {
  width: 40px;
  height: 40px;
}

.phone-head b {
  display: block;
  font-size: 16px;
}

.phone-head small {
  color: #50677c;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 8px;
}

.phone-grid span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.phone-grid img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(10, 127, 176, 0.25);
}

.orbit {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  border: 1px dashed rgba(95, 224, 255, 0.18);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.orbit-1 {
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
}

.orbit-2 {
  width: 600px;
  height: 600px;
  margin: -300px 0 0 -300px;
  animation-duration: 60s;
  animation-direction: reverse;
}

.orbit img {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-shadow:
    0 0 24px rgba(24, 195, 245, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.25);
  animation: spin 40s linear infinite reverse;
}

.orbit-2 img {
  width: 54px;
  height: 54px;
  animation-duration: 60s;
  animation-direction: normal;
}

.orbit-1 img:nth-child(1) {
  top: -31px;
  left: calc(50% - 31px);
}
.orbit-1 img:nth-child(2) {
  bottom: 40px;
  left: 10px;
}
.orbit-1 img:nth-child(3) {
  bottom: 40px;
  right: 10px;
}
.orbit-2 img:nth-child(1) {
  top: 60px;
  left: 40px;
}
.orbit-2 img:nth-child(2) {
  top: 60px;
  right: 40px;
}
.orbit-2 img:nth-child(3) {
  bottom: 60px;
  left: 40px;
}
.orbit-2 img:nth-child(4) {
  bottom: 60px;
  right: 40px;
}

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

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 28px;
  height: 46px;
  margin-left: -14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--brand-2);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  70% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ---------- Sections ---------- */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px 0;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.section-lead {
  max-width: 40rem;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.card::before {
  /* The light that follows the pointer (set by install.js). */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 0%),
    rgba(95, 224, 255, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  text-align: start;
}

.modules .card {
  padding: 24px 20px;
  transition:
    transform 0.2s ease-out,
    border-color 0.2s ease;
  transform-style: preserve-3d;
}

.modules .card:hover {
  border-color: rgba(95, 224, 255, 0.45);
}

.modules img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(24, 195, 245, 0.35);
  transform: translateZ(30px);
}

.modules h3 {
  margin: 16px 0 6px;
  font-size: 19px;
}

.modules p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat {
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
}

.stat b {
  display: block;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  background: linear-gradient(180deg, #fff, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
  text-align: start;
}

.platform {
  padding: 26px 24px;
}

.platform.mine {
  border-color: rgba(95, 224, 255, 0.6);
  box-shadow:
    0 0 0 1px rgba(95, 224, 255, 0.35),
    0 20px 60px rgba(24, 195, 245, 0.22);
}

.platform.mine::after {
  content: 'הטלפון שלך';
  position: absolute;
  top: -13px;
  inset-inline-start: 22px;
  padding: 3px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #03131c;
  font-size: 13px;
  font-weight: 700;
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-head svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--brand-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#ios .platform-head svg {
  fill: var(--brand-2);
  stroke: none;
}

.platform h3 {
  margin: 0;
  font-size: 21px;
}

.browser {
  margin: 18px 0 8px;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 10px 0;
  padding-inline-start: 40px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(24, 195, 245, 0.16);
  border: 1px solid rgba(95, 224, 255, 0.4);
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 700;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  font: inherit;
  font-weight: 700;
  vertical-align: middle;
}

kbd svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.warning {
  margin: 20px auto 0;
  max-width: 40rem;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 176, 46, 0.12);
  border: 1px solid rgba(255, 176, 46, 0.45);
}

.faq {
  max-width: 820px;
}

.faq h2 {
  margin-bottom: 28px;
}

.faq details {
  margin: 0 0 12px;
  padding: 18px 22px;
  text-align: start;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
}

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

.faq summary::after {
  content: '+';
  float: inline-end;
  color: var(--brand-2);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 90px;
  padding: 36px 16px max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.footer img {
  width: 134px;
  height: auto;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.shown {
  opacity: 1;
  transform: none;
}

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 8px;
    text-align: center;
  }
  .section {
    padding-top: 56px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .lead {
    margin-inline: auto;
  }
  .actions,
  .by {
    justify-content: center;
  }
  .hero-visual {
    min-height: 520px;
    margin-top: 10px;
  }
  .orbit-1 {
    width: 340px;
    height: 340px;
    margin: -170px 0 0 -170px;
  }
  .orbit-2 {
    width: 460px;
    height: 460px;
    margin: -230px 0 0 -230px;
  }
  .phone {
    width: 230px;
    height: 470px;
    transform: rotateY(0) rotateX(4deg);
  }
  .phone-grid img {
    width: 48px;
    height: 48px;
  }
  .modules {
    grid-template-columns: 1fr 1fr;
  }
  .platforms {
    grid-template-columns: 1fr;
  }
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 420px) {
  .actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .modules {
    gap: 12px;
  }
  .modules .card {
    padding: 18px 14px;
  }
  .modules img {
    width: 56px;
    height: 56px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 20px 8px;
  }
  .topbar-sivan {
    width: 100px;
  }
  .orbit-2 {
    display: none;
  }
}

/* ---------- Less motion when the person asks for it ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Skip link, contact, footer links ---------- */

.skip {
  position: absolute;
  top: -60px;
  inset-inline-start: 12px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--brand);
  color: #03131c;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

a {
  color: var(--brand-2);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current='page'] {
  color: var(--brand-2);
  text-decoration: underline;
}

/* ---------- Document pages (accessibility, privacy) ---------- */

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 0;
}

.doc h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
}

.doc-meta {
  margin: 10px 0 0;
  color: var(--muted);
}

.doc section {
  margin-top: 36px;
}

.doc h2 {
  margin: 0 0 10px;
  font-size: 24px;
  text-align: start;
}

.doc p,
.doc li {
  color: #d6e4ef;
  font-size: 17px;
}

.doc ul {
  padding-inline-start: 22px;
}

.doc li {
  margin: 6px 0;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 16px 0 0;
  padding: 20px 22px;
}

.contact-card dt {
  color: var(--muted);
}

.contact-card dd {
  margin: 0;
  font-weight: 700;
}

.doc-note {
  color: var(--muted);
}
