:root {
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #173235;
  --ink-2: #23484a;
  --sage: #6f9189;
  --mint: #ddebe7;
  --blue: #557a91;
  --pale-blue: #dfeaf1;
  --sand: #eedfbf;
  --clay: #c98f7a;
  --yellow: #f4d86a;
  --body: #556164;
  --line: #cfd8d4;
  --shadow: 0 18px 46px rgba(23, 50, 53, 0.14);
  --shell: 1320px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 82px;
  line-height: 0.94;
  font-weight: 780;
}

h2 {
  margin-bottom: 24px;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 760;
}

h3 {
  font-size: 25px;
  line-height: 1.15;
}

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

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

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

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

.narrow {
  max-width: 880px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--sage);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button.is-loading {
  cursor: wait;
  opacity: 0.72;
  pointer-events: none;
}

.button:focus-visible,
.site-header a:focus-visible,
.menu-button:focus-visible,
summary:focus-visible,
.mode-controls button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.button-ink {
  color: var(--white);
  background: var(--ink);
}

.button-ink:hover {
  background: var(--ink-2);
}

.button-outline {
  color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  background: var(--mint);
}

.button-yellow {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button-small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 14px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 64px;
  align-items: center;
  gap: 26px;
  padding: 9px max(20px, calc((100% - var(--shell)) / 2));
  border-bottom: 1px solid rgba(23, 50, 53, 0.14);
  background: rgba(247, 245, 239, 0.96);
  backdrop-filter: blur(12px);
}

.wordmark {
  width: fit-content;
  font-size: 19px;
  font-weight: 820;
  text-decoration: none;
}

.brand-lockup {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}

.new-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px 4px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid rgba(23, 50, 53, 0.22);
  border-radius: 999px;
  font-size: 9px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a,
.mobile-nav a {
  font-size: 14px;
  font-weight: 690;
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--sage);
}

.header-cta {
  justify-self: end;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  min-height: min(780px, calc(100vh - 64px));
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  min-height: min(780px, calc(100vh - 64px));
  grid-template-columns: minmax(420px, 0.82fr) minmax(580px, 1.18fr);
  align-items: center;
  gap: 64px;
  padding-block: 68px 92px;
}

.hero-copy {
  align-self: center;
  padding: 48px 44px;
  color: var(--ink);
  background: rgba(247, 245, 239, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.hero-copy h1 {
  font-size: 72px;
}

.hero-copy .eyebrow {
  color: var(--sage);
}

.hero-origin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 22px;
  padding: 7px 10px 7px 7px;
  color: var(--ink);
  background: var(--sand);
  border-radius: 3px;
  font-size: 10px;
  line-height: 1;
  font-weight: 860;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-origin::before {
  padding: 4px 5px;
  color: var(--paper);
  background: var(--ink);
  content: "CH";
  font-size: 9px;
  letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 20px;
  font-size: 31px;
  line-height: 1.12;
  font-weight: 690;
}

.hero-novelty {
  margin: -7px 0 18px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 820;
}

.hero-body {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--body);
  font-size: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.microcopy {
  margin: 16px 0 0;
  color: var(--body);
  font-size: 13px;
}

.hero-video {
  min-width: 0;
  align-self: center;
  display: grid;
  gap: 14px;
  margin: 0;
}

.hero-video-frame {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #081719;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
}

.window-bar > span:nth-child(2) {
  background: var(--yellow);
}

.window-bar > span:nth-child(3) {
  background: var(--sage);
}

.anki-proof {
  justify-self: center;
  margin: 0;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 820;
}

.proof-strip {
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.proof-grid article {
  min-height: 150px;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.proof-grid article:last-child {
  border-right: 1px solid var(--line);
  background: var(--sand);
}

.proof-grid article:nth-child(2) {
  background: var(--pale-blue);
}

.proof-grid article:nth-child(3) {
  background: var(--mint);
}

.proof-index {
  display: block;
  margin-bottom: 18px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 850;
}

.proof-grid h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.proof-grid p {
  margin: 8px 0 0;
  color: var(--body);
  font-size: 12px;
  line-height: 1.35;
}

.section {
  padding-block: 120px;
}

.section-mint {
  background: var(--mint);
}

.section-sand {
  background: var(--sand);
}

.section-ink {
  color: var(--paper);
  background: var(--ink);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(600px, 1.25fr);
  align-items: center;
  gap: 68px;
}

.section-copy h2 {
  max-width: 520px;
}

.large-copy {
  max-width: 580px;
  color: var(--body);
  font-size: 20px;
}

.quiet-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 34px;
  padding: 18px 0 18px 20px;
  border-left: 4px solid var(--yellow);
}

.quiet-note span {
  color: var(--body);
}

.product-window {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.window-bar b {
  margin-left: auto;
  margin-right: auto;
  color: var(--body);
  font-size: 11px;
}

.product-demo-viewport {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-demo-viewport iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f7f3ea;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 540px;
  margin-bottom: 6px;
  color: var(--body);
  font-size: 19px;
}

.section-heading.light > p {
  color: #cbdad6;
}

.style-gallery {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: max(24px, calc((100vw - var(--shell)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
}

.gallery-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}

.gallery-status {
  min-width: 48px;
  color: var(--body);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.gallery-buttons {
  display: flex;
  gap: 8px;
}

.gallery-buttons button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 50, 53, 0.34);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
}

.gallery-buttons button:hover,
.gallery-buttons button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  outline: none;
}

.gallery-buttons button:disabled {
  cursor: default;
  opacity: 0.35;
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2)) 20px;
}

.style-sample {
  width: min(560px, 72vw);
  flex: 0 0 auto;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.demo-viewport {
  position: relative;
  height: 458px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 50, 53, 0.25);
  border-radius: 7px;
  box-shadow: 0 14px 34px rgba(23, 50, 53, 0.1);
}

.demo-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1100px;
  height: 900px;
  border: 0;
  pointer-events: none;
  transform: scale(var(--demo-scale, 0.5091));
  transform-origin: top left;
}

.style-sample h3 {
  margin: 14px 0 0;
  font-size: 17px;
}

.gallery-caption {
  margin-top: 26px;
  margin-bottom: 0;
  color: var(--body);
  font-size: 17px;
}

.style-engineering {
  margin-top: 54px;
  padding-top: 54px;
  border-top: 1px solid rgba(23, 50, 53, 0.25);
}

.style-engineering-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 64px;
}

