/* wenlueducation landing styles — M3
 *
 * Structural conventions (max-width / radii / spacing / shadow / motion
 * timing) all come from assets/css/tokens.css. This file only defines
 * layout + component visuals specific to the landing page.
 *
 * Section anatomy:
 *   <section class="wl-sec" id="…">
 *     <div class="wl-sec-inner">
 *       <header class="wl-sec-head">           ← optional eyebrow + h2
 *         <div class="wl-sec-eyebrow">…</div>
 *         <h2 class="wl-sec-title">…</h2>
 *       </header>
 *       …body…
 *     </div>
 *   </section>
 *
 * Hero (#hero) is its own beast — no .wl-sec wrapper, dedicated grid.
 */

/* ── Top nav (slim, transparent) ───────────────────────── */
.wl-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--wl-bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid color-mix(in srgb, var(--wl-border) 60%, transparent);
}
.wl-nav-inner {
  max-width: var(--wl-content-max);
  margin: 0 auto;
  padding: var(--wl-space-3) var(--wl-content-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wl-space-4);
}
.wl-brand {
  text-decoration: none;
  color: var(--wl-text);
  display: inline-flex;
  align-items: center;
  line-height: 0;            /* prevent inline gap below img */
  flex-shrink: 0;
}
/* Each variant declares its own display — no base .wl-brand-logo rule
 * that could collide via specificity. Full logo is always block until
 * the mobile breakpoint flips them. */
.wl-brand-logo--full {
  display: block;
  width: auto;
  height: 52px;
}
.wl-brand-logo--mark {
  display: none;
  width: auto;
  height: 32px;
}

/* ── Right-side nav: anchor links + CTA ─────────────────── */
.wl-nav-links {
  display: inline-flex;
  align-items: center;
  gap: var(--wl-space-6);
}
.wl-nav-link {
  font-family: var(--wl-font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--wl-text);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--wl-dur-hover) ease;
}
.wl-nav-link:hover { color: var(--wl-primary); }

.wl-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--wl-space-2);
  background: var(--wl-primary);
  color: #fff;
  text-decoration: none;
  font-family: var(--wl-font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--wl-radius-pill);
  white-space: nowrap;
  transition: background var(--wl-dur-hover) ease;
}
.wl-nav-cta:hover {
  background: var(--wl-primary-hover);
  color: #fff;
}

/* ── Hamburger toggle (pure CSS, hidden ≥768px) ─────────── */
/* The checkbox is the state holder. Label is the visible button.
 * Sibling selector `:checked ~ .wl-nav-links` opens the menu on mobile.
 * Tiny inline script in index.html closes it after a link click. */
.wl-nav-toggle {
  display: none;             /* always — state-only checkbox */
}
.wl-hamburger {
  display: none;             /* shown only at <768px */
  width: 36px;
  height: 36px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.wl-hamburger span {
  position: absolute;
  left: 7px; right: 7px;
  height: 2px;
  background: var(--wl-text);
  border-radius: 2px;
  transition: transform 0.22s ease, top 0.22s ease, opacity 0.18s ease;
}
.wl-hamburger span:nth-child(1) { top: 11px; }
.wl-hamburger span:nth-child(2) { top: 17px; }
.wl-hamburger span:nth-child(3) { top: 23px; }
/* X state when toggled on */
.wl-nav-toggle:checked ~ .wl-hamburger span:nth-child(1) {
  top: 17px; transform: rotate(45deg);
}
.wl-nav-toggle:checked ~ .wl-hamburger span:nth-child(2) { opacity: 0; }
.wl-nav-toggle:checked ~ .wl-hamburger span:nth-child(3) {
  top: 17px; transform: rotate(-45deg);
}

/* ── Mobile (<768px) — switch logo, show hamburger, drop-menu ── */
@media (max-width: 768px) {
  .wl-brand-logo--full { display: none; }
  .wl-brand-logo--mark { display: block; }

  .wl-hamburger { display: block; }

  /* Links collapse into an absolutely-positioned dropdown below the nav.
   * Uses the .wl-nav as the positioning context (sticky establishes one).
   * Hidden via translateY + opacity for a tiny slide-down on open. */
  .wl-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wl-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--wl-space-2) 0 var(--wl-space-3);
    border-bottom: 1px solid var(--wl-border);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.18s ease;
  }
  .wl-nav-toggle:checked ~ .wl-nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .wl-nav-link {
    padding: var(--wl-space-3) var(--wl-content-pad);
    font-size: 16px;
    border-bottom: 1px solid var(--wl-border);
  }
  .wl-nav-link:last-of-type { border-bottom: 0; }
  .wl-nav-cta {
    margin: var(--wl-space-3) var(--wl-content-pad) 0;
    padding: 12px 22px;
    font-size: 15px;
    justify-content: center;
  }
}

