/*
 * RUSH website.
 * Same identity as the app (rush_app lib/app/theme/app_palette.dart): one
 * deep navy ground for the whole page, the brand blue as light behind what
 * matters, cyan for state and orange only for what to act on. Light things —
 * app screens, the ticket, the board, the form — sit on the navy as objects.
 * Arabic is set in Almarai, English in Sora.
 */

:root {
  --paper: #ede8e0;
  --paper-raised: #fbf9f5;
  --ink: #1b1714;
  --ink-2: #585049;
  --ink-3: #8b8279;
  --line: rgba(53, 43, 29, 0.12);
  --cyan: #00788e;
  --orange: #d8560b;

  /* The brand field and what sits on it (the app's OnMedia tones). */
  --navy-0: #06223a;
  --navy-1: #0166a0;
  --navy-deep: #041a2c;
  --cream: #f2eee2;
  --cream-2: #c3cbd2;
  --brand-cyan: #00b8d4;
  --brand-orange: #fd762f;

  --font: "Almarai", system-ui, sans-serif;
  --font-latin: "Sora", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--cream);
  /* The glows behind phones and the ticket spill past the edges; clip, not
     hidden, so the tour's phone can still stick. */
  overflow-x: clip;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: var(--font-latin);
  line-height: 1.6;
}

/* Hidden means hidden, whatever display a component sets. */
[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--paper-raised);
  color: var(--ink);
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- header */

.top {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  color: var(--cream);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  /* The lockup reads left to right in both languages. */
  direction: ltr;
}

.brand-mark {
  width: 44px;
}

.brand-word {
  width: 92px;
}

.top-nav {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
  font-size: 15px;
  font-weight: 700;
}

.top-nav a {
  color: var(--cream-2);
  text-decoration: none;
  transition: color 0.15s;
}

.top-nav a:hover {
  color: var(--cream);
}

.lang {
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(242, 238, 226, 0.28);
  border-radius: 8px;
  background: transparent;
  color: var(--cream);
  font: 600 13px/1 var(--font-latin);
  cursor: pointer;
}

.lang:lang(ar) {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
}

.lang:hover {
  border-color: rgba(242, 238, 226, 0.6);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
  /* The brand blue glows behind the phones and settles back to deep navy at
     the bottom, the exact ground of the Activities band, so the two read as
     one field with no seam. */
  background:
    linear-gradient(180deg, rgba(4, 26, 44, 0) 80%, var(--navy-deep) 100%),
    radial-gradient(60% 42% at 50% 58%, rgba(1, 102, 160, 0.6), rgba(1, 102, 160, 0) 100%),
    linear-gradient(180deg, var(--navy-0) 0%, var(--navy-deep) 100%);
}

.hero-copy {
  max-width: 900px;
  padding-top: clamp(112px, 13vh, 140px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-2);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(0, 184, 212, 0.18);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 800;
  line-height: 1.15;
}

.hero-play {
  color: var(--brand-orange);
}

html[lang="en"] .hero-title {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero-lead {
  max-width: 36em;
  margin: 26px auto 0;
  color: var(--cream-2);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.8;
}

html[lang="en"] .hero-lead {
  line-height: 1.65;
}

.stores {
  margin-top: 36px;
}

.stores-label {
  display: block;
  margin-bottom: 12px;
  color: var(--cream-2);
  font-size: 14px;
}

.stores-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  direction: ltr;
}

.stores-row img {
  width: auto;
  height: 46px;
}

/* Three real app screens rising out of the bottom edge: Home in front. */
.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 40px);
  height: clamp(300px, 34vw, 430px);
  margin-top: 64px;
  direction: ltr;
  /* The screens dissolve into the field instead of being cut by an edge. */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.phone {
  padding: 8px;
  border-radius: 44px;
  background: #0b0f14;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.55);
}

.phone img {
  width: 100%;
  border-radius: 36px;
}

.hero-phones .phone {
  flex: none;
}

.phone-main {
  width: clamp(230px, 24vw, 300px);
}