.style-engineering-intro h3 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: 40px;
  line-height: 1.02;
}

.style-engineering-intro > p {
  max-width: 710px;
  margin-bottom: 4px;
  color: var(--body);
  font-size: 18px;
}

.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  padding: 1px;
  background: rgba(23, 50, 53, 0.28);
}

.compatibility-item {
  min-height: 210px;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.42);
}

.compatibility-index {
  display: block;
  margin-bottom: 28px;
  color: #456d67;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.compatibility-item h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.compatibility-item p {
  margin-bottom: 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.5;
}

.style-recommendation {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 1px 0 0;
  padding: 22px 24px;
  color: var(--paper);
  background: var(--ink);
  font-size: 14px;
}

.style-recommendation strong {
  color: var(--yellow);
  white-space: nowrap;
}

.discord-style-note {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 44px;
  margin-top: 24px;
  padding: 30px 32px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 50, 53, 0.24);
}

.discord-style-kicker {
  color: #456d67;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.discord-style-note h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.discord-style-note p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--body);
}

.modes-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
}

.modes-copy {
  max-width: 460px;
}

.modes-copy h2 {
  margin-bottom: 20px;
}

.modes-description {
  margin-bottom: 0;
  color: var(--body);
  font-size: 18px;
}

.comparison-wrap {
  position: relative;
  min-width: 0;
}

.comparison {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f7f3ea;
  pointer-events: none;
}

.comparison-dark {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 52%);
}

.comparison-dark iframe {
  position: absolute;
  inset: 0;
  background: #0f172a;
}

.comparison-range {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.comparison-handle {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 52%;
  display: flex;
  width: 2px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  color: var(--ink);
  background: var(--yellow);
  pointer-events: none;
}

.comparison-handle span {
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 850;
}

.comparison-handle i {
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.comparison-instruction {
  margin: 14px 0 0;
  color: var(--body);
  text-align: center;
}

.mode-controls {
  display: none;
  justify-content: center;
  margin-bottom: 16px;
}

.mode-controls button {
  min-width: 100px;
  min-height: 44px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--white);
}

.mode-controls button:first-child {
  border-radius: 5px 0 0 5px;
}

.mode-controls button:last-child {
  border-left: 0;
  border-radius: 0 5px 5px 0;
}

.workflow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.workflow-list::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms ease;
}

.workflow-list.is-visible::before {
  transform: scaleX(1);
}

.workflow-list li {
  min-height: 300px;
  padding: 30px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list span {
  display: block;
  margin-bottom: 54px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 850;
}

.workflow-list h3 {
  min-height: 58px;
  margin-bottom: 18px;
}

.workflow-list p {
  margin-bottom: 0;
  color: #cbdad6;
}

.impact-section {
  background: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(540px, 1.15fr);
  gap: 72px;
  align-items: center;
}

.impact-copy p:not(.eyebrow) {
  color: var(--body);
  font-size: 18px;
}

.quality-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--yellow);
  background: var(--paper);
  font-size: 15px !important;
}

.impact-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.impact-numbers > div {
  display: grid;
  min-height: 210px;
  place-content: center;
  padding: 24px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-numbers > div:nth-child(2n) {
  border-right: 0;
}

.impact-numbers > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.impact-numbers strong {
  display: inline;
  font-size: 66px;
  line-height: 0.9;
}

.impact-numbers b {
  font-size: 38px;
}

.impact-numbers span {
  display: block;
  max-width: 180px;
  margin: 12px auto 0;
  color: var(--body);
  font-size: 14px;
}

.accent-number {
  background: var(--yellow);
}

.review-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: stretch;
  gap: 0;
  margin-top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.review-video {
  position: relative;
  min-width: 0;
  min-height: 480px;
  overflow: hidden;
  background: #f8f7f2;
}

.review-video img,
.review-video video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  display: block;
}

