:root {
  --paper: #f7f3e8;
  --ink: #111111;
  --green: #58d944;
  --gold: #f4c81d;
  --muted: #6d6b63;
  --line: #171717;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,0,0,.10) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.08) 0 1px, transparent 1px);
  background-size: 31px 31px, 41px 41px;
}

.page-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 18px auto;
  border: 3px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.35);
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 3px solid var(--line);
  font-weight: 900;
  letter-spacing: .06em;
}

.brand { font-size: clamp(18px, 2vw, 24px); }
.ticker {
  padding: 7px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  border: 2px solid var(--line);
  padding: 7px 10px;
  border-radius: 999px;
  background: white;
  font-size: 12px;
  font-weight: 900;
  transform: rotate(-1.5deg);
}

h1 {
  margin: 18px 0 4px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: .93;
  letter-spacing: -.055em;
}

.lead {
  margin: 0 0 24px;
  font-size: clamp(22px, 3vw, 36px);
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  appearance: none;
  text-decoration: none;
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--line);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover:not(.disabled) { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--line); }
.btn-primary { background: var(--green); }
.btn-secondary { background: var(--gold); }
.btn.disabled { opacity: .45; cursor: not-allowed; }

.ca-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(255,255,255,.55);
  overflow: hidden;
}
.ca-box span { font-weight: 900; }
.ca-box code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.art-card {
  border: 3px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 12px;
  transform: rotate(1.2deg);
  box-shadow: 7px 7px 0 var(--line);
}
.art-card img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.why {
  border-top: 3px solid var(--line);
  padding: 34px 42px 40px;
}
.why h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -.035em;
}
.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.answer-card {
  min-height: 140px;
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 4px 4px 0 var(--line);
}
.answer-card strong { font-size: 34px; color: var(--green); -webkit-text-stroke: 1px var(--ink); }
.answer-card span { font-size: 21px; font-weight: 900; }

.quote {
  border-top: 3px solid var(--line);
  background: var(--green);
  padding: 34px 22px;
  text-align: center;
}
.quote p {
  margin: 0;
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.04em;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-top: 3px solid var(--line);
  font-weight: 900;
}
.tiny { color: var(--muted); font-size: 12px; text-align: right; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: white;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 900;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .page-shell { width: calc(100% - 18px); margin: 9px auto; box-shadow: 4px 4px 0 var(--line); }
  .hero { grid-template-columns: 1fr; padding: 26px 20px 32px; }
  .art-card { order: -1; }
  .answer-grid { grid-template-columns: 1fr; }
  .why { padding: 28px 20px 34px; }
  footer { flex-direction: column; }
  .tiny { text-align: left; }
}