.phone-side {
  width: clamp(200px, 20vw, 250px);
  margin-top: 72px;
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-phones .phone {
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero-phones .phone-side {
    animation-delay: 0.12s;
  }

  @keyframes rise {
    from {
      transform: translateY(90px);
      opacity: 0;
    }
  }
}

/* -------------------------------------------------------------- sections */

.section-head {
  max-width: 760px;
}

.section-title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.3;
}

html[lang="en"] .section-title {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-lead {
  margin-top: 16px;
  color: var(--cream-2);
  font-size: 18px;
}

/* ------------------------------------------------------------ activities */

/* A deep navy band under the hero: one step darker, so the two read apart. */
/* Continues the hero's field, centred like the hero. */
.play {
  padding-block: clamp(40px, 5vw, 64px) clamp(80px, 10vw, 120px);
  background: var(--navy-deep);
  color: var(--cream);
  text-align: center;
  /* Overlap the hero by a pixel so no subpixel seam shows between them. */
  position: relative;
  margin-top: -1px;
}

.play .section-head {
  margin-inline: auto;
}

.play .section-lead {
  max-width: 36em;
  margin-inline: auto;
  color: var(--cream-2);
}

/*
 * The eight activities sit on an orbit around the RUSH mark, four courts on
 * one side and four rooms on the other. When the section comes into view
 * they burst out of the mark to their places and stay there — the same
 * gesture as the app's Discover chips. Positions come from the angle each
 * item is given (--a) on an ellipse of --rx by --ry.
 */
.orbit {
  --rx: 400px;
  --ry: 230px;
  --disc: 104px;
  --hub: 168px;
  position: relative;
  height: calc(var(--ry) * 2 + var(--disc) + 90px);
  margin-top: 40px;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--rx) * 2);
  height: calc(var(--ry) * 2);
  border: 1px dashed rgba(242, 238, 226, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* A second, tighter ring gives the field some depth. */
.orbit-ring::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(242, 238, 226, 0.06);
  border-radius: 50%;
}

.orbit-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--hub);
  height: var(--hub);
  border-radius: 50%;
  background: var(--cream);
  box-shadow:
    0 0 0 12px rgba(242, 238, 226, 0.06),
    0 0 0 26px rgba(242, 238, 226, 0.03),
    0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
}

.orbit-hub img {
  width: 54%;
}

.acts {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acts li {
  --a: calc(-67.5deg + var(--i, 0) * 45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 168px;
  text-align: center;
  transform: translate(
    calc(-50% + cos(var(--a)) * var(--rx)),
    calc(var(--disc) / -2 + sin(var(--a)) * var(--ry))
  );
}

.acts .ic {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--disc);
  height: var(--disc);
  margin-inline: auto;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.7);
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s;
}

.acts img {
  width: 58%;
}

.acts h3 {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

html[lang="en"] .acts h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.acts p {
  margin-top: 2px;
  color: #9fb8c4;
  font-size: 13px;
  line-height: 1.5;
}

@media (hover: hover) {
  .acts li:hover .ic {
    transform: scale(1.1) rotate(-8deg);
    box-shadow:
      0 0 0 8px rgba(253, 118, 47, 0.18),
      0 16px 34px -16px rgba(0, 0, 0, 0.7);
  }

  .acts li:nth-child(even):hover .ic {
    box-shadow:
      0 0 0 8px rgba(0, 184, 212, 0.2),
      0 16px 34px -16px rgba(0, 0, 0, 0.7);
  }
}

/* Entrance: script.js marks .orbit .is-in when it scrolls into view. The
   hub pops first, the rings open, then each activity flies out of the hub
   to its place. Without script, or with reduced motion, all is in place. */
@media (prefers-reduced-motion: no-preference) {
  .js .orbit:not(.is-in) :is(.orbit-hub, .orbit-ring, .acts li) {
    opacity: 0;
  }

  .orbit.is-in .orbit-hub {
    animation: hub-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }

  .orbit.is-in .orbit-ring {
    animation: ring-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s backwards;
  }

  .orbit.is-in .acts li {
    animation: burst 0.9s cubic-bezier(0.22, 1.2, 0.36, 1) backwards;
    animation-delay: calc(0.35s + var(--i, 0) * 60ms);
  }

  @keyframes hub-in {
    from {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.5);
    }
  }

  @keyframes ring-in {
    from {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.4);
    }
  }

  /* From the hub's centre, small, out to the item's own transform. */
  @keyframes burst {
    from {
      opacity: 0;
      transform: translate(-50%, calc(var(--disc) / -2)) scale(0.3);
    }
  }
}