.review-video-overlay {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px 10px 10px;
  color: var(--paper);
  background: rgba(23, 50, 53, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(23, 50, 53, 0.22);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-video-overlay strong {
  display: block;
  margin-bottom: 2px;
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.review-play-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border-radius: 50%;
}

.review-play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--ink);
}

.review-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  background: var(--mint);
}

.review-copy p:last-child {
  color: var(--body);
}

.review-answer-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 50, 53, 0.2);
  font-size: 14px;
  font-weight: 750;
}

.method-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(23, 50, 53, 0.3);
}

.method-comparison article {
  min-height: 360px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.44);
}

.method-comparison .direct {
  background: #f2ddd7;
}

.method-comparison article + article {
  border-left: 1px solid rgba(23, 50, 53, 0.3);
}

.method-comparison .preferred {
  background: #d9ebe4;
}

.method-comparison .direct .comparison-label,
.method-comparison .direct h3 {
  color: #8e4036;
}

.method-comparison .preferred .comparison-label,
.method-comparison .preferred h3 {
  color: #285f50;
}

.comparison-label {
  margin-bottom: 52px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.method-comparison ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.method-comparison li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-top: 1px solid rgba(23, 50, 53, 0.18);
}

.comparison-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.direct .comparison-icon {
  color: #fff8f5;
  background: #b75649;
}

.preferred .comparison-icon {
  color: #f6fffb;
  background: #397861;
  font-size: 14px;
}

.existing-decks-section {
  background: var(--white);
}

.existing-decks-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(600px, 1.22fr);
  gap: 84px;
  align-items: center;
}

.existing-decks-copy h2 {
  max-width: 580px;
}

.existing-decks-note {
  max-width: 590px;
  margin: 30px 0;
  padding: 18px 0 18px 20px;
  color: var(--body);
  border-left: 4px solid var(--yellow);
}

.deck-renewal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: stretch;
}

.deck-stage {
  min-height: 410px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.deck-stage-source {
  color: #303738;
  background: #f2f2ef;
}

.deck-stage-result {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.deck-stage-number,
.deck-stage-label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.deck-stage-number {
  color: var(--sage);
}

.deck-stage-label {
  margin-bottom: 24px;
}

.deck-stage h3 {
  min-height: 58px;
  margin-bottom: 30px;
  font-size: 31px;
}

.deck-stage > p:last-child {
  margin: 28px 0 0;
  color: var(--body);
}

.deck-stage-result > p:last-child {
  color: #cedbd7;
}

.legacy-notes,
.renewed-notes {
  display: grid;
  min-height: 126px;
}

.legacy-notes {
  gap: 12px;
}

.legacy-notes span {
  height: 16px;
  background: #d7d9d5;
  border-radius: 2px;
}

.legacy-notes span:nth-child(2) {
  width: 74%;
}

.legacy-notes span:nth-child(3) {
  width: 91%;
}

.legacy-notes span:nth-child(4) {
  width: 58%;
}

.renewed-notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
}

.renewed-notes span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--mint);
}

.renewed-notes span:nth-child(2) {
  background: var(--yellow);
}

.renewed-notes span:nth-child(3) {
  background: var(--pale-blue);
}

.renewed-notes span:nth-child(4) {
  background: var(--clay);
}

.deck-renewal-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 34px;
  font-weight: 700;
}

.deck-rights-note {
  margin-top: 24px;
  color: var(--body);
  font-size: 12px;
}

.semester-band {
  padding-block: 110px;
  color: var(--paper);
  background: var(--ink);
}

.semester-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: 100px;
  align-items: center;
}

.semester-grid h2 {
  max-width: 700px;
}

.semester-grid > div > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 30px;
  color: #cbdad6;
  font-size: 19px;
}

.semester-grid .semester-wow {
  margin-top: -10px;
  padding-left: 16px;
  border-left: 4px solid var(--yellow);
  color: var(--paper);
  font-weight: 760;
}

.semester-rhythm {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.semester-rhythm li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.semester-rhythm span {
  color: var(--yellow);
  font-weight: 820;
}

.semester-rhythm p {
  margin: 0;
  color: #d8e4e1;
}

.included-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  gap: 86px;
}

.included-copy p:not(.eyebrow) {
  color: var(--body);
  font-size: 18px;
}

.included-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.included-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 740;
}

.included-list span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 850;
}

.requirements {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 60px;
  margin-top: 92px;
  padding: 42px;
  background: var(--pale-blue);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.requirements h3 {
  margin-bottom: 0;
  font-size: 34px;
}

.requirements ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(23, 50, 53, 0.18);
}

