:root {
  --ink: #132930;
  --muted: #607078;
  --line: #d9e2e4;
  --paper: #f4f7f8;
  --white: #ffffff;
  --cream: #fff8ec;
  --teal: #0e6971;
  --deep: #092f38;
  --gold: #e5a83b;
  --coral: #d8523f;
  --blue: #315d9f;
  --green: #248b78;
  --shadow: 0 24px 70px rgba(9, 47, 56, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7f8 38%, #eef4f4 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 226, 228, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(168px, 20vw, 265px);
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #29464d;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a,
.mobile-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.mobile-nav a:hover {
  color: var(--teal);
}

.nav-pill {
  min-height: 38px;
  padding: 9px 13px;
  color: var(--white) !important;
  background: var(--teal);
  border-radius: var(--radius);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: min(760px, calc(100vh - 78px));
  padding: clamp(88px, 10vw, 140px) clamp(20px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 251, 0.9) 36%, rgba(248, 251, 251, 0.2) 70%),
    url("hero-product-collage.jpg") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  width: min(660px, 100%);
}

.hero-logo {
  width: min(520px, 92vw);
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(16, 43, 50, 0.1);
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  color: var(--deep);
  font-size: clamp(2.85rem, 7vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.section > h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  color: var(--deep);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 590px;
  color: #2d464d;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #0b4149);
  box-shadow: 0 14px 30px rgba(14, 105, 113, 0.2);
}

.button.calculator-cta {
  min-height: 58px;
  padding-inline: 24px;
  background: linear-gradient(135deg, #d8523f, #ad3428);
  box-shadow: 0 16px 30px rgba(217, 78, 61, 0.24);
}

.button.secondary,
.button.compact {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

.button.compact {
  min-height: 42px;
  padding: 10px 14px;
}

.button.compact.accent {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
}

.button.buy-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #a9352c);
  border-color: rgba(216, 82, 63, 0.58);
  box-shadow: 0 14px 30px rgba(216, 82, 63, 0.2);
}

.button.fallback-order {
  color: var(--deep);
  background: #fff7ed;
  border-color: rgba(216, 82, 63, 0.28);
}

.button.full {
  width: 100%;
}

.stair-tabs {
  align-items: start;
}

.stair-detail,
.mini-detail {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(16, 43, 50, 0.06);
  overflow: hidden;
}

.stair-detail::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -1px;
  width: 70px;
  height: 8px;
  background: linear-gradient(90deg, #7b8486 0 33%, #5d6668 33% 66%, #3f484a 66%);
  opacity: 0.72;
}

.stair-tabs .stair-detail:nth-child(2) {
  transform: translateX(10px);
}

.stair-tabs .stair-detail:nth-child(3) {
  transform: translateX(20px);
}

.stair-tabs .stair-detail:nth-child(4) {
  transform: translateX(30px);
}

.stair-tabs .stair-detail:nth-child(5) {
  transform: translateX(40px);
}

.stair-detail summary,
.mini-detail summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--deep);
  background: linear-gradient(180deg, #fffaf0, #fff0ca);
  border-bottom: 1px solid transparent;
  list-style: none;
}

.stair-detail summary::-webkit-details-marker,
.mini-detail summary::-webkit-details-marker,
.catalogue-drawer summary::-webkit-details-marker {
  display: none;
}

.stair-detail summary::after,
.mini-detail summary::after,
.catalogue-drawer summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--white);
  background: var(--coral);
  border-radius: 6px;
  font-weight: 900;
}

.stair-detail summary::after {
  grid-column: 4;
  grid-row: 1;
}

.stair-detail[open] summary::after,
.mini-detail[open] summary::after,
.catalogue-drawer[open] summary::after {
  content: "-";
}

.stair-detail summary span {
  min-width: 52px;
  padding: 7px 8px;
  color: var(--white);
  background: var(--coral);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.stair-detail summary strong,
.mini-detail summary {
  font-weight: 900;
}

.stair-detail summary em {
  padding: 5px 7px;
  color: var(--teal);
  background: rgba(14, 105, 113, 0.1);
  border: 1px solid rgba(14, 105, 113, 0.2);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.stair-detail[open] summary,
.mini-detail[open] summary {
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--teal));
}