/* --------------------------------------------------------------- booking */

/*
 * Three taps. The three real screens stand side by side, the middle one a
 * step lower, each marked where you'd tap. When the section comes into view
 * the phones rise, then a dotted path draws itself from tap to tap, each
 * tap ripples as the path reaches it, and the booking is confirmed on the
 * last screen. Everything then stays put.
 */
.how {
  padding-block: clamp(96px, 11vw, 140px) clamp(64px, 8vw, 104px);
  overflow-x: clip;
  text-align: center;
}

.how .section-head,
.how .section-lead {
  margin-inline: auto;
}

.taps {
  position: relative;
  max-width: 1040px;
  margin: 72px auto 0;
}

/* Brand blue light under the three, the only colour behind them. */
.taps::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  z-index: -1;
  width: 120%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(1, 102, 160, 0.42), rgba(1, 102, 160, 0));
  transform: translateX(-50%);
}

.taps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tap {
  text-align: start;
}

.tap:nth-child(2) {
  margin-top: 88px;
}

.tap .phone {
  position: relative;
  width: min(100%, 272px);
  margin-inline: auto;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75);
}

.tap-screen {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
}

.tap-screen img {
  border-radius: 0;
}

/* The tap: a soft ring with a bright centre, placed on the screen itself
   (the app's own layout reads left to right in both languages). */
.tap-dot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 5px, rgba(253, 118, 47, 0.95) 6px 9px, rgba(253, 118, 47, 0.28) 10px);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.tap-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--brand-orange);
  border-radius: 50%;
  opacity: 0;
}

