/*
  App4everyone's home page, / and /en/ (12.11.2026, Ariel: "יותר מדהים, יותר עשיר", and the phones in the banners
  were cut at the edges as they floated). Only the two home pages load this file, after style.css.

  The page is a column of rounded bands with a little room around them. The banners are a hero of two columns:
  the words, and a stage on which the phones stand whole, with room to float, among soft shapes and a few cards.
  Every size on the stage is a multiple of --su, one design pixel, and each phone scales its own --u from it.
  CSS only: the CSP allows no inline styles, and no scripts on this page.
*/

.home {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
}

/* ---------- The banners ---------- */

/*
  The two apps, one at a time (Ariel, 29.10.2026), with no links in them: the buttons to the apps come further
  down the page. Both stand in one grid cell. In a cycle of 16 s, ViYomi's words and phones leave first, then
  Sikumit comes in over it, background and all; Sikumit's words leave first too, and as its background fades,
  ViYomi's come back. So two texts are never seen one through the other.

  The round button stops them, and so does keyboard focus on it. Stopped, a banner is whole: each animation that
  was halfway jumps to the end of its step that keeps a whole banner on show (step-end for what leaves, step-start
  for what comes in). Whoever asked their device for less motion gets the two banners one under the other.
*/

.banners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 40px;
}

.banner-stack {
  display: grid;
}

.banner-stack > .showcase {
  grid-area: 1 / 1;
}

