:root {
  color-scheme: dark;
  --bg: #030714;
  --bg-2: #07101f;
  --panel: rgba(10, 16, 34, 0.74);
  --panel-strong: rgba(19, 24, 45, 0.9);
  --line: rgba(198, 110, 255, 0.32);
  --line-soft: rgba(255, 255, 255, 0.13);
  --text: #f6f2ff;
  --muted: #bfc2d4;
  --violet: #b13cff;
  --violet-2: #7b1fe8;
  --green: #74f96f;
  --yellow: #ffd64d;
  --orange: #ff8b3d;
  --cyan: #6ddfff;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 12%, rgba(114, 23, 221, 0.28), transparent 24rem),
    radial-gradient(circle at 85% 32%, rgba(244, 109, 43, 0.12), transparent 22rem),
    linear-gradient(180deg, #04040c 0%, var(--bg) 42%, #05101f 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(183, 67, 255, 0.45) 0 1px, transparent 1.5px);
  background-position: 0 0, 36px 52px;
  background-size: 120px 120px, 180px 180px;
  opacity: 0.22;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
  padding: 0.82rem max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 6, 16, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: max-content;
  font-weight: 800;
}

.brand-token {
  color: var(--violet);
  font-size: clamp(1.55rem, 2.35vw, 2rem);
  line-height: 1;
}

.brand-name {
  color: var(--text);
  font-size: 0.78rem;
}

.brand-logo {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 16px rgba(177, 60, 255, 0.56));
}

.sun-mark {
  position: relative;
  display: inline-block;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  border: 3px solid var(--violet);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(177, 60, 255, 0.86);
}

.sun-mark::before {
  position: absolute;
  inset: -0.62rem;
  content: "";
  background: repeating-conic-gradient(from 0deg, var(--violet) 0 5deg, transparent 5deg 18deg);
  mask: radial-gradient(circle, transparent 0 52%, #000 54%);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 1.7vw, 1.4rem);
  flex: 1;
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.88);
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.82rem;
  height: 2px;
  content: "";
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.3rem;
  padding: 0.58rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.74rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, #b73dff, #6516dc);
  box-shadow: 0 0 28px rgba(150, 40, 255, 0.35);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(5, 9, 20, 0.58);
}

.button.ghost {
  min-height: 2.25rem;
  padding: 0.48rem 0.85rem;
  border-color: rgba(177, 60, 255, 0.4);
  color: #e299ff;
  background: rgba(130, 35, 217, 0.18);
}

.button.ghost.green {
  border-color: rgba(116, 249, 111, 0.44);
  color: #b8ff9a;
  background: rgba(53, 130, 42, 0.18);
}

.button.compact {
  min-height: 2.15rem;
  padding: 0.52rem 0.9rem;
}

main {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(19rem, 0.42fr) minmax(32rem, 0.58fr);
  gap: 1rem;
  align-items: center;
  min-height: 390px;
  padding: 2.1rem 0 1.35rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0 -6vw;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 13% 36%, rgba(133, 36, 255, 0.22), transparent 22rem),
    radial-gradient(circle at 76% 31%, rgba(255, 107, 43, 0.1), transparent 20rem),
    linear-gradient(90deg, rgba(3, 7, 20, 1), rgba(3, 7, 20, 0.92) 39%, rgba(3, 7, 20, 0.62) 67%, rgba(3, 7, 20, 0.96) 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 2rem;
  width: 46%;
  height: 12rem;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(177, 60, 255, 0.14), transparent);
  filter: blur(28px);
}

.hero-content {
  width: min(29rem, 100%);
  padding-left: clamp(1rem, 2.2vw, 2rem);
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
}

