/* Lesson plans — beta page */

.lp-body {
  min-height: 100vh;
  background: transparent;
  position: relative;
}

.lp-memphis-bg {
  display: block;
  opacity: 0.78;
  pointer-events: none;
}

.lp-shape {
  position: absolute;
  border: 3px solid var(--shape-tq-line);
  box-shadow: none;
  pointer-events: none;
}

.lp-shape--1 {
  width: 72px;
  height: 72px;
  top: 14%;
  left: 4%;
  background: var(--shape-tq-deep);
  border-radius: 50%;
}

.lp-shape--2 {
  width: 64px;
  height: 64px;
  top: 20%;
  right: 6%;
  background: var(--shape-tq-soft);
  border-radius: 16px;
  rotate: 12deg;
}

.lp-shape--3 {
  width: 56px;
  height: 56px;
  bottom: 12%;
  left: 8%;
  background: var(--shape-tq-mid);
  border-radius: 50%;
}

.lp-main {
  position: relative;
  z-index: 1;
  padding: 108px 28px 72px;
  max-width: 980px;
}

.lp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.lp-back:hover {
  background: var(--memyellow);
}

.lp-hero {
  text-align: center;
  margin-bottom: 32px;
}

.lp-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  background: var(--memyellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-sticker);
}

.lp-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5.5vw, 42px);
}

.lp-lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  font-weight: 700;
  color: var(--body);
  line-height: 1.6;
}

.lp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.lp-form-card,
.lp-result-card {
  padding: clamp(22px, 4vw, 32px);
  border-radius: calc(var(--radius) + 4px);
}

.lp-form-card h2 {
  margin: 0 0 20px;
  font-size: clamp(22px, 4vw, 28px);
}

.lp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
}

.lp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lp-field input,
.lp-field select,
.lp-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-sizing: border-box;
}

.lp-field textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.55;
}

.lp-error {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #c0392b;
}

.lp-error.hidden {
  display: none !important;
}

.lp-empty-state {
  position: sticky;
  top: 100px;
}

.lp-empty-card {
  padding: 32px 24px;
  text-align: center;
  border: 3px dashed rgba(26, 10, 46, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.lp-empty-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.lp-empty-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.55;
}

.lp-result-wrap.hidden,
.lp-empty-state.hidden {
  display: none !important;
}

.lp-result-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.lp-result-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
  color: #6b4fc7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-result-title {
  margin: 0 0 6px;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.2;
}

.lp-result-meta {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.lp-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-btn-ghost {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
}

.lp-btn-ghost:hover {
  background: var(--memyellow);
}

.lp-goal {
  margin: 0 0 20px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
  background: color-mix(in srgb, var(--memyellow) 35%, #fff);
  border: 3px solid var(--ink);
  border-radius: 14px;
}

.lp-sections {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-section {
  padding: 14px 16px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.lp-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.lp-section-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

.lp-section-duration {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
  background: var(--memteal);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.lp-section p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--body);
  white-space: pre-line;
}

.lp-extra {
  margin-bottom: 16px;
}

.lp-extra h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
}

.lp-extra ul {
  margin: 0;
  padding-right: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--body);
}

.lp-games-link {
  margin-top: 8px;
}

@media (max-width: 820px) {
  .lp-layout {
    grid-template-columns: 1fr;
  }

  .lp-empty-state {
    position: static;
  }

  .lp-main {
    padding-top: 88px;
  }
}

@media (max-width: 640px) {
  .lp-field-row {
    grid-template-columns: 1fr;
  }

  .lp-result-head {
    flex-direction: column;
  }

  .lp-result-actions {
    width: 100%;
  }

  .lp-btn-ghost {
    flex: 1;
    text-align: center;
  }
}
