:root {
  --paper: #f7f2e8;
  --paper-2: #ede5d5;
  --ink: #182119;
  --muted: #66705e;
  --forest: #24422d;
  --forest-2: #315b3d;
  --leaf: #7d9b4f;
  --amber: #c77b38;
  --blue: #406b7c;
  --cream: #fffaf0;
  --line: rgba(24, 33, 25, .14);
  --shadow: 0 20px 50px -35px rgba(24, 33, 25, .45);
  --radius: 8px;
  --max: 1180px;
  font-family: "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
#app:focus { outline: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 44px);
  background: rgba(247, 242, 232, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  flex: 0 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  height: 68px;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: var(--forest);
}

.lab-header-link {
  position: relative;
  isolation: isolate;
  width: 168px;
  height: 68px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(154, 189, 112, .38);
  border-radius: var(--radius);
  color: var(--cream);
  background:
    radial-gradient(circle at 50% -18%, rgba(154, 189, 112, .48), transparent 66%),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(220, 235, 210, .055) 7px 8px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(168, 200, 138, .055) 11px 12px),
    linear-gradient(135deg, #173d2c 0%, #0c2d22 52%, #061b15 100%);
  box-shadow: 0 10px 25px -17px rgba(6, 27, 21, .88);
  transition: transform 180ms cubic-bezier(.2, 0, 0, 1), border-color 180ms ease, box-shadow 180ms ease;
}

.lab-header-link::before {
  content: "01 10 0  1001 01  0 1 10  01 10 0\A 1001 01  01 10 0  1001 01  0 1\A 0 1 10  01 10 0  1001 01  01 10";
  position: absolute;
  z-index: -1;
  inset: 2px 3px;
  overflow: hidden;
  color: #d9ead1;
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 6px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .14em;
  white-space: pre;
  opacity: .13;
  pointer-events: none;
}

.lab-header-link::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 19px;
  background: rgba(3, 21, 16, .7);
  clip-path: polygon(0 42%, 10% 42%, 10% 20%, 22% 20%, 22% 55%, 34% 55%, 34% 8%, 45% 8%, 45% 66%, 58% 66%, 58% 30%, 70% 30%, 70% 72%, 84% 72%, 84% 24%, 93% 24%, 93% 48%, 100% 48%, 100% 100%, 0 100%);
  pointer-events: none;
}

.lab-header-link:hover,
.lab-header-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(190, 208, 180, .58);
  box-shadow: 0 13px 30px -16px rgba(6, 27, 21, .95), 0 0 18px rgba(125, 155, 79, .14);
}

.lab-header-link:focus-visible { outline: 3px solid rgba(125, 155, 79, .42); outline-offset: 3px; }
.lab-header-link__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
  line-height: 1;
  text-shadow: 0 1px 6px rgba(220, 235, 210, .24);
}
.lab-header-link__copy::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 46px;
  height: 2px;
  background: #d3833f;
  transform: translateX(-50%);
  opacity: .9;
}
.lab-header-link__copy b { display: block; white-space: nowrap; font-size: 18px; font-weight: 760; letter-spacing: .09em; }
.lab-header-link__copy small { display: block; margin-top: 6px; white-space: nowrap; color: #d2dfca; font-size: 8.4px; font-weight: 850; letter-spacing: .145em; }

.brand-lockup img {
  width: 164px;
  max-height: 56px;
  object-fit: contain;
}

.rigel-gooey {
  --rigel-cyan: #3f8499;
  --rigel-sky: #82afc5;
  --rigel-mist: #a8bfd0;
  --rigel-lilac: #d8bfd4;
  --rigel-night: #08232c;
  position: relative;
  z-index: 0;
  width: 146px;
  height: 68px;
  flex: 0 0 auto;
  isolation: isolate;
}

.rigel-link {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(63, 132, 153, .26);
  border-radius: var(--radius);
  background: #fffaf0;
  box-shadow: 0 9px 24px -18px rgba(8, 35, 44, .8);
  transform: translateZ(0);
  transition: transform 180ms cubic-bezier(.2, 0, 0, 1), box-shadow 240ms ease, border-color 180ms ease;
}

.rigel-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rigel-gooey:hover .rigel-link,
.rigel-gooey:focus-within .rigel-link,
.rigel-gooey.is-active .rigel-link {
  border-color: rgba(63, 132, 153, .62);
  box-shadow: 0 12px 30px -18px rgba(8, 35, 44, .92);
  transform: translateY(-1px) scale(1.018);
}

.rigel-link:active { transform: translateY(0) scale(.98); }

.rigel-link:focus-visible {
  outline: 3px solid rgba(63, 132, 153, .42);
  outline-offset: 3px;
}

.rigel-gooey-effect {
  position: absolute;
  z-index: 1;
  inset: -24px -34px;
  pointer-events: none;
  filter: url("#rigel-gooey-filter");
}

.rigel-gooey-effect::before {
  content: "";
  position: absolute;
  inset: 27px 31px;
  border-radius: 12px;
  background: linear-gradient(100deg, var(--rigel-cyan), var(--rigel-sky) 45%, var(--rigel-lilac));
  opacity: 0;
  transform: scale(.76);
}

.rigel-gooey.is-active .rigel-gooey-effect::before {
  animation: rigel-gel-pulse 720ms cubic-bezier(.2, 0, 0, 1) both;
}

.rigel-particle,
.rigel-point {
  position: absolute;
  display: block;
  width: var(--particle-size, 14px);
  height: var(--particle-size, 14px);
  border-radius: 50%;
  pointer-events: none;
}

.rigel-particle {
  top: calc(50% - var(--particle-size, 14px) / 2);
  left: calc(50% - var(--particle-size, 14px) / 2);
  animation: rigel-particle-flight var(--particle-time, 760ms) cubic-bezier(.2, .72, .2, 1) both;
}

.rigel-point {
  inset: 0;
  background: var(--particle-color, var(--rigel-cyan));
  animation: rigel-particle-shape var(--particle-time, 760ms) ease-in-out both;
}

@keyframes rigel-gel-pulse {
  0% { opacity: 0; transform: scale(.76); }
  24% { opacity: .72; transform: scale(1.06, .9); }
  58% { opacity: .5; transform: scale(1.015); }
  100% { opacity: 0; transform: scale(.96); }
}

@keyframes rigel-particle-flight {
  0% {
    opacity: 0;
    transform: translate(var(--start-x), var(--start-y)) rotate(0deg);
  }
  22% { opacity: 1; }
  64% {
    opacity: 1;
    transform: translate(var(--end-x), var(--end-y)) rotate(var(--particle-rotate));
  }
  100% {
    opacity: 0;
    transform: translate(var(--return-x), var(--return-y)) rotate(calc(var(--particle-rotate) * 1.15));
  }
}

@keyframes rigel-particle-shape {
  0% { opacity: 0; transform: scale(.08); }
  26% { opacity: 1; transform: scale(calc(var(--particle-scale) * .72)); }
  64% { opacity: .94; transform: scale(var(--particle-scale)); }
  100% { opacity: 0; transform: scale(.06); }
}

.rigel-filter-defs {
  position: fixed;
  left: -9999px;
  top: -9999px;
  pointer-events: none;
}

/* iPhone Safari can terminate its WebContent process when sticky blur, SVG
   filters, masked blend layers, and scroll transforms are composited together. */
.mobile-safari .site-header {
  background: #f7f2e8;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.mobile-safari .rigel-gooey-effect,
.mobile-safari .rigel-filter-defs,
.mobile-safari .border-glow-card::before,
.mobile-safari .border-glow-card::after,
.mobile-safari .border-glow-card > .edge-light {
  display: none !important;
}

.mobile-safari .border-glow-card {
  border-color: rgba(36, 66, 45, .18);
  overflow: hidden;
}

.mobile-safari .proof-stat b,
.mobile-safari .showcase-block,
.mobile-safari .video-card,
.mobile-safari .result-card {
  will-change: auto;
}

.site-nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.site-nav .store-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--forest);
}

