:root {
  --bg: #f5f4ef;
  --ink: #171814;
  --muted: #666b5c;
  --panel: #ffffff;
  --panel-strong: #ede9df;
  --line: rgba(23, 24, 20, 0.13);
  --forest: #506b3c;
  --forest-2: #6f8a4d;
  --teal: #176b65;
  --ember: #b13f32;
  --gold: #c79b43;
  --gold-dark: #8d641d;
  --dark: #151712;
  --dark-2: #22251e;
  --shadow: 0 22px 70px rgba(19, 24, 16, 0.18);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

html.i18n-pending {
  background: #f4f2eb;
}

html.i18n-pending body {
  visibility: hidden;
}

/* Embedded account center */
.account-page {
  background: #f4f2eb;
}

.account-hero-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0 62px;
  background:
    radial-gradient(circle at 77% 14%, rgba(198, 159, 72, 0.24), transparent 23rem),
    radial-gradient(circle at 12% 82%, rgba(80, 107, 60, 0.18), transparent 27rem),
    linear-gradient(135deg, #eeece3, #faf9f5 58%, #e6ecdf);
}

.account-hero-section::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -16rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(80, 107, 60, 0.16);
  border-radius: 50%;
}

.account-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.account-hero-copy h1 {
  max-width: 790px;
  margin: 14px 0 22px;
  font-size: clamp(52px, 6.4vw, 88px);
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.account-hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.account-hero-actions .button {
  gap: 9px;
}

.account-hero-actions svg {
  width: 17px;
  height: 17px;
}

.account-profile-card {
  padding: 28px;
  border: 1px solid rgba(80, 107, 60, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 25px 60px rgba(31, 38, 25, 0.13);
  backdrop-filter: blur(14px);
}

.account-profile-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(28, 32, 25, 0.1);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--forest);
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(80, 107, 60, 0.22);
}

.account-profile-head small,
.account-profile-head strong,
.account-profile-head span {
  display: block;
}

.account-profile-head small {
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-profile-head strong {
  margin-top: 4px;
  font-size: 21px;
  line-height: 1.2;
}

.account-profile-head div > span {
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile-list {
  margin: 10px 0 20px;
}

.account-profile-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 32, 25, 0.08);
}

.account-profile-list dt {
  color: var(--muted);
  font-size: 12px;
}

.account-profile-list dd {
  overflow: hidden;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(176, 67, 53, 0.2);
  border-radius: 12px;
  background: rgba(176, 67, 53, 0.07);
  color: #9c392d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.account-logout-button:hover {
  background: #a74437;
  color: #fff;
}

.account-logout-button svg {
  width: 17px;
  height: 17px;
}

.account-overview-section {
  padding: 30px 0;
  background: #10150e;
  color: #fff;
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.account-stat-grid article {
  min-width: 0;
  padding: 22px 24px;
  background: #171d14;
}

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

.account-stat-grid span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-stat-grid strong {
  overflow: hidden;
  margin-top: 9px;
  color: #fff;
  font-size: clamp(17px, 2.2vw, 25px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-section {
  padding: 74px 0;
}

.account-section + .account-section {
  padding-top: 0;
}

.account-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: end;
  gap: 44px;
  margin-bottom: 30px;
}

.account-section-heading h2 {
  max-width: 700px;
  margin: 10px 0 0;
  font-size: clamp(38px, 4.4vw, 58px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.account-section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.account-shortcut-grid a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 15px;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(28, 32, 25, 0.11);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(31, 38, 25, 0.07);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.account-shortcut-grid a:hover {
  border-color: rgba(80, 107, 60, 0.36);
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(31, 38, 25, 0.11);
}

.account-shortcut-grid a[hidden] {
  display: none;
}

.account-shortcut-grid a > svg:first-child {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 13px;
  background: rgba(80, 107, 60, 0.11);
  color: var(--forest);
}

.account-shortcut-grid a > svg:last-child {
  width: 18px;
  height: 18px;
  color: var(--gold-dark);
}

.account-shortcut-grid strong,
.account-shortcut-grid small {
  display: block;
}

.account-shortcut-grid strong {
  font-size: 17px;
}

.account-shortcut-grid small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

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

.account-access-grid article {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(28, 32, 25, 0.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 38, 25, 0.06);
}

.account-access-grid article:nth-child(2) {
  background: linear-gradient(150deg, #1c2418, #10150e);
  color: #fff;
}

.account-access-tag {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(199, 155, 67, 0.14);
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-access-grid article:nth-child(2) .account-access-tag {
  background: rgba(215, 183, 102, 0.14);
  color: #e2c77e;
}

.account-access-tag.is-free {
  background: rgba(80, 107, 60, 0.11);
  color: var(--forest);
}

.account-access-grid h3 {
  margin: 24px 0 12px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.account-access-grid p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.account-access-grid article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.6);
}

.account-access-grid button {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border: 0;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.account-access-grid article:nth-child(2) button {
  background: var(--gold);
  color: #171a14;
}

.account-access-grid button:disabled {
  cursor: default;
  opacity: 0.55;
}

@media (max-width: 980px) {
  .account-hero-grid,
  .account-section-heading {
    grid-template-columns: 1fr;
  }

  .account-profile-card {
    max-width: 560px;
  }

  .account-stat-grid,
  .account-shortcut-grid,
  .account-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .account-hero-section {
    padding: 58px 0 48px;
  }

  .account-hero-copy h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .account-stat-grid,
  .account-shortcut-grid,
  .account-access-grid {
    grid-template-columns: 1fr;
  }

  .account-stat-grid article {
    padding: 19px 21px;
  }

  .account-section {
    padding: 58px 0;
  }

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

  .account-access-grid article {
    min-height: 280px;
  }
}

/* AOA guide article */
.guide-article-page {
  background: #f3f1ea;
  color: #191c17;
}

.guide-article-hero {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  overflow: hidden;
  background: #0c100b;
  color: #fff;
}

.guide-article-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(7, 10, 6, 0.98) 0%, rgba(7, 10, 6, 0.88) 42%, rgba(7, 10, 6, 0.28) 78%, rgba(7, 10, 6, 0.62) 100%), var(--guide-cover, url("/assets/aoa-gallery/aoa-poster-07.webp"));
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.guide-article-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(8, 11, 7, 0.88));
  content: "";
}

.guide-article-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 590px;
  padding-top: 130px;
  padding-bottom: 70px;
}

.guide-article-hero .product-back-link {
  width: fit-content;
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.76);
}

.guide-article-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.guide-article-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(14, 18, 12, 0.62);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.guide-article-meta span:first-child {
  border-color: rgba(217, 174, 80, 0.54);
  color: #e8bd5f;
}

.guide-article-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.guide-article-hero h1 + p {
  max-width: 760px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.75;
}

.guide-article-byline {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.guide-article-byline img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  object-fit: cover;
}

.guide-article-byline div {
  display: grid;
  gap: 3px;
}

.guide-article-byline strong {
  font-size: 13px;
}

.guide-article-byline small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.guide-article-body {
  padding: 72px 0 110px;
}

.guide-article-layout {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 860px);
  gap: clamp(44px, 7vw, 100px);
  justify-content: center;
  align-items: start;
}

.guide-article-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 3px;
  padding: 22px 0;
  border-top: 1px solid rgba(27, 31, 24, 0.2);
  border-bottom: 1px solid rgba(27, 31, 24, 0.2);
}

.guide-article-toc > p {
  margin: 0 0 11px;
  color: #9b762c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-article-toc > div {
  display: grid;
  gap: 3px;
}

.guide-article-toc a {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  padding: 8px 0;
  color: #686d62;
  font-size: 12px;
  line-height: 1.35;
  transition: color 160ms ease, transform 160ms ease;
}

.guide-article-toc a:hover {
  color: #33472a;
  transform: translateX(3px);
}

.guide-article-toc a span:first-child {
  color: #b59045;
  font-size: 9px;
  font-weight: 900;
}

.guide-article-content {
  min-width: 0;
}

.guide-article-intro {
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(27, 31, 24, 0.16);
}

.guide-article-content .eyebrow {
  color: #a57b27;
}

.guide-article-intro h2,
.guide-access-panel h2,
.guide-article-finish h2 {
  margin: 10px 0 20px;
  color: #171a15;
  font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.guide-article-intro > p:not(.eyebrow),
.guide-article-finish > p:not(.eyebrow) {
  margin: 0;
  color: #62685d;
  font-size: 17px;
  line-height: 1.9;
}

.guide-version-note {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(167, 125, 39, 0.24);
  border-radius: 13px;
  background: #ede7d8;
  color: #6f5a2d;
  font-size: 12px;
  line-height: 1.7;
}

.guide-version-note svg {
  width: 18px;
  height: 18px;
}

.guide-roadmap-section,
.guide-article-section,
.guide-article-finish {
  padding: 64px 0;
  border-bottom: 1px solid rgba(27, 31, 24, 0.16);
  scroll-margin-top: 100px;
}

.guide-section-heading {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
}

.guide-section-heading > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(163, 124, 45, 0.35);
  border-radius: 50%;
  color: #a47c2e;
  font-size: 11px;
  font-weight: 950;
}