.requirements li::before {
  margin-right: 8px;
  color: var(--sage);
  content: "OK";
  font-size: 11px;
  font-weight: 900;
}

.creator-band {
  padding-block: 120px;
  background: var(--clay);
}

.creator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  align-items: center;
  gap: clamp(56px, 7vw, 112px);
}

.creator-copy {
  min-width: 0;
}

.creator-band .eyebrow {
  padding-left: 12px;
  border-left: 4px solid var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.creator-band h2 {
  max-width: 820px;
}

.creator-copy > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 20px;
}

.creator-profile {
  position: relative;
  width: 100%;
  min-width: 0;
  isolation: isolate;
}

.creator-portrait {
  position: relative;
  display: flex;
  min-height: 470px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: rgba(247, 245, 239, 0.22);
  border: 1px solid rgba(23, 50, 53, 0.26);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.creator-portrait::before {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 250px;
  aspect-ratio: 1;
  background: var(--yellow);
  border-radius: 50%;
  content: "";
  opacity: 0.9;
  transform: translateX(-50%);
}

.creator-portrait::after {
  position: absolute;
  inset: 24px;
  border-top: 1px solid rgba(23, 50, 53, 0.34);
  border-right: 1px solid rgba(23, 50, 53, 0.34);
  content: "";
}

.creator-portrait img {
  position: relative;
  z-index: 1;
  width: min(100%, 350px);
  max-height: 500px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(23, 50, 53, 0.18));
  transform: translateY(18px);
}

.creator-identity {
  position: relative;
  z-index: 2;
  padding: 22px 24px 24px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 0 0 8px 8px;
}

.creator-identity p {
  margin: 0;
}

.creator-degree {
  font-size: 23px;
  line-height: 1.1;
  font-weight: 820;
}

.creator-current {
  position: relative;
  margin-top: 10px !important;
  padding-left: 17px;
  color: #cbdad6;
  font-size: 14px;
  line-height: 1.45;
}

.creator-current::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  content: "";
}

.purchase-section {
  background: var(--paper);
}

.purchase-module {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: 80px;
  padding: 58px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
}

.purchase-module h2 {
  margin-bottom: 16px;
}

.purchase-module > div:first-child > p:last-child {
  max-width: 580px;
  color: #cbdad6;
  font-size: 18px;
}

.price-block {
  display: grid;
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.price-comparison {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.price-block .current-price {
  font-size: 74px;
  line-height: 1;
  font-weight: 820;
}

.price-block .regular-price {
  color: #9eb0ac;
  font-size: 26px;
  font-weight: 680;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-block .launch-badge {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px 6px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-block small {
  margin: 6px 0 24px;
  color: #cbdad6;
}

.price-block p {
  margin: 12px 0 0;
  color: #cbdad6;
  font-size: 12px;
  text-align: center;
}

.price-block .planned-price {
  margin: -10px 0 20px;
  padding-left: 12px;
  border-left: 3px solid var(--yellow);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.checkout-status {
  display: none;
  margin-top: 14px !important;
  padding: 10px 12px;
  color: #ffe9e3 !important;
  background: rgba(130, 31, 14, 0.44);
  border: 1px solid rgba(255, 233, 227, 0.46);
  border-radius: 5px;
  font-size: 13px !important;
  line-height: 1.4;
  text-align: left !important;
}

.checkout-status.is-visible {
  display: block;
}

.purchase-success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: var(--paper);
}

.purchase-success-card {
  width: min(100%, 720px);
  padding: 48px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.purchase-success-card h1 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1;
}

.purchase-success-card p {
  max-width: 610px;
  color: var(--body);
  font-size: 18px;
}

.purchase-success-card .button {
  margin-top: 14px;
}

.purchase-status-line {
  min-height: 26px;
  margin-top: 24px;
  color: var(--sage) !important;
  font-size: 14px !important;
  font-weight: 760;
}

.purchase-status-line.is-error {
  color: #9a3325 !important;
}

.access-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 6%, rgba(242, 207, 87, 0.24), transparent 30rem),
    linear-gradient(180deg, #f7f5ef 0%, #edf3f0 100%);
}

.access-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.access-brand {
  display: inline-block;
  margin-bottom: clamp(48px, 8vw, 96px);
  color: inherit;
  font-weight: 850;
  text-decoration: none;
}

.access-card {
  padding: clamp(26px, 5vw, 68px);
  border: 1px solid rgba(23, 54, 56, 0.15);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 80px rgba(23, 54, 56, 0.1);
  backdrop-filter: blur(18px);
}

.access-login-panel > h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
}

.access-login-panel > p { max-width: 720px; font-size: 18px; line-height: 1.6; }
.access-form { max-width: 820px; margin-top: 36px; }
.access-form label { display: block; margin-bottom: 10px; font-weight: 800; }
.access-form-row { display: flex; gap: 12px; }

.access-form input {
  min-width: 0;
  flex: 1;
  padding: 16px 18px;
  border: 1px solid rgba(23, 54, 56, 0.3);
  border-radius: 999px;
  background: white;
  color: #173638;
  font: inherit;
}

.customer-library {
  margin: 0;
}

.library-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.library-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); }
.library-email { margin: 10px 0 0; color: var(--body); font-size: 14px; }