@keyframes banner-a-out {
  0%,
  42.5% {
    opacity: 1;
    translate: 0 0;
  }
  45%,
  94.99% {
    opacity: 0;
    translate: 0 -14px;
  }
  95%,
  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes banner-a-in {
  0%,
  94.99% {
    opacity: 1;
    translate: 0 0;
  }
  95% {
    opacity: 0;
    translate: 0 18px;
  }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes banner-b {
  0%,
  45% {
    opacity: 0;
  }
  50%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes banner-b-out {
  0%,
  92.5% {
    opacity: 1;
    translate: 0 0;
  }
  95%,
  100% {
    opacity: 0;
    translate: 0 -14px;
  }
}

/* The dot of the banner on show; the first dot is ViYomi's. */
@keyframes banner-dot-a {
  0%,
  45%,
  97.5%,
  100% {
    width: 26px;
    background: var(--ink);
  }
  47.5%,
  95% {
    width: 8px;
    background: #86868b;
  }
}

@keyframes banner-dot-b {
  0%,
  45%,
  97.5%,
  100% {
    width: 8px;
    background: #86868b;
  }
  47.5%,
  95% {
    width: 26px;
    background: var(--ink);
  }
}

.banner-bar {
  position: absolute;
  z-index: 5;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 6px;
  padding-inline: 14px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(29, 29, 31, 0.05),
    0 10px 24px -10px rgba(0, 0, 0, 0.3);
  translate: -50% 0;
}

.banner-dots {
  display: flex;
  gap: 6px;
}

.banner-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #86868b;
}

.banner-dots span:first-child {
  width: 26px;
  background: var(--ink);
}

/* The checkbox is out of sight but in the tab order; its label is the round button. */
.banners-pause {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
}

.banner-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
}

.banner-pause svg {
  width: 16px;
  height: 16px;
}

.banner-play-icon,
.banners-pause:checked ~ .banner-bar .banner-pause-icon {
  display: none;
}

.banners-pause:checked ~ .banner-bar .banner-play-icon {
  display: block;
}

.banners-pause:focus-visible ~ .banner-bar .banner-pause {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .banner-stack > .showcase:first-child > .showcase-in {
    animation: banner-a-in 16s infinite;
  }

  .banner-stack > .showcase:first-child .showcase-body {
    animation: banner-a-out 16s infinite;
  }

  .banner-stack > .showcase:last-child {
    animation: banner-b 16s infinite;
  }

  .banner-stack > .showcase:last-child .showcase-body {
    animation: banner-b-out 16s infinite;
  }

  .banner-dots span {
    animation: banner-dot-a 16s infinite;
  }

  .banner-dots span + span {
    animation-name: banner-dot-b;
  }

  /*
    Stopped: everything in the banners stands still, and a banner that was coming or going is whole. Keyboard
    focus on the button stops them too; a mouse click focuses it as well, but that is no reason to stop, or the
    second click, to start them again, would do nothing until the focus moved away. Hence :focus-visible.
  */
  .banners-pause:checked ~ .banner-stack > .showcase,
  .banners-pause:checked ~ .banner-stack *,
  .banners-pause:checked ~ .banner-bar .banner-dots span,
  .banners-pause:focus-visible ~ .banner-stack > .showcase,
  .banners-pause:focus-visible ~ .banner-stack *,
  .banners-pause:focus-visible ~ .banner-bar .banner-dots span {
    animation-play-state: paused;
  }

  .banners-pause:checked ~ .banner-stack .showcase-body,
  .banners-pause:focus-visible ~ .banner-stack .showcase-body {
    animation-timing-function: step-end;
  }

  .banners-pause:checked ~ .banner-stack > .showcase,
  .banners-pause:checked ~ .banner-stack .showcase-in,
  .banners-pause:checked ~ .banner-bar .banner-dots span,
  .banners-pause:focus-visible ~ .banner-stack > .showcase,
  .banners-pause:focus-visible ~ .banner-stack .showcase-in,
  .banners-pause:focus-visible ~ .banner-bar .banner-dots span {
    animation-timing-function: step-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banners {
    overflow: visible;
    border-radius: 0;
  }

  .banner-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .banner-stack > .showcase {
    border-radius: 40px;
  }

  .banner-bar,
  .banners-pause {
    display: none;
  }
}

/* ---------- A banner: the words, and the stage ---------- */

.showcase {
  position: relative;
  display: grid;
  align-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 32px 100px;
}

/* A field of fine dots, fading out from one corner. */
.showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(var(--dots) 1.3px, transparent 1.8px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at var(--dots-at), #000000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 60% at var(--dots-at), #000000 0%, transparent 72%);
}

.showcase--viyomi {
  --dots: rgba(27, 107, 58, 0.24);
  --dots-at: 12% 30%;
  --accent: #1b6b3a;
  --blob: linear-gradient(150deg, #b9e0c6 0%, #d9eedf 45%, #fde3a6 100%);
  --ring: rgba(27, 107, 58, 0.28);
  background:
    radial-gradient(circle at 94% 4%, rgba(255, 209, 102, 0.55), transparent 30%),
    radial-gradient(circle at 2% 96%, rgba(27, 107, 58, 0.2), transparent 34%),
    radial-gradient(circle at 46% 118%, rgba(15, 94, 122, 0.16), transparent 46%),
    linear-gradient(160deg, #fffaf0 0%, #fbf8f1 55%, #eef6ef 100%);
}

.showcase--sikumit {
  --dots: rgba(90, 75, 194, 0.26);
  --dots-at: 12% 30%;
  --accent: #5a4bc2;
  --blob: linear-gradient(150deg, #cdc3fa 0%, #e3ddfc 45%, #ffd0de 100%);
  --ring: rgba(90, 75, 194, 0.3);
  background:
    radial-gradient(circle at 94% 6%, rgba(255, 143, 177, 0.36), transparent 30%),
    radial-gradient(circle at 4% 92%, rgba(0, 113, 227, 0.14), transparent 36%),
    radial-gradient(circle at 50% 120%, rgba(90, 75, 194, 0.2), transparent 46%),
    linear-gradient(160deg, #f8f6ff 0%, #f1effc 55%, #ece9fb 100%);
}

[dir="ltr"] .showcase {
  --dots-at: 88% 30%;
}

.showcase-in {
  min-width: 0;
}

.showcase-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .showcase-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
  }
}

.showcase-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 580px;
  text-align: center;
}

@media (min-width: 960px) {
  .showcase-head {
    align-items: flex-start;
    text-align: start;
  }
}

/* The app's name, with its mark, as a badge over the big words. */
.showcase-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-block: 6px;
  padding-inline: 6px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 0 1px rgba(29, 29, 31, 0.05),
    0 12px 28px -18px rgba(29, 26, 46, 0.55);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}

.showcase-name svg {
  flex: none;
  width: 40px;
  height: 40px;
}

.tagline {
  margin: 0;
  font-size: clamp(2.3rem, 1rem + 3.4vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--accent);
  background: linear-gradient(120deg, var(--ink-a), var(--ink-b) 48%, var(--ink-c));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase--viyomi .tagline {
  --ink-a: #0d3d20;
  --ink-b: #1b6b3a;
  --ink-c: #0f5e7a;
}

.showcase--sikumit .tagline {
  --ink-a: #261d6b;
  --ink-b: #5a4bc2;
  --ink-c: #0b5ea8;
}

.caption {
  margin: 0;
  max-width: 34em;
  color: #515156;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.showcase-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 960px) {
  .showcase-points {
    justify-content: flex-start;
  }
}

.showcase-points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  min-height: 42px;
  padding-block: 6px;
  padding-inline: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 0 1px rgba(29, 29, 31, 0.04),
    0 10px 24px -18px rgba(29, 26, 46, 0.6);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
}

.showcase-points svg {
  flex: none;
  width: 30px;
  height: 30px;
}

/*
  The stage: 520 by 600 design pixels. On a phone it fills the width, beside the words it takes what they leave,
  and it is never larger than its design. Nothing on it is cut: the band around it has room for every shadow, and
  for the 12 pixels the phones and cards float up and down.
*/
.stage {
  --su: min(1px, (100vw - 76px) / 520);
  position: relative;
  flex: none;
  width: calc(520 * var(--su));
  height: calc(600 * var(--su));
}

@media (min-width: 960px) {
  .stage {
    --su: min(1px, (100vw - 560px) / 520);
  }
}

.stage::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: calc(8 * var(--su));
  inset-inline-start: calc(14 * var(--su));
  width: calc(96 * var(--su));
  height: calc(96 * var(--su));
  background: url("/images/sparkles.svg") no-repeat center / contain;
}

.stage-blob {
  position: absolute;
  z-index: 0;
  top: calc(92 * var(--su));
  inset-inline-start: calc(36 * var(--su));
  width: calc(448 * var(--su));
  height: calc(448 * var(--su));
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--blob);
  box-shadow: inset 0 0 0 calc(10 * var(--su)) rgba(255, 255, 255, 0.45);
}

