:root {
  --color-primary: #009FDA;
  --color-primary-deep: #007DB8;
  --color-secondary: #EAF6FC;
  --color-sand: #FEF6E3;
  --color-accent: #FDC82F;
  --color-bg: #FFFFFF;
  --color-text: #1E2B33;
  --color-text-soft: rgba(30, 43, 51, 0.68);
  --color-muted: #5B6B74;
  --color-line: rgba(30, 43, 51, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Literata', Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Keyboard focus: every interactive element, not just form fields. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--color-primary-deep);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn-primary:hover {
  filter: brightness(0.9);
}

.btn-secondary {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--color-bg);
}

.top-bar .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 32px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}

.account-link:hover {
  text-decoration: underline;
}

.account-link .icon-person {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.logo img {
  height: 46px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.site-nav a:hover {
  color: var(--color-primary);
}

.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.dropdown-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}

.dropdown-toggle:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin-top: 12px;
  padding: 8px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(30, 43, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.dropdown-menu li a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.nav-cta {
  padding: 11px 24px;
  font-size: 14px;
}

/* ===== HERO ===== */
.hero {
  padding: 40px 0 44px;
  background: var(--color-sand);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-flag {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 16px;
  color: var(--color-text-soft);
  max-width: 520px;
  margin-bottom: 16px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin: 30px 0 36px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-testimonial {
  position: absolute;
  top: 57%;
  left: 50%;
  width: min(262px, 50%);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 12px 28px rgba(30, 43, 51, 0.18);
}

.hero-testimonial p {
  font-size: 15.5px;
  color: var(--color-text);
  margin: 0 0 8px;
}

.hero-testimonial cite {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-deep);
  font-style: normal;
}

.img-placeholder {
  border-radius: 24px;
  background: var(--color-secondary);
  border: 1.5px dashed #AEDCEF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.img-placeholder .ph-icon {
  font-size: 30px;
  opacity: 0.55;
}

.img-placeholder .ph-text {
  font-size: 13.5px;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0 24px;
  max-width: 280px;
}

.hero-lesson {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== PROOF STRIP ===== */
.proof-strip {
  background: var(--color-bg);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 32px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 0 12px;
}

.proof-num {
  font-size: 21px;
  white-space: nowrap;
  font-weight: 800;
  color: var(--color-primary-deep);
  letter-spacing: -0.01em;
}

.proof-label {
  font-size: 15.5px;
  color: var(--color-muted);
  line-height: 1.4;
}

/* ===== BEST SELLERS ===== */
.best-sellers {
  background: var(--color-bg);
  padding: 64px 0;
}

.best-sellers h2 {
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 16px;
  color: var(--color-text-soft);
  text-align: center;
  max-width: 660px;
  margin: 0 auto 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.product-card .img-placeholder.product-card-media {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  border: none;
  border-bottom: 1.5px dashed #AEDCEF;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}

.product-body h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.product-body p {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.product-price {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-deep);
  margin-bottom: 14px;
}

.product-body .btn {
  align-self: flex-start;
  padding: 10px 22px;
  font-size: 13.5px;
}

/* ===== CHALLENGE ===== */
.challenge {
  padding: 96px 0 72px;
  background: var(--color-bg);
}

.row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.challenge-content h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.challenge-intro,
.challenge-close {
  font-size: 16px;
  color: var(--color-text-soft);
}

.challenge-intro {
  margin-bottom: 8px;
}

.challenge-close {
  margin-top: 22px;
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: step;
  margin: 20px 0;
}

.step-list li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.step-list li::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 2px dashed var(--color-primary-deep);
  color: var(--color-primary-deep);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-list li p {
  font-size: 15.5px;
  color: var(--color-text-soft);
  padding-top: 3px;
}

.challenge-media .img-placeholder {
  aspect-ratio: 1 / 1;
}

/* ===== CONFIDENCE ===== */
.confidence {
  padding: 72px 0;
  background: var(--color-secondary);
}

.confidence-content h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.confidence-content p {
  font-size: 16px;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}

.confidence-media .img-placeholder {
  aspect-ratio: 1 / 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}

.feature-box {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.feature-box p {
  font-size: 15.5px;
  color: var(--color-text-soft);
  margin: 0;
}

.confidence-content p.confidence-close {
  margin-top: 22px;
  margin-bottom: 24px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--color-bg);
  padding: 48px 0 64px;
}

.testimonial-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-track {
  display: flex;
}

.testimonial-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.testimonial-card {
  box-sizing: border-box;
  background: var(--color-bg);
  border: 0.5px solid #E3EDF1;
  border-top: 3px solid var(--color-accent);
  border-radius: 16px;
  padding: 40px 48px;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  font-style: normal;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.arrow-btn:hover:not(:disabled) {
  background: var(--color-secondary);
}

.arrow-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== OFFER ===== */
.offer {
  background: var(--color-sand);
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--color-line);
}

.offer h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 auto 18px;
  max-width: 700px;
  text-align: center;
}

.offer-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  color: var(--color-text-soft);
  max-width: 760px;
  margin-bottom: 38px;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.offer-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.offer-card .img-placeholder.offer-card-media {
  aspect-ratio: 16 / 8;
  border-radius: 0;
  border: none;
  border-bottom: 1.5px dashed #AEDCEF;
}

.offer-card-body {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 16px;
  row-gap: 6px;
  align-items: center;
  padding: 22px 24px 26px;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 800;
  font-size: 14px;
  grid-column: 1;
  grid-row: 1;
}

.offer-card-body h3 {
  font-size: 18px;
  grid-column: 2;
  grid-row: 1;
}

.offer-card-body p {
  grid-column: 2;
  font-size: 15.5px;
  color: var(--color-text-soft);
  line-height: 1.5;
}

.offer-cta {
  display: flex;
  justify-content: center;
}

/* ===== ABOUT ===== */
.about {
  background: var(--color-secondary);
  padding: 64px 0;
}

.about-media .img-placeholder {
  aspect-ratio: 4 / 5;
}

.about-content h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.about-content p {
  font-size: 16px;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}

.about-sign {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.about-sign span {
  display: block;
  font-weight: 500;
  color: var(--color-text-soft);
  font-size: 13.5px;
  margin-top: 2px;
}

.about-cta {
  margin-top: 20px;
}

/* ===== QUOTES ===== */
.quotes {
  background: var(--color-bg);
  padding: 64px 0;
}

.quotes-header {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.quotes-header h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.quotes-header p {
  font-size: 16px;
  color: var(--color-text-soft);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 26px 26px 22px;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.quote-card .mark {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent);
  margin-right: 2px;
}

.quote-card .mark-close {
  margin-right: 0;
  margin-left: 2px;
}

.quote-card p {
  font-size: 15.5px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.quote-card cite {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  font-style: normal;
}

.quotes-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--color-primary);
  padding: 88px 0;
  text-align: center;
}

.final-cta h2 {
  color: var(--color-bg);
  font-size: 32px;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--color-bg);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 30px;
}

.final-cta .btn-primary {
  background: var(--color-bg);
  color: var(--color-primary);
}

.final-cta .btn-primary:hover {
  filter: none;
  background: var(--color-secondary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-sand);
  padding: 54px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand .logo img {
  height: 34px;
  margin-bottom: 12px;
}

.footer-brand {
  flex: 0 0 240px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--color-text-soft);
  max-width: 280px;
}

.footer-newsletter {
  flex: 1 1 320px;
  max-width: 380px;
}

.footer-newsletter h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.newsletter-form input {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 10px 14px;
}

.newsletter-form input::placeholder {
  color: var(--color-text-soft);
}

.newsletter-form input:focus {
  outline: none; /* replaced by the ring below, which stays visible on all backgrounds */
  border-color: var(--color-primary-deep);
  box-shadow: 0 0 0 3px rgba(0, 125, 184, 0.32);
}

.newsletter-form .btn {
  align-self: flex-start;
  padding: 11px 28px;
  font-size: 14px;
  margin-top: 4px;
}

.newsletter-disclaimer {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 320px;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex: 0 0 auto;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.footer-col a {
  position: relative;
  display: block;
  font-size: 13.5px;
  color: var(--color-text-soft);
  margin-bottom: 9px;
  padding-left: 0;
  transition: padding-left 0.15s ease, color 0.15s ease;
}

.footer-col a:hover {
  color: var(--color-primary);
  padding-left: 12px;
}

.footer-col a:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #CBEAF7;
  font-size: 12px;
  color: var(--color-text-soft);
}

/* ===== FREE LESSON MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 43, 51, 0.55);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--color-bg);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(30, 43, 51, 0.25);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--color-line);
}

.modal h2 {
  font-size: 24px;
  margin-bottom: 12px;
  padding-right: 24px;
}

.modal-lead {
  color: var(--color-text-soft);
  font-size: 15px;
  margin-bottom: 24px;
}

#freeLessonForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row[hidden] {
  display: none;
}

.form-row label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.form-row .req {
  color: var(--color-primary);
}

.form-row .opt {
  font-weight: 500;
  color: var(--color-muted);
}

.form-row input,
.form-row select {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 11px 14px;
}

.form-row input:focus,
.form-row select:focus {
  outline: none; /* replaced by the ring below, which stays visible on all backgrounds */
  border-color: var(--color-primary-deep);
  box-shadow: 0 0 0 3px rgba(0, 125, 184, 0.32);
}

.form-row.field-invalid input,
.form-row.field-invalid select {
  border-color: #D64545;
}

.field-error {
  font-size: 12.5px;
  color: #D64545;
}

.form-error {
  font-size: 13px;
  color: #D64545;
  margin: 0;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-soft);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
}

.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.modal-success {
  text-align: center;
}

.modal-success .modal-lead {
  margin-bottom: 24px;
}

.coupon-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--color-secondary);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.coupon-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.coupon-code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-primary-deep);
  user-select: all;
  -webkit-user-select: all;
  cursor: text;
}

.coupon-copy {
  margin-top: 12px;
  padding: 9px 20px;
  font-size: 13.5px;
}

.coupon-copy.is-copied {
  background: var(--color-primary-deep);
  border-color: var(--color-primary-deep);
  color: var(--color-bg);
}

.coupon-note {
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 20px;
}

.modal-done {
  width: 100%;
  justify-content: center;
}

/* ===== PRODUCT LISTINGS (PLP) ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.plp-header {
  background: var(--color-sand);
  padding: 48px 0;
}

.plp-header h1 {
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.plp-lead {
  font-size: 16px;
  color: var(--color-text-soft);
  max-width: 720px;
}

.plp {
  background: var(--color-bg);
  padding: 40px 0 72px;
}

.plp-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
}

.plp-filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.plp-filters-head h2 {
  font-size: 18px;
}

.plp-clear {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

.plp-clear:hover {
  text-decoration: underline;
}

.filter-group {
  border: none;
  border-top: 1px solid var(--color-line);
  padding: 18px 0 0;
  margin-bottom: 18px;
}

.filter-group legend {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.filter-options-grades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 12px;
}

.filter-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.4;
  cursor: pointer;
}

.filter-option input {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.filter-option:hover {
  color: var(--color-primary);
}

.plp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.plp-search {
  flex: 1 1 280px;
}

.plp-search input {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 30px;
  padding: 11px 20px;
}

.plp-search input:focus {
  outline: none; /* replaced by the ring below, which stays visible on all backgrounds */
  border-color: var(--color-primary-deep);
  box-shadow: 0 0 0 3px rgba(0, 125, 184, 0.32);
}

.plp-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plp-sort label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-muted);
  white-space: nowrap;
}

.plp-sort select {
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}

.plp-sort select:focus {
  outline: none; /* replaced by the ring below, which stays visible on all backgrounds */
  border-color: var(--color-primary-deep);
  box-shadow: 0 0 0 3px rgba(0, 125, 184, 0.32);
}

.plp-count {
  font-size: 13.5px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.plp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plp-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.plp-card .plp-card-media.img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  border: none;
  border-bottom: 1.5px dashed #AEDCEF;
}

.plp-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}

.plp-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  padding: 4px 11px;
  margin-bottom: 10px;
}

.plp-tag-curriculum {
  background: var(--color-secondary);
  color: var(--color-primary-deep);
}

.plp-tag-lesson {
  background: var(--color-accent);
  color: var(--color-text);
}

.plp-card-body h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.plp-card-body h3 a:hover {
  color: var(--color-primary);
}

.plp-card-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.plp-card-summary {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.plp-card .btn {
  align-self: flex-start;
  padding: 10px 26px;
  font-size: 13.5px;
}

.plp-empty {
  font-size: 15.5px;
  color: var(--color-text-soft);
  padding: 32px 0;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  padding: 56px 0 60px;
}

.about-hero h1 {
  font-size: 38px;
  max-width: 560px;
}

.about-hero .hero-testimonial {
  top: 54%;
  left: 28%;
}

.proof-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.story {
  padding: 88px 0;
  background: var(--color-bg);
}

.story-media .img-placeholder {
  aspect-ratio: 4 / 5;
}

.story-quote {
  margin-top: 20px;
}

.story-content h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.story-content p {
  font-size: 16px;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}

.story-content p.story-close {
  color: var(--color-text);
  font-weight: 600;
}

.philosophy {
  background: var(--color-secondary);
  padding: 88px 0;
}

.philosophy-header {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.philosophy-header h2 {
  font-size: 32px;
  line-height: 1.2;
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.principle-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 26px 26px 24px;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.principle-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.principle-card p {
  font-size: 15.5px;
  color: var(--color-text-soft);
  line-height: 1.5;
}

.philosophy-close {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--color-text-soft);
}

.philosophy-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.quote-single {
  max-width: 640px;
  margin: 40px auto 0;
}

.usp {
  background: var(--color-bg);
  padding: 88px 0;
}

.usp h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 auto 18px;
  max-width: 760px;
  text-align: center;
}

.usp-intro {
  text-align: center;
  margin: 0 auto 32px;
  font-size: 16px;
  color: var(--color-text-soft);
  max-width: 760px;
}

.usp-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.usp-list li {
  position: relative;
  background: var(--color-secondary);
  border-radius: 12px;
  padding: 16px 18px 16px 46px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-text);
}