/* ── Hero ──────────────────────────────────────────────── */
.wl-hero {
  max-width: var(--wl-content-max);
  margin: 0 auto;
  padding: var(--wl-space-16) var(--wl-content-pad) var(--wl-space-12);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--wl-space-12);
  align-items: center;
}
.wl-hero-text { min-width: 0; }
/* M19.99 — hero 4 行统一 serif 中号字, 视觉层级靠 weight + 颜色微差 */
.wl-hero-headline {
  font-family: var(--wl-font-serif);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--wl-text-strong);
  margin: 0 0 var(--wl-space-3);
  letter-spacing: -0.005em;
  white-space: pre-line;
}
.wl-hero-headline-en {
  font-family: var(--wl-font-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: var(--wl-text-muted);
  letter-spacing: 0.04em;
  margin: 0 0 var(--wl-space-5);
}
.wl-hero-subline {
  font-family: var(--wl-font-serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--wl-text);
  max-width: 52ch;
  margin: 0 0 var(--wl-space-4);
  letter-spacing: -0.005em;
  white-space: pre-line;
}
.wl-hero-description {
  font-family: var(--wl-font-serif);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--wl-text);
  max-width: 56ch;
  margin: 0 0 var(--wl-space-4);
  white-space: pre-line;
}
.wl-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--wl-space-8);
  margin: 0 0 var(--wl-space-8);
  padding: var(--wl-space-5) 0;
  border-top: 1px solid var(--wl-border);
  border-bottom: 1px solid var(--wl-border);
  justify-content: start;
}
.wl-hero-stat-num {
  font-family: var(--wl-font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--wl-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.wl-hero-stat-label {
  font-family: var(--wl-font-sans);
  font-size: 12px;
  color: var(--wl-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--wl-space-1);
}
.wl-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--wl-space-5);
  flex-wrap: wrap;
}
.wl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--wl-space-2);
  background: var(--wl-primary);
  color: #fff;
  text-decoration: none;
  font-family: var(--wl-font-sans);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--wl-radius-pill);
  transition: background var(--wl-dur-hover) ease;
}
.wl-btn-primary:hover {
  background: var(--wl-primary-hover);
  color: #fff;
}
.wl-btn-ghost {
  font-family: var(--wl-font-sans);
  font-size: 14px;
  color: var(--wl-text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color var(--wl-dur-hover) ease;
}
.wl-btn-ghost:hover { color: var(--wl-primary); }

.wl-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wl-hero-visual svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  overflow: visible;
}

@media (max-width: 880px) {
  .wl-hero {
    grid-template-columns: 1fr;
    padding: var(--wl-space-12) var(--wl-content-pad) var(--wl-space-8);
    gap: var(--wl-space-8);
  }
  .wl-hero-visual { order: 2; max-width: 320px; margin: 0 auto; }
}

/* ── Generic section wrapper ───────────────────────────── */
.wl-sec {
  padding: var(--wl-space-16) 0;
}
.wl-sec:nth-of-type(even) {
  background: color-mix(in srgb, var(--wl-primary-light) 25%, var(--wl-bg));
}
.wl-sec-inner {
  max-width: var(--wl-content-max);
  margin: 0 auto;
  padding: 0 var(--wl-content-pad);
}
.wl-sec-head {
  margin-bottom: var(--wl-space-8);
}
.wl-sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--wl-space-2);
  font-family: var(--wl-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--wl-primary);
  text-transform: uppercase;
  margin-bottom: var(--wl-space-2);
}
.wl-sec-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--wl-primary);
}
.wl-sec-title {
  font-family: var(--wl-font-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--wl-text);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.005em;
}
.wl-sec-lede {
  font-family: var(--wl-font-sans);
  font-size: 15px;
  color: var(--wl-text-muted);
  line-height: 1.65;
  max-width: 60ch;
  margin: var(--wl-space-3) 0 0;
}

