:root {
  color-scheme: light;
  --ink: #182522;
  --muted: #586862;
  --line: rgba(33, 61, 54, 0.13);
  --surface: #ffffff;
  --soft: #f5f1e7;
  --brand: #2d765f;
  --brand-deep: #134f40;
  --phonics-orange: #f47c20;
  --phonics-orange-deep: #9b3f0b;
  --phonics-cream: #fff3df;
  --phonics-paper: #fffdf6;
  --sky: #d7eaff;
  --sky-strong: #4d8ecf;
  --coral: var(--phonics-orange);
  --coral-soft: #fff0e8;
  --course-green: #97cf82;
  --course-cream: #fff3c7;
  --course-orange: #ff9a62;
  --course-blue: #8eb8e6;
  --course-header: #f8eadf;
  --yellow: #f5d66b;
  --page-bg: #dbe8e1;
  --panel: rgba(255, 253, 246, 0.96);
  --section-a: #fffdf6;
  --section-b: #f2faf5;
  --shadow: 0 18px 50px rgba(24, 37, 34, 0.14);
  --card-shadow: 0 12px 28px rgba(36, 59, 54, 0.08);
  --radius: 8px;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--ink);
  line-height: 1.6;
}

body::selection {
  background: rgba(242, 153, 111, 0.35);
}

a {
  color: inherit;
}

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-140%);
  background: #ffffff;
  color: var(--brand-deep);
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  min-height: min(760px, 88svh);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 238, 0.96) 0%, rgba(255, 243, 223, 0.96) 58%, rgba(242, 250, 245, 0.96) 100%);
  border-bottom: 1px solid rgba(45, 118, 95, 0.12);
}

.hero-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(20px, 5vw, 54px);
  align-items: center;
  padding: 104px clamp(18px, 5vw, 44px) 44px;
}

.hero-content {
  color: var(--ink);
}

.hero-brand-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-brand-nav a:first-child {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.hero-brand-logo {
  width: 136px;
  height: auto;
  display: block;
}

.hero-brand-tagline {
  margin-left: auto;
  width: clamp(124px, 39vw, 154px);
  height: auto;
  display: block;
  flex: 0 1 auto;
}

.eyebrow,
.section-kicker,
.book-label {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #14241f;
  font-size: 40px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: none;
}

.hero h1 + .eyebrow {
  margin-top: 12px;
  margin-bottom: 10px;
}

.oxford-series-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid rgba(24, 91, 112, 0.16);
  border-radius: var(--radius);
  background: #e7f3fb;
  box-shadow: 0 18px 38px rgba(72, 90, 138, 0.16);
}

.oxford-rays {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.88) 0 4%, rgba(255, 255, 255, 0.34) 4.5% 8%, transparent 8.5%),
    conic-gradient(
      from -90deg at 50% 55%,
      rgba(250, 251, 205, 0.92) 0deg 13.333deg,
      rgba(255, 211, 146, 0.92) 13.333deg 26.667deg,
      rgba(238, 154, 164, 0.82) 26.667deg 40deg,
      rgba(91, 125, 199, 0.88) 40deg 53.333deg,
      rgba(70, 111, 188, 0.9) 53.333deg 66.667deg,
      rgba(100, 102, 185, 0.84) 66.667deg 80deg,
      rgba(175, 92, 171, 0.84) 80deg 93.333deg,
      rgba(141, 196, 232, 0.86) 93.333deg 106.667deg,
      rgba(218, 244, 225, 0.9) 106.667deg 120deg,
      rgba(250, 251, 205, 0.88) 120deg 133.333deg,
      rgba(255, 211, 146, 0.88) 133.333deg 146.667deg,
      rgba(238, 154, 164, 0.8) 146.667deg 160deg,
      rgba(91, 125, 199, 0.84) 160deg 173.333deg,
      rgba(70, 111, 188, 0.86) 173.333deg 186.667deg,
      rgba(100, 102, 185, 0.82) 186.667deg 200deg,
      rgba(175, 92, 171, 0.8) 200deg 213.333deg,
      rgba(141, 196, 232, 0.84) 213.333deg 226.667deg,
      rgba(218, 244, 225, 0.88) 226.667deg 240deg,
      rgba(250, 251, 205, 0.84) 240deg 253.333deg,
      rgba(255, 211, 146, 0.84) 253.333deg 266.667deg,
      rgba(238, 154, 164, 0.76) 266.667deg 280deg,
      rgba(91, 125, 199, 0.8) 280deg 293.333deg,
      rgba(70, 111, 188, 0.82) 293.333deg 306.667deg,
      rgba(100, 102, 185, 0.78) 306.667deg 320deg,
      rgba(175, 92, 171, 0.76) 320deg 333.333deg,
      rgba(141, 196, 232, 0.8) 333.333deg 346.667deg,
      rgba(218, 244, 225, 0.84) 346.667deg 360deg
    );
}

