/* Li's approved Dream Pink/Blue/Green light skin. Homepage only; no layout or content changes. */
:root {
  --dream-navy: #1D3557;
  --dream-blue: #457B9D;
  --dream-copy: #33485c;
  --dream-muted: #526b7d;
  --dream-line: rgba(69, 123, 157, .18);
}

html {
  background: #FFFFFF;
  color-scheme: light;
}
body {
  position: relative;
  isolation: isolate;
  background: transparent;
  color: var(--dream-copy);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #FFFFFF;
  background-image:
    radial-gradient(ellipse 760px 520px at 10% 2%, rgba(255, 205, 228, .75), transparent),
    radial-gradient(ellipse 860px 600px at 92% 8%, rgba(178, 231, 233, .8), transparent),
    radial-gradient(ellipse 820px 640px at 85% 62%, rgba(198, 240, 186, .75), transparent),
    radial-gradient(ellipse 720px 560px at 4% 78%, rgba(186, 216, 250, .75), transparent),
    radial-gradient(ellipse 620px 460px at 48% 100%, rgba(255, 222, 233, .7), transparent);
}
a { color: var(--dream-blue); }
h1, h2, h3 { color: var(--dream-navy); }
.sec-head p { color: var(--dream-muted); }
.ornament::before, .ornament::after { background: rgba(69, 123, 157, .28); }

