/* Rovix — a rebrand of the spark.fi layout and motion system.
   Structure, spacing, type scale and animation timing follow that site; the
   palette accent, the mark and every word are Rovix's own. Roobert is a
   licensed face, so display type falls to Switzer with Inter behind it (their
   own stylesheet already falls back to Inter at weight 400). */

:root {
  /* ---- Neutrals ---- */
  --black: #101014;
  --white: #fff;
  --gray-10: #f5f5fa;
  --gray-20: #d9d8e3;
  --gray-30: #c1c0cc;
  --gray-40: #a8a7b5;
  --gray-50: #908e9e;
  --gray-60: #787787;
  --gray-70: #626070;
  --gray-90: #373642;
  --gray-100: #23232b;

  /* ---- Rovix gold, in place of their pink/purple ---- */
  --gold-10: #fff7e6;
  --gold-20: #f7e7bf;
  --gold-30: #efd79a;
  --gold-40: #e2be6a;
  --gold-50: #c8a24a;
  --gold-60: #b28c38;
  --gold-70: #96742c;
  --gold-80: #6d5426;
  --gold-90: #4a3a1e;

  --amber-40: #ffcd4d;
  --amber-60: #edaa00;

  --accent: var(--gold-50);
  --gradient-primary: linear-gradient(90deg, #c8a24a, #ffcd4d);
  --gradient-orb: linear-gradient(145deg, #ffd776 0%, #c8a24a 48%, #8d6a24 100%);

  /* ---- Metrics ---- */
  --margin: 24px;
  --header-h: 96px;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root {
    --margin: 40px;
  }
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ------------------------------------------------------------------ type */

.display {
  font-family: Switzer, Inter, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.h1 {
  font-size: 40px;
  line-height: 40px;
}

.h2 {
  font-size: 32px;
  line-height: 100%;
}

.h3 {
  font-size: 28px;
  line-height: 100%;
  letter-spacing: -0.01em;
}

.h4 {
  font-size: 24px;
  line-height: 100%;
}

.h5 {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.01em;
}

@media (min-width: 900px) {
  .h1 {
    font-size: 60px;
    line-height: 58px;
  }

  .h2 {
    font-size: 40px;
  }

  .h3 {
    font-size: 36px;
  }

  .h4 {
    font-size: 32px;
  }

  .h5 {
    font-size: 24px;
    line-height: 28px;
  }
}

.body-lg {
  font-size: 18px;
  line-height: 26px;
}

.body-sm {
  font-size: 14px;
  line-height: 20px;
}

.label {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted {
  color: var(--gray-70);
}

.container {
  /* `width: 100%` is load-bearing: auto inline margins on a flex or grid child
     switch off stretch, so without it the container becomes shrink-to-fit and
     centres itself inside a full-width section. */
  width: 100%;
  padding-inline: var(--margin);
  margin-inline: auto;
  max-width: 1440px;
}

/* ---------------------------------------------------------------- motion */

/* Their signature: headings split into words that rise and fade in sequence. */
.words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
}

.words.in .w {
  animation: wordIn 0.9s var(--ease-expo) both;
  animation-delay: calc(var(--i) * 0.045s);
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade {
  opacity: 0;
  transform: translateY(16px);
}

.fade.in {
  animation: fadeIn 1.1s var(--ease-expo) var(--d, 0s) both;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .words .w,
  .fade {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .marquee-track,
  .orb-glow,
  .hero-lines path {
    animation: none !important;
  }
}

/* ---------------------------------------------------------------- banner */

.banner {
  background: var(--gold-50);
  color: var(--black);
  position: relative;
  z-index: 12;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 48px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.banner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.banner .close {
  position: absolute;
  right: 16px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  opacity: 0.8;
}

.banner .close:hover {
  opacity: 1;
}

body.banner-hidden .banner {
  display: none;
}

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

.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 11;
  color: var(--black);
  transition: background-color 0.3s var(--ease-out);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 44px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--margin);
  padding-right: 0;
}

.header.solid {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.header.on-dark {
  color: var(--white);
}

.header.on-dark.solid {
  background: rgba(16, 16, 20, 0.8);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: Switzer, Inter, sans-serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.logo .mark {
  width: 26px;
  height: 26px;
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-right {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 1100px) {
  .nav,
  .nav-right {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: 16px;
  transition: opacity 0.15s var(--ease-out);
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-link.is-accent {
  color: var(--gold-60);
}

.header.on-dark .nav-link.is-accent {
  color: var(--gold-40);
}

.drop {
  position: relative;
}

.drop > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  transition: opacity 0.15s var(--ease-out);
}

.drop > button .plus {
  width: 10px;
  height: 10px;
  position: relative;
  transition: transform 0.3s var(--ease-expo);
}

.drop > button .plus::before,
.drop > button .plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
}

.drop > button .plus::before {
  width: 10px;
  height: 1px;
}

.drop > button .plus::after {
  width: 1px;
  height: 10px;
}

.drop.open > button .plus {
  transform: rotate(45deg);
}

.drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 190px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-20);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s var(--ease-out),
    transform 0.25s var(--ease-expo),
    visibility 0.2s;
  box-shadow: 0 16px 40px rgba(16, 16, 20, 0.14);
}

.drop.open .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 15px;
  transition: background-color 0.15s var(--ease-out);
}

.drop-panel a:hover {
  background: var(--gray-10);
}

/* The black pill on the right of the header */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  height: var(--header-h);
  padding-inline: 32px;
  font-size: 16px;
  transition: background-color 0.2s var(--ease-out);
}

.header-cta:hover {
  background: var(--gray-100);
}

.burger {
  display: grid;
  gap: 5px;
  padding: 10px 0;
}

@media (min-width: 1100px) {
  .burger {
    display: none;
  }
}

.burger span {
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease-expo);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 10;
  background: var(--white);
  color: var(--black);
  border-bottom: 1px solid var(--gray-20);
  padding: 8px var(--margin) 28px;
  display: none;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-20);
  font-size: 18px;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

/* --------------------------------------------------------------- buttons */

/* Their CTA is a square-cornered box with the arrow above the label. */
.cta-box {
  display: inline-grid;
  gap: 26px;
  border: 1px solid var(--black);
  padding: 18px 20px;
  min-width: 220px;
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.cta-box .arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.3s var(--ease-expo);
}

.cta-box .txt {
  font-size: 17px;
  font-weight: 500;
}

.cta-box:hover {
  background: var(--black);
  color: var(--white);
}

.cta-box:hover .arrow {
  transform: translate(3px, -3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background-color 0.18s var(--ease-out),
    color 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background: var(--gray-20);
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover {
  background: var(--gray-100);
}

.btn-outline {
  border-color: currentColor;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

.link-arrow svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease-expo);
}

.link-arrow:hover svg {
  transform: translate(3px, -3px);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 128px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--black);
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-lines path {
  fill: none;
  stroke: var(--black);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: draw 2.2s var(--ease-expo) forwards;
  animation-delay: calc(var(--i) * 0.09s);
}

.hero-lines path.faint {
  stroke: var(--gray-30);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-body {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  display: grid;
  gap: 28px;
  justify-items: start;
  max-width: 640px;
  margin-inline: 0;
}

.hero-body .desc {
  max-width: 460px;
}

/* The dark stat card in the bottom-right corner */
.stat-card {
  position: relative;
  z-index: 3;
  background: var(--black);
  color: var(--white);
  width: min(410px, calc(100% - var(--margin) * 2));
  padding: 22px 24px 20px;
  display: grid;
  gap: 34px;
  margin-inline: var(--margin) 0;
}

@media (min-width: 1000px) {
  .stat-card {
    position: absolute;
    right: var(--margin);
    bottom: 0;
    margin: 0;
  }
}

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

.stat-title {
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-30);
}

.stat-dots {
  display: flex;
  gap: 4px;
}

.stat-dots button {
  width: 5px;
  height: 18px;
  background: var(--gray-90);
  transition: background-color 0.25s var(--ease-out);
}

.stat-dots button.active {
  background: var(--white);
}

.stat-value {
  font-family: Switzer, Inter, sans-serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-value.empty {
  font-family: Inter, sans-serif;
  font-size: 20px;
  line-height: 56px;
  letter-spacing: 0;
  color: var(--gray-40);
}

.stat-slide {
  display: none;
}

.stat-slide.active {
  display: grid;
  gap: 34px;
  animation: fadeIn 0.6s var(--ease-expo) both;
}

/* ----------------------------------------------------------- dark scenes */

.dark {
  background: var(--black);
  color: var(--white);
}

.scene {
  position: relative;
  background: var(--black);
  color: var(--white);
}

/* A tall track; the stage inside sticks while the page scrolls past it. */
.scene-track {
  height: 420vh;
  position: relative;
}

.scene-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.scene-word {
  position: absolute;
  font-family: Switzer, Inter, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  color: var(--gray-100);
  white-space: pre-line;
}

.scene-word.tl {
  top: 96px;
  left: var(--margin);
}

.scene-word.br {
  bottom: 96px;
  right: var(--margin);
  text-align: right;
}

.orb-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 340px;
  height: 340px;
  will-change: transform;
}

.orb {
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: var(--gradient-orb);
  display: grid;
  place-items: center;
  position: relative;
}

.orb .mark {
  width: 58%;
  height: 58%;
  color: var(--white);
}

.orb-glow {
  position: absolute;
  inset: -18%;
  border-radius: 999px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(200, 162, 74, 0.4), transparent 70%);
  filter: blur(28px);
  animation: breathe 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.ring {
  position: absolute;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  pointer-events: none;
}

/* The three cards that fly in around the orb */
.scene-card {
  position: absolute;
  width: 278px;
  height: 210px;
  border-radius: 12px;
  padding: 18px 20px;
  color: #16161b;
  display: grid;
  align-content: start;
  gap: 10px;
  will-change: transform, opacity;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: -24%;
  border-radius: 999px;
  background: radial-gradient(50% 50% at 50% 50%, var(--halo), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}

.scene-card .cap {
  font-size: 15px;
  font-weight: 500;
}

.scene-card svg {
  width: 120px;
  height: 120px;
  margin-inline: auto;
  color: #16161b;
}

.card-a {
  background: linear-gradient(180deg, #b9b0ff, #cfe0ff);
  --halo: rgba(150, 130, 255, 0.5);
}

.card-b {
  background: linear-gradient(180deg, #f2a24a, #ffd98a);
  --halo: rgba(240, 170, 70, 0.5);
}

.card-c {
  background: linear-gradient(180deg, #d8a24a, #f6dca0);
  --halo: rgba(210, 160, 70, 0.5);
}

.scene-caption {
  position: absolute;
  bottom: 56px;
  left: 50%;
  translate: -50% 0;
  width: min(760px, calc(100% - var(--margin) * 2));
  text-align: center;
  font-family: Switzer, Inter, sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.scene-caption .w {
  display: inline-block;
  color: var(--gray-90);
  transition: color 0.3s var(--ease-out);
}

.scene-caption .w.lit {
  color: var(--white);
}

/* The closing panel of the scene: orb left, copy right */
.scene-outro {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: end;
  padding-inline: var(--margin);
  pointer-events: none;
}

.scene-outro .inner {
  width: min(520px, 100%);
  display: grid;
  gap: 26px;
  justify-items: start;
  opacity: 0;
  pointer-events: none;
}

.scene-outro .inner.on {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track .chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-50);
  white-space: nowrap;
}

.marquee-track .chip .dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--gray-100);
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--gray-30);
  font-family: "IBM Plex Mono", monospace;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

.section {
  padding-block: 96px;
}

@media (min-width: 900px) {
  .section {
    padding-block: 140px;
  }
}

.section-head {
  display: grid;
  gap: 26px;
  justify-items: start;
  max-width: 900px;
}

/* Products slider */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-90);
  font-size: 15px;
  color: var(--gray-40);
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}

.tab.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.product {
  display: none;
  gap: 34px;
  grid-template-columns: 1fr;
  align-items: start;
  padding-top: 48px;
}

.product.active {
  display: grid;
  animation: fadeIn 0.7s var(--ease-expo) both;
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.product .count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--gray-50);
  letter-spacing: 0.06em;
}

.product .copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.product-art {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid var(--gray-100);
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(200, 162, 74, 0.22), transparent 70%),
    var(--gray-100);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

/* Audit and community cards */
.cards {
  display: grid;
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  overflow: hidden;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards.five {
    grid-template-columns: repeat(5, 1fr);
  }
}

.card {
  background: var(--black);
  padding: 30px 28px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 176px;
  transition: background-color 0.2s var(--ease-out);
}

.card:hover {
  background: var(--gray-100);
}

.card .who {
  color: var(--gray-50);
  font-size: 14px;
}

/* News scroller */
.news-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 300px;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.news-rail::-webkit-scrollbar {
  display: none;
}

.news-card {
  scroll-snap-align: start;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 24px;
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  transition:
    border-color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out);
}

.news-card:hover {
  background: var(--gray-100);
  border-color: var(--gray-90);
}

.news-card .tag {
  justify-self: start;
  border: 1px solid var(--gray-90);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--gray-40);
}

.rail-nav {
  display: flex;
  gap: 8px;
}

.rail-nav button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--gray-90);
  display: grid;
  place-items: center;
  transition: background-color 0.2s var(--ease-out);
}