.site-nav .store-nav-link::after {
  content: "";
  color: var(--amber);
  font-size: 12px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: var(--ink);
  content: "";
}

.menu-button span::before { transform: translateY(-7px); }
.menu-button span::after { transform: translateY(5px); }

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  padding: 120px clamp(22px, 6vw, 70px) 86px;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 24, 15, .72), rgba(14, 24, 15, .26) 58%, rgba(14, 24, 15, .1)),
    linear-gradient(0deg, rgba(14, 24, 15, .35), rgba(14, 24, 15, 0) 45%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  color: #fff;
}

.hero-content > .eyebrow,
.hero-content > h1 {
  position: relative;
  top: -18px;
}

.hero-content > p,
.hero-content > .hero-actions {
  position: relative;
  top: 14px;
}

.eyebrow {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1,
.section-title h1,
.teacher-layout h1,
.login-layout h1,
.dash-head h1 {
  margin: 12px 0 18px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.hero-actions,
.button-row,
.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.text-button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 900;
}

.button.primary {
  background: var(--amber);
  color: white;
}

.button.secondary {
  background: var(--forest);
  color: white;
}

.button.light {
  background: var(--cream);
  color: var(--forest);
}

.button.ghost-light {
  color: white;
  border: 1px solid rgba(255,255,255,.6);
}

.text-button,
.text-link {
  color: var(--forest);
  background: transparent;
  padding: 0;
  min-height: auto;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section { padding: 84px 0; }
.section.first { padding-top: 92px; }
.section.compact { padding: 38px 0; }
.section.alt { background: var(--cream); border-block: 1px solid var(--line); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

#course-pricing,
#learning-diagnosis,
#group-matching {
  scroll-margin-top: 74px;
}

.teaching-plan-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.teaching-plan-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: var(--cream);
  font-weight: 900;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.teaching-plan-jump a:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-1px);
}

.intro-grid,
.plan-grid,
.metric-grid,
.dashboard-grid,
.admin-grid,
.support-grid,
.split,
.teacher-layout,
.login-layout,
.form-layout {
  display: grid;
  gap: 24px;
}

.intro-grid { grid-template-columns: repeat(3, 1fr); }
.plan-grid { grid-template-columns: repeat(3, 1fr); }
.plan-grid.wide { grid-template-columns: repeat(3, 1fr); }
.support-grid, .split, .teacher-layout, .login-layout, .form-layout { grid-template-columns: .82fr 1.18fr; align-items: start; }
.admin-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
.dashboard-grid { grid-template-columns: repeat(2, 1fr); }
.metric-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; }

.feature,
.plan-card,
.panel,
.metric,
.notice {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature { padding: 22px; }
.feature span { color: var(--forest); font-weight: 900; }
.feature p { margin-bottom: 0; color: var(--muted); }

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section h2,
.section-title h1,
.teacher-layout h1,
.login-layout h1,
.dash-head h1 {
  color: var(--forest);
}

.section h2 {
  margin: 8px 0 0;
  max-width: 700px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
}

.home-trial-offer {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.trial-offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.trial-offer-copy h2 {
  margin-bottom: 14px;
}

.trial-offer-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.trial-offer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.trial-offer-points span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--leaf);
}

.trial-offer-action {
  padding: 12px 0 12px clamp(28px, 4vw, 52px);
  border-left: 1px solid var(--line);
}

.trial-offer-action > span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.trial-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.trial-price b {
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 48px;
  line-height: 1;
}

.trial-price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.trial-page-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
  padding: 14px 0;
  border-block: 1px solid var(--line);
}

.trial-page-price b {
  color: var(--forest);
  font-size: 34px;
  line-height: 1;
}

.trial-page-price span {
  color: var(--muted);
  font-weight: 800;
}

.plan-card { padding: 24px; }
.plan-kicker { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.plan-card h3 { margin: 8px 0 10px; font-size: 22px; }
.price { color: var(--forest); font-size: 32px; font-weight: 900; }
.price small { color: var(--muted); font-size: 14px; font-weight: 500; }
.plan-card p { color: var(--muted); }
.plan-card ul { padding: 0; list-style: none; }
.plan-card li { padding: 5px 0; color: var(--ink); }
.plan-card li::before { content: "✓"; color: var(--leaf); font-weight: 900; margin-right: 8px; }

.purpose-card {
  min-height: 190px;
  display: grid;
  align-content: start;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  margin-top: 28px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.home-proof {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .82), rgba(247, 242, 232, .96)),
    var(--paper);
}

.home-proof-strip {
  grid-template-columns: 1.25fr repeat(3, 1fr);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.home-proof-grid h2 {
  margin-top: 0;
  max-width: 640px;
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
}

.home-proof-grid p {
  color: var(--muted);
  font-size: 18px;
}

.home-bubbles {
  display: grid;
  gap: 14px;
}

.peer-band {
  position: relative;
  color: #f8f2e7;
  background: #183a2a;
  border-block: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
}

.peer-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.peer-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.peer-copy h2 {
  color: #fffaf0;
}

.peer-copy p {
  max-width: 680px;
  color: rgba(255, 250, 240, .78);
  font-size: 18px;
}

.peer-points {
  display: grid;
  margin: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.peer-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  font-weight: 800;
}

.peer-points span::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--amber);
  transform: rotate(45deg);
}