.oxford-rays::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), transparent 35%),
    radial-gradient(ellipse at 50% 55%, transparent 0 28%, rgba(20, 39, 86, 0.16) 100%);
}

.oxford-series-logo,
.oxford-series-book {
  position: absolute;
  z-index: 1;
  display: block;
}

.oxford-series-logo {
  top: 8%;
  left: 50%;
  width: 64%;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 0 rgba(0, 113, 128, 0.36)) drop-shadow(0 12px 18px rgba(18, 82, 102, 0.18));
}

.oxford-series-book {
  width: 30%;
  border: 3px solid currentColor;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 7px 0 rgba(12, 36, 66, 0.14), 0 12px 18px rgba(28, 48, 88, 0.18);
}

.oxford-series-book-1 {
  top: 39%;
  left: 3%;
  color: #1f9cad;
}

.oxford-series-book-2 {
  top: 39%;
  left: 35%;
  color: #ee8200;
}

.oxford-series-book-3 {
  top: 39%;
  left: 67%;
  color: #65b75f;
}

.oxford-series-book-4 {
  top: 65%;
  left: 18%;
  color: #8655a1;
}

.oxford-series-book-5 {
  top: 65%;
  left: 52%;
  color: #e85262;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: #3f4b46;
  font-size: 18px;
  line-height: 1.68;
  overflow: visible;
}

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

.primary-action,
.text-button,
.tg-submit,
.tg-sticky a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-action {
  min-width: 138px;
  padding: 12px 20px;
  color: #13231f;
  background: var(--yellow);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 28px 0 0;
}

.hero-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.hero-metrics dt {
  font-size: 22px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hero-photo-card {
  position: relative;
  margin: 0;
  align-self: center;
  min-height: 0;
  display: block;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.hero-photo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-photo-grid-card {
  width: 100%;
  max-width: none;
  padding: 6px;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.hero-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.hero-photo-card figcaption {
  margin: 0;
  padding: 16px 18px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(to top, rgba(12, 32, 28, 0.84), rgba(12, 32, 28, 0.18));
}

.hero-classroom-band {
  background: var(--section-b);
  border-bottom: 1px solid rgba(45, 118, 95, 0.12);
}

.hero-classroom-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 20px 18px;
}

.quick-view {
  position: relative;
  background: var(--section-b);
  border-bottom: 1px solid rgba(45, 118, 95, 0.12);
}

.quick-view-inner {
  display: block;
  padding-top: 18px;
  padding-bottom: 34px;
}

.quick-view h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.quick-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 118, 95, 0.18);
  border-radius: var(--radius);
  padding: 0 14px;
  color: #153f34;
  background: rgba(255, 253, 246, 0.92);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.intro-band,
.section {
  background: var(--section-a);
}

.intro-band {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.section {
  position: relative;
  scroll-margin-top: 18px;
}

.intro-band::before,
.section::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(45, 118, 95, 0.12) 16%, rgba(244, 124, 32, 0.32) 50%, rgba(45, 118, 95, 0.12) 84%, transparent 100%);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 58px clamp(18px, 5vw, 44px);
}

.intro-band > .section-inner::before,
.section > .section-inner::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #ffb15f 0%, #f47c20 100%);
}

.intro-layout {
  display: block;
  padding-top: 58px;
  padding-bottom: 58px;
}

.intro-layout h2,
.section-head h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: 0;
}

.intro-card p,
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.intro-card p + p {
  margin-top: 12px;
}