/* ── #stats — data wall ────────────────────────────────── */
.wl-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wl-space-8) var(--wl-space-6);
}
.wl-stat-cell {
  padding: var(--wl-space-3) 0;
}
.wl-stat-num {
  font-family: var(--wl-font-serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--wl-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.wl-stat-num-suffix {
  font-family: var(--wl-font-sans);
  font-size: 0.45em;
  font-weight: 600;
  color: var(--wl-text-muted);
  margin-left: 0.15em;
  vertical-align: 0.4em;
  letter-spacing: 0.04em;
}
.wl-stat-label {
  font-family: var(--wl-font-sans);
  font-size: 14px;
  color: var(--wl-text);
  margin-top: var(--wl-space-2);
}
.wl-stat-sub {
  font-family: var(--wl-font-mono);
  font-size: 11px;
  color: var(--wl-text-muted);
  margin-top: var(--wl-space-1);
  letter-spacing: 0.04em;
}
.wl-stats-loading {
  font-family: var(--wl-font-mono);
  font-size: 13px;
  color: var(--wl-text-muted);
  padding: var(--wl-space-8) 0;
  text-align: center;
}
@media (max-width: 760px) {
  .wl-stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--wl-space-6); }
}
@media (max-width: 460px) {
  .wl-stats-grid { grid-template-columns: 1fr; }
}

/* ── #differentiators — 3 cards ────────────────────────── */
.wl-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wl-space-6);
}
.wl-diff-card {
  background: var(--wl-card);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-radius-lg);
  padding: var(--wl-space-6);
  box-shadow: var(--wl-shadow-card);
  transition: transform var(--wl-dur-hover) ease, box-shadow var(--wl-dur-hover) ease;
}
.wl-diff-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}
.wl-diff-num {
  font-family: var(--wl-font-mono);
  font-size: 12px;
  color: var(--wl-primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: var(--wl-space-3);
}
.wl-diff-title {
  font-family: var(--wl-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--wl-text);
  margin: 0 0 var(--wl-space-3);
  line-height: 1.3;
}
.wl-diff-body {
  font-family: var(--wl-font-sans);
  font-size: 14px;
  color: var(--wl-text);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 880px) {
  .wl-diff-grid { grid-template-columns: 1fr; gap: var(--wl-space-5); }
}

/* ── #services — primary + secondary ───────────────────── */
.wl-services {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--wl-space-8);
  align-items: stretch;
}
.wl-svc-primary,
.wl-svc-secondary {
  background: var(--wl-card);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-radius-lg);
  padding: var(--wl-space-8);
  box-shadow: var(--wl-shadow-card);
  display: flex;
  flex-direction: column;
}
.wl-svc-primary {
  border-left: 3px solid var(--wl-primary);
}
.wl-svc-secondary {
  background: color-mix(in srgb, var(--wl-bg) 50%, var(--wl-card));
}
.wl-svc-titles {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--wl-space-3);
  margin-bottom: var(--wl-space-4);
}
.wl-svc-title-cn {
  font-family: var(--wl-font-serif);
  font-weight: 700;
  margin: 0;
  color: var(--wl-text);
  line-height: 1.25;
}
.wl-svc-primary .wl-svc-title-cn { font-size: 26px; }
.wl-svc-secondary .wl-svc-title-cn { font-size: 20px; color: var(--wl-text-muted); }
.wl-svc-title-en {
  font-family: var(--wl-font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--wl-text-muted);
  letter-spacing: 0.03em;
}
.wl-svc-primary .wl-svc-title-en { font-size: 14px; }
.wl-svc-secondary .wl-svc-title-en { font-size: 12px; }
.wl-svc-body {
  font-family: var(--wl-font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--wl-text);
  margin: 0 0 var(--wl-space-5);
  flex: 1;
}
.wl-svc-secondary .wl-svc-body { font-size: 14px; color: var(--wl-text-muted); }
.wl-svc-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wl-space-2);
  margin-top: auto;
}
.wl-svc-chip {
  font-family: var(--wl-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--wl-primary-hover);
  background: var(--wl-primary-light);
  padding: 4px 12px;
  border-radius: var(--wl-radius-pill);
  letter-spacing: 0.02em;
}
@media (max-width: 880px) {
  .wl-services { grid-template-columns: 1fr; gap: var(--wl-space-5); }
  .wl-svc-primary,
  .wl-svc-secondary { padding: var(--wl-space-6); }
}