.peer-feedback {
  display: grid;
  gap: 20px;
}

.proof-stat {
  position: relative;
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(36, 66, 45, .18);
  background:
    linear-gradient(145deg, rgba(125, 155, 79, .18), rgba(255, 250, 240, .92)),
    var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.proof-stat.featured {
  background:
    linear-gradient(145deg, rgba(199, 123, 56, .18), rgba(255, 250, 240, .94)),
    var(--cream);
}

.koala-medal-mark {
  width: 52px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(92, 55, 17, .16));
}

.proof-stat b {
  color: var(--forest);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
  will-change: transform;
}

.proof-stat span {
  color: var(--ink);
  font-weight: 900;
}

.showcase-block {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  will-change: transform;
}

.showcase-block.wide { grid-row: span 2; }
.showcase-block h2 { font-size: clamp(24px, 3vw, 36px); }

.home-videos {
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.video-library {
  margin-top: 68px;
}

.video-library-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.video-library-head h2 {
  margin-bottom: 8px;
}

.video-library-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.video-category {
  padding: 36px 0 8px;
}

.video-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.video-category-head h3 {
  margin: 0;
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 26px;
}

.video-category-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.video-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf7;
  box-shadow: var(--shadow);
  will-change: transform;
}

.video-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #15241a;
}

.video-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #15241a;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

.video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 12, .02), rgba(10, 20, 12, .42));
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  border-radius: 50%;
  color: white;
  background: var(--amber);
  box-shadow: 0 12px 30px rgba(24, 33, 25, .3);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, background .25s ease;
}

.video-format {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 9px;
  border-radius: 4px;
  color: white;
  background: rgba(18, 31, 21, .82);
  font-size: 12px;
  font-weight: 900;
}

.video-poster:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.video-poster:hover .video-play {
  background: var(--forest);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-poster:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: -3px;
}

.video-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.video-card-body h3 {
  margin: 0;
  color: var(--forest);
  font-size: 19px;
  line-height: 1.42;
}

.video-card-body p {
  display: -webkit-box;
  min-height: 3.3em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-card-body .text-link {
  width: fit-content;
  margin-top: 2px;
  font-size: 14px;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.video-meta span {
  padding: 3px 8px;
  border: 1px solid rgba(64, 107, 124, .22);
  border-radius: 4px;
  color: var(--blue);
  background: rgba(64, 107, 124, .07);
  font-size: 12px;
  font-weight: 900;
}

.resource-list,
.video-list,
.testimonial-list {
  display: grid;
  gap: 14px;
}

.resource-row,
blockquote {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.resource-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.resource-row:last-child,
blockquote:last-child { border-bottom: 0; }

.resource-row p,
blockquote p {
  margin: 6px 0 0;
  color: var(--muted);
}

blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--forest);
  font-style: normal;
  font-weight: 900;
}

.quote-bubble {
  position: relative;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(36, 66, 45, .16);
  border-radius: 18px 18px 18px 4px;
  background: #fffdf7;
  box-shadow: var(--shadow);
}

.quote-bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  background: #fffdf7;
  border-left: 1px solid rgba(36, 66, 45, .16);
  border-bottom: 1px solid rgba(36, 66, 45, .16);
  transform: rotate(-45deg);
}

.quote-bubble p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}

.quote-category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.quote-bubble cite {
  display: block;
  margin-top: 10px;
  color: var(--forest);
  font-style: normal;
  font-weight: 900;
}

.bubble-list {
  gap: 20px;
}

.section-note {
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.waitlist-intro {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.waitlist-story {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 7vw, 86px);
  align-items: end;
}

.waitlist-story h1,
.waitlist-story h2 {
  margin: 8px 0 18px;
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 54px;
  line-height: 1.15;
}

.waitlist-story p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.peer-principles {
  display: grid;
  border-top: 1px solid var(--line);
}

.peer-principles > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.peer-principles b {
  color: var(--forest);
}

.peer-principles span {
  color: var(--muted);
}

.waitlist-feedback {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.result-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 24px;
  margin-top: 28px;
}

.result-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
  will-change: transform;
}

.result-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.result-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.result-card-copy {
  min-width: 0;
}

.medal-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 25;
  --color-sensitivity: 45;
  --glow-padding: 34px;
  --glow-color: hsl(42deg 88% 66% / 100%);
  --glow-color-60: hsl(42deg 88% 66% / 60%);
  --glow-color-50: hsl(42deg 88% 66% / 50%);
  --glow-color-40: hsl(42deg 88% 66% / 40%);
  --glow-color-30: hsl(42deg 88% 66% / 30%);
  --glow-color-20: hsl(42deg 88% 66% / 20%);
  --glow-color-10: hsl(42deg 88% 66% / 10%);
  position: relative;
  isolation: isolate;
  border-color: transparent;
  overflow: visible;
  touch-action: pan-y;
}

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity .25s ease-out;
}

.border-glow-card::before,
.border-glow-card::after {
  z-index: 0;
}

.border-glow-card:not(:hover):not(.glow-active):not(.sweep-active)::before,
.border-glow-card:not(:hover):not(.glow-active):not(.sweep-active)::after,
.border-glow-card:not(:hover):not(.glow-active):not(.sweep-active) > .edge-light {
  opacity: 0;
  transition: opacity .75s ease-in-out;
}

