/* Navigation */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-nav.is-solid {
  background: rgba(6, 11, 24, 0.92);
  backdrop-filter: blur(10px);
  border-color: var(--hairline);
}

.brand img {
  width: 160px;
  height: auto;
}

.site-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
}

.site-links ul {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  color: var(--ink);
  font: 500 15px/1 var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-expo);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
}

.icon-link svg {
  width: 22px;
  height: 22px;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 46;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-expo);
  content: "";
}

.menu-bars {
  top: 50%;
  margin-top: -1px;
}

.menu-bars::before {
  top: -6px;
  left: 0;
  margin: 0;
}

.menu-bars::after {
  top: 6px;
  left: 0;
  margin: 0;
}

/* Buttons */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 15px/1 var(--text);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.18s var(--ease-out), border-color 0.18s, background-color 0.18s;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(234, 241, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.18s var(--ease-out);
}

.button:hover::before {
  transform: translateX(120%);
}

.button:active {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(0.97);
}

.button-primary {
  border-color: var(--atlo);
  background: var(--atlo);
  color: var(--ground);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button:disabled::before {
  display: none;
}

/* Film (hero) */
.film {
  position: relative;
  height: 400vh;
}

.film-stage {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.film-still,
.film-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark shade for the hero copy. Its opacity follows heroCopyOpacity in flight.js, so it is gone before the end card. */
.film-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 11, 24, 0.94) 0%, rgba(6, 11, 24, 0.4) 50%, rgba(6, 11, 24, 0.1) 100%);
}

.film-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  display: grid;
  gap: clamp(18px, 3vh, 28px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding-bottom: clamp(40px, 8vh, 96px);
  column-gap: clamp(12px, 2vw, 28px);
}

.hero-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.hero-title {
  grid-column: 1 / -1;
  max-width: 18ch;
  font-size: clamp(34px, 5.6vw, 92px);
  text-wrap: balance;
}

/* The key phrase of a heading, in the Atlias light blue (#60a5fa on the ground: 7.7:1). */
.accent {
  color: var(--atlias-light);
}

.hero-lede {
  grid-column: 1 / span 6;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
}

.hero-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(11, 20, 40, 0.8);
  max-width: 100%;
}

.install-cmd {
  font: 500 15px/1.2 var(--mono);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.copy-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.copy-btn svg {
  width: 18px;
  height: 18px;
}

.copy-btn .icon-check {
  display: none;
  color: var(--wm-1);
}

.copy-btn.is-copied .icon-copy {
  display: none;
}

.copy-btn.is-copied .icon-check {
  display: block;
}

.skip-film,
.replay-film {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(6, 11, 24, 0.7);
  color: var(--ink);
  font: 500 13px/1 var(--mono);
  cursor: pointer;
}

/* Chapters */
.chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--hairline);
  border-top: 1px solid var(--hairline);
}

.chapter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 12px 22px 0;
  color: var(--ink-2);
  font: 500 14px/1.2 var(--mono);
}

.chapter .num {
  color: var(--wm-1);
}

.chapter[aria-current="true"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--atlo);
}

/* Proof */
.proof {
  padding-block: clamp(96px, 14vw, 200px);
}

.proof-slot {
  margin-top: clamp(40px, 6vw, 80px);
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--panel);
}

.slot-note {
  font: 400 14px/1.5 var(--mono);
  color: var(--ink-2);
}

/* How it works */
.how {
  padding-block: clamp(72px, 9vw, 128px);
  background: var(--panel);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
}

/* Atlo moves with the reader through the steps (Gev, 2026-10-23). It sticks 112px from the top, below the 84px fixed
   nav, so it never slides under it; the grid row holds it, so it stops with the last step. Phones keep it static. */
.how-aside {
  grid-column: 1 / span 5;
  position: sticky;
  top: 112px;
  align-self: start;
}

.mascot-stage {
  position: relative;
  width: min(260px, 70%);
  aspect-ratio: 1;
  margin-top: 40px;
}

.pose {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.pose.is-on {
  opacity: 1;
}

.steps {
  grid-column: 7 / span 6;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 8vh 0 8vh 24px;
  border-left: 2px solid var(--hairline);
  transition: border-color 0.5s var(--ease-out);
}

.step.is-active {
  border-color: var(--atlo);
}

.step-label {
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wm-1);
  margin-bottom: 14px;
}

.vignette {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--ground);
}

.vignette code {
  font: 400 14px/1.7 var(--mono);
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.vignette figcaption {
  margin-top: 10px;
  font: 400 12px/1.4 var(--mono);
  color: var(--ink-2);
}

/* Works with */
.works {
  padding-block: clamp(72px, 10vw, 140px);
  overflow: hidden;
}

.marquee {
  margin-top: 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-track ul {
  display: flex;
  align-items: center;
  gap: 56px;
  margin: 0;
  padding: 0 56px 0 0;
  list-style: none;
}

.marquee-track li {
  font: 500 clamp(18px, 2.2vw, 28px)/1 var(--mono);
  color: var(--ink);
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.cc-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  vertical-align: middle;
}

.cc-mark-mascot {
  width: 28px;
  height: 28px;
}

.cc-mark-plus {
  display: inline-block;
  font: 500 20px/1 var(--mono);
  color: var(--ink-2);
  transition: transform 0.4s var(--ease-expo);
}

.cc-mark-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--ground);
  color: var(--ink);
  font: 500 14px/1 var(--mono);
  transition: border-color 0.3s;
}

