.learn-hero-video {
  margin: 0.75rem auto 1.25rem;
  max-width: 28rem;
}

.learn-price-row {
  margin-bottom: 2rem;
}

.learn-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid #111;
  padding: 1.35rem 1.15rem 1.15rem;
  margin-bottom: 1.25rem;
  background: #fff;
  text-align: center;
}

.learn-price-ribbon {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border: 2px solid #111;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.learn-price-ribbon-casual {
  background: #cfc;
}

.learn-price-ribbon-strict {
  background: #fc9;
}

.learn-price-ribbon-diy {
  background: #eee;
  color: #333;
}

.learn-price-card-featured {
  border-width: 3px;
  box-shadow: 0 4px 0 #111;
}

.learn-price-card-muted {
  border-color: #888;
}

.learn-price-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.learn-price-amount {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.learn-price-amount.learn-price-custom {
  font-size: 1.55rem;
  line-height: 1.15;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.learn-price-unit {
  font-size: 1rem;
  font-weight: 600;
}

.learn-price-sub {
  margin: 0 0 1rem;
  color: #555;
  font-size: 0.92rem;
}

.learn-price-features {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  text-align: left;
  flex-grow: 1;
}

.learn-price-features li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.learn-price-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111;
}

.learn-price-card .button {
  margin-bottom: 0;
}

.learn-price-foot {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #666;
}

#LessonQuoteModal h2 {
  margin-top: 0;
}

.lesson-calculator-lead {
  margin-bottom: 1rem;
}

#lesson-calculator .calc-row {
  margin-bottom: 1rem;
}

#lesson-calculator .calc-inline label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  margin: 0;
}

.lesson-drive-panel {
  overflow: hidden;
  max-height: 28rem;
  opacity: 1;
  margin-bottom: 1rem;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.4s ease;
}

.lesson-drive-panel.is-collapsed {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}

#lesson-address-wrap.is-disabled {
  opacity: 0.55;
}

.lesson-drive-progress {
  margin-top: 0.65rem;
}

.lesson-drive-progress-track {
  height: 4px;
  background: #ddd;
  overflow: hidden;
  border-radius: 2px;
}

.lesson-drive-progress-fill {
  display: block;
  height: 100%;
  width: 40%;
  background: #111;
  animation: lesson-drive-progress-indeterminate 1.1s ease-in-out infinite alternate;
}

@keyframes lesson-drive-progress-indeterminate {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(320%);
  }
}

.lesson-drive-progress-text {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

.calc-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.calc-label-note {
  font-weight: 600;
  color: #666;
}

.calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-chip {
  appearance: none;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  padding: 0.45rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border-radius: 999px;
}

.calc-chip:hover,
.calc-chip:focus {
  background: #f3f3f3;
}

.calc-chip.is-active {
  background: #111;
  color: #fff;
}

.lesson-drive-btn {
  appearance: none;
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.55rem 1.2rem;
  border: 2px solid #0a0;
  border-radius: 999px;
  background: #0a0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}

.lesson-drive-btn:hover:not(:disabled),
.lesson-drive-btn:focus:not(:disabled) {
  background: #090;
  border-color: #090;
  color: #fff;
}

.lesson-drive-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.lesson-drive-btn.is-loading {
  opacity: 0.85;
  cursor: wait;
}

.lesson-drive-btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.45em;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.08em;
  animation: lesson-drive-spin 0.7s linear infinite;
}

@keyframes lesson-drive-spin {
  to {
    transform: rotate(360deg);
  }
}

#lesson-drive-status {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  min-height: 1.25em;
}

#lesson-drive-status.is-error {
  color: #c00;
}

#lesson-drive-status.is-success {
  color: #0a0;
  font-weight: 700;
}

#lesson-drive-status.is-muted,
#lesson-drive-status.is-loading {
  color: #444;
  font-weight: 600;
}

.lesson-quote-placeholder {
  margin: 0.5rem 0 0;
  color: #666;
  font-size: 0.95rem;
}

#lesson-quote-result {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

#lesson-quote-result .quote-price {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0.25rem 0 0.75rem;
}

#lesson-quote-result dl {
  margin: 0 0 1rem;
}

#lesson-quote-result dt {
  font-weight: 600;
}

#lesson-quote-result dd {
  margin: 0 0 0.5rem;
}

#lesson-quote-result .quote-note {
  color: #666;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

#lesson-book-email.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.course-confirm-wrap {
  padding: 1rem 0 2rem;
}

.course-confirm-note {
  font-size: 0.92rem;
  color: #555;
}

@media only screen and (max-width: 64em) {
  .learn-price-amount {
    font-size: 2rem;
  }
}

.learn-price-email {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.learn-price-email a {
  text-decoration: underline;
}