.guide-section-heading p {
  margin: 0 0 7px;
  color: #9a752e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-section-heading h2 {
  margin: 0;
  color: #181b16;
  font-size: clamp(27px, 3.2vw, 41px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.guide-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.guide-timeline article {
  position: relative;
  min-height: 174px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(28, 32, 25, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.guide-timeline article::after {
  position: absolute;
  right: -25px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(168, 128, 50, 0.13);
  border-radius: 50%;
  content: "";
}

.guide-timeline article > span {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #e8dfc8;
  color: #7b5d22;
  font-size: 9px;
  font-weight: 900;
}

.guide-timeline strong {
  display: block;
  color: #1d211a;
  font-size: 18px;
}

.guide-timeline p {
  margin: 8px 0 0;
  color: #73786e;
  font-size: 12px;
  line-height: 1.65;
}

.guide-access-panel {
  position: relative;
  overflow: hidden;
  margin: 66px 0 10px;
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: radial-gradient(circle at 90% 10%, rgba(173, 131, 52, 0.22), transparent 34%), #11150f;
  color: #fff;
  box-shadow: 0 28px 70px rgba(29, 35, 26, 0.18);
}

.guide-access-panel[hidden],
.guide-member-content[hidden],
.guide-article-finish[hidden] {
  display: none;
}

.guide-access-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border: 1px solid rgba(224, 181, 91, 0.42);
  border-radius: 50%;
  background: rgba(216, 170, 73, 0.1);
  color: #e0b55b;
}

.guide-access-icon svg {
  width: 21px;
  height: 21px;
}

.guide-access-panel h2 {
  max-width: 650px;
  color: #fff;
}

.guide-access-panel > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  line-height: 1.8;
}

.guide-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.guide-access-actions .button {
  min-width: 170px;
  justify-content: center;
  background: #dbae4d;
  color: #161912;
}

.guide-access-actions .button.is-secondary {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.guide-member-content {
  animation: guide-content-reveal 420ms ease both;
}

@keyframes guide-content-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.guide-section-intro {
  max-width: 760px;
  margin: 25px 0 0;
  color: #656b60;
  font-size: 16px;
  line-height: 1.85;
}

.guide-article-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.guide-article-points li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding: 17px 18px;
  border: 1px solid rgba(28, 32, 25, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.64);
  color: #4e544a;
  font-size: 14px;
  line-height: 1.72;
}

.guide-article-points li > span:first-child {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e5eadf;
  color: #506b43;
  font-size: 11px;
  font-weight: 900;
}

.guide-original-preview {
  padding-top: 38px;
}

.guide-source-blocks {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.guide-source-heading {
  margin: 26px 0 0;
  color: #20241d;
  font-size: clamp(21px, 2.6vw, 29px);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.guide-source-paragraph {
  margin: 0;
  color: #555c51;
  font-size: 15px;
  line-height: 1.95;
}

.guide-source-bullets,
.guide-source-numbered {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
  color: #4f564c;
  font-size: 14px;
  line-height: 1.85;
}

.guide-source-bullets li::marker,
.guide-source-numbered li::marker {
  color: #a47926;
  font-weight: 900;
}

.guide-source-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(30, 35, 27, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  outline: none;
}

.guide-source-table-wrap:focus-visible {
  box-shadow: 0 0 0 3px rgba(167, 126, 45, 0.22);
}

.guide-source-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  color: #4b5248;
  font-size: 12px;
  line-height: 1.55;
}

.guide-source-table th,
.guide-source-table td {
  padding: 14px 15px;
  border-right: 1px solid rgba(30, 35, 27, 0.1);
  border-bottom: 1px solid rgba(30, 35, 27, 0.1);
  text-align: left;
  vertical-align: top;
}

.guide-source-table tr > :last-child {
  border-right: 0;
}

.guide-source-table tbody tr:last-child > * {
  border-bottom: 0;
}

.guide-source-table thead th {
  background: #e8e3d6;
  color: #292e26;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.guide-source-table tbody th {
  background: rgba(234, 231, 221, 0.55);
  color: #343a30;
  font-weight: 850;
}

.guide-source-figure {
  margin: 8px 0;
}

.guide-source-figure img {
  display: block;
  width: 100%;
  max-height: 620px;
  border: 1px solid rgba(29, 34, 26, 0.13);
  border-radius: 15px;
  background: #141711;
  object-fit: contain;
  box-shadow: 0 18px 46px rgba(28, 34, 25, 0.13);
}

.guide-source-figure figcaption {
  margin-top: 9px;
  color: #858a80;
  font-size: 10px;
  text-align: center;
}

.guide-source-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-source-gallery .guide-source-figure {
  margin: 0;
}

.guide-source-gallery .guide-source-figure:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.guide-source-callout {
  padding: 18px 20px;
  border-left: 3px solid #ad8331;
  border-radius: 0 12px 12px 0;
  background: #ebe5d6;
  color: #5c523d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.8;
}

/* Chinese Academy long-form article */
.course-reading-progress {
  position: fixed;
  top: 70px;
  right: 0;
  left: 0;
  z-index: 91;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.course-reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0aa7e8, #d2a84d);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 80ms linear;
}

.course-article-hero,
.course-article-hero .guide-article-hero-inner {
  min-height: 680px;
}

.course-article-hero .guide-article-hero-backdrop {
  background-image:
    linear-gradient(90deg, rgba(4, 10, 20, 0.98) 0%, rgba(4, 10, 20, 0.92) 42%, rgba(4, 10, 20, 0.34) 76%, rgba(4, 10, 20, 0.66) 100%),
    var(--guide-cover, url("/assets/course-articles/overseas-cps-explained/cover.png"));
  background-position: center;
}

.course-article-hero h1 {
  max-width: 920px;
}

.course-article-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.03em;
  backdrop-filter: blur(10px);
}

.course-article-section {
  scroll-margin-top: 100px;
}

.course-article-section:first-child {
  padding-top: 0;
}

.course-article-blocks {
  gap: 22px;
}

.course-article-blocks .guide-source-paragraph {
  color: #41483e;
  font-size: 17px;
  line-height: 2;
}

.course-article-figure {
  width: 100%;
  margin: 22px 0 28px;
}

.course-article-figure img {
  display: block;
  width: 100%;
  border: 1px solid rgba(29, 34, 26, 0.13);
  border-radius: 18px;
  background: #071329;
  box-shadow: 0 18px 42px rgba(20, 29, 18, 0.13);
}

.course-article-figure figcaption {
  margin-top: 11px;
  color: #858a80;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.course-article-callout {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  padding: 22px 24px;
  border-left: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #e9e4d7, #f2efe7);
}

.course-article-callout svg {
  width: 21px;
  height: 21px;
  color: #9d7527;
}

.course-article-callout p {
  margin: 0;
  white-space: pre-line;
}

.course-article-callout.is-warning {
  background: linear-gradient(135deg, #f4e4d6, #f7eee5);
  color: #55351f;
}

.course-article-callout.is-warning svg {
  color: #b45b27;
}

.course-article-subheading {
  margin: 34px 0 4px;
  color: #20251e;
  font-size: clamp(21px, 2.4vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.course-article-links {
  margin: 8px 0 24px;
  padding: 20px 22px;
  border: 1px solid rgba(32, 41, 28, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(26, 33, 23, 0.055);
}

.course-article-links h4 {
  margin: 0 0 12px;
  color: #6f5830;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-article-links ul,
.course-article-links ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 21px;
}

.course-article-links li {
  padding-left: 3px;
  color: #697064;
  font-size: 13px;
  line-height: 1.6;
}

.course-article-links a {
  color: #405c31;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.course-article-links a:hover {
  color: #9d7527;
}

.course-article-links li span {
  display: block;
  margin-top: 2px;
  color: #8a9085;
  font-size: 11px;
}

.course-article-list {
  display: grid;
  gap: 9px;
  margin: 4px 0 24px;
  padding: 20px 24px 20px 42px;
  border: 1px solid rgba(32, 41, 28, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: #41483e;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 12px 28px rgba(26, 33, 23, 0.055);
}

.course-article-list li::marker {
  color: #9d7527;
  font-weight: 900;
}

.course-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 30px;
}

.course-platform-card {
  display: flex;
  min-height: 265px;
  padding: 24px;
  border: 1px solid rgba(32, 41, 28, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 34px rgba(26, 33, 23, 0.07);
  flex-direction: column;
}

.course-platform-card-header {
  display: flex;
  align-items: center;
  gap: 13px;
}

.course-platform-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(32, 41, 28, 0.09);
  border-radius: 14px;
  background: #f7f8f4;
}

.course-platform-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.course-platform-card h3 {
  margin: 0;
  color: #20251e;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.course-platform-card > p {
  margin: 20px 0 22px;
  color: #5e665a;
  font-size: 13px;
  line-height: 1.75;
}

.course-platform-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(32, 41, 28, 0.1);
  color: #506b3c;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.course-platform-card > a:hover {
  color: #9d7527;
}

.course-platform-card > a span {
  font-size: 16px;
}

@media (max-width: 680px) {
  .course-platform-grid {
    grid-template-columns: 1fr;
  }

  .course-platform-card {
    min-height: 0;
  }
}

.course-article-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.course-article-comparison article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(32, 41, 28, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(26, 33, 23, 0.07);
}

.course-article-comparison article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e6ebdf;
  color: #506b3c;
  font-size: 10px;
  font-weight: 950;
}

.course-article-comparison h3 {
  margin: 30px 0 10px;
  color: #1c211a;
  font-size: 23px;
}

.course-article-comparison p {
  margin: 0;
  color: #656b61;
  font-size: 13px;
  line-height: 1.75;
}

.course-article-table-wrap {
  width: 100%;
  margin: 8px 0 16px;
  overflow-x: auto;
  border: 1px solid rgba(32, 41, 28, 0.13);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(26, 33, 23, 0.07);
}

.course-article-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #3e453b;
  font-size: 13px;
  line-height: 1.7;
}

.course-article-table th,
.course-article-table td {
  padding: 15px 17px;
  border-right: 1px solid rgba(32, 41, 28, 0.09);
  border-bottom: 1px solid rgba(32, 41, 28, 0.09);
  text-align: left;
  vertical-align: top;
}

.course-article-table th:last-child,
.course-article-table td:last-child {
  border-right: 0;
}

.course-article-table thead th {
  background: #e9e6dc;
  color: #20251e;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.course-article-table tbody tr:last-child td {
  border-bottom: 0;
}

.course-article-table tbody tr:nth-child(even) td {
  background: rgba(237, 239, 232, 0.48);
}

.course-country-table {
  margin: 16px 0 24px;
  padding: 18px;
  border: 1px solid rgba(32, 41, 28, 0.13);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 240, 232, 0.92));
  box-shadow: 0 18px 42px rgba(26, 33, 23, 0.09);
}

.course-country-table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.course-country-table-controls input {
  width: min(100%, 460px);
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(38, 50, 32, 0.18);
  border-radius: 14px;
  background: #fff;
  color: #20251e;
  font: inherit;
  outline: none;
}

.course-country-table-controls input:focus {
  border-color: rgba(80, 107, 60, 0.7);
  box-shadow: 0 0 0 4px rgba(80, 107, 60, 0.1);
}

.course-country-table-count {
  color: #687064;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.course-country-tier-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.course-country-tier-filters button {
  min-width: 48px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(38, 50, 32, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #4d5549;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.course-country-tier-filters button[aria-pressed="true"] {
  border-color: #506b3c;
  background: #506b3c;
  color: #fff;
}

.course-country-table-scroll {
  max-height: min(68vh, 720px);
  margin: 0;
  overflow: auto;
  box-shadow: none;
}

.course-country-table-scroll .course-article-table {
  min-width: 880px;
}

.course-country-table-scroll .course-article-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #dedbcc;
}

.course-country-table-scroll .course-article-table td:nth-child(1),
.course-country-table-scroll .course-article-table td:nth-child(2),
.course-country-table-scroll .course-article-table td:nth-child(4) {
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .course-country-table {
    margin-right: -8px;
    margin-left: -8px;
    padding: 12px;
    border-radius: 18px;
  }

  .course-country-table-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .course-country-table-controls input {
    width: 100%;
  }

  .course-country-table-count {
    white-space: normal;
  }
}

.course-phrase-search {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(320px, 1.28fr);
  align-items: center;
  gap: 24px;
  margin: 12px 0 10px;
  padding: 24px;
  border: 1px solid rgba(199, 155, 67, 0.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 12%, rgba(199, 155, 67, 0.2), transparent 17rem),
    linear-gradient(135deg, #111a11, #1d281a);
  box-shadow: 0 18px 42px rgba(17, 25, 15, 0.18);
  color: #fff;
}

.course-phrase-search > div {
  display: grid;
  gap: 5px;
}

.course-phrase-search > div span {
  color: #ddbb65;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.course-phrase-search > div strong {
  font-size: 20px;
  line-height: 1.3;
}

.course-phrase-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.course-phrase-search-control:focus-within {
  border-color: rgba(221, 187, 101, 0.8);
  box-shadow: 0 0 0 3px rgba(199, 155, 67, 0.15);
}

.course-phrase-search-control input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.course-phrase-search-control input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.course-phrase-search-count {
  margin-right: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #d7b45c;
  color: #151a12;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.course-phrase-book {
  overflow: hidden;
  border: 1px solid rgba(32, 41, 28, 0.13);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(26, 33, 23, 0.08);
}

.course-phrase-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 19px 20px;
  border-bottom: 1px solid rgba(32, 41, 28, 0.09);
  transition: background 150ms ease;
}

.course-phrase-row:last-child {
  border-bottom: 0;
}

.course-phrase-row:nth-child(even) {
  background: rgba(238, 240, 233, 0.5);
}

.course-phrase-row:hover {
  background: #f1eee3;
}

.course-phrase-row[hidden],
.course-article-section[hidden] {
  display: none;
}

.course-phrase-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #172116;
  color: #d9b860;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.course-phrase-language {
  min-width: 0;
}