.stair-detail[open] summary span {
  color: var(--deep);
  background: #ffd269;
}

.stair-detail[open] summary em {
  color: #fff3c4;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.stair-detail p,
.stair-detail > span,
.mini-detail p,
.mini-detail ul {
  margin: 0;
  padding: 14px;
}

.stair-detail p + p {
  padding-top: 0;
}

.stair-detail > span {
  display: block;
  color: var(--muted);
}

.mini-detail {
  margin-top: 12px;
}

.mini-detail summary {
  display: flex;
  justify-content: space-between;
}

.mini-detail p {
  color: var(--muted);
}

.mini-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
}

.mini-detail li {
  color: #40545a;
  font-size: 0.86rem;
}

.code-detail summary {
  background: linear-gradient(135deg, #092f38, #123f49);
}

.code-detail summary strong,
.code-detail summary em {
  color: #fff9d8;
}

.code-detail ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px;
  color: #e8f7f7;
  background: #0b2b34;
  list-style: none;
  font-size: 0.9rem;
}

.product-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f8 100%);
}

.product-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.product-header img {
  width: min(260px, 58vw);
}

.product-header a {
  text-decoration: none;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) 0;
}

.product-media {
  display: grid;
  gap: 14px;
}

.product-media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-media .back-cover {
  box-shadow: 0 14px 34px rgba(16, 43, 50, 0.1);
}

.product-detail h1 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.product-description {
  color: #38535a;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.product-meta-grid div,
.seller-note {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--deep);
  font-size: 1.06rem;
}

.product-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 24px;
  padding: 14px 18px;
  color: var(--deep);
  background: #fff3d8;
  border: 1px solid #eec66f;
  border-radius: var(--radius);
  font-weight: 900;
}

.product-price strong {
  font-size: 2rem;
  line-height: 1;
}

.product-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.product-problem-grid article {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-problem-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-problem-grid p {
  margin: 0;
  color: #40545a;
  font-size: 0.94rem;
}

.product-professions {
  margin: 26px 0;
}

.product-professions h2,
.product-roadmap-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.profession-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profession-chip-list span {
  padding: 8px 10px;
  color: var(--deep);
  background: #fff3d8;
  border: 1px solid #eec66f;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 850;
}

.product-roadmap-section {
  margin: 30px 0;
}

.product-showcase-section {
  margin: 30px 0;
}

.product-showcase-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.product-showcase-section > p {
  color: #40545a;
}

.product-showcase-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.product-showcase-gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 43, 50, 0.08);
}

.product-showcase-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.product-showcase-gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-roadmap-section > p {
  color: #40545a;
}

.product-roadmap-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.product-roadmap-gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 43, 50, 0.08);
}

.product-roadmap-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.product-roadmap-gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-feature-list {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.product-feature-list li {
  padding: 13px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.seller-url-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.seller-url-list a {
  color: var(--teal);
  font-weight: 800;
  word-break: break-word;
}

.catalogue-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 0 clamp(20px, 4vw, 0px);
  position: relative;
  z-index: 5;
}

.signal {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.signal strong,
.signal span {
  display: block;
}

.signal strong {
  color: var(--deep);
  font-size: 1.08rem;
}

.signal span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 115px) 0;
}

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

.section-heading-row > div {
  max-width: 800px;
}

.section p {
  color: var(--muted);
  font-size: 1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.vision {
  padding-top: clamp(85px, 10vw, 130px);
}

.vision-points {
  display: grid;
  gap: 14px;
}

.vision-points article,
.school-grid article,
.topic-ladder article,
.code-card,
.grade-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(16, 43, 50, 0.06);
}

.vision-points article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px 18px;
  padding: 20px;
}

.vision-points span {
  grid-row: span 2;
  color: var(--coral);
  font-weight: 900;
  font-size: 1.4rem;
}

.vision-points p,
.school-grid p {
  margin-bottom: 0;
}

