/* BuzzKit landing page (index.html). Scoped to body.lp so nothing leaks into the app.
   Uses only the shared tokens and component language from styles.css / BRAND_DESIGN_GUIDE.md:
   3px edge borders, hard offset shadows, Arial Black display type, uppercase heavy labels. */

.lp main { display: block; }
.lp-section { width: min(1180px, calc(100% - 34px)); margin: 0 auto; padding: clamp(56px, 9vw, 96px) 0 0; }
.lp-title {
  margin: 0 0 26px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

/* ---------- Hero ---------- */
.lp-hero {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: clamp(40px, 7vh, 84px) 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.lp-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 11px;
  background: var(--coral);
  color: var(--edge);
  border: 3px solid var(--edge);
  box-shadow: var(--shadow-sm);
  font-weight: 950;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  transform: rotate(-1.5deg);
}
.lp-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.6rem, 9.5vw, 7rem);
  line-height: .82;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 var(--blue), 9px 9px 0 var(--edge);
}
.lp-tagline {
  max-width: 34ch;
  margin: 28px 0 24px;
  color: var(--text);
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
  line-height: 1.45;
  font-weight: 750;
}
.lp-join {
  width: min(100%, 560px);
  margin: 0;
  padding: 18px;
  background: var(--yellow);
  color: var(--edge);
  transform: rotate(.35deg);
}
.lp-join .field { margin: 0; }
.lp-join label { color: var(--edge); }
.lp-join-row { display: flex; gap: 10px; }
.lp-join-row input {
  flex: 1; min-width: 0; min-height: 56px;
  font-family: "Arial Black", Inter, system-ui, sans-serif;
  font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.lp-join-row .btn { min-height: 56px; background: var(--blue); color: #fff; padding-inline: 22px; }
.lp-join .error-text:empty { display: none; }
.lp-join .error-text { margin-top: 8px; }
.lp-join .hint { margin: 10px 0 0; color: #55516a; }
.lp-teacher-link { margin: 22px 0 0; font-weight: 700; color: var(--text); }
.lp-teacher-link a { color: var(--surface-link, var(--blue)); font-weight: 900; }

.lp-hero-art { position: relative; isolation: isolate; transform: rotate(1.5deg); }
.lp-hero-art::before {
  content: "";
  position: absolute;
  inset: -12px 16px 18px -14px;
  background: var(--yellow);
  border: 4px solid var(--edge);
  box-shadow: 10px 10px 0 var(--edge);
  z-index: -1;
}
.lp-hero-art img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border: 4px solid var(--edge); background: var(--panel-2);
}

/* ---------- How it works ---------- */
.lp-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  counter-reset: none;
}
.lp-step { position: relative; padding: 18px 22px 24px; text-align: center; margin: 0; }
.lp-step:nth-child(1) { transform: rotate(-.6deg); }
.lp-step:nth-child(2) { transform: rotate(.5deg); }
.lp-step:nth-child(3) { transform: rotate(-.3deg); }
.lp-step img { display: block; width: min(100%, 220px); height: auto; aspect-ratio: 1; margin: 0 auto 6px; object-fit: contain; }
.lp-step-num {
  position: absolute; top: -16px; left: -12px;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--blue); color: #fff;
  border: 3px solid var(--edge); border-radius: 7px; box-shadow: var(--shadow-sm);
  font-family: "Arial Black", Inter, system-ui, sans-serif; font-size: 1.35rem;
  transform: rotate(-6deg);
}
.lp-step h3 { margin: 4px 0 8px; font-size: 1.3rem; text-transform: uppercase; letter-spacing: -0.01em; }
.lp-step p { margin: 0 auto; max-width: 30ch; color: var(--text-soft); line-height: 1.55; font-weight: 600; }