.hero-media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: calc(100% + 4rem);
  margin-left: -2.2rem;
  margin-right: -1.8rem;
  min-height: 390px;
  background: url("assets/hero-character.png") center right / cover no-repeat;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 84%, transparent 100%);
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 7, 20, 0.98) 0%, rgba(3, 7, 20, 0.6) 12%, rgba(3, 7, 20, 0.14) 36%, rgba(3, 7, 20, 0.08) 72%, rgba(3, 7, 20, 0.78) 100%),
    linear-gradient(180deg, rgba(3, 7, 20, 0.18), rgba(3, 7, 20, 0.28));
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 48%, rgba(3, 7, 20, 0.95), transparent 15rem),
    radial-gradient(circle at 100% 48%, rgba(3, 7, 20, 0.82), transparent 13rem);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.45rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span,
.section-head h2 + p,
.feature-strip h2,
.initiative h3,
.cta-band h2 {
  color: var(--violet);
}

.hero-copy {
  max-width: 24rem;
  color: #e2e4ed;
  font-size: 0.86rem;
  line-height: 1.48;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.feature-strip,
.stats-panel,
.initiative,
.reward,
.cta-band {
  border: 1px solid var(--line-soft);
  background: linear-gradient(140deg, rgba(12, 18, 37, 0.86), rgba(6, 11, 25, 0.66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: -0.1rem;
  border-radius: 8px;
  overflow: hidden;
}

.feature-strip article {
  min-height: 8.1rem;
  padding: 1rem 1.05rem;
  border-right: 1px solid var(--line-soft);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip h2 {
  margin: 0.45rem 0 0.28rem;
  font-size: 0.88rem;
}

.feature-strip p,
.initiative p,
.reward p,
.roadmap p,
.section-head p,
.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-strip p {
  min-height: 2.6rem;
  font-size: 0.62rem;
  line-height: 1.5;
}

.feature-strip a {
  color: #d06bff;
  font-weight: 800;
  font-size: 0.66rem;
}

.feature-logo,
.line-icon {
  position: relative;
  display: block;
  width: 2.45rem;
  height: 2.45rem;
  color: var(--violet);
  filter: drop-shadow(0 0 12px rgba(185, 74, 255, 0.8));
}

.feature-logo {
  border-radius: 50%;
  object-fit: cover;
  background: rgba(88, 24, 150, 0.38);
  box-shadow: 0 0 22px rgba(185, 74, 255, 0.42);
}

.line-icon {
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gear-icon {
  stroke-width: 2.4;
}

.stat-icon::before {
  content: none;
}

.stat-icon {
  display: block;
  grid-row: span 3;
  width: 3rem;
  height: 3rem;
  padding: 0.48rem;
  border: 2px solid rgba(246, 243, 255, 0.84);
  border-radius: 12px;
  color: rgba(247, 244, 255, 0.98);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(255, 255, 255, 0.02);
  filter: drop-shadow(0 0 10px rgba(238, 235, 249, 0.18));
}

.stat-supply {
  padding: 0.42rem;
}

.stat-trend,
.stat-holders {
  padding: 0.5rem;
}

.stat-farming {
  padding: 0.46rem;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0.7rem 0 1.25rem;
  border-radius: 8px;
}

.infrastructure-row {
  display: flex;
  justify-content: flex-end;
  margin: -0.35rem 0 1rem;
}

.infra-open {
  min-width: 10.5rem;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.65rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border-right: 1px solid var(--line-soft);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: clamp(0.95rem, 1.25vw, 1.25rem);
  line-height: 1;
}

.metric span,
.metric small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
}

.metric small {
  color: var(--muted);
}

.metric.is-live::after {
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.25rem;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.terra-mark {
  grid-row: span 3;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  object-fit: contain;
  padding: 0.35rem;
  background: #30205f;
  box-shadow: 0 0 20px rgba(177, 60, 255, 0.38), 0 0 12px rgba(84, 147, 247, 0.32);
  filter: drop-shadow(0 0 8px rgba(177, 60, 255, 0.25));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0.7rem;
}

.section-head h2,
.roadmap h2 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.section-head p {
  font-size: 0.78rem;
}

.initiative-grid,
.reward-grid {
  display: grid;
  gap: 0.75rem;
}

.initiative-grid {
  grid-template-columns: repeat(3, 1fr);
}

.initiative {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 12.2rem;
  padding: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.initiative::after {
  position: absolute;
  inset: auto -20% -35% auto;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(177, 60, 255, 0.4);
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(123, 31, 232, 0.42), transparent 60%);
  filter: blur(1px);
}

.initiative h3 {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
}

.initiative p {
  font-size: 0.68rem;
}

.initiative ul,
.phase ul {
  margin: 0.55rem 0 0.75rem;
  padding-left: 1.1rem;
  color: #d9ddec;
  font-size: 0.64rem;
  line-height: 1.62;
}

.ds-logo {
  width: 3.55rem;
  height: 3.55rem;
  margin-right: 0.8rem;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 139, 61, 0.46));
}

.planet {
  width: 3.55rem;
  height: 3.55rem;
  margin-right: 0.8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 35%, #81c2ff 0 7%, #253f96 28%, #111833 65%);
  box-shadow: 0 0 24px rgba(109, 223, 255, 0.42);
}

.planet::after {
  display: block;
  width: 5.2rem;
  height: 1.05rem;
  margin: 1.42rem 0 0 -0.6rem;
  border: 2px solid rgba(135, 166, 255, 0.7);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.mini-dashboard {
  position: absolute;
  right: 0.9rem;
  bottom: 0.7rem;
  width: 8rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background:
    linear-gradient(175deg, transparent 42%, rgba(177, 60, 255, 0.75) 43% 46%, transparent 47%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #07101c;
  background-size: 100% 100%, 28px 100%, 100% 100%;
  transform: rotate(-7deg);
}

.image-card::before {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  width: 11rem;
  height: 12rem;
  content: "";
  background: url("assets/more-to-come.png") center / cover no-repeat;
  opacity: 0.72;
}

.reward-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0.6rem;
}

.reward {
  position: relative;
  min-height: 15.2rem;
  padding: 1.05rem;
  border-radius: 8px;
  overflow: hidden;
}

.reward::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-image: linear-gradient(90deg, rgba(5, 9, 21, 0.88) 0 44%, rgba(5, 9, 21, 0.48) 66%, rgba(5, 9, 21, 0.2) 100%), var(--reward-image);
  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: 100% 100%, auto 100%;
  opacity: 0.95;
}

.reward > * {
  position: relative;
  z-index: 1;
}

.reward h3 {
  color: var(--violet);
  font-size: 0.92rem;
}

.reward-farming h3 {
  color: var(--green);
}

.reward strong {
  display: block;
  max-width: 12rem;
  font-size: clamp(1.85rem, 2.6vw, 2.65rem);
  line-height: 1.03;
}

.reward span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1rem;
  font-weight: 800;
}

.reward p {
  max-width: 12rem;
  min-height: 3.7rem;
  font-size: 0.68rem;
  line-height: 1.55;
}

.reward-staking {
  --reward-image: url("assets/reward-staking.png");
}

.reward-farming {
  --reward-image: url("assets/reward-farming.png");
}

.reward-yield {
  --reward-image: url("assets/reward-yield.png");
}

.roadmap {
  width: 100%;
  margin-left: 0;
  padding: 1.2rem 0 0.55rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 0.95rem;
}

.timeline::before {
  position: absolute;
  top: 1.62rem;
  left: 0;
  right: 0.25rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--violet), var(--violet), var(--violet));
  box-shadow: 0 0 18px rgba(177, 60, 255, 0.75);
}