.course-phrase-language > span {
  display: block;
  margin-bottom: 6px;
  color: #9a7a36;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.course-phrase-language p {
  margin: 0;
  color: #252b22;
  font-size: 15px;
  line-height: 1.65;
}

.course-phrase-language.is-english p {
  color: #596055;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.course-phrase-copy {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(64, 92, 49, 0.24);
  border-radius: 10px;
  background: #edf1e9;
  color: #405c31;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.course-phrase-copy:hover {
  border-color: #405c31;
  background: #405c31;
  color: #fff;
}

.course-article-next {
  padding: 74px 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(199, 155, 67, 0.18), transparent 20rem),
    #11160f;
  color: #fff;
}

.course-article-next-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
}

.course-article-next h2 {
  max-width: 820px;
  margin: 11px 0 13px;
  color: #fff;
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.course-article-next p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.course-article-next .button {
  gap: 9px;
  white-space: nowrap;
}

.course-article-next .button svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 900px) {
  .course-article-figure {
    width: 100%;
    margin-left: 0;
  }

  .course-article-next-inner {
    grid-template-columns: 1fr;
  }

  .course-article-next .button {
    width: fit-content;
  }

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

  .course-phrase-row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
  }

  .course-phrase-number {
    grid-row: 1 / span 2;
  }

  .course-phrase-language {
    grid-column: 2;
  }

  .course-phrase-copy {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

}

@media (max-width: 640px) {
  .course-reading-progress {
    top: 64px;
  }

  .course-article-hero .guide-article-hero-backdrop {
    background-image:
      linear-gradient(180deg, rgba(4, 10, 20, 0.42) 0%, rgba(4, 10, 20, 0.84) 44%, rgba(4, 10, 20, 0.99) 100%),
      var(--guide-cover, url("/assets/course-articles/overseas-cps-explained/cover.png"));
    background-position: 62% center;
  }

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

  .course-article-blocks .guide-source-paragraph {
    font-size: 16px;
    line-height: 1.9;
  }

  .course-phrase-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
  }

  .course-phrase-number {
    width: 42px;
    height: 42px;
  }

  .course-phrase-copy {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
  }
}

.guide-source-transcript {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(30, 35, 27, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  color: #4f564c;
}

.guide-source-transcript p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.guide-source-transcript .is-source-heading {
  margin-top: 14px;
  color: #20251d;
  font-size: 18px;
  font-weight: 900;
}

.guide-source-transcript .is-source-heading:first-child {
  margin-top: 0;
}

.guide-source-transcript .is-source-step {
  position: relative;
  padding-left: 24px;
}

.guide-source-transcript .is-source-step::before {
  position: absolute;
  top: 0.74em;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b48835;
  content: "";
}

.guide-source-transcript .has-source-label::first-letter {
  color: #72591f;
}

.guide-source-links {
  display: grid;
  gap: 9px;
  padding: 20px;
  border: 1px solid rgba(80, 107, 60, 0.2);
  border-radius: 14px;
  background: #e5eadf;
}

.guide-source-links > strong {
  margin-bottom: 3px;
  color: #35472e;
  font-size: 12px;
}

.guide-source-links a {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: #426036;
  font-size: 12px;
  font-weight: 850;
}

.guide-source-links svg {
  width: 15px;
  height: 15px;
}

.guide-stage-experience {
  padding: 64px 0;
  scroll-margin-top: 100px;
}

.guide-stage-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(128px, 1fr));
  gap: 7px;
  overflow-x: auto;
  padding: 0 0 13px;
  scrollbar-width: thin;
}

.guide-stage-tabs button {
  display: grid;
  gap: 8px;
  min-height: 80px;
  padding: 13px 14px;
  border: 1px solid rgba(28, 33, 25, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.54);
  color: #5c6258;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.guide-stage-tabs button:hover {
  border-color: rgba(153, 113, 36, 0.42);
  transform: translateY(-2px);
}

.guide-stage-tabs button[aria-selected="true"] {
  border-color: #a57b2d;
  background: #1d231a;
  color: #f1d38d;
  box-shadow: 0 14px 34px rgba(27, 32, 24, 0.16);
}

.guide-stage-tabs small {
  color: #ad8539;
  font-size: 9px;
  font-weight: 950;
}

.guide-stage-tabs strong {
  font-size: 12px;
  line-height: 1.35;
}

.guide-stage-panel {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 22px;
  background: radial-gradient(circle at 88% 8%, rgba(194, 149, 63, 0.2), transparent 27rem), #11150f;
  color: #fff;
  box-shadow: 0 26px 64px rgba(24, 30, 21, 0.2);
}

.guide-stage-header {
  max-width: 680px;
}

.guide-stage-header > p:first-child {
  margin: 0 0 14px;
  color: #d8ad54;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-stage-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.5vw, 55px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.guide-stage-header > p:last-child {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.8;
}

