:root {
  --sky: #05DDF7;
  --ink: #01125A;
  --magenta: #F643CF;
  --orange: #FC880F;
  --gold: #F4B120;
  --night: #0D0C54;
  --paper: #FFF8EF;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Outfit, "Trebuchet MS", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

::selection {
  background: var(--orange);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

section { scroll-margin-top: 96px; }

h1, h2, .sym, .brand-name, .brand-tick, .ca-kicker, .colophon-name, .chain {
  font-family: "Paytone One", "Arial Black", sans-serif;
  font-weight: 400;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

/* ---------- masthead ---------- */

.gta-nav {
  background: var(--ink);
  border-bottom: 4px solid var(--orange);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  position: sticky;
  top: 0;
  z-index: 30;
}

.gta-nav .container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: 1rem;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--paper);
  text-decoration: none;
}

.navbar-brand:hover { color: var(--paper); }

.navbar-brand img {
  width: 58px;
  height: 58px;
  flex: none;
}

.brand-name {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.brand-tick {
  color: var(--magenta);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.gta-nav .nav-link {
  color: var(--paper);
  font-weight: 700;
  padding: 0.45rem 0.8rem;
}

.gta-nav .nav-link:hover,
.gta-nav .nav-link:focus {
  color: var(--orange);
}

.gta-nav .navbar-toggler {
  border: 0;
  padding: 0.35rem 0.45rem;
}

.gta-nav .navbar-toggler:focus { box-shadow: none; }

.gta-nav .navbar-toggler-icon {
  width: 1.45rem;
  height: 1.45rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23FFF8EF' stroke-linecap='round' stroke-width='3' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0.35rem 0.75rem;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.actions .btn,
.nav-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font-family: Outfit, "Trebuchet MS", sans-serif;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.78rem 1.15rem;
}

.nav-actions .btn { padding: 0.58rem 0.9rem; }

.actions .btn img,
.nav-actions .btn img {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn-buy {
  background: var(--orange);
  color: var(--ink);
}

.btn-buy:hover,
.btn-buy:focus {
  background: var(--gold);
  color: var(--ink);
}

.btn-dex {
  background: var(--paper);
  color: var(--ink);
}

.btn-dex:hover,
.btn-dex:focus {
  background: #ffffff;
  color: var(--ink);
}

.btn-x {
  background: var(--sky);
  color: var(--ink);
}

.btn-x:hover,
.btn-x:focus {
  background: #7aeefe;
  color: var(--ink);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: Outfit, "Trebuchet MS", sans-serif;
  font-weight: 800;
  line-height: 1;
  padding: 0.62rem 0.95rem;
  cursor: pointer;
}

.btn-copy:hover { background: #0a1e6b; color: var(--paper); }

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

.hero { background: var(--ink); }

.hero-frame { position: relative; }

.hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 4.5%;
  width: min(24rem, 46%);
  color: var(--paper);
}

.sym {
  margin: 0 0 0.35rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  font-size: 1.15rem;
  text-shadow: 0 2px 0 var(--ink);
}

.hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 0.035em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.055em 0.055em 0 var(--magenta);
}

.hero-bio {
  margin: 0.9rem 0 0;
  max-width: 34ch;
  color: var(--paper);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(1, 18, 90, 0.9);
}

/* ---------- about ---------- */

.about {
  background: var(--sky);
  color: var(--ink);
}

.about-lead {
  max-width: 46rem;
  margin: 0 auto;
  padding: 4.75rem 1.25rem 2.4rem;
}

.about-lead p {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.6;
}

.beats {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 4.75rem;
}

.beat {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin: 0 0 3.25rem;
}

.beat:nth-child(even) { flex-direction: row-reverse; }

.beat:last-child { margin-bottom: 0; }

.beat img {
  width: min(420px, 46%);
  max-width: 100%;
  height: auto;
  flex: 0 0 auto;
}

.beat p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
}

.beat b {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Paytone One", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ---------- how to buy ---------- */

.howto {
  background: var(--magenta);
  color: var(--ink);
}

.howto-inner {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4.6rem 1.25rem 4.8rem;
}

.chain {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.chain img {
  width: 28px;
  height: 28px;
  flex: none;
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
}

.moves {
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.moves li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.moves img {
  width: 44px;
  height: 44px;
  flex: none;
}

.moves p {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
}

.ca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 2px solid rgba(1, 18, 90, 0.28);
}

.ca-kicker { letter-spacing: 0.03em; }

.ca code {
  flex: 1 1 14rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  word-break: break-all;
}

/* ---------- community ---------- */

.community { background: var(--night); }

.community-bg {
  width: 100%;
  aspect-ratio: 3 / 1;
  background-color: var(--night);
  background-image: url("banner.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

.community-body {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.4rem 1.25rem 2.2rem;
  text-align: center;
  color: var(--paper);
}

.community-body p {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
}

.community-body .actions { justify-content: center; }

.handle {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--sky);
  font-weight: 800;
  text-decoration: none;
}

.handle:hover { color: var(--gold); }

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

.colophon {
  background: var(--night);
  color: var(--paper);
  text-align: center;
  padding: 0.4rem 1.25rem 2.6rem;
}

.colophon p { margin: 0 0 0.45rem; }

.colophon-name {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.colophon-ca {
  font-weight: 600;
  line-height: 1.5;
}

.colophon code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--sky);
  word-break: break-all;
}

.fine {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.82;
}

@media (min-width: 992px) {
  .nav-actions { margin: 0 0 0 0.4rem; }
}

@media (max-width: 991.98px) {
  .hero-copy {
    position: static;
    width: auto;
    padding: 1.35rem 1.15rem 1.7rem;
  }

  .navbar-collapse { padding-bottom: 0.75rem; }

  .nav-actions { margin: 0.4rem 0 0.2rem; }
}

@media (max-width: 760px) {
  .beat,
  .beat:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .beat img { width: 100%; }
}

@media (max-width: 380px) {
  .brand-tick { display: none; }
}

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