/* ── #posts — content grid ─────────────────────────────── */
.wl-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wl-space-6);
}
.wl-post-card {
  background: var(--wl-card);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--wl-dur-hover) ease, box-shadow var(--wl-dur-hover) ease;
  text-decoration: none;
  color: inherit;
}
.wl-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.wl-post-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--wl-primary-light);
  overflow: hidden;
}
.wl-post-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wl-post-body {
  padding: var(--wl-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-2);
  flex: 1;
}
.wl-post-meta {
  display: flex;
  align-items: center;
  gap: var(--wl-space-3);
  font-family: var(--wl-font-mono);
  font-size: 11px;
  color: var(--wl-text-muted);
  letter-spacing: 0.04em;
}
.wl-post-tag {
  background: var(--wl-primary-light);
  color: var(--wl-primary-hover);
  padding: 2px 8px;
  border-radius: var(--wl-radius-sm);
  font-weight: 600;
}
.wl-post-tag.ielts {
  background: var(--wl-mint);
  color: var(--wl-mint-dark);
}
.wl-post-title {
  font-family: var(--wl-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--wl-text);
  line-height: 1.35;
  margin: 0;
}
.wl-post-summary {
  font-family: var(--wl-font-sans);
  font-size: 14px;
  color: var(--wl-text-muted);
  line-height: 1.6;
  margin: 0;
}
.wl-posts-empty {
  text-align: center;
  padding: var(--wl-space-16) var(--wl-space-6);
  background: var(--wl-card);
  border: 1px dashed var(--wl-border-strong);
  border-radius: var(--wl-radius-lg);
  color: var(--wl-text-muted);
}
.wl-posts-empty-title {
  font-family: var(--wl-font-serif);
  font-size: 22px;
  color: var(--wl-text);
  margin: 0 0 var(--wl-space-2);
}
.wl-posts-empty-body {
  font-family: var(--wl-font-sans);
  font-size: 14px;
  margin: 0;
}
@media (max-width: 880px) {
  .wl-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wl-posts-grid { grid-template-columns: 1fr; }
}

/* ── #contact ──────────────────────────────────────────── */
.wl-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--wl-space-8);
  align-items: start;
}
.wl-contact-cta {
  background: var(--wl-primary);
  color: #fff;
  padding: var(--wl-space-8);
  border-radius: var(--wl-radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-4);
}
.wl-contact-cta-title {
  font-family: var(--wl-font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.wl-contact-cta-body {
  font-family: var(--wl-font-sans);
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.92;
  margin: 0;
}
.wl-contact-cta-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--wl-space-2);
  background: #fff;
  color: var(--wl-primary-hover);
  text-decoration: none;
  font-family: var(--wl-font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--wl-radius-pill);
  transition: background var(--wl-dur-hover) ease, color var(--wl-dur-hover) ease;
  margin-top: var(--wl-space-3);
}
.wl-contact-cta-btn:hover {
  background: var(--wl-primary-light);
  color: var(--wl-primary-hover);
}

.wl-contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-5);
}

/* M4: lead form replaces the right contact column */
/* M19.114 — 老蓝色 CTA box 删除, contact 旁柱直接在 section 普通底色上.
   重写颜色: 文字用 --wl-text token (不再用硬编 #fff). */
