@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;600;700;800;900&display=swap");

:root {
  --dark: #1b0d06;
  --brown: #3a1b0e;
  --brown-2: #5a2b14;
  --gold: #f7bd54;
  --orange: #d8701f;
  --amber: #ffdd8a;
  --cream: #fff5df;
  --muted: #cfae78;
  --line: rgba(247, 189, 84, 0.32);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 75% 0%, rgba(247, 189, 84, 0.24), transparent 34%),
    linear-gradient(135deg, #160904 0%, #3b1608 46%, #201008 100%);
  font-family: "Noto Serif", Cambria, "Times New Roman", Times, serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* Combined site wrapper supplies the shared fixed navigation. */
.topbar {
  display: none !important;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px clamp(20px, 4vw, 54px);
  background: rgba(27, 13, 6, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--amber);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-notice {
  flex: 1 1 260px;
  margin: 0;
  color: #f2d29b;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
}

.page-notice a {
  color: #ffe08a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.nav a,
.nav button {
  color: #f2d29b;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav button:hover {
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(30px, 5vw, 58px) clamp(20px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 960px;
}

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

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 1060px;
  font-size: clamp(46px, 6vw, 90px);
  color: #fff7df;
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.85),
    0 0 14px rgba(247, 189, 84, 0.42),
    0 0 34px rgba(216, 112, 31, 0.26);
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(30px, 4.6vw, 54px);
}

p {
  line-height: 1.7;
}

.lead {
  max-width: 820px;
  color: #f1d3a4;
  font-size: 19px;
}

.price {
  display: inline-flex;
  margin: 18px 0 8px;
  padding: 8px 14px;
  color: #1b0d06;
  background: linear-gradient(135deg, #fff0b8, var(--gold), #f28a24);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 10px 28px rgba(216, 112, 31, 0.26);
}

.buy-price {
  margin-top: 18px;
  color: #120702;
  background: linear-gradient(135deg, #ffe08a, #f4a22e);
  text-shadow: none;
}

.buy-copy .buy-price {
  color: #120702;
  font-weight: 950;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
  margin: 22px 0 14px;
}

.price-options div,
.package-option {
  display: grid;
  gap: 6px;
  padding: 14px;
  color: #120702;
  text-align: left;
  background: linear-gradient(135deg, #ffe08a, #f4a22e);
  border: 1px solid rgba(255, 240, 184, 0.55);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(216, 112, 31, 0.2);
}

.package-option {
  cursor: pointer;
}

.package-option.selected {
  outline: 3px solid rgba(255, 245, 223, 0.42);
  box-shadow: 0 0 0 2px rgba(247, 189, 84, 0.35), 0 16px 34px rgba(216, 112, 31, 0.32);
  transform: translateY(-2px);
}

.price-options span,
.package-option span {
  font-size: 15px;
  font-weight: 900;
}

.price-options strong,
.package-option strong {
  font-size: 24px;
  line-height: 1;
}

.price-options .combo-price,
.package-option.combo-price {
  background: linear-gradient(135deg, #fff1bd, #f7bd54 42%, #e8791e);
  outline: 2px solid rgba(255, 245, 223, 0.22);
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
}

.primary-btn {
  color: #221006;
  background: linear-gradient(135deg, #fff0b8, var(--gold) 45%, #e8791e);
  box-shadow: 0 12px 32px rgba(216, 112, 31, 0.3);
}

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

.secondary-btn {
  color: var(--amber);
  background: rgba(255, 245, 223, 0.05);
  border-color: var(--gold);
}

.secondary-btn:hover {
  background: rgba(247, 189, 84, 0.14);
}

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

.stats span {
  padding: 11px 14px;
  color: #f5dba9;
  background: rgba(255, 245, 223, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.hero-art {
  margin: 0;
}

.hero-art img {
  display: block;
  width: min(100%, 620px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(38px, 5vw, 66px) clamp(20px, 4vw, 54px);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: clamp(22px, 3vw, 36px);
}

.promise-grid article,
.payment-card,
.order-form {
  background: linear-gradient(180deg, rgba(255, 245, 223, 0.1), rgba(255, 245, 223, 0.045));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.promise-grid article {
  padding: 24px;
}

.promise-grid img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.promise-grid h2 {
  margin-top: 18px;
  font-size: 28px;
}

.promise-grid p,
.section-heading p,
.buy-copy p,
.contact p,
.books-copy p {
  color: #e8c99a;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.compact-heading {
  max-width: 940px;
}

.catalog-preview {
  background: rgba(20, 9, 4, 0.64);
  border-block: 1px solid var(--line);
}

.catalog-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.catalog-columns article {
  padding: 18px;
  background: rgba(255, 245, 223, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.list-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.list-title span {
  display: grid;
  width: 54px;
  height: 44px;
  place-items: center;
  color: #1b0d06;
  background: linear-gradient(135deg, #fff0b8, var(--gold), #e8791e);
  border-radius: 8px;
  font-weight: 950;
}

.list-title h3 {
  margin: 0;
  color: var(--cream);
  font-size: 22px;
}

.inline-actions {
  margin-top: 20px;
}

.books-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  padding-top: clamp(22px, 3vw, 36px);
  background:
    radial-gradient(circle at 72% 18%, rgba(247, 189, 84, 0.22), transparent 32%),
    rgba(58, 27, 14, 0.4);
  border-bottom: 1px solid var(--line);
}

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

.books-copy h2 {
  color: #fff2c9;
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.85),
    0 0 12px rgba(247, 189, 84, 0.42),
    0 0 30px rgba(216, 112, 31, 0.24);
}

.book-price {
  margin-top: 18px;
  color: #120702;
}

.books-copy .book-price {
  color: #120702;
  font-weight: 950;
}

.book-pack-cover {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 18px;
  color: inherit;
  text-align: left;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.book-pack-cover:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.book-cover-title {
  display: grid;
  gap: 6px;
}

.book-cover-title small {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.book-cover-title strong {
  color: var(--cream);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.book-cover-title em {
  color: #f2d29b;
  font-style: normal;
  font-weight: 800;
}

.book-cover-shelf {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
  gap: 10px;
}

.book-cover-shelf img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid rgba(247, 189, 84, 0.28);
  border-radius: 8px;
}

.book-pack-image {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.book-pack-image:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.book-pack-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.crop-bottom {
  object-position: center 82%;
}

.crop-right {
  object-position: 78% center;
}

.buy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: start;
}

.order-form {
  display: grid;
  max-width: 620px;
  gap: 14px;
  margin-top: 24px;
  padding: 22px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: #f1d3a4;
  font-weight: 700;
}

.order-form input {
  min-height: 46px;
  padding: 0 13px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.order-form input::placeholder {
  color: #b99163;
}

.payment-card {
  padding: 18px;
}

.payment-hidden {
  display: none;
}

.payment-card h3 {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: 26px;
}

.qr {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}

.bank-info {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.bank-info span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.bank-info strong {
  color: var(--cream);
  font-size: 18px;
}

.payment-note {
  color: #f2d29b;
  line-height: 1.55;
}

.group-links {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 850;
}

.group-links a {
  color: #ffe08a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.confirm-payment {
  width: 100%;
  margin-top: 10px;
}

.confirm-message {
  margin: 12px 0 0;
  color: #ffe08a;
  font-weight: 900;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  background: rgba(122, 57, 20, 0.32);
  border-block: 1px solid var(--line);
}

.book-next {
  max-width: 900px;
}

.detail-modal {
  width: min(94vw, 1100px);
  max-height: 86vh;
  padding: 28px;
  overflow: auto;
  color: var(--cream);
  background: #1d0d06;
  border: 1px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 24px;
}

.doc-list {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.doc-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.word-icon {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 7px;
}

.doc-item strong,
.doc-item small {
  display: block;
}

.doc-item small {
  margin-top: 3px;
  color: #dcb981;
}

.contact a {
  color: var(--gold);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact .primary-btn,
.contact .secondary-btn {
  color: #120702;
}

.contact .secondary-btn {
  background: linear-gradient(135deg, #fff0b8, #f7bd54);
}

.payment-summary {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.payment-summary div {
  padding: 12px;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.book-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.book-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.book-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.38) 42%, transparent 58%),
    radial-gradient(circle at 18% 0%, rgba(255, 224, 138, 0.22), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(255, 160, 42, 0.16), transparent 30%);
  opacity: 0;
  transform: translateX(-34%);
  transition:
    opacity 240ms ease,
    transform 760ms ease;
  pointer-events: none;
}

.book-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(255, 224, 138, 0.14), transparent 38%, rgba(247, 128, 30, 0.12)),
    rgba(255, 245, 223, 0.02);
  pointer-events: none;
}

.book-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 7px;
}

.book-card:hover,
.book-card:focus-within {
  border-color: rgba(255, 230, 150, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 220, 0.3),
    0 18px 40px rgba(32, 12, 4, 0.28),
    0 0 30px rgba(247, 189, 84, 0.2);
  transform: translateY(-2px);
}

.book-card:hover::before,
.book-card:focus-within::before {
  opacity: 1;
  transform: translateX(34%);
}

.book-card strong,
.book-card small {
  display: block;
}

.book-card strong {
  color: var(--cream);
  font-size: 19px;
  line-height: 1.25;
}

.book-card small,
.coming-note {
  color: #dcb981;
}

.book-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mini-btn {
  min-height: 38px;
  width: fit-content;
  padding: 0 14px;
}

.demo-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.demo-list a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: var(--cream);
  text-decoration: none;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.demo-list a:hover {
  border-color: var(--gold);
  background: rgba(247, 189, 84, 0.12);
}

.pdf-icon {
  width: 46px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.26));
}

.toc-block {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.toc-block details {
  padding: 14px;
  background: rgba(255, 245, 223, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toc-block summary {
  color: var(--gold);
  font-size: 21px;
  font-weight: 950;
  cursor: pointer;
}

.toc-list {
  columns: 2;
  column-gap: 34px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: #f2d29b;
}

.toc-list li {
  break-inside: avoid;
  margin: 0 0 8px;
  line-height: 1.35;
}

.course-hero .hero-art img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.course-hero {
  min-height: auto;
  padding-top: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(22px, 3vw, 34px);
}

.course-subtitle {
  color: #ffe08a;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.9),
    0 0 18px rgba(247, 189, 84, 0.36);
}

.hero-price-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: min(100%, 520px);
  margin: 18px 0 18px;
  padding: 16px 20px;
  color: #210b02;
  background:
    linear-gradient(135deg, #fff6c9 0%, #ffd05f 38%, #f08a1f 78%, #9a3d0a 100%);
  border: 1px solid rgba(255, 244, 203, 0.86);
  border-radius: 10px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.7),
    inset 0 -10px 22px rgba(94, 31, 4, 0.2),
    0 16px 36px rgba(31, 11, 3, 0.34),
    0 0 34px rgba(247, 189, 84, 0.34);
}

.hero-price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.65) 44%, transparent 58%);
  transform: translateX(-84%);
  transition: transform 780ms ease;
  pointer-events: none;
}

.hero-price-card:hover::before,
.hero-price-card:focus-within::before {
  transform: translateX(84%);
}

.hero-price-card span,
.hero-price-card small {
  position: relative;
  z-index: 1;
  font-weight: 900;
}

.hero-price-card span {
  font-size: 15px;
  text-transform: uppercase;
}

.hero-price-card strong {
  position: relative;
  z-index: 1;
  color: #160600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 249, 223, 0.68);
}

.hero-price-card small {
  color: #4a1b05;
  font-size: 15px;
}

.roadmap-section {
  padding-top: clamp(18px, 2.6vw, 34px);
  padding-bottom: clamp(28px, 4vw, 48px);
  background: rgba(122, 57, 20, 0.22);
}

.roadmap-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.course-side-card,
.revision-grid article {
  display: grid;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 240, 184, 0.18), rgba(216, 112, 31, 0.1) 38%, rgba(58, 27, 14, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(255, 224, 138, 0.28), transparent 34%);
  border: 1px solid rgba(247, 189, 84, 0.48);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 223, 0.22),
    0 20px 50px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(216, 112, 31, 0.12);
}

.roadmap-flow article {
  display: grid;
  gap: 9px;
  padding: 15px 16px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 249, 221, 0.96) 0%, rgba(255, 210, 104, 0.94) 28%, rgba(239, 145, 36, 0.96) 58%, rgba(112, 46, 13, 0.98) 100%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.78), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(255, 191, 55, 0.55), transparent 34%);
  border: 1px solid rgba(255, 236, 166, 0.9);
  border-radius: 8px;
  color: #241006;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -18px 35px rgba(88, 34, 7, 0.22),
    0 18px 36px rgba(33, 12, 4, 0.32),
    0 0 22px rgba(247, 189, 84, 0.24);
  transform: translateY(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.roadmap-flow article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.58) 42%, transparent 58%);
  transform: translateX(-72%);
  pointer-events: none;
  z-index: -1;
}

.roadmap-flow article:hover,
.roadmap-flow article:focus-within,
.roadmap-flow article:active {
  transform: translateY(-4px);
  filter: saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -20px 42px rgba(87, 32, 4, 0.18),
    0 24px 42px rgba(33, 12, 4, 0.42),
    0 0 36px rgba(255, 210, 104, 0.52),
    0 0 70px rgba(239, 145, 36, 0.26);
}

.roadmap-flow article:hover::before,
.roadmap-flow article:focus-within::before,
.roadmap-flow article:active::before {
  transform: translateX(72%);
  transition: transform 700ms ease;
}

.roadmap-flow article span {
  color: #351405;
  font-size: 21px;
  font-weight: 950;
  text-shadow:
    0 1px 0 rgba(255, 246, 204, 0.82),
    0 0 16px rgba(255, 246, 204, 0.48);
}

.roadmap-flow article strong {
  color: #220f05;
  font-size: 19px;
  line-height: 1.2;
  text-shadow:
    0 1px 0 rgba(255, 247, 218, 0.75),
    0 0 18px rgba(255, 235, 154, 0.34);
}

.roadmap-flow article .secondary-btn {
  width: max-content;
  min-height: 34px;
  padding: 0 12px;
  color: #211006;
  background: linear-gradient(135deg, #fff2b7, #ffba3d 58%, #ef851b);
  border-color: rgba(83, 33, 6, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 20px rgba(73, 27, 7, 0.2);
}

.roadmap-flow article .secondary-btn:hover,
.roadmap-flow article .secondary-btn:focus-visible {
  color: #160a03;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 0 22px rgba(255, 238, 154, 0.62);
}

.roadmap-flow .arrow {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 28px;
  font-weight: 950;
  text-shadow: 0 0 18px rgba(247, 189, 84, 0.42);
}

.course-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
  position: relative;
  max-width: 1320px;
  margin: clamp(14px, 2vw, 26px) auto;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 218, 122, 0.44);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 224, 138, 0.1), rgba(216, 112, 31, 0.1) 36%, rgba(58, 27, 14, 0.72)),
    radial-gradient(circle at 12% 0%, rgba(255, 232, 160, 0.2), transparent 34%),
    rgba(72, 31, 12, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 223, 0.16),
    0 24px 58px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(216, 112, 31, 0.14);
}

.course-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 240, 184, 0.1), transparent),
    linear-gradient(180deg, rgba(255, 236, 166, 0.12), transparent 28%);
  opacity: 0.85;
}

.course-block > * {
  position: relative;
  z-index: 1;
}

.course-copy h2,
.revision-section h2 {
  color: #fff2c9;
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.85),
    0 0 12px rgba(247, 189, 84, 0.42),
    0 0 30px rgba(216, 112, 31, 0.24);
}