.stage-ring {
  position: absolute;
  z-index: 0;
  top: calc(52 * var(--su));
  inset-inline-start: calc(10 * var(--su));
  box-sizing: border-box;
  width: calc(500 * var(--su));
  height: calc(500 * var(--su));
  border: calc(2 * var(--su)) dashed var(--ring);
  border-radius: 50%;
}

/* Phones, designed 300 pixels wide; on the stage, a little smaller. */
.phone {
  flex: none;
  box-sizing: border-box;
  width: calc(300 * var(--u));
  padding: calc(11 * var(--u));
  border-radius: calc(54 * var(--u));
  background: var(--ink);
  box-shadow:
    0 0 0 calc(1.5 * var(--u)) #3a3a3c,
    0 calc(36 * var(--u)) calc(60 * var(--u)) calc(-22 * var(--u)) rgba(29, 26, 46, 0.45);
}

.screen {
  display: block;
  width: calc(278 * var(--u));
  height: calc(572 * var(--u));
  border-radius: calc(43 * var(--u));
  background: var(--cream);
  object-fit: cover;
  object-position: top;
}

.stage .phone {
  --u: calc(var(--su) * 0.9);
  position: absolute;
  z-index: 2;
}

.stage--viyomi .phone--front {
  top: calc(26 * var(--su));
  inset-inline-start: calc(64 * var(--su));
}