.border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--cream) 0 100%) padding-box,
    radial-gradient(at 80% 55%, #f3ca62 0, transparent 50%) border-box,
    radial-gradient(at 69% 34%, #d95f4e 0, transparent 50%) border-box,
    radial-gradient(at 8% 6%, #87a968 0, transparent 50%) border-box,
    radial-gradient(at 41% 38%, #f3ca62 0, transparent 50%) border-box,
    radial-gradient(at 86% 85%, #d95f4e 0, transparent 50%) border-box,
    radial-gradient(at 82% 18%, #87a968 0, transparent 50%) border-box,
    linear-gradient(#f3ca62 0 100%) border-box;
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    #000 90deg,
    transparent 144deg,
    transparent 216deg,
    #000 270deg
  );
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
}

.border-glow-card::after {
  border: 1px solid transparent;
  background:
    radial-gradient(at 80% 55%, rgba(243, 202, 98, .78) 0, transparent 50%) padding-box,
    radial-gradient(at 69% 34%, rgba(217, 95, 78, .58) 0, transparent 50%) padding-box,
    radial-gradient(at 8% 6%, rgba(135, 169, 104, .66) 0, transparent 50%) padding-box;
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    #000 72deg,
    transparent 130deg,
    transparent 230deg,
    #000 288deg
  );
  mix-blend-mode: soft-light;
  opacity: calc(.28 * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
}

.border-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  z-index: 1;
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    #000 9deg,
    transparent 36deg,
    transparent 324deg,
    #000 351deg
  );
  mix-blend-mode: plus-lighter;
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
}

.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 3px var(--glow-color-50),
    inset 0 0 8px var(--glow-color-30),
    inset 0 0 20px 2px var(--glow-color-20),
    inset 0 0 42px 2px var(--glow-color-10),
    0 0 2px var(--glow-color-60),
    0 0 7px var(--glow-color-40),
    0 0 18px 2px var(--glow-color-30),
    0 0 38px 3px var(--glow-color-20);
}

.border-glow-card > :not(.edge-light) {
  position: relative;
  z-index: 2;
}

.change-card {
  display: grid;
  align-content: start;
}

.koala-medal-art {
  width: 132px;
  aspect-ratio: 1;
}

.koala-medal-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(92, 55, 17, .18));
}

.result-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.result-points span {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(125, 155, 79, .14);
  color: var(--forest);
  font-weight: 900;
}

.action-paths {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.action-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-block: 1px solid var(--line);
}

.action-path {
  min-width: 0;
  min-height: 270px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 10px;
  padding: 28px;
  border-left: 1px solid var(--line);
  transition: background-color .2s ease, transform .2s ease;
}

.action-path:first-child {
  border-left: 0;
}

.action-path:hover,
.action-path:focus-visible {
  background: rgba(125, 155, 79, .1);
  transform: translateY(-3px);
}

.action-path > span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.action-path h3 {
  margin: 0;
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 25px;
}

.action-path p {
  margin: 0;
  color: var(--muted);
}

.action-path b {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.action-note {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
}

.action-note b {
  color: var(--forest);
}

.form-followup {
  margin: 24px 0;
  padding: 16px 0 16px 18px;
  border-left: 4px solid var(--amber);
}

.form-followup b {
  color: var(--forest);
}

.form-followup p {
  margin: 4px 0 8px;
  font-size: 15px;
}

.contact-intro-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .76), rgba(247, 242, 232, .98)),
    var(--paper);
}

.contact-intro-layout {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.contact-portrait {
  position: relative;
  margin: 0;
}

.contact-portrait::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(199, 123, 56, .42);
  border-radius: var(--radius);
  z-index: 0;
}

.contact-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -42px rgba(24, 33, 25, .68);
}

.contact-intro-copy h1 {
  margin: 12px 0 24px;
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.05;
}

.contact-intro-copy h1 span {
  display: inline-block;
  margin-top: 10px;
  color: var(--amber);
  font-size: .52em;
}

.contact-intro-copy > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.contact-intro-copy .contact-lead {
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
}

.teaching-scope {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.teaching-scope > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
}

.teaching-scope > div + div {
  border-top: 1px solid var(--line);
}

.teaching-scope span {
  color: var(--blue);
  font-weight: 900;
}

.teaching-scope b {
  color: var(--forest);
  font-size: 19px;
}

.contact-method-section {
  background: #e8eee4;
}

.contact-method-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(36, 66, 45, .22);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.contact-method-box > div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 28px 32px;
}

.contact-method-box > div + div {
  border-left: 1px solid var(--line);
}

.contact-method-box span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.contact-method-box a,
.contact-method-box b {
  color: var(--forest);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-method-box a:hover {
  color: var(--amber);
}

.qr-contact-section {
  background: var(--cream);
}

.qr-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(36px, 8vw, 110px);
  align-items: center;
}

.qr-contact-layout p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.line-qr-figure {
  width: min(100%, 330px);
  margin: 0;
  justify-self: center;
  text-align: center;
}

.line-qr-figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.line-qr-figure figcaption {
  margin-top: 12px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
}

.qr-mobile-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
}

.qr-mobile-action span { color: var(--muted); font-size: 13px; }

.contact-reviews-section {
  background: var(--paper-2);
}

.contact-reviews-section .section-head-row p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin-top: 8px;
  padding-left: 0;
  list-style: none;
  counter-reset: contact-review;
}

.contact-review-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(24, 33, 25, .16);
  counter-increment: contact-review;
}

.contact-review-list li::before {
  content: counter(contact-review, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--amber);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 20px;
  font-weight: 900;
}

.contact-review-list p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.contact-review-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dark-band {
  color: white;
  background: var(--forest);
}

.dark-band .eyebrow { color: #f0bf75; }
.dark-band h2 { color: white; }
.dark-band p { color: rgba(255,255,255,.78); }
.social-actions { align-content: start; justify-content: end; }

.steps { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step b { color: var(--amber); }

.teacher-photo {
  background: var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
}

.teacher-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.lead { color: var(--blue); font-size: 20px; font-weight: 800; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-row span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--cream); color: var(--forest); font-weight: 800; }

.section-title { max-width: 820px; }
.section-title p { color: var(--muted); font-size: 18px; }

.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 18px; }
.faq p { color: var(--muted); margin-bottom: 0; }

.plan-positioning {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  margin-bottom: 34px;
  border-block: 1px solid var(--line);
}

.plan-positioning > div {
  padding: 28px clamp(0px, 3vw, 38px) 28px 0;
}

.plan-positioning > div + div {
  padding-right: 0;
  padding-left: clamp(0px, 3vw, 38px);
  border-left: 1px solid var(--line);
}

.plan-positioning span,
.recruiting-item > span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.plan-positioning h2 {
  margin: 4px 0 8px;
  font-size: clamp(25px, 3vw, 38px);
}

.plan-positioning p { margin: 0; color: var(--muted); }

.pricing-explorer {
  margin-top: 44px;
}

.pricing-step {
  max-width: 720px;
}

.pricing-step > span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.pricing-step h2 {
  margin: 5px 0 10px;
  font-size: 34px;
}

.pricing-step p {
  margin: 0;
  color: var(--muted);
}

