/* JZman coming-soon page */

:root {
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --surface-2: #F0EFEA;
  --line: #E6E4DE;
  --line-2: #D6D3CB;
  --text: #17181C;
  --text-2: #5E626B;
  --text-3: #6F737B;
  --blue: #2A438F;
  --blue-soft: #E7EBF5;
  --blue-glow: rgba(42, 67, 143, .10);
  --navy: #1B2440;
  --on-navy: #F4F2EC;
  --on-navy-2: #B7BCCB;
  --on-navy-3: #AEB8D6;
  --hero-border: transparent;
  --hero-bg:
    radial-gradient(120% 70% at 50% 0%, rgba(58, 82, 160, .55) 0%, rgba(58, 82, 160, 0) 60%),
    linear-gradient(172deg, #22305A 0%, #1B2440 55%, #151C33 100%);
  --mark-bg: #F4F2EC;
  --mark-ink: #1B2440;
  --shadow-phone: 0 50px 90px -40px rgba(12, 18, 40, .55), 0 24px 40px -24px rgba(12, 18, 40, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, .84, .24, 1);
  --gutter: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1115;
    --surface: #181B21;
    --surface-2: #20242B;
    --line: #2A2E36;
    --line-2: #3A3F49;
    --text: #ECEDEF;
    --text-2: #A3A8B1;
    --text-3: #8C9199;
    --blue: #8EA6FF;
    --blue-soft: #1E2646;
    --blue-glow: rgba(142, 166, 255, .10);
    --hero-border: #2B3554;
    --hero-bg:
      radial-gradient(120% 70% at 50% 0%, rgba(58, 82, 160, .42) 0%, rgba(58, 82, 160, 0) 60%),
      linear-gradient(172deg, #1E2742 0%, #182038 55%, #121829 100%);
    --shadow-phone: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 24px 40px -24px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 300px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
::selection { background: #2A438F; color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .bar :focus-visible, .closing-card :focus-visible { outline-color: #8EA6FF; }

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

.bar {
  position: absolute;
  z-index: 20;
  top: 10px; left: 10px; right: 10px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 20px;
  animation: fade-in 1s var(--ease) .1s both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-mark { width: 32px; height: 32px; }

.bar-link {
  color: #DCE2F4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .2s, border-color .2s;
}
.bar-link:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); }

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 10px;
  border-radius: 28px;
  border: 1px solid var(--hero-border);
  background: var(--hero-bg);
  color: var(--on-navy);
  padding-top: 84px;
}

.sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --day: .6; --night: .5; --low: 0; --sx: -999px; --sy: -999px; --hx: 50%;
}

.stars { position: absolute; inset: 0 0 32% 0; opacity: var(--night); }
.stars i {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: var(--o);
  animation: twinkle var(--t) ease-in-out var(--dl) infinite alternate;
}

.meteor {
  position: absolute;
  left: var(--mx, 20%);
  top: var(--my, 12%);
  width: 150px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(220, 228, 255, .9));
  transform-origin: 0 50%;
  opacity: 0;
}
.meteor.fly { animation: meteor 1.25s var(--ease-out) both; }

.sunglow {
  position: absolute;
  left: 0; top: 0;
  width: 1300px; height: 1300px;
  margin: -650px 0 0 -650px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(130, 156, 248, .40), rgba(96, 124, 228, .16) 38%, rgba(90, 118, 225, .05) 62%, rgba(90, 118, 225, 0) 80%);
  transform: translate3d(var(--sx), var(--sy), 0);
  opacity: var(--day);
  will-change: transform, opacity;
}

.horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 240px;
  background: radial-gradient(55% 100% at var(--hx) 100%, rgba(160, 182, 255, .34), rgba(150, 172, 255, 0) 70%);
  opacity: var(--low);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 36px var(--gutter) 0;
  text-align: center;
  transform: translate3d(0, var(--cy, 0px), 0);
  opacity: var(--co, 1);
}