.course-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.course-card {
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(255, 224, 138, 0.1), rgba(122, 57, 20, 0.18) 42%, rgba(45, 19, 8, 0.44)),
    rgba(255, 245, 223, 0.06);
  border-color: rgba(255, 218, 122, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 223, 0.14),
    0 12px 30px rgba(0, 0, 0, 0.18),
    0 0 22px rgba(216, 112, 31, 0.08);
}

.course-card img {
  height: clamp(210px, 16vw, 260px);
  object-fit: cover;
  object-position: center 72%;
  padding: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 224, 138, 0.14), transparent 42%),
    rgba(36, 16, 8, 0.28);
}

.course-card:hover,
.course-card:focus-within {
  background:
    linear-gradient(145deg, rgba(255, 235, 171, 0.17), rgba(216, 112, 31, 0.18) 42%, rgba(54, 21, 8, 0.58)),
    rgba(255, 245, 223, 0.08);
  border-color: rgba(255, 235, 171, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 224, 0.34),
    inset 0 -8px 18px rgba(91, 33, 5, 0.18),
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(247, 189, 84, 0.24),
    0 0 70px rgba(216, 112, 31, 0.14);
}

.course-card strong {
  text-shadow:
    0 1px 0 rgba(91, 38, 8, 0.7),
    0 0 12px rgba(247, 189, 84, 0.2);
}