/* The path between the taps. */
.taps-path {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.taps-line {
  fill: none;
  stroke: var(--brand-orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0 11;
}

.taps-draw {
  fill: none;
  stroke: #fff;
  stroke-width: 12;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

/* The confirmation at the end of the path. */
.tap-done {
  position: absolute;
  inset-inline: -8% auto;
  bottom: 14%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

html[dir="rtl"] .tap-done {
  inset-inline: auto -8%;
}

.tap-done svg {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--cyan);
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tap-done b {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.tap-done small {
  color: var(--ink-3);
  font-size: 12px;
}

.tap-text {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 14px;
  max-width: 300px;
  margin: 32px auto 0;
}

.tap-text > :not(.mark) {
  grid-column: 2;
}

.tap-text .mark {
  margin-top: 4px;
}

.tap-text h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}

html[lang="en"] .tap-text h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tap-text p {
  margin-top: 6px;
  color: var(--cream-2);
  font-size: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .js .taps:not(.is-in) :is(.tap .phone, .tap-text, .tap-dot, .tap-done) {
    opacity: 0;
  }

  .js .taps:not(.is-in) .taps-draw {
    stroke-dashoffset: 1;
  }

  .taps.is-in .tap .phone,
  .taps.is-in .tap-text {
    animation: note-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: calc(var(--n) * 150ms);
  }

  /* The path takes 2s; taps land at its start, middle and end. */
  .taps.is-in .taps-draw {
    animation: path-draw 2s cubic-bezier(0.45, 0, 0.25, 1) 1s backwards;
  }

  .taps.is-in .tap-dot {
    animation: dot-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    animation-delay: calc(0.9s + var(--n) * 1s);
  }

  .taps.is-in .tap-dot::after {
    animation: ripple 1s ease-out;
    animation-delay: calc(1.1s + var(--n) * 1s);
  }

  .taps.is-in .tap-done {
    animation: toast-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 3.3s backwards;
  }

  @keyframes path-draw {
    from {
      stroke-dashoffset: 1;
    }
  }

  @keyframes dot-in {
    from {
      opacity: 0;
      transform: scale(0.2);
    }
  }

  @keyframes ripple {
    from {
      opacity: 0.9;
      transform: scale(1);
    }

    to {
      opacity: 0;
      transform: scale(2.6);
    }
  }
}

/* ---------------------------------------------------------- no surprises */

/*
 * One evening at one court, hour by hour. Booked hours are struck through
 * and dim; free ones are lit. When the section comes into view the hours
 * rise, a tap lands on a free one and it becomes yours, and the visitor
 * can then pick any other free hour. The four promises underneath carry
 * the numbered marks used across the page.
 */
.sure {
  position: relative;
  padding-block: clamp(96px, 11vw, 140px);
  overflow-x: clip;
  text-align: center;
}

.sure .section-head,
.sure .section-lead {
  margin-inline: auto;
}

.mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font: 600 13px/1 var(--font-latin);
}

.day {
  position: relative;
  max-width: 1000px;
  margin: 64px auto 0;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(242, 238, 226, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(1, 102, 160, 0.4), rgba(1, 102, 160, 0) 100%),
    rgba(255, 255, 255, 0.025);
}

.day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: start;
}

.day-place {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticket-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
}

.ticket-ic img {
  width: 62%;
}

.day-place b {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.day-place small {
  color: #9fb8c4;
  font-size: 14px;
}

.day-date {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--cyan);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* The hours: tall columns side by side, read in the page's direction. */
.hours {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 12px);
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hour {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: clamp(150px, 18vw, 200px);
  padding: 16px 4px 14px;
  border: 1.5px solid rgba(0, 184, 212, 0.45);
  border-radius: 18px;
  background: rgba(0, 184, 212, 0.08);
  color: var(--cream);
  font: inherit;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.4s;
}

.hour:hover:not(:disabled) {
  border-color: var(--brand-cyan);
  background: rgba(0, 184, 212, 0.16);
}

.hour-at {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 800;
  white-space: nowrap;
}

.hour-state {
  color: #7fe3f2;
  font-size: 13px;
  font-weight: 700;
}

.hour.is-booked {
  border-color: rgba(242, 238, 226, 0.06);
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 0 6px, transparent 6px 12px);
  color: rgba(242, 238, 226, 0.35);
  cursor: not-allowed;
}

.hour.is-booked .hour-state {
  color: rgba(242, 238, 226, 0.35);
}

.hour.is-booked .hour-at {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

/* Picked: the hour turns orange and lifts. */
.hour.is-picked {
  border-color: var(--brand-orange);
  background: linear-gradient(180deg, var(--brand-orange), var(--orange));
  box-shadow: 0 24px 48px -18px rgba(253, 118, 47, 0.75);
  transform: translateY(-10px) scale(1.04);
}

.hour.is-picked .hour-state {
  color: #fff;
}

/* The tap that lands on the hour. */
.hour::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.hour.is-tapped::after {
  animation: ripple 0.9s ease-out;
}

.day-done {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin: 28px auto 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-align: start;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.75);
}

.day-done svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: var(--cyan);
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.day-done-text {
  flex: 1;
  min-width: 0;
}

.day-done b {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.day-done small {
  color: var(--ink-3);
  font-size: 13px;
}

.day-price {
  text-align: end;
}

/* Before any hour is picked the confirmation waits, out of sight. */
.day:not(.has-pick) .day-done {
  visibility: hidden;
}

.day.has-pick .day-done.is-fresh {
  animation: note-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.day-hint {
  margin-top: 16px;
  color: #7f97a6;
  font-size: 13px;
}

/* The four promises. */
.promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  max-width: 1000px;
  margin: 64px auto 0;
  padding: 0;
  list-style: none;
  text-align: start;
}

.promises h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

html[lang="en"] .promises h3 {
  font-weight: 700;
  letter-spacing: -0.015em;
}

.promises p {
  margin-top: 6px;
  color: var(--cream-2);
  font-size: 15px;
}

.sure-note {
  margin-top: 48px;
  color: #7f97a6;
  font-size: 13px;
}

@keyframes note-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes ripple {
  from {
    opacity: 0.9;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(2.6);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .day:not(.is-in) .hour,
  .js .promises:not(.is-in) li {
    opacity: 0;
  }

  /* The hours rise one after another, in reading order. */
  .day.is-in .hour {
    animation: hour-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: calc(var(--i) * 70ms);
  }

  .promises.is-in li {
    animation: note-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: calc(var(--n) * 120ms);
  }

  @keyframes hour-in {
    from {
      opacity: 0;
      transform: translateY(40px) scaleY(0.7);
    }
  }
}

/* ---------------------------------------------------------------- owners */

/*
 * The pitch to venue owners, laid out like the rest of the page: a centred
 * head, then the dashboard as the showpiece with what it gives you floating
 * on it, then the four promises in one even row, then the sign-up.
 */
.owners {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 11vw, 140px);
  border-top: 1px solid rgba(242, 238, 226, 0.08);
  background: radial-gradient(55% 40% at 50% 42%, rgba(1, 102, 160, 0.42), rgba(1, 102, 160, 0) 100%);
  text-align: center;
}

.owners-head,
.owners .section-lead {
  margin-inline: auto;
}

.owners .section-lead {
  max-width: 38em;
}

.eyebrow {
  color: var(--brand-cyan);
  font-size: 15px;
  font-weight: 700;
}

.owners .section-title {
  margin-top: 14px;
}

.owners-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  max-width: 1040px;
  margin: 104px auto 0;
  padding: 0;
  list-style: none;
  text-align: start;
}

.owners-points li {
  padding-top: 24px;
  border-top: 1px solid rgba(242, 238, 226, 0.12);
}

.owners-points svg {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 184, 212, 0.1);
  fill: none;
  stroke: var(--brand-cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owners-points b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

html[lang="en"] .owners-points b {
  font-weight: 600;
}

.owners-points b + span {
  display: block;
  margin-top: 6px;
  color: var(--cream-2);
  font-size: 15px;
}

/* What the dashboard gives you, floating on its edges. */
.board-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: start;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}

.board-chip b {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.board-chip small {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
}

.chip-income {
  top: -58px;
  inset-inline-start: -44px;
}

.chip-income svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: rgba(0, 120, 142, 0.12);
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
}

.chip-customer {
  top: 42%;
  inset-inline-end: -64px;
}

.chip-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-0);
  color: var(--cream);
  font-size: 15px;
  font-weight: 800;
}