h1 {
  font-size: clamp(42px, 12.4vw, 96px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
}
h1 .line { display: block; }
h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .04em .12em;
  margin: 0 -.04em -.12em;
}
h1 .w > span {
  display: inline-block;
  animation: word-up 1.2s var(--ease-out) calc(.18s + var(--i) * .09s) both;
}
h1 .hl {
  background: linear-gradient(100deg, #E3E8FA 0%, #A7B9FF 35%, #E3E8FA 55%, #A7B9FF 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: word-up 1.2s var(--ease-out) calc(.18s + var(--i) * .09s) both, sheen 10s ease-in-out 1.8s infinite;
}

.lede {
  max-width: 31em;
  margin: 22px auto 0;
  color: var(--on-navy-2);
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.55;
  text-wrap: pretty;
  animation: rise 1s var(--ease) .5s both;
}

/* Store button: shown, but not yet active */
.store {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 26px 0 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(244, 242, 236, .62);
  cursor: not-allowed;
  -webkit-user-select: none;
  user-select: none;
}
.store::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .13) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-120%);
  animation: shimmer 5s ease-in-out 2.6s infinite;
}
.store-icon { width: 26px; height: 26px; flex: none; }
.store-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.15; }
.store small { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; opacity: .85; }
.store strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: rise 1s var(--ease) .62s both;
}
.notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 26px 0 22px;
  border-radius: 16px;
  background: var(--on-navy);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .6), inset 0 -1px 0 rgba(27, 36, 64, .12);
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s;
}
.notify-btn svg { width: 20px; height: 20px; transform-origin: 50% 10%; }
.notify-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .65); }
.notify-btn:hover svg { animation: ring .9s var(--ease); }
.cta .store, .cta .notify-btn { width: min(100%, 290px); justify-content: center; }

/* stage: the sun's path, with the phone rising from the horizon */
.stage {
  position: relative;
  --pw: clamp(190px, 58vw, 232px);
  --vis: calc(var(--pw) * 1.48);
  height: calc(var(--vis) + 100px);
  margin-top: 34px;
}

.arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc .track { fill: none; stroke-width: 1.2; }
.arc .trail {
  fill: none;
  stroke: #D6DEFF;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 0 1;
}
.arc .trail-glow {
  fill: none;
  stroke: rgba(142, 166, 255, .28);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 0 1;
}
.arc .tick { stroke: rgba(174, 184, 214, .55); stroke-width: 1.4; stroke-linecap: round; transition: stroke .5s; }
.arc text {
  font-family: Inter, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  fill: rgba(174, 184, 214, .7);
  transition: fill .5s;
}
.arc .mark.on .tick { stroke: #fff; }
.arc .mark.on text { fill: #fff; }
.arc .core { fill: #fff; }
.arc .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease-out) .5s forwards; }
.arc .mark { opacity: 0; animation: fade-in .8s var(--ease) both; animation-delay: calc(1.1s + var(--k, 0) * .12s); }

.hero-device {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(100% - var(--vis));
  width: var(--pw);
  margin-left: calc(var(--pw) / -2);
  perspective: 1400px;
}
.enter { transform-origin: 50% 100%; animation: device-in 1.6s var(--ease-out) .3s both; }
.tilt {
  position: relative;
  transform-style: preserve-3d;
  transform: translate3d(0, var(--rise, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}
.hero-device .phone { --w: var(--pw); }

.widget {
  position: absolute;
  width: calc(var(--pw) * .44);
  height: auto;
  border-radius: calc(var(--pw) * .44 * .14);
  box-shadow: 0 28px 50px -18px rgba(4, 8, 22, .7), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: translate3d(0, var(--py, 0px), 40px);
  animation: widget-in-r 1.1s var(--ease-out) 1.2s both, bob 7s ease-in-out 2.3s infinite;
}
.widget-next { left: -31%; top: 44%; display: none; animation-name: widget-in-l, bob; }
.widget-shabbat { right: -25%; top: 13%; animation-delay: 1.35s, 3.4s; animation-duration: 1.1s, 8s; }

/* ---------- Phone frame ---------- */

.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * .032);
  border-radius: calc(var(--w) * .155);
  background: linear-gradient(150deg, #353B4B 0%, #12151E 22%, #0B0D14 60%, #1E2330 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 0 0 2px rgba(0, 0, 0, .5), var(--shadow-phone);
}
.phone::before, .phone::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #11141B, #2A2F3C);
}
.phone::before { top: 22%; height: 9%; }
.phone::after { top: 35%; height: 15%; }

.screen {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--w) * .125);
  background: var(--sb, #F5F3EE);
  container-type: inline-size;
  transform: translateZ(0);
}
.screen img { width: 100%; height: auto; }
.screen::after {
  /* soft glass reflection */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 32%);
  mix-blend-mode: soft-light;
}