.wl-contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-4);
  align-items: center;
}
.wl-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-2);
  margin-top: var(--wl-space-2);
  padding-top: var(--wl-space-4);
  border-top: 1px solid var(--wl-border);
  width: 100%;
  text-align: center;
}
.wl-contact-info .wl-contact-label { color: var(--wl-text-muted); }
.wl-contact-info .wl-contact-value,
.wl-contact-info .wl-contact-value a { color: var(--wl-text); }
.wl-contact-info .wl-contact-value a { border-bottom: 1px solid var(--wl-gold); padding-bottom: 1px; text-decoration: none; }
.wl-contact-info .wl-contact-value a:hover { color: var(--wl-gold); }
/* M19.103 — 真实微信 QR + caption */
.wl-contact-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--wl-space-2);
  text-align: center;
}
.wl-contact-qr-img {
  width: 280px;   /* M19.119 — 200 → 280 加大公众号二维码 */
  height: 280px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--wl-radius-md);
  padding: 10px;
  box-shadow: var(--wl-shadow-card);
}
.wl-contact-qr-cap {
  color: var(--wl-text-muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 260px;
}

.wl-lead-form {
  background: var(--wl-card);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-radius-lg);
  padding: var(--wl-space-6);
  box-shadow: var(--wl-shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-4);
}
.wl-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wl-space-4);
}
.wl-field {
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-1);
  min-width: 0;
}
.wl-field-full { grid-column: 1 / -1; }
.wl-field label {
  font-family: var(--wl-font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wl-text-muted);
  text-transform: uppercase;
}
.wl-field label .req { color: var(--wl-rose-dark); }
.wl-field input,
.wl-field select,
.wl-field textarea {
  font: inherit;
  font-family: var(--wl-font-sans);
  font-size: 14px;
  padding: 9px 12px;
  border: 1px solid var(--wl-border-strong);
  border-radius: var(--wl-radius-md);
  background: var(--wl-card);
  color: var(--wl-text);
  transition: border-color var(--wl-dur-hover) ease,
              box-shadow var(--wl-dur-hover) ease;
}
.wl-field input:focus,
.wl-field select:focus,
.wl-field textarea:focus {
  outline: none;
  border-color: var(--wl-primary);
  box-shadow: var(--wl-shadow-focus);
}
.wl-field textarea {
  resize: vertical;
  min-height: 72px;
  font-family: var(--wl-font-sans);
}
.wl-field-hint {
  font-size: 11px;
  color: var(--wl-text-muted);
  margin-top: 2px;
}

.wl-form-msg {
  min-height: 1em;
  font-size: 13px;
  color: var(--wl-text-muted);
}
.wl-form-msg.err {
  color: var(--wl-rose-dark);
}

.wl-form-submit {
  background: var(--wl-primary);
  color: #fff;
  font-family: var(--wl-font-sans);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 28px;
  border: 0;
  border-radius: var(--wl-radius-pill);
  cursor: pointer;
  transition: background var(--wl-dur-hover) ease;
  align-self: flex-start;
}
.wl-form-submit:hover { background: var(--wl-primary-hover); }
.wl-form-submit:disabled { background: var(--wl-text-muted); cursor: not-allowed; }

.wl-form-foot {
  font-size: 11px;
  color: var(--wl-text-muted);
  margin: 0;
  line-height: 1.5;
}

.wl-form-success {
  background: var(--wl-mint);
  border: 1px solid var(--wl-mint-dark);
  border-radius: var(--wl-radius-lg);
  padding: var(--wl-space-8);
  text-align: center;
  color: var(--wl-mint-dark);
}
.wl-form-success h3 {
  font-family: var(--wl-font-serif);
  font-size: 26px;
  margin: 0 0 var(--wl-space-3);
  color: var(--wl-mint-dark);
}
.wl-form-success p { margin: 0 0 var(--wl-space-2); font-size: 14px; }
.wl-form-success a { color: var(--wl-mint-dark); font-weight: 600; }

