* {
  box-sizing: border-box;
}
[hidden] {
  /* biome-ignore lint/complexity/noImportantStyles: hiding utility, must win over any component display rule */
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: #fff;
  font-family: Poppins, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  padding: 12px 18px;
  background: var(--color-accent);
  color: #10051e;
  z-index: 1000;
  border-radius: 10px;
}
.skip-link:focus {
  top: 16px;
}
.section-shell {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 1, 10, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(177, 41, 255, 0.24);
}
.inline-link:hover {
  color: var(--color-accent);
}
.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-weight: 900;
  color: #d3bce9;
}
.button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 1px solid transparent;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--color-accent);
  color: #13051f;
  box-shadow: 0 5px 0 #9c6000;
}
.button-secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: #fff;
}
.button-text {
  padding-inline: 0;
  color: #fff;
}
.button-text:hover {
  color: var(--color-accent);
}
.hero {
  min-height: 690px;
  margin-top: 28px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, rgba(2, 1, 10, 0.96) 0%, rgba(10, 3, 25, 0.82) 46%, rgba(25, 5, 50, 0.2) 100%),
    url("assets/optimized/hero-arena-v2-1672.webp") center / cover;
}
.hero-copy {
  padding: 78px 0 62px 64px;
  position: relative;
  z-index: 4;
  align-self: center;
}
.hero h1 {
  font-size: clamp(4.8rem, 7.2vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  margin: 28px 0 34px;
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}
.hero-copy > p {
  font-size: 1.25rem;
  max-width: 590px;
  color: #d7cae4;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 38px;
}
.hero-art {
  position: relative;
  min-height: 620px;
  perspective: 1200px;
}
.hero-pack-wrap {
  --rx: 0deg;
  --ry: 0deg;
  --tx: 0px;
  --ty: 0px;
  position: absolute;
  width: 360px;
  right: 8%;
  top: 12%;
  z-index: 3;
  transform: translate3d(var(--tx), var(--ty), 0) rotateX(var(--rx)) rotateY(var(--ry)) rotate(3deg);
  transition: transform 0.18s ease-out;
  transform-style: preserve-3d;
}
.hero-pack {
  width: 100%;
  filter: drop-shadow(0 30px 36px rgba(0, 0, 0, 0.55)) saturate(1.06);
  transition: filter 0.18s;
}
.hero-pack-wrap.is-moving .hero-pack {
  filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.58)) saturate(1.2) hue-rotate(var(--holo-hue, 0deg))
    brightness(var(--holo-light, 1));
}
.hero-card-orbit {
  --card-x: 0px;
  --card-y: 0px;
  --card-ry: 0deg;
  --card-scroll-x: 0px;
  --card-scroll-y: 0px;
  --card-scroll-r: 0deg;
  position: absolute;
  z-index: 2;
  transition: transform 0.2s ease-out;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.56));
}
.hero-card-orbit img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.card-one {
  width: 170px;
  right: 43%;
  top: 24%;
  transform: translate3d(calc(var(--card-x) + var(--card-scroll-x)), calc(var(--card-y) + var(--card-scroll-y)), 0)
    rotate(calc(-12deg + var(--card-scroll-r))) rotateY(var(--card-ry));
}
.card-two {
  width: 134px;
  right: 17%;
  top: 7%;
  z-index: 1;
  transform: translate3d(
      calc(var(--card-x) * -0.4 + var(--card-scroll-x) * -0.45),
      calc(var(--card-y) * -0.5 + var(--card-scroll-y) * -0.5),
      0
    )
    rotate(calc(12deg + var(--card-scroll-r) * -0.5));
}
.card-three {
  width: 145px;
  right: 5%;
  top: 49%;
  z-index: 1;
  transform: translate3d(
      calc(var(--card-x) * 0.55 + var(--card-scroll-x) * 0.6),
      calc(var(--card-y) * 0.35 + var(--card-scroll-y) * 0.45),
      0
    )
    rotate(calc(13deg + var(--card-scroll-r) * 0.7));
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.section-heading h2,
.paths-section h2,
.token-section h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1;
  margin: 12px 0 0;
  letter-spacing: -0.045em;
}
.section-heading p {
  max-width: 470px;
  color: #bbaecb;
  margin: 12px 0 0;
}
.inline-link {
  font-weight: 900;
  color: #d6c1ee;
}
.pools-section,
.how-section,
.trust-section,
.paths-section,
.token-section {
  padding-top: 116px;
  scroll-margin-top: 90px;
}
.featured-pool {
  display: grid;
  grid-template-columns: 36% 64%;
  background: #10051e;
  border: 1px solid #492479;
  border-radius: 28px;
  overflow: hidden;
}
.pool-visual {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, #5d1683, transparent 50%),
    url("assets/optimized/08-banni-re-foule-et-packs-1400.webp") center / cover;
}
.pool-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(16, 5, 30, 0.35));
}
.pool-visual img {
  width: 240px;
  position: relative;
  z-index: 2;
  transform: rotate(-5deg);
  filter: drop-shadow(0 25px 30px #000);
}
.pool-content {
  padding: 48px;
}
.pool-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.pool-content h3 {
  font-size: 2.7rem;
  line-height: 1;
  margin: 10px 0 0;
}
.pool-content > p {
  color: #bdafca;
  font-size: 1.08rem;
  max-width: 650px;
}
.pool-progress {
  margin: 34px 0;
}
.pool-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.pool-progress strong {
  font-size: 1.3rem;
  color: var(--color-accent);
}
.track {
  height: 10px;
  background: var(--color-bg);
  border: 1px solid #492479;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}
.track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-violet), var(--color-accent));
  transition: width 0.4s;
}
.pulls-section {
  padding-top: 116px;
  overflow: hidden;
}
.pulls-section > .section-shell {
  margin-bottom: 30px;
}
.pulls-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 max(20px, calc((100vw - 1240px) / 2)) 32px;
  scrollbar-width: none;
  cursor: grab;
  scroll-snap-type: x proximity;
}
.pulls-rail::-webkit-scrollbar {
  display: none;
}
.pulls-rail:active {
  cursor: grabbing;
}
.pull-card {
  flex: 0 0 238px;
  background: #10051e;
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
  padding: 12px;
  scroll-snap-align: start;
}
.pull-card img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  background: #080212;
  border-radius: 12px;
}
.pull-card div {
  padding: 15px 6px 5px;
}
.pull-card strong,
.pull-card span {
  display: block;
}
.pull-card span {
  font-size: 0.78rem;
  color: #9f91b0;
  margin-top: 4px;
}
.mode-tabs {
  display: inline-flex;
  padding: 5px;
  background: #10051e;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  margin-bottom: 28px;
}
.mode-tab {
  border: 0;
  background: transparent;
  color: #aa98bb;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
}
.mode-tab.is-active {
  background: var(--color-border);
  color: #fff;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.steps article,
.trust-grid article {
  padding: 26px;
  background: #10051e;
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
}
.steps article > span,
.trust-grid article > span {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  font-weight: 900;
}
.steps h3,
.trust-grid h3 {
  margin: 28px 0 8px;
  font-size: 1.2rem;
}
.steps p,
.trust-grid p {
  margin: 0;
  color: #a99ab6;
  font-size: 0.92rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-grid a {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--color-accent);
}
.rules {
  margin-top: 16px;
  background: #10051e;
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: 18px 22px;
}
.rules summary {
  cursor: pointer;
  font-weight: 900;
}
.rules p {
  color: #aaa0b5;
}
.paths-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.paths-section article {
  padding: 48px;
  border-radius: 24px;
  border: 1px solid #492479;
  background: #10051e;
}
.paths-section article:last-child {
  background: linear-gradient(135deg, var(--color-border-subtle), var(--color-surface));
}
.paths-section p {
  color: #b4a6c0;
  min-height: 50px;
}
.token-section {
  display: grid;
  grid-template-columns: 150px 1fr 1.25fr;
  gap: 34px;
  align-items: center;
}
.token-mark {
  width: 150px;
  height: 150px;
  border-radius: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
}
.token-mark img {
  width: 105px;
}
.token-section p {
  color: #b0a1bc;
}
.contract {
  padding: 18px;
  background: #10051e;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
}
.contract > span,
.contract small {
  display: block;
  font-size: 0.72rem;
  color: #9f91ae;
}
.contract code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 8px 0;
  color: #e8dff0;
}
.contract button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--color-accent);
  font-weight: 900;
  cursor: pointer;
}
.site-footer {
  margin-top: 80px;
  padding: 52px 0 24px;
  border-top: 1px solid var(--color-border-subtle);
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 34px;
}
.site-footer strong,
.site-footer a {
  display: block;
}
.site-footer strong {
  margin-bottom: 14px;
}
.site-footer a {
  color: #9f91ad;
  margin: 8px 0;
  font-size: 0.87rem;
}
.site-footer a:hover {
  color: var(--color-accent);
}
.disclaimer {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid #241138;
  color: #766c80;
  font-size: 0.75rem;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    padding: 56px 34px 10px;
  }
  .hero-art {
    min-height: 470px;
  }
  .hero-pack-wrap {
    width: 270px;
    right: 12%;
    top: 14%;
  }
  .card-one {
    right: 49%;
    width: 130px;
  }
  .card-two {
    width: 95px;
  }
  .card-three {
    width: 105px;
  }
  .featured-pool {
    grid-template-columns: 1fr;
  }
  .pool-visual {
    min-height: 350px;
  }
  .steps,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .token-section {
    grid-template-columns: 1fr;
  }
  .token-mark {
    display: none;
  }
  .site-footer {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .site-footer > div:nth-child(4) {
    grid-column: 2;
  }
  .disclaimer {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 24px, 1240px);
  }
  .hero {
    margin-top: 12px;
    border-radius: 22px;
  }
  .hero-copy {
    padding: 42px 22px 0;
  }
  .hero h1 {
    font-size: 3.6rem;
    margin: 20px 0;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .button-text {
    justify-content: flex-start;
    min-height: 40px;
  }
  .hero-art {
    min-height: 400px;
  }
  .hero-pack-wrap {
    width: 225px;
    right: 4%;
    top: 20%;
  }
  .card-one {
    width: 110px;
    right: 52%;
    top: 29%;
  }
  .card-two {
    width: 78px;
    right: 23%;
    top: 10%;
  }
  .card-three {
    width: 85px;
    right: 1%;
    top: 53%;
  }
  .pools-section,
  .pulls-section,
  .how-section,
  .trust-section,
  .paths-section,
  .token-section {
    padding-top: 82px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .featured-pool {
    border-radius: 20px;
  }
  .pool-visual {
    min-height: 290px;
  }
  .pool-visual img {
    width: 175px;
  }
  .pool-content {
    padding: 28px 22px;
  }
  .pool-title-row {
    display: block;
  }
  .pool-content h3 {
    font-size: 2rem;
  }
  .pull-card {
    flex-basis: 190px;
  }
  .pull-card img {
    height: 245px;
  }
  .steps,
  .trust-grid,
  .paths-section {
    grid-template-columns: 1fr;
  }
  .token-section {
    gap: 18px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .disclaimer {
    grid-column: 1 / -1;
  }
  .site-footer > div:nth-child(4) {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion, accessibility override of every animation */
    animation: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion, accessibility override of every animation */
    transition: none !important;
  }
}

.hero h1 {
  font-family: Poppins, sans-serif;
  font-weight: 900;
  font-style: italic;
}
.contract code,
.pool-progress strong {
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.eyebrow,
.button,
h2,
h3,
strong {
  font-family: Poppins, sans-serif;
}
.token-section > * {
  min-width: 0;
}
.token-actions {
  min-width: 0;
}
.contract code {
  max-width: 100%;
  white-space: nowrap;
}
.pulls-rail {
  scroll-behavior: auto;
}
.pool-visual .pool-drop-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 2;
  transform: none;
  filter: none;
}
@media (max-width: 900px) {
  .pool-visual .pool-drop-art {
    object-position: center 38%;
  }
}
/* Animation spacing: let the cards fan out clearly around the pack. */
.card-one {
  width: 190px;
  right: 50%;
  top: 19%;
}
.card-two {
  width: 150px;
  right: 10%;
  top: 2%;
}
.card-three {
  width: 160px;
  right: -1%;
  top: 46%;
}
.pulls-rail {
  scroll-snap-type: none;
}
.pull-card {
  scroll-snap-align: none;
}
@media (max-width: 900px) {
  .card-one {
    width: 145px;
    right: 54%;
    top: 22%;
  }
  .card-two {
    width: 108px;
    right: 12%;
    top: 4%;
  }
  .card-three {
    width: 118px;
    right: -2%;
    top: 47%;
  }
}
@media (max-width: 620px) {
  .card-one {
    width: 118px;
    right: 58%;
    top: 25%;
  }
  .card-two {
    width: 88px;
    right: 14%;
    top: 7%;
  }
  .card-three {
    width: 96px;
    right: -4%;
    top: 49%;
  }
}
/* Final homepage simplification */
.pool-content > .button {
  margin-top: 10px;
}
.team-section {
  padding-top: 116px;
}
.team-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}
.team-heading h2 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 12px 0 0;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.team-profile {
  min-height: 390px;
  padding: 46px;
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 34px;
  align-items: start;
  background: #10051e;
  border: 1px solid var(--color-border-subtle);
  border-radius: 26px;
}
.team-profile h3 {
  font-size: 2.1rem;
  line-height: 1;
  margin: 16px 0;
}
.team-profile p {
  color: #b8a9c5;
  margin: 0 0 24px;
}
.team-avatar {
  width: 138px;
  height: 138px;
  border-radius: 30px;
  object-fit: cover;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.spark-profile {
  background: linear-gradient(145deg, var(--color-surface), #10051e);
}
.spark-avatar {
  object-fit: cover;
  border-color: #ff8a00;
}
.team-profile blockquote {
  margin: 24px 0;
  padding: 16px 0 16px 18px;
  border-left: 3px solid var(--color-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.team-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.team-links a {
  color: var(--color-accent);
  font-size: 0.86rem;
  font-weight: 800;
}
.token-simple {
  padding-top: 116px;
  padding-bottom: 10px;
}
.token-copy h2 {
  max-width: 520px;
}
.contract-simple {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
}
.contract-simple > div {
  min-width: 0;
}
.contract-simple .copy-button {
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-border-subtle);
  color: #fff;
}
.contract-simple .copy-button:hover {
  background: var(--color-border);
}
.contract-simple small {
  grid-column: 1 / -1;
}
.trade-button {
  width: 100%;
  margin-top: 12px;
}
.token-simple .token-actions {
  align-self: center;
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-profile {
    min-height: 0;
  }
  .token-simple {
    grid-template-columns: 1fr;
  }
  .token-simple .token-mark {
    display: grid;
  }
  .token-simple .token-actions {
    width: 100%;
  }
}
@media (max-width: 620px) {
  .team-section {
    padding-top: 82px;
  }
  .team-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .team-profile {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }
  .contract-simple {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px;
  }
  .contract-simple .copy-button {
    padding: 0 15px;
  }
  .token-simple {
    padding-top: 82px;
  }
  .token-simple .token-mark {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }
  .token-simple .token-mark img {
    width: 70px;
  }
}
/* Keep the team heading consistent with every other section heading. */
.team-heading {
  display: block;
  max-width: 900px;
}
.team-heading h2 {
  margin-top: 12px;
}

/* 2026-09-24 homepage copy refresh */
.team-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}
.founder-profile {
  border-color: var(--color-border);
  background: linear-gradient(145deg, var(--color-surface), #10051e);
  box-shadow: 0 20px 60px rgba(97, 56, 162, 0.12);
}
.spark-profile {
  grid-template-columns: 108px 1fr;
  padding: 38px;
  opacity: 0.94;
}
.spark-profile .team-avatar {
  width: 108px;
  height: 108px;
  border-radius: 25px;
}
.site-footer {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
}
.site-footer > div {
  padding-right: 30px;
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .spark-profile {
    grid-template-columns: 108px 1fr;
  }
  .site-footer {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .spark-profile {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer > div:last-of-type {
    grid-column: 1 / -1;
  }
}

/* 2026-09-24 layout refinements */
.trust-section .section-heading {
  display: block;
}
.trust-section .section-heading p {
  max-width: 760px;
  margin-top: 20px;
}
.team-grid {
  grid-template-columns: 1fr 1fr;
}
.spark-profile {
  grid-template-columns: 138px 1fr;
  padding: 46px;
  opacity: 1;
}
.spark-profile .team-avatar {
  width: 138px;
  height: 138px;
  border-radius: 30px;
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .hero-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .button-text {
    padding-inline: 24px;
  }
  .pool-content > .button {
    display: flex;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
  }
  .spark-profile {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .spark-profile .team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }
}

.coming-soon:disabled {
  opacity: 1;
  cursor: default;
}
.coming-soon:disabled:hover {
  transform: none;
}

/* Give the new brand marks more space within their existing containers. */
.token-simple .token-mark img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* On mobile, align the token mark with the contract instead of the heading. */
@media (max-width: 620px) {
  .token-simple {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 18px;
  }
  .token-simple .token-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .token-simple .token-mark {
    grid-column: 1;
    grid-row: 2;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    align-self: center;
  }
  .token-simple .token-actions {
    display: contents;
  }
  .token-simple .contract-simple {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    padding: 12px;
    gap: 8px;
  }
  .token-simple .contract-simple > div > span {
    font-size: 0.85rem;
  }
  .token-simple .contract-simple .copy-button {
    padding: 0 10px;
    font-size: 0.8rem;
  }
  .token-simple .trade-button {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
  }
}
@media (max-width: 360px) {
  .token-simple {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 10px;
  }
  .token-simple .token-mark {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }
}

/* Compact team cards, with matching X links in each profile's colour. */
.team-profile {
  min-height: 0;
  padding: 36px 36px 28px;
  gap: 28px;
}
.team-profile .team-follow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
  min-height: 32px;
}
.founder-profile .team-follow {
  color: var(--color-accent);
}
.spark-profile .team-follow {
  color: #c500ff;
}
.team-x-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.team-follow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.team-follow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 3px;
}
@media (max-width: 620px) {
  .team-profile {
    padding: 28px 28px 24px;
    gap: 24px;
  }
}

/* Keep the two profile links on a shared baseline, using navigation lavender. */
.team-profile {
  align-items: stretch;
}
.team-profile > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.team-profile .team-follow,
.team-profile .team-links {
  margin-top: auto;
}
.team-profile .team-links .team-follow {
  margin-top: 0;
}
.team-profile .team-follow {
  color: #d8c6ea;
}

/* Decode below-fold art without moving the surrounding layout. */
.hero-pack {
  height: auto;
}
.hero-card-orbit img {
  height: auto;
}
.pull-card img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
.pool-visual {
  contain: layout;
}
/* Uploaded artwork keeps its full composition on desktop, even beside long pool details. */
@media (min-width: 901px) {
  .featured-pool:has(.pool-visual.has-custom-cover) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .pool-visual.has-custom-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: #10051e;
  }
  .pool-visual.has-custom-cover::after {
    display: none;
  }
  .pool-visual.has-custom-cover .pool-drop-art {
    object-fit: contain;
    object-position: center;
  }
}
@media (max-width: 760px) {
  .hero {
    background-image:
      linear-gradient(90deg, rgba(2, 1, 10, 0.96) 0%, rgba(10, 3, 25, 0.82) 46%, rgba(25, 5, 50, 0.2) 100%),
      url("assets/optimized/hero-arena-v2-960.webp");
  }
}

/* Readable footer links with comfortable touch targets. */
.site-footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  color: #c1b1d4;
  line-height: 1.5;
}
.site-footer .disclaimer {
  color: #b5a7c2;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Keep footer groups aligned independently of their link count. */
.site-footer {
  align-items: start;
  justify-content: stretch;
  text-align: left;
}
.site-footer > div {
  min-width: 0;
  align-self: start;
}
.site-footer strong {
  line-height: 1.5;
  text-align: left;
}
@media (max-width: 620px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 28px;
  }
  .site-footer > div {
    padding-right: 0;
  }
  .site-footer > div:last-of-type {
    grid-column: 1 / -1;
  }
  .site-footer strong {
    margin: 0 0 12px;
  }
  .site-footer a {
    justify-content: flex-start;
    overflow-wrap: anywhere;
  }
  .site-footer .disclaimer {
    text-align: left;
  }
}

/* Team cards: picture and its X link in the left column, the text on the right. */
.team-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.team-profile .team-side .team-follow,
.team-profile .team-side .team-links {
  margin-top: 0;
}

/* The contract address is shown whole: it wraps instead of being cut with an ellipsis. */
.contract code {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 13px;
  letter-spacing: -0.02em;
}

/* Team cards: the X link is centred under the picture (the column is as wide as the picture). */
.team-profile > .team-side {
  align-items: center;
  justify-self: start;
}
/* SPARK's mark is shown on the card itself, without a tile behind it. */
.spark-profile .team-avatar {
  background: none;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}
/* Token address: the full address on wide screens; 5gDn…meta on phones (copy still takes the full one). */
.address-short {
  display: none;
}
@media (max-width: 620px) {
  .address-full {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .address-short {
    display: inline;
  }
  /* "Private Krews" over "Coming Soon" on phones. */
  .mode-tab .tab-separator {
    display: none;
  }
  .mode-tab .tab-soon {
    display: block;
  }
}
/* Compact contract box: the empty status line takes no room, smaller label, tighter padding. */
.contract-simple {
  padding: var(--space-3) var(--space-4);
  row-gap: 0;
}
.contract-simple small:empty {
  display: none;
}
.contract-simple > div > span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-subtle);
}
.contract-simple code {
  margin: var(--space-1) 0 0;
}
.contract-simple .copy-button {
  height: 40px;
}
/* Phones: the Public Pools / Private Krews switch and the Join the Pool buttons span the full width. */
@media (max-width: 620px) {
  .mode-tabs {
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }
  .mode-tab {
    flex: 1 1 0;
    min-width: 0;
  }
  #featured-link,
  #pool-types article .button-primary,
  #pool-types article .coming-soon {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Phones: the name sits beside the picture, centred on it; the X link under the picture; the text below. */
@media (max-width: 620px) {
  .team-profile {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--space-5);
    row-gap: var(--space-2);
    align-items: center;
  }
  .team-profile > div:not(.team-side),
  .team-profile > .team-side {
    display: contents;
  }
  .team-profile .team-avatar {
    grid-column: 1;
    grid-row: 1;
  }
  .team-profile .team-side > .team-follow,
  .team-profile .team-side > .team-links {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }
  .team-profile .team-name {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .team-profile .team-name h3 {
    margin-bottom: 0;
  }
  .team-profile p {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: var(--space-3) 0 0;
  }
}
/* Narrow screens: the team title wraps naturally (the forced break would leave "dream" alone on a line). */
@media (max-width: 760px) {
  #team-title br {
    display: none;
  }
  #team-title {
    text-wrap: balance;
  }
}
@media (max-width: 620px) {
  /* Same size as the other section titles on phones. */
  #team-title {
    font-size: 2.4rem;
  }
}