/* The day board, drawn: courts down the side, hours across. */
.board {
  position: relative;
  max-width: 780px;
  margin: 72px auto 0;
  text-align: start;
}

.board-frame {
  position: relative;
  padding: 20px;
  border-radius: 22px;
  background: var(--paper-raised);
  color: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75);
}

.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.board-day {
  font-size: 15px;
}

.board-day span {
  color: var(--ink-3);
}

.board-legend {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 12px;
}

.board-legend li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 6px;
  border-radius: 2px;
  background: var(--k);
}

.board-grid {
  display: grid;
  grid-template-columns: 64px repeat(8, minmax(0, 1fr));
  grid-template-rows: 24px repeat(3, 46px);
  gap: 6px 4px;
}

.board-hour {
  grid-row: 1;
  grid-column: calc(var(--c) + 1);
  color: var(--ink-3);
  font: 500 11px/24px var(--font-latin);
  text-align: start;
}

.board-unit {
  grid-row: var(--r);
  grid-column: 1;
  align-self: center;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.k-confirmed {
  --k: #00788e;
  --k-bg: rgba(0, 120, 142, 0.12);
}

.k-pending {
  --k: #a87400;
  --k-bg: rgba(253, 177, 30, 0.18);
}

.k-counter {
  --k: #0166a0;
  --k-bg: rgba(1, 102, 160, 0.1);
}

.slot {
  grid-row: var(--r);
  grid-column: calc(var(--c) + 1) / span var(--s);
  display: flex;
  align-items: center;
  min-width: 0;
  padding-inline: 8px;
  overflow: hidden;
  border-inline-start: 3px solid var(--k);
  border-radius: 6px;
  background: var(--k-bg);
  color: var(--k);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.slot.is-new {
  --k: var(--orange);
  border: 1.5px solid var(--orange);
  background: rgba(216, 86, 11, 0.1);
}

.board-toast {
  position: absolute;
  inset-inline-start: -18px;
  bottom: -56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--navy-0);
  color: var(--cream);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}

.board-bell {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
}

.board-bell svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.board-toast b {
  display: block;
  font-size: 14px;
}

.board-toast small {
  color: var(--cream-2);
  font-size: 12px;
}

.board figcaption {
  margin-top: 64px;
  text-align: center;
  color: #7f97a6;
  font-size: 13px;
}

@media (prefers-reduced-motion: no-preference) {
  .js .board:not(.is-in) :is(.board-frame, .slot, .board-toast, .board-chip) {
    opacity: 0;
  }

  .board.is-in .board-frame {
    animation: note-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  }

  /* Bookings land on the board one by one; the new one last, with a ping. */
  .board.is-in .slot {
    animation: slot-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: calc(0.4s + var(--j, 0) * 90ms);
  }

  .board.is-in .board-toast {
    animation: toast-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s backwards;
  }

  .board.is-in .chip-income {
    animation: toast-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s backwards;
  }

  .board.is-in .chip-customer {
    animation: toast-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s backwards;
  }

  @keyframes slot-in {
    from {
      opacity: 0;
      transform: scaleX(0.4);
    }
  }

  @keyframes toast-in {
    from {
      opacity: 0;
      transform: translateY(16px) scale(0.92);
    }
  }
}

/* The sign-up: one wide card, the ask on one side and the fields on the
   other. */
.lead-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(72px, 9vw, 112px);
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px;
  background: var(--paper-raised);
  color: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75);
}