.quick-view .section-kicker,
.intro-band .section-kicker,
.section .section-kicker,
#booking .tg-eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin: 0 0 10px;
  border: 1px solid rgba(244, 124, 32, 0.16);
  border-radius: 6px;
  padding: 5px 10px;
  color: #9b3f0b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  background: rgba(244, 124, 32, 0.12);
  text-transform: none;
}

.intro-card {
  margin-top: 34px;
  border: 1px solid rgba(244, 124, 32, 0.18);
  border-radius: var(--radius);
  padding: 24px 22px 28px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.intro-card + .intro-card {
  margin-top: 14px;
}

.intro-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 + p {
  margin-top: 12px;
}

.muted {
  background: var(--section-b);
}

.fit-list article,
.class-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.fit-list h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.fit-list p,
.class-grid p {
  margin: 0;
  color: var(--muted);
}

.book-list {
  display: grid;
  gap: 24px;
}

.text-button {
  min-width: 132px;
  padding: 12px 18px;
  color: var(--brand-deep);
  border: 1px solid rgba(47, 123, 99, 0.28);
  background: #eef8f4;
}

.book-card {
  overflow: hidden;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.book-card-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.book-card-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.18;
}

.book-card-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.course-table-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #ffffff;
  aspect-ratio: var(--table-width) / var(--table-height);
}

.course-system-table {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: calc(var(--table-width) * 1px);
  height: calc(var(--table-height) * 1px);
  border: var(--course-outer-border, 4px) solid #050505;
  border-collapse: collapse;
  table-layout: fixed;
  transform-origin: top left;
  color: #0e1110;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 26px;
  line-height: 1.08;
  background: #ffffff;
}

.course-system-table th,
.course-system-table td {
  border: var(--course-cell-border, 3px) solid #050505;
  vertical-align: middle;
}

