@font-face {
  font-family: "LXGW WenKai Screen R";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/lxgw-wenkai-screen-r/lxgwwenkaiscreenr-subset-115.woff2") format("woff2");
  unicode-range: U+4E60, U+7B97;
}

@font-face {
  font-family: "LXGW WenKai Screen R";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/lxgw-wenkai-screen-r/lxgwwenkaiscreenr-subset-116.woff2") format("woff2");
  unicode-range: U+6BCF, U+8BA9;
}

@font-face {
  font-family: "LXGW WenKai Screen R";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/lxgw-wenkai-screen-r/lxgwwenkaiscreenr-subset-117.woff2") format("woff2");
  unicode-range: U+90FD;
}

@font-face {
  font-family: "LXGW WenKai Screen R";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/lxgw-wenkai-screen-r/lxgwwenkaiscreenr-subset-118.woff2") format("woff2");
  unicode-range: U+5B66, U+6570, U+6B21;
}

@font-face {
  font-family: "LXGW WenKai Screen R";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/lxgw-wenkai-screen-r/lxgwwenkaiscreenr-subset-119.woff2") format("woff2");
  unicode-range: U+4E00;
}

:root {
  --ink: #101b2d;
  --navy: #10233f;
  --navy-2: #172b4a;
  --paper: #fbf6ea;
  --paper-2: #f4ead8;
  --card: #fffdf7;
  --line: #dccfb9;
  --muted: #657184;
  --blue: #2457ff;
  --blue-dark: #1639b7;
  --orange: #ff7a1a;
  --emerald: #137d63;
  --gold: #c19642;
  --rust: #b95d3b;
  --white: #ffffff;
  --shadow: 0 22px 58px rgba(16, 27, 45, 0.13);
  --tight-shadow: 0 14px 34px rgba(16, 27, 45, 0.1);
  font-family: "Alibaba PuHuiTi", "Alibaba PuHuiTi 3.0", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 35, 63, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(16, 35, 63, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  line-height: 1.68;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(251, 246, 234, 0.9);
  border-bottom: 1px solid rgba(16, 35, 63, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 17px;
  font-weight: 950;
  color: var(--navy);
  white-space: nowrap;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.brand-slogan {
  color: rgba(24, 32, 51, 0.68);
  font-family: "LXGW WenKai Screen R", "Kaiti SC", "STKaiti", "KaiTi", cursive;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--paper);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-shadow: 5px 5px 0 var(--blue);
  font-weight: 950;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
}

nav a:hover {
  color: var(--blue-dark);
  background: rgba(36, 87, 255, 0.08);
  border-color: rgba(36, 87, 255, 0.16);
}

nav .nav-cta {
  color: var(--white);
  background: var(--orange);
  border-color: rgba(255, 122, 26, 0.4);
  box-shadow: 0 8px 18px rgba(255, 122, 26, 0.18);
}

nav .nav-cta:hover {
  color: var(--white);
  background: #e86409;
}

.section,
.hero {
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: max(24px, calc((100vw - 1180px) / 2));
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding-top: 82px;
  padding-bottom: 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 28px max(18px, calc((100vw - 1230px) / 2));
  z-index: -1;
  border: 2px solid rgba(16, 35, 63, 0.16);
  border-radius: 10px;
}

.hero::after {
  content: "KET  PET  FCE  MK  ZHONGKAO";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 22px;
  color: rgba(16, 35, 63, 0.16);
  font-size: clamp(24px, 5vw, 66px);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 760px;
  color: #435069;
  font-size: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 28px rgba(255, 122, 26, 0.22);
}

.button.primary:hover {
  background: #e86409;
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(16, 35, 63, 0.24);
}

.button.full {
  width: 100%;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 7px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 35, 63, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  margin-top: 22px;
}

.hero-proof div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 27, 45, 0.06);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-board {
  position: relative;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(36, 87, 255, 0.18);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(36, 87, 255, 0.12);
  border-radius: 7px;
  pointer-events: none;
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px double rgba(16, 35, 63, 0.16);
}

.board-top span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.board-top strong {
  color: var(--orange);
}

.board-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.board-item {
  min-height: 136px;
  padding: 18px;
  color: var(--navy);
  background: #f4f7ff;
  border-radius: 8px;
}

.board-item small {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 950;
}

.board-item b,
.board-item span {
  display: block;
}

.board-item b {
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1;
}

.board-item span {
  color: #596578;
  font-size: 13px;
}

.board-item.is-dark {
  color: var(--paper);
  background: var(--blue);
}

.board-item.is-dark span,
.board-item.is-dark small {
  color: rgba(255, 255, 255, 0.82);
}

.board-item.is-accent {
  background: #fff0df;
  border: 1px solid rgba(255, 122, 26, 0.22);
}

.board-item.is-accent small {
  color: var(--orange);
}

.board-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.board-note span {
  padding: 5px 9px;
  color: var(--blue-dark);
  background: rgba(36, 87, 255, 0.07);
  border: 1px solid rgba(36, 87, 255, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.intro-strip {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 42px;
  color: var(--paper);
  background: var(--navy);
  border-top: 1px solid rgba(251, 246, 234, 0.18);
  border-bottom: 1px solid rgba(251, 246, 234, 0.18);
}

.intro-kicker {
  color: #f0c95d;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.intro-text h2 {
  max-width: 920px;
  color: var(--paper);
}

.intro-text p {
  max-width: 780px;
  color: rgba(251, 246, 234, 0.72);
  font-size: 18px;
}

.profile-card,
.course-card,
.method-step,
.fit-list article,
.pay-card,
.payment-panel,
.qr-box {
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 10px;
  box-shadow: var(--tight-shadow);
}

.section-title {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-title > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.section-title.light h2,
.section-title.light p {
  color: var(--ink);
}

.section-title.light .eyebrow {
  color: var(--blue-dark);
}

.section-title.light > p:not(.eyebrow) {
  color: var(--muted);
}

.section-ink {
  color: var(--ink);
  background: #f2f6ff;
  border-top: 1px solid rgba(36, 87, 255, 0.1);
  border-bottom: 1px solid rgba(36, 87, 255, 0.1);
}

.course-grid,
.method-grid,
.fit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.course-card {
  grid-column: span 2;
}

.course-card.featured {
  grid-column: span 3;
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  color: var(--ink);
}

.course-card.featured {
  background: linear-gradient(180deg, #fff6e9 0%, #ffffff 100%);
  border-color: rgba(255, 122, 26, 0.28);
  box-shadow: 0 18px 40px rgba(255, 122, 26, 0.11);
}

.course-card p,
.course-card li,
.fit-list p,
.method-step p {
  color: var(--muted);
}

.course-card.featured p,
.course-card.featured li {
  color: #35425a;
}

.course-topline {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 4px 10px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.course-card ul,
.pay-card ol {
  margin: 0 0 18px;
  padding-left: 20px;
}

.course-card li,
.pay-card li {
  margin: 9px 0;
}

.course-card a {
  margin-top: auto;
  color: #e86409;
  font-weight: 950;
}

.method-step {
  padding: 26px;
}

.method-step span {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
}

.section-paper {
  background: rgba(244, 234, 216, 0.62);
  border-top: 1px solid rgba(16, 35, 63, 0.1);
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
}

.fit-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit-list article {
  position: relative;
  padding: 26px 26px 26px 34px;
}

.fit-list article::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 18px;
  width: 5px;
  height: calc(100% - 54px);
  background: var(--blue);
  border-radius: 999px;
}

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

.contact-layout,
.pay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.contact-copy {
  max-width: 780px;
}

.contact-copy p,
.pay-hero p {
  color: var(--muted);
  font-size: 17px;
}

.consult-template {
  max-width: 680px;
  margin: 22px 0 10px;
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 14px;
}

.consult-template strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}

.consult-template textarea {
  width: 100%;
  min-height: 148px;
  margin: 2px 0 12px;
  padding: 12px 14px;
  resize: vertical;
  color: rgba(24, 32, 51, 0.72);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  line-height: 1.7;
}

.mini-button {
  appearance: none;
  min-height: 34px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(184, 150, 88, 0.16);
  border: 1px solid rgba(184, 150, 88, 0.32);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.mini-button.is-copied {
  color: #fffdf8;
  background: var(--emerald);
  border-color: var(--emerald);
}

.qr-box {
  padding: 24px;
  text-align: center;
}

.qr-box img {
  width: 172px;
  height: 172px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(16, 35, 63, 0.1);
}

.qr-box strong,
.qr-box span {
  display: block;
}

.qr-box strong {
  margin-top: 14px;
  font-size: 18px;
}

.qr-box span,
.payment-note {
  color: var(--muted);
  font-size: 14px;
}

.section-band,
.pay-hero {
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  background: var(--navy);
}

.pay-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  color: var(--paper);
  padding-top: 76px;
  padding-bottom: 76px;
}

.pay-hero .eyebrow {
  color: #f0c95d;
}

.pay-hero p {
  max-width: 780px;
  color: rgba(251, 246, 234, 0.72);
}

.pay-card {
  padding: 30px;
}

.pay-card li {
  color: var(--muted);
}

.notice {
  margin-top: 24px;
  padding: 16px;
  background: #fff4d4;
  border: 1px solid #dfc16d;
  border-radius: 8px;
}

.notice strong,
.notice span {
  display: block;
}

.notice span {
  margin-top: 4px;
  color: var(--muted);
}

.payment-panel {
  padding: 22px;
}

.qr-payment {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  padding: 14px;
  background: #f8f2e6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-payment img {
  width: min(100%, 230px);
  max-height: 330px;
  object-fit: contain;
}

.payment-panel .button {
  margin-top: 10px;
}

footer {
  padding: 34px 24px 44px;
  color: rgba(251, 246, 234, 0.74);
  background: var(--navy);
  text-align: center;
}

footer p {
  margin: 4px 0;
}

.qr-page {
  background: var(--paper);
}

.qr-save {
  width: min(680px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  text-align: center;
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-weight: 950;
}

.qr-save h1 {
  font-size: clamp(30px, 7vw, 48px);
}

.qr-save p {
  color: var(--muted);
}

.qr-card {
  margin: 24px auto;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.qr-card img {
  width: min(100%, 380px);
  max-height: 70vh;
  object-fit: contain;
}

.not-found {
  display: grid;
  align-content: center;
  min-height: 100vh;
  width: min(720px, calc(100vw - 36px));
  margin: 0 auto;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 74px);
}

.not-found p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.not-found .button {
  justify-self: center;
  margin-top: 18px;
}

.float-tools {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  gap: 10px;
}

.float-tool {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 253, 248, 0.36);
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(24, 32, 51, 0.92);
  box-shadow: 0 16px 32px rgba(24, 32, 51, 0.18);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.float-tool:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.share-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 8;
}

.course-hero .share-actions {
  position: relative;
  top: auto;
  right: auto;
  display: inline-flex;
}

.share-trigger {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 8px 18px rgba(24, 32, 51, 0.1);
  color: rgba(24, 32, 51, 0.82);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.share-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.share-trigger:hover,
.share-actions.open .share-trigger {
  border-color: rgba(193, 150, 66, 0.34);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 12px 24px rgba(24, 32, 51, 0.13);
  color: var(--gold);
  transform: translateY(-1px);
}

.share-popover {
  position: absolute;
  top: 40px;
  right: 0;
  display: none;
  width: min(250px, calc(100vw - 36px));
  padding: 12px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(24, 32, 51, 0.18);
}

.course-hero .share-popover {
  right: auto;
  left: 0;
}

.share-actions.open .share-popover {
  display: grid;
  gap: 8px;
}

.share-popover strong {
  color: var(--ink);
  font-size: 14px;
}

.share-popover p {
  margin: 0;
  color: rgba(24, 32, 51, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.share-option {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(244, 234, 216, 0.65);
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.share-option:hover {
  background: #fffdf8;
  border-color: rgba(24, 32, 51, 0.24);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  nav a {
    padding: 6px 8px;
  }

  .hero,
  .intro-strip,
  .profile-grid,
  .contact-layout,
  .pay-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .course-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-card,
  .course-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .section,
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .hero::before {
    inset: 14px 10px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero-lede,
  .contact-copy p,
  .pay-hero p,
  .intro-text p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .board-main,
  .hero-proof,
  .stat-stack,
  .course-grid,
  .method-grid,
  .fit-list {
    grid-template-columns: 1fr;
  }

  .hero-board,
  .profile-main,
  .course-card,
  .method-step,
  .fit-list article,
  .pay-card,
  .payment-panel,
  .qr-box {
    padding: 20px;
  }

  .intro-strip {
    gap: 18px;
  }

  .brand {
    font-size: 16px;
  }
}

/* Premium editorial pass: soften the blocky look and make the page feel more like
   a high-end independent education brand than a dashboard of cards. */
:root {
  --ink: #182033;
  --navy: #182033;
  --navy-2: #26324a;
  --paper: #fbf8f1;
  --paper-2: #f2eadc;
  --card: #fffdf8;
  --line: rgba(24, 32, 51, 0.13);
  --muted: #6f7480;
  --blue: #344d7c;
  --blue-dark: #263e68;
  --orange: #a87835;
  --emerald: #4f766a;
  --teal: #2d6f73;
  --sage: #7b8b62;
  --clay: #b86f4b;
  --plum: #6b557f;
  --gold: #b89658;
  --rust: #9d684e;
  --shadow: none;
  --tight-shadow: none;
}

body {
  background:
    radial-gradient(circle at 12% 10%, rgba(184, 150, 88, 0.11), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fbf8f1 46%, #f7f1e7 100%);
  color: var(--ink);
}

.site-header {
  min-height: 74px;
  background: rgba(255, 253, 248, 0.84);
  border-bottom: 1px solid rgba(24, 32, 51, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.brand {
  color: var(--ink);
  font-weight: 900;
}

.brand-mark {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(24, 32, 51, 0.2);
  box-shadow: none;
}

nav {
  color: rgba(24, 32, 51, 0.72);
  font-weight: 760;
}

nav a {
  border-radius: 999px;
}

nav a:hover {
  color: var(--ink);
  background: rgba(184, 150, 88, 0.12);
  border-color: rgba(184, 150, 88, 0.2);
}

nav .nav-cta,
nav .nav-cta:hover {
  color: #fffdf8;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}

.hero {
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: 70px;
  min-height: calc(100vh - 74px);
  padding-top: 96px;
  padding-bottom: 86px;
  overflow: visible;
}

.hero::before,
.hero::after {
  display: none;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.08;
  font-weight: 900;
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 880;
}

h3 {
  font-size: 21px;
  font-weight: 850;
}

.hero-lede {
  max-width: 660px;
  color: rgba(24, 32, 51, 0.68);
  font-size: 19px;
  line-height: 1.72;
}

.button {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 860;
}

.button.primary,
.button.primary:hover {
  color: #fffdf8;
  background: var(--ink);
  box-shadow: none;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(24, 32, 51, 0.22);
}

.trust-row span {
  color: rgba(24, 32, 51, 0.74);
  background: transparent;
  border-color: rgba(24, 32, 51, 0.16);
  font-weight: 760;
}

.hero-proof {
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-proof div {
  padding: 20px 22px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: var(--ink);
  font-size: 18px;
}

.hero-proof span {
  color: rgba(24, 32, 51, 0.62);
}

.hero-board {
  align-self: center;
  padding: 30px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}

.hero-board::before {
  display: none;
}

.board-top {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.board-top span {
  color: rgba(24, 32, 51, 0.58);
}

.board-top strong {
  color: var(--ink);
}

.board-main {
  grid-template-columns: 1fr;
  gap: 0;
}

.board-item,
.board-item.is-dark,
.board-item.is-accent {
  display: grid;
  grid-template-columns: 54px 88px minmax(0, 1fr);
  align-items: baseline;
  min-height: auto;
  padding: 18px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.board-item small,
.board-item.is-dark small,
.board-item.is-accent small {
  margin: 0;
  color: var(--gold);
}

.board-item b {
  margin: 0;
  font-size: 24px;
}

.board-item span,
.board-item.is-dark span {
  color: rgba(24, 32, 51, 0.62);
  font-size: 14px;
}

.board-note {
  gap: 8px;
  margin-top: 22px;
}

.board-note span {
  color: rgba(24, 32, 51, 0.72);
  background: rgba(255, 253, 248, 0.64);
  border-color: rgba(24, 32, 51, 0.13);
}

.teacher-hero-card {
  align-self: center;
  max-width: 460px;
  margin-left: auto;
}

.teacher-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.08 / 1;
  background: rgba(255, 253, 248, 0.5);
  border: 1px solid rgba(24, 32, 51, 0.1);
  border-radius: 10px;
}

.teacher-photo::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 253, 248, 0.58);
  pointer-events: none;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 22%;
}

.teacher-caption {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.teacher-caption span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teacher-caption strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.teacher-caption p {
  margin: 0;
  color: rgba(24, 32, 51, 0.62);
  font-size: 14px;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.teacher-tags span {
  padding: 5px 9px;
  color: rgba(24, 32, 51, 0.72);
  background: rgba(255, 253, 248, 0.62);
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.teacher-proof-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.teacher-proof-tags span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-height: 0;
  padding: 9px 10px;
  color: rgba(24, 32, 51, 0.64);
  background: rgba(255, 253, 248, 0.46);
  border: 1px solid rgba(24, 32, 51, 0.1);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.35;
}

.teacher-proof-tags strong {
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.intro-strip {
  grid-template-columns: 260px minmax(0, 1fr);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-kicker {
  color: var(--gold);
}

.intro-text h2 {
  color: var(--ink);
}

.intro-text p {
  color: rgba(24, 32, 51, 0.62);
}

.profile-card,
.course-card,
.method-step,
.fit-list article,
.pay-card,
.payment-panel,
.qr-box {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.proof-banner {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: 58px;
  align-items: center;
  background: rgba(255, 253, 248, 0.56);
  border-bottom: 1px solid var(--line);
}

.proof-copy p:not(.eyebrow) {
  color: rgba(24, 32, 51, 0.64);
  font-size: 17px;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-metrics div {
  min-height: 190px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  transition: background 0.22s ease, transform 0.22s ease;
}

.proof-metrics div:last-child {
  border-right: 0;
}

.proof-metrics div:hover {
  background: rgba(184, 150, 88, 0.1);
  transform: translateY(-3px);
}

.proof-metrics strong,
.proof-metrics span {
  display: block;
}

.proof-metrics strong {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
}

.proof-metrics span {
  color: rgba(24, 32, 51, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

.brand-story {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 0.68fr);
  gap: 62px;
  align-items: center;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}

.story-kicker {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 300px;
  padding: 34px;
  color: #fffdf8;
  background:
    linear-gradient(135deg, rgba(24, 32, 51, 0.98), rgba(52, 77, 124, 0.92)),
    var(--ink);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.brand-story:hover .story-kicker {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(24, 32, 51, 0.14);
}

.story-kicker span,
.story-kicker strong {
  display: block;
}

.story-kicker span {
  font-size: clamp(70px, 9vw, 128px);
  font-weight: 950;
  line-height: 0.82;
}

.story-kicker strong {
  color: rgba(255, 253, 248, 0.72);
  font-size: 18px;
  font-weight: 760;
}

.story-copy {
  max-width: 820px;
}

.story-copy p:not(.eyebrow) {
  color: rgba(24, 32, 51, 0.68);
  font-size: 17px;
}

.cefr-banner {
  background:
    radial-gradient(circle at 86% 16%, rgba(184, 150, 88, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(24, 32, 51, 0.98), rgba(45, 54, 75, 0.96));
  color: #fffdf8;
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
}

.cefr-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.cefr-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -24px;
  color: #d9bd7a;
}

.cefr-head h2 {
  margin-bottom: 0;
  color: #fffdf8;
}

.cefr-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 17px;
}

.cefr-map {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(255, 253, 248, 0.16);
  background: rgba(255, 253, 248, 0.04);
}

.cefr-node {
  position: relative;
  min-height: 220px;
  padding: 24px 18px 22px;
  border-right: 1px solid rgba(255, 253, 248, 0.14);
  transition: background 0.22s ease, transform 0.22s ease;
}

.cefr-node:last-child {
  border-right: 0;
}

.cefr-node:hover {
  background: rgba(255, 253, 248, 0.07);
  transform: translateY(-4px);
}

.cefr-node::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 5px;
  background: rgba(255, 253, 248, 0.24);
  border-radius: 999px;
}

.cefr-node:nth-child(1)::before { background: var(--sage); }
.cefr-node:nth-child(2)::before { background: var(--teal); }
.cefr-node:nth-child(3)::before { background: var(--gold); }
.cefr-node:nth-child(4)::before { background: var(--clay); }
.cefr-node:nth-child(5)::before { background: #fffdf8; }
.cefr-node:nth-child(6)::before { background: var(--plum); }

.cefr-node span,
.cefr-node strong,
.cefr-node small {
  display: block;
}

.cefr-node span {
  margin-bottom: 24px;
  color: #d9bd7a;
  font-size: 12px;
  font-weight: 900;
}

.cefr-node strong {
  min-height: 72px;
  color: #fffdf8;
  font-size: 24px;
  line-height: 1.12;
}

.cefr-node strong em {
  display: block;
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.62);
  font-size: 14px;
  font-style: normal;
}

.cefr-node small {
  color: rgba(255, 253, 248, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.source-note {
  margin: 18px 0 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 13px;
}

.curriculum-pyramid {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: 60px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(184, 150, 88, 0.1), transparent 42%),
    rgba(255, 253, 248, 0.42);
  border-bottom: 1px solid var(--line);
}

.pyramid-copy p:not(.eyebrow) {
  color: rgba(24, 32, 51, 0.64);
  font-size: 17px;
}

.pyramid-graphic {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.pyramid-tier {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 14px 24px;
  color: #fffdf8;
  background: var(--ink);
  border: 1px solid rgba(255, 253, 248, 0.55);
  box-shadow: 0 14px 28px rgba(24, 32, 51, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.pyramid-tier:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 42px rgba(24, 32, 51, 0.13);
  filter: saturate(1.08);
}

.pyramid-tier strong,
.pyramid-tier span {
  display: block;
  text-align: center;
}

.pyramid-tier strong {
  font-size: 18px;
  line-height: 1.25;
}

.pyramid-tier span {
  color: rgba(255, 253, 248, 0.7);
  font-size: 13px;
}

.tier-5 {
  width: 52%;
  background: linear-gradient(135deg, #172033, #273755);
}

.tier-4 {
  width: 64%;
  background: linear-gradient(135deg, #26324a, var(--plum));
}

.tier-3 {
  width: 76%;
  background: linear-gradient(135deg, #344d7c, #2d6f73);
}

.tier-2 {
  width: 88%;
  background: linear-gradient(135deg, #7c6841, var(--sage));
}

.tier-1 {
  width: 100%;
  background: linear-gradient(135deg, #a87835, var(--clay));
}

.profile-main {
  padding: 0;
}

.profile-main p {
  color: rgba(24, 32, 51, 0.64);
}

.stat-stack {
  gap: 0;
  border-top: 1px solid var(--line);
}

.stat-stack div {
  min-height: 116px;
  padding: 22px 0;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.stat-stack strong {
  color: var(--gold);
}

.stat-stack span {
  color: rgba(24, 32, 51, 0.62);
}

.section-ink {
  color: var(--ink);
  background: transparent;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.visual-banner,
.hero-course {
  display: grid;
  gap: 56px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.visual-banner {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.banner-system {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  background: rgba(255, 253, 248, 0.34);
}

.banner-media,
.hero-course-media {
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(24, 32, 51, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.banner-media {
  aspect-ratio: 4 / 3;
}

.banner-media img,
.hero-course-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.38s ease, filter 0.38s ease;
}

.visual-banner:hover .banner-media,
.hero-course:hover .hero-course-media {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(24, 32, 51, 0.12);
}

.visual-banner:hover .banner-media img,
.hero-course:hover .hero-course-media img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.02);
}

.banner-copy {
  max-width: 760px;
}

.banner-copy p,
.hero-course-copy p {
  color: rgba(24, 32, 51, 0.64);
  font-size: 17px;
}

.banner-points,
.system-lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.banner-points span,
.system-lanes span {
  padding: 8px 12px;
  color: rgba(24, 32, 51, 0.78);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.banner-points span:hover,
.system-lanes span:hover {
  background: rgba(184, 150, 88, 0.16);
  border-color: rgba(184, 150, 88, 0.34);
  transform: translateY(-2px);
}

.hero-course {
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1fr);
  background:
    radial-gradient(circle at 82% 20%, rgba(184, 150, 88, 0.26), transparent 26%),
    linear-gradient(135deg, rgba(24, 32, 51, 0.98), rgba(43, 54, 78, 0.96));
  color: #fffdf8;
}

.hero-course .eyebrow {
  color: #d9bd7a;
}

.hero-course-copy h2 {
  color: #fffdf8;
}

.hero-course-copy p {
  color: rgba(255, 253, 248, 0.72);
}

.hero-course-media {
  height: min(520px, 60vh);
  border-color: rgba(255, 253, 248, 0.14);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
}

.featured-grid div {
  padding: 20px 22px 20px 0;
  border-right: 1px solid rgba(255, 253, 248, 0.18);
}

.featured-grid div:last-child {
  padding-left: 22px;
  border-right: 0;
}

.featured-grid strong,
.featured-grid span {
  display: block;
}

.featured-grid strong {
  margin-bottom: 8px;
  color: #fffdf8;
  font-size: 17px;
}

.featured-grid span {
  color: rgba(255, 253, 248, 0.66);
  font-size: 14px;
}

.hero-course .button.primary {
  color: var(--ink);
  background: #fffdf8;
}

.course-hero {
  padding: 96px max(24px, calc((100vw - 1180px) / 2)) 76px;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 150, 88, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f7f1e7 100%);
  border-bottom: 1px solid var(--line);
}

.course-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.4vw, 72px);
}

.course-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(24, 32, 51, 0.66);
  font-size: 18px;
}

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

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 58px;
  align-items: start;
}

.course-detail-main {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.detail-block {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.detail-block h2 {
  margin-bottom: 14px;
}

.detail-block ul,
.detail-block ol {
  margin: 0;
  padding-left: 22px;
  color: rgba(24, 32, 51, 0.68);
}

.detail-block li {
  margin: 9px 0;
}

.course-side-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
}

.course-side-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
}

.course-side-panel p {
  color: rgba(24, 32, 51, 0.64);
}

.side-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.side-meta span {
  padding: 6px 10px;
  color: rgba(24, 32, 51, 0.72);
  border: 1px solid rgba(24, 32, 51, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.course-side-panel .button {
  margin-top: 10px;
}

.section-title.light h2,
.section-title.light p,
.section-title.light .eyebrow {
  color: inherit;
}

.section-title.light .eyebrow {
  color: var(--gold);
}

.section-title.light > p:not(.eyebrow),
.section-title > p:not(.eyebrow) {
  color: rgba(24, 32, 51, 0.62);
}

.course-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.course-card,
.course-card.featured {
  position: relative;
  grid-column: span 4;
  min-height: 100%;
  padding: 28px 26px 30px;
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  background: rgba(255, 253, 248, 0.72);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(24, 32, 51, 0.08);
}

.course-card:nth-child(3n) {
  border-right: 0;
}

.course-card.featured {
  grid-column: span 8;
  background: rgba(255, 253, 248, 0.46);
}

.course-card.featured + .course-card {
  border-right: 0;
}

.course-topline {
  color: var(--gold);
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.course-card p,
.course-card li,
.fit-list p,
.method-step p {
  color: rgba(24, 32, 51, 0.62);
}

.course-card.featured p,
.course-card.featured li {
  color: rgba(24, 32, 51, 0.66);
}

.course-link {
  display: inline-flex;
  margin-top: auto;
  color: var(--ink);
  font-weight: 860;
  border-bottom: 1px solid rgba(24, 32, 51, 0.35);
  align-self: flex-start;
}

.course-cover {
  display: grid;
  align-items: end;
  min-height: 118px;
  margin: -4px 0 22px;
  padding: 18px;
  color: #fffdf8;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.course-cover::after {
  content: "";
  position: absolute;
  inset: auto -18px -36px auto;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 10px;
  transform: rotate(18deg);
}

.course-cover span {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.cover-cambridge { background: linear-gradient(135deg, #172033, #344d7c); }
.cover-reading { background: linear-gradient(135deg, #2d6f73, #7b8b62); }
.cover-young { background: linear-gradient(135deg, #7b8b62, #b89658); }
.cover-mk { background: linear-gradient(135deg, #a87835, #b86f4b); }
.cover-primary { background: linear-gradient(135deg, #6b557f, #344d7c); }
.cover-junior { background: linear-gradient(135deg, #26324a, #2d6f73); }
.cover-zhongkao { background: linear-gradient(135deg, #172033, #a87835); }

.method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-step {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.method-step:last-child {
  border-right: 0;
}

.method-step span {
  color: var(--gold);
}

.section-paper {
  background: rgba(255, 253, 248, 0.4);
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.fit-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.fit-list article {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line);
}

.fit-list article::before {
  display: none;
}

.contact-section {
  background: transparent;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.qr-box {
  padding: 0;
  text-align: left;
}

.qr-box img {
  width: 156px;
  height: 156px;
  border-color: rgba(24, 32, 51, 0.12);
}

.section-band,
.pay-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 150, 88, 0.18), transparent 28%),
    var(--paper);
  color: var(--ink);
}

.pay-hero .eyebrow {
  color: var(--gold);
}

.pay-hero p {
  color: rgba(24, 32, 51, 0.62);
}

.selected-course {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  color: var(--ink) !important;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px !important;
  font-weight: 760;
}

.pay-layout {
  gap: 60px;
}

.payment-panel,
.pay-card {
  padding: 0;
}

.notice,
.qr-payment,
.qr-card {
  background: rgba(255, 253, 248, 0.65);
  border-color: var(--line);
  box-shadow: none;
}

footer {
  background: #161d2d;
}

@media (max-width: 980px) {
  .hero,
  .intro-strip,
  .profile-grid,
  .contact-layout,
  .pay-layout {
    grid-template-columns: 1fr;
  }

  .hero,
  .profile-grid,
  .contact-layout,
  .pay-layout {
    gap: 34px;
  }

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

  .course-card,
  .course-card.featured {
    grid-column: auto;
    border-right: 1px solid var(--line);
  }

  .course-card:nth-child(2n) {
    border-right: 0;
  }

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

  .method-step:nth-child(2n) {
    border-right: 0;
  }

  .visual-banner,
  .banner-system,
  .hero-course,
  .course-detail-layout,
  .cefr-head,
  .curriculum-pyramid,
  .proof-banner,
  .brand-story {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .proof-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-metrics div:nth-child(2n) {
    border-right: 0;
  }

  .proof-metrics div {
    border-bottom: 1px solid var(--line);
  }

  .proof-metrics div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .cefr-head .eyebrow {
    margin-bottom: 0;
  }

  .cefr-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cefr-node {
    min-height: 190px;
  }

  .cefr-node:nth-child(2n) {
    border-right: 0;
  }

  .banner-system .banner-media {
    order: -1;
  }

  .hero-course-media {
    height: 360px;
  }

  .course-side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .brand {
    align-items: center;
    gap: 9px;
  }

  .brand-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1.15;
  }

  .brand-slogan {
    display: block;
    max-width: 10.5em;
    overflow: visible;
    color: rgba(24, 32, 51, 0.72);
    font-size: 12px;
    white-space: nowrap;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: 42px;
  }

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

  .hero-proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .board-item,
  .board-item.is-dark,
  .board-item.is-accent {
    grid-template-columns: 42px 68px minmax(0, 1fr);
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .course-grid,
  .method-grid,
  .fit-list {
    grid-template-columns: 1fr;
  }

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

  .proof-metrics div,
  .proof-metrics div:nth-child(2n),
  .proof-metrics div:nth-last-child(-n + 2) {
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-metrics div:last-child {
    border-bottom: 0;
  }

  .cefr-map {
    grid-template-columns: 1fr;
  }

  .cefr-node,
  .cefr-node:nth-child(2n) {
    min-height: auto;
    padding: 22px 0 22px 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.14);
  }

  .cefr-node:last-child {
    border-bottom: 0;
  }

  .cefr-node::before {
    left: 0;
    right: auto;
    top: 26px;
    bottom: auto;
    width: 5px;
    height: calc(100% - 52px);
  }

  .cefr-node strong {
    min-height: auto;
  }

  .cefr-map {
    padding: 0 20px;
  }

  .contact-layout {
    text-align: center;
  }

  .contact-actions {
    justify-content: center;
  }

  .qr-box {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .qr-box img {
    margin-left: auto;
    margin-right: auto;
  }

  .pyramid-tier {
    width: 100%;
    min-height: 72px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .story-kicker {
    min-height: 210px;
    padding: 26px;
  }

  .float-tools {
    right: 12px;
    bottom: 76px;
    gap: 8px;
  }

  .float-tool {
    width: 48px;
    height: 48px;
  }

  .course-card,
  .course-card.featured,
  .method-step {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .stat-stack {
    grid-template-columns: 1fr;
  }

  .banner-media {
    aspect-ratio: 16 / 11;
  }

  .hero-course-media {
    height: 300px;
  }

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

  .featured-grid div,
  .featured-grid div:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  }

  .featured-grid div:last-child {
    border-bottom: 0;
  }

  .hero-board,
  .teacher-hero-card,
  .stat-stack {
    width: 100%;
    min-width: 0;
  }

  .profile-grid,
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .board-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .board-item,
  .board-item.is-dark,
  .board-item.is-accent {
    grid-template-columns: 38px 58px minmax(0, 1fr);
  }

  .stat-stack div,
  .stat-stack strong,
  .stat-stack span {
    width: auto;
    min-width: 0;
  }
}