.usp-list li::before {
  content: "\2713";
  position: absolute;
  left: 18px;
  top: 16px;
  font-weight: 800;
  color: var(--color-primary);
}

.usp-close {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--color-text-soft);
}

.usp-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.usp .quote-grid {
  margin-top: 44px;
}

.final-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta .btn-secondary {
  background: transparent;
  color: var(--color-bg);
  border-color: var(--color-bg);
}

.final-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ===== TEACHING APPROACH PAGE ===== */
.approach-hero {
  padding: 56px 0 60px;
}

.approach-hero h1 {
  font-size: 36px;
  max-width: 580px;
}

.approach-hero .hero-testimonial {
  top: 58%;
  left: 26%;
}

.goal {
  background: var(--color-bg);
  padding: 88px 0;
}

.goal-header {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.goal-header h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.goal-header p {
  font-size: 16px;
  color: var(--color-text-soft);
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  list-style: none;
  max-width: 860px;
  margin: 0 auto;
}

.zone-list li {
  position: relative;
  background: var(--color-secondary);
  border-radius: 12px;
  padding: 16px 18px 16px 46px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-text);
}

.zone-list li::before {
  content: "\2713";
  position: absolute;
  left: 18px;
  top: 16px;
  font-weight: 800;
  color: var(--color-primary);
}

/* Seven items in a two-column grid leaves an orphan; let the closing item,
   which names the payoff, run the full width instead. */
.zone-list li:last-child {
  grid-column: 1 / -1;
}

.goal-close {
  max-width: 700px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.goal-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.goal .quote-single {
  margin-top: 44px;
}

.process {
  background: var(--color-secondary);
  padding: 88px 0;
}

.process-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.process-header h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.process-header p {
  font-size: 16px;
  color: var(--color-text-soft);
  margin-bottom: 8px;
}

.process-steps {
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 28px 30px 26px;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.step-num {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.step-card > p {
  font-size: 15.5px;
  color: var(--color-text-soft);
}

.step-card > .step-tools-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 18px 0 10px;
}

.step-tools {
  list-style: none;
  display: grid;
  gap: 8px;
}

.step-tools > li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  color: var(--color-text-soft);
}

.step-tools > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.step-tools ul {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.step-tools ul li {
  position: relative;
  padding-left: 20px;
}

.step-tools ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 2px;
  background: var(--color-primary);
  opacity: 0.55;
}

/* Dropdown CTA on each step: reveals the longer explanation on demand. */
.step-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 30px;
  padding: 11px 22px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.step-toggle:hover {
  background: var(--color-secondary);
}

.step-toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}

.step-toggle[aria-expanded="true"] .step-toggle-icon {
  transform: translateY(1px) rotate(-135deg);
}

.step-detail {
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--color-secondary);
  border-radius: 14px;
  border-left: 4px solid var(--color-primary);
}

.step-detail p {
  font-size: 15.5px;
  color: var(--color-text-soft);
  margin-bottom: 12px;
}

.step-detail > :last-child {
  margin-bottom: 0;
}

.step-detail > ul {
  list-style: none;
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.step-detail > ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  color: var(--color-text-soft);
}

.step-detail > ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.step-plan {
  list-style: none;
  counter-reset: plan;
  display: grid;
  gap: 14px;
}

.step-plan li {
  counter-increment: plan;
  position: relative;
  padding-left: 38px;
}

.step-plan li::before {
  content: counter(plan);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-plan strong {
  display: block;
  font-size: 15.5px;
  margin-bottom: 2px;
}

.step-plan span {
  display: block;
  font-size: 15.5px;
  color: var(--color-text-soft);
}

.process-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.process .quote-single {
  margin-top: 44px;
}

.result {
  background: var(--color-sand);
  padding: 88px 0;
}

.result-header {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.result-header h2 {
  font-size: 32px;
  line-height: 1.2;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.result-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 26px 26px 24px;
  box-shadow: 4px 4px 10px rgba(30, 43, 51, 0.08);
}

.result-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.result-card p {
  font-size: 15.5px;
  color: var(--color-text-soft);
  line-height: 1.5;
}

.result-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .row-grid {
    grid-template-columns: 1fr;
  }

  .challenge-media {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-page {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 28px 24px;
  }

  .footer-brand,
  .footer-newsletter,
  .footer-cols {
    flex: 1 1 100%;
    max-width: none;
  }

  .site-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-media {
    order: 0;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero-testimonial {
    width: min(280px, 70%);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .proof-num {
    font-size: 17px;
    white-space: normal;
  }

}

@media (max-width: 480px) {
  .hero-testimonial {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 32px 22px;
  }

  .usp-list {
    grid-template-columns: 1fr;
  }

  .proof-grid-2 {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .step-detail {
    padding: 20px 18px;
  }
}

/* =========================================================================
   DESIGN V3 — converted from the Claude Design handoff (Aug 2026).
   Everything below is scoped under .mc so it cannot collide with the legacy
   styles above while pages are migrated one at a time. When all four pages
   are converted, delete the legacy blocks and unscope.
   ========================================================================= */

/* ===== V3 TOKENS ===== */
/* Anything given the hidden attribute stays hidden, whatever display style
   its classes set. Without this, rules like .mc-form { display: flex } kept
   "hidden" panels and buttons on screen. */
.mc [hidden] { display: none !important; }

.mc {
  --v3-navy: #072E47;
  --v3-navy-deep: #062E48;
  --v3-ink: #072E47;
  --v3-body: #315A70;
  --v3-muted: #315A70;
  --v3-soft: #44718A; /* was #4F7F99; darkened 17 Nov 2026 so small captions pass WCAG AA contrast (4.5:1) on white and Light Blue */
  --v3-blue: #009FDA;
  --v3-blue-deep: #00719E;
  --v3-tint: #E7F2FA;
  --v3-tint-pale: #F3F9FD;
  --v3-cream: #fff8e6;
  --v3-line: #C9DFEC;
  --v3-line-strong: #BDD8E8;
  --v3-yellow: #FDC82F;
  --v3-white: #ffffff;
  --v3-font: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;

  font-family: var(--v3-font);
  color: var(--v3-navy);
  background: var(--v3-white);
  overflow-x: hidden;
}

.mc *,
.mc *::before,
.mc *::after { box-sizing: border-box; }

.mc a { color: var(--v3-blue-deep); text-decoration: none; }
.mc h1, .mc h2, .mc h3 { font-family: var(--v3-font); }

.mc :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--v3-blue);
  outline-offset: 3px;
}

/* Skip link: the first thing keyboard and screen reader users reach on every page.
   Hidden above the top edge until it receives focus, then shown at the top left. */
.mc-skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 18px;
  background: var(--v3-navy);
  color: var(--v3-white) !important;
  font-weight: 700;
  border-radius: 6px;
  transform: translateY(-150%);
}
.mc-skip:focus { transform: none; }
.mc main:focus { outline: none; } /* the skip link's target; focus lands here, no ring needed */

.mc-wrap { max-width: 1180px; margin: 0 auto; }
.mc-wrap-wide { max-width: 1320px; margin: 0 auto; }

/* ===== V3 BUTTONS ===== */
.mc .mc-btn {
  display: inline-block;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mc .mc-btn-primary {
  padding: 17px 34px;
  background: var(--v3-blue-deep);
  border: 1.6px solid var(--v3-blue-deep);
  color: var(--v3-white);
}

.mc #pdpAddToCart.is-added {
  background: #1f9d63;
  border-color: #1f9d63;
}

.mc .mc-btn-primary:hover {
  background: var(--v3-navy);
  border-color: var(--v3-navy);
  color: var(--v3-white);
}

.mc .mc-btn-outline {
  padding: 17px 32px;
  background: transparent;
  border: 1.6px solid var(--v3-navy);
  color: var(--v3-navy);
}

.mc .mc-btn-outline:hover {
  background: var(--v3-navy);
  color: var(--v3-white);
}

/* ===== V3 ANNOUNCEMENT BANNER =====
   Cream strip with a yellow edge at the very top, for one line of key
   shop news (launch date now; a sale or free shipping later). The short
   version replaces the long one on phones. */
.mc-announce {
  background: var(--v3-cream);
  border-bottom: 2px solid var(--v3-yellow);
  color: var(--v3-navy);
}

.mc-announce-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px 44px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.45;
}

.mc-announce a {
  color: var(--v3-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mc-announce a:hover { color: var(--v3-blue-deep); }

.mc-announce-short { display: none; }

/* ===== V3 HEADER & NAV ===== */
.mc-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--v3-white);
  box-shadow: 0 2px 16px rgba(6, 46, 72, 0.07);
}

.mc-header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 13px 44px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.mc-logo { display: block; flex: none; }
.mc-logo img { height: 38px; width: auto; display: block; }

.mc-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  flex: none;
}

.mc-navitem { position: relative; }

.mc-navbtn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--v3-navy);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* Menu headings that are links (Shop Curriculums, Contact) stay navy like
   the others; the site-wide link color would otherwise make them blue. */
.mc a.mc-navbtn { color: var(--v3-navy); }

.mc-navitem.is-open > .mc-navbtn,
.mc .mc-navbtn:hover {
  background: var(--v3-tint);
  color: var(--v3-blue-deep);
}

.mc-caret { font-size: 9px; color: var(--v3-soft); }

.mc-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 80;
  min-width: 260px;
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  padding: 18px 10px 10px;
  box-shadow: 0 18px 40px rgba(6, 46, 72, 0.14);
}

.mc-navitem.is-open > .mc-panel { display: block; }
.mc-panel-shop { max-height: 68vh; overflow-y: auto; }

.mc-panel a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--v3-navy);
}

.mc-panel a:hover {
  background: var(--v3-tint);
  color: var(--v3-blue-deep);
}

.mc-panel-lead {
  padding: 10px 14px;
  font-weight: 700;
}

.mc-panel-sep {
  height: 1px;
  background: var(--v3-line);
  margin: 6px 8px;
}

/* ===== V3 HEADER TOOLS (search, cart, CTA) ===== */
.mc-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.mc-search-btn { color: var(--v3-navy); }
.mc-search-btn:hover { border-color: var(--v3-blue); color: var(--v3-blue-deep); }

/* Log in sits in the header as a plain text link (since 2026-11-16, when the
   navy top bar was removed). Signed in, it reads "Hi, [first name]" and goes
   to the account page. The phone menu carries its own copy (.mc-nav-login). */
.mc .mc-header-login {
  padding: 10px 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--v3-navy);
  white-space: nowrap;
}

.mc .mc-header-login:hover { color: var(--v3-blue-deep); text-decoration: underline; text-underline-offset: 4px; }

.mc-nav-login,
.mc-nav-account,
.mc-nav-search { display: none; }

/* ===== V3 SITE SEARCH =====
   Panel under the header, opened by the magnifying glass (and "Search" in
   the phone menu); built by js/main.js. */
.mc-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 70;
  background: var(--v3-white);
  border-top: 1px solid var(--v3-line);
  box-shadow: 0 18px 40px rgba(6, 46, 72, 0.14);
}

.mc-search-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 24px 22px;
}

.mc-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 16px;
  border: 1.5px solid var(--v3-line-strong);
  border-radius: 999px;
  color: var(--v3-soft);
}

.mc-search-field:focus-within {
  border-color: var(--v3-blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 218, 0.16);
}

.mc-search-field input {
  flex: 1;
  min-width: 0;
  padding: 13px 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--v3-navy);
}

.mc-search-field input::-webkit-search-cancel-button { display: none; }

.mc-search-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--v3-navy);
  cursor: pointer;
}

.mc-search-close:hover { background: var(--v3-tint); }

.mc-search-results { margin-top: 8px; max-height: 60vh; overflow-y: auto; }

.mc-search-group { padding-top: 10px; }

.mc-search-label {
  margin: 0 0 4px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-soft);
}

/* Each suggestion is a link: on hover (or when picked with the arrow keys)
   it gets a tinted background, a blue edge, a blue title and an arrow, so
   it's clear it can be clicked. */
.mc .mc-search-result {
  position: relative;
  display: block;
  padding: 9px 44px 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--v3-navy);
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.mc .mc-search-result::after {
  content: '\2192';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  font-size: 18px;
  font-weight: 700;
  color: var(--v3-blue-deep);
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.mc .mc-search-result:hover,
.mc .mc-search-result.is-active {
  background: var(--v3-tint);
  border-color: var(--v3-line-strong);
}

.mc .mc-search-result:hover .mc-search-result-title,
.mc .mc-search-result.is-active .mc-search-result-title { color: var(--v3-blue-deep); }

.mc .mc-search-result:hover::after,
.mc .mc-search-result.is-active::after {
  opacity: 1;
  transform: translateY(-50%);
}

.mc-search-hint {
  margin: 12px 14px 0;
  font-size: 13px;
  color: var(--v3-soft);
}

.mc-search-result-title { display: block; font-size: 15.5px; font-weight: 700; }

.mc-search-result-sub { display: block; margin-top: 2px; font-size: 13.5px; color: var(--v3-body); }

.mc-search-empty {
  margin: 14px 14px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--v3-body);
}

/* Signed in, "Log in" is swapped for a small "Hi, [first name]" menu: My
   Account, Wishlist and Log out. Opens like the nav menus (js-dropdown). */
.mc-usermenu { position: relative; }