.cc-mark-term {
  color: var(--wm-1);
}

.cc-mark:hover .cc-mark-plus,
.cc-mark:focus-within .cc-mark-plus {
  transform: rotate(90deg);
}

.cc-mark:hover .cc-mark-chip {
  border-color: var(--atlo);
}

/* Founder note */
.founder {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 24px clamp(12px, 2vw, 28px);
  padding-block: clamp(72px, 9vw, 130px);
}

.founder-mascot {
  grid-column: 1 / span 3;
  width: 160px;
  height: 160px;
}

.founder-copy {
  grid-column: 5 / span 7;
}

.founder-text {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 40ch;
}

/* End of the page: one compact rotating wheel. The Atlo mascot links to Atlias, the RideLink logo to RideLink. */
.wheel-section {
  display: flex;
  justify-content: center;
  padding: clamp(72px, 9vw, 130px) var(--gutter);
}

.wheel {
  --wheel: 260px;
  position: relative;
  width: var(--wheel);
  height: var(--wheel);
}

.wheel-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: wheel-spin 40s linear infinite;
}

.wheel-text {
  font: 500 14px/1 var(--mono);
  letter-spacing: 0.08em;
  fill: var(--ink-2);
}

.wheel:hover .wheel-ring,
.wheel:focus-within .wheel-ring {
  animation-play-state: paused;
}

@keyframes wheel-spin {
  to {
    transform: rotate(360deg);
  }
}

.wheel-disc {
  position: absolute;
  inset: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--panel);
}

.wheel-half {
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease-expo);
}

.wheel-half img {
  width: 62%;
  height: auto;
}

.wheel-half:hover,
.wheel-half:focus-visible {
  transform: translateY(-6px);
}

.wheel-ridelink {
  background: var(--ground);
}

@media (prefers-reduced-motion: reduce) {
  .wheel-ring {
    animation: none;
  }
}

@media (max-width: 760px) {
  .wheel {
    --wheel: 200px;
  }

  .wheel-disc {
    inset: 27px;
  }
}
/* Footer */
.site-footer {
  padding: clamp(48px, 6vw, 84px) var(--gutter) 40px;
  border-top: 1px solid var(--hairline);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-line {
  margin: 0;
  max-width: 44ch;
}

.icon-links {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-links a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--ink);
}

.icon-links svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  max-width: var(--max);
  margin: 36px auto 0;
}

.fine {
  max-width: var(--max);
  margin: 32px auto 0;
  font-size: 13px;
}

/* Pricing, get started */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: clamp(56px, 8vw, 110px);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--panel);
}

.plan-name {
  font-size: clamp(34px, 3.6vw, 56px);
}

.price {
  font: 400 clamp(48px, 6vw, 88px)/1 var(--display);
  color: var(--ink);
}

.per {
  font: 500 15px/1 var(--mono);
  color: var(--ink-2);
}

.plan-list {
  margin: 0;
  padding-left: 1.2em;
}

.plan-note {
  font-size: 14px;
  margin: 0;
}

.steps-plain {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 12px;
}

.table-wrap {
  overflow-x: auto;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare th,
.compare td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  color: var(--ink);
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  max-width: 72ch;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq details p {
  margin-top: 12px;
}

/* Founder note on the pricing page: a card on the panel ground, the RideLink avatar in a round frame. */
.founder-note {
  padding-bottom: clamp(56px, 8vw, 110px);
}

.founder-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--panel);
  color: var(--ink);
}

.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline);
}

.founder-card h2 {
  font-size: clamp(34px, 3.6vw, 56px);
  margin: 0;
}

.founder-card p {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.loader-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: var(--ground);
  transition: transform 0.7s var(--ease-expo);
}

.loader-l {
  left: 0;
}

.loader-r {
  right: 0;
}

.loader.is-exit .loader-l {
  transform: translateX(-101%);
}

.loader.is-exit .loader-r {
  transform: translateX(101%);
}

.loader-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 28px;
  transition: opacity 0.25s;
}

.loader.is-exit .loader-inner {
  opacity: 0;
}

.loader-mascot {
  position: relative;
  width: min(180px, 40vw);
  aspect-ratio: 1;
}

.loader-mascot-svg,
.loader-pose {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  shape-rendering: crispEdges;
}

.loader-word svg {
  width: min(300px, 70vw);
  height: auto;
}

.loader-progress {
  width: min(240px, 60vw);
  height: 2px;
  overflow: hidden;
  background: var(--hairline);
}

