:root {
  color-scheme: light;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #faf7f2;
  --bg: #faf7f2;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --border: rgba(169, 142, 105, 0.24);
  --gold: #c9a96e;
  --gold-soft: rgba(201, 169, 110, 0.16);
  --text: #1a1a1a;
  --muted: #6e6250;
  --shadow: 0 24px 60px rgba(21, 17, 12, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(201, 169, 110, 0.1), transparent 36%), #faf7f2;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

em {
  font-style: normal;
}

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

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  text-align: center;
}

.view-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(42, 31, 17, 0.1), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.view-switcher::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.9), transparent 40%, rgba(201,169,110,0.35));
}

.view-switcher-glow {
  position: absolute;
  inset: 25% 15%;
  z-index: -2;
  border-radius: inherit;
  background: rgba(201, 169, 110, 0.45);
  filter: blur(22px);
}

.view-button {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.35s ease, background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.view-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.view-button:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.view-button.is-active {
  color: #fff;
  background: #1a1a1a;
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.22), inset 0 0 0 1px rgba(255,255,255,0.12);
}

.view-button.is-active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.55rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.view[hidden] {
  display: none;
}

.view.is-entering {
  animation: viewEnter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.view.is-leaving {
  animation: viewLeave 0.32s ease both;
}

@keyframes viewEnter {
  from { opacity: 0; transform: translateY(28px) scale(0.985); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes viewLeave {
  to { opacity: 0; transform: translateY(-18px) scale(0.99); filter: blur(5px); }
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #191713;
  color: #f6eee3;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.42s cubic-bezier(0.76, 0, 0.24, 1);
}

.page-transition.is-active {
  clip-path: inset(0 0 0 0);
}

.page-transition.is-revealing {
  clip-path: inset(0 0 0 100%);
}

.page-transition span {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 5rem);
  font-style: normal;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.25s ease 0.12s;
}

.page-transition.is-active span {
  opacity: 1;
  transform: none;
}

.immersive-view {
  min-height: 70vh;
}

.portal-page {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: center;
  gap: 52px;
  overflow: hidden;
  margin-top: 16px;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px);
  border: 1px solid var(--border);
  border-radius: 40px;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow);
}

.portal-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.portal-copy h1 {
  margin-top: 18px;
}

.portal-copy p {
  max-width: 690px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.85;
}

.ai-page {
  color: #f8f3e9;
  background: radial-gradient(circle at 50% 42%, rgba(201,169,110,0.18), transparent 25%), #171611;
}