.mc .mc-usermenu .mc-header-login {
  display: flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.mc-usermenu.is-open > .mc-panel { display: block; }

.mc-usermenu-panel {
  left: auto;
  right: 0;
  min-width: 200px;
  padding-top: 10px;
}

/* Log out looks like a small outline button, set apart from the links above
   it, in both the header menu and the phone menu. */
.mc .mc-panel a.mc-logout-btn {
  margin: 8px 6px 4px;
  padding: 9px 14px;
  border: 1.5px solid var(--v3-navy);
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  color: var(--v3-navy);
}

.mc .mc-panel a.mc-logout-btn:hover { background: var(--v3-navy); color: var(--v3-white); }

.mc-cart { position: relative; }

.mc-cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #C9DFEC;
  background: var(--v3-white);
  color: var(--v3-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mc-cart.is-open .mc-cart-btn,
.mc-cart-btn:hover {
  border-color: #BDD8E8;
  background: var(--v3-tint);
}

.mc-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--v3-yellow);
  color: var(--v3-navy);
  font-size: 12px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
}

.mc-cart-badge.is-shown { display: flex; }

/* Phone menu button (the "hamburger"). Hidden on desktop; the RESPONSIVE
   block shows it at 860px and below, where the nav folds into a menu. */
.mc-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 999px;
  border: 1px solid #C9DFEC;
  background: var(--v3-white);
  color: var(--v3-navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mc-menu-btn:hover,
.mc-header.is-menu-open .mc-menu-btn {
  border-color: #BDD8E8;
  background: var(--v3-tint);
}

.mc-menu-x { display: none; }
.mc-header.is-menu-open .mc-menu-bars { display: none; }
.mc-header.is-menu-open .mc-menu-x { display: inline; }

/* Header wishlist heart, beside the cart (which stays hidden until launch). */
.mc .mc-wishlist-link { color: var(--v3-navy); }
.mc-wishlist-link:hover { border-color: #BDD8E8; background: var(--v3-tint); }

.mc-cart-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: 354px;
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(6, 46, 72, 0.16);
}

.mc-cart.is-open .mc-cart-panel { display: block; }

.mc-cart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 4px 6px 12px;
  border-bottom: 1px solid var(--v3-line);
}

.mc-cart-title { font-size: 15px; font-weight: 800; }
.mc-cart-count { font-size: 13.5px; font-weight: 600; color: var(--v3-soft); }

.mc-cart-empty {
  padding: 18px 6px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--v3-soft);
  text-align: center;
}

.mc-cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 6px 14px;
  border-top: 1px solid var(--v3-line);
}

.mc-cart-total span:first-child { font-size: 14px; font-weight: 700; color: var(--v3-muted); }
.mc-cart-total span:last-child { font-size: 18px; font-weight: 800; }

/* Cover shown while the checkout function prepares the Stripe page (and for
   any reason it couldn't), added by js/main.js. */
.mc-checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 37, 64, 0.55);
}

.mc-checkout-overlay[hidden] { display: none; }

.mc-checkout-card {
  max-width: 380px;
  width: 100%;
  background: var(--v3-white);
  border-radius: 18px;
  padding: 30px 28px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.25);
}

.mc-checkout-message {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--v3-navy);
}

.mc-checkout-spinner {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  border: 3.5px solid var(--v3-line);
  border-top-color: var(--v3-blue);
  border-radius: 50%;
  animation: mc-spin 0.8s linear infinite;
}

.mc-checkout-spinner[hidden] { display: none; }
.mc-checkout-close { margin-top: 18px; }

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

@media (prefers-reduced-motion: reduce) {
  .mc-checkout-spinner { animation-duration: 2.4s; }
}

.mc-cart-actions { display: flex; flex-direction: column; gap: 9px; }

.mc-cart-actions a {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
}

.mc .mc-cart-checkout { background: var(--v3-blue-deep); color: var(--v3-white); }
.mc .mc-cart-checkout:hover { background: var(--v3-navy); color: var(--v3-white); }

.mc .mc-cart-view {
  background: transparent;
  border: 1.5px solid var(--v3-navy);
  color: var(--v3-navy);
  padding: 12px 20px !important;
}

.mc .mc-cart-view:hover { background: var(--v3-navy); color: var(--v3-white); }

.mc .mc-header-cta {
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--v3-blue-deep);
  color: var(--v3-white);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  flex: none;
}

.mc .mc-header-cta:hover { background: var(--v3-navy); color: var(--v3-white); }

/* ===== V3 HERO ===== */
.mc-hero {
  position: relative;
  overflow: hidden;
  background: var(--v3-tint-pale);
  padding: 66px 40px 78px;
}

.mc-hero .mc-wrap { position: relative; }

.mc-eyebrow {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
}

.mc-hero h1 {
  font-size: clamp(40px, 4.3vw, 62px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.034em;
  margin: 18px 0 0;
  max-width: 20em;
  text-wrap: balance;
}

.mc-hero-body { margin-top: 34px; }

.mc-hero-lead {
  font-size: 19.5px;
  line-height: 1.62;
  margin: 0 0 18px;
  color: var(--v3-body);
  max-width: 40em;
  text-wrap: pretty;
}

.mc-hero-sub {
  font-size: 18px;
  line-height: 1.62;
  margin: 0 0 30px;
  color: var(--v3-muted);
  max-width: 40em;
  text-wrap: pretty;
}

.mc-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 16px;
  margin-top: 44px;
}

.mc-proof-card {
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 16px;
  padding: 24px 26px 26px;
  box-shadow: 0 8px 22px rgba(6, 46, 72, 0.05);
}

.mc-proof-num {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--v3-blue);
}

.mc-proof-label {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 6px;
  color: var(--v3-muted);
  font-weight: 600;
}

/* ===== V3 PULL QUOTE BAND ===== */
.mc-quoteband { background: var(--v3-white); padding: 64px 40px; }
.mc-quoteband-tint { background: var(--v3-tint); }

.mc-quoteband figure {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--v3-tint);
  border-radius: 26px;
  padding: 56px 9%;
  text-align: center;
}

.mc-quoteband blockquote {
  font-size: 27px;
  line-height: 1.46;
  font-weight: 600;
  margin: 0;
  color: var(--v3-ink);
  text-wrap: pretty;
}

.mc-quote-author {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
  margin-top: 26px;
}

/* ===== V3 FOUNDER LETTER ===== */
.mc-founder { background: var(--v3-tint-pale); padding: 88px 40px; }

.mc-founder-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 66px;
  align-items: stretch;
}

.mc-founder-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--v3-tint);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid #BDD8E8;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-media-caption {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--v3-navy);
  background: var(--v3-white);
  padding: 9px 15px;
  border-radius: 999px;
  text-align: center;
}

.mc-rule {
  width: 54px;
  height: 8px;
  background: var(--v3-yellow);
  border-radius: 999px;
  margin-bottom: 22px;
}

.mc-rule-wide { width: 108px; }

.mc-h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.032em;
  color: var(--v3-navy);
  text-wrap: balance;
}

.mc-founder .mc-h2 { margin: 0 0 30px; }

.mc-letter { margin: 0; }

.mc-letter p {
  font-size: 18.5px;
  line-height: 1.7;
  margin: 0 0 22px;
  color: var(--v3-body);
  max-width: 34em;
  text-wrap: pretty;
}

.mc-letter p:first-child { font-size: 20px; color: var(--v3-navy); }

.mc-attrib {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--v3-line);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--v3-soft);
}

.mc-founder .mc-btn-outline { margin-top: 28px; }

/* ===== V3 PHILOSOPHY ===== */
.mc-philosophy {
  position: relative;
  overflow: hidden;
  background: var(--v3-tint);
  padding: 88px 40px;
}

.mc-philosophy .mc-wrap { position: relative; }
.mc-philosophy .mc-h2 { margin: 14px 0 18px; }

.mc-section-lead {
  font-size: 19px;
  line-height: 1.62;
  margin: 0 0 42px;
  color: var(--v3-muted);
  max-width: 44em;
  text-wrap: pretty;
}

.mc-phil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mc-phil-card {
  background: var(--v3-white);
  border: 1px solid var(--v3-line-strong);
  border-radius: 20px;
  padding: 30px 26px 32px;
}

.mc-phil-card .mc-rule {
  width: 40px;
  height: 6px;
  margin-bottom: 20px;
}

.mc-phil-card h3 {
  font-size: 21px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-wrap: balance;
}

.mc-phil-card p {
  font-size: 16.5px;
  line-height: 1.58;
  margin: 0;
  color: var(--v3-muted);
  text-wrap: pretty;
}

.mc-section-close {
  font-size: 19px;
  line-height: 1.62;
  margin: 42px 0 0;
  color: var(--v3-muted);
  max-width: 44em;
  text-wrap: pretty;
}

.mc-center-cta { margin-top: 28px; }

/* ===== V3 INSTRUCTIONAL SYSTEM ===== */
.mc-system { background: var(--v3-white); padding: 88px 40px; }

.mc-system-head { max-width: 40em; margin-bottom: 44px; }
.mc-system-head .mc-h2 { margin: 14px 0 18px; }

.mc-system-head p {
  font-size: 19px;
  line-height: 1.62;
  margin: 0;
  color: var(--v3-muted);
  text-wrap: pretty;
}

.mc-sys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mc-sys-card {
  background: var(--v3-tint-pale);
  border: 1px solid var(--v3-line-strong);
  border-radius: 18px;
  padding: 28px 26px 30px;
}

.mc-sys-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mc-check {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e6f6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mc-sys-card h3 {
  font-size: 19px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.018em;
  margin: 0;
}

.mc-sys-card p {
  font-size: 16.5px;
  line-height: 1.56;
  margin: 0;
  color: var(--v3-muted);
  text-wrap: pretty;
}

/* ===== V3 REVIEWS SLIDER ===== */
.mc-reviews {
  background: var(--v3-tint-pale);
  padding: 88px 40px;
}

.mc-reviews-head { max-width: 40em; margin-bottom: 40px; }
.mc-reviews-head .mc-eyebrow { color: var(--v3-blue-deep); letter-spacing: 0.14em; }
.mc-reviews-head .mc-h2 { margin: 14px 0 0; line-height: 1.08; }

.mc-slider { position: relative; }

.mc-slide {
  margin: 0;
  background: var(--v3-tint);
  border-radius: 26px;
  padding: 62px 9%;
  text-align: center;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mc-slide blockquote {
  font-size: 29px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 28px;
  color: var(--v3-ink);
  max-width: 30em;
  text-wrap: pretty;
}

.mc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1.6px solid #BDD8E8;
  background: var(--v3-white);
  cursor: pointer;
  font-size: 18px;
  color: var(--v3-navy);
  font-family: inherit;
}

.mc-arrow:hover { border-color: var(--v3-blue); color: var(--v3-blue); }
.mc-arrow-prev { left: 22px; }
.mc-arrow-next { right: 22px; }

.mc-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.mc-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #BDD8E8;
  cursor: pointer;
  transition: width 200ms ease, background 200ms ease;
}

.mc-dot.is-active { width: 26px; background: var(--v3-blue); }

/* ===== V3 FINAL CTA ===== */
.mc-final { padding: 74px 40px 94px; background: var(--v3-white); }

.mc-final-card {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--v3-blue-deep);
  padding: 66px 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.mc-final-body { position: relative; }

.mc-final-body h2 {
  font-size: 44px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.032em;
  margin: 0 0 20px;
  color: var(--v3-white);
  text-wrap: balance;
}

.mc-final-body p {
  font-size: 19px;
  line-height: 1.62;
  margin: 0 0 32px;
  color: #e2f4fd;
  max-width: 32em;
}

.mc-final-body p:last-child { margin-bottom: 0; }

.mc .mc-final-btn {
  display: inline-block;
  padding: 17px 34px;
  border-radius: 999px;
  background: var(--v3-white);
  color: var(--v3-blue-deep);
  font-size: 17px;
  font-weight: 700;
}

.mc .mc-final-btn:hover { background: var(--v3-navy); color: var(--v3-white); }

.mc-final-media {
  position: relative;
  border-radius: 18px;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-final-media span {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--v3-navy);
  background: var(--v3-white);
  padding: 9px 15px;
  border-radius: 999px;
}

/* Homepage waitlist form: a white panel in the final card's second column,
   where the other pages show the "Sample lesson mockup" placeholder. */
.mc-waitlist-panel {
  position: relative;
  border-radius: 18px;
  background: var(--v3-white);
  padding: 30px 30px 26px;
}

.mc-waitlist-panel .mc-submit { width: 100%; }

.mc-wl-step h3 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--v3-navy);
  outline: none;
}

.mc-wl-lead {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 16px;
  color: var(--v3-muted);
}

.mc-wl-step .mc-submit { width: 100%; }
#freeLessonSuccessPanel .mc-submit { width: 100%; }
/* A link styled as the blue button: keep its text white, which the
   site-wide link color would otherwise turn blue. */
.mc .mc-wl-cta,
.mc .mc-wl-cta:hover { display: block; text-align: center; color: var(--v3-white); }

/* In the pop-up, the step's heading is shown as the pop-up's own title. */
.mc-wl-in-modal .mc-wl-step h3 { display: none; }
.mc-wl-modal .mc-modal { width: min(520px, 100%); }
.mc-wl-modal .mc-modal h2 { outline: none; }

/* A short message that needs no click, such as "You're on the waitlist"
   after a waitlist email link is confirmed (Beth, 2026-11-28: no second
   pop-up). A small card just under the header (js/main.js sets its top to
   the header's bottom edge) that closes by itself after a few seconds,
   styled like the cookie card. Left-aligned, like pop-ups. */
.mc-notice {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 160;
  width: 400px;
  max-width: calc(100% - 32px);
  padding: 18px 52px 18px 22px;
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(7, 46, 71, 0.16);
  text-align: left;
}

.mc-notice-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--v3-navy);
}

.mc-notice-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--v3-muted);
}

.mc-notice .mc-modal-close {
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
}