.stage--viyomi .phone--back {
  --u: calc(var(--su) * 0.72);
  z-index: 1;
  top: calc(104 * var(--su));
  inset-inline-end: calc(16 * var(--su));
  rotate: -7deg;
}

[dir="ltr"] .stage--viyomi .phone--back {
  rotate: 7deg;
}

.stage--sikumit .phone--front {
  top: calc(20 * var(--su));
  inset-inline-end: calc(42 * var(--su));
}

/* Floating cards on the stage, each saying one thing the app does. */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: calc(10 * var(--su));
  margin: 0;
  padding: calc(9 * var(--su)) calc(16 * var(--su));
  padding-inline-start: calc(9 * var(--su));
  border-radius: calc(20 * var(--su));
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(29, 29, 31, 0.05),
    0 calc(22 * var(--su)) calc(44 * var(--su)) calc(-20 * var(--su)) rgba(29, 26, 46, 0.5);
  color: var(--ink);
  font-size: max(10px, calc(15 * var(--su)));
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}

.chip svg {
  flex: none;
  width: calc(34 * var(--su));
  height: calc(34 * var(--su));
}

.chip-avatars {
  display: flex;
  flex: none;
}

.chip-avatars span {
  box-sizing: border-box;
  width: calc(30 * var(--su));
  height: calc(30 * var(--su));
  border: calc(2.5 * var(--su)) solid #ffffff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #ffffff 0 17%, transparent 18%),
    radial-gradient(ellipse 34% 26% at 50% 86%, #ffffff 0 96%, transparent 100%),
    #0071e3;
}

.chip-avatars span + span {
  margin-inline-start: calc(-9 * var(--su));
  background-color: #ff8fb1;
}

.chip-avatars span + span + span {
  background-color: #1b6b3a;
}

.stage--viyomi .chip--contacts {
  top: calc(56 * var(--su));
  inset-inline-end: calc(0 * var(--su));
}

.stage--viyomi .chip--shabbat {
  bottom: calc(66 * var(--su));
  inset-inline-start: 0;
}

.stage--sikumit .chip--fast {
  top: calc(84 * var(--su));
  inset-inline-start: calc(8 * var(--su));
}

.stage--sikumit .chip--report {
  bottom: calc(22 * var(--su));
  inset-inline-end: calc(10 * var(--su));
}

/* Sikumit: a round microphone that listens. */
.stage-mic {
  position: absolute;
  z-index: 3;
  top: calc(2 * var(--su));
  inset-inline-end: calc(8 * var(--su));
  display: grid;
  place-items: center;
  width: calc(70 * var(--su));
  height: calc(70 * var(--su));
  border-radius: 50%;
  background: linear-gradient(145deg, #8173f3, #5a4bc2);
  box-shadow:
    0 0 0 calc(8 * var(--su)) rgba(90, 75, 194, 0.16),
    0 calc(18 * var(--su)) calc(30 * var(--su)) calc(-12 * var(--su)) rgba(46, 37, 128, 0.6);
  color: #ffffff;
}

.stage-mic svg {
  width: calc(32 * var(--su));
  height: calc(32 * var(--su));
}

/* Sikumit in WhatsApp */

.chat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #eceef5;
  text-align: start;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: calc(42 * var(--u)) calc(16 * var(--u)) calc(12 * var(--u));
  border-bottom: calc(1 * var(--u)) solid #e3e5ee;
  background: #ffffff;
}

.chat-logo {
  flex: none;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
}

.chat-name {
  font-size: calc(16 * var(--u));
  font-weight: 600;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  padding: calc(22 * var(--u)) calc(14 * var(--u));
}

.voice {
  display: flex;
  align-self: flex-end;
  align-items: center;
  gap: calc(10 * var(--u));
  width: calc(206 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u));
  border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u)) calc(5 * var(--u));
  background: #e6e2fa;
}