.guide-stage-systems {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.guide-stage-system {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.guide-stage-system > span {
  display: block;
  margin-bottom: 9px;
  color: #c99d49;
  font-size: 9px;
  font-weight: 950;
}

.guide-stage-system h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.guide-stage-system .guide-source-blocks {
  margin-top: 18px;
}

.guide-stage-system .guide-source-transcript {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.68);
}

.guide-stage-system .guide-source-transcript .is-source-heading {
  color: #f1d28e;
}

.guide-stage-system .guide-source-transcript .has-source-label::first-letter {
  color: inherit;
}

.guide-stage-controls {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 24px;
}

.guide-stage-controls button {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.guide-stage-controls svg {
  width: 15px;
  height: 15px;
}

.guide-quality-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.guide-quality-list span {
  display: grid;
  place-items: center;
  min-height: 60px;
  padding: 10px;
  border: 1px solid rgba(31, 36, 28, 0.12);
  border-radius: 11px;
  background: #fff;
  color: #4f564b;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.guide-quality-list span:nth-child(1) { border-top: 4px solid #69a25a; }
.guide-quality-list span:nth-child(2) { border-top: 4px solid #4d89bd; }
.guide-quality-list span:nth-child(3) { border-top: 4px solid #8057ae; }
.guide-quality-list span:nth-child(4) { border-top: 4px solid #d4a73d; }
.guide-quality-list span:nth-child(5) { border-top: 4px solid #bd4438; }

.guide-article-section blockquote {
  margin: 24px 0 0;
  padding: 18px 20px 18px 24px;
  border-left: 3px solid #b78932;
  border-radius: 0 12px 12px 0;
  background: #eae5d8;
  color: #5f543e;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.75;
}

.guide-article-finish {
  border-bottom: 0;
}

.guide-finish-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.guide-finish-links a {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 20px;
  border: 1px solid rgba(28, 32, 25, 0.14);
  border-radius: 14px;
  background: #fff;
  color: #33472a;
  font-size: 13px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease;
}

.guide-finish-links a:hover {
  border-color: rgba(80, 107, 67, 0.5);
  transform: translateY(-2px);
}

.guide-finish-links svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .guide-article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .guide-article-toc {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px 12px;
  }

  .guide-article-toc > p {
    grid-column: 1 / -1;
  }

  .guide-article-toc > div {
    display: contents;
  }
}

@media (max-width: 640px) {
  .guide-article-hero,
  .guide-article-hero-inner {
    min-height: 610px;
  }

  .guide-article-hero-backdrop {
    background-image: linear-gradient(180deg, rgba(7, 10, 6, 0.28) 0%, rgba(7, 10, 6, 0.8) 45%, rgba(7, 10, 6, 0.98) 100%), var(--guide-cover, url("/assets/aoa-gallery/aoa-poster-07.webp"));
    background-position: 58% center;
  }

  .guide-article-hero-inner {
    padding-top: 105px;
    padding-bottom: 45px;
  }

  .guide-article-hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .guide-article-body {
    padding: 42px 0 76px;
  }

  .guide-article-toc {
    display: none;
  }

  .guide-timeline,
  .guide-finish-links {
    grid-template-columns: 1fr;
  }

  .guide-section-heading {
    grid-template-columns: 44px 1fr;
    gap: 11px;
  }

  .guide-section-heading > span {
    width: 38px;
    height: 38px;
  }

  .guide-section-heading h2 {
    font-size: 27px;
  }

  .guide-roadmap-section,
  .guide-article-section,
  .guide-article-finish {
    padding: 48px 0;
  }

  .guide-access-panel {
    margin-top: 48px;
    border-radius: 18px;
  }

  .guide-access-actions {
    display: grid;
  }

  .guide-access-actions .button {
    width: 100%;
  }

  .guide-source-gallery,
  .guide-quality-list {
    grid-template-columns: 1fr;
  }

  .guide-source-gallery .guide-source-figure:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .guide-source-transcript,
  .guide-stage-system {
    padding: 18px;
  }

  .guide-stage-experience {
    padding: 48px 0;
  }

  .guide-stage-panel {
    min-height: 0;
    padding: 26px 18px;
    border-radius: 17px;
  }

  .guide-stage-controls button span {
    display: none;
  }
}

/* Integrated Academy and Media Library */
.site-subpage {
  background: #f5f4ef;
  color: var(--ink);
}

.site-subpage .site-header {
  background: rgba(245, 244, 239, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(18, 22, 16, 0.09);
  backdrop-filter: blur(16px);
}

.site-subpage .site-header .header-cta {
  background: var(--forest);
  color: #fff;
}

.site-subpage .site-header .lang-toggle {
  border-color: rgba(80, 107, 60, 0.22);
  background: rgba(80, 107, 60, 0.1);
  color: var(--ink);
}

.site-subpage .main-nav a[aria-current="page"] {
  background: rgba(80, 107, 60, 0.12);
  color: var(--forest);
  opacity: 1;
}

.content-page-main {
  min-height: 70vh;
  padding-top: 72px;
}

.content-page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 18%, rgba(199, 155, 67, 0.2), transparent 28rem),
    linear-gradient(135deg, #eeece3, #f8f7f3 58%, #e9eee3);
}

.content-page-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(80, 107, 60, 0.16);
  border-radius: 50%;
}

.content-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(36px, 7vw, 90px);
}

.content-page-hero h1 {
  max-width: 840px;
  margin: 14px 0 20px;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.content-page-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.content-access-card {
  display: grid;
  gap: 13px;
  padding: 28px;
  border: 1px solid rgba(80, 107, 60, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.content-access-kicker {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-access-card strong {
  font-size: 25px;
  line-height: 1.15;
}

.content-access-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.content-access-card .button {
  width: 100%;
}

.content-catalog-section {
  padding: 82px 0 100px;
}

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 36px;
}

.catalog-heading > p {
  margin-bottom: 8px;
}

/* Movie-style academy shelves */
.academy-page-hero {
  padding: 62px 0 56px;
  background:
    linear-gradient(90deg, rgba(241, 239, 231, 0.98) 0%, rgba(247, 246, 241, 0.94) 54%, rgba(230, 236, 224, 0.9) 100%),
    url("./assets/brutal-age-screen.png") center 32% / cover no-repeat;
}

.academy-page-hero .content-page-hero-grid {
  align-items: center;
}

.academy-page-hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 5vw, 68px);
}

.academy-catalog-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  margin-top: 22px;
  padding: 0 13px;
  border: 1px solid rgba(80, 107, 60, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--forest);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.academy-catalog-badge svg {
  width: 16px;
  height: 16px;
}

.course-library-section {
  padding: 58px 0 96px;
  background:
    linear-gradient(180deg, rgba(239, 237, 228, 0.72), rgba(245, 244, 239, 0) 210px),
    var(--bg);
}

/* Public partnership process center */
.process-center-hero {
  padding: 66px 0 62px;
  background:
    linear-gradient(90deg, rgba(241, 239, 231, 0.98) 0%, rgba(247, 246, 241, 0.93) 54%, rgba(227, 234, 222, 0.88) 100%),
    url("/assets/aoa-gallery/aoa-poster-03.webp") center 38% / cover no-repeat;
}

.process-center-hero .content-page-hero-grid {
  align-items: center;
}

.process-center-hero h1 {
  max-width: 800px;
  font-size: clamp(44px, 5.6vw, 76px);
}

.process-public-card {
  border-color: rgba(167, 126, 43, 0.24);
  background: rgba(255, 253, 247, 0.88);
}

.process-summary-strip {
  padding: 25px 0;
  background: #151a12;
  color: #fff;
}

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

.process-summary-grid article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 13px;
  align-items: center;
  min-height: 65px;
  padding: 8px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.process-summary-grid article:first-child {
  padding-left: 0;
}

.process-summary-grid article:last-child {
  border-right: 0;
}

.process-summary-grid article > span {
  color: #d3a84e;
  font-size: 11px;
  font-weight: 950;
}

.process-summary-grid strong,
.process-summary-grid p {
  display: block;
}

.process-summary-grid strong {
  font-size: 14px;
}

.process-summary-grid p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.process-library-section {
  scroll-margin-top: 76px;
}

.process-shelves {
  display: grid;
  gap: 54px;
}

.process-shelf .course-shelf-heading .eyebrow {
  margin: 0 0 8px;
  color: #a17628;
  font-size: 9px;
}

.process-shelf .course-shelf-heading > div > p:last-child {
  max-width: 710px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.process-step-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 15px;
  background: #151a12 var(--process-cover) center / cover no-repeat;
  box-shadow: 0 14px 34px rgba(18, 22, 16, 0.16);
  color: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.process-step-card:hover {
  z-index: 2;
  border-color: rgba(213, 171, 80, 0.8);
  box-shadow: 0 22px 48px rgba(18, 22, 16, 0.26);
  transform: translateY(-5px);
}

.process-step-card:focus-visible {
  outline: 3px solid rgba(199, 155, 67, 0.6);
  outline-offset: 3px;
}

.process-step-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 7, 0.24), rgba(8, 11, 7, 0.08) 28%, rgba(8, 11, 7, 0.95) 100%),
    linear-gradient(90deg, rgba(8, 11, 7, 0.34), transparent 70%);
}

.process-step-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 50%, rgba(226, 185, 92, 0.17));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.process-step-card:hover::after {
  opacity: 1;
}

.process-step-top,
.process-step-copy {
  position: absolute;
  z-index: 1;
  right: 18px;
  left: 18px;
}

.process-step-top {
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process-step-top small {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(11, 14, 9, 0.62);
  color: #e5bb61;
  font-size: 9px;
  font-weight: 950;
  backdrop-filter: blur(8px);
}

.process-step-top svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.process-step-copy {
  bottom: 16px;
  display: grid;
  gap: 6px;
}

.process-step-copy strong {
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.process-step-copy > span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.process-step-copy em {
  margin-top: 3px;
  color: #e4bb65;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.process-responsibility-section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
  background: #ebe8de;
}

.process-responsibility-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

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

.process-role-cards article {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 26px;
  border: 1px solid rgba(30, 34, 27, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.process-role-cards article:last-child {
  background: #182016;
  color: #fff;
}

.process-role-cards svg {
  width: 28px;
  height: 28px;
  margin-bottom: auto;
  color: #b38734;
}

.process-role-cards span {
  margin-top: 34px;
  color: #a37829;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-role-cards strong {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.18;
}

.process-role-cards p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.process-role-cards article:last-child p {
  color: rgba(255, 255, 255, 0.56);
}

.process-contact-section {
  padding: 74px 0;
  background: #11150f;
  color: #fff;
}

.process-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
}

.process-contact-inner h2 {
  max-width: 760px;
  margin: 9px 0 14px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.process-contact-inner p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.75;
}

.process-contact-inner .button {
  min-width: 220px;
  justify-content: center;
}

.process-detail-modal {
  width: min(920px, 100%);
  padding: 38px;
}

.process-modal-heading {
  display: flex;
  gap: 12px;
  align-items: center;
}

.process-modal-heading > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1d2519;
  color: #e0b45a;
  font-size: 10px;
  font-weight: 950;
}

.process-modal-heading .eyebrow {
  margin: 0;
}

.process-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 27px;
}

.process-detail-grid section {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f6f5ef;
}

.process-detail-grid h3 {
  margin: 0 0 13px;
  color: #283522;
  font-size: 13px;
}

.process-detail-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: #60675c;
  font-size: 11px;
  line-height: 1.65;
}

.process-detail-grid li::marker {
  color: #b18432;
}

.process-modal-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.process-modal-footer > span {
  color: #596151;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .process-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-summary-grid article:nth-child(2) {
    border-right: 0;
  }

  .process-summary-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .process-summary-grid article:first-child,
  .process-summary-grid article:nth-child(3) {
    padding-left: 0;
  }

  .process-responsibility-grid {
    grid-template-columns: 1fr;
  }

  .process-role-cards {
    max-width: 760px;
  }

  .process-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .process-center-hero {
    padding: 50px 0;
  }

  .process-summary-grid article {
    grid-template-columns: 30px 1fr;
    padding: 12px 10px;
  }

  .process-summary-grid article:first-child,
  .process-summary-grid article:nth-child(3) {
    padding-left: 0;
  }

  .process-shelves {
    gap: 42px;
  }

  .process-step-card {
    min-height: 198px;
  }

  .process-responsibility-section,
  .process-contact-section {
    padding: 58px 0;
  }

  .process-role-cards,
  .process-contact-inner {
    grid-template-columns: 1fr;
  }

  .process-role-cards article {
    min-height: 250px;
  }

  .process-contact-inner {
    gap: 28px;
  }

  .process-contact-inner .button {
    width: 100%;
  }

  .process-detail-modal {
    padding: 24px;
  }

  .process-modal-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .process-modal-footer .button {
    width: 100%;
  }
}

.course-shelves {
  display: grid;
  gap: 46px;
}

.academy-language-empty {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: 410px;
  padding: clamp(30px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid rgba(80, 107, 60, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 18%, rgba(199, 155, 67, 0.2), transparent 17rem),
    linear-gradient(140deg, #fff, #eef1e9);
  box-shadow: 0 24px 64px rgba(30, 36, 25, 0.1);
}

.academy-language-marker {
  display: grid;
  place-items: center;
  width: clamp(118px, 15vw, 178px);
  aspect-ratio: 1;
  border: 1px solid rgba(80, 107, 60, 0.2);
  border-radius: 34px;
  background: #151b12;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 950;
  letter-spacing: -0.08em;
  box-shadow: 0 22px 48px rgba(20, 26, 17, 0.22);
}

.academy-language-empty h2 {
  max-width: 720px;
  margin: 11px 0 16px;
  font-size: clamp(34px, 4.8vw, 58px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.academy-language-empty div > p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.academy-planned-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 26px;
}

.academy-planned-topics span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(80, 107, 60, 0.1);
  color: var(--forest);
  font-size: 10px;
  font-weight: 850;
}

@media (max-width: 680px) {
  .academy-language-empty {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .academy-language-marker {
    width: 104px;
    border-radius: 26px;
    font-size: 44px;
  }
}

.course-shelf {
  min-width: 0;
}

.course-shelf-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}

.course-shelf-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.course-shelf-mark {
  width: 4px;
  height: 32px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 155, 67, 0.1);
}

.course-shelf-heading h2 {
  margin: 0;
  font-size: clamp(25px, 2.6vw, 34px);
  letter-spacing: -0.035em;
}

.course-shelf-description {
  margin: 5px 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.course-shelf-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.course-shelf-count {
  margin-right: 4px;
  color: #747b70;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.course-shelf-view-all {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(80, 107, 60, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--forest);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.course-shelf-view-all:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.course-shelf-arrow-group {
  display: flex;
  gap: 8px;
}

.course-shelf-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(80, 107, 60, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--forest);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.course-shelf-arrow:hover {
  transform: translateY(-1px);
  background: var(--forest);
  color: #fff;
}

.course-shelf-arrow:disabled {
  transform: none;
  border-color: rgba(80, 107, 60, 0.1);
  background: rgba(255, 255, 255, 0.42);
  color: rgba(80, 107, 60, 0.3);
  cursor: default;
}

.course-rail-viewport {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.course-rail-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.course-rail-viewport::-webkit-scrollbar {
  display: none;
}

.course-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 28.5%;
  gap: 14px;
  padding: 4px 10px 16px 2px;
}

.course-rail-footer {
  display: grid;
  grid-template-columns: auto minmax(140px, 260px) auto;
  align-items: center;
  justify-content: end;
  gap: 12px;
  margin-top: 2px;
}

.course-rail-hint,
.course-rail-page {
  color: #7d8379;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.course-rail-progress {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(80, 107, 60, 0.13);
}

.course-rail-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms ease;
}

.course-shelf.is-expanded .course-rail-viewport {
  overflow: visible;
  cursor: default;
  scroll-snap-type: none;
}

.course-shelf.is-expanded .course-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: unset;
  padding-right: 2px;
}

.course-shelf.is-expanded .course-shelf-arrow-group,
.course-shelf.is-expanded .course-rail-footer {
  display: none;
}

.academy-advanced-preview {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 4.6vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 8%, rgba(199, 155, 67, 0.22), transparent 24rem),
    radial-gradient(circle at 4% 92%, rgba(68, 111, 85, 0.24), transparent 25rem),
    linear-gradient(145deg, #10160f, #171c15 60%, #10130e);
  color: #fff;
  box-shadow: 0 28px 72px rgba(21, 26, 18, 0.2);
}

.academy-advanced-preview::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.academy-advanced-heading,
.academy-advanced-viewport,
.academy-advanced-footer {
  position: relative;
  z-index: 1;
}

.academy-advanced-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.academy-advanced-heading .eyebrow {
  color: #e1b758;
}

.academy-advanced-heading h2 {
  max-width: 820px;
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 52px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.academy-advanced-heading > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(242, 244, 238, 0.68);
  font-size: 13px;
  line-height: 1.7;
}

.academy-advanced-arrows .course-shelf-arrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.academy-advanced-arrows .course-shelf-arrow:hover {
  border-color: rgba(225, 183, 88, 0.7);
  background: #e1b758;
  color: #151912;
}

.academy-advanced-arrows .course-shelf-arrow:disabled {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.24);
}