@media (max-width: 600px) {
  .wl-form-grid { grid-template-columns: 1fr; }
}
.wl-contact-row {
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-1);
}
.wl-contact-label {
  font-family: var(--wl-font-mono);
  font-size: 11px;
  color: var(--wl-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wl-contact-value {
  font-family: var(--wl-font-sans);
  font-size: 15px;
  color: var(--wl-text);
}
.wl-contact-value a {
  color: var(--wl-primary);
  text-decoration: none;
}
.wl-contact-value a:hover {
  color: var(--wl-primary-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wl-qr {
  width: 140px;
  height: 140px;
  border: 1px dashed var(--wl-border-strong);
  border-radius: var(--wl-radius-md);
  background: var(--wl-card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--wl-text-muted);
  font-family: var(--wl-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: var(--wl-space-2);
}
@media (max-width: 880px) {
  .wl-contact-grid { grid-template-columns: 1fr; }
}

/* ── Footer ────────────────────────────────────────────── */
.wl-footer {
  border-top: 1px solid var(--wl-border);
  padding: var(--wl-space-8) 0 var(--wl-space-6);
  margin-top: var(--wl-space-16);
}
.wl-footer-inner {
  max-width: var(--wl-content-max);
  margin: 0 auto;
  padding: 0 var(--wl-content-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--wl-space-4);
}
.wl-footer-copy {
  font-family: var(--wl-font-sans);
  font-size: 13px;
  color: var(--wl-text-muted);
  margin: 0;
}
.wl-footer-links {
  display: flex;
  gap: var(--wl-space-5);
}
.wl-footer-link {
  font-family: var(--wl-font-sans);
  font-size: 13px;
  color: var(--wl-text-muted);
  text-decoration: none;
  transition: color var(--wl-dur-hover) ease;
}
.wl-footer-link:hover {
  color: var(--wl-primary);
}
.wl-footer-version {
  display: block;
  text-align: center;
  font-family: var(--wl-font-mono);
  font-size: 10px;
  color: var(--wl-text-muted);
  opacity: 0.5;
  margin-top: var(--wl-space-3);
  letter-spacing: 0.1em;
}

/* ── Fallback minimal hero (rendered if /api/site fetch fails) ─ */
.wl-hero-fallback {
  text-align: center;
  padding: var(--wl-space-16) var(--wl-content-pad);
}
.wl-hero-fallback h1 {
  font-family: var(--wl-font-serif);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--wl-primary);
}
.wl-hero-fallback p {
  font-family: var(--wl-font-sans);
  color: var(--wl-text-muted);
  margin-top: var(--wl-space-3);
}

/* ============================================================
 *  M11 — Dark mode targeted overrides for hardcoded landing values
 * ============================================================ */
html.theme-dark .wl-pricing-card { background: var(--wl-card); }
/* Footer section already on dark navy — looks ok in both themes */
html.theme-dark .wl-footer { background: var(--wl-primary-deep); color: var(--wl-text-strong); }
html.theme-dark .wl-footer a { color: var(--wl-text-muted); }
html.theme-dark .wl-footer a:hover { color: var(--wl-text); }
/* Hero stays gradient but landing-m8 handles the actual hero — see that file */


/* ═══════════════════════════════════════════════════════════════
   M19.105 — 申请分享 (stories) + 学生评价 (reviews) 真实战绩两板
   ═══════════════════════════════════════════════════════════════ */
.wl-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--wl-space-4);
  margin-top: var(--wl-space-6);
}
.wl-story-card {
  background: var(--wl-card);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-radius-lg);
  padding: var(--wl-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-2);
  box-shadow: var(--wl-shadow-card);
  transition: transform var(--wl-dur-hover) var(--wl-ease-out),
              box-shadow var(--wl-dur-hover) var(--wl-ease-out);
}
.wl-story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--wl-shadow-card-hover);
}
.wl-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.wl-story-tag {
  background: var(--wl-primary-light);
  color: var(--wl-primary);
  padding: 3px 10px;
  border-radius: var(--wl-radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.wl-story-title {
  font-family: var(--wl-font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--wl-text-strong);
  margin: 0;
}
.wl-story-summary {
  font-size: 14px;
  color: var(--wl-text-muted);
  line-height: 1.65;
  margin: 0;
}
.wl-reviews-wall {
  margin-top: var(--wl-space-6);
  column-count: 3;
  column-gap: var(--wl-space-4);
}
.wl-review-card {
  break-inside: avoid;
  background: var(--wl-card);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-radius-lg);
  padding: var(--wl-space-4) var(--wl-space-5);
  margin: 0 0 var(--wl-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--wl-space-2);
  box-shadow: var(--wl-shadow-card);
}
.wl-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wl-review-tag {
  background: var(--wl-gold-light);
  color: var(--wl-text-strong);
  padding: 3px 9px;
  border-radius: var(--wl-radius-pill);
  font-size: 11.5px;
  font-weight: 600;
}
.wl-review-tag.wl-review-tag-dest {
  background: var(--wl-primary-light);
  color: var(--wl-primary);
}
.wl-review-quote {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--wl-text);
  margin: 0;
  font-style: normal;
  border-left: 3px solid var(--wl-gold);
  padding-left: var(--wl-space-3);
}
.wl-review-author {
  font-size: 12.5px;
  color: var(--wl-text-muted);
  margin-top: auto;
  padding-top: 4px;
}
@media (max-width: 1024px) {
  .wl-reviews-wall { column-count: 2; }
}
@media (max-width: 720px) {
  .wl-reviews-wall { column-count: 1; }
  .wl-stories-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   M19.105 — 手机端适配
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  /* 地图在手机端隐藏 (没合适位置放, 而且 9 个 pin 在 320px 屏会挤成一团) */
  .wl-hero-map-wrap { display: none !important; }
  /* 录取墙保持横向滚动 (touch swipe) — 显式确认 overflow-x 不被父级裁掉 */
  #offer-wall-live { overflow: visible; }
  #offer-wall-live .wl-owl-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }
  #offer-wall-live .wl-owl-track { display: inline-flex !important; }
  #offer-wall-live .wl-owl-card {
    scroll-snap-align: start;
    width: 78vw !important;
    max-width: 320px;
    flex: 0 0 auto;
  }
  /* hero 4 行字号自适应已通过 clamp 处理, 这里只做容器边距 */
  .wl-hero { padding: var(--wl-space-5) var(--wl-space-3); }
  .wl-sec-inner { padding-left: var(--wl-space-4); padding-right: var(--wl-space-4); }
  /* contact grid 在手机端单列堆叠 */
  .wl-contact-grid { grid-template-columns: 1fr !important; gap: var(--wl-space-5); }
}