.timeline::after {
  position: absolute;
  top: 1.34rem;
  right: -0.15rem;
  color: #d66cff;
  content: "→";
  font-size: 1rem;
  text-shadow: 0 0 14px rgba(177, 60, 255, 0.9);
}

.phase {
  position: relative;
  padding-top: 3.55rem;
}

.phase span {
  position: absolute;
  top: 0.32rem;
  left: 0.35rem;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 2px solid var(--violet);
  border-radius: 50%;
  color: #fff;
  font-size: 1.35rem;
  background: rgba(18, 10, 35, 0.95);
  box-shadow: 0 0 22px rgba(177, 60, 255, 0.7);
}

.phase.done span {
  border-color: var(--green);
  background: rgba(20, 87, 32, 0.95);
  box-shadow: 0 0 24px rgba(116, 249, 111, 0.65);
}

.phase h3 {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
}

.phase.done li {
  color: var(--green);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(10rem, 12rem) minmax(24rem, 1fr) minmax(15rem, 0.52fr);
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.2rem);
  min-height: 8.8rem;
  margin: 0.95rem 0 0;
  padding: 0 1rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 42%, rgba(177, 60, 255, 0.2), transparent 21rem),
    linear-gradient(90deg, rgba(13, 17, 36, 0.98), rgba(29, 20, 58, 0.92) 45%, rgba(7, 12, 26, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(177, 60, 255, 0.18);
}

.cta-character {
  align-self: stretch;
  min-height: 8.8rem;
  margin-left: -0.4rem;
  background: url("assets/cta-character.png") left bottom / auto 124% no-repeat;
}

.cta-band h2 {
  margin-bottom: 0.42rem;
  font-size: clamp(1.28rem, 1.8vw, 1.62rem);
}

.cta-band p {
  max-width: 28.5rem;
  margin-bottom: 0.1rem;
  font-size: 0.76rem;
}

.cta-band .actions {
  margin-top: 0.95rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  min-height: 6.1rem;
  padding-left: clamp(2rem, 4vw, 4.2rem);
  border-left: 1px solid var(--line-soft);
}

.social h3 {
  flex-basis: 100%;
  margin: 0 0 0.1rem;
  color: #d66cff;
  font-size: 1.05rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(177, 60, 255, 0.66);
  border-radius: 10px;
  color: #e9a7ff;
  font-weight: 900;
  background: rgba(99, 23, 158, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 20px rgba(177, 60, 255, 0.16);
}

.social svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 2.2fr) repeat(3, minmax(6rem, 0.75fr)) minmax(9rem, 0.9fr);
  gap: 1.45rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.05rem 0 1.25rem;
  border-top: 1px solid var(--line-soft);
}