.academy-advanced-viewport {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.academy-advanced-viewport::-webkit-scrollbar {
  display: none;
}

.academy-advanced-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 32%);
  gap: 14px;
  padding: 3px 10px 16px 1px;
}

.academy-advanced-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 310px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(225, 183, 88, 0.16), transparent 12rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.academy-advanced-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 183, 88, 0.48);
  background:
    radial-gradient(circle at 100% 0, rgba(225, 183, 88, 0.24), transparent 13rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
}

.academy-advanced-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 42px;
}

.academy-advanced-number {
  color: #e1b758;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.academy-advanced-state {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 850;
}

.academy-advanced-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(22px, 2vw, 29px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.academy-advanced-card > p {
  margin: 0;
  color: rgba(242, 244, 238, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.academy-advanced-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.academy-advanced-topics span {
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  font-weight: 800;
}

.academy-advanced-pending {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: #e1b758;
  font-size: 10px;
  font-weight: 900;
}

.academy-advanced-pending::before {
  width: 20px;
  height: 1px;
  background: currentColor;
  content: "";
}

.academy-advanced-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 2px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@media (max-width: 1060px) {
  .academy-advanced-track {
    grid-auto-columns: minmax(290px, 43%);
  }
}

@media (max-width: 760px) {
  .academy-advanced-preview {
    margin-inline: -8px;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .academy-advanced-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .academy-advanced-heading h2 {
    font-size: clamp(31px, 10vw, 43px);
  }

  .academy-advanced-track {
    grid-auto-columns: min(82vw, 320px);
  }

  .academy-advanced-card {
    min-height: 300px;
  }

  .academy-advanced-footer {
    flex-direction: column;
  }
}

.course-poster {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 13px;
  background: #182016;
  box-shadow: 0 13px 30px rgba(18, 22, 16, 0.16);
  color: #fff;
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.course-poster:hover {
  z-index: 2;
  transform: translateY(-4px);
  border-color: rgba(199, 155, 67, 0.72);
  box-shadow: 0 20px 44px rgba(18, 22, 16, 0.24);
}

.course-poster.is-featured {
  border-color: rgba(80, 107, 60, 0.75);
  box-shadow: 0 0 0 2px rgba(80, 107, 60, 0.18), 0 16px 38px rgba(18, 22, 16, 0.2);
}

.course-poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.course-poster:hover > img {
  transform: scale(1.045);
}

.course-poster.is-locked > img {
  filter: saturate(0.7) brightness(0.76);
}

.course-poster-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 12, 8, 0.2) 0%, transparent 33%, rgba(9, 12, 8, 0.92) 100%),
    linear-gradient(90deg, rgba(9, 12, 8, 0.24), transparent 58%);
}

.course-poster-top,
.course-poster-copy {
  position: absolute;
  right: 14px;
  left: 14px;
  z-index: 1;
}

.course-poster-top {
  top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.course-poster-badge,
.course-poster-state {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.course-poster-badge.is-free {
  background: rgba(73, 112, 48, 0.95);
  color: #fff;
}

.course-poster-badge.is-vip {
  background: rgba(199, 155, 67, 0.96);
  color: #171814;
}

.course-poster-state {
  background: rgba(12, 16, 10, 0.72);
  color: rgba(255, 255, 255, 0.86);
}

.course-poster-copy {
  bottom: 13px;
}

.course-poster-copy h3 {
  overflow: hidden;
  margin: 0 0 11px;
  color: #fff;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-poster-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 750;
}

.course-poster-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.course-poster-action:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #171814;
}

.course-poster-action:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.academy-advanced-poster {
  background: #1a2117;
}

.academy-advanced-poster-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
  background:
    radial-gradient(circle at 18% 20%, rgba(199, 155, 67, 0.44), transparent 8rem),
    radial-gradient(circle at 84% 72%, rgba(92, 126, 72, 0.55), transparent 11rem),
    linear-gradient(135deg, #20291c, #10150e);
  color: rgba(255, 255, 255, 0.09);
  font-size: clamp(74px, 8vw, 118px);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.academy-advanced-poster:nth-child(2n) .academy-advanced-poster-art {
  background:
    radial-gradient(circle at 78% 18%, rgba(199, 155, 67, 0.42), transparent 8rem),
    radial-gradient(circle at 16% 80%, rgba(56, 97, 84, 0.62), transparent 11rem),
    linear-gradient(135deg, #13201b, #10150e);
}

.academy-advanced-poster .course-poster-meta > span:first-child {
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.academy-poster-pending {
  cursor: default;
  white-space: nowrap;
}

.academy-poster-pending:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

/* Cinematic product detail */
.product-detail-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.product-cinema-page {
  background: #10130e;
}

.product-cinema-main {
  min-height: 82vh;
  padding-top: 72px;
  background: #10130e;
  color: #fff;
}

.product-cinema-hero {
  --product-hero-image: url("./assets/aoa-DOZZsyNqvqw.jpg");
  position: relative;
  isolation: isolate;
  min-height: 660px;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 82px 0 74px;
}

.product-cinema-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--product-hero-image);
  background-position: center 35%;
  background-size: cover;
  transform: scale(1.025);
}

.product-cinema-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 15, 10, 0.98) 0%, rgba(12, 15, 10, 0.87) 40%, rgba(12, 15, 10, 0.28) 76%, rgba(12, 15, 10, 0.46) 100%),
    linear-gradient(0deg, #10130e 0%, rgba(16, 19, 14, 0.2) 43%, rgba(16, 19, 14, 0.26) 100%);
}

.product-cinema-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.48fr);
  align-items: end;
  gap: clamp(42px, 8vw, 110px);
}

.product-cinema-copy {
  max-width: 760px;
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.product-back-link:hover {
  color: #fff;
}

.product-back-link svg {
  width: 16px;
  height: 16px;
}

.product-cinema-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.product-cinema-identity > img {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.product-cinema-identity p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.product-live-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 999px;
  background: rgba(80, 107, 60, 0.86);
  color: #fff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-cinema-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 7.5vw, 106px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-shadow: 0 9px 28px rgba(0, 0, 0, 0.35);
}

.product-cinema-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.product-cinema-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.product-cinema-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(9px);
}