.statusbar {
  position: relative;
  height: 7.18cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6.4cqw 0 7.4cqw;
  background: var(--sb, #F5F3EE);
  color: #17181C;
  font-size: 3.6cqw;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background-color .6s, color .6s;
}
.statusbar.dark { color: #fff; }
.statusbar svg { width: 15.5cqw; height: 3.3cqw; }
.cam {
  position: absolute;
  left: 50%; top: 52%;
  width: 3.6cqw; height: 3.6cqw;
  border-radius: 50%;
  background: #07080C;
  box-shadow: inset 0 0 0 .5cqw #15181F;
  transform: translate(-50%, -50%);
}

/* ---------- Tour ---------- */

.tour {
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px var(--gutter) 24px;
}

.tour-head { text-align: center; }
.tour-head h2 {
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.tour-head p { margin-top: 12px; color: var(--text-2); font-size: clamp(16px, 1.8vw, 19px); }

.steps {
  list-style: none;
  margin: 34px calc(var(--gutter) * -1) 0;
  padding: 6px var(--gutter) 12px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.steps::-webkit-scrollbar { display: none; }
.steps:focus-visible { outline-offset: -2px; border-radius: 28px; }

.step {
  flex: 0 0 min(82vw, 340px);
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}

.slide-phone {
  margin: 0;
  height: 352px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding-top: 30px;
  background:
    radial-gradient(90% 80% at 50% 0%, var(--blue-soft) 0%, rgba(0, 0, 0, 0) 75%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.slide-phone .phone {
  --w: 214px;
  flex: none;
  --shadow-phone: 0 30px 50px -26px rgba(12, 18, 40, .5);
  transition: transform .8s var(--ease-out);
}

.step-text { padding: 20px 22px 24px; }
.step-num {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  text-wrap: balance;
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.55; }

.he {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 10px 3px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: Heebo, Inter, system-ui, sans-serif;
  font-size: .68em;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: .18em;
}

.dots { display: flex; justify-content: center; gap: 2px; margin-top: 14px; }
.dot {
  width: 28px; height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 99px;
  background: var(--line-2);
  transition: width .35s var(--ease), background-color .35s;
}
.dot[aria-current="true"]::before { width: 22px; background: var(--blue); }

.stage-wrap { display: none; }

.fineprint { margin-top: 26px; text-align: center; color: var(--text-3); font-size: 13px; }

/* phones and tablets: the carousel shows the active card in full */
@media (max-width: 959px) {
  .js .step:not(.is-active) { transform: scale(.96); opacity: .85; }
  .js .step:not(.is-active) .slide-phone .phone { transform: translateY(14px); }
}

/* ---------- How it works ---------- */

.facts { max-width: 1160px; margin: 0 auto; padding: 56px var(--gutter) 40px; }
.facts-title {
  text-align: center;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.facts-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.facts-list li {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 16px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.facts-list li::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, -60%), var(--blue-glow), rgba(0, 0, 0, 0) 70%);
  opacity: 0;
  transition: opacity .35s;
}
.facts-list li:hover::before { opacity: 1; }
.fact-icon {
  width: 46px; height: 46px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.fact-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.facts-list h3 { text-wrap: balance; margin-top: 1px; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.facts-list p { margin-top: 5px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.js .facts-list li[data-reveal] .fact-icon {
  transform: scale(.55) rotate(-10deg);
  opacity: 0;
  transition: transform .8s var(--ease-out) calc(var(--d, 0s) + .25s), opacity .6s var(--ease) calc(var(--d, 0s) + .25s);
}
.js .facts-list li[data-reveal].in .fact-icon { transform: none; opacity: 1; }

/* ---------- Closing and contact ---------- */

.closing { max-width: 1160px; margin: 0 auto; padding: 24px var(--gutter) 8px; }
.closing-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--hero-border);
  background: var(--hero-bg);
  color: var(--on-navy);
  text-align: center;
  padding: 56px 22px 48px;
}
.closing-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; bottom: -120%;
  width: 150%; aspect-ratio: 1.6;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(174, 184, 214, .28);
  box-shadow: 0 0 120px 10px rgba(110, 140, 240, .22), inset 0 0 80px rgba(110, 140, 240, .18);
}
.closing-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; bottom: -210px;
  width: 560px; height: 320px;
  margin-left: -280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 172, 255, .36), rgba(150, 172, 255, 0));
  animation: breathe 7s ease-in-out infinite alternate;
}
.closing-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.closing-sky .stars { inset: 0 0 25% 0; opacity: .6; }
.closing-mark { width: 52px; height: 52px; margin: 0 auto; }
.closing-card h2 {
  margin-top: 22px;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.closing-lede { margin-top: 10px; color: var(--on-navy-2); font-size: 17px; text-wrap: balance; }

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

.notify { max-width: 480px; margin: 28px auto 0; }
.notify-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notify input {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
  color: var(--on-navy);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.notify input::placeholder { color: rgba(244, 242, 236, .5); }
.notify input:focus { border-color: #8EA6FF; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(142, 166, 255, .22); }
.notify input[aria-invalid="true"] { border-color: #FFB4AB; }
.notify button {
  position: relative;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--on-navy);
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
  transition: transform .25s var(--ease), background-color .2s;
}
.notify button:hover { background: #fff; transform: translateY(-1px); }
.notify button:disabled { cursor: progress; }
.notify button.is-loading span { opacity: 0; }
.notify button.is-loading::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(27, 36, 64, .25);
  border-top-color: var(--navy);
  animation: turn .7s linear infinite;
}
.notify-msg { min-height: 1.5em; margin-top: 10px; font-size: 14px; color: #FFC9C2; }
.notify-note { margin-top: 4px; color: var(--on-navy-3); font-size: 13px; text-wrap: balance; }

.notify-done {
  max-width: 480px;
  margin: 28px auto 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  animation: rise .7s var(--ease) both;
}
.notify-done[hidden] { display: none; }
.notify-done p { color: var(--on-navy); font-size: 16px; }
.done-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--on-navy);
  color: var(--navy);
  display: grid;
  place-items: center;
}
.done-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done-icon path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: tick .6s var(--ease) .25s forwards; }

.contact {
  max-width: 520px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.contact p { color: var(--on-navy-2); font-size: 16px; text-wrap: balance; }
.mail {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #DCE2F4;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s;
}
.mail svg { width: 20px; height: 20px; }
.mail:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .36); transform: translateY(-1px); }

/* ---------- Footer ---------- */

.foot {
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px calc(34px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  color: var(--text-2);
  font-size: 14px;
}
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--blue); }

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

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Animations ---------- */

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes word-up { from { transform: translateY(108%); } to { transform: none; } }
@keyframes device-in {
  from { opacity: 0; transform: translateY(160px) rotateX(26deg) scale(.94); }
  to { opacity: 1; transform: none; }
}
@keyframes widget-in-r { from { opacity: 0; scale: .8; translate: 34px 18px; filter: blur(8px); } to { opacity: 1; scale: 1; translate: 0 0; filter: none; } }
@keyframes widget-in-l { from { opacity: 0; scale: .8; translate: -34px 18px; filter: blur(8px); } to { opacity: 1; scale: 1; translate: 0 0; filter: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes twinkle { from { opacity: var(--o); } to { opacity: calc(var(--o) * .25); } }
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes shimmer { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tick { to { stroke-dashoffset: 0; } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(7deg); } 80% { transform: rotate(-4deg); } }
@keyframes breathe { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.06); } }
@keyframes meteor {
  0% { opacity: 0; transform: rotate(var(--ma, 24deg)) translateX(0) scaleX(.4); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--ma, 24deg)) translateX(320px) scaleX(1); }
}