.site-footer .brand-token {
  font-size: 1.65rem;
}

.site-footer h3 {
  margin-bottom: 0.45rem;
  color: #d46cff;
  font-size: 0.78rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 0.12rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.66rem;
}

.site-footer p {
  font-size: 0.72rem;
}

.copyright {
  justify-self: end;
  align-self: center;
  font-size: 0.72rem;
}

.infra-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.infra-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(25rem, 100vw);
  height: 100dvh;
  padding: 1.35rem;
  border-left: 1px solid rgba(177, 60, 255, 0.32);
  background:
    radial-gradient(circle at 18% 5%, rgba(177, 60, 255, 0.16), transparent 15rem),
    linear-gradient(180deg, rgba(8, 15, 30, 0.98), rgba(4, 9, 20, 0.98));
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.28s ease;
}

.infra-is-open .infra-backdrop {
  opacity: 1;
}

.infra-is-open .infra-drawer {
  transform: translateX(0);
}

.infra-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
  font-size: 1.25rem;
  cursor: pointer;
}

.infra-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding-right: 2rem;
}

.infra-logo {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 18px rgba(177, 60, 255, 0.62));
}

.infra-heading h2 {
  margin-bottom: 0.25rem;
  color: var(--violet);
  font-size: 1.35rem;
}

.infra-heading p,
.infra-panel p,
.infra-note p {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.infra-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--line-soft);
}

.infra-tabs button {
  position: relative;
  padding: 0 0 0.7rem;
  border: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font: inherit;
  font-size: 0.68rem;
  cursor: pointer;
}

.infra-tabs button::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  content: "";
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: center;
}

.infra-tabs button.is-active {
  color: #fff;
}

.infra-tabs button.is-active::after {
  transform: scaleX(1);
}