.rail-nav button:hover {
  background: var(--gray-100);
}

/* Big closing CTA */
.big-cta {
  text-align: center;
  display: grid;
  gap: 34px;
  justify-items: center;
}

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

.footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--gray-100);
}

.footer-top {
  display: grid;
  gap: 28px;
  padding-block: 72px;
  justify-items: start;
  border-bottom: 1px solid var(--gray-100);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.footer-cols {
  display: grid;
  gap: 40px;
  padding-block: 56px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-col a {
  color: var(--gray-40);
  font-size: 15px;
  transition: color 0.15s var(--ease-out);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-legal {
  display: grid;
  gap: 16px;
  padding-block: 28px 40px;
  border-top: 1px solid var(--gray-100);
  color: var(--gray-60);
  font-size: 13px;
  line-height: 20px;
}

@media (min-width: 900px) {
  .footer-legal {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

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

/* --------------------------------------------------------- cookie notice */

.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: min(360px, calc(100% - 32px));
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-20);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(16, 16, 20, 0.18);
}

.cookie.hidden {
  display: none;
}

.cookie .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ---------------------------------------------------- section-local layout */

.ticker-head {
  display: grid;
  gap: 40px;
  align-items: end;
}

@media (min-width: 900px) {
  .ticker-head {
    grid-template-columns: 1.6fr 1fr;
  }
}

.ticker-side {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.row-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.art-code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray-30);
  margin: 0;
}

.bounty {
  margin-top: 40px;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 34px 30px;
  display: grid;
  gap: 16px;
  justify-items: start;
}

.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.news-body {
  display: grid;
  gap: 16px;
}