.product-cinema-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-play-button,
.product-ghost-button {
  min-height: 48px;
  border-radius: 8px;
}

.product-play-button {
  background: #fff;
  color: #151712;
}

.product-play-button:hover {
  background: var(--gold);
  color: #151712;
}

.product-ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.product-ghost-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.product-hero-facts {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(18, 22, 16, 0.72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.product-facts-kicker {
  margin: 0;
  padding: 21px 22px 15px;
  color: #d8b766;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-fact-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.72fr) minmax(0, 1fr);
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.product-fact-row span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.4;
}

.product-fact-row strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.product-store-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.product-store-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.product-store-button:hover {
  transform: translateY(-1px);
  border-color: rgba(199, 155, 67, 0.72);
  background: rgba(199, 155, 67, 0.15);
}

.product-store-button > svg:first-child {
  width: 18px;
  height: 18px;
  color: #d8b766;
}

.product-store-button > svg:last-child {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.product-store-button span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.product-store-button small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  line-height: 1;
}

.product-store-button strong {
  overflow: hidden;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-facts-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(199, 155, 67, 0.12);
  color: #e4ca8c;
  font-size: 11px;
  font-weight: 900;
}

.product-facts-link svg {
  width: 16px;
  height: 16px;
}

.product-market-highlights {
  padding: 62px 0 34px;
  background:
    linear-gradient(180deg, #10130e, #151912 58%, #10130e),
    #10130e;
}

.product-market-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(30px, 6vw, 84px);
  margin-bottom: 28px;
}

.product-market-heading h2 {
  max-width: 740px;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.product-market-heading > p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.65;
}

.product-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.product-stat-card {
  min-height: 150px;
  padding: 27px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.product-stat-card:last-child {
  border-right: 0;
}

.product-stat-card strong {
  display: block;
  color: #d8b766;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.product-stat-card span {
  display: block;
  max-width: 190px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.55;
}

.product-library-section {
  padding: 38px 0 104px;
  background:
    radial-gradient(circle at 84% 16%, rgba(80, 107, 60, 0.16), transparent 31rem),
    #10130e;
}

.product-detail-shelves {
  display: grid;
  gap: 56px;
}

.product-detail-shelf {
  min-width: 0;
}

.product-detail-shelf-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.product-detail-shelf-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.product-detail-shelf-heading p {
  max-width: 700px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.6;
}

.product-detail-shelf-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.product-detail-shelf-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.product-detail-shelf-arrow:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #151712;
}

.product-library-viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-library-viewport::-webkit-scrollbar {
  display: none;
}

.product-library-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 4);
  gap: 14px;
  padding: 4px 2px 18px;
}

.product-library-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: #1d2119;
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.23);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-library-card:hover {
  z-index: 2;
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(199, 155, 67, 0.72);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
}

.product-library-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product-library-card:hover > img {
  transform: scale(1.045);
}

.product-library-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 7, 0.06) 28%, rgba(8, 11, 7, 0.94) 100%);
}

.product-library-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(16, 20, 14, 0.76);
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.product-library-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(8, 11, 7, 0.72);
  color: #fff;
  font-size: 17px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(9px);
  transition: background 180ms ease, transform 180ms ease;
}

.product-library-card.is-video:hover .product-library-card-play,
.product-library-card.is-video-collection:hover .product-library-card-play {
  background: var(--gold);
  color: #151712;
  transform: translate(-50%, -50%) scale(1.08);
}

.product-library-card.is-guide .product-library-card-badge {
  background: rgba(92, 118, 65, 0.88);
}

.product-library-card.is-guide::after {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(12, 15, 10, 0.72);
  color: #fff;
  content: "→";
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.product-library-card.is-guide:hover::after {
  background: var(--gold);
  color: #151712;
  transform: translateX(2px);
}

.product-library-card.is-collection .product-library-card-badge {
  background: rgba(199, 155, 67, 0.9);
  color: #151712;
}

.product-library-card.is-video-collection .product-library-card-badge {
  background: rgba(34, 158, 217, 0.9);
  color: #fff;
}

.product-library-card-copy {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  display: grid;
  gap: 5px;
}

.product-library-card-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-library-card-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-media-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 50px;
  background: rgba(5, 7, 4, 0.92);
  backdrop-filter: blur(12px);
}

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

.product-media-modal figure {
  width: min(1120px, 100%);
  margin: 0;
}

.product-media-modal img {
  width: 100%;
  max-height: 76vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.product-media-modal figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.product-media-modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 27px;
}

.product-media-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(20, 24, 17, 0.76);
  color: #fff;
  cursor: pointer;
  font-size: 25px;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.product-media-modal-nav:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #151712;
}

.product-media-modal-nav[hidden] {
  display: none;
}

.product-media-modal-nav.is-previous {
  left: max(24px, calc((100vw - 1180px) / 2));
}

.product-media-modal-nav.is-next {
  right: max(24px, calc((100vw - 1180px) / 2));
}

.product-video-player {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

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

.product-video-caption-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
}

.product-video-caption-row figcaption {
  margin: 0;
  text-align: left;
}

.product-video-caption-row a {
  flex: 0 0 auto;
  color: #72b7d1;
  font-size: 12px;
  font-weight: 850;
  text-underline-offset: 4px;
}

.partner-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5, 7, 4, 0.82);
  backdrop-filter: blur(12px);
}

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

.partner-contact-dialog {
  position: relative;
  width: min(430px, 100%);
  max-height: min(860px, calc(100vh - 44px));
  overflow-y: auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 10%, rgba(199, 155, 67, 0.18), transparent 16rem),
    #171b14;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  text-align: center;
}

.partner-contact-dialog.is-telegram {
  width: min(760px, 100%);
}

.partner-contact-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}

.partner-contact-kicker {
  display: block;
  color: #d8b766;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-contact-dialog h2 {
  margin: 12px 34px 10px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -0.035em;
}

.partner-contact-dialog > p {
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.partner-contact-qr {
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.partner-contact-body {
  display: block;
}

.partner-contact-dialog.is-telegram .partner-contact-body {
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(230px, 1fr);
  align-items: center;
  gap: 28px;
  text-align: left;
}

.partner-contact-qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  image-rendering: crisp-edges;
}

.partner-contact-qr.is-telegram {
  width: min(310px, 100%);
  aspect-ratio: 0.82;
  padding: 0;
  overflow: hidden;
  background: #bfe9ec;
}

.partner-contact-qr.is-telegram img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 43%;
}

.partner-contact-telegram-actions[hidden] {
  display: none;
}

.partner-contact-telegram-actions > span {
  color: #72b7d1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-contact-telegram-actions > strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(23px, 4vw, 32px);
  letter-spacing: -0.035em;
}

.partner-contact-telegram-actions > p {
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.partner-contact-telegram-actions > a:not(.partner-contact-plain-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: #229ed9;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(34, 158, 217, 0.22);
}

.partner-contact-telegram-actions svg {
  width: 17px;
  height: 17px;
}

.partner-contact-plain-link {
  display: block;
  width: fit-content;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  text-underline-offset: 4px;
}

.partner-contact-dialog > small {
  display: block;
  max-width: 310px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  line-height: 1.55;
}

.product-cinema-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: #0b0e09;
  color: #fff;
}

.product-cinema-footer p {
  color: rgba(255, 255, 255, 0.55);
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.learning-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 350px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(25, 28, 20, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.learning-card:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 107, 60, 0.3);
  box-shadow: 0 24px 60px rgba(25, 28, 20, 0.11);
}

.learning-card.is-locked {
  background: linear-gradient(155deg, #fff, #f2f0e9);
}

.learning-card-top,
.learning-card-footer,
.media-library-footer,
.material-detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.learning-card-number {
  color: rgba(24, 27, 21, 0.1);
  font-size: 42px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.content-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(199, 155, 67, 0.14);
  color: #8d641d;
  font-size: 12px;
  font-weight: 900;
}

.content-pill.is-free {
  background: rgba(26, 117, 105, 0.11);
  color: #176f65;
}

.learning-card h3,
.media-library-body h3 {
  margin: 24px 0 12px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.learning-card > p,
.media-library-body > p {
  color: var(--muted);
  line-height: 1.65;
}

.learning-card-footer {
  align-items: flex-end;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.content-card-action,
.media-library-footer .button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.content-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 230px auto;
  align-items: center;
  gap: 12px;
  margin: 34px 0 24px;
}

.content-search {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.content-search:focus {
  border-color: rgba(80, 107, 60, 0.55);
  box-shadow: 0 0 0 3px rgba(80, 107, 60, 0.1);
}

.content-result-count {
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

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

.media-library-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(25, 28, 20, 0.07);
}

.media-library-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #182016;
}

.media-library-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.media-library-card:hover img {
  transform: scale(1.035);
}

.media-access-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(20, 24, 18, 0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.media-access-label.is-open {
  background: rgba(65, 100, 46, 0.92);
}

.media-library-body {
  display: grid;
  padding: 22px;
}

.media-library-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.media-library-body h3 {
  margin-top: 16px;
  font-size: 22px;
}

.media-library-body > p {
  min-height: 78px;
  font-size: 14px;
}

.media-library-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.media-library-tags span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(80, 107, 60, 0.08);
  color: var(--forest);
  font-size: 10px;
  font-weight: 850;
}

.media-library-footer {
  align-items: flex-end;
  margin-top: 18px;
}

.content-empty {
  grid-column: 1 / -1;
  padding: 54px 24px;
  border: 1px dashed rgba(80, 107, 60, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  text-align: center;
}

.content-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 20, 15, 0.72);
  backdrop-filter: blur(9px);
}

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

.content-modal {
  position: relative;
  width: min(620px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 34px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.content-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
}

.content-modal h2 {
  margin: 12px 45px 14px 0;
  font-size: 34px;
}

.content-lesson-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: lessons;
}

.content-lesson-list li {
  counter-increment: lessons;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f6f1;
}

.content-lesson-list li::before {
  content: counter(lessons, decimal-leading-zero) " · ";
  color: var(--gold-dark);
  font-weight: 900;
}

body.modal-open {
  overflow: hidden;
}

.material-detail-main {
  min-height: 75vh;
  padding: 118px 0 90px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
}

.back-link svg {
  width: 17px;
  height: 17px;
}

.material-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.material-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #151a13;
  box-shadow: var(--shadow);
}

