:root {
  --bg: #eef4f4;
  --bg-deep: #d5e4e5;
  --card: #ffffff;
  --ink: #142426;
  --ink-soft: #2a3a3c;
  --muted: #5c6e70;
  --line: #c5d4d5;
  --line-soft: #e0ebec;
  --accent: #2b878f;
  --accent-bright: #349aa3;
  --accent-deep: #1d656c;
  --accent-soft: #d2e8ea;
  --on-accent: #f7fbfc;
  --match: #e91e8c;
  --match-pill: #fadced;
  --draft: #6a5316;
  --draft-bg: #fff8e8;
  --draft-line: #e6d3a3;
  --serif: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --sans: "DM Sans", "Heebo", sans-serif;
  --hebrew: "Heebo", "Arial Hebrew", sans-serif;
  --max: 1120px;
  --top-h: 70px;
  --vh-s: 100vh;
  --vh-l: 100vh;
  --safe-h: calc(var(--vh-s) - var(--top-h));
}

/* Registered so the mockup scale can glide when it changes. */
@property --s {
  syntax: "<number>";
  inherits: true;
  initial-value: 0.74;
}

/* Mobile browsers hide their toolbar while scrolling. A step is one small
   viewport, the content sits inside the small viewport, and the stage itself
   is one large viewport tall so its colour always reaches the screen edge. */
@supports (height: 100svh) {
  :root { --vh-s: 100svh; --vh-l: 100lvh; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--top-h);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

html[lang="he"] body { font-family: var(--hebrew); }
html[lang="en"] body { font-family: var(--sans); }

html[lang="he"] .t-en { display: none !important; }
html[lang="en"] .t-he { display: none !important; }

img { max-width: 100%; }
a { color: var(--accent-deep); }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.narrow-only { display: none; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Header and navigation ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(197, 212, 213, 0.45);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  direction: ltr;
}

.brand img.mark { width: 36px; height: 36px; display: block; }
.brand img.word { width: 138px; height: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.16s ease;
}

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

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 0.96rem;
  border-radius: 999px;
  padding: 11px 22px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(43, 135, 143, 0.28);
  transition: background 0.16s ease, transform 0.16s ease;
}

.btn:hover { background: var(--accent-deep); }
.btn:active { transform: translateY(1px); }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line-soft);
  padding: 14px 20px 20px;
}

.mobile-menu.is-open { display: block; }

.mobile-menu nav { display: grid; gap: 4px; }

