/* FINRIVAL — site refresh (Nov 2026)
   Loaded after site.css. Adds the web Terminal as a first-class way in (buttons, "use it
   anywhere" band, phone bottom bar) and tightens the layout on phones. Nothing here changes
   colours, type or screenshots. */

/* ---------- Button row: Terminal + App Store + Google Play ---------- */
.getapp {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.getapp__terminal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 18px 0 20px;
  border-radius: 14px;
  background: var(--gold);
  color: #17130a;
  box-shadow: 0 10px 34px -12px rgba(216, 191, 131, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.getapp__terminal:hover {
  background: var(--gold-2, #e6d09b);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(216, 191, 131, 0.7);
}

.getapp__terminal .store__small {
  color: rgba(23, 19, 10, 0.72);
}

.getapp__terminal .store__big {
  color: #17130a;
}

.getapp__arrow {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.3s var(--ease);
}

.getapp__terminal:hover .getapp__arrow {
  transform: translateX(3px);
}

/* Small pulsing "live" dot, the same idea as the Terminal link in the header */
.getapp__live {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
}

.getapp__live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: getapp-pulse 2.2s var(--ease) infinite;
}

@keyframes getapp-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}

.store--soon {
  opacity: 0.72;
}

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

.page-hero__ctas {
  margin-top: 32px;
}

/* ---------- Use it anywhere ---------- */
.anywhere {
  padding: clamp(56px, 8vw, 112px) 0 0;
}

.anywhere__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
}

.anywhere__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 236px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--surface);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

a.anywhere__card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 191, 131, 0.35);
}

.anywhere__card p {
  color: var(--text-2);
  margin: 0;
}

.anywhere__card--web {
  border-color: rgba(216, 191, 131, 0.28);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(216, 191, 131, 0.16), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(31, 181, 198, 0.1), transparent 60%),
    var(--surface);
}

.anywhere__card--soon {
  opacity: 0.82;
}

.anywhere__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.anywhere__tag .ic {
  width: 15px;
  height: 15px;
}

.anywhere__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  color: var(--gold);
}

.anywhere__go .ic {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  transition: transform 0.3s var(--ease);
}

a.anywhere__card:hover .anywhere__go .ic {
  transform: translateX(3px);
}

/* ---------- Header: Terminal reads as a button on desktop ---------- */
@media (min-width: 1025px) {
  .nav__links a.nav__terminal {
    padding: 7px 14px;
    border: 1px solid rgba(216, 191, 131, 0.35);
    border-radius: 999px;
    background: rgba(216, 191, 131, 0.06);
  }

  .nav__links a.nav__terminal:hover {
    background: rgba(216, 191, 131, 0.14);
  }
}

/* ---------- Phone bottom bar ---------- */
.getbar {
  display: none;
}