.product-overview {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, #edf5f5, #f7fbfb);
  border-block: 1px solid var(--line);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 76px rgba(9, 47, 56, 0.18);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: top;
  background: var(--white);
}

.product-card.session-card img {
  object-fit: cover;
  object-position: center;
  background: #dce8e9;
}

.product-card div {
  padding: 20px;
}

.product-card p:not(.tag) {
  min-height: 96px;
  margin-bottom: 16px;
}

.product-card a {
  color: var(--teal);
  font-weight: 900;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.tag.available {
  color: #744a00;
  background: #fff0c8;
}

.tag.upcoming {
  color: #7b3328;
  background: #ffe3df;
}

.tag.live {
  color: #164a79;
  background: #e2efff;
}

.steps-section {
  position: relative;
  padding-top: clamp(82px, 10vw, 125px);
}

.steps-section::before {
  content: "STEPS";
  position: absolute;
  top: 34px;
  right: 0;
  color: rgba(14, 105, 113, 0.06);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.steps-solution-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 0.9fr;
  gap: 14px;
  margin: 28px 0 24px;
}

.steps-problem-card,
.steps-solution-card,
.steps-time-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 43, 50, 0.07);
}

.steps-problem-card {
  border-color: rgba(216, 82, 63, 0.28);
  background: #fff7f5;
}

.steps-solution-card {
  border-color: rgba(14, 105, 113, 0.24);
  background: #f0faf9;
}

.steps-time-card {
  border-color: rgba(229, 168, 59, 0.34);
  background: #fff9e9;
}

.steps-problem-card span,
.steps-solution-card span,
.steps-time-card span,
.proof-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--deep);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps-problem-card p,
.steps-solution-card p,
.steps-time-card p {
  margin-bottom: 0;
}

.series-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.series-metrics div {
  padding: 20px;
  color: var(--white);
  background: var(--deep);
  border-radius: var(--radius);
}

.series-metrics strong,
.series-metrics span {
  display: block;
}

.series-metrics strong {
  font-size: 2.2rem;
  line-height: 1;
}

.series-metrics span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.steps-brand-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 30px;
}

.steps-brand-strip span {
  position: relative;
  min-height: 42px;
  padding: 11px 10px 9px;
  color: var(--deep);
  background: #fff2d6;
  border: 1px solid #eec66f;
  border-bottom: 5px solid #0b4b55;
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 18px rgba(16, 43, 50, 0.06);
}

.steps-brand-strip span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 28px;
  height: 10px;
  background: linear-gradient(90deg, #7b8486 0 33%, #5d6668 33% 66%, #3f484a 66%);
  transform: translateX(-50%);
  opacity: 0.72;
}

.steps-video-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin: 36px 0 26px;
  padding: clamp(22px, 4vw, 36px);
  color: var(--white);
  background: linear-gradient(135deg, #071f25, #0e6971);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps-video-panel h3,
.steps-video-panel p {
  color: var(--white);
}

.steps-video-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.steps-proof-section {
  margin: clamp(46px, 7vw, 82px) 0 28px;
}

.proof-lede {
  max-width: 820px;
  margin-bottom: 28px;
}

.proof-tabs {
  padding: 0 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 43, 50, 0.08);
}

.proof-tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 -18px 18px;
  padding: 10px 10px 0;
  background: #eef5f5;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.proof-tab {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 64px;
  margin: 0 4px;
  padding: 9px 10px 10px 9px;
  color: var(--deep);
  background: linear-gradient(180deg, #fffaf0, #fff0ca);
  border: 1px solid #e9c066;
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 18px rgba(16, 43, 50, 0.08);
  transform: translateY(4px);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.proof-tab:hover {
  background: linear-gradient(180deg, #fffdf6, #ffe9af);
  transform: translateY(0);
  box-shadow: 0 12px 26px rgba(16, 43, 50, 0.12);
}

.proof-tab:focus-visible {
  outline: 3px solid rgba(216, 82, 63, 0.36);
  outline-offset: 2px;
}

.proof-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  color: var(--white);
  background: var(--coral);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-tab strong {
  display: block;
  font-size: clamp(0.9rem, 1.8vw, 1.04rem);
  line-height: 1.05;
}

.proof-tab em {
  min-width: 44px;
  padding: 5px 7px;
  color: var(--teal);
  background: rgba(14, 105, 113, 0.1);
  border: 1px solid rgba(14, 105, 113, 0.2);
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.proof-tab.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), #0e6971);
  border-color: var(--deep);
  box-shadow: 0 8px 24px rgba(9, 47, 56, 0.18);
  transform: translateY(0);
}

.proof-tab.active span {
  color: var(--deep);
  background: #ffd269;
}

.proof-tab.active em {
  color: #fff3c4;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.proof-panel {
  display: none;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: center;
}

.proof-panel.active {
  display: grid;
}

.proof-copy p {
  margin-bottom: 0;
}

.proof-panel figure {
  margin: 0;
}

.proof-panel img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: top;
  background: #f6f8f8;
  border: 1px solid rgba(16, 43, 50, 0.1);
  border-radius: var(--radius);
}

