:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #626262;
  --line: #e5e1dc;
  --paper: #f6f5f2;
  --white: #ffffff;
  --black: #050505;
  --charcoal: #292929;
  --wine: #7d1407;
  --wine-light: #a62a18;
  --teal: #236b6f;
  --gold: #b59a63;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

/* Phoenix AI writing intelligence engine */
.pae-membership {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) auto minmax(370px, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0 0 24px;
  padding: 24px 28px;
  color: #fff;
  border-radius: 4px;
  background: #111;
}

.pae-membership .eyebrow { color: #79d3df; }
.pae-membership h2 { margin: 5px 0 6px; font-size: clamp(22px, 2vw, 29px); }
.pae-membership-copy > p:last-child { margin: 0; color: #aaa; font-size: 13px; line-height: 1.55; }
.pae-membership-price { display: flex; align-items: baseline; gap: 5px; padding-left: 22px; border-left: 1px solid #383838; }
.pae-membership-price strong { color: #fff; font-size: 34px; letter-spacing: -0.04em; }
.pae-membership-price span { color: #a9a9a9; font-size: 12px; }
.pae-membership ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.pae-membership li { display: grid; gap: 4px; min-height: 48px; padding: 0 15px; border-left: 1px solid #383838; }
.pae-membership li strong { color: #79d3df; font-size: 15px; }
.pae-membership li span { color: #bcbcbc; font-size: 11px; line-height: 1.35; }
.pae-membership-actions { display: grid; gap: 8px; min-width: 130px; }
.pae-membership-actions a,
.pae-membership-actions button,
.pae-redeem-form button { display: grid; min-height: 42px; place-items: center; padding: 10px 16px; border: 1px solid #fff; border-radius: 2px; font: inherit; font-size: 13px; font-weight: 850; text-decoration: none; cursor: pointer; }
.pae-buy { color: #fff; background: #9a1d0f; border-color: #9a1d0f !important; }
.pae-redeem-toggle { color: #fff; background: transparent; }
.pae-redeem-form,
.pae-redeem-status { grid-column: 1 / -1; }
.pae-redeem-form { padding-top: 18px; border-top: 1px solid #373737; }
.pae-redeem-form label { display: block; margin-bottom: 8px; color: #bcbcbc; font-size: 12px; font-weight: 750; }
.pae-redeem-form > div { display: flex; gap: 8px; max-width: 620px; }
.pae-redeem-form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 13px; border: 1px solid #555; border-radius: 2px; background: #fff; font: inherit; text-transform: uppercase; }
.pae-redeem-form button { min-width: 126px; color: #111; background: #79d3df; border-color: #79d3df; }
.pae-redeem-status { margin: -8px 0 0; color: #79d3df; font-size: 12px; }
.pae-membership.is-active { background: #123b3e; }
.pae-membership.is-active .pae-membership-price strong { color: #79d3df; }
.pae-redeem-form[hidden],
.pae-redeem-status[hidden],
.payment-code-field[hidden],
.payment-auth-gate[hidden],
.payment-account-state[hidden] { display: none !important; }

.payment-form.pae-membership-checkout select[name="serviceType"],
.payment-form.pae-membership-checkout select[name="paymentCurrency"],
.payment-form.pae-membership-checkout input[name="serviceSubject"],
.payment-form.pae-membership-checkout input[name="amount"] {
  color: #373737;
  background: #f0efec;
  pointer-events: none;
}

.payment-global-status {
  margin: 18px 0 0;
  padding: 13px 15px;
  color: #8f1a0f;
  border-left: 4px solid #a52113;
  background: #fff0ed;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.payment-global-status[hidden] { display: none !important; }

.detector-file-upload {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(360px, 1.2fr);
  gap: 12px 24px;
  align-items: center;
  margin: 18px 0 0;
  padding: 17px 19px;
  border: 1px solid #cfd7d7;
  background: #f5fafa;
}
.detector-file-upload > div:first-child { display: grid; gap: 4px; }
.detector-file-upload > div:first-child > span { color: #176f76; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.detector-file-upload > div:first-child > strong { font-size: 15px; }
.detector-file-upload > div:first-child > small { color: #62696a; font-size: 11px; }
.detector-file-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.detector-file-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-width: 0; border: 1px solid #bfc8c8; background: #fff; }
.detector-file-controls input { width: 100%; min-width: 0; min-height: 40px; padding: 8px; border: 0; background: transparent; font: inherit; font-size: 12px; }
.detector-upload-percent { min-width: 82px; padding: 0 12px; color: #176f76; border-left: 1px solid #d6dede; font-size: 11px; font-weight: 850; line-height: 24px; text-align: center; white-space: nowrap; }
.detector-upload-percent[hidden] { display: none; }
.detector-upload-percent.is-complete { color: #187a52; }
.detector-file-controls button { min-width: 126px; min-height: 42px; padding: 8px 16px; color: #fff; border: 1px solid #176f76; background: #176f76; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; }
.detector-file-upload > p { grid-column: 1 / -1; margin: 0; color: #687071; font-size: 11px; }
.detector-file-upload.is-locked { border-color: #ddd9d4; background: #f5f4f1; }
.detector-file-upload.is-locked .detector-file-controls { opacity: .5; }
.detector-file-upload.is-busy { pointer-events: none; }
.detector-file-upload.is-busy .detector-file-picker { background: #f7fbfb; }
.detector-file-upload.is-busy .detector-file-controls button { opacity: .55; }
.detector-file-upload.has-error > p { color: #a01d11; }

@media (max-width: 1120px) and (min-width: 721px) {
  .pae-membership { grid-template-columns: 1fr auto; }
  .pae-membership ul { grid-column: 1 / -1; }
  .pae-membership-actions { grid-column: 2; grid-row: 1; }
}

.detector-workspace {
  overflow: hidden;
  border: 1px solid #ccd3d4;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detector-workspace-head {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 26px;
  color: #fff;
  border-bottom: 1px solid rgba(121, 211, 223, 0.34);
  background: #101010;
}

.detector-workspace-head > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.detector-version {
  color: #79d3df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.detector-engine-name {
  color: #79d3df;
  letter-spacing: 0.08em;
}

.detector-form,
.detector-progress,
.detector-results {
  padding: clamp(24px, 4vw, 54px);
}

.detector-input-head,
.detector-form-foot,
.detector-progress-top,
.detector-sentence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.detector-input-head {
  margin-bottom: 13px;
}

.detector-input-head label {
  font-size: 16px;
  font-weight: 850;
}

#detector-word-count {
  color: #6f6f6f;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

#detector-word-count.over {
  color: #b42318;
  font-weight: 800;
}

#detector-text {
  display: block;
  width: 100%;
  min-height: 340px;
  resize: vertical;
  padding: 24px;
  border: 1px solid #ccd2d2;
  border-radius: 6px;
  outline: 0;
  color: #1d1d1d;
  background: #f8faf9;
  font: 16px/1.75 inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

#detector-text:focus {
  border-color: #1d6b70;
  box-shadow: 0 0 0 4px rgba(29, 107, 112, 0.11);
}

.detector-form-foot {
  align-items: flex-start;
  margin-top: 18px;
}

.detector-form-foot > p {
  max-width: 700px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.detector-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.detector-clear,
.detector-submit,
.detector-rescan {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #1b1b1b;
  border-radius: 4px;
  font: 800 14px/1 inherit;
  cursor: pointer;
}

.detector-clear {
  color: #1b1b1b;
  background: #fff;
}

.detector-submit,
.detector-rescan {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
  box-shadow: 0 8px 22px rgba(125, 20, 7, 0.18);
}

.detector-submit:disabled,
.detector-clear:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.detector-error {
  margin: 18px 0 0;
  padding: 13px 15px;
  color: #8d1510;
  border-left: 4px solid #b42318;
  background: #fff0ed;
  font-size: 14px;
}

.detector-progress {
  min-height: 0;
  display: grid;
  align-content: start;
  margin: 14px 0 2px;
  padding: 18px 20px 16px;
  color: #1a1a1a;
  border: 1px solid #d7d4ce;
  border-radius: 5px;
  background: #fff;
}

.detector-form.is-scanning .detector-input-head,
.detector-form.is-scanning #detector-text,
.detector-form.is-scanning .detector-form-foot,
.detector-form.is-scanning .detector-error {
  display: none;
}

.detector-form.is-scanning .detector-progress {
  min-height: clamp(250px, 28vw, 340px);
  margin: 0;
  padding: clamp(24px, 4vw, 48px);
  align-content: center;
  border: 0;
  background: transparent;
}

.detector-progress[hidden],
.detector-results[hidden],
.detector-form[hidden] {
  display: none;
}

.detector-progress-layout {
  width: 100%;
  margin: 0 auto;
}

.detector-progress-top {
  align-items: flex-end;
}

.detector-progress-top > strong {
  font-size: clamp(19px, 1.7vw, 25px);
  letter-spacing: -.02em;
}

.detector-progress-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--wine);
  white-space: nowrap;
}

.detector-progress-value strong {
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.detector-progress-value small {
  color: #817b74;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.detector-progress-body .eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
}

.detector-progress-note {
  max-width: 720px;
  margin: 7px 0 0;
  color: #6d6862;
  font-size: 13px;
  line-height: 1.65;
}

.detector-progress-track {
  height: 13px;
  margin: 14px 0 12px;
  overflow: hidden;
  border-radius: 3px;
  background: #dedbd5;
}

.detector-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--teal);
  transition: width 220ms ease;
}

.detector-progress-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detector-progress-steps li {
  padding-top: 8px;
  color: #aaa49c;
  border-top: 1px solid #d8d5cf;
  font-size: 12px;
  font-weight: 750;
  transition: color 220ms ease, border-color 220ms ease;
}

.detector-progress-steps li.active {
  color: #1a1a1a;
  border-color: var(--teal);
}

.detector-result-summary {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(220px, 260px);
  align-items: center;
  gap: clamp(24px, 3.5vw, 54px);
  padding-bottom: 48px;
  border-bottom: 1px solid #ddd7cf;
}

.detector-score {
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--wine) calc(var(--score) * 1%), #e8e2da 0);
}

.detector-score::before {
  content: "";
  grid-area: 1 / 1;
  width: 172px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.detector-score[data-level="low"] { background: conic-gradient(#17784b calc(var(--score) * 1%), #e8e2da 0); }
.detector-score[data-level="medium"] { background: conic-gradient(#c17b08 calc(var(--score) * 1%), #e8e2da 0); }
.detector-score[data-level="high"] { background: conic-gradient(#b42318 calc(var(--score) * 1%), #e8e2da 0); }

.detector-score > div {
  z-index: 1;
  grid-area: 1 / 1;
  text-align: center;
}

.detector-score strong {
  display: block;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.detector-score span {
  color: #7b756e;
  font-size: 14px;
}

.detector-result-copy h2 {
  margin: 7px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.detector-result-copy > p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.7;
}

.detector-result-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detector-result-metrics span {
  padding: 9px 12px;
  border: 1px solid #d9d3cb;
  background: #faf8f5;
  font-size: 12px;
}

.detector-document-review {
  margin-top: 46px;
  padding: 0;
  background: transparent;
}

.detector-document-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3e0da;
}

.detector-document-head h2 {
  margin: 6px 0 8px;
  font-size: 30px;
}

.detector-document-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.detector-highlighted-document {
  min-height: 220px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid #ddd9d2;
  border-radius: 4px;
  background: #fff;
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.55;
  white-space: pre-wrap;
}

.detector-inline-highlight {
  position: relative;
  margin: 0 1px;
  padding: 1px;
  color: inherit;
  border-radius: 2px;
  background: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.detector-inline-medium {
  border-bottom: 2px solid #c17b08;
  background: rgba(241, 184, 72, 0.24);
}

.detector-inline-high {
  border-bottom: 2px solid #b42318;
  background: rgba(225, 65, 52, 0.2);
}

.detector-inline-score {
  display: inline-grid;
  min-width: 25px;
  height: 17px;
  place-items: center;
  margin: 0 3px 0 5px;
  padding: 0 4px;
  color: #fff;
  border-radius: 10px;
  background: #17784b;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  vertical-align: text-top;
  font-variant-numeric: tabular-nums;
}

.detector-inline-medium .detector-inline-score { background: #a96700; }
.detector-inline-high .detector-inline-score { background: #a91f16; }

.detector-sentence-head {
  align-items: end;
  margin: 38px 0 14px;
}

.detector-sentence-head h2 {
  margin: 6px 0 0;
  font-size: 30px;
}

.detector-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
}

.detector-legend span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
}

.detector-legend .medium::before { background: #c17b08; }
.detector-legend .high::before { background: #b42318; }

.detector-sentences {
  display: grid;
  gap: 5px;
}

.detector-sentence {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 11px;
  padding: 9px 13px;
  border: 1px solid #ded8d0;
  border-left-width: 4px;
  background: #fff;
}

.detector-sentence-low { border-left-color: #c9c3bc; }
.detector-sentence-medium { border-left-color: #c17b08; background: #fffaf0; }
.detector-sentence-high { border-left-color: #b42318; background: #fff5f2; }

.detector-sentence > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8a847d;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.detector-sentence > div strong { color: #242424; font-size: 12px; }
.detector-sentence p { margin: 0; font-size: 13px; line-height: 1.38; }
.detector-sentence small { grid-column: 2; color: #8a847d; font-size: 10px; line-height: 1.3; }

.detector-result-note {
  margin: 24px 0 18px;
  padding: 16px 18px;
  color: #5e5953;
  border-left: 4px solid var(--teal);
  background: #eef7f7;
  font-size: 13px;
  line-height: 1.65;
}

.detector-result-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 260px;
  justify-self: end;
}

.detector-download {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  min-width: 0;
  width: 100%;
  min-height: 54px;
  padding: 8px 14px;
  color: #fff;
  border: 1px solid #171717;
  border-radius: 4px;
  background: #171717;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.detector-download > span {
  display: grid;
  grid-row: 1 / 3;
  width: 36px;
  height: 32px;
  place-items: center;
  color: #171717;
  background: #79d3df;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.detector-download strong { align-self: end; font-size: 13px; }
.detector-download small { align-self: start; margin: 2px 0 0; color: #bfc4c3; font-size: 10px; }
.detector-download:hover { background: #292929; }
.detector-rescan { width: 100%; min-height: 46px; }

@media (max-width: 1100px) {
  .detector-result-summary { grid-template-columns: 190px minmax(0, 1fr); }
  .detector-result-actions { grid-column: 2; flex-direction: row; max-width: 500px; justify-self: start; }
  .detector-result-actions > * { flex: 1; }
}

@media (max-width: 720px) {
  .pae-membership { grid-template-columns: 1fr; padding: 22px; }
  .pae-membership-price { padding: 0; border-left: 0; }
  .pae-membership ul { grid-template-columns: 1fr; gap: 12px; }
  .pae-membership li { padding-left: 0; border-left: 0; }
  .pae-redeem-form > div { flex-direction: column; }
  .detector-file-upload { grid-template-columns: 1fr; }
  .detector-file-controls { grid-template-columns: 1fr; }
  .detector-file-controls button { width: 100%; }
  .detector-workspace-head,
  .detector-input-head,
  .detector-form-foot,
  .detector-document-head,
  .detector-sentence-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .detector-actions { width: 100%; }
  .detector-actions button { flex: 1; }
  .detector-result-actions { grid-column: 1; align-items: stretch; flex-direction: column; max-width: none; }
  .detector-download { min-width: 0; width: 100%; }
  #detector-text { min-height: 290px; padding: 18px; }
  .detector-progress { min-height: 0; padding: 16px; }
  .detector-progress-layout { width: 100%; }
  .detector-progress-top { align-items: flex-end; flex-direction: row; }
  .detector-progress-value { gap: 5px; }
  .detector-progress-value strong { font-size: 28px; }
  .detector-progress-value small { font-size: 9px; }
  .detector-progress-steps { grid-template-columns: 1fr 1fr; }
  .detector-document-review { padding: 0; }
  .detector-result-summary { grid-template-columns: 1fr; }
  .detector-score { width: 190px; }
  .detector-score::before { width: 146px; }
  .detector-sentence { grid-template-columns: 1fr; }
  .detector-sentence small { grid-column: 1; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 34px;
  padding: 10px 20px;
  color: var(--white);
  background: #090000;
  font-size: 16px;
  font-weight: 700;
}

.group-note {
  color: #79d3df;
}

.topbar-cn {
  min-height: 40px;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0 20px;
}

.topbar-cn > * {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1.25;
  white-space: nowrap;
}

.topbar-cn > :first-child {
  border-left: 0;
}

html[lang="en"] .topbar-en {
  min-height: 44px;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0 clamp(20px, 5vw, 96px);
  font-size: 13px;
}

html[lang="en"] .topbar-en > * {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 clamp(12px, 1.6vw, 24px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1.25;
  white-space: nowrap;
}

html[lang="en"] .topbar-en > :first-child {
  border-left: 0;
}

html[lang="en"] .topbar-consultation {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 4px;
}

html[lang="en"] .topbar-consultation:hover,
html[lang="en"] .topbar-consultation:focus-visible {
  text-decoration-color: #fff;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px clamp(20px, 8vw, 126px);
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 232px;
  width: 310px;
}

.brand-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1.16;
}

.brand-text strong {
  font-size: 25px;
  font-weight: 800;
}

.brand-text small {
  margin-top: 4px;
  color: #222;
  font-size: 14px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 36px);
  color: #555;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav .nav-ai {
  color: var(--wine);
  font-weight: 900;
}

.nav .nav-ai:hover,
.nav .nav-ai:focus-visible {
  color: var(--wine-light);
}

.nav .nav-study {
  color: var(--teal);
  font-weight: 900;
}

.nav .nav-study:hover,
.nav .nav-study:focus-visible {
  color: #164b4e;
}

.nav .language-toggle {
  min-width: 42px;
  padding: 7px 10px;
  border: 1px solid #cfcfcf;
  color: #111;
  text-align: center;
  line-height: 1;
}

.nav .language-toggle:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

html[lang="en"] .site-header {
  gap: clamp(16px, 2vw, 34px);
  padding-right: clamp(20px, 3.2vw, 60px);
  padding-left: clamp(20px, 3.2vw, 60px);
}

html[lang="en"] .nav {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(9px, 1.15vw, 22px);
  font-size: clamp(11px, .72vw, 14px);
}

html[lang="en"] .brand {
  flex: 0 0 auto;
  min-width: 205px;
  width: auto;
}

html[lang="en"] .brand-logo {
  width: 64px;
  height: 64px;
}

html[lang="en"] .brand-text strong {
  font-size: clamp(20px, 1.35vw, 25px);
}

.nav .nav-current {
  color: var(--wine);
}

/* AI detector page */
.detector-page {
  background: var(--paper);
}

.detector-header {
  position: sticky;
}

.detector-main {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 76px;
}

.detector-intro {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  align-items: center;
  gap: clamp(46px, 7vw, 112px);
  min-height: 408px;
  margin-bottom: 22px;
  padding: clamp(40px, 5vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #fff;
  background: #101010;
  box-shadow: var(--shadow);
}

.detector-intro::after {
  display: none;
}

.detector-intro > * {
  position: relative;
  z-index: 1;
}

.detector-intro .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 7px 11px;
  border-radius: 3px;
  color: #111;
  background: #79d3df;
  letter-spacing: 0.08em;
}

.detector-intro h1 {
  max-width: 850px;
  margin: 14px 0 24px;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 1.07;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.detector-intro h1 > span {
  display: block;
}

.detector-intro > div:first-child > p:last-child {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}

.detector-limit-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(121, 211, 223, 0.38);
  border-radius: 4px;
  color: #fff;
  background: #171717;
  box-shadow: 12px 12px 0 rgba(255, 255, 255, 0.08);
}

.detector-quota-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detector-quota-head > strong {
  color: #79d3df;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detector-quota-head > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 750;
}

.detector-quota-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #79d3df;
  box-shadow: 0 0 0 4px rgba(121, 211, 223, 0.12);
}

.detector-limit-card > p {
  margin: 2px 0 -2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.detector-quota-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.detector-quota-grid > div {
  padding: 18px 0;
}

.detector-quota-grid > div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

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

.detector-quota-grid strong {
  color: #fff;
  font-size: 38px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.detector-quota-grid > div:last-child strong {
  color: #79d3df;
}

.detector-quota-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.detector-quota-meter {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.detector-quota-meter i {
  display: block;
  width: 0;
  height: 100%;
  background: #79d3df;
  transition: width 300ms ease;
}

.detector-file-quota-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-top: -2px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
}

.detector-file-quota-summary[hidden] { display: none; }

.detector-file-quota-summary > strong {
  color: #fff;
  font-size: 12px;
}

.detector-file-quota-summary > span { color: rgba(255, 255, 255, 0.58); }

.detector-file-quota-summary b {
  color: #79d3df;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.detector-limit-card small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.6;
}

.detector-limit-card small strong {
  color: #fff;
}

.detector-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #79d3df;
  box-shadow: 0 0 0 4px rgba(121, 211, 223, 0.14);
}

.detector-method {
  margin-top: 62px;
}

.detector-method-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .6fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 24px;
  padding: 0 4px;
}

.detector-method-header .eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
}

.detector-method-header h2 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.detector-method-header > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.detector-method-shell {
  overflow: hidden;
  border: 1px solid #d8d4ce;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.1);
}

.detector-method-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 22px 28px 0;
  background: #fff;
}

.detector-method-tabs button {
  position: relative;
  min-height: 58px;
  padding: 0 10px 16px;
  border: 0;
  border-bottom: 3px solid #e7e3de;
  color: #8a847d;
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.detector-method-tabs button span {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: .16em;
}

.detector-method-tabs button:hover,
.detector-method-tabs button:focus-visible {
  color: #232323;
  outline: 0;
}

.detector-method-tabs button.active {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

.detector-method-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wine), #d84d3b);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.detector-method-tabs button.active::after {
  opacity: 1;
  animation: method-tab-line 700ms cubic-bezier(.2, .7, .2, 1) both;
}

.detector-method-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  min-height: 560px;
  padding: clamp(30px, 4vw, 58px);
  animation: method-panel-in 320ms ease both;
}

.detector-method-panel[hidden] {
  display: none;
}

.detector-method-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid #253536;
  border-radius: 6px;
  background-color: #101515;
  background-image: radial-gradient(rgba(121, 211, 223, .13) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: 14px 14px 0 #ece9e4;
}

.detector-method-copy > span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.detector-method-copy h3 {
  margin: 12px 0 20px;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.detector-method-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.detector-method-copy p + p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e3dfd9;
}

.detector-method-panel.active .detector-method-copy > * {
  animation: method-copy-in 520ms ease both;
}

.detector-method-panel.active .detector-method-copy > :nth-child(2) { animation-delay: 70ms; }
.detector-method-panel.active .detector-method-copy > :nth-child(3) { animation-delay: 140ms; }
.detector-method-panel.active .detector-method-copy > :nth-child(4) { animation-delay: 210ms; }

.method-input-visual {
  display: grid;
  place-items: center;
  padding: 48px;
}

.method-input-card {
  position: relative;
  width: min(100%, 520px);
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(121, 211, 223, .34);
  border-radius: 5px;
  background: #f7f6f2;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

.detector-method-panel.active .method-input-card {
  animation: method-card-enter 620ms cubic-bezier(.2, .8, .2, 1) both, method-card-float 5s ease-in-out 800ms infinite;
}

.method-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
  color: #6f716e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
}

.method-card-top strong {
  color: var(--teal);
}

.method-text-line {
  height: 8px;
  margin: 13px 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #d8d6d1 15%, #eef7f7 42%, #d8d6d1 70%);
  background-size: 220% 100%;
}

.detector-method-panel.active .method-text-line {
  animation: method-text-flow 2.8s ease-in-out infinite;
}

.detector-method-panel.active .method-text-line:nth-of-type(3) { animation-delay: 180ms; }

.detector-method-panel.active .method-token-row i {
  animation: method-token-in 480ms cubic-bezier(.2, .85, .25, 1.25) both;
}

.detector-method-panel.active .method-token-row i:nth-child(1) { animation-delay: 160ms; }
.detector-method-panel.active .method-token-row i:nth-child(2) { animation-delay: 260ms; }
.detector-method-panel.active .method-token-row i:nth-child(3) { animation-delay: 360ms; }
.detector-method-panel.active .method-token-row i:nth-child(4) { animation-delay: 460ms; }

.method-text-line.wide { width: 96%; }
.method-text-line.mid { width: 76%; }
.method-text-line.short { width: 58%; }

.method-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0;
}

.method-token-row i {
  padding: 7px 9px;
  color: #fff;
  border-radius: 3px;
  background: var(--teal);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.method-token-row i:nth-child(3) {
  background: var(--wine);
}

.method-scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -25%;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(121, 211, 223, .26), transparent);
  transform: skewX(-10deg);
  animation: method-scan 3.4s ease-in-out infinite;
}

.method-input-stats {
  position: absolute;
  right: 34px;
  bottom: 28px;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .12);
}

.method-input-stats span {
  padding: 10px 12px;
  color: rgba(255, 255, 255, .64);
  background: #111717;
  font-size: 9px;
}

.method-input-stats strong {
  margin-right: 6px;
  color: #79d3df;
}

.detector-method-panel.active .method-input-stats span {
  animation: method-stat-in 480ms ease both;
}

.detector-method-panel.active .method-input-stats span:nth-child(1) { animation-delay: 320ms; }
.detector-method-panel.active .method-input-stats span:nth-child(2) { animation-delay: 440ms; }
.detector-method-panel.active .method-input-stats span:nth-child(3) { animation-delay: 560ms; }

.method-signal-visual svg {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.method-grid path {
  fill: none;
  stroke: rgba(121, 211, 223, .1);
  stroke-width: 1;
  stroke-dasharray: 3 9;
}

.method-signal-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.method-signal-line.signal-a { stroke: #79d3df; }
.method-signal-line.signal-b { stroke: #9d2c20; }
.method-points.teal { fill: #79d3df; }
.method-points.wine { fill: #c84b3c; }
.method-points circle { opacity: .9; }

.detector-method-panel.active .method-signal-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: method-line-draw 1.35s cubic-bezier(.3, .7, .2, 1) both;
}

.detector-method-panel.active .method-signal-line.signal-b { animation-delay: 180ms; }

.detector-method-panel.active .method-points circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: method-point-in 500ms cubic-bezier(.2, .8, .2, 1.3) both, method-point-pulse 3.2s ease-in-out 1.5s infinite;
}

.detector-method-panel.active .method-points circle:nth-child(1) { animation-delay: 320ms, 1.5s; }
.detector-method-panel.active .method-points circle:nth-child(2) { animation-delay: 410ms, 1.65s; }
.detector-method-panel.active .method-points circle:nth-child(3) { animation-delay: 500ms, 1.8s; }
.detector-method-panel.active .method-points circle:nth-child(4) { animation-delay: 590ms, 1.95s; }
.detector-method-panel.active .method-points circle:nth-child(5) { animation-delay: 680ms, 2.1s; }
.detector-method-panel.active .method-points circle:nth-child(6) { animation-delay: 770ms, 2.25s; }

.method-signal-label {
  position: absolute;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  color: #fff;
  background: rgba(10, 12, 12, .84);
  backdrop-filter: blur(8px);
}

.method-signal-label strong,
.method-signal-label span {
  display: block;
}

.method-signal-label strong {
  color: #79d3df;
  font-size: 10px;
  letter-spacing: .12em;
}

.method-signal-label span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .65);
  font-size: 10px;
}

.method-signal-label.label-a { top: 52px; left: 58px; }
.method-signal-label.label-b { right: 48px; bottom: 45px; }

.detector-method-panel.active .method-signal-label {
  animation: method-label-in 560ms ease both;
}

.detector-method-panel.active .method-signal-label.label-a { animation-delay: 620ms; }
.detector-method-panel.active .method-signal-label.label-b { animation-delay: 760ms; }

.method-report-visual {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 42px;
}

.method-score-mini {
  display: grid;
  width: 118px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#b42318 74%, rgba(255, 255, 255, .13) 0);
}

.method-score-mini::before {
  content: "";
  grid-area: 1 / 1;
  width: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #101515;
}

.method-score-mini > div {
  z-index: 1;
  grid-area: 1 / 1;
  color: #fff;
  text-align: center;
}

.method-score-mini strong { font-size: 34px; }
.method-score-mini span { color: rgba(255, 255, 255, .54); font-size: 10px; }

.detector-method-panel.active .method-score-mini {
  animation: method-score-in 720ms cubic-bezier(.2, .85, .2, 1.2) both, method-score-glow 3s ease-in-out 1s infinite;
}

.method-report-paper {
  padding: 25px;
  border-radius: 5px;
  background: #fbfaf8;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .3);
}

.detector-method-panel.active .method-report-paper {
  animation: method-paper-in 650ms cubic-bezier(.2, .8, .2, 1) both;
}

.method-report-paper p {
  position: relative;
  margin: 10px 0;
  padding: 7px 8px;
  color: #484848;
  font-size: 11px;
  line-height: 1.55;
}

.method-report-paper p.review { background: rgba(241, 184, 72, .25); border-bottom: 2px solid #c17b08; }
.method-report-paper p.higher { background: rgba(225, 65, 52, .17); border-bottom: 2px solid #b42318; }

.method-report-paper p b {
  float: right;
  margin-left: 8px;
  padding: 2px 5px;
  border-radius: 8px;
  color: #fff;
  background: #8c1c13;
  font-size: 8px;
}

.detector-method-panel.active .method-report-paper p {
  animation: method-report-line-in 520ms ease both;
}

.detector-method-panel.active .method-report-paper p:nth-of-type(1) { animation-delay: 200ms; }
.detector-method-panel.active .method-report-paper p:nth-of-type(2) { animation-delay: 380ms; }
.detector-method-panel.active .method-report-paper p:nth-of-type(3) { animation-delay: 560ms; }

.detector-method-panel.active .method-report-paper p b {
  animation: method-badge-pulse 2.4s ease-in-out 1.1s infinite;
}

.method-report-key {
  display: flex;
  gap: 15px;
  margin-top: 18px;
  color: #777;
  font-size: 9px;
}

.method-report-key span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #c17b08;
}

.method-report-key span:last-child::before { background: #b42318; }

@keyframes method-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes method-tab-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes method-copy-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes method-card-enter {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes method-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes method-text-flow {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

@keyframes method-token-in {
  from { opacity: 0; transform: translateY(10px) scale(.86); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes method-stat-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes method-line-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes method-point-in {
  from { opacity: 0; transform: scale(0); }
  to { opacity: .9; transform: scale(1); }
}

@keyframes method-point-pulse {
  0%, 100% { opacity: .72; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes method-label-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes method-score-in {
  from { opacity: 0; transform: scale(.72) rotate(-16deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes method-score-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, 0); }
  50% { box-shadow: 0 0 0 10px rgba(180, 35, 24, .12); }
}

@keyframes method-paper-in {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes method-report-line-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes method-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@keyframes method-scan {
  0%, 15% { left: -25%; }
  75%, 100% { left: 110%; }
}

.detector-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: 42px max(20px, calc((100vw - 1420px) / 2));
  color: #fff;
  background: #050505;
}

.detector-footer > div > p {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.65;
}

.detector-footer-brand {
  color: #fff;
}

.detector-footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 4px;
}

.detector-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.detector-footer nav a:hover,
.detector-footer nav a:focus-visible {
  color: #fff;
}

@media (max-width: 900px) {
  .detector-intro,
  .detector-footer {
    grid-template-columns: 1fr;
  }

  .detector-limit-card {
    max-width: 480px;
  }

  .detector-file-quota-summary { grid-template-columns: 1fr auto; }
  .detector-file-quota-summary > span:last-child { grid-column: 2; }

  .detector-method-header,
  .detector-method-panel {
    grid-template-columns: 1fr;
  }

  .detector-method-header { gap: 18px; }

  .detector-method-visual { min-height: 390px; }

  .detector-footer {
    align-items: start;
  }

  .detector-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .detector-main {
    width: min(100% - 24px, 1420px);
    padding-top: 34px;
  }

  .detector-intro h1 {
    font-size: 40px;
  }

  .detector-limit-card {
    padding: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  }

  .detector-method { margin-top: 46px; }

  .detector-method-tabs {
    gap: 3px;
    padding: 16px 14px 0;
  }

  .detector-method-tabs button {
    min-height: 54px;
    padding: 0 5px 12px;
    font-size: 11px;
  }

  .detector-method-panel { padding: 18px; }
  .detector-method-visual { min-height: 330px; box-shadow: 7px 7px 0 #ece9e4; }
  .method-input-visual { padding: 24px 20px 72px; }
  .method-input-card { padding: 20px; }
  .method-input-stats { right: 18px; bottom: 18px; left: 18px; }
  .method-input-stats span { padding: 8px 5px; font-size: 8px; }
  .method-report-visual { grid-template-columns: 1fr; padding: 24px; }
  .method-score-mini { position: absolute; z-index: 2; top: 34px; right: 34px; width: 82px; }
  .method-score-mini::before { width: 62px; }
  .method-score-mini strong { font-size: 24px; }
  .method-report-paper { padding: 20px; }

  .detector-footer {
    padding: 34px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detector-method-panel,
  .detector-method-panel *,
  .detector-method-tabs button::after,
  .method-scan-beam {
    animation: none;
  }
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
  text-wrap: balance;
}

html[lang="en"] .service-process {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 26px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
}

.primary-btn {
  min-width: 210px;
  min-height: 84px;
  padding: 0 28px;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.88);
  font-size: 20px;
  text-transform: uppercase;
}

.dark-btn {
  background: rgba(0, 0, 0, 0.82);
}

.wine-btn {
  background: var(--wine);
}

.primary-btn:hover,
.secondary-btn:hover {
  filter: brightness(1.08);
}

.hero {
  position: relative;
  min-height: 575px;
  display: grid;
  align-items: center;
  padding: 86px clamp(20px, 10vw, 142px) 72px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 18, 27, 0.9) 0%, rgba(4, 18, 27, 0.76) 34%, rgba(4, 18, 27, 0.24) 63%, rgba(4, 18, 27, 0.06) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.28), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: var(--white);
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(38px, 4.7vw, 58px);
  line-height: 1.1;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 560px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 5vw, 56px);
  margin-top: 18px;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 clamp(20px, 8vw, 126px);
  background: var(--white);
  border-bottom: 1px solid #ececec;
}

.proof-band article {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid #eeeeee;
}

.proof-band article:last-child {
  border-right: 0;
}

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

.proof-band strong {
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
}

.proof-band span {
  margin-top: 11px;
  color: #6a7072;
  font-size: 13px;
  font-weight: 700;
}

.pathway-cta {
  padding: 36px clamp(20px, 8vw, 126px) 32px;
  color: var(--white);
  text-align: center;
  background: #020202;
}

.pathway-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
}

.pathway-cta p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.pathway-cta div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 10vw, 290px);
}

.outline-btn,
.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  font-size: 22px;
}

.outline-btn {
  color: var(--white);
  border: 2px solid var(--white);
}

.call-btn {
  color: var(--black);
  background: var(--white);
}

.section {
  padding: 92px clamp(20px, 8vw, 126px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.heritage-section {
  overflow: hidden;
  background: #f4f4f2;
}

.heritage-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  padding-bottom: 38px;
  border-bottom: 1px solid #cfd2d1;
}

.heritage-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.heritage-heading > p {
  max-width: 560px;
  margin: 0;
  color: #555b5d;
  font-size: 16px;
  line-height: 1.85;
}

.history-scroll {
  overflow-x: auto;
  padding: 48px 0 26px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.history-scroll::-webkit-scrollbar {
  display: none;
}

.history-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(11, minmax(170px, 1fr));
  min-width: 1870px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-track::before {
  position: absolute;
  top: 59px;
  right: 3px;
  left: 3px;
  height: 1px;
  background: #aeb3b2;
  content: "";
}

.history-track li {
  position: relative;
  min-height: 198px;
  padding: 0 24px 0 0;
}

.history-track li::before {
  position: absolute;
  top: 53px;
  left: 0;
  z-index: 1;
  width: 13px;
  height: 13px;
  background: var(--wine);
  border: 3px solid #f4f4f2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--wine);
  content: "";
}

.history-track li:first-child::before {
  left: 3px;
}

.history-track time,
.history-track strong {
  display: block;
}

.history-track time {
  margin-bottom: 54px;
  color: var(--wine);
  font-size: 17px;
  font-weight: 800;
}

.history-track strong {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 17px;
}

.history-track p {
  max-width: 176px;
  margin: 0;
  color: #656b6d;
  font-size: 13px;
  line-height: 1.7;
}

.history-controls {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.history-controls button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--white);
  font-size: 19px;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.history-controls button:disabled {
  color: #747879;
  background: #d9dcdb;
  cursor: default;
}

.history-controls input[type="range"] {
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  cursor: grab;
}

.history-controls input[type="range"]:active {
  cursor: grabbing;
}

.history-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: linear-gradient(to right, var(--wine) 0 var(--history-progress, 0%), #b8bcbb var(--history-progress, 0%) 100%);
}

.history-controls input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  appearance: none;
  background: var(--wine);
  border: 4px solid #f4f4f2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--wine);
}

.history-controls input[type="range"]::-moz-range-track {
  height: 5px;
  background: #b8bcbb;
}

.history-controls input[type="range"]::-moz-range-progress {
  height: 5px;
  background: var(--wine);
}

.history-controls input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--wine);
  border: 3px solid #f4f4f2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--wine);
}

.honors-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(38px, 6vw, 90px);
  margin-top: 54px;
  padding-top: 54px;
  border-top: 1px solid #cfd2d1;
}

.honors-heading {
  max-width: 420px;
}

.honors-heading h3 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.honors-heading > p:last-child {
  color: #5e6466;
  line-height: 1.8;
}

.honors-archive {
  min-width: 0;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.certificate-item {
  min-width: 0;
  margin: 0;
}

.certificate-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.414 / 1;
  background: #ffffff;
  border: 1px solid #d5d7d6;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.06);
}

.certificate-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-preview-top20 img {
  object-fit: contain;
  object-position: center;
}

.certificate-item figcaption {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  padding: 11px 1px 0;
}

.certificate-item figcaption span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
}

.certificate-item figcaption strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.accreditation-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid #cfd2d1;
}

.accreditation-strip article {
  display: grid;
  grid-template-rows: 88px auto;
  gap: 15px;
  justify-items: center;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
  border-right: 1px solid #d7d9d8;
}

.accreditation-strip article:last-child {
  border-right: 0;
}

.accreditation-strip img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.accreditation-strip strong {
  max-width: 150px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.intro-section {
  color: var(--white);
  text-align: center;
  background: var(--charcoal);
}

.intro-section .section-heading {
  margin-right: auto;
  margin-left: auto;
}

.intro-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

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

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

.intro-grid article,
.case-card,
.mentor-card,
.product-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 8px 28px rgba(23, 32, 39, 0.06);
}

.intro-grid p,
.case-card p,
.mentor-card p,
.product-grid p,
.video-copy p,
.contact-section p {
  color: var(--muted);
  line-height: 1.75;
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--wine);
  border-radius: 2px;
  font-weight: 800;
}

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

.video-section-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(420px, 1.25fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}

.video-section-heading h2,
.video-section-heading p {
  margin-bottom: 0;
}

.video-section-heading > p {
  color: var(--muted);
  line-height: 1.8;
}

.featured-course {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(480px, 1.28fr);
  min-height: 480px;
  overflow: hidden;
  background: #101010;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.featured-course-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 4vw, 58px);
  color: var(--white);
}

.featured-label {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 7px 11px;
  color: #111;
  background: #79d3df;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
}

.featured-course-copy .course-meta {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.featured-course-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.featured-course-copy > p:not(.course-meta) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.course-details {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.course-details div {
  padding-left: 12px;
  border-left: 2px solid rgba(121, 211, 223, 0.55);
}

.course-details dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.course-details dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.featured-contact {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 18px;
  color: var(--white);
  background: var(--wine);
  border-radius: 3px;
  font-weight: 800;
}

.course-video-card {
  align-self: stretch;
  overflow: hidden;
  background: #050505;
}

.course-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: #050505;
}

.course-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-load-button {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 8, 8, 0.82);
  font: inherit;
  font-weight: 800;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.preview-load-button[hidden] {
  display: none;
}

.preview-duration {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.preview-end-card[hidden] {
  display: none;
}

.preview-end-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px;
  color: var(--white);
  text-align: center;
  background: rgba(10, 10, 10, 0.9);
}

.preview-end-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.preview-end-card > p:not(.eyebrow) {
  max-width: 420px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.preview-actions a,
.preview-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--white);
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
}

.preview-actions a {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.preview-actions button {
  color: var(--white);
  background: transparent;
}

.video-library-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  margin-bottom: 20px;
}

.video-library-heading h3 {
  margin-bottom: 0;
  font-size: 30px;
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 50%;
  font-size: 21px;
  cursor: pointer;
}

.video-controls button:disabled {
  opacity: 0.25;
  cursor: default;
}

.video-controls span {
  min-width: 48px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.video-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.video-filters::-webkit-scrollbar {
  display: none;
}

.video-filters button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  color: #555;
  background: transparent;
  border: 1px solid #d9d6d1;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.video-filters button.is-active {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.video-library-carousel {
  overflow: hidden;
}

.video-library-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.video-library-track::-webkit-scrollbar {
  display: none;
}

.video-library-track:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.video-library-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  scroll-snap-align: start;
}

.video-library-card[hidden] {
  display: none;
}

.video-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #151515;
  cursor: pointer;
  text-align: left;
}

.video-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.56), transparent 58%);
}

.video-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.video-library-card:hover .video-thumbnail img {
  transform: scale(1.025);
}

.video-thumbnail.image-campus img,
.video-thumbnail.image-counselling img {
  filter: saturate(0.72) contrast(0.9);
}

.card-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--wine);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.card-duration,
.card-type {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.76);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
}

.video-card-copy {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.video-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.video-card-tags span {
  padding: 4px 7px;
  color: var(--teal);
  background: #e7f0f0;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
}

.video-card-copy h4 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.4;
}

.video-card-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.video-card-copy > a,
.video-card-copy > .video-card-action {
  margin-top: auto;
  min-height: 0;
  width: auto;
  padding: 0;
  border: 0;
  color: var(--wine);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.library-video-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.library-video-modal[hidden] {
  display: none;
}

.library-video-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 8, 8, 0.82);
}

.library-video-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  overflow: hidden;
  color: var(--white);
  background: #111111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.library-video-panel video {
  display: block;
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.library-video-heading {
  padding: 19px 64px 20px 22px;
}

.library-video-heading h2 {
  margin: 0 0 6px;
  font-size: 21px;
}

.library-video-heading p {
  margin: 0;
  color: #bfc3c4;
  font-size: 13px;
}

.library-video-close {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid #666666;
  color: #ffffff;
  background: #242424;
  border-radius: 50%;
  cursor: pointer;
}

.play-icon {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: var(--wine);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}

.cases-section {
  background: var(--white);
}

.case-heading-row,
.mentor-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.case-controls,
.mentor-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.case-controls button,
.mentor-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.case-controls button:hover:not(:disabled),
.mentor-controls button:hover:not(:disabled) {
  background: var(--wine);
  transform: translateY(-2px);
}

.case-controls button:disabled,
.mentor-controls button:disabled {
  opacity: 0.25;
  cursor: default;
}

.case-controls span,
.mentor-controls span {
  min-width: 48px;
  color: #676767;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.case-carousel,
.mentor-carousel {
  width: 100%;
  overflow: hidden;
}

.case-track,
.mentor-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.case-track::-webkit-scrollbar,
.mentor-track::-webkit-scrollbar {
  display: none;
}

.case-track:focus-visible,
.mentor-track:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 6px;
}

.case-track .case-card {
  display: flex;
  min-height: 305px;
  flex-direction: column;
  scroll-snap-align: start;
}

.case-card .tag {
  display: inline-flex;
  width: fit-content;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--wine);
  background: #f4e9e7;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.case-card span {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--wine);
  font-weight: 800;
}

.mentors-section {
  background: #f3f3f1;
}

.mentor-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.mentor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(23, 32, 39, 0.11);
}

.mentor-specialty {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: var(--teal);
  background: #e7f0f0;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.mentor-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 24%;
  background: #dedede;
}

.mentor-card-copy {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 24px 24px;
}

.mentor-card-copy h3 {
  margin-bottom: 10px;
}

.mentor-card-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.product-grid article {
  min-height: 250px;
}

.product-grid a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--wine);
  font-weight: 800;
}

.strengths-section {
  color: var(--white);
  background: #181818;
}

.strengths-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: end;
  margin-bottom: 50px;
}

.strengths-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.strengths-heading > p {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
}

.strengths-section .eyebrow {
  color: #78cdd2;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.strength-grid article {
  min-height: 242px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.strength-grid article > span {
  display: block;
  margin-bottom: 28px;
  color: #78cdd2;
  font-size: 12px;
  font-weight: 800;
}

.strength-grid h3 {
  margin-bottom: 12px;
  color: var(--white);
}

.strength-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.75;
}

.service-process {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1.52fr);
  gap: 48px;
  align-items: end;
  margin-top: 72px;
}

.process-heading h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
}

.service-process ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-process li {
  position: relative;
  min-width: 0;
  padding: 30px 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.service-process li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: #78cdd2;
  border-radius: 50%;
}

.service-process b,
.service-process strong,
.service-process span {
  display: block;
}

.service-process b {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.service-process strong {
  margin-bottom: 7px;
  font-size: 14px;
}

.service-process li span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  line-height: 1.45;
}

.partners-section {
  background: #f3f3f1;
}

.partners-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.partners-heading p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-network {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  margin-bottom: 38px;
  border-top: 1px solid #ccd1d0;
  border-bottom: 1px solid #ccd1d0;
}

.service-network > div {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border-right: 1px solid #d8dcdb;
}

.service-network > div:last-child {
  border-right: 0;
}

.service-network span,
.service-network strong {
  display: block;
}

.service-network span {
  color: #72797b;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-network strong {
  margin-top: 6px;
  font-size: 16px;
}

.service-network .network-title span {
  color: var(--teal);
}

.service-network .network-title strong {
  font-size: 18px;
}

.partner-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid #cfd4d4;
  scrollbar-width: none;
}

.partner-tabs::-webkit-scrollbar {
  display: none;
}

.partner-tabs button {
  position: relative;
  flex: 0 0 auto;
  min-width: 112px;
  padding: 16px 20px 18px;
  color: #596165;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.partner-tabs button::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  content: "";
  background: transparent;
}

.partner-tabs button:hover,
.partner-tabs button:focus-visible,
.partner-tabs button.is-active {
  color: var(--ink);
}

.partner-tabs button.is-active::after {
  background: var(--teal);
}

.partner-panel {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 46px 0 10px;
}

.partner-panel[hidden] {
  display: none;
}

.partner-country {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 8px 0 30px;
  text-align: center;
}

.partner-country span {
  margin-top: 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-country strong {
  margin-top: 4px;
  font-size: 30px;
}

.partner-map {
  width: min(100%, 280px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: hue-rotate(138deg) saturate(62%) brightness(76%);
}

.map-uk {
  aspect-ratio: 354 / 489;
  background-image: url("assets/map-uk.png");
}

.map-us {
  aspect-ratio: 750 / 357;
  background-image: url("assets/map-us.png");
}

.map-au {
  aspect-ratio: 750 / 357;
  background-image: url("assets/map-au.png");
}

.map-ca {
  aspect-ratio: 750 / 489;
  background-image: url("assets/map-ca.png");
}

.map-nz {
  aspect-ratio: 750 / 489;
  background-image: url("assets/map-nz.png");
}

.map-sg {
  aspect-ratio: 750 / 489;
  background-image: url("assets/map-sg.png");
}

.partner-universities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-universities li {
  min-width: 0;
  padding: 14px 0 13px;
  border-bottom: 1px solid #d8dddd;
}

.partner-universities strong,
.partner-universities span {
  display: block;
  overflow-wrap: anywhere;
}

.partner-universities strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
}

.partner-universities span {
  color: #71797c;
  font-size: 12px;
  line-height: 1.45;
}

.payment-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
  padding: 92px clamp(20px, 8vw, 126px);
  background: #f3f3f1;
}

.payment-auth-gate,
.payment-account-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid #cfd8d7;
  background: #f5faf9;
}

.payment-auth-gate strong,
.payment-auth-gate span,
.payment-account-state strong,
.payment-account-state span { display: block; }
.payment-auth-gate span,
.payment-account-state span { margin-top: 4px; color: #667071; font-size: 13px; }
.payment-auth-gate a,
.payment-account-state a { flex: 0 0 auto; padding: 10px 16px; color: #fff; background: #176f76; font-size: 13px; font-weight: 800; }

.account-page { min-height: 100vh; background: #f3f3f1; }
.account-header { position: relative; }
.account-main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(40px, 8vw, 120px); width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(70px, 10vw, 130px) 0; }
.account-intro h1 { max-width: 650px; margin: 10px 0 22px; font-size: clamp(42px, 5vw, 70px); line-height: 1.03; letter-spacing: -.045em; }
.account-intro > p:not(.eyebrow) { max-width: 610px; color: #626a6c; font-size: 17px; line-height: 1.85; }
.account-intro ul { display: grid; gap: 12px; margin: 30px 0 0; padding: 25px 0 0 20px; border-top: 1px solid #ccd1d0; color: #3f4749; line-height: 1.55; }
.account-card { align-self: start; padding: clamp(28px, 4vw, 48px); border: 1px solid #d6d9d8; background: #fff; box-shadow: 14px 16px 0 rgba(20, 74, 77, .08); }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: -8px -8px 34px; border-bottom: 1px solid #d8dcdb; }
.account-tabs button { padding: 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #747b7d; font-weight: 800; cursor: pointer; }
.account-tabs button.is-active { border-color: #176f76; color: #176f76; }
.account-form[hidden],
.account-card[hidden],
.account-message[hidden] { display: none !important; }
.account-form { display: grid; gap: 18px; }
.account-form h2 { margin: 0 0 8px; font-size: 30px; }
.account-form label { display: grid; gap: 8px; font-weight: 800; }
.account-form input { min-height: 48px; padding: 11px 13px; border: 1px solid #cfd3d2; background: #fbfbfa; }
.password-field { position: relative; display: block; }
.password-field input { width: 100%; padding-right: 52px; }
.account-form .password-toggle { position: absolute; top: 50%; right: 5px; width: 40px; min-height: 38px; padding: 0; transform: translateY(-50%); border: 0; color: #4c5557; background: transparent; }
.password-eye { position: relative; display: block; width: 20px; height: 13px; margin: auto; border: 2px solid currentColor; border-radius: 50% / 60%; }
.password-eye::after { position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; content: ""; transform: translate(-50%, -50%); border-radius: 50%; background: currentColor; }
.password-toggle[aria-pressed="true"] .password-eye::before { position: absolute; z-index: 1; top: 4px; left: -3px; width: 23px; height: 2px; content: ""; transform: rotate(-35deg); background: #991e10; }
.account-form button { min-height: 50px; border: 0; color: #fff; background: #991e10; font-weight: 800; cursor: pointer; }
.account-form > p,.account-form small { margin: 0; color: #777f80; font-size: 12px; }
.account-consent { grid-template-columns: 20px 1fr; align-items: start; font-size: 13px; font-weight: 500 !important; line-height: 1.6; }
.account-consent input { min-height: 0; margin-top: 3px; }
.account-consent a { text-decoration: underline; }
.account-message { margin: 18px 0 0; padding: 12px; color: #176f76; background: #eef8f6; }
.account-message.is-error { color: #991e10; background: #fff0ed; }
.account-profile h2 { margin: 10px 0 5px; font-size: 34px; }
.account-profile > p:not(.eyebrow) { margin: 0; color: #707879; }
.account-school-form { margin: 24px 0 0; padding: 18px; border: 1px solid #ccd6d5; background: #f3f8f7; }
.account-school-form > header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid #d2dcdb; }
.account-school-form > header div { display: grid; gap: 4px; }
.account-school-form > header strong { font-size: 16px; }
.account-school-form > header small,.account-school-form > footer small { color: #6d7776; font-size: 11px; font-weight: 400; }
.account-school-form > header > span { max-width: 50%; padding: 6px 9px; color: #0e666c; background: #dff1ef; font-size: 11px; font-weight: 800; text-align: right; }
.account-school-form label { display: grid; gap: 8px; font-weight: 800; }
.school-finder { display: grid; grid-template-columns: .72fr 1.28fr; gap: 12px; margin-top: 15px; }
.account-school-form input,.account-school-form select { min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #aebdbc; background: #fff; }
.school-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; max-height: 215px; margin-top: 12px; padding: 8px; overflow:auto; border: 1px solid #d3dcdb; background:#fff; }
.school-result { min-width: 0!important; padding: 10px 12px; border: 1px solid #d7dddc!important; background: #fafafa!important; color: #273131!important; text-align: left; cursor: pointer; }
.school-result:hover { border-color:#59a4a9!important; background:#f0f9f8!important; }
.school-result[aria-selected="true"] { border-color:#176e74!important; background:#176e74!important; color:#fff!important; }
.school-result-empty { grid-column:1/-1; margin:0; padding:18px; color:#777; text-align:center; font-size:12px; }
.school-select { width:100%; min-height:48px; margin-top:12px; padding:0 12px; border:1px solid #aebdbc; background:#fff; color:#273131; font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.school-select:focus { border-color:#176e74; outline:2px solid rgba(23,110,116,.16); }
.account-school-form > footer { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:12px; }
.account-school-form button { min-width: 120px; border: 0; background: #176e74; color: #fff; font-weight: 800; cursor: pointer; }
.account-school-form > footer button { min-height: 42px; padding: 0 18px; }
.account-school-form button:disabled { opacity: .6; cursor: wait; }
.account-school-form > p { margin: 10px 0 0; color: #147151; font-size: 11px; }
.account-school-form > p.is-error { color: #a21d13; }
@media(max-width:620px){.school-finder,.school-results{grid-template-columns:1fr}.account-school-form>header,.account-school-form>footer{align-items:stretch;flex-direction:column}.account-school-form>header>span{max-width:none;text-align:left}}
.account-membership { display: grid; gap: 7px; margin: 30px 0; padding: 24px; color: #fff; background: #123f42; }
.account-membership span,.account-membership small { color: #a9dadd; font-size: 12px; }
.account-membership strong { font-size: 28px; }
.account-coupons { margin: -10px 0 30px; padding: 22px; border: 1px solid #cfd9d8; background: #f5f9f8; }
.account-coupons > header { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:16px; }
.account-coupons > header .eyebrow { margin:0 0 5px; }
.account-coupons h3 { margin:0; font-size:25px; }
.account-coupons > header > span { color:#7b8283; font-size:12px; text-align:right; }
.account-coupon-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.account-coupon { display:flex; align-items:center; gap:15px; padding:16px 18px; border:1px solid #d7dcdb; background:#fbfbfa; }
.account-coupon > strong { display:grid; place-items:center; min-width:64px; min-height:46px; color:#fff; background:#a91e12; font-size:22px; }
.account-coupon > div { display:grid; gap:5px; min-width:0; }
.account-coupon b { overflow-wrap:anywhere; font-size:13px; }
.account-coupon small { color:#687071; font-size:12px; }
.account-purchases { margin: 30px 0; padding-top: 26px; border-top: 1px solid #d7dcdb; }
.account-purchases > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.account-purchases > header .eyebrow { margin: 0 0 5px; }
.account-purchases h3 { margin: 0; font-size: 25px; }
.account-purchases > header > span { color: #7b8283; font-size: 12px; white-space: nowrap; }
.account-purchase-list { display: grid; gap: 12px; }
.account-purchase { padding: 18px; border: 1px solid #d7dcdb; background: #fbfbfa; }
.account-purchase > header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.account-purchase > header > div { display: grid; gap: 6px; }
.account-purchase-type { color: #176f76; font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.account-purchase strong { font-size: 17px; line-height: 1.35; }
.account-purchase time { color: #747c7d; font-size: 12px; white-space: nowrap; }
.account-purchase dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #e0e3e2; }
.account-purchase dl div { min-width: 0; }
.account-purchase dt { color: #7a8182; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.account-purchase dd { overflow-wrap: anywhere; margin: 4px 0 0; font-size: 12px; font-weight: 750; }
.account-purchase-empty { margin: 0; padding: 22px; border: 1px dashed #cbd2d1; color: #697172; background: #fafaf9; font-size: 13px; line-height: 1.65; }
.account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-actions a,.account-actions button { min-height: 46px; padding: 12px; border: 1px solid #1b5559; background: #fff; color: #164b4f; text-align: center; font-weight: 800; cursor: pointer; }
.account-actions button { grid-column: 1 / -1; color: #666; border-color: #ccc; }

@media (max-width: 800px) {
  .account-main { grid-template-columns: 1fr; padding: 52px 0; }
  .account-intro h1 { font-size: 44px; }
  .payment-auth-gate,.payment-account-state { align-items: flex-start; flex-direction: column; }
  .account-purchase dl { grid-template-columns: 1fr; gap: 9px; }
  .account-coupon-list { grid-template-columns: 1fr; }
}

.payment-intro {
  position: sticky;
  top: 126px;
}

.payment-intro h2 {
  margin-bottom: 20px;
}

.payment-intro > p:last-of-type {
  max-width: 560px;
  color: #5f6669;
  line-height: 1.85;
}

.payment-notice {
  display: grid;
  gap: 9px;
  margin-top: 32px;
  padding: 22px 0;
  border-top: 1px solid #cfd2d1;
  border-bottom: 1px solid #cfd2d1;
  color: #555d60;
  font-size: 14px;
  line-height: 1.65;
}

.payment-notice strong {
  color: var(--ink);
  font-size: 16px;
}

.payment-form {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid #dddeda;
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(20, 20, 20, 0.06);
}

.payment-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.payment-form label,
.payment-methods legend {
  color: #36464d;
  font-weight: 700;
}

.payment-form label {
  display: grid;
  gap: 7px;
}

.payment-form input,
.payment-form select {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbfa;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.payment-currency-field,
.payment-amount-field,
.payment-coupon-field,
.payment-code-field {
  grid-column: 1 / -1;
}
.payment-coupon-field[hidden] { display: none; }

.payment-code-status {
  min-height: 18px;
  color: #777;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.payment-code-status.is-valid {
  color: #356247;
}

.payment-code-status.is-invalid {
  color: var(--wine);
}

.amount-input {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  overflow: hidden;
  background: #fbfbfa;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.amount-input b {
  text-align: center;
  border-right: 1px solid var(--line);
}

.amount-input input {
  border: 0;
  border-radius: 0;
}

.payment-methods {
  display: block;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 0;
  white-space: normal;
}

.payment-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.payment-methods label {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.payment-methods label[hidden] {
  display: none;
}

.payment-methods input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.payment-methods span {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.payment-methods small {
  color: #73797b;
  font-weight: 500;
}

.payment-methods input:checked + span {
  border-color: var(--wine);
  box-shadow: inset 0 0 0 1px var(--wine);
}

.payment-methods input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.payment-form .payment-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.payment-form .payment-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--wine);
}

.payment-consent a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.payment-form-note {
  margin: -8px 0 0 28px;
  color: #747a7c;
  font-size: 12px;
  line-height: 1.55;
}

.payment-submit {
  width: 100%;
  min-height: 58px;
  background: var(--wine);
}

.payment-submit:disabled {
  color: rgba(255, 255, 255, 0.72);
  background: #8d8d8a;
  cursor: not-allowed;
  opacity: 1;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
  padding: 92px clamp(20px, 8vw, 126px);
  color: var(--white);
  background: #111111;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #36464d;
  font-weight: 700;
}

.required-mark {
  color: var(--wine-light);
}

.field-title {
  display: block;
}
.payment-coupon-title { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.payment-coupon-title a { color:#a91e12; font-size:12px; font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.payment-coupon-title a:hover { color:#741309; }

.field-help {
  color: #777;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbfa;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .consent-field {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form .consent-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--wine);
}

.contact-form .primary-btn {
  width: 100%;
  min-height: 58px;
  background: var(--wine);
}

.site-footer {
  padding: 46px clamp(20px, 8vw, 126px) 24px;
  color: rgba(255, 255, 255, 0.74);
  background: #050505;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(135px, 190px) minmax(300px, 400px);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}

.footer-main > * {
  min-width: 0;
}

.site-footer strong {
  color: var(--white);
}

.footer-profile {
  max-width: 680px;
}

.footer-profile p {
  max-width: 620px;
  margin: 20px 0 0;
  line-height: 1.8;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 4px;
}

.footer-legal {
  display: grid;
  gap: 13px;
  align-content: start;
}

.footer-legal h2 {
  margin: 0 0 5px;
  color: var(--white);
  font-size: 14px;
}

.footer-legal a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 22px;
  align-items: start;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-community h2 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.footer-community-copy strong {
  display: block;
  font-size: 18px;
}

.footer-community-copy p {
  margin: 8px 0 13px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.6;
}

.footer-community-copy a {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-community-copy a:hover,
.footer-community-copy a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-community-code {
  display: block;
  padding: 7px;
  background: var(--white);
  border-radius: 4px;
}

.footer-community-code img {
  display: block;
  width: 112px;
  height: 112px;
}

@media (max-width: 1180px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  }

  .footer-community {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 112px;
    max-width: 440px;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .footer-community-code img {
    width: 98px;
    height: 98px;
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  max-width: 1500px;
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.modal[hidden] {
  display: none;
}

.consultation-modal[hidden] {
  display: none;
}

.payment-modal[hidden] {
  display: none;
}

.brand-film-modal[hidden] {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-film-modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.brand-film-panel {
  position: relative;
  width: min(1180px, 100%);
  overflow: hidden;
  background: #080808;
  box-shadow: var(--shadow);
}

.brand-film-close {
  position: absolute;
  z-index: 6;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.brand-film-close::before,
.brand-film-close::after {
  position: absolute;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.brand-film-close::before {
  transform: rotate(45deg);
}

.brand-film-close::after {
  transform: rotate(-45deg);
}

.brand-film-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080808;
}

.brand-film-office-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-film-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.72), rgba(5, 7, 8, 0.08) 63%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 48%);
  pointer-events: none;
}

.brand-film-error[hidden] {
  display: none;
}

.brand-film-error {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  color: var(--white);
  background: #080808;
  text-align: center;
}

.brand-film-error strong {
  font-size: 24px;
}

.brand-film-error span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.brand-film-story {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 8%;
  width: min(640px, 70%);
  color: var(--white);
  transform: translateY(-48%);
  transition: opacity 600ms ease, transform 720ms cubic-bezier(.2,.8,.2,1), filter 600ms ease;
}

.brand-film-story.align-right {
  right: 8%;
  left: auto;
  text-align: right;
}

.brand-film-story.align-center {
  right: 12%;
  left: 12%;
  width: auto;
  text-align: center;
}

.brand-film-story.is-entering {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-42%);
}

.brand-film-kicker {
  margin: 0 0 18px;
  color: #79d3df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-film-display {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 800;
  line-height: 1.16;
}

.brand-film-subtitle {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.5vw, 21px);
}

.brand-film-place {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 86px;
  display: grid;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

.brand-film-place span {
  font-size: 9px;
  font-weight: 900;
}

.brand-film-place strong {
  color: var(--white);
  font-size: 13px;
}

.brand-film-status {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 24px;
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
}

.brand-film-status span + span {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.brand-film-controls {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 46px 1fr 96px;
  gap: 14px;
  align-items: center;
  padding: 42px 24px 18px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.brand-film-controls button {
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
}

.brand-film-progress {
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.brand-film-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #79d3df;
}

.brand-film-controls time {
  font-size: 12px;
  text-align: right;
}

.brand-film-replay {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%);
  font-weight: 800;
  cursor: pointer;
}

.brand-film-replay[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.consultation-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.payment-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.payment-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px 38px;
  width: min(980px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 46px);
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.payment-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #333;
  background: #f0f0ee;
  font-size: 27px;
  cursor: pointer;
}

.payment-summary h2 {
  margin-bottom: 26px;
  font-size: 34px;
}

.payment-summary dl {
  margin: 0;
}

.payment-summary dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e3e0;
}

.payment-summary dt {
  color: #707779;
  font-size: 13px;
}

.payment-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.payment-manual-status {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
  color: #755b17;
  font-size: 13px;
  font-weight: 700;
}

.payment-manual-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d09e17;
}

.payment-destination {
  display: grid;
  place-items: center;
  min-height: 410px;
  padding: 20px;
  background: #f4f4f2;
  border: 1px solid #dddeda;
}

.payment-destination > div {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.payment-destination > .alipay-account,
.payment-destination > .uk-bank-account {
  align-content: center;
  min-height: 368px;
}

.payment-destination > div[hidden] {
  display: none;
}

.payment-method-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  color: #73797b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-method-heading::before,
.payment-method-heading::after {
  height: 1px;
  content: "";
  background: #d6d8d5;
}

.payment-method-heading span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

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

.payment-destination strong {
  max-width: 380px;
  line-height: 1.55;
}

.payment-route-badge {
  margin: -3px 0 0;
  color: #6f7678;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-account-highlight {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
}

.payment-account-highlight > span {
  color: #707779;
  font-size: 12px;
  font-weight: 700;
}

.payment-qr-original {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.uk-bank-account dl {
  width: min(100%, 360px);
  margin: 0;
  text-align: left;
}

.uk-bank-account dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #d8dad7;
}

.uk-bank-account dt {
  color: #73797b;
  font-size: 13px;
}

.uk-bank-account dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.uk-bank-account small {
  max-width: 390px;
  color: #62696b;
  line-height: 1.6;
}

.alipay-account strong {
  font-size: clamp(20px, 3vw, 30px);
  overflow-wrap: anywhere;
}

.alipay-account button,
.payment-next-step button {
  min-height: 44px;
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.alipay-account small {
  min-height: 18px;
  color: #4a6d56;
}

.payment-transfer-guide {
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #d6d8d5;
  text-align: left;
}

.payment-transfer-guide > strong {
  color: var(--ink);
  font-size: 13px;
}

.payment-transfer-guide ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-transfer-guide li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  color: #5f6668;
  font-size: 12px;
  line-height: 1.45;
}

.payment-transfer-guide li b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
  border: 1px solid #bfc3c1;
  border-radius: 50%;
  font-size: 10px;
}

.payment-safety,
.payment-next-step {
  grid-column: 1 / -1;
}

.payment-safety {
  padding: 24px;
  background: #faf7ef;
  border: 1px solid #ded7c6;
}

.payment-safety h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.payment-safety p {
  margin: 0 0 14px;
  color: #555d60;
  font-size: 13px;
  line-height: 1.7;
}

.payment-safety ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: #555d60;
  font-size: 13px;
  line-height: 1.65;
}

.payment-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #d9dad7;
}

.payment-next-step strong,
.payment-next-step p {
  grid-column: 1;
}

.payment-next-step p {
  margin: 0;
  color: #5f6669;
  font-size: 13px;
  line-height: 1.65;
}

.payment-next-step button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

[data-payment-stage][hidden],
.payment-confirmation[hidden] {
  display: none !important;
}

.payment-confirmation {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  width: min(600px, 100%);
  margin: 28px auto;
  padding: clamp(38px, 7vw, 70px) clamp(24px, 5vw, 54px);
  text-align: center;
  border: 1px solid #d5d9d7;
  background: #f8faf9;
}

.payment-confirmation-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: #fff;
  background: #176f76;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
}

.payment-confirmation h2 {
  margin: 9px 0 14px;
  font-size: clamp(28px, 4vw, 40px);
}

.payment-confirmation > p:not(.eyebrow) {
  max-width: 470px;
  margin: 0;
  color: #596264;
  line-height: 1.75;
}

.payment-confirmation > div {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.payment-confirmation a,
.payment-confirmation button {
  display: grid;
  min-width: 150px;
  min-height: 46px;
  place-items: center;
  padding: 10px 18px;
  border: 1px solid #171717;
  color: #fff;
  background: #171717;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.payment-confirmation button {
  color: #171717;
  background: #fff;
}

@media (max-width: 560px) {
  .payment-confirmation > div { width: 100%; flex-direction: column; }
  .payment-confirmation a,.payment-confirmation button { width: 100%; }
}

.consultation-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 34px;
  width: min(850px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 52px);
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.consultation-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #333;
  background: #f0f0ee;
  font-size: 27px;
  cursor: pointer;
}

.consultation-copy {
  align-self: center;
}

.consultation-copy h2 {
  max-width: 420px;
  font-size: clamp(28px, 4vw, 40px);
}

.consultation-copy > p:not(.eyebrow) {
  color: #5d5d5d;
  line-height: 1.75;
}

.consultation-copy [data-submitted-wechat] {
  color: var(--wine);
  overflow-wrap: anywhere;
}

.consultation-copy .submission-preview-note {
  padding: 10px 12px;
  color: #6b4f00;
  background: #fff6d9;
  border-left: 3px solid #d5a629;
  font-size: 13px;
}

.consultation-done {
  min-height: 46px;
  margin-top: 10px;
  padding: 0 24px;
  color: var(--white);
  background: var(--wine);
  border: 0;
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
}

.qr-area {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background: #f5f5f3;
  border: 1px solid #e4e2de;
  border-radius: 6px;
}

.qr-area img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 860 / 869;
  object-fit: contain;
  background: var(--white);
}

.qr-area strong {
  font-size: 16px;
}

.qr-area span {
  color: #777;
  font-size: 12px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 20, 0.72);
}

.modal-panel {
  position: relative;
  width: min(920px, 100%);
  background: #0f181c;
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
}

.mock-video {
  display: grid;
  min-height: min(56vw, 520px);
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 48px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(23, 32, 39, 0.88), rgba(125, 20, 7, 0.62)),
    url("assets/hero-counselling-campus.webp") center / cover;
}

@media (max-width: 1280px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  html[lang="en"] .site-header {
    flex-wrap: wrap;
  }

  html[lang="en"] .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }
}

@media (max-width: 1520px) {
  html[lang="en"] .service-process ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 0;
  }
}

@media (max-width: 860px) {
  html[lang="en"] .topbar-en {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  html[lang="en"] .topbar-en > * {
    min-width: 0;
    min-height: 40px;
    justify-content: center;
    padding: 7px 14px;
    text-align: center;
    white-space: normal;
  }

  html[lang="en"] .topbar-en > :nth-child(odd) {
    border-left: 0;
  }

  html[lang="en"] .topbar-en > :nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 940px) {
  .topbar {
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 14px;
  }

  .topbar-cn {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
  }

  .topbar-cn > * {
    min-width: 0;
    min-height: 38px;
    justify-content: center;
    padding: 7px 12px;
    text-align: center;
    white-space: normal;
  }

  .topbar-cn > :nth-child(odd) {
    border-left: 0;
  }

  .topbar-cn > :nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .site-header {
    padding: 14px 20px;
  }

  .hero {
    min-height: 650px;
    padding-top: 72px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 18, 27, 0.9), rgba(4, 18, 27, 0.64));
  }

  .hero-image {
    object-position: 58% center;
  }

  .intro-grid,
  .product-grid,
  .contact-section,
  .payment-section {
    grid-template-columns: 1fr;
  }

  .heritage-heading,
  .honors-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .honors-heading {
    max-width: 620px;
  }

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

  .strengths-heading,
  .service-process {
    grid-template-columns: 1fr;
  }

  .strengths-heading {
    gap: 18px;
  }

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

  .service-process {
    gap: 28px;
  }

  .service-process ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 0;
  }

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

  .service-network .network-title {
    grid-column: 1 / -1;
  }

  .service-network > div:nth-child(2),
  .service-network > div:nth-child(4) {
    border-left: 1px solid #d8dcdb;
  }

  .payment-intro {
    position: static;
  }

  .partners-heading,
  .partner-panel {
    grid-template-columns: 1fr;
  }

  .partners-heading {
    gap: 18px;
  }

  .partner-panel {
    gap: 20px;
    padding-top: 34px;
  }

  .partner-country {
    position: static;
    padding-bottom: 10px;
  }

  .partner-map {
    width: 190px;
  }

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

  .video-section-heading,
  .featured-course {
    grid-template-columns: 1fr;
  }

  .featured-course-copy {
    padding: 38px;
  }

  .course-video-frame {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .video-library-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .product-grid {
    gap: 16px;
  }

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

  .proof-band article:nth-child(2) {
    border-right: 0;
  }

  .proof-band article:nth-child(-n + 2) {
    border-bottom: 1px solid #eeeeee;
  }

  .case-track,
  .mentor-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 620px) {
  html[lang="en"] .topbar-en {
    display: flex;
    min-height: 40px;
    justify-content: center;
  }

  html[lang="en"] .topbar-markets,
  html[lang="en"] .topbar-services {
    display: none;
  }

  html[lang="en"] .topbar-en > * {
    min-height: 40px;
    padding: 0 14px;
    border-top: 0;
    white-space: nowrap;
  }

  html[lang="en"] .topbar-group {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  html[lang="en"] .call-btn,
  html[lang="en"] .outline-btn {
    width: 100%;
    min-height: 58px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
  }

  html[lang="en"] .service-process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-film-modal {
    padding: 0;
  }

  .brand-film-panel {
    width: 100%;
  }

  .brand-film-status {
    display: none;
  }

  .brand-film-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }

  .brand-film-controls {
    grid-template-columns: 40px 1fr;
    padding: 28px 12px 10px;
  }

  .brand-film-controls time {
    display: none;
  }

  .brand-film-story,
  .brand-film-story.align-right,
  .brand-film-story.align-center {
    top: 48%;
    right: 9%;
    left: 9%;
    width: auto;
    text-align: left;
  }

  .brand-film-display {
    font-size: clamp(27px, 8vw, 42px);
  }

  .brand-film-subtitle {
    margin-top: 14px;
    font-size: 12px;
  }

  .brand-film-place {
    display: none;
  }

  .brand {
    min-width: 100%;
    width: 100%;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .brand-text small {
    font-size: 12px;
  }

  .hero {
    min-height: 620px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

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

  .hero-actions {
    gap: 14px;
  }

  .primary-btn {
    width: 100%;
    min-height: 62px;
  }

  .proof-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .proof-band article {
    min-height: 112px;
    padding: 20px 10px;
  }

  .proof-band strong {
    font-size: 30px;
  }

  .heritage-heading {
    padding-bottom: 28px;
  }

  .heritage-heading > p {
    font-size: 15px;
  }

  .history-scroll {
    margin-right: -20px;
    padding-top: 38px;
  }

  .history-track {
    grid-template-columns: repeat(11, 190px);
    min-width: 2090px;
  }

  .history-track li {
    min-height: 190px;
  }

  .history-controls {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .history-controls button {
    width: 36px;
    height: 36px;
  }

  .honors-layout {
    margin-top: 38px;
    padding-top: 38px;
  }

  .certificate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    overflow: visible;
    padding-bottom: 0;
  }

  .certificate-item {
    min-width: 0;
  }

  .certificate-preview {
    box-shadow: 0 5px 12px rgba(17, 17, 17, 0.05);
  }

  .certificate-item figcaption {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 4px;
    padding-top: 8px;
  }

  .certificate-item figcaption span,
  .certificate-item figcaption strong {
    font-size: 10px;
    line-height: 1.4;
  }

  .accreditation-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .accreditation-strip article {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto;
    justify-items: start;
    align-items: center;
    padding: 0;
    text-align: left;
    border-right: 0;
  }

  .accreditation-strip strong {
    max-width: none;
  }

  .accreditation-strip img {
    width: 76px;
    height: 76px;
  }

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

  .strength-grid article {
    min-height: 0;
    padding: 26px 24px;
  }

  .strength-grid article > span {
    margin-bottom: 18px;
  }

  .service-process {
    margin-top: 52px;
  }

  .service-process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .service-network {
    grid-template-columns: 1fr 1fr;
  }

  .service-network > div {
    min-height: 80px;
    padding: 16px;
  }

  .partners-heading {
    margin-bottom: 30px;
  }

  .partner-tabs button {
    min-width: auto;
    padding-right: 18px;
    padding-left: 18px;
  }

  .partner-panel {
    padding-top: 28px;
  }

  .partner-map {
    width: 145px;
  }

  .partner-country strong {
    font-size: 26px;
  }

  .partner-universities {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section,
  .payment-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .payment-form-grid,
  .payment-method-options,
  .payment-panel {
    grid-template-columns: 1fr;
  }

  .payment-modal {
    padding: 12px;
  }

  .payment-panel {
    gap: 22px;
    max-height: calc(100vh - 24px);
    padding: 34px 20px 24px;
  }

  .payment-destination {
    min-height: 0;
  }

  .payment-safety,
  .payment-next-step {
    grid-column: 1;
  }

  .payment-next-step {
    grid-template-columns: 1fr;
  }

  .payment-next-step strong,
  .payment-next-step p,
  .payment-next-step button {
    grid-column: 1;
    grid-row: auto;
  }

  .payment-next-step button {
    width: 100%;
    margin-top: 10px;
  }

  .video-section-heading {
    gap: 18px;
  }

  .featured-course-copy {
    padding: 30px 22px;
  }

  .course-details {
    grid-template-columns: 1fr;
  }

  .video-library-heading {
    align-items: flex-end;
  }

  .video-controls span {
    display: none;
  }

  .video-library-track {
    grid-auto-columns: 88%;
  }

  .preview-end-card {
    padding: 18px;
  }

  .preview-end-card h3 {
    font-size: 24px;
  }

  .preview-actions {
    width: 100%;
  }

  .preview-actions a,
  .preview-actions button {
    flex: 1 1 130px;
  }

  .case-heading-row,
  .mentor-heading-row {
    align-items: flex-end;
  }

  .case-controls,
  .mentor-controls {
    gap: 8px;
  }

  .case-controls button,
  .mentor-controls button {
    width: 42px;
    height: 42px;
  }

  .case-controls span,
  .mentor-controls span {
    display: none;
  }

  .case-track,
  .mentor-track {
    grid-auto-columns: 88%;
  }

  .mentor-track {
    grid-auto-columns: 74%;
    gap: 14px;
  }

  .mentor-photo {
    aspect-ratio: 16 / 10;
    object-position: center 22%;
  }

  .mentor-card-copy {
    min-height: 150px;
    padding: 17px 18px 19px;
  }

  .mentor-specialty {
    margin-bottom: 9px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .mentor-card-copy h3 {
    margin-bottom: 7px;
    font-size: 18px;
  }

  .mentor-card-copy p {
    font-size: 13px;
    line-height: 1.55;
  }

  .consultation-modal {
    padding: 12px;
  }

  .consultation-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    max-height: calc(100vh - 24px);
    padding: 34px 20px 24px;
  }

  .consultation-copy h2 {
    font-size: 28px;
  }

  .consultation-done {
    width: 100%;
  }

  .qr-area img {
    max-width: 250px;
  }

  .site-footer {
    padding-top: 38px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-community {
    grid-template-columns: minmax(0, 1fr) 112px;
    max-width: 420px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .footer-community-code img {
    width: 98px;
    height: 98px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand strong {
    padding-top: 8px;
    line-height: 1.45;
  }

  .footer-bottom {
    display: grid;
    margin-top: 32px;
  }
}
