:root {
  --blue: #0b7fe5;
  --blue-deep: #075bb1;
  --blue-pale: #d8ecff;
  --paper: #fff8e9;
  --paper-deep: #f2e4ca;
  --ink: #171717;
  --yellow: #ffc837;
  --coral: #ff705b;
  --white: #fffdf8;
  --font-display: "Chalkboard SE", "Segoe Print", "Comic Sans MS", cursive;
  --font-body: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  --font-note: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  --font-utility: "Courier New", Courier, monospace;
  --content: 1180px;
  --line: 3px solid var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 16% 18%, rgba(23, 23, 23, 0.045) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 66%, rgba(11, 127, 229, 0.05) 0 1px, transparent 1.5px);
  background-size: 19px 19px, 27px 27px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: var(--line);
  background: rgba(255, 248, 233, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  border: 2px solid var(--ink);
  border-radius: 50% 46% 51% 49%;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a,
.footer-links a,
.text-link {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--blue);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  text-decoration: underline 3px var(--blue);
  text-underline-offset: 5px;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 19px;
  border: var(--line);
  border-radius: 50px 44px 48px 43px;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-utility);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px) rotate(-0.7deg);
}

.button-small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 0.78rem;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

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

.button-blue {
  color: var(--white);
  background: var(--blue);
}

.button-outline-light {
  color: var(--white);
  border-color: var(--white);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.75);
  background: transparent;
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
  background: var(--paper);
}

.blue-panel {
  color: var(--white);
  background-color: var(--blue);
  background-image:
    linear-gradient(9deg, transparent 49.5%, rgba(255, 255, 255, 0.055) 50%, transparent 50.5%),
    radial-gradient(circle, rgba(255, 255, 255, 0.11) 1px, transparent 1.6px);
  background-size: 100% 70px, 24px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 100px) max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: var(--line);
}

.eyebrow,
.section-number {
  margin: 0 0 14px;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s ease-in-out infinite;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  line-height: 1.07;
}

h1 {
  max-width: 720px;
  margin-bottom: 23px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

h1 span {
  position: relative;
  display: inline-block;
  color: var(--yellow);
  font-family: var(--font-note);
  font-size: 0.62em;
  letter-spacing: -0.04em;
  transform: rotate(-2deg);
}

h1 span::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='10' viewBox='0 0 300 10'%3E%3Cpath d='M2 7c47-8 93 3 141-3s92 5 155-1' fill='none' stroke='%23ffc837' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  content: "";
}

