@font-face {
  font-family: Knewave;
  src: url('assets/knewave-400.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Space Mono';
  src: url('assets/space-mono-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #11120f;
  --paper: #fcfff8;
  --yellow: #ffec00;
  --mint: #73efd0;
  --blue: #83d6ff;
  --display: Knewave, 'Arial Black', sans-serif;
  --mono: 'Space Mono', 'Courier New', monospace;
  --edge: 3px solid var(--ink);
  --gutter: clamp(18px, 5vw, 84px);
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}


a { color: inherit; }

button { font: inherit; }

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

a:focus-visible, button:focus-visible {
  outline: 3px solid #135cc9;
  outline-offset: 5px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 16px;
  border: var(--edge);
  transform: translateY(-200%);
  background: var(--yellow);
  font: 700 .875rem var(--mono);
}

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

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: var(--edge);
  background: var(--paper);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  font: 400 1.25rem/.82 var(--display);
  text-decoration: none;
  transform: rotate(-3deg);
}

.brand img { flex: none; width: 48px; height: 48px; object-fit: contain; }
.brand-dot { text-shadow: 2px 1px var(--yellow); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 52px);
  font: 700 .85rem/1.25 var(--mono);
  text-transform: uppercase;
}

.site-nav a {
  padding-block: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  text-decoration: underline 3px;
  text-decoration-color: #079b7c;
  text-underline-offset: 5px;
}