.level-tabs {
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 24px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.level-tab {
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.level-tab:hover,
.level-tab:focus-visible {
  color: var(--forest);
  background: rgba(255, 250, 240, .72);
}

.level-tab.active {
  color: white;
  background: var(--forest);
  box-shadow: 0 8px 20px -14px rgba(24, 33, 25, .8);
}

.pricing-content {
  min-height: 240px;
  margin-top: 28px;
}

.pricing-prompt {
  padding: 38px 0;
  border-block: 1px solid var(--line);
}

.pricing-prompt b {
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 24px;
}

.pricing-prompt p {
  margin: 7px 0 0;
  color: var(--muted);
}

.pricing-level-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pricing-level-head span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.pricing-level-head h3 {
  margin: 2px 0 0;
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 30px;
}

.pricing-level-head p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.price-accordions details {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.price-accordions summary {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 6px;
  cursor: pointer;
  list-style: none;
}

.price-accordions summary::-webkit-details-marker { display: none; }

.price-accordions summary > span:first-child {
  display: grid;
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 25px;
  font-weight: 900;
}

.price-accordions summary > span:first-child small {
  margin-bottom: 2px;
  color: var(--blue);
  font-family: "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  font-size: 12px;
}

.price-accordions summary > b {
  color: var(--forest);
  font-size: 14px;
}

.price-accordions summary > b::after {
  content: "+";
  display: inline-block;
  width: 24px;
  margin-left: 10px;
  color: var(--amber);
  font-size: 23px;
  line-height: 1;
  text-align: center;
}

.price-accordions details[open] summary > b::after { content: "−"; }

.course-bonus-bubble {
  position: absolute;
  z-index: 8;
  top: 50%;
  right: 190px;
  width: 330px;
  display: grid;
  gap: 2px;
  padding: 15px 17px;
  border: 1px solid rgba(36, 66, 45, .22);
  border-radius: 16px 16px 4px 16px;
  color: var(--ink);
  background: #fffdf7;
  box-shadow: 0 22px 44px -24px rgba(24, 33, 25, .5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(36px, -50%) rotate(1deg);
  transition: opacity .22s ease, visibility .22s ease, transform .34s cubic-bezier(.2, .85, .25, 1.15);
}

.course-bonus-bubble::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 12px;
  width: 15px;
  height: 15px;
  border-top: 1px solid rgba(36, 66, 45, .22);
  border-right: 1px solid rgba(36, 66, 45, .22);
  background: #fffdf7;
  transform: rotate(45deg);
}

.price-accordions details:hover > summary .course-bonus-bubble,
.price-accordions details:focus-within > summary .course-bonus-bubble {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%) rotate(0);
}

.course-bonus-bubble > b {
  color: var(--amber);
  font-family: "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  font-size: 12px;
}

.course-bonus-bubble > span:not(.bonus-files) {
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 18px;
  font-weight: 900;
}

.course-bonus-bubble > small {
  color: var(--muted);
  font-family: "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  font-size: 12px;
}

.bonus-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.bonus-files i {
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--forest);
  background: rgba(125, 155, 79, .14);
  font-family: "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.price-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 8px 0 22px;
}

.price-package {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.package-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--forest);
  font-weight: 900;
}

.package-heading em {
  padding: 3px 8px;
  border-radius: 4px;
  color: white;
  background: var(--amber);
  font-size: 11px;
  font-style: normal;
}

.unit-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 18px;
}

.unit-price b,
.group-price-list b {
  color: var(--forest);
  font-size: 32px;
  line-height: 1;
}

.unit-price small,
.group-price-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.price-package > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.group-price-list {
  display: grid;
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.group-price-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.group-price-list > div > span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.group-price-list > div > div {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-align: right;
}

.price-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 24px;
}

.price-detail-footer p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.recruiting-section { background: var(--cream); }

.recruiting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.recruiting-item {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.recruiting-item h3 {
  margin: 7px 0 10px;
  color: var(--forest);
  font-size: 23px;
}

.recruiting-item p { color: var(--muted); }
.recruiting-item dl { margin: 18px 0 0; border-top: 1px solid var(--line); }
.recruiting-item dl > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.recruiting-item dt { color: var(--muted); font-size: 13px; font-weight: 900; }
.recruiting-item dd { margin: 0; color: var(--forest); font-weight: 800; overflow-wrap: anywhere; }

.policy-sections {
  max-width: 920px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.policy-sections section {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.policy-sections h2 { margin: 0; font-size: 22px; }
.policy-sections p { margin: 0; color: var(--muted); }

.form-layout { grid-template-columns: 360px 1fr; }
.form-frame {
  min-height: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}
.form-frame iframe { width: 100%; min-height: 760px; border: 0; }

.login-layout { max-width: 900px; }
.panel { padding: 24px; }
.panel h2 { margin-top: 0; font-size: 24px; }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--forest); font-weight: 900; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}
textarea { min-height: 110px; resize: vertical; }
.form-grid.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.dashboard { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.dash-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.dash-head h1 { font-size: clamp(34px, 4.5vw, 58px); }
.dash-head p { color: var(--muted); margin: 0; }
.metric { padding: 18px; }
.metric span { color: var(--muted); font-weight: 900; }
.metric b { display: block; color: var(--forest); font-size: 38px; line-height: 1.1; }

.data-row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.data-row:last-child { border-bottom: 0; }
.data-row span, .data-row small { color: var(--muted); }
.empty { color: var(--muted); padding: 16px 0; }
.mini-list { max-height: 320px; overflow: auto; margin-top: 18px; }

.quick-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quick-editor-grid form {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 242, 232, .62);
}

.quick-editor-grid h3,
.content-list-group h3 {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 18px;
}

.weekday-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 242, 232, .62);
}

.weekday-picker legend {
  padding: 0 6px;
  color: var(--forest);
  font-weight: 900;
}

.weekday-picker label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.weekday-picker input {
  width: auto;
}