.material-stage iframe,
.material-stage > img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.material-stage-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 30px;
  background: rgba(17, 20, 15, 0.72);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(5px);
}

.material-stage-lock strong {
  font-size: 28px;
}

.material-stage-lock p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.material-detail-copy {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.material-detail-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.material-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.material-detail-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 1060px) {
  .content-page-hero-grid,
  .catalog-heading,
  .material-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .content-access-card {
    max-width: 620px;
  }

  .course-rail {
    grid-auto-columns: 38%;
  }

  .course-shelf.is-expanded .course-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .product-hero-facts {
    max-width: 640px;
  }

  .product-library-rail {
    grid-auto-columns: calc((100% - 28px) / 3);
  }

  .product-market-heading {
    grid-template-columns: 1fr;
  }

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

  .product-stat-card:nth-child(2) {
    border-right: 0;
  }

  .product-stat-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 760px) {
  .content-page-main {
    padding-top: 66px;
  }

  .content-page-hero {
    padding: 62px 0 54px;
  }

  .content-page-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .content-card-grid,
  .media-card-grid {
    grid-template-columns: 1fr;
  }

  .content-toolbar {
    grid-template-columns: 1fr;
  }

  .content-result-count {
    justify-self: start;
  }

  .learning-card {
    min-height: 0;
    padding: 22px;
  }

  .learning-card-footer,
  .media-library-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .content-card-action,
  .media-library-footer .button {
    width: 100%;
  }

  .academy-page-hero {
    padding: 48px 0;
  }

  .course-library-section {
    padding: 44px 0 72px;
  }

  .course-shelves {
    gap: 38px;
  }

  .course-shelf-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-shelf-description {
    margin-left: 0;
  }

  .course-shelf-arrow {
    width: 38px;
    height: 38px;
  }

  .course-rail {
    grid-auto-columns: min(82vw, 320px);
  }

  .course-shelf-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .course-shelf-arrow-group {
    margin-left: auto;
  }

  .course-rail-footer {
    grid-template-columns: 1fr auto;
  }

  .course-rail-hint {
    grid-column: 1 / -1;
  }

  .course-shelf.is-expanded .course-rail {
    grid-template-columns: 1fr;
  }

  .product-cinema-main {
    padding-top: 66px;
  }

  .product-cinema-hero {
    min-height: 0;
    padding: 54px 0 58px;
  }

  .product-cinema-hero::before {
    background:
      linear-gradient(90deg, rgba(12, 15, 10, 0.92), rgba(12, 15, 10, 0.58)),
      linear-gradient(0deg, #10130e 0%, rgba(16, 19, 14, 0.16) 55%, rgba(16, 19, 14, 0.3) 100%);
  }

  .product-back-link {
    margin-bottom: 34px;
  }

  .product-cinema-copy h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .product-cinema-actions .button {
    width: 100%;
  }

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

  .product-library-section {
    padding-bottom: 76px;
  }

  .product-market-highlights {
    padding: 48px 0 24px;
  }

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

  .product-stat-card,
  .product-stat-card:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .product-stat-card:last-child {
    border-bottom: 0;
  }

  .product-detail-shelves {
    gap: 44px;
  }

  .product-detail-shelf-heading {
    align-items: center;
  }

  .product-detail-shelf-heading p {
    max-width: none;
  }

  .product-library-rail {
    grid-auto-columns: min(82vw, 320px);
  }

  .product-media-modal {
    padding: 64px 14px 30px;
  }

  .product-media-modal-nav {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .product-media-modal-nav.is-previous {
    left: 8px;
  }

  .product-media-modal-nav.is-next {
    right: 8px;
  }

  .product-video-caption-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .partner-contact-dialog {
    padding: 28px 20px 24px;
  }

  .partner-contact-dialog h2 {
    margin-right: 28px;
    margin-left: 28px;
    font-size: 26px;
  }

  .partner-contact-dialog.is-telegram .partner-contact-body {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .partner-contact-qr.is-telegram {
    width: min(260px, 100%);
  }

  .partner-contact-plain-link {
    margin-right: auto;
    margin-left: auto;
  }

  .material-detail-main {
    padding-top: 96px;
  }

  .material-detail-copy,
  .content-modal {
    padding: 24px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 82px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "brand nav actions menu";
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 28px;
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-elevated,
.site-header.menu-open {
  background: rgba(245, 244, 239, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(18, 22, 16, 0.09);
  backdrop-filter: blur(16px);
}

.site-notice {
  position: relative;
  z-index: 20;
  margin-top: 72px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(123, 92, 26, .22);
  background: #e3b54f;
  color: #1d1d18;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand-copy small {
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.7;
  text-transform: uppercase;
}

.main-nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.82;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  opacity: 1;
  outline: none;
}

.site-header.is-elevated .main-nav a:hover,
.site-header.is-elevated .main-nav a:focus-visible,
.site-header.menu-open .main-nav a:hover,
.site-header.menu-open .main-nav a:focus-visible {
  background: rgba(80, 107, 60, 0.12);
}

.header-cta,
.lang-toggle,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  grid-area: actions;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-cta {
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
}

.lang-toggle {
  min-width: 74px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
}

.lang-toggle:disabled,
.lang-toggle.is-coming-soon {
  min-width: 112px;
  opacity: 0.52;
  filter: grayscale(1);
  cursor: not-allowed;
  box-shadow: none;
}

.lang-toggle:disabled:hover,
.lang-toggle:disabled:focus-visible {
  transform: none;
  outline: none;
}

.site-header.is-elevated .header-cta,
.site-header.menu-open .header-cta {
  background: var(--forest);
  color: #fff;
}

.site-header.is-elevated .lang-toggle,
.site-header.menu-open .lang-toggle {
  border-color: rgba(80, 107, 60, 0.22);
  background: rgba(80, 107, 60, 0.1);
  color: var(--ink);
}

.button {
  min-height: 50px;
  padding: 0 20px;
}

.button svg,
.header-cta svg,
.lang-toggle svg,
.text-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 15px 35px rgba(80, 107, 60, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #435b31;
  outline: none;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.nav-toggle {
  grid-area: menu;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 84svh;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.03) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 14, 11, 0.94) 0%, rgba(14, 16, 12, 0.78) 39%, rgba(14, 16, 12, 0.36) 100%),
    linear-gradient(0deg, rgba(12, 14, 11, 0.8) 0%, rgba(12, 14, 11, 0) 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 132px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.45;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin: 46px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  min-height: 102px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics dt {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
}

.hero-metrics dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.intro-band {
  background: var(--dark);
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 110px;
}

.intro-grid p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.intro-band .text-link {
  color: #d6c28f;
}

.section {
  padding: 92px 0;
}

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

.product-showcase {
  position: relative;
  background:
    radial-gradient(circle at 18% 18%, rgba(199, 155, 67, 0.16), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(23, 107, 101, 0.13), transparent 30%),
    var(--bg);
}

.product-scroll {
  min-height: auto;
}

.product-sticky {
  position: relative;
  display: grid;
  align-items: center;
  min-height: auto;
  overflow: hidden;
  padding: 92px 0 76px;
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "copy controls"
    "stage stage"
    "footer footer";
  gap: 28px 42px;
  align-items: end;
}

.product-copy {
  grid-area: copy;
  max-width: 780px;
}

.product-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
}

.product-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.product-controls {
  grid-area: controls;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(25, 28, 20, 0.08);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--forest);
  color: #fff;
  outline: none;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.product-controls .icon-button i {
  display: none;
}

.product-controls .icon-button::before {
  font-size: 22px;
  line-height: 1;
}

.product-controls .icon-button[data-product-prev]::before {
  content: "<";
}

.product-controls .icon-button[data-product-next]::before {
  content: ">";
}

.product-stage {
  grid-area: stage;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0 0 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-stage::-webkit-scrollbar {
  display: none;
}

.product-track {
  display: flex;
  gap: 26px;
  width: max-content;
  transform: none;
  transition: none;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(310px, 1fr);
  width: min(820px, calc(100vw - 82px));
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(25, 28, 20, 0.17);
  opacity: 0.52;
  transform: scale(0.94);
  scroll-snap-align: start;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
  backdrop-filter: blur(12px);
}

.product-panel.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 34px 95px rgba(25, 28, 20, 0.22);
}

.product-art {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: var(--dark-2);
}

.product-art > img,
.media-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 500ms ease;
}

.product-panel.is-active .product-art > img,
.product-panel.is-active .media-slide.is-active img {
  transform: scale(1);
}

.product-art.portrait > img,
.product-art.portrait .media-slide img {
  object-position: top center;
}

.product-art.landscape > img,
.product-art.landscape .media-slide img {
  object-position: center;
}

.product-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  background: linear-gradient(0deg, rgba(12, 14, 11, 0.74), transparent);
  pointer-events: none;
}

.product-art.media-carousel {
  display: grid;
  isolation: isolate;
}

.media-track {
  grid-area: 1 / 1;
  display: flex;
  width: 100%;
  min-height: inherit;
  overflow: visible;
  transform: translateX(calc(var(--media-index, 0) * -100%));
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .media-track {
    transition: none;
  }
}

.media-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  min-height: inherit;
  margin: 0;
  overflow: hidden;
}

.media-slide img {
  position: absolute;
  inset: 0;
}

.media-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}

.media-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(18, 20, 16, 0.55);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.product-art:hover .media-button,
.product-art:focus-within .media-button,
.product-panel.is-active .media-button {
  opacity: 1;
  transform: translateY(0);
}

.media-button:hover {
  background: rgba(80, 107, 60, 0.86);
}

.media-button svg {
  width: 18px;
  height: 18px;
}

.media-status {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.media-counter {
  min-width: 52px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(18, 20, 16, 0.58);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  backdrop-filter: blur(12px);
}

.media-dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  pointer-events: auto;
}

.media-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  transition:
    width 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.media-dots button.is-active {
  width: 24px;
  background: #fff;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  min-height: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(21, 23, 18, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.product-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-width: 0;
  padding: 34px;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.product-panel-dark {
  background: var(--dark);
  color: #fff;
}

.product-panel-dark .product-description,
.product-panel-dark .game-title-row p {
  color: rgba(255, 255, 255, 0.7);
}

.product-panel-dark .text-link {
  color: #d6c28f;
}

.product-panel-dark .tag-list li {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.product-art.abstract {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(80, 107, 60, 0.92), rgba(23, 107, 101, 0.86)),
    var(--dark-2);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 56px);
  gap: 12px;
  transform: rotate(-8deg);
}