.action {
  display: inline-flex;
  min-height: 55px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  background: var(--paper);
  color: var(--ink);
  border: var(--edge);
  border-radius: 9px 7px 12px 7px;
  box-shadow: 4px 4px var(--ink);
  font: 700 .91rem/1.15 var(--mono);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.action img {
  width: 27px;
  height: 27px;
  flex: none;
  object-fit: contain;
}

.action .action__x { width: 19px; height: 19px; }

.action--buy { background: var(--yellow); }
.action--blue { background: var(--blue); }

@media (hover: hover) {
  .action:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px var(--ink); }
  .action--buy:hover { background: #fff46c; }
  .action--blue:hover { background: #a5e4ff; }
  .action--paper:hover { background: var(--mint); }
}

.action:active { transform: translate(3px, 3px); box-shadow: 1px 1px var(--ink); }

.header-buy {
  justify-self: end;
  min-height: 45px;
  padding-inline: 13px;
  font-size: .81rem;
  white-space: nowrap;
}

.header-buy img { width: 24px; height: 24px; }

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(54px, 4.7vw, 72px) clamp(38px, 4vw, 56px);
}

.hero::before, .market::before {
  position: absolute;
  content: '';
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(90deg, #31d8b83e 2px, transparent 2px),
    linear-gradient(#31d8b83e 2px, transparent 2px);
  background-size: 84px 84px;
  background-position: center;
  mask-image: linear-gradient(#000 85%, transparent);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(30px, 6vw, 98px);
}

.hero__copy { position: relative; z-index: 1; }

.hero__ticker {
  display: inline-block;
  padding: 6px 12px 6px 11px;
  border: var(--edge);
  border-radius: 4px 9px 5px 10px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-6deg);
  background: var(--mint);
  font: 700 clamp(.96rem, 1.7vw, 1.1rem)/1 var(--mono);
}

.hero__title {
  max-width: 100%;
  margin: 10px 0 27px;
  transform: rotate(-5deg);
  transform-origin: 12% 50%;
  font: 400 clamp(5.25rem, 10.5vw, 9.6rem)/.82 var(--display);
  letter-spacing: -.075em;
  text-shadow: .048em .048em var(--yellow);
}

.hero__title > span { display: block; }
.hero__dot { color: #087456; text-shadow: .06em .06em var(--yellow); }

.hero__tagline {
  max-width: 410px;
  margin: 0 0 22px;
  font-size: clamp(1.13rem, 1.9vw, 1.48rem);
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
}

.hero__actions {
  max-width: 435px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 13px;
}

.hero__art { position: relative; min-width: 0; margin: 0 12px 0 7px; }

.hero__art-splash {
  position: absolute;
  inset: 2% -2.5% 1% -2%;
  border: var(--edge);
  border-radius: 31% 14% 37% 15% / 19% 32% 20% 29%;
  background-color: var(--blue);
  background-image: radial-gradient(#11120f52 1px, transparent 1.6px);
  background-size: 9px 9px;
  transform: rotate(-9deg);
}

.hero__picture {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 15px 29px 19px 22px;
  box-shadow: 10px 10px var(--ink);
  transform: rotate(4deg);
  background: #fff;
}

.hero__picture img { width: 100%; height: auto; }

.hero__rays {
  display: grid;
  position: absolute;
  top: -39px;
  right: -28px;
  width: 77px;
  height: 70px;
  transform: rotate(17deg);
  pointer-events: none;
}

.hero__rays i {
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 8px;
  height: 42px;
  background: var(--ink);
  border-radius: 70% 35% 43% 55%;
  transform: rotate(28deg) translateY(-18px);
  transform-origin: bottom;
}

.hero__rays i:nth-child(2) { height: 34px; transform: rotate(57deg) translateY(-25px); }
.hero__rays i:nth-child(3) { height: 24px; transform: rotate(85deg) translateY(-28px); }

.hero__caption {
  position: absolute;
  right: -20px;
  bottom: 14px;
  padding: 10px 15px 9px;
  border: var(--edge);
  border-radius: 7px 5px 8px 4px;
  box-shadow: 4px 4px var(--ink);
  background: var(--yellow);
  transform: rotate(-10deg);
  font: 400 clamp(1rem, 2vw, 1.52rem)/1.15 var(--display);
}

.ticker {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow-x: clip;
  /* The tilt adds about 3.2% of the band width to its vertical extent. */
  padding-block: calc(1.7vw + 7px);
  background: linear-gradient(to bottom, var(--paper) 50%, var(--mint) 50%);
}

.ticker__band {
  overflow: clip;
  margin-inline: -60px;
  transform: rotate(-1.85deg);
  border-block: var(--edge);
  background: var(--yellow);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-loop 25s linear infinite;
}

.ticker__group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: clamp(20px, 3vw, 75px);
  min-width: max(780px, 100vw + 190px);
  padding: 13px clamp(10px, 1.5vw, 37.5px) 15px;
  font: 400 clamp(1.13rem, 3vw, 2.2rem)/1.35 var(--display);
  white-space: nowrap;
}

.ticker__group b { font: 700 .85em/1 Arial, sans-serif; }

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

.roadmap {
  padding-block: clamp(42px, 5vw, 68px) clamp(70px, 8.5vw, 125px);
  background-color: var(--mint);
  background-image: radial-gradient(#0e5c4b39 1.25px, transparent 1.25px);
  background-size: 15px 15px;
  border-bottom: var(--edge);
}

.section-intro { margin-bottom: clamp(28px, 4vw, 51px); }

.section-title {
  display: inline-block;
  margin: 0;
  transform: rotate(-3deg);
  font: 400 clamp(3.15rem, 7.2vw, 6.2rem)/1 var(--display);
  letter-spacing: -.055em;
  text-shadow: .052em .052em var(--yellow);
}

.section-title > span { color: #087456; }

.section-intro p {
  margin: 13px 0 0;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  font-weight: 750;
  line-height: 1.35;
}

.roadmap__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(17px, 2.5vw, 34px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.phase {
  position: relative;
  min-width: 0;
  min-height: 247px;
  padding: 21px clamp(16px, 2vw, 27px) 26px;
  border: var(--edge);
  border-radius: 14px 8px 16px 9px;
  box-shadow: 7px 8px var(--ink);
  background: var(--paper);
}

.phase--paper { transform: rotate(-2deg); }
.phase--yellow { background: var(--yellow); transform: translateY(12px) rotate(1.4deg); }
.phase--blue { background: var(--blue); transform: rotate(-1.2deg); }

.phase__tag {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 4px 6px 5px 4px;
  color: var(--paper);
  background: var(--ink);
  font: 700 .72rem/1.15 var(--mono);
}

.phase__doodle {
  position: absolute;
  top: 14px;
  right: 18px;
  font: 700 2.9rem/1 Arial, sans-serif;
}

.phase__doodle--plug {
  width: 43px;
  height: 25px;
  margin-top: 11px;
  border: var(--edge);
  border-radius: 10px 15px 7px 8px;
  background: var(--yellow);
  transform: rotate(-17deg);
}

.phase__doodle--plug::before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 13px;
  width: 13px;
  height: 13px;
  border: var(--edge);
  border-radius: 50%;
}

.phase__doodle--burst { transform: rotate(12deg); }

.phase__doodle--drain {
  width: 46px;
  height: 32px;
  margin-top: 4px;
  border: var(--edge);
  border-radius: 49% 51% 46% 54%;
  background: repeating-linear-gradient(90deg, transparent 0 5px, var(--ink) 5px 9px);
  box-shadow: inset 0 0 0 3px var(--blue);
  transform: rotate(15deg);
}

.phase h3 {
  margin: 30px 0 10px;
  font: 400 clamp(1.55rem, 3.05vw, 3rem)/1.11 var(--display);
  letter-spacing: -.045em;
}

.phase p {
  max-width: 30ch;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.market {
  position: relative;
  isolation: isolate;
  padding-block: clamp(62px, 7vw, 101px) clamp(65px, 8vw, 114px);
}

.market__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.chart-window {
  overflow: hidden;
  border: var(--edge);
  border-radius: 17px 13px 19px 14px;
  box-shadow: 8px 9px var(--ink);
  background: #151c1a;
}

.chart-window__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding-inline: clamp(12px, 3vw, 27px);
  border-bottom: var(--edge);
  background: var(--yellow);
  font: 700 clamp(.69rem, 2.6vw, .91rem)/1 var(--mono);
}

.chart-window__bar > :last-child { justify-self: end; }
.chart-window__dots { display: flex; gap: clamp(3px, 1vw, 7px); }

.chart-window__dots i {
  width: clamp(8px, 2vw, 13px);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.chart-window__dots i:nth-child(2) { background: var(--mint); }
.chart-window__dots i:nth-child(3) { background: var(--blue); }

.chart-window__body {
  display: grid;
  height: clamp(330px, 43vw, 575px);
}

.chart-window iframe { width: 100%; height: 100%; border: 0; }

.chart-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  padding: 25px 20px;
  background-image:
    radial-gradient(ellipse at center, #1b4c4090, transparent 60%),
    linear-gradient(90deg, #8df0d021 1px, transparent 1px),
    linear-gradient(#8df0d021 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-position: center;
  color: var(--paper);
  text-align: center;
}

.chart-placeholder__badge {
  display: grid;
  place-items: center;
  width: 118px;
  aspect-ratio: 1;
  margin-bottom: 7px;
  border: 3px solid var(--mint);
  border-radius: 47% 54% 48% 50%;
  transform: rotate(-8deg);
  background: #233f37;
  box-shadow: 0 0 0 8px #8df0d022, 0 0 0 20px #8df0d013;
}

.chart-placeholder p { max-width: 36ch; margin: 0; line-height: 1.5; }

.chart-placeholder .chart-placeholder__title {
  color: var(--yellow);
  font: 400 clamp(1.45rem, 3vw, 2.48rem)/1.15 var(--display);
  letter-spacing: -.035em;
}

.site-footer {
  border-top: var(--edge);
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 84px;
}

.brand--footer img { width: 40px; height: 40px; }
.brand--footer .brand-dot { color: var(--yellow); text-shadow: none; }
.footer-ticker { color: var(--yellow); font: 700 .87rem/1 var(--mono); }

.site-status {
  position: fixed;
  z-index: 8;
  right: max(23px, env(safe-area-inset-right));
  bottom: max(23px, env(safe-area-inset-bottom));
  max-width: min(360px, 100% - 46px);
  padding: 13px 17px;
  border: var(--edge);
  border-radius: 8px 5px 9px 6px;
  box-shadow: 5px 5px var(--ink);
  background: var(--mint);
  font: 700 .88rem/1.35 var(--mono);
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}

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

@media (max-width: 900px) {
  .hero__inner { gap: 30px; }
  .hero__title { font-size: clamp(4.6rem, 11vw, 6.8rem); }
  .hero__art { margin-right: 13px; }
  .hero__rays { right: -17px; top: -42px; transform: scale(.76) rotate(17deg); }
  .hero__caption { right: -18px; }
  .hero__actions { gap: 9px; }
  .action { font-size: .78rem; gap: 6px; padding-inline: 9px; }
  .action img { width: 23px; height: 23px; }
  .phase p { font-size: .93rem; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 124px; }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 0;
    padding-block: 9px 3px;
    gap: 2px 12px;
  }

  .brand { font-size: 1.1rem; }
  .brand img { width: 42px; height: 42px; }
  .site-nav { grid-area: 2 / 1 / auto / -1; justify-content: center; gap: clamp(20px, 9vw, 49px); }
  .site-nav a { padding-block: 10px; }

  .hero { padding-block: 30px 40px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero__copy { justify-self: center; width: min(100%, 480px); }
  .hero__title { font-size: clamp(4.65rem, 15.4vw, 7.9rem); margin-block: 9px 21px; }
  .hero__title > span { display: inline; }
  .hero__title { max-inline-size: min-content; }
  .hero__tagline { margin-bottom: 17px; }
  .hero__actions { max-width: none; }
  .action { min-height: 49px; }
  .header-buy { min-height: 41px; }
  .hero__art { width: min(90%, 460px); margin: 0 auto; }
  .hero__art-splash { inset: 2% -2% 1%; }
  .hero__picture { box-shadow: 7px 7px var(--ink); }
  .hero__rays { top: -31px; right: -23px; transform: scale(.56) rotate(17deg); }
  .hero__caption { right: -12px; bottom: 9px; padding: 8px 11px; }

  .roadmap__cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .phase { min-height: 0; padding: 17px 17px 22px; }
  .phase--paper { transform: rotate(-1.2deg); }
  .phase--yellow { transform: rotate(.8deg); }
  .phase--blue { transform: rotate(-.9deg); }
  .phase h3 { margin-top: 19px; font-size: clamp(1.8rem, 6.2vw, 2.75rem); }
  .phase p { max-width: 50ch; }
  .market__intro { flex-wrap: wrap; }
  .market__intro .action { padding-inline: 12px; }
  .chart-window { box-shadow: 5px 6px var(--ink); }
}

@media (max-width: 360px) {
  .hero__actions .action { padding-inline: 4px; gap: 4px; font-size: .74rem; }
  .hero__actions .action img { width: 21px; height: 21px; }
  .hero__actions .action .action__x { width: 16px; height: 16px; }
  .section-title { font-size: 2.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .action, .site-status { transition: none; }
}

[hidden] { display: none !important; }