/* Red and blue controls keep exact white foregrounds, including hover states. */
.btn-red, .btn-blue, .btn-outline {
  color: #FFFFFF;
}
.btn-red, .pricing .btn-red {
  background: var(--red);
  box-shadow: 0 12px 24px -12px rgba(230, 57, 70, .55);
}
.btn-blue, .btn-outline { background: var(--dream-blue); border-color: var(--dream-blue); }
.btn-blue:hover, .btn-outline:hover { background: #356482; color: #FFFFFF; }
.btn-red:hover, .pricing .btn-red:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(230, 57, 70, .55);
}
.ribbon, .ribbon * { color: #FFFFFF; }

header { background: var(--bg-base); border-bottom-color: var(--dream-line); }
header.scrolled { box-shadow: 0 14px 34px -18px rgba(29, 53, 87, .32); }
header .brand { background: transparent; border-radius: 0; padding: 0; box-shadow: none; }
header .brand-logo { display: block; }
nav.mainnav a, .header-phone { color: var(--dream-navy); }
nav.mainnav a:hover { color: var(--dream-blue); }
.header-phone svg { color: var(--dream-blue); }
.burger { background: var(--dream-blue); border-color: var(--dream-blue); color: #FFFFFF; }
.mobile-menu { background: #FFFFFF; border-top-color: var(--dream-line); }
.mobile-menu a.mlink, .mobile-menu .mphone { color: var(--dream-navy); border-bottom-color: var(--dream-line); }

/* Preserve the supplied video and exact approved two-layer Hero overlay. */
.hero { background: var(--dream-navy); color: #FFFFFF; }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(24, 38, 60, .32), rgba(24, 38, 60, .09) 34%, rgba(24, 38, 60, .14) 66%, rgba(255, 255, 255, .3)),
    linear-gradient(80deg, rgba(24, 38, 60, .38), rgba(24, 38, 60, .12) 55%, transparent 84%);
}
.hero h1, .hero-sub, .hero .trust, .hero .trust span,
.hero .announce, .hero .announce span, .hero .announce .price,
.hero .btn-ghost, .hero .btn-ghost:hover { color: #FFFFFF; }
.hero .btn-ghost, .hero .btn-ghost:hover { background: rgba(24, 38, 60, .55); border-color: #FFFFFF; }
.hero .announce .tag { background: var(--red); color: #FFFFFF; }

/* Let the fixed pastel glow show through the light sections. */
#about, #how, #reviews, #visit, #faq { background: transparent; }
.courses, .ebook { background: rgba(255, 255, 255, .16); }
.intro-col p, .intro-col p b, .intro-col p strong { color: var(--dream-copy); }
.istat b { color: var(--dream-navy); }
.istat span { color: var(--dream-muted); }
.istat + .istat { border-left-color: var(--dream-line); }

/* White translucent cards; the blue price band is intentionally kept separate. */
.ccard, .rev-card, .faq-item, .map-block {
  background: rgba(255, 255, 255, .92);
  border-color: var(--dream-line);
  color: var(--dream-copy);
}
.ccard h3, .step h3, .faq-item summary { color: var(--dream-navy); }
.ccard .desc, .sched .lvl, .step p, .rev-card figcaption,
.sample-note, .faq-item .ans, .map-cap { color: var(--dream-muted); }
.sched li { border-top-color: var(--dream-line); }
.sched .day, .sched .time { color: var(--dream-navy); }
.next-class { background: rgba(241, 250, 238, .92); border-color: var(--dream-line); color: var(--dream-navy); }
.next-class .price { color: var(--red); }
.ccard .more, .ccard .more:hover, .google-line { color: var(--dream-blue); }
.ccard .glyph, .sample-tag, .feat .check { background: var(--red); color: #FFFFFF; }
.pop-tag { background: #FFFFFF; color: var(--dream-navy); }
.step-num { color: var(--dream-navy); }
.rev-card blockquote { color: var(--dream-copy); }

/* All review text stays in the HTML; JS only changes which card is visible. */
.reviews-carousel.is-ready .rev-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.reviews-carousel.is-ready .rev-card {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s;
}
.reviews-carousel.is-ready .rev-card.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.review-controls { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; }
.review-controls[hidden] { display: none; }
.review-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(69, 123, 157, .35);
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  color: var(--dream-navy);
  font-size: 20px;
  cursor: pointer;
}
.review-controls .review-pause { width: auto; padding: 0 12px; font-size: 13px; font-weight: 700; }
.review-controls button:focus-visible { outline: 2px solid var(--dream-blue); outline-offset: 2px; }
.review-dots { display: flex; align-items: center; }
.review-dots button { border: 0; background: transparent; }
.review-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(69, 123, 157, .35); }
.review-dots button[aria-current="true"]::before { background: var(--dream-blue); }
.review-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 350px) {
  .review-controls { display: grid; grid-template-columns: 40px 120px 40px; }
  .review-controls .review-pause { grid-column: 1 / -1; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-carousel.is-ready .rev-card { transition: none; }
}
.faq-item summary .fx { background: rgba(69, 123, 157, .1); color: var(--dream-navy); }
.faq-item[open] summary .fx { background: var(--red); color: #FFFFFF; }
.faq-item .ans b { color: var(--dream-navy); }

.video-card, .video-card h3, .video-card p, .video-card .varrow,
.video-card .vplay { color: #FFFFFF; }
.video-card .wm { color: #FFFFFF; opacity: .13; }

/* White price text remains readable on blue, including the small card text. */
.pricing { background: linear-gradient(140deg, #5E94B5, #457B9D 60%, #356482); color: #FFFFFF; }
.pricing, .pricing h2, .pricing p, .pricing .pcard,
.pricing .pcard .pname, .pricing .pcard .pprice, .pricing .pcard .pnote,
.pricing .sec-head p, .pricing-cta p, .pricing .best-tag, .pricing .btn { color: #FFFFFF; }
.pricing .sec-head::before { background: #FFFFFF; }
.pricing .pcard { background: rgba(29, 53, 87, .55); border: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38), 8px 8px 0 rgba(0, 0, 0, .28); }
.pricing .best-tag { background: var(--red); }
.pricing .sec-head p, .pricing-cta p { text-shadow: 0 1px 3px rgba(29, 53, 87, .7); }

/* The phone mockup has a light screen inside a dark frame. */
.ebook-grid > div:first-child > p:not(.ebook-meta) { color: var(--dream-copy) !important; }
.feat li { color: var(--dream-copy); }
.feat b, .ebook-meta { color: var(--dream-navy); }
.ebook-grid > div:first-child > p.ebook-meta { color: var(--dream-navy) !important; }
.ebook-grid > div:nth-child(2) { min-width: 0; }
.phone {
  width: 320px;
  max-width: 100%;
  padding: 8px;
  background: #1D3557;
  border: 1px solid #2A4A73;
  box-shadow: 0 34px 60px -20px rgba(29, 53, 87, .5);
}
.phone .screen { min-height: 520px; padding: 18px 15px; background: #FFFFFF; color: var(--dream-copy); }
.phone .notch { height: 18px; margin-bottom: 10px; background: #1D3557; }
.phone .sentence { margin: 14px 0 6px; }
.phone .ch { width: calc((100% - 7px) / 8); max-width: 30px; }
.phone .translation { margin-top: 6px; }
.phone .screen-controls { margin-top: 12px; }
.phone .challenge { margin-top: 16px; padding: 12px; }
.phone .challenge .c-row { gap: 4px; }
.phone .challenge .c-row b { font-size: 12px; white-space: nowrap; }
.phone .challenge .c-row span { font-size: 11px; }
.ebook .phone .challenge-question { margin: 9px 0 8px; color: var(--dream-navy); font-size: 14px; font-weight: 700; line-height: 1.5; }
.phone .challenge-question span { color: var(--red); }
.phone .challenge-options { display: flex; gap: 6px; }
.phone .challenge-option { flex: 1; min-width: 0; padding: 5px 2px; border: 1px solid rgba(69, 123, 157, .25); border-radius: 7px; background: #FFFFFF; color: var(--dream-navy); text-align: center; font-size: 12px; font-weight: 700; }
.phone .challenge-option.is-correct { border-color: var(--red); background: var(--red); color: #FFFFFF; }
.phone .challenge .bar { height: 6px; margin-top: 10px; }
.phone .challenge-reward { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.phone .challenge-reward img { display: block; width: 72px; height: auto; border-radius: 8px; }
.phone .challenge-reward b { color: var(--red); font-size: 13px; }
.mini-btn { background: var(--dream-blue); border-color: var(--dream-blue); color: #FFFFFF; }
.mini-btn svg { color: #FFFFFF; }
.visit-info .addr, .visit-rows { color: var(--dream-copy); }
.visit-info .addr b { color: var(--dream-navy); }

footer { background: var(--dream-blue); color: #FFFFFF; }
footer h4, footer p, footer a, footer span, .foot-brand p,
.foot-brand .brand-sub, .foot-links a, .foot-links a:hover { color: #FFFFFF; }
footer .foot-bottom { background: #356482; border-top-color: rgba(255, 255, 255, .2); color: #FFFFFF; }
footer .foot-bottom span { color: #FFFFFF; }

/* Keep an open mobile menu hidden whenever the desktop header is active. */
@media (min-width: 761px) {
  .mobile-menu.open { display: none; }
}

/* Keep the full desktop header on one line above the mobile breakpoint. */
@media (min-width: 761px) and (max-width: 1279px) {
  .header-in {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(6px, 1vw, 14px);
    min-height: 76px;
    padding: 0 clamp(12px, 2vw, 24px);
  }
  .header-in .brand-logo { width: auto; height: clamp(32px, 4vw, 46px); }
  nav.mainnav { display: flex; gap: clamp(6px, 1vw, 18px); margin-left: auto; }
  nav.mainnav a { padding: 10px 0; font-size: clamp(10px, 1.15vw, 13px); letter-spacing: .03em; }
  .header-actions { display: flex; gap: clamp(6px, 1vw, 14px); }
  .header-in .header-phone { order: initial; gap: 4px; font-size: clamp(11px, 1.15vw, 15.5px); white-space: nowrap; }
  .header-actions .btn {
    order: initial;
    min-height: 44px;
    margin-left: 0;
    padding: 0 clamp(8px, 1.2vw, 18px);
    font-size: clamp(10px, 1.1vw, 14px);
    letter-spacing: .03em;
    white-space: nowrap;
  }
  .header-in .burger { display: none; }
}

/* Desktop header fit (owner report 2026-11-25: the menu bar looked shifted
   right). Above 1280px the base 1160px container is too narrow for logo +
   nav + trial button (~1249px), so the button overflowed past the
   container's right edge while the logo stayed inset — widen the header
   container and tighten the nav gap so the whole bar fits and stays
   centered. */
@media (min-width: 1280px) {
  header .header-in { max-width: 1304px; }
  header nav.mainnav { gap: 20px; }
}

/* Compact two-row mobile header; leave the page structure and links intact. */
@media (max-width: 760px) {
  .header-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    padding: 8px 12px 10px;
  }
  .header-actions { display: contents; }
  .header-in .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .header-in .brand-logo { width: min(100%, 112px); height: auto; }
  .header-in .burger { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; width: 44px; height: 44px; }
  .header-in .header-phone {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    gap: 5px;
    font-size: clamp(11px, 3.3vw, 14.5px);
    white-space: nowrap;
  }
  .header-in .header-phone svg { flex: none; }
  .header-actions .btn {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 44px;
    margin: 0;
  }
}

@media (max-width: 380px) {
  .phone .mini-btn { gap: 4px; padding: 8px 10px; font-size: 12px; }
  .phone .ch .py { font-size: clamp(8px, 2.4vw, 10px); }
  .phone .ch .hz { font-size: clamp(22px, 6.4vw, 25px); }
}

/* eBook-included tag on pricing cards (added 2026-11-24, Li's request) */
.pricing .pcard .etag { display: inline-block; background: var(--blob-green); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .18em .65em; border-radius: 999px; margin-top: .4em; text-transform: uppercase; }

/* Small cross-sell text line under Beginner pricing cards (2026-11-24, replaces the See packages button) */
.pricing .beginner-alt { font-size: .85rem; text-align: center; margin-top: .9em; }
.pricing .beginner-alt a { color: #FFFFFF; text-decoration: underline; }

/* Thanksgiving gift announcement line at the top of the Beginner page (2026-11-24, Li approved) */
.gift-top { background: var(--card); border-left: 4px solid var(--red); color: var(--navy); font-weight: 600; padding: .7em 1em; border-radius: 8px; }

/* Clickable pricing cards on the Beginner page (2026-11-25) */
.pricing a.pcard { text-decoration: none; color: inherit; cursor: pointer; }
.pricing a.pcard:hover { box-shadow: 0 4px 14px rgba(29, 53, 87, .18); }