.voice-play {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: var(--purple);
  color: #ffffff;
}

.voice-play svg {
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
}

.wave {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: calc(2 * var(--u));
  height: calc(28 * var(--u));
}

.wave span {
  width: calc(3 * var(--u));
  height: calc(8 * var(--u));
  border-radius: calc(2 * var(--u));
  background: var(--purple);
  opacity: 0.7;
}

.wave span:nth-child(2) { height: calc(14 * var(--u)); }
.wave span:nth-child(3) { height: calc(20 * var(--u)); }
.wave span:nth-child(4) { height: calc(11 * var(--u)); }
.wave span:nth-child(5) { height: calc(24 * var(--u)); }
.wave span:nth-child(6) { height: calc(16 * var(--u)); }
.wave span:nth-child(7) { height: calc(9 * var(--u)); }
.wave span:nth-child(8) { height: calc(18 * var(--u)); }
.wave span:nth-child(9) { height: calc(26 * var(--u)); }
.wave span:nth-child(10) { height: calc(13 * var(--u)); }
.wave span:nth-child(11) { height: calc(7 * var(--u)); }
.wave span:nth-child(12) { height: calc(15 * var(--u)); }
.wave span:nth-child(13) { height: calc(22 * var(--u)); }
.wave span:nth-child(14) { height: calc(10 * var(--u)); }
.wave span:nth-child(15) { height: calc(17 * var(--u)); }
.wave span:nth-child(16) { height: calc(8 * var(--u)); }
.wave span:nth-child(17) { height: calc(13 * var(--u)); }
.wave span:nth-child(18) { height: calc(19 * var(--u)); }

.voice-time {
  color: #4d5270;
  font-size: calc(12 * var(--u));
}

.reply {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  gap: calc(2 * var(--u));
  width: calc(226 * var(--u));
}

.reply-main {
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(5 * var(--u)) calc(5 * var(--u));
  background: #ffffff;
  font-size: calc(14 * var(--u));
  line-height: 1.5;
}

.reply-title {
  font-weight: 600;
}

.reply-date {
  color: #4d5270;
}

.reply-link {
  overflow: hidden;
  color: var(--purple);
  font-size: calc(13 * var(--u));
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-action {
  padding: calc(9 * var(--u)) calc(12 * var(--u));
  border-radius: calc(5 * var(--u)) calc(5 * var(--u)) calc(18 * var(--u)) calc(5 * var(--u));
  background: #ffffff;
  color: var(--purple);
  font-size: calc(14 * var(--u));
  font-weight: 600;
  text-align: center;
}

/* The summary that Sikumit writes, on the stage beside the phone. */
.summary {
  position: absolute;
  z-index: 3;
  top: calc(262 * var(--su));
  inset-inline-start: calc(8 * var(--su));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--su));
  box-sizing: border-box;
  width: calc(292 * var(--su));
  padding: calc(20 * var(--su));
  border-radius: calc(24 * var(--su));
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(90, 75, 194, 0.06),
    0 calc(36 * var(--su)) calc(64 * var(--su)) calc(-26 * var(--su)) rgba(61, 48, 160, 0.45);
  text-align: start;
}

.summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(8 * var(--su));
}

.summary-name {
  font-size: calc(18 * var(--su));
  font-weight: 700;
}

.badge {
  padding: calc(2 * var(--su)) calc(10 * var(--su));
  border-radius: 999px;
  background: #fff1c7;
  color: #6a4b00;
  font-size: calc(12 * var(--su));
  font-weight: 600;
}

.summary-row {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--su));
  padding-top: calc(9 * var(--su));
  border-top: 1px solid #eceef4;
}

.summary-label {
  color: var(--purple);
  font-size: calc(12.5 * var(--su));
  font-weight: 700;
}

.summary-text {
  font-size: calc(13.5 * var(--su));
  line-height: 1.45;
}

