:root {
  --purple: #803fe8;
  --purple-deep: #6d32d6;
  --purple-light: #8f50ee;
  --chalk: #fffdf8;
  --chalk-muted: rgba(255,253,248,.83);
  --green: #55f36c;
  --green-2: #8bff98;
  --ink: #0a0a0b;
  --line: rgba(255,255,255,.78);
  --max: 1780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  color: var(--chalk);
  background: var(--purple);
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  overflow-x: hidden;
}
body::selection { background: var(--green); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.textured {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 28% 16%, rgba(255,255,255,.055), transparent 28%),
    radial-gradient(circle at 77% 72%, rgba(50,10,120,.09), transparent 34%),
    linear-gradient(180deg, var(--purple-light) 0%, var(--purple) 44%, var(--purple-deep) 100%);
}
.textured::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("./assets/noise.png") repeat;
  opacity: .24;
  mix-blend-mode: soft-light;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(95,38,205,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.header-inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Arial Black", Impact, sans-serif;
  letter-spacing: -.025em;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 46px); font-size: .9rem; font-weight: 900; }
.main-nav a { opacity: .9; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green); }
.header-buy {
  padding: 10px 15px;
  border: 2px solid var(--chalk);
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
  transform: rotate(-.4deg);
}

.hero { min-height: calc(100vh - 72px); display: grid; align-items: center; }
.hero-grid {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 76px) 0;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(520px, 1.15fr) minmax(230px, .56fr);
  gap: clamp(28px, 3.5vw, 64px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.crown { color: var(--green); font-family: Arial, sans-serif; font-size: clamp(42px, 4vw, 68px); line-height: .75; transform: rotate(-11deg); margin: 0 0 14px 8px; }
.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(78px, 7.2vw, 146px);
  line-height: .76;
  letter-spacing: -.065em;
  text-transform: uppercase;
  transform: rotate(-1.2deg);
}
.hero h1 span:first-child { color: var(--chalk); text-shadow: 4px 5px 0 rgba(0,0,0,.75); }
.hero h1 span:last-child { color: var(--green); margin-left: 12px; text-shadow: 4px 5px 0 rgba(0,0,0,.75); }
.ticker-wrap {
  width: max-content;
  max-width: 100%;
  margin: 30px 0 12px 10px;
  padding: 0 20px 4px;
  color: var(--green);
  font-size: clamp(34px, 3.1vw, 60px);
  font-weight: 900;
  border: 3px solid var(--green);
  border-radius: 50%;
  transform: rotate(-2deg);
}
.tagline {
  max-width: 510px;
  margin: 20px 0 24px 10px;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.28;
  color: var(--chalk);
  transform: rotate(-.4deg);
}
.tagline::after { content: ""; display: block; width: 68%; height: 4px; margin: 8px 0 0 18%; background: var(--green); transform: rotate(-1.4deg); }
.contract-line {
  width: min(100%, 560px);
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 14px;
  margin: 0 0 16px 5px;
  border: 2px solid var(--chalk);
  background: rgba(51,11,126,.18);
  transform: rotate(.2deg);
}
.contract-line > span { font-weight: 900; }
.contract-line code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--chalk); font-size: .82rem; }
.copy-ca { border: 1px solid var(--chalk); background: transparent; color: var(--chalk); padding: 7px 9px; cursor: pointer; font-weight: 900; }
.copy-ca:hover, .copy-ca:focus-visible { border-color: var(--green); color: var(--green); }
.copy-ca.copied { background: var(--green); color: var(--ink); border-color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-left: 4px; }
.marker-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 2px solid var(--chalk);
  background: rgba(74,22,171,.15);
  color: var(--chalk);
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 130ms ease, background 130ms ease;
}
.marker-button:nth-child(even) { transform: rotate(.45deg); }
.marker-button:nth-child(odd) { transform: rotate(-.35deg); }
.marker-button:hover, .marker-button:focus-visible { transform: translateY(-3px) scale(1.02); background: rgba(255,255,255,.08); }
.marker-button img { width: 25px; height: 25px; object-fit: contain; flex: 0 0 auto; }
.buy-button { background: var(--green); color: var(--ink); border-color: var(--green); }
.buy-button:hover, .buy-button:focus-visible { background: var(--green-2); }

.hero-art-column { min-width: 0; display: grid; gap: 14px; align-items: center; }
.art-frame {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}
.hero-art {
  width: min(100%, 760px);
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 16px 12px rgba(30,0,80,.26));
}
.art-note {
  color: var(--chalk);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 800;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}
.art-note b { color: var(--green); }
.art-note::after { content: ""; display: block; height: 3px; margin-top: 5px; background: var(--green); transform: rotate(-1deg); }
.top-note { justify-self: end; margin-right: 5%; position: relative; }
.scribble-arrow { position: absolute; right: 76%; top: 25px; font-size: 2.2em; color: var(--chalk); transform: rotate(8deg); }
.art-notes-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; align-items: start; }
.art-notes-row .art-note:nth-child(1) { justify-self: start; }
.art-notes-row .art-note:nth-child(2) { justify-self: center; }
.art-notes-row .art-note:nth-child(3) { justify-self: end; }

