/* The Bold splash, shared by Bold (c) and Third (d) so the two are
   identical. Every rule is scoped to .hero-b: Third sits on Night's
   stylesheet, whose .hero, .store and .sub rules would otherwise leak in.
   Type comes from --hero-font (Bold's picker, or Manrope on Third). */

.hero-b { --pw: 520px; --stage-w: 560px; position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(28px, 5vw, 56px); font-family: var(--hero-font, inherit); }
.hero-b .sweep { position: absolute; z-index: -1; right: -10%; top: 12%; width: 70%; aspect-ratio: 1.4; border-radius: 50%;
  background: conic-gradient(from 200deg at 50% 50%, #DA1B2B, #FF7A45, #FFD1C2, #DA1B2B, #5E0710, #DA1B2B); filter: blur(90px); opacity: .4; animation: spin 26s linear infinite; }
[data-theme="light"] .hero-b .sweep { opacity: .3; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-b .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) var(--stage-w); grid-template-areas: "mega stage" "copy stage"; column-gap: 32px; min-height: clamp(640px, 58vw, 800px); }
.hero-b .hero-row { display: contents; }
.hero-b .mega { grid-area: mega; align-self: end; margin: 0; max-width: none; color: var(--text); font-weight: 600; font-size: clamp(48px, 8.6vw, 128px); line-height: 1.0; letter-spacing: var(--track, -0.045em); }
.hero-b .mega .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-b .mega .line > span { display: inline-block; white-space: nowrap; }   /* one line each; fitMega sizes it */
.hero-b .accent { color: var(--red); }
[data-theme="dark"] .hero-b .accent { color: var(--red-hot); }
.hero-b .hero-copy { grid-area: copy; align-self: start; padding: 28px 0 64px; position: relative; z-index: 2; }
.hero-b .sub { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); max-width: 27em; margin: 0; }

/* Store buttons, 30% larger than the rest of the site's. */
.hero-b .stores { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-b .store { display: inline-flex; align-items: center; gap: 13px; height: 70px; padding: 0 26px 0 21px; border-radius: 16px; background: var(--text); color: var(--bg); box-shadow: none; text-decoration: none; transition: transform .15s ease; }
.hero-b .store:hover { transform: translateY(-2px); }
.hero-b .store svg { width: 31px; height: 31px; flex: none; }
.hero-b .store small { display: block; font-size: 13.5px; line-height: 1.1; opacity: .7; }
.hero-b .store b { display: block; font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.hero-b .drive-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.hero-b .drive-link svg { width: 16px; height: 16px; color: var(--red); transition: transform .2s; }
.hero-b .drive-link:hover svg { transform: translateX(4px); }

/* The phone: a fixed lean, a slow drift of a few pixels, and it rises a
   little as the hero scrolls away. It does not follow the pointer. */
.hero-b .stage { grid-area: stage; position: relative; perspective: 1600px; translate: 0 var(--sy, 0px); }
.hero-b .tilt { position: absolute; left: 50%; top: 20px; margin-left: calc(var(--pw) / -2); transform-style: preserve-3d; transform: rotateX(12deg) rotateY(-14deg) rotateZ(5deg); }
.hero-b .hover3d { position: relative; transform-style: preserve-3d; animation: phone-drift 9s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes phone-drift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -6px, 0); } }
.hero-b .phone { position: relative; width: var(--pw); aspect-ratio: auto; padding: calc(var(--pw) * .034); border-radius: calc(var(--pw) * .167); background: #0A0A0A; box-shadow: 0 0 0 2px #3a3a40, 40px 70px 120px rgb(0 0 0 / 50%), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-b .phone::before { content: ""; position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); background: #000; top: calc(var(--pw) * .07); width: calc(var(--pw) * .29); height: calc(var(--pw) * .083); border-radius: 999px; }
.hero-b .screen { position: relative; overflow: hidden; aspect-ratio: 1170 / 2532; height: auto; padding: 0; border-radius: calc(var(--pw) * .133); background: #1C2433; }
.hero-b .screen > img { width: 100%; height: 100%; object-fit: cover; }
.hero-b .statusbar { position: absolute; left: 0; right: 0; top: 0; height: 5.4%; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  color: #fff; font: 600 calc(var(--pw) * .047)/1 system-ui, -apple-system, sans-serif; text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
  padding: calc(var(--pw) * .012) calc(var(--pw) * .075) 0 calc(var(--pw) * .1); background: none; backdrop-filter: none; -webkit-backdrop-filter: none; -webkit-mask-image: none; mask-image: none; }
.hero-b .statusbar .sb { display: flex; align-items: center; gap: calc(var(--pw) * .016); }
.hero-b .statusbar svg { height: calc(var(--pw) * .036); width: auto; }
.hero-b .statusbar svg.batt { height: calc(var(--pw) * .04); }

/* "You set the fare" hovers in front of the screen and floats. */
.hero-b .chip3d { position: absolute; width: max-content; left: calc(var(--pw) * .04); top: 60%; transform: translateZ(90px); }
.hero-b .chip-bob {
  display: flex; align-items: center; padding: 13px 18px 13px 14px; border-radius: 18px; white-space: nowrap;
  background: rgba(255, 255, 255, .74); color: #0A0A0B; font-size: 16px; font-weight: 600;
  backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 24px 50px rgb(0 0 0 / 38%);
  animation: chip-float 5s cubic-bezier(.45, 0, .55, 1) infinite;
}
.hero-b .chip-state { display: inline-flex; align-items: center; gap: 9px; }
.hero-b .chip-bob svg { width: 20px; height: 20px; color: var(--red); flex: none; }
@keyframes chip-float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.4deg); } 50% { transform: translate3d(-3.5px, -9.8px, 0) rotate(.84deg); } }