.course-title-cell {
  height: 56px;
  padding: 0 12px;
  color: #050505;
  background: var(--course-green);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.course-system-table thead th {
  height: 33px;
  padding: 0 8px;
  background: var(--course-header);
  color: #0e1210;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  white-space: normal;
}

.course-system-table thead .course-title-cell {
  height: var(--course-title-height, 33px);
  font-size: var(--course-title-font-size, 20px);
  line-height: 1;
}

.course-system-table thead tr:nth-child(2) th {
  height: var(--course-header-height, 33px);
  font-size: var(--course-header-font-size, 20px);
}

.course-system-table thead th small {
  font-size: 18px;
  font-weight: 900;
}

.course-system-table tbody tr {
  height: var(--course-row-height);
}

.course-col-lesson {
  width: var(--course-col-lesson);
}

.course-col-unit {
  width: var(--course-col-unit);
}

.course-col-topic {
  width: var(--course-col-topic);
}

.course-col-goal {
  width: var(--course-col-goal);
}

.course-lesson-cell {
  position: relative;
  padding: 0;
  background: var(--course-cream);
  font-size: var(--course-lesson-font-size, 24px);
  font-weight: 400;
  text-align: center;
  overflow: hidden;
}

.course-lesson-stack {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.course-lesson-value {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.course-lesson-value + .course-lesson-value {
  border-top: var(--course-cell-border, 3px) solid #050505;
}

.course-unit-cell {
  padding: 0 8px;
  background: var(--course-green);
  color: #101513;
  font-size: var(--course-unit-font-size, 30px);
  font-weight: 400;
  text-align: center;
}

.course-topic-cell {
  padding: 0 8px;
  background: var(--course-orange);
  color: #171717;
  font-size: var(--course-topic-font-size, 25px);
  font-weight: 400;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.course-topic-cell strong {
  margin-right: var(--course-topic-label-margin, 10px);
  color: #111111;
  font-weight: var(--course-topic-label-weight, 400);
  text-decoration: underline;
  text-decoration-thickness: var(--course-topic-underline-thickness, 2px);
  text-underline-offset: var(--course-topic-underline-offset, 3px);
}

.course-topic-cell span {
  color: #2c201a;
  white-space: nowrap;
}

.course-topic-story {
  color: #4d2816;
  font-size: var(--course-story-font-size, 25px);
  font-weight: 400;
}

.course-topic-spacer {
  color: transparent;
}

.course-system-table .course-goal-cell {
  position: relative;
  padding: 18px 12px 16px;
  background: var(--course-blue);
  vertical-align: top;
}

.course-system-table .course-goal-cell ol {
  display: grid;
  gap: 22px;
  margin: 0;
  padding-left: 30px;
}

.course-system-table .course-goal-cell li {
  color: #1d2b45;
  font-size: var(--course-goal-font-size, 28px);
  line-height: 1.42;
  font-weight: 400;
}

.split-layout {
  display: block;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.fit-list {
  display: grid;
  gap: 12px;
}

.fit-list article {
  padding: 22px;
  border-left: 5px solid var(--coral);
}

.fit-list article:nth-child(2) {
  border-left-color: var(--brand);
}

.fit-list article:nth-child(3) {
  border-left-color: var(--sky-strong);
}

.fit-list h3 {
  margin-top: 0;
}

.class-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.class-grid article {
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 18px 22px;
  background: transparent;
  box-shadow: none;
}

.class-grid article + article {
  border-top: 1px solid rgba(244, 124, 32, 0.12);
}

.class-grid strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.class-grid p {
  margin-top: 10px;
}

.text-button:focus,
.tg-submit:focus,
.tg-lead-close:focus,
.tg-sticky a:focus,
.primary-action:focus {
  outline: 3px solid rgba(245, 214, 107, 0.72);
  outline-offset: 2px;
}

.tg-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  padding: 0 24px;
  color: #ffffff;
  background: linear-gradient(180deg, #ff8d26 0%, var(--phonics-orange) 100%);
}

.tg-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.tg-section {
  position: relative;
  background: #ffffff;
  scroll-margin-top: 18px;
}

.tg-section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 58px clamp(18px, 5vw, 44px);
}

.tg-section.tg-separated {
  padding-top: 0;
}

.tg-section.tg-separated::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(24, 37, 34, 0.14) 16%, rgba(47, 123, 99, 0.34) 50%, rgba(24, 37, 34, 0.14) 84%, transparent 100%);
}

.tg-section.tg-separated .tg-section-inner::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(47, 123, 99, 0.44);
}

.tg-band {
  background: var(--section-b);
}

#booking {
  --booking-accent: #f47c20;
  --booking-accent-deep: #9b3f0b;
  --booking-accent-soft: #fff2e6;
  --booking-accent-line: rgba(244, 124, 32, 0.28);
  background: var(--section-b);
}

#booking.tg-section.tg-separated::before {
  background: linear-gradient(90deg, transparent 0%, rgba(244, 124, 32, 0.14) 16%, rgba(244, 124, 32, 0.42) 50%, rgba(244, 124, 32, 0.14) 84%, transparent 100%);
}

#booking.tg-section.tg-separated .tg-section-inner::before {
  background: linear-gradient(90deg, #ffb15f 0%, var(--booking-accent) 100%);
}

.tg-eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

#booking .tg-eyebrow {
  color: #9b3f0b;
}

.tg-section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.tg-contact-card {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

#booking .tg-contact-card {
  border-color: var(--booking-accent-line);
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.tg-contact-card > p {
  margin: 0;
  color: rgba(24, 37, 34, 0.68);
}

.tg-contact-card dl {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.tg-contact-card dt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

#booking .tg-contact-card dt {
  color: var(--booking-accent-deep);
}

.tg-contact-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(47, 123, 99, 0.12);
  color: var(--brand-deep);
}

#booking .tg-contact-icon {
  background: rgba(244, 124, 32, 0.14);
  color: var(--booking-accent-deep);
}

.tg-contact-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tg-contact-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 15px;
  white-space: pre-line;
}

.tg-contact-card dd a {
  color: var(--brand-deep);
  font-weight: 400;
}

#booking .tg-contact-card dd a {
  color: var(--booking-accent-deep);
}

.tg-wechat-block {
  margin-top: 22px;
}

.tg-wechat-block p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

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

.tg-wechat-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

#booking .tg-wechat-card {
  border-color: rgba(244, 124, 32, 0.2);
  box-shadow: 0 10px 24px rgba(180, 84, 19, 0.08);
}

.tg-wechat-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  padding: 8px;
}