.lead-title {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

html[lang="en"] .lead-title {
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lead-sub {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16px;
}

#lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 16px 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(53, 43, 29, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.field input::placeholder {
  color: #b3aaa0;
}

.field select {
  appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8279' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: left 14px center;
}

html[dir="ltr"] .field select {
  background-position: right 14px center;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 120, 142, 0.16);
}

.field input[aria-invalid="true"] {
  border-color: #b3261e;
}

/* Errors sit under their field without pushing the row's other field. */
.field {
  position: relative;
}

.error {
  margin-top: 6px;
  color: #b3261e;
  font-size: 13px;
}

.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.15s,
    transform 0.15s;
}

.submit:hover {
  background: #c24c08;
}

.submit:active {
  transform: scale(0.99);
}

.submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The arrow points the way the page reads. */
html[dir="rtl"] .submit svg {
  transform: scaleX(-1);
}

.form-error {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.lead-done {
  align-self: center;
  padding: 24px 8px;
  text-align: center;
}

.lead-done svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  padding: 16px;
  border-radius: 50%;
  background: rgba(0, 120, 142, 0.12);
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lead-done h3 {
  font-size: 24px;
  font-weight: 800;
}

.lead-done p {
  margin-top: 6px;
  color: var(--ink-2);
}

@media (prefers-reduced-motion: no-preference) {
  .js .lead-card:not(.is-in) {
    opacity: 0;
  }

  .lead-card.is-in {
    animation: note-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  }
}

/* ------------------------------------------------------------------- faq */

/* Questions on one side, the heading (and where to write) held beside them. */
.faq {
  padding-block: clamp(96px, 11vw, 140px);
  border-top: 1px solid rgba(242, 238, 226, 0.08);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 96px;
}

.faq-mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--cream-2);
}

.faq-mail a {
  color: var(--brand-cyan);
  font: 600 16px/1.4 var(--font-latin);
  text-decoration: none;
}

