:root {
  --rh: #00c805;
  --ink: #2a221c;
  --cream: #f4eee4;
  --card: #fffaf3;
  --blush: #d98474;
  --muted: #6b5e54;
  --white: #fffdf8;
  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav-h: 72px;
  --max: 1040px;
  --shadow: 4px 4px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ol,
ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--blush);
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--blush);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
}

h1,
h2,
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  font-weight: 800;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn--solid {
  background: var(--blush);
  color: var(--ink);
}

.btn--outline {
  background: var(--card);
}

.btn--lg {
  min-height: 52px;
  padding: 0 20px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 3px solid var(--ink);
  background: var(--card);
}

.nav__inner {
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 24px);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: none;
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.12rem;
}

.brand__sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.nav__links {
  display: flex;
  gap: 18px;
  margin-left: 12px;
  font-weight: 800;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 2px solid var(--ink);
  background: var(--card);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(42 34 28 / 0.4);
}

.hero {
  padding: 36px clamp(14px, 3vw, 24px) 20px;
  overflow: clip;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
}

.hero__copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero__copy h1 {
  font-size: clamp(2.15rem, 6.4vw, 4.35rem);
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero__punch {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin-bottom: 12px;
}

.hero__sub {
  max-width: 34ch;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero__sub a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portrait {
  width: 100%;
  max-width: 380px;
  justify-self: end;
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--card);
  overflow: hidden;
  isolation: isolate;
}

.portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.portrait figcaption {
  padding: 10px 14px 12px;
  font-family: var(--font-display);
}

.portrait--cutout {
  max-width: 420px;
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  position: relative;
  z-index: 0;
}

.portrait--cutout img {
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px clamp(14px, 3vw, 24px);
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.section h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  max-width: 18ch;
  margin-bottom: 22px;
}

.meter {
  padding: 20px;
  background: var(--card);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}

.meter__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.meter__bar {
  height: 18px;
  border: 2px solid var(--ink);
  background: var(--cream);
  overflow: hidden;
}

.meter__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blush);
}

.meter__hint {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.tok {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tok__item {
  padding: 12px;
  border: 2px solid var(--ink);
  background: var(--cream);
}

.tok__val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.tok__lab {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
}

.addr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--card);
  border: 3px solid var(--ink);
}

.addr__lab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.addr__val {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.addr__copy,
.addr__exp {
  padding: 6px 10px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 800;
}

.addr__exp {
  background: var(--card);
  color: var(--ink);
}

.feed {
  margin-top: 16px;
  padding: 16px;
  border: 3px solid var(--ink);
  background: var(--card);
  min-height: 72px;
}

.feed__empty,
.feed li {
  font-size: 0.95rem;
  color: var(--muted);
}

.feed__item + .feed__item {
  margin-top: 8px;
}

.feed__item a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 3px solid var(--ink);
}

.step__n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--blush);
  color: var(--white);
  border: 3px solid var(--ink);
  font-family: var(--font-display);
}

.step h3 {
  margin-bottom: 4px;
}

.step p {
  color: var(--muted);
}

.charity {
  margin-top: 18px;
  color: var(--muted);
}

.charity a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.pics li {
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--card);
  overflow: hidden;
}

.pics img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pics span {
  display: block;
  padding: 8px 10px 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--ink);
}

.buy__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer {
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px clamp(14px, 3vw, 24px) 40px;
}

.footer__brand {
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.footer__disclaimer {
  max-width: 62ch;
  font-size: 0.85rem;
  color: #c9c3b8;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  translate: -50% 16px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  border: 3px solid var(--blush);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, translate 0.2s ease;
}

.toast.show {
  opacity: 1;
  translate: -50% 0;
}

@media (max-width: 1020px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 420px;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .tok,
  .pics {
    grid-template-columns: 1fr 1fr;
  }

  .nav__panel {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  body.nav-open .nav__panel {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 3px solid var(--ink);
  }

  body.nav-open .nav__links {
    flex-direction: column;
    gap: 0;
    margin: 0;
  }

  body.nav-open .nav__links a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--cream);
  }

  body.nav-open .nav__actions {
    margin: 0;
    padding: 12px 16px 16px;
  }
}

@media (max-width: 640px) {
  .nav__cta {
    display: none;
  }

  body.nav-open .nav__cta {
    display: inline-flex;
  }

  .hero__actions,
  .buy__cta {
    width: 100%;
  }

  .hero__actions .btn,
  .buy__cta .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