.tg-wechat-card figcaption {
  border-top: 1px solid var(--line);
  padding: 8px 4px 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

#booking .tg-wechat-card figcaption {
  border-top-color: rgba(244, 124, 32, 0.16);
  color: var(--booking-accent-deep);
  background: #fff8f1;
}

.faq-section {
  background: var(--section-a);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.faq-item > span {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff2e6;
  color: #9b3f0b;
  font-size: 12px;
  font-weight: 800;
}

.faq-item h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.faq-item p {
  margin: 8px 0 0;
  color: rgba(36, 59, 54, .68);
  font-size: 15px;
  line-height: 1.75;
}

.h5-cross-links {
  background: rgba(255, 253, 246, 0.92);
}

.h5-cross-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.h5-cross-link-grid a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 124, 32, 0.22);
  border-radius: 8px;
  padding: 9px 10px;
  color: #153f34;
  background: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.h5-cross-link-grid a:hover {
  border-color: rgba(244, 124, 32, 0.4);
  box-shadow: 0 10px 26px rgba(36, 59, 54, .08);
  transform: translateY(-2px);
}

.page-footer {
  display: grid;
  gap: 6px;
  padding: 34px 20px calc(104px + env(safe-area-inset-bottom));
  color: rgba(36, 59, 54, .58);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.page-footer p {
  margin: 0;
}

.footer-tech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28em;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .08em;
  color: rgba(36, 59, 54, .68);
}

.footer-brand img {
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
  vertical-align: -0.14em;
}

.footer-separator {
  margin: 0;
  line-height: 1;
}

.tg-lock-scroll,
.tg-lock-scroll body {
  overflow: hidden;
}

.tg-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.tg-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.tg-form input,
.tg-form select {
  width: 100%;
  height: 52px;
  min-height: 52px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tg-form select {
  padding-right: 42px;
  -webkit-appearance: none;
  appearance: none;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(24, 37, 34, 0.9) 50%),
    linear-gradient(135deg, rgba(24, 37, 34, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%;
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
}

.tg-form input:focus,
.tg-form select:focus {
  border-color: rgba(47, 123, 99, 0.7);
  box-shadow: 0 0 0 4px rgba(47, 123, 99, 0.12);
}

.tg-form p {
  margin: 0;
  color: rgba(24, 37, 34, 0.56);
  font-size: 12.5px;
  line-height: 1.7;
}

.tg-lead-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  justify-items: center;
}

.tg-lead-sheet[hidden] {
  display: none;
}

.tg-lead-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 37, 34, 0.46);
  cursor: pointer;
}

