/* The site's shared chrome: the header pill and the footer, identical on every
   page (home loads it after v9/home.css, every other page after site.css).
   Self-contained: no variables from either page stylesheet. */

/* Header */
.wbn { position: sticky; top: 0; z-index: 60; display: flex; justify-content: center; padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 0; pointer-events: none; }
.wbn.wbn-fixed { position: fixed; left: 0; right: 0; }
.wbn-pill { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 26px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(14, 17, 21, 0.97); border: 1px solid rgba(255, 255, 255, 0.08); font-family: Inter, system-ui, -apple-system, sans-serif; }
.wbn-links { display: flex; align-items: center; gap: 26px; }
.wbn-links a, .wbn-menu nav a { font-size: 14px; font-weight: 500; line-height: 1; color: rgba(244, 241, 234, 0.62); text-decoration: none; transition: color 0.2s; }
.wbn-links a:hover, .wbn-links a[aria-current="page"] { color: #f4f1ea; }
.wbn-get { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: #F7EEDB; color: #111; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s; }
.wbn-get:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(247, 238, 219, 0.18); }

/* The logo: links home. On hover the egg opens the way it does in the app:
   a wobble, a crack of light runs down the blue path, and the two halves
   fall apart along it with light behind them. */
.wbn-brand { display: block; flex: none; border-radius: 8px; }
.wbn-brand svg { display: block; width: auto; height: 30px; max-width: none; overflow: visible; }
.wbn-brand:focus-visible { outline: 2px solid #9cc6f0; outline-offset: 4px; }
.wbn-egg, .wbn-half { transform-box: fill-box; }
.wbn-egg { transform-origin: 50% 100%; }
.wbn-left { transform-origin: 0% 100%; }
.wbn-right { transform-origin: 100% 100%; }
.wbn-half { transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.wbn-glow { opacity: 0; transition: opacity 0.2s; }
.wbn-crack { fill: none; stroke: #eaf4ff; stroke-width: 22; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 1; transition: stroke-dashoffset 0.15s, opacity 0.15s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wbn-brand:hover .wbn-egg, .wbn-brand:focus-visible .wbn-egg { animation: wbn-wobble 0.4s ease-in-out; }
  .wbn-brand:hover .wbn-crack, .wbn-brand:focus-visible .wbn-crack { stroke-dashoffset: 0; opacity: 0; transition: stroke-dashoffset 0.28s ease-in 0.3s, opacity 0.2s ease 0.62s; }
  .wbn-brand:hover .wbn-glow, .wbn-brand:focus-visible .wbn-glow { opacity: 1; transition: opacity 0.3s ease 0.55s; }
  .wbn-brand:hover .wbn-left, .wbn-brand:focus-visible .wbn-left { transform: translate(-28px, 4px) rotate(-16deg); transition: transform 0.55s cubic-bezier(.2, 1.5, .4, 1) 0.58s; }
  .wbn-brand:hover .wbn-right, .wbn-brand:focus-visible .wbn-right { transform: translate(16px, 4px) rotate(12deg); transition: transform 0.55s cubic-bezier(.2, 1.5, .4, 1) 0.58s; }
}
@keyframes wbn-wobble {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-7deg); }
  55% { transform: rotate(6deg); }
  80% { transform: rotate(-3deg); }
}

/* Phones: links fold into a menu */
.wbn-menu { display: none; position: relative; }
.wbn-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-content: center; gap: 5px; background: rgba(255, 255, 255, 0.06); }
.wbn-menu summary::-webkit-details-marker { display: none; }
.wbn-menu summary span { display: block; width: 16px; height: 1.5px; border-radius: 1px; background: #f4f1ea; transition: transform 0.25s; }
.wbn-menu[open] summary span:first-child { transform: translateY(3.25px) rotate(45deg); }
.wbn-menu[open] summary span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.wbn-menu nav { position: absolute; right: 0; top: 52px; min-width: 210px; padding: 8px; border-radius: 20px; display: flex; flex-direction: column; background: rgba(14, 17, 21, 0.98); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.wbn-menu nav a { padding: 14px 14px; border-radius: 12px; font-size: 16px; color: #f4f1ea; }
.wbn-menu nav a:hover { background: rgba(255, 255, 255, 0.05); }
@media (max-width: 760px) {
  .wbn-pill { gap: 10px; padding-left: 16px; }
  .wbn-links { display: none; }
  .wbn-menu { display: block; }
  .wbn-brand svg { height: 26px; }
}

/* Footer */
.wbf { position: relative; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 72px 0 0; color: #f4f1ea; font-family: Inter, system-ui, -apple-system, sans-serif; }
.wbf-grid, .wbf-base { max-width: 1240px; margin: 0 auto; padding-inline: 24px; box-sizing: content-box; }
.wbf-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.wbf-brand img { display: block; height: 46px; width: auto; max-width: none; }
.wbf-brand p { color: rgba(244, 241, 234, 0.62); font-size: 16px; margin: 16px 0 24px; max-width: 320px; line-height: 1.45; }
.wbf-get { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; background: #F7EEDB; color: #111; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s; }
.wbf-get:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(247, 238, 219, 0.18); }
.wbf-get svg { width: 18px; height: 18px; display: block; }
.wbf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; }
.wbf-col b { font-weight: 600; margin-bottom: 4px; }
.wbf-col a, .wbf-sel { color: rgba(244, 241, 234, 0.62); text-decoration: none; }
.wbf-col a:hover { color: #f4f1ea; }
.wbf-sel { user-select: all; font-size: 14px; }
.wbf-base { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12.5px; color: rgba(244, 241, 234, 0.62); }
.wbf-base span:last-child { max-width: 560px; text-align: right; }
.wbf-mark { margin-top: 40px; padding: 0 24px max(0px, env(safe-area-inset-bottom)); display: flex; justify-content: center; opacity: 0.07; -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent); }
.wbf-mark img { display: block; width: min(1240px, 100%); height: auto; }
@media (max-width: 760px) {
  .wbf-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .wbf-brand { grid-column: 1 / -1; }
  .wbf-get { display: none; }
  .wbf-base { flex-direction: column; }
  .wbf-base span:last-child { text-align: left; }
}

/* Closing call to action (finalCta + cta.js): a run draws itself over the city map */
.wbc { position: relative; overflow: hidden; margin-top: 140px; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 90px 20px; isolation: isolate; color: #f4f1ea; font-family: Inter, system-ui, -apple-system, sans-serif; }
.wbc-map { position: absolute; inset: -4%; z-index: -2; transform: translate(var(--px, 0), var(--py, 0)) scale(1.04); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.wbc-map.wbc-over { z-index: 0; pointer-events: none; }
.wbc-map img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .75; }
.wbc-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wbc-pins { position: absolute; inset: 0; }
.wbc-pin { position: absolute; width: 140px; height: 120px; justify-content: flex-end; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.wbc-pin img { max-width: none; }
.wbc-pin .egg { width: 54px; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.6)); animation: wbc-eggDrop .55s cubic-bezier(.2,1.6,.4,1) both; }
.wbc-pin.hatch .egg { animation: wbc-eggHatch .5s ease-in forwards; }
.wbc-pin .crt { position: absolute; bottom: 0; left: 10px; width: 120px; height: auto; opacity: 0; filter: drop-shadow(0 12px 16px rgba(0,0,0,.6)); }
.wbc-pin.hatch .crt { animation: wbc-crtPop .9s cubic-bezier(.2,1.5,.4,1) .3s forwards, wbc-crtBob 3.2s ease-in-out 1.3s infinite; }
.wbc-pin .ring { position: absolute; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; border: 3px solid #cfe6d8; opacity: 0; }
.wbc-pin.hatch .ring { animation: wbc-wave .8s ease-out .3s; }
.wbc-pin .nm { position: absolute; bottom: -34px; white-space: nowrap; font-size: 13px; font-weight: 600; background: #F7EEDB; color: #111; padding: 5px 11px; border-radius: 999px; opacity: 0; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.wbc-pin.hatch .nm { animation: wbc-fin .4s ease-out 1s forwards; }
.wbc-pin .ml { position: absolute; bottom: -30px; font-size: 12px; font-weight: 600; color: #9cc6f0; white-space: nowrap; text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.wbc-pin.hatch .ml { display: none; }
.wbc-chip { position: absolute; left: 0; top: 0; transform: translate(-50%, -150%); padding: 6px 12px; border-radius: 999px; background: rgba(12,16,20,.94); border: 1px solid rgba(156,198,240,.45); font-size: 13px; color: #f4f1ea; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s; will-change: transform; }
.wbc-chip b { font-size: 15px; }
.wbc-chip.on { opacity: 1; }
.wbc-scrim { position: absolute; inset: 0; z-index: -1; background: radial-gradient(42% 46% at 50% 50%, rgba(7,9,12,.88) 0%, rgba(7,9,12,.55) 55%, transparent 100%), linear-gradient(#07090c, transparent 16%, transparent 84%, #07090c); pointer-events: none; }
.wbc-core { position: relative; z-index: 1; max-width: 720px; display: flex; flex-direction: column; align-items: center; }
.wbc-logo { width: 220px; aspect-ratio: 640 / 700; margin: 0 auto 8px; }
.wbc-logo img { display: block; width: 100%; height: 100%; }
.wbc h2 { margin: 0; font-size: clamp(44px, 6.4vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: .95; color: #f4f1ea; }
.wbc p { color: rgba(244, 241, 234, 0.62); font-size: 19px; margin: 20px 0 32px; }
.wbc-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 62px; padding: 0 32px; border-radius: 999px; background: #F7EEDB; color: #111; font-size: 18px; font-weight: 600; text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.wbc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(247,238,219,.18); }
.wbc-btn svg { width: 21px; height: 21px; display: block; }
.wbc-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(247,238,219,.5); animation: wbc-halo 2.6s ease-out infinite; pointer-events: none; }
@media (max-height: 820px), (max-width: 760px) { .wbc-logo { display: none; } }
@media (prefers-reduced-motion: reduce) { .wbc-btn::after { animation: none; opacity: 0; } }
@keyframes wbc-eggDrop { from { transform: translateY(-40px) scale(.3); opacity: 0; } }
@keyframes wbc-eggHatch { 30% { transform: rotate(-12deg); } 60% { transform: rotate(10deg) scale(1.1); } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes wbc-crtPop { 0% { opacity: 0; transform: scale(.3) rotate(-12deg); } 60% { opacity: 1; transform: scale(1.15) rotate(5deg); } 100% { opacity: 1; transform: none; } }
@keyframes wbc-crtBob { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-8px); } }
@keyframes wbc-wave { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes wbc-fin { to { opacity: 1; } }
@keyframes wbc-halo { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.18, 1.45); opacity: 0; } }