/* ===== V3 FOOTER ===== */
.mc-footer {
  background: var(--v3-navy-deep);
  color: #a8c2ce;
  padding: 60px 40px 40px;
}
.mc-footer-inner { max-width: 1320px; margin: 0 auto; }

.mc-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mc-footer-brand img { height: 40px; width: auto; display: block; }

.mc-footer-brand p {
  font-size: 15px;
  line-height: 1.55;
  margin: 16px 0 0;
  color: #a8c2ce;
  max-width: 22em;
}

.mc-footer-colhead {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v3-yellow);
  margin-bottom: 14px;
}

.mc-footer-links { display: flex; flex-direction: column; gap: 11px; }

.mc-footer-links a { font-size: 15px; font-weight: 600; color: #a8c2ce; }
.mc-footer-links a:hover { color: var(--v3-yellow); }

/* The three link columns align to the right edge of the footer. */
.mc-footer-col { text-align: right; }
.mc-footer-col .mc-footer-links { align-items: flex-end; }

.mc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  font-size: 13.5px;
  color: #8fb3c4;
}

.mc-footer-bottom a { color: #8fb3c4; font-weight: 600; }
.mc-footer-bottom a:hover { color: var(--v3-yellow); }
.mc-footer-legal { display: flex; gap: 22px; }

/* ===== V3 FREE-LESSON MODAL ===== */
.mc-modal-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 28px;
  align-items: center;
  justify-content: center;
  background: rgba(6, 46, 72, 0.55);
  backdrop-filter: blur(2px);
}

.mc-modal-overlay[hidden] { display: none; }

.mc-modal {
  width: min(620px, 100%);
  max-height: 96vh;
  /* The visible height on phones: on an iPhone, vh includes the area behind
     Safari's bottom bar, which left the Free Lesson button out of reach. */
  max-height: 96dvh;
  overflow-y: auto;
  background: var(--v3-white);
  border-radius: 22px;
  padding: 24px 34px;
  position: relative;
  box-shadow: 0 30px 80px rgba(6, 46, 72, 0.3);
}

.mc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #C9DFEC;
  background: var(--v3-white);
  color: var(--v3-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.mc-modal-close:hover { background: var(--v3-tint); border-color: #BDD8E8; }

.mc-modal h2 {
  font-size: 27px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 46px 8px 0;
  color: var(--v3-navy);
}

.mc-modal-lead {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--v3-muted);
  text-wrap: pretty;
}

.mc-form { display: flex; flex-direction: column; gap: 10px; }

.mc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* Without this the hidden attribute loses to display:flex, and a
   conditionally shown field stays on screen permanently. */
.mc-field[hidden] { display: none; }

.mc-field > span {
  font-size: 13px;
  font-weight: 700;
  color: var(--v3-navy);
}

.mc-req { color: var(--v3-blue-deep); }
.mc-opt { color: var(--v3-soft); font-weight: 600; }

.mc-field input[type="text"],
.mc-field input[type="email"],
.mc-field select {
  font-family: inherit;
  font-size: 15px;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1.5px solid #C9DFEC;
  width: 100%;
  background: var(--v3-white);
  color: var(--v3-navy);
  outline: none;
}

.mc-field input:focus,
.mc-field select:focus {
  border-color: var(--v3-blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 218, 0.16);
}

.mc-field.is-invalid input,
.mc-field.is-invalid select { border-color: #c0392b; }

.mc-field-error {
  font-size: 12.5px;
  font-weight: 600;
  color: #c0392b;
}

/* Plain statement above a form's submit button of what submitting does. */
.mc-form-note {
  margin: 4px 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--v3-muted);
}

.mc-form-note a { color: var(--v3-blue-deep); font-weight: 700; }

.mc-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 2px;
}

.mc-checkbox input { margin-top: 3px; flex: none; }

.mc-checkbox span {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--v3-muted);
}

/* "I agree to the Terms" tick box on sign-up forms (window.MC_TERMS). */
.mc-terms-box a { color: var(--v3-blue-deep); font-weight: 700; }
.mc-terms-box.is-invalid input { outline: 2px solid #c0392b; outline-offset: 2px; }
.mc-terms-error { display: block; margin: -2px 0 2px 26px; }

.mc-form-error {
  font-size: 13.5px;
  font-weight: 600;
  color: #c0392b;
  margin: 0;
}

.mc-submit {
  margin-top: 6px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.6px solid var(--v3-blue-deep);
  background: var(--v3-blue-deep);
  color: var(--v3-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mc-submit:hover:not(:disabled) { background: var(--v3-navy); border-color: var(--v3-navy); }
.mc-submit:disabled { opacity: 0.65; cursor: default; }

/* Pop-ups are left-aligned, like the rest of the site's forms (Beth's
   rule, 2026-11-28): text, headings and messages start at the left edge.
   Only the words inside a button stay centered in the button. */
.mc-done { text-align: left; }

.mc-done h2 {
  font-size: 36px;
  line-height: 1.1;
  margin: 8px 0 16px;
  padding: 0 44px 0 0; /* clears the close button when a heading wraps */
  text-align: left;
}

.mc-done-lead {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 26px;
  color: var(--v3-muted);
  text-wrap: pretty;
}

.mc-coupon {
  background: var(--v3-tint);
  border-radius: 16px;
  padding: 26px 24px;
}

.mc-coupon-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--v3-muted);
}

.mc-coupon-code {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--v3-blue-deep);
  margin: 10px 0 18px;
  user-select: all;
  -webkit-user-select: all;
}

.mc-copy {
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.6px solid var(--v3-blue);
  background: var(--v3-white);
  color: var(--v3-blue-deep);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mc-copy:hover { background: var(--v3-blue-deep); color: var(--v3-white); }

.mc-coupon-note {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 16px 0 20px;
  color: var(--v3-soft);
}

.mc-coupon-note-line { display: block; }
.mc-coupon-note-line + .mc-coupon-note-line { margin-top: 6px; }

/* A note the member should act on (Free Lesson form filled in again with
   different details): a cream callout with the brand's yellow edge. */
.mc-details-note {
  margin: 0 0 22px;
  padding: 14px 18px;
  background: var(--v3-cream);
  border-left: 4px solid var(--v3-yellow);
  border-radius: 10px;
  text-align: left;
}

.mc-details-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--v3-navy);
}

.mc .mc-details-note a {
  color: var(--v3-blue-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mc .mc-done-cta {
  display: block;
  text-align: center;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1.6px solid var(--v3-blue);
  color: var(--v3-blue-deep);
  font-size: 17px;
  font-weight: 700;
}

.mc .mc-done-cta:hover { background: var(--v3-blue-deep); color: var(--v3-white); }

/* ===== V3 RESPONSIVE ===== */
@media (max-width: 1180px) {
  .mc-header-inner { flex-wrap: wrap; padding: 13px 24px; }
  /* Tighter spacing keeps the header on one row on small laptops and tablets. */
  .mc-navbtn { padding: 10px 8px; }
  .mc-tools { gap: 10px; }
  .mc-founder-grid { grid-template-columns: 1fr; gap: 34px; }
  .mc-founder-media { min-height: 260px; }
  .mc-phil-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-sys-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-final-card { grid-template-columns: 1fr; padding: 48px 40px; }
  .mc-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* Same bar height, but each link's tap area fills it (was 21px tall). */
  .mc-announce-inner { padding: 9px 16px; font-size: 14px; }
  .mc-announce-long { display: none; }
  .mc-announce-short { display: inline; }
  .mc-header-inner { padding: 12px 20px; gap: 12px; }
  /* iPhone Safari zooms in on any form field with text under 16px when it's
     tapped, and the page is then left panning sideways. 16px stops that. */
  .mc input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  html .mc select,
  html .mc textarea { font-size: 16px; }
  /* Phone menu: the nav folds away behind the menu button and opens as a
     list under the header. Each heading expands its links in place, so
     nothing is positioned outside the list (and nothing gets clipped). */
  .mc-menu-btn { display: flex; }
  .mc-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
    border-top: 1px solid var(--v3-line);
    padding-top: 6px;
    max-height: calc(100vh - 150px);
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mc-header.is-menu-open .mc-nav { display: flex; }
  .mc-navitem { border-bottom: 1px solid var(--v3-line); }
  .mc-navitem:last-child { border-bottom: none; }
  .mc-navbtn { width: 100%; justify-content: space-between; padding: 15px 8px; font-size: 17px; border-radius: 0; }
  .mc-navitem.is-open > .mc-navbtn, .mc-navbtn:hover { background: transparent; }
  .mc-caret { transition: transform 0.15s ease; }
  .mc-navitem.is-open .mc-caret { transform: rotate(180deg); }
  .mc-panel, .mc-panel-shop {
    position: static;
    min-width: 0;
    max-height: none;
    overflow: visible;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 10px 10px;
  }
  .mc-panel a { padding: 12px 10px; font-size: 16px; }
  .mc-search-btn,
  .mc .mc-header-login,
  .mc-usermenu { display: none; }
  .mc .mc-nav-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 10px;
    border: none;
    border-bottom: 1px solid var(--v3-line);
    background: transparent;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    color: var(--v3-navy);
    text-align: left;
    cursor: pointer;
  }
  .mc-search-inner { padding: 14px 16px 18px; }
  .mc-search-hint { display: none; }
  .mc-search-results { max-height: 65dvh; }
  .mc .mc-nav-account { display: block; }
  .mc .mc-nav-account .mc-logout-btn { display: inline-block; min-width: 140px; margin: 10px 10px 4px; }
  .mc .mc-nav-login {
    display: block;
    padding: 16px 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--v3-navy);
  }
  .mc-tools { margin-left: auto; gap: 10px; }
  .mc .mc-header-cta { padding: 11px 18px; font-size: 14.5px; }

  .mc-hero { padding: 46px 20px 56px; }
  .mc-hero-lead { font-size: 18px; }
  .mc-proof-grid { grid-template-columns: 1fr; }

  .mc-quoteband { padding: 44px 20px 0; }
  .mc-quoteband figure { padding: 40px 26px; border-radius: 20px; }
  .mc-quoteband blockquote { font-size: 21px; }

  .mc-founder,
  .mc-philosophy,
  .mc-system,
  .mc-reviews { padding: 56px 20px; }

  .mc-h2 { font-size: 30px; }
  .mc-letter p,
  .mc-letter p:first-child { font-size: 17px; }

  .mc-phil-grid,
  .mc-sys-grid { grid-template-columns: 1fr; }

  .mc-slide { padding: 44px 24px; min-height: 0; }
  .mc-slide blockquote { font-size: 21px; }
  .mc-arrow { width: 42px; height: 42px; }
  .mc-arrow-prev { left: 6px; }
  .mc-arrow-next { right: 6px; }

  .mc-final { padding: 0 20px 64px; }
  .mc-final-card { padding: 40px 24px; gap: 32px; border-radius: 20px; }
  .mc-final-body h2 { font-size: 30px; }
  .mc-waitlist-panel { padding: 22px 20px 20px; }
  /* The waitlist pop-up is a panel from the bottom of the screen on phones. */
  .mc-modal-overlay.mc-wl-modal { align-items: flex-end; padding: 0; }
  .mc-notice { right: 16px; }
  /* Extra space at the bottom so the last line ("Wrong email? Go back") can
     scroll up clear of Safari's floating bottom bar, which sits over the
     page on iPhone (Beth's phone test, 2026-11-05). */
  .mc-wl-modal .mc-modal {
    width: 100%;
    max-height: 90dvh;
    border-radius: 20px 20px 0 0;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .mc-footer { padding: 48px 20px 26px; }

  .mc-newsletter { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mc-newsletter-form { width: 100%; }
  .mc-newsletter-row { width: 100%; }
  .mc-newsletter-row input[type="email"] { width: auto; flex: 1 1 auto; min-width: 0; }
  .mc-newsletter-terms { max-width: none; }
  .mc-footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .mc-footer-brand { grid-column: 1 / -1; }
  /* Link columns line up on the left on phones (they're right-aligned on
     desktop, which left the left half of a phone footer empty). */
  .mc-footer-col { text-align: left; }
  .mc-footer-col .mc-footer-links { align-items: flex-start; }
  .mc-footer-legal { flex-wrap: wrap; gap: 10px 22px; }
  .mc-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .mc-modal-overlay { padding: 16px; }
  .mc-modal { padding: 20px 20px; }
  .mc-modal h2 { font-size: 22px; }
  .mc-delete-actions .mc-btn { width: 100%; }
  .mc-done h2 { font-size: 27px; }
  .mc-coupon-code { font-size: 27px; }
}

/* Small phones: keep the logo, wishlist, waitlist button and menu button on
   one row (at a standard 375px iPhone width they otherwise wrap to two). */
@media (max-width: 480px) {
  .mc-header-inner { padding: 10px 16px; gap: 8px; }
  .mc-logo img { height: 31px; }
  .mc-tools { gap: 8px; }
  .mc-header .mc-cart-btn, .mc-menu-btn { width: 40px; height: 40px; }
  .mc .mc-header-cta { padding: 10px 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .mc-dot,
  .mc-btn,
  .mc-navbtn { transition: none !important; }
}

/* ===== V3 CENTRED HERO (Teaching Approach) ===== */
.mc-hero-navy {
  position: relative;
  overflow: hidden;
  background: var(--v3-tint-pale);
  color: var(--v3-navy);
  padding: 74px 40px 82px;
}

.mc-hero-navy-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.mc-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 22px;
  border-radius: 999px;
  border: 2px solid var(--v3-line-strong);
  background: var(--v3-white);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
}

.mc-hero-story { background: var(--v3-white); }

.mc-hero-navy h1 {
  font-size: clamp(36px, 3.7vw, 54px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.036em;
  margin: 22px 0 0;
  color: var(--v3-navy);
  text-wrap: balance;
}

.mc-hero-navy p {
  font-size: 20px;
  line-height: 1.6;
  margin: 24px auto 0;
  color: var(--v3-body);
  max-width: 40em;
  text-wrap: pretty;
}

.mc-hero-navy p + p {
  font-size: 18px;
  margin-top: 16px;
  color: var(--v3-soft);
}

.mc-hero-navy-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.mc .mc-btn-onnavy {
  padding: 17px 32px;
  background: transparent;
  border: 1.6px solid var(--v3-navy);
  color: var(--v3-navy);
}

.mc .mc-btn-onnavy:hover {
  background: var(--v3-navy);
  border-color: var(--v3-navy);
  color: var(--v3-white);
}

/* ===== V3 OUTCOMES ===== */
.mc-outcomes {
  position: relative;
  overflow: hidden;
  background: var(--v3-tint);
  padding: 84px 40px;
}

.mc-outcomes .mc-wrap-wide { position: relative; }
.mc-outcomes .mc-h2 { margin: 0 0 42px; }

/* ===== V3 LEARNING ZONE ===== */
.mc-zone {
  position: relative;
  overflow: hidden;
  background: var(--v3-tint);
  padding: 84px 40px;
}

.mc-zone .mc-wrap { position: relative; }
.mc-zone .mc-h2 { margin: 0 0 18px; }

.mc-zone-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: stretch;
  margin-top: 30px;
}

.mc-ticklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-ticklist li {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--v3-white);
  border: 1px solid var(--v3-line-strong);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--v3-navy);
}

