
:root {
  --ink: #152641;
  --ink-soft: #40516c;
  --navy: #10203b;
  --navy-deep: #081426;
  --cream: #fff9ef;
  --white: #ffffff;
  --gold: #f5b84b;
  --gold-soft: #ffe1a4;
  --teal: #29b6ab;
  --coral: #ff725e;
  --violet: #796ce0;
  --line: rgba(21, 38, 65, 0.12);
  --shadow: 0 24px 70px rgba(7, 20, 39, 0.16);
}

.admin-header form { margin: 0; }
.admin-header button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #176f69;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.admin-login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #eef2f4;
  color: var(--ink);
}

.admin-login-card {
  position: relative;
  width: min(100%, 440px);
  display: grid;
  gap: 18px;
  padding: clamp(28px, 6vw, 48px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(35, 47, 62, 0.12);
}

.admin-login-card > p { margin: 0; color: #1b8179; font-size: 12px; font-weight: 820; text-transform: uppercase; }
.admin-login-card h1 { margin: 0 0 8px; font-size: clamp(30px, 6vw, 42px); line-height: 1; }
.admin-login-card label { display: grid; gap: 7px; font-size: 13px; font-weight: 720; }
.admin-login-card input { min-height: 48px; padding: 10px 13px; border: 1px solid #cad3dc; border-radius: 10px; font: inherit; }
.admin-login-card button { min-height: 50px; border: 0; border-radius: 10px; background: #176f69; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.admin-login-error { margin: 0; color: #a12626; font-size: 13px; }
.admin-login-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Professional programme page. The denser editorial rhythm and restrained
   navy/teal palette deliberately distinguish it from the child-facing course. */
.edu-pro-page {
  --edu-navy: #102d43;
  --edu-navy-deep: #092032;
  --edu-teal: #16847f;
  --edu-teal-soft: #dcedea;
  --edu-gold: #cf9c37;
  --edu-paper: #f6f4ef;
  --edu-line: rgba(16, 45, 67, 0.15);
  background: var(--edu-paper);
  color: var(--edu-navy);
}

/* The consumer game prompt conflicts with the professional purpose of this
   route and can cover document controls on smaller screens. */
.edu-pro-page + .game-invitation { display: none; }

.edu-pro-page h1,
.edu-pro-page h2,
.edu-pro-page h3,
.edu-pro-page p { text-wrap: pretty; }

.edu-pro-page section[id] { scroll-margin-top: 105px; }
.edu-pro-header {
  position: relative;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--edu-navy-deep);
  color: white;
}

.edu-pro-header-inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1240px;
  padding-inline: 24px;
}

.edu-pro-header .subpage-brand { color: white; text-decoration: none; }
.edu-pro-header .subpage-brand > span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.edu-pro-header .subpage-brand img { top: 4px; width: 42px; }
.edu-pro-header .subpage-brand small { color: rgba(255, 255, 255, 0.58); }
.edu-pro-header nav { display: flex; align-items: center; gap: 28px; }
.edu-pro-header nav a { color: rgba(255, 255, 255, 0.72); font-size: 13px; font-weight: 750; text-decoration: none; }
.edu-pro-header nav a:hover,
.edu-pro-header nav a:focus-visible { color: white; }

.edu-pro-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 24px 92px;
  background:
    radial-gradient(circle at 82% 30%, rgba(56, 158, 150, 0.2), transparent 27%),
    linear-gradient(135deg, #f3f7f7 0%, #e7efef 48%, #f6f1e7 100%);
}

.edu-pro-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16, 45, 67, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 45, 67, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 70%);
  pointer-events: none;
}

.edu-pro-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.52fr);
  gap: clamp(56px, 8vw, 118px);
  align-items: center;
  max-width: 1180px;
}

.edu-pro-hero-copy { min-width: 0; max-width: 790px; }
.edu-pro-hero .seo-breadcrumbs { margin-bottom: 36px; }
.edu-pro-hero h1 {
  margin: 15px 0 22px;
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.99;
}

.edu-pro-kicker {
  max-width: 680px;
  margin: 0 0 25px;
  color: var(--edu-teal);
  font-size: clamp(20px, 2.3vw, 29px);
  font-weight: 800;
  line-height: 1.28;
}

.edu-pro-lead {
  max-width: 730px;
  margin: 0;
  color: #415b6f;
  font-size: 19px;
  line-height: 1.72;
}

.edu-pro-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.edu-pro-status-line span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(22, 132, 127, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #32576b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.edu-pro-hero-brief {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(16, 45, 67, 0.2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 70px rgba(16, 45, 67, 0.14);
}

.edu-pro-hero-brief::after {
  position: absolute;
  top: -95px;
  right: -95px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(22, 132, 127, 0.18);
  border-radius: 50%;
  content: "";
}

.edu-pro-brief-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.edu-pro-brief-heading img { width: 54px; height: 54px; object-fit: contain; }
.edu-pro-brief-heading div { display: flex; flex-direction: column; gap: 4px; }
.edu-pro-brief-heading span { color: var(--edu-teal); font-size: 11px; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.edu-pro-brief-heading strong { font-size: 17px; }
.edu-pro-hero-brief h2 { margin: 0 0 25px; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 600; line-height: 1.18; }
.edu-pro-hero-brief dl { margin: 0; border-top: 1px solid var(--edu-line); }
.edu-pro-hero-brief dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--edu-line); }
.edu-pro-hero-brief dt { color: #617482; font-size: 13px; }
.edu-pro-hero-brief dd { margin: 0; color: var(--edu-navy); font-size: 14px; font-weight: 820; text-align: right; }
.edu-pro-hero-brief > p { margin: 22px 0 0; color: #536b7b; font-size: 14px; line-height: 1.65; }

.edu-pro-local-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 32, 50, 0.96);
  backdrop-filter: blur(14px);
}

.edu-pro-local-nav .shell {
  display: flex;
  gap: 26px;
  max-width: 1180px;
  overflow-x: auto;
  scrollbar-width: none;
}

.edu-pro-local-nav a {
  flex: 0 0 auto;
  padding: 17px 0 15px;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.edu-pro-local-nav a:hover,
.edu-pro-local-nav a:focus-visible { border-color: var(--edu-gold); color: white; }

.edu-pro-section { padding: clamp(78px, 9vw, 124px) 24px; }
.edu-pro-section > .shell { max-width: 1180px; }
.edu-pro-section h2,
.edu-pro-contact h2 {
  margin: 10px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(37px, 4.7vw, 61px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.edu-pro-section-heading { max-width: 850px; margin-bottom: 50px; }
.edu-pro-section-heading > p:last-child,
.edu-pro-ethics > .shell > div > p:last-child {
  max-width: 760px;
  color: #526a7b;
  font-size: 18px;
  line-height: 1.7;
}

.edu-pro-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: start;
}

.edu-pro-why { background: white; }
.edu-pro-rich-copy > p {
  margin: 0 0 25px;
  color: #405b6f;
  font-size: 19px;
  line-height: 1.75;
}

.edu-pro-rich-copy blockquote,
.edu-pro-author blockquote {
  margin: 34px 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--edu-gold);
  background: #f4f7f6;
  color: var(--edu-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
  line-height: 1.58;
}

.edu-pro-lessons { background: #edf2f1; }
.edu-pro-lesson-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.edu-pro-lesson-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  min-height: 252px;
  padding: 28px 25px;
  border: 1px solid var(--edu-line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(16, 45, 67, 0.045);
}

.edu-pro-index { color: var(--edu-teal); font-family: Georgia, serif; font-size: 20px; font-weight: 700; }
.edu-pro-lesson-list h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 23px; line-height: 1.25; }
.edu-pro-lesson-list h3 a { color: inherit; text-decoration: none; }
.edu-pro-lesson-list h3 a:hover { color: var(--edu-teal); }
.edu-pro-lesson-list strong { display: block; margin-bottom: 13px; color: var(--edu-teal); font-size: 14px; letter-spacing: 0.02em; }
.edu-pro-lesson-list p { margin: 0; color: #5a6e7c; font-size: 15px; line-height: 1.62; }

.edu-pro-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.edu-pro-process li { position: relative; padding: 24px 22px 26px; border-top: 1px solid var(--edu-line); }
.edu-pro-process li + li { border-left: 1px solid var(--edu-line); }
.edu-pro-process li > span { display: block; margin-bottom: 30px; color: var(--edu-gold); font-family: Georgia, serif; font-size: 31px; }
.edu-pro-process h3 { min-height: 54px; margin: 0 0 13px; font-size: 18px; line-height: 1.45; }
.edu-pro-process p { margin: 0; color: #5a6e7c; font-size: 14px; line-height: 1.62; }

.edu-pro-module { background: var(--edu-navy); color: white; }
.edu-pro-module .eyebrow { color: #5cc4bb; }
.edu-pro-module-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.65fr); gap: clamp(55px, 8vw, 105px); align-items: center; }
.edu-pro-module h2 { color: white; }
.edu-pro-lead-small { max-width: 750px; color: rgba(255, 255, 255, 0.72); font-size: 18px; line-height: 1.72; }
.edu-pro-module-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; margin-top: 43px; }
.edu-pro-module-columns h3 { margin: 0 0 18px; padding-bottom: 11px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-size: 17px; }
.edu-pro-module-columns ul { margin: 0; padding-left: 20px; color: rgba(255, 255, 255, 0.7); }
.edu-pro-module-columns li { margin-bottom: 10px; line-height: 1.5; }
.edu-pro-module-result { padding: 40px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.065); }
.edu-pro-module-result > span { color: #5cc4bb; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.edu-pro-module-result h3 { margin: 22px 0; font-family: Georgia, serif; font-size: 31px; font-weight: 500; line-height: 1.3; }
.edu-pro-module-result p { color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 1.7; }
.edu-pro-module-result a { display: inline-flex; margin-top: 18px; color: #f3c96e; font-weight: 800; text-decoration: none; }

.edu-pro-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.edu-pro-status-grid article { padding: 39px; border: 1px solid var(--edu-line); background: white; }
.edu-pro-status-grid article > span { display: inline-block; margin-bottom: 19px; color: var(--edu-teal); font-size: 12px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.edu-pro-status-grid .is-next > span { color: #9b6c16; }
.edu-pro-status-grid h3 { margin: 0 0 20px; font-family: Georgia, serif; font-size: 29px; line-height: 1.3; }
.edu-pro-status-grid ul { margin: 0; padding-left: 20px; color: #536a7a; }
.edu-pro-status-grid li { margin-bottom: 11px; line-height: 1.55; }
.edu-pro-status-grid .edu-pro-ready-docs { display: grid; gap: 0; padding: 0; list-style: none; }
.edu-pro-ready-docs li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0; padding: 11px 0; border-top: 1px solid var(--edu-line); }
.edu-pro-ready-docs strong { color: var(--edu-navy); font-size: 15px; }
.edu-pro-ready-docs small { color: #738692; font-size: 11px; line-height: 1.4; text-align: right; }

.edu-pro-ethics { background: #e8efee; }
.edu-pro-principles { margin: 0; padding: 0; list-style: none; counter-reset: ethics; }
.edu-pro-principles li { position: relative; padding: 19px 20px 19px 60px; border-top: 1px solid rgba(16, 45, 67, 0.16); counter-increment: ethics; font-size: 17px; font-weight: 650; line-height: 1.5; }
.edu-pro-principles li::before { position: absolute; top: 19px; left: 17px; color: var(--edu-teal); content: counter(ethics, decimal-leading-zero); font-family: Georgia, serif; font-size: 14px; }

.edu-pro-audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.edu-pro-audience-grid article { display: flex; min-height: 270px; flex-direction: column; padding: 30px; border: 1px solid var(--edu-line); background: white; }
.edu-pro-audience-grid h3 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 24px; }
.edu-pro-audience-grid p { margin: 0 0 17px; color: #4f6879; font-size: 16px; line-height: 1.58; }
.edu-pro-audience-grid small { color: #788894; font-size: 13px; line-height: 1.55; }
.edu-pro-audience-grid a { margin-top: auto; padding-top: 27px; color: var(--edu-teal); font-weight: 800; text-decoration: none; }

.edu-pro-roadmap { background: #f0ede7; }
.edu-pro-timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 2px solid rgba(16, 45, 67, 0.18); list-style: none; }
.edu-pro-timeline li { position: relative; padding: 31px 22px 0 0; }
.edu-pro-timeline li::before { position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border: 3px solid #f0ede7; border-radius: 50%; background: var(--edu-teal); box-shadow: 0 0 0 1px var(--edu-teal); content: ""; }
.edu-pro-timeline span { color: var(--edu-teal); font-size: 13px; font-weight: 850; letter-spacing: 0.05em; text-transform: uppercase; }
.edu-pro-timeline h3 { margin: 13px 0 9px; font-size: 18px; line-height: 1.35; }
.edu-pro-timeline p { margin: 0; color: #5f707d; font-size: 14px; line-height: 1.6; }

.edu-pro-author { background: white; }
.edu-pro-author-grid { display: grid; grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr); gap: clamp(55px, 8vw, 110px); align-items: start; }
.edu-pro-author figure { position: sticky; top: 100px; overflow: hidden; margin: 0; background: #d5e4e2; }
.edu-pro-author figure img { display: block; width: 100%; height: auto; }
.edu-pro-author h2 { margin-bottom: 25px; }
.edu-pro-author p { color: #4b6375; font-size: 17px; line-height: 1.72; }
.edu-pro-author > .shell > div > a { display: inline-flex; margin-top: 25px; color: var(--edu-teal); font-weight: 800; text-decoration: none; }

.edu-pro-materials { background: var(--edu-navy-deep); color: white; }
.edu-pro-materials .eyebrow { color: #5cc4bb; }
.edu-pro-materials .edu-pro-section-heading > p:last-child { color: rgba(255, 255, 255, 0.68); }
.edu-pro-material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.edu-pro-material-grid article { display: flex; min-height: 340px; flex-direction: column; padding: 32px; border: 1px solid rgba(255, 255, 255, 0.17); background: rgba(255, 255, 255, 0.055); }
.edu-pro-material-grid article > span { width: fit-content; padding: 7px 10px; border: 1px solid rgba(92, 196, 187, 0.45); color: #73d5cc; font-size: 12px; font-weight: 850; letter-spacing: 0.08em; }
.edu-pro-material-grid h3 { margin: 25px 0 13px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; line-height: 1.3; }
.edu-pro-material-grid p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.7); line-height: 1.62; }
.edu-pro-material-grid small { color: rgba(255, 255, 255, 0.47); font-size: 12px; line-height: 1.55; }
.edu-pro-material-grid a { display: inline-flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 14px 0 2px; border-top: 1px solid rgba(255, 255, 255, 0.15); color: #f1c766; font-weight: 800; text-decoration: none; }
.edu-pro-file-actions { display: grid; gap: 0; margin-top: auto; }
.edu-pro-file-actions a { display: grid; gap: 4px; margin: 0; }
.edu-pro-file-actions a + a { margin-top: 10px; }
.edu-pro-file-actions b { font-size: 14px; }
.edu-pro-file-actions small { color: rgba(255, 255, 255, 0.48); font-weight: 500; }
.edu-pro-material-grid .is-request > span { border-color: rgba(241, 199, 102, 0.5); color: #f1c766; }
.edu-pro-material-note { max-width: 840px; margin: 30px 0 0; color: rgba(255, 255, 255, 0.52); font-size: 13px; line-height: 1.6; }

.edu-pro-faq-grid { display: grid; grid-template-columns: minmax(250px, 0.45fr) minmax(0, 1fr); gap: clamp(55px, 8vw, 110px); align-items: start; }
.edu-pro-faq-grid header { position: sticky; top: 100px; }
.edu-pro-faq-list details { border-top: 1px solid var(--edu-line); }
.edu-pro-faq-list details:last-child { border-bottom: 1px solid var(--edu-line); }
.edu-pro-faq-list summary { position: relative; padding: 25px 48px 25px 0; cursor: pointer; font-size: 18px; font-weight: 800; line-height: 1.45; list-style: none; }
.edu-pro-faq-list summary::-webkit-details-marker { display: none; }
.edu-pro-faq-list summary::after { position: absolute; top: 23px; right: 5px; color: var(--edu-teal); content: "+"; font-family: Georgia, serif; font-size: 25px; }
.edu-pro-faq-list details[open] summary::after { content: "−"; }
.edu-pro-faq-list details p { margin: -7px 0 25px; padding-right: 40px; color: #526a7b; font-size: 16px; line-height: 1.7; }

.edu-pro-contact { padding: clamp(72px, 8vw, 105px) 24px; background: #197f7b; color: white; }
.edu-pro-contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.5fr); gap: 70px; align-items: center; max-width: 1180px; }
.edu-pro-contact .eyebrow { color: #d8f2ef; }
.edu-pro-contact h2 { color: white; }
.edu-pro-contact p { max-width: 750px; color: rgba(255, 255, 255, 0.8); font-size: 17px; line-height: 1.7; }
.edu-pro-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.edu-pro-contact-actions .button { background: white; color: var(--edu-navy); }
.edu-pro-contact-actions > a:not(.button) { color: white; font-size: 20px; font-weight: 800; text-decoration: none; }
.edu-pro-contact-actions > span { color: rgba(255, 255, 255, 0.72); }

.edu-pro-related { padding: 52px 24px; background: white; }
.edu-pro-related .shell { max-width: 1180px; }
.edu-pro-related h2 { margin: 0 0 22px; font-family: Georgia, serif; font-size: 27px; }
.edu-pro-related .shell > div { display: flex; flex-wrap: wrap; gap: 11px; }
.edu-pro-related a { padding: 12px 15px; border: 1px solid var(--edu-line); color: var(--edu-navy); font-size: 14px; font-weight: 750; text-decoration: none; }
.edu-pro-related a:hover { border-color: var(--edu-teal); color: var(--edu-teal); }

@media (max-width: 980px) {
  .edu-pro-lesson-list,
  .edu-pro-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edu-pro-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edu-pro-process li { border-left: 0; border-bottom: 1px solid var(--edu-line); }
  .edu-pro-process li + li { border-left: 1px solid var(--edu-line); }
  .edu-pro-process li:nth-child(odd) { border-left: 0; }
  .edu-pro-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 35px; }
}

@media (max-width: 760px) {
  .edu-pro-page .edu-pro-header nav { display: none; }
  .edu-pro-header-inner { min-height: 82px; padding-inline: 18px; }
  .edu-pro-header .subpage-brand strong { font-size: 15px; }
  .edu-pro-hero { padding: 56px 18px 68px; }
  .edu-pro-hero-grid,
  .edu-pro-two-column,
  .edu-pro-module-grid,
  .edu-pro-author-grid,
  .edu-pro-faq-grid,
  .edu-pro-contact-grid { grid-template-columns: 1fr; }
  .edu-pro-hero-grid { gap: 52px; }
  .edu-pro-hero h1,
  .edu-pro-kicker {
    overflow-wrap: normal;
    hyphens: auto;
  }
  .edu-pro-hero h1 { font-size: clamp(32px, 10.3vw, 40px); line-height: 1.04; }
  .edu-pro-lead { font-size: 17px; }
  .edu-pro-hero-brief { padding: 25px 22px; }
  .edu-pro-hero-brief h2 { font-size: 27px; }
  .edu-pro-hero-brief dl > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .edu-pro-hero-brief dd { text-align: left; }
  .edu-pro-local-nav .shell { padding-inline: 18px; }
  .edu-pro-section { padding: 68px 18px; }
  .edu-pro-section-heading { margin-bottom: 36px; }
  .edu-pro-two-column { gap: 24px; }
  .edu-pro-lesson-list,
  .edu-pro-audience-grid,
  .edu-pro-status-grid,
  .edu-pro-material-grid,
  .edu-pro-timeline { grid-template-columns: 1fr; }
  .edu-pro-lesson-list li { min-height: 0; }
  .edu-pro-process { display: block; }
  .edu-pro-process li,
  .edu-pro-process li + li { display: grid; grid-template-columns: 45px 1fr; gap: 15px; padding: 20px 0; border-left: 0; }
  .edu-pro-process li > span { margin: 0; font-size: 23px; }
  .edu-pro-process h3 { min-height: 0; margin-bottom: 7px; }
  .edu-pro-module-columns { grid-template-columns: 1fr; gap: 24px; }
  .edu-pro-module-result,
  .edu-pro-status-grid article { padding: 28px 24px; }
  .edu-pro-ready-docs li { align-items: flex-start; flex-direction: column; gap: 4px; }
  .edu-pro-ready-docs small { text-align: left; }
  .edu-pro-audience-grid article { min-height: 235px; }
  .edu-pro-timeline { border-top: 0; border-left: 2px solid rgba(16, 45, 67, 0.18); }
  .edu-pro-timeline li { padding: 0 0 30px 28px; }
  .edu-pro-timeline li::before { top: 4px; left: -7px; }
  .edu-pro-author figure,
  .edu-pro-faq-grid header { position: static; }
  .edu-pro-author figure { max-width: 300px; }
  .edu-pro-contact { padding: 68px 18px; }
  .edu-pro-contact-grid { gap: 35px; }
  .edu-pro-related { padding: 45px 18px; }
}

/* SEO content pages */
.lesson-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px 24px;
  color: #165f75;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.seo-page {
  min-height: 100vh;
  background: #f8f6f0;
  color: #173c58;
}

.seo-page-header {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
}

.seo-hero {
  padding: 105px 24px 90px;
  background: linear-gradient(135deg, #edf5ff 0%, #f7f1e5 100%);
}

.seo-hero-inner,
.education-page-hero-grid,
.author-page-grid {
  max-width: 940px;
}

.seo-hero h1 {
  max-width: 880px;
  margin: 16px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
}

.seo-hero h1 + strong,
.education-page-hero h1 + strong,
.author-page-hero h1 + strong {
  display: block;
  margin-bottom: 24px;
  color: #147f7a;
  font-size: clamp(19px, 2.2vw, 27px);
}

.seo-hero p:last-child {
  max-width: 760px;
  color: #52677a;
  font-size: 19px;
  line-height: 1.75;
}

.seo-breadcrumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 38px;
  color: #738396;
  font-size: 13px;
}

.seo-breadcrumbs a { color: inherit; }
.seo-hero-gold { background: linear-gradient(135deg, #fff3d6, #f8f6f0); }
.seo-hero-coral { background: linear-gradient(135deg, #ffe7dc, #f8f6f0); }
.seo-hero-violet { background: linear-gradient(135deg, #eee7ff, #f8f6f0); }
.seo-hero-teal { background: linear-gradient(135deg, #def5f1, #f8f6f0); }
.seo-hero-blue { background: linear-gradient(135deg, #e5f0ff, #f8f6f0); }
.seo-hero-amber { background: linear-gradient(135deg, #fff0cf, #f8f6f0); }
.seo-hero-mint { background: linear-gradient(135deg, #def5e8, #f8f6f0); }
.seo-hero-indigo { background: linear-gradient(135deg, #e3e8ff, #f8f6f0); }
.seo-hero-green { background: linear-gradient(135deg, #e1f4dc, #f8f6f0); }

.seo-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 78px;
  padding-bottom: 78px;
}

.seo-panel {
  padding: 42px;
  border: 1px solid rgba(23, 60, 88, 0.1);
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 55px rgba(30, 52, 69, 0.06);
}

.seo-panel h2,
.seo-related-section h2,
.seo-next-step h2 {
  margin: 8px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.seo-panel p,
.seo-panel li,
.seo-next-step p {
  color: #586c7d;
  line-height: 1.7;
}

.seo-panel li + li { margin-top: 12px; }
.seo-panel-accent { background: #e8f5f2; }
.seo-panel .button { margin-top: 20px; }
.seo-panel blockquote { margin: 18px 0 26px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.5; }
.seo-panel-visual img { width: 100%; max-height: 300px; object-fit: contain; }

.seo-related-section { padding-top: 15px; padding-bottom: 78px; }
.seo-related-section > header { max-width: 720px; margin-bottom: 32px; }

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-card-grid > a {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(23, 60, 88, 0.1);
  border-radius: 22px;
  background: white;
  color: inherit;
  text-decoration: none;
}

.seo-card-grid span { color: #84909d; font-size: 12px; }
.seo-card-grid h3 { margin: 18px 0 12px; font-size: 19px; line-height: 1.35; }
.seo-card-grid p { margin: 0 0 20px; color: #657788; font-size: 14px; line-height: 1.6; }
.seo-card-grid strong { margin-top: auto; color: #147f7a; font-size: 13px; }

.lesson-hub-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 78px;
}

.lesson-hub-nav a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(23, 60, 88, 0.15);
  border-radius: 50%;
  color: #365b72;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.lesson-hub-nav a[aria-current="page"] { background: #173c58; color: white; }

.seo-next-step {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid rgba(23, 60, 88, 0.14);
  border-bottom: 1px solid rgba(23, 60, 88, 0.14);
}

.seo-next-step > div:last-child { display: flex; align-items: flex-start; flex-direction: column; gap: 14px; }
.seo-next-step > div:last-child > a:not(.button) { color: #147f7a; font-weight: 800; }
.seo-page-footer { background: #173c58; color: white; }

.education-page-hero-grid,
.author-page-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 70px;
  align-items: center;
}

.education-page-hero figure,
.author-page-hero figure { margin: 0; }
.education-page-hero figure img { width: 100%; filter: drop-shadow(0 25px 35px rgba(16, 54, 70, 0.18)); }
.education-page-actions { display: flex; gap: 20px; align-items: center; margin-top: 30px; }
.education-page-actions > a:not(.button) { color: #147f7a; font-weight: 800; }

.education-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 60px;
}

.education-metric-grid article { padding: 28px; border-radius: 20px; background: white; text-align: center; }
.education-metric-grid strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 46px; }
.education-metric-grid span { color: #657788; font-size: 13px; }

.education-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.education-module-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 23px; border-radius: 18px; background: white; }
.education-module-grid span { color: #147f7a; font-weight: 800; }
.education-module-grid a { color: #173c58; font-weight: 750; line-height: 1.45; text-decoration: none; }

.author-page-grid { grid-template-columns: 0.45fr 0.55fr; }
.author-page-hero figure { overflow: hidden; border-radius: 48% 48% 24px 24px; background: #d7ebe8; }
.author-page-hero figure img { display: block; width: 100%; }

@media (max-width: 900px) {
  .seo-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .education-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .seo-hero { padding: 70px 18px 60px; }
  .seo-content-grid,
  .seo-next-step,
  .education-page-hero-grid,
  .author-page-grid { grid-template-columns: 1fr; }
  .seo-content-grid { padding: 54px 18px; }
  .seo-panel { padding: 28px 23px; }
  .seo-card-grid,
  .education-module-grid,
  .education-metric-grid { grid-template-columns: 1fr; }
  .education-metric-grid { padding: 40px 18px 0; }
  .seo-next-step { gap: 24px; margin: 0 18px 60px; }
  .lesson-hub-nav { flex-wrap: wrap; padding-inline: 18px; }
  .author-page-hero figure { max-width: 310px; }
  .education-page-hero figure { max-width: 260px; }
  .education-page-actions { align-items: flex-start; flex-direction: column; }
}

/* The parent-test entry is a concise invitation, not another full product
   panel. Keep the illustration close to the copy and let the scene explain
   the value of reflection more clearly than an abstract score graphic. */
.ecosystem-grid .eco-parent-map {
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.52fr);
  gap: 24px;
  align-items: stretch;
}

.eco-parent-map .eco-copy {
  display: flex;
  max-width: 680px;
  flex-direction: column;
  justify-content: center;
  padding: 32px 38px;
}

.eco-parent-map-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  margin: 22px 22px 22px 0;
  border-radius: 24px;
  background: #dcebe6;
  box-shadow: 0 16px 36px rgba(21, 38, 65, 0.12);
}

.eco-parent-map-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 860px) {
  .ecosystem-grid .eco-parent-map {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .eco-parent-map .eco-copy {
    max-width: none;
    padding: 32px;
  }

  .eco-parent-map-visual {
    min-height: 300px;
    margin: 0 24px 24px;
  }
}

@media (max-width: 560px) {
  .eco-parent-map .eco-copy {
    padding: 27px 24px 25px;
  }

  .eco-parent-map-visual {
    min-height: 230px;
    margin: 0 18px 18px;
    border-radius: 18px;
  }
}

/* Parent map */

.parent-map-page {
  min-height: 100svh;
  background: #fffaf2;
  color: var(--ink);
}

.parent-map-header {
  color: var(--ink);
}

.parent-map-stage,
.parent-map-question-stage,
.parent-map-result > section,
.parent-map-about,
.parent-map-faq {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.parent-map-stage {
  min-height: 680px;
  padding: clamp(72px, 8vw, 120px) 0;
}

.parent-map-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.parent-map-intro h1,
.parent-map-center h1,
.parent-map-result-hero h1 {
  margin: 16px 0 28px;
  font-size: clamp(50px, 6.2vw, 86px);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.parent-map-intro h1 em,
.parent-map-result-hero h1 em {
  color: #c9793f;
  font-family: Georgia, serif;
  font-weight: 400;
}

.parent-map-lead {
  max-width: 760px;
  margin: 0 0 16px;
  color: #354d68;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.45;
}

.parent-map-intro-copy > p:not(.eyebrow, .parent-map-lead) {
  max-width: 720px;
  color: #647187;
  font-size: 16px;
  line-height: 1.75;
}

.parent-map-intro-copy > .button {
  margin-top: 26px;
}

.parent-map-intro-copy > small {
  display: block;
  margin-top: 16px;
  color: #7b8797;
}

.parent-map-invite-note {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 0 16px 16px 0;
  background: #ecf8f4;
  line-height: 1.55;
}

.parent-map-invite-note span {
  color: #597069;
  font-size: 14px;
}

.parent-map-promise {
  padding: 34px;
  border-radius: 34px;
  background: #122a47;
  box-shadow: 0 30px 80px rgba(18, 42, 71, 0.2);
  color: white;
}

.parent-map-promise > span {
  display: block;
  margin-bottom: 26px;
  color: #f4c269;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.parent-map-promise > div {
  display: grid;
  grid-template-columns: 9px 30px 1fr;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.parent-map-promise i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.parent-map-promise b {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.parent-map-promise p {
  margin: 0;
  font-size: 15px;
}

.parent-map-center {
  display: flex;
  max-width: 900px;
  min-height: 650px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.parent-map-center > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #637187;
  font-size: 18px;
  line-height: 1.75;
}

.parent-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.parent-map-actions .button-outline-dark,
.parent-map-save-share .button-outline-dark {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(21,38,65,.18);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 750;
}

.parent-map-instructions h1,
.parent-map-reality h1 {
  max-width: 980px;
  font-size: clamp(42px, 5vw, 68px);
}

.parent-map-instructions aside {
  display: grid;
  max-width: 720px;
  gap: 5px;
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff0cf;
}

.parent-map-instructions aside span {
  color: #6f6149;
  line-height: 1.55;
}

.parent-map-question-stage {
  min-height: 720px;
  padding: 52px 0 90px;
}

.parent-map-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 46px;
}

.parent-map-progress > span {
  color: #738095;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.parent-map-progress > div {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21,38,65,.1);
}

.parent-map-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e9a43a, #ef7f62, #36a89e);
  transition: width .25s ease;
}

.parent-map-question-card {
  max-width: 930px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(21,38,65,.09);
  border-radius: 34px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 26px 70px rgba(27,44,68,.09);
}

.parent-map-question-card > p {
  margin: 0 0 16px;
  color: #b56d33;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.parent-map-question-card h1 {
  min-height: 3.7em;
  margin: 0 0 38px;
  font-size: clamp(30px, 4vw, 47px);
  font-weight: 690;
  letter-spacing: -.045em;
  line-height: 1.18;
}

.parent-map-answer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.parent-map-answer-grid button {
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(21,38,65,.13);
  border-radius: 16px;
  background: #fffaf2;
  color: #4b5d73;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  transition: border-color .15s, background .15s, transform .15s;
}

.parent-map-answer-grid button:hover,
.parent-map-answer-grid button.is-selected {
  border-color: #d78a48;
  background: #ffedd1;
  color: var(--ink);
  transform: translateY(-2px);
}

.parent-map-answer-grid button:focus-visible,
.parent-map-reality-options button:focus-visible,
.parent-map-family-controls button:focus-visible {
  outline: 3px solid rgba(41,182,171,.35);
  outline-offset: 3px;
}

.parent-map-back {
  margin-top: 28px;
  border: 0;
  background: transparent;
  color: #65758a;
  font-weight: 700;
}

.parent-map-back:disabled {
  opacity: .35;
}

.parent-map-reality-options {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}

.parent-map-reality-options button {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 26px;
  border: 1px solid rgba(21,38,65,.12);
  border-radius: 22px;
  background: white;
  color: var(--ink);
  text-align: left;
}

.parent-map-reality-options strong { font-size: 18px; }
.parent-map-reality-options span { color: #718095; }

.parent-map-result {
  padding-bottom: 30px;
}

.parent-map-result-hero {
  padding: 110px 0 86px;
}

.parent-map-result-hero h1 { max-width: 1020px; }
.parent-map-result-hero > p:not(.eyebrow) { max-width: 850px; color: #586a80; font-size: 19px; line-height: 1.8; }
.parent-map-result-hero aside { max-width: 850px; margin-top: 28px; padding: 20px 22px; border-left: 4px solid #e5a23e; border-radius: 0 16px 16px 0; background: #fff0cf; color: #665940; line-height: 1.65; }

.parent-map-chart {
  display: grid;
  grid-template-columns: minmax(260px,.48fr) minmax(0,1fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
  padding: 64px;
  border-radius: 34px;
  background: #132a47;
  color: white;
}

.parent-map-chart h2,
.parent-map-section h2,
.parent-map-perspective h2,
.parent-map-reading h2,
.parent-map-save-share h2,
.parent-map-family h2,
.parent-map-product-step h2,
.parent-map-about h2,
.parent-map-faq h2 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.045em;
  line-height: 1.06;
}

.parent-map-chart > div:first-child > p:last-child { color: rgba(235,242,250,.68); line-height: 1.7; }
.parent-map-bars { display: grid; gap: 19px; }
.parent-map-bars > div { display: grid; gap: 8px; }
.parent-map-bars span { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; }
.parent-map-bars small { color: rgba(235,242,250,.76); font-size: 12px; }
.parent-map-bars > div > i { height: 9px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.parent-map-bars em { display: block; height: 100%; border-radius: inherit; }

.parent-map-section,
.parent-map-perspective,
.parent-map-reading,
.parent-map-save-share,
.parent-map-family,
.parent-map-product-step {
  padding: 110px 0;
}

.parent-map-section > header,
.parent-map-reading > header { max-width: 820px; margin-bottom: 48px; }
.parent-map-section > div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.parent-map-section article { padding: clamp(28px,4vw,46px); border: 1px solid rgba(21,38,65,.1); border-radius: 26px; background: white; }
.parent-map-section article > span { font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.parent-map-section h3 { margin: 16px 0 20px; font-size: 29px; letter-spacing: -.03em; }
.parent-map-section article > p { margin: 0; color: #5d6d82; line-height: 1.78; }
.parent-map-section blockquote { margin: 26px 0 0; padding: 20px; border-radius: 16px; background: #fff4de; color: #625a4e; line-height: 1.65; }

.parent-map-blind {
  display: grid;
  grid-template-columns: .55fr 1fr;
  gap: clamp(45px,8vw,110px);
  align-items: center;
  padding: 72px !important;
  border-radius: 34px;
  background: linear-gradient(135deg, #1b4560, #162d50);
  color: white;
}
.parent-map-blind h2 { margin: 10px 0 0; font-size: clamp(36px,4.4vw,58px); line-height: 1.03; letter-spacing: -.05em; }
.parent-map-blind > p { margin: 0; color: #e2ebf4; font-family: Georgia,serif; font-size: clamp(23px,2.5vw,32px); line-height: 1.55; }

.parent-map-perspective { max-width: 900px; }
.parent-map-perspective blockquote { margin: 38px 0 24px; color: #244a66; font-family: Georgia,serif; font-size: clamp(27px,3.4vw,42px); line-height: 1.4; }
.parent-map-perspective > p:last-child { color: #728093; line-height: 1.7; }

.parent-map-next-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 110px;
}
.parent-map-next-step article { padding: clamp(32px,5vw,58px); border-radius: 30px; background: #fff0cf; }
.parent-map-next-step article:last-child { background: #e9f6f2; }
.parent-map-next-step span { color: #a3692b; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.parent-map-next-step h2 { margin: 18px 0; font-family: Georgia,serif; font-size: clamp(28px,3.2vw,40px); font-weight: 400; line-height: 1.3; }
.parent-map-next-step p { color: #5d685f; line-height: 1.72; }

.parent-map-reading { border-top: 1px solid rgba(21,38,65,.1); }
.parent-map-reading > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.parent-map-reading > div a { padding: 34px; border: 1px solid rgba(21,38,65,.1); border-radius: 24px; background: white; color: var(--ink); }
.parent-map-reading a > span { color: #c47b39; font-weight: 850; }
.parent-map-reading h3 { margin: 22px 0 12px; font-size: 25px; letter-spacing: -.025em; }
.parent-map-reading a p { color: #68788c; line-height: 1.65; }
.parent-map-reading a strong { display: block; margin-top: 24px; color: #a5662e; font-size: 13px; }

.parent-map-save-share,
.parent-map-feedback,
.parent-map-product-step {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-top: 1px solid rgba(21,38,65,.1);
}
.parent-map-save-share > div:first-child { max-width: 710px; }
.parent-map-save-share > div:last-child { display: grid; gap: 10px; justify-items: stretch; }
.parent-map-save-share p,
.parent-map-product-step p { color: #647388; line-height: 1.7; }
.parent-map-save-share small { color: #537369; text-align: center; }

.parent-map-feedback {
  padding: clamp(42px, 6vw, 72px) !important;
  border: 2px solid rgba(232, 183, 81, .82);
  border-radius: 34px;
  background: linear-gradient(135deg, #173f5e 0%, #116f73 100%);
  color: white;
  box-shadow: 0 26px 64px rgba(21, 61, 82, .18);
}
.parent-map-feedback > div { max-width: 760px; }
.parent-map-feedback .eyebrow { margin-bottom: 13px; color: #f5d184; }
.parent-map-feedback h2 {
  margin: 0;
  color: white;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -.045em;
  line-height: 1.06;
}
.parent-map-feedback p:last-child {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(239,247,250,.82);
  font-size: 17px;
  line-height: 1.72;
}
.parent-map-feedback-button {
  min-width: 260px;
  min-height: 82px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 20px;
  align-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #f3ca6b, #dda33d);
  color: #17364c;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(5, 26, 42, .28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.parent-map-feedback-button:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(5, 26, 42, .34); }
.parent-map-feedback-button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.parent-map-feedback-button strong { align-self: end; font-size: 17px; line-height: 1.2; }
.parent-map-feedback-button small { align-self: start; margin-top: 4px; font-size: 12px; opacity: .72; }
.parent-map-feedback-button span { grid-column: 2; grid-row: 1 / 3; font-size: 30px; font-weight: 800; }

.parent-map-family {
  padding: 72px !important;
  border-radius: 34px;
  background: #10243e;
  color: white;
}
.parent-map-family-copy { max-width: 870px; }
.parent-map-family-copy > p:last-child { color: rgba(235,242,250,.68); font-size: 17px; line-height: 1.75; }
.parent-map-family > .button { margin-top: 26px; }
.parent-map-family-child-link { display: inline-block; margin-top: 22px; color: #f5c977; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.parent-map-family-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.parent-map-family-controls button { min-height: 48px; padding: 0 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); color: white; font-weight: 750; }
.parent-map-family-status { margin: 20px 0 0; color: #f5c977; }
.parent-map-family-result { margin-top: 54px; padding-top: 45px; border-top: 1px solid rgba(255,255,255,.13); }
.parent-map-family-result > h3 { margin: 0 0 32px; font-size: 42px; letter-spacing: -.04em; }
.parent-map-family-result section { margin: 0 0 14px; padding: 26px; border-radius: 18px; background: rgba(255,255,255,.07); }
.parent-map-family-result h4 { margin: 0 0 12px; color: #f5c977; font-size: 18px; }
.parent-map-family-result p { color: #d9e3ee; line-height: 1.7; }
.parent-map-family-result blockquote { margin: 0; color: white; font-family: Georgia,serif; font-size: 24px; line-height: 1.45; }

.parent-map-product-step > div { max-width: 790px; }
.parent-map-disclaimer { width: min(900px,calc(100% - 64px)); margin: 0 auto 100px; color: #7b8797; font-size: 12px; line-height: 1.7; text-align: center; }

.parent-map-about {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(45px,8vw,110px);
  padding: 100px 0;
  border-top: 1px solid rgba(21,38,65,.1);
}
.parent-map-about h2 { margin-top: 14px; }
.parent-map-about > div:last-child { padding-top: 28px; }
.parent-map-about > div:last-child p { color: #637287; line-height: 1.8; }

.parent-map-faq { padding: 90px 0 120px; }
.parent-map-faq > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 42px; }
.parent-map-faq details { padding: 22px 24px; border: 1px solid rgba(21,38,65,.1); border-radius: 18px; background: white; }
.parent-map-faq summary { cursor: pointer; font-weight: 750; line-height: 1.4; }
.parent-map-faq details p { margin: 14px 0 0; color: #68778b; line-height: 1.65; }

@media (max-width: 860px) {
  .parent-map-stage,
  .parent-map-question-stage,
  .parent-map-result > section,
  .parent-map-about,
  .parent-map-faq { width: min(100% - 32px, 680px); }
  .parent-map-intro,
  .parent-map-chart,
  .parent-map-blind,
  .parent-map-about { grid-template-columns: 1fr; }
  .parent-map-intro { padding-top: 56px; }
  .parent-map-promise { max-width: 560px; }
  .parent-map-answer-grid { grid-template-columns: 1fr; }
  .parent-map-answer-grid button { min-height: 54px; }
  .parent-map-question-card h1 { min-height: 0; }
  .parent-map-section > div,
  .parent-map-next-step,
  .parent-map-reading > div,
  .parent-map-reality-options,
  .parent-map-faq > div { grid-template-columns: 1fr; }
  .parent-map-chart,
  .parent-map-blind,
  .parent-map-family { padding: 38px !important; }
  .parent-map-save-share,
  .parent-map-feedback,
  .parent-map-product-step { grid-template-columns: 1fr; }
  .parent-map-save-share > div:last-child { justify-items: start; }
}

@media (max-width: 560px) {
  .parent-map-stage,
  .parent-map-question-stage,
  .parent-map-result > section,
  .parent-map-about,
  .parent-map-faq { width: min(100% - 24px, 520px); }
  .parent-map-stage { min-height: 610px; padding: 52px 0 72px; }
  .parent-map-intro h1,
  .parent-map-center h1,
  .parent-map-result-hero h1 { font-size: 45px; }
  .parent-map-intro { gap: 38px; }
  .parent-map-promise { padding: 25px; border-radius: 24px; }
  .parent-map-question-stage { min-height: auto; padding: 30px 0 70px; }
  .parent-map-question-card { padding: 24px 18px; border-radius: 22px; }
  .parent-map-question-card h1 { margin-bottom: 26px; font-size: 27px; }
  .parent-map-answer-grid { gap: 7px; }
  .parent-map-answer-grid button { text-align: left; padding-inline: 18px; }
  .parent-map-result-hero { padding: 74px 0 60px; }
  .parent-map-section,
  .parent-map-perspective,
  .parent-map-reading,
  .parent-map-save-share,
  .parent-map-feedback,
  .parent-map-family,
  .parent-map-product-step { padding-block: 74px; }
  .parent-map-chart,
  .parent-map-blind,
  .parent-map-feedback,
  .parent-map-family { padding: 27px !important; border-radius: 24px; }
  .parent-map-feedback-button { width: 100%; min-width: 0; }
  .parent-map-bars span { align-items: flex-start; flex-direction: column; gap: 3px; }
  .parent-map-section article { padding: 25px; }
  .parent-map-next-step article { padding: 28px; }
  .parent-map-family-controls { display: grid; }
  .parent-map-family-controls button { width: 100%; }
  .parent-map-disclaimer { width: calc(100% - 24px); margin-bottom: 70px; }
}

/* Child feedback questionnaire */

.parent-map-child-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 64px !important;
  border: 1px solid rgba(21, 38, 65, .1);
  border-radius: 34px;
  background: linear-gradient(135deg, #eef8f5, #fff2d7);
}

.parent-map-child-feedback-copy,
.parent-map-child-feedback > div:first-child { max-width: 780px; }
.parent-map-child-feedback h2,
.child-feedback-result h2 { margin: 10px 0 18px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; line-height: 1.08; }
.parent-map-child-feedback p { color: #5e6f80; line-height: 1.72; }
.parent-map-child-feedback-status { grid-column: 1 / -1; margin: 0; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .66); }

.child-invite-panel { grid-column: 1 / -1; width: 100%; }
.child-invite-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.child-invite-actions .button-outline-dark,
.child-handoff-card .button-outline-dark,
.child-feedback-actions .button-outline-dark {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(21, 38, 65, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .56);
  color: var(--ink);
  font-weight: 750;
}
.child-invite-url { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; font-size: 13px; }
.child-invite-url a { overflow-wrap: anywhere; color: #12756d; text-decoration: underline; text-underline-offset: 3px; }

.child-handoff-card { max-width: 760px; padding: 30px; border-radius: 24px; background: #fffdf8; box-shadow: 0 18px 45px rgba(21, 38, 65, .09); }
.child-handoff-card h3 { margin: 7px 0 16px; font-size: 27px; }
.child-handoff-card > strong { display: block; margin: 0 0 16px; color: #183d58; font-size: clamp(48px, 7vw, 72px); letter-spacing: .18em; line-height: 1; }
.child-handoff-card > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.child-feedback-unlock label { display: grid; gap: 8px; margin: 28px 0 18px; color: #586a80; font-weight: 750; }
.child-feedback-unlock input { width: min(240px, 100%); padding: 15px 18px; border: 1px solid rgba(21, 38, 65, .2); border-radius: 14px; background: white; color: var(--ink); font-size: 30px; font-weight: 800; letter-spacing: .2em; }
.child-feedback-error { color: #9c3e35 !important; }

.child-feedback-page { min-height: 100svh; background: radial-gradient(circle at 88% 8%, rgba(41, 182, 171, .11), transparent 26%), #fffaf2; color: var(--ink); }
.child-feedback-header { color: var(--ink); }
.child-feedback-stage,
.child-feedback-question-stage { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.child-feedback-stage { min-height: 680px; padding: clamp(58px, 8vw, 108px) 0; }
.child-feedback-center { display: flex; max-width: 800px; flex-direction: column; align-items: flex-start; justify-content: center; }
.child-feedback-center h1,
.child-feedback-intro h1,
.child-feedback-open h1,
.child-feedback-review h1 { margin: 14px 0 24px; font-size: clamp(44px, 6vw, 76px); letter-spacing: -.06em; line-height: 1; }
.child-feedback-center > p:not(.eyebrow),
.child-feedback-intro p,
.child-feedback-open > p:not(.eyebrow),
.child-feedback-review > p:not(.eyebrow) { max-width: 750px; color: #5f7085; font-size: 17px; line-height: 1.75; }
.child-feedback-center .button { margin-top: 24px; }

.child-feedback-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr); gap: clamp(42px, 7vw, 86px); align-items: center; }
.child-feedback-intro h1 em { color: #bd7040; font-family: Georgia, serif; font-weight: 400; }
.child-feedback-intro .child-feedback-lead { color: #304b66; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.48; }
.child-feedback-intro .button { margin-top: 22px; }
.child-feedback-intro aside { padding: 30px; border-radius: 28px; background: #142e4b; color: white; box-shadow: 0 24px 60px rgba(15, 36, 61, .18); }
.child-feedback-intro aside h2 { margin: 0 0 20px; font-size: 26px; }
.child-feedback-intro aside p { padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(239, 246, 250, .78); font-size: 14px; }
.child-feedback-intro aside button { margin-top: 12px; border: 0; background: transparent; color: #f6ce80; font-weight: 750; }

.child-feedback-question-stage { min-height: 720px; padding: 46px 0 82px; }
.child-feedback-question-card { max-width: 900px; margin-inline: auto; padding: clamp(30px, 5vw, 56px); border: 1px solid rgba(21, 38, 65, .09); border-radius: 34px; background: rgba(255, 255, 255, .9); box-shadow: 0 26px 70px rgba(27, 44, 68, .09); }
.child-feedback-question-card > p { margin: 0 0 15px; color: #20847b; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.child-feedback-question-card h1 { min-height: 3.7em; margin: 0 0 36px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; line-height: 1.18; }
.child-feedback-skip { display: block; margin-top: 20px; border: 0; background: transparent; color: #63758a; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.child-feedback-open,
.child-feedback-review { max-width: 860px; }
.child-feedback-open > label { display: grid; gap: 10px; margin-top: 30px; color: #263f5b; font-size: 18px; font-weight: 750; }
.child-feedback-open textarea { min-height: 150px; resize: vertical; padding: 17px; border: 1px solid rgba(21, 38, 65, .15); border-radius: 17px; background: white; color: var(--ink); font: inherit; font-weight: 500; line-height: 1.55; }
.child-feedback-open .child-feedback-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; color: #52677b; font-size: 14px; }
.child-feedback-consent input { width: 20px; height: 20px; accent-color: #218b82; }
.child-feedback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.child-feedback-review aside { display: grid; gap: 8px; margin: 28px 0; padding: 23px; border-radius: 18px; background: #eaf7f3; }
.child-feedback-review aside span { color: #526b67; line-height: 1.6; }
.child-feedback-sharing-summary { padding: 23px; border-radius: 18px; background: white; }
.child-feedback-sharing-summary h2 { margin: 0 0 15px; font-size: 22px; }
.child-feedback-sharing-summary p { margin: 8px 0; color: #596b80; }

.child-feedback-result { padding: 96px 0; }
.child-feedback-result > header { max-width: 890px; margin-bottom: 54px; }
.child-feedback-result > header > p:last-child { color: #5e7085; font-size: 18px; line-height: 1.75; }
.child-feedback-insufficient,
.child-feedback-context,
.child-feedback-how,
.child-feedback-words { margin: 20px 0; padding: clamp(26px, 4vw, 42px); border-radius: 24px; background: white; }
.child-feedback-result-group { margin: 72px 0; }
.child-feedback-result-group > header { max-width: 790px; margin-bottom: 28px; }
.child-feedback-result-group > header > p:last-child { color: #637389; line-height: 1.72; }
.child-feedback-result-group > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.child-feedback-result-group article { padding: 28px; border: 1px solid rgba(21, 38, 65, .1); border-radius: 22px; background: white; }
.child-feedback-result-group article > span,
.child-feedback-next span { color: #177e75; font-size: 11px; font-weight: 850; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.child-feedback-result-group h3 { margin: 16px 0; font-size: 24px; letter-spacing: -.03em; line-height: 1.16; }
.child-feedback-result-group article p { margin: 0; color: #5c6e82; line-height: 1.72; }
.child-feedback-main { margin: 70px 0 18px; padding: clamp(32px, 5vw, 60px); border-radius: 30px; background: linear-gradient(135deg, #173550, #10243e); color: white; }
.child-feedback-main h3 { margin: 12px 0 22px; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.045em; line-height: 1.08; }
.child-feedback-main > p:last-child { max-width: 900px; color: #d9e5ed; font-size: 18px; line-height: 1.78; }
.child-feedback-next { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.child-feedback-next article { padding: clamp(27px, 4vw, 42px); border-radius: 24px; background: #fff0cf; }
.child-feedback-next article:last-child { background: #e7f6f2; }
.child-feedback-next h3 { margin: 15px 0 0; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 36px); font-weight: 400; line-height: 1.35; }
.child-feedback-next p { color: #4e6763; line-height: 1.72; }
.child-feedback-context p:last-child,
.child-feedback-how p { color: #596d81; line-height: 1.75; }
.child-feedback-words blockquote { margin: 14px 0; padding: 20px; border-left: 4px solid var(--teal); border-radius: 0 15px 15px 0; background: #eef8f5; font-family: Georgia, serif; font-size: 21px; line-height: 1.55; }
.child-feedback-words small { color: #748094; }
.child-feedback-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.child-feedback-result-actions button,
.child-feedback-result-actions a { min-height: 48px; padding: 13px 20px; border: 1px solid rgba(21, 38, 65, .14); border-radius: 999px; background: white; color: var(--ink); font-weight: 750; }
.child-feedback-result-note { max-width: 860px; margin: 52px auto 0; color: #768396; font-size: 12px; line-height: 1.7; text-align: center; }

@media (max-width: 860px) {
  .parent-map-child-feedback { grid-template-columns: 1fr; padding: 38px !important; }
  .child-feedback-stage,
  .child-feedback-question-stage { width: min(100% - 32px, 680px); }
  .child-feedback-intro { grid-template-columns: 1fr; }
  .child-feedback-result-group > div { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .parent-map-child-feedback { padding: 27px !important; border-radius: 24px; }
  .child-invite-actions,
  .child-handoff-card > div,
  .child-feedback-actions { display: grid; }
  .child-invite-actions button,
  .child-handoff-card button,
  .child-feedback-actions button { width: 100%; }
  .child-feedback-stage,
  .child-feedback-question-stage { width: min(100% - 24px, 520px); }
  .child-feedback-stage { min-height: 600px; padding: 48px 0 68px; }
  .child-feedback-center h1,
  .child-feedback-intro h1,
  .child-feedback-open h1,
  .child-feedback-review h1 { font-size: 42px; }
  .child-feedback-question-stage { min-height: auto; padding: 28px 0 66px; }
  .child-feedback-question-card { padding: 24px 18px; border-radius: 22px; }
  .child-feedback-question-card h1 { min-height: 0; margin-bottom: 26px; font-size: 27px; }
  .child-feedback-next { grid-template-columns: 1fr; }
  .child-feedback-result { padding: 68px 0; }
  .child-feedback-main { margin-top: 52px; }
}

.eco-parent-map {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr minmax(280px,.55fr);
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #fff4de, #eaf7f3);
}

.parent-test-entry {
  display: grid;
  width: min(1180px, calc(100% - 64px));
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin: 58px auto;
  padding: clamp(34px,5vw,58px);
  border: 1px solid rgba(21,38,65,.1);
  border-radius: 30px;
  background: linear-gradient(135deg, #fff2d7, #eef8f5);
  color: var(--ink);
}

.parent-test-entry h2,
.library-article-parent-test h2 {
  margin: 10px 0 16px;
  font-size: clamp(31px,3.7vw,48px);
  letter-spacing: -.045em;
  line-height: 1.08;
}

.parent-test-entry p:not(.eyebrow),
.library-article-parent-test > p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #617187;
  line-height: 1.72;
}

.parent-test-entry > div:last-child {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.library-article-parent-test {
  margin-top: 54px;
  padding: clamp(28px,4vw,46px);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff1d3, #e9f6f2);
}

.library-article-parent-test .button {
  margin-top: 26px;
}

@media (max-width: 860px) {
  .eco-parent-map,
  .parent-test-entry {
    grid-template-columns: 1fr;
  }
  .parent-test-entry {
    width: min(100% - 32px, 680px);
  }
  .parent-test-entry > div:last-child {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .parent-test-entry {
    width: calc(100% - 24px);
    margin-block: 36px;
    padding: 26px;
    border-radius: 22px;
  }
}

/* Parent guide */

.parent-guide-page {
  min-height: 100svh;
  background: #fffaf2;
}

.guide-header {
  color: var(--ink);
}

.guide-hero {
  display: grid;
  width: min(1180px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  margin-inline: auto;
  padding: 86px 0 104px;
}

.guide-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 710;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.guide-hero > div > p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: #617086;
  font-size: 17px;
  line-height: 1.75;
}

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

.guide-hero .button-outline-dark {
  border-color: rgba(21, 38, 65, 0.17);
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.guide-hero .button-outline-dark:hover {
  background: white;
  box-shadow: 0 12px 28px rgba(21, 38, 65, 0.08);
}

.guide-hero > aside {
  padding: 34px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 5%, rgba(245, 184, 75, 0.3), transparent 32%),
    #132a47;
  box-shadow: 0 28px 70px rgba(19, 42, 71, 0.2);
  color: white;
}

.guide-hero > aside > span {
  color: #f6c66d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-hero > aside blockquote {
  margin: 18px 0 28px;
  font-family: Georgia, serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
}

.guide-hero > aside p {
  margin: 0;
  color: rgba(232, 240, 250, 0.82);
  font-size: 14px;
}

.guide-layout {
  display: grid;
  width: min(1180px, calc(100% - 64px));
  grid-template-columns: 300px minmax(0, 760px);
  gap: clamp(48px, 7vw, 95px);
  align-items: start;
  justify-content: center;
  margin-inline: auto;
  padding: 105px 0 130px;
  border-top: 1px solid rgba(21, 38, 65, 0.1);
}

.guide-contents {
  position: sticky;
  top: 24px;
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.guide-contents > p {
  margin: 0 0 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guide-contents a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  padding: 7px 0;
  color: #68768a;
  font-size: 13px;
  line-height: 1.35;
}

.guide-contents a:hover {
  color: var(--ink);
}

.guide-contents a span {
  color: #c48624;
  font-weight: 800;
}

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

.guide-reading-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 58px;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: #fff0cf;
}

.guide-reading-note span {
  color: #766444;
  font-size: 13px;
}

.guide-article h2 {
  scroll-margin-top: 24px;
  margin: 82px 0 26px;
  color: #142b49;
  font-size: clamp(35px, 4vw, 50px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.guide-article h2:first-of-type {
  margin-top: 0;
}

.guide-article h3 {
  margin: 46px 0 18px;
  color: #1f4965;
  font-size: 25px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.guide-article > p,
.guide-article > ul,
.guide-article > ol {
  margin: 0 0 21px;
  color: #4f6076;
  font-size: 16px;
  line-height: 1.78;
}

.guide-article ul,
.guide-article ol {
  padding-left: 24px;
}

.guide-article li {
  margin: 7px 0;
  padding-left: 5px;
}

.guide-article > blockquote {
  margin: 31px 0;
  padding: 24px 27px;
  border: 1px solid rgba(32, 104, 111, 0.14);
  border-radius: 20px;
  background: #eaf5f2;
  color: #214c59;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.5;
}

.guide-article > .guide-quote {
  border-color: rgba(121, 108, 224, 0.13);
  background: #f1eefb;
  color: #4a416d;
  font-family: inherit;
  font-size: 17px;
}

.guide-final-action {
  margin-top: 90px;
  padding: 38px;
  border-radius: 28px;
  background: #132a47;
  color: white;
}

.guide-final-action h2 {
  margin: 0;
  color: white;
}

.guide-final-action > p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: rgba(232, 240, 250, 0.7);
}

@media (max-width: 900px) {
  .guide-hero {
    grid-template-columns: 1fr;
    padding: 62px 0 78px;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    padding: 78px 0 100px;
  }

  .guide-contents {
    position: static;
    max-height: 360px;
  }
}

@media (max-width: 600px) {
  .guide-hero,
  .guide-layout {
    width: calc(100% - 36px);
  }

  .guide-hero h1 {
    font-size: clamp(42px, 12vw, 59px);
  }

  .guide-hero > div > p:not(.eyebrow) {
    font-size: 15px;
  }

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

  .guide-hero > aside,
  .guide-final-action {
    padding: 27px 23px;
    border-radius: 24px;
  }

  .guide-article h2 {
    margin-top: 64px;
  }

  .guide-article > p,
  .guide-article > ul,
  .guide-article > ol {
    font-size: 15px;
  }

  .guide-article > blockquote {
    padding: 21px;
    font-size: 18px;
  }

  .experience-home {
    top: 13px;
    right: 66px;
    width: 40px;
    height: 40px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope Variable", "Manrope", "Avenir Next", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  font-family: inherit;
}

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

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

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

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(21, 38, 65, 0.08);
  background: rgba(255, 249, 239, 0.91);
  box-shadow: 0 12px 35px rgba(21, 38, 65, 0.08);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .header-inner {
  min-height: 74px;
  border-bottom-color: transparent;
}

.site-header.is-scrolled .brand-copy span {
  color: #8590a1;
}

.site-header.is-scrolled .desktop-nav a {
  color: #5a687d;
}

.site-header.is-scrolled .desktop-nav a:hover {
  color: var(--ink);
}

.site-header.is-scrolled .mobile-menu summary {
  border-color: rgba(21, 38, 65, 0.12);
  background: rgba(21, 38, 65, 0.05);
}

.site-header.is-scrolled .mobile-menu summary span {
  background: var(--ink);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

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

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.brand-mark img {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 59px;
  max-width: none;
  transform: translateX(-50%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.brand-copy span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover {
  color: white;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffd270 0%, var(--gold) 62%, #eaa82f 100%);
  box-shadow: 0 12px 25px rgba(247, 184, 75, 0.2), inset 0 1px rgba(255, 255, 255, 0.5);
  color: #152641;
  cursor: pointer;
  font-size: 15px;
  font-weight: 780;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 0 16px 30px rgba(247, 184, 75, 0.29), inset 0 1px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

.button-small {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 14px;
  font-size: 12px;
  white-space: nowrap;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  color: white;
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 28%, rgba(45, 182, 171, 0.22), transparent 31%),
    radial-gradient(circle at 10% 70%, rgba(121, 108, 224, 0.14), transparent 34%),
    linear-gradient(135deg, #132745 0%, #0c1b33 52%, #091427 100%);
  color: white;
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.015);
}

.hero-scene-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 36, 0.98) 0%, rgba(8, 21, 40, 0.92) 30%, rgba(8, 21, 40, 0.48) 58%, rgba(8, 21, 40, 0.08) 84%),
    linear-gradient(180deg, rgba(6, 17, 33, 0.45) 0%, transparent 24%, transparent 70%, rgba(6, 17, 33, 0.82) 100%);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.hero-glow-one {
  top: 180px;
  right: 5%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(247, 184, 75, 0.12);
  box-shadow: 0 0 90px rgba(247, 184, 75, 0.08);
}

.hero-glow-two {
  top: 102px;
  right: 12%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(49, 191, 175, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 850px;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 6vw, 100px);
  padding-top: 110px;
  padding-bottom: 70px;
}

.hero-copy {
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 22px;
  color: #0a918b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow.light {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 25px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #dae6f4;
  letter-spacing: 0.065em;
  backdrop-filter: blur(12px);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(234, 241, 250, 0.76);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.release-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 600;
}

.release-note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ce5bd;
  box-shadow: 0 0 0 5px rgba(108, 229, 189, 0.12), 0 0 20px rgba(108, 229, 189, 0.55);
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 560px);
  height: 630px;
  pointer-events: none;
}

.hero-mobile-journey {
  display: none;
}

.project-support-strip {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(21, 38, 65, 0.08);
  background:
    radial-gradient(circle at 21% 0%, rgba(247, 184, 75, 0.12), transparent 30%),
    radial-gradient(circle at 82% 100%, rgba(49, 191, 175, 0.09), transparent 30%),
    #fffdf9;
  box-shadow: 0 18px 42px rgba(16, 32, 59, 0.07);
}

.project-support-inner {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 5vw, 70px);
  padding-top: 16px;
  padding-bottom: 16px;
}

.project-support-copy {
  display: flex;
  align-items: center;
  gap: 21px;
}

.project-support-copy > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--navy);
  box-shadow: 0 12px 26px rgba(16, 32, 59, 0.18);
  color: var(--gold);
  font-size: 18px;
}

.project-support-copy div {
  display: flex;
  flex-direction: column;
}

.project-support-copy small {
  color: #69778b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.project-support-copy strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 740;
  letter-spacing: -0.025em;
}

.project-support-logo {
  display: grid;
  width: 176px;
  height: 92px;
  flex: 0 0 176px;
  place-items: center;
  border-radius: 18px;
  transition: transform 180ms ease, filter 180ms ease;
}

.project-support-logo:hover,
.project-support-logo:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.project-support-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 18px rgba(16, 54, 82, 0.12));
}

.hero-poster {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: 16px;
  width: 430px;
  height: 545px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  background: #f8e8bd;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.38);
  transform: rotate(2.2deg);
}

.hero-poster::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 71%;
  transform: scale(1.02);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 15, 31, 0.04) 45%, rgba(4, 15, 31, 0.32) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 30%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.orbit-one {
  top: 9px;
  right: -28px;
  width: 560px;
  height: 560px;
  box-shadow: inset 0 0 80px rgba(49, 191, 175, 0.035);
}

.orbit-two {
  right: 38px;
  bottom: -2px;
  width: 430px;
  height: 430px;
  border-color: rgba(247, 184, 75, 0.17);
  box-shadow: 0 0 80px rgba(247, 184, 75, 0.045);
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 31, 56, 0.78);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(18px);
}

.floating-card-top {
  top: 100px;
  left: -30px;
  gap: 15px;
  padding: 13px 19px 13px 13px;
  border-radius: 17px;
}

.floating-card-top span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.floating-card-top strong {
  font-size: 13px;
}

.lesson-orbit {
  position: absolute;
  z-index: 4;
  right: -19px;
  bottom: 10px;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: rgba(7, 20, 39, 0.58);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.lesson-orbit::after {
  position: absolute;
  inset: 31px;
  border: 1px solid rgba(247, 184, 75, 0.55);
  border-radius: 50%;
  content: "";
}

.lesson-orbit-logo {
  position: absolute;
  z-index: 1;
  inset: 31px;
  overflow: hidden;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 18px rgba(247, 184, 75, 0.28);
}

.lesson-orbit-logo img {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 49px;
  max-width: none;
  transform: translateX(-50%);
}

.lesson-orbit .lesson-orbit-dot {
  --angle: calc(var(--i) * 40deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(247, 184, 75, 0.7);
  transform: rotate(var(--angle)) translateY(-43px);
  transform-origin: center;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-style: normal;
}

.opening-thought {
  padding: 130px 0 120px;
  background:
    radial-gradient(circle at 10% 20%, rgba(247, 184, 75, 0.12), transparent 28%),
    var(--cream);
}

.opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 0.77fr);
  gap: clamp(70px, 10vw, 150px);
}

.opening-thought h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(39px, 4.3vw, 58px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.09;
}

.thought-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.thought-stack article {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(21, 38, 65, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 28px rgba(21, 38, 65, 0.055);
}

.thought-stack article span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  background: rgba(49, 191, 175, 0.12);
  color: #0b8c84;
  font-size: 12px;
  font-weight: 850;
}

.thought-stack article:nth-child(2) span {
  background: rgba(247, 184, 75, 0.17);
  color: #a86a00;
}

.thought-stack article:nth-child(3) span {
  background: rgba(255, 114, 94, 0.12);
  color: #d84f3c;
}

.thought-stack p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.64;
}

.principle-bar {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin-top: 70px;
  padding: 20px 32px;
  border-radius: 24px;
  background: var(--navy);
  box-shadow: var(--shadow);
  color: white;
  text-align: center;
}

.principle-bar span {
  color: var(--gold);
}

.principle-bar strong {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 720;
}

.section-heading h2,
.first-lesson-copy h2,
.partner-copy h2,
.author-copy h2,
.final-copy h2 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 58px);
  font-weight: 730;
  letter-spacing: -0.048em;
  line-height: 1.08;
}

.section-heading > p:not(.eyebrow) {
  max-width: 710px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.section-heading.centered {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered > p:not(.eyebrow) {
  margin-inline: auto;
}

.section-heading-light {
  color: white;
}

.section-heading-light > p:not(.eyebrow) {
  color: rgba(236, 244, 252, 0.68);
}

.button-dark {
  border-color: rgba(21, 38, 65, 0.12);
  background: var(--navy);
  box-shadow: 0 15px 32px rgba(7, 20, 39, 0.18);
  color: white;
}

.button-dark:hover {
  box-shadow: 0 20px 38px rgba(7, 20, 39, 0.24);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.method-section {
  position: relative;
  overflow: hidden;
  padding: 130px 0 120px;
  background:
    radial-gradient(circle at 84% 18%, rgba(49, 191, 175, 0.15), transparent 24%),
    linear-gradient(140deg, #102442 0%, #09172c 56%, #071222 100%);
  color: white;
}

.method-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 0.7px, transparent 0.8px);
  background-size: 25px 25px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.method-content {
  position: relative;
  z-index: 2;
}

.method-section .section-heading {
  max-width: 670px;
}

.method-intro {
  display: grid;
  max-width: 980px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 48px;
}

.method-intro p {
  margin: 0;
  color: rgba(229, 238, 249, 0.68);
  font-size: 15px;
  line-height: 1.75;
}

.method-intro p:last-child {
  color: rgba(255, 255, 255, 0.88);
}

.method-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 78px;
}

.method-path::before {
  position: absolute;
  top: 34px;
  right: 4%;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 184, 75, 0.2), var(--gold), rgba(49, 191, 175, 0.35));
  content: "";
}

.method-step {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.method-step span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(247, 184, 75, 0.55);
  border-radius: 50%;
  background: #10213c;
  box-shadow: 0 0 0 8px rgba(247, 184, 75, 0.045), 0 0 30px rgba(247, 184, 75, 0.12);
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.method-step strong {
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.method-step i {
  position: absolute;
  top: 25px;
  right: -12px;
  color: rgba(255, 255, 255, 0.3);
  font-style: normal;
}

.method-halo {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.method-halo-one {
  top: -260px;
  right: -180px;
  width: 690px;
  height: 690px;
}

.method-halo-two {
  top: -120px;
  right: -40px;
  width: 430px;
  height: 430px;
  border-color: rgba(247, 184, 75, 0.08);
}

.lessons-section {
  padding: 130px 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(49, 191, 175, 0.09), transparent 24%),
    #fffdf8;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 64px;
}

.lesson-card {
  --lesson: var(--gold);
  --lesson-bg: rgba(247, 184, 75, 0.1);
  position: relative;
  min-height: 315px;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 65, 0.08);
  border-radius: 27px;
  background:
    radial-gradient(circle at 95% 8%, var(--lesson-bg), transparent 33%),
    white;
  box-shadow: 0 12px 35px rgba(21, 38, 65, 0.055);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.lesson-card:hover {
  box-shadow: 0 22px 50px rgba(21, 38, 65, 0.09);
  transform: translateY(-4px);
}

.lesson-card-toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 27px 28px 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: default;
  text-align: left;
}

.lesson-card-toggle > b {
  display: none;
}

.lesson-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
}

.lesson-number {
  color: var(--lesson);
  font-size: 13px;
  font-weight: 900;
}

.lesson-card-top i {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 15px;
  background: var(--lesson-bg);
  color: var(--lesson);
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
}

.lesson-card h3 {
  display: flex;
  min-height: 83px;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 730;
  letter-spacing: -0.024em;
  line-height: 1.27;
}

.lesson-card h3 small {
  margin-bottom: 8px;
  color: #69778b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lesson-card > p {
  margin: 0;
  padding: 0 28px 28px;
  color: #5a6980;
  font-size: 14px;
  line-height: 1.66;
}

.lesson-teal { --lesson: #0a9c94; --lesson-bg: rgba(49, 191, 175, 0.12); }
.lesson-coral { --lesson: #ef654f; --lesson-bg: rgba(255, 114, 94, 0.11); }
.lesson-violet { --lesson: #7060d4; --lesson-bg: rgba(121, 108, 224, 0.11); }
.lesson-rose { --lesson: #d9567a; --lesson-bg: rgba(226, 92, 128, 0.1); }
.lesson-blue { --lesson: #3584c5; --lesson-bg: rgba(53, 132, 197, 0.1); }
.lesson-amber { --lesson: #d98d1c; --lesson-bg: rgba(231, 151, 29, 0.12); }
.lesson-indigo { --lesson: #4955a8; --lesson-bg: rgba(73, 85, 168, 0.11); }
.lesson-green { --lesson: #4c9b60; --lesson-bg: rgba(76, 155, 96, 0.11); }

.lesson-conclusion {
  display: grid;
  max-width: 980px;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  align-items: center;
  margin: 42px auto 0;
  padding: 29px 36px;
  border: 1px solid rgba(247, 184, 75, 0.24);
  border-radius: 25px;
  background: #fff8e9;
}

.lesson-conclusion-logo {
  position: relative;
  display: grid;
  width: 66px;
  height: 66px;
  justify-self: center;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 24px rgba(21, 38, 65, 0.16);
}

.lesson-conclusion-logo img {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  object-position: center;
  transform: none;
}

.lesson-conclusion p {
  margin: 0;
  color: #3e4e67;
  font-size: 17px;
  font-weight: 660;
  line-height: 1.6;
}

.first-lesson-section {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(247, 184, 75, 0.18), transparent 28%),
    linear-gradient(135deg, #fff5df 0%, #fffaf2 54%, #f2fbf9 100%);
}

.first-lesson-grid {
  display: grid;
  grid-template-columns: minmax(480px, 0.9fr) minmax(0, 0.92fr);
  gap: clamp(70px, 8vw, 120px);
  align-items: center;
}

.cards-stage {
  position: relative;
  min-height: 720px;
}

.cards-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 184, 75, 0.32), transparent 66%);
  filter: blur(7px);
  transform: translate(-50%, -50%);
}

.product-card {
  position: absolute;
  top: 76px;
  left: 50%;
  width: 240px;
  border-radius: 14px;
  box-shadow: 0 34px 62px rgba(63, 38, 16, 0.23);
  transform-origin: center bottom;
}

.product-card-one {
  z-index: 1;
  transform: translateX(-91%) rotate(-17deg);
}

.product-card-two {
  z-index: 2;
  transform: translateX(-61%) rotate(-6deg) translateY(-20px);
}

.product-card-three {
  z-index: 3;
  transform: translateX(-36%) rotate(6deg) translateY(-10px);
}

.product-card-four {
  z-index: 4;
  transform: translateX(-4%) rotate(17deg) translateY(18px);
}

.cards-caption {
  position: absolute;
  z-index: 5;
  bottom: 28px;
  left: 50%;
  display: flex;
  min-width: 240px;
  flex-direction: column;
  padding: 17px 21px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 17px 40px rgba(21, 38, 65, 0.13);
  backdrop-filter: blur(15px);
  transform: translateX(-50%);
  text-align: center;
}

.cards-caption strong {
  font-size: 22px;
}

.cards-caption span {
  color: #657188;
  font-size: 12px;
  font-weight: 650;
}

.first-lesson-copy .lead {
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.belief-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.belief-list p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid rgba(21, 38, 65, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #394961;
  font-size: 14px;
  font-weight: 650;
}

.belief-list span {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 9px;
  background: #fff0cd;
  color: #9b6907;
  font-size: 9px;
  font-weight: 850;
}

.question-panel {
  margin-top: 26px;
  padding: 25px 26px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: white;
  box-shadow: 0 12px 32px rgba(21, 38, 65, 0.07);
}

.question-panel h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.question-panel ul {
  display: grid;
  gap: 5px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.question-panel li {
  position: relative;
  padding-left: 18px;
  color: #596880;
  font-size: 13px;
}

.question-panel li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.gentle-note {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 14px;
  margin-top: 17px;
  padding: 19px;
  border: 1px solid rgba(49, 191, 175, 0.18);
  border-radius: 17px;
  background: rgba(49, 191, 175, 0.08);
}

.gentle-note > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}

.gentle-note p {
  margin: 0;
  color: #435e67;
  font-size: 12px;
  line-height: 1.7;
}

.lesson-action {
  margin-top: 27px;
}

.lesson-action > p {
  margin: 11px 0 0;
  color: #778398;
  font-size: 11px;
  font-weight: 620;
}

.ecosystem-section {
  padding: 135px 0;
  background: #fffdf8;
}

.ecosystem-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.76fr);
  gap: 90px;
  align-items: end;
}

.ecosystem-heading > div:last-child p {
  margin: 0;
  color: #627087;
  font-size: 15px;
  line-height: 1.72;
}

.ecosystem-heading > div:last-child p + p {
  margin-top: 13px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  margin-top: 62px;
}

.eco-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 65, 0.08);
  border-radius: 30px;
  box-shadow: 0 14px 42px rgba(21, 38, 65, 0.065);
}

.eco-game {
  display: grid;
  grid-column: span 7;
  grid-template-columns: minmax(0, 1.12fr) minmax(210px, 0.88fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 88% 14%, rgba(49, 191, 175, 0.22), transparent 32%),
    #e9f8f6;
}

.eco-music {
  display: flex;
  grid-column: span 5;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 80% 10%, rgba(247, 184, 75, 0.2), transparent 34%),
    linear-gradient(165deg, #fffaf0 0%, #f9efd8 100%);
}

.eco-course {
  display: flex;
  grid-column: span 5;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 152, 125, 0.23), transparent 36%),
    #fff0e9;
}

.eco-books {
  grid-column: span 7;
  background:
    radial-gradient(circle at 88% 18%, rgba(247, 184, 75, 0.19), transparent 35%),
    var(--navy);
  color: white;
}

.eco-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 38px;
}

.eco-index {
  display: block;
  margin-bottom: 17px;
  color: #0b938b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eco-card h3 {
  margin: 0;
  font-size: clamp(27px, 2.5vw, 37px);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.13;
}

.eco-card p {
  margin: 17px 0 0;
  color: #526178;
  font-size: 14px;
  line-height: 1.68;
}

.eco-card p strong {
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.text-link > span {
  transition: transform 180ms ease;
}

.text-link:hover > span {
  transform: translateX(4px);
}

.ecosystem-cta {
  min-height: 43px;
  padding: 0 18px;
  border: 1px solid rgba(14, 39, 65, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(21, 38, 65, 0.08);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.ecosystem-cta:hover,
.ecosystem-cta:focus-visible {
  border-color: rgba(11, 147, 139, 0.3);
  background: white;
  box-shadow: 0 14px 32px rgba(21, 38, 65, 0.13);
  color: #087b75;
  transform: translateY(-2px);
}

.eco-books .ecosystem-cta {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.eco-books .ecosystem-cta:hover,
.eco-books .ecosystem-cta:focus-visible {
  border-color: rgba(255, 208, 109, 0.56);
  background: rgba(255, 255, 255, 0.16);
  color: #ffd06d;
}

.mini-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  color: #0a817a;
  font-size: 12px;
}

.mini-flow i {
  color: #8794a5;
  font-style: normal;
}

.eco-game .eco-copy {
  max-width: none;
  padding-right: 12px;
}

.eco-game-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
}

.eco-game-art img {
  position: absolute;
  top: 50%;
  width: 66%;
  max-width: 215px;
  border-radius: 10px;
  box-shadow: 0 24px 50px rgba(18, 63, 63, 0.22);
}

.eco-game-art img:first-child {
  left: 3%;
  transform: translateY(-56%) rotate(-9deg);
}

.eco-game-art img:last-child {
  right: 4%;
  transform: translateY(-44%) rotate(8deg);
}

.record-wrap {
  z-index: 1;
  display: flex;
  height: 245px;
  align-items: center;
  justify-content: center;
  margin-top: 23px;
}

.record-wrap img {
  width: min(225px, calc(100% - 56px));
  border: 1px solid rgba(173, 117, 22, 0.22);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(117, 78, 19, 0.2);
}

.eco-music .eco-copy,
.eco-course .eco-copy {
  padding-top: 12px;
}

.course-visual {
  display: flex;
  min-height: 188px;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.course-visual span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 114, 94, 0.2);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 28px rgba(141, 72, 55, 0.09);
  color: #c45b43;
  font-size: 12px;
  font-weight: 750;
}

.course-visual i {
  color: #d79c8c;
  font-style: normal;
}

.eco-books .eco-copy {
  max-width: 58%;
}

.eco-books .eco-index {
  color: var(--gold);
}

.eco-books p {
  color: rgba(235, 241, 249, 0.64);
}

.eco-books p strong {
  color: white;
}

.eco-books ul {
  display: grid;
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.eco-books li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.eco-books li::before {
  margin-right: 8px;
  color: var(--gold);
  content: "•";
}

.eco-books .text-link {
  color: var(--gold-soft);
}

.book-showcase {
  position: absolute;
  right: 1%;
  bottom: 2%;
  width: 42%;
  height: 92%;
  perspective: 1400px;
  isolation: isolate;
}

.cover-book {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: 188px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px 14px 14px 4px;
  background: #0b1930;
  box-shadow:
    -14px 24px 52px rgba(0, 0, 0, 0.36),
    0 2px 0 rgba(255, 255, 255, 0.13) inset;
  transform-origin: left center;
  transition: filter 260ms ease, transform 260ms ease;
}

.cover-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-book-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 12, 27, 0.34) 0%, rgba(4, 12, 27, 0.02) 35%, rgba(4, 12, 27, 0.02) 68%, rgba(4, 12, 27, 0.45) 100%),
    linear-gradient(90deg, rgba(2, 9, 21, 0.29) 0%, transparent 13%, transparent 100%);
  pointer-events: none;
}

.cover-book-spine {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(255, 255, 255, 0.12) 64%, rgba(0, 0, 0, 0.16));
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.2);
}

.cover-book-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 19px 16px 17px 25px;
  color: white;
  text-align: left;
}

.cover-book-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 7px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cover-book-copy strong {
  margin-top: 23px;
  font-size: 21px;
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.cover-book-copy i {
  max-width: 135px;
  margin-top: auto;
  color: #ffe1a4;
  font-size: 9px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.cover-book-1 {
  z-index: 5;
  transform: translateX(-10%) rotateY(-11deg) rotateZ(7deg);
}

.cover-book-2 {
  z-index: 1;
  bottom: 13%;
  transform: translateX(-111%) rotateY(-17deg) rotateZ(-11deg);
}

.cover-book-3 {
  z-index: 2;
  bottom: 16%;
  transform: translateX(-88%) rotateY(-15deg) rotateZ(-6deg);
}

.cover-book-4 {
  z-index: 3;
  bottom: 14%;
  transform: translateX(-65%) rotateY(-13deg) rotateZ(-1deg);
}

.cover-book-5 {
  z-index: 4;
  bottom: 10%;
  transform: translateX(-38%) rotateY(-12deg) rotateZ(4deg);
}

.cover-book:hover {
  z-index: 12;
  filter: saturate(1.08) brightness(1.04);
}

.cover-book-1:hover {
  transform: translateX(-13%) translateY(-12px) rotateY(-7deg) rotateZ(4deg) scale(1.03);
}

.cover-book-2:hover {
  transform: translateX(-111%) translateY(-12px) rotateY(-10deg) rotateZ(-7deg) scale(1.03);
}

.cover-book-3:hover {
  transform: translateX(-88%) translateY(-12px) rotateY(-9deg) rotateZ(-3deg) scale(1.03);
}

.cover-book-4:hover {
  transform: translateX(-65%) translateY(-12px) rotateY(-8deg) rotateZ(0deg) scale(1.03);
}

.cover-book-5:hover {
  transform: translateX(-38%) translateY(-12px) rotateY(-8deg) rotateZ(2deg) scale(1.03);
}

.connection-section {
  position: relative;
  overflow: hidden;
  padding: 125px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 191, 175, 0.16), transparent 31%),
    var(--navy-deep);
  color: white;
}

.connection-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 67px;
}

.connection-path::before {
  position: absolute;
  top: 35px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral), var(--violet));
  content: "";
}

.connection-path article {
  position: relative;
  z-index: 1;
  text-align: center;
}

.connection-path article > span {
  display: grid;
  width: 70px;
  height: 70px;
  margin-inline: auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #0d1e38;
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.025), 0 0 30px rgba(49, 191, 175, 0.1);
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.connection-path h3 {
  margin: 22px 0 0;
  font-size: 22px;
  font-weight: 720;
}

.connection-path p {
  max-width: 240px;
  margin: 11px auto 0;
  color: rgba(226, 236, 248, 0.58);
  font-size: 13px;
  line-height: 1.65;
}

.connection-summary {
  max-width: 830px;
  margin: 62px auto 0;
  padding-top: 33px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 580;
  line-height: 1.7;
  text-align: center;
}

.education-section {
  position: relative;
  overflow: hidden;
  padding: 132px 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(49, 191, 175, 0.13), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(247, 184, 75, 0.12), transparent 31%),
    #f6f7f2;
}

.education-panel {
  position: relative;
  display: grid;
  min-height: 790px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.03fr) minmax(470px, 0.84fr);
  gap: clamp(48px, 6vw, 86px);
  align-items: center;
  padding: 72px 68px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42px;
  background:
    radial-gradient(circle at 84% 22%, rgba(38, 179, 170, 0.22), transparent 30%),
    radial-gradient(circle at 88% 96%, rgba(247, 184, 75, 0.17), transparent 31%),
    linear-gradient(142deg, #132d4e 0%, #0b1e38 54%, #07172c 100%);
  box-shadow:
    0 42px 96px rgba(10, 30, 54, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.08);
  color: white;
}

.education-panel::before {
  position: absolute;
  top: -320px;
  right: -240px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 92px rgba(255, 255, 255, 0.018),
    0 0 0 184px rgba(247, 184, 75, 0.016);
  content: "";
  pointer-events: none;
}

.education-copy,
.education-visual {
  position: relative;
  z-index: 2;
}

.education-copy h2 {
  max-width: 670px;
  margin: 20px 0 0;
  font-size: clamp(40px, 4.05vw, 58px);
  font-weight: 730;
  letter-spacing: -0.052em;
  line-height: 1.07;
}

.education-copy h2 em {
  color: var(--gold);
  font-style: normal;
}

.education-lead {
  max-width: 690px;
  margin: 27px 0 0;
  color: rgba(229, 238, 248, 0.75);
  font-size: 15px;
  line-height: 1.78;
}

.education-promise {
  max-width: 680px;
  margin-top: 27px;
  padding: 19px 22px;
  border: 1px solid rgba(49, 191, 175, 0.25);
  border-left: 3px solid var(--teal);
  border-radius: 0 17px 17px 0;
  background: rgba(49, 191, 175, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 660;
  line-height: 1.58;
}

.education-points {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.education-points article {
  display: grid;
  max-width: 680px;
  grid-template-columns: 43px 1fr;
  gap: 16px;
  align-items: start;
}

.education-points article > span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(247, 184, 75, 0.27);
  border-radius: 14px;
  background: rgba(247, 184, 75, 0.08);
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.education-points strong {
  display: block;
  color: white;
  font-size: 14px;
  font-weight: 760;
}

.education-points p {
  margin: 3px 0 0;
  color: rgba(220, 231, 244, 0.62);
  font-size: 12px;
  line-height: 1.62;
}

.education-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  margin-top: 32px;
}

.education-actions .button {
  min-height: 54px;
  font-size: 13px;
}

.education-secondary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 730;
  transition: color 180ms ease, transform 180ms ease;
}

.education-secondary-link:hover {
  color: white;
  transform: translateX(3px);
}

.education-visual {
  min-height: 655px;
}

.education-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.education-orbit-one {
  top: 2%;
  right: -20%;
  width: 560px;
  height: 560px;
}

.education-orbit-two {
  top: 13%;
  right: -2%;
  width: 390px;
  height: 390px;
  border-color: rgba(247, 184, 75, 0.12);
}

.education-library {
  position: absolute;
  top: 62px;
  right: -24px;
  left: -14px;
  height: 490px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.education-library::after {
  position: absolute;
  right: 2%;
  bottom: 0;
  left: 2%;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.44), transparent 68%);
  filter: blur(9px);
  content: "";
}

.education-book {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  width: 230px;
  aspect-ratio: 1055 / 1491;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px 16px 16px 5px;
  background: #071a31;
  box-shadow:
    -13px 29px 58px rgba(0, 0, 0, 0.38),
    0 2px 0 rgba(255, 255, 255, 0.12) inset;
  transform-origin: left center;
  transition: filter 240ms ease, transform 240ms ease;
}

.education-book::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.18), transparent 17%, transparent 74%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, transparent 62%, rgba(2, 10, 23, 0.16));
  content: "";
  pointer-events: none;
}

.education-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.education-book > span {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(255, 255, 255, 0.11), rgba(0, 0, 0, 0.2));
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.24);
}

.education-book-teacher {
  z-index: 1;
  top: 74px;
  transform: translateX(-105%) rotateY(-16deg) rotateZ(-10deg) scale(0.88);
}

.education-book-workbook {
  z-index: 2;
  top: 58px;
  transform: translateX(4%) rotateY(-10deg) rotateZ(10deg) scale(0.92);
}

.education-book-main {
  z-index: 3;
  top: 12px;
  width: 250px;
  transform: translateX(-50%) rotateY(-7deg) rotateZ(-1deg);
}

.education-library:hover .education-book-main {
  filter: saturate(1.07) brightness(1.04);
  transform: translateX(-50%) translateY(-8px) rotateY(-4deg) rotateZ(0deg);
}

.education-metrics {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 7px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 21px;
  background: rgba(8, 24, 45, 0.76);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.education-metrics > div {
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: center;
  padding: 16px 14px;
  text-align: center;
}

.education-metrics > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.education-metrics strong {
  color: var(--gold);
  font-size: 26px;
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1;
}

.education-metrics span {
  margin-top: 7px;
  color: rgba(226, 236, 248, 0.62);
  font-size: 9px;
  font-weight: 670;
  line-height: 1.35;
}

.education-pilot-note {
  position: absolute;
  z-index: 7;
  top: 8px;
  right: -5px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 17px 42px rgba(0, 0, 0, 0.22);
  color: var(--ink);
  transform: rotate(1.5deg);
}

.education-pilot-note > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #fff0cc;
  color: #a97000;
  font-size: 15px;
}

.education-pilot-note div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.education-pilot-note small {
  color: #7a8799;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.education-pilot-note strong {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 780;
}

.partner-section {
  overflow: hidden;
  padding: 135px 0;
  background:
    radial-gradient(circle at 86% 50%, rgba(247, 184, 75, 0.17), transparent 28%),
    radial-gradient(circle at 72% 67%, rgba(46, 123, 184, 0.08), transparent 30%),
    #fdfbf5;
}

.map-support-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 365px);
  gap: clamp(44px, 7vw, 95px);
  align-items: center;
  margin-bottom: 112px;
  padding: 54px 58px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 24%, rgba(49, 191, 175, 0.2), transparent 28%),
    radial-gradient(circle at 18% 115%, rgba(247, 184, 75, 0.17), transparent 38%),
    linear-gradient(135deg, #122a4a 0%, #0a1b33 62%, #08172c 100%);
  box-shadow: 0 34px 80px rgba(11, 28, 52, 0.2);
  color: white;
}

.map-support-panel::before,
.map-support-panel::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.map-support-panel::before {
  top: -240px;
  right: -95px;
  width: 500px;
  height: 500px;
}

.map-support-panel::after {
  top: -130px;
  right: 15px;
  width: 280px;
  height: 280px;
  border-color: rgba(247, 184, 75, 0.1);
}

.map-support-copy,
.map-support-logo {
  position: relative;
  z-index: 1;
}

.map-support-copy .eyebrow {
  margin-bottom: 18px;
}

.map-support-copy h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(35px, 3.5vw, 52px);
  font-weight: 730;
  letter-spacing: -0.043em;
  line-height: 1.1;
}

.map-support-copy > p:last-child {
  margin: 20px 0 0;
  color: rgba(228, 237, 248, 0.67);
  font-size: 15px;
  font-weight: 610;
}

.map-support-logo {
  display: grid;
  min-height: 225px;
  place-items: center;
  padding: 12px;
  border-radius: 24px;
  transition: transform 180ms ease, background 180ms ease;
}

.map-support-logo:hover,
.map-support-logo:focus-visible {
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-3px);
}

.map-support-logo img {
  width: min(100%, 340px);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.28));
}

.partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.72fr);
  gap: 100px;
  align-items: center;
}

.partner-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px 0 0;
  color: #58677e;
  font-size: 16px;
  line-height: 1.75;
}

.partner-copy .button {
  margin-top: 30px;
}

.partner-visual {
  position: relative;
  min-height: 600px;
}

.partner-poster-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.partner-poster-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(247, 184, 75, 0.28), rgba(74, 138, 194, 0.09) 46%, transparent 70%);
  filter: blur(7px);
  transform: translate(-50%, -50%);
}

.partner-lion-peek {
  position: absolute;
  z-index: 3;
  top: 56px;
  right: -112px;
  width: 360px;
  pointer-events: none;
  transform: rotate(2deg);
  transform-origin: 50% 70%;
  transition: transform 300ms ease;
}

.partner-lion-peek img {
  width: 100%;
  filter: drop-shadow(0 26px 34px rgba(82, 48, 8, 0.2));
}

.partner-poster {
  position: relative;
  z-index: 2;
  width: min(390px, 86%);
  border: 1px solid rgba(18, 49, 83, 0.1);
  border-radius: 24px;
  box-shadow:
    0 38px 80px rgba(21, 55, 85, 0.22),
    0 8px 24px rgba(21, 55, 85, 0.12);
  transform: rotate(-1.5deg);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.partner-poster-visual:hover .partner-poster {
  box-shadow:
    0 44px 90px rgba(21, 55, 85, 0.25),
    0 10px 28px rgba(21, 55, 85, 0.14);
  transform: translateY(-6px) rotate(-0.5deg);
}

.partner-poster-visual:hover .partner-lion-peek {
  transform: translate(10px, -7px) rotate(4deg);
}

.package-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 184, 75, 0.2), rgba(74, 165, 99, 0.11) 45%, transparent 68%);
  transform: translate(-50%, -50%);
}

.package-card {
  position: absolute;
  border: 1px solid rgba(22, 54, 41, 0.11);
  box-shadow: 0 35px 70px rgba(31, 73, 55, 0.18);
}

.package-card-back {
  top: 118px;
  right: 10px;
  display: flex;
  width: 250px;
  height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-radius: 29px;
  background: #1f7563;
  color: white;
  transform: rotate(10deg);
}

.package-card-back span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.package-card-back strong {
  font-size: 24px;
}

.package-card-main {
  top: 55px;
  left: 5%;
  width: 335px;
  height: 480px;
  padding: 32px;
  border-radius: 34px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.75), transparent 24%),
    #f6e6b8;
  color: #17362d;
  transform: rotate(-4deg);
}

.package-brand {
  display: flex;
  flex-direction: column;
  padding-bottom: 23px;
  border-bottom: 1px solid rgba(23, 54, 45, 0.16);
}

.package-brand small {
  color: #62736d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.package-brand strong {
  margin-top: 5px;
  font-size: 21px;
}

.package-lesson {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  text-align: center;
}

.package-lesson span {
  color: #a36a00;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package-lesson strong {
  margin-top: 5px;
  font-size: 25px;
  line-height: 1.17;
}

.qr-code {
  display: grid;
  width: 116px;
  height: 116px;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin: 28px auto 0;
  padding: 9px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 22px rgba(23, 54, 45, 0.11);
}

.qr-code i {
  border-radius: 1px;
  background: #eef2ef;
}

.qr-code i.filled {
  background: #153b31;
}

.package-card-main > p {
  max-width: 220px;
  margin: 17px auto 0;
  color: #61716c;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.author-section {
  padding: 135px 0;
  background:
    radial-gradient(circle at 17% 38%, rgba(247, 184, 75, 0.12), transparent 30%),
    linear-gradient(140deg, #10213c, #081426);
  color: white;
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.72fr) minmax(0, 0.92fr);
  gap: clamp(70px, 9vw, 130px);
  align-items: center;
}

.author-photo {
  position: relative;
  min-height: 680px;
}

.author-photo::before {
  position: absolute;
  inset: 48px 10px 10px 40px;
  border: 1px solid rgba(247, 184, 75, 0.23);
  border-radius: 40px;
  content: "";
}

.author-photo img {
  position: absolute;
  z-index: 2;
  inset: 0 46px 38px 0;
  width: calc(100% - 46px);
  height: calc(100% - 38px);
  border-radius: 38px;
  object-fit: cover;
  object-position: center 30%;
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.34);
  filter: contrast(1.02);
}

.author-ring {
  position: absolute;
  z-index: 1;
  top: -20px;
  right: 2px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(49, 191, 175, 0.21);
  border-radius: 50%;
}

.author-sign {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  display: flex;
  min-width: 235px;
  flex-direction: column;
  padding: 19px 23px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(15, 31, 56, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(17px);
}

.author-sign span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-sign strong {
  margin-top: 3px;
  font-size: 20px;
}

.author-copy .author-lead {
  margin: 27px 0 0;
  color: rgba(230, 238, 248, 0.7);
  font-size: 17px;
  line-height: 1.75;
}

.author-copy blockquote {
  position: relative;
  margin: 32px 0;
  padding: 28px 30px 28px 36px;
  border-left: 3px solid var(--gold);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 0.065);
}

.author-copy blockquote > span {
  position: absolute;
  top: 5px;
  left: 17px;
  color: rgba(247, 184, 75, 0.25);
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 1;
}

.author-copy blockquote p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.75;
}

.author-contact {
  display: grid;
  gap: 15px;
  margin-top: 31px;
}

.author-phone {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  gap: 4px;
  color: white;
}

.author-phone > span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-phone strong {
  font-size: 22px;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}

.author-phone:hover strong,
.author-phone:focus-visible strong {
  color: var(--gold);
}

.author-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 750;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.messenger-link:hover,
.messenger-link:focus-visible {
  border-color: rgba(247, 184, 75, 0.45);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.messenger-link:active {
  transform: translateY(1px);
}

.messenger-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 11px;
  color: white;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.telegram .messenger-mark {
  background: linear-gradient(145deg, #38b8ea, #178aca);
}

.whatsapp .messenger-mark {
  background: linear-gradient(145deg, #35d36f, #139947);
}

.max .messenger-mark {
  background: linear-gradient(145deg, #8273ff, #4f43d7);
}

.final-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #071223;
  color: white;
}

.final-image {
  position: absolute;
  inset: 0;
}

.final-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.015);
}

.final-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 25, 0.94) 0%, rgba(4, 12, 25, 0.76) 38%, rgba(4, 12, 25, 0.32) 60%, rgba(4, 12, 25, 0.08) 82%),
    linear-gradient(to top, rgba(4, 12, 25, 0.62), transparent 62%);
}

.final-copy {
  position: relative;
  z-index: 3;
}

.final-copy h2 {
  max-width: 720px;
}

.final-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 23px 0 0;
  color: rgba(238, 244, 251, 0.75);
  font-size: 17px;
  line-height: 1.72;
}

.final-copy > p + p {
  margin-top: 12px !important;
}

.final-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 33px;
}

.final-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 730;
}

.final-orbit {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 7%;
  display: grid;
  width: 320px;
  height: 320px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  place-items: center;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(8, 21, 40, 0.25);
  backdrop-filter: blur(10px);
}

.final-orbit span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(247, 184, 75, 0.27);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 750;
}

.final-orbit span:first-child {
  background: var(--gold);
  color: var(--ink);
}

footer {
  background: #f8f4eb;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  padding-top: 65px;
  padding-bottom: 51px;
}

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

.footer-logo {
  width: 73px;
  height: 73px;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 65, 0.08);
  border-radius: 19px;
  background: white;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.footer-brand > div:last-child {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 20px;
}

.footer-brand span {
  color: #657388;
  font-size: 13px;
}

.footer-brand em {
  margin-top: 3px;
  color: #a8730b;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

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

.footer-top nav a {
  color: #485870;
  font-size: 14px;
  font-weight: 680;
}

.footer-top nav a:hover {
  color: var(--ink);
}

.footer-support {
  display: flex;
  min-height: 118px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  border-top: 1px solid rgba(21, 38, 65, 0.09);
  text-align: center;
}

.footer-support > span:first-child {
  color: #667386;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.footer-map-logo {
  display: grid;
  width: 116px;
  height: 64px;
  place-items: center;
  border-radius: 14px;
  transition: transform 180ms ease, filter 180ms ease;
}

.footer-map-logo:hover,
.footer-map-logo:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.footer-map-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(16, 54, 82, 0.1));
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid rgba(21, 38, 65, 0.1);
  color: #8791a0;
  font-size: 10px;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

.modal-open {
  overflow: hidden;
}

.experience-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 78% 18%, rgba(49, 191, 175, 0.16), transparent 27%),
    rgba(4, 12, 25, 0.84);
  backdrop-filter: blur(16px);
}

.experience-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 0, rgba(49, 191, 175, 0.16), transparent 28%),
    radial-gradient(circle at 0 100%, rgba(247, 184, 75, 0.17), transparent 27%),
    linear-gradient(rgba(21, 38, 65, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 38, 65, 0.025) 1px, transparent 1px),
    var(--cream);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.44);
  color: var(--ink);
  scrollbar-color: rgba(21, 38, 65, 0.25) transparent;
}

.experience-close {
  position: absolute;
  z-index: 8;
  top: 20px;
  right: 20px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(21, 38, 65, 0.11);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(21, 38, 65, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.experience-close:hover {
  background: white;
  transform: translateY(-1px);
}

.home-link {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(21, 38, 65, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.home-link:hover {
  border-color: rgba(21, 38, 65, 0.25);
  background: white;
  transform: translateY(-1px);
}

.home-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.subpage-header-dark .subpage-home-link {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.subpage-header nav .subpage-home-link {
  display: inline-grid;
}

.experience-home {
  position: absolute;
  z-index: 8;
  top: 20px;
  right: auto;
  left: 20px;
  box-shadow: 0 8px 24px rgba(21, 38, 65, 0.08);
}

.experience-progress-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 34px 84px 0 68px;
}

.experience-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(21, 38, 65, 0.09);
}

.experience-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #ffd87c, var(--teal));
  box-shadow: 0 0 16px rgba(247, 184, 75, 0.28);
  transition: width 260ms ease;
}

.experience-progress-wrap small {
  color: #778499;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.experience-screen {
  padding: 48px 68px 54px;
  animation: experience-screen-in 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes experience-screen-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.experience-screen h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.08;
  outline: none;
}

.experience-overline {
  margin: 0 0 13px;
  color: #0a9188;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(247, 184, 75, 0.36);
  border-radius: 10px;
  background: rgba(247, 184, 75, 0.11);
  color: #91600a;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #58677d;
  font-size: 16px;
  line-height: 1.72;
}

.experience-intro {
  max-width: 900px;
}

.experience-intro-cinematic {
  max-width: none;
  padding: 0 0 50px;
}

.experience-intro-scene {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  border-radius: 29px 29px 0 0;
  background: #091a32;
}

.experience-intro-scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transform: translateX(-4%) scale(1.015);
}

.experience-intro-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 34, 0.98) 0%, rgba(7, 21, 40, 0.88) 37%, rgba(8, 24, 44, 0.28) 67%, rgba(8, 24, 44, 0.04) 100%),
    linear-gradient(180deg, rgba(5, 15, 29, 0.2), transparent 48%, rgba(5, 15, 29, 0.48));
}

.experience-intro-scene-copy {
  position: relative;
  z-index: 2;
  width: min(62%, 620px);
  padding: 62px 0 48px 68px;
}

.experience-intro-scene-copy .experience-overline {
  color: #7ce3d8;
}

.experience-intro-scene-copy .experience-badge {
  border-color: rgba(255, 208, 108, 0.43);
  background: rgba(247, 184, 75, 0.13);
  color: #ffd985;
  backdrop-filter: blur(12px);
}

.experience-intro-scene-copy h2 {
  max-width: 620px;
  color: white;
  font-size: clamp(43px, 5.2vw, 61px);
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
}

.experience-world-mark {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 24px;
  display: flex;
  min-width: 108px;
  min-height: 56px;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(8, 24, 44, 0.48);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.17);
  color: white;
  backdrop-filter: blur(16px);
}

.experience-world-mark span {
  color: var(--gold);
  font-size: 22px;
  font-weight: 850;
}

.experience-world-mark small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
  text-transform: uppercase;
}

.experience-intro-body {
  padding: 36px 68px 0;
}

.experience-intro-body > .experience-lead {
  margin-top: 0;
}

.lion-guide {
  display: flex;
  max-width: 720px;
  align-items: center;
  gap: 17px;
  margin: 28px 0;
  padding: 17px 20px;
  border: 1px solid rgba(49, 191, 175, 0.23);
  border-radius: 20px;
  background:
    radial-gradient(circle at 6% 50%, rgba(247, 184, 75, 0.14), transparent 24%),
    rgba(49, 191, 175, 0.08);
  box-shadow: 0 14px 32px rgba(17, 55, 75, 0.055);
}

.lion-guide-portrait {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 19px;
  background: linear-gradient(145deg, #fff3d6, #ffdf99);
  box-shadow: 0 7px 18px rgba(89, 57, 7, 0.1);
}

.lion-guide-portrait img {
  width: 83px;
  max-width: none;
  transform: translate(3px, 10px);
}

.lion-guide p {
  margin: 0;
  color: #3f6464;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.lion-guide.compact {
  margin-top: 23px;
  margin-bottom: 0;
  padding: 14px 17px;
}

.lion-guide.compact .lion-guide-portrait {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border-radius: 14px;
}

.lion-guide.compact .lion-guide-portrait img {
  width: 70px;
  transform: translate(3px, 8px);
}

.experience-mode-grid {
  display: grid;
  max-width: 780px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.experience-mode-card {
  position: relative;
  display: flex;
  min-height: 144px;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 58px 22px 23px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 19px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 191, 175, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.91);
  box-shadow: 0 10px 28px rgba(21, 38, 65, 0.06);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.experience-mode-card:hover {
  border-color: rgba(49, 191, 175, 0.42);
  box-shadow: 0 16px 34px rgba(21, 38, 65, 0.09);
  transform: translateY(-2px);
}

.experience-mode-card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0, rgba(121, 108, 224, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.91);
}

.experience-mode-card:nth-child(2):hover {
  border-color: rgba(121, 108, 224, 0.4);
}

.experience-mode-card > span {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: #eff8f7;
  color: #0b928a;
  font-size: 17px;
}

.experience-mode-card strong {
  font-size: 17px;
  font-weight: 760;
  line-height: 1.35;
}

.experience-mode-card small {
  max-width: 260px;
  margin-top: 9px;
  color: #6b788c;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.55;
}

.experience-privacy {
  margin: 18px 0 0;
  color: #768397;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}

.experience-repeat-note {
  display: inline-flex;
  margin: 16px 0 0;
  padding: 10px 13px;
  border-radius: 11px;
  background: rgba(247, 184, 75, 0.1);
  color: #8b6317;
  font-size: 11px;
  font-weight: 650;
}

.experience-scene {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  margin: 28px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: #0d213c;
  box-shadow:
    0 22px 48px rgba(14, 35, 62, 0.17),
    inset 0 0 0 1px rgba(21, 38, 65, 0.05);
}

.experience-scene::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(5, 17, 32, 0.74) 100%),
    linear-gradient(90deg, rgba(7, 21, 40, 0.15), transparent 35%);
  content: "";
  pointer-events: none;
}

.experience-scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-scene figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 19px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.45;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
}

.experience-scene figcaption span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(8, 24, 44, 0.56);
  color: var(--gold);
  backdrop-filter: blur(10px);
}

.experience-perspective-scene {
  min-height: 275px;
}

.experience-story-scene > img {
  object-position: center 25%;
}

.experience-perspective-scene > img {
  object-position: center 46%;
}

.failure-intro-scene > img,
.rejection-intro-scene > img {
  object-position: center 48%;
}

.failure-story-scene > img,
.rejection-story-scene > img {
  object-position: center 48%;
}

.failure-perspective-scene > img,
.rejection-perspective-scene > img {
  object-position: center 50%;
}

.failure-story-scene,
.failure-perspective-scene,
.rejection-story-scene,
.rejection-perspective-scene {
  min-height: 320px;
}

.experience-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.72fr);
  gap: 30px;
  align-items: start;
  margin-top: 27px;
}

.experience-story-copy p {
  margin: 0;
  color: #516078;
  font-size: 15px;
  line-height: 1.75;
}

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

.experience-chat {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 191, 175, 0.1), transparent 33%),
    white;
  box-shadow: 0 14px 36px rgba(21, 38, 65, 0.08);
}

.experience-chat > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(21, 38, 65, 0.08);
}

.experience-chat > div span {
  font-size: 13px;
  font-weight: 800;
}

.experience-chat > div small {
  color: #8993a2;
  font-size: 9px;
  font-weight: 700;
}

.experience-chat > p {
  margin: 16px 0 9px;
  padding: 13px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #eaf8f6;
  color: #27484a;
  font-size: 13px;
  font-weight: 650;
}

.chat-reactions {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 9px;
  background: #f5f6f8;
  color: #58677c;
  font-size: 11px;
}

.experience-chat > em {
  display: block;
  margin-top: 14px;
  color: #8993a2;
  font-size: 10px;
  font-style: normal;
  text-align: center;
}

.failure-test-card,
.rejection-context-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(247, 184, 75, 0.16), transparent 36%),
    white;
  box-shadow: 0 14px 36px rgba(21, 38, 65, 0.08);
}

.failure-test-card > div,
.rejection-context-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(21, 38, 65, 0.08);
}

.failure-test-card > div span,
.rejection-context-card > div span {
  font-size: 13px;
  font-weight: 800;
}

.failure-test-card > div small,
.rejection-context-card > div small {
  color: #8993a2;
  font-size: 9px;
  font-weight: 700;
}

.failure-test-card > p,
.rejection-context-card > p {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 13px 0 0;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(49, 191, 175, 0.08);
}

.failure-test-card > p:nth-of-type(2),
.rejection-context-card > p:nth-of-type(2) {
  background: rgba(247, 184, 75, 0.12);
}

.failure-test-card > p strong,
.rejection-context-card > p strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: white;
  color: #087f78;
  font-size: 18px;
  font-weight: 850;
}

.failure-test-card > p:nth-of-type(2) strong,
.rejection-context-card > p:nth-of-type(2) strong {
  color: #9c680d;
}

.failure-test-card > p {
  grid-template-columns: minmax(0, 1fr);
}

.failure-test-card > p strong {
  display: block;
  width: auto;
  height: auto;
  background: transparent;
  font-size: 13px;
  line-height: 1.45;
}

.failure-test-card > p span,
.rejection-context-card > p span {
  color: #516078;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.failure-test-card > em,
.rejection-context-card > em {
  display: block;
  margin-top: 14px;
  color: #718094;
  font-size: 10px;
  font-style: normal;
  text-align: center;
}

.rejection-context-card > p {
  grid-template-columns: 72px minmax(0, 1fr);
}

.rejection-context-card > p strong {
  width: 72px;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.experience-family-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(121, 108, 224, 0.18);
  border-radius: 16px;
  background: rgba(121, 108, 224, 0.07);
}

.experience-family-rule strong {
  color: #5b50ad;
  font-size: 12px;
  white-space: nowrap;
}

.experience-family-rule p {
  margin: 0;
  color: #5d6680;
  font-size: 12px;
  line-height: 1.55;
}

.experience-question {
  margin-top: 28px;
  padding: 18px 21px;
  border-left: 3px solid var(--gold);
  border-radius: 0 15px 15px 0;
  background: white;
  color: var(--ink);
  font-size: 18px;
  font-weight: 740;
}

.experience-choices {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.experience-choices button {
  display: grid;
  min-height: 70px;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(49, 191, 175, 0.035), transparent 30%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 23px rgba(21, 38, 65, 0.045);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.experience-choices button:hover {
  border-color: rgba(49, 191, 175, 0.48);
  background: #f4fcfb;
  box-shadow: 0 14px 28px rgba(21, 38, 65, 0.08);
  transform: translateY(-2px);
}

.experience-choices button > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #eef2f5;
  color: #59687c;
  font-size: 12px;
  font-weight: 850;
}

.experience-choices button:nth-child(1) > span {
  background: rgba(49, 191, 175, 0.13);
  color: #087f78;
}

.experience-choices button:nth-child(2) > span {
  background: rgba(247, 184, 75, 0.18);
  color: #9c680d;
}

.experience-choices button:nth-child(3) > span {
  background: rgba(121, 108, 224, 0.13);
  color: #5e52b6;
}

.experience-choices button:nth-child(4) > span {
  background: rgba(255, 114, 94, 0.12);
  color: #c9503e;
}

.experience-choices button strong {
  font-size: 13px;
  font-weight: 680;
  line-height: 1.48;
}

.experience-choices button i {
  color: #0c9189;
  font-size: 17px;
  font-style: normal;
  text-align: center;
}

.experience-hint {
  margin: 13px 0 0;
  color: #7f8a9b;
  font-size: 11px;
}

.experience-forecast {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(247, 184, 75, 0.11);
  color: #8b6114;
  font-size: 11px;
  font-weight: 650;
}

.experience-consequences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 25px;
}

.experience-consequences article {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 19px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 191, 175, 0.1), transparent 40%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(21, 38, 65, 0.05);
}

.experience-consequences article:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0, rgba(247, 184, 75, 0.13), transparent 40%),
    rgba(255, 255, 255, 0.92);
}

.experience-consequences article:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0, rgba(121, 108, 224, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.92);
}

.experience-consequences article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #eff8f7;
  color: #0a9188;
  font-size: 9px;
  font-weight: 850;
}

.experience-consequences article:nth-child(2) > span {
  background: rgba(247, 184, 75, 0.16);
  color: #9b670d;
}

.experience-consequences article:nth-child(3) > span {
  background: rgba(121, 108, 224, 0.12);
  color: #5c50af;
}

.experience-consequences h3 {
  margin: 17px 0 0;
  font-size: 15px;
  line-height: 1.4;
}

.experience-consequences p {
  margin: 12px 0 0;
  color: #5d6b80;
  font-size: 12px;
  line-height: 1.63;
}

.experience-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.text-button {
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #5e6b7f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.experience-perspective blockquote {
  position: relative;
  max-width: 780px;
  margin: 27px 0 0;
  padding: 30px 32px 30px 39px;
  border: 1px solid rgba(49, 191, 175, 0.19);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 191, 175, 0.09), transparent 36%),
    white;
  box-shadow: 0 15px 38px rgba(21, 38, 65, 0.06);
  color: #38565c;
  font-size: 19px;
  font-weight: 590;
  line-height: 1.62;
}

.experience-perspective blockquote::before {
  position: absolute;
  top: 29px;
  left: 18px;
  width: 3px;
  height: 42px;
  border-radius: 3px;
  background: var(--gold);
  content: "";
}

.perspective-map {
  display: flex;
  max-width: 600px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 27px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(21, 38, 65, 0.045);
}

.perspective-map span {
  display: grid;
  min-width: 72px;
  min-height: 40px;
  place-items: center;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.perspective-map strong {
  color: #617087;
  font-size: 11px;
}

.perspective-map i {
  color: #0a9188;
  font-style: normal;
}

.change-perspective-map {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(82px, 0.72fr)
    auto
    minmax(0, 1.45fr);
  gap: 10px;
}

.change-perspective-map > span,
.change-perspective-map > strong {
  min-width: 0;
  padding: 7px 10px;
  line-height: 1.3;
  text-align: center;
}

.change-perspective-map > strong {
  display: grid;
  min-height: 40px;
  place-items: center;
}

.experience-key-thought {
  display: flex;
  max-width: 780px;
  gap: 15px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(247, 184, 75, 0.11);
}

.experience-key-thought span {
  color: #c88712;
}

.experience-key-thought p {
  margin: 0;
  color: #6d572f;
  font-size: 13px;
  font-weight: 630;
  line-height: 1.6;
}

.experience-perspective > .button {
  margin-top: 28px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 28px;
}

.comparison-grid article {
  padding: 23px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 19px;
  background: white;
}

.comparison-grid article > span {
  color: #0a9188;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-grid h3 {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.comparison-grid p {
  margin: 11px 0 0;
  color: #647187;
  font-size: 12px;
  line-height: 1.62;
}

.comparison-grid > div {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 31px;
  font-weight: 400;
}

.life-reflection {
  max-width: 960px;
}

.reflection-option-grid {
  display: grid;
  max-width: 850px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.reflection-option-grid button {
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(21, 38, 65, 0.12);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 40, 68, 0.05);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.reflection-option-grid button:hover,
.reflection-option-grid button:focus-visible {
  border-color: rgba(10, 145, 136, 0.5);
  box-shadow: 0 13px 28px rgba(10, 145, 136, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.reflection-option-grid button.is-selected {
  border-color: #0a9188;
  background: linear-gradient(145deg, rgba(10, 145, 136, 0.1), rgba(53, 196, 186, 0.05));
  box-shadow: inset 0 0 0 1px rgba(10, 145, 136, 0.18), 0 13px 28px rgba(10, 145, 136, 0.09);
  color: #08766f;
}

.reflection-answer-card {
  display: grid;
  max-width: 850px;
  gap: 14px;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(121, 108, 224, 0.16);
  border-radius: 19px;
  background: rgba(121, 108, 224, 0.07);
}

.reflection-answer-card p,
.reflection-answer-card blockquote {
  margin: 0;
  color: #4f5871;
  font-size: 14px;
  line-height: 1.65;
}

.reflection-answer-card blockquote {
  padding: 13px 16px;
  border-left: 3px solid #0a9188;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.72);
  color: #273b58;
  font-weight: 700;
}

.life-reflection-steps {
  display: grid;
  max-width: 850px;
  gap: 14px;
  margin-top: 28px;
}

.life-reflection-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 17px;
  padding: 22px 24px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 19px;
  background:
    radial-gradient(circle at 0 0, rgba(53, 196, 186, 0.1), transparent 32%),
    white;
  box-shadow: 0 12px 28px rgba(20, 40, 68, 0.05);
}

.life-reflection-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #0b9a91, #26b8ad);
  box-shadow: 0 9px 18px rgba(10, 145, 136, 0.18);
  color: white;
  font-size: 18px;
  font-weight: 850;
}

.life-reflection-step h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.life-reflection-step p,
.life-reflection-step li {
  color: #58677d;
  font-size: 14px;
  line-height: 1.62;
}

.life-reflection-step > div > p {
  margin: 12px 0 0;
}

.life-reflection-question {
  margin-top: 16px;
}

.life-reflection-question + .life-reflection-question {
  padding-top: 15px;
  border-top: 1px solid rgba(21, 38, 65, 0.08);
}

.life-reflection-question strong,
.life-reflection-prompt strong {
  display: block;
  color: #223550;
  font-size: 14px;
}

.life-reflection-question p {
  margin: 5px 0 0;
}

.life-reflection-prompt {
  margin-top: 17px;
  padding: 16px 18px;
  border-radius: 15px;
  background: rgba(247, 184, 75, 0.1);
}

.life-reflection-prompt ul,
.life-reflection-final-questions {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 20px;
}

.life-reflection-prompt li::marker,
.life-reflection-final-questions li::marker {
  color: #0a9188;
}

.life-reflection-fallback {
  display: grid;
  max-width: 850px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(121, 108, 224, 0.16);
  border-radius: 17px;
  background: rgba(121, 108, 224, 0.07);
}

.life-reflection-fallback > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #ece9ff;
  color: #6a5dc7;
  font-size: 19px;
}

.life-reflection-fallback p {
  margin: 0;
  color: #606880;
  font-size: 13px;
  line-height: 1.62;
}

.life-reflection-fallback strong {
  color: #3e4162;
}

.experience-screen > .button {
  margin-top: 28px;
}

.experience-screen .button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.48;
  transform: none;
}

.family-conversation {
  display: grid;
  gap: 11px;
  margin-top: 27px;
}

.family-conversation article {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 15px;
  align-items: start;
  padding: 17px 19px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 16px;
  background: white;
}

.family-conversation article > span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  background: #eff8f7;
  color: #0a9188;
  font-size: 12px;
  font-weight: 850;
}

.family-conversation small {
  color: #7364ce;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.family-conversation p {
  margin: 5px 0 0;
  color: #526178;
  font-size: 13px;
  line-height: 1.62;
}

.family-conversation.two-items {
  max-width: 780px;
}

.experience-family-note {
  margin: 15px 0 0;
  color: #727f92;
  font-size: 11px;
  font-weight: 650;
}

.reward-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 32px 46px;
}

.reward-questions {
  margin-top: 24px;
  padding: 21px 23px;
  border-left: 3px solid var(--gold);
  border-radius: 0 17px 17px 0;
  background: white;
}

.reward-questions h3 {
  margin: 0;
  font-size: 14px;
}

.reward-questions ol {
  display: grid;
  gap: 6px;
  margin: 13px 0 0;
  padding-left: 21px;
  color: #59677c;
  font-size: 13px;
}

.experience-power-card {
  position: relative;
  display: flex;
  min-height: 330px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border: 1px solid rgba(247, 184, 75, 0.36);
  border-radius: 25px;
  background:
    radial-gradient(circle at 50% 38%, rgba(247, 184, 75, 0.24), transparent 33%),
    linear-gradient(145deg, #162c4c, #0b192d);
  box-shadow: 0 24px 56px rgba(10, 27, 48, 0.2);
  color: white;
  text-align: center;
}

.experience-power-card > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 77% center;
  opacity: 0.72;
  transform: scale(1.03);
}

.experience-power-shade {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 22, 42, 0.16), rgba(8, 22, 42, 0.88) 70%),
    linear-gradient(90deg, rgba(8, 22, 42, 0.65), transparent);
}

.experience-power-card::after {
  position: absolute;
  z-index: 2;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(247, 184, 75, 0.24);
  border-radius: 50%;
  content: "";
}

.experience-power-card > span,
.experience-power-card > strong,
.experience-power-card > small,
.experience-power-card > i {
  position: relative;
  z-index: 3;
}

.experience-power-card > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.experience-power-card > i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 18px 0;
  border: 1px solid rgba(247, 184, 75, 0.5);
  border-radius: 50%;
  color: var(--gold);
  font-size: 25px;
  font-style: normal;
}

.experience-power-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
}

.experience-power-card small {
  margin-top: 18px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 700;
}

.failure-power-card > img,
.rejection-power-card > img {
  object-position: 52% center;
}

.reward-continuations {
  grid-column: 1 / -1;
  padding-top: 29px;
  border-top: 1px solid rgba(21, 38, 65, 0.1);
}

.reward-continuations > h3 {
  margin: 0;
  font-size: 20px;
}

.reward-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.reward-social-grid button {
  position: relative;
  display: flex;
  min-height: 120px;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 60px 18px 20px;
  border: 1px solid rgba(49, 191, 175, 0.2);
  border-radius: 18px;
  background: #eff9f8;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.reward-social-grid button > span {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  background: white;
  color: #0a9188;
}

.reward-social-grid strong {
  font-size: 15px;
}

.reward-social-grid small {
  margin-top: 7px;
  color: #66758a;
  font-size: 11px;
  line-height: 1.5;
}

.experience-share-status {
  display: inline-flex;
  margin: 13px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(49, 191, 175, 0.1);
  color: #286663;
  font-size: 11px;
  font-weight: 650;
}

.reward-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  margin: 16px 0 10px;
}

.reward-next-title {
  margin: 26px 0 0;
  font-size: 20px;
}

.reward-next-grid button,
.reward-next-grid a {
  position: relative;
  display: flex;
  min-height: 120px;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 46px 17px 18px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 17px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.reward-next-grid span {
  color: #8590a1;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reward-next-grid strong {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.46;
}

.reward-next-grid i {
  position: absolute;
  top: 17px;
  right: 17px;
  color: #0a9188;
  font-style: normal;
}

.adult-prompt {
  max-width: 780px;
  margin-top: 27px;
  padding: 25px;
  border: 1px solid rgba(121, 108, 224, 0.18);
  border-radius: 19px;
  background: rgba(121, 108, 224, 0.07);
}

.adult-prompt h3 {
  margin: 0;
  font-size: 17px;
}

.adult-prompt p {
  margin: 10px 0 0;
  color: #525f77;
  font-size: 14px;
  line-height: 1.65;
}

.adult-prompt small {
  display: block;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(121, 108, 224, 0.13);
  color: #72798d;
  font-size: 11px;
  line-height: 1.55;
}

.adult-choice {
  max-width: 780px;
  margin-top: 25px;
  padding: 22px;
  border: 1px solid rgba(49, 191, 175, 0.2);
  border-radius: 18px;
  background: #eff9f8;
}

.adult-choice span {
  color: #0a9188;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.adult-choice p {
  margin: 9px 0 0;
  color: #294e50;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.56;
}

.experience-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 68px 22px;
  border-top: 1px solid rgba(21, 38, 65, 0.08);
}

.experience-utility button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #788497;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.experience-utility button:hover {
  color: var(--ink);
}

.continuation-overlay {
  position: fixed;
  z-index: 15;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(5, 14, 28, 0.73);
  backdrop-filter: blur(10px);
}

.continuation-card {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 52px);
  overflow-y: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  background:
    radial-gradient(circle at 90% 0, rgba(49, 191, 175, 0.12), transparent 26%),
    var(--cream);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.continuation-card h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  outline: none;
}

.continuation-card > p:not(.experience-overline) {
  margin: 19px 0 0;
  color: #59677c;
  font-size: 14px;
  line-height: 1.68;
}

.continuation-card ul {
  display: grid;
  gap: 10px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.continuation-card li {
  position: relative;
  padding: 11px 14px 11px 36px;
  border-radius: 12px;
  background: white;
  color: #4f5d73;
  font-size: 13px;
}

.continuation-card li::before {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #0a9188;
  content: "✓";
  font-weight: 850;
}

.continuation-card > .button {
  margin-top: 24px;
}

.continuation-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.continuation-hint {
  margin-top: 20px;
  padding: 15px 17px;
  border-left: 3px solid var(--gold);
  border-radius: 0 13px 13px 0;
  background: white;
  color: #6d572f;
  font-size: 13px;
  font-weight: 680;
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-inner > .button-small {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: white;
  }

  .mobile-menu nav {
    position: absolute;
    top: 58px;
    right: 0;
    display: flex;
    width: 220px;
    flex-direction: column;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(9, 23, 42, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
  }

  .mobile-menu nav a {
    padding: 11px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 650;
  }

  .mobile-menu nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.65fr);
    gap: 40px;
  }

  .hero-art {
    width: min(100%, 480px);
    height: 560px;
  }

  .hero-poster {
    width: 350px;
    height: 470px;
  }

  .floating-card-top {
    left: -5px;
  }

  .method-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 14px;
  }

  .method-path::before,
  .method-step i {
    display: none;
  }

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

  .first-lesson-grid {
    grid-template-columns: minmax(410px, 0.85fr) minmax(0, 1fr);
    gap: 55px;
  }

  .cards-stage {
    min-height: 640px;
  }

  .product-card {
    width: 205px;
  }

  .eco-books .eco-copy {
    max-width: 62%;
  }

  .eco-game {
    grid-template-columns: minmax(0, 1.08fr) minmax(190px, 0.92fr);
  }

  .eco-copy {
    padding: 32px;
  }

  .cover-book {
    width: 166px;
  }

  .education-panel {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.78fr);
    gap: 42px;
    padding: 58px 48px;
  }

  .education-copy h2 {
    font-size: 45px;
  }

  .education-book {
    width: 195px;
  }

  .education-book-main {
    width: 215px;
  }

  .partner-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.75fr);
    gap: 55px;
  }

  .package-card-main {
    left: 0;
    width: 310px;
  }

  .author-grid {
    grid-template-columns: minmax(380px, 0.8fr) minmax(0, 1fr);
    gap: 65px;
  }

  .final-orbit {
    right: 2%;
    width: 280px;
    height: 280px;
    padding: 34px;
  }
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 38px, 680px);
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-scene {
    top: auto;
    height: 370px;
  }

  .hero-scene img {
    object-position: 94% center;
    filter: saturate(1.08) contrast(1.02) brightness(1.12);
  }

  .hero-scene-vignette {
    background:
      linear-gradient(180deg, #0c1b33 0%, rgba(9, 22, 42, 0.9) 12%, rgba(9, 22, 42, 0.24) 42%, rgba(7, 18, 35, 0.14) 68%, rgba(7, 18, 35, 0.72) 100%),
      linear-gradient(90deg, rgba(8, 20, 38, 0.42), transparent 52%);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 145px;
    padding-bottom: 105px;
  }

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

  .hero-copy .release-note {
    display: none;
  }

  .hero h1 {
    font-size: clamp(43px, 11.2vw, 62px);
  }

  .hero-art {
    justify-self: center;
    width: min(100%, 510px);
    height: 390px;
    margin-top: 0;
  }

  .hero-mobile-journey {
    position: relative;
    z-index: 6;
    display: block;
    max-width: 460px;
    pointer-events: auto;
  }

  .hero-mobile-journey h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 5vw, 29px);
    line-height: 1.18;
  }

  .hero-mobile-journey p {
    max-width: 420px;
    margin: 10px 0 18px;
    color: #e5edf8;
    font-size: 15px;
    line-height: 1.5;
  }

  .floating-card-top {
    display: none;
  }

  .hero-poster {
    right: 50%;
    width: min(86vw, 410px);
    height: 510px;
    transform: translateX(50%) rotate(1.5deg);
  }

  .floating-card-top {
    top: 80px;
    left: 0;
  }

  .lesson-orbit {
    right: 0;
  }

  .opening-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .opening-thought {
    padding: 95px 0 85px;
  }

  .section-heading h2,
  .first-lesson-copy h2,
  .partner-copy h2,
  .author-copy h2,
  .final-copy h2 {
    font-size: 43px;
  }

  .method-section,
  .lessons-section,
  .first-lesson-section,
    .ecosystem-section,
    .connection-section,
    .education-section,
    .partner-section,
    .author-section {
      padding-top: 95px;
    padding-bottom: 95px;
  }

  .method-intro {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 38px;
  }

  .method-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 52px;
  }

  .lesson-grid {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 45px;
  }

  .lesson-card {
    min-height: 0;
    border-radius: 20px;
  }

  .lesson-card:hover {
    transform: none;
  }

  .lesson-card-toggle {
    display: grid;
    grid-template-columns: 62px 1fr 28px;
    gap: 15px;
    align-items: center;
    padding: 19px;
    cursor: pointer;
  }

  .lesson-card-top {
    display: block;
    margin: 0;
  }

  .lesson-card-top i {
    display: none;
  }

  .lesson-number {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 15px;
    background: var(--lesson-bg);
  }

  .lesson-card h3 {
    min-height: 0;
    font-size: 18px;
  }

  .lesson-card h3 small {
    margin-bottom: 4px;
  }

  .lesson-card-toggle > b {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--lesson-bg);
    color: var(--lesson);
    font-size: 18px;
    font-weight: 500;
    transition: transform 170ms ease;
  }

  .lesson-card.is-open .lesson-card-toggle > b {
    transform: rotate(45deg);
  }

  .lesson-card:not(.is-open) > p {
    display: none;
  }

  .lesson-card > p {
    padding: 0 19px 21px 96px;
  }

  .lesson-conclusion {
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 23px;
  }

  .lesson-conclusion-logo {
    width: 58px;
    height: 58px;
  }

  .first-lesson-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards-stage {
    min-height: 630px;
    order: 2;
  }

  .first-lesson-copy {
    order: 1;
  }

  .product-card {
    width: 215px;
  }

  .ecosystem-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .eco-game,
  .eco-music,
  .eco-course,
  .eco-books {
    grid-column: auto;
  }

  .eco-card {
    min-height: 540px;
  }

  .eco-books .eco-copy {
    max-width: 60%;
  }

  .eco-game {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  }

  .connection-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 22px;
  }

  .connection-path::before {
    display: none;
  }

  .connection-summary {
    margin-top: 47px;
  }

  .education-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 54px 46px;
  }

  .education-copy h2 {
    max-width: 700px;
    font-size: 48px;
  }

  .education-lead,
  .education-promise,
  .education-points article {
    max-width: 720px;
  }

  .education-visual {
    min-height: 650px;
  }

  .education-library {
    right: 7%;
    left: 7%;
  }

  .education-book {
    width: 235px;
  }

  .education-book-main {
    width: 255px;
  }

  .education-metrics {
    right: 7%;
    left: 7%;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .map-support-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px;
    text-align: center;
  }

  .map-support-copy h2 {
    max-width: 620px;
    margin-inline: auto;
  }

  .map-support-logo {
    width: min(100%, 390px);
    min-height: 220px;
    margin-inline: auto;
  }

  .partner-visual {
    min-height: 570px;
  }

  .package-card-main {
    left: 10%;
  }

  .author-grid {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .author-photo {
    min-height: 660px;
  }

  .final-section {
    min-height: 1060px;
    place-items: start;
    padding: 95px 0 610px;
  }

  .final-image {
    top: auto;
    height: 670px;
  }

  .final-image img {
    object-position: 70% center;
  }

  .final-shade {
    background:
      linear-gradient(180deg, #071223 0%, #071223 36%, rgba(7, 18, 35, 0.82) 50%, rgba(7, 18, 35, 0.18) 72%, rgba(7, 18, 35, 0.58) 100%),
      linear-gradient(90deg, rgba(4, 12, 25, 0.6), transparent 72%);
  }

  .final-orbit {
    display: none;
  }

  .footer-top {
    align-items: flex-start;
  }

  .footer-top nav {
    max-width: 260px;
  }
}

/* Mira and Max: project introduction block and character page */

.heroes-invite-section {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(41, 182, 171, 0.12), transparent 26%),
    #edf7f5;
}

.heroes-invite-card {
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  background:
    radial-gradient(circle at 92% 10%, rgba(41, 182, 171, 0.16), transparent 28%),
    #0b1d35;
  box-shadow: 0 34px 80px rgba(8, 24, 45, 0.2);
  color: white;
}

.heroes-invite-visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.heroes-invite-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.heroes-invite-visual:hover img,
.heroes-invite-visual:focus-visible img {
  transform: scale(1.025);
}

.heroes-invite-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 62%, rgba(11, 29, 53, 0.92) 100%),
    linear-gradient(180deg, transparent 62%, rgba(5, 16, 31, 0.72) 100%);
}

.heroes-invite-names {
  position: absolute;
  right: 26px;
  bottom: 25px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.heroes-invite-names i {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(5, 16, 31, 0.55);
  box-shadow: 0 10px 28px rgba(4, 13, 25, 0.22);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heroes-invite-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 5vw, 70px);
}

.heroes-invite-copy h2 {
  margin: 11px 0 24px;
  color: white;
  font-size: clamp(38px, 4vw, 57px);
  font-weight: 740;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.heroes-invite-copy > p:not(.eyebrow) {
  margin: 0 0 15px;
  color: rgba(232, 240, 250, 0.72);
  font-size: 15px;
  line-height: 1.72;
}

.heroes-invite-traits {
  display: grid;
  gap: 9px;
  margin: 17px 0 29px;
}

.heroes-invite-traits span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(232, 240, 250, 0.72);
  font-size: 12px;
}

.heroes-invite-traits strong {
  margin-right: 5px;
  color: #f7c567;
}

.heroes-invite-button {
  align-self: flex-start;
}

.heroes-invite-copy > small {
  margin-top: 13px;
  color: rgba(232, 240, 250, 0.45);
  font-size: 10px;
}

.heroes-page {
  min-height: 100svh;
  background: #fffaf2;
  color: var(--ink);
}

/* 404 */
.not-found-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(22px, 4vw, 52px);
  color: #f9f1df;
  background:
    radial-gradient(circle at 18% 18%, rgba(55, 158, 151, 0.26), transparent 36%),
    radial-gradient(circle at 82% 78%, rgba(224, 167, 81, 0.18), transparent 34%),
    #102e31;
}

.not-found-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.not-found-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}

.not-found-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.not-found-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  min-height: min(690px, calc(100svh - 150px));
  margin-top: clamp(26px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(28px, 4vw, 48px);
  background: rgba(255, 250, 239, 0.08);
  box-shadow: 0 28px 80px rgba(1, 18, 20, 0.28);
  backdrop-filter: blur(14px);
}

.not-found-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 78px);
}

.not-found-copy .eyebrow {
  color: #f3c26e;
}

.not-found-copy h1 {
  max-width: 13ch;
  margin: 14px 0 22px;
  color: #fff8e9;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.not-found-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 248, 233, 0.78);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.not-found-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.not-found-secondary {
  color: #fff4dc;
  font-weight: 750;
  text-underline-offset: 5px;
}

.not-found-art {
  position: relative;
  min-height: 500px;
}

.not-found-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.not-found-art-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #16383b 0%, rgba(22, 56, 59, 0.18) 28%, transparent 58%);
  pointer-events: none;
}

.not-found-footnote {
  margin: 18px 0 0;
  color: rgba(255, 248, 233, 0.56);
  text-align: center;
  font-size: 14px;
}

.not-found-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  pointer-events: none;
}

.not-found-glow-one {
  top: 5%;
  right: -5%;
  width: 280px;
  height: 280px;
  background: rgba(236, 186, 99, 0.16);
}

.not-found-glow-two {
  bottom: -8%;
  left: -5%;
  width: 360px;
  height: 360px;
  background: rgba(58, 174, 164, 0.16);
}

@media (max-width: 820px) {
  .not-found-page {
    padding: 18px;
  }

  .not-found-card {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 24px;
  }

  .not-found-copy {
    padding: 34px 26px 28px;
  }

  .not-found-copy h1 {
    max-width: 15ch;
    font-size: clamp(40px, 12vw, 58px);
  }

  .not-found-art {
    min-height: 330px;
  }

  .not-found-art-shade {
    background: linear-gradient(180deg, #16383b 0%, rgba(22, 56, 59, 0.12) 28%, transparent 54%);
  }
}

.heroes-page .subpage-header {
  position: absolute;
}

.heroes-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(41, 182, 171, 0.18), transparent 28%),
    linear-gradient(135deg, #061426 0%, #0d2340 62%, #102d48 100%);
  color: white;
}

.heroes-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.heroes-hero-glow-one {
  top: -260px;
  right: -180px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 100px rgba(41, 182, 171, 0.07);
}

.heroes-hero-glow-two {
  bottom: -280px;
  left: -190px;
  width: 610px;
  height: 610px;
  background: radial-gradient(circle, rgba(245, 184, 75, 0.13), transparent 66%);
}

.heroes-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 800px;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(56px, 7vw, 105px);
  align-items: center;
  padding-top: 135px;
  padding-bottom: 90px;
}

.heroes-hero-copy h1 {
  max-width: 670px;
  margin: 12px 0 28px;
  font-size: clamp(52px, 6vw, 83px);
  font-weight: 730;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.heroes-hero-copy h1 em {
  color: #f7c567;
  font-family: Georgia, serif;
  font-weight: 500;
}

.heroes-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 17px;
  color: rgba(232, 240, 250, 0.7);
  font-size: 16px;
  line-height: 1.75;
}

.heroes-hero-copy .heroes-hero-note {
  margin-top: 22px;
  padding-left: 17px;
  border-left: 3px solid #f5b84b;
  color: rgba(255, 245, 222, 0.84);
}

.heroes-hero-copy .button {
  margin-top: 14px;
}

.heroes-hero-art {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 36px;
  box-shadow: 0 36px 90px rgba(0, 7, 18, 0.42);
}

.heroes-hero-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.heroes-hero-art-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(5, 15, 29, 0.84) 100%),
    radial-gradient(circle at 50% 40%, transparent 46%, rgba(5, 15, 29, 0.18) 100%);
}

.heroes-hero-caption {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 17px;
  background: rgba(7, 21, 40, 0.68);
  backdrop-filter: blur(15px);
}

.heroes-hero-caption > span {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border-radius: 12px;
  background: rgba(245, 184, 75, 0.16);
  color: #f7c567;
}

.heroes-hero-caption p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  color: rgba(232, 240, 250, 0.65);
  font-size: 11px;
  line-height: 1.4;
}

.heroes-hero-caption strong {
  color: white;
  font-size: 14px;
}

.heroes-character-section {
  padding: 125px 0 110px;
  background:
    radial-gradient(circle at 9% 24%, rgba(245, 184, 75, 0.1), transparent 21%),
    #fffaf2;
}

.heroes-heading {
  max-width: 880px;
  margin-inline: auto;
}

.hero-profile {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  margin-top: 62px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 36px;
  background: white;
  box-shadow: 0 24px 68px rgba(21, 38, 65, 0.09);
  scroll-margin-top: 28px;
}

.hero-profile-max {
  margin-top: 35px;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
}

.hero-profile-max .hero-profile-portrait {
  order: 2;
}

.hero-profile-portrait {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #142c48;
}

.hero-profile-portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(6, 18, 34, 0.72) 100%);
  content: "";
}

.hero-profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-profile-portrait > span {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 27px;
  color: white;
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-profile-copy {
  padding: clamp(48px, 5.2vw, 76px);
}

.hero-profile-kicker {
  margin: 0 0 16px;
  color: #9b6a13;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-profile-max .hero-profile-kicker {
  color: #267b85;
}

.hero-profile-copy h2 {
  margin: 0 0 27px;
  color: #142b49;
  font-size: clamp(35px, 4vw, 52px);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.hero-profile-copy > p:not(.hero-profile-kicker) {
  margin: 0 0 17px;
  color: #53647a;
  font-size: 15px;
  line-height: 1.78;
}

.hero-recognition {
  margin: 30px 0 27px;
  padding: 24px 26px;
  border: 1px solid rgba(245, 184, 75, 0.24);
  border-radius: 21px;
  background: #fff7e7;
}

.hero-profile-max .hero-recognition {
  border-color: rgba(41, 182, 171, 0.21);
  background: #edf8f6;
}

.hero-recognition > strong {
  display: block;
  margin-bottom: 13px;
  color: #253d59;
  font-size: 14px;
}

.hero-recognition ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
  color: #5b697b;
  font-size: 13px;
  line-height: 1.55;
}

.hero-profile-copy blockquote {
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 3px solid #f5b84b;
  color: #273e5c;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.55;
}

.hero-profile-max .hero-profile-copy blockquote {
  border-left-color: #29b6ab;
}

.heroes-relationship {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 7vw, 95px);
  margin-top: 40px;
  padding: clamp(48px, 6vw, 76px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 10%, rgba(41, 182, 171, 0.16), transparent 27%),
    #102640;
  color: white;
}

.heroes-relationship h2 {
  margin: 12px 0 0;
  color: white;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.heroes-relationship > div:last-child {
  padding-top: 5px;
}

.heroes-relationship > div:last-child p {
  margin: 0 0 18px;
  color: rgba(232, 240, 250, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

.heroes-next {
  margin-top: 70px;
  text-align: center;
}

.heroes-next h2 {
  margin: 10px 0 0;
  color: #142b49;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.heroes-next-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.heroes-next-button {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 22px;
  background: white;
  box-shadow: 0 13px 35px rgba(21, 38, 65, 0.055);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.heroes-next-button:hover,
.heroes-next-button:focus-visible {
  border-color: rgba(21, 38, 65, 0.2);
  box-shadow: 0 22px 48px rgba(21, 38, 65, 0.1);
  transform: translateY(-4px);
}

.heroes-next-button small {
  color: #7d899a;
  font-size: 11px;
}

.heroes-next-button strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #19324f;
  font-size: 18px;
}

.heroes-next-mira {
  background: #fff7e7;
}

.heroes-next-max {
  background: #edf8f6;
}

.heroes-next-lesson {
  border-color: #142b49;
  background: #142b49;
}

.heroes-next-lesson small {
  color: rgba(232, 240, 250, 0.55);
}

.heroes-next-lesson strong {
  color: white;
}

.heroes-diaries {
  padding: 108px 0 120px;
  background:
    radial-gradient(circle at 78% 8%, rgba(121, 108, 224, 0.1), transparent 24%),
    #f4f0e8;
}

.heroes-diary-books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 55px;
  align-items: start;
}

.heroes-diary-return-note {
  display: flex;
  max-width: 760px;
  gap: 13px;
  align-items: center;
  margin: 38px auto 0;
  padding: 15px 20px;
  border: 1px solid rgba(121, 108, 224, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  color: #647286;
  font-size: 13px;
  line-height: 1.55;
}

.heroes-diary-return-note > span {
  color: #b17d20;
  font-size: 18px;
}

.heroes-diary-return-note p {
  margin: 0;
}

.heroes-diary-return-note strong {
  color: #1c3653;
}

.heroes-diary-book {
  scroll-margin-top: 25px;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 28px;
  background: #fffaf1;
  box-shadow: 0 20px 54px rgba(21, 38, 65, 0.07);
}

.heroes-diary-book-max {
  background: #f2f9f7;
}

.heroes-diary-book-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 34px 20px;
}

.heroes-diary-book-header > span {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 16px;
  background: #f5b84b;
  color: #442e08;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.heroes-diary-book-max .heroes-diary-book-header > span {
  background: #29b6ab;
  color: #082f36;
}

.heroes-diary-book small {
  color: #8d7a59;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.heroes-diary-book h3 {
  margin: 5px 0 0;
  color: #1c3653;
  font-size: 22px;
}

.heroes-diary-book-intro {
  margin: 0;
  padding: 0 34px 30px;
  color: #6d7c8d;
  font-size: 14px;
  line-height: 1.65;
}

.heroes-diary-list {
  border-top: 1px solid rgba(21, 38, 65, 0.09);
}

.heroes-diary-progress {
  height: 4px;
  margin: 0 34px 26px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(21, 38, 65, 0.08);
}

.heroes-diary-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e4a93b, #f3c96f);
  transition: width 500ms ease;
}

.heroes-diary-book-max .heroes-diary-progress span {
  background: linear-gradient(90deg, #16887f, #4ec8bd);
}

.heroes-diary-list details {
  border-bottom: 1px solid rgba(21, 38, 65, 0.08);
  background: rgba(255, 255, 255, 0.44);
}

.heroes-diary-list details:last-child {
  border-bottom: 0;
}

.heroes-diary-list summary {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 14px 24px;
  color: #1c3653;
  cursor: pointer;
  list-style: none;
}

.heroes-diary-list summary::-webkit-details-marker {
  display: none;
}

.heroes-diary-list summary > span {
  color: #b17d20;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.heroes-diary-book-max .heroes-diary-list summary > span {
  color: #16887f;
}

.heroes-diary-list summary strong {
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.heroes-diary-list summary i {
  color: #7c8997;
  font-size: 21px;
  font-style: normal;
  text-align: center;
  transition: transform 180ms ease;
}

.heroes-diary-list details[open] summary i {
  transform: rotate(45deg);
}

.heroes-diary-list details[open] summary {
  background: rgba(255, 255, 255, 0.72);
}

.heroes-diary-entry {
  padding: 8px 34px 30px 151px;
  color: #314b65;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 33px,
    rgba(84, 122, 151, 0.12) 34px
  );
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 22px;
  line-height: 1.55;
}

.heroes-diary-entry p {
  margin: 0 0 14px;
}

.heroes-diary-entry p:last-child {
  margin-bottom: 0;
}

.heroes-diary-locked {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 16px 24px;
  background: rgba(21, 38, 65, 0.035);
  color: #788597;
}

.heroes-diary-locked > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(21, 38, 65, 0.07);
  font-size: 18px;
}

.heroes-diary-locked small,
.heroes-diary-locked strong {
  display: block;
}

.heroes-diary-locked strong {
  margin-top: 3px;
  color: #53647a;
  font-size: 12px;
  line-height: 1.4;
}

/* Separate personal diaries */

.diary-page {
  min-height: 100svh;
  padding: 24px clamp(16px, 4vw, 48px) 34px;
  color: #253752;
}

.diary-page-mira {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 215, 230, 0.82), transparent 27%),
    radial-gradient(circle at 88% 18%, rgba(255, 225, 151, 0.58), transparent 25%),
    linear-gradient(135deg, #f4d8df, #efe1cf 52%, #e3c8d7);
}

.diary-page-max {
  background:
    linear-gradient(rgba(31, 83, 101, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 83, 101, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, #bdd6d4, #d8ddd2 52%, #aac5c8);
  background-size: 28px 28px, 28px 28px, auto;
}

.diary-page-nav,
.diary-page-footer {
  display: flex;
  width: min(960px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}

.diary-page-nav {
  margin-bottom: 22px;
}

.diary-page-nav a,
.diary-page-footer a {
  color: rgba(23, 43, 66, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.diary-page-nav a:hover,
.diary-page-nav a:focus-visible,
.diary-page-footer a:hover,
.diary-page-footer a:focus-visible {
  color: #172b42;
}

.diary-page-stage {
  width: min(960px, 100%);
  margin-inline: auto;
  perspective: 1200px;
}

.personal-diary {
  position: relative;
  overflow: hidden;
  border-radius: 16px 26px 26px 16px;
  background: #fffdf4;
  box-shadow:
    0 38px 90px rgba(27, 37, 54, 0.24),
    0 4px 0 rgba(255, 255, 255, 0.45) inset,
    9px 0 0 rgba(57, 36, 26, 0.08) inset;
}

.personal-diary-mira {
  border: 1px solid rgba(111, 44, 75, 0.32);
  transform: rotate(-0.25deg);
}

.personal-diary-max {
  border: 1px solid rgba(23, 67, 79, 0.35);
  transform: rotate(0.18deg);
}

.personal-diary-binding {
  position: absolute;
  z-index: 4;
  top: 24px;
  bottom: 24px;
  left: -5px;
  display: flex;
  width: 32px;
  flex-direction: column;
  justify-content: space-around;
}

.personal-diary-binding i {
  display: block;
  width: 35px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(#c9c7bd, #595c5f 48%, #e4e0d4 54%, #7c7b76);
  box-shadow: 0 2px 4px rgba(30, 32, 35, 0.3);
}

.personal-diary-cover {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  padding: 52px 70px 42px 78px;
  color: white;
}

.personal-diary-mira .personal-diary-cover {
  background:
    radial-gradient(circle at 83% 25%, transparent 0 25px, rgba(255,255,255,.15) 26px 28px, transparent 29px),
    radial-gradient(circle at 89% 34%, transparent 0 12px, rgba(255,220,139,.3) 13px 15px, transparent 16px),
    linear-gradient(135deg, #8c345f, #b94d77 56%, #7d315b);
}

.personal-diary-max .personal-diary-cover {
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(135deg, #173f57, #246b73 58%, #183b50);
  background-size: 24px 24px, 24px 24px, auto;
}

.personal-diary-owner {
  position: relative;
  z-index: 1;
  width: min(520px, 82%);
}

.personal-diary-owner small {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 4px;
  color: rgba(255,255,255,.82);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.personal-diary-owner h1 {
  margin: 17px 0 4px;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: clamp(56px, 8vw, 86px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: .92;
}

.personal-diary-owner p {
  max-width: 480px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.8);
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 22px;
  line-height: 1.25;
}

.personal-diary-sticker {
  position: absolute;
  right: 54px;
  bottom: 38px;
  padding: 9px 13px;
  transform: rotate(-5deg);
  background: #fff0ad;
  box-shadow: 0 7px 18px rgba(21, 31, 43, .18);
  color: #5e4920;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 18px;
}

.personal-diary-max .personal-diary-sticker {
  transform: rotate(3deg);
  background: #cce8df;
  color: #164c4f;
}

.personal-diary-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 58px 14px 74px;
  background: #fffdf4;
}

.personal-diary-status strong {
  color: #384a5c;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.personal-diary-status span {
  color: #7a756b;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 20px;
  text-align: right;
}

.personal-diary-progress {
  height: 4px;
  margin: 0 58px 22px 74px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(67, 76, 87, .1);
}

.personal-diary-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #c24e7c;
  transition: width 400ms ease;
}

.personal-diary-max .personal-diary-progress span {
  background: #257a79;
}

.personal-diary-pages {
  position: relative;
  padding-left: 54px;
  border-top: 1px solid rgba(53, 68, 82, .1);
  background:
    linear-gradient(90deg, transparent 0 54px, rgba(210, 77, 84, .23) 55px 56px, transparent 57px),
    repeating-linear-gradient(to bottom, #fffdf4 0, #fffdf4 38px, rgba(85, 126, 154, .16) 39px, #fffdf4 40px);
}

.personal-diary-max .personal-diary-pages {
  background:
    linear-gradient(90deg, transparent 0 54px, rgba(57, 126, 115, .25) 55px 56px, transparent 57px),
    repeating-linear-gradient(to bottom, #fbfdf8 0, #fbfdf8 38px, rgba(70, 111, 139, .15) 39px, #fbfdf8 40px);
}

.personal-diary-pages details {
  border-bottom: 1px solid rgba(49, 67, 84, .1);
}

.personal-diary-pages summary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 28px;
  gap: 17px;
  align-items: center;
  min-height: 83px;
  padding: 17px 40px 17px 28px;
  cursor: pointer;
  list-style: none;
}

.personal-diary-pages summary::-webkit-details-marker {
  display: none;
}

.personal-diary-pages summary time {
  color: #b34b73;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 18px;
}

.personal-diary-max .personal-diary-pages summary time {
  color: #26736f;
}

.personal-diary-pages summary strong {
  color: #30465c;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}

.personal-diary-pages summary > i {
  color: #7b8791;
  font-size: 22px;
  font-style: normal;
  transition: transform 180ms ease;
}

.personal-diary-pages details[open] summary > i {
  transform: rotate(45deg);
}

.personal-diary-entry {
  padding: 1px 55px 34px 165px;
  color: #334b61;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 25px;
  line-height: 1.55;
}

.personal-diary-entry p {
  margin: 0 0 14px;
}

.personal-diary-entry p:last-child {
  margin-bottom: 0;
}

.personal-diary-locked {
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 92px;
  padding: 18px 38px 18px 28px;
  color: #747e86;
}

.personal-diary-locked > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(76, 89, 99, .08);
  font-size: 19px;
}

.personal-diary-locked small,
.personal-diary-locked strong {
  display: block;
}

.personal-diary-locked small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.personal-diary-locked strong {
  margin-top: 4px;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: 20px;
  font-weight: 600;
}

.diary-page-footer {
  margin-top: 24px;
  color: rgba(23, 43, 66, .58);
  font-size: 11px;
}

@media (max-width: 700px) {
  .diary-page {
    padding: 16px 10px 25px;
  }

  .diary-page-nav {
    padding-inline: 6px;
  }

  .diary-page-nav a {
    max-width: 46%;
    font-size: 10px;
  }

  .personal-diary-cover {
    min-height: 230px;
    padding: 44px 30px 36px 48px;
  }

  .personal-diary-owner {
    width: 100%;
  }

  .personal-diary-owner p {
    max-width: 260px;
    font-size: 19px;
  }

  .personal-diary-sticker {
    right: 22px;
    bottom: 24px;
    font-size: 15px;
  }

  .personal-diary-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 19px 24px 13px 43px;
  }

  .personal-diary-status span {
    font-size: 18px;
    text-align: left;
  }

  .personal-diary-progress {
    margin-right: 24px;
    margin-left: 43px;
  }

  .personal-diary-pages {
    padding-left: 28px;
    background:
      linear-gradient(90deg, transparent 0 32px, rgba(210, 77, 84, .23) 33px 34px, transparent 35px),
      repeating-linear-gradient(to bottom, #fffdf4 0, #fffdf4 38px, rgba(85, 126, 154, .16) 39px, #fffdf4 40px);
  }

  .personal-diary-max .personal-diary-pages {
    background:
      linear-gradient(90deg, transparent 0 32px, rgba(57, 126, 115, .25) 33px 34px, transparent 35px),
      repeating-linear-gradient(to bottom, #fbfdf8 0, #fbfdf8 38px, rgba(70, 111, 139, .15) 39px, #fbfdf8 40px);
  }

  .personal-diary-pages summary {
    grid-template-columns: 88px minmax(0, 1fr) 20px;
    gap: 8px;
    min-height: 76px;
    padding: 13px 16px 13px 12px;
  }

  .personal-diary-pages summary time {
    font-size: 15px;
  }

  .personal-diary-pages summary strong {
    font-size: 21px;
  }

  .personal-diary-entry {
    padding: 2px 20px 28px 104px;
    font-size: 22px;
  }

  .personal-diary-locked {
    padding-right: 18px;
    padding-left: 12px;
  }

  .diary-page-footer {
    padding-inline: 6px;
  }
}

/* A single quiet doorway to both diaries */

.diary-invitation {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  margin-top: 28px;
  padding: 17px 19px;
  border: 1px solid rgba(121, 108, 224, 0.16);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(121, 108, 224, 0.07), rgba(41, 182, 171, 0.07));
}

.diary-invitation-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #fffaf1;
  color: #8d6c31;
  font-family: "Caveat", cursive;
  font-size: 25px;
  box-shadow: 0 7px 20px rgba(21, 38, 65, 0.07);
}

.diary-invitation-copy small,
.diary-invitation-copy strong {
  display: block;
}

.diary-invitation-copy small {
  color: #8374bc;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diary-invitation-copy strong {
  margin-top: 4px;
  color: #263e5a;
  font-size: 13px;
  line-height: 1.4;
}

.diary-invitation nav {
  display: flex;
  gap: 8px;
}

.diary-invitation nav a {
  padding: 8px 11px;
  border: 1px solid rgba(21, 38, 65, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #40516c;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.diary-invitation nav a:hover,
.diary-invitation nav a:focus-visible {
  border-color: rgba(121, 108, 224, 0.4);
  color: #6455bd;
}

.lesson-diary-section {
  padding: 0 max(32px, calc((100% - 1180px) / 2)) 100px;
  background: #061326;
}

.diary-invitation-lesson {
  max-width: 900px;
  margin: 0 auto;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.065);
}

.diary-invitation-lesson .diary-invitation-copy strong {
  color: white;
}

.diary-invitation-lesson .diary-invitation-copy small {
  color: #8ad8d1;
}

.diary-invitation-lesson nav a {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.heroes-lesson-cta {
  padding: 93px 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(245, 184, 75, 0.14), transparent 26%),
    #071528;
  color: white;
}

.heroes-lesson-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

.heroes-lesson-cta h2 {
  max-width: 810px;
  margin: 10px 0 17px;
  color: white;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.heroes-lesson-cta p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(232, 240, 250, 0.63);
  font-size: 14px;
  line-height: 1.7;
}

.heroes-lesson-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 1080px) {
  .heroes-invite-card {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .heroes-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .heroes-hero-copy {
    max-width: 780px;
  }

  .heroes-hero-art {
    min-height: 620px;
  }

  .hero-profile,
  .hero-profile-max {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  }

  .hero-profile-portrait {
    min-height: 760px;
  }
}

@media (max-width: 800px) {
  .heroes-invite-section {
    padding: 72px 0;
  }

  .heroes-invite-card {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .heroes-invite-visual {
    min-height: 430px;
  }

  .heroes-invite-visual-shade {
    background: linear-gradient(180deg, transparent 62%, rgba(11, 29, 53, 0.9) 100%);
  }

  .heroes-invite-copy {
    padding: 38px 30px 42px;
  }

  .heroes-invite-copy h2 {
    font-size: 39px;
  }

  .heroes-invite-button {
    width: 100%;
  }

  .heroes-hero-grid {
    width: min(100% - 36px, 1240px);
    gap: 45px;
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .heroes-hero-copy h1 {
    font-size: clamp(48px, 13vw, 70px);
  }

  .heroes-hero-art {
    min-height: 520px;
    border-radius: 28px;
  }

  .heroes-character-section {
    padding: 78px 0 76px;
  }

  .hero-profile,
  .hero-profile-max {
    grid-template-columns: 1fr;
    margin-top: 42px;
    border-radius: 27px;
  }

  .hero-profile-max {
    margin-top: 28px;
  }

  .hero-profile-max .hero-profile-portrait {
    order: 0;
  }

  .hero-profile-portrait {
    min-height: auto;
    aspect-ratio: 4 / 4.4;
  }

  .hero-profile-copy {
    padding: 36px 30px 40px;
  }

  .hero-profile-copy h2 {
    font-size: 38px;
  }

  .heroes-relationship {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 38px 30px;
    border-radius: 27px;
  }

  .heroes-next {
    margin-top: 58px;
  }

  .heroes-next-actions {
    grid-template-columns: 1fr;
  }

  .heroes-next-button {
    min-height: 118px;
  }

  .heroes-diaries {
    padding: 76px 0 82px;
  }

  .heroes-diary-books {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .heroes-lesson-cta {
    padding: 72px 0;
  }

  .heroes-lesson-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .heroes-lesson-cta .button {
    width: 100%;
  }

  .heroes-page .subpage-footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .heroes-invite-visual {
    min-height: 340px;
  }

  .heroes-invite-copy {
    padding: 32px 23px 36px;
  }

  .heroes-invite-copy h2 {
    font-size: 34px;
  }

  .heroes-invite-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .heroes-invite-button {
    padding-inline: 17px;
    font-size: 12px;
  }

  .heroes-hero-copy h1 {
    font-size: 45px;
  }

  .heroes-hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .heroes-hero-art {
    min-height: 400px;
  }

  .heroes-hero-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .hero-profile-portrait {
    aspect-ratio: 4 / 5;
  }

  .hero-profile-copy {
    padding: 31px 23px 34px;
  }

  .hero-profile-copy h2 {
    font-size: 32px;
  }

  .hero-profile-copy > p:not(.hero-profile-kicker) {
    font-size: 14px;
  }

  .hero-recognition {
    padding: 21px 20px;
  }

  .hero-profile-copy blockquote {
    font-size: 18px;
  }

  .heroes-relationship {
    padding: 33px 24px;
  }

  .heroes-relationship h2,
  .heroes-next h2,
  .heroes-lesson-cta h2 {
    font-size: 34px;
  }

  .heroes-diary-book-header {
    padding: 28px 23px 18px;
  }

  .heroes-diary-book-intro {
    padding: 0 23px 25px;
  }

  .heroes-diary-list summary {
    grid-template-columns: 92px minmax(0, 1fr) 20px;
    gap: 9px;
    padding: 13px 18px;
  }

  .heroes-diary-entry {
    padding: 8px 20px 26px 119px;
    font-size: 20px;
  }

  .heroes-diary-progress {
    margin-right: 23px;
    margin-left: 23px;
  }

  .diary-invitation {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .diary-invitation nav {
    grid-column: 1 / -1;
    padding-left: 55px;
  }

  .lesson-diary-section {
    padding: 0 20px 78px;
  }

  .heroes-page .subpage-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .heroes-page .subpage-footer span {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-copy strong {
    max-width: 170px;
    font-size: 14px;
  }

  .mobile-menu summary {
    width: 43px;
    height: 43px;
  }

  .hero-grid {
    padding-top: 112px;
    padding-bottom: 83px;
  }

  .eyebrow.light {
    align-items: flex-start;
    padding: 9px 12px;
    border-radius: 13px;
    font-size: 10px;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .release-note {
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.5;
  }

  .release-note span {
    margin-top: 5px;
    flex: 0 0 8px;
  }

  .hero-art {
    height: 360px;
  }

  .hero-scene {
    height: 320px;
  }

  .hero-scene img {
    object-position: 94% center;
  }

  .hero-poster {
    top: 34px;
    width: min(86vw, 360px);
    height: 420px;
    border-radius: 30px;
  }

  .floating-card-top {
    top: 67px;
    left: -4px;
    transform: scale(0.86);
    transform-origin: left center;
  }

  .lesson-orbit {
    right: -3px;
    bottom: -18px;
    transform: scale(0.8);
    transform-origin: right bottom;
  }

  .scroll-cue {
    display: none;
  }

  .opening-thought h2 {
    font-size: 36px;
  }

  .thought-stack article {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 19px 17px;
  }

  .thought-stack article span {
    width: 38px;
    height: 38px;
  }

  .principle-bar {
    align-items: flex-start;
    gap: 12px;
    margin-top: 48px;
    padding: 23px 20px;
    border-radius: 20px;
    text-align: left;
  }

  .section-heading h2,
  .first-lesson-copy h2,
  .partner-copy h2,
  .author-copy h2,
  .final-copy h2 {
    font-size: 35px;
  }

  .section-heading > p:not(.eyebrow) {
    font-size: 16px;
  }

  .method-section,
  .lessons-section,
  .first-lesson-section,
    .ecosystem-section,
    .connection-section,
    .education-section,
    .partner-section,
    .author-section {
      padding-top: 78px;
    padding-bottom: 78px;
  }

  .method-path {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 44px;
  }

  .method-step {
    min-height: 83px;
    flex-direction: row;
    gap: 18px;
    text-align: left;
  }

  .method-step:not(:last-child)::after {
    position: absolute;
    top: 64px;
    left: 26px;
    width: 1px;
    height: 26px;
    background: rgba(247, 184, 75, 0.3);
    content: "";
  }

  .method-step span {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .method-step strong {
    margin: 0;
    font-size: 14px;
  }

  .lesson-card-toggle {
    grid-template-columns: 47px 1fr 27px;
    gap: 12px;
    padding: 15px;
  }

  .lesson-number {
    width: 45px;
    height: 45px;
    border-radius: 13px;
  }

  .lesson-card h3 {
    font-size: 15px;
  }

  .lesson-card > p {
    padding: 0 16px 19px 74px;
    font-size: 13px;
  }

  .lesson-conclusion {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .lesson-conclusion p {
    font-size: 15px;
  }

  .cards-stage {
    min-height: 500px;
    margin-inline: -10px;
  }

  .product-card {
    top: 62px;
    width: 155px;
    border-radius: 9px;
  }

  .cards-caption {
    bottom: 15px;
  }

  .belief-list p {
    align-items: flex-start;
  }

  .question-panel {
    padding: 21px 20px;
  }

  .gentle-note {
    grid-template-columns: 31px 1fr;
    padding: 16px;
  }

  .gentle-note > span {
    width: 31px;
    height: 31px;
  }

  .lesson-action .button {
    width: 100%;
  }

  .lesson-action > p {
    text-align: center;
  }

  .eco-card {
    min-height: 0;
    border-radius: 24px;
  }

  .eco-game {
    display: block;
  }

  .eco-copy {
    padding: 27px 22px 30px;
  }

  .eco-game .eco-copy,
  .eco-books .eco-copy {
    max-width: none;
  }

  .eco-card h3 {
    font-size: 29px;
  }

  .eco-game-art {
    position: relative;
    top: auto;
    width: 100%;
    height: 230px;
    min-height: 0;
    margin-top: -8px;
  }

  .eco-game-art img {
    top: 50%;
    width: 42%;
    max-width: 145px;
  }

  .eco-game-art img:first-child {
    left: 17%;
    transform: translateY(-56%) rotate(-9deg);
  }

  .eco-game-art img:last-child {
    right: 17%;
    transform: translateY(-44%) rotate(8deg);
  }

  .record-wrap {
    height: 230px;
  }

  .record-wrap img {
    width: min(205px, calc(100% - 44px));
  }

  .course-visual {
    min-height: 154px;
    gap: 7px;
  }

  .course-visual span {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    font-size: 10px;
  }

  .book-showcase {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 365px;
    margin-top: 2px;
  }

  .cover-book {
    bottom: 8%;
    left: 50%;
    width: 168px;
  }

  .cover-book-1 {
    transform: translateX(-8%) rotateY(-11deg) rotateZ(7deg);
  }

  .cover-book-2 {
    transform: translateX(-113%) rotateY(-17deg) rotateZ(-11deg);
  }

  .cover-book-3 {
    transform: translateX(-87%) rotateY(-15deg) rotateZ(-6deg);
  }

  .cover-book-4 {
    transform: translateX(-61%) rotateY(-13deg) rotateZ(-1deg);
  }

  .cover-book-5 {
    transform: translateX(-34%) rotateY(-12deg) rotateZ(4deg);
  }

  .connection-path {
    grid-template-columns: 1fr;
  }

  .connection-path article {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 4px 17px;
    text-align: left;
  }

  .connection-path article > span {
    width: 60px;
    height: 60px;
    grid-row: span 2;
    margin: 0;
  }

  .connection-path h3 {
    margin: 4px 0 0;
  }

  .connection-path p {
    margin: 0;
  }

  .connection-summary {
    font-size: 16px;
    text-align: left;
  }

  .education-panel {
    gap: 26px;
    padding: 35px 22px 28px;
    border-radius: 28px;
  }

  .education-copy h2 {
    margin-top: 17px;
    font-size: 35px;
    line-height: 1.08;
  }

  .education-lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.72;
  }

  .education-promise {
    margin-top: 22px;
    padding: 16px 17px;
    font-size: 13px;
  }

  .education-points article {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .education-points article > span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .education-points strong {
    font-size: 13px;
  }

  .education-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .education-actions .button {
    width: 100%;
    padding-inline: 17px;
    font-size: 12px;
    text-align: center;
  }

  .education-secondary-link {
    justify-content: center;
  }

  .education-visual {
    min-height: 545px;
  }

  .education-library {
    top: 68px;
    right: -3px;
    left: -3px;
    height: 390px;
  }

  .education-book {
    width: 148px;
    border-radius: 4px 11px 11px 4px;
  }

  .education-book-main {
    width: 166px;
  }

  .education-book-teacher {
    top: 65px;
    transform: translateX(-103%) rotateY(-14deg) rotateZ(-9deg) scale(0.9);
  }

  .education-book-workbook {
    top: 55px;
    transform: translateX(2%) rotateY(-9deg) rotateZ(9deg) scale(0.93);
  }

  .education-pilot-note {
    top: 0;
    right: 50%;
    transform: translateX(50%) rotate(1deg);
  }

  .education-metrics {
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 17px;
  }

  .education-metrics > div {
    min-height: 82px;
    padding: 12px 6px;
  }

  .education-metrics strong {
    font-size: 22px;
  }

  .education-metrics span {
    font-size: 8px;
  }

  .partner-copy .button {
    width: 100%;
  }

  .map-support-panel {
    gap: 28px;
    margin-bottom: 78px;
    padding: 31px 22px;
    border-radius: 26px;
  }

  .map-support-copy .eyebrow {
    justify-content: center;
  }

  .map-support-copy h2 {
    font-size: 32px;
  }

  .map-support-copy > p:last-child {
    font-size: 13px;
  }

  .map-support-logo {
    min-height: 180px;
    padding: 6px;
  }

  .partner-visual {
    min-height: 490px;
    margin-inline: -6px;
  }

  .package-card-main {
    top: 44px;
    left: 0;
    width: 280px;
    height: 410px;
    padding: 25px;
  }

  .package-card-back {
    top: 90px;
    right: 0;
    width: 200px;
    height: 320px;
  }

  .package-lesson strong {
    font-size: 21px;
  }

  .qr-code {
    width: 94px;
    height: 94px;
    margin-top: 20px;
  }

  .author-photo {
    min-height: 530px;
  }

  .author-photo img {
    right: 20px;
    bottom: 28px;
    width: calc(100% - 20px);
    height: calc(100% - 28px);
    border-radius: 28px;
  }

  .author-photo::before {
    inset: 32px 0 0 24px;
    border-radius: 29px;
  }

  .author-sign {
    min-width: 195px;
    padding: 15px 18px;
  }

  .author-sign strong {
    font-size: 17px;
  }

  .author-copy .author-lead {
    font-size: 16px;
  }

  .author-copy blockquote {
    padding: 24px 21px 24px 27px;
  }

  .author-contact {
    margin-top: 27px;
  }

  .author-phone {
    width: 100%;
  }

  .author-messengers {
    display: grid;
    grid-template-columns: 1fr;
  }

  .messenger-link {
    width: 100%;
  }

  .final-section {
    min-height: 0;
    padding: 78px 0 485px;
  }

  .final-image {
    height: 540px;
  }

  .final-image img {
    object-position: 72% center;
  }

  .final-shade {
    background:
      linear-gradient(180deg, #071223 0%, #071223 42%, rgba(7, 18, 35, 0.78) 56%, rgba(7, 18, 35, 0.14) 78%, rgba(7, 18, 35, 0.62) 100%),
      linear-gradient(90deg, rgba(4, 12, 25, 0.44), transparent 80%);
  }

  .final-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .final-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .final-actions > a {
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 38px;
    padding-top: 48px;
  }

  .footer-top nav {
    max-width: none;
    justify-content: flex-start;
  }

  .project-support-inner {
    display: grid;
    width: calc(100% - 32px);
    min-height: 0;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(21, 38, 65, 0.08);
    border-radius: 22px;
    background:
      radial-gradient(circle at 0% 0%, rgba(247, 184, 75, 0.12), transparent 42%),
      rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 34px rgba(16, 32, 59, 0.08);
  }

  .project-support-copy {
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
  }

  .project-support-copy > span {
    display: none;
  }

  .project-support-copy small {
    font-size: 8.5px;
    letter-spacing: 0.075em;
    line-height: 1.45;
  }

  .project-support-copy strong {
    margin-top: 3px;
    font-size: 15.5px;
    line-height: 1.28;
  }

  .project-support-logo {
    position: relative;
    overflow: hidden;
    width: 68px;
    height: 68px;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    border: 1px solid rgba(19, 92, 129, 0.1);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #edf5f8 100%);
    box-shadow: 0 9px 22px rgba(16, 54, 82, 0.1);
  }

  .project-support-logo img {
    position: absolute;
    top: -1px;
    left: 50%;
    width: 182px;
    max-width: none;
    height: auto;
    object-fit: initial;
    filter: none;
    transform: translateX(-50%);
  }

  .project-support-strip {
    padding: 18px 0;
    box-shadow: none;
  }

  .footer-support {
    min-height: 118px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .footer-bottom div {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

}

@media (max-width: 800px) {
  .experience-overlay {
    align-items: end;
    padding: 0;
  }

  .experience-dialog {
    width: 100%;
    max-height: 96svh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 25px 25px 0 0;
  }

  .experience-close {
    top: 13px;
    right: 13px;
    width: 46px;
    height: 46px;
  }

  .experience-progress-wrap {
    padding: 24px 72px 0;
  }

  .experience-screen {
    padding: 34px 20px 32px;
  }

  .experience-intro-cinematic {
    padding: 0 0 34px;
  }

  .experience-intro-scene {
    min-height: 350px;
    border-radius: 24px 24px 0 0;
  }

  .experience-intro-scene-copy {
    width: 68%;
    padding: 52px 0 38px 28px;
  }

  .experience-intro-scene-copy h2 {
    padding-right: 0;
    font-size: 43px;
  }

  .experience-world-mark {
    top: auto;
    right: 18px;
    bottom: 18px;
  }

  .experience-intro-body {
    padding: 28px 20px 0;
  }

  .experience-screen h2 {
    padding-right: 22px;
    font-size: 34px;
  }

  .experience-mode-grid,
  .experience-story-grid,
  .experience-consequences,
  .reward-social-grid,
  .reward-next-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .experience-story-grid {
    gap: 18px;
  }

  .experience-scene,
  .experience-perspective-scene {
    min-height: 230px;
  }

  .experience-family-rule {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .experience-family-rule strong {
    white-space: normal;
  }

  .experience-consequences article {
    min-height: 0;
  }

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

  .comparison-grid > div {
    min-height: 35px;
  }

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

  .experience-power-card {
    min-height: 290px;
  }

  .reward-continuations {
    grid-column: auto;
  }

  .experience-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .experience-actions .button,
  .experience-screen > .button {
    width: 100%;
  }

  .experience-utility {
    padding: 12px 20px 16px;
  }

  .continuation-overlay {
    align-items: end;
    padding: 0;
  }

  .continuation-card {
    width: 100%;
    max-height: 92svh;
    padding: 32px 20px 28px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .continuation-card h2 {
    padding-right: 24px;
    font-size: 32px;
  }

  .partner-poster {
    width: min(390px, 92%);
  }

  .partner-lion-peek {
    top: 32px;
    right: -4px;
    width: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lesson-entry-image img,
  .lesson-entry-orbit-one,
  .lesson-entry-orbit-two {
    animation: none !important;
  }
}

/* Monetization architecture: gateway, game, course ladder and lesson continuation */

.gateway-choice-product {
  grid-template-columns: 154px minmax(0, 1fr);
  background:
    radial-gradient(circle at 19% 40%, rgba(53, 196, 186, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(24, 55, 88, 0.92), rgba(9, 27, 51, 0.94));
}

.gateway-choice-product-image {
  position: relative;
  overflow: hidden;
  background: #0b1b2f;
}

.gateway-choice-product-image::before {
  position: absolute;
  inset: -16px;
  background: url("https://mentometologiya.ru/assets/game-box-family.webp") center / cover no-repeat;
  content: "";
  filter: blur(12px) brightness(0.58) saturate(0.82);
  opacity: 0.72;
  transform: scale(1.12);
}

.gateway-choice-product-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.38));
  transform: scale(0.95);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gateway-choice-product:hover .gateway-choice-product-image img {
  transform: scale(0.99);
}

.gateway-choice-product-image span {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 65%, rgba(8, 23, 43, 0.9) 100%),
    linear-gradient(180deg, rgba(5, 17, 33, 0.08), rgba(5, 17, 33, 0.25));
}

.gateway-box-logo {
  position: absolute;
  z-index: 2;
  top: 47%;
  left: 47%;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(173, 123, 41, 0.38);
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 12px rgba(76, 45, 4, 0.18);
  transform: translate(-50%, -50%);
}

.gateway-box-logo img {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 77px;
  max-width: none;
  height: auto;
  object-fit: initial;
  transform: translateX(-50%);
}

.gateway-choice-product .gateway-choice-copy small {
  color: #83e4da;
}

.header-buy-button {
  box-shadow:
    0 14px 30px rgba(247, 184, 75, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.5);
}

.mobile-buy-bar {
  display: none;
}

/* Full game page */

.game-page {
  min-height: 100svh;
  overflow: hidden;
  background: var(--cream);
}

.game-header {
  background: var(--cream);
}

.game-hero {
  position: relative;
  display: grid;
  min-height: 790px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: center;
  padding: 80px max(32px, calc((100% - 1240px) / 2)) 95px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 40%, rgba(44, 190, 180, 0.2), transparent 28%),
    radial-gradient(circle at 12% 73%, rgba(121, 108, 224, 0.14), transparent 34%),
    linear-gradient(135deg, #102542 0%, #09192f 58%, #071426 100%);
  color: white;
}

.game-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.game-hero-copy {
  position: relative;
  z-index: 2;
}

.game-hero-copy h1 {
  margin: 0;
  font-size: clamp(50px, 5.2vw, 76px);
  font-weight: 730;
  letter-spacing: -0.056em;
  line-height: 1.01;
}

.game-hero-copy h1 em {
  color: var(--gold);
  font-style: normal;
}

.game-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 27px 0 0;
  color: rgba(231, 239, 249, 0.73);
  font-size: 18px;
  line-height: 1.72;
}

.game-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 29px;
}

.game-hero-facts span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(229, 238, 248, 0.68);
  font-size: 11px;
  font-weight: 670;
  backdrop-filter: blur(12px);
}

.game-hero-facts strong {
  margin-right: 4px;
  color: white;
  font-size: 14px;
}

.game-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  align-items: center;
  margin-top: 33px;
}

.game-secondary-link {
  color: rgba(237, 243, 250, 0.79);
  font-size: 12px;
  font-weight: 730;
}

.game-secondary-link:hover {
  color: white;
}

.game-box-stage {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 560px);
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.game-box-glow {
  position: absolute;
  z-index: 0;
  right: 6%;
  bottom: 5%;
  width: 70%;
  height: 40%;
  border-radius: 50%;
  background: rgba(60, 210, 198, 0.18);
  filter: blur(55px);
}

.game-box-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.game-box-logo {
  position: absolute;
  z-index: 2;
  top: 46.5%;
  left: 46%;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 1px solid rgba(173, 123, 41, 0.42);
  border-radius: 50%;
  background: white;
  box-shadow:
    0 8px 22px rgba(76, 45, 4, 0.18),
    0 0 0 7px rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%);
}

.game-box-logo img {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 212px;
  max-width: none;
  transform: translateX(-50%);
}

.game-principle,
.game-compare,
.game-faq {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
}

.game-principle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 80px;
  align-items: start;
  padding: 118px 0;
}

.game-principle h2,
.game-section-heading h2,
.paid-materials h2,
.game-offers h2 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 730;
  letter-spacing: -0.048em;
  line-height: 1.08;
}

.game-principle > p {
  margin: 38px 0 0;
  color: #596a82;
  font-size: 17px;
  line-height: 1.8;
}

.game-steps {
  padding: 115px max(32px, calc((100% - 1240px) / 2)) 125px;
  background: #f3eadc;
}

.game-section-heading {
  max-width: 800px;
}

.game-section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.game-section-heading > p:last-child {
  max-width: 690px;
  margin: 23px 0 0;
  color: #65748a;
}

.game-section-heading.centered > p:last-child {
  margin-inline: auto;
}

.game-section-heading-light {
  color: white;
}

.game-section-heading-light > p:last-child {
  color: rgba(226, 236, 248, 0.67);
}

.game-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-top: 58px;
}

.game-steps-grid article {
  position: relative;
  min-height: 535px;
  overflow: hidden;
  padding: 0 25px 27px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 29px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 55px rgba(38, 42, 49, 0.08);
}

.game-step-card-art {
  height: 282px;
  margin: 0 -25px 23px;
  overflow: hidden;
  background: #e4d8c7;
}

.game-step-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.game-steps-grid article > span {
  display: inline-flex;
  min-width: 39px;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8f5f2;
  color: #17877f;
  font-size: 10px;
  font-weight: 850;
}

.game-steps-grid h3 {
  margin: 15px 0 0;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.game-steps-grid p {
  margin: 12px 0 0;
  color: #617086;
  font-size: 13px;
  line-height: 1.67;
}

.game-topics {
  padding: 120px max(32px, calc((100% - 1240px) / 2)) 130px;
  background:
    radial-gradient(circle at 82% 22%, rgba(43, 190, 180, 0.17), transparent 25%),
    linear-gradient(135deg, #102542, #071426);
}

.game-topics ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
}

.game-topics li {
  display: grid;
  min-height: 72px;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
}

.game-topics li span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(248, 190, 82, 0.13);
  color: #ffd06d;
  font-size: 10px;
  font-weight: 820;
}

.game-topics li strong {
  color: rgba(242, 246, 251, 0.91);
  font-size: 15px;
}

.game-compare {
  padding: 120px 0;
}

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

.game-compare-grid article {
  min-height: 400px;
  padding: 39px;
  border: 1px solid rgba(21, 38, 65, 0.11);
  border-radius: 29px;
  background: white;
  box-shadow: 0 24px 60px rgba(21, 38, 65, 0.07);
}

.game-compare-grid article.is-featured {
  border-color: rgba(41, 182, 171, 0.32);
  background:
    radial-gradient(circle at 95% 0%, rgba(41, 182, 171, 0.15), transparent 28%),
    white;
}

.game-compare-grid small {
  color: #1b958c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-compare-grid h3 {
  margin: 14px 0 0;
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1.13;
}

.game-compare-grid ul {
  margin: 25px 0 30px;
  padding-left: 20px;
  color: #617086;
  font-size: 14px;
  line-height: 1.9;
}

.paid-materials {
  display: grid;
  width: min(1140px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 75px;
  align-items: center;
  margin: 0 auto 120px;
  padding: 62px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 203, 99, 0.14), transparent 28%),
    linear-gradient(135deg, #16304f, #09172b);
  color: white;
  box-shadow: 0 30px 80px rgba(7, 20, 39, 0.18);
}

.paid-materials > div > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(255, 206, 104, 0.13);
  color: #ffd06d;
}

.paid-materials h2 {
  font-size: clamp(37px, 3.5vw, 52px);
}

.paid-materials > p {
  margin: 0;
  color: rgba(228, 237, 248, 0.7);
  font-size: 15px;
  line-height: 1.85;
}

.game-offers {
  padding: 115px max(32px, calc((100% - 1140px) / 2)) 125px;
  background:
    radial-gradient(circle at 14% 12%, rgba(41, 182, 171, 0.15), transparent 30%),
    linear-gradient(135deg, #102b49, #071426);
}

.game-offer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  color: white;
}

.game-offer-intro h2 {
  max-width: 590px;
  margin: 14px 0 0;
  color: white;
  font-size: clamp(40px, 4.5vw, 62px);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.game-offer-intro > p:last-child {
  max-width: 560px;
  margin: 23px 0 0;
  color: rgba(229, 238, 249, 0.68);
  font-size: 15px;
  line-height: 1.75;
}

.game-offer-product {
  padding-left: clamp(0px, 4vw, 54px);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.game-offer-product small {
  color: #77ddd3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-offer-product h3 {
  margin: 14px 0 0;
  color: white;
  font-size: clamp(31px, 3.2vw, 43px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.game-offer-product > p {
  margin: 18px 0 0;
  color: rgba(229, 238, 249, 0.64);
  font-size: 14px;
}

.game-offer-action {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

.game-offer-action > strong {
  color: #ffd06d;
  font-size: 43px;
  letter-spacing: -0.05em;
}

.game-preorder-button {
  display: inline-flex;
  width: 100%;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffd270, var(--gold));
  box-shadow: 0 14px 30px rgba(245, 184, 75, 0.18);
  color: #152641;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-preorder-button:hover {
  box-shadow: 0 18px 38px rgba(245, 184, 75, 0.27);
  transform: translateY(-2px);
}

.game-faq {
  padding: 120px 0;
}

.game-faq > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 50px;
}

.game-faq article {
  padding: 29px 31px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 22px;
  background: white;
}

.game-faq h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.game-faq article p {
  margin: 11px 0 0;
  color: #69778a;
  font-size: 13px;
  line-height: 1.7;
}

.game-footer {
  border-top: 1px solid rgba(21, 38, 65, 0.1);
}

/* Replay value on the game page */

.game-depth-preview {
  padding: 120px max(32px, calc((100% - 1240px) / 2)) 125px;
  background:
    radial-gradient(circle at 86% 14%, rgba(42, 190, 180, 0.2), transparent 28%),
    radial-gradient(circle at 8% 86%, rgba(121, 108, 224, 0.16), transparent 30%),
    linear-gradient(135deg, #102542, #071426);
  color: white;
}

.game-depth-preview-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.68fr);
  gap: 75px;
  align-items: end;
}

.game-depth-preview-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 730;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.game-depth-preview-heading > p {
  margin: 0 0 5px;
  color: rgba(229, 238, 249, 0.68);
  font-size: 15px;
  line-height: 1.82;
}

.game-depth-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 58px;
}

.game-depth-preview-grid article {
  min-height: 315px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.game-depth-preview-grid article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 206, 104, 0.14);
  color: #ffd06d;
  font-size: 16px;
  font-weight: 850;
}

.game-depth-preview-grid h3 {
  margin: 50px 0 0;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.game-depth-preview-grid p {
  margin: 15px 0 0;
  color: rgba(229, 238, 249, 0.64);
  font-size: 12px;
  line-height: 1.72;
}

.game-depth-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 33px;
  padding: 27px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.045);
}

.game-depth-preview-footer p {
  max-width: 720px;
  margin: 0;
  color: rgba(231, 239, 249, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

.game-depth-preview-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
}

.game-depth-instruction-link {
  color: rgba(241, 246, 252, 0.8);
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
  transition: color 180ms ease;
}

.game-depth-instruction-link:hover {
  color: white;
}

/* Full instruction */

.instruction-page {
  min-height: 100svh;
  overflow: hidden;
  background: var(--cream);
}

.instruction-header {
  background: rgba(255, 249, 239, 0.96);
  backdrop-filter: blur(18px);
}

.instruction-hero {
  position: relative;
  display: grid;
  min-height: 790px;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.78fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: center;
  padding: 88px max(32px, calc((100% - 1240px) / 2)) 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(43, 190, 180, 0.23), transparent 29%),
    radial-gradient(circle at 10% 76%, rgba(121, 108, 224, 0.14), transparent 34%),
    linear-gradient(135deg, #102542 0%, #09192f 58%, #071426 100%);
  color: white;
}

.instruction-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.instruction-hero-copy {
  position: relative;
  z-index: 2;
}

.instruction-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(49px, 5vw, 74px);
  font-weight: 730;
  letter-spacing: -0.056em;
  line-height: 1.01;
}

.instruction-hero-copy h1 em {
  color: var(--gold);
  font-style: normal;
}

.instruction-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 27px 0 0;
  color: rgba(231, 239, 249, 0.73);
  font-size: 18px;
  line-height: 1.72;
}

.instruction-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 29px;
}

.instruction-facts span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(229, 238, 248, 0.68);
  font-size: 11px;
  font-weight: 670;
  backdrop-filter: blur(12px);
}

.instruction-facts strong {
  margin-right: 4px;
  color: white;
  font-size: 14px;
}

.instruction-hero-copy .button {
  margin-top: 33px;
}

.instruction-hero-art {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 560px);
  aspect-ratio: 0.94;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.instruction-hero-art > img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.instruction-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(107, 224, 213, 0.25);
  border-radius: 50%;
}

.instruction-orbit-one {
  right: -12%;
  bottom: -10%;
  width: 73%;
  height: 73%;
}

.instruction-orbit-two {
  top: 7%;
  left: -8%;
  width: 43%;
  height: 43%;
}

.instruction-contents {
  display: grid;
  width: min(1180px, calc(100% - 64px));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin: -27px auto 0;
  padding: 10px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 60px rgba(10, 25, 48, 0.14);
  position: relative;
  z-index: 4;
}

.instruction-contents a {
  display: flex;
  min-height: 59px;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  border-radius: 14px;
  color: #53637a;
  font-size: 11px;
  font-weight: 760;
  transition: background 180ms ease, color 180ms ease;
}

.instruction-contents a:hover {
  background: #f3eadc;
  color: var(--ink);
}

.instruction-contents span {
  color: #1a958c;
  font-size: 9px;
  font-weight: 850;
}

.instruction-about,
.instruction-depth-intro,
.instruction-final {
  display: grid;
  width: min(1140px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.73fr);
  gap: 80px;
  margin-inline: auto;
}

.instruction-about {
  padding: 125px 0 118px;
}

.instruction-about h2,
.instruction-section-heading h2,
.instruction-depth-intro h2,
.instruction-everyday h2,
.instruction-final h2 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 730;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.instruction-about > div:last-child > p {
  margin: 37px 0 0;
  color: #5d6d83;
  font-size: 16px;
  line-height: 1.82;
}

.instruction-about blockquote {
  margin: 28px 0 0;
  padding: 26px 28px;
  border: 0;
  border-left: 4px solid var(--teal);
  border-radius: 0 18px 18px 0;
  background: #edf7f4;
  color: #20435a;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.7;
}

.instruction-start {
  padding: 115px max(32px, calc((100% - 1180px) / 2)) 125px;
  background: #f2e8d9;
}

.instruction-section-heading {
  max-width: 830px;
}

.instruction-section-heading > p:last-child {
  max-width: 700px;
  margin: 22px 0 0;
  color: #647389;
  font-size: 15px;
  line-height: 1.8;
}

.instruction-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.instruction-start-grid article {
  min-height: 300px;
  padding: 38px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 23px 55px rgba(30, 40, 54, 0.07);
}

.instruction-start-grid article > span {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 15px;
  background: #e5f4f1;
  color: #17877f;
  font-size: 11px;
  font-weight: 850;
}

.instruction-start-grid h3 {
  margin: 45px 0 0;
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.instruction-start-grid p {
  margin: 16px 0 0;
  color: #617086;
  font-size: 14px;
  line-height: 1.78;
}

.instruction-start-grid .is-wide {
  display: grid;
  min-height: 190px;
  grid-column: 1 / -1;
  grid-template-columns: 55px 1fr;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(41, 182, 171, 0.14), transparent 34%),
    white;
}

.instruction-start-grid .is-wide h3 {
  margin: 0;
}

.instruction-start-grid .is-wide p {
  max-width: 760px;
}

.instruction-steps {
  padding: 120px max(32px, calc((100% - 1180px) / 2)) 130px;
}

.instruction-step-list {
  display: grid;
  gap: 19px;
  margin-top: 57px;
}

.instruction-step-list article {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 31px;
  background: white;
  box-shadow: 0 25px 65px rgba(21, 38, 65, 0.07);
}

.instruction-step-list article:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.instruction-step-list article:nth-child(even) .instruction-step-image {
  order: 2;
}

.instruction-step-image {
  min-height: 360px;
  overflow: hidden;
  background: #e4d8c7;
}

.instruction-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.instruction-step-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 43px 50px;
}

.instruction-step-copy > span {
  display: grid;
  width: 45px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: #e8f5f2;
  color: #17877f;
  font-size: 10px;
  font-weight: 850;
}

.instruction-step-copy h3 {
  margin: 18px 0 0;
  font-size: 38px;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.instruction-step-copy p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #617086;
  font-size: 14px;
  line-height: 1.78;
}

.instruction-step-copy strong {
  max-width: 610px;
  margin-top: 24px;
  padding: 16px 19px;
  border-radius: 14px;
  background: #f5eddf;
  color: #705a35;
  font-size: 13px;
}

.instruction-safety {
  padding: 118px max(32px, calc((100% - 1180px) / 2)) 128px;
  background:
    radial-gradient(circle at 86% 15%, rgba(43, 190, 180, 0.18), transparent 26%),
    linear-gradient(135deg, #102542, #071426);
  color: white;
}

.instruction-songs {
  padding: 112px max(32px, calc((100% - 1180px) / 2)) 118px;
  background:
    radial-gradient(circle at 88% 16%, rgba(41, 182, 171, 0.14), transparent 28%),
    #fffaf2;
}

.instruction-songs-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.73fr);
  gap: 80px;
  align-items: end;
}

.instruction-songs-intro h2 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 730;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.instruction-songs-intro > p {
  margin: 0 0 5px;
  color: #5d6d83;
  font-size: 15px;
  line-height: 1.82;
}

.instruction-songs-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
  margin-top: 54px;
}

.instruction-songs-copy,
.instruction-songs-practice {
  padding: 38px 40px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 55px rgba(21, 38, 65, 0.06);
}

.instruction-songs-copy p {
  margin: 0;
  color: #5d6d83;
  font-size: 14px;
  line-height: 1.82;
}

.instruction-songs-copy p + p {
  margin-top: 20px;
}

.instruction-songs-practice h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.instruction-songs-practice ul {
  margin: 25px 0 0;
  padding-left: 21px;
  color: #5d6d83;
  font-size: 13px;
  line-height: 1.72;
}

.instruction-songs-practice li + li {
  margin-top: 9px;
}

.instruction-songs-question {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  margin: 22px 0 0;
  padding: 31px 38px;
  border: 0;
  border-radius: 25px;
  background: linear-gradient(135deg, #16304f, #0a1a30);
  color: white;
}

.instruction-songs-question span {
  color: rgba(232, 240, 248, 0.66);
  font-size: 12px;
  line-height: 1.65;
}

.instruction-songs-question strong {
  color: #ffd06d;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.instruction-safety .instruction-section-heading {
  max-width: 900px;
}

.instruction-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 55px;
}

.instruction-rule-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.055);
}

.instruction-rule-grid span {
  color: #ffd06d;
  font-size: 10px;
  font-weight: 850;
}

.instruction-rule-grid h3 {
  margin: 55px 0 0;
  font-size: 23px;
  letter-spacing: -0.034em;
  line-height: 1.14;
}

.instruction-rule-grid p {
  margin: 14px 0 0;
  color: rgba(229, 238, 249, 0.64);
  font-size: 12px;
  line-height: 1.72;
}

.instruction-depth {
  padding: 122px max(32px, calc((100% - 1180px) / 2)) 130px;
  background: #f2eadf;
}

.instruction-depth-intro {
  width: 100%;
  margin: 0;
  align-items: end;
}

.instruction-depth-intro > p,
.instruction-depth-access > p {
  margin: 0 0 5px;
  color: #627188;
  font-size: 15px;
  line-height: 1.82;
}

.instruction-depth-access strong {
  color: #18304e;
  font-weight: 780;
}

.instruction-depth-access a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: #087c75;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.instruction-depth-access a:hover {
  color: #075f5a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.instruction-depth-list {
  display: grid;
  gap: 15px;
  margin-top: 58px;
}

.instruction-depth-list article {
  display: grid;
  min-height: 285px;
  grid-template-columns: 92px minmax(0, 1fr) minmax(310px, 0.72fr);
  gap: 31px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.79);
  box-shadow: 0 22px 55px rgba(21, 38, 65, 0.065);
}

.instruction-depth-number {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(41, 182, 171, 0.22);
  border-radius: 27px;
  background: #e8f5f2;
  color: #168b83;
  font-size: 35px;
  font-weight: 830;
}

.instruction-depth-copy small {
  color: #168b83;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instruction-depth-copy h3 {
  margin: 9px 0 0;
  font-size: 29px;
  letter-spacing: -0.04em;
  line-height: 1.11;
}

.instruction-depth-copy strong {
  display: block;
  margin-top: 12px;
  color: #846526;
  font-size: 11px;
}

.instruction-depth-copy p {
  max-width: 590px;
  margin: 15px 0 0;
  color: #617086;
  font-size: 13px;
  line-height: 1.72;
}

.instruction-depth-list ul {
  margin: 0;
  padding: 22px 23px 22px 40px;
  border-radius: 19px;
  background: #f5eddf;
  color: #5d6c80;
  font-size: 12px;
  line-height: 1.72;
}

.instruction-depth-list li + li {
  margin-top: 7px;
}

.instruction-depth-result {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 45px;
  align-items: center;
  margin-top: 24px;
  padding: 37px 42px;
  border-radius: 25px;
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 203, 99, 0.13), transparent 26%),
    linear-gradient(135deg, #16304f, #09172b);
  color: white;
}

.instruction-depth-result div {
  display: flex;
  flex-direction: column;
}

.instruction-depth-result strong {
  color: #ffd06d;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.instruction-depth-result span {
  margin-top: 4px;
  color: rgba(232, 240, 248, 0.58);
  font-size: 11px;
}

.instruction-depth-result p {
  margin: 0;
  color: rgba(232, 240, 248, 0.71);
  font-size: 13px;
  line-height: 1.78;
}

.instruction-depth-course {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 18px;
  padding: 32px 36px;
  border: 1px solid rgba(132, 101, 38, 0.16);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(21, 38, 65, 0.05);
}

.instruction-depth-course small {
  color: #168b83;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instruction-depth-course h3 {
  margin: 8px 0 0;
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.instruction-depth-course p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #617086;
  font-size: 13px;
  line-height: 1.72;
}

.instruction-depth-course .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.instruction-everyday {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.68fr);
  gap: 85px;
  align-items: center;
  padding: 125px max(32px, calc((100% - 1180px) / 2)) 130px;
  background:
    radial-gradient(circle at 83% 45%, rgba(43, 190, 180, 0.2), transparent 30%),
    radial-gradient(circle at 10% 82%, rgba(121, 108, 224, 0.14), transparent 30%),
    linear-gradient(135deg, #102542, #071426);
  color: white;
}

.instruction-everyday-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 23px 0 0;
  color: rgba(229, 238, 249, 0.68);
  font-size: 15px;
  line-height: 1.82;
}

.instruction-example {
  margin-top: 31px;
  padding: 25px 27px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.065);
}

.instruction-example small {
  color: #ffd06d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instruction-example p {
  margin: 12px 0 0;
  color: rgba(240, 244, 249, 0.88);
  font-size: 13px;
  line-height: 1.75;
}

.instruction-invitation strong {
  color: white;
}

.instruction-daily-card {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.instruction-daily-card h3 {
  margin: 0;
  font-size: 38px;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.instruction-daily-card ol {
  display: grid;
  gap: 9px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.instruction-daily-card li {
  display: grid;
  min-height: 58px;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: center;
  padding: 8px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(239, 244, 249, 0.86);
  font-size: 12px;
  font-weight: 680;
}

.instruction-daily-card li span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 206, 104, 0.14);
  color: #ffd06d;
  font-size: 10px;
  font-weight: 850;
}

.instruction-daily-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.instruction-daily-card > div > span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(228, 237, 247, 0.56);
  font-size: 9px;
}

.instruction-timing {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
  padding: 120px 0 125px;
}

.instruction-timing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
}

.instruction-timing-grid article {
  min-height: 320px;
  padding: 38px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 27px;
  background: white;
  box-shadow: 0 22px 55px rgba(21, 38, 65, 0.06);
}

.instruction-timing-grid article.is-good {
  border-color: rgba(41, 182, 171, 0.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(41, 182, 171, 0.12), transparent 32%),
    white;
}

.instruction-timing-grid article.is-pause {
  border-color: rgba(255, 114, 94, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 114, 94, 0.09), transparent 32%),
    white;
}

.instruction-timing-grid small {
  color: #188e85;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instruction-timing-grid .is-pause small {
  color: #b75e50;
}

.instruction-timing-grid ul {
  margin: 42px 0 0;
  padding-left: 21px;
  color: #5e6d82;
  font-size: 14px;
  line-height: 1.9;
}

.instruction-final {
  width: auto;
  margin: 0;
  padding: 108px max(32px, calc((100% - 1140px) / 2));
  align-items: center;
  background:
    radial-gradient(circle at 80% 35%, rgba(248, 190, 82, 0.13), transparent 29%),
    linear-gradient(135deg, #16304f, #09172b);
  color: white;
}

.instruction-final p:not(.eyebrow) {
  max-width: 700px;
  margin: 21px 0 0;
  color: rgba(229, 238, 249, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.instruction-final-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
}

.instruction-final-link {
  color: rgba(239, 244, 249, 0.76);
  font-size: 12px;
  font-weight: 750;
}

.instruction-final-link:hover {
  color: white;
}

.instruction-footer {
  border-top: 1px solid rgba(21, 38, 65, 0.1);
}

/* Course catalog and product ladder */

.course-parts-section {
  padding: 115px max(32px, calc((100% - 1180px) / 2)) 125px;
  background:
    radial-gradient(circle at 87% 14%, rgba(43, 190, 180, 0.13), transparent 26%),
    linear-gradient(135deg, #102542, #071426);
  color: white;
}

.course-parts-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 75px;
  align-items: end;
}

.course-parts-heading h2,
.family-thousand h2,
.product-ladder-heading h2,
.family-paid-note h2 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 730;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.course-parts-heading > p {
  margin: 0 0 6px;
  color: rgba(229, 238, 249, 0.68);
  font-size: 15px;
  line-height: 1.8;
}

.course-primary-parts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.course-part-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 39px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(15px);
}

.course-part-paid {
  background:
    radial-gradient(circle at 100% 0%, rgba(248, 190, 82, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.075);
}

.course-part-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.course-part-top span {
  color: #77ddd3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-part-top strong {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 206, 104, 0.13);
  color: #ffd06d;
  font-size: 11px;
}

.course-part-card h3 {
  margin: 25px 0 0;
  font-size: 38px;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.course-part-card > p {
  margin: 19px 0 0;
  color: rgba(229, 238, 249, 0.68);
  font-size: 14px;
  line-height: 1.74;
}

.course-part-card ul {
  margin: 22px 0 30px;
  padding-left: 20px;
  color: rgba(231, 239, 249, 0.75);
  font-size: 13px;
  line-height: 1.85;
}

.course-action {
  display: inline-flex;
  width: 100%;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(237, 243, 250, 0.54);
  font-size: 12px;
  font-weight: 780;
}

.course-action.is-disabled {
  cursor: not-allowed;
}

.course-action.is-active {
  background: linear-gradient(135deg, #ffd270, var(--gold));
  box-shadow: 0 12px 28px rgba(245, 184, 75, 0.18);
  color: #152641;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-action.is-active:hover {
  box-shadow: 0 16px 34px rgba(245, 184, 75, 0.27);
  transform: translateY(-2px);
}

.course-guide-action {
  margin-bottom: 10px;
  border-color: rgba(21, 38, 65, 0.16);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.course-guide-action:hover {
  border-color: rgba(21, 38, 65, 0.27);
  background: white;
}

.course-part-card > small {
  margin-top: 10px;
  color: rgba(224, 234, 246, 0.42);
  font-size: 9px;
  text-align: center;
}

.course-future-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.course-future-grid article {
  display: grid;
  min-height: 94px;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.course-future-grid article > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 820;
}

.course-future-grid div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.course-future-grid small {
  color: rgba(222, 233, 245, 0.42);
  font-size: 9px;
}

.course-future-grid strong {
  margin-top: 3px;
  color: rgba(238, 243, 250, 0.72);
  font-size: 11px;
}

.family-thousand {
  position: relative;
  display: grid;
  width: min(1140px, calc(100% - 64px));
  min-height: 340px;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 55px;
  align-items: center;
  margin: 110px auto;
  padding: 50px 58px;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 7% 40%, rgba(41, 182, 171, 0.16), transparent 28%),
    white;
  box-shadow: 0 28px 70px rgba(21, 38, 65, 0.08);
}

.family-thousand-number {
  color: #1ba399;
  font-size: clamp(72px, 9vw, 124px);
  font-weight: 830;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.family-thousand h2 {
  font-size: clamp(36px, 3.6vw, 51px);
}

.family-thousand p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: #637288;
  font-size: 14px;
  line-height: 1.75;
}

.family-thousand-status {
  position: absolute;
  right: 27px;
  bottom: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4ead8;
  color: #8c6a2c;
  font-size: 9px;
  font-weight: 790;
}

.family-thousand-status:hover {
  background: #ead9bb;
  color: #765518;
}

.product-ladder {
  padding: 115px max(32px, calc((100% - 1180px) / 2)) 125px;
  background: #f2eadf;
}

.product-ladder-heading {
  max-width: 800px;
}

.product-ladder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 50px;
}

.product-ladder-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.72);
}

.product-ladder-grid article.is-featured {
  border-color: rgba(41, 182, 171, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(41, 182, 171, 0.16), transparent 34%),
    white;
}

.product-ladder-grid span {
  color: #168b83;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-ladder-grid h3 {
  margin: 42px 0 0;
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.product-ladder-grid p {
  margin: 13px 0 0;
  color: #66758a;
  font-size: 12px;
  line-height: 1.67;
}

.family-paid-note {
  display: grid;
  width: min(1140px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 70px;
  align-items: center;
  margin: 110px auto;
  padding: 55px 60px;
  border-radius: 31px;
  background: linear-gradient(135deg, #15304f, #09172b);
  color: white;
}

.family-paid-note h2 {
  font-size: clamp(35px, 3.4vw, 49px);
}

.family-paid-note > p {
  margin: 0;
  color: rgba(229, 238, 249, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.family-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

/* Five free situations */

.lesson-situations {
  padding: 110px max(32px, calc((100% - 1180px) / 2)) 125px;
  background:
    radial-gradient(circle at 88% 10%, rgba(43, 190, 180, 0.15), transparent 28%),
    linear-gradient(135deg, #0d213c, #061326);
  color: white;
}

.lesson-situations-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 70px;
  align-items: end;
}

.lesson-situations-heading h2 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 730;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.lesson-situations-heading > p {
  margin: 0 0 5px;
  color: rgba(228, 237, 248, 0.67);
  font-size: 14px;
  line-height: 1.8;
}

.lesson-situation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 50px;
}

.lesson-situation-card {
  position: relative;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  color: white;
  text-align: left;
}

a.lesson-situation-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 190ms ease, transform 190ms ease, background 190ms ease;
}

a.lesson-situation-card:hover {
  border-color: rgba(255, 208, 109, 0.48);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-5px);
}

.lesson-situation-card.is-available {
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 204, 98, 0.16), transparent 36%),
    rgba(255, 255, 255, 0.075);
}

.lesson-situation-card > span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd06d;
  font-size: 11px;
  font-weight: 850;
}

.lesson-situation-card small {
  display: block;
  margin-top: 31px;
  color: #7fdbd2;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-situation-card.is-coming small {
  color: rgba(227, 236, 247, 0.43);
}

.lesson-situation-card h3 {
  margin: 10px 0 0;
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.lesson-situation-card p {
  margin: 12px 0 0;
  color: rgba(227, 236, 247, 0.57);
  font-size: 11px;
  line-height: 1.65;
}

.lesson-situation-card > strong {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: white;
  font-size: 10px;
}

.lesson-situation-card > strong span {
  margin-left: 4px;
  color: #ffd06d;
}

/* Product continuation inside the completed lesson */

.reward-game-offer {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(21, 38, 65, 0.11);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(41, 182, 171, 0.13), transparent 33%),
    #f6f0e7;
}

.reward-game-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 20px;
  background: #0a1d34;
}

.reward-game-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.reward-game-visual > span {
  position: absolute;
  top: 48%;
  left: 46%;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 1px solid rgba(173, 123, 41, 0.38);
  border-radius: 50%;
  background: white;
  box-shadow: 0 6px 16px rgba(76, 45, 4, 0.17);
  transform: translate(-50%, -50%);
}

.reward-game-visual > span img {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 116px;
  max-width: none;
  transform: translateX(-50%);
}

.reward-game-copy {
  padding: 18px 17px 18px 2px;
}

.reward-game-copy h3 {
  margin: 9px 0 0;
  font-size: 29px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.reward-game-copy > p:not(.experience-overline) {
  margin: 14px 0 0;
  color: #627087;
  font-size: 12px;
  line-height: 1.68;
}

.reward-game-copy > div {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.reward-game-copy > div strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.reward-game-copy > div small {
  color: #7c8797;
  font-size: 9px;
}

.reward-game-copy .button {
  width: 100%;
  min-height: 49px;
  margin-top: 18px;
  padding-inline: 15px;
  font-size: 11px;
}

@media (max-width: 1080px) {
  .game-hero {
    grid-template-columns: 1fr;
  }

  .game-hero-copy {
    max-width: 800px;
  }

  .game-box-stage {
    justify-self: center;
    width: min(100%, 650px);
  }

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

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

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

  .instruction-hero-copy {
    max-width: 850px;
  }

  .instruction-hero-art {
    justify-self: center;
    width: min(100%, 650px);
  }

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

  .instruction-songs-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .instruction-depth-list article {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .instruction-depth-list ul {
    grid-column: 2;
  }

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

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

@media (max-width: 800px) {
  main:has(> .mobile-buy-bar) {
    padding-bottom: 74px;
  }

  .mobile-buy-bar {
    position: fixed;
    z-index: 80;
    right: 12px;
    bottom: 11px;
    left: 12px;
    display: flex;
    min-height: 55px;
    align-items: center;
    justify-content: space-between;
    padding: 0 19px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 17px;
    background: linear-gradient(135deg, #ffd270, #f4b84b);
    box-shadow: 0 16px 45px rgba(5, 18, 35, 0.28);
    color: #152641;
    font-size: 13px;
    font-weight: 820;
  }

  .gateway-choice-product {
    grid-template-columns: 135px minmax(0, 1fr);
  }

  .game-hero {
    min-height: auto;
    gap: 50px;
    padding: 68px 18px 80px;
  }

  .game-hero-copy h1 {
    font-size: clamp(43px, 11vw, 61px);
  }

  .game-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .game-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-box-stage {
    min-height: 540px;
    border-radius: 29px;
  }

  .game-box-logo {
    width: 126px;
    height: 126px;
  }

  .game-box-logo img {
    width: 179px;
  }

  .game-principle,
  .game-compare,
  .game-faq,
  .paid-materials,
  .family-thousand,
  .family-paid-note {
    width: calc(100% - 36px);
  }

  .game-principle,
  .course-parts-heading,
  .lesson-situations-heading,
  .family-paid-note,
  .paid-materials,
  .game-depth-preview-heading,
  .instruction-about,
  .instruction-depth-intro,
  .instruction-everyday,
  .instruction-final {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .game-principle {
    padding: 85px 0;
  }

  .game-principle > p {
    margin-top: 0;
  }

  .game-principle h2,
  .game-section-heading h2,
  .paid-materials h2,
  .game-offers h2,
  .game-depth-preview-heading h2,
  .course-parts-heading h2,
  .family-thousand h2,
  .product-ladder-heading h2,
  .family-paid-note h2,
  .lesson-situations-heading h2,
  .instruction-about h2,
  .instruction-section-heading h2,
  .instruction-depth-intro h2,
  .instruction-everyday h2,
  .instruction-final h2 {
    font-size: clamp(37px, 9.5vw, 50px);
  }

  .game-steps,
  .game-topics,
  .game-offers,
  .game-depth-preview,
  .course-parts-section,
  .product-ladder,
  .lesson-situations,
  .instruction-start,
  .instruction-steps,
  .instruction-safety,
  .instruction-depth,
  .instruction-everyday,
  .instruction-final {
    padding: 88px 18px 95px;
  }

  .game-topics ol,
  .game-compare-grid,
  .game-offer-grid,
  .course-primary-parts,
  .game-faq > div:last-child,
  .instruction-start-grid,
  .instruction-timing-grid {
    grid-template-columns: 1fr;
  }

  .game-steps-grid {
    grid-template-columns: 1fr;
  }

  .game-steps-grid article {
    min-height: 0;
  }

  .game-step-card-art {
    height: 380px;
  }

  .game-depth-preview-heading > p {
    margin: 0;
  }

  .game-depth-preview-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .game-depth-preview-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .game-depth-preview-actions .button {
    width: 100%;
  }

  .game-depth-instruction-link {
    padding: 10px 4px 0;
    text-align: center;
  }

  .instruction-hero {
    min-height: auto;
    gap: 50px;
    padding: 68px 18px 80px;
  }

  .instruction-hero-copy h1 {
    font-size: clamp(43px, 11vw, 61px);
  }

  .instruction-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .instruction-hero-art {
    border-radius: 29px;
  }

  .instruction-contents {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .instruction-about,
  .instruction-timing {
    width: calc(100% - 36px);
  }

  .instruction-about {
    padding: 88px 0;
  }

  .instruction-about > div:last-child > p {
    margin-top: 0;
  }

  .instruction-start-grid .is-wide {
    grid-column: auto;
  }

  .instruction-step-list article,
  .instruction-step-list article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .instruction-step-list article:nth-child(even) .instruction-step-image {
    order: 0;
  }

  .instruction-step-image {
    min-height: 400px;
  }

  .instruction-rule-grid {
    grid-template-columns: 1fr;
  }

  .instruction-songs {
    padding: 88px 18px 95px;
  }

  .instruction-songs-intro h2 {
    font-size: clamp(37px, 9.5vw, 50px);
  }

  .instruction-songs-body,
  .instruction-songs-question {
    grid-template-columns: 1fr;
  }

  .instruction-songs-copy,
  .instruction-songs-practice {
    padding: 30px 27px;
  }

  .instruction-songs-question {
    gap: 17px;
    padding: 29px 28px;
  }

  .instruction-depth-intro > p {
    margin: 0;
  }

  .instruction-depth-list article {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 20px;
    padding: 28px;
  }

  .instruction-depth-number {
    width: 68px;
    height: 68px;
    border-radius: 22px;
  }

  .instruction-depth-list ul {
    grid-column: 1 / -1;
  }

  .instruction-depth-result {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .instruction-depth-course {
    align-items: stretch;
    flex-direction: column;
  }

  .instruction-depth-course .button {
    width: 100%;
  }

  .instruction-everyday {
    align-items: stretch;
  }

  .instruction-timing {
    padding: 88px 0;
  }

  .instruction-final-actions {
    margin-top: 14px;
  }

  .game-compare,
  .game-faq {
    padding: 88px 0;
  }

  .paid-materials,
  .family-paid-note {
    margin-bottom: 90px;
    padding: 35px 28px;
  }

  .game-offer-grid article {
    min-height: 390px;
  }

  .course-part-card {
    min-height: 500px;
    padding: 29px;
  }

  .course-part-card h3 {
    font-size: 32px;
  }

  .family-thousand {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 85px auto;
    padding: 38px 29px 75px;
  }

  .family-thousand-number {
    font-size: 88px;
  }

  .product-ladder-grid,
  .lesson-situation-grid {
    grid-template-columns: 1fr;
  }

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

  .lesson-situation-card {
    min-height: 260px;
  }

  .reward-game-offer {
    grid-template-columns: 1fr;
  }

  .reward-game-visual {
    min-height: 360px;
  }

  .reward-game-copy {
    padding: 8px 7px 13px;
  }
}

@media (max-width: 520px) {
  .gateway-choice-product {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .gateway-choice-product-image img {
    object-position: 48% center;
  }

  .game-hero {
    padding-top: 52px;
  }

  .game-hero-copy h1 {
    font-size: 41px;
  }

  .game-hero-actions .button {
    width: 100%;
  }

  .game-box-stage {
    min-height: 430px;
  }

  .game-box-logo {
    top: 47%;
    width: 96px;
    height: 96px;
  }

  .game-box-logo img {
    width: 137px;
  }

  .game-step-card-art {
    height: 310px;
  }

  .game-depth-preview-grid {
    grid-template-columns: 1fr;
  }

  .game-depth-preview-grid article {
    min-height: 270px;
  }

  .game-depth-preview-footer {
    padding: 23px;
  }

  .instruction-hero {
    padding-top: 52px;
  }

  .instruction-hero-copy h1 {
    font-size: 41px;
  }

  .instruction-hero-copy .button {
    width: 100%;
  }

  .instruction-about blockquote {
    padding: 22px;
  }

  .instruction-start-grid article {
    min-height: 270px;
    padding: 28px;
  }

  .instruction-start-grid .is-wide {
    grid-template-columns: 1fr;
  }

  .instruction-step-image {
    min-height: 310px;
  }

  .instruction-step-copy {
    padding: 31px 27px;
  }

  .instruction-step-copy h3 {
    font-size: 33px;
  }

  .instruction-rule-grid article {
    min-height: 230px;
  }

  .instruction-depth-list article {
    grid-template-columns: 1fr;
  }

  .instruction-depth-list ul {
    grid-column: auto;
  }

  .instruction-depth-result,
  .instruction-daily-card,
  .instruction-timing-grid article {
    padding: 28px;
  }

  .instruction-depth-result strong {
    font-size: 24px;
  }

  .instruction-daily-card h3 {
    font-size: 33px;
  }

  .instruction-final-actions .button {
    width: 100%;
  }

  .game-compare-grid article,
  .game-offer-grid article {
    padding: 27px;
  }

  .game-compare-grid h3,
  .game-offer-grid h3 {
    font-size: 29px;
  }

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

  .family-thousand-status {
    right: 18px;
    bottom: 20px;
    left: 18px;
    text-align: center;
  }

  .reward-game-visual {
    min-height: 285px;
  }

  .reward-game-visual > span {
    width: 68px;
    height: 68px;
  }

  .reward-game-visual > span img {
    width: 97px;
  }
}

@media (max-width: 520px) {
  .experience-screen h2 {
    font-size: 31px;
  }

  .reflection-option-grid {
    grid-template-columns: 1fr;
  }

  .reflection-option-grid button {
    min-height: 58px;
    text-align: left;
  }

  .reflection-answer-card {
    padding: 18px 17px;
  }

  .life-reflection-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 19px 16px;
  }

  .life-reflection-number {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 16px;
  }

  .life-reflection-step h3 {
    font-size: 17px;
  }

  .life-reflection-fallback {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 16px;
  }

  .life-reflection-fallback > span {
    width: 36px;
    height: 36px;
  }

  .experience-intro-scene {
    min-height: 405px;
  }

  .experience-intro-scene > img {
    object-position: 61% center;
  }

  .experience-intro-vignette {
    background:
      linear-gradient(90deg, rgba(6, 17, 34, 0.98) 0%, rgba(7, 21, 40, 0.91) 52%, rgba(8, 24, 44, 0.18) 100%),
      linear-gradient(180deg, rgba(5, 15, 29, 0.32), transparent 48%, rgba(5, 15, 29, 0.68));
  }

  .experience-intro-scene-copy {
    width: 84%;
    padding: 62px 0 34px 20px;
  }

  .experience-intro-scene-copy h2 {
    max-width: 295px;
    font-size: 38px;
  }

  .experience-world-mark {
    display: none;
  }

  .experience-lead {
    font-size: 15px;
  }

  .lion-guide {
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }

  .lion-guide-portrait {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
  }

  .lion-guide-portrait img {
    width: 58px;
    transform: translate(3px, 8px);
  }

  .experience-mode-card {
    min-height: 132px;
  }

  .experience-scene,
  .experience-perspective-scene {
    min-height: 205px;
    border-radius: 19px;
  }

  .experience-scene figcaption {
    right: 14px;
    bottom: 13px;
    left: 14px;
    font-size: 10px;
  }

  .experience-choices button {
    min-height: 72px;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 11px;
  }

  .experience-choices button > span {
    width: 38px;
    height: 38px;
  }

  .experience-choices button strong {
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  .perspective-map {
    gap: 7px;
    padding: 11px;
  }

  .perspective-map span {
    min-width: 58px;
  }

  .perspective-map strong {
    font-size: 9px;
    text-align: center;
  }

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

  .change-perspective-map > i {
    text-align: center;
    transform: rotate(90deg);
  }

  .change-perspective-map > span,
  .change-perspective-map > strong {
    width: 100%;
  }

  .experience-perspective blockquote {
    padding: 25px 20px 25px 32px;
    font-size: 16px;
  }

  .family-conversation article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  .family-conversation article > span {
    width: 38px;
    height: 38px;
  }

  .reward-social-grid button,
  .reward-next-grid button,
  .reward-next-grid a {
    min-height: 104px;
  }

  .experience-utility {
    gap: 10px;
  }

  .experience-utility button {
    text-align: left;
  }

  .experience-utility button:last-child {
    text-align: right;
  }

  .partner-poster-visual {
    min-height: 510px;
    margin-inline: 0;
  }

  .partner-poster {
    width: min(340px, 94%);
  }

  .partner-lion-peek {
    top: 44px;
    right: -43px;
    width: 235px;
  }

  .partner-poster-glow {
    width: 390px;
    height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Entry gateway */

.gateway-page {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  background: #071426;
  color: white;
}

.gateway-intro {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  overflow: hidden;
  grid-template-rows: auto 1fr;
  background: #071426;
}

.gateway-backdrop {
  position: absolute;
  inset: 0;
}

.gateway-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  filter: saturate(0.86) contrast(1.06);
}

.gateway-backdrop span {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 43%, rgba(39, 194, 185, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(5, 16, 31, 0.98) 0%, rgba(6, 18, 35, 0.9) 42%, rgba(6, 18, 35, 0.18) 76%, rgba(6, 18, 35, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 15, 29, 0.16), rgba(5, 15, 29, 0.44));
}

.gateway-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  padding-top: 27px;
}

.gateway-primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.7vw, 28px);
  font-size: 13px;
  font-weight: 700;
}

.gateway-primary-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 160ms ease;
}

.gateway-primary-nav a:hover,
.gateway-primary-nav a:focus-visible {
  color: #fff;
}

.gateway-brand,
.subpage-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.gateway-brand > span,
.subpage-brand > span {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 15px;
  background: white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.gateway-brand img,
.subpage-brand img {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 64px;
  max-width: none;
  transform: translateX(-50%);
}

.gateway-brand div,
.subpage-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.gateway-brand small,
.subpage-brand small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  font-weight: 730;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gateway-brand strong,
.subpage-brand strong {
  font-size: 17px;
  font-weight: 790;
  letter-spacing: -0.02em;
}

.gateway-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1240px, calc(100% - 64px));
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding: 24px 45% 42px 0;
}

.gateway-kicker {
  margin: 0 0 14px;
  color: #ffd06d;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gateway-content > h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(42px, 3.8vw, 58px);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1.01;
}

.gateway-content > h1 em {
  color: #ffd06d;
  font-style: normal;
}

.gateway-lead {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(229, 238, 249, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.gateway-hero-actions {
  display: grid;
  width: min(100%, 600px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.gateway-action {
  display: grid;
  min-height: 56px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  color: white;
  font-size: 12px;
  line-height: 1.25;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gateway-action:hover,
.gateway-action:focus-visible {
  border-color: rgba(255, 208, 109, 0.72);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.gateway-action strong {
  font-weight: 760;
}

.gateway-action > span:last-child {
  color: #ffd06d;
  font-size: 17px;
}

.gateway-action-number {
  color: rgba(255, 208, 109, 0.72);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.gateway-action-lesson {
  border-color: rgba(255, 208, 109, 0.62);
  background: #ffd06d;
  color: #10203b;
}

.gateway-action-lesson:hover,
.gateway-action-lesson:focus-visible {
  background: #ffdb8a;
}

.gateway-action-lesson .gateway-action-number,
.gateway-action-lesson > span:last-child {
  color: #8f5b04;
}

.gateway-action-primary {
  background: #ffd06d;
  box-shadow: 0 15px 34px rgba(245, 184, 75, 0.2);
  color: #10203b;
}

.gateway-action-primary:hover,
.gateway-action-primary:focus-visible {
  background: #ffdb8a;
}

.gateway-action-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  backdrop-filter: blur(12px);
}

.gateway-action-secondary:hover,
.gateway-action-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.14);
}

.gateway-release-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  color: rgba(229, 238, 249, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.gateway-release-note span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #77e0d5;
  box-shadow: 0 0 16px rgba(119, 224, 213, 0.72);
}

.gateway-mobile-scene {
  display: none;
}

.gateway-routes {
  position: relative;
  z-index: 1;
  padding: 92px 0 104px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 82% 14%, rgba(39, 190, 181, 0.12), transparent 28%),
    linear-gradient(180deg, #09182c 0%, #071426 100%);
}

.gateway-routes-inner {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

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

.gateway-route-heading {
  max-width: 760px;
  margin-top: 0;
}

.gateway-route-heading > span {
  color: #77e0d5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gateway-route-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.045em;
}

.gateway-route-heading p {
  margin: 10px 0 0;
  color: rgba(229, 238, 249, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.gateway-choice {
  position: relative;
  display: grid;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.23);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  backdrop-filter: blur(18px);
}

.gateway-choice:hover,
.gateway-choice:focus-visible {
  border-color: rgba(255, 211, 115, 0.58);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.31);
  transform: translateY(-6px);
}

.gateway-choice-game,
.gateway-choice-course {
  grid-template-columns: 132px minmax(0, 1fr);
}

.gateway-choice-course {
  background:
    radial-gradient(circle at 20% 42%, rgba(121, 108, 224, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(31, 52, 91, 0.88), rgba(12, 29, 53, 0.9));
}

.gateway-choice-image {
  position: relative;
  overflow: hidden;
}

.gateway-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gateway-choice:hover .gateway-choice-image img {
  transform: scale(1.045);
}

.gateway-choice-image span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 46%, rgba(8, 23, 43, 0.85) 100%);
}

.gateway-choice-project {
  grid-template-columns: 154px minmax(0, 1fr);
  background:
    radial-gradient(circle at 20% 42%, rgba(39, 190, 181, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(25, 57, 91, 0.86), rgba(12, 29, 53, 0.88));
}

.gateway-choice-symbol {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 48% 48%, rgba(103, 231, 218, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(15, 45, 72, 0.22), transparent);
}

.gateway-choice-symbol::before {
  box-shadow:
    0 0 56px rgba(97, 226, 214, 0.3),
    inset 0 0 36px rgba(97, 226, 214, 0.08);
}

.gateway-choice-symbol::before,
.gateway-choice-symbol::after {
  position: absolute;
  border: 1px solid rgba(97, 226, 214, 0.23);
  border-radius: 50%;
  content: "";
}

.gateway-choice-symbol::before {
  width: 174px;
  height: 174px;
}

.gateway-choice-symbol::after {
  width: 146px;
  height: 146px;
  border-color: rgba(255, 207, 104, 0.31);
}

.gateway-choice-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 138px;
  height: 138px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: white;
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.06),
    0 0 35px rgba(99, 218, 206, 0.3);
}

.gateway-choice-logo img {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 228px;
  max-width: none;
  transform: translateX(-50%);
}

.gateway-choice-symbol i {
  position: absolute;
  top: calc(50% + 53px);
  right: 3px;
  color: #63dace;
  font-size: 24px;
  font-style: normal;
}

.gateway-choice-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
}

.gateway-choice-copy small {
  margin-bottom: 10px;
  color: #77e0d5;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gateway-choice-game .gateway-choice-copy small,
.gateway-choice-course .gateway-choice-copy small {
  color: #ffd06d;
}

.gateway-choice-copy h2 {
  margin: 0;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.gateway-choice-copy p {
  margin: 12px 0 0;
  color: rgba(230, 238, 248, 0.68);
  font-size: 13px;
  line-height: 1.63;
}

.gateway-choice-copy > strong {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: white;
  font-size: 11px;
  font-weight: 760;
}

.gateway-choice-copy > strong span {
  color: #ffd06d;
  font-size: 17px;
  transition: transform 180ms ease;
}

.gateway-choice:hover .gateway-choice-copy > strong span {
  transform: translateX(4px);
}

.gateway-third-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gateway-third-action a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 760;
  backdrop-filter: blur(14px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.gateway-third-action a:hover,
.gateway-third-action a:focus-visible {
  border-color: rgba(255, 208, 109, 0.58);
  background: rgba(255, 255, 255, 0.13);
  color: #ffd06d;
  transform: translateY(-2px);
}

.gateway-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1240px, calc(100% - 64px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #071426;
  color: rgba(229, 238, 249, 0.7);
  font-size: 11px;
}

.gateway-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.gateway-footer a:hover,
.gateway-footer a:focus-visible {
  color: #ffd06d;
}

@media (max-width: 700px) {
  .gateway-footer {
    width: calc(100% - 36px);
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 24px;
  }

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

/* Reworked portal invitation */

.lesson-portal-stage {
  position: relative;
  display: block;
  min-height: 690px;
  overflow: hidden;
  border: 1px solid rgba(16, 37, 66, 0.1);
  border-radius: 38px;
  background: #10233c;
  box-shadow: 0 34px 80px rgba(31, 46, 66, 0.2);
  cursor: pointer;
}

.lesson-portal-stage:focus-visible {
  outline: 3px solid rgba(17, 154, 147, 0.48);
  outline-offset: 5px;
}

/* Quiet, non-blocking game invitation */

.game-invitation {
  position: fixed;
  z-index: 95;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(430px, calc(100vw - 32px));
  min-height: 150px;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 17px;
  overflow: hidden;
  padding: 13px 18px 13px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 50%, rgba(59, 199, 187, 0.2), transparent 37%),
    rgba(8, 25, 47, 0.96);
  box-shadow: 0 25px 70px rgba(3, 14, 29, 0.32);
  color: white;
  animation: invitation-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  backdrop-filter: blur(18px);
}

.game-invitation > img {
  width: 126px;
  height: 100%;
  min-height: 124px;
  border-radius: 16px;
  object-fit: cover;
  object-position: 50% center;
}

.game-invitation > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 4px 17px 3px 0;
}

.game-invitation small {
  color: #6eddd3;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-invitation strong {
  margin-top: 6px;
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.game-invitation p {
  margin: 7px 0 0;
  color: rgba(230, 238, 248, 0.66);
  font-size: 10px;
  line-height: 1.45;
}

.game-invitation a {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #ffd06d;
  font-size: 11px;
  font-weight: 800;
}

.game-invitation-close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
}

.game-invitation-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

@keyframes invitation-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body:has(.mobile-buy-bar) .game-invitation {
  bottom: 86px;
}

.lesson-portal-stage > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lesson-portal-stage:hover > img {
  transform: scale(1.035);
}

.lesson-portal-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 34, 0.04) 45%, rgba(6, 18, 34, 0.74) 100%),
    radial-gradient(circle at 51% 48%, transparent 32%, rgba(6, 18, 34, 0.18) 100%);
}

.lesson-portal-badge {
  position: absolute;
  right: 26px;
  bottom: 25px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 19px;
  background: rgba(7, 21, 39, 0.72);
  color: white;
  backdrop-filter: blur(14px);
}

.lesson-portal-badge > span {
  display: grid;
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #ffe18f, #f3af31);
  box-shadow: 0 8px 20px rgba(246, 181, 59, 0.22);
  color: #172944;
}

.lesson-portal-badge > div {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.lesson-portal-badge small {
  color: rgba(226, 236, 248, 0.58);
  font-size: 8px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lesson-portal-badge strong {
  margin-top: 4px;
  font-size: 16px;
}

.portal-promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.portal-promises span {
  display: flex;
  min-height: 84px;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(21, 38, 65, 0.08);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.77);
  color: #6a7689;
  font-size: 10px;
  font-weight: 680;
  line-height: 1.35;
}

.portal-promises strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1;
}

.portal-note {
  margin: 22px 0 0;
  padding: 20px 21px;
  border-left: 3px solid var(--teal);
  border-radius: 0 17px 17px 0;
  background: rgba(255, 255, 255, 0.68);
  color: #52637b;
  font-size: 13px;
  line-height: 1.7;
}

.course-visual-photo {
  position: relative;
  display: block;
  min-height: 225px;
  overflow: hidden;
}

.course-visual-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.course-visual-photo:hover img {
  transform: scale(1.04);
}

.course-visual .course-visual-shade {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(48, 24, 19, 0.76) 100%);
  box-shadow: none;
}

.course-visual-photo > strong {
  position: absolute;
  right: 27px;
  bottom: 22px;
  left: 27px;
  color: white;
  font-size: 14px;
  letter-spacing: -0.015em;
}

/* Shared standalone-page navigation */

/* Contextual sharing */

.share-invite {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  margin-top: 24px;
  padding: 30px 34px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(21, 38, 65, 0.07);
}

.share-invite-copy {
  max-width: 720px;
}

.share-invite-copy small {
  color: #168b83;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share-invite-copy h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.share-invite-copy p {
  margin: 11px 0 0;
  color: #647287;
  font-size: 13px;
  line-height: 1.72;
}

.share-control {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
}

.share-main-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid rgba(20, 57, 89, 0.12);
  border-radius: 15px;
  background: #163a5c;
  box-shadow: 0 12px 25px rgba(12, 39, 67, 0.14);
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 790;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
}

.share-main-button:hover {
  background: #0d2c49;
  transform: translateY(-2px);
}

.share-main-button > span {
  color: #ffd06d;
  font-size: 17px;
}

.share-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  width: 245px;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 24px 65px rgba(8, 20, 38, 0.22);
}

.share-menu a,
.share-menu button {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 11px;
  padding: 6px 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #35455b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.share-menu a:hover,
.share-menu button:hover {
  background: #f3f5f7;
}

.share-service {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 10px;
  color: white;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}

.share-service.telegram { background: #279bd3; }
.share-service.whatsapp { background: #28b563; }
.share-service.vk { background: #397ee8; }
.share-service.ok { background: #ee8a22; }
.share-service.copy { background: #6f7b8a; font-size: 16px; }

.share-status {
  position: absolute;
  right: 34px;
  bottom: 6px;
  margin: 0;
  color: #168b83;
  font-size: 9px;
  font-weight: 700;
}

.share-invite-dark {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.share-invite-dark .share-invite-copy small {
  color: #ffd06d;
}

.share-invite-dark .share-invite-copy h3 {
  color: white;
}

.share-invite-dark .share-invite-copy p {
  color: rgba(231, 239, 249, 0.68);
}

.share-invite-dark .share-main-button {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.share-invite-dark .share-main-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.share-invite-dark .share-status {
  color: #ffd06d;
}

.share-invite-compact {
  display: inline-flex;
  width: auto;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.share-invite-compact .share-status {
  right: auto;
  bottom: -28px;
  left: 0;
  width: 350px;
}

.instruction-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 31px;
}

.instruction-hero-actions .button,
.instruction-hero-actions .share-invite {
  margin-top: 0;
}

.instruction-share-section {
  padding: 0 max(32px, calc((100% - 1140px) / 2)) 120px;
}

.instruction-share-section .share-invite {
  margin-top: 0;
  background:
    radial-gradient(circle at 95% 15%, rgba(41, 182, 171, 0.12), transparent 28%),
    white;
}

.family-tools-section > .share-invite {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .share-invite {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    padding: 25px 22px 30px;
  }

  .share-control,
  .share-main-button {
    width: 100%;
  }

  .share-menu {
    right: 0;
    bottom: calc(100% + 9px);
    width: 100%;
  }

  .share-status {
    position: static;
    margin-top: -10px;
    font-size: 10px;
    line-height: 1.5;
  }

  .share-invite-compact {
    width: 100%;
    padding: 0;
  }

  .share-invite-compact .share-status {
    width: auto;
    margin-top: 0;
  }

  .instruction-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .instruction-share-section {
    padding: 0 20px 80px;
  }
}

.subpage-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(1240px, calc(100% - 64px));
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-inline: auto;
  border-bottom: 1px solid rgba(21, 38, 65, 0.1);
}

.subpage-header-dark {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: white;
}

.subpage-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.subpage-header nav a {
  color: #68758a;
  font-size: 12px;
  font-weight: 720;
  transition: color 180ms ease;
}

.subpage-header-dark nav a {
  color: rgba(232, 240, 250, 0.7);
}

.subpage-header nav a:hover {
  color: var(--ink);
}

.subpage-header-dark nav a:hover {
  color: white;
}

.subpage-header:not(.subpage-header-dark) .subpage-brand small {
  color: #8b95a5;
}

/* Standalone lesson entrance */

.lesson-entry-page {
  min-height: 100svh;
  background: #071528;
  color: white;
}

.lesson-entry-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
  padding: 132px max(32px, calc((100% - 1240px) / 2)) 58px;
}

.lesson-entry-image {
  position: absolute;
  inset: 0;
}

.lesson-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: lesson-portal-breathe 13s ease-in-out infinite alternate;
}

@keyframes lesson-portal-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.065); }
}

.lesson-entry-image span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 31, 0.98) 0%, rgba(6, 18, 35, 0.93) 34%, rgba(6, 18, 35, 0.45) 61%, rgba(6, 18, 35, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 15, 29, 0.31), transparent 42%, rgba(5, 15, 29, 0.65) 100%);
}

.lesson-entry-copy {
  position: relative;
  z-index: 3;
  width: min(610px, 52%);
}

.lesson-entry-copy h1 {
  margin: 0;
  font-size: clamp(51px, 5.4vw, 78px);
  font-weight: 710;
  letter-spacing: -0.058em;
  line-height: 0.99;
}

.lesson-entry-copy h1 em {
  color: #ffd06d;
  font-style: normal;
}

.lesson-entry-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 25px 0 0;
  color: rgba(229, 238, 249, 0.72);
  font-size: 17px;
  line-height: 1.72;
}

.lesson-entry-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

.lesson-entry-facts span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(230, 239, 249, 0.68);
  font-size: 10px;
  font-weight: 650;
  backdrop-filter: blur(10px);
}

.lesson-entry-facts strong {
  color: white;
  font-size: 12px;
}

.lesson-entry-button {
  margin-top: 30px;
}

.lesson-entry-note {
  display: block;
  margin-top: 13px;
  color: rgba(222, 233, 246, 0.46);
  font-size: 10px;
}

.lesson-entry-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(86, 224, 213, 0.21);
  border-radius: 50%;
  pointer-events: none;
}

.lesson-entry-orbit-one {
  top: 23%;
  right: 17%;
  width: 390px;
  height: 390px;
  animation: lesson-orbit-spin 32s linear infinite;
}

.lesson-entry-orbit-two {
  top: 30%;
  right: 21.5%;
  width: 260px;
  height: 260px;
  border-color: rgba(255, 209, 109, 0.22);
  animation: lesson-orbit-spin 24s linear infinite reverse;
}

@keyframes lesson-orbit-spin {
  to { transform: rotate(360deg); }
}

.lesson-entry-guide {
  position: absolute;
  z-index: 4;
  right: max(32px, calc((100% - 1240px) / 2));
  bottom: 43px;
  display: grid;
  width: min(430px, 38vw);
  grid-template-columns: 72px 1fr;
  gap: 15px;
  align-items: center;
  padding: 14px 18px 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 21px;
  background: rgba(7, 22, 42, 0.78);
  backdrop-filter: blur(15px);
}

.lesson-entry-guide > span {
  position: relative;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffd069, #e9a32d);
}

.lesson-entry-guide img {
  position: absolute;
  top: 5px;
  left: -2px;
  width: 80px;
  max-width: none;
}

.lesson-entry-guide p {
  margin: 0;
  color: rgba(226, 236, 248, 0.67);
  font-size: 10px;
  line-height: 1.55;
}

.lesson-entry-guide strong {
  display: block;
  margin-bottom: 3px;
  color: white;
  font-size: 11px;
}

/* Family course page */

.family-page {
  overflow: hidden;
  background: #fffaf2;
}

.family-header {
  color: var(--ink);
}

.family-hero {
  display: grid;
  width: min(1240px, calc(100% - 64px));
  min-height: 700px;
  grid-template-columns: minmax(0, 0.84fr) minmax(470px, 1fr);
  gap: clamp(60px, 8vw, 110px);
  align-items: center;
  margin-inline: auto;
  padding: 80px 0 105px;
}

.family-hero-copy h1 {
  margin: 0;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 710;
  letter-spacing: -0.058em;
  line-height: 1;
}

.family-hero-copy > p:not(.eyebrow) {
  margin: 27px 0 0;
  color: #607086;
  font-size: 17px;
  line-height: 1.75;
}

.family-hero-copy .button {
  margin-top: 31px;
}

.family-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 31px;
}

.family-hero-copy .family-hero-actions .button {
  margin-top: 0;
}

.family-hero-image {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: 38px;
  box-shadow: 0 36px 80px rgba(41, 32, 25, 0.18);
}

.family-hero-image > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.family-hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(17, 24, 34, 0.56) 100%);
  content: "";
}

.family-hero-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 23px;
  left: 24px;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 13px;
  align-items: center;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 18px;
  background: rgba(9, 22, 38, 0.72);
  color: white;
  backdrop-filter: blur(13px);
}

.family-hero-caption > span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd67d, #eea62e);
  color: var(--ink);
}

.family-hero-caption p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.25;
}

.family-hero-caption small {
  color: rgba(230, 239, 249, 0.55);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.family-hero-caption strong {
  margin-top: 4px;
  font-size: 14px;
}

.family-intro {
  display: grid;
  width: min(1080px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  gap: 90px;
  align-items: end;
  margin: 0 auto;
  padding: 110px 0;
  border-top: 1px solid rgba(21, 38, 65, 0.1);
}

.family-intro h2,
.family-tools-heading h2,
.family-route h2,
.family-cta h2 {
  margin: 0;
  font-size: clamp(40px, 4.3vw, 58px);
  font-weight: 710;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.family-intro > p {
  margin: 0;
  color: #5e6d82;
  font-size: 16px;
  line-height: 1.8;
}

.family-library-bridge {
  display: grid;
  width: min(1080px, calc(100% - 64px));
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.75fr);
  gap: clamp(55px, 8vw, 100px);
  align-items: start;
  margin: -20px auto 100px;
  padding: 34px;
  border: 1px solid rgba(32, 151, 139, 0.16);
  border-radius: 28px;
  background: radial-gradient(circle at 96% 0%, rgba(246, 198, 109, 0.18), transparent 34%), #eef7f4;
}

.family-library-bridge h2 {
  margin: 11px 0 0;
  color: #173457;
  font-size: clamp(31px, 3.5vw, 45px);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.family-library-bridge > div:last-child p {
  margin: 0;
  color: #5f7282;
  font-size: 13px;
  line-height: 1.75;
}

.family-library-bridge > div:last-child p + p {
  margin-top: 13px;
}

.family-library-bridge a {
  display: inline-flex;
  gap: 8px;
  margin-top: 21px;
  color: #167f75;
  font-size: 12px;
  font-weight: 800;
}

.family-tools-section {
  padding: 120px max(32px, calc((100% - 1240px) / 2)) 130px;
  background:
    radial-gradient(circle at 87% 9%, rgba(255, 169, 111, 0.18), transparent 25%),
    #fff1e8;
}

.family-tools-heading {
  max-width: 760px;
}

.family-tools-heading > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: #6b7180;
  font-size: 15px;
  line-height: 1.75;
}

.family-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 54px;
}

.family-tools-grid article {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  padding: 31px;
  border: 1px solid rgba(93, 54, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 18px 46px rgba(109, 67, 50, 0.07);
}

.family-tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.family-tool-top span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: #fff0d4;
  color: #a66813;
  font-size: 13px;
  font-weight: 850;
}

.family-tool-top small {
  color: #c46b55;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.family-tools-grid h3 {
  margin: 31px 0 0;
  font-size: 28px;
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.family-tools-grid article > p {
  margin: 18px 0 0;
  color: #667286;
  font-size: 13px;
  line-height: 1.75;
}

.family-tools-grid blockquote {
  margin: auto 0 0;
  padding: 19px 20px;
  border: 0;
  border-left: 3px solid #eea34b;
  border-radius: 0 16px 16px 0;
  background: #fff6e8;
  color: #46556a;
  font-size: 13px;
  font-weight: 690;
  line-height: 1.62;
}

.family-route {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(470px, 0.75fr);
  gap: clamp(70px, 9vw, 130px);
  align-items: center;
  padding: 130px max(32px, calc((100% - 1240px) / 2));
  background:
    radial-gradient(circle at 18% 105%, rgba(49, 190, 177, 0.18), transparent 34%),
    linear-gradient(135deg, #112944, #07172c);
  color: white;
}

.family-route-copy > p:last-child {
  margin: 25px 0 0;
  color: rgba(225, 235, 247, 0.68);
  font-size: 16px;
  line-height: 1.8;
}

.family-route ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.family-route li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.family-route li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: rgba(247, 184, 75, 0.15);
  color: #ffd06d;
  font-size: 13px;
  font-weight: 850;
}

.family-route li p {
  margin: 0;
  color: rgba(226, 236, 248, 0.63);
  font-size: 11px;
  line-height: 1.45;
}

.family-route li strong {
  display: block;
  margin-bottom: 3px;
  color: white;
  font-size: 13px;
}

.family-cta {
  display: grid;
  width: min(1080px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: center;
  margin: 0 auto;
  padding: 115px 0;
}

.family-cta > div {
  max-width: 760px;
}

.family-cta > div > p:last-child {
  max-width: 660px;
  margin: 21px 0 0;
  color: #617087;
  font-size: 15px;
  line-height: 1.75;
}

.family-cta > .button {
  min-width: 245px;
}

.subpage-footer {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 25px 32px;
  border-top: 1px solid rgba(21, 38, 65, 0.1);
  background: #fffdf9;
  color: #788397;
  font-size: 11px;
  font-weight: 660;
}

.subpage-footer a:hover {
  color: var(--ink);
}

.subpage-footer span {
  margin-left: 20px;
  color: #a1a8b3;
}

@media (max-width: 1080px) {
  .gateway-content,
  .gateway-routes-inner {
    width: min(980px, calc(100% - 48px));
  }

  .gateway-choice-game,
  .gateway-choice-course,
  .gateway-choice-product,
  .gateway-choice-project {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .gateway-choice-product {
    grid-template-columns: 142px minmax(0, 1fr);
  }

  .gateway-choice-project {
    grid-template-columns: 148px minmax(0, 1fr);
  }

  .first-lesson-grid {
    grid-template-columns: 1fr;
  }

  .lesson-portal-stage {
    min-height: 640px;
  }

  .lesson-entry-copy {
    width: min(620px, 67%);
  }

  .lesson-entry-guide {
    width: 400px;
  }

  .family-hero {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .family-hero-copy {
    max-width: 780px;
  }

  .family-hero-image {
    min-height: 630px;
  }

  .family-tools-grid {
    grid-template-columns: 1fr;
  }

  .family-tools-grid article {
    min-height: 0;
  }

  .family-tools-grid blockquote {
    margin-top: 24px;
  }

  .family-route {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .partner-lion-peek {
    top: 40px;
    right: -90px;
    width: 350px;
  }
}

@media (max-width: 800px) {
  .gateway-intro {
    min-height: auto;
  }

  .gateway-backdrop {
    display: none;
  }

  .gateway-backdrop span {
    background:
      linear-gradient(180deg, rgba(5, 16, 31, 0.72) 0%, rgba(5, 16, 31, 0.91) 38%, rgba(5, 16, 31, 0.98) 100%);
  }

  .gateway-header {
    width: calc(100% - 36px);
    padding-top: 18px;
  }

  .gateway-primary-nav {
    display: none;
  }

  .gateway-brand > span,
  .subpage-brand > span {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 13px;
  }

  .gateway-brand img,
  .subpage-brand img {
    width: 57px;
  }

  .gateway-brand small {
    display: none;
  }

  .gateway-brand strong {
    font-size: 15px;
  }

  .gateway-content,
  .gateway-routes-inner {
    width: calc(100% - 36px);
  }

  .gateway-content {
    padding: 54px 0 34px;
  }

  .gateway-content > h1 {
    max-width: 620px;
    font-size: clamp(38px, 9vw, 52px);
    line-height: 1.04;
  }

  .gateway-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .gateway-kicker,
  .gateway-route-heading > span,
  .gateway-action-number,
  .gateway-release-note,
  .gateway-choice-copy small,
  .gateway-choice-copy p,
  .gateway-choice-copy > strong,
  .gateway-footer {
    font-size: 12px;
  }

  .gateway-mobile-scene {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .gateway-mobile-scene::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #071426 0%, transparent 23%, transparent 76%, #071426 100%);
    content: "";
  }

  .gateway-mobile-scene img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .gateway-routes {
    padding: 68px 0 76px;
  }

  .gateway-choices {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 28px;
  }

  .gateway-choice {
    min-height: 190px;
    border-radius: 23px;
  }

  .gateway-choice-game,
  .gateway-choice-course,
  .gateway-choice-product,
  .gateway-choice-project {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .gateway-choice-product {
    grid-template-columns: 168px minmax(0, 1fr);
  }

  .gateway-choice-project {
    grid-template-columns: 176px minmax(0, 1fr);
  }

  .gateway-choice-copy {
    padding: 23px 20px;
  }

  .gateway-choice-copy h2 {
    font-size: 27px;
  }

  .gateway-choice-copy p {
    font-size: 11px;
  }

  .gateway-choice-symbol::before {
    width: 190px;
    height: 190px;
  }

  .gateway-choice-symbol::after {
    width: 158px;
    height: 158px;
  }

  .gateway-choice-logo {
    width: 148px;
    height: 148px;
  }

  .gateway-choice-logo img {
    width: 244px;
  }

  .gateway-choice-symbol i {
    top: 128px;
    right: 7px;
  }

  .lesson-portal-stage {
    min-height: 510px;
    border-radius: 26px;
  }

  .portal-promises {
    grid-template-columns: 1fr;
  }

  .portal-promises span {
    min-height: 66px;
  }

  .course-visual-photo {
    min-height: 240px;
  }

  .subpage-header {
    width: calc(100% - 36px);
    min-height: 74px;
  }

  .subpage-brand small {
    display: none;
  }

  .subpage-brand strong {
    font-size: 14px;
  }

  .subpage-header nav {
    gap: 15px;
  }

  .subpage-header nav a {
    display: none;
  }

  .subpage-header nav a:first-child {
    display: block;
  }

  .subpage-header nav .subpage-home-link {
    display: inline-grid;
  }

  .experience-home {
    top: 13px;
    right: auto;
    left: 13px;
    width: 40px;
    height: 40px;
  }

  .lesson-entry-hero {
    min-height: 100svh;
    align-items: end;
    padding: 122px 18px 34px;
  }

  .lesson-entry-image img {
    object-position: 59% center;
  }

  .lesson-entry-image span {
    background:
      linear-gradient(180deg, rgba(5, 16, 31, 0.28) 0%, rgba(5, 16, 31, 0.61) 38%, rgba(5, 16, 31, 0.98) 72%, #05101f 100%);
  }

  .lesson-entry-copy {
    width: 100%;
    padding-bottom: 150px;
  }

  .lesson-entry-copy h1 {
    max-width: 620px;
    font-size: clamp(43px, 11vw, 62px);
  }

  .lesson-entry-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .lesson-entry-orbit {
    display: none;
  }

  .lesson-entry-guide {
    right: 18px;
    bottom: 24px;
    left: 18px;
    width: auto;
  }

  .family-hero,
  .family-intro,
  .family-cta {
    width: calc(100% - 36px);
  }

  .family-hero {
    min-height: 0;
    padding: 64px 0 80px;
  }

  .family-hero-copy h1 {
    font-size: clamp(43px, 11vw, 60px);
  }

  .family-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .family-hero-image {
    min-height: 460px;
    border-radius: 27px;
  }

  .family-intro {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 80px 0;
  }

  .family-intro h2,
  .family-tools-heading h2,
  .family-route h2,
  .family-cta h2 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .family-tools-section {
    padding: 85px 18px 90px;
  }

  .family-tools-grid article {
    padding: 24px;
    border-radius: 23px;
  }

  .family-route {
    padding: 90px 18px;
  }

  .family-cta {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 85px 0;
  }

  .family-cta > .button {
    width: 100%;
  }

  .subpage-footer {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .subpage-footer span {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .partner-lion-peek {
    top: 58px;
    right: -104px;
    width: 330px;
  }
}

@media (max-width: 520px) {
  .gateway-page {
    min-height: 100svh;
  }

  .gateway-kicker {
    margin-bottom: 10px;
  }

  .gateway-content > h1 {
    font-size: clamp(35px, 9.2vw, 40px);
  }

  .gateway-lead {
    font-size: 15px;
  }

  .gateway-hero-actions {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gateway-action {
    width: 100%;
    min-height: 50px;
  }

  .gateway-release-note {
    align-items: flex-start;
    font-size: 12px;
  }

  .gateway-release-note span {
    margin-top: 5px;
  }

  .gateway-routes {
    padding: 58px 0 68px;
  }

  .gateway-choice {
    min-height: 168px;
  }

  .gateway-choice-game,
  .gateway-choice-course,
  .gateway-choice-product,
  .gateway-choice-project {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .gateway-choice-product {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .gateway-choice-project {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .gateway-choice-copy {
    padding: 18px 15px;
  }

  .gateway-choice-copy h2 {
    font-size: 22px;
  }

  .gateway-choice-copy p {
    margin-top: 10px;
    line-height: 1.5;
  }

  .gateway-choice-copy > strong {
    margin-top: 14px;
    font-size: 12px;
  }

  .gateway-choice-symbol::before {
    width: 136px;
    height: 136px;
  }

  .gateway-choice-symbol::after {
    width: 112px;
    height: 112px;
  }

  .gateway-choice-logo {
    width: 106px;
    height: 106px;
  }

  .gateway-choice-logo img {
    width: 175px;
  }

  .gateway-choice-symbol i {
    top: 91px;
    right: 3px;
    font-size: 15px;
  }

  .gateway-footnote {
    margin-top: 14px;
  }

  .lesson-portal-stage {
    min-height: 420px;
  }

  .lesson-portal-stage > img {
    object-position: center;
  }

  .lesson-portal-badge {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .lesson-entry-copy {
    padding-bottom: 174px;
  }

  .lesson-entry-copy h1 {
    font-size: 41px;
  }

  .lesson-entry-copy > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 13px;
  }

  .lesson-entry-facts {
    margin-top: 18px;
  }

  .lesson-entry-button {
    width: 100%;
    margin-top: 22px;
  }

  .lesson-entry-guide {
    grid-template-columns: 58px 1fr;
    padding: 11px 13px 11px 8px;
  }

  .lesson-entry-guide > span {
    width: 58px;
    height: 58px;
  }

  .lesson-entry-guide img {
    width: 66px;
  }

  .family-hero-image {
    min-height: 380px;
  }

  .family-hero-image > img {
    object-position: 53% center;
  }

  .family-hero-caption {
    right: 13px;
    bottom: 13px;
    left: 13px;
  }

  .family-tools-grid h3 {
    font-size: 25px;
  }

  .family-route li {
    grid-template-columns: 42px 1fr;
    padding: 13px;
  }

  .family-route li > span {
    width: 42px;
    height: 42px;
  }

  .partner-poster-visual {
    min-height: 520px;
  }

  .partner-poster {
    width: min(325px, 84%);
    transform: translateX(-22px) rotate(-1deg);
  }

  .partner-lion-peek {
    top: 70px;
    right: -112px;
    width: 305px;
  }
}

/* Cinematic methodology journey */
.method-cinematic {
  position: relative;
  min-height: 960px;
  overflow: hidden;
  padding: 96px 0 64px;
  background: #071426;
  color: white;
  isolation: isolate;
}

.method-cinematic-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.method-cinematic-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.015);
  transition: transform 9s cubic-bezier(0.22, 1, 0.36, 1);
}

.method-cinematic.is-visible .method-cinematic-backdrop img {
  transform: scale(1.045);
}

.method-cinematic-backdrop span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 14, 30, 0.92) 0%,
      rgba(4, 14, 30, 0.76) 32%,
      rgba(4, 14, 30, 0.28) 58%,
      rgba(4, 14, 30, 0.08) 78%
    ),
    linear-gradient(
      180deg,
      rgba(4, 13, 28, 0.38) 0%,
      transparent 34%,
      rgba(4, 13, 28, 0.12) 66%,
      rgba(4, 13, 28, 0.88) 100%
    );
}

.method-cinematic-layout {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 800px;
  flex-direction: column;
  justify-content: space-between;
}

.method-cinematic-panel {
  width: min(575px, 52%);
  padding: 38px 40px 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(8, 23, 43, 0.79), rgba(8, 23, 43, 0.58)),
    rgba(7, 20, 38, 0.42);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.method-cinematic-panel .section-heading {
  max-width: none;
}

.method-cinematic-panel .section-heading h2 {
  max-width: 520px;
  font-size: clamp(42px, 4.25vw, 59px);
  line-height: 1.02;
}

.method-cinematic-copy {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.method-cinematic-copy p {
  margin: 0;
  color: rgba(229, 238, 249, 0.73);
  font-size: 14px;
  line-height: 1.72;
}

.method-cinematic-copy p:last-child {
  color: rgba(255, 255, 255, 0.94);
}

.method-cinematic-route {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 25px;
  background: rgba(6, 19, 37, 0.72);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
}

.method-route-heading {
  display: grid;
  grid-template-columns: 43px 1fr;
  align-items: center;
  gap: 11px;
}

.method-route-heading > span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 215, 123, 0.48);
  border-radius: 14px;
  background: rgba(247, 184, 75, 0.14);
  box-shadow: 0 0 24px rgba(247, 184, 75, 0.16);
  color: #ffd77b;
}

.method-route-heading > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.method-route-heading small {
  color: rgba(228, 238, 250, 0.53);
  font-size: 8px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-route-heading strong {
  margin-top: 5px;
  color: white;
  font-size: 11px;
}

.method-route-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-route-list::before {
  position: absolute;
  top: 25px;
  right: 5%;
  left: 5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 210, 109, 0.22),
    #ffd26d 48%,
    rgba(86, 224, 213, 0.72)
  );
  box-shadow: 0 0 16px rgba(255, 210, 109, 0.5);
  content: "";
  opacity: 0.75;
  transform: scaleX(0);
  transform-origin: left center;
}

.method-cinematic.is-visible .method-route-list::before {
  animation: method-route-line 1.15s 0.18s ease-out forwards;
}

.method-route-step {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  opacity: 0.32;
  text-align: center;
  transform: translateY(9px);
}

.method-cinematic.is-visible .method-route-step {
  animation: method-route-awaken 0.48s ease-out forwards;
  animation-delay: calc(0.28s + var(--step-index) * 0.13s);
}

.method-route-step > span {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border: 1px solid rgba(255, 215, 123, 0.5);
  border-radius: 50%;
  background: rgba(8, 26, 49, 0.94);
  box-shadow:
    0 0 0 6px rgba(247, 184, 75, 0.035),
    0 0 18px rgba(247, 184, 75, 0.12);
  color: #ffd77b;
  font-size: 9px;
  font-weight: 850;
}

.method-route-step:last-child > span {
  border-color: rgba(86, 224, 213, 0.64);
  box-shadow:
    0 0 0 6px rgba(86, 224, 213, 0.05),
    0 0 22px rgba(86, 224, 213, 0.2);
  color: #72e8df;
}

.method-route-step strong {
  margin-top: 9px;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.86);
  font-size: 9px;
  font-weight: 720;
  line-height: 1.25;
}

@keyframes method-route-line {
  to {
    transform: scaleX(1);
  }
}

@keyframes method-route-awaken {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .method-cinematic {
    min-height: 920px;
    padding-top: 78px;
  }

  .method-cinematic-layout {
    min-height: 778px;
  }

  .method-cinematic-panel {
    width: min(570px, 62%);
  }

  .method-cinematic-route {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 15px;
    padding-inline: 17px;
  }

  .method-route-step > span {
    width: 47px;
    height: 47px;
  }

  .method-route-list::before {
    top: 23px;
  }

  .method-route-step strong {
    font-size: 8px;
  }
}

@media (max-width: 800px) {
  .method-cinematic {
    min-height: 0;
    padding: 0 0 82px;
  }

  .method-cinematic-backdrop {
    position: relative;
    z-index: -1;
    height: 470px;
  }

  .method-cinematic-backdrop img {
    object-position: 72% center;
  }

  .method-cinematic-backdrop span {
    background:
      linear-gradient(
        180deg,
        rgba(4, 13, 28, 0.14) 0%,
        rgba(4, 13, 28, 0.2) 48%,
        rgba(4, 13, 28, 0.98) 100%
      ),
      linear-gradient(90deg, rgba(4, 13, 28, 0.15), transparent 70%);
  }

  .method-cinematic-layout {
    min-height: 0;
    margin-top: -92px;
  }

  .method-cinematic-panel {
    width: 100%;
    padding: 28px;
    border-radius: 25px;
    background: rgba(7, 21, 40, 0.88);
  }

  .method-cinematic-panel .section-heading h2 {
    max-width: 580px;
    font-size: clamp(37px, 9.5vw, 49px);
  }

  .method-cinematic-copy p {
    font-size: 13px;
  }

  .method-cinematic-route {
    display: block;
    margin-top: 18px;
    padding: 22px 23px 20px;
    border-radius: 23px;
    background: rgba(7, 21, 40, 0.88);
  }

  .method-route-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .method-route-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 17px;
  }

  .method-route-list::before {
    top: 24px;
    right: auto;
    bottom: 24px;
    left: 24px;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(255, 210, 109, 0.3),
      #ffd26d 48%,
      rgba(86, 224, 213, 0.72)
    );
    transform: scaleY(0);
    transform-origin: center top;
  }

  .method-cinematic.is-visible .method-route-list::before {
    animation-name: method-route-line-vertical;
  }

  .method-route-step {
    display: grid;
    min-height: 64px;
    grid-template-columns: 50px 1fr;
    align-items: center;
    gap: 15px;
    text-align: left;
  }

  .method-route-step > span {
    width: 49px;
    height: 49px;
  }

  .method-route-step strong {
    margin: 0;
    font-size: 13px;
  }

  @keyframes method-route-line-vertical {
    to {
      transform: scaleY(1);
    }
  }
}

@media (max-width: 520px) {
  .method-cinematic {
    padding-bottom: 68px;
  }

  .method-cinematic-backdrop {
    height: 390px;
  }

  .method-cinematic-layout {
    width: calc(100% - 36px);
    margin-top: -70px;
  }

  .method-cinematic-panel {
    padding: 23px 21px 25px;
    border-radius: 22px;
  }

  .method-cinematic-panel .section-heading h2 {
    font-size: 34px;
  }

  .method-cinematic-copy {
    margin-top: 22px;
  }

  .method-cinematic-route {
    padding: 20px 19px 18px;
  }

  .gateway-third-action {
    margin-top: 18px;
  }

  .gateway-third-action a {
    width: 100%;
    justify-content: center;
  }

  .game-invitation {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    min-height: 126px;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 13px;
    padding: 10px 13px 10px 10px;
    border-radius: 20px;
  }

  body:has(.mobile-buy-bar) .game-invitation {
    bottom: 78px;
  }

  .game-invitation > img {
    width: 94px;
    min-height: 106px;
    border-radius: 13px;
  }

  .game-invitation > div {
    padding-right: 18px;
  }

  .game-invitation strong {
    font-size: 14px;
  }

  .game-invitation p {
    margin-top: 5px;
    font-size: 9px;
  }

  .game-invitation a {
    margin-top: 7px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-cinematic-backdrop img,
  .method-route-list::before,
  .method-route-step {
    animation: none !important;
    transition: none !important;
  }

  .method-route-list::before {
    transform: scaleX(1);
  }

  .method-route-step {
    opacity: 1;
    transform: none;
  }

  .game-invitation {
    animation: none;
  }
}

/* Gateway card imagery – one visual rhythm across all three choices */

.gateway-choice-game,
.gateway-choice-course,
.gateway-choice-product,
.gateway-choice-project {
  grid-template-columns: minmax(0, 33.333%) minmax(0, 1fr);
}

.gateway-choice-product-image {
  min-width: 0;
  background: #25180f;
  isolation: isolate;
}

.gateway-choice-product-image::before {
  content: none;
}

.gateway-choice-product-image img {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1);
}

.gateway-choice-product:hover .gateway-choice-product-image img {
  transform: scale(1.025);
}

.gateway-choice-product-image span {
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 68%, rgba(8, 23, 43, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 17, 33, 0.02), rgba(5, 17, 33, 0.2));
}

.gateway-choice-symbol {
  min-width: 0;
  isolation: isolate;
  background: #0b233d;
}

.gateway-choice-symbol::before,
.gateway-choice-symbol::after {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
}

.gateway-choice-symbol::before {
  z-index: 0;
  background: url("https://mentometologiya.ru/assets/method-journey.webp") 76% center / cover no-repeat;
  box-shadow: none;
  opacity: 0.94;
  transform: scale(1.04);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gateway-choice:hover .gateway-choice-symbol::before {
  transform: scale(1.085);
}

.gateway-choice-symbol::after {
  z-index: 1;
  background:
    radial-gradient(circle at 47% 40%, rgba(255, 216, 126, 0.23), transparent 36%),
    linear-gradient(90deg, rgba(5, 17, 34, 0.08) 0%, rgba(6, 20, 39, 0.67) 100%),
    linear-gradient(180deg, rgba(7, 20, 39, 0.05), rgba(7, 20, 39, 0.42));
}

.gateway-choice-logo {
  z-index: 2;
  width: calc(100% - 16px);
  max-width: 132px;
  height: auto;
  aspect-ratio: 1;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 177, 0.85);
  border-radius: 21px;
  background: #fffaf0;
  box-shadow:
    0 20px 42px rgba(1, 11, 24, 0.42),
    0 0 0 5px rgba(255, 255, 255, 0.07),
    0 0 30px rgba(255, 196, 83, 0.24);
  transform: rotate(-1.2deg);
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 450ms ease;
}

.gateway-choice:hover .gateway-choice-logo {
  box-shadow:
    0 24px 52px rgba(1, 11, 24, 0.48),
    0 0 0 5px rgba(255, 255, 255, 0.09),
    0 0 38px rgba(255, 196, 83, 0.32);
  transform: rotate(0deg) translateY(-2px);
}

.gateway-choice-logo img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.gateway-choice-symbol i {
  z-index: 3;
  top: 18px;
  right: 9px;
  color: #ffd06d;
  font-size: 21px;
  text-shadow: 0 0 18px rgba(255, 207, 109, 0.92);
}

@media (max-width: 520px) {
  .gateway-choice-logo {
    width: calc(100% - 14px);
    padding: 6px;
    border-radius: 17px;
  }

  .gateway-choice-symbol i {
    top: 13px;
    right: 7px;
    font-size: 17px;
  }
}

/* Gateway visual scenes – final art direction */

.gateway-choice-deck-scene,
.gateway-choice-project-scene {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}

.gateway-choice-deck-scene {
  background: #171b22;
}

.gateway-choice-project-scene {
  background: #0a263a;
}

.gateway-choice-deck-scene > .gateway-choice-scene,
.gateway-choice-project-scene > .gateway-choice-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.025);
  transform: scale(1.01);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 450ms ease;
}

.gateway-choice:hover
  .gateway-choice-deck-scene
  > .gateway-choice-scene,
.gateway-choice:hover
  .gateway-choice-project-scene
  > .gateway-choice-scene {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

.gateway-choice-project-scene::before,
.gateway-choice-project-scene::after {
  content: none;
}

.gateway-choice-visual-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 17, 33, 0.02) 0%,
      rgba(5, 17, 33, 0.02) 62%,
      rgba(5, 17, 33, 0.72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 17, 33, 0.04) 0%,
      transparent 48%,
      rgba(5, 17, 33, 0.28) 100%
    );
  pointer-events: none;
}

.gateway-deck-fan {
  position: absolute;
  z-index: 2;
  top: 52%;
  left: 50%;
  width: 136px;
  height: 184px;
  transform: translate(-50%, -50%);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gateway-choice:hover .gateway-deck-fan {
  transform: translate(-50%, calc(-50% - 4px)) rotate(-0.8deg);
}

.gateway-deck-shadow {
  position: absolute;
  right: 4px;
  bottom: 7px;
  left: 4px;
  height: 28px;
  border-radius: 50%;
  background: rgba(2, 8, 17, 0.64);
  filter: blur(11px);
}

.gateway-choice-deck-scene .gateway-deck-card {
  position: absolute;
  width: 89px;
  max-width: none;
  height: auto;
  border: 1px solid rgba(255, 224, 150, 0.56);
  border-radius: 9px;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 13px rgba(1, 8, 16, 0.42))
    saturate(1.04);
  transform-origin: 50% 88%;
}

.gateway-deck-card-one {
  top: 42px;
  left: -1px;
  transform: rotate(-14deg);
}

.gateway-deck-card-two {
  top: 20px;
  left: 16px;
  transform: rotate(-5deg);
}

.gateway-deck-card-three {
  top: 19px;
  left: 33px;
  transform: rotate(5deg);
}

.gateway-deck-card-four {
  top: 40px;
  left: 49px;
  transform: rotate(14deg);
}

.gateway-choice-product:hover
  .gateway-choice-deck-scene
  .gateway-deck-card-one {
  transform: rotate(-14deg) scale(1.01);
}

.gateway-choice-product:hover
  .gateway-choice-deck-scene
  .gateway-deck-card-two {
  transform: rotate(-5deg) scale(1.01);
}

.gateway-choice-product:hover
  .gateway-choice-deck-scene
  .gateway-deck-card-three {
  transform: rotate(5deg) scale(1.01);
}

.gateway-choice-product:hover
  .gateway-choice-deck-scene
  .gateway-deck-card-four {
  transform: rotate(14deg) scale(1.01);
}

.gateway-project-logo {
  position: absolute;
  z-index: 2;
  top: 49.5%;
  left: 50%;
  display: grid;
  width: min(68%, 91px);
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms ease;
}

.gateway-project-logo img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 1px rgba(255, 255, 255, 0.7))
    drop-shadow(0 8px 14px rgba(1, 11, 24, 0.2));
}

.gateway-choice:hover .gateway-project-logo {
  filter: brightness(1.035);
  transform: translate(-50%, calc(-50% - 3px)) scale(1.025);
}

@media (max-width: 800px) {
  .gateway-deck-fan {
    width: 144px;
    height: 190px;
    transform: translate(-50%, -49%) scale(0.96);
  }

  .gateway-project-logo {
    width: min(66%, 96px);
  }
}

@media (max-width: 520px) {
  .gateway-deck-fan {
    transform: translate(-50%, -49%) scale(0.79);
  }

  .gateway-choice:hover .gateway-deck-fan {
    transform: translate(-50%, calc(-49% - 2px)) scale(0.8);
  }

  .gateway-project-logo {
    width: min(66%, 86px);
  }
}

/* Launch additions */

.hero .button-outline {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: white;
  backdrop-filter: blur(12px);
}

.hero .button-outline:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.15);
}

.first-lesson-statements {
  display: grid;
  gap: 9px;
  margin: 26px 0;
}

.first-lesson-statements p {
  margin: 0;
  padding: 12px 15px;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: #435169;
  font-size: 14px;
  line-height: 1.5;
}

.first-lesson-questions {
  display: grid;
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.first-lesson-questions li {
  position: relative;
  padding-left: 24px;
  color: #40516c;
  font-size: 14px;
  line-height: 1.55;
}

.first-lesson-questions li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: #c98b24;
  content: "→";
  font-weight: 800;
}

.first-lesson-safety {
  margin-top: 24px;
  padding: 19px 21px;
  border-left: 4px solid #2aa99f;
  border-radius: 0 16px 16px 0;
  background: rgba(223, 246, 242, 0.72);
  color: #42556a;
  font-size: 13px;
  line-height: 1.7;
}

.mentometology-note {
  margin: 28px 0;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.mentometology-note h3 {
  margin: 0 0 12px;
  color: #f4c56e;
  font-size: 18px;
}

.mentometology-note p {
  margin: 9px 0 0;
  color: rgba(235, 241, 249, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.mentometology-site-link {
  display: inline-flex;
  margin-top: 16px;
  color: #f4c56e;
  font-size: 14px;
  font-weight: 780;
  text-decoration: underline;
  text-decoration-color: rgba(244, 197, 110, 0.42);
  text-underline-offset: 5px;
}

.mentometology-site-link:hover,
.mentometology-site-link:focus-visible {
  color: #fff1c8;
}

.music-embed {
  min-width: 0;
}

.eco-music .music-embed {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.music-embed > h3 {
  margin: 8px 0 0;
}

.music-embed > p:not(.eyebrow, .experience-overline) {
  margin: 11px 0 0;
  line-height: 1.65;
}

.yandex-music-player {
  width: 100%;
  margin: 18px 0 13px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(7, 19, 36, 0.08);
}

.yandex-music-player iframe {
  display: block;
  width: 100%;
  border: 0;
}

.yandex-album-player iframe {
  height: 556px;
}

.yandex-track-player iframe {
  height: 244px;
}

.reward-music {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 22px;
  background: white;
}

.reward-music .text-link {
  color: #255e92;
}

.music-platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
}

.lead-form {
  width: min(760px, 100%);
  margin: 42px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(21, 38, 65, 0.11);
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 60px rgba(21, 38, 65, 0.08);
}

.lead-form.is-compact {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lead-form-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.lead-form.is-compact .lead-form-heading h3 {
  font-size: 21px;
}

.lead-form-heading p {
  margin: 10px 0 0;
  color: #627187;
  font-size: 13px;
  line-height: 1.6;
}

.lead-contact-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border-radius: 12px;
  background: #edf1f4;
}

.lead-contact-switch button {
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #627087;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}

.lead-contact-switch button.is-active {
  background: white;
  box-shadow: 0 4px 12px rgba(21, 38, 65, 0.09);
  color: var(--ink);
}

.lead-fields {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 12px;
  margin-top: 15px;
}

.lead-fields label {
  display: grid;
  gap: 7px;
}

.lead-fields label > span {
  color: #4b5b70;
  font-size: 11px;
  font-weight: 760;
}

.lead-fields label small {
  color: #8b96a6;
  font-weight: 500;
}

.lead-fields input,
.admin-qr-list input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(21, 38, 65, 0.15);
  border-radius: 12px;
  outline: 0;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
}

.lead-fields input:focus,
.admin-qr-list input:focus {
  border-color: #218f87;
  box-shadow: 0 0 0 3px rgba(41, 182, 171, 0.13);
}

.lead-honeypot {
  position: absolute;
  left: -10000px;
}

.lead-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  color: #67758a;
  font-size: 11px;
  line-height: 1.55;
}

.lead-consent + .lead-consent {
  margin-top: -6px;
}

.lead-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 1px;
  accent-color: #218f87;
}

.lead-consent a,
.lead-legal a {
  color: #1b736d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-legal {
  margin: 13px 0 0;
  color: #8490a0;
  font-size: 10px;
  line-height: 1.5;
}

.lead-error,
.lead-success {
  width: min(760px, 100%);
  margin: 20px auto 0;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 13px;
}

.lead-error {
  background: #fff0ed;
  color: #9c3d31;
}

.lead-success {
  background: #e8f7f3;
  color: #176b64;
}

.partner-dialog-overlay {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 14, 29, 0.72);
  backdrop-filter: blur(12px);
}

.lead-dialog-overlay {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 14, 29, 0.76);
  backdrop-filter: blur(12px);
}

.lead-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: clamp(26px, 5vw, 46px);
  border-radius: 28px;
  background: #fffaf1;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.lead-dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e9edf0;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
}

.partner-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 28px;
  background: #fffaf1;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}

.partner-dialog h2 {
  margin: 8px 0 0;
  font-size: clamp(35px, 5vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.partner-dialog > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #5c6c81;
  line-height: 1.7;
}

.partner-dialog blockquote {
  margin: 22px 0;
  padding: 17px 19px;
  border-left: 4px solid var(--gold);
  background: white;
  color: #35455d;
  font-size: 14px;
  line-height: 1.6;
}

.partner-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e9edf0;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
}

.partner-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.partner-dialog-primary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 0 18px;
  border-radius: 13px;
  background: #176f69;
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.partner-dialog-actions a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.partner-dialog .partner-dialog-legal {
  margin-top: 16px;
  color: #8290a1;
  font-size: 10px;
  line-height: 1.55;
}

.partner-dialog-legal a {
  color: #1b736d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.course-future-summary {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.course-future-summary > span {
  color: rgba(246, 198, 109, 0.72);
  font-size: 32px;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.course-future-summary small {
  color: rgba(222, 233, 245, 0.46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-future-summary h3 {
  margin: 6px 0 0;
  color: white;
  font-size: 22px;
}

.course-future-summary p {
  max-width: 790px;
  margin: 9px 0 0;
  color: rgba(231, 238, 247, 0.66);
  font-size: 13px;
  line-height: 1.65;
}

.family-thousand {
  display: block;
  min-height: 0;
}

.family-thousand-second {
  margin-top: 72px;
  margin-bottom: 72px;
}

.course-gift-counter {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.7fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.course-gift-meter {
  position: relative;
  display: grid;
  min-height: 230px;
  align-content: center;
  justify-items: center;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 65, 0.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 222, 150, 0.72), transparent 42%),
    linear-gradient(145deg, #fffdf8, #eaf7f4);
  box-shadow: inset 0 1px 0 white, 0 22px 50px rgba(22, 80, 87, 0.11);
  text-align: center;
}

.course-gift-meter::before,
.course-gift-meter::after {
  position: absolute;
  border: 1px solid rgba(27, 163, 153, 0.14);
  border-radius: 50%;
  content: "";
}

.course-gift-meter::before {
  width: 170px;
  height: 170px;
  top: -98px;
  right: -70px;
}

.course-gift-meter::after {
  width: 120px;
  height: 120px;
  bottom: -78px;
  left: -48px;
}

.course-gift-meter p,
.course-gift-meter span,
.course-gift-meter strong,
.course-gift-progress {
  position: relative;
  z-index: 1;
}

.course-gift-meter p {
  margin: 0 0 9px;
  color: #5c6f7e;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-gift-meter strong {
  color: #168d85;
  font-size: clamp(66px, 7vw, 104px);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.course-gift-meter > span {
  margin-top: 9px;
  color: #6b7a87;
  font-size: 13px;
  font-weight: 750;
}

.course-gift-progress {
  width: min(190px, 100%);
  height: 7px;
  margin-top: 19px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 38, 65, 0.09);
}

.course-gift-progress i {
  display: block;
  min-width: 3px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1ba399, #f5b84b);
  transition: width 500ms ease;
}

.course-gift-copy h2 {
  margin-top: 12px;
}

.course-gift-copy > p:last-child b {
  color: #168d85;
  font-weight: 850;
}

.guide-sticky-share {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
}

.guide-sticky-share .share-invite {
  margin: 0;
}

.guide-sticky-share .share-main-button {
  min-height: 50px;
  border-color: rgba(255, 255, 255, 0.2);
  background: #163a5c;
  box-shadow: 0 16px 38px rgba(8, 28, 49, 0.24);
}

.guide-sticky-share .share-menu {
  right: 0;
  bottom: calc(100% + 12px);
}

/* Legal pages */

.legal-page {
  min-height: 100svh;
  background: #f7f3eb;
  color: var(--ink);
}

.legal-header {
  background: rgba(247, 243, 235, 0.94);
  color: var(--ink);
}

.legal-document {
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
  padding: 95px 0 120px;
}

.legal-document > header {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(21, 38, 65, 0.13);
}

.legal-document h1 {
  max-width: 800px;
  margin: 12px 0 0;
  font-size: clamp(48px, 7vw, 78px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-document > header > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #5f6f84;
  font-size: 17px;
  line-height: 1.7;
}

.legal-document > header small {
  display: block;
  margin-top: 20px;
  color: #8994a3;
}

.legal-content {
  padding-top: 24px;
}

.legal-content section {
  padding: 30px 0;
  border-bottom: 1px solid rgba(21, 38, 65, 0.1);
}

.legal-content h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.legal-content p,
.legal-content li {
  color: #506176;
  font-size: 15px;
  line-height: 1.78;
}

.legal-content p {
  margin: 13px 0 0;
}

.legal-content ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: #16746d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-notice {
  margin: 8px 0 20px;
  padding: 22px 24px;
  border-left: 5px solid var(--gold);
  border-radius: 0 17px 17px 0;
  background: #fff5dc;
  color: #654f27;
  font-weight: 680;
  line-height: 1.65;
}

.legal-footer {
  display: flex;
  width: min(900px, calc(100% - 48px));
  flex-wrap: wrap;
  gap: 18px 30px;
  justify-content: space-between;
  margin-inline: auto;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(21, 38, 65, 0.13);
  color: #66758a;
  font-size: 12px;
}

/* Owner dashboard */

.admin-page {
  min-height: 100svh;
  padding: 44px max(24px, calc((100% - 1220px) / 2)) 90px;
  background: #eef2f4;
  color: var(--ink);
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}

.admin-header p {
  margin: 0 0 6px;
  color: #1b8179;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.055em;
}

.admin-header > div:last-child {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #6c798b;
  font-size: 12px;
}

.admin-header a,
.admin-card-heading a {
  color: #176f69;
  font-weight: 760;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr)) auto auto;
  gap: 10px;
  align-items: end;
  margin-top: 30px;
  padding: 19px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 18px;
  background: white;
}

.admin-filters label {
  display: grid;
  gap: 6px;
}

.admin-filters label span {
  color: #647287;
  font-size: 9px;
  font-weight: 790;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(21, 38, 65, 0.15);
  border-radius: 10px;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
}

.admin-filters button,
.admin-filters > a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 780;
}

.admin-filters > a {
  background: #e9eef0;
  color: #4d5d71;
}

.admin-metrics article,
.admin-card {
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 19px;
  background: white;
  box-shadow: 0 14px 40px rgba(21, 38, 65, 0.05);
}

.admin-metrics article {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: space-between;
  padding: 21px;
}

.admin-metrics strong {
  font-size: 35px;
  letter-spacing: -0.04em;
}

.admin-metrics span {
  color: #718094;
  font-size: 11px;
}

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

.admin-card {
  margin-top: 14px;
  padding: 26px;
}

.admin-grid .admin-card {
  margin-top: 0;
}

.admin-card-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.admin-card-heading h2 {
  margin: 0;
  font-size: 21px;
}

.admin-card-heading span,
.admin-card-heading div {
  color: #7f8b9a;
  font-size: 10px;
}

.admin-card-heading div {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.admin-card ol {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.admin-card ol li {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #edf0f2;
  color: #536276;
  font-size: 12px;
}

.admin-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.admin-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.admin-table-wrap th,
.admin-table-wrap td {
  padding: 11px 8px;
  border-top: 1px solid #edf0f2;
  text-align: left;
  white-space: nowrap;
}

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

.admin-qr-list form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-qr-list label {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.admin-qr-list label strong {
  font-size: 11px;
}

.admin-qr-list button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  cursor: pointer;
  font-weight: 760;
}

@media (max-width: 800px) {
  .first-lesson-grid {
    grid-template-columns: 1fr;
  }

  .yandex-album-player iframe {
    height: 500px;
  }

  .lead-fields,
  .partner-dialog-actions,
  .course-gift-counter,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .course-gift-counter {
    gap: 25px;
  }

  .game-offer-panel {
    grid-template-columns: 1fr;
  }

  .game-offer-product {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

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

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

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-qr-list form,
  .admin-qr-list label,
  .admin-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .guide-sticky-share {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .guide-sticky-share .share-invite,
  .guide-sticky-share .share-control,
  .guide-sticky-share .share-main-button {
    width: 100%;
  }

  .guide-sticky-share .share-menu {
    width: 100%;
  }

  .guide-sticky-share .share-status {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    left: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 12px 30px rgba(8, 28, 49, 0.15);
  }
}

@media (max-width: 520px) {
  .legal-document {
    width: min(100% - 32px, 900px);
    padding-top: 64px;
  }

  .legal-document h1 {
    font-size: 43px;
  }

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

/* Analytics dashboard refinements */

.admin-page {
  --admin-bg: #eef3f4;
  --admin-card: #ffffff;
  --admin-border: rgba(18, 42, 65, 0.1);
  --admin-muted: #6f7e91;
  --admin-teal: #177c73;
  --admin-teal-soft: #dff1ed;
  --admin-blue: #326fa8;
  --admin-gold: #b77b22;
  --admin-rose: #a95869;
  padding: 42px max(24px, calc((100% - 1360px) / 2)) 100px;
  background:
    radial-gradient(circle at 90% 0%, rgba(55, 132, 119, 0.1), transparent 24rem),
    var(--admin-bg);
}

.admin-header {
  align-items: flex-start;
}

.admin-header h1 {
  max-width: 850px;
  font-size: clamp(40px, 5vw, 68px);
}

.admin-header-note {
  display: block;
  max-width: 760px;
  margin-top: 12px;
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.6;
}

.admin-anchor-nav {
  position: sticky;
  z-index: 20;
  top: 12px;
  display: flex;
  gap: 7px;
  margin: 30px 0 0;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(27, 52, 70, 0.09);
  backdrop-filter: blur(18px);
}

.admin-anchor-nav a {
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: 10px;
  color: #526478;
  font-size: 11px;
  font-weight: 760;
  text-decoration: none;
}

.admin-anchor-nav a:hover {
  background: #e7f1ef;
  color: var(--admin-teal);
}

.admin-filters {
  grid-template-columns: 1.25fr repeat(5, minmax(125px, 1fr)) auto;
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(22, 50, 68, 0.05);
}

.admin-period-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.admin-period-presets a {
  display: flex;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf3f2;
  color: #476a6c;
  font-size: 9px;
  font-weight: 760;
  text-decoration: none;
}

.admin-filter-details {
  grid-column: 1 / -2;
  border-top: 1px solid #e7ecee;
  padding-top: 10px;
}

.admin-filter-details summary {
  width: max-content;
  color: #56717a;
  cursor: pointer;
  font-size: 10px;
  font-weight: 770;
}

.admin-filter-details > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.admin-filter-actions {
  display: grid;
  gap: 7px;
}

.admin-filter-actions a,
.admin-filter-actions button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 780;
  text-decoration: none;
}

.admin-filter-actions a {
  background: #e9eef0;
  color: #4d5d71;
}

.admin-section {
  scroll-margin-top: 88px;
  margin-top: 70px;
}

.admin-section-heading {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-section-heading > div:first-child {
  max-width: 850px;
}

.admin-section-heading p {
  margin: 0 0 7px;
  color: var(--admin-teal);
  font-size: 10px;
  font-weight: 840;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.admin-section-heading > div > span {
  display: block;
  margin-top: 10px;
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.55;
}

.admin-section-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-export-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(24, 116, 107, 0.18);
  border-radius: 11px;
  background: white;
  color: var(--admin-teal);
  font-size: 10px;
  font-weight: 790;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(23, 78, 80, 0.06);
}

.admin-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
  margin-top: 0;
}

.admin-metric-card {
  position: relative;
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--admin-border);
  border-radius: 20px;
  background: var(--admin-card);
  box-shadow: 0 14px 38px rgba(21, 38, 65, 0.055);
}

.admin-metric-card::after {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(76, 105, 124, 0.08);
  content: "";
  top: -28px;
  right: -24px;
}

.admin-metric-card.is-teal::after { background: rgba(23, 124, 115, 0.16); }
.admin-metric-card.is-blue::after { background: rgba(50, 111, 168, 0.15); }
.admin-metric-card.is-gold::after { background: rgba(183, 123, 34, 0.17); }
.admin-metric-card.is-rose::after { background: rgba(169, 88, 105, 0.15); }

.admin-metric-card strong {
  position: relative;
  z-index: 1;
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.admin-metric-card > span {
  margin-top: auto;
  color: #415368;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35;
}

.admin-metric-card small {
  margin-top: 5px;
  color: #8190a0;
  font-size: 9px;
  line-height: 1.35;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

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

.admin-dashboard-grid-wide > article:nth-last-child(1) {
  grid-column: 1 / -1;
}

.admin-card {
  margin-top: 0;
  padding: 25px;
  border-color: var(--admin-border);
  border-radius: 20px;
}

.admin-span-2 {
  grid-column: 1 / -1;
}

.admin-card-heading h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.admin-card-heading > div {
  display: block;
}

.admin-card-heading > div > span {
  display: block;
  margin-top: 4px;
  color: #7f8b9a;
  font-size: 9px;
}

.admin-card-heading a {
  font-size: 10px;
}

.admin-bar-list {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.admin-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(100px, 1.5fr) 54px;
  gap: 12px;
  align-items: center;
}

.admin-bar-label {
  min-width: 0;
}

.admin-bar-label span {
  display: block;
  overflow: hidden;
  color: #435569;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-bar-label small {
  color: #8a97a7;
  font-size: 8px;
}

.admin-bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f3;
}

.admin-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f8177, #55aaa0);
}

.admin-bar-row > strong {
  color: #2e4157;
  font-size: 10px;
  text-align: right;
}

.admin-empty {
  margin: 20px 0 0;
  padding: 18px;
  border-radius: 12px;
  background: #f4f7f8;
  color: #7a8998;
  font-size: 11px;
}

.admin-daily-chart {
  margin-top: 18px;
}

.admin-daily-bars {
  display: flex;
  height: 190px;
  gap: 3px;
  align-items: flex-end;
  padding: 14px 5px 0;
  border-bottom: 1px solid #dfe6e8;
  background-image: linear-gradient(to bottom, rgba(32, 69, 93, 0.07) 1px, transparent 1px);
  background-size: 100% 25%;
}

.admin-daily-column {
  display: flex;
  min-width: 2px;
  height: 100%;
  flex: 1 1 0;
  align-items: flex-end;
}

.admin-daily-column span {
  width: 100%;
  height: var(--bar-height);
  min-height: 2px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #56aaa0, #177c73);
}

.admin-daily-column:hover span {
  background: #d49331;
}

.admin-daily-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #8a96a4;
  font-size: 8px;
}

.admin-daily-axis strong {
  color: #617184;
  font-weight: 740;
}

.admin-funnel {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.admin-funnel-row {
  display: grid;
  grid-template-columns: minmax(145px, 0.7fr) minmax(200px, 2fr) 70px;
  gap: 15px;
  align-items: center;
}

.admin-funnel-copy span,
.admin-funnel-copy small {
  display: block;
}

.admin-funnel-copy span {
  color: #3f5267;
  font-size: 10px;
  font-weight: 720;
}

.admin-funnel-copy small {
  margin-top: 2px;
  color: #8b98a6;
  font-size: 8px;
}

.admin-funnel-track {
  height: 25px;
  overflow: hidden;
  border-radius: 7px;
  background: #edf2f3;
}

.admin-funnel-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3676a9, #5da69b);
}

.admin-funnel-value {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
}

.admin-funnel-value strong {
  font-size: 13px;
}

.admin-funnel-value small {
  color: #8090a0;
  font-size: 8px;
}

.admin-status {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf1f3;
  color: #5d6c7c;
  font-size: 9px;
  font-weight: 780;
}

.admin-status.is-good { background: #dff1ea; color: #176b5e; }
.admin-status.is-warn { background: #fff0dc; color: #9a5e19; }
.admin-status.is-blue { background: #e3edf7; color: #326a9c; }

.admin-table-wrap {
  border: 1px solid #e8edef;
  border-radius: 13px;
}

.admin-table-wrap table {
  min-width: 760px;
}

.admin-table-wrap th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: #f6f8f9;
  color: #68788a;
  font-size: 8px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.admin-table-wrap th,
.admin-table-wrap td {
  padding: 11px 10px;
}

.admin-table-wrap td {
  color: #46586b;
  font-size: 10px;
}

.admin-table-wrap tbody tr:hover {
  background: #f8fbfb;
}

.admin-table-wrap a {
  color: var(--admin-teal);
  font-weight: 750;
}

.admin-table-note {
  margin: 11px 0 0;
  color: #8491a0;
  font-size: 9px;
}

.admin-timeline-card {
  margin-top: 14px;
  scroll-margin-top: 90px;
}

.admin-timeline {
  display: grid;
  margin-top: 23px;
}

.admin-timeline-item {
  display: grid;
  grid-template-columns: 150px 14px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 68px;
}

.admin-timeline-item time {
  color: #788797;
  font-size: 9px;
  text-align: right;
}

.admin-timeline-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--admin-teal);
  box-shadow: 0 0 0 2px rgba(23, 124, 115, 0.18);
}

.admin-timeline-dot::after {
  position: absolute;
  width: 1px;
  height: 58px;
  background: #dce5e6;
  content: "";
  top: 10px;
  left: 3px;
}

.admin-timeline-item:last-child .admin-timeline-dot::after { display: none; }

.admin-timeline-item > div {
  display: grid;
  gap: 3px;
}

.admin-timeline-item strong { font-size: 10px; }
.admin-timeline-item span { color: #4c6074; font-size: 10px; }
.admin-timeline-item small { color: #8996a4; font-size: 8px; }

@media (max-width: 1180px) {
  .admin-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-filters { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
  .admin-period-presets { grid-row: span 2; }
  .admin-filter-details { grid-column: 1 / -1; }
  .admin-filter-actions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .admin-page { padding-inline: 18px; }
  .admin-anchor-nav { top: 8px; }
  .admin-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-period-presets { grid-column: 1 / -1; grid-row: auto; grid-template-columns: repeat(4, 1fr); }
  .admin-filter-details > div { grid-template-columns: 1fr; }
  .admin-filter-actions { grid-column: 1 / -1; }
  .admin-section { margin-top: 55px; }
  .admin-section-heading { align-items: flex-start; flex-direction: column; }
  .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-dashboard-grid,
  .admin-dashboard-grid-wide { grid-template-columns: 1fr; }
  .admin-dashboard-grid > article,
  .admin-dashboard-grid-wide > article { grid-column: auto !important; }
  .admin-funnel-row { grid-template-columns: 125px minmax(90px, 1fr) 60px; gap: 9px; }
  .admin-bar-row { grid-template-columns: minmax(105px, 0.9fr) minmax(80px, 1fr) 46px; gap: 8px; }
}

@media (max-width: 520px) {
  .admin-page { padding: 30px 12px 75px; }
  .admin-header h1 { font-size: 36px; }
  .admin-anchor-nav { margin-top: 22px; }
  .admin-filters { grid-template-columns: 1fr; }
  .admin-period-presets { grid-column: auto; grid-template-columns: repeat(2, 1fr); }
  .admin-filter-actions { grid-column: auto; }
  .admin-metrics { grid-template-columns: 1fr; }
  .admin-metric-card { min-height: 130px; }
  .admin-card { padding: 18px; }
  .admin-section-heading h2 { font-size: 30px; }
  .admin-section-actions { width: 100%; }
  .admin-export-link { width: 100%; }
  .admin-funnel-row { grid-template-columns: 1fr 50px; }
  .admin-funnel-track { grid-column: 1 / -1; grid-row: 2; }
  .admin-funnel-value { grid-column: 2; grid-row: 1; }
  .admin-daily-bars { height: 150px; }
  .admin-timeline-item { grid-template-columns: 14px minmax(0, 1fr); }
  .admin-timeline-item time { grid-column: 2; text-align: left; }
  .admin-timeline-dot { grid-column: 1; grid-row: 1 / 3; }
  .admin-timeline-item > div { grid-column: 2; }
}

/* Shareable section pages */

.section-landing {
  min-height: 100svh;
  background: #fff9ef;
  color: var(--ink);
}

.section-landing-music {
  background: #0b1c34;
  color: white;
}

.section-landing-hero {
  display: grid;
  width: min(1180px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
  margin-inline: auto;
  padding: 90px 0 105px;
}

.section-landing-hero h1,
.books-landing-intro h1 {
  margin: 12px 0 0;
  font-size: clamp(50px, 6.4vw, 84px);
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.section-landing-hero > div > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #62738a;
  font-size: 16px;
  line-height: 1.75;
}

.section-landing-music .section-landing-hero > div > p:not(.eyebrow) {
  color: rgba(231, 239, 249, 0.68);
}

.music-platforms-button {
  width: fit-content;
  max-width: 620px;
  margin-top: 32px;
  padding: 18px 24px;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.3;
  text-align: center;
}

.section-landing-hero > img {
  width: 100%;
  max-height: 650px;
  border-radius: 34px;
  box-shadow: 0 32px 90px rgba(2, 12, 25, 0.3);
  object-fit: cover;
}

.section-landing-music .section-landing-hero > img {
  aspect-ratio: 1;
}

.section-landing-panel {
  padding: 95px max(32px, calc((100% - 980px) / 2)) 110px;
  background: #f2eadf;
}

.section-landing-music .section-landing-panel {
  background: #f7f2e8;
  color: var(--ink);
}

.section-landing-panel .music-embed {
  margin: 0 auto;
}

.section-landing-footer {
  width: 100%;
}

.books-landing-intro {
  width: min(1050px, calc(100% - 64px));
  margin-inline: auto;
  padding: 95px 0 70px;
}

.books-landing-intro > p:not(.eyebrow) {
  max-width: 760px;
  margin: 25px 0 0;
  color: #637188;
  font-size: 16px;
  line-height: 1.75;
}

.books-landing-grid {
  display: grid;
  width: min(1180px, calc(100% - 64px));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin: 0 auto 105px;
}

.books-landing-grid article {
  padding: 12px 12px 18px;
  border: 1px solid rgba(21, 38, 65, 0.1);
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 42px rgba(21, 38, 65, 0.07);
}

.books-landing-grid img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 13px;
  object-fit: cover;
}

.books-landing-grid h2 {
  margin: 15px 3px 0;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.books-landing-grid span {
  display: block;
  margin: 9px 3px 0;
  color: #1b8c83;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partners-landing-hero .button {
  margin-top: 30px;
}

.partners-landing-hero > img {
  aspect-ratio: 4 / 5;
  object-position: center 20%;
}

@media (max-width: 900px) {
  .section-landing-hero {
    grid-template-columns: 1fr;
  }

  .section-landing-hero > img {
    max-height: 540px;
  }

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

@media (max-width: 520px) {
  .section-landing-hero,
  .books-landing-intro,
  .books-landing-grid {
    width: min(100% - 32px, 1180px);
  }

  .section-landing-hero {
    padding-top: 60px;
  }

  .music-platforms-button {
    width: 100%;
  }

  .books-landing-grid {
    grid-template-columns: 1fr;
  }
}

/* Entry gateway: one screen with the original four route cards */

.gateway-intro {
  min-height: 100svh;
  grid-template-rows: auto 1fr;
}

.gateway-content {
  display: block;
  width: min(1240px, calc(100% - 64px));
  align-self: center;
  margin-inline: auto;
  padding: clamp(14px, 2vh, 24px) 0 clamp(20px, 2.8vh, 32px);
}

.gateway-hero-copy {
  max-width: 660px;
}

.gateway-hero-copy > h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(36px, 3vw, 44px);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.gateway-hero-copy > h1 em {
  color: #ffd06d;
  font-style: normal;
}

.gateway-route-panel {
  margin-top: clamp(14px, 2vh, 22px);
}

.gateway-route-heading {
  display: grid;
  max-width: none;
  grid-template-areas:
    "label label"
    "title description";
  grid-template-columns: minmax(350px, 0.8fr) minmax(360px, 1.2fr);
  align-items: end;
  column-gap: 28px;
  margin: 0;
}

.gateway-route-heading > span {
  grid-area: label;
}

.gateway-route-heading h2 {
  grid-area: title;
  margin: 5px 0 0;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.05;
}

.gateway-route-heading p {
  grid-area: description;
  max-width: 610px;
  margin: 0 0 2px;
  font-size: 11px;
  line-height: 1.45;
}

.gateway-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 11px;
}

.gateway-choice {
  height: clamp(118px, 15vh, 142px);
  min-height: 0;
  border-radius: 20px;
}

.gateway-choice-game,
.gateway-choice-course,
.gateway-choice-product,
.gateway-choice-project {
  grid-template-columns: minmax(0, 26%) minmax(0, 1fr);
}

.gateway-choice-copy {
  padding: 10px 16px;
}

.gateway-choice-copy small {
  margin-bottom: 4px;
  font-size: 7px;
}

.gateway-choice-copy h2 {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.05;
}

.gateway-choice-copy p {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.35;
}

.gateway-choice-copy > strong {
  gap: 7px;
  margin-top: 6px;
  font-size: 8px;
}

.gateway-choice-copy > strong span {
  font-size: 13px;
}

.gateway-project-logo {
  width: min(58%, 70px);
}

.gateway-deck-fan {
  transform: translate(-50%, -50%) scale(0.64);
}

.gateway-choice:hover .gateway-deck-fan {
  transform: translate(-50%, calc(-50% - 2px)) scale(0.65) rotate(-0.8deg);
}

@media (min-width: 801px) and (max-height: 800px) {
  .gateway-header {
    padding-top: 16px;
  }

  .gateway-brand > span {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 13px;
  }

  .gateway-brand img {
    width: 57px;
  }

  .gateway-content {
    padding: 10px 0 18px;
  }

  .gateway-kicker {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .gateway-hero-copy > h1 {
    font-size: clamp(34px, 2.85vw, 40px);
  }

  .gateway-lead {
    margin-top: 11px;
    font-size: 12px;
    line-height: 1.42;
  }

  .gateway-release-note {
    margin-top: 8px;
    font-size: 10px;
  }

  .gateway-route-panel {
    margin-top: 10px;
  }

  .gateway-route-heading h2 {
    font-size: 23px;
  }

  .gateway-route-heading p {
    font-size: 10px;
  }

  .gateway-choices {
    gap: 8px;
    margin-top: 8px;
  }

  .gateway-choice {
    height: 112px;
  }

  .gateway-choice-copy h2 {
    font-size: 18px;
  }

  .gateway-choice-copy p {
    font-size: 9px;
  }
}

@media (max-width: 800px) {
  .gateway-intro {
    min-height: 100svh;
    overflow: hidden;
  }

  .gateway-content {
    width: calc(100% - 36px);
    align-self: auto;
    padding: 38px 0 24px;
  }

  .gateway-hero-copy {
    max-width: none;
  }

  .gateway-hero-copy > h1 {
    max-width: none;
    font-size: clamp(30px, 7.5vw, 38px);
    line-height: 1.03;
  }

  .gateway-lead {
    margin-top: 13px;
    font-size: 12.5px;
    line-height: 1.48;
  }

  .gateway-mobile-scene {
    display: block;
    width: 100vw;
    height: clamp(250px, 72vw, 310px);
    margin-left: -18px;
    margin-top: 18px;
    border: 0;
    border-radius: 0;
    background: #071426;
  }

  .gateway-mobile-scene::after {
    background:
      linear-gradient(180deg, #071426 0%, rgba(7, 20, 38, 0.05) 18%, rgba(7, 20, 38, 0.04) 72%, #071426 100%),
      linear-gradient(90deg, rgba(7, 20, 38, 0.62) 0%, transparent 18%, transparent 88%, rgba(7, 20, 38, 0.2) 100%);
  }

  .gateway-mobile-scene img {
    object-fit: cover;
    object-position: 88% center;
  }

  .gateway-route-panel {
    margin-top: 18px;
  }

  .gateway-route-heading {
    display: block;
  }

  .gateway-route-heading h2 {
    margin-top: 5px;
    font-size: clamp(24px, 6.6vw, 30px);
  }

  .gateway-route-heading p {
    margin-top: 7px;
    font-size: 11px;
  }

  .gateway-choices {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 11px;
  }

  .gateway-choice {
    height: auto;
    min-height: 116px;
    border-radius: 17px;
  }

  .gateway-choice-game,
  .gateway-choice-course,
  .gateway-choice-product,
  .gateway-choice-project {
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  }

  .gateway-choice-copy {
    padding: 10px 9px;
  }

  .gateway-choice-copy small {
    margin-bottom: 4px;
    font-size: 6px;
    line-height: 1.2;
  }

  .gateway-choice-copy h2 {
    font-size: clamp(14px, 3.9vw, 19px);
    line-height: 1.04;
  }

  .gateway-choice-copy p {
    display: none;
  }

  .gateway-choice-copy > strong {
    margin-top: 7px;
    font-size: 7px;
    line-height: 1.25;
  }

  .gateway-project-logo {
    width: min(66%, 58px);
  }

  .gateway-deck-fan {
    transform: translate(-50%, -50%) scale(0.48);
  }

  .gateway-choice:hover .gateway-deck-fan {
    transform: translate(-50%, calc(-50% - 2px)) scale(0.49) rotate(-0.8deg);
  }
}

@media (max-width: 420px) {
  .gateway-content {
    padding-top: 30px;
  }

  .gateway-mobile-scene {
    height: clamp(250px, 74vw, 300px);
  }

  .gateway-mobile-scene img {
    object-position: 90% center;
  }

  .gateway-route-heading p {
    font-size: 10px;
  }

  .gateway-choice {
    min-height: 108px;
  }
}

/* Refined vertical rhythm on long editorial pages */

/* Project: tighten adjacent light sections while keeping the hero, dark
   methodology/connection panels and final call to action spacious. */
.lessons-section {
  padding-bottom: 92px;
}

.ecosystem-section {
  padding: 92px 0 104px;
}

.education-section {
  padding: 108px 0 94px;
}

.first-lesson-section {
  padding: 96px 0 108px;
}

.partner-section {
  padding: 104px 0;
}

.author-section {
  padding: 102px 0;
}

/* Family game: use a denser reading rhythm between product sections. */
.game-principle {
  padding: 92px 0;
}

.game-steps {
  padding-top: 94px;
  padding-bottom: 100px;
}

.game-depth-preview {
  padding-top: 104px;
  padding-bottom: 108px;
}

.game-topics {
  padding-top: 104px;
  padding-bottom: 110px;
}

.game-compare,
.game-faq {
  padding: 92px 0;
}

.paid-materials {
  margin-bottom: 88px;
}

/* Family course: shorten the repeated light gaps, retain room in the dark
   course and route sections. */
.family-intro {
  padding: 90px 0;
}

.course-parts-section {
  padding-top: 104px;
  padding-bottom: 108px;
}

.family-tools-section {
  padding-top: 94px;
  padding-bottom: 102px;
}

.family-route {
  padding-top: 106px;
  padding-bottom: 106px;
}

.product-ladder {
  padding-top: 94px;
  padding-bottom: 102px;
}

.family-paid-note {
  margin-top: 88px;
  margin-bottom: 88px;
}

.family-cta {
  padding: 92px 0;
}

/* Instruction: keep its long-form structure, but remove the repeated
   240–260px visual pauses between consecutive chapters. */
.instruction-about {
  padding: 92px 0;
}

.instruction-start {
  padding-top: 92px;
  padding-bottom: 98px;
}

.instruction-steps {
  padding-top: 94px;
  padding-bottom: 102px;
}

.instruction-safety {
  padding-top: 104px;
  padding-bottom: 110px;
}

.instruction-depth {
  padding-top: 96px;
  padding-bottom: 104px;
}

.instruction-everyday {
  padding-top: 104px;
  padding-bottom: 110px;
}

.instruction-timing {
  padding: 92px 0 98px;
}

.instruction-share-section {
  padding-bottom: 88px;
}

@media (max-width: 800px) {
  .lessons-section {
    padding-bottom: 72px;
  }

  .ecosystem-section,
  .education-section,
  .first-lesson-section,
  .partner-section,
  .author-section {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .family-intro,
  .family-cta {
    padding: 70px 0;
  }

  .family-library-bridge {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 25px;
    margin: -20px auto 72px;
    padding: 25px 21px;
    border-radius: 23px;
  }

  .family-tools-section,
  .product-ladder {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .course-parts-section,
  .family-route {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .family-paid-note {
    margin-top: 72px;
    margin-bottom: 72px;
  }

  .game-principle,
  .game-compare,
  .game-faq {
    padding: 72px 0;
  }

  .game-steps,
  .game-depth-preview,
  .game-topics {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .paid-materials {
    margin-bottom: 72px;
  }

  .instruction-about,
  .instruction-timing {
    padding: 72px 0;
  }

  .instruction-start,
  .instruction-steps,
  .instruction-depth {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .instruction-safety,
  .instruction-everyday {
    padding-top: 78px;
    padding-bottom: 84px;
  }

  .instruction-share-section {
    padding-bottom: 72px;
  }
}

/* Library of the School of Life */

.library-page {
  min-height: 100svh;
  overflow: hidden;
  background: #fff9ef;
  color: var(--ink);
}

.library-header {
  position: absolute;
}

.library-hero {
  position: relative;
  display: grid;
  min-height: max(780px, 100svh);
  overflow: hidden;
  align-items: center;
  padding: 132px max(32px, calc((100% - 1240px) / 2)) 96px;
  background: #07162b;
  color: white;
}

.library-hero-image,
.library-hero-image span {
  position: absolute;
  inset: 0;
}

.library-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.1) saturate(1.04);
}

.library-hero-image span {
  background: none;
}

.library-hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 55%);
}

.library-hero-copy h1 {
  max-width: 660px;
  margin: 15px 0 0;
  font-size: clamp(58px, 6.8vw, 92px);
  font-weight: 720;
  letter-spacing: -0.064em;
  line-height: 0.92;
}

.library-hero-copy h1 em {
  color: #ffd06d;
  font-family: "Caveat", cursive;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.library-hero-lead {
  max-width: 610px;
  margin: 31px 0 0;
  color: white;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.5;
}

.library-hero-copy > p:not(.eyebrow, .library-hero-lead) {
  max-width: 610px;
  margin: 19px 0 0;
  color: rgba(229, 238, 249, 0.7);
  font-size: 15px;
  line-height: 1.75;
}

.library-hero-copy .button {
  margin-top: 32px;
}

.library-hero-note {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100% - 1240px) / 2));
  bottom: 42px;
  display: flex;
  width: min(385px, 32vw);
  flex-direction: column;
  gap: 8px;
  padding: 19px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 20, 39, 0.52);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(14px);
}

.library-hero-note span {
  color: #f6c66d;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.library-hero-note strong {
  color: rgba(244, 248, 253, 0.85);
  font-size: 12px;
  font-weight: 620;
  line-height: 1.55;
}

.library-opening {
  display: grid;
  width: min(1160px, calc(100% - 64px));
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
  margin-inline: auto;
  padding: 105px 0 110px;
}

.library-opening h2,
.library-section-heading h2,
.library-format h2,
.library-coming h2 {
  margin: 13px 0 0;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.library-opening > p {
  margin: 0;
  color: #65748a;
  font-size: 17px;
  line-height: 1.85;
}

.library-double-reading {
  display: grid;
  width: min(1160px, calc(100% - 64px));
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
  margin-inline: auto;
  padding: 108px 0 115px;
}

.library-double-reading-copy h2 {
  margin: 13px 0 0;
  color: #122b4b;
  font-size: clamp(40px, 5vw, 66px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.library-double-reading-copy > p:not(.eyebrow) {
  margin: 23px 0 0;
  color: #637489;
  font-size: 15px;
  line-height: 1.8;
}

.library-double-reading-copy > p + p:not(.eyebrow) {
  margin-top: 15px;
  color: #788795;
  font-size: 13px;
}

.library-double-reading-cards {
  display: grid;
  gap: 14px;
}

.library-double-reading-cards article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 5px 17px;
  padding: 25px;
  border: 1px solid rgba(21, 53, 83, 0.11);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(30, 51, 76, 0.07);
}

.library-double-reading-cards article > span {
  display: grid;
  width: 50px;
  height: 50px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 16px;
  background: #e4f3ef;
  color: #167f75;
  font-size: 11px;
  font-weight: 850;
}

.library-double-reading-cards article:last-child > span {
  background: #fff0cf;
  color: #a66d13;
}

.library-double-reading-cards h3 {
  margin: 1px 0 0;
  color: #173457;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.library-double-reading-cards p {
  margin: 4px 0 0;
  color: #68798b;
  font-size: 12px;
  line-height: 1.65;
}

html:has(.library-page) {
  scroll-behavior: auto;
}

.library-articles {
  scroll-margin-top: -92px;
  padding: 105px max(32px, calc((100% - 1180px) / 2)) 115px;
  background:
    radial-gradient(circle at 88% 8%, rgba(44, 171, 158, 0.11), transparent 27%),
    #fff9ef;
}

.library-articles-heading {
  display: flex;
  max-width: 820px;
  flex-direction: column;
}

.library-articles-heading h2 {
  margin: 13px 0 0;
  color: #122b4b;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1;
}

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

.library-article-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(21, 53, 83, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(30, 51, 76, 0.08);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.library-article-card::after {
  position: absolute;
  top: -75px;
  right: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(224, 164, 48, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 198, 109, 0.15), transparent 63%);
  content: "";
}

.library-article-card:hover {
  border-color: rgba(32, 151, 139, 0.32);
  box-shadow: 0 24px 65px rgba(30, 51, 76, 0.13);
  transform: translateY(-4px);
}

.library-article-card > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: #fff0cf;
  color: #a66d13;
  font-size: 11px;
  font-weight: 850;
}

.library-article-card h3 {
  position: relative;
  z-index: 1;
  margin: 31px 0 0;
  color: #122b4b;
  font-size: clamp(24px, 2.3vw, 31px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.library-article-card p {
  margin: 18px 0 28px;
  color: #66758a;
  font-size: 13px;
  line-height: 1.7;
}

.library-article-card strong {
  margin-top: auto;
  color: #167f75;
  font-size: 12px;
  font-weight: 800;
}

.library-directions {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: -92px;
  padding: 110px max(32px, calc((100% - 1240px) / 2)) 125px;
  background:
    radial-gradient(circle at 86% 6%, rgba(41, 182, 171, 0.2), transparent 25%),
    radial-gradient(circle at 8% 88%, rgba(245, 184, 75, 0.17), transparent 23%),
    linear-gradient(145deg, #102744 0%, #091a32 48%, #071426 100%);
  color: white;
}

.library-directions::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 24% 28%, rgba(83, 184, 201, 0.08), transparent 22%),
    radial-gradient(circle at 78% 64%, rgba(255, 207, 112, 0.06), transparent 25%);
  content: "";
}

.library-directions::after {
  position: absolute;
  z-index: -1;
  top: -380px;
  left: 50%;
  width: min(1040px, 86vw);
  height: 650px;
  border: 1px solid rgba(246, 198, 109, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.018),
    0 0 90px rgba(41, 182, 171, 0.08),
    inset 0 -34px 75px rgba(245, 184, 75, 0.08);
  content: "";
  transform: translateX(-50%);
}

.library-constellations {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.library-constellations svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.library-constellations .constellation {
  fill: rgba(255, 229, 166, 0.9);
  filter: drop-shadow(0 0 7px rgba(255, 213, 123, 0.58));
}

.library-constellations .constellation path {
  fill: none;
  stroke: rgba(255, 222, 153, 0.34);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.library-constellations .constellation circle:nth-of-type(3n + 2) {
  fill: #9fe7df;
  filter: drop-shadow(0 0 8px rgba(93, 218, 204, 0.72));
}

.library-constellations .constellation-cassiopeia,
.library-constellations .constellation-kite {
  opacity: 0.8;
}

.library-constellations .constellation-orion,
.library-constellations .constellation-crown {
  opacity: 0.7;
}

.library-section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 36px 80px;
  align-items: end;
}

.library-section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -17px;
  color: #f6c66d;
}

.library-section-heading h2 {
  max-width: 760px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.library-section-heading > p:not(.eyebrow) {
  margin: 0;
  color: rgba(226, 236, 248, 0.7);
  font-size: 15px;
  line-height: 1.75;
}

.library-direction-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.library-direction-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 38%, rgba(255, 255, 255, 0.18));
  border-radius: 28px 28px 34px 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(19, 48, 77, 0.88), rgba(7, 22, 43, 0.94));
  box-shadow:
    0 26px 65px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -28px 70px color-mix(in srgb, var(--card-accent) 7%, transparent);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.library-direction-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 68%, white 16%);
  box-shadow:
    0 30px 75px rgba(0, 0, 0, 0.34),
    0 0 34px color-mix(in srgb, var(--card-accent) 20%, transparent),
    inset 0 1px rgba(255, 255, 255, 0.16),
    inset 0 -34px 74px color-mix(in srgb, var(--card-accent) 10%, transparent);
  transform: translateY(-5px);
}

.library-direction-card::before {
  position: absolute;
  z-index: 0;
  top: -55px;
  right: -38px;
  width: 185px;
  height: 185px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 55%, white 12%);
  border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--card-accent) 27%, transparent), transparent 61%);
  box-shadow:
    0 0 38px color-mix(in srgb, var(--card-accent) 18%, transparent),
    inset 0 0 34px color-mix(in srgb, var(--card-accent) 12%, transparent);
  content: "";
}

.library-direction-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  box-shadow: 0 -7px 22px color-mix(in srgb, var(--card-accent) 24%, transparent);
  content: "";
}

.library-direction-card.is-gold { --card-accent: #e8a72f; }
.library-direction-card.is-coral { --card-accent: #ff725e; }
.library-direction-card.is-violet { --card-accent: #796ce0; }
.library-direction-card.is-teal { --card-accent: #20aaa0; }
.library-direction-card.is-blue { --card-accent: #3989d5; }
.library-direction-card.is-amber { --card-accent: #d88c2d; }
.library-direction-card.is-mint { --card-accent: #40ae82; }
.library-direction-card.is-indigo { --card-accent: #4d64b5; }
.library-direction-card.is-green { --card-accent: #668f3d; }

.library-direction-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.library-direction-topline > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 48%, white 15%);
  border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--card-accent) 27%, transparent), rgba(5, 18, 36, 0.86) 70%);
  box-shadow:
    0 0 25px color-mix(in srgb, var(--card-accent) 24%, transparent),
    inset 0 0 16px color-mix(in srgb, var(--card-accent) 16%, transparent);
  color: color-mix(in srgb, var(--card-accent) 72%, white);
  font-size: 12px;
  font-weight: 850;
}

.library-direction-topline strong {
  color: color-mix(in srgb, var(--card-accent) 70%, white);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-align: right;
  text-transform: uppercase;
}

.library-direction-card h3 {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 28px 0 0;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: white;
}

.library-direction-card > p {
  margin: 17px 0 0;
  color: rgba(226, 236, 248, 0.7);
  font-size: 13px;
  line-height: 1.67;
}

.library-question-preview {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.library-question-preview span {
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 32%, rgba(255, 255, 255, 0.12));
  border-radius: 100px;
  background: color-mix(in srgb, var(--card-accent) 9%, rgba(255, 255, 255, 0.045));
  color: rgba(239, 245, 252, 0.76);
  font-size: 10px;
  line-height: 1.3;
}

.library-format {
  display: grid;
  padding: 120px max(32px, calc((100% - 1180px) / 2));
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.68fr);
  gap: clamp(55px, 9vw, 125px);
  background:
    radial-gradient(circle at 12% 10%, rgba(41, 182, 171, 0.14), transparent 28%),
    linear-gradient(135deg, #132745 0%, #0a1930 100%);
  color: white;
}

.library-format-heading > p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(226, 236, 248, 0.68);
  font-size: 15px;
  line-height: 1.78;
}

.library-format-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.library-format-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.055);
}

.library-format-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(245, 184, 75, 0.14);
  color: #f6c66d;
  font-size: 11px;
  font-weight: 850;
}

.library-format-steps strong {
  font-size: 15px;
}

.library-format-steps p {
  margin: 7px 0 0;
  color: rgba(226, 236, 248, 0.62);
  font-size: 11px;
  line-height: 1.6;
}

.library-coming {
  display: flex;
  width: min(1160px, calc(100% - 64px));
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  margin-inline: auto;
  padding: 105px 0 115px;
}

.library-coming > div:first-child {
  max-width: 760px;
}

.library-coming > div:first-child > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: #65748a;
  font-size: 15px;
  line-height: 1.75;
}

.library-coming-actions {
  display: flex;
  min-width: 260px;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  text-align: center;
}

.library-coming-actions > a:not(.button) {
  color: #59677a;
  font-size: 12px;
  font-weight: 740;
}

.library-coming-actions > a:not(.button):hover {
  color: var(--ink);
}

.library-footer {
  width: 100%;
  border-top-color: rgba(255, 255, 255, 0.1);
  background: #071426;
  color: rgba(226, 236, 248, 0.64);
}

.library-footer a:hover {
  color: white;
}

.library-footer span {
  color: rgba(226, 236, 248, 0.4);
}

@media (max-width: 1080px) {
  .library-hero {
    min-height: max(740px, 100svh);
  }

  .library-hero-copy {
    width: min(630px, 62%);
  }

  .library-hero-note {
    width: min(350px, 35vw);
  }

  .library-section-heading,
  .library-format {
    grid-template-columns: 1fr;
  }

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

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

  .library-format-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .library-hero {
    min-height: auto;
    padding: 125px 18px 48px;
  }

  .library-hero-image img {
    object-position: 67% center;
  }

  .library-hero-image span {
    background:
      linear-gradient(180deg, rgba(5, 16, 32, 0.05) 0%, rgba(5, 16, 32, 0.12) 32%, rgba(5, 16, 32, 0.76) 61%, #061326 100%);
  }

  .library-hero-copy {
    width: 100%;
    padding-top: 220px;
  }

  .library-hero-copy h1 {
    font-size: clamp(49px, 15vw, 69px);
  }

  .library-hero-lead {
    font-size: 18px;
  }

  .library-hero-copy .button {
    width: 100%;
  }

  .library-hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
  }

  .library-opening,
  .library-coming {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    padding: 78px 0 82px;
  }

  .library-opening {
    display: grid;
    gap: 28px;
  }

  .library-opening h2,
  .library-section-heading h2,
  .library-format h2,
  .library-coming h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .library-directions,
  .library-format,
  .library-articles {
    padding: 82px 18px 88px;
  }

  .library-direction-grid,
  .library-format-steps,
  .library-article-grid {
    grid-template-columns: 1fr;
  }

  .library-article-card {
    min-height: 0;
  }

  .library-direction-card {
    min-height: 0;
    padding: 25px;
  }

  .library-constellations svg {
    width: 170%;
    margin-left: -35%;
  }

  .library-coming {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
  }

  .library-coming-actions {
    min-width: 0;
  }

  .library-header .subpage-brand strong {
    max-width: 180px;
    font-size: 13px;
    line-height: 1.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .library-hero-image img {
    animation: none;
  }
}

/* Library articles */

.library-article-page {
  min-height: 100svh;
  overflow: hidden;
  background: #fff9ef;
  color: #182b45;
}

.library-article-header {
  position: absolute;
}

.library-article-hero {
  position: relative;
  display: flex;
  min-height: 590px;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px max(32px, calc((100% - 1080px) / 2)) 92px;
  background:
    radial-gradient(circle at 82% 16%, rgba(54, 183, 172, 0.2), transparent 30%),
    radial-gradient(circle at 14% 88%, rgba(245, 184, 75, 0.16), transparent 30%),
    linear-gradient(145deg, #102b4c 0%, #091a32 58%, #071426 100%);
  color: white;
}

.library-article-hero::after {
  position: absolute;
  top: -330px;
  right: -120px;
  width: 820px;
  height: 820px;
  border: 1px solid rgba(246, 198, 109, 0.19);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.016),
    0 0 110px rgba(40, 171, 159, 0.09),
    inset 0 0 80px rgba(245, 184, 75, 0.055);
  content: "";
}

.library-article-stars {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background:
    radial-gradient(circle at 9% 26%, #f8d78e 0 2px, transparent 3px),
    radial-gradient(circle at 19% 41%, #85dcd3 0 2px, transparent 3px),
    radial-gradient(circle at 38% 17%, #f8d78e 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 65% 34%, #85dcd3 0 2px, transparent 3px),
    radial-gradient(circle at 73% 18%, #f8d78e 0 2px, transparent 3px),
    radial-gradient(circle at 88% 48%, #f8d78e 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 92% 72%, #85dcd3 0 2px, transparent 3px);
  filter: drop-shadow(0 0 7px rgba(255, 216, 135, 0.58));
}

.library-article-hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

.library-article-back {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 55px;
  color: rgba(229, 238, 249, 0.7);
  font-size: 12px;
  font-weight: 760;
}

.library-article-back:hover {
  color: white;
}

.library-article-hero .eyebrow {
  color: #f6c66d;
}

.library-article-hero h1 {
  max-width: 980px;
  margin: 17px 0 0;
  font-size: clamp(50px, 6.2vw, 86px);
  font-weight: 710;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.library-article-author {
  margin: 31px 0 0;
  color: rgba(229, 238, 249, 0.68);
  font-size: 12px;
  font-weight: 650;
}

.library-article-body {
  width: min(790px, calc(100% - 48px));
  margin-inline: auto;
  padding: 90px 0 105px;
  color: #2c3d54;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.55vw, 20px);
  line-height: 1.86;
}

.library-article-body > p {
  margin: 0 0 25px;
}

.library-article-body > p:first-child {
  color: #173457;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.62;
}

.library-article-body h2 {
  margin: 68px 0 25px;
  color: #122b4b;
  font-family: "Manrope Variable", "Manrope", "Avenir Next", Arial, sans-serif;
  font-size: clamp(31px, 3.5vw, 45px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.library-article-body strong {
  color: #153b5d;
}

.library-article-formula {
  margin: 38px 0 !important;
  padding: 26px 28px;
  border-left: 4px solid #e0a430;
  border-radius: 0 20px 20px 0;
  background: #fff0cf;
  color: #193758;
  font-family: "Manrope Variable", "Manrope", "Avenir Next", Arial, sans-serif;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.7;
}

.library-article-quote {
  margin: -4px 0 22px !important;
  padding-left: 24px;
  border-left: 2px solid rgba(32, 151, 139, 0.32);
  color: #476177;
  font-style: italic;
}

.library-article-pagination {
  display: grid;
  padding: 0 max(32px, calc((100% - 1080px) / 2)) 100px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.library-article-pagination > a {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 27px 30px;
  border: 1px solid rgba(21, 53, 83, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 200ms ease, transform 200ms ease;
}

.library-article-pagination > a:hover {
  border-color: rgba(32, 151, 139, 0.35);
  transform: translateY(-3px);
}

.library-article-pagination > a > span {
  margin-bottom: 10px;
  color: #8c99a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-article-pagination strong {
  color: #183452;
  font-size: 16px;
  line-height: 1.45;
}

.library-article-pagination .is-next {
  text-align: right;
}

.library-article-page .library-article-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: #071426;
  color: rgba(226, 236, 248, 0.62);
}

.library-article-page .library-article-footer a:hover {
  color: white;
}

.library-article-page .library-article-footer span {
  color: rgba(226, 236, 248, 0.38);
}

@media (max-width: 760px) {
  .library-article-hero {
    min-height: 570px;
    padding: 130px 18px 65px;
  }

  .library-article-hero::after {
    top: -130px;
    right: -340px;
    width: 650px;
    height: 650px;
  }

  .library-article-back {
    margin-bottom: 42px;
  }

  .library-article-hero h1 {
    font-size: clamp(43px, 12vw, 62px);
  }

  .library-article-body {
    width: calc(100% - 36px);
    padding: 68px 0 80px;
    font-size: 18px;
    line-height: 1.78;
  }

  .library-article-body h2 {
    margin-top: 55px;
  }

  .library-article-formula {
    padding: 22px 20px;
    overflow-wrap: anywhere;
  }

  .library-article-pagination {
    padding: 0 18px 75px;
    grid-template-columns: 1fr;
  }

  .library-article-pagination > span {
    display: none;
  }

  .library-article-pagination .is-next {
    text-align: left;
  }
}

/* Scalable library navigation and article reading system */

.library-hero-image span {
  background: linear-gradient(90deg, rgba(4, 15, 31, 0.88) 0%, rgba(4, 15, 31, 0.56) 47%, rgba(4, 15, 31, 0.05) 78%);
}

.library-find,
.library-featured,
.library-pathways,
.library-practice-bridge {
  padding-inline: max(32px, calc((100% - 1180px) / 2));
}

.library-find {
  scroll-margin-top: 24px;
  padding-top: 110px;
  padding-bottom: 115px;
  background:
    radial-gradient(circle at 8% 2%, rgba(224, 164, 48, 0.12), transparent 25%),
    #fff9ef;
}

.library-find > header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.62fr);
  gap: 22px 80px;
  align-items: end;
}

.library-find > header .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -5px;
}

.library-find > header h2,
.library-featured h2,
.library-catalog-heading h2,
.library-pathways h2,
.library-practice-bridge h2,
.library-related h2 {
  margin: 0;
  color: #122b4b;
  font-size: clamp(40px, 5vw, 66px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.library-find > header > p:not(.eyebrow),
.library-featured header > p:not(.eyebrow),
.library-pathways header > p:not(.eyebrow) {
  margin: 0;
  color: #65748a;
  font-size: 15px;
  line-height: 1.75;
}

.library-search {
  display: block;
  margin-top: 52px;
}

.library-search > label {
  display: block;
  margin-bottom: 10px;
  color: #42566d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-search-control {
  display: grid;
  min-height: 72px;
  grid-template-columns: 25px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid rgba(21, 53, 83, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(30, 51, 76, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.library-search-control:focus-within {
  border-color: rgba(32, 151, 139, 0.58);
  box-shadow: 0 18px 55px rgba(30, 51, 76, 0.12), 0 0 0 4px rgba(32, 151, 139, 0.09);
}

.library-search-control svg {
  width: 24px;
  fill: none;
  stroke: #20978b;
  stroke-width: 1.8;
}

.library-search-control input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #173457;
  font: inherit;
  font-size: 17px;
}

.library-search-control input::placeholder {
  color: #93a0ae;
}

.library-search-clear {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #edf4f3;
  color: #55716e;
  cursor: pointer;
  font-size: 20px;
}

.library-search-submit {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-radius: 100px;
  background: #167f75;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.library-search-submit:hover {
  background: #106c64;
}

.library-search-status {
  margin: 11px 2px 0;
  color: #718194;
  font-size: 11px;
}

.library-find-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.library-find-paths > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 5px 13px;
  padding: 22px;
  border: 1px solid rgba(21, 53, 83, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.library-find-paths span {
  grid-row: 1 / 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #fff0cf;
  color: #a66d13;
  font-size: 10px;
  font-weight: 850;
}

.library-find-paths strong {
  color: #173457;
  font-size: 14px;
}

.library-find-paths p {
  margin: 0;
  color: #708094;
  font-size: 11px;
  line-height: 1.55;
}

.library-direction-grid li {
  display: flex;
}

.library-direction-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  color: white;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.library-direction-card:focus-visible {
  outline: 3px solid #f6c66d;
  outline-offset: 4px;
}

.library-direction-card.is-selected {
  border-color: color-mix(in srgb, var(--card-accent) 78%, white 22%);
  box-shadow:
    0 30px 75px rgba(0, 0, 0, 0.34),
    0 0 0 3px color-mix(in srgb, var(--card-accent) 28%, transparent),
    0 0 38px color-mix(in srgb, var(--card-accent) 24%, transparent),
    inset 0 -34px 74px color-mix(in srgb, var(--card-accent) 12%, transparent);
}

.library-direction-title {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 310px;
  margin-top: 28px;
  color: white;
  font-size: 28px;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.library-direction-description {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 17px;
  color: rgba(226, 236, 248, 0.7);
  font-size: 13px;
  line-height: 1.67;
}

.library-direction-count {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: auto;
  padding-top: 25px;
  color: color-mix(in srgb, var(--card-accent) 72%, white);
  font-size: 11px;
  font-weight: 800;
}

.library-topic-filter {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.library-topic-filter > strong {
  display: block;
  margin-bottom: 15px;
  color: rgba(235, 242, 249, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-topic-filter > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.library-topic-filter button,
.library-topic-filter a,
.library-active-filters button {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(239, 245, 252, 0.8);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 680;
  text-decoration: none;
}

.library-topic-filter button:hover,
.library-topic-filter button.is-selected,
.library-topic-filter a:hover,
.library-topic-filter a.is-selected {
  border-color: rgba(246, 198, 109, 0.6);
  background: rgba(246, 198, 109, 0.15);
  color: #ffe1a0;
}

.library-topic-filter-light {
  margin-top: 24px;
  border-color: rgba(21, 53, 83, 0.1);
  background: rgba(255, 255, 255, 0.62);
}

.library-topic-filter-light > strong {
  color: #42566d;
}

.library-topic-filter-light button,
.library-topic-filter-light a {
  border-color: rgba(21, 53, 83, 0.13);
  background: #ffffff;
  color: #52677c;
}

.library-topic-filter-light button:hover,
.library-topic-filter-light button.is-selected,
.library-topic-filter-light a:hover,
.library-topic-filter-light a.is-selected {
  border-color: rgba(32, 151, 139, 0.45);
  background: rgba(32, 151, 139, 0.1);
  color: #126f67;
}

.library-featured {
  padding-top: 110px;
  padding-bottom: 115px;
  background: #eef6f4;
}

.library-featured .library-articles-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.55fr);
  gap: 18px 75px;
  align-items: end;
}

.library-featured .library-articles-heading .eyebrow {
  grid-column: 1 / -1;
}

.library-article-card {
  --article-accent: #e0a430;
  min-height: 500px;
  padding: 0 28px 28px;
}

.library-article-card.is-coral { --article-accent: #e86553; }
.library-article-card.is-violet { --article-accent: #796ce0; }
.library-article-card.is-teal { --article-accent: #20978b; }
.library-article-card.is-blue { --article-accent: #3989d5; }
.library-article-card.is-amber { --article-accent: #d88c2d; }
.library-article-card.is-mint { --article-accent: #40ae82; }
.library-article-card.is-indigo { --article-accent: #4d64b5; }
.library-article-card.is-green { --article-accent: #668f3d; }

.library-article-card > .library-card-visual {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% + 56px);
  height: 168px;
  flex: 0 0 168px;
  margin-left: -28px;
  border-radius: 27px 27px 0 0;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--article-accent) 32%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--article-accent) 24%, #153454), #07162b 72%);
  overflow: hidden;
}

.library-card-read-status {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 100px;
  background: rgba(7, 22, 43, 0.76);
  color: white;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.03em;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.library-card-read-status > span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #37aa84;
  font-size: 10px;
}

.library-article-card.is-read {
  border-color: rgba(32, 151, 139, 0.28);
}

.library-card-visual::before,
.library-card-visual::after,
.library-card-visual i {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--article-accent) 62%, white 10%);
  border-radius: 50%;
  content: "";
}

.library-card-visual::before {
  inset: 26px 28% -68px;
  box-shadow: 0 0 44px color-mix(in srgb, var(--article-accent) 20%, transparent);
}

.library-card-visual::after {
  top: 47px;
  left: 50%;
  width: 74px;
  height: 74px;
  background: radial-gradient(circle, color-mix(in srgb, var(--article-accent) 42%, transparent), transparent 66%);
  transform: translateX(-50%);
}

.library-card-visual i {
  top: 81px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border: 0;
  background: #ffe2a2;
  box-shadow: -76px -30px 0 -1px #a5e6df, 73px -24px 0 -1px #ffe2a2, 112px 24px 0 -2px #a5e6df;
}

.library-article-card > .library-card-visual::before,
.library-article-card > .library-card-visual::after {
  display: none;
}

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

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

.library-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 21px;
  color: #8492a1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.library-article-card h3 {
  margin-top: 20px;
  font-size: clamp(23px, 2.1vw, 29px);
}

.library-article-card p {
  margin: 14px 0 17px;
}

.library-card-topics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.library-card-topics span {
  padding: 6px 9px;
  border-radius: 100px;
  background: #edf4f3;
  color: #637775;
  font-size: 9px;
}

.library-catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.library-results-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  color: #6c7c90;
  font-size: 12px;
}

.library-results-summary button {
  border: 0;
  background: transparent;
  color: #167f75;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.library-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.library-active-filters button {
  border-color: rgba(32, 151, 139, 0.2);
  background: #e5f2f0;
  color: #246d66;
}

.library-empty-state button {
  display: block;
  margin: 42px auto 0;
  padding: 14px 23px;
  border: 1px solid rgba(32, 151, 139, 0.28);
  border-radius: 100px;
  background: white;
  color: #167f75;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.library-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
}

.library-pagination > a,
.library-pagination > span[aria-disabled="true"] {
  display: inline-flex;
  min-width: 108px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(32, 151, 139, 0.28);
  border-radius: 100px;
  background: white;
  color: #167f75;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.library-pagination > a:hover {
  border-color: rgba(32, 151, 139, 0.52);
  background: #edf7f5;
}

.library-pagination > span[aria-disabled="true"] {
  cursor: default;
  opacity: 0.38;
}

.library-pagination > span:not(.library-pagination-pages):not([aria-disabled="true"]) {
  min-width: 112px;
  color: #6c7c90;
  font-size: 12px;
  text-align: center;
}

.library-pagination-pages {
  display: inline-flex;
  gap: 6px;
}

.library-pagination-pages a {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #167f75;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.library-pagination-pages a[aria-current="page"] {
  background: #167f75;
  color: white;
}

.library-empty-state {
  margin-top: 45px;
  padding: 70px 24px;
  border: 1px dashed rgba(21, 53, 83, 0.18);
  border-radius: 28px;
  text-align: center;
}

.library-empty-state strong {
  color: #173457;
  font-size: 23px;
}

.library-empty-state p {
  margin: 10px 0 0;
  color: #6c7c90;
}

.library-empty-state button {
  margin-top: 22px;
}

.library-pathways {
  padding-top: 115px;
  padding-bottom: 120px;
  background: #edf5f3;
}

.library-pathways > header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 18px 75px;
  align-items: end;
}

.library-pathways > header .eyebrow {
  grid-column: 1 / -1;
}

.library-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 55px;
}

.library-pathway-grid > div {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 29px;
  border: 1px solid rgba(21, 53, 83, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.library-pathway-grid > div > span {
  color: #a66d13;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-pathway-grid h3 {
  margin: 18px 0 26px;
  color: #173457;
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.library-pathway-grid a {
  padding: 13px 0;
  border-top: 1px solid rgba(21, 53, 83, 0.09);
  color: #486278;
  font-size: 11px;
  font-weight: 680;
  line-height: 1.5;
}

.library-pathway-grid a:hover {
  color: #167f75;
}

.library-practice-bridge {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.46fr);
  gap: 70px;
  align-items: end;
  padding-top: 105px;
  padding-bottom: 110px;
  background: #fff9ef;
}

.library-practice-bridge > div:first-child > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #65748a;
  font-size: 15px;
  line-height: 1.75;
}

.library-practice-bridge > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.library-practice-bridge > div:last-child > a:not(.button) {
  color: #167f75;
  font-size: 12px;
  font-weight: 780;
}

/* Article template */

.library-article-hero {
  min-height: 520px;
  padding-bottom: 72px;
}

.library-article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 46px;
  color: rgba(229, 238, 249, 0.62);
  font-size: 11px;
  font-weight: 680;
}

.library-article-breadcrumbs a:hover {
  color: white;
}

.library-article-hero h1 {
  max-width: 1000px;
  font-size: clamp(46px, 5.5vw, 76px);
}

.library-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 27px;
  color: rgba(229, 238, 249, 0.68);
  font-size: 11px;
  font-weight: 650;
}

.library-article-meta > * + *::before {
  margin-right: 24px;
  color: rgba(246, 198, 109, 0.7);
  content: "•";
}

.library-article-reading {
  display: grid;
  width: min(1120px, calc(100% - 64px));
  grid-template-columns: 250px minmax(0, 790px);
  gap: clamp(46px, 7vw, 90px);
  align-items: start;
  margin-inline: auto;
  padding: 90px 0 105px;
}

.library-article-toc {
  position: sticky;
  top: 28px;
  padding: 22px 20px;
  border: 1px solid rgba(21, 53, 83, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.library-article-toc > strong {
  color: #173457;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.library-article-toc ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 17px 0 0;
  padding-left: 18px;
  color: #9ca8b4;
  font-size: 10px;
}

.library-article-toc a {
  color: #607286;
  line-height: 1.45;
}

.library-article-toc a:hover {
  color: #167f75;
}

.library-article-body {
  width: 100%;
  margin: 0;
  padding: 0;
}

.library-article-summary {
  margin-bottom: 55px;
  padding: 28px 30px;
  border: 1px solid rgba(32, 151, 139, 0.18);
  border-radius: 24px;
  background: #eaf5f2;
  font-family: "Manrope Variable", "Manrope", "Avenir Next", Arial, sans-serif;
}

.library-article-summary span {
  color: #167f75;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-article-summary p {
  margin: 12px 0 0;
  color: #21415c;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.6;
}

.library-article-cover {
  margin: -20px 0 58px;
  overflow: hidden;
  border-radius: 28px;
  background: #102b4c;
  box-shadow: 0 24px 65px rgba(30, 51, 76, 0.14);
}

.library-article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.library-article-content > p {
  margin: 0 0 25px;
}

.library-article-list {
  display: grid;
  margin: 8px 0 32px;
  padding: 0;
  list-style: none;
  gap: 10px;
}

.library-article-list li {
  position: relative;
  padding: 11px 16px 11px 42px;
  border: 1px solid rgba(32, 151, 139, 0.16);
  border-radius: 14px;
  background: rgba(236, 249, 246, 0.58);
  color: #21415c;
}

.library-article-list li::before {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20978b;
  content: "";
}

.library-article-content > p:first-child {
  color: #173457;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.62;
}

.library-article-content h2 {
  scroll-margin-top: 25px;
}

.library-article-practice {
  margin-top: 75px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(246, 198, 109, 0.17), transparent 35%),
    linear-gradient(145deg, #102b4c, #071426);
  color: white;
  font-family: "Manrope Variable", "Manrope", "Avenir Next", Arial, sans-serif;
}

.library-article-body .library-article-practice h2 {
  margin: 12px 0 0;
  color: white;
  font-size: clamp(28px, 3vw, 38px);
}

.library-article-practice > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(229, 238, 249, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.library-article-practice > div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 27px;
}

.library-practice-secondary {
  color: #f6c66d;
  font-size: 12px;
  font-weight: 760;
}

.library-article-share {
  position: relative;
  margin-top: 42px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(32, 151, 139, 0.22);
  border-radius: 28px;
  background: radial-gradient(circle at 96% 4%, rgba(246, 198, 109, 0.2), transparent 32%), linear-gradient(145deg, #f4faf8, #fff);
  box-shadow: 0 18px 48px rgba(21, 53, 83, 0.08);
  font-family: "Manrope Variable", "Manrope", "Avenir Next", Arial, sans-serif;
}

.library-article-share > header { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 17px; align-items: start; }
.library-share-mark { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 17px; background: #167f75; color: white; font-size: 24px; font-weight: 800; box-shadow: 0 10px 24px rgba(22, 127, 117, 0.22); }
.library-article-share .eyebrow { margin: 1px 0 7px; color: #167f75; }
.library-article-body .library-article-share h2 { margin: 0; color: #173457; font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -0.035em; line-height: 1.15; }
.library-article-share > header p:last-child { max-width: 620px; margin: 11px 0 0; color: #64788a; font-size: 13px; line-height: 1.6; }
.library-share-group { margin-top: 25px; }
.library-share-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.library-share-link { display: flex; min-height: 48px; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid rgba(21, 53, 83, 0.1); border-radius: 15px; background: rgba(255, 255, 255, 0.9); color: #294760; font: inherit; font-size: 11px; font-weight: 760; text-align: left; cursor: pointer; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.library-share-link:hover { border-color: rgba(22, 127, 117, 0.33); box-shadow: 0 8px 22px rgba(21, 53, 83, 0.09); transform: translateY(-2px); }
.library-share-link:focus-visible { outline: 3px solid rgba(32, 151, 139, 0.3); outline-offset: 2px; }
.library-share-icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 10px; background: #6f7b8a; color: white; font-size: 10px; font-style: normal; font-weight: 850; letter-spacing: -0.02em; }
.library-share-icon.vk { background: #397ee8; }
.library-share-icon.ok { background: #ee8a22; }
.library-share-icon.copy { background: #607284; font-size: 17px; }
.library-share-icon.more { background: #173457; font-size: 17px; }
.library-share-status { min-height: 20px; margin: 12px 0 -7px; color: #167f75; font-size: 11px; font-weight: 720; }

.library-read-marker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px dashed rgba(21, 53, 83, 0.18);
  border-radius: 18px;
  background: rgba(244, 248, 247, 0.74);
  font-family: "Manrope Variable", "Manrope", "Avenir Next", Arial, sans-serif;
}

.library-read-marker > span {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  border-radius: 12px;
  background: #e8eeed;
  color: #778987;
  font-size: 17px;
  font-weight: 850;
}

.library-read-marker p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.library-read-marker strong {
  color: #385168;
  font-size: 12px;
}

.library-read-marker small {
  color: #7a8997;
  font-size: 10px;
  line-height: 1.45;
}

.library-read-marker.is-read {
  border-style: solid;
  border-color: rgba(32, 151, 139, 0.22);
  background: #eaf5f2;
}

.library-read-marker.is-read > span {
  background: #20978b;
  color: white;
}

.library-read-marker.is-read strong {
  color: #167f75;
}

.library-related {
  padding: 105px max(32px, calc((100% - 1120px) / 2)) 110px;
  background: #edf5f3;
}

.library-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.library-related-grid > a {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid rgba(21, 53, 83, 0.11);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, border-color 180ms ease;
}

.library-related-grid > a:hover {
  border-color: rgba(32, 151, 139, 0.32);
  transform: translateY(-3px);
}

.library-related-grid > a > span {
  color: #a66d13;
  font-size: 9px;
  font-weight: 830;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-related-grid h3 {
  margin: 18px 0 0;
  color: #173457;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.library-related-grid p {
  margin: 15px 0 24px;
  color: #6b7c8f;
  font-size: 12px;
  line-height: 1.65;
}

.library-related-grid strong {
  margin-top: auto;
  color: #167f75;
  font-size: 11px;
}

.library-related + .library-article-pagination {
  padding-top: 95px;
}

@media (max-width: 1080px) {
  .library-find > header,
  .library-featured .library-articles-heading,
  .library-pathways > header {
    grid-template-columns: 1fr;
  }

  .library-find > header .eyebrow,
  .library-featured .library-articles-heading .eyebrow,
  .library-pathways > header .eyebrow {
    grid-column: auto;
  }

  .library-article-reading {
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 44px;
  }

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

@media (max-width: 760px) {
  .library-find,
  .library-featured,
  .library-pathways,
  .library-practice-bridge {
    padding: 78px 18px 84px;
  }

  .library-double-reading {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 76px 0 82px;
  }

  .library-double-reading-copy h2 {
    font-size: clamp(37px, 11vw, 49px);
  }

  .library-double-reading-cards article {
    grid-template-columns: 43px minmax(0, 1fr);
    padding: 20px 17px;
  }

  .library-double-reading-cards article > span {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }

  .library-find > header h2,
  .library-featured h2,
  .library-catalog-heading h2,
  .library-pathways h2,
  .library-practice-bridge h2,
  .library-related h2 {
    font-size: clamp(37px, 11vw, 50px);
  }

  .library-search {
    margin-top: 36px;
  }

  .library-search-control {
    min-height: 64px;
    grid-template-columns: 23px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 10px 12px 10px 15px;
  }

  .library-search-control input {
    min-width: 0;
    font-size: 15px;
  }

  .library-search-submit {
    grid-column: 1 / -1;
    width: 100%;
  }

  .library-find-paths,
  .library-pathway-grid,
  .library-related-grid {
    grid-template-columns: 1fr;
  }

  .library-direction-title {
    font-size: 25px;
  }

  .library-topic-filter {
    padding: 22px 20px;
  }

  .library-catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .library-results-summary {
    align-items: flex-start;
  }

  .library-pagination {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }

  .library-pagination > a,
  .library-pagination > span[aria-disabled="true"] {
    min-width: 0;
    padding-inline: 8px;
    white-space: nowrap;
    font-size: 14px;
  }

  .library-pagination > span:not(.library-pagination-pages):not([aria-disabled="true"]) {
    grid-column: 1 / -1;
    order: -1;
    min-width: 0;
    font-size: 14px;
    white-space: nowrap;
  }

  .library-pagination-pages {
    order: 4;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .library-pagination-pages a {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .library-article-card {
    min-height: 0;
  }

  .library-card-visual {
    height: 145px;
    flex-basis: 145px;
  }

  .library-practice-bridge {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .library-article-hero {
    min-height: 500px;
    padding: 125px 18px 58px;
  }

  .library-article-breadcrumbs {
    margin-bottom: 37px;
  }

  .library-article-hero h1 {
    font-size: clamp(39px, 11vw, 56px);
  }

  .library-article-meta > * + *::before {
    margin-right: 9px;
  }

  .library-article-reading {
    display: block;
    width: calc(100% - 36px);
    padding: 62px 0 78px;
  }

  .library-article-toc {
    position: relative;
    top: auto;
    margin-bottom: 44px;
  }

  .library-article-body {
    width: 100%;
    padding: 0;
    font-size: 18px;
  }

  .library-article-summary {
    margin-bottom: 44px;
    padding: 24px 22px;
  }

  .library-article-cover {
    margin: -12px 0 45px;
    border-radius: 21px;
  }

  .library-article-content h2 {
    font-size: clamp(29px, 9vw, 39px);
  }

  .library-article-practice {
    padding: 27px 23px;
  }

  .library-article-practice > div {
    align-items: stretch;
    flex-direction: column;
  }

  .library-article-share { padding: 23px 18px; border-radius: 23px; }
  .library-article-share > header { grid-template-columns: 43px minmax(0, 1fr); gap: 13px; }
  .library-share-mark { width: 43px; height: 43px; border-radius: 14px; font-size: 20px; }
  .library-share-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .library-article-practice .button {
    width: 100%;
  }

  .library-related {
    padding: 80px 18px 84px;
  }

  .library-related + .library-article-pagination {
    padding-top: 75px;
  }
}


/* Education programme: phone-first corrections. This block intentionally
   lives after the shared layout rules so generic .shell styles cannot shrink
   or push the professional page beyond the viewport. */
@media (max-width: 760px) {
  .edu-pro-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }

  .edu-pro-page section[id] {
    scroll-margin-top: 68px;
  }

  .edu-pro-hero,
  .edu-pro-section,
  .edu-pro-contact,
  .edu-pro-related {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .edu-pro-hero .shell,
  .edu-pro-section > .shell,
  .edu-pro-contact .shell,
  .edu-pro-related .shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
  }

  .edu-pro-hero-grid > *,
  .edu-pro-two-column > *,
  .edu-pro-module-grid > *,
  .edu-pro-author-grid > *,
  .edu-pro-faq-grid > *,
  .edu-pro-contact-grid > *,
  .edu-pro-lesson-list li > div {
    min-width: 0;
  }

  .edu-pro-header-inner {
    width: 100%;
    min-height: 72px;
    padding-inline: 20px;
  }

  .edu-pro-header .subpage-brand > span {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .edu-pro-header .subpage-brand small {
    font-size: 10px;
  }

  .edu-pro-header .subpage-brand strong {
    max-width: 210px;
    font-size: 14px;
    line-height: 1.25;
  }

  .edu-pro-hero {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .edu-pro-hero .seo-breadcrumbs {
    margin-bottom: 26px;
  }

  .edu-pro-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 39px);
    letter-spacing: -0.025em;
    line-height: 1.06;
    overflow-wrap: break-word;
  }

  .edu-pro-kicker {
    font-size: 19px;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .edu-pro-lead,
  .edu-pro-rich-copy > p,
  .edu-pro-section-heading > p:last-child,
  .edu-pro-ethics > .shell > div > p:last-child,
  .edu-pro-contact p,
  .edu-pro-author p {
    font-size: 17px;
    line-height: 1.62;
  }

  .edu-pro-hero-grid {
    gap: 38px;
  }

  .education-page-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .education-page-actions .button,
  .education-page-actions > a:not(.button) {
    width: 100%;
    max-width: 330px;
    justify-content: center;
    text-align: center;
  }

  .edu-pro-hero-brief {
    width: 100%;
    padding: 24px 20px;
  }

  .edu-pro-brief-heading {
    margin-bottom: 22px;
  }

  .edu-pro-brief-heading img {
    width: 48px;
    height: 48px;
  }

  .edu-pro-hero-brief h2 {
    margin-bottom: 20px;
    font-size: 26px;
  }

  .edu-pro-local-nav::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(9, 32, 50, 0.98));
    content: "";
    pointer-events: none;
  }

  .edu-pro-local-nav .shell {
    width: 100%;
    max-width: 100%;
    gap: 22px;
    margin: 0;
    padding-inline: 20px 36px;
    scroll-padding-inline: 20px;
    scroll-snap-type: x proximity;
  }

  .edu-pro-local-nav a {
    padding: 14px 0 12px;
    font-size: 13px;
    scroll-snap-align: start;
  }

  .edu-pro-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .edu-pro-section h2,
  .edu-pro-contact h2 {
    max-width: 100%;
    margin: 8px 0 20px;
    font-size: clamp(32px, 9vw, 38px);
    letter-spacing: -0.018em;
    line-height: 1.08;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .edu-pro-section-heading {
    margin-bottom: 30px;
  }

  .edu-pro-two-column {
    gap: 22px;
  }

  .edu-pro-rich-copy > p {
    margin-bottom: 20px;
  }

  .edu-pro-rich-copy blockquote,
  .edu-pro-author blockquote {
    margin-top: 26px;
    padding: 20px;
    font-size: 19px;
    line-height: 1.5;
  }

  .edu-pro-lesson-list {
    gap: 12px;
  }

  .edu-pro-lesson-list li {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 23px 21px 24px;
  }

  .edu-pro-index {
    display: block;
    margin-bottom: 11px;
    font-size: 18px;
  }

  .edu-pro-lesson-list h3 {
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 1.22;
    overflow-wrap: break-word;
  }

  .edu-pro-lesson-list strong {
    margin-bottom: 10px;
  }

  .edu-pro-lesson-list p {
    font-size: 16px;
    line-height: 1.58;
  }

  .edu-pro-process li,
  .edu-pro-process li + li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .edu-pro-module-columns {
    margin-top: 32px;
  }

  .edu-pro-module-result,
  .edu-pro-status-grid article,
  .edu-pro-audience-grid article,
  .edu-pro-material-grid article {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 24px 21px;
  }

  .edu-pro-module-result h3,
  .edu-pro-status-grid h3 {
    font-size: 27px;
    overflow-wrap: break-word;
  }

  .edu-pro-audience-grid h3,
  .edu-pro-material-grid h3 {
    font-size: 24px;
    overflow-wrap: break-word;
  }

  .edu-pro-principles li {
    padding: 17px 14px 17px 48px;
    font-size: 16px;
  }

  .edu-pro-principles li::before {
    top: 17px;
    left: 12px;
  }

  .edu-pro-author figure {
    width: 100%;
    max-width: 280px;
  }

  .edu-pro-faq-list summary {
    padding: 20px 40px 20px 0;
    font-size: 17px;
  }

  .edu-pro-faq-list summary::after {
    top: 18px;
    right: 2px;
  }

  .edu-pro-faq-list details p {
    margin-bottom: 22px;
    padding-right: 0;
    font-size: 16px;
    line-height: 1.62;
  }

  .edu-pro-contact {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .edu-pro-contact-grid {
    gap: 28px;
  }

  .edu-pro-contact-actions {
    width: 100%;
    align-items: stretch;
  }

  .edu-pro-contact-actions .button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding-inline: 16px;
    text-align: center;
    white-space: normal;
  }

  .edu-pro-contact-actions > a:not(.button),
  .edu-pro-contact-actions > span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .edu-pro-related {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .edu-pro-related .shell > div {
    display: grid;
    gap: 10px;
  }

  .edu-pro-related a {
    width: 100%;
  }

  .edu-pro-page h1,
  .edu-pro-page h2,
  .edu-pro-page h3 {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
}


/* Yandex mobile-friendly: keep all visible portal labels readable. */
@media (max-width: 800px) {
  .gateway-kicker,
  .gateway-route-heading > span,
  .gateway-route-heading p,
  .gateway-action-number,
  .gateway-release-note,
  .gateway-choice-copy small,
  .gateway-choice-copy > strong,
  .gateway-footer {
    font-size: 12px;
  }
}

/* Entry gateway: extend the approved card system to six equal routes. */

.gateway-choice-experiments,
.gateway-choice-parent-test {
  grid-column: auto;
  grid-template-columns: minmax(0, 26%) minmax(0, 1fr);
  min-height: 0;
  background:
    radial-gradient(circle at 20% 42%, rgba(39, 190, 181, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(25, 57, 91, 0.86), rgba(12, 29, 53, 0.88));
}

.gateway-choice-parent-test .gateway-choice-copy small {
  color: #ffd06d;
}

.gateway-choice-parent-test {
  border-color: rgba(255, 208, 109, 0.46);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.23),
    0 0 0 1px rgba(255, 208, 109, 0.08);
}

.gateway-choice-experiments .gateway-choice-image img {
  object-position: center 43%;
}

.gateway-choice-parent-test .gateway-choice-image img {
  object-position: center 35%;
}

/* Full-bleed hero and readable Apple-like glass route cards. */

.gateway-backdrop img {
  object-fit: cover;
  object-position: center center;
}

.gateway-backdrop span {
  background:
    radial-gradient(circle at 69% 36%, rgba(39, 194, 185, 0.1), transparent 27%),
    linear-gradient(90deg, rgba(5, 16, 31, 0.94) 0%, rgba(6, 18, 35, 0.78) 38%, rgba(6, 18, 35, 0.28) 72%, rgba(6, 18, 35, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 15, 29, 0.14), rgba(5, 15, 29, 0.48));
}

.gateway-choice {
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(43, 77, 110, 0.68), rgba(7, 24, 45, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.23);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
}

.gateway-choice::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.13), transparent 28%, transparent 72%, rgba(119, 224, 213, 0.045));
  content: "";
  pointer-events: none;
}

.gateway-choice > * {
  position: relative;
  z-index: 1;
}

.gateway-choice:hover,
.gateway-choice:focus-visible {
  border-color: rgba(255, 221, 146, 0.62);
  background:
    linear-gradient(135deg, rgba(52, 90, 126, 0.72), rgba(8, 27, 50, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 34px 82px rgba(0, 0, 0, 0.3);
}

.gateway-choice-parent-test {
  border-color: rgba(255, 208, 109, 0.56);
}

@media (min-width: 801px) {
  .gateway-brand small {
    font-size: 10px;
  }

  .gateway-primary-nav {
    font-size: 14px;
  }

  .gateway-kicker {
    font-size: 12px;
  }

  .gateway-lead {
    font-size: 15px;
  }

  .gateway-route-panel {
    margin-top: clamp(22px, 2.6vh, 30px);
  }

  .gateway-route-heading > span {
    font-size: 11px;
  }

  .gateway-choice-copy small {
    font-size: 10px;
  }

  .gateway-choice-copy p {
    font-size: 12px;
  }

  .gateway-choice-copy > strong {
    font-size: 11px;
  }
}

@media (min-width: 801px) and (max-height: 800px) {
  .gateway-kicker {
    font-size: 10px;
  }

  .gateway-lead {
    font-size: 13px;
  }

  .gateway-route-panel {
    margin-top: 12px;
  }

  .gateway-route-heading > span {
    font-size: 10px;
  }

  .gateway-choice-copy small {
    font-size: 8px;
  }

  .gateway-choice-copy p {
    font-size: 10px;
  }

  .gateway-choice-copy > strong {
    font-size: 9px;
  }
}

@media (max-width: 800px) {
  .gateway-backdrop {
    display: block;
    inset: 0 0 auto;
    height: 100svh;
  }

  .gateway-backdrop img {
    height: calc(100% - 260px);
    margin-top: 260px;
    object-position: right center;
  }

  .gateway-backdrop span {
    background:
      linear-gradient(180deg, rgba(7, 20, 38, 0.76) 0%, rgba(7, 20, 38, 0.58) 27%, rgba(7, 20, 38, 0.84) 100%),
      linear-gradient(90deg, rgba(7, 20, 38, 0.68), rgba(7, 20, 38, 0.2));
  }

  .gateway-mobile-scene {
    display: none;
  }

  .gateway-choice {
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    backdrop-filter: blur(14px) saturate(1.12);
  }

  .gateway-choice-experiments,
  .gateway-choice-parent-test {
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  }
}


/* English pages use a pre-cropped emblem: fit the whole mark inside its frame. */
html[lang^="en"] .brand-mark img[src*="project-logo-emblem-thumb"],
html[lang^="en"] .gateway-brand img[src*="project-logo-emblem-thumb"],
html[lang^="en"] .subpage-brand img[src*="project-logo-emblem-thumb"],
html[lang^="en"] .lesson-orbit-logo img[src*="project-logo-emblem-thumb"] {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  padding: 3px;
  object-fit: contain;
  object-position: center;
  transform: none;
}
html[lang^="en"] .footer-logo img[src*="project-logo-emblem-thumb"] {
  padding: 5px;
  object-fit: contain;
  object-position: center;
}