.infra-panel h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.infra-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin: 0.9rem 0 1.25rem;
}

.infra-stats article,
.infra-entry,
.infra-note {
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(11, 17, 35, 0.72);
}

.infra-stats article {
  padding: 0.75rem;
}

.infra-stats span,
.infra-stats small,
.infra-entry span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
}

.infra-stats strong {
  display: block;
  margin: 0.28rem 0 0.1rem;
  color: #fff;
  font-size: 0.86rem;
}

.infra-table {
  display: grid;
  gap: 0.45rem;
}

.infra-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.72rem;
}

.infra-entry strong {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.78rem;
}

.infra-entry a,
.infra-entry button {
  max-width: 9.4rem;
  overflow: hidden;
  border: 1px solid rgba(177, 60, 255, 0.22);
  border-radius: 5px;
  color: #d979ff;
  background: rgba(177, 60, 255, 0.08);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  padding: 0.42rem 0.5rem;
}

.infra-entry button.is-copied {
  color: var(--green);
  border-color: rgba(116, 249, 111, 0.5);
}

.infra-entry button.is-copied::after {
  content: " copied";
}

.infra-note {
  margin-top: 1rem;
  padding: 0.85rem;
  background: linear-gradient(135deg, rgba(98, 24, 166, 0.35), rgba(10, 17, 35, 0.82));
}

.infra-note strong {
  color: #e19aff;
  font-size: 0.78rem;
}

.infra-note p {
  margin: 0.3rem 0 0;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .feature-strip,
  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 600px;
  }

  .hero-content {
    align-self: end;
    padding-left: clamp(0.25rem, 3vw, 1rem);
  }

  .hero-media {
    display: none;
  }

  .feature-strip article:nth-child(2n),
  .metric:nth-child(2n) {
    border-right: 0;
  }

  .initiative-grid,
  .reward-grid {
    grid-template-columns: 1fr;
  }

  .reward {
    min-height: 16rem;
  }

  .cta-band {
    grid-template-columns: 9rem 1fr;
    min-height: auto;
    padding-top: 0.6rem;
  }

  .social {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding: 1.2rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .site-footer {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  main,
  .site-footer {
    width: min(100% - 1rem, var(--max));
  }

  .site-header {
    padding: 0.8rem 0.75rem;
  }

  .site-header .button {
    display: none;
  }

  .infra-drawer {
    width: 100vw;
    padding: 1.1rem 1rem 1.4rem;
  }

  .infra-stats,
  .infra-entry {
    grid-template-columns: 1fr;
  }

  .infra-entry a,
  .infra-entry button {
    max-width: 100%;
    width: 100%;
    text-align: left;
  }

  .infra-tabs {
    overflow-x: auto;
  }

  .infra-tabs button {
    min-width: 5.8rem;
  }

  .brand-token {
    font-size: 1.9rem;
  }

  .hero {
    min-height: 640px;
    padding-top: 5.5rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 7, 20, 0.38), rgba(3, 7, 20, 0.94) 55%, rgba(3, 7, 20, 1)),
      url("assets/hero-character.png") 58% top / auto 58% no-repeat;
  }

  .hero-content {
    align-self: end;
    padding-left: 0.25rem;
    padding-bottom: 1rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .feature-strip {
    margin-top: 0;
  }

  .feature-strip,
  .stats-panel {
    grid-template-columns: 1fr;
  }

  .feature-strip article,
  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .feature-strip article:last-child,
  .metric:last-child {
    border-bottom: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .initiative {
    grid-template-columns: 1fr;
  }

  .ds-logo,
  .planet {
    margin: 0 0 1rem;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 1.5rem;
    width: 3px;
    height: auto;
  }

  .phase {
    min-height: 8.6rem;
    padding: 0 0 0 5rem;
  }

  .phase span {
    left: 0;
  }

  .cta-band {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .cta-character {
    display: none;
  }

  .social {
    flex-wrap: wrap;
    min-height: auto;
  }

  .social h3 {
    flex-basis: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .copyright {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