.proof-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bundle-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, #092f38, #315d9f);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bundle-offer h3,
.bundle-offer p {
  color: var(--white);
}

.bundle-offer p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.bundle-price {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 220px;
}

.bundle-price span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  text-decoration: line-through;
}

.bundle-price strong {
  color: #ffe08a;
  font-size: 2.35rem;
  line-height: 1;
}

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

.grade-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.grade-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.grade-card-body {
  padding: 16px;
}

.grade-card h3 {
  font-size: 1.05rem;
}

.grade-label {
  margin: -3px 0 10px;
  color: var(--muted);
  font-size: 0.9rem !important;
  font-weight: 900;
}

.grade-card ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.grade-card li {
  color: #40545a;
  font-size: 0.9rem;
}

.grade-card .mini-detail p {
  margin: 0;
  padding: 14px;
}

.grade-card .mini-detail ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0 14px 14px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 16px;
}

.price-row strong {
  color: var(--coral);
  font-size: 1.35rem;
}

.price-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.isbn {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.catalogue-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, #f9fbdf, #f4f8e8);
  border-block: 1px solid var(--line);
}

.catalogue-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.catalogue-poster {
  margin: 0;
}

.catalogue-poster img {
  width: 100%;
  border: 1px solid rgba(16, 43, 50, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalogue-poster figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.catalogue-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.catalogue-bullets article,
.catalogue-card,
.value-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(16, 43, 50, 0.06);
}

.catalogue-bullets article {
  padding: 18px;
}

.catalogue-bullets p,
.value-grid p {
  margin-bottom: 0;
}

.catalogue-detail-section {
  padding-top: clamp(62px, 8vw, 95px);
}

.catalogue-drawer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(16, 43, 50, 0.06);
}

.catalogue-drawer summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--teal));
  border-bottom: 6px solid #eec66f;
  border-radius: var(--radius) var(--radius) 0 0;
  font-weight: 900;
}

.catalogue-drawer .section-heading-row,
.catalogue-drawer .catalogue-grid {
  padding-inline: 22px;
}

.catalogue-drawer .catalogue-grid {
  padding-bottom: 22px;
}

.catalogue-grid {
  display: grid;
  gap: 18px;
}

.catalogue-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.catalogue-cover-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalogue-cover-pair img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.catalogue-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.catalogue-topline span {
  color: var(--coral);
  font-weight: 900;
}

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

.catalogue-card dl > div {
  padding: 14px;
  background: #f4f8f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.catalogue-card dt {
  color: var(--deep);
  font-weight: 900;
}

.catalogue-card dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.values-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, #fff8ef, #f9f2e7);
  border-block: 1px solid var(--line);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.value-grid article {
  padding: 18px;
}

.value-grid strong {
  color: var(--deep);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}

.topic-ladder {
  display: grid;
  gap: 10px;
}

.upcoming-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.36fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.upcoming-layout .topic-ladder {
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.upcoming-cover,
.digital-cover,
.counselling-photo {
  margin: 0;
}

.upcoming-cover img,
.digital-cover img,
.counselling-photo img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.upcoming-cover img,
.digital-cover img {
  max-height: 520px;
  object-fit: contain;
  object-position: top;
  background: var(--white);
}

.topic-ladder article {
  padding: 18px;
}

.topic-ladder strong,
.code-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--deep);
}