.mc-ticklist .mc-check { width: 30px; height: 30px; }

.mc-zone-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--v3-white);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid #BDD8E8;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== V3 FOUR-STEP PROCESS ===== */
.mc-process {
  background: var(--v3-tint-pale);
  padding: 84px 40px;
}

.mc-process-head { max-width: 1100px; margin: 0 auto 48px; }
.mc-process-head .mc-eyebrow { letter-spacing: 0.12em; margin-bottom: 16px; }
.mc-process-head .mc-h2 { margin: 0 0 20px; }

.mc-process-head p {
  font-size: 19px;
  line-height: 1.62;
  margin: 0 0 8px;
  color: var(--v3-muted);
  max-width: 44em;
  text-wrap: pretty;
}

.mc-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mc-step {
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 22px;
  padding: 34px 38px 30px;
}

.mc-step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.mc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--v3-navy-deep);
  color: var(--v3-white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  flex: none;
}

.mc-step h3 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

.mc-step-body {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 26px;
  color: var(--v3-muted);
  max-width: 46em;
  text-wrap: pretty;
}

.mc-step-tools {
  background: var(--v3-tint);
  border-radius: 18px;
  padding: 26px 28px;
}

.mc-step-tools-head {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
  margin-bottom: 16px;
}

.mc-step-tools ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-step-tools li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 17.5px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--v3-navy);
}

.mc-step-tools .mc-check { width: 38px; height: 38px; }

.mc-step-toggle {
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid #C9DFEC;
  background: var(--v3-white);
  color: var(--v3-navy);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
}

.mc-step-toggle[aria-expanded="true"] {
  border-color: var(--v3-blue);
  background: var(--v3-tint);
  color: var(--v3-blue-deep);
}

.mc-step-detail {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--v3-line);
}

.mc-step-detail[hidden] { display: none; }

.mc-detail-row {
  font-size: 17.5px;
  line-height: 1.62;
  margin: 0 0 14px;
  color: var(--v3-body);
  max-width: 44em;
  text-wrap: pretty;
}

.mc-detail-marker {
  font-size: 17px;
  font-weight: 800;
  color: var(--v3-blue-deep);
  margin-right: 6px;
}

.mc-detail-row strong { color: var(--v3-navy); }

.mc-process-cta {
  max-width: 1100px;
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
}

/* ===== V3 HOME HERO ===== */
.mc-home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, #E7F2FA 0%, #eaf4fb 62%, #ffffff 100%);
  padding: 12px 40px 0;
}

.mc-home-hero .mc-wrap-wide { position: relative; }

.mc-home-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.mc-home-copy { padding-top: 52px; }

.mc-flag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 22px 8px 10px;
  border-radius: 999px;
  background: var(--v3-white);
  border: 1px solid var(--v3-line-strong);
  box-shadow: 0 4px 14px rgba(6, 46, 72, 0.05);
}

.mc-flag-badge {
  background: var(--v3-yellow);
  color: var(--v3-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

.mc-flag-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--v3-blue-deep);
  white-space: nowrap;
}

.mc-home-hero h1 {
  font-size: clamp(38px, 3.75vw, 54px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.038em;
  margin: 14px 0 0;
  text-wrap: balance;
}

.mc-home-lead {
  font-size: 19px;
  line-height: 1.62;
  margin: 15px 0 0;
  max-width: 32em;
  color: var(--v3-muted);
}

.mc-home-sub {
  font-size: 19px;
  line-height: 1.62;
  margin: 12px 0 0;
  max-width: 32em;
  color: var(--v3-navy);
  font-weight: 700;
}

.mc-home-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 24px 0 0;
}

.mc-home-launch {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--v3-muted);
}

.mc-home-media {
  position: relative;
  padding: 0 0 40px;
  margin-top: 26px;
}

.mc-home-media-frame {
  border-radius: 22px;
  overflow: hidden;
  background: var(--v3-white);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.14) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid #BDD8E8;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 22px 50px rgba(6, 46, 72, 0.1);
}

.mc-home-media-frame span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
  background: var(--v3-white);
  padding: 9px 15px;
  border-radius: 999px;
}

.mc-float-quote {
  position: absolute;
  bottom: 78px;
  left: -34px;
  margin: 0;
  max-width: 20em;
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 18px 40px rgba(6, 46, 72, 0.16);
}

.mc-float-quote blockquote {
  font-size: 17.5px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--v3-ink);
  text-wrap: pretty;
}

.mc-float-quote figcaption {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
}

.mc-statrow {
  margin: 52px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-bottom: 70px;
}

.mc-stat {
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 16px;
  padding: 26px 26px 28px;
  box-shadow: 0 8px 22px rgba(6, 46, 72, 0.05);
}

/* ===== V3 BEST SELLERS ===== */
.mc-bestsellers { padding: 20px 40px 94px; background: var(--v3-white); }

.mc-bestsellers-head { max-width: 46em; margin-bottom: 40px; }

.mc-h2-lg {
  font-size: 44px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.032em;
  margin: 0 0 18px;
  color: var(--v3-navy);
  text-wrap: balance;
}

.mc-bestsellers-head p {
  font-size: 19px;
  line-height: 1.62;
  margin: 0;
  color: var(--v3-muted);
}

.mc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, auto);
  column-gap: 22px;
  row-gap: 12px;
  align-items: stretch;
}

.mc-product {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 18px;
  overflow: hidden;
}

.mc-product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--v3-tint);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border-bottom: 1px solid var(--v3-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-product-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* Heart toggle: a small round button on the card's cover image, and a
   larger labeled version on the PDP next to Add to Cart. Both read their
   saved state from window.MC_WISHLIST (js/main.js); the heart fills and
   turns red once saved, matching the familiar wishlist convention rather
   than the brand's own navy/blue/yellow palette — like the green
   checkmarks used elsewhere, this is a deliberate one-off semantic color. */
.mc-wishlist-toggle {
  margin-left: auto;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--v3-line-strong);
  background: var(--v3-white);
  color: var(--v3-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-wishlist-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; }
.mc-wishlist-toggle:hover { color: #E0435F; border-color: #E0435F; }
.mc-wishlist-toggle.is-active { color: #E0435F; border-color: #E0435F; }
.mc-wishlist-toggle.is-active svg { fill: #E0435F; }

.mc-wishlist-toggle-lg {
  width: auto;
  height: auto;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--v3-line-strong);
  gap: 9px;
  font-size: 15.5px;
  font-weight: 700;
}

.mc-wishlist-toggle-lg svg { width: 18px; height: 18px; }

.mc-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--v3-white);
  border: 1px solid var(--v3-line-strong);
  color: var(--v3-blue-deep);
}

.mc-product-media > span:last-child {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
  background: var(--v3-white);
  padding: 8px 13px;
  border-radius: 999px;
  text-align: center;
  position: absolute;
  bottom: 14px;
}

.mc-product-cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
  padding: 14px 28px 0;
}

.mc-product h3 a { color: inherit; }
.mc-product h3 a:hover { color: var(--v3-blue-deep); }

.mc-product h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0 28px;
  min-width: 0;
  hyphens: auto;
  text-wrap: pretty;
}

.mc-product p {
  font-size: 16px;
  line-height: 1.5;
  margin: 8px 0;
  color: var(--v3-muted);
  padding: 0 28px;
  text-wrap: pretty;
}

.mc-product-price {
  font-size: 21px;
  font-weight: 800;
  color: var(--v3-navy);
  padding: 0 28px;
}

.mc-product-cta {
  padding: 0 28px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mc .mc-btn-sm {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15.5px;
  border-radius: 999px;
  background: var(--v3-blue-deep);
  border: 1.5px solid var(--v3-blue-deep);
  color: var(--v3-white);
  font-weight: 700;
}

.mc .mc-btn-sm:hover { background: var(--v3-navy); border-color: var(--v3-navy); color: var(--v3-white); }

.mc-bestsellers-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ===== V3 PROBLEM ===== */
.mc-problem { background: var(--v3-tint); padding: 90px 40px; }

.mc-problem-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}

.mc-problem .mc-eyebrow { color: var(--v3-blue-deep); letter-spacing: 0.14em; }
.mc-problem .mc-h2-lg { margin: 14px 0 0; }

.mc-problem-lead {
  font-size: 19px;
  line-height: 1.62;
  margin: 20px 0 34px;
  color: var(--v3-muted);
}

.mc-numlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-numlist li {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  padding: 18px 22px;
}

.mc-numlist li:nth-child(even) { background: #f6fafd; }

.mc-num {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--v3-blue-deep);
  color: var(--v3-white);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mc-numlist li span:last-child {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.mc-problem-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--v3-white);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid #BDD8E8;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-problem-note {
  margin-top: 20px;
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-left: 8px solid var(--v3-yellow);
  border-radius: 14px;
  padding: 22px 26px;
}

.mc-problem-note p {
  font-size: 17.5px;
  line-height: 1.6;
  margin: 0;
  color: var(--v3-body);
}

/* ===== V3 SOLUTION ===== */
.mc-solution {
  position: relative;
  overflow: hidden;
  background: var(--v3-tint-pale);
  padding: 88px 40px;
}

.mc-solution .mc-wrap-wide { position: relative; }

.mc-solution-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.mc-solution-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--v3-tint);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid #BDD8E8;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-solution .mc-h2-lg { margin: 14px 0 20px; }

.mc-solution p {
  font-size: 18.5px;
  line-height: 1.62;
  margin: 0 0 18px;
  color: var(--v3-muted);
  max-width: 40em;
}

.mc-zone-panel {
  margin-top: 52px;
  background: var(--v3-tint);
  border-radius: 24px;
  padding: 44px 48px;
}

.mc-zone-panel-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.mc-zone-panel h3 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.mc-zone-panel-head p {
  font-size: 18.5px;
  line-height: 1.6;
  margin: 0;
  color: var(--v3-muted);
}

.mc-zone-panel-media {
  align-self: stretch;
  min-height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--v3-white);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid #BDD8E8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-zone-ticks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.mc-zone-ticks > div {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--v3-white);
  border: 1px solid var(--v3-line-strong);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 17.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--v3-navy);
}

.mc-zone-ticks .mc-check { width: 40px; height: 40px; }

/* ===== V3 TOOL TABS ===== */
.mc-offer { background: var(--v3-white); padding: 94px 40px; }

.mc-offer-head {
  max-width: 62em;
  margin-bottom: 38px;
}

.mc-offer-head .mc-h2-lg { margin-bottom: 22px; }

.mc-offer-head p {
  font-size: 18px;
  line-height: 1.62;
  margin: 0 0 14px;
  color: var(--v3-muted);
}

.mc-tabs {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
  overflow-x: auto;
  min-width: 0;
}

.mc-tab {
  padding: 16px 24px;
  border: none;
  border-top: 4px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
  background: var(--v3-white);
  color: var(--v3-soft);
  box-shadow: inset 0 -2px 0 var(--v3-line);
  transition: background 160ms ease, color 160ms ease;
}

.mc-tab[aria-selected="true"] {
  background: var(--v3-tint);
  color: var(--v3-navy);
  box-shadow: none;
  border-top-color: var(--v3-blue);
}

.mc-tabpanel {
  background: var(--v3-tint);
  padding: 46px 52px;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 52px;
  align-items: center;
  margin-top: -2px;
}

.mc-tabpanel h3 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.mc-tabpanel p {
  font-size: 19px;
  line-height: 1.62;
  margin: 0 0 28px;
  color: var(--v3-muted);
  max-width: 30em;
}

.mc-tabpanel-media {
  overflow: hidden;
  background: var(--v3-white);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid #BDD8E8;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== V3 FOUNDER (home) ===== */
.mc-home-about {
  position: relative;
  overflow: hidden;
  background: var(--v3-cream);
  padding: 94px 40px;
}

.mc-home-about .mc-wrap { position: relative; }

.mc-home-about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 60px;
  align-items: center;
}

.mc-home-about-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--v3-white);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid #BDD8E8;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-home-about .mc-h2-lg { margin: 14px 0 24px; }