.ai-page .section-label,
.ai-page .portal-copy p { color: #cdbb99; }

.portal-orbit {
  position: absolute;
  width: min(62vw, 600px);
  aspect-ratio: 1;
  border: 1px solid rgba(201,169,110,0.22);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.portal-orbit::before,
.portal-orbit::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: 50%;
}

.portal-orbit::before { inset: 14%; }
.portal-orbit::after { inset: 30%; }
.portal-orbit span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 24px var(--gold); }
.portal-orbit span:nth-child(1) { left: 8%; top: 25%; }
.portal-orbit span:nth-child(2) { right: 12%; top: 18%; }
.portal-orbit span:nth-child(3) { bottom: 4%; left: 50%; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.ai-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 10px 16px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 999px;
  color: #d8ccb6;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-status span { width: 7px; height: 7px; border-radius: 50%; background: #84d49a; box-shadow: 0 0 12px #84d49a; animation: statusPulse 1.8s ease infinite; }
@keyframes statusPulse { 50% { opacity: 0.35; } }

.partnership-page {
  display: block;
  min-height: 76vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.partnership-hero {
  min-height: min(760px, 76vh);
  display: grid;
  place-items: center;
  padding: clamp(54px, 9vw, 110px) clamp(24px, 7vw, 86px);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 12%, rgba(200, 255, 77, 0.12), transparent 28%),
    #fff;
}

.partnership-copy {
  width: min(880px, 100%);
  padding-block: 32px;
}

.partnership-eyebrow {
  display: inline-flex;
  margin-bottom: 30px;
  color: #687724;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.partnership-copy h1 {
  margin: 0;
  color: #111;
  font-size: clamp(4rem, 9.5vw, 8.6rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.partnership-copy h1 em {
  display: block;
  color: #111;
  font-weight: 600;
}

.partnership-copy p {
  max-width: 720px;
  margin: clamp(34px, 5vw, 58px) auto 0;
  color: #292929;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.8;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.partnership-scroll {
  display: inline-flex;
  margin-top: 34px;
  padding: 13px 20px;
  align-items: center;
  gap: 12px;
  border: 1px solid #d8d8d1;
  border-radius: 999px;
  color: #111;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.partnership-scroll:hover {
  border-color: #c8ff4d;
  background: #c8ff4d;
  transform: translateY(-3px);
}

.partnership-story {
  padding: clamp(70px, 10vw, 130px) clamp(22px, 6vw, 70px);
  border-radius: 40px;
  background:
    radial-gradient(circle at 8% 18%, rgba(200, 255, 77, 0.13), transparent 24%),
    linear-gradient(180deg, #f5f1e9 0%, #faf8f3 55%, #f2eee5 100%);
  color: #171717;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto clamp(90px, 13vw, 160px);
}

.story-row-reverse .story-visual {
  order: 2;
}

.story-row-reverse .story-copy {
  order: 1;
}

.story-visual {
  position: relative;
  height: clamp(390px, 50vw, 610px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(51, 45, 35, 0.1);
  border-radius: 32px;
  background: #e9e3d9;
  box-shadow: 0 24px 60px rgba(56, 47, 33, 0.1);
}

.story-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.story-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.08);
  transition: filter 0.8s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-visual.visible img,
.story-visual:hover img {
  filter: grayscale(15%);
  transform: scale(1);
}

.story-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-visual figcaption span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: #c8ff4d;
  color: #111;
  font-size: 0.62rem;
}

.story-copy {
  text-align: left;
}

.story-label {
  color: #637b1c;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-copy h2 {
  margin: 16px 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 4.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.story-copy p {
  margin: 0;
  color: #625d54;
  font-size: clamp(0.9rem, 1.25vw, 1.02rem);
  line-height: 1.8;
}

.story-copy p + p {
  margin-top: 18px;
}

.story-mantra {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1fr);
  width: 100%;
  max-width: 1040px;
  margin: 0 auto clamp(90px, 13vw, 160px);
  padding: clamp(28px, 5vw, 52px);
  column-gap: clamp(22px, 3vw, 40px);
  overflow: hidden;
  border-radius: 28px;
  background: #c8ff4d;
  color: #111;
  font-size: clamp(1.3rem, 2.3vw, 2.3rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-align: center;
}

.story-mantra span {
  min-width: 0;
  white-space: nowrap;
}

.story-mantra span:nth-child(2) {
  opacity: 0.62;
}

.story-mantra span:nth-child(3) {
  opacity: 0.34;
}

.story-result {
  margin-bottom: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(94, 110, 44, 0.16);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 26px 70px rgba(62, 53, 38, 0.08);
}

.story-result .story-visual {
  height: clamp(360px, 43vw, 530px);
}

.story-closing {
  display: block;
  margin-top: 26px;
  color: #171717;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.4;
}

.story-cta {
  display: inline-flex;
  margin-top: 30px;
  padding: 16px 24px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  background: #c8ff4d;
  color: #111;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-cta:hover {
  box-shadow: 0 15px 38px rgba(200, 255, 77, 0.16);
  transform: translateY(-3px);
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.button-primary {
  background: linear-gradient(135deg, #d3b373 0%, #c9a96e 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(201, 169, 110, 0.22);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(201, 169, 110, 0.35);
  color: var(--text);
}

.button-small,
.button.small {
  padding: 11px 18px;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 70px 40px;
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 100%);
  box-shadow: var(--shadow);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.55;
  filter: blur(1px);
}

.shape-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.3), transparent 70%);
  top: -40px;
  left: -40px;
}

.shape-ring {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 110, 0.2);
  top: 40%;
  right: -100px;
}

.shape-blob {
  width: 220px;
  height: 220px;
  right: 20px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(242, 234, 218, 0.85), rgba(249, 245, 237, 0.1));
  border-radius: 48% 52% 58% 42% / 44% 38% 62% 56%;
}

.hero-content {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.7rem, 7vw, 6.8rem);
  line-height: 0.87;
  margin: 0 0 24px;
  letter-spacing: -0.04em;
}

.hero-copy,
.section-header p,
.about-top p {
  max-width: 620px;
  line-height: 1.9;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  letter-spacing: 0.01em;
}

