:root {
  --bg: #eaf8ff;
  --paper: #ffffff;
  --ink: #06142f;
  --blue: #0098ff;
  --deep-blue: #0457c8;
  --cyan: #7fe4ff;
  --yellow: #ffdf5a;
  --pink: #ff73c8;
  --green: #23c86b;
  --muted: #536477;
  --line: rgba(6, 20, 47, .15);
  --shadow: 7px 7px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 152, 255, .24) 0 9%, transparent 10%),
    radial-gradient(circle at 88% 10%, rgba(127, 228, 255, .48) 0 12%, transparent 13%),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(0, 152, 255, .13) 47% 53%, transparent 53%),
    radial-gradient(circle at 50% 110%, rgba(255, 223, 90, .35), transparent 36%);
  pointer-events: none;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

main {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 46px;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 4px 4px 0 var(--ink);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 1000;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: white;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  padding: 9px 12px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: white;
  font-size: .9rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}

.nav-links a:hover,
.button:hover {
  transform: translate(2px, 2px) rotate(-1deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.nav-links a:nth-last-child(-n + 2) {
  background: var(--blue);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 30px;
  align-items: center;
  min-height: calc(100vh - 118px);
  padding: 42px 0 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--deep-blue);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 830px;
  font-size: clamp(4rem, 11.5vw, 10rem);
  line-height: .82;
  text-transform: lowercase;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: .95;
}

.hero-text {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 1.9vw, 1.34rem);
  font-weight: 760;
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 1000;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.button:disabled {
  opacity: .62;
  cursor: not-allowed;
}

.button:disabled:hover {
  transform: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.primary {
  background: var(--yellow);
}

.secondary {
  background: white;
}

.ink {
  background: var(--ink);
  color: white;
  box-shadow: 4px 4px 0 var(--blue);
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 500px);
  padding: 12px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(0, 152, 255, .18), transparent 50%),
    white;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-art img {
  display: block;
  width: 100%;
  border-radius: 50%;
}

.hero-art span {
  position: absolute;
  right: -8px;
  bottom: 32px;
  padding: 10px 16px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 1000;
  box-shadow: 4px 4px 0 var(--ink);
}

.banner-strip,
.stats article,
.contract-panel,
.meme-grid article,
.belief {
  border: 5px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.banner-strip {
  padding: 10px;
  overflow: hidden;
}

.banner-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.stats article {
  padding: 18px;
}

.stats span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.stats strong {
  display: block;
  font-size: clamp(1.2rem, 2.35vw, 1.95rem);
  line-height: 1.05;
}

.contract-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 46px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(0, 152, 255, .18), transparent 48%),
    white;
}

.contract-panel h2 {
  overflow-wrap: anywhere;
}

.contract-panel p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

code {
  padding: 2px 6px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 900;
}

.meme-section {
  padding: 14px 0 0;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 22px;
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.meme-grid article {
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.meme-grid article:hover {
  transform: translate(3px, 3px) rotate(-1deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.meme-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 5px solid var(--ink);
}

.meme-grid strong {
  display: block;
  padding: 14px 16px 16px;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.belief {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: center;
  margin: 42px 0 0;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(145deg, rgba(255, 223, 90, .55), transparent 52%),
    white;
}

.belief-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 760;
  line-height: 1.55;
}

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

.belief-list li {
  padding: 14px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: white;
  font-weight: 950;
}

.belief-list li:nth-child(2) {
  background: var(--cyan);
}

.belief-list li:nth-child(3) {
  background: var(--yellow);
}

.belief-list li:nth-child(4) {
  background: #d9f7e5;
}

.social-strip {
  display: flex;
  gap: 12px;
  overflow: hidden;
  margin: 34px calc(50% - 50vw) 0;
  padding: 12px;
  border-block: 5px solid var(--ink);
  background: var(--ink);
  color: white;
}

.social-strip a,
.social-strip span {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 3px solid white;
  border-radius: 999px;
  background: var(--blue);
  font-weight: 1000;
  text-decoration: none;
  white-space: nowrap;
  animation: floaty 3.2s ease-in-out infinite;
}

.social-strip span:nth-child(3) {
  background: var(--green);
  animation-delay: -1.1s;
}

.social-strip span:nth-child(4) {
  background: var(--yellow);
  color: var(--ink);
  animation-delay: -1.7s;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 20;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 1000;
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-50%, 120px);
  transition: transform .2s ease;
}

.toast.show {
  transform: translate(-50%, 0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}

@media (max-width: 940px) {
  .hero,
  .belief {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    order: 2;
  }

  .hero-art {
    width: min(100%, 420px);
  }

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

@media (max-width: 680px) {
  main {
    width: min(100% - 20px, 1180px);
  }

  .topbar,
  .contract-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-links a,
  .button {
    flex: 1;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.35rem, 19vw, 5.8rem);
  }

  .hero-art span {
    right: 12px;
    bottom: 18px;
  }
}