.course-preflight {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  margin-top: 48px;
  padding: clamp(26px, 4vw, 48px);
  color: #eef4f1;
  background: #173235;
  border-radius: 26px;
}

.course-preflight .eyebrow { color: #9fc0b8; }
.course-preflight h3,
.course-player-heading h3,
.next-step-card h3 { margin: 0 0 14px; font-size: clamp(27px, 3.4vw, 43px); line-height: 1.02; }
.course-preflight p { color: #c5d2ce; }

.continuity-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.continuity-note span { color: #c5d2ce; font-size: 14px; line-height: 1.55; }

.preflight-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preflight-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.preflight-list li:first-child { padding-top: 0; }
.preflight-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.preflight-list li > span { color: var(--yellow); font-weight: 850; letter-spacing: 0.08em; }
.preflight-list strong,
.preflight-list small { display: block; }
.preflight-list small { margin-top: 5px; color: #c5d2ce; font-size: 13px; line-height: 1.45; }
.preflight-list a {
  color: inherit;
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.preflight-list a:hover { color: #f4f1e8; }

.course-player-section {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 40px);
  background: #e5eee9;
  border: 1px solid rgba(23, 54, 56, 0.13);
  border-radius: 26px;
}

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

.course-player-heading h3 { max-width: 760px; }

.course-video-shell {
  padding: 10px;
  background: #101716;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(23, 50, 53, 0.2);
}

.course-video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d1110;
  border-radius: 13px;
}

.course-part-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 2px 0;
}

.course-part-button {
  appearance: none;
  padding: 8px 13px;
  color: #173235;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 50, 53, 0.2);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.course-part-button:hover { transform: translateY(-1px); }
.course-part-button[aria-pressed="true"] { color: #f4f1e8; background: #173235; }

.course-video-status { min-height: 22px; margin: 14px 2px 0; color: var(--sage); font-size: 13px; font-weight: 760; }
.course-video-status.is-error { color: #a33d2e; }

.customer-next-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.next-step-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
}

.next-step-card p:not(.eyebrow) { color: var(--body); }
.next-step-card .button { margin-top: 12px; }
.button-with-icon { gap: 10px; }
.button-icon { flex: 0 0 auto; }
.button-icon-heart {
  color: #a43c35;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}
.button-icon-discord {
  width: 21px;
  height: 16px;
  object-fit: contain;
}
.next-step-discord { background: #dfeaf1; }
.next-step-donation { background: #eedfbf; }
.access-expiry { margin: 22px 2px 0; color: var(--body); font-size: 13px; opacity: 0.82; }

@media (max-width: 620px) {
  .access-form-row,
  .library-heading,
  .course-player-heading { align-items: stretch; flex-direction: column; }
  .course-preflight,
  .customer-next-steps { grid-template-columns: 1fr; }
  .course-preflight { padding: 28px 22px; }
  .course-player-section { padding: 18px 14px; }
  .course-video-shell { padding: 5px; border-radius: 14px; }
  .course-video-shell video { border-radius: 10px; }

  .purchase-success-card {
    padding: 32px 24px;
  }

  .purchase-success-card h1 {
    font-size: 40px;
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 86px;
}

.faq-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.faq-list {
  border-top: 1px solid rgba(23, 50, 53, 0.28);
}

.faq-list details {
  border-bottom: 1px solid rgba(23, 50, 53, 0.28);
}

.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 760;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 0;
  font-size: 24px;
  content: "+";
}

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

.faq-list details p {
  max-width: 700px;
  padding: 0 40px 24px 0;
  color: var(--body);
}

.final-cta {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  background: #0c2527;
}

.final-stream {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0.2;
  transform: rotate(-4deg) scale(1.12);
}

.final-stream img,
.final-stream iframe {
  width: 58vw;
  height: 620px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.final-stream iframe {
  background: #0f172a;
  pointer-events: none;
}

.final-copy {
  position: relative;
  z-index: 2;
  padding: 56px;
  text-align: center;
  background: rgba(23, 50, 53, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}

.final-copy p:not(.eyebrow) {
  max-width: 650px;
  margin-inline: auto;
  color: #d9e5e2;
  font-size: 19px;
}

.final-copy small {
  display: block;
  margin-top: 16px;
  color: #c3d3cf;
}

.site-footer {
  padding-block: 58px 36px;
  color: var(--paper);
  background: #10282a;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
}

.footer-wordmark {
  color: var(--paper);
}

.footer-grid p {
  margin: 8px 0 0;
  color: #b9cbc7;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-grid nav a {
  font-size: 14px;
  text-decoration: none;
}

.legal {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #9fb4af;
  font-size: 12px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1280px) and (min-width: 901px) {
  .hero-copy h1 {
    font-size: 56px;
  }
}

@media (max-width: 1120px) {
  h1 { font-size: 68px; }
  h2 { font-size: 48px; }

  .hero-copy h1 {
    font-size: 62px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(360px, 0.8fr) minmax(460px, 1.2fr);
    gap: 36px;
  }

  .hero-copy {
    padding: 38px 32px;
  }

  .hero-lead {
    font-size: 27px;
  }

  .feature-layout,
  .impact-grid,
  .included-grid,
  .existing-decks-grid {
    gap: 48px;
  }

  .existing-decks-grid {
    grid-template-columns: 1fr;
  }

  .deck-renewal {
    max-width: 860px;
  }

  .review-showcase {
    grid-template-columns: 1fr 360px;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 88px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 54px 70px;
  }

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

  .proof-grid article:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .feature-layout,
  .impact-grid,
  .included-grid,
  .existing-decks-grid,
  .semester-grid,
  .creator-layout,
  .purchase-module,
  .faq-grid,
  .section-heading,
  .style-engineering-intro,
  .discord-style-note {
    grid-template-columns: 1fr;
  }

  .modes-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .modes-copy {
    max-width: 720px;
  }

  .comparison-wrap {
    width: 100%;
    max-width: 820px;
    justify-self: center;
  }

  .section-heading {
    gap: 22px;
  }

  .style-engineering-intro,
  .discord-style-note {
    gap: 20px;
  }

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

  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-list li {
    min-height: 260px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .review-showcase {
    grid-template-columns: 1fr;
  }

  .review-video {
    min-height: 400px;
  }

  .semester-grid {
    gap: 54px;
  }

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

  .creator-layout {
    gap: 52px;
  }

  .creator-profile {
    width: min(100%, 430px);
    justify-self: center;
  }

  .purchase-module {
    gap: 44px;
  }

  .price-block {
    padding: 34px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 54px;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 22px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    min-height: 60px;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding-inline: 16px;
  }

  .header-cta {
    max-width: 142px;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: transparent;
  }

  .menu-button > span:not(.sr-only) {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .mobile-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 16px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 18px;
  }

  .hero-grid {
    width: 100%;
    padding: 18px 16px 28px;
    gap: 16px;
  }

  .hero-copy {
    padding: 22px 20px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 11px;
  }

  .hero-copy h1 {
    margin-bottom: 16px;
    font-size: 44px;
  }

  .hero-origin {
    margin: -5px 0 14px;
    padding: 6px 8px 6px 6px;
    font-size: 9px;
  }

  .hero-lead {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .hero-novelty {
    margin: 0 0 12px;
    font-size: 12px;
  }

  .hero-body {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .button-row {
    display: grid;
  }

  .hero-copy .button {
    min-height: 44px;
  }

  .hero-copy .microcopy {
    margin-top: 12px;
    font-size: 11px;
  }

  .proof-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .proof-grid article,
  .proof-grid article:nth-child(2),
  .proof-grid article:last-child {
    min-height: 112px;
    padding: 22px 24px;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-index {
    margin-bottom: 10px;
  }

  .section {
    padding-block: 72px;
  }

  .feature-layout,
  .section-heading,
  .impact-grid,
  .included-grid,
  .existing-decks-grid,
  .semester-grid,
  .purchase-module,
  .faq-grid {
    gap: 36px;
  }

  .large-copy,
  .section-heading > p {
    font-size: 17px;
  }

  .style-sample {
    width: calc(100vw - 32px);
  }

  .style-gallery {
    scroll-padding-inline: 16px;
  }

  .gallery-track {
    padding-inline: 16px;
  }

  .gallery-navigation {
    justify-content: space-between;
  }

  .style-engineering {
    margin-top: 40px;
    padding-top: 40px;
  }

  .style-engineering-intro h3 {
    font-size: 32px;
  }

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

  .compatibility-item {
    min-height: 0;
  }

  .style-recommendation {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .style-recommendation strong {
    white-space: normal;
  }

  .discord-style-note {
    padding: 26px 22px;
  }

  .mode-controls {
    display: flex;
  }

  .comparison {
    aspect-ratio: 4 / 3;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
  }

  .workflow-list span {
    margin-bottom: 24px;
  }

  .workflow-list h3 {
    min-height: 0;
  }

  .impact-numbers {
    grid-template-columns: 1fr;
  }

  .impact-numbers > div,
  .impact-numbers > div:nth-child(2n),
  .impact-numbers > div:nth-last-child(-n + 2) {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .impact-numbers > div:last-child {
    border-bottom: 0;
  }

  .review-showcase {
    margin-top: 64px;
  }

  .review-video {
    min-height: 0;
    aspect-ratio: 8 / 5;
  }

  .review-video video {
    min-height: 0;
    object-fit: contain;
  }

  .product-demo-viewport {
    position: relative;
    height: 172px;
    aspect-ratio: auto;
  }

  .product-demo-viewport iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 1100px;
    height: 526px;
    transform: scale(var(--anki-preview-scale, 0.325));
    transform-origin: top left;
  }

  .review-video-overlay {
    left: 14px;
    bottom: 14px;
  }

  .review-copy {
    padding: 30px 24px;
  }

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

  .method-comparison article {
    min-height: 0;
    padding: 30px 24px;
  }

  .method-comparison article + article {
    border-top: 1px solid rgba(23, 50, 53, 0.3);
    border-left: 0;
  }

  .comparison-label {
    margin-bottom: 28px;
  }

  .deck-renewal {
    grid-template-columns: 1fr;
  }

  .deck-renewal-arrow {
    height: 56px;
    transform: rotate(90deg);
  }

  .deck-stage {
    min-height: 0;
    padding: 28px 24px;
  }

  .deck-stage h3 {
    min-height: 0;
  }

  .semester-band,
  .creator-band {
    padding-block: 78px;
  }

  .creator-band {
    padding-block: 64px;
  }

  .creator-layout {
    gap: 34px;
  }

  .creator-profile {
    display: grid;
    width: 100%;
    max-width: 430px;
    grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
    align-items: stretch;
  }

  .creator-portrait {
    min-height: 196px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 50, 53, 0.26);
    border-radius: 8px 0 0 8px;
  }

  .creator-portrait::before {
    top: 28px;
    width: 126px;
  }

  .creator-portrait::after {
    inset: 14px;
  }

  .creator-portrait img {
    width: 168px;
    max-width: none;
    max-height: 238px;
    transform: translateY(42px);
  }

  .creator-identity {
    display: flex;
    min-width: 0;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    border-radius: 0 8px 8px 0;
  }

  .creator-degree {
    font-size: 20px;
  }

  .creator-current {
    font-size: 13px;
  }

  .semester-rhythm li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .requirements {
    gap: 26px;
    margin-top: 60px;
    padding: 28px 22px;
  }

  .requirements ul {
    grid-template-columns: 1fr;
  }

  .purchase-module {
    width: calc(100% - 24px);
    padding: 34px 24px;
  }

  .price-block .current-price {
    font-size: 58px;
  }

  .price-block .regular-price {
    font-size: 22px;
  }

  .new-badge {
    padding-inline: 7px;
    font-size: 8px;
  }

  .final-cta {
    min-height: 640px;
  }

  .final-stream img,
  .final-stream iframe {
    width: 130vw;
  }

  .final-copy {
    width: calc(100% - 32px);
    padding: 38px 24px;
  }

  .footer-grid,
  .legal {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-grid nav {
    display: grid;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --body: #b8c7c2;
    --line: #33443f;
    --shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
    --night-page: #101716;
    --night-surface: #17211f;
    --night-surface-raised: #1d2926;
    --night-surface-soft: #22312e;
    --night-blue: #1b2930;
    --night-sand: #302b20;
    --night-clay: #3a2926;
    --night-text: #edf4f0;
    --night-muted: #b8c7c2;
  }

  body {
    color: var(--night-text);
    background: var(--night-page);
  }

  .site-header {
    color: var(--night-text);
    background: rgba(16, 23, 22, 0.96);
    border-color: var(--night-line, #33443f);
  }

  .mobile-nav {
    background: var(--night-surface);
    border-color: var(--line);
  }

  .menu-button {
    border-color: var(--line);
  }

  .menu-button > span:not(.sr-only) {
    background: var(--night-text);
  }

  .site-header .button-ink {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--paper);
  }

  .button-outline {
    color: var(--night-text);
    border-color: #78938b;
  }

  .button-outline:hover {
    background: var(--night-surface-soft);
  }

  .hero {
    background: #0d2425;
  }

  .hero-copy {
    color: var(--night-text);
    background: rgba(23, 33, 31, 0.98);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .hero-copy .button-ink {
    color: var(--ink);
    background: var(--yellow);
    border-color: var(--yellow);
  }

  .hero-copy .button-outline {
    color: var(--night-text);
  }

  .hero-origin {
    color: var(--night-text);
    background: #334b46;
  }

  .hero-origin::before {
    color: var(--ink);
    background: var(--yellow);
  }

  .hero-body,
  .microcopy,
  .proof-grid p,
  .large-copy,
  .quiet-note span,
  .section-heading > p,
  .gallery-status,
  .gallery-caption,
  .style-engineering-intro > p,
  .compatibility-item p,
  .discord-style-note p,
  .comparison-instruction,
  .modes-description,
  .impact-copy p:not(.eyebrow),
  .impact-numbers span,
  .review-copy p:last-child,
  .existing-decks-note,
  .deck-rights-note,
  .deck-stage > p:last-child,
  .included-copy p:not(.eyebrow),
  .faq-list details p {
    color: var(--night-muted);
  }

  .proof-strip {
    color: var(--night-text);
    background: var(--night-surface);
    border-color: var(--line);
  }

  .proof-grid article,
  .proof-grid article:last-child {
    background: var(--night-surface);
    border-color: var(--line);
  }

  .proof-grid article:nth-child(2) {
    background: var(--night-blue);
  }

  .proof-grid article:nth-child(3) {
    background: var(--night-surface-soft);
  }

  .proof-grid article:last-child {
    background: var(--night-sand);
  }

  .section-mint {
    background: var(--night-surface-soft);
  }

  .section-sand {
    background: var(--night-sand);
  }

  .section-ink,
  .semester-band,
  .purchase-module,
  .final-cta,
  .site-footer {
    color: var(--paper);
  }

  .product-window,
  .demo-viewport,
  .comparison {
    background: var(--night-surface);
    border-color: var(--line);
  }

  .window-bar {
    border-color: var(--line);
  }

  .window-bar b {
    color: var(--night-muted);
  }

  .gallery-buttons button,
  .mode-controls button {
    color: var(--night-text);
    background: var(--night-surface);
    border-color: #50655f;
  }

  .gallery-buttons button:hover,
  .gallery-buttons button:focus-visible,
  .mode-controls button:hover,
  .mode-controls button:focus-visible {
    color: var(--ink);
    background: var(--yellow);
  }

  .style-engineering {
    border-color: var(--line);
  }

  .compatibility-grid {
    background: var(--line);
  }

  .compatibility-item {
    background: var(--night-surface);
  }

  .compatibility-index,
  .discord-style-kicker {
    color: #8fc2b4;
  }

  .style-recommendation {
    color: var(--night-text);
    background: #0c1211;
  }

  .discord-style-note {
    background: var(--night-surface-soft);
    border-color: var(--line);
  }

  .impact-section,
  .existing-decks-section,
  .purchase-section {
    background: var(--night-page);
  }

  .quality-note,
  .impact-numbers > div {
    background: var(--night-surface);
  }

  .impact-numbers,
  .impact-numbers > div {
    border-color: var(--line);
  }

  .impact-numbers .accent-number {
    color: var(--ink);
    background: var(--yellow);
  }

  .impact-numbers .accent-number span {
    color: #405052;
  }

  .review-showcase,
  .review-answer-note {
    border-color: var(--line);
  }

  .review-video {
    background: var(--night-surface);
  }

  .review-copy {
    background: var(--night-surface-soft);
  }

  .method-comparison {
    border-color: var(--line);
  }

  .method-comparison article {
    background: rgba(23, 33, 31, 0.86);
  }

  .method-comparison .direct {
    background: #3a2725;
  }

  .method-comparison .preferred {
    background: #1f3731;
  }

  .method-comparison .direct .comparison-label,
  .method-comparison .direct h3 {
    color: #f0a093;
  }

  .method-comparison .preferred .comparison-label,
  .method-comparison .preferred h3 {
    color: #9ad2b8;
  }

  .direct .comparison-icon {
    color: #291513;
    background: #ef9588;
  }

  .preferred .comparison-icon {
    color: #10231e;
    background: #8bc9aa;
  }

  .method-comparison article + article,
  .method-comparison li {
    border-color: var(--line);
  }

  .deck-stage {
    border-color: var(--line);
  }

  .deck-stage-source {
    color: var(--night-text);
    background: var(--night-surface);
  }

  .legacy-notes span {
    background: #3d4b47;
  }

  .included-list,
  .included-list li,
  .requirements,
  .requirements li {
    border-color: var(--line);
  }

  .requirements {
    color: var(--night-text);
    background: var(--night-blue);
  }

  .creator-band {
    color: var(--night-text);
    background: var(--night-clay);
  }

  .creator-band .eyebrow {
    color: var(--yellow);
  }

  .creator-portrait {
    background: rgba(19, 34, 37, 0.26);
    border-color: rgba(229, 234, 231, 0.2);
  }

  .creator-portrait::after {
    border-color: rgba(229, 234, 231, 0.24);
  }

  .creator-identity {
    background: var(--night-blue);
  }

  .faq-list,
  .faq-list details {
    border-color: var(--line);
  }

  .purchase-success-page,
  .access-page {
    color: var(--night-text);
    background:
      radial-gradient(circle at 88% 6%, rgba(244, 216, 106, 0.11), transparent 30rem),
      var(--night-page);
  }

  .purchase-success-card,
  .access-card {
    color: var(--night-text);
    background: rgba(23, 33, 31, 0.94);
    border-color: var(--line);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  }

  .purchase-success-card p,
  .access-login-panel > p,
  .library-email,
  .access-expiry,
  .next-step-card p:not(.eyebrow) {
    color: var(--night-muted);
  }

  .access-form input {
    color: var(--night-text);
    background: var(--night-surface-soft);
    border-color: #52665f;
  }

  .course-preflight { background: #102523; }
  .course-player-section {
    background: var(--night-surface-raised);
    border-color: var(--line);
  }
  .next-step-discord { background: var(--night-blue); }
  .next-step-donation { background: var(--night-sand); }
  .course-video-shell { background: #0a0f0e; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