/* ---------- Testimonial ---------- */
.lp-quote-wrap { display: flex; justify-content: center; }
.lp-quote {
  position: relative;
  margin: 0;
  width: min(820px, 100%);
  padding: clamp(34px, 5vw, 52px) clamp(26px, 5vw, 64px) clamp(28px, 4vw, 40px);
  background: var(--mint);
  color: var(--edge);
  border: 4px solid var(--edge);
  border-radius: 12px;
  box-shadow: 10px 10px 0 var(--edge);
  transform: rotate(-.6deg);
  text-align: center;
}
.lp-quote-mark {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 72px; height: 72px; display: grid; place-items: center;
  background: var(--yellow); border: 4px solid var(--edge); border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: "Arial Black", Georgia, serif; font-size: 3.4rem; line-height: 1; padding-top: 22px;
}
.lp-quote blockquote { margin: 0; }
.lp-quote blockquote p, .lp-quote figcaption, .lp-quote-mark { color: var(--edge); }
.lp-cta h2 { color: #fff; }
.lp-quote blockquote p {
  margin: 0;
  font-family: "Arial Black", Inter, system-ui, sans-serif;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lp-quote em { font-style: normal; background: var(--yellow); padding: 0 .18em; border: 3px solid var(--edge); box-shadow: 3px 3px 0 var(--edge); display: inline-block; transform: rotate(-3deg); }
.lp-quote figcaption { margin-top: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }

/* ---------- Modes ---------- */
.lp-modes { width: min(1180px, calc(100% - 34px)); margin-top: 0; }
.lp-mode-grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- Features ---------- */
.lp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-feature { padding: 22px; margin: 0; }
.lp-feature h3 { margin: 14px 0 6px; font-size: 1.12rem; text-transform: uppercase; letter-spacing: -0.01em; }
.lp-feature p { margin: 0; color: var(--text-soft); line-height: 1.55; font-weight: 600; }
.lp-feature-icon {
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 3px solid var(--edge); border-radius: 7px; box-shadow: var(--shadow-sm); color: var(--edge);
}
.lp-feature-icon .icon { width: 26px; height: 26px; }
.lp-c-yellow { background: var(--yellow); }
.lp-c-mint { background: var(--mint); }
.lp-c-blue { background: #67a7ff; }
.lp-c-coral { background: var(--coral); }

/* ---------- Creator note + closing CTA ---------- */
.lp .creator-note { margin-top: clamp(56px, 9vw, 96px); }
.lp-cta {
  width: min(1180px, calc(100% - 34px));
  margin: clamp(56px, 9vw, 96px) auto 40px;
  padding: clamp(34px, 6vw, 60px) 24px;
  background: var(--blue);
  color: #fff;
  border: 4px solid var(--edge);
  border-radius: 12px;
  box-shadow: 10px 10px 0 var(--edge);
  text-align: center;
}
.lp-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  text-transform: uppercase; letter-spacing: -0.02em;
  text-shadow: 4px 4px 0 var(--edge);
  text-wrap: balance;
}
.lp-cta p { margin: 0 0 26px; color: #fff; font-size: 1.15rem; font-weight: 750; }
.lp-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-cta .btn-secondary { background: var(--bg-raised); color: var(--surface-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .lp-mode-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 32px; }
  .lp-hero-art { max-width: 560px; margin: 8px auto 0; width: calc(100% - 20px); }
  .lp-steps { grid-template-columns: 1fr; gap: 34px; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .lp-mode-grid, .lp-feature-grid { grid-template-columns: 1fr; }
  .lp-join-row { flex-direction: column; }
  .lp-join-row .btn { width: 100%; }
  .lp-quote { transform: none; box-shadow: 6px 6px 0 var(--edge); }
  .lp-quote-mark { width: 60px; height: 60px; font-size: 2.8rem; top: -30px; }
  .lp-cta { box-shadow: 6px 6px 0 var(--edge); }
  .lp-cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-step, .lp-quote, .lp-quote em, .lp-hero-art, .lp-join, .lp-kicker { transform: none; }
}

/* The note card is always yellow, so its text must stay ink in dark mode too
   (the global p colour is the theme's soft text, which vanished on yellow). */
.lp .note-card p, .lp .note-sign { color: var(--edge); }