.hero-b .ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); position: relative; z-index: 2; }
.hero-b .ticker-in { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: marquee 34s linear infinite; }
.hero-b .ticker span { font-weight: 500; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.hero-b .ticker .tk { width: 14px; height: 14px; color: var(--red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1200px) { .hero-b { --pw: 440px; --stage-w: 470px; } }
@media (max-width: 960px) {
  .hero-b { --pw: 360px; }
  .hero-b .hero-in { grid-template-columns: 1fr; grid-template-areas: "mega" "copy" "stage"; min-height: 0; }
  .hero-b .hero-copy { padding-bottom: 12px; }
  .hero-b .stage { height: calc(var(--pw) * 1.5); }
  .hero-b .tilt { top: 10px; }
}
@media (max-width: 480px) {
  .hero-b { --pw: 300px; }
  .hero-b .chip-bob { font-size: 14px; }
  .hero-b .store { height: 60px; padding: 0 18px 0 15px; gap: 10px; }
  .hero-b .store svg { width: 26px; height: 26px; }
  .hero-b .store b { font-size: 18px; }
  .hero-b .store small { font-size: 11.5px; }
}

/* ============================================================ iPhone notification
   Night loads this file for it too.
   Sized from the phone's width, drops in below the island, stays, lifts
   away, on a 10 second loop. CSS only, so it plays under Reduce Motion. */
.ios-note {
  --u: calc(var(--pw) * .01);
  position: absolute; z-index: 2; left: 3.5%; right: 3.5%; top: 6.4%;
  display: flex; align-items: center; gap: calc(var(--u) * 3);
  padding: calc(var(--u) * 3) calc(var(--u) * 3.6);
  border-radius: calc(var(--u) * 6);
  background: rgba(242, 242, 247, .82); color: #000;
  backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 calc(var(--u) * 2) calc(var(--u) * 8) rgba(0, 0, 0, .35);
  font-family: system-ui, -apple-system, "SF Pro Text", sans-serif; text-align: left;
  opacity: 0; transform: translateY(-140%) scale(.96);
  animation: ios-note 9s cubic-bezier(.3, .7, .2, 1) infinite;
}
.ios-note img { width: calc(var(--u) * 10.5); height: calc(var(--u) * 10.5); border-radius: calc(var(--u) * 2.4); flex: none; }
.ios-note .n-text { min-width: 0; flex: 1; display: grid; gap: calc(var(--u) * .5); }
.ios-note .n-top { display: flex; justify-content: space-between; align-items: baseline; font-size: calc(var(--u) * 3.3); color: rgba(60, 60, 67, .7); letter-spacing: .02em; }
.ios-note .n-top b { font-weight: 600; }
.ios-note .n-top span { letter-spacing: 0; }
.ios-note .n-title { font-size: calc(var(--u) * 4.1); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ios-note .n-body { font-size: calc(var(--u) * 3.8); color: rgba(0, 0, 0, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes ios-note {
  /* Solid while on screen; it slides, never fades, like the real banner. */
  0%, 9.9% { opacity: 0; transform: translateY(-160%); }
  10% { opacity: 1; transform: translateY(-160%); }
  15% { opacity: 1; transform: translateY(3%); }
  18%, 80% { opacity: 1; transform: translateY(0); }
  85.9% { opacity: 1; transform: translateY(-160%); }
  86%, 100% { opacity: 0; transform: translateY(-160%); }
}
}
}