.hero-intro {
  max-width: 560px;
  margin: 0 0 26px;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.contract-copy {
  display: flex;
  align-items: center;
  width: min(100%, 520px);
  min-height: 48px;
  padding: 6px 7px 6px 6px;
  color: var(--white);
  border: 2px dashed rgba(255, 255, 255, 0.74);
  border-radius: 10px 14px 11px 13px;
  background: rgba(0, 47, 105, 0.24);
  cursor: pointer;
}

.contract-copy:hover,
.contract-copy:focus-visible {
  background: rgba(0, 47, 105, 0.44);
}

.contract-label {
  padding: 7px 9px;
  color: var(--ink);
  border-radius: 6px 9px 7px 8px;
  background: var(--yellow);
  font-family: var(--font-utility);
  font-size: 0.76rem;
  font-weight: 700;
}

.contract-copy code {
  min-width: 0;
  margin: 0 10px;
  overflow: hidden;
  font-size: 0.81rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-copy .copy-label {
  margin-left: auto;
  padding: 6px 10px;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 30px;
  background: var(--paper);
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-art,
.image-column {
  position: relative;
}

.doodle-frame {
  margin: 0;
  overflow: hidden;
  border: var(--line);
  border-radius: 23% 7% 19% 6% / 8% 18% 7% 21%;
  box-shadow: 10px 11px 0 var(--ink);
  background: var(--paper);
}

.doodle-frame img {
  width: 100%;
  height: auto;
}

.doodle-frame-blue {
  border-color: var(--paper);
  box-shadow: 10px 11px 0 rgba(0, 0, 0, 0.76);
}

.hero-art .doodle-frame {
  animation: float 5s ease-in-out infinite;
}

.tape {
  position: absolute;
  z-index: 2;
  display: block;
  padding: 7px 17px;
  color: var(--ink);
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-family: var(--font-note);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}

.tape-top {
  top: -16px;
  right: 8%;
  transform: rotate(4deg);
}

.orbit-note {
  position: absolute;
  bottom: -26px;
  left: -28px;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 45% 55% 49% 51%;
  background: var(--coral);
  font-family: var(--font-note);
  font-size: 2.5rem;
  font-weight: 700;
  transform: rotate(-12deg);
}

.ticker {
  overflow: hidden;
  color: var(--ink);
  border-bottom: var(--line);
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 14px 0;
  animation: ticker 24s linear infinite;
}

.ticker span {
  margin: 0 28px;
}

.ticker i {
  font-style: normal;
}

.section {
  position: relative;
  padding: clamp(72px, 10vw, 130px) max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: var(--line);
}

.story,
.token-section,
.community {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
}

.copy-column {
  max-width: 540px;
}

.section-number {
  color: var(--blue-deep);
}

.section-number-light {
  color: var(--yellow);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.2vw, 4.1rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 5px;
  font-size: 1.15rem;
}

.lead {
  margin-bottom: 18px;
  font-family: var(--font-note);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}

.copy-column > p:not(.section-number) {
  max-width: 510px;
}

figure figcaption {
  padding: 12px 18px 14px;
  border-top: var(--line);
  background: var(--paper);
  font-family: var(--font-note);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.tilt-left {
  transform: rotate(-1.6deg);
}

.tilt-right {
  transform: rotate(1.7deg);
}

.hand-note {
  display: inline-block;
  margin-top: 13px;
  padding: 6px 12px;
  border-bottom: 4px solid var(--yellow);
  font-family: var(--font-note);
  font-size: 1.08rem;
  font-weight: 700;
  transform: rotate(-2deg);
}

.token-section {
  background-color: var(--blue-pale);
  background-image: linear-gradient(rgba(11, 127, 229, 0.095) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 127, 229, 0.095) 1px, transparent 1px);
  background-size: 30px 30px;
}

.token-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0 0;
  border-top: var(--line);
  border-left: var(--line);
}

.token-facts div {
  min-width: 0;
  padding: 16px;
  border-right: var(--line);
  border-bottom: var(--line);
  background: rgba(255, 248, 233, 0.68);
}

.token-facts dt {
  margin-bottom: 4px;
  font-family: var(--font-utility);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.token-facts dd {
  margin: 0;
  font-weight: 700;
}

.inline-copy {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.inline-copy .copy-label {
  padding: 2px 5px;
  color: var(--white);
  border-radius: 4px;
  background: var(--blue);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.token-art {
  border-radius: 49% 51% 48% 52%;
}

.round-stamp {
  position: absolute;
  right: -24px;
  bottom: -25px;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: var(--paper);
  border: 3px dashed var(--paper);
  outline: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transform: rotate(9deg);
}

.how-section {
  text-align: center;
}

.how-heading {
  max-width: 680px;
  margin: 0 auto 55px;
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
  text-align: left;
}

.route-art {
  border-radius: 7% 21% 6% 18% / 16% 7% 19% 8%;
  transform: rotate(-0.7deg);
}

.steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  align-items: start;
  padding-bottom: 19px;
  border-bottom: 2px dashed rgba(23, 23, 23, 0.38);
}

.steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 48% 52% 45% 55%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  transform: rotate(-4deg);
}

.steps li:nth-child(2) > span {
  background: var(--coral);
  transform: rotate(4deg);
}

.steps li:nth-child(3) > span {
  color: var(--white);
  background: var(--blue);
  transform: rotate(-2deg);
}

.steps p {
  margin: 0;
}

.buy-wide {
  margin-top: 46px;
}

.community h2 {
  max-width: 650px;
}

.community .lead {
  margin-bottom: 30px;
}

.community .doodle-frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mini-circles {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
}

.mini-circles span {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--paper);
  border-radius: 50% 44% 53% 47%;
}

.mini-circles span:nth-child(2) {
  width: 31px;
  height: 31px;
  border-color: var(--yellow);
}

.mini-circles span:nth-child(3) {
  width: 17px;
  height: 17px;
  border-color: var(--coral);
}

.mini-circles span:nth-child(4) {
  width: 40px;
  height: 40px;
  border-style: dashed;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
  background: var(--yellow);
}

.banner-wrap {
  overflow: hidden;
  border: var(--line);
  border-radius: 12px 23px 14px 21px;
  box-shadow: 8px 9px 0 var(--ink);
  transform: rotate(-1.2deg);
}

.banner-wrap img {
  width: 100%;
}

.final-copy h2 {
  margin-bottom: 27px;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.text-link {
  font-family: var(--font-utility);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px max(24px, calc((100vw - var(--content)) / 2));
  color: var(--paper);
  background: var(--ink);
  font-size: 0.82rem;
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 248, 233, 0.72);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  padding: 13px 18px;
  color: var(--paper);
  border: 2px solid var(--paper);
  border-radius: 11px 16px 10px 14px;
  box-shadow: 5px 5px 0 var(--blue);
  background: var(--ink);
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) rotate(2deg);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0.2deg); }
  50% { transform: translateY(-9px) rotate(-0.6deg); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-copy {
    max-width: 690px;
  }

  .hero-art {
    width: min(88%, 650px);
    margin: 15px auto 0;
  }

  .story,
  .token-section,
  .community,
  .how-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .copy-column {
    max-width: 680px;
  }

  .token-section .copy-column {
    order: 2;
  }

  .token-section .image-column {
    order: 1;
  }

  .image-column,
  .route-art {
    width: min(88%, 650px);
    margin-right: auto;
    margin-left: auto;
  }

  .how-grid {
    text-align: left;
  }

  .steps {
    width: min(100%, 650px);
    margin: 0 auto;
  }

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

  .site-footer p {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 66px;
    padding: 9px 16px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero,
  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    gap: 52px;
    padding-top: 52px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-actions .button {
    flex: 1 1 44%;
    padding-right: 13px;
    padding-left: 13px;
  }

  .contract-copy code {
    font-size: 0.72rem;
  }

  .hero-art,
  .image-column,
  .route-art {
    width: calc(100% - 12px);
  }

  .orbit-note {
    bottom: -31px;
    left: -9px;
    width: 62px;
    height: 62px;
    font-size: 2rem;
  }

  .token-facts {
    grid-template-columns: 1fr;
  }

  .round-stamp {
    right: -8px;
    width: 82px;
    height: 82px;
    font-size: 0.69rem;
  }

  .how-heading {
    text-align: left;
  }

  .buy-wide {
    width: 100%;
  }

  .final-copy {
    text-align: center;
  }

  .final-actions {
    justify-content: center;
  }

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

  .footer-links {
    justify-content: center;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
