/*
  Rookie-friendly styles:
  - Keep it simple: cream background, bold borders, and pixel-ish fonts.
  - Change the colors below to tweak the vibe.
*/
:root {
  --cream: #fdf6e3;
  --ink: #1b1b1b;
  --accent: #ff5ea8;
  --panel: #ffffff;
  --shadow: rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  line-height: 1.6;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.tagline-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  image-rendering: pixelated;
  transition: filter 0.2s ease, transform 0.2s ease;
}

/* Crop extra transparent space from the wordmark PNG. */
.tagline-wrap {
  max-width: 440px;
  overflow: hidden;
}

/* Subtle glow to match the retro vibe when hovered. */
.tagline-img:hover {
  filter: drop-shadow(0 0 6px rgba(255, 94, 168, 0.55));
  transform: translateY(-1px);
}

.subtext {
  margin: 12px 0 0;
  max-width: 520px;
}

.window {
  margin-top: 28px;
  border: 3px solid var(--ink);
  background: var(--panel);
  box-shadow: 6px 6px 0 var(--shadow);
}

.window-title {
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.window-body {
  padding: 16px 18px 20px;
}

.asset-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.asset-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: #fff;
  image-rendering: pixelated;
}

.contract-window .window-body {
  display: grid;
  gap: 10px;
}

.contract-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: #fff7f0;
  border: 2px solid var(--ink);
  padding: 10px;
}

.contract-box code {
  font-size: 14px;
  word-break: break-all;
}

.contract-box button {
  cursor: pointer;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  font-weight: bold;
  box-shadow: 2px 2px 0 var(--shadow);
}

.contract-box button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--shadow);
}

.muted {
  margin: 0;
  font-size: 13px;
  color: #4b4b4b;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
}

a:hover {
  color: #c94a84;
  border-bottom-color: #c94a84;
}

.footer {
  text-align: center;
  padding: 12px 16px 28px;
  font-size: 13px;
  color: #3a3a3a;
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 40px;
  }

  .logo-wrap {
    width: 140px;
    height: 140px;
  }
}