.faq-mail a:hover {
  text-decoration: underline;
}

.faq-list details {
  border-bottom: 1px solid rgba(242, 238, 226, 0.12);
}

.faq-list details:first-child {
  border-top: 1px solid rgba(242, 238, 226, 0.12);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

html[lang="en"] .faq-list summary {
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

/* A plus that turns into a cross when the answer is open. */
.faq-list summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(var(--brand-orange), var(--brand-orange)) center / 12px 2px no-repeat,
    linear-gradient(var(--brand-orange), var(--brand-orange)) center / 2px 12px no-repeat,
    rgba(253, 118, 47, 0.12);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.faq-list summary:hover {
  color: #fff;
}

.faq-list details p {
  max-width: 36em;
  padding-bottom: 24px;
  color: var(--cream-2);
  font-size: 17px;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] p {
    animation: note-in 0.35s ease;
  }
}

/* ------------------------------------------------------------------- cta */

/* The last word before the footer: the brand field again, as at the top. */
.cta {
  padding-block: 0 clamp(80px, 10vw, 120px);
}

.cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(0, 184, 212, 0.25), rgba(0, 184, 212, 0) 100%),
    linear-gradient(170deg, var(--navy-0) 0%, var(--navy-1) 100%);
  text-align: center;
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.8);
}

.cta-mark {
  width: 64px;
  margin: 0 auto 28px;
}

.cta-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.15;
}

html[lang="en"] .cta-title {
  font-weight: 700;
  letter-spacing: -0.035em;
}

.cta-lead {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--cream-2);
  font-size: clamp(17px, 1.6vw, 19px);
}

/* The launch date, the one thing to remember. */
.cta-date {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 10px 22px;
  border: 1px solid rgba(253, 118, 47, 0.45);
  border-radius: 999px;
  background: rgba(253, 118, 47, 0.14);
}

.cta-date span {
  color: var(--cream-2);
  font-size: 15px;
  font-weight: 700;
}

.cta-date b {
  color: var(--brand-orange);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
}

.cta-stores {
  margin-top: 32px;
}

@media (prefers-reduced-motion: no-preference) {
  .js .cta-inner:not(.is-in) {
    opacity: 0;
  }

  .cta-inner.is-in {
    animation: note-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  }
}

/* ---------------------------------------------------------------- footer */

.foot {
  padding: 56px 0 28px;
  background: var(--navy-deep);
  color: var(--cream);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(242, 238, 226, 0.1);
}

.foot-brand img {
  width: 104px;
}

.foot-line {
  font-size: 24px;
  font-weight: 800;
}

html[lang="en"] .foot-line {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-inline-start: auto;
  font-size: 15px;
}

.foot-nav a {
  color: var(--cream-2);
  text-decoration: none;
  transition: color 0.15s;
}

.foot-nav a:hover {
  color: var(--cream);
}

.foot-small {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  color: #7f97a6;
  font-size: 13px;
}

/* ----------------------------------------------------------------- legal */

/* The privacy and terms pages: the same ground, set for long reading. */
.legal-page {
  font-family: var(--font-latin);
  background:
    radial-gradient(60% 420px at 50% 0, rgba(1, 102, 160, 0.35), rgba(1, 102, 160, 0) 100%),
    var(--navy-deep);
}

.legal-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 84px;
}

.legal-back {
  color: var(--cream-2);
  font: 700 15px/1 var(--font);
  text-decoration: none;
}

.legal-back:hover {
  color: var(--cream);
}

.legal {
  max-width: 760px;
  padding-block: clamp(40px, 7vw, 88px) clamp(72px, 10vw, 120px);
}