/* Floating, each at its own pace; the banners' button stops it. */
@keyframes hero-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 calc(-12 * var(--su));
  }
}

@keyframes hero-spin {
  to {
    rotate: 1turn;
  }
}

@keyframes hero-morph {
  0%,
  100% {
    border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  }
  50% {
    border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%;
  }
}

@keyframes hero-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(90, 75, 194, 0.32),
      0 calc(18 * var(--su)) calc(30 * var(--su)) calc(-12 * var(--su)) rgba(46, 37, 128, 0.6);
  }
  70%,
  100% {
    box-shadow:
      0 0 0 calc(22 * var(--su)) rgba(90, 75, 194, 0),
      0 calc(18 * var(--su)) calc(30 * var(--su)) calc(-12 * var(--su)) rgba(46, 37, 128, 0.6);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .stage .phone,
  .stage .summary,
  .chip {
    animation: hero-float 7s ease-in-out infinite;
  }

  .stage .phone--back,
  .stage .summary {
    animation-delay: -3.5s;
  }

  .chip {
    animation-duration: 6s;
    animation-delay: -1.5s;
  }

  .chip + .chip {
    animation-duration: 8s;
    animation-delay: -5s;
  }

  .stage-ring {
    animation: hero-spin 90s linear infinite;
  }

  .stage-blob {
    animation: hero-morph 14s ease-in-out infinite;
  }

  .stage-mic {
    animation: hero-pulse 2.4s ease-out infinite;
  }
}

/* ---------- The bands under the banners ---------- */

.home-band {
  position: relative;
  padding: 88px 22px 96px;
  text-align: center;
}

.home-band > h2,
.idea h2 {
  margin: 0;
  font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* Under each title, a short line in the business's three colours. */
.home-band > h2::after,
.idea h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #1b6b3a, #0f5e7a, var(--purple));
}

.home-lead {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.45;
}

.home-band > .actions {
  padding-top: 36px;
}

/* Three of the reasons on the why-us page, each card a link to its reason there. */

.home-band--reasons {
  border-radius: 40px;
  background:
    radial-gradient(circle at 6% 18%, rgba(27, 107, 58, 0.08), transparent 26%),
    radial-gradient(circle at 96% 70%, rgba(90, 75, 194, 0.09), transparent 28%);
}

.reason-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  text-align: start;
}