.loader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wm-1);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.3s linear;
}

/* Motion: reveals and page transitions */
.js .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(24px);
}

.reveal {
  transition: opacity 0.8s var(--ease-expo) calc(var(--d, 0) * 60ms), transform 0.8s var(--ease-expo) calc(var(--d, 0) * 60ms);
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.3s;
}

/* Small screens */
@media (max-width: 1100px) {
  .hero-lede {
    grid-column: 1 / span 9;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-links {
    position: fixed;
    inset: 0;
    z-index: 45;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    background: var(--ground);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .site-links ul {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .site-links li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-expo), transform 0.5s var(--ease-expo);
  }

  .site-links li:nth-child(2) { transition-delay: 0.06s; }
  .site-links li:nth-child(3) { transition-delay: 0.12s; }
  .site-links li:nth-child(4) { transition-delay: 0.18s; }

  .nav-link {
    font-size: clamp(28px, 7vw, 40px);
  }

  .menu-open .site-links {
    opacity: 1;
    visibility: visible;
  }

  .menu-open .site-links li {
    opacity: 1;
    transform: none;
  }

  .menu-open .menu-bars {
    background: transparent;
  }

  .menu-open .menu-bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-open .menu-bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-lede {
    grid-column: 1 / -1;
  }

  .how-aside {
    grid-column: 1 / -1;
    position: static;
  }

  .steps {
    grid-column: 1 / -1;
  }

  .founder-mascot,
  .founder-copy {
    grid-column: 1 / -1;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .skip-film,
  .replay-film {
    right: 16px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(30px, 8.4vw, 44px);
    overflow-wrap: break-word;
  }

  .install-cmd {
    font-size: 13px;
  }

  .footer-top {
    justify-content: flex-start;
  }
}

.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}

.marquee-toggle {
  margin-top: 28px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 13px/1 var(--mono);
  cursor: pointer;
}

body:has(.loader:not(.is-exit)) .site-nav {
  visibility: hidden;
}

/* Reduced motion and no-JS: the composed end card sits below the nav (85px, measured), and the copy sits under it. */
@media (prefers-reduced-motion: reduce) {
  .film { height: auto; }
  .film-stage { position: relative; height: auto; overflow: visible; display: block; padding-top: calc(85px + 24px); }
  .film-shade,
  .film-canvas { display: none; }
  .film-still { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
  .film-copy { padding-bottom: 48px; }
}

.no-js .film { height: auto; }
.no-js .film-stage { position: relative; height: auto; overflow: visible; display: block; padding-top: calc(85px + 24px); }
.no-js .film-shade,
.no-js .film-canvas { display: none; }
.no-js .film-still { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.no-js .film-copy { padding-bottom: 48px; }

/* Benchmark charts */
.proof-lede {
  max-width: 62ch;
  margin-top: clamp(32px, 4vw, 56px);
}

.chart-title {
  margin: clamp(40px, 5vw, 64px) 0 16px;
  font: 500 14px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wm-1);
}

.chart {
  margin: 0;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--panel);
}

.chart-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-group {
  font: 600 18px/1 var(--text);
  fill: var(--ink);
}

.chart-sub {
  font: 400 13px/1.3 var(--mono);
  fill: var(--ink-2);
}

.chart-label {
  font: 500 14px/1 var(--mono);
  fill: var(--ink);
}

.chart-value {
  font: 500 14px/1 var(--mono);
  fill: var(--ink);
}

.chart-svg a {
  fill: var(--wm-1);
}

.chart-base,
.chart-axis {
  stroke: var(--hairline);
  stroke-width: 1;
}

.chart-rule {
  stroke: var(--ink-2);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.chart-pooled {
  stroke: var(--warm);
  stroke-width: 2;
}

.chart-bar {
  fill: var(--atlo);
  transform-box: fill-box;
  transform-origin: left center;
}

.chart-bar:nth-of-type(odd) {
  fill: var(--wm-1);
}

.chart-harness .chart-bar {
  fill: var(--atlo);
}

.chart-harness .chart-bar-lead {
  fill: var(--wm-1);
}

.chart-dot {
  fill: var(--atlo);
  stroke: var(--ink);
  stroke-width: 1;
}

.js [data-chart] .chart-bar {
  transform: scaleX(0);
}

.js [data-chart].is-in .chart-bar {
  transform: scaleX(1);
  transition: transform 1s var(--ease-expo);
}

.chart-table {
  margin-top: 18px;
}

.chart-table summary {
  cursor: pointer;
  color: var(--wm-1);
}

.chart-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.chart-table th,
.chart-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.history {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.history th,
.history td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.method-box {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--panel);
  max-width: 80ch;
}

/* Reduced motion: every animation has a still equivalent */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .marquee-track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .marquee-track ul[aria-hidden="true"] {
    display: none;
  }

  .js .reveal:not(.is-in) {
    opacity: 1;
    transform: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