@media (max-width: 760px) {
  .getbar {
    position: fixed;
    z-index: 60;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line-2, rgba(255, 255, 255, 0.1));
    border-radius: 18px;
    background: rgba(10, 14, 19, 0.86);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
  }

  .getbar.is-on {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .getbar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line-2, rgba(255, 255, 255, 0.1));
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
  }

  .getbar__btn--gold {
    border-color: transparent;
    background: var(--gold);
    color: #17130a;
  }

  /* Keep the cookie banner above the bar */
  .consent {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  /* Room so the bar never covers the last footer lines */
  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------- Tablets and phones ---------- */
@media (max-width: 900px) {
  .anywhere__grid {
    grid-template-columns: 1fr 1fr;
  }

  .anywhere__card--web {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  /* Shorter page: the original spacing was sized for large screens */
  .section {
    padding: 64px 0;
  }

  .anywhere__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .anywhere__card {
    min-height: 0;
    padding: 22px;
  }

  /* Full-width, thumb-sized buttons, Terminal first */
  .getapp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    gap: 10px;
  }

  .getapp__terminal {
    grid-column: 1 / -1;
    justify-content: center;
    height: 58px;
  }

  .getapp .store {
    justify-content: center;
    height: 52px;
    padding: 0 10px;
    gap: 8px;
  }

  .getapp .store svg {
    width: 20px;
    height: 20px;
  }

  .getapp .store .store__big {
    font-size: 15px;
  }

  .getapp .store .store__small {
    font-size: 10px;
  }

  .hero__ctas,
  .page-hero__ctas {
    margin-top: 28px;
  }
}

/* Phones: iPhone and Android side by side, short; the web Terminal card stays full width */
@media (max-width: 640px) {
  .anywhere__grid {
    grid-template-columns: 1fr 1fr;
  }

  .anywhere__card--web {
    grid-column: 1 / -1;
  }

  .anywhere__card:not(.anywhere__card--web) {
    padding: 18px;
    gap: 8px;
  }

  .anywhere__card:not(.anywhere__card--web) p {
    display: none;
  }

  .anywhere__card:not(.anywhere__card--web) .h3 {
    font-size: 17px;
  }

  .anywhere__card:not(.anywhere__card--web) .anywhere__go {
    padding-top: 6px;
    font-size: 14px;
  }
}

/* ---------- Every dot is one company (hero background) ---------- */
.dotfield {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(100vh, 980px);
  z-index: 0;
  pointer-events: none;
  /* fades out under the phones and toward the edges so the headline stays first */
  /* quiet zone behind the headline, fading out toward the edges and the phones */
  -webkit-mask-image: radial-gradient(34% 20% at 50% 27%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.22) 60%, #000 100%), radial-gradient(120% 75% at 50% 32%, #000 30%, rgba(0, 0, 0, 0.55) 62%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(34% 20% at 50% 27%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.22) 60%, #000 100%), radial-gradient(120% 75% at 50% 32%, #000 30%, rgba(0, 0, 0, 0.55) 62%, transparent 92%);
  mask-composite: intersect;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.dotfield.is-ready {
  opacity: 1;
}

.dotfield canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.dotfield__tip {
  position: absolute;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(10, 14, 19, 0.92);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 12px));
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}

.dotfield__tip.is-on {
  opacity: 1;
}

.dotfield__tip b {
  margin-left: 8px;
}

.dotfield__tip .up { color: var(--gold); }
.dotfield__tip .down { color: var(--text-2); }

.hero > .container,
.hero > .hero__stage,
.hero > .live-tabs {
  position: relative;
  z-index: 1;
}

/* Desktop: the field reacts to the cursor, so text passes clicks through to it */
@media (hover: hover) and (min-width: 901px) {
  .dotfield { pointer-events: auto; }
  .hero > .container { pointer-events: none; }
  .hero > .container a,
  .hero > .container button,
  .hero > .container .pulse { pointer-events: auto; }
}

/* ---------- Pulse: dots caption + world market clock ---------- */
.pulse {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 26px;
}

.pulse__dots {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.pulse__dots i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 1px;
}

.pulse__clock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.clock__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 19, 26, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--text-2);
  white-space: nowrap;
}

.clock__item b {
  color: var(--text);
  font-weight: 600;
}

.clock__item i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3);
}

.clock__item.is-open i {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
}

/* ---------- Ask Finrival AI ---------- */
.ask {
  padding: clamp(48px, 7vw, 96px) 0 0;
}

.ask__box {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(216, 191, 131, 0.25);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(216, 191, 131, 0.12), transparent 55%),
    radial-gradient(70% 120% at 100% 100%, rgba(31, 181, 198, 0.1), transparent 55%),
    var(--surface);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}

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

.ask__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(216, 191, 131, 0.12);
  color: var(--gold);
}

.ask__icon .ic {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.ask__title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ask__sub {
  margin: 2px 0 0;
  color: var(--text-2);
  font-size: 14.5px;
}

.ask__row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(6, 9, 13, 0.7);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ask__row:focus-within {
  border-color: rgba(216, 191, 131, 0.55);
  box-shadow: 0 0 0 4px rgba(216, 191, 131, 0.1);
}

.ask__row input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px; /* 16px keeps iPhone from zooming in */
  outline: none;
}