.mc-home-about-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--v3-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ===== V3 HOME RESPONSIVE ===== */
@media (max-width: 1180px) {
  .mc-home-grid { grid-template-columns: 1fr; gap: 34px; }
  .mc-home-copy { padding-top: 32px; }
  .mc-float-quote { left: 0; bottom: 20px; }
  .mc-statrow { grid-template-columns: repeat(2, 1fr); }
  .mc-product-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-problem-grid,
  .mc-solution-grid,
  .mc-offer-head,
  .mc-home-about-grid,
  .mc-zone-panel-head { grid-template-columns: 1fr; gap: 32px; }
  .mc-tabpanel { grid-template-columns: 1fr; gap: 32px; padding: 36px 32px; }
  .mc-zone-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .mc-home-hero { padding: 12px 20px 0; }
  .mc-home-hero h1 { font-size: 32px; }
  /* Hero flag: a plain line (badge, then text) instead of a pill that
     wrapped into a large rounded box. */
  .mc-flag { display: flex; gap: 10px; padding: 0; background: none; border: none; box-shadow: none; border-radius: 0; }
  .mc-flag-text { white-space: normal; font-size: 14px; line-height: 1.35; }
  /* Stats: two compact cards per row (the fifth spans the row). */
  .mc-statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 44px; margin-top: 34px; }
  .mc-statrow > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .mc-stat { padding: 16px 16px 18px; border-radius: 14px; }
  .mc-stat .mc-proof-num { font-size: 30px; }
  .mc-stat .mc-proof-label { font-size: 14px; }
  /* What's Included tabs: a 2 x 2 grid, so no tab is cut off at the edge. */
  .mc-tabs { flex-wrap: wrap; gap: 8px; overflow: visible; margin-bottom: 10px; }
  .mc-tab { flex: 1 1 calc(50% - 4px); white-space: normal; padding: 12px 12px; font-size: 15px; line-height: 1.25; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--v3-line); border-top-width: 0; }
  .mc-tab[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--v3-blue); }
  .mc-float-quote { position: static; margin-top: 16px; max-width: none; }
  .mc-home-media { padding-bottom: 0; }

  .mc-bestsellers { padding: 20px 20px 64px; }
  .mc-h2-lg { font-size: 30px; }
  .mc-product-grid { grid-template-columns: 1fr; row-gap: 0; }
  .mc-product { grid-row: auto; grid-template-rows: none; margin-bottom: 18px; }

  .mc-problem,
  .mc-solution,
  .mc-home-about { padding: 56px 20px; }
  .mc-offer { padding: 0 20px 64px; }

  .mc-zone-panel { padding: 30px 22px; margin-top: 34px; }
  .mc-zone-ticks { grid-template-columns: 1fr; }
  .mc-numlist li { gap: 14px; padding: 14px 16px; }
  .mc-num { width: 38px; height: 38px; font-size: 15px; }
  .mc-numlist li span:last-child { font-size: 16.5px; }
  .mc-home-about-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== V3 PLP HEAD ===== */
.mc-plp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, #E7F2FA 0%, #eaf4fb 70%, #ffffff 100%);
  padding: 34px 40px 40px;
}

.mc-plp-hero .mc-wrap-wide { position: relative; }

.mc-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--v3-muted);
}

.mc-crumbs a { color: var(--v3-blue-deep); }
.mc-crumbs span[aria-hidden] { color: var(--v3-soft); }

.mc-plp-hero h1 {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.036em;
  margin: 14px 0 0;
  max-width: 20em;
}

.mc-plp-hero p {
  font-size: 18.5px;
  line-height: 1.62;
  margin: 18px 0 0;
  color: var(--v3-muted);
  max-width: 52em;
}

/* Pre-launch banner on the shop page, a section of its own between the hero
   and the product listing: the opening month and a waitlist button. */
/* "Coming Soon" label that replaces Add to Cart before launch. */
.mc-soon {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--v3-yellow);
  color: var(--v3-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mc-product-cta .mc-soon { align-self: center; }

/* Pre-launch card button: saves the product to the wishlist. */
.mc .mc-btn-save {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--v3-navy);
  color: var(--v3-navy);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mc .mc-btn-save:hover { background: var(--v3-tint); }
.mc .mc-btn-save.is-active { background: var(--v3-navy); color: var(--v3-white); }

.mc-product-media:not([href]),
.mc-product h3 a:not([href]) { cursor: default; }
.mc-pdp-price .mc-soon { vertical-align: middle; position: relative; top: -3px; }

/* ===== V3 PLP LAYOUT ===== */
.mc-plp { padding: 44px 40px 90px; background: var(--v3-white); }

.mc-plp-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 268px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.mc-filters { position: sticky; top: 96px; }

/* Phone-only Filters controls (shown by the shop's 860px rules below). */
.mc-filters-open,
.mc-filters-close,
.mc-filters-done { display: none; }

.mc-filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
}

.mc-filters-head h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.mc-clear {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--v3-blue-deep);
  cursor: pointer;
}

.mc-clear:hover { text-decoration: underline; }

.mc-filter-search {
  display: block;
  position: relative;
  padding-bottom: 4px;
}

.mc-filter-search svg {
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--v3-soft);
}

.mc-filter-search input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px 11px 40px;
  border-radius: 10px;
  border: 1.5px solid #C9DFEC;
  background: var(--v3-white);
  color: var(--v3-navy);
  outline: none;
}

.mc-filter-search input:focus {
  border-color: var(--v3-blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 218, 0.16);
}

.mc-filter-group {
  border-top: 1px solid var(--v3-line);
  margin-top: 18px;
  padding-top: 18px;
}

.mc-filter-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--v3-navy);
  margin-bottom: 13px;
}

.mc-filter-scroller { position: relative; }

.mc-filter-opts {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-right: 10px;
}

/* Long option lists scroll, with a fade and a cue so it is obvious there
   is more below. Short lists are left alone. */
.mc-filter-scroller.is-scrollable .mc-filter-opts {
  max-height: 268px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #BDD8E8 var(--v3-tint);
  scrollbar-gutter: stable;
}

.mc-filter-fade {
  position: absolute;
  left: 0;
  right: 12px;
  bottom: 0;
  height: 30px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 85%);
}

.mc-filter-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--v3-soft);
}

.mc-filter-opts label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--v3-body);
}

.mc-filter-opts input {
  width: 17px;
  height: 17px;
  accent-color: var(--v3-blue);
  flex: none;
}

.mc-filter-opts span { font-weight: 600; min-width: 0; }

/* ===== V3 PLP TOOLBAR & RESULTS ===== */
.mc-plp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--v3-line);
}

.mc-result-count { font-size: 15px; font-weight: 700; color: var(--v3-muted); }

.mc-sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--v3-muted);
}

.mc-sort select {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #C9DFEC;
  background: var(--v3-white);
  color: var(--v3-navy);
  outline: none;
}

.mc-sort select:focus {
  border-color: var(--v3-blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 218, 0.16);
}

.mc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 0 0;
}

.mc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--v3-line-strong);
  background: var(--v3-tint);
  color: var(--v3-navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.mc-chip:hover { background: var(--v3-navy); border-color: var(--v3-navy); color: var(--v3-white); }

.mc-plp-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  column-gap: 22px;
  row-gap: 22px;
  padding-top: 24px;
}

.mc-plp-results .mc-product { grid-row: auto; grid-template-rows: none; }

.mc-empty {
  padding: 60px 20px;
  text-align: center;
}

.mc-empty h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.mc-empty p {
  font-size: 17px;
  margin: 0 0 22px;
  color: var(--v3-muted);
}

@media (max-width: 1180px) {
  .mc-plp-grid { grid-template-columns: 1fr; gap: 28px; }
  .mc-filters { position: static; }
  .mc-plp-results { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .mc-plp-hero { padding: 24px 20px 32px; }
  .mc-plp-hero h1 { font-size: 32px; }
  .mc-plp { padding: 32px 20px 64px; }
  .mc-plp-results { grid-template-columns: 1fr; }
  .mc-sort { margin-left: auto; gap: 8px; }
  .mc-sort select { padding: 10px 8px; }

  /* Filters live behind a "Filters" button and open full screen, so the
     products are the first thing on the page (they were below ~15 tick boxes). */
  .mc-plp-grid { gap: 0; }
  .mc-plp-toolbar { gap: 12px; }
  .mc-result-count { order: 3; width: 100%; }
  .mc-filters-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #C9DFEC;
    border-radius: 999px;
    background: var(--v3-white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--v3-navy);
    cursor: pointer;
  }
  .mc-filters-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--v3-yellow);
    color: var(--v3-navy);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mc-filters-badge[hidden] { display: none; }
  .mc-filters {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 120;
    background: var(--v3-white);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 20px;
  }
  .mc-filters.is-sheet-open { display: flex; flex-direction: column; }
  .mc-filters-head {
    position: sticky;
    top: 0;
    z-index: 1;
    align-items: center;
    gap: 16px;
    margin: 0 -20px 14px;
    padding: 14px 20px;
    background: var(--v3-white);
    border-bottom: 1px solid var(--v3-line);
  }
  .mc-filters-head h2 { margin-right: auto; }
  .mc-filters > * { flex: none; }
  #mcFilterGroups { padding-bottom: 18px; }
  .mc-filters-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #C9DFEC;
    background: var(--v3-white);
    color: var(--v3-navy);
    cursor: pointer;
  }
  .mc-filters-done {
    display: block;
    position: sticky;
    bottom: 0;
    margin: auto -20px 0;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    background: var(--v3-white);
    border-top: 1px solid var(--v3-line);
  }
  .mc-filters-done .mc-btn { width: 100%; justify-content: center; }
}

/* ===== V3 CART ROWS ===== */
.mc-cart-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px 6px 0;
}

.mc-cart-thumb {
  width: 52px;
  height: 62px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--v3-line);
  background: var(--v3-tint);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 8px, rgba(255, 255, 255, 0) 8px 16px);
}

.mc-cart-info { min-width: 0; flex: 1; }

.mc-cart-name {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--v3-navy);
}

.mc-cart-qty {
  font-size: 13px;
  font-weight: 600;
  color: var(--v3-soft);
  margin-top: 4px;
}

.mc-cart-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.mc-cart-price {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--v3-navy);
  white-space: nowrap;
}

.mc-cart-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--v3-line);
  background: var(--v3-white);
  color: var(--v3-soft);
  cursor: pointer;
  font-family: inherit;
}

.mc-cart-remove:hover { background: #fdecec; border-color: #f3c9c9; color: #b03a3a; }

.mc .mc-btn-add {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15.5px;
  border-radius: 999px;
  background: var(--v3-blue-deep);
  border: 1.5px solid var(--v3-blue-deep);
  color: var(--v3-white);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mc .mc-btn-add:hover { background: var(--v3-navy); border-color: var(--v3-navy); }
.mc .mc-btn-add.is-added { background: #1f9d63; border-color: #1f9d63; }

.mc .mc-btn-view {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15.5px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--v3-navy);
  color: var(--v3-navy);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mc .mc-btn-view:hover { background: var(--v3-navy); border-color: var(--v3-navy); color: var(--v3-white); }

/* Inverted proof-point tile, for the one stat that carries the emphasis. */
.mc-stat-invert {
  background: var(--v3-blue-deep);
  border-color: var(--v3-blue-deep);
}

.mc-stat-invert .mc-proof-num { color: var(--v3-white); }
.mc-stat-invert .mc-proof-label { color: #e2f4fd; }

/* ===== V3 NEWSLETTER SECTION =====
   Its own section between the page content and the footer, rather than
   living inside the footer itself — title, copy and form stacked and
   centred. */
.mc-subscribe {
  background: var(--v3-tint-pale);
  padding: 64px 40px;
  text-align: center;
}

.mc-subscribe-inner {
  max-width: 560px;
  margin: 0 auto;
}

.mc-subscribe h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--v3-navy);
}

.mc-newsletter-copy {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--v3-muted);
  margin: 0 0 26px;
}

.mc-newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mc-newsletter-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

/* Cloudflare's bot-check box (added by mcBotCheck in js/main.js), lined up
   with the email row above it. */
.mc-newsletter-form .mc-botcheck { width: 100%; max-width: 420px; }

.mc-newsletter-row input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1.5px solid var(--v3-line-strong);
  background: var(--v3-white);
  color: var(--v3-navy);
  outline: none;
}

.mc-newsletter-row input[type="email"]::placeholder { color: var(--v3-soft); }

.mc-newsletter-row input[type="email"]:focus {
  border-color: var(--v3-blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 218, 0.16);
}

.mc .mc-newsletter-btn {
  flex: none;
  padding: 12px 26px;
  border-radius: 10px;
  border: 1.5px solid var(--v3-blue-deep);
  background: var(--v3-blue-deep);
  color: var(--v3-white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.mc .mc-newsletter-btn:hover { background: var(--v3-navy); border-color: var(--v3-navy); }

.mc-newsletter-terms {
  font-size: 13px;
  line-height: 1.5;
  color: var(--v3-soft);
  max-width: 420px;
  margin: 4px 0 0;
}

.mc-newsletter-note {
  font-size: 15px;
  font-weight: 700;
  color: var(--v3-blue-deep);
  margin: 4px 0 0;
}

.mc-newsletter-error {
  font-size: 13px;
  font-weight: 600;
  color: #c0392b;
  margin: 4px 0 0;
}

/* ===== V3 REGISTER MODAL =====
   Deliberately unlike the free-lesson modal: a navy header band with the
   yellow rule, rather than the plain white panel with blue accents, so the
   two are never mistaken for one another. */
.mc-register .mc-modal {
  width: min(520px, 100%);
  padding: 0;
  /* Scrolls (still clipped to the rounded corners) so a form taller than a
     phone screen can reach its button; it was overflow: hidden. */
  overflow-y: auto;
}

.mc-register-head {
  background: var(--v3-navy-deep);
  color: var(--v3-white);
  padding: 30px 34px 26px;
}

.mc-register-head .mc-rule {
  width: 46px;
  height: 6px;
  margin-bottom: 16px;
}

.mc-register-head h2 {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.028em;
  margin: 0 0 8px;
  color: var(--v3-white);
}

.mc-register-head p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  color: #a8c2ce;
}

.mc-register-body { padding: 26px 34px 30px; }

.mc-register .mc-modal-close {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--v3-white);
}