@media (min-width: 760px) {
  .reason-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reason-card {
  --tint: linear-gradient(160deg, #e1f2e7, #f6fbf8);
  --accent: #1b6b3a;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 26px;
  border: 1px solid #ececf0;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 30px 60px -44px rgba(29, 26, 46, 0.55);
  transition:
    translate 0.25s ease,
    box-shadow 0.25s ease;
}

.reason-card--purple {
  --tint: linear-gradient(160deg, #e9e4fd, #f8f7ff);
  --accent: var(--purple);
}

.reason-card--blue {
  --tint: linear-gradient(160deg, #dfecfc, #f6faff);
  --accent: #0b5ea8;
}

.reason-card:hover {
  translate: 0 -6px;
  box-shadow: 0 40px 70px -40px rgba(29, 26, 46, 0.6);
}

.reason-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: 200px;
  margin-bottom: 8px;
  border-radius: 24px;
  background: var(--tint);
}

.reason-visual .art {
  transition: scale 0.35s ease;
}

.reason-card:hover .art {
  scale: 1.05;
}

.reason-card h3 {
  margin: 0;
  padding-inline: 14px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.reason-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

/* The whole card is the link. */
.reason-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
}

.reason-card h3 a:focus-visible {
  outline: none;
}

.reason-card h3 a:focus-visible::after {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.reason-card p {
  margin: 0;
  padding-inline: 14px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.reason-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 10px 14px 0;
  color: var(--accent);
  font-weight: 700;
}

.reason-card:hover .reason-more .arrow,
.app-link:hover .arrow {
  translate: 4px 0;
}

[dir="rtl"] .reason-card:hover .reason-more .arrow,
[dir="rtl"] .app-link:hover .arrow {
  translate: -4px 0;
}

/* Ariel, and a word to the visitor */

.home-band--founder {
  overflow: hidden;
  isolation: isolate;
  border-radius: 40px;
  background:
    radial-gradient(circle at 94% 6%, rgba(90, 75, 194, 0.16), transparent 34%),
    radial-gradient(circle at 6% 94%, rgba(27, 107, 58, 0.16), transparent 34%),
    radial-gradient(circle at 60% 50%, rgba(255, 209, 102, 0.14), transparent 40%),
    linear-gradient(180deg, #fdfaf3, #f4f1fd);
}

.home-band--founder::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(90, 75, 194, 0.2) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 40% 50% at 85% 50%, #000000, transparent 75%);
  mask-image: radial-gradient(ellipse 40% 50% at 85% 50%, #000000, transparent 75%);
}

[dir="ltr"] .home-band--founder::before {
  -webkit-mask-image: radial-gradient(ellipse 40% 50% at 15% 50%, #000000, transparent 75%);
  mask-image: radial-gradient(ellipse 40% 50% at 15% 50%, #000000, transparent 75%);
}

.founder-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  text-align: start;
}

@media (min-width: 820px) {
  .founder-intro {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }
}

.founder-figure {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
}

/* A shape in the business's colours behind the photo, and a few sparkles. */
.founder-figure::before {
  content: "";
  position: absolute;
  inset: -16px -20px -22px -14px;
  border-radius: 44% 56% 52% 48% / 46% 42% 58% 54%;
  background: linear-gradient(140deg, #8a7cf2 0%, #4f9bc0 52%, #5bb07c 100%);
  rotate: -5deg;
}

.founder-figure::after {
  content: "";
  position: absolute;
  top: -34px;
  inset-inline-end: -40px;
  width: 104px;
  height: 104px;
  background: url("/images/sparkles.svg") no-repeat center / contain;
}

.founder-photo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #ffffff;
  border-radius: 32px;
  box-sizing: border-box;
  background: var(--lavender);
  box-shadow: 0 36px 60px -34px rgba(29, 26, 46, 0.7);
}

.founder-words {
  position: relative;
}

.founder-quote {
  display: block;
  width: 56px;
  height: 46px;
  margin-bottom: 10px;
}

.founder-words h2 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.founder-words p {
  margin: 0 0 14px;
  color: #424245;
  font-size: 1.1875rem;
  line-height: 1.6;
}

.founder-words .founder-sign {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 700;
}

.founder-sign::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1b6b3a, var(--purple));
}

.founder-words .actions {
  justify-content: flex-start;
  padding-top: 12px;
}

/* The apps: a tile each, in its colours, with a look inside. */

.app-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 48px auto 0;
}

@media (min-width: 860px) {
  .app-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.app-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  isolation: isolate;
  padding: 36px;
  border-radius: 36px;
  color: #ffffff;
  text-align: start;
  text-decoration: none;
  transition:
    translate 0.25s ease,
    box-shadow 0.25s ease;
}

.app-link:hover {
  text-decoration: none;
  translate: 0 -6px;
  box-shadow: 0 40px 60px -36px rgba(29, 26, 46, 0.7);
}

.app-link:focus-visible {
  border-radius: 36px;
}

/* Two soft circles of light in each tile. */
.app-link::before,
.app-link::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.app-link::before {
  top: -90px;
  inset-inline-end: -70px;
  width: 280px;
  height: 280px;
}

.app-link::after {
  bottom: -110px;
  inset-inline-start: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.07);
}

.app-link--viyomi {
  --accent: #1b6b3a;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 209, 102, 0.4), transparent 38%),
    linear-gradient(150deg, #0f4d29 0%, #1b6b3a 48%, #2f8f57 100%);
}

.app-link--sikumit {
  --accent: #4a3cb0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 143, 177, 0.42), transparent 38%),
    linear-gradient(150deg, #2e2580 0%, #5a4bc2 50%, #7b6cf0 100%);
}

/* Vitrina (23.11.2026), on the Hebrew home page only, as its page is in Hebrew alone for now: its terracotta,
   dark enough that the line under the name is 4.78:1 even under the circles of light, and the whole row where
   the other two share one. */
.app-link--vitrina {
  --accent: #a63f1a;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 209, 102, 0.36), transparent 38%),
    linear-gradient(150deg, #5e230d 0%, #8a3412 50%, #9e4019 100%);
}

@media (min-width: 860px) {
  .app-link--vitrina {
    grid-column: 1 / -1;
  }
}

.app-link-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.app-link-mark {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.25));
}

.app-link-name {
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.app-link-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  line-height: 1.4;
}

.app-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 16px;
  padding: 0 22px;
  border-radius: 980px;
  background: #ffffff;
  color: var(--accent);
  font-size: 1.0625rem;
  font-weight: 700;
}

.app-link-art {
  display: block;
  width: 150px;
}

.app-link-art .phone {
  --u: 0.5px;
  display: block;
  rotate: -6deg;
  box-shadow:
    0 0 0 calc(1.5 * var(--u)) #3a3a3c,
    0 24px 40px -20px rgba(0, 0, 0, 0.6);
}

[dir="ltr"] .app-link-art .phone {
  rotate: 6deg;
}

.app-link-art .art {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(20, 12, 70, 0.35));
}

@media (max-width: 520px) {
  .app-link {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 26px;
  }

  .app-link-art {
    justify-self: center;
    width: 140px;
    margin-top: 6px;
  }
}

/* "יש לכם רעיון?": the business's blue into Sikumit's purple, with a light bulb and what it might light up. */

.idea {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 22px 96px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 209, 102, 0.28), transparent 28%),
    radial-gradient(circle at 88% 86%, rgba(255, 143, 177, 0.32), transparent 32%),
    linear-gradient(135deg, #0f5e7a 0%, #3c4fb3 55%, var(--purple) 100%);
  color: #ffffff;
  text-align: center;
}