.tg-lead-sheet-panel {
  position: relative;
  width: min(100%, 430px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(24, 37, 34, 0.12);
  border-radius: 16px 16px 0 0;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  background: #fffdf8;
  box-shadow: 0 -24px 70px rgba(24, 37, 34, 0.24);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tg-lead-sheet.is-open .tg-lead-sheet-panel {
  opacity: 1;
  transform: translateY(0);
}

.tg-lead-sheet-panel h2 {
  margin: 6px 44px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.tg-lead-intro {
  margin: 10px 0 0;
  color: rgba(24, 37, 34, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.tg-lead-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.tg-toast {
  position: fixed;
  left: 50%;
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 120;
  max-width: min(360px, calc(100% - 32px));
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(24, 37, 34, 0.92);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tg-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tg-sticky {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: none;
  padding: 10px max(20px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-right));
  border-top: 1px solid rgba(24, 37, 34, 0.1);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 -12px 36px rgba(24, 37, 34, 0.08);
  backdrop-filter: blur(16px);
}

.tg-sticky a {
  min-height: 52px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, #ff8e24 0%, var(--booking-accent, #f47c20) 100%);
  box-shadow: 0 12px 30px rgba(217, 95, 22, 0.26);
  font-size: 16px;
}

@media (max-width: 900px) {
  .tg-sticky {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding: 30px 18px 28px;
  }

  .hero-photo-card {
    min-height: 0;
    order: 2;
  }

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

  .hero-copy {
    font-size: 16px;
  }

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

  .quick-view-inner,
  .intro-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .intro-layout h2,
  .quick-view h2,
  .section-head h2,
  .tg-section h2 {
    font-size: 34px;
  }

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

}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 42px;
  }

  .intro-layout h2,
  .quick-view h2,
  .section-head h2,
  .tg-section h2 {
    font-size: 30px;
  }

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

  .section-inner,
  .tg-section-inner {
    padding: 48px 16px;
  }

  .quick-view-inner,
  .intro-layout {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero-photo-card {
    min-height: 0;
  }

  .hero-copy {
    margin-top: 12px;
  }

  .hero-actions {
    margin-top: 16px;
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: none;
  }

  .quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .class-grid article {
    min-height: auto;
  }

  .book-card {
    padding: 10px;
  }

  .book-card-head h3 {
    font-size: 24px;
  }

  .page-footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 38px;
  }

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

  .quick-links {
    grid-template-columns: 1fr 1fr;
  }

}

/* H5 pages keep the mobile layout on every device, including desktop browsers. */
:root {
  --max: 430px;
}

html {
  background: var(--page-bg);
}

body {
  width: min(100%, var(--max));
  min-width: 0;
  margin: 0 auto;
  background: var(--section-a);
  box-shadow: 0 0 0 1px rgba(24, 37, 34, 0.08), 0 24px 80px rgba(24, 37, 34, 0.16);
}

.tg-sticky {
  width: min(100%, var(--max));
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.tg-sticky {
  display: grid;
}

.hero {
  min-height: auto;
}

.hero-shell {
  width: 100%;
  grid-template-columns: 1fr;
  padding: 22px 20px 14px;
}

.hero h1 {
  gap: 6px;
  font-size: 31px;
  white-space: nowrap;
}

.hero-copy {
  margin-top: 12px;
  color: #3f4b46;
  font-size: 15.5px;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.hero-metrics {
  display: none;
}

.hero-photo-card {
  min-height: 0;
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  order: 2;
}

.quick-view-inner,
.intro-layout,
.split-layout {
  grid-template-columns: 1fr;
}

.section-inner,
.tg-section-inner {
  padding: 50px 20px;
}

.quick-view-inner,
.intro-layout {
  padding-top: 44px;
  padding-bottom: 44px;
}

.intro-layout h2,
.quick-view h2,
.section-head h2,
.tg-section h2 {
  font-size: 30px;
}

.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.class-grid article {
  min-height: auto;
}

.book-card {
  padding: 10px;
}

.book-card .course-table-wrap {
  width: calc(100% + 22px);
  margin-inline: -11px;
}

.book-card-head h3 {
  font-size: 24px;
}

.page-footer {
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 31px;
  }

}

@media (max-width: 360px) {
  .hero-shell {
    padding: 18px 16px 12px;
  }

  .hero-brand-nav {
    gap: 10px;
    margin-bottom: 30px;
  }

  .hero-brand-logo {
    width: 118px;
  }

  .hero-brand-tagline {
    width: 112px;
  }

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

  .oxford-series-showcase {
    aspect-ratio: 1 / 0.96;
  }

  .hero-copy {
    font-size: 14.5px;
    line-height: 1.55;
  }
}

.section-kicker,
#booking .tg-eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin: 0 0 10px;
  border: 1px solid rgba(244, 124, 32, 0.16);
  border-radius: 6px;
  padding: 5px 10px;
  color: #9b3f0b;
  background: rgba(244, 124, 32, 0.12);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.quick-view .section-kicker {
  display: inline-flex;
  width: max-content;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--brand-deep);
  background: rgba(45, 118, 95, 0.1);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.quick-view-inner {
  padding-top: 26px;
  padding-bottom: 34px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.quick-links a {
  min-height: 36px;
  justify-content: center;
  border: 1px solid rgba(45, 118, 95, 0.18);
  border-radius: var(--radius);
  padding: 0 14px;
  color: #153f34;
  background: rgba(255, 253, 246, 0.94);
  font-size: 13px;
  font-weight: 700;
}

.quick-links a:hover {
  border-color: rgba(45, 118, 95, .36);
  background: rgba(242, 250, 245, .96);
  box-shadow: 0 10px 26px rgba(36, 59, 54, .08);
}

.hero-photo-card.hero-photo-grid-card {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