.legal-kicker {
  color: var(--brand-cyan);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.legal h1 {
  margin-top: 10px;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.legal-updated {
  margin-top: 14px;
  color: #9fb8c4;
  font-size: 15px;
}

.legal-ar {
  margin-top: 6px;
  color: #7f97a6;
  font-family: var(--font);
  font-size: 14px;
  /* Arabic, but lined up with the English column it sits in. */
  text-align: left;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(242, 238, 226, 0.12);
}

.legal-toc a {
  padding: 7px 14px;
  border: 1px solid rgba(242, 238, 226, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream-2);
  font-size: 14px;
  text-decoration: none;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.legal-toc a:hover {
  border-color: var(--brand-cyan);
  color: var(--cream);
}

.legal section {
  padding-block: 32px;
  border-bottom: 1px solid rgba(242, 238, 226, 0.08);
  scroll-margin-top: 24px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal section p {
  margin-top: 12px;
  color: var(--cream-2);
  font-size: 17px;
  line-height: 1.75;
}

.legal a:not(.legal-toc a) {
  color: var(--brand-cyan);
}

/* The way to reach us stands out from the rest. */
.legal-contact {
  margin-top: 32px;
  padding: 28px !important;
  border: 1px solid rgba(0, 184, 212, 0.25) !important;
  border-radius: 20px;
  background: rgba(0, 184, 212, 0.06);
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: #9fb8c4;
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--cream);
}

/* ---------------------------------------------------------------- narrow */

@media (max-width: 900px) {
  .top-nav {
    display: none;
  }

  .lang {
    margin-inline-start: auto;
  }

  .hero-copy {
    padding-top: 124px;
  }

  .hero-phones {
    height: 360px;
    margin-top: 48px;
  }

  .phone-main {
    width: 240px;
  }

  .phone-side {
    width: 210px;
  }

  /* A tall, narrow orbit: two columns of four either side of the mark. */
  .orbit {
    --rx: min(130px, 34vw);
    --ry: 200px;
    --disc: 64px;
    --hub: 104px;
    height: calc(var(--ry) * 2 + var(--disc) + 70px);
    margin-top: 24px;
  }

  .orbit-hub {
    box-shadow:
      0 0 0 8px rgba(242, 238, 226, 0.06),
      0 0 0 16px rgba(242, 238, 226, 0.03),
      0 20px 40px -16px rgba(0, 0, 0, 0.6);
  }

  .acts li {
    width: 104px;
  }

  .acts h3 {
    margin-top: 8px;
    font-size: 14px;
  }

  html[lang="en"] .acts h3 {
    font-size: 13px;
  }

  .acts p {
    display: none;
  }

  .day-head {
    flex-wrap: wrap;
  }

  .promises {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .owners-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 88px;
  }

  .chip-income {
    inset-inline-start: 12px;
  }

  .chip-customer {
    inset-inline-end: -8px;
  }

  .lead-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-head {
    position: static;
  }

  .foot-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot-nav {
    margin-inline-start: 0;
  }

  /* The three stand in a column. The path would cross the text there,
     so each screen keeps just its tap. */
  .taps {
    margin-top: 48px;
  }

  .taps-path {
    display: none;
  }

  .taps-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .tap:nth-child(2) {
    margin-top: 0;
  }

  .tap .phone {
    width: 240px;
  }

  .tap-done {
    inset-inline: auto -24px;
  }

  html[dir="rtl"] .tap-done {
    inset-inline: -24px auto;
  }

  .tap-text {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: 44px;
  }

  .stores-row img {
    height: 42px;
  }

  #lead-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .owners-points {
    grid-template-columns: minmax(0, 1fr);
  }

  /* No room beside the board on a phone; the income card is enough. */
  .chip-customer {
    display: none;
  }

  /* Eight hours in two rows of four on small phones. */
  .hours {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 12px;
  }

  .hour {
    height: 108px;
  }

  .day-done {
    flex-wrap: wrap;
  }

  .promises {
    grid-template-columns: minmax(0, 1fr);
  }

  .board-toast {
    inset-inline-start: 12px;
  }

  .board-grid {
    grid-template-columns: 52px repeat(8, minmax(0, 1fr));
  }

  .slot {
    padding-inline: 4px;
    font-size: 10px;
  }

  /* One phone on small screens; the side screens would be slivers. */
  .phone-side {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
