:root {
  --paper: #fff8df;
  --ink: #171717;
  --muted: #665d4b;
  --line: rgba(23, 23, 23, 0.18);
  --green: #36d16a;
  --yellow: #ffd84d;
  --panel: rgba(255, 255, 255, 0.54);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(23, 23, 23, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 15% 12%, rgba(255, 216, 77, 0.45), transparent 28rem),
    radial-gradient(circle at 85% 8%, rgba(54, 209, 106, 0.26), transparent 26rem),
    var(--paper);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(-8deg, rgba(23,23,23,.035), rgba(23,23,23,.035) 1px, transparent 1px, transparent 12px);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 248, 223, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
}

.brand-icon img { width: 32px; height: 32px; }

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

nav a {
  padding: 0 14px;
  border: 2px solid transparent;
  color: var(--muted);
}

nav a:hover { color: var(--ink); border-color: var(--ink); }
main { position: relative; z-index: 1; }

.hero {
  min-height: calc(100vh - 81px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(34px, 7vw, 96px) clamp(18px, 5vw, 76px);
}

.kicker,
.section-label {
  margin: 0 0 14px;
  color: #14863d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 11vw, 142px);
  line-height: 0.88;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 0.98;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  text-transform: uppercase;
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 0 20px;
  border: 3px solid var(--ink);
}

.button.primary { background: var(--green); }
.button.secondary { background: rgba(255,255,255,.5); }

.hero-card {
  margin: 0;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: rgba(255,255,255,.55);
  box-shadow: 12px 12px 0 rgba(23,23,23,.18);
  overflow: hidden;
}

.hero-card::after {
  content: "$DOODLEDOG";
  position: absolute;
  left: 18px;
  top: 18px;
  color: rgba(23,23,23,.1);
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 900;
}

.hero-card img {
  position: relative;
  z-index: 1;
  width: min(82%, 420px);
}

.hero-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
}

.hero-card span,
.token-card span,
.bio-lines span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 18px clamp(18px, 5vw, 76px);
  border-block: 3px solid var(--ink);
  background: var(--yellow);
}

.ticker span {
  min-width: max-content;
  padding: 10px 14px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bio-panel,
.token-panel,
.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 76px);
}

.bio-card,
.token-card,
.cards article,
.steps article {
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 8px 8px 0 rgba(23,23,23,.14);
}

.bio-card { padding: clamp(22px, 4vw, 42px); }

.bio-card p,
.token-copy p,
.steps p,
.cards p,
.proof p {
  color: var(--muted);
  line-height: 1.62;
}

.bio-lines {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 3px solid var(--ink);
}

.bio-lines strong {
  color: #14863d;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 76px) clamp(54px, 7vw, 94px);
}

.cards article,
.steps article { padding: 24px; }

.cards article span {
  display: inline-flex;
  margin-bottom: 40px;
  color: #14863d;
  font-weight: 900;
}

.token-panel {
  border-block: 3px solid var(--ink);
  background: rgba(54, 209, 106, 0.12);
}

.token-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.token-card div {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.token-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(20px, 3vw, 34px);
  text-transform: uppercase;
}

.sketch {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 76px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.steps strong {
  display: block;
  margin-bottom: 34px;
  color: #14863d;
  font-size: 12px;
  text-transform: uppercase;
}

.proof {
  align-items: center;
  padding-top: 0;
}

.proof img {
  width: min(100%, 360px);
  justify-self: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 76px);
  border-top: 3px solid var(--ink);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav { justify-content: flex-start; }

  .hero,
  .bio-panel,
  .token-panel,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }
  .hero-card { min-height: 330px; }
  .cards,
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  h1 { font-size: 48px; }
  .token-card { grid-template-columns: 1fr; }
  .button { width: 100%; }
}