/* ---------- Larger screens ---------- */

@media (min-width: 560px) {
  .cta { flex-direction: row; justify-content: center; gap: 14px; }
  .cta .store, .cta .notify-btn { width: auto; }
  .notify-row {
    flex-direction: row;
    gap: 0;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .07);
    transition: border-color .2s, box-shadow .2s;
  }
  .notify-row:focus-within { border-color: #8EA6FF; box-shadow: 0 0 0 4px rgba(142, 166, 255, .22); }
  .notify input { height: 48px; border: 0; background: transparent; padding: 0 16px; }
  .notify input:focus { background: transparent; box-shadow: none; }
  .notify-row:has(input[aria-invalid="true"]) { border-color: #FFB4AB; }
  .notify button { height: 48px; flex: none; }
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero { padding-top: 92px; }
  .hero-copy { padding-top: 44px; }
  .stage { --pw: 264px; --vis: 410px; height: 510px; margin-top: 42px; }
  .widget-next { display: block; left: -47%; top: 40%; }
  .widget-shabbat { right: -43%; top: 10%; }
  .facts-list { max-width: 720px; margin-left: auto; margin-right: auto; }
  .facts-list li { padding: 24px 26px; column-gap: 20px; }
  .closing-card { padding: 72px 32px 56px; }
  .foot { justify-content: space-between; }
}

@media (min-width: 960px) {
  .bar { top: 16px; left: 16px; right: 16px; height: 76px; padding: 0 max(28px, calc((100% - 1160px) / 2)); }
  .hero { margin: 16px; border-radius: 36px; padding-top: 96px; }
  .hero-copy { padding-top: 22px; }
  h1 { font-size: clamp(64px, 7vw, 100px); }
  .stage { --pw: 300px; --vis: 480px; height: 590px; margin-top: 40px; }
  .widget-next { left: -46%; top: 44%; }
  .widget-shabbat { right: -42%; top: 11%; }

  .tour { padding-top: 120px; }
  .tour-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 48px;
    margin-top: 8px;
  }
  .steps {
    position: relative;
    display: block;
    overflow: visible;
    margin: 0;
    padding: 18vh 0 22vh 32px;
  }
  .steps::before, .steps::after {
    content: "";
    position: absolute;
    left: 0;
    top: 18vh;
    width: 2px;
    border-radius: 2px;
  }
  .steps::before { bottom: 22vh; background: var(--line); }
  .steps::after { height: calc((100% - 40vh) * var(--p, 0)); background: var(--blue); box-shadow: 0 0 12px var(--blue-glow); }
  .step {
    min-height: 62vh;
    display: flex;
    align-items: center;
    background: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .slide-phone { display: none; }
  .step-text { padding: 0; opacity: .5; transition: opacity .6s var(--ease); }
  .step-text > * { transform: translateX(-10px); transition: transform .8s var(--ease-out); }
  .step-text > h3 { transition-delay: .04s; }
  .step-text > p { transition-delay: .08s; }
  .step.is-active .step-text { opacity: 1; }
  .step.is-active .step-text > * { transform: none; }
  .step-num { font-size: 13px; }
  .step h3 { margin-top: 10px; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.1; letter-spacing: -0.032em; }
  .step p { margin-top: 14px; font-size: 18px; max-width: 25em; }
  .dots { display: none; }

  .stage-wrap {
    display: flex;
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: start;
    align-items: center;
    justify-content: center;
  }
  .tour-stage { position: relative; }
  .tour-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%; top: 50%;
    width: 200%; height: 90%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--blue-soft), rgba(0, 0, 0, 0));
  }
  .tour-stage .phone {
    --w: min(300px, calc((100vh - 120px) / 2.17));
    --shadow-phone: 0 40px 70px -36px rgba(27, 36, 64, .42), 0 16px 30px -20px rgba(27, 36, 64, .3);
    transform: rotate(var(--rz, 0deg)) translateY(var(--ty, 0px));
    transition: transform 1.2s var(--ease-out);
  }
  .orbit {
    position: absolute;
    z-index: -1;
    left: 50%; top: 50%;
    width: 155%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    transform: translate(-50%, -50%);
    animation: spin 48s linear infinite;
  }
  .orbit i {
    position: absolute;
    left: 50%; top: -5px;
    width: 9px; height: 9px;
    margin-left: -4.5px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px var(--blue-soft);
  }
  .shots { position: relative; }
  .shots img {
    opacity: 0;
    transform: translateY(5%) scale(1.02);
    transition: opacity .7s var(--ease), transform 1s var(--ease-out);
  }
  .shots img + img { position: absolute; inset: 0; }
  .shots img.is-active { opacity: 1; transform: none; }
  .shots img.was-active { opacity: 0; transform: translateY(-3%) scale(.98); }

  .facts { padding-top: 72px; }
  .closing-card { padding: 88px 32px 64px; }
}

@media (min-width: 900px) {
  .facts-list { max-width: none; grid-template-columns: repeat(3, 1fr); }
  .facts-list li { display: block; padding: 26px 24px 28px; }
  .facts-list li:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 24px 40px -30px rgba(27, 36, 64, .35); }
  .facts-list h3 { margin-top: 18px; font-size: 18px; }
}

@media (min-width: 1600px) {
  .stage { --pw: 320px; --vis: 510px; height: 620px; }
  .tour, .facts, .closing, .foot { max-width: 1280px; }
  .tour-body { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .tour-stage .phone { --w: min(330px, calc((100vh - 120px) / 2.17)); }
  .step h3 { font-size: 46px; }
  .step p { font-size: 19px; }
}

/* short laptop screens: keep the phone in view */
@media (min-width: 960px) and (max-height: 820px) {
  .hero { padding-top: 88px; }
  .hero-copy { padding-top: 6px; }
  h1 { font-size: clamp(56px, 6vw, 84px); }
  .lede { margin-top: 18px; }
  .hero-store { margin-top: 26px; }
  .stage { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .store::after, .meteor { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