.mc-register .mc-modal-close:hover {
  background: var(--v3-white);
  border-color: var(--v3-white);
  color: var(--v3-navy);
}

/* The confirmation panels ("Check your email", "You're signed in", etc.) have
   no navy header band, so the close button goes back to the standard navy-on-
   white style there; the white version above would be invisible. */
.mc-register .mc-modal-close:has(~ .mc-register-body:not([hidden])) {
  border-color: #C9DFEC;
  background: var(--v3-white);
  color: var(--v3-navy);
}

.mc-register .mc-modal-close:has(~ .mc-register-body:not([hidden])):hover {
  background: var(--v3-tint);
  border-color: #BDD8E8;
}

.mc .mc-register-submit {
  margin-top: 8px;
  width: 100%;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.6px solid var(--v3-navy-deep);
  background: var(--v3-navy-deep);
  color: var(--v3-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mc .mc-register-submit:hover { background: var(--v3-yellow); border-color: var(--v3-yellow); color: var(--v3-navy); }
.mc .mc-register-submit:disabled { opacity: 0.6; cursor: wait; }

.mc-register-done {
  text-align: left;
  padding: 4px 44px 4px 0; /* clears the close button beside the heading */
}

.mc-register-done h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--v3-navy);
}

.mc-register-done p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: var(--v3-muted);
}

/* "Browse Curriculums" once the register modal has signed someone in. */
.mc-register-body .mc-done-cta { margin-top: 20px; }

/* Code entry under "Check your email": the emailed code signs the person in
   on this page, so checkout can carry on without leaving the site. */
.mc-code-form {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--v3-line);
}

.mc-code-form input {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* "Didn't get it? Send a new code" and "Wrong email? Go back" under the code
   box: small underlined text links, not buttons (Beth's choice, 2026-11-05). */
.mc-code-help {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--v3-muted);
}

.mc-code-help p { margin: 0 0 6px; }
.mc-code-help p:last-child { margin-bottom: 0; }

.mc-code-help .mc-code-status:empty { display: none; }
.mc-code-help .mc-code-status { color: var(--v3-navy); font-weight: 600; }
.mc-code-help .mc-code-status.is-error { color: #c0392b; } /* same red as .mc-form-error */

.mc-text-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: var(--v3-blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mc-text-link:hover { color: var(--v3-navy); }
.mc-text-link:focus-visible { outline: 2px solid var(--v3-blue); outline-offset: 2px; border-radius: 2px; }

.mc-code-form + .mc-botcheck,
.mc-code-help + .mc-botcheck { margin-top: 12px; }

.mc-login-alt {
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--v3-muted);
}

.mc-login-alt a {
  color: var(--v3-blue-deep);
  font-weight: 700;
}

.mc-login-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== V3 CONTACT PAGE ===== */
.mc-contact { background: var(--v3-white); padding: 74px 40px 94px; }

.mc-contact-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.mc-contact-aside .mc-h2 { margin: 0 0 18px; }

.mc-contact-aside p {
  font-size: 18px;
  line-height: 1.62;
  margin: 0 0 26px;
  color: var(--v3-muted);
  max-width: 34em;
}

.mc-contact-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-contact-points li {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--v3-tint);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 16.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--v3-navy);
}

.mc-contact-form {
  background: var(--v3-tint-pale);
  border: 1px solid var(--v3-line);
  border-radius: 22px;
  padding: 34px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--v3-line-strong);
  background: var(--v3-white);
  color: var(--v3-navy);
  outline: none;
  min-height: 150px;
  resize: vertical;
  width: 100%;
}

.mc-contact-form textarea:focus {
  border-color: var(--v3-blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 218, 0.16);
}

.mc-contact-done {
  background: var(--v3-tint);
  border-radius: 22px;
  padding: 44px 36px;
  text-align: center;
}

.mc-contact-done h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--v3-navy);
}

.mc-contact-done p {
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0;
  color: var(--v3-muted);
}

@media (max-width: 1180px) {
  .mc-contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .mc-contact { padding: 48px 20px 64px; }
  .mc-contact-form { padding: 24px 20px 26px; }
  .mc-register-head { padding: 24px 22px 20px; }
  .mc-register-body { padding: 22px 22px 26px; }
}


/* ===== V3 PRODUCT DETAIL (PDP) ===== */
.mc-pdp-missing {
  padding: 64px 40px;
  text-align: center;
  font-size: 17px;
  color: var(--v3-muted);
}

.mc-pdp-missing a { color: var(--v3-blue-deep); font-weight: 700; }

.mc-pdp-crumbs-bar {
  background: var(--v3-white);
  border-bottom: 1px solid var(--v3-line);
  padding: 16px 40px;
}

.mc-pdp-main { background: var(--v3-tint-pale); padding: 36px 40px 52px; }

.mc-pdp-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.mc-pdp-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--v3-white);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.14) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border: 1px solid var(--v3-line-strong);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-pdp-media .mc-tag {
  position: absolute;
  top: 18px;
  left: 18px;
}

.mc-pdp-info .mc-tag { margin-bottom: 16px; }

.mc-pdp-info h1 {
  font-size: 36px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.026em;
  margin: 0 0 10px;
  color: var(--v3-navy);
  text-wrap: balance;
}

.mc-pdp-meta {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
  margin: 0 0 16px;
}

.mc-pdp-summary {
  font-size: 18px;
  line-height: 1.6;
  color: var(--v3-muted);
  margin: 0 0 22px;
  max-width: 38em;
}

.mc-pdp-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--v3-navy);
  margin-bottom: 26px;
}

.mc-pdp-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mc-pdp-format-note {
  font-size: 13.5px;
  color: var(--v3-soft);
  margin: 18px 0 0;
}

.mc-pdp-detail { background: var(--v3-white); padding: 52px 40px; }

.mc-pdp-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.mc-pdp-description p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--v3-body);
  margin: 0 0 16px;
}

.mc-pdp-included {
  background: var(--v3-tint);
  border-radius: 18px;
  padding: 28px 30px;
}

.mc-pdp-included h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--v3-navy);
}

.mc-pdp-included ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-pdp-included li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--v3-navy);
}

.mc-pdp-included .mc-check { width: 26px; height: 26px; flex: none; }
.mc-pdp-included .mc-check svg { width: 13px; height: 13px; }

.mc-pdp-related { background: #F6FAFD; padding: 52px 40px; }

.mc-pdp-related > .mc-wrap-wide > .mc-h2 { margin: 0 0 32px; }

.mc-pdp-related-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 1180px) {
  .mc-pdp-grid,
  .mc-pdp-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .mc-pdp-media { max-width: 460px; }
}

@media (max-width: 860px) {
  .mc-pdp-crumbs-bar { padding: 14px 20px; }
  .mc-pdp-main { padding: 32px 20px 56px; }
  .mc-pdp-info h1 { font-size: 28px; }
  .mc-pdp-summary { font-size: 16.5px; }
  .mc-pdp-price { font-size: 26px; }
  .mc-pdp-detail,
  .mc-pdp-related { padding: 48px 20px; }
}

/* ===== V3 PDP GALLERY ===== */
.mc-pdp-gallery { display: flex; flex-direction: column; gap: 12px; }

.mc-pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mc-pdp-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--v3-white);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.14) 0 8px, rgba(255, 255, 255, 0) 8px 16px);
  border: 1.5px solid var(--v3-line-strong);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: inherit;
}

.mc-pdp-thumb.is-active {
  border-color: var(--v3-blue);
  box-shadow: 0 0 0 2px rgba(0, 159, 218, 0.25);
}

.mc-pdp-thumb-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-navy);
  background: var(--v3-yellow);
  border-radius: 999px;
  padding: 2px 7px;
}

.mc-pdp-thumb-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--v3-navy);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 6px;
  width: 100%;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* ===== V3 PDP QUICK PILLS ===== */
.mc-pdp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.mc-pdp-pill {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--v3-blue-deep);
  background: var(--v3-tint);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ===== V3 PDP: HOW TO USE IT ===== */
.mc-pdp-how { background: var(--v3-tint); padding: 56px 40px; }
.mc-pdp-how .mc-h2 { margin: 0 0 30px; }

.mc-pdp-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mc-pdp-how-step {
  background: var(--v3-white);
  border-radius: 16px;
  padding: 22px 20px 24px;
}

.mc-pdp-how-step .mc-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--v3-blue-deep);
  color: var(--v3-white);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mc-pdp-how-step h3 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--v3-navy);
}

.mc-pdp-how-step p {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  color: var(--v3-muted);
}

/* ===== V3 PDP: PRODUCT DETAILS ===== */
.mc-pdp-specs { background: var(--v3-tint-pale); padding: 56px 40px; }
.mc-pdp-specs .mc-h2 { margin: 0 0 26px; }

.mc-pdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--v3-line);
  border: 1px solid var(--v3-line);
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
}

.mc-pdp-spec {
  background: var(--v3-white);
  padding: 18px 22px;
}

.mc-pdp-spec dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v3-soft);
  margin: 0 0 4px;
}

.mc-pdp-spec dd {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--v3-navy);
  margin: 0;
}

/* ===== V3 PDP: FAQ ===== */
.mc-pdp-faq { background: var(--v3-white); padding: 56px 40px; }
.mc-pdp-faq .mc-h2 { margin: 0 0 26px; }

.mc-pdp-faq-list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-pdp-faq-item {
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  overflow: hidden;
}

.mc-pdp-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--v3-white);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--v3-navy);
  text-align: left;
}

.mc-pdp-faq-q:hover { background: var(--v3-tint-pale); }

.mc-pdp-faq-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--v3-tint);
  color: var(--v3-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.mc-pdp-faq-item.is-open .mc-pdp-faq-icon { transform: rotate(45deg); }

.mc-pdp-faq-a {
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--v3-muted);
}

.mc-pdp-faq-a[hidden] { display: none; }

@media (max-width: 1180px) {
  .mc-pdp-thumbs { grid-template-columns: repeat(4, 1fr); }
  .mc-pdp-how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .mc-pdp-how,
  .mc-pdp-specs,
  .mc-pdp-faq { padding: 40px 20px; }
  .mc-pdp-how-grid { grid-template-columns: 1fr; }
  .mc-pdp-thumbs { grid-template-columns: repeat(2, 1fr); }
  .mc-pdp-faq-q { font-size: 14.5px; padding: 14px 16px; }
}

/* ===== V3 BLOG INDEX ===== */
.mc-blog-filters-section { background: var(--v3-white); padding: 44px 40px 12px; }

.mc-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.mc-blog-filter {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--v3-line-strong);
  background: var(--v3-white);
  color: var(--v3-body);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mc-blog-filter:hover { border-color: var(--v3-blue); color: var(--v3-blue-deep); }

.mc-blog-filter.is-active {
  background: var(--v3-yellow);
  border-color: var(--v3-yellow);
  color: var(--v3-navy);
}

.mc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding-bottom: 48px;
}

.mc-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 18px;
  overflow: hidden;
}

.mc-blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--v3-tint);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  border-bottom: 1px solid var(--v3-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-blog-card-media span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
  background: var(--v3-white);
  padding: 8px 13px;
  border-radius: 999px;
}

.mc-blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.mc-blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.mc-blog-card-date,
.mc-blog-read-time { font-size: 12.5px; font-weight: 600; color: var(--v3-soft); white-space: nowrap; }

.mc-blog-read-time::before {
  content: '\00b7';
  margin-right: 8px;
  color: var(--v3-line-strong);
  font-weight: 700;
}

.mc-blog-card h3 {
  font-size: 19px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: pretty;
}

.mc-blog-card h3 a { color: inherit; }
.mc-blog-card h3 a:hover { color: var(--v3-blue-deep); }

.mc-blog-card-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--v3-muted);
  margin: 0;
  flex: 1;
}

.mc-blog-readmore {
  font-size: 14px;
  font-weight: 700;
  color: var(--v3-blue-deep);
  margin-top: 4px;
}

.mc-blog-readmore:hover { text-decoration: underline; }

.mc-blog-empty {
  padding: 40px 0 60px;
  text-align: center;
  font-size: 16px;
  color: var(--v3-muted);
}

/* ===== V3 BLOG POST ===== */
.mc-blog-missing {
  padding: 64px 40px;
  text-align: center;
  font-size: 17px;
  color: var(--v3-muted);
}

.mc-blog-missing a { color: var(--v3-blue-deep); font-weight: 700; }

.mc-blog-post-hero { background: var(--v3-tint-pale); padding: 40px 40px 44px; text-align: center; }

.mc-blog-post-hero .mc-wrap { max-width: 760px; }

.mc-blog-post-hero h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.026em;
  margin: 16px 0 14px;
  color: var(--v3-navy);
  text-wrap: balance;
}

.mc-blog-post-hero .mc-blog-excerpt {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--v3-muted);
  margin: 0 0 18px;
}

.mc-blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--v3-soft);
}

.mc-blog-post-meta span[aria-hidden] { color: var(--v3-line-strong); }

.mc-blog-article { background: var(--v3-white); padding: 44px 40px 8px; }
.mc-blog-article > .mc-wrap { max-width: 760px; }

.mc-blog-cover {
  aspect-ratio: 16 / 8;
  border-radius: 18px;
  overflow: hidden;
  background: var(--v3-tint);
  background-image: repeating-linear-gradient(135deg, rgba(0, 159, 218, 0.16) 0 14px, rgba(255, 255, 255, 0) 14px 28px);
  border: 1px solid var(--v3-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.mc-blog-toc {
  background: var(--v3-tint-pale);
  border: 1px solid var(--v3-line);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 8px;
}

.mc-blog-toc-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--v3-blue-deep);
  margin-bottom: 12px;
}

.mc-blog-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: toc;
}

.mc-blog-toc li { counter-increment: toc; }