.topic-ladder span,
.code-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.code-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: #fbf7ef;
  border-block: 1px solid var(--line);
}

.code-section::before {
  content: "{ }";
  position: absolute;
  top: 34px;
  right: max(20px, calc((100% - var(--max)) / 2));
  color: rgba(9, 47, 56, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.digital-cover {
  max-width: 420px;
  margin: 0 0 24px;
}

.code-symbol-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.code-symbol-strip span {
  min-height: 34px;
  padding: 7px 11px;
  color: #fff9d8;
  background: #092f38;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
}

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

.counselling-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: #edf3fb;
}

.counselling-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.counselling-photo img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.school-grid article {
  padding: 20px;
}

.founder-section {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.founder-photo {
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-photo img {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-strip {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.contact-strip a {
  color: var(--teal);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-size: 0.88rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdfd;
  border: 1px solid #cbd8db;
  border-radius: var(--radius);
}

.lead-form textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 700 !important;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.hidden {
  display: none !important;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--coral);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 40px clamp(20px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #071f25;
}

.site-footer img {
  width: 260px;
  height: auto;
  margin-bottom: 12px;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer p {
  max-width: 420px;
  margin: 0;
}

.site-footer .trademark-line {
  margin-top: 10px;
  color: #f2c45f;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 16px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .product-grid,
  .grade-grid,
  .product-meta-grid,
  .product-problem-grid,
  .product-showcase-gallery,
  .product-roadmap-gallery,
  .code-grid,
  .school-grid,
  .upcoming-layout .topic-ladder,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-solution-layout,
  .steps-video-panel,
  .proof-panel,
  .upcoming-layout {
    grid-template-columns: 1fr;
  }

  .counselling-panel,
  .product-hero,
  .inquiry-section,
  .founder-section,
  .catalogue-layout,
  .catalogue-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    grid-template-columns: 1fr;
    gap: 1px;
    padding: 10px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 800;
  }

  .hero {
    min-height: 680px;
    background:
      linear-gradient(180deg, rgba(247, 250, 251, 0.98) 0%, rgba(247, 250, 251, 0.88) 52%, rgba(247, 250, 251, 0.3) 100%),
      url("hero-product-collage.jpg") center bottom / cover no-repeat;
  }

  .hero-copy {
    width: 100%;
  }

  .signal-band,
  .series-metrics {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .proof-tab-list,
  .proof-image-pair,
  .steps-brand-strip {
    grid-template-columns: 1fr;
  }

  .bundle-offer {
    display: grid;
  }

  .bundle-price {
    justify-items: start;
  }

  .section-heading-row {
    display: grid;
  }

  .section-actions {
    justify-content: start;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 210px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 178px;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero-actions,
  .cta-row {
    display: grid;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 52px 0;
  }

  h2 {
    font-size: clamp(1.72rem, 9vw, 2.35rem);
  }

  .section-heading-row {
    margin-bottom: 20px;
  }

  .section p,
  .proof-copy p,
  .catalogue-drawer summary {
    font-size: 0.94rem;
  }

  .product-grid,
  .grade-grid,
  .code-grid,
  .school-grid,
  .form-grid,
  .catalogue-bullets,
  .catalogue-cover-pair,
  .catalogue-card dl,
  .steps-solution-layout,
  .upcoming-layout .topic-ladder,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .stair-tabs .stair-detail:nth-child(n) {
    transform: none;
  }

  .stair-detail summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 54px;
  }

  .stair-detail summary::after {
    grid-column: 3;
    grid-row: 1;
  }

  .stair-detail summary em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .mini-detail ul,
  .grade-card .mini-detail ul {
    grid-template-columns: 1fr;
  }

  .steps-video-panel,
  .proof-tabs {
    padding: 18px;
  }

  .steps-video-panel .video-shell {
    order: -1;
  }

  .proof-panel img {
    max-height: none;
  }

  .proof-tab {
    grid-template-columns: 44px 1fr auto;
  }

  .product-card p:not(.tag) {
    min-height: 0;
  }

  .inquiry-section {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 18px;
  }

  .site-footer {
    display: grid;
  }
}

/* Clean multi-page redesign, May 2026 */
.side-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 80;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.side-rail a {
  display: grid;
  place-items: center;
  min-width: 98px;
  min-height: 38px;
  padding: 8px 11px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 105, 113, 0.18);
  border-radius: 7px;
  box-shadow: 0 14px 34px rgba(9, 47, 56, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.side-rail a:hover,
.side-rail a:focus {
  color: var(--white);
  background: var(--teal);
  outline: none;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(52px, 7vw, 90px) clamp(22px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 251, 239, 0.9) 52%, rgba(240, 250, 248, 0.78) 100%),
    url("hero-product-collage.jpg") right bottom / min(720px, 54vw) auto no-repeat;
  border-bottom: 1px solid var(--line);
}

.home-hero-copy {
  max-width: 720px;
}

.home-hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.hero-note {
  display: inline-flex;
  margin: 8px 0 0;
  padding: 10px 12px;
  color: #31525a;
  background: rgba(255, 255, 255, 0.78);
  border: 1px dashed rgba(14, 105, 113, 0.35);
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 800;
}

.home-hero-media {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 440px;
}

.video-shell {
  position: relative;
  display: grid;
  justify-self: end;
  width: min(100%, 430px);
}

.hover-video {
  width: 100%;
  height: auto;
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: #102b32;
  border: 1px solid rgba(217, 226, 228, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps-video-panel .video-shell {
  justify-self: end;
}

.steps-video-panel .hover-video {
  background: #071f25;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.video-sound-button {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--white);
  background: rgba(216, 82, 63, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font-weight: 900;
  transform: translateX(-50%);
}

.video-sound-button:hover,
.video-sound-button:focus {
  background: var(--coral);
  outline: none;
}

.home-hero-media p {
  margin: 0;
  color: #405962;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

.home-overview {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.overview-heading {
  max-width: 840px;
  margin: 0 auto 32px;
  text-align: center;
}

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

.home-product-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 6px 16px;
  min-height: 224px;
  padding: 16px;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(9, 47, 56, 0.08);
  text-decoration: none;
}

.home-product-card:hover {
  border-color: rgba(14, 105, 113, 0.38);
  transform: translateY(-2px);
}

.home-product-card img {
  grid-row: 1 / 4;
  width: 112px;
  height: 168px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.home-product-card span,
.clean-card span,
.difference-grid span,
.school-grid.clean-card-grid article span {
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-product-card strong {
  color: var(--deep);
  font-size: 1.2rem;
  line-height: 1.1;
}

.home-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.difference-grid,
.clean-card-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.difference-grid article,
.clean-card,
.school-grid.clean-card-grid article,
.faq-grid details {
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(9, 47, 56, 0.06);
}

.difference-grid p,
.clean-card p,
.school-grid.clean-card-grid p {
  margin: 0;
  color: var(--muted);
}

.compact-founder {
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
}

.compact-founder .founder-photo img {
  max-height: 420px;
  object-fit: cover;
}

.faq-section h2 {
  max-width: 760px;
}

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

.faq-grid summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 900;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  float: right;
  color: var(--coral);
  font-weight: 900;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.52fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0;
}

.subpage-hero h1 {
  margin-bottom: 18px;
}

.subpage-cover {
  margin: 0;
}

.subpage-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps-page-hero {
  border-bottom: 1px solid var(--line);
}

.steps-snapshot {
  padding-top: 56px;
}

.wide-copy {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.code-card ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.code-card li::before {
  content: "<>";
  margin-right: 7px;
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .home-hero,
  .subpage-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-media {
    min-height: 0;
  }

  .home-product-grid,
  .difference-grid,
  .clean-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .side-rail {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: none;
  }

  .side-rail a {
    min-width: 0;
    min-height: 34px;
    font-size: 0.72rem;
  }

  .home-hero {
    min-height: auto;
    padding-top: 48px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 251, 239, 0.94) 100%);
  }

  .home-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }

  .home-hero-media p {
    text-align: left;
  }

  .video-shell,
  .steps-video-panel .video-shell {
    justify-self: center;
    width: min(100%, 360px);
  }

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

@media (max-width: 620px) {
  .home-overview,
  .subpage-hero {
    width: min(100% - 28px, var(--max));
  }

  .home-product-grid,
  .difference-grid,
  .clean-card-grid {
    grid-template-columns: 1fr;
  }

  .home-product-card {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 0;
  }

  .home-product-card img {
    width: 86px;
    height: 128px;
  }

  .compact-founder {
    grid-template-columns: 1fr;
  }

  .compact-founder .founder-photo img {
    max-height: 330px;
  }

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

/* Premium conversion refresh, Shopify-ready update */
:focus-visible {
  outline: 3px solid rgba(216, 82, 63, 0.36);
  outline-offset: 3px;
}

.site-header,
.product-header {
  box-shadow: 0 8px 28px rgba(9, 47, 56, 0.04);
}

.button {
  border-radius: 8px;
}

.button.primary {
  background: linear-gradient(135deg, #0f747b, #082f38);
  box-shadow: 0 16px 34px rgba(14, 105, 113, 0.22);
}

.button.secondary,
.button.compact {
  background: rgba(255, 255, 255, 0.94);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), calc(100% - 40px));
  margin: -28px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border: 1px solid rgba(14, 105, 113, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 20px 56px rgba(9, 47, 56, 0.1);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.quick-explore-button {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 82;
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--teal));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(9, 47, 56, 0.24);
  cursor: pointer;
  font-weight: 900;
}

.quick-explore-button span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 14px 0 0 #f0c66d, 28px 0 0 #9bd3cf;
}

.quick-explore-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  align-items: end;
  background: rgba(7, 31, 37, 0.46);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.quick-explore-overlay[hidden] {
  display: none;
}

.quick-explore-overlay.open {
  opacity: 1;
}

.quick-explore-sheet {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 10px 16px 18px;
  background: linear-gradient(180deg, #ffffff, #f6fbfb);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -24px 70px rgba(7, 31, 37, 0.26);
  transform: translateY(22px);
  transition: transform 0.2s ease;
}

.quick-explore-overlay.open .quick-explore-sheet {
  transform: translateY(0);
}

.quick-sheet-handle {
  width: 46px;
  height: 5px;
  margin: 0 auto 12px;
  background: #c9d7d9;
  border-radius: 999px;
}

.quick-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.quick-sheet-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.quick-sheet-close {
  width: 40px;
  height: 40px;
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.quick-sheet-list {
  display: grid;
  gap: 8px;
}

.quick-sheet-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px;
  color: inherit;
  background: var(--white);
  border: 1px solid rgba(14, 105, 113, 0.12);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(9, 47, 56, 0.05);
}

.quick-sheet-list a:hover,
.quick-sheet-list a:focus {
  border-color: rgba(14, 105, 113, 0.34);
}

.quick-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--deep));
  border-radius: 999px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.quick-sheet-list strong {
  color: var(--deep);
  line-height: 1.12;
}

.quick-sheet-list em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.quick-explore-open {
  overflow: hidden;
}

.steps-landing-hero {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.9fr);
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 236, 0.94) 58%, rgba(232, 247, 246, 0.92)),
    url("hero-product-collage.jpg") right bottom / min(680px, 48vw) auto no-repeat;
}

.steps-landing-hero h1 {
  max-width: 860px;
  font-size: clamp(2.65rem, 6.2vw, 5.65rem);
}

.hero-trust {
  max-width: 640px;
  padding: 12px 14px;
  color: #2d4c52;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(14, 105, 113, 0.16);
  border-radius: var(--radius);
  font-weight: 800;
}

.book-set-showcase {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 430px;
  margin: 0;
  padding: 28px 12px 22px;
}

.book-set-showcase img {
  width: clamp(96px, 13vw, 168px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  background: var(--white);
  border: 1px solid rgba(9, 47, 56, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(9, 47, 56, 0.2);
}

.book-set-showcase img:nth-child(1) {
  transform: translateX(46px) rotate(-8deg);
}

.book-set-showcase img:nth-child(2) {
  transform: translateX(26px) rotate(-4deg);
}

.book-set-showcase img:nth-child(3) {
  position: relative;
  z-index: 2;
  width: clamp(112px, 15vw, 190px);
}

.book-set-showcase img:nth-child(4) {
  transform: translateX(-26px) rotate(4deg);
}

.book-set-showcase img:nth-child(5) {
  transform: translateX(-46px) rotate(8deg);
}

.premium-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.premium-metrics div {
  background:
    linear-gradient(135deg, rgba(9, 47, 56, 0.98), rgba(14, 105, 113, 0.96));
  box-shadow: 0 16px 34px rgba(9, 47, 56, 0.1);
}

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

.bundle-reason-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.premium-bundle {
  margin-bottom: 0;
  background:
    linear-gradient(135deg, rgba(9, 47, 56, 0.98), rgba(14, 105, 113, 0.92)),
    url("steps-backcover-poster-no-mrp.jpg") right center / auto 110% no-repeat;
}

.mobile-buy-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 86;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 105, 113, 0.16);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(9, 47, 56, 0.2);
  backdrop-filter: blur(14px);
}

.mobile-buy-bar div {
  display: grid;
  min-width: 0;
}

.mobile-buy-bar strong {
  color: var(--deep);
  font-size: 0.9rem;
  line-height: 1.1;
}

.mobile-buy-bar span,
.mobile-buy-link {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.mobile-buy-link {
  grid-column: 1 / -1;
  justify-self: center;
  text-decoration: none;
}

.purchase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 10px 0 24px;
  padding: 18px;
  background: linear-gradient(135deg, #eef9f8, #fff8ee);
  border: 1px solid rgba(14, 105, 113, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(9, 47, 56, 0.08);
}

.purchase-panel span {
  display: block;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--deep);
  font-size: 1.12rem;
}

.purchase-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.product-buyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.product-buyer-grid article,
.product-learning-section {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 43, 50, 0.06);
}

.product-buyer-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-buyer-grid p {
  margin: 0;
  color: #40545a;
}

.product-learning-section {
  margin: 26px 0;
}

.product-learning-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.product-learning-section .product-feature-list {
  margin: 0;
}

.bundle-product-page {
  background: linear-gradient(180deg, #fffaf1 0%, #f4f8f8 62%, #ffffff 100%);
}

.bundle-purchase-panel {
  background: linear-gradient(135deg, #092f38, #0e6971);
  border-color: rgba(255, 255, 255, 0.16);
}

.bundle-purchase-panel span,
.bundle-purchase-panel strong,
.bundle-purchase-panel p {
  color: var(--white);
}

.bundle-purchase-panel p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1080px) {
  .premium-metrics,
  .inside-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-landing-hero {
    grid-template-columns: 1fr;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 236, 0.94));
  }
}

@media (max-width: 820px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .side-rail {
    display: none;
  }

  .quick-explore-button {
    display: inline-flex;
  }

  .book-set-showcase {
    min-height: 260px;
    padding-inline: 0;
  }

  .mobile-buy-bar {
    display: grid;
  }

  .steps-landing-page {
    padding-bottom: 92px;
  }
}

@media (max-width: 620px) {
  .trust-strip,
  .premium-metrics,
  .inside-grid,
  .product-buyer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    min-height: 54px;
  }

  .steps-landing-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .book-set-showcase {
    order: -1;
    justify-content: flex-start;
    overflow-x: auto;
    min-height: 170px;
    padding: 10px 4px 18px;
    scroll-snap-type: x mandatory;
  }

  .book-set-showcase img,
  .book-set-showcase img:nth-child(n) {
    flex: 0 0 118px;
    width: 118px;
    transform: none;
    scroll-snap-align: start;
  }

  .purchase-panel {
    grid-template-columns: 1fr;
  }

  .purchase-actions {
    justify-content: stretch;
  }

  .purchase-actions .button {
    width: 100%;
  }

  .mobile-buy-bar .button {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 0.82rem;
  }
}