.bonus-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.62fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  max-width: 1320px;
  margin: clamp(14px, 2vw, 26px) auto;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 218, 122, 0.48);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 224, 138, 0.12), rgba(216, 112, 31, 0.08) 40%, rgba(58, 27, 14, 0.78)),
    radial-gradient(circle at 18% 0%, rgba(255, 232, 160, 0.22), transparent 34%),
    rgba(72, 31, 12, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 223, 0.18),
    0 24px 58px rgba(0, 0, 0, 0.26),
    0 0 34px rgba(216, 112, 31, 0.14);
}

.bonus-copy h2 {
  max-width: 860px;
  color: #fff2c9;
  font-size: clamp(32px, 4vw, 58px);
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.85),
    0 0 14px rgba(247, 189, 84, 0.46);
}

.bonus-copy p {
  color: #e8c99a;
}

.bonus-art {
  margin: 0;
}

.bonus-art img {
  width: 100%;
  max-height: 300px;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  object-position: center 48%;
  border: 1px solid rgba(247, 189, 84, 0.36);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.course-side-card strong {
  color: #ffe08a;
  font-size: 24px;
  line-height: 1.2;
}

.course-side-card p {
  margin: 0;
  color: #e8c99a;
}

.revision-section {
  background: rgba(122, 57, 20, 0.28);
}

.revision-layout {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 18px;
}

.revision-layout img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.34));
}