/* ═══════════════════════════════════════════════════════════════
   M19.106 — 申请分享 modal overlay + 评价卡视觉升级
   ═══════════════════════════════════════════════════════════════ */
.wl-story-overlay {
  position: fixed; inset: 0;
  background: rgba(17, 41, 63, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--wl-space-4);
  z-index: 100;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.wl-story-overlay.open { display: flex; }
.wl-story-modal {
  background: var(--wl-card);
  border-radius: var(--wl-radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: var(--wl-space-8) var(--wl-space-6) var(--wl-space-6);
  box-shadow: var(--wl-shadow-modal);
}
.wl-story-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: 1px solid var(--wl-border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--wl-text-muted);
  font-size: 16px;
  transition: all var(--wl-dur-hover) var(--wl-ease-out);
}
.wl-story-close:hover {
  color: var(--wl-text-strong);
  border-color: var(--wl-text-strong);
  transform: rotate(90deg);
}
.wl-story-modal-title {
  font-family: var(--wl-font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--wl-text-strong);
  margin: 0 0 var(--wl-space-4);
  padding-right: 40px;
  line-height: 1.3;
}
.wl-story-modal-body { font-size: 15px; line-height: 1.75; color: var(--wl-text); }
.wl-story-modal-body h2 {
  font-family: var(--wl-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--wl-primary);
  margin: var(--wl-space-6) 0 var(--wl-space-2);
  padding-left: var(--wl-space-2);
  border-left: 3px solid var(--wl-gold);
}
.wl-story-modal-body h2:first-child { margin-top: 0; }
.wl-story-modal-body p { margin: 0 0 var(--wl-space-3); }
.wl-story-modal-body .story-profile {
  background: var(--wl-bg);
  padding: var(--wl-space-4);
  border-radius: var(--wl-radius-md);
  margin-bottom: var(--wl-space-5);
}
.wl-story-modal-body .profile-row,
.wl-story-modal-body .profile-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}
.wl-story-modal-body .tag,
.wl-story-modal-body .offer-badge {
  display: inline-flex;
  align-items: center;
  background: var(--wl-card);
  border: 1px solid var(--wl-border);
  padding: 3px 10px;
  border-radius: var(--wl-radius-pill);
  font-size: 12px;
  color: var(--wl-text);
}
.wl-story-modal-body .tag-gpa { background: var(--wl-primary-light); color: var(--wl-primary); }
.wl-story-modal-body .tag-lang { background: var(--wl-mint); color: var(--wl-mint-dark); }
.wl-story-modal-body .offer-badge { background: var(--wl-primary-light); color: var(--wl-primary); font-weight: 600; }
.wl-story-modal-body .offer-chosen { background: var(--wl-gold-light); color: var(--wl-text-strong); }
/* story-card 视觉升级: 标题 icon + CTA 链接行 */
.wl-story-card { cursor: pointer; position: relative; }
.wl-story-card:hover .wl-story-cta { color: var(--wl-primary); }
.wl-story-title { display: flex; align-items: center; gap: 8px; }
.wl-story-title .ph { color: var(--wl-gold); font-size: 20px; flex-shrink: 0; }
.wl-story-cta {
  margin-top: auto;
  padding-top: var(--wl-space-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--wl-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--wl-dur-hover) var(--wl-ease-out);
}
/* 评价卡 — 视觉升级: quote icon + 头像首字母圈 + cap icon + 排版收紧 */
.wl-review-card { gap: var(--wl-space-3); padding: var(--wl-space-5); }
.wl-review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: -6px;
}
.wl-review-quote-icon {
  font-size: 28px;
  color: var(--wl-gold);
  opacity: 0.65;
  line-height: 1;
}
.wl-review-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wl-primary) 0%, var(--wl-primary-hover) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wl-font-serif);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.wl-review-quote {
  border-left: none;
  padding-left: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--wl-text);
  white-space: pre-line;  /* M19.117 — 长引言 \n 渲染成段落断行 */
}
.wl-review-tags { margin-top: 4px; }
.wl-review-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
}
.wl-review-tag .ph { font-size: 13px; }
.wl-review-tag.wl-review-tag-dest { background: var(--wl-mint); color: var(--wl-mint-dark); }
.wl-review-author {
  font-size: 12.5px;
  color: var(--wl-text-muted);
  font-style: italic;
  margin-top: 0;
}