.hero-copy {
  margin-inline: auto;
}

.hero-practice {
  margin: 36px auto 0;
  text-align: left;
}

.hero-practice-intro {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}

.hero-practice-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-practice-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-practice-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-practice-intro strong {
  color: var(--text);
  font-weight: 800;
}

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

.hero-practice-grid article {
  position: relative;
  padding: 22px 22px 22px 72px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(62, 47, 27, 0.06);
}

.hero-practice-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #e2c78f);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(201, 169, 110, 0.28);
}

.hero-practice-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-practice-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero-practice-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 14px;
  margin: 26px 0 12px;
  color: var(--text);
  font-size: clamp(0.96rem, 1.6vw, 1.15rem);
  text-align: center;
}

.hero-practice-path span {
  color: var(--gold);
  font-size: 1.35em;
}

.hero-practice-note {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

.sentence + .sentence {
  font-family: 'Inter', sans-serif;
  font-size: 1.08em;
  font-style: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 20px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-style: normal;
  margin-bottom: 6px;
}

.hero-stats span,
.stats-card span {
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  margin-top: 80px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 32px;
}

.section-label {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
}

.section-header h2 {
  margin: 14px 0 0;
  font-size: clamp(2.25rem, 4.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.advantages .section-header h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.courses .section-header h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
}

.courses-intro {
  margin: 22px auto 0;
}

.courses-catalog-button {
  margin-top: 30px;
  border: 0;
}

.courses-catalog-button span {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.courses-catalog-button:hover span {
  transform: translateX(4px);
}

.learning-more {
  padding: clamp(42px, 7vw, 78px);
  overflow: hidden;
  border: 1px solid rgba(104, 119, 36, 0.12);
  border-radius: 40px;
  background:
    radial-gradient(circle at 92% 5%, rgba(200, 255, 77, 0.18), transparent 25%),
    #f2eee5;
  text-align: left;
}

.learning-more-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.learning-more-header h2 {
  margin: 14px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.learning-more-header h2 em {
  color: #668116;
  font-weight: 600;
}

.learning-more-header > p {
  margin: 0;
  color: #686258;
  font-size: clamp(0.92rem, 1.4vw, 1.06rem);
  line-height: 1.75;
}

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

.learning-detail-card {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(79, 69, 53, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 60px rgba(54, 46, 34, 0.07);
}

.learning-detail-card::before {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  top: -110px;
  right: -70px;
  border-radius: 50%;
  background: rgba(200, 255, 77, 0.2);
  filter: blur(25px);
  pointer-events: none;
}

.learning-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.learning-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #171717;
  color: #c8ff4d;
  font-size: 0.66rem;
  font-weight: 900;
}

.learning-tag {
  color: #777064;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.learning-icon {
  position: relative;
  width: 98px;
  height: 98px;
  display: grid;
  margin: clamp(36px, 5vw, 58px) 0 34px;
  place-items: center;
  border-radius: 26px;
  background: #c8ff4d;
  transform: rotate(-5deg);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.learning-detail-card:hover .learning-icon {
  transform: rotate(0deg) translateY(-4px);
}

.learning-icon-practice span {
  position: absolute;
  width: 48px;
  height: 7px;
  border-radius: 99px;
  background: #171717;
}

.learning-icon-practice span:first-child {
  transform: translateY(-17px);
}

.learning-icon-practice span:last-child {
  width: 27px;
  transform: translate(-10px, 17px);
}

.learning-icon-certificate {
  border: 2px solid #171717;
  border-radius: 8px;
  transform: rotate(4deg);
}

.learning-icon-certificate::before,
.learning-icon-certificate::after {
  content: '';
  position: absolute;
  right: 13px;
  left: 13px;
  height: 2px;
  background: rgba(23, 23, 23, 0.32);
}

.learning-icon-certificate::before { top: 20px; }
.learning-icon-certificate::after { bottom: 20px; }

.learning-icon-certificate span {
  font-size: 1.3rem;
  font-weight: 900;
}

.learning-detail-card h3 {
  max-width: 460px;
  margin: 0 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.learning-detail-card p {
  max-width: 530px;
  margin: 0;
  color: #686258;
  font-size: 0.9rem;
  line-height: 1.75;
}

.learning-detail-card p + p {
  margin-top: 14px;
}

.learning-result {
  display: flex;
  margin-top: auto;
  padding-top: 26px;
  align-items: center;
  gap: 10px;
  color: #3f4d16;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-result span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #c8ff4d;
  color: #111;
}

.course-catalog {
  margin-top: 16px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 40px;
  overflow: hidden;
  background: #111;
  color: #f8f4eb;
}

.catalog-header {
  position: relative;
  max-width: 900px;
  margin: 0 auto clamp(48px, 7vw, 80px);
}

.catalog-back {
  position: absolute;
  top: 2px;
  left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(248, 244, 235, 0.58);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
}

.catalog-back:hover {
  color: #fff;
  transform: translateX(-4px);
}

.catalog-kicker {
  display: block;
  margin-bottom: 28px;
  color: #c8ff4d;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-header h1 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.catalog-header h1 em {
  color: #c8ff4d;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.catalog-header > p {
  max-width: 610px;
  margin: 30px auto 0;
  color: rgba(248, 244, 235, 0.62);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.75;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.catalog-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: #1b1b1b;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.catalog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 255, 77, 0.5);
}

.catalog-card-featured {
  background: #f4f0e7;
  color: #111;
  transform: translateY(-18px);
}

.catalog-card-featured:hover {
  transform: translateY(-26px);
}

.catalog-card img {
  width: 100%;
  height: 245px;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.catalog-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.025);
}

.catalog-card-body {
  display: flex;
  min-height: 365px;
  flex-direction: column;
  align-items: center;
  padding: 28px;
}

.catalog-level {
  color: #c8ff4d;
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-card-featured .catalog-level {
  color: #557500;
}

.catalog-card h2 {
  margin: 14px 0 12px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.catalog-card-body > p {
  max-width: 310px;
  margin: 0 0 26px;
  color: rgba(248, 244, 235, 0.58);
  font-size: 0.88rem;
  line-height: 1.7;
}

.catalog-card-featured .catalog-card-body > p {
  color: #68645c;
}

.catalog-price {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 66px;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
}

.catalog-price strong {
  font-size: 2.35rem;
  letter-spacing: -0.06em;
}

.catalog-price del {
  color: #ff5a5f;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration-color: #ff3038;
  text-decoration-thickness: 3px;
}

.catalog-price span {
  color: rgba(248, 244, 235, 0.42);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-card-button {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.catalog-card-button:hover,
.catalog-card-featured .catalog-card-button {
  border-color: #c8ff4d;
  background: #c8ff4d;
  color: #111;
}

body.checkout-open {
  overflow: hidden;
}

.checkout {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  align-items: end;
  visibility: hidden;
  pointer-events: none;
}

.checkout.is-open {
  visibility: visible;
  pointer-events: auto;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 6, 6, 0.7);
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: opacity 0.45s ease;
}

.checkout.is-open .checkout-backdrop {
  opacity: 1;
}

.checkout-sheet {
  position: relative;
  width: min(760px, calc(100% - 24px));
  margin: 0 auto 12px;
  padding: 18px clamp(22px, 5vw, 48px) clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(200, 255, 77, 0.24);
  border-radius: 32px;
  background: #171717;
  color: #f8f4eb;
  box-shadow: 0 -28px 100px rgba(0, 0, 0, 0.55);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.checkout-sheet::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  top: -150px;
  left: 50%;
  border-radius: 50%;
  background: rgba(200, 255, 77, 0.16);
  filter: blur(70px);
  transform: translateX(-50%);
  pointer-events: none;
}

.checkout.is-open .checkout-sheet {
  transform: translateY(0);
}

.checkout-handle {
  width: 48px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 99px;
  background: rgba(248, 244, 235, 0.2);
}

.checkout-close {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #f8f4eb;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.checkout-close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(8deg);
}

.checkout-heading {
  position: relative;
  max-width: 560px;
  margin: 0 auto 24px;
  text-align: center;
}

.checkout-kicker {
  color: #c8ff4d;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.checkout-heading h2 {
  margin: 9px 0 8px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  letter-spacing: -0.045em;
}

.checkout-heading p {
  margin: 0;
  color: rgba(248, 244, 235, 0.52);
  font-size: 0.82rem;
  line-height: 1.55;
}

.currency-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.currency-option {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: #202020;
  color: #f8f4eb;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.currency-option:hover {
  border-color: rgba(200, 255, 77, 0.4);
  transform: translateY(-3px);
}

.currency-flag {
  display: grid;
  width: 34px;
  height: 24px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(248, 244, 235, 0.62);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.currency-copy small {
  display: block;
  margin-bottom: 5px;
  color: rgba(248, 244, 235, 0.46);
  font-size: 0.68rem;
}

.currency-copy strong {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.05em;
}

.currency-copy em {
  color: #c8ff4d;
  font-size: 0.68em;
  font-style: normal;
  letter-spacing: 0;
}

.currency-check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #c8ff4d;
  color: #111;
  opacity: 0.58;
  font-size: 0.72rem;
  font-weight: 900;
  transform: scale(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.currency-option:hover .currency-check,
.currency-option:focus-visible .currency-check {
  opacity: 1;
  transform: translateX(3px);
}

.checkout-note {
  min-height: 1.2em;
  margin: 13px 0 0;
  color: rgba(248, 244, 235, 0.38);
  font-size: 0.66rem;
  text-align: center;
}

.checkout-note.is-error {
  color: #ff8589;
}

.reviews .section-header h2 {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
}

.about-top h2 .sentence {
  display: block;
}

.about-top h2 .sentence + .sentence {
  margin-top: 0.2em;
  color: var(--gold);
  font-size: 0.82em;
}

.stats-grid {
  display: grid;
  gap: 24px;
}

.carousel {
  position: relative;
  padding-inline: 58px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.carousel-track.is-moving {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-track > article {
  flex: 0 0 calc((100% - 48px) / 3);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-strong);
  box-shadow: 0 12px 30px rgba(21, 17, 12, 0.12);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.carousel-button:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.carousel-button-prev {
  left: 2px;
}

.carousel-button-next {
  right: 2px;
}

.info-card,
.course-card,
.stats-card,
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.info-card {
  padding: 32px;
}

.info-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(201, 169, 110, 0.14);
  font-size: 1.4rem;
  margin: 0 auto 24px;
}

.info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.65rem;
  line-height: 1.08;
  margin: 0 0 12px;
}

.info-card p {
  line-height: 1.9;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-card:nth-child(2) h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}

.info-card:nth-child(3) h3 {
  font-size: 1.85rem;
  font-style: normal;
}

.course-card {
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 169, 110, 0.45);
  box-shadow: 0 30px 60px rgba(21, 17, 12, 0.12);
}

.course-media {
  min-height: 210px;
  background: linear-gradient(180deg, rgba(201,169,110,0.14), rgba(255,255,255,0.1)), url('') center/cover no-repeat;
  background-color: #f6eee3;
}

.course-body {
  padding: 30px 28px 28px;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold);
  justify-content: center;
}

.stars {
  letter-spacing: 0.05em;
}

.course-body h3 {
  margin: 0 0 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

.course-body p {
  margin: 0 0 22px;
  line-height: 1.85;
  color: var(--muted);
  font-size: 0.9rem;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  justify-content: center;
}

.price {
  font-weight: 700;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
}

.review-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.review-slider::-webkit-scrollbar {
  height: 10px;
}

.review-slider::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.35);
  border-radius: 999px;
}

.review-card {
  min-width: 320px;
  padding: 28px;
  scroll-snap-align: start;
}

.review-card-mobile-only {
  display: none;
}

.review-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201, 169, 110, 0.14);
  font-weight: 700;
  margin: 0 auto 18px;
}

.review-name {
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
}

.review-role {
  color: var(--muted);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.review-text {
  line-height: 1.9;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-style: normal;
}

.about-top {
  display: grid;
  gap: 26px;
  margin-bottom: 40px;
}

.about-top p {
  margin-inline: auto;
  text-align: center;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  width: fit-content;
  margin-inline: auto;
}

.about-list li {
  position: relative;
  padding-inline: 22px;
  color: var(--muted);
  text-align: center;
}

.about-list li::before {
  content: '✓';
  margin-right: 10px;
  color: var(--gold);
}

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

.stats-card {
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.84);
}

.stats-card strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-style: normal;
  color: #2f2f2fde;
  margin-bottom: 10px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0 0;
  color: var(--muted);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact {
  flex-basis: 100%;
  width: 100%;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.footer-contact a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-left: 4px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #987840;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-policy-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-policy-link:hover,
.footer-policy-link:focus-visible {
  color: var(--text);
}

html.privacy-open,
body.privacy-open {
  overflow: hidden;
}

.privacy-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}

.privacy-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 11, 0.7);
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
}

.privacy-modal.is-open .privacy-backdrop {
  opacity: 1;
}

.privacy-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  width: min(760px, 100%);
  max-width: 100vw;
  max-height: min(820px, calc(100dvh - 40px));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: 0 32px 100px rgba(15, 12, 8, 0.3);
  text-align: left;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.privacy-modal.is-open .privacy-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.privacy-header {
  padding: 26px 30px 20px;
  border-bottom: 1px solid var(--border);
}

.privacy-kicker {
  display: block;
  margin-bottom: 7px;
  color: #987840;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
  overflow-wrap: break-word;
}

.privacy-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.privacy-content {
  padding: 24px 30px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #4e463a;
  font-size: 0.92rem;
  line-height: 1.65;
  scrollbar-color: var(--gold) transparent;
}

.privacy-content:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

.privacy-content h3 {
  margin: 28px 0 10px;
  color: var(--text);
  font-size: 1.02rem;
}

.privacy-content h3:first-of-type {
  margin-top: 22px;
}

.privacy-content p {
  margin: 0 0 12px;
}

.privacy-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.privacy-content li + li {
  margin-top: 6px;
}

.privacy-actions {
  padding: 18px 30px;
  border-top: 1px solid var(--border);
  background: rgba(250, 247, 242, 0.96);
}

.privacy-accept {
  width: 100%;
  min-height: 50px;
  border: 1px solid #b99659;
  border-radius: 999px;
  background: #c9a96e;
  color: #17130e;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.privacy-accept:hover,
.privacy-accept:focus-visible {
  background: #d5b77e;
  box-shadow: 0 10px 28px rgba(122, 88, 38, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .privacy-modal {
    place-items: stretch;
    padding: 0;
  }

  .privacy-dialog {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(24px);
  }

  .privacy-header {
    padding: max(16px, env(safe-area-inset-top)) 18px 14px;
  }

  .privacy-kicker {
    margin-bottom: 5px;
    font-size: 0.64rem;
  }

  .privacy-header h2 {
    font-size: clamp(1.18rem, 5.4vw, 1.45rem);
    line-height: 1.18;
  }

  .privacy-header p {
    margin-top: 6px;
    font-size: 0.78rem;
  }

  .privacy-content {
    padding: 18px 18px 24px;
    font-size: 0.9rem;
    line-height: 1.58;
    scroll-padding: 18px;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .privacy-content h3 {
    margin-top: 24px;
    font-size: 1rem;
  }

  .privacy-content p {
    margin-bottom: 11px;
  }

  .privacy-content ul {
    padding-left: 20px;
  }

  .privacy-actions {
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(32, 24, 14, 0.06);
  }

  .privacy-accept {
    min-height: 52px;
    font-size: 1rem;
  }

  .footer-policy-link {
    min-height: 44px;
  }
}

@media (max-width: 600px) and (max-height: 560px) {
  .privacy-header {
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: 10px;
  }

  .privacy-kicker {
    display: none;
  }

  .privacy-header h2 {
    font-size: 1.05rem;
  }

  .privacy-header p {
    margin-top: 3px;
    font-size: 0.7rem;
  }

  .privacy-actions {
    padding-top: 8px;
  }

  .privacy-accept {
    min-height: 46px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 980px) {
  .page-shell {
    padding: 20px;
  }
  .hero {
    padding: 48px 28px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .carousel-track > article {
    flex-basis: calc((100% - 24px) / 2);
  }
  .review-slider {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .learning-more-header,
  .learning-more-grid {
    grid-template-columns: 1fr;
  }
  .learning-more-header {
    align-items: start;
  }
  .learning-more-header > p {
    max-width: 620px;
  }
  .learning-detail-card {
    min-height: auto;
  }
  .catalog-card-featured,
  .catalog-card-featured:hover {
    transform: none;
  }
  .catalog-card img {
    height: min(360px, 48vw);
  }
  .site-header {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    padding: 10px 10px 28px;
  }

  .site-header {
    gap: 16px;
    padding: 10px 0 16px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .view-button {
    width: 44px;
    height: 44px;
  }

  .nav-links {
    width: 100%;
    gap: 10px 16px;
    font-size: 0.86rem;
  }

  .review-card-mobile-only {
    display: block;
  }

  h1 {
    font-size: 2.8rem;
  }
  .hero-practice {
    margin-top: 28px;
  }
  .hero-practice-grid {
    grid-template-columns: 1fr;
  }
  .hero-practice-grid article {
    padding: 20px 18px 20px 66px;
  }
  .hero-practice-icon {
    top: 20px;
    left: 16px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .carousel {
    padding-inline: 46px;
  }
  .carousel-track > article {
    flex-basis: 100%;
  }
  .carousel-button {
    width: 38px;
    height: 38px;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .learning-more {
    padding: 34px 12px 12px;
    border-radius: 26px;
  }
  .learning-more-header {
    gap: 20px;
    margin-bottom: 30px;
    padding-inline: 8px;
  }
  .learning-more-header h2 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
    line-height: 0.9;
  }
  .learning-more-header > p {
    font-size: 0.88rem;
    line-height: 1.65;
  }
  .learning-more-grid {
    gap: 10px;
  }
  .learning-detail-card {
    padding: 22px 18px 24px;
    border-radius: 22px;
  }
  .learning-icon {
    width: 82px;
    height: 82px;
    margin: 34px 0 28px;
    border-radius: 22px;
  }
  .learning-detail-card h3 {
    margin-bottom: 16px;
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }
  .learning-detail-card p {
    font-size: 0.86rem;
    line-height: 1.68;
  }
  .learning-result {
    margin-top: 24px;
    padding-top: 0;
    font-size: 0.62rem;
  }
  .site-footer {
    flex-direction: column;
    align-items: center;
  }
  .footer-contact {
    flex-basis: auto;
  }
  .portal-page {
    min-height: 72vh;
    border-radius: 28px;
  }
  .portal-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }
  .partnership-page {
    min-height: 68vh;
    padding: 0;
    border-radius: 24px;
  }
  .partnership-hero {
    min-height: min(680px, 72svh);
    padding: 56px 20px;
    border-radius: 24px;
  }
  .partnership-copy h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13.5vw, 3.45rem);
    line-height: 0.88;
    overflow-wrap: anywhere;
  }
  .partnership-copy p {
    max-width: 100%;
    margin-top: 28px;
    font-size: 0.96rem;
    line-height: 1.75;
  }
  .partnership-eyebrow {
    margin-bottom: 22px;
    font-size: 0.6rem;
  }
  .partnership-scroll {
    min-height: 48px;
    margin-top: 28px;
  }
  .partnership-story {
    padding: 64px 12px 14px;
  }
  .story-row,
  .story-row-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 72px;
  }
  .story-row-reverse .story-visual,
  .story-row-reverse .story-copy {
    order: initial;
  }
  .story-visual,
  .story-result .story-visual {
    height: auto;
    aspect-ratio: 0.92 / 1;
    border-radius: 24px;
  }
  .story-visual figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    line-height: 1.35;
  }
  .story-copy {
    padding-inline: 8px;
  }
  .story-copy h2 {
    margin: 12px 0 18px;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
  }
  .story-copy p {
    font-size: 0.91rem;
    line-height: 1.75;
  }
  .story-mantra {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 72px;
    padding: 32px 24px;
    gap: 7px;
    align-items: flex-start;
    border-radius: 24px;
    font-size: clamp(1.65rem, 8.5vw, 2.7rem);
    line-height: 1.02;
    text-align: left;
  }
  .story-mantra span {
    white-space: normal;
  }
  .story-result {
    padding: 10px 10px 26px;
    border-radius: 28px;
  }
  .story-result .story-copy {
    padding: 0 10px;
  }
  .story-cta {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }
  .course-catalog {
    margin-top: 6px;
    padding: 24px 10px 14px;
    border-radius: 24px;
  }
  .catalog-header {
    margin-bottom: 30px;
    padding: 42px 8px 0;
  }
  .catalog-header h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
  }
  .catalog-header > p {
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .catalog-kicker {
    margin-bottom: 18px;
  }
  .catalog-grid {
    gap: 14px;
  }
  .catalog-card,
  .catalog-card:hover {
    border-radius: 22px;
    transform: none;
  }
  .catalog-card img {
    height: auto;
    aspect-ratio: 1.16 / 1;
  }
  .catalog-card:first-child img {
    height: auto;
    object-position: center top;
  }
  .catalog-card-body {
    min-height: 320px;
    padding: 24px 20px 20px;
  }
  .catalog-card h2 {
    margin: 12px 0 10px;
    font-size: clamp(1.65rem, 8vw, 2rem);
  }
  .catalog-card-body > p {
    margin-bottom: 20px;
    font-size: 0.86rem;
    line-height: 1.65;
  }
  .catalog-price {
    min-height: 58px;
  }
  .catalog-price strong {
    font-size: 2.15rem;
  }
  .catalog-card-button {
    min-height: 48px;
    padding: 14px 18px;
  }
  .checkout-sheet {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 8px);
    margin-bottom: max(4px, env(safe-area-inset-bottom));
    padding: 14px 14px max(18px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 26px;
  }
  .checkout-handle {
    margin-bottom: 12px;
  }
  .checkout-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }
  .checkout-heading {
    margin-bottom: 16px;
    padding-inline: 28px;
  }
  .checkout-heading h2 {
    margin: 7px 0 6px;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    line-height: 1.08;
  }
  .checkout-heading p {
    font-size: 0.76rem;
  }
  .currency-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .currency-option {
    grid-template-columns: 44px 1fr;
    min-height: 70px;
    align-items: center;
    padding: 11px 48px 11px 14px;
    border-radius: 17px;
  }
  .currency-flag {
    margin: 0;
  }
  .currency-copy small {
    margin-bottom: 2px;
  }
  .currency-copy strong {
    font-size: 1.45rem;
  }
  .currency-check {
    top: 50%;
    right: 14px;
    width: 26px;
    height: 26px;
    transform: translateY(-50%);
  }
  .currency-option:hover .currency-check,
  .currency-option:focus-visible .currency-check {
    transform: translate(3px, -50%);
  }
  .checkout-note {
    margin-top: 10px;
    padding-inline: 10px;
    line-height: 1.4;
  }
}

@media (max-width: 390px) {
  .page-shell {
    padding-inline: 6px;
  }
  .course-catalog {
    padding-inline: 8px;
  }
  .catalog-header h1 {
    font-size: 2.2rem;
  }
  .catalog-card-body {
    min-height: 300px;
    padding-inline: 16px;
  }
  .partnership-hero {
    min-height: auto;
    padding: 54px 16px;
  }
  .partnership-copy {
    padding-block: 12px;
  }
  .partnership-copy h1 {
    font-size: clamp(2.55rem, 13vw, 3.15rem);
  }
  .partnership-copy p {
    font-size: 0.9rem;
    line-height: 1.68;
  }
  .partnership-story {
    padding: 50px 8px 8px;
    border-radius: 24px;
  }
  .story-row,
  .story-row-reverse {
    gap: 24px;
    margin-bottom: 58px;
  }
  .story-visual,
  .story-result .story-visual {
    aspect-ratio: 1 / 1.06;
    border-radius: 20px;
  }
  .story-copy {
    padding-inline: 6px;
  }
  .story-copy h2 {
    font-size: clamp(1.85rem, 9.5vw, 2.45rem);
  }
  .story-copy p {
    font-size: 0.88rem;
    line-height: 1.7;
  }
  .story-mantra {
    margin-bottom: 58px;
    padding: 26px 20px;
    font-size: clamp(1.55rem, 8.2vw, 2rem);
  }
  .story-result {
    padding: 8px 8px 22px;
    border-radius: 24px;
  }
  .story-result .story-copy {
    padding-inline: 8px;
  }
  .story-closing {
    margin-top: 22px;
  }
}

@media (max-width: 680px) and (max-height: 680px) {
  .checkout-heading p {
    display: none;
  }
  .checkout-heading {
    margin-bottom: 12px;
  }
  .currency-option {
    min-height: 62px;
    padding-block: 8px;
  }
  .checkout-note {
    margin-top: 7px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .catalog-card:hover img,
  .currency-option:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-transition,
  .page-transition span,
  .view,
  .portal-orbit,
  .ai-status span {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .checkout-sheet,
  .checkout-backdrop,
  .currency-option,
  .currency-check,
  .privacy-dialog,
  .privacy-backdrop,
  .privacy-accept {
    transition-duration: 0.01ms !important;
  }
}