.mobile-menu nav a {
  display: block;
  padding: 11px 6px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu .mobile-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

/* ---------- Display type ---------- */

.display {
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

html[lang="he"] .display { font-family: var(--hebrew); font-weight: 800; line-height: 1.06; }
html[lang="en"] .display { font-family: var(--serif); font-weight: 620; line-height: 1.03; letter-spacing: -0.025em; }

.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- Store buttons (both the same size) ---------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  width: 190px;
  height: 60px;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 16px;
  background: #0f1a1c;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 26, 28, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.store[href]:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15, 26, 28, 0.26); }
.store svg { width: 27px; height: 27px; flex: none; }
.store-text { display: grid; gap: 1px; text-align: start; min-width: 0; }
.store small { font-size: 0.7rem; line-height: 1.1; opacity: 0.82; font-weight: 500; white-space: nowrap; }
.store b {
  font-family: var(--sans);
  font-size: 1.16rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  direction: ltr;
}

/* ---------- Scroll story ---------- */

.story {
  --s: 0.74;
  --ph-h: 868px;
  --steps: 5;
  position: relative;
  height: calc((var(--steps) - 1) * var(--vh-s) + var(--vh-l) - var(--top-h));
}

.step-anchor {
  position: absolute;
  inset-inline-start: 0;
  top: calc(var(--i) * var(--vh-s));
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.stage {
  position: sticky;
  top: var(--top-h);
  height: calc(var(--vh-l) - var(--top-h));
  overflow: hidden;
  background-color: #eef4f4;
  transition: background-color 0.7s ease;
}

.story-app[data-step="1"] .stage { background-color: #fbecf3; }
.story-app[data-step="2"] .stage { background-color: #d9ecee; }
.story-app[data-step="3"] .stage { background-color: #f6efe2; }
.story-app[data-step="4"] .stage { background-color: #ece8f9; }

.stage-inner {
  height: var(--safe-h);
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 48px;
}

.stage-copy { display: grid; }

.panel {
  grid-area: 1 / 1;
  align-self: center;
  display: grid;
  justify-items: start;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(34px);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.4s;
}

.panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.14s, 0.14s, 0s;
}

.panel h1.display { font-size: clamp(2.6rem, 5.8vw, 5.4rem); }
.panel h1 em { font-style: normal; color: var(--accent); }
.panel h2.display { font-size: clamp(2.5rem, 5.4vw, 5rem); }
html[lang="en"] .panel h1.display { font-size: clamp(2.5rem, 5.3vw, 4.9rem); }
.panel .lead { max-width: 33em; }
.panel .stores { margin-top: 8px; }

.kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 16px rgba(20, 36, 38, 0.16);
}

.kicker svg { width: 22px; height: 22px; }

.stage-phone {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
}

.phone-fit {
  position: relative;
  flex: none;
  width: calc(414px * var(--s));
  height: calc(var(--ph-h) * var(--s));
}

.phone-fit::before {
  content: "";
  position: absolute;
  inset: -4% -34%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.5) 46%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
}

.rail {
  position: absolute;
  inset-inline-end: 22px;
  top: calc(var(--safe-h) / 2);
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  z-index: 3;
}

.rail button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 36, 38, 0.2);
  cursor: pointer;
  transition: height 0.3s ease, background-color 0.3s ease;
}

.rail button.is-active { height: 30px; background: var(--accent); }

.scroll-hint {
  position: absolute;
  z-index: 4;
  bottom: calc(var(--vh-l) - var(--vh-s) + 28px);
  inset-inline-start: max(48px, calc((100% - 1200px) / 2));
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(20, 36, 38, 0.16);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

html[lang="en"] .scroll-hint { font-size: 1.08rem; }
.scroll-hint svg { width: 26px; height: 26px; animation: nudge 1.6s ease-in-out infinite; }
.story:not([data-step="0"]) .scroll-hint { opacity: 0; pointer-events: none; }

/* ---------- iPhone, drawn at 390 x 844 and scaled as one piece ---------- */

.phone {
  position: absolute;
  top: 0;
  left: 0;
  width: 414px;
  height: var(--ph-h);
  padding: 12px;
  border-radius: 67px;
  background: #0d1314;
  box-shadow:
    inset 0 0 0 1.5px #39464a,
    inset 0 0 0 4px #0d1314,
    0 0 0 1px #050808,
    0 60px 90px rgba(12, 26, 28, 0.26),
    0 22px 40px rgba(12, 26, 28, 0.18);
  transform: scale(var(--s));
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-select: none;
  text-align: start;
}

.hw { position: absolute; width: 4px; background: #1b2426; border-radius: 2px; }
.hw-action { left: -3px; top: 152px; height: 30px; }
.hw-up { left: -3px; top: 212px; height: 58px; }
.hw-down { left: -3px; top: 284px; height: 58px; }
.hw-power { right: -3px; top: 252px; height: 94px; }

.ph-screen {
  --p-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Heebo", sans-serif;
  --p-serif: "Fraunces", -apple-system, BlinkMacSystemFont, "Heebo", serif;
  position: relative;
  width: 390px;
  height: calc(var(--ph-h) - 24px);
  border-radius: 55px;
  overflow: hidden;
  background: linear-gradient(160deg, #d8eaeb 0%, #eef4f4 45%, #e6eef0 100%);
  color: #142426;
  font-family: var(--p-sans);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
}

.ph-screen svg { display: block; flex: none; }
.ph-screen img { display: block; max-width: none; }
.ph-screen b, .ph-screen em, .ph-screen i { font-style: normal; }
.ph-screen p { margin: 0; }

.ph-status {
  position: absolute;
  inset: 0 0 auto 0;
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px 0 52px;
  font-family: -apple-system, BlinkMacSystemFont, "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 17px;
  z-index: 6;
}

.ph-island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 126px;
  height: 37px;
  margin-left: -63px;
  border-radius: 20px;
  background: #050707;
}

.ph-sys { display: flex; align-items: center; gap: 6px; fill: currentColor; }

.ph-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 134px;
  height: 5px;
  margin-left: -67px;
  border-radius: 3px;
  background: #142426;
  z-index: 6;
}

/* AppHeader */
.app-hd {
  position: absolute;
  top: 59px;
  left: 0;
  right: 0;
  height: 68px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}

.hd-side { display: flex; align-items: center; gap: 6px; }

.hd-circle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2b878f;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 6px rgba(20, 36, 38, 0.14);
}

.hd-circle svg { width: 20px; height: 20px; }

.hd-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  border: 1.5px solid rgba(233, 30, 140, 0.35);
  background: #fadced;
  color: #e91e8c;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.hd-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #2b878f;
  overflow: hidden;
}

.hd-avatar img { width: 100%; height: 100%; object-fit: cover; }

.hd-logo {
  flex: 1;
  min-width: 0;
  margin: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* The app draws this lockup 42px high. Smaller here so it sits clear of the buttons at 390px. */
.hd-logo .mk { height: 32px; width: auto; flex: none; }
.hd-logo .wd { height: 15.5px; width: auto; flex: none; margin-top: 5px; }

.story:not([data-tab="meet"]) .act-filter,
.story:not([data-tab="meet"]) .act-heart,
.story[data-tab="near"] .act-chat,
.story[data-tab="tribes"] .act-chat { display: none; }

.story[data-tab="near"] .hd-actions,
.story[data-tab="tribes"] .hd-actions { width: 98px; }

/* Screens */
.scr {
  position: absolute;
  top: 127px;
  left: 0;
  right: 0;
  bottom: 104px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.45s ease, visibility 0s linear 0.4s;
}

.story[data-tab="meet"] .scr-meet,
.story[data-tab="free"] .scr-free,
.story[data-tab="near"] .scr-near,
.story[data-tab="tribes"] .scr-tribes {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

/* Meet */
.deck {
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  bottom: 10px;
  border-radius: 24px;
  overflow: hidden;
  background: #cfdcdd;
  box-shadow: 0 4px 10px rgba(20, 36, 38, 0.06);
  transition: transform 0.75s cubic-bezier(0.3, 0.6, 0.2, 1), opacity 0.5s ease 0.15s;
}

.deck > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deck-a > img { object-position: 46% 50%; }
.deck-b > img { object-position: 30% 50%; }

.story:not([data-step="0"]) .deck-a {
  transform: translateX(-128%) rotate(-13deg);
  opacity: 0;
}

.hi-heart {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fadced;
  border: 1.5px solid rgba(233, 30, 140, 0.35);
  display: grid;
  place-items: center;
}

.hi-heart > svg { width: 28px; height: 28px; }

.hi-plus {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(233, 30, 140, 0.35);
  color: #e91e8c;
  display: grid;
  place-items: center;
}

.hi-plus svg { width: 14px; height: 14px; }

.live-row {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 72px;
  display: flex;
  justify-content: flex-start;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #e91e8c;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.live-badge svg { width: 16px; height: 16px; animation: pulseDot 1.6s ease-in-out infinite; }

.deck-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 72px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  background: linear-gradient(180deg, rgba(18, 10, 6, 0) 0%, rgba(18, 10, 6, 0.55) 42%, rgba(18, 10, 6, 0.88) 100%);
}

.deck-name { display: flex; align-items: center; gap: 6px; }
.deck-name b { font-family: var(--p-serif); font-weight: 600; font-size: 32px; line-height: 1.2; }

.verified {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2b878f;
  color: #fff;
  display: grid;
  place-items: center;
}

.verified svg { width: 13px; height: 13px; }

.deck-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 17px;
  line-height: 22px;
  white-space: nowrap;
}

.deck-meta svg { width: 18px; height: 18px; }
.deck-tags { display: grid; gap: 8px; margin-top: 4px; }
.tag-row { display: flex; gap: 8px; }

.tag {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.tag.power { background: rgba(43, 135, 143, 0.14); color: #2b878f; }

/* Free? */
.scr-free {
  overflow: visible;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.free-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.glow-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  border: 2px solid #349aa3;
  background: rgba(43, 135, 143, 0.14);
  animation: halo 2.8s ease-out infinite;
}

.halo-2 { animation-delay: 1.4s; }

.glow-btn {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: linear-gradient(145deg, #349aa3, #2b878f);
  color: #f7fbfc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(43, 135, 143, 0.55), 0 8px 18px rgba(43, 135, 143, 0.28);
}

.glow-btn b { font-family: var(--p-serif); font-weight: 700; font-size: 34px; line-height: 1.15; }
.glow-btn > span { font-weight: 500; font-size: 14px; opacity: 0.9; }

.free-hint {
  max-width: 300px;
  text-align: center;
  color: #6a7a7c;
  font-size: 14px;
  line-height: 20px;
}

.map-card {
  position: relative;
  flex: none;
  height: 329px;
  border-radius: 24px;
  overflow: hidden;
  background: #e6e1d8;
  box-shadow: 0 4px 10px rgba(20, 36, 38, 0.06);
}

.map { position: absolute; inset: 0; width: 100%; height: 100%; }

.map-title {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: grid;
  gap: 2px;
}

.map-title b { font-family: var(--p-serif); font-weight: 600; font-size: 18px; color: #24383a; }
.map-title > span { font-weight: 600; font-size: 14px; color: #2a3a3c; }

.mp {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}

.mp img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(20, 36, 38, 0.24);
}

.mp-lg img { width: 56px; height: 56px; }
.mp-me img { width: 68px; height: 68px; border-width: 3px; }

.mp em {
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 11px;
}

/* Nearby */
.near-sub { text-align: center; color: #6a7a7c; font-size: 13px; padding-bottom: 6px; }

.near-search {
  margin: 0 16px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.near-field {
  flex: 1;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #c5d4d5;
  border-radius: 999px;
  background: #fff;
  color: #6a7a7c;
  font-size: 15px;
}

.near-field svg { width: 18px; height: 18px; }

.near-filter {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #c5d4d5;
  background: #fff;
  display: grid;
  place-items: center;
}

.near-filter svg { width: 22px; height: 22px; }
.near-count { padding: 0 20px; color: #6a7a7c; font-size: 12px; }

.scr-near { display: flex; flex-direction: column; }
.near-view { position: relative; flex: 1; min-height: 0; overflow: hidden; }

.near-list {
  --y1: -470px;
  --y2: -800px;
  --y3: -1120px;
  padding: 0 20px 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  will-change: transform;
}

.story[data-tab="near"] .near-list { animation: nearScroll 15s cubic-bezier(0.45, 0, 0.25, 1) 1.1s infinite; }

.ev-img {
  width: 100%;
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
  background: #d2e8ea;
}

.ev-pub .ev-title { margin-top: 4px; }
.ev-pub .ev-desc { line-height: 20px; }
.ev-price-row { display: flex; margin-top: 8px; }

.ev-price {
  padding: 3px 8px;
  border-radius: 10px;
  background: #d5e4e5;
  color: #142426;
  font-weight: 600;
  font-size: 12px;
}

.ev-price.is-free { background: #d2e8ea; color: #2b878f; }

.sec-head {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sec-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--p-serif);
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
}

.sec-title svg { width: 20px; height: 20px; color: #2b878f; }
.sec-title span { overflow: hidden; text-overflow: ellipsis; }

.new-ev {
  flex: none;
  padding: 6px 10px;
  border-radius: 14px;
  background: #2b878f;
  color: #f7fbfc;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.ev {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e0ebec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(20, 36, 38, 0.06);
}

.ev-title { font-family: var(--p-serif); font-weight: 600; font-size: 20px; }
.ev-when { color: #2b878f; font-weight: 600; font-size: 14px; }
.ev-where { color: #2a3a3c; font-size: 14px; }
.ev-desc { color: #6a7a7c; font-size: 13px; }
.ev-going { margin-top: 4px; font-weight: 600; font-size: 14px; }

.ev-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  font-weight: 500;
  font-size: 15px;
}

.ev-row img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ev-row svg { width: 18px; height: 18px; margin-inline-start: auto; color: #6a7a7c; }
html[dir="rtl"] .ev-row svg { transform: scaleX(-1); }

.ev-foot {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ev-count { font-weight: 600; font-size: 13px; }

.ev-btn {
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #2b878f;
  color: #f7fbfc;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.fab {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2b878f;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(20, 36, 38, 0.26);
}

.fab svg { width: 30px; height: 30px; }

/* Tribes */
.scr-tribes {
  padding: 6px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tr-head { display: grid; gap: 2px; }
.tr-title { font-family: var(--p-serif); font-weight: 700; font-size: 32px; line-height: 1.2; }
.tr-sub { color: #6a7a7c; font-size: 14px; }
.tr-actions { display: flex; gap: 8px; }

.tr-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid #2b878f;
  font-weight: 700;
  font-size: 14px;
}

.tr-pill svg { width: 16px; height: 16px; }
.tr-pill.fill { background: #2b878f; color: #f7fbfc; }
.tr-pill.line { background: #fff; color: #2b878f; }

.tr-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: #6a7a7c;
  font-size: 16px;
}

.tr-search svg { width: 18px; height: 18px; }
.tr-label { color: #6a7a7c; font-weight: 600; font-size: 13px; }

.tr-card {
  flex: none;
  padding: 0 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(20, 36, 38, 0.06);
}

.tr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.tr-row + .tr-row { border-top: 1px solid #e0ebec; }

.tr-av {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.tr-av svg { width: 25px; height: 25px; }
.tr-body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.tr-body b { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-body > span { color: #6a7a7c; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tr-join {
  flex: none;
  padding: 5px 12px;
  border: 1.5px solid #2b878f;
  border-radius: 999px;
  color: #2b878f;
  font-weight: 600;
  font-size: 12px;
}

/* Bottom tab bar */
.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 12px 34px;
  background: #eef4f4;
  z-index: 4;
}

.tab-pill {
  height: 64px;
  padding: 0 6px;
  border-radius: 32px;
  background: #2b878f;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  box-shadow: 0 8px 16px rgba(20, 36, 38, 0.22);
}

.tab {
  position: relative;
  min-width: 68px;
  padding: 5px 10px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: rgba(247, 251, 252, 0.75);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab svg { width: 30px; height: 30px; }
.tab b { font-weight: 500; font-size: 12.5px; line-height: 1.25; white-space: nowrap; }
.tab .ic-f { display: none; }
.tab-free { color: #f7fbfc; }
.tab-free b { font-weight: 600; }

.tab-free::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.2);
  animation: tabGlow 2.2s ease-in-out infinite;
}

.story[data-tab="meet"] .tab-meet,
.story[data-tab="free"] .tab-free,
.story[data-tab="near"] .tab-near,
.story[data-tab="tribes"] .tab-tribes { background: #fff; color: #2b878f; }

.story[data-tab="meet"] .tab-meet b,
.story[data-tab="free"] .tab-free b,
.story[data-tab="near"] .tab-near b,
.story[data-tab="tribes"] .tab-tribes b { font-weight: 700; }

.story[data-tab="free"] .tab-free .ic-o,
.story[data-tab="near"] .tab-near .ic-o,
.story[data-tab="tribes"] .tab-tribes .ic-o { display: none; }

.story[data-tab="free"] .tab-free .ic-f,
.story[data-tab="near"] .tab-near .ic-f,
.story[data-tab="tribes"] .tab-tribes .ic-f { display: block; }

.story[data-tab="free"] .tab-free::before { display: none; }

/* ---------- Why it works: second pinned story, ends on the download call ---------- */

.story-why .stage { background-color: var(--ink); color: #b9c9ca; }

.why-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 120%, rgba(255, 255, 255, 0.22) 0%, transparent 70%),
    linear-gradient(150deg, #349aa3 0%, #2b878f 50%, #1d656c 100%);
  transition: opacity 0.7s ease;
}

.story-why[data-step="4"] .why-cta-bg { opacity: 1; }

.why-rings {
  position: absolute;
  left: 50%;
  top: calc(var(--safe-h) / 2);
  width: 0;
  height: 0;
}

.why-rings i {
  position: absolute;
  --ring: min(92vh, 92vw);
  left: calc(var(--ring) / -2);
  top: calc(var(--ring) / -2);
  width: var(--ring);
  height: var(--ring);
  border-radius: 50%;
  border: 1.5px solid rgba(111, 203, 211, 0.55);
  background: radial-gradient(closest-side, rgba(52, 154, 163, 0.16), rgba(52, 154, 163, 0) 70%);
  opacity: 0;
  animation: ring 7.5s linear infinite;
}

.why-rings i:nth-child(2) { animation-delay: 2.5s; }
.why-rings i:nth-child(3) { animation-delay: 5s; }
.story-why[data-step="4"] .why-rings i { border-color: rgba(255, 255, 255, 0.5); }

.why-copy {
  position: relative;
  height: var(--safe-h);
  width: min(1040px, calc(100% - 96px));
  margin-inline: auto;
  display: grid;
  align-items: center;
}

.story-why .panel { justify-items: center; text-align: center; gap: 20px; }
.story-why .panel h2.display { color: #fff; font-size: clamp(3rem, 8.6vw, 7.6rem); }
.story-why .panel h2 em { font-style: normal; color: #6fcbd3; }
.story-why .panel .lead { color: #c3d2d3; max-width: 34em; font-size: clamp(1.08rem, 1.6vw, 1.42rem); }

.story-why .kicker {
  padding: 8px 18px;
  background: rgba(111, 203, 211, 0.14);
  border: 1px solid rgba(111, 203, 211, 0.4);
  color: #9fe2e7;
  box-shadow: none;
  font-size: 1.05rem;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--match);
  box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.6);
  animation: livePing 1.6s ease-out infinite;
}

.giant {
  margin: 0;
  color: #6fcbd3;
  font-size: clamp(5.4rem, 19vw, 17rem);
  line-height: 0.92;
  padding-bottom: 0.08em;
  letter-spacing: -0.04em;
  white-space: nowrap;
  transform: scale(0.82);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-variant-numeric: tabular-nums;
}

html[lang="he"] .giant { font-family: var(--hebrew); font-weight: 900; }
html[lang="en"] .giant { font-family: var(--serif); font-weight: 650; }
.panel.is-active .giant { transform: none; transition-delay: 0.14s; }

.panel-cta > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.panel-cta.is-active > * { opacity: 1; transform: none; }
.panel-cta.is-active > :nth-child(1) { transition-delay: 0.2s; }
.panel-cta.is-active > :nth-child(2) { transition-delay: 0.32s; }
.panel-cta.is-active > :nth-child(3) { transition-delay: 0.44s; }
.panel-cta.is-active > :nth-child(4) { transition-delay: 0.56s; }
.story-why .panel-cta h2.display { font-size: clamp(2.8rem, 7.4vw, 6.4rem); }
.story-why .panel-cta .lead { color: rgba(247, 251, 252, 0.94); }
.panel-cta .stores { justify-content: center; margin-top: 8px; }

.download-mark {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 36px rgba(12, 46, 50, 0.3);
}

.download-mark img { width: 56px; height: 56px; display: block; }
.panel-cta.is-active .download-mark { animation: pop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) 0.2s both; }

/* Her village: faces gather round the download call. */
.why-faces { position: absolute; inset: 0 0 auto; height: var(--safe-h); }
.why-faces img {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--d);
  height: var(--d);
  max-width: none;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(12, 46, 50, 0.32);
  scale: 0;
  opacity: 0;
  transition: scale 0.6s cubic-bezier(0.2, 1.3, 0.4, 1), opacity 0.4s ease;
  animation: drift 6s ease-in-out infinite;
  animation-delay: calc(var(--n) * -0.9s);
}

.story-why[data-step="4"] .why-faces img {
  scale: 1;
  opacity: 1;
  transition-delay: calc(0.25s + var(--n) * 0.08s);
}

.why-faces img:nth-child(1) { --n: 0; --x: 6%; --y: 15%; --d: 132px; }
.why-faces img:nth-child(2) { --n: 1; --x: 85%; --y: 11%; --d: 116px; }
.why-faces img:nth-child(3) { --n: 2; --x: 12%; --y: 56%; --d: 98px; }
.why-faces img:nth-child(4) { --n: 3; --x: 81%; --y: 51%; --d: 140px; }
.why-faces img:nth-child(5) { --n: 4; --x: 3%; --y: 78%; --d: 90px; }
.why-faces img:nth-child(6) { --n: 5; --x: 89%; --y: 78%; --d: 94px; }
.why-faces img:nth-child(7) { --n: 6; --x: 26%; --y: 4%; --d: 84px; }
.why-faces img:nth-child(8) { --n: 7; --x: 67%; --y: 83%; --d: 88px; }

.story-why .rail button { background: rgba(255, 255, 255, 0.26); }
.story-why .rail button.is-active { background: #6fcbd3; }
.story-why[data-step="4"] .rail button.is-active { background: #fff; }

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

.foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 44px;
  background: #fff;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 28px;
}

.foot h2 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.foot a { text-decoration: none; color: var(--ink-soft); }
.foot a:hover { color: var(--accent-deep); text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot p { margin: 0 0 6px; color: var(--ink-soft); }

.socials { display: flex; gap: 12px; margin-top: 14px; }

.social {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
}

.social svg { width: 18px; height: 18px; }

.foot-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.foot > .foot-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

.copy { margin: 0; color: var(--muted); font-size: 0.9rem; }

.lang-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.lang-links button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
}

.lang-links button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
}

/* ---------- Legal pages ---------- */

.legal {
  width: min(760px, calc(100% - 40px));
  margin: 18px auto 72px;
}

.draft {
  background: var(--draft-bg);
  border: 1px solid var(--draft-line);
  color: var(--draft);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 8px 0 18px;
}

.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 8px 0; }
.legal .updated { color: var(--muted); margin-top: 0; }
.legal h2 { font-size: 1.28rem; margin: 2rem 0 0.5rem; }
.legal h3 { font-size: 1.05rem; margin: 1.3rem 0 0.35rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul, .legal ol { padding-inline-start: 1.2rem; }
.legal li { margin: 0.35rem 0; }
.legal strong { color: var(--ink); }

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

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

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes halo {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(1.7); opacity: 0; }
}

@keyframes tabGlow {
  0%, 100% { opacity: 0; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes nearScroll {
  0%, 6% { transform: translateY(0); }
  18%, 36% { transform: translateY(var(--y1)); }
  46%, 64% { transform: translateY(var(--y2)); }
  74%, 90% { transform: translateY(var(--y3)); }
  100% { transform: translateY(0); }
}

@keyframes ring {
  0% { transform: scale(0.18); opacity: 0; }
  15% { opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes livePing {
  0% { box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(233, 30, 140, 0); }
}

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes pop {
  0% { transform: scale(0.4); }
  100% { transform: scale(1); }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Without JavaScript: plain stacked page ---------- */

html:not(.js) .story { height: auto; }
html:not(.js) .stage { position: static; height: auto; overflow: visible; padding: 40px 0 56px; }
html:not(.js) .stage-inner { height: auto; }
html:not(.js) .panel { grid-area: auto; opacity: 1; visibility: visible; transform: none; margin-bottom: 44px; }
html:not(.js) .story-why .stage { padding: 64px 0; }
html:not(.js) .why-copy { height: auto; }
html:not(.js) .panel-cta > * { opacity: 1; transform: none; }
html:not(.js) .giant { transform: none; }
html:not(.js) .rail,
html:not(.js) .scroll-hint { display: none; }

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

@media (max-width: 1080px) {
  .stage-inner { width: calc(100% - 72px); gap: 28px; }
  .scroll-hint { inset-inline-start: 36px; padding: 12px 18px; font-size: 1.08rem; }
}

@media (max-width: 860px) {
  :root { --top-h: 62px; }

  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .top-inner { width: calc(100% - 40px); padding: 11px 0; }
  .brand img.mark { width: 32px; height: 32px; }
  .brand img.word { width: 112px; }
  .btn { padding: 9px 15px; font-size: 0.88rem; }
  .wide-only { display: none; }

  .stage-inner {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
  }

  .stage-copy { width: 100%; flex: none; }
  .panel { align-self: start; justify-items: center; text-align: center; gap: 8px; }
  .panel h1.display,
  html[lang="en"] .panel h1.display { font-size: clamp(1.8rem, 8.2vw, 2.9rem); }
  .panel h2.display { font-size: clamp(1.8rem, 8.2vw, 2.9rem); }
  .panel .lead { font-size: 0.99rem; line-height: 1.45; }
  .panel .stores { margin-top: 4px; justify-content: center; flex-wrap: nowrap; }
  .kicker { padding: 5px 12px 5px 10px; font-size: 0.84rem; gap: 6px; }
  .kicker svg { width: 18px; height: 18px; }

  .store { width: 164px; height: 52px; padding: 0 13px; gap: 9px; border-radius: 14px; }
  .store svg { width: 23px; height: 23px; }
  .store small { font-size: 0.62rem; }
  .store b { font-size: 1rem; }

  /* The copy is cut to a headline and one line here (.narrow-only), so the
     whole mockup fits under it at a good size. site.js sizes it to the room
     under the active copy and lifts it (--lift) so there is no empty band. */
  .narrow-only { display: inline; }
  .story-app .kicker { display: none; }
  .is-fitted .story-app { transition: --s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .stage-phone {
    height: auto;
    flex: none;
    display: block;
    transform: translateY(calc(var(--lift, 0px) * -1));
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .phone-fit::before { inset: -3% -20%; }
  .rail { inset-inline-end: 9px; gap: 8px; }
  .rail button { width: 7px; height: 7px; }
  .rail button.is-active { height: 22px; }
  .scroll-hint {
    inset-inline: 0;
    bottom: calc(var(--vh-l) - var(--vh-s) + 29px);
    width: max-content;
    margin-inline: auto;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.94rem;
    box-shadow: 0 8px 22px rgba(20, 36, 38, 0.3);
  }
  html[lang="en"] .scroll-hint { font-size: 0.88rem; }
  .scroll-hint svg { width: 20px; height: 20px; }

  .foot-grid { grid-template-columns: 1fr; }

  .why-copy { width: calc(100% - 44px); }
  .story-why .panel { align-self: center; gap: 14px; }
  .story-why .panel h2.display { font-size: clamp(2.7rem, 13.5vw, 4.4rem); }
  .story-why .panel-cta h2.display { font-size: clamp(2.3rem, 11vw, 3.6rem); }
  .story-why .panel .lead { font-size: 1.04rem; line-height: 1.5; }
  .story-why .kicker { padding: 6px 14px; font-size: 0.92rem; }
  .giant { font-size: clamp(5rem, 27vw, 9rem); }
  .download-mark { width: 76px; height: 76px; border-radius: 24px; }
  .download-mark img { width: 46px; height: 46px; }

  .why-faces img { border-width: 3px; }
  .why-faces img:nth-child(1) { --x: 4%; --y: 5%; --d: min(92px, calc(var(--vh-s) * 0.14)); }
  .why-faces img:nth-child(2) { --x: 70%; --y: 6%; --d: min(100px, calc(var(--vh-s) * 0.152)); }
  .why-faces img:nth-child(3) { --x: 38%; --y: 1.5%; --d: min(70px, calc(var(--vh-s) * 0.106)); }
  .why-faces img:nth-child(4) { --x: 67%; --y: 78%; --d: min(104px, calc(var(--vh-s) * 0.158)); }
  .why-faces img:nth-child(5) { --x: 4%; --y: 81%; --d: min(90px, calc(var(--vh-s) * 0.137)); }
  .why-faces img:nth-child(6) { --x: 38%; --y: 87%; --d: min(72px, calc(var(--vh-s) * 0.11)); }
  .why-faces img:nth-child(7),
  .why-faces img:nth-child(8) { display: none; }
}

@media (max-width: 480px) {
  .top-inner { width: calc(100% - 28px); gap: 8px; }
  .brand { gap: 6px; }
  .brand img.mark { width: 28px; height: 28px; }
  .brand img.word { width: 92px; }
  .top-actions { gap: 6px; }
  .top .btn { padding: 8px 12px; font-size: 0.8rem; }
  .menu-btn { width: 36px; height: 36px; }
}

@media (max-width: 360px) {
  .store { width: 148px; padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .halo, .tab-free::before, .live-badge svg, .scroll-hint svg,
  .why-rings i, .why-faces img, .live-dot,
  .story[data-tab="near"] .near-list { animation: none; }
  .panel, .scr, .deck, .stage, .stage-phone, .story-app { transition-duration: 0.01s; }
}