/* M19.107 — 评价 dest 国旗 chip */
.wl-review-flag {
  display: inline-block;
  width: 18px;
  height: 13px;
  border-radius: 2px;
  vertical-align: middle;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  margin-right: 2px;
}

/* M19.108 — 申请分享卡右上角国旗 chip */
.wl-story-card { position: relative; }
.wl-story-flags {
  position: absolute;
  top: var(--wl-space-4);
  right: var(--wl-space-4);
  display: inline-flex;
  gap: 4px;
}
.wl-story-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(17, 41, 63, 0.2);
  display: inline-block;
}

/* M19.113 — hero 脚注: 小号灰色 + 链接金色下划线 */
.wl-hero-footnote {
  font-family: var(--wl-font-sans);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--wl-text-muted);
  max-width: 62ch;
  margin: var(--wl-space-4) 0 0;
}
.wl-hero-footnote a {
  color: var(--wl-text);
  text-decoration: none;
  border-bottom: 1px solid var(--wl-gold);
  padding-bottom: 1px;
  transition: color var(--wl-dur-hover) var(--wl-ease-out),
              border-color var(--wl-dur-hover) var(--wl-ease-out);
}
.wl-hero-footnote a:hover {
  color: var(--wl-gold);
  border-bottom-color: var(--wl-text-strong);
}

/* M19.119 — footer 顶部行: copyright + email 同行右侧 */
.wl-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wl-space-4);
  flex-wrap: wrap;
}
.wl-footer-email {
  color: var(--wl-text-muted);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid var(--wl-border);
  padding-bottom: 1px;
  transition: color var(--wl-dur-hover) ease;
}
.wl-footer-email:hover { color: var(--wl-text); }
@media (max-width: 480px) {
  .wl-footer-top { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* M19.122 — 评价 quote 里的 <strong> 加粗 + 金色微强调 */
.wl-review-quote strong {
  color: var(--wl-text-strong);
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(201, 161, 74, 0.18) 60%);
  padding: 0 1px;
}