.idea::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 40%, #000000, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 40%, #000000, transparent 75%);
}

.idea::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -140px;
  inset-inline-end: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.idea h2 {
  color: #ffffff;
}

.idea h2::after {
  background: linear-gradient(90deg, var(--sun), #ffffff, var(--rose));
}

.idea p {
  max-width: 560px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.1875rem;
  line-height: 1.45;
}

.idea .actions {
  padding-top: 28px;
}

.idea a:focus-visible {
  outline-color: #ffffff;
}

.idea-art {
  display: block;
  width: 240px;
  max-width: 80%;
  height: auto;
  margin: 0 auto 6px;
}

/* ---------- Coming up as they scroll into view (a4e-rise is in style.css, and so is the illustrations' motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reason-card,
    .app-link,
    .founder-intro {
      animation: a4e-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reason-card,
  .app-link,
  .reason-visual .art {
    transition: none;
  }

  .reason-card:hover,
  .app-link:hover {
    translate: none;
  }

  .reason-card:hover .art {
    scale: none;
  }
}

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

@media (max-width: 640px) {
  .home {
    gap: 10px;
    padding: 8px;
  }

  .banners,
  .banner-stack > .showcase,
  .home-band--founder,
  .idea {
    border-radius: 28px;
  }

  .showcase {
    padding: 36px 20px 88px;
  }

  .showcase-head {
    gap: 12px;
  }

  .showcase-name {
    font-size: 1.1875rem;
  }

  .showcase-name svg {
    width: 34px;
    height: 34px;
  }

  .caption {
    font-size: 1rem;
  }

  .showcase-points {
    display: none;
  }

  .home-band {
    padding: 64px 16px 72px;
  }

  .founder-figure {
    width: min(78%, 280px);
  }

  .reason-visual {
    height: 180px;
  }
}
