:root {
  --ink: #102418;
  --deep: #0e6b32;
  --leaf: #146b34;
  --bright: #46d36e;
  --lime: #d8ff6a;
  --foam: #f4ffe8;
  --paper: #fbfff6;
  --wash: #e5f7d4;
  --muted: #1d4a30;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  border-left: 12px solid var(--ink);
  background-color: var(--wash);
  background-image:
    radial-gradient(920px 640px at -8% -6%, rgba(198, 245, 106, 0.95), transparent 62%),
    radial-gradient(780px 560px at 108% 4%, rgba(70, 211, 110, 0.55), transparent 58%),
    radial-gradient(640px 480px at 78% 42%, rgba(255, 255, 255, 0.72), transparent 60%),
    radial-gradient(820px 560px at 4% 88%, rgba(31, 154, 72, 0.28), transparent 62%),
    radial-gradient(760px 520px at 100% 100%, rgba(14, 107, 50, 0.38), transparent 64%);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 255, 246, 0.94);
  border-bottom: 4px solid var(--ink);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 96px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark,
.footer-mark {
  display: block;
  width: 74px;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
}

.brand-name,
.footer-name,
.section-title,
.hero-title,
.receipt-name,
.buy-step h3,
.comic-btn,
.chain-line,
.kicker,
.site-nav a {
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
}

.brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
}

.site-nav a:not(.x-link) {
  background-image: linear-gradient(var(--bright), var(--bright));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 3px;
}

.site-nav a:not(.x-link):hover {
  color: var(--ink);
  background-size: 100% 3px;
}

.x-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--lime);
  color: var(--ink);
}

.x-link:hover {
  color: var(--ink);
  background: var(--paper);
}

.hero,
.about,
.community {
  padding: 4.25rem 0 4.5rem;
}

.hero {
  padding-top: 2.75rem;
}

.hero-copy {
  container-type: inline-size;
}

@media (min-width: 992px) {
  .hero-copy {
    border-left: 4px solid var(--ink);
    padding-left: 2.1rem;
  }
}

.hero-title {
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  font-size: clamp(3.2rem, 22cqi, 5.8rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 0.06em var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(0.055em 0.055em 0 var(--leaf));
}

.chain-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.chain-line img {
  width: 26px;
  height: 26px;
  flex: none;
}

.hero-bio {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  font-size: 1.22rem;
  line-height: 1.55;
}

.art {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 10px;
  border: 4px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--leaf);
}

.section-title {
  margin: 0 0 1.15rem;
  padding-left: 0.75rem;
  border-left: 8px solid var(--bright);
  color: var(--ink);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 0.95;
}

.about-lead {
  max-width: 40rem;
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
}

.about-body {
  max-width: 42rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.howto {
  padding: 4.25rem 0 4.6rem;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background:
    radial-gradient(880px 420px at 100% 0%, rgba(198, 245, 106, 0.2), transparent 62%),
    linear-gradient(180deg, var(--leaf) 0%, var(--ink) 100%);
}

.howto .section-title,
.howto-lead {
  color: var(--foam);
}

.howto-lead {
  max-width: 36rem;
  margin: 0 0 1.45rem;
  font-size: 1.15rem;
}

.receipt {
  max-width: 820px;
  padding: 1.5rem 1.4rem 1.35rem;
  border: 4px solid var(--foam);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 rgba(198, 245, 106, 0.9);
}

.receipt-name {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.receipt-name span {
  color: var(--deep);
}

.kicker {
  margin: 0 0 0.35rem;
  color: var(--leaf);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ca-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.ca-value {
  flex: 1 1 240px;
  margin: 0;
  color: var(--ink);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-all;
}

.buy-step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-top: 2px solid rgba(16, 36, 24, 0.12);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: none;
  padding: 6px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: #edffc4;
}

.step-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.buy-step h3 {
  margin: 0 0 0.15rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.buy-step p {
  margin: 0;
  color: var(--muted);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.receipt-actions {
  margin-top: 1.15rem;
}

.comic-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.85rem 1.1rem;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  appearance: none;
}

.comic-btn-paper {
  background: var(--paper);
}

.comic-btn-lg {
  padding: 1rem 1.3rem;
  font-size: 1.35rem;
}

.comic-btn img {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
  object-fit: contain;
}

.comic-btn .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.comic-btn:hover {
  color: var(--ink);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.comic-btn:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.community-row {
  margin-top: 1.2rem;
}

.community-copy {
  max-width: 38rem;
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.5;
}

.site-footer {
  padding: 1.35rem 0 1.7rem;
  border-top: 4px solid var(--ink);
  background: rgba(251, 255, 246, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-mark {
  width: 54px;
}

.footer-name {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.footer-symbol {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .hero,
  .about,
  .howto,
  .community {
    padding: 2.8rem 0;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .receipt {
    padding: 1.1rem;
  }

  .brand-name {
    font-size: 1.55rem;
  }
}

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

  .comic-btn:hover {
    transform: none;
  }

  .site-nav a:not(.x-link) {
    transition: none;
  }
}