.today-card {
  align-self: center;
  width: 100%;
  padding: clamp(20px, 2vw, 30px);
  border: 2px solid var(--chalk);
  background: rgba(79,26,177,.24);
  transform: rotate(-1deg);
}
.today-card h2 { margin: 0 0 17px; font-size: clamp(22px, 1.8vw, 31px); border-bottom: 3px solid var(--green); padding-bottom: 8px; }
.today-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.today-card li { position: relative; padding-left: 30px; font-size: clamp(14px, 1.05vw, 18px); }
.today-card li::before { content: ""; position: absolute; width: 15px; height: 15px; left: 0; top: .14em; border: 2px solid var(--chalk); }
.today-card p { margin: 22px 0 0; color: var(--green); font-weight: 900; font-size: clamp(17px, 1.25vw, 21px); }

.section { border-top: 1px solid rgba(255,255,255,.2); }
.section-inner { width: min(calc(100% - 48px), 1380px); margin: 0 auto; padding: clamp(70px, 8vw, 118px) 0; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(46px, 8vw, 120px); align-items: start; }
.kicker { margin: 0 0 10px; color: var(--green); font-weight: 900; letter-spacing: .05em; }
.section h2 { margin: 0; max-width: 700px; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(44px, 5vw, 88px); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; text-shadow: 3px 4px 0 rgba(0,0,0,.55); }
.body-copy { font-size: clamp(20px, 1.6vw, 28px); line-height: 1.45; color: var(--chalk-muted); }
.body-copy p { margin-top: 0; }
.green-line { color: var(--green); font-weight: 900; }
.buy-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(54px, 8vw, 130px); align-items: start; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 24px; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; font-size: clamp(19px, 1.45vw, 26px); }
.steps strong { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--green); color: var(--green); border-radius: 50%; transform: rotate(-6deg); }
.reminder-card { padding: 30px; border: 2px solid var(--chalk); background: rgba(71,16,161,.22); transform: rotate(1deg); }
.reminder-card > span { display: block; color: var(--green); font-weight: 900; }
.reminder-card > strong { display: block; margin-top: 8px; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(30px, 3vw, 54px); line-height: .95; }
.reminder-card p { font-size: 1.1rem; line-height: 1.4; }
.wide { width: 100%; margin-top: 12px; }
.site-footer { border-top: 1px solid rgba(255,255,255,.2); }
.footer-inner { width: min(calc(100% - 48px), 1380px); min-height: 110px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-weight: 900; }
.footer-inner span:nth-child(2) { font-weight: 600; opacity: .9; }
.footer-inner span:last-child { color: var(--green); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

@media (max-width: 1320px) {
  .hero-grid { grid-template-columns: minmax(340px, .9fr) minmax(500px, 1.1fr); }
  .today-card { grid-column: 1 / -1; width: min(100%, 920px); justify-self: center; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; transform: none; }
  .today-card h2, .today-card p { margin: 0; }
  .today-card ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1040px) {
  .header-inner { grid-template-columns: auto auto; }
  .main-nav { display: none; }
  .header-buy { justify-self: end; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; width: min(calc(100% - 34px), 820px); padding-top: 42px; }
  .hero-copy { text-align: center; }
  .crown { margin-left: auto; margin-right: auto; width: max-content; }
  .hero h1 { align-items: center; font-size: clamp(76px, 14vw, 128px); }
  .hero h1 span:last-child { margin-left: 0; }
  .ticker-wrap { margin-left: auto; margin-right: auto; }
  .tagline { margin-left: auto; margin-right: auto; }
  .contract-line { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; margin-left: 0; }
  .hero-art-column { width: min(100%, 760px); justify-self: center; }
  .hero-art { max-height: 520px; }
  .today-card { grid-column: auto; width: min(100%, 700px); display: block; }
  .today-card ul { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .today-card p { margin-top: 20px; }
  .two-col, .buy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 64px; }
  .site-header { position: relative; }
  .header-inner { min-height: 64px; width: min(calc(100% - 24px), 620px); }
  .brand span { display: none; }
  .brand img { width: 38px; height: 38px; }
  .header-buy { font-size: .84rem; padding: 9px 11px; }
  .hero-grid { width: min(calc(100% - 24px), 620px); gap: 36px; padding: 34px 0 46px; }
  .hero h1 { font-size: clamp(64px, 21vw, 104px); }
  .ticker-wrap { font-size: clamp(32px, 10vw, 46px); }
  .tagline { font-size: clamp(20px, 6.3vw, 28px); }
  .contract-line { grid-template-columns: auto minmax(0,1fr); }
  .copy-ca { grid-column: 1 / -1; width: 100%; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .marker-button { width: 100%; min-width: 0; padding: 10px 9px; }
  .buy-button { grid-column: 1 / -1; }
  .hero-art { width: 100%; max-height: 400px; }
  .top-note { justify-self: center; margin: 0; }
  .scribble-arrow { display: none; }
  .art-notes-row { grid-template-columns: 1fr; gap: 13px; }
  .art-notes-row .art-note { justify-self: center !important; }
  .today-card ul { grid-template-columns: 1fr; }
  .section-inner { width: min(calc(100% - 28px), 620px); padding: 64px 0; }
  .section h2 { font-size: clamp(42px, 13vw, 68px); }
  .footer-inner { width: min(calc(100% - 28px), 620px); flex-direction: column; justify-content: center; text-align: center; padding: 30px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
