/* FRAMED COMMITS — bold poster register. Near-black ground, GitHub greens
   as the loud accent, one hot pink used sparingly. System fonts only. */

:root {
  --ink: #0b0e11;
  --panel: #12161b;
  --paper: #f4f6f4;
  --green-1: #9be9a8;
  --green-2: #40c463;
  --green-3: #30a14e;
  --green-4: #216e39;
  --hot: #ff2e7e;
  --muted: #9aa7a0;
  --heavy: "Arial Black", "Archivo Black", Impact, "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--green-1); }

/* ------------------------------------------------------------- marquee */
.marquee {
  background: var(--green-3);
  color: #04140a;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 4px solid #000;
}
.marquee-track {
  display: inline-flex;
  gap: 1.2rem;
  padding: 0.45rem 0;
  font-family: var(--heavy);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  padding: 2.2rem 1.1rem 2.6rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.stickers { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.sticker {
  font-family: var(--heavy);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.7rem;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  color: #04140a;
}
.sticker-a { background: var(--green-1); transform: rotate(-2deg); }
.sticker-b { background: var(--paper); transform: rotate(1.5deg); }
.sticker-c { background: var(--hot); color: #fff; transform: rotate(-1deg); }

.hero h1 {
  font-family: var(--heavy);
  font-size: clamp(3rem, 14vw, 8.5rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: clamp(1.05rem, 4.5vw, 1.5rem);
  max-width: 42ch;
  margin: 0 0 0.6rem;
}
.hero-sub strong { color: var(--green-1); }
.hero-note { color: var(--muted); font-size: 0.85rem; max-width: 55ch; }

/* ------------------------------------------------------------ countdown */
.countdown-box {
  margin: 1.8rem 0;
  border: 3px solid var(--hot);
  background: var(--panel);
  padding: 1rem 1.1rem;
  max-width: 560px;
}
.countdown-label {
  font-family: var(--heavy);
  color: var(--hot);
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}
.countdown {
  font-family: var(--heavy);
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  line-height: 1.05;
  color: #fff;
}
.gag-caption { color: var(--muted); font-size: 0.9rem; max-width: 62ch; }
.gag-caption strong { color: var(--paper); }
.gag-caption.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --------------------------------------------------------------- lookup */
.lookup label {
  display: block;
  font-family: var(--heavy);
  letter-spacing: 0.06em;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--green-1);
}
.lookup-row { display: flex; align-items: stretch; max-width: 640px; }
.lookup-row .at {
  font-family: var(--heavy);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  padding: 0 0.4rem 0 0;
  color: var(--muted);
}
.lookup input {
  flex: 1;
  min-width: 0;
  font-size: 1.15rem;
  padding: 0.8rem 0.9rem;
  border: 3px solid var(--paper);
  background: #fff;
  color: #000;
  border-radius: 0;
}
.lookup button {
  font-family: var(--heavy);
  font-size: 1rem;
  background: var(--green-2);
  color: #04140a;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  padding: 0.8rem 1rem;
  cursor: pointer;
  white-space: nowrap;
}
.lookup button:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #000; }
.lookup-note { color: var(--muted); font-size: 0.9rem; }
.lookup-error {
  background: #3d0a1e;
  border: 2px solid var(--hot);
  color: #ffd7e8;
  padding: 0.7rem 0.9rem;
  max-width: 640px;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- main */
main { max-width: 1100px; margin: 0 auto; padding: 0 1.1rem; }
section { margin: 3.2rem 0; }
section h2 {
  font-family: var(--heavy);
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}
section h2 .reviews-sub, section h2 .how-sub, section h2 .facts-sub {
  color: var(--green-2);
  font-size: 0.45em;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------- room + frame */
.room {
  background: linear-gradient(180deg, #1a2129 0%, #232d38 68%, #2e2620 68.2%, #241d17 100%);
  border: 3px solid #000;
  padding: clamp(1.2rem, 6vw, 3.5rem) clamp(0.7rem, 4vw, 2.5rem) clamp(1.6rem, 7vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.frame {
  background: #050505;
  padding: clamp(10px, 2.5vw, 22px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.65), 0 6px 14px rgba(0, 0, 0, 0.6);
  max-width: 860px;
  width: 100%;
}
.mat {
  background: #fdfdfa;
  padding: clamp(10px, 3.5vw, 34px);
  position: relative;
}
.mat canvas { display: block; width: 100%; height: auto; }
.frame-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #111;
  padding: 1rem;
}
.frame-placeholder p:first-child {
  font-family: var(--heavy);
  font-size: clamp(1.6rem, 7vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.6rem;
}
.frame-placeholder-sub { color: #555; max-width: 34ch; margin: 0; font-size: 0.95rem; }
.frame-shadow-note { color: #c8d2cc; font-size: 0.88rem; margin-top: 1.4rem; text-align: center; max-width: 60ch; }

/* --------------------------------------------------------------- buy box */
.buy-box {
  margin-top: 2rem;
  border: 3px solid var(--green-3);
  background: var(--panel);
  padding: 1.2rem 1.1rem 1.4rem;
}
.price-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.anchor-price {
  font-family: var(--heavy);
  font-size: 1.6rem;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--hot);
  text-decoration-thickness: 4px;
}
.real-price {
  font-family: var(--heavy);
  font-size: clamp(2.6rem, 11vw, 4rem);
  color: var(--green-1);
  line-height: 1;
}
.stock-badge {
  font-family: var(--heavy);
  background: var(--hot);
  color: #fff;
  padding: 0.35rem 0.65rem;
  transform: rotate(-2deg);
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  font-size: 0.95rem;
}
.sizes { border: none; padding: 0; margin: 1.2rem 0 1rem; }
.sizes legend {
  font-family: var(--heavy);
  letter-spacing: 0.05em;
  color: var(--green-1);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.size-option {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  border: 2px solid #39424b;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  background: #0e1216;
}
.size-option:has(input:checked) { border-color: var(--green-2); background: #12241a; }
.size-label { font-family: var(--heavy); font-size: 1.15rem; }
.size-price { color: var(--green, #40c463); font-weight: 700; font-size: 0.95rem; margin-left: 0.5rem; }
.size-note { color: var(--muted); font-size: 0.85rem; }
.email-label {
  display: block;
  font-family: var(--heavy);
  letter-spacing: 0.05em;
  color: var(--green-1);
  font-size: 0.95rem;
  margin: 1rem 0 0.5rem;
}
#buy-form input[type="email"] {
  width: 100%;
  max-width: 520px;
  font-size: 1.1rem;
  padding: 0.75rem 0.9rem;
  border: 3px solid var(--paper);
  background: #fff;
  color: #000;
  border-radius: 0;
  display: block;
}
#buy-btn {
  margin-top: 1rem;
  font-family: var(--heavy);
  font-size: clamp(1.1rem, 5vw, 1.5rem);
  background: var(--green-2);
  color: #04140a;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 1rem 1.4rem;
  cursor: pointer;
  width: 100%;
  max-width: 520px;
}
#buy-btn:disabled { background: #3a434b; color: #8b959d; cursor: not-allowed; box-shadow: none; }
#buy-btn:not(:disabled):active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 #000; }
.buy-note { color: var(--muted); font-size: 0.9rem; max-width: 62ch; }
.buy-note.good { color: var(--green-1); font-size: 1rem; }
.buy-note.bad { color: #ff9ec2; }

/* -------------------------------------------------------------- reviews */
.review-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--panel);
  border: 2px solid #39424b;
  padding: 1rem;
}
.review .stars { color: var(--green-1); font-size: 1.3rem; letter-spacing: 0.2em; }
.review p { font-size: 1.02rem; }
.review footer { color: var(--muted); font-size: 0.85rem; }

/* ---------------------------------------------------------- social proof */
.social-proof { text-align: center; border: 3px dashed #39424b; padding: 1.6rem 1rem; }
.social-proof h2 { margin-bottom: 0.4rem; }
.huge-zero { color: var(--hot); font-size: 1.5em; }
.social-proof .gag-caption { margin: 0 auto; }

/* ------------------------------------------------------------ steps/facts */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.steps li {
  counter-increment: step;
  background: var(--panel);
  border-left: 8px solid var(--green-3);
  padding: 0.9rem 1rem 0.9rem 3.2rem;
  position: relative;
  font-size: 1.02rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 0.55rem;
  font-family: var(--heavy);
  font-size: 1.7rem;
  color: var(--green-1);
}
.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.fact-list li { background: var(--panel); padding: 0.8rem 1rem; border-left: 8px solid var(--paper); font-size: 1rem; }

/* ------------------------------------------------------------ confession */
.trick-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.trick-table th, .trick-table td { border: 2px solid #39424b; padding: 0.6rem 0.7rem; text-align: left; vertical-align: top; }
.trick-table th { font-family: var(--heavy); letter-spacing: 0.05em; background: var(--panel); }
.trick-table td:first-child { font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) { .trick-table td:first-child { white-space: normal; } }

/* --------------------------------------------------------------- footer */
.site-footer {
  border-top: 4px solid var(--green-3);
  margin-top: 3.5rem;
  padding: 1.6rem 1.1rem 2.4rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.footer-joke { font-family: var(--heavy); font-size: 1.05rem; text-transform: uppercase; }
.footer-fine { color: var(--muted); font-size: 0.85rem; }

/* --------------------------------------------------------------- thanks */
.thanks { max-width: 760px; margin: 0 auto; padding: 2.4rem 1.1rem 3rem; }
.thanks h1 {
  font-family: var(--heavy);
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.thanks-detail { background: var(--panel); border-left: 8px solid var(--green-3); padding: 0.8rem 1rem; }