.content-list-group {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.content-list-group:last-child { border-bottom: 0; }

.notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.notice.warn { background: #fff5df; color: #7a4b15; }
.notice.success { background: #edf7e6; color: #315b3d; }

.schedule-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.schedule-hero h1 {
  margin: 0 0 12px;
  color: var(--forest);
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
}

.schedule-hero p { max-width: 650px; color: var(--muted); font-size: 18px; }

.schedule-key {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.key {
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}

.key.available { background: #dceccb; color: var(--forest); }
.key.closed { background: #dedbd2; color: #6c6a62; }

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 24px;
  align-items: start;
}

.calendar-panel { overflow: hidden; }

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.calendar-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  text-align: center;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays span {
  padding: 0 8px 8px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  min-height: 118px;
  padding: 10px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 250, 240, .72);
}

.calendar-day:nth-child(7n) { border-right: 1px solid var(--line); }
.calendar-day:nth-last-child(-n+7) { border-bottom: 1px solid var(--line); }
.calendar-day.muted-day { background: rgba(237, 229, 213, .45); color: var(--muted); }
.calendar-day b { display: block; margin-bottom: 8px; }

.slot-list {
  display: grid;
  gap: 6px;
}

.slot-chip {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

button.slot-chip { width: 100%; cursor: pointer; }
.slot-chip.available { background: #dceccb; border-color: rgba(49, 91, 61, .18); }
.slot-chip.available.locked { color: #5f7657; }
.slot-chip.closed { background: #dedbd2; color: #6c6a62; }
.slot-chip.selected { background: var(--forest); color: white; }

.schedule-side {
  position: sticky;
  top: 96px;
}

.schedule-gate {
  display: grid;
  gap: 14px;
}

.schedule-gate h2,
.schedule-request-form h2 {
  margin: 0;
  font-size: 24px;
}

.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-list span {
  border-radius: 999px;
  padding: 6px 10px;
  background: #dceccb;
  color: var(--forest);
  font-weight: 900;
}

.manage-row .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px clamp(22px, 6vw, 70px);
  color: white;
  background: #162417;
}
.site-footer p { max-width: 520px; margin-bottom: 0; color: rgba(255,255,255,.72); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-content: start; font-weight: 900; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: var(--radius);
  color: white;
  background: var(--forest);
  box-shadow: var(--shadow);
}
.toast.warn { background: #9a3f37; }

.consent-banner {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  width: min(620px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  color: white;
  background: #162417;
  box-shadow: 0 24px 70px -24px rgba(0, 0, 0, .7);
}

.consent-banner[hidden] { display: none; }
.consent-banner b { display: block; margin-bottom: 3px; }
.consent-banner p { margin: 0; color: rgba(255, 255, 255, .76); font-size: 13px; line-height: 1.55; }
.consent-banner p a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .button { min-height: 40px; padding: 9px 13px; white-space: nowrap; }
.consent-actions .button.secondary { color: white; border-color: rgba(255, 255, 255, .35); background: transparent; }

.loading {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--muted);
  font-weight: 900;
}

/* Learning guides */
.guides-hero { background: linear-gradient(180deg, #f4efe2 0, var(--paper) 420px); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 42px; }
.guide-topic-prompt { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; color: var(--amber-dark); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.guide-topic-prompt i { font-style: normal; animation: guide-prompt-nudge 1.8s ease-in-out infinite; }
.guide-topic-nav { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; padding-block: 8px; }
.guide-topic-nav::before { content: ""; position: absolute; z-index: 0; inset: 0 10%; border-radius: 999px; background: radial-gradient(circle at 50% 50%, rgba(201, 119, 49, .08), transparent 70%); pointer-events: none; }
.guide-topic-nav a { position: relative; z-index: 1; display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--forest); background: rgba(255, 253, 247, .94); box-shadow: 0 8px 20px rgba(39, 55, 42, .06); font-weight: 900; text-decoration: none; white-space: nowrap; opacity: 0; animation: guide-tag-arrive .55s cubic-bezier(.22, .8, .32, 1) forwards; animation-delay: calc(90ms + var(--tag-index) * 90ms); transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.guide-topic-nav a:hover, .guide-topic-nav a:focus-visible, .guide-topic-nav a.is-current { border-color: var(--amber); color: var(--amber-dark); background: #fffaf0; box-shadow: 0 12px 28px rgba(149, 91, 39, .14); transform: translateY(-2px); }
.guide-topic-nav .guide-topic-preview { border-color: #d49b5d; color: #6b401c; background: #fae8cc; }
.guide-topic-nav .guide-topic-preview span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(201, 119, 49, .42); animation: guide-preview-pulse 2s ease-out infinite; }
@keyframes guide-tag-arrive { from { opacity: 0; transform: translateY(9px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes guide-preview-pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 119, 49, .42); } 70%, 100% { box-shadow: 0 0 0 8px rgba(201, 119, 49, 0); } }
@keyframes guide-prompt-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.guide-topic-section { width: min(1120px, calc(100vw - 40px)); margin-top: 72px; scroll-margin-top: 110px; }
.guide-preview-section { margin-top: 52px; padding: clamp(24px, 4vw, 38px); border: 1px solid #dfc49e; border-radius: 24px; background: linear-gradient(135deg, rgba(251, 240, 221, .8), rgba(255, 253, 247, .92)); }
.guide-topic-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.guide-topic-heading { max-width: 760px; }
.guide-topic-heading h2, .guide-course-path h2 { margin: 5px 0 10px; color: var(--forest); font-size: clamp(28px, 4vw, 44px); }
.guide-topic-heading > p:last-child, .guide-course-path > p { color: var(--muted); line-height: 1.8; }
.guide-topic-section .guide-grid { margin-top: 28px; }
.guide-section-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 9px; min-height: 44px; padding: 10px 15px; border: 1px solid #9aa99a; border-radius: 999px; color: var(--forest); background: transparent; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.guide-section-toggle:hover, .guide-section-toggle:focus-visible { border-color: var(--forest); background: #edf3ec; transform: translateY(-1px); }
.guide-section-toggle i { font-style: normal; font-size: 17px; line-height: 1; }
.guide-card[hidden] { display: none; }
.guide-course-path { width: min(880px, calc(100vw - 40px)); margin-top: 76px; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 18px 50px rgba(39, 55, 42, .08); }
.guide-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 18px 50px rgba(39, 55, 42, .08); }
.guide-card-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #183c2b; }
.guide-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.guide-card:hover .guide-card-image img { transform: scale(1.035); }
.guide-card-image > span { position: absolute; right: 12px; bottom: 12px; padding: 6px 9px; border-radius: 999px; background: rgba(20, 34, 25, .86); color: white; font-size: 12px; font-weight: 800; }
.guide-card-copy { padding: 24px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 13px; color: var(--muted); font-size: 13px; font-weight: 800; }
.guide-meta span { padding: 5px 9px; border-radius: 999px; background: #e5efe4; color: var(--forest); }
.guide-meta i { font-style: normal; }
.guide-meta i + i::before { content: "·"; margin-right: 8px; }
.guide-card h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.guide-card h3 a { color: inherit; text-decoration: none; }
.guide-card-copy > p:not(.guide-meta) { min-height: 5.4em; margin: 14px 0 18px; color: var(--muted); line-height: 1.8; }
.guide-card-copy > .guide-card-notice {
  min-height: 0;
  margin: -2px 0 18px;
  padding: 10px 12px;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: #fbf4e7;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}
.guide-next-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 44px; align-items: end; }
.guide-next-step h2 { max-width: 760px; }
.guide-detail { background: var(--paper); }
.guide-detail-hero { padding: 150px 0 72px; background: linear-gradient(135deg, #e8f0e5, #f5eddd 65%, #efe4cf); }
.guide-detail-head { max-width: 980px; }
.guide-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; color: var(--muted); font-size: 14px; }
.guide-breadcrumbs a { color: inherit; }
.guide-detail-head h1 { max-width: 930px; margin: 14px 0 22px; font-size: clamp(40px, 6vw, 72px); line-height: 1.12; letter-spacing: -.035em; }
.guide-lede { max-width: 820px; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.75; }
.guide-byline { margin-top: 28px; color: var(--muted); font-size: 14px; }
.guide-byline a { color: var(--forest); font-weight: 900; }
.guide-detail-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 320px); gap: clamp(44px, 7vw, 100px); align-items: start; padding-block: 72px 110px; }
.guide-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 24px; background: #132d21; box-shadow: 0 20px 60px rgba(24, 47, 34, .17); }
.guide-video img, .guide-video iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.guide-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 21, 15, .58), transparent 58%); pointer-events: none; }
.guide-video:has(iframe)::after { display: none; }
.guide-video button { position: absolute; z-index: 1; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; min-width: max-content; padding: 13px 18px; border: 0; border-radius: 999px; background: white; color: var(--forest); font: inherit; font-weight: 900; cursor: pointer; }
.guide-video button span { display: grid; place-items: center; width: 28px; height: 28px; padding-left: 2px; border-radius: 50%; background: var(--forest); color: white; font-size: 11px; }
.guide-source-note { margin: 17px 0 54px; padding-left: 16px; border-left: 3px solid #b98b49; color: var(--muted); font-size: 14px; line-height: 1.75; }
.guide-copy-section { position: relative; padding: 0 0 52px 72px; }
.guide-copy-section + .guide-copy-section { padding-top: 4px; }
.guide-section-number { position: absolute; left: 0; top: 2px; margin: 0; color: #b98b49; font: 800 13px/1 var(--font-sans, sans-serif); letter-spacing: .15em; }
.guide-copy-section h2 { margin: 0 0 19px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.25; }
.guide-copy-section > p:not(.guide-section-number), .guide-copy-section li { color: #34443a; font-size: 18px; line-height: 1.95; }
.guide-copy-section ul { display: grid; gap: 8px; margin-top: 22px; padding: 22px 24px 22px 46px; border-radius: 16px; background: #f2f5ef; }
.guide-takeaway { margin: 8px 0 64px; padding: 28px 32px; border: 1px solid #caa86d; border-radius: 20px; background: #fbf4e7; }
.guide-takeaway span { color: #835d26; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.guide-takeaway p { margin: 10px 0 0; font-size: 21px; font-weight: 800; line-height: 1.7; }
.guide-article-cta { padding: 34px; border-radius: 24px; background: var(--forest); color: white; }
.guide-article-cta h2 { color: white; }
.guide-article-cta p { color: #f7f2e8; }
.guide-article-cta .eyebrow { color: #f2d6a8; }
.guide-article-cta .button.primary { background: var(--cream); border-color: var(--cream); color: var(--forest); }
.guide-article-cta .button.secondary { background: transparent; border: 1px solid #b9c6b7; color: white; }
.guide-article-cta .button-row { align-items: center; }
.guide-article-cta .text-link { color: white; }
.guide-related { position: sticky; top: 110px; display: grid; gap: 12px; }
.guide-related h2 { margin: 0 0 8px; }
.guide-related > a { display: grid; gap: 7px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; background: white; transition: border-color .2s ease, transform .2s ease; }
.guide-related > a:hover { border-color: #8ba18e; transform: translateY(-2px); }
.guide-related > a span { color: var(--muted); font-size: 12px; font-weight: 800; }
.guide-related > a b { line-height: 1.45; }
.guide-related .guide-atlas-link { margin-top: 10px; background: #edf3ec; }

@media (max-width: 1180px) {
  .menu-button { display: block; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    padding: 16px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-open .site-nav { display: flex; }
  .hero { min-height: 760px; padding-top: 160px; }
  .intro-grid,
  .plan-grid,
  .plan-grid.wide,
  .home-proof-strip,
  .home-proof-grid,
  .peer-layout,
  .waitlist-story,
  .action-path-grid,
  .result-story-grid,
  .showcase-grid,
  .quick-editor-grid,
  .support-grid,
  .split,
  .teacher-layout,
  .plan-positioning,
  .recruiting-grid,
  .contact-intro-layout,
  .qr-contact-layout,
  .login-layout,
  .form-layout,
  .schedule-layout,
  .admin-grid,
  .dashboard-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-related { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-related > .eyebrow, .guide-related > h2 { grid-column: 1 / -1; }
  .plan-positioning > div,
  .plan-positioning > div + div { padding: 24px 0; border-left: 0; }
  .plan-positioning > div + div { border-top: 1px solid var(--line); }
  .action-path {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .action-path:first-child { border-top: 0; }
  .schedule-side { position: static; }
  .calendar-day { min-height: 104px; padding: 8px; }
  .contact-portrait { width: min(100%, 560px); }
  .qr-contact-layout { grid-template-columns: 1fr; }
  .medal-card { grid-template-columns: 112px minmax(0, 1fr); }
  .koala-medal-art { width: 112px; }
  .social-actions { justify-content: start; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trial-offer-layout { grid-template-columns: 1fr; }
  .trial-offer-action { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .price-accordions summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .course-bonus-bubble { display: none; }
  .price-accordions details[open] > summary .course-bonus-bubble {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .course-bonus-bubble::after { display: none; }
}

@media (max-width: 640px) {
  .site-header { min-height: 66px; padding-inline: 14px; gap: 10px; }
  .brand-cluster { gap: 7px; }
  .brand-lockup { width: 88px; height: 52px; padding: 5px 7px; }
  .brand-lockup img { width: 100%; }
  .lab-header-link { width: 96px; height: 52px; padding: 6px 5px; }
  .lab-header-link::before { font-size: 4px; line-height: 1.7; letter-spacing: .08em; }
  .lab-header-link::after { height: 14px; }
  .lab-header-link__copy b { font-size: 12.5px; letter-spacing: .055em; }
  .lab-header-link__copy small { margin-top: 5px; font-size: 6.3px; letter-spacing: .07em; }
  .lab-header-link__copy::after { bottom: -6px; width: 32px; height: 1px; }
  .rigel-gooey { width: 88px; height: 52px; }
  .rigel-gooey-effect { inset: -18px -24px; }
  .rigel-gooey-effect::before { inset: 21px 22px; }
  .hero { min-height: 700px; padding: 120px 22px 58px; }
  .hero h1 { font-size: 42px; }
  .hero-content > .eyebrow, .hero-content > h1 { top: -10px; }
  .hero-content > p, .hero-content > .hero-actions { top: 8px; }
  .hero-actions, .button-row, .social-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .section { padding: 62px 0; }
  .section-head-row, .dash-head, .site-footer, .schedule-hero { flex-direction: column; align-items: start; }
  .calendar-weekdays, .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip, .home-proof-strip { grid-template-columns: 1fr; }
  .waitlist-feedback { grid-template-columns: 1fr; }
  .calendar-weekdays { display: none; }
  .calendar-day:nth-child(7n) { border-right: 0; }
  .calendar-day:nth-child(2n) { border-right: 1px solid var(--line); }
  .form-grid.two { grid-template-columns: 1fr; }
  .form-frame, .form-frame iframe { min-height: 680px; }
  .video-library-head { align-items: start; flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card-body p { min-height: 0; }
  .contact-portrait::after { inset: 12px -10px -10px 12px; }
  .contact-intro-copy h1 { font-size: 44px; }
  .teaching-scope > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-method-box { grid-template-columns: 1fr; }
  .contact-method-box > div { padding: 22px; }
  .contact-method-box > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .contact-review-list { grid-template-columns: 1fr; }
  .policy-sections section { grid-template-columns: 1fr; gap: 8px; }
  .qr-mobile-action { align-items: stretch; flex-direction: column; }
  .consent-banner { grid-template-columns: 1fr; }
  .consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-actions .button { width: 100%; }
  .result-card { min-height: 0; padding: 22px; }
  .border-glow-card { --glow-padding: 16px; }
  .medal-card { grid-template-columns: 1fr; gap: 16px; }
  .koala-medal-art { width: 132px; }
  .result-card h2 { font-size: 28px; }
  .result-card p { margin-top: 12px; font-size: 16px; }
  .result-points { margin-top: 14px; }
  .result-points span { padding: 12px 14px; }
  .action-note { flex-direction: column; gap: 2px; }
  .waitlist-story h1,
  .waitlist-story h2 { font-size: 42px; }
  .peer-principles > div { grid-template-columns: 1fr; gap: 4px; }
  .trial-offer-points { display: grid; gap: 7px; }
  .pricing-level-head { align-items: start; flex-direction: column; }
  .pricing-level-head p { text-align: left; }
  .price-package-grid { grid-template-columns: 1fr; }
  .price-detail-footer { align-items: start; flex-direction: column; }
  .level-tab { padding-inline: 8px; }
  .guide-topic-prompt { justify-content: flex-start; margin-top: 25px; }
  .guide-topic-nav { width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 8px 20px 13px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .guide-topic-nav::-webkit-scrollbar { display: none; }
  .guide-topic-nav::before { inset-inline: 20px; }
  .guide-topic-heading-row { align-items: stretch; flex-direction: column; gap: 15px; }
  .guide-section-toggle { align-self: flex-start; }
  .guide-preview-section { width: min(1120px, calc(100vw - 24px)); }
  .guide-grid, .guide-related { grid-template-columns: 1fr; }
  .guide-card-copy > p:not(.guide-meta) { min-height: 0; }
  .guide-next-step { grid-template-columns: 1fr; gap: 22px; }
  .guide-detail-hero { padding: 112px 0 52px; }
  .guide-detail-head h1 { font-size: 40px; }
  .guide-detail-layout { padding-block: 48px 72px; }
  .guide-copy-section { padding-left: 0; }
  .guide-section-number { position: static; margin-bottom: 10px; }
  .guide-video button { bottom: 18px; padding: 10px 14px; font-size: 14px; }
  .guide-article-cta { padding: 25px; }
}

@media (max-width: 370px) {
  .site-header { padding-inline: 10px; gap: 7px; }
  .brand-cluster { gap: 5px; }
  .brand-lockup { width: 76px; height: 46px; padding-inline: 5px; }
  .lab-header-link { width: 82px; height: 46px; padding-inline: 5px; }
  .lab-header-link__copy b { font-size: 10px; }
  .lab-header-link__copy small { margin-top: 4px; font-size: 5.2px; letter-spacing: .045em; }
  .lab-header-link__copy::after { bottom: -5px; width: 27px; }
  .rigel-gooey { width: 76px; height: 46px; }
  .menu-button { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .guide-topic-prompt i,
  .guide-topic-nav a,
  .guide-topic-nav .guide-topic-preview span::before { animation: none; opacity: 1; }
  .guide-topic-nav a:hover,
  .guide-topic-nav a:focus-visible,
  .guide-topic-nav a.is-current,
  .guide-section-toggle:hover,
  .guide-section-toggle:focus-visible { transform: none; }
  .border-glow-card::before,
  .border-glow-card::after,
  .border-glow-card > .edge-light {
    transition: none;
  }

  .rigel-link { transition: none; }
  .rigel-gooey:hover .rigel-link,
  .rigel-gooey:focus-within .rigel-link,
  .rigel-gooey.is-active .rigel-link { transform: none; }
  .rigel-gooey-effect { display: none; }
}

/* Independent reading resources share the guide collection. */
.guide-card-document .guide-card-image { background: #f2eee3; }
.guide-card-document .guide-card-image img { object-fit: cover; padding: 0; }
.guide-format { display: block; color: var(--forest); font-size: 12px; font-weight: 800; margin-bottom: 12px; letter-spacing: .08em; }

/* Boundless interactive learning entrances */
.interactive-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.interactive-entry{display:flex;flex-direction:column;gap:12px;padding:32px;border:1px solid #fff;border-radius:24px;box-shadow:0 12px 35px #204c3910;text-decoration:none;color:#243e37;backdrop-filter:blur(18px);background:linear-gradient(140deg,#ffffffad,#d0e6a577)}.interactive-entry--lessons{background:linear-gradient(140deg,#ffffffad,#ccabd855)}.interactive-entry>span{font-size:12px;letter-spacing:.12em;color:#397d7b}.interactive-entry h3{font-size:28px;margin:0}.interactive-entry p{line-height:1.9;margin:0}.interactive-entry small{line-height:1.8;color:#526a60}.interactive-entry b{margin-top:auto;padding-top:14px;color:#397d7b}.interactive-entry:hover{border-color:#397d7b77}.interactive-entry:focus-visible{outline:3px solid #397d7b;outline-offset:4px}@media(max-width:700px){.interactive-entry-grid{grid-template-columns:1fr}.interactive-entry{padding:24px}}