.signal-grid span {
  display: block;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  animation: signalPulse 2.8s ease-in-out infinite;
}

.signal-grid span:nth-child(2n) {
  animation-delay: 260ms;
}

.signal-grid span:nth-child(3n) {
  animation-delay: 520ms;
}

.pipeline-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #d6c28f;
}

.pipeline-icon svg {
  width: 30px;
  height: 30px;
}

.product-panel-dark h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.product-footer {
  grid-area: footer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.product-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 24, 20, 0.1);
}

.product-progress span {
  display: block;
  width: calc(var(--product-progress, 0) * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--gold));
}

.product-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px);
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.contact-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-inner p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

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

.game-card,
.process-grid article,
.academy-grid article,
.support-grid div,
.reward-panel,
.audience-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(25, 28, 20, 0.07);
}

.game-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.86fr) minmax(0, 1fr);
  min-height: 390px;
  overflow: hidden;
}

.game-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--dark-2);
}

.game-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-visual.portrait img {
  object-position: top center;
}

.game-visual.landscape img {
  object-position: center;
}

.game-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 26px;
}

.game-title-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.game-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(20, 23, 18, 0.18);
}

.game-title-row h3,
.audience-list h3,
.process-grid h3,
.academy-grid h3,
.support-grid h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.game-title-row p,
.audience-list p,
.process-grid p,
.academy-grid p,
.support-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  min-height: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(80, 107, 60, 0.18);
  border-radius: var(--radius);
  background: rgba(80, 107, 60, 0.08);
  color: #344c28;
  font-size: 12px;
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

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

.audience-list div {
  min-height: 214px;
  padding: 24px;
}

.audience-list svg,
.support-grid svg {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: var(--teal);
}

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

.process-grid article {
  position: relative;
  min-height: 254px;
  padding: 24px;
  overflow: hidden;
}

.process-center-entry {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.process-center-entry .button {
  min-width: 250px;
  justify-content: center;
}

.process-grid span {
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(23, 24, 20, 0.1);
  font-size: 44px;
  font-weight: 950;
}

.process-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 32px;
  color: var(--ember);
}

.academy-section {
  background:
    linear-gradient(135deg, rgba(237, 233, 223, 0.96), rgba(245, 244, 239, 0.86)),
    var(--panel-strong);
}

.academy-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.academy-layout .button {
  margin-top: 24px;
}

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

.academy-grid article {
  position: relative;
  min-height: 236px;
  padding: 24px;
  overflow: hidden;
}

.academy-grid article::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--forest), var(--gold));
  opacity: 0.52;
}

.academy-grid span {
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(23, 24, 20, 0.08);
  font-size: 42px;
  font-weight: 950;
}

.academy-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 30px;
  color: var(--teal);
}

.academy-grid article:nth-child(2) svg {
  color: var(--forest);
}

.academy-grid article:nth-child(3) svg {
  color: var(--gold);
}

.academy-grid article:nth-child(4) svg {
  color: var(--ember);
}

.rewards {
  background:
    linear-gradient(135deg, rgba(21, 23, 18, 0.96), rgba(34, 37, 30, 0.94)),
    var(--dark);
  color: #fff;
}

.rewards-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(340px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.rewards .section-heading h2,
.rewards .section-heading p:not(.eyebrow) {
  color: #fff;
}

.rewards .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.rewards-cta {
  margin-top: 24px;
}

.reward-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.reward-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.reward-row span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 750;
}

.reward-row strong {
  max-width: 310px;
  color: #fff;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 950;
  line-height: 1.25;
  text-align: right;
}

.reward-note {
  padding: 22px 24px 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

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

.support-grid div {
  min-height: 232px;
  padding: 24px;
}

.rules-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

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

.rule-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.rule-list svg {
  width: 24px;
  height: 24px;
  color: var(--ember);
}

.rule-list span {
  color: #3a3d34;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.faq-section {
  padding-bottom: 74px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--forest);
  font-size: 24px;
  font-weight: 750;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 760px;
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.62;
}

.contact-section {
  padding: 92px 0;
  background: var(--forest);
  color: #fff;
}

.contact-inner {
  width: min(820px, var(--container));
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2,
.contact-inner p,
.contact-inner .eyebrow {
  color: #fff;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.contact-section .button-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(20, 24, 18, 0.2);
}

.contact-section .button-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contact-note {
  margin-top: 16px;
  font-size: 14px;
}

.site-footer {
  padding: 34px 0;
  background: var(--dark);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.footer-inner strong {
  display: block;
  font-size: 17px;
}

.footer-inner p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  outline: none;
}

.footer-inner > p {
  justify-self: end;
  max-width: 520px;
  text-align: right;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-body {
  background: var(--bg);
}

.legal-body .site-header {
  background: rgba(245, 244, 239, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(18, 22, 16, 0.09);
  backdrop-filter: blur(16px);
}

.legal-body .header-cta {
  background: var(--forest);
  color: #fff;
}

.legal-body .lang-toggle {
  border-color: rgba(80, 107, 60, 0.22);
  background: rgba(80, 107, 60, 0.1);
  color: var(--ink);
}

.legal-main {
  min-height: 100svh;
}

.legal-hero {
  padding: 132px 0 58px;
  background:
    radial-gradient(circle at 14% 18%, rgba(199, 155, 67, 0.2), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(23, 107, 101, 0.16), transparent 28%),
    var(--panel-strong);
}

.legal-hero-inner {
  max-width: 850px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.legal-back svg {
  width: 17px;
  height: 17px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.legal-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.legal-updated {
  font-weight: 850;
}

.legal-section {
  padding: 70px 0 96px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(25, 28, 20, 0.07);
  backdrop-filter: blur(12px);
}

.legal-nav a {
  min-height: 38px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a.is-current {
  background: rgba(80, 107, 60, 0.1);
  color: var(--ink);
  outline: none;
}

.legal-copy {
  display: grid;
  gap: 18px;
}

body[data-lang="en"] [data-legal-content="zh"],
body[data-lang="zh"] [data-legal-content="en"] {
  display: none;
}

.legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(25, 28, 20, 0.07);
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.legal-card h3 {
  margin: 20px 0 8px;
  font-size: 18px;
  line-height: 1.22;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.legal-card p {
  margin: 0;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-card strong {
  color: var(--ink);
}

.legal-note {
  border-color: rgba(199, 155, 67, 0.34);
  background: rgba(199, 155, 67, 0.09);
}

@media (max-width: 1060px) {
  .site-header {
    display: flex;
    gap: 12px;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    display: grid;
    order: 3;
  }

  .main-nav {
    order: 4;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(245, 244, 239, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .main-nav {
    display: grid;
  }

  .main-nav a {
    min-height: 44px;
  }

  .header-cta {
    justify-self: end;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
    justify-self: end;
  }

  .game-grid,
  .split,
  .academy-layout,
  .legal-layout,
  .rewards-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .product-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "controls"
      "stage"
      "footer";
    gap: 22px;
  }

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

  .product-controls {
    justify-content: flex-start;
  }

  .product-panel {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .site-header {
    display: block;
    min-height: 66px;
    padding: 0 14px;
  }

  .brand {
    position: absolute;
    top: 11px;
    left: 14px;
    min-width: 0;
  }

  .header-actions {
    position: fixed !important;
    top: 12px !important;
    right: auto !important;
    left: min(250px, calc(100vw - 134px)) !important;
    z-index: 42;
    margin-left: 0 !important;
  }

  .nav-toggle {
    position: fixed !important;
    top: 11px !important;
    right: auto !important;
    left: min(314px, calc(100vw - 58px)) !important;
    z-index: 43;
    display: grid !important;
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .lang-toggle {
    min-width: 58px;
    min-height: 42px;
    padding: 0 10px;
  }

  .lang-toggle svg {
    display: none;
  }

  .main-nav {
    top: 66px;
  }

  .hero {
    min-height: 86svh;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 14, 11, 0.94) 0%, rgba(14, 16, 12, 0.76) 100%),
      linear-gradient(0deg, rgba(12, 14, 11, 0.82) 0%, rgba(12, 14, 11, 0) 52%);
  }

  .hero-inner {
    padding: 102px 0 28px;
  }

  .hero h1 {
    max-width: 9.4ch;
    font-size: clamp(38px, 10.6vw, 46px);
    line-height: 1.04;
  }

  .hero-lede {
    max-width: 34ch;
    font-size: 17px;
  }

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

  .hero-actions {
    width: calc(100vw - 56px);
    max-width: 340px;
  }

  .contact-actions {
    width: min(100%, calc(100vw - 40px));
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-metrics div {
    min-height: 74px;
    padding: 16px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 0;
  }

  .section {
    padding: 66px 0;
  }

  .legal-hero {
    padding: 104px 0 46px;
  }

  .legal-section {
    padding: 46px 0 70px;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 22px;
  }

  .product-sticky {
    padding: 66px 0 54px;
  }

  .product-copy h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .product-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .product-panel {
    grid-template-columns: 1fr;
    width: min(86vw, 360px);
    min-height: 0;
  }

  .product-art {
    min-height: 330px;
  }

  .product-art.landscape {
    min-height: 220px;
  }

  .product-art.abstract {
    min-height: 260px;
  }

  .media-controls {
    padding: 0 10px;
  }

  .media-button {
    width: 34px;
    height: 34px;
    opacity: 1;
    transform: none;
  }

  .media-status {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .product-detail {
    padding: 22px;
  }

  .signal-grid {
    grid-template-columns: repeat(4, 38px);
    gap: 9px;
  }

  .signal-grid span {
    width: 38px;
    height: 38px;
  }

  .product-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .game-grid,
  .audience-list,
  .process-grid,
  .academy-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .game-visual {
    min-height: 260px;
  }

  .game-visual.portrait {
    max-height: 420px;
  }

  .game-content {
    padding: 22px;
  }

  .reward-row {
    min-height: 68px;
    padding: 0 18px;
  }

  .reward-row strong {
    font-size: 21px;
  }

  .rule-list div {
    grid-template-columns: 34px 1fr;
    padding: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner > p {
    justify-self: start;
    text-align: left;
  }
}