.ask__row input::placeholder {
  color: var(--text-3);
}

.ask__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  background: var(--gold);
  color: #17130a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.ask__btn:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

.ask__btn .ic {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.ask__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ask__chips button {
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.ask__chips button:hover {
  color: var(--text);
  border-color: var(--line-3);
}

@media (max-width: 640px) {
  .dotfield {
    height: 1240px;
    -webkit-mask-image: radial-gradient(60% 18% at 50% 24%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 55%, #000 100%), linear-gradient(#000 0%, #000 70%, rgba(0, 0, 0, 0.35) 88%, transparent 100%);
    mask-image: radial-gradient(60% 18% at 50% 24%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 55%, #000 100%), linear-gradient(#000 0%, #000 70%, rgba(0, 0, 0, 0.35) 88%, transparent 100%);
  }

  .pulse__dots {
    font-size: 12.5px;
    padding-inline: 8px;
  }

  .clock__item {
    padding: 6px 10px;
    font-size: 12px;
  }

  .ask__head .ask__sub {
    font-size: 13.5px;
  }

  .ask__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -4px;
    padding: 0 4px 4px;
    scrollbar-width: none;
  }

  .ask__chips::-webkit-scrollbar {
    display: none;
  }

  .ask__chips button {
    flex: none;
  }

  .ask__btn {
    padding: 0 16px;
  }
}

/* Phones: the visitor's own market and New York only */
@media (max-width: 640px) {
  .clock__item:nth-child(n + 3) {
    display: none;
  }
}

/* ---------- Company card (dot click / tap) ---------- */
.dotfield { touch-action: pan-y; }
@media (max-width: 900px) {
  .dotfield { pointer-events: auto; }
  .hero > .container { pointer-events: none; }
  .hero > .container a, .hero > .container button, .hero > .container .pulse { pointer-events: auto; }
}
.dotcard {
  position: absolute; z-index: 5; width: min(340px, calc(100vw - 32px)); padding: 18px;
  border: 1px solid rgba(216, 191, 131, 0.3); border-radius: 20px;
  background: rgba(10, 14, 19, 0.96); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
  text-align: left; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.dotcard[hidden] { display: none; }
.dotcard__x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(255,255,255,0.06); cursor: pointer; }
.dotcard__x span::before, .dotcard__x span::after { content: ""; position: absolute; left: 9px; top: 15px; width: 14px; height: 1.6px; background: var(--text-2); transform: rotate(45deg); }
.dotcard__x span::after { transform: rotate(-45deg); }
.dotcard__top { display: flex; align-items: center; gap: 10px; }
.dotcard__sym { padding: 3px 9px; border-radius: 8px; background: rgba(255,255,255,0.07); font-weight: 700; font-size: 13px; }
.dotcard__chg { font-weight: 700; font-size: 14px; }
.dotcard__chg.up { color: var(--gold); }
.dotcard__chg.down { color: var(--text-2); }
.dotcard__name { margin: 10px 0 2px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.dotcard__meta { margin: 0; color: var(--text-2); font-size: 13.5px; }
.dotcard__actions { display: grid; gap: 8px; margin-top: 14px; }
.dotcard__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.dotcard__btn--gold { border-color: transparent; background: var(--gold); color: #17130a; }
.dotcard__btn .ic { width: 16px; height: 16px; stroke: currentColor; }
@media (max-width: 640px) {
  .dotcard { position: fixed; left: 16px !important; right: 16px; top: auto !important; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: auto; }
}
.dotcard__logo { width: 40px; height: 40px; border-radius: 12px; background: #f4f6f8; object-fit: contain; padding: 4px; }

/* Card: group badge, facts grid, 5-session trail */
.dotcard__group { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; background: rgba(216,191,131,0.14); color: var(--gold); }
.dotcard__group--future { background: rgba(31,181,198,0.14); color: #7fd8e2; }
.dotcard__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 12px 0 0; }
.dotcard__facts div { min-width: 0; }
.dotcard__facts dt { font-size: 11.5px; color: var(--text-3); }
.dotcard__facts dd { margin: 1px 0 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dotcard__spark { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; margin-top: 12px; }
.dotcard__spark[hidden] { display: none; }
.dotcard__spark span { font-size: 11.5px; color: var(--text-3); }
.dotcard__spark svg { width: 100%; height: 30px; overflow: visible; }
.dotcard__spark path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dotcard__spark.up path { stroke: var(--gold); }
.dotcard__spark.down path { stroke: var(--text-2); }

/* Group chips under the caption: tap to light up a group on the background */
.groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.groups[hidden] { display: none; }
.groups__chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid rgba(216,191,131,0.3); border-radius: 999px; background: rgba(13,19,26,0.75); color: var(--gold); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.groups__chip b { font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.groups__chip--future { border-color: rgba(31,181,198,0.35); color: #7fd8e2; }
.groups__chip[aria-pressed="true"] { background: rgba(216,191,131,0.16); border-color: var(--gold); }
.groups__chip--future[aria-pressed="true"] { background: rgba(31,181,198,0.16); border-color: #7fd8e2; }
@media (max-width: 640px) { .groups__chip { padding: 6px 11px; font-size: 12.5px; } }

/* Simpler legend: went up / went down, then "Show me:" chips with a one-line explanation */
.pulse__dots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; }
.pulse__dots i { display: none; }
.lg { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }
.lg i { display: inline-block !important; width: 10px; height: 10px; margin: 0 !important; border-radius: 50%; }
.lg--up { color: var(--text); font-weight: 600; }
.lg--up i { background: var(--gold); box-shadow: 0 0 0 3px rgba(216,191,131,0.18); }
.lg--down { color: var(--text); font-weight: 600; }
.lg--down i { background: #8b96a3; }
.lg--hint { color: var(--text-2); }
.groups { align-items: center; }
.groups__label { font-size: 13px; color: var(--text-2); }
.groups__chip b { display: none; }
.groups__desc { flex-basis: 100%; margin: 2px 0 0; min-height: 1.4em; font-size: 13.5px; color: var(--text-2); text-align: center; }
/* One market clock on phones, two on desktop */
.clock__item:nth-child(n + 3) { display: none; }
@media (max-width: 640px) {
  .clock__item:nth-child(n + 2) { display: none; }
  .lg { font-size: 13px; }
}
/* Room for a two-line explanation, reserved up front so nothing moves when a chip is tapped */
.groups__desc { min-height: 2.9em; }
@media (min-width: 641px) { .groups__desc { min-height: 1.5em; } }

/* ===== Premium hero (v6): fewer elements, more air, one clear action ===== */
.hero h1.display {
  letter-spacing: -0.045em;
}

/* Second headline line in a soft champagne gold */
.hero h1 .mask-line:nth-child(2) > span {
  background: linear-gradient(180deg, #f6ead0 0%, #e2c78d 55%, #b8955a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--text-2);
}

/* Live market status in the badge */
.hero__badge--clock {
  gap: 0;
  font-variant-numeric: tabular-nums;
}

.hero__badge--clock i {
  margin-right: 10px;
}

.hero__badge--clock b {
  font-weight: 600;
  color: var(--text);
}

.hero__badge--clock:not(.is-open) i {
  background: var(--text-3) !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Two buttons: gold Terminal, quiet "Get the app" */
.getapp--hero .getapp__terminal {
  height: 54px;
  padding: 0 22px 0 22px;
  gap: 12px;
  border-radius: 999px;
}

.getapp--hero .store__big {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.getapp__app {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.getapp__app:hover {
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.getapp__os {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* One quiet row: ● Up · ● Down | Giants · Under $10 · Future themes */
.pulse {
  margin-top: 34px;
  gap: 10px;
}

.pulse__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
}

.pulse__row .pulse__dots {
  gap: 6px 14px;
}

.pulse__row .lg {
  font-size: 13.5px;
  font-weight: 600;
}

.pulse__row .groups {
  gap: 6px;
  padding-left: 18px;
  border-left: 1px solid var(--line-2);
}

.pulse__row .groups__chip {
  padding: 6px 12px;
  font-size: 13px;
  border-color: var(--line-2);
  color: var(--text-2);
  background: transparent;
}

.pulse__row .groups__chip:hover {
  color: var(--text);
}

.pulse__row .groups__chip[aria-pressed="true"] {
  color: var(--gold);
  border-color: rgba(216, 191, 131, 0.55);
  background: rgba(216, 191, 131, 0.1);
}

.pulse__row .groups__chip--future[aria-pressed="true"] {
  color: #7fd8e2;
  border-color: rgba(31, 181, 198, 0.55);
  background: rgba(31, 181, 198, 0.1);
}

.pulse > .groups__desc {
  margin: 0;
  min-height: 1.5em;
  font-size: 13px;
  color: var(--text-3);
}

@media (max-width: 640px) {
  .getapp--hero {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .getapp--hero .getapp__terminal,
  .getapp--hero .getapp__app {
    justify-content: center;
    height: 54px;
  }

  .pulse__row .groups {
    padding-left: 0;
    border-left: 0;
  }

  .pulse > .groups__desc {
    min-height: 2.9em;
    padding-inline: 12px;
  }
}

/* ===== Phones (v7): big readable tiles instead of tiny dots ===== */
.tiles { display: none; }

@media (max-width: 640px) {
  /* The dots behind the text are decoration only on phones */
  .dotfield { pointer-events: none !important; opacity: 0.55; }
  .dotfield.is-ready { opacity: 0.55; }

  .tiles:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 380px;
    margin: 4px auto 0;
  }

  .tile {
    display: grid;
    gap: 2px;
    justify-items: start;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: rgba(13, 19, 26, 0.85);
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s var(--ease), border-color 0.2s var(--ease);
  }

  .tile:active { transform: scale(0.97); }

  .tile b { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
  .tile span { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .tile.up { border-color: rgba(216, 191, 131, 0.32); background: linear-gradient(180deg, rgba(216, 191, 131, 0.1), rgba(13, 19, 26, 0.85)); }
  .tile.up span { color: var(--gold); }
  .tile.down span { color: var(--text-2); }

  /* Easy-to-tap chips */
  .pulse__row .groups { width: 100%; justify-content: center; }
  .pulse__row .groups__chip { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .pulse__row .lg { font-size: 14px; }
  .pulse > .groups__desc { min-height: 0; font-size: 13.5px; color: var(--text-2); }
}
@media (max-width: 640px) {
  .tile { min-height: 70px; gap: 1px; }
  .tile small { display: block; width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11.5px; color: var(--text-3); }
  .tile span { margin-top: 3px; }
}

/* ===== Phones (v8): the dot field is the hero, same vibe as desktop ===== */
@media (max-width: 640px) {
  .dotfield { pointer-events: auto !important; opacity: 1; }
  .dotfield.is-ready { opacity: 1; }
  .hero > .container { pointer-events: none; }
  .hero > .container a, .hero > .container button { pointer-events: auto; }
  .tiles, .pulse__row .groups, .pulse > .groups__desc { display: none !important; }
  .pulse { margin-top: 26px; }
  .pulse__row .lg { font-size: 14px; }
}
.lg--tap { display: none; }
@media (max-width: 640px) {
  .lg--tap { display: block; flex-basis: 100%; text-align: center; font-size: 12.5px !important; font-weight: 500 !important; color: var(--text-3); }
}

/* ===== Inner pages (v9): same signature as the home hero ===== */
.page-hero {
  position: relative;
  isolation: isolate;
}

/* A calm, static field of gold and grey dots behind the title */
.page-hero::after {
  content: "";
  position: absolute;
  inset: calc(var(--header-h, 72px) + 8px) 0 -10% 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(216, 191, 131, 0.8) 1.9px, transparent 2.5px),
    radial-gradient(circle, rgba(139, 150, 163, 0.45) 1.5px, transparent 2.1px);
  background-size: 34px 34px, 34px 34px;
  background-position: 0 0, 17px 17px;
  -webkit-mask-image: radial-gradient(80% 75% at 50% 38%, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.12) 34%, #000 62%, transparent 94%);
  mask-image: radial-gradient(80% 75% at 50% 38%, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.12) 34%, #000 62%, transparent 94%);
  opacity: 1;
}

.page-hero__title {
  letter-spacing: -0.045em;
}

.page-hero__title .mask-line > span {
  background: linear-gradient(180deg, #f6ead0 0%, #e2c78d 55%, #b8955a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The small page label becomes a pill, like the home status pill */
.page-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(13, 19, 26, 0.7);
  color: var(--text-2);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.page-hero .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.page-hero .lead {
  max-width: 54ch;
  margin-inline: auto;
}

.page-hero__ctas .getapp--hero {
  justify-content: center;
}

/* Download panel at the end of every page: a framed card */
.cta > .container {
  position: relative;
  max-width: 980px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border: 1px solid rgba(216, 191, 131, 0.22);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(216, 191, 131, 0.1), transparent 60%),
    radial-gradient(circle, rgba(216, 191, 131, 0.18) 1.2px, transparent 1.8px) 0 0 / 30px 30px,
    var(--surface);
  overflow: hidden;
}

.cta > .container .h2 {
  letter-spacing: -0.04em;
}

@media (max-width: 640px) {
  .page-hero::after {
    background-size: 26px 26px, 26px 26px;
    background-position: 0 0, 13px 13px;
    -webkit-mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 85%);
    mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 85%);
    opacity: 0.55;
  }

  .cta > .container {
    margin-inline: 16px;
    width: auto;
    border-radius: 28px;
  }
}

/* ===== Phones (v10): dots stay as the hero background; companies become big swipeable cards ===== */
@media (max-width: 640px) {
  .pulse .pulse__row .groups { display: flex !important; width: 100%; justify-content: center; padding: 0; border: 0; margin-top: 14px; }
  .pulse .pulse__row .groups__chip { min-height: 40px; padding: 8px 15px; font-size: 14px; }
  .pulse .pulse__row { flex-direction: column; }
  .pulse > .groups__desc { display: block !important; min-height: 2.8em; margin: 10px 0 0; padding-inline: 8px; font-size: 13.5px; color: var(--text-2); }

  .pulse .tiles:not([hidden]) {
    display: flex !important;
    gap: 10px;
    width: calc(100% + 32px);
    max-width: none;
    margin: 6px -16px 0;
    padding: 4px 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    pointer-events: auto;
    /* soft fade at the right edge says "there is more" */
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .pulse .tiles::-webkit-scrollbar { display: none; }

  .pulse .tile {
    flex: 0 0 118px;
    scroll-snap-align: start;
    display: grid;
    justify-items: start;
    gap: 1px;
    min-height: 0;
    padding: 12px;
    border-radius: 18px;
    pointer-events: auto;
  }
  .tile__logo {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #f4f6f8;
    overflow: hidden;
  }
  .tile__logo em { font-style: normal; font-size: 11px; font-weight: 800; color: #0d131a; letter-spacing: 0.02em; }
  .tile__logo img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; background: #f4f6f8; }
  .pulse .tile b { font-size: 15px; }
  .pulse .tile small { display: block; width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11.5px; color: var(--text-3); }
  .pulse .tile .tile__chg { margin-top: 6px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

  /* The company card is a sheet above the bottom bar, with room to breathe */
  .dotcard { border-radius: 22px; box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.6); }
}