.revision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.revision-grid article {
  color: #ffe6b5;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.45;
}

.course-price {
  margin: 16px 0 14px;
  font-size: 23px;
}

.course-cta-section {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 189, 84, 0.2), transparent 34%),
    rgba(122, 57, 20, 0.3);
  border-block: 1px solid var(--line);
}

.course-cta-section h2 {
  color: #fff2c9;
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.85),
    0 0 14px rgba(247, 189, 84, 0.42),
    0 0 32px rgba(216, 112, 31, 0.25);
}

.course-cta-section .hero-actions {
  justify-content: center;
}

.modal {
  width: min(94vw, 1100px);
  max-height: 86vh;
  padding: 0;
  overflow: auto;
  color: #fff5df;
  background: linear-gradient(180deg, #4b210f 0%, #241007 100%);
  border: 1px solid rgba(247, 189, 84, 0.42);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal-panel {
  padding: 28px;
}

.modal-panel > .eyebrow {
  color: #ffe08a;
  font-size: 15px;
  text-shadow:
    0 0 12px rgba(247, 189, 84, 0.65),
    0 0 28px rgba(216, 112, 31, 0.38);
}

.modal-panel h2 {
  color: #fff2c9;
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.85),
    0 0 14px rgba(247, 189, 84, 0.42);
}

.modal-panel p,
.modal-panel small,
.modal-panel li {
  color: #f4dfbd;
}

.modal-panel .book-card,
.modal-panel .payment-summary div,
.modal-panel .toc-block details {
  background: rgba(54, 22, 9, 0.86);
  border-color: rgba(247, 189, 84, 0.36);
}

.modal-panel .toc-list {
  color: #f7e3bd;
}

.modal-panel .toc-list li {
  color: #f7e3bd;
}

.contact h2 {
  font-size: clamp(34px, 4.6vw, 56px);
}

.contact p {
  font-size: 18px;
}

.contact .primary-btn,
.contact .secondary-btn {
  min-height: 56px;
  padding-inline: 24px;
  font-size: 18px;
  font-weight: 950;
}

@media (max-width: 920px) {
  .hero,
  .promise-grid,
  .catalog-columns,
  .books-section,
  .buy-section,
  .contact,
  .bonus-section,
  .course-block {
    grid-template-columns: 1fr;
  }

  .roadmap-flow,
  .revision-grid,
  .revision-layout {
    grid-template-columns: 1fr;
  }

  .roadmap-flow .arrow {
    transform: rotate(90deg);
  }

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

  .price-options {
    grid-template-columns: 1fr;
  }

  .book-cover-shelf,
  .book-modal-grid,
  .course-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 8px 14px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
    line-height: 1.15;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .page-notice,
  .nav {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .doc-item {
    grid-template-columns: 1fr;
  }

  .book-cover-shelf,
  .book-modal-grid,
  .course-card-grid,
  .toc-list {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .book-cover-shelf img,
  .book-card img {
    height: auto;
  }
}

.topbar {
  display: none !important;
}