.mc-blog-toc a {
  display: flex;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--v3-navy);
}

.mc-blog-toc a::before {
  content: counter(toc) '.';
  color: var(--v3-blue-deep);
  flex: none;
}

.mc-blog-toc a:hover { color: var(--v3-blue-deep); }

.mc-blog-section {
  scroll-margin-top: 96px;
  padding-top: 34px;
}

.mc-blog-section h2 {
  font-size: 23px;
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--v3-navy);
}

.mc-blog-section p {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--v3-body);
  margin: 0 0 14px;
}

.mc-blog-section p strong { color: var(--v3-navy); }

.mc-blog-takeaways {
  margin: 40px 0 8px;
  background: var(--v3-tint);
  border-radius: 16px;
  padding: 24px 28px;
}

.mc-blog-takeaways h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  color: var(--v3-navy);
}

.mc-blog-takeaways ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-blog-takeaways li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--v3-body);
}

.mc-blog-takeaways li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--v3-blue);
}

.mc-blog-related { margin: 44px 0 8px; }

.mc-blog-related h2.mc-h2 {
  font-size: 20px;
  margin: 0 0 18px;
  text-align: left;
}

.mc-blog-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mc-blog-related-grid .mc-blog-card-media { aspect-ratio: 16 / 9; }

.mc-blog-recommended { background: var(--v3-tint); padding: 52px 40px; }
.mc-blog-recommended .mc-h2 { margin: 0 0 28px; text-align: center; }
.mc-blog-recommended .mc-wrap { max-width: 1000px; }

@media (max-width: 1180px) {
  .mc-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .mc-blog-filters-section { padding: 32px 20px 8px; }
  .mc-blog-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 36px; }
  .mc-blog-post-hero { padding: 32px 20px 36px; }
  .mc-blog-post-meta { flex-wrap: wrap; }
  .mc-blog-article { padding: 32px 20px 8px; }
  .mc-blog-toc { padding: 18px 20px; }
  .mc-blog-related-grid { grid-template-columns: 1fr; }
  .mc-blog-recommended { padding: 40px 20px; }
}

/* ===== V3 ACCOUNT ===== */

/* Signed-out prompt (account.html), shown instead of the dashboard. */
.mc-account-gate {
  background: var(--v3-tint-pale);
  padding: 90px 40px;
  text-align: center;
}

.mc-account-gate .mc-eyebrow { color: var(--v3-blue-deep); }
.mc-account-gate h1 { margin: 14px 0 16px; }

.mc-account-gate-lead {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--v3-muted);
}

.mc-account-gate-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Signed-in dashboard. */
.mc-account-hero {
  background: var(--v3-tint-pale);
  padding: 48px 40px;
}

.mc-account-hero .mc-eyebrow { color: var(--v3-blue-deep); }
.mc-account-hero h1 { margin: 12px 0 0; }

.mc-account-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 48px 40px 96px;
  align-items: start;
}

.mc-account-nav {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--v3-tint-pale);
  border-radius: 16px;
  padding: 10px;
}

.mc-account-nav a {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--v3-body);
}

.mc-account-nav a:hover { background: var(--v3-tint); color: var(--v3-navy); }
.mc-account-nav a.is-active { background: var(--v3-navy); color: var(--v3-white); }

.mc-account-content { min-width: 0; }

/* Phones and tablets: the sidebar becomes one drop-down (shown in RESPONSIVE). */
.mc-account-jump { display: none; }

.mc-account-jump select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  color: var(--v3-navy);
  background-color: var(--v3-tint-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072E47' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
  border: 1.5px solid var(--v3-line);
  border-radius: 14px;
  padding: 15px 52px 15px 18px;
  cursor: pointer;
}

.mc-account-jump select:focus-visible {
  outline: 3px solid var(--v3-blue);
  outline-offset: 3px;
  border-color: var(--v3-blue);
}
/* account.js moves focus to a section's heading when it opens; like main, no ring needed. */
.mc-account-panel h2[tabindex="-1"]:focus { outline: none; }
.mc-account-content .mc-h2 { margin: 0 0 10px; }

.mc-account-panel-lead {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--v3-muted);
  margin: 0 0 28px;
}

/* Overview tab: stat tiles + a preview of the most recent order. */
.mc-account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.mc-account-stat {
  background: var(--v3-tint-pale);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-account-stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--v3-navy);
  letter-spacing: -0.02em;
}

.mc-account-stat span:last-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--v3-soft);
}

.mc-account-recent-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-soft);
  margin-bottom: 12px;
}

/* Order History, and the Overview tab's "most recent order": one card per
   order with labeled lines, and each item on its own line. */
.mc-account-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-account-order {
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  padding: 18px 22px;
}

.mc-account-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--v3-soft);
}

.mc-account-order-num strong { color: var(--v3-navy); font-weight: 800; }

.mc-account-order-items {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-account-order-items li { font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--v3-navy); }

.mc-account-order-facts {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--v3-tint);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14.5px;
}

.mc-account-order-facts div { display: flex; gap: 6px; }
.mc-account-order-facts dt { color: var(--v3-soft); font-weight: 600; }
.mc-account-order-facts dd { margin: 0; color: var(--v3-navy); font-weight: 800; }

.mc-account-order-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--v3-blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mc-account-status {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(31, 157, 99, 0.12);
  color: #146c43; /* darkened 25 Nov 2026 to pass WCAG AA (4.5:1) at this small size */
}

/* My Library: a compact list, one row per item, inside one bordered box. */
.mc-account-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}

.mc-account-filter {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--v3-body);
  background: var(--v3-tint-pale);
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}

.mc-account-filter:hover { background: var(--v3-tint); color: var(--v3-navy); }
.mc-account-filter[aria-pressed="true"] { background: var(--v3-navy); border-color: var(--v3-navy); color: var(--v3-white); }

.mc-account-list,
.mc-account-wishlist {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  overflow: hidden;
}

.mc-account-library-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.mc-account-library-item + .mc-account-library-item,
.mc-account-wish + .mc-account-wish { border-top: 1px solid var(--v3-tint); }

.mc-account-library-text { min-width: 0; }

.mc-account-download {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: var(--v3-white);
  background: var(--v3-blue-deep);
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

.mc-account-download:hover { background: var(--v3-navy); }
.mc-account-download:disabled { cursor: progress; }

/* Wishlist: the same compact list, with a small cover and a heart. */
.mc-account-wish {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 14px;
}

.mc-account-wish-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

a.mc-account-wish-main:hover .mc-account-wish-name { color: var(--v3-blue-deep); }

.mc-account-wish-thumb {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, var(--v3-tint) 0 6px, var(--v3-tint-pale) 6px 12px);
  border: 1px solid var(--v3-line);
}

.mc-account-wish-text { min-width: 0; display: flex; flex-direction: column; }
.mc-account-wish-name { font-weight: 800; color: var(--v3-navy); line-height: 1.3; }
.mc-account-wish-meta { font-size: 13.5px; color: var(--v3-soft); margin-top: 3px; }

.mc-account-count { font-weight: 600; color: var(--v3-soft); }

.mc .mc-account-wish-heart { position: static; flex: none; }

/* A library item linked to directly (e.g. "your free lesson is here"). */
.mc-account-library-item.is-highlighted {
  border-color: var(--v3-blue);
  box-shadow: 0 0 0 3px var(--v3-tint);
}

/* Shown at the top of My Library on return from a paid Stripe checkout. */
.mc-account-notice {
  background: var(--v3-tint-pale);
  border-left: 4px solid var(--v3-blue);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--v3-navy);
}

.mc-account-library-name { font-weight: 800; color: var(--v3-navy); }
.mc-account-library-meta { font-size: 13.5px; color: var(--v3-soft); margin-top: 4px; }

.mc-account-copyright-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--v3-soft);
  margin-top: 18px;
}

.mc-account-copyright-note a { color: var(--v3-blue-deep); font-weight: 700; }

.mc-account-empty {
  background: var(--v3-tint-pale);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  color: var(--v3-muted);
  font-size: 15px;
}

.mc-account-empty a { color: var(--v3-blue-deep); font-weight: 700; }

/* Vouchers. */
.mc-account-vouchers {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-account-voucher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--v3-tint-pale);
  border-radius: 14px;
  padding: 20px 24px;
}

.mc-account-voucher.is-urgent { background: #fff1ed; }

.mc-account-voucher-desc { font-size: 14.5px; color: var(--v3-body); margin-bottom: 4px; }
.mc-account-voucher-code { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; color: var(--v3-blue-deep); }

.mc-account-voucher-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mc-account-voucher-side .mc-copy { white-space: nowrap; }

.mc-account-voucher-expiry { font-size: 13px; font-weight: 700; color: var(--v3-soft); white-space: nowrap; }
.mc-account-voucher.is-urgent .mc-account-voucher-expiry { color: #d1483b; }

/* Free Member Resources use My Library's list (.mc-account-list). */

/* Account Settings. */
.mc-account-settings-form { max-width: 520px; }
.mc-account-settings-form .mc-submit { margin-top: 6px; }

.mc-account-email {
  display: block;
  padding: 13px 0;
  color: var(--v3-soft);
  font-size: 15.5px;
}

.mc-account-settings-note {
  font-size: 14px;
  font-weight: 700;
  color: #1f9d63;
  margin: 0 0 14px;
}

.mc-account-signout {
  max-width: 520px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--v3-line);
}

/* Delete account: a quiet section under Log Out, and the warning pop-up it
   opens. Red is kept to the delete buttons, using the forms' error red. */
.mc-account-delete {
  max-width: 520px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--v3-line);
}

.mc-account-delete h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--v3-navy);
}

.mc-account-delete p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px;
  color: var(--v3-muted);
}

.mc .mc-btn-danger {
  padding: 15px 30px;
  background: transparent;
  border: 1.6px solid #c0392b;
  color: #c0392b;
}

.mc .mc-btn-danger:hover { background: #c0392b; color: var(--v3-white); }
.mc .mc-btn-danger:disabled { opacity: 0.6; cursor: wait; }

.mc-delete-modal { width: min(560px, 100%); padding: 30px 34px; }

.mc-delete-list {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--v3-body);
  font-size: 15.5px;
  line-height: 1.55;
}

.mc-delete-list li + li { margin-top: 6px; }

.mc-delete-download {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--v3-cream);
  border: 1px solid var(--v3-yellow);
}

.mc-delete-download p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--v3-body);
}

.mc-delete-download strong { color: var(--v3-navy); }

.mc-delete-small {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--v3-soft);
}

.mc-delete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.mc-delete-actions .mc-btn { font-size: 16px; padding: 15px 26px; }

@media (max-width: 980px) {
  .mc-account-grid { grid-template-columns: 1fr; padding: 36px 20px 72px; gap: 28px; }
  .mc-account-nav { display: none; }
  .mc-account-jump { display: block; }
  .mc-account-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .mc-account-gate { padding: 64px 20px; }
  .mc-account-hero { padding: 36px 20px; }
  /* Phones: tighter spacing, smaller section headings. */
  .mc-account-hero { padding: 28px 20px; }
  .mc-account-grid { padding: 24px 16px 64px; gap: 20px; }
  .mc-account-content .mc-h2 { font-size: 28px; }
  .mc-account-panel-lead { font-size: 15px; }

  /* Overview tiles: smaller, so all four sit on one screen. */
  .mc-account-stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
  .mc-account-stat { padding: 14px 16px; gap: 2px; }
  .mc-account-stat-num { font-size: 24px; }

  /* Orders: slimmer cards; date and total stack. */
  .mc-account-order { padding: 14px 16px; }
  .mc-account-order-items li { font-size: 15px; }
  .mc-account-order-facts { font-size: 14px; }
  .mc-account-settings-form { margin-top: 16px; }
  .mc-account-library-item { padding: 12px 14px 12px 16px; gap: 12px; }
  .mc-account-download { width: 44px; height: 44px; padding: 0; }
  .mc-account-download-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mc-account-download.is-status { width: auto; padding: 0 14px; }
  .mc-account-download.is-status svg { display: none; }
  .mc-account-download.is-status .mc-account-download-text { position: static; width: auto; height: auto; clip: auto; overflow: visible; font-size: 13px; }
  .mc-account-wish { padding: 10px 10px 10px 12px; }
  .mc-account-wish-thumb { width: 48px; height: 48px; }
  .mc-account-voucher { flex-direction: column; align-items: stretch; padding: 16px 18px; gap: 12px; }
  .mc-account-voucher-side { justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; }
}

/* ===== V3 COOKIE NOTICE =====
   A small card in the bottom-right corner of every page, added by
   js/consent.js until the visitor accepts or rejects marketing cookies. It
   sits over the hero image, not the hero's buttons (it was a full-width bar
   until 2026-11-16, which hid them on laptops). Accept and Reject share one
   style on purpose: saying no must be as easy as saying yes. */
.mc-cookie {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  width: 400px;
  max-width: calc(100% - 32px);
  background: var(--v3-white);
  border: 1px solid var(--v3-line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(7, 46, 71, 0.16);
}

.mc-cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
}

.mc-cookie-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--v3-navy);
}

.mc-cookie-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--v3-body);
}

.mc-cookie-text a { font-weight: 700; text-decoration: underline; }

.mc-cookie-actions { display: flex; gap: 12px; }

.mc .mc-cookie-btn {
  flex: 1;
  min-width: 0;
  padding: 11px 20px;
  font-size: 15px;
  background: var(--v3-navy);
  border: 1.5px solid var(--v3-navy);
  color: var(--v3-white);
}

.mc .mc-cookie-btn:hover { background: var(--v3-blue-deep); border-color: var(--v3-blue-deep); }

@media (max-width: 860px) {
  .mc-cookie { right: 12px; bottom: 12px; width: auto; left: 12px; max-width: none; }
  .mc-cookie-inner { gap: 14px; padding: 18px 18px; }
}
