:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --ink: #f6f5ef;
  --muted: #aaa9a3;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #d9ff57;
  --accent-ink: #101500;
  --success: #a8ee6d;
  --warm: #ffd166;
  --max: 1240px;
  --home-annual-offer-background: radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.24) 0%, rgba(157, 157, 157, 0.13) 32%, transparent 58%), linear-gradient(145deg, #5a5a5a 0%, #242424 48%, #030303 100%);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #000 !important;
}

@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: #fff #000;
  }
}

html::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

html::-webkit-scrollbar-track,
html::-webkit-scrollbar-corner {
  background: #000;
}

html::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 999px;
  background: #fff;
}

html::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
  background: #000;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  min-width: 320px;
  isolation: isolate;
  background: #000 !important;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: #000;
  content: "";
  pointer-events: none;
}

main {
  background: #000;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  pointer-events: none;
  width: min(calc(100% - 40px), var(--max));
  min-height: 128px;
  margin: 0 auto;
  padding: 1.25rem 0 1rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1rem, 3vw, 3rem);
}

.site-header > * {
  pointer-events: auto;
  transform: translateY(-26px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.brand img {
  object-fit: contain;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.24em;
  line-height: 1;
  letter-spacing: 0;
}

.brand-wordmark > span {
  line-height: 1;
}

.home-control-pill {
  min-height: 48px;
  padding: 0.75rem 2rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.2;
}

.home-control-pill:hover {
  background: #000;
  color: #fff;
}

.site-navigation {
  position: relative;
  justify-self: end;
  min-width: max-content;
  margin-left: 0;
  display: flex;
  align-items: center;
}

.site-navigation > .nav-cta {
  margin: 0;
  text-decoration: none;
  white-space: nowrap;
}

.demo-section,
.offers-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 3.75rem) 0 clamp(4rem, 6vw, 5.5rem);
  background: transparent;
}

.offers-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.5rem 0.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  align-items: stretch;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: transparent;
  scrollbar-width: none;
}

.offers-grid::-webkit-scrollbar {
  display: none;
}

.benefits-section {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 0 0.4rem clamp(4rem, 6vw, 5.5rem);
}

.benefits-grid {
  border: 0;
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #000;
}

.benefit-point {
  min-width: 0;
  min-height: 210px;
  padding: clamp(1.35rem, 2.4vw, 1.8rem);
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #000;
}

.benefit-point-stat {
  background: #000;
}

.benefit-number {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.benefit-point h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.benefit-point > p:not(.benefit-number) {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.55;
}

.benefit-point-has-demo {
  min-height: 430px;
  justify-content: flex-start;
}

.benefit-demo {
  position: relative;
  width: 100%;
  height: 172px;
  flex: 0 0 172px;
  margin: 0 0 1.15rem;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 255, 87, 0.15), transparent 42%),
    #090b0a;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.benefit-demo * {
  animation-play-state: paused !important;
}

.benefit-demo.is-in-view * {
  animation-play-state: running !important;
}

.benefit-demo-app {
  position: relative;
  height: 100%;
  border-radius: 13px;
  overflow: hidden;
  background: #f6f7f3;
  color: #101210;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.demo-app-status,
.demo-app-header,
.demo-mini-tabs {
  display: flex;
  align-items: center;
}

.demo-app-status {
  height: 13px;
  padding: 3px 8px 0;
  justify-content: space-between;
  color: #565b57;
  font-size: 5.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.demo-app-header {
  height: 25px;
  padding: 0 8px;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 800;
}

.demo-mini-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 6px;
}

.demo-mini-tabs {
  height: 19px;
  padding: 0 7px;
  gap: 3px;
  border-bottom: 1px solid #e0e2dc;
}

.demo-mini-tabs span {
  height: 14px;
  padding: 3px 5px 2px;
  border-radius: 999px;
  color: #717671;
  font-size: 5.5px;
  font-weight: 800;
}

.demo-mini-tabs .is-active {
  background: #111;
  color: #fff;
}

.demo-catalog-summary {
  height: 30px;
  padding: 3px 9px 2px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.demo-catalog-summary strong {
  color: #6c8200;
  font-size: 14px;
  line-height: 1;
  animation: benefit-count-glow 7s ease-in-out infinite;
}

.demo-catalog-summary span {
  color: #676c67;
  font-size: 6px;
  font-weight: 800;
}

.demo-catalog-window {
  height: 79px;
  margin: 0 7px;
  overflow: hidden;
}

.demo-catalog-list {
  display: grid;
  gap: 3px;
  animation: benefit-catalog-scroll 7s ease-in-out infinite;
}

.demo-catalog-list > div {
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid #e2e4de;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  font-size: 6px;
  font-weight: 760;
  box-shadow: 0 3px 8px rgba(16, 18, 16, 0.04);
}

.demo-catalog-list b {
  color: #788d12;
  font-size: 5.5px;
}

.demo-correction-stage,
.demo-flash-stage,
.demo-difficulty-stage {
  position: relative;
  height: calc(100% - 38px);
  overflow: hidden;
}

.demo-correction-question,
.demo-correction-result,
.demo-flash-course,
.demo-flash-progress,
.demo-flashcard-scene,
.demo-difficulty-card {
  position: absolute;
  inset: 5px 7px 7px;
}

.demo-correction-question {
  animation: benefit-correction-question 8s ease-in-out infinite;
}

.demo-kicker {
  color: #778018;
  font-size: 5.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-correction-question p {
  margin: 5px 0 7px;
  font-size: 7px;
  font-weight: 700;
}

.demo-answer-field {
  height: 29px;
  padding: 0 7px;
  border: 1px solid #d9dcd6;
  border-radius: 7px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  color: #1d211d;
  font-size: 7px;
  font-weight: 760;
}

.demo-typed-answer {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: benefit-answer-typing 8s steps(12, end) infinite;
}

.demo-answer-field i {
  width: 1px;
  height: 11px;
  flex: 0 0 1px;
  background: #6f810c;
  animation: benefit-cursor-blink 620ms steps(1, end) infinite;
}

.demo-correct-button {
  width: 61px;
  height: 18px;
  margin: 7px 0 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 5.5px;
  font-weight: 850;
  animation: benefit-submit-pulse 8s ease-in-out infinite;
}

.demo-correction-result {
  padding: 9px;
  border: 1px solid #dde4c9;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff 20%, #f2f8dc 100%);
  opacity: 0;
  transform: translateY(8px);
  animation: benefit-correction-result 8s ease-in-out infinite;
}

.demo-result-heading {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-result-score {
  color: #607500;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.demo-result-pill {
  padding: 3px 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 5px;
  font-weight: 850;
}

.demo-correction-result > strong {
  display: block;
  margin-bottom: 7px;
  font-size: 7px;
}

.demo-result-line {
  width: 71%;
  height: 4px;
  margin-top: 4px;
  border-radius: 999px;
  background: #c8ccc5;
}

.demo-result-line.is-long {
  width: 100%;
}

.demo-result-line.is-short {
  width: 47%;
}

.demo-flash-course {
  padding: 9px;
  border: 1px solid #e0e2dc;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-content: center;
  gap: 7px;
  background: #fff;
  animation: benefit-flash-course 9s ease-in-out infinite;
}

.demo-course-icon {
  width: 31px;
  height: 39px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 6px;
  font-weight: 900;
}

.demo-flash-course > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo-flash-course strong {
  overflow: hidden;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-flash-course small,
.demo-flash-progress small {
  margin-top: 3px;
  color: #737873;
  font-size: 5px;
  font-weight: 700;
}

.demo-flash-button {
  grid-column: 1 / -1;
  height: 19px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 5.5px;
  font-weight: 850;
}

.demo-flash-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: benefit-flash-progress-scene 9s ease-in-out infinite;
}

.demo-progress-spark {
  color: #738700;
  font-size: 19px;
  animation: benefit-spark-spin 1.2s ease-in-out infinite;
}

.demo-flash-progress strong {
  margin-top: 5px;
  font-size: 7px;
}

.demo-flash-progress > div {
  width: 78%;
  height: 5px;
  margin-top: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #dfe2dc;
}

.demo-flash-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #96ae1e;
  animation: benefit-flash-progress-fill 9s ease-in-out infinite;
}

.demo-flashcard-scene {
  opacity: 0;
  animation: benefit-flashcard-scene 9s ease-in-out infinite;
}

.demo-flashcard-front,
.demo-flashcard-back {
  position: absolute;
  inset: 0;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 18px rgba(16, 18, 16, 0.08);
}

.demo-flashcard-front {
  border: 1px solid #dfe2dc;
  background: #fff;
  animation: benefit-flashcard-front 9s ease-in-out infinite;
}

.demo-flashcard-back {
  border: 1px solid #cddaa5;
  background: #eff8d0;
  opacity: 0;
  transform: rotateY(90deg);
  animation: benefit-flashcard-back 9s ease-in-out infinite;
}

.demo-flashcard-front span,
.demo-flashcard-back span {
  margin-bottom: 8px;
  color: #788019;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-flashcard-front strong,
.demo-flashcard-back strong {
  font-size: 7px;
  line-height: 1.35;
}

.demo-difficulty-progress {
  position: relative;
  height: 18px;
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-difficulty-progress::before {
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: #d7dad4;
  content: "";
}

.demo-difficulty-progress i {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 0;
  height: 2px;
  background: #8da411;
  animation: benefit-difficulty-progress 9s ease-in-out infinite;
}

.demo-difficulty-progress b {
  position: relative;
  z-index: 2;
  width: 8px;
  height: 8px;
  border: 2px solid #8da411;
  border-radius: 50%;
  background: #f6f7f3;
}

.demo-difficulty-stage {
  height: calc(100% - 56px);
}

.demo-difficulty-card {
  padding: 12px;
  border: 1px solid #dfe2dc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 18, 16, 0.07);
}

.demo-difficulty-card span {
  margin-bottom: 5px;
  color: #778018;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-difficulty-card strong {
  font-size: 9px;
}

.demo-difficulty-card small {
  margin-top: 6px;
  color: #777c77;
  font-size: 5.5px;
  font-weight: 700;
}

.demo-difficulty-card.is-application {
  animation: benefit-difficulty-application 9s ease-in-out infinite;
}

.demo-difficulty-card.is-deepening {
  opacity: 0;
  transform: translateX(12px);
  animation: benefit-difficulty-deepening 9s ease-in-out infinite;
}

.demo-difficulty-card.is-contest {
  border-color: #cbd99d;
  background: linear-gradient(145deg, #fff, #eff7d2);
  opacity: 0;
  transform: translateX(12px);
  animation: benefit-difficulty-contest 9s ease-in-out infinite;
}

@keyframes benefit-count-glow {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  16%, 28% { transform: scale(1.06); filter: brightness(1.15); }
}

@keyframes benefit-catalog-scroll {
  0%, 18%, 100% { transform: translateY(0); }
  32%, 48% { transform: translateY(-25px); }
  64%, 80% { transform: translateY(-50px); }
}

@keyframes benefit-correction-question {
  0%, 44% { opacity: 1; transform: translateY(0); }
  51%, 93% { opacity: 0; transform: translateY(-7px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes benefit-answer-typing {
  0%, 8%, 100% { width: 0; }
  29%, 46% { width: 78px; }
  51%, 96% { width: 0; }
}

@keyframes benefit-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes benefit-submit-pulse {
  0%, 32%, 100% { background: #111; color: #fff; transform: scale(1); }
  39%, 46% { background: #d9ff57; color: #111; transform: scale(1.04); }
}

@keyframes benefit-correction-result {
  0%, 45%, 100% { opacity: 0; transform: translateY(8px); }
  54%, 90% { opacity: 1; transform: translateY(0); }
}

@keyframes benefit-flash-course {
  0%, 25%, 100% { opacity: 1; transform: translateY(0); }
  32%, 94% { opacity: 0; transform: translateY(-7px); }
}

@keyframes benefit-flash-progress-scene {
  0%, 25%, 55%, 100% { opacity: 0; transform: scale(0.97); }
  32%, 49% { opacity: 1; transform: scale(1); }
}

@keyframes benefit-spark-spin {
  0%, 100% { transform: rotate(0deg) scale(0.94); }
  50% { transform: rotate(180deg) scale(1.08); }
}

@keyframes benefit-flash-progress-fill {
  0%, 29%, 100% { width: 0; }
  49%, 54% { width: 100%; }
}

@keyframes benefit-flashcard-scene {
  0%, 50%, 100% { opacity: 0; transform: translateY(8px); }
  58%, 93% { opacity: 1; transform: translateY(0); }
}

@keyframes benefit-flashcard-front {
  0%, 68% { opacity: 1; transform: rotateY(0deg); }
  75%, 100% { opacity: 0; transform: rotateY(-90deg); }
}

@keyframes benefit-flashcard-back {
  0%, 69% { opacity: 0; transform: rotateY(90deg); }
  77%, 100% { opacity: 1; transform: rotateY(0deg); }
}

@keyframes benefit-difficulty-progress {
  0%, 18%, 100% { width: 0; }
  34%, 52% { width: 50%; }
  69%, 92% { width: 100%; }
}

@keyframes benefit-difficulty-application {
  0%, 27%, 100% { opacity: 1; transform: translateX(0); }
  34%, 94% { opacity: 0; transform: translateX(-12px); }
}

@keyframes benefit-difficulty-deepening {
  0%, 28%, 61%, 100% { opacity: 0; transform: translateX(12px); }
  36%, 55% { opacity: 1; transform: translateX(0); }
}

@keyframes benefit-difficulty-contest {
  0%, 61%, 100% { opacity: 0; transform: translateX(12px); }
  69%, 93% { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .benefit-demo * {
    animation: none !important;
  }

  .demo-catalog-list {
    transform: translateY(-25px);
  }

  .demo-correction-question,
  .demo-flash-course,
  .demo-flash-progress,
  .demo-flashcard-front,
  .demo-difficulty-card:not(.is-contest) {
    opacity: 0;
  }

  .demo-correction-result,
  .demo-flashcard-scene,
  .demo-flashcard-back,
  .demo-difficulty-card.is-contest {
    opacity: 1;
    transform: none;
  }

  .demo-difficulty-progress i {
    width: 100%;
  }
}

/* [HOME-REAL-APP-VIDEOS] Captures plein écran de l’application Duello. */
.benefit-point-has-demo {
  min-height: 590px;
}

.benefit-demo {
  width: min(100%, 190px);
  height: auto;
  aspect-ratio: 4 / 9;
  flex: 0 0 auto;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  border-radius: 22px;
  background: #fff;
}

.benefit-video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
  background: #fff;
  cursor: pointer;
}

.benefit-video:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.offers-section {
  padding-bottom: clamp(2rem, 3vw, 2.75rem);
}

.offer-card {
  position: relative;
  min-width: 0;
  min-height: 500px;
  padding: clamp(0.9rem, 1.2vw, 1.15rem);
  border: 0;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(145deg, #383838 0%, #161616 52%, #050505 100%);
  color: #fff;
  box-shadow: none;
  transform: scale(1);
  transform-origin: center;
  transition: transform 180ms ease;
}

.offer-card-free {
  box-shadow: none;
}

.offer-card-annual {
  background: var(--home-annual-offer-background);
}

.offer-card:focus-within,
.offer-card:active {
  z-index: 1;
  transform: scale(1.02);
}

@media (hover: hover) and (pointer: fine) {
  .offer-card:hover {
    z-index: 1;
    transform: scale(1.02);
  }
}

.offer-plan-row {
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.offer-saving-badge {
  margin-left: auto;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 900;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.offer-price {
  min-height: 58px;
  margin-top: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.38rem;
}

.offer-price-value {
  font-size: clamp(2.7rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.offer-price-currency {
  align-self: flex-start;
  margin-top: 0.28rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.offer-price-period {
  padding-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 400;
  white-space: nowrap;
}

.offer-card-premium .offer-price-period {
  color: rgba(255, 255, 255, 0.68);
}

.offer-equivalent {
  min-height: 34px;
  margin: 0.8rem 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.offer-equivalent span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  text-align: center;
}

.offer-equivalent-empty {
  visibility: hidden;
}

.offer-features {
  margin: 1.05rem 0 0;
  padding: 1.05rem 0 0;
  display: grid;
  gap: 0.72rem;
  list-style: none;
}

.offer-card-annual .offer-features,
.offer-card-weekly .offer-features {
  row-gap: 1rem;
}

.offer-features li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
}

.offer-feature-icon {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
}

.offer-feature-limited {
  color: rgba(255, 255, 255, 0.58);
}

.offer-button {
  min-height: 48px;
  margin-top: auto;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.offer-button:hover {
  transform: translateY(-2px);
}

.offer-button-free {
  background: #fff;
  color: #0a0d0c;
}

.offer-button-premium {
  background: #fff;
  color: #000;
}

.offer-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.legal-link-footer {
  width: min(calc(100% - 40px), var(--max));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.legal-link-footer a {
  color: #aaa9a3;
  font-size: clamp(0.62rem, 2.6vw, 0.76rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.legal-link-footer a:hover,
.legal-link-footer a:focus-visible {
  color: var(--ink);
}

.legal-link-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.legal-copyright {
  color: #aaa9a3;
  font-size: clamp(0.62rem, 2.6vw, 0.76rem);
  font-weight: 600;
  white-space: nowrap;
}

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  background: #000;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  text-align: center;
}

.demo-section .product-stage {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3rem, 5.85vw, 6.3rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

h1 span {
  display: block;
  margin-top: 0.22em;
  color: var(--accent);
}

.hero-intro {
  max-width: 660px;
  margin: 2rem 0 0;
  color: #c2c1bb;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 54px;
  padding: 0 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.94rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.button:focus-visible,
.brand:focus-visible,
.site-navigation > .nav-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.hero-facts {
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  color: #888781;
  font-size: 0.78rem;
  font-weight: 650;
  list-style: none;
}

.hero-facts li {
  position: relative;
}

.hero-facts li:not(:last-child)::after {
  position: absolute;
  right: -0.84rem;
  color: #464641;
  content: "·";
}

.product-stage {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  background: #000;
  transform: translateY(-112px);
}

.product-stage::before {
  display: none;
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 110px rgba(255, 255, 255, 0.18);
  content: "";
}

.demo-track-picker {
  position: relative;
  z-index: 4;
  min-width: 0;
  display: grid;
  justify-self: center;
  justify-items: center;
}

.demo-track-select-wrap {
  position: relative;
  gap: 0.55rem;
  appearance: none;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
}

.demo-track-select-wrap::after {
  position: relative;
  z-index: 1;
  right: auto;
  flex: 0 0 0.48rem;
  width: 0.48rem;
  min-width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  display: block;
  content: "";
  pointer-events: none;
  transform: translateY(-18%) rotate(45deg);
}

.demo-track-select-value {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.2;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

.demo-track-select-wrap[aria-expanded="true"]::after {
  transform: translateY(24%) rotate(225deg);
}

.demo-track-select-wrap:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.trial-phone-track-panel {
  position: absolute;
  z-index: 6;
  inset: 12px 11px;
  padding: 12px 10px;
  border-radius: 47px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: hidden;
  scrollbar-width: none;
  background: #000;
  color: #fff;
  text-align: left;
}

.trial-phone-track-panel::-webkit-scrollbar {
  display: none;
}

.trial-phone-track-panel[hidden] {
  display: none;
}

.trial-phone-track-options {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 40px;
  align-content: center;
  gap: 6px;
}

.trial-phone-track-options button {
  min-height: 40px;
  padding: 6px 12px;
  border: 1.25px solid #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
}

.trial-phone-track-options button[aria-pressed="true"] {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.trial-phone-track-options button[aria-pressed="true"]::after {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  flex: 0 0 16px;
  place-items: center;
  background: #000;
  color: #fff;
  content: "✓";
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.trial-phone-track-options button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(100%, 356px);
  min-height: 650px;
  padding: 0.9rem 0.9rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 42px;
  background: #f0efe9;
  color: #111;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 6px #0a0a0a;
  transform: rotate(2.5deg);
}

.phone-exact {
  width: min(100%, 300px);
  min-height: 0;
  padding: 0;
  border-radius: 38px;
  background: #fff;
}

.phone-exact img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.phone-topline {
  padding: 0.25rem 0.8rem 0.65rem;
  display: flex;
  justify-content: space-between;
  color: #444;
  font-size: 0.62rem;
  font-weight: 800;
}

.app-bar {
  padding: 1rem;
  border-radius: 26px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #111;
  color: white;
}

.app-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  font-size: 1rem;
  font-weight: 900;
}

.app-bar div {
  display: grid;
  gap: 0.12rem;
}

.app-bar small,
.anti-error small {
  color: #9b9b96;
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.app-bar strong {
  font-size: 0.88rem;
}

.streak {
  margin-left: auto;
  padding: 0.35rem 0.55rem;
  border: 1px solid #4c4c48;
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
}

.chapter-line {
  margin: 1.15rem 0.5rem 0.35rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 800;
}

.progress-track {
  height: 6px;
  margin: 0 0.5rem 1rem;
  border-radius: 99px;
  overflow: hidden;
  background: #d7d6d0;
}

.progress-track span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: #111;
}

.exercise-card,
.feedback-card,
.anti-error {
  border: 1px solid #d0cfc8;
  border-radius: 22px;
  background: #fff;
}

.exercise-card {
  padding: 1.1rem;
}

.exercise-meta {
  display: flex;
  justify-content: space-between;
  color: #77766f;
  font-size: 0.53rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.exercise-card h2 {
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
}

.exercise-card p {
  margin: 0;
  color: #4c4b47;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  line-height: 1.55;
}

.formula {
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: #f0efe9;
  font-family: Georgia, serif;
  text-align: center;
}

.feedback-card {
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feedback-card div {
  min-width: 0;
}

.feedback-state {
  display: inline-block;
  margin-bottom: 0.3rem;
  color: #866000;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.feedback-card p {
  margin: 0;
  color: #5c5b56;
  font-size: 0.68rem;
  line-height: 1.4;
}

.grade {
  margin-left: auto;
  font-size: 1.65rem;
  letter-spacing: -0.07em;
}

.grade span {
  color: #77766f;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.anti-error {
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #171717;
  color: white;
}

.anti-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  font-weight: 900;
}

.anti-error div {
  display: grid;
  gap: 0.18rem;
}

.anti-error strong {
  font-size: 0.7rem;
}

.score-orbit {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 0.2rem;
  background: rgba(17, 17, 17, 0.93);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.score-orbit-top {
  top: 17%;
  right: -3%;
}

.score-orbit-bottom {
  bottom: 16%;
  left: -7%;
}

.orbit-label {
  color: #85847f;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-orbit strong {
  color: var(--accent);
  font-size: 1.05rem;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.truth-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.truth-strip p {
  width: min(calc(100% - 40px), 1500px);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4.5rem) 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 5.2rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 1;
  text-align: center;
}

.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;
}

.demo-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.52fr);
  gap: 2rem clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.demo-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  font-weight: 740;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.demo-intro {
  display: grid;
  justify-items: start;
  gap: 1.15rem;
}

.demo-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}

.demo-intro small {
  color: #77766f;
  font-size: 0.73rem;
  line-height: 1.5;
}

.demo-shell {
  margin-top: clamp(3rem, 7vw, 6rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.45);
}

.rn-demo-shell {
  margin-top: clamp(3rem, 7vw, 6rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  overflow: hidden;
  background: #0a0d0c;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.45);
}

.rn-demo-toolbar {
  min-height: 56px;
  padding: 0.75rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #aaaeb0;
  font-size: 0.72rem;
  font-weight: 700;
}

.rn-demo-toolbar p {
  margin: 0 auto 0 0;
}

.rn-demo-toolbar a {
  color: #f6f5ef;
  font-weight: 800;
  text-decoration: none;
}

.rn-demo-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f6f5ef;
  font-weight: 900;
}

.rn-demo-code-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.mobile-trial-stage {
  position: relative;
  isolation: isolate;
  min-height: 930px;
  padding: clamp(2rem, 4vw, 3.8rem);
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(420px, 1.38fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 43%, rgba(217, 255, 87, 0.1), transparent 29%),
    linear-gradient(145deg, #e8ebe9 0%, #f8f8f5 58%, #dde2de 100%);
}

.mobile-trial-stage::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(-260px, -13vw, -80px);
  width: min(70vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(10, 13, 12, 0.09);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.mobile-trial-guide {
  max-width: 340px;
  color: #0a0d0c;
}

.mobile-trial-kicker {
  margin: 0 0 1rem;
  color: #2f4b14;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-trial-guide h3 {
  max-width: 340px;
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.mobile-trial-guide ol {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: trial-steps;
  list-style: none;
}

.mobile-trial-guide li {
  position: relative;
  min-height: 42px;
  padding: 0.15rem 0 0 3.35rem;
  color: #4f5451;
  font-size: 0.92rem;
  line-height: 1.55;
  counter-increment: trial-steps;
}

.mobile-trial-guide li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(10, 13, 12, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  color: #0a0d0c;
  content: counter(trial-steps, decimal-leading-zero);
  font-size: 0.68rem;
  font-weight: 950;
}

.mobile-trial-guide strong {
  color: #0a0d0c;
}

.mobile-trial-note {
  margin: 1.8rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(10, 13, 12, 0.12);
  color: #737773;
  font-size: 0.74rem;
  line-height: 1.55;
}

.trial-phone-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 452px);
  padding: 0.5rem 0 2rem;
  display: grid;
  justify-items: center;
}

.trial-phone-label {
  position: absolute;
  z-index: 5;
  top: 0;
  right: -1.1rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(10, 13, 12, 0.18);
  border-radius: 999px;
  background: #d9ff57;
  color: #0a0d0c;
  box-shadow: 0 10px 28px rgba(10, 13, 12, 0.16);
  font-size: 0.63rem;
  font-weight: 950;
  letter-spacing: 0.09em;
}

.trial-phone {
  position: relative;
  width: min(100%, 428px);
  aspect-ratio: 412 / 884;
  padding: 12px 11px;
  border: 0;
  border-radius: 58px;
  background: #080a09;
  box-shadow:
    inset 0 0 0 2px #1c201e,
    inset 0 0 0 5px #050605;
}

.trial-phone::before,
.trial-phone::after {
  position: absolute;
  left: -4px;
  width: 4px;
  border-radius: 3px 0 0 3px;
  background: #242825;
  content: "";
}

.trial-phone::before {
  top: 142px;
  height: 78px;
}

.trial-phone::after {
  top: 236px;
  height: 50px;
}

.trial-phone-island {
    display: none;
  position: absolute;
  z-index: 4;
  top: 20px;
  left: 50%;
  width: 108px;
  height: 28px;
  border-radius: 999px;
  background: #050605;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  transform: translateX(-50%);
}

.rn-demo-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 47px;
  background: #eef0ef;
}

.trial-phone-caption {
  margin: 1.35rem 0 0;
  color: #555b58;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.rn-demo-toolbar a:focus-visible,
.rn-demo-frame:focus-visible {
  outline: 3px solid #22c55e;
  outline-offset: -3px;
}

.rn-demo-noscript {
  margin: 0;
  padding: 1.25rem;
  color: #f6f5ef;
  line-height: 1.6;
}

.demo-shell button,
.demo-shell textarea {
  font: inherit;
}

.demo-shell button,
.demo-shell a {
  -webkit-tap-highlight-color: transparent;
}

.demo-shell button:focus-visible,
.demo-shell a:focus-visible,
.demo-shell textarea:focus-visible,
[data-demo-launch]:focus-visible {
  outline: 3px solid #22c55e;
  outline-offset: 3px;
}

.demo-toolbar {
  min-height: 54px;
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #aaa9a3;
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-toolbar p {
  margin: 0 auto 0 0;
}

.demo-live-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f6f5ef;
  font-weight: 800;
}

.demo-live-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.demo-toolbar button {
  min-height: 36px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: #f6f5ef;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 780;
}

.demo-app-frame {
  min-height: 720px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  background: #fff;
  color: #0a0d0c;
}

.demo-sidebar {
  padding: 1.7rem 1rem 1.2rem;
  border-right: 1px solid #e1e4e2;
  display: flex;
  flex-direction: column;
  background: #f7f8f7;
}

.demo-app-brand {
  padding: 0 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.demo-app-brand > span,
.demo-mobile-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #0a0d0c;
  color: white;
  font-weight: 900;
}

.demo-profile {
  padding: 0.8rem;
  border: 1px solid #e1e4e2;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: white;
}

.demo-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #166534;
  font-weight: 850;
}

.demo-profile div {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.demo-profile strong {
  font-size: 0.78rem;
}

.demo-profile small {
  color: #8b918e;
  font-size: 0.59rem;
}

.demo-app-nav {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.demo-app-nav span {
  min-height: 45px;
  padding: 0 0.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #6b706d;
  font-size: 0.74rem;
  font-weight: 720;
}

.demo-app-nav span.is-active {
  background: #0a0d0c;
  color: white;
}

.demo-app-nav i {
  width: 20px;
  font-size: 1rem;
  font-style: normal;
  text-align: center;
}

.demo-sidebar-stats {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e1e4e2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.demo-sidebar-stats div {
  display: grid;
  gap: 0.18rem;
}

.demo-sidebar-stats small {
  color: #8b918e;
  font-size: 0.53rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.demo-sidebar-stats strong {
  font-size: 0.7rem;
}

.demo-workspace {
  min-width: 0;
  background: #fff;
}

.demo-app-header {
  min-height: 78px;
  padding: 1rem clamp(1.2rem, 3vw, 2.4rem);
  border-bottom: 1px solid #e1e4e2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.demo-app-header > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.demo-app-header > div > div {
  display: grid;
  gap: 0.12rem;
}

.demo-app-header small {
  color: #8b918e;
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.demo-app-header strong {
  font-size: 0.93rem;
}

.demo-mobile-mark {
  display: none;
}

.demo-simulation-badge {
  padding: 0.5rem 0.7rem;
  border: 1px solid #e1e4e2;
  border-radius: 999px;
  color: #676c69;
  font-size: 0.62rem;
  font-weight: 760;
}

.demo-mode-tabs {
  margin: 0;
  padding: 0.8rem clamp(1.2rem, 3vw, 2.4rem) 0;
  display: flex;
  gap: 0.45rem;
  list-style: none;
}

.demo-mode-tabs li {
  min-height: 34px;
  padding: 0 0.75rem;
  border: 1px solid #e1e4e2;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #626864;
  font-size: 0.62rem;
  font-weight: 760;
}

.demo-mode-tabs li.is-active {
  border-color: #0a0d0c;
  background: #0a0d0c;
  color: white;
}

.demo-progress {
  margin: 0;
  padding: 1.1rem clamp(1.2rem, 3vw, 2.4rem);
  border-bottom: 1px solid #e1e4e2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.demo-progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #9ba09d;
}

.demo-progress li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0.6rem;
  left: 2.35rem;
  height: 1px;
  background: #e1e4e2;
  content: "";
}

.demo-progress span {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid #d7dad8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  font-size: 0.61rem;
  font-weight: 850;
}

.demo-progress small {
  position: relative;
  z-index: 1;
  padding-right: 0.45rem;
  background: white;
  font-size: 0.58rem;
  font-weight: 760;
  white-space: nowrap;
}

.demo-progress li.is-complete,
.demo-progress li[aria-current="step"] {
  color: #0a0d0c;
}

.demo-progress li.is-complete span {
  border-color: #22c55e;
  background: #dcfce7;
  color: #166534;
}

.demo-progress li.is-complete:not(:last-child)::after {
  background: #22c55e;
}

.demo-progress li[aria-current="step"] span {
  border-color: #0a0d0c;
  background: #0a0d0c;
  color: white;
}

.demo-mobile-progress {
  display: none;
}

.demo-views {
  min-width: 0;
}

.demo-view {
  min-height: 545px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.demo-view[hidden],
.demo-analysis-status[hidden] {
  display: none !important;
}

.demo-view-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1.5rem;
}

.demo-kicker {
  margin: 0 0 0.45rem;
  color: #737975;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-view h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.demo-view h4 {
  margin: 0;
}

.demo-question-number,
.demo-added-badge {
  min-height: 35px;
  padding: 0 0.75rem;
  border: 1px solid #d9ddda;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #535955;
  font-size: 0.63rem;
  font-weight: 790;
  white-space: nowrap;
}

.demo-exercise-layout {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.05fr);
  gap: 1rem;
}

.demo-paper-card,
.demo-answer-card,
.demo-feedback-detail,
.demo-attempt,
.demo-parent-message,
.demo-history {
  border: 1px solid #e1e4e2;
  border-radius: 18px;
  background: #fff;
}

.demo-paper-card,
.demo-answer-card {
  min-height: 285px;
  padding: 1.25rem;
}

.demo-paper-card > small,
.demo-corrected-answer > small,
.demo-feedback-callout > small,
.demo-parent-message > small {
  color: #7d837f;
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.demo-paper-card h4 {
  margin-top: 1.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  font-weight: 500;
  line-height: 1.52;
}

.demo-formula {
  margin: 1.15rem 0;
  padding: 0.9rem;
  border-radius: 12px;
  background: #f4f5f4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  text-align: center;
}

.demo-course-hint {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.demo-course-hint > span {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #166534;
  font-size: 0.7rem;
  font-weight: 900;
}

.demo-course-hint p {
  margin: 0;
  display: grid;
  color: #7b817d;
  font-size: 0.64rem;
  line-height: 1.35;
}

.demo-course-hint strong {
  color: #313633;
}

.demo-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.demo-card-topline h4 {
  font-size: 0.82rem;
}

.demo-card-topline span {
  color: #909692;
  font-size: 0.58rem;
}

.demo-answer-card textarea {
  width: 100%;
  min-height: 120px;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #cdd2cf;
  border-radius: 13px;
  resize: vertical;
  background: #fbfcfb;
  color: #0a0d0c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  line-height: 1.55;
}

.demo-input-options {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.45rem;
}

.demo-input-options span {
  padding: 0.38rem 0.62rem;
  border: 1px solid #e1e4e2;
  border-radius: 999px;
  color: #858b87;
  font-size: 0.57rem;
  font-weight: 760;
}

.demo-input-options .is-active {
  border-color: #0a0d0c;
  background: #0a0d0c;
  color: white;
}

.demo-helper {
  margin: 0.7rem 0 0;
  color: #858b87;
  font-size: 0.61rem;
  line-height: 1.4;
}

.demo-action-row {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.demo-action-row > p {
  max-width: 430px;
  margin: 0;
  color: #737975;
  font-size: 0.69rem;
  line-height: 1.45;
}

.demo-primary-action,
.demo-text-action {
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none;
}

.demo-primary-action {
  padding: 0 1.15rem;
  border: 1px solid #0a0d0c;
  background: #0a0d0c;
  color: white;
}

.demo-primary-action:hover {
  background: #252a27;
}

.demo-primary-action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.demo-primary-action span {
  font-size: 1rem;
}

.demo-text-action {
  padding: 0 0.7rem;
  border: 0;
  background: transparent;
  color: #5f6561;
}

.demo-analysis-status {
  margin: 1rem 0 0 auto;
  color: #166534;
  font-size: 0.68rem;
  font-weight: 750;
  text-align: right;
}

.demo-grade {
  min-width: 126px;
  padding: 0.75rem 0.9rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.demo-grade-partial {
  background: #fff7d6;
  color: #84500a;
}

.demo-grade > span {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.demo-grade strong {
  font-size: 1.65rem;
  letter-spacing: -0.06em;
}

.demo-grade strong small,
.demo-final-score strong small {
  font-size: 0.67rem;
  letter-spacing: 0;
}

.demo-correction-layout {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.demo-rubric {
  border-top: 1px solid #e1e4e2;
}

.demo-rubric > div {
  padding: 1rem 0;
  border-bottom: 1px solid #e1e4e2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.demo-rubric > div > span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #166534;
  font-size: 0.69rem;
  font-weight: 900;
}

.demo-rubric > div.is-missing > span {
  background: #fff7d6;
  color: #9a5c08;
}

.demo-rubric p {
  margin: 0;
  display: grid;
  gap: 0.17rem;
}

.demo-rubric strong {
  font-size: 0.74rem;
}

.demo-rubric small {
  color: #7c827e;
  font-size: 0.62rem;
}

.demo-feedback-detail {
  padding: 1.2rem;
}

.demo-feedback-callout {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e1e4e2;
}

.demo-feedback-callout p,
.demo-corrected-answer p {
  margin: 0.65rem 0 0;
  color: #484e4a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  line-height: 1.6;
}

.demo-corrected-answer {
  padding-top: 1rem;
}

.demo-corrected-answer mark {
  padding: 0.12rem 0.2rem;
  background: #dcfce7;
  color: #14532d;
}

.demo-verdict-note,
.demo-center-note {
  margin: 1rem 0 0;
  color: #7c827e;
  font-size: 0.64rem;
  line-height: 1.45;
}

.demo-added-badge {
  border-color: #b9ebc9;
  background: #effcf3;
  color: #166534;
}

.demo-added-badge i {
  margin-right: 0.35rem;
  font-style: normal;
}

.demo-error-stage {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(260px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.demo-error-card {
  padding: 1.35rem;
  border: 1px solid #2e3430;
  border-radius: 20px;
  background: #0a0d0c;
  color: white;
  box-shadow: 0 18px 45px rgba(10, 13, 12, 0.18);
}

.demo-error-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f9c55f;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-retry-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d9ff57;
  color: #0a0d0c;
  font-size: 1rem;
}

.demo-error-card > p {
  margin: 1.25rem 0;
  font-size: 1.22rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.demo-error-card > div:not(.demo-error-card-top):not(.demo-mastery) {
  padding: 0.75rem 0;
  border-top: 1px solid #303532;
  display: grid;
  gap: 0.2rem;
}

.demo-error-card > div small {
  color: #919894;
  font-size: 0.55rem;
  text-transform: uppercase;
}

.demo-error-card > div strong {
  font-size: 0.7rem;
}

.demo-mastery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.demo-mastery i {
  height: 5px;
  border-radius: 99px;
  background: #39403c;
}

.demo-mastery i:first-child {
  background: #d9ff57;
}

.demo-error-explanation {
  max-width: 430px;
}

.demo-big-arrow {
  color: #22c55e;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
}

.demo-error-explanation p {
  margin: 1rem 0 0;
  color: #555b58;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.62;
}

.demo-attempts {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.demo-attempt {
  padding: 1.25rem;
}

.demo-attempt > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.demo-attempt small {
  color: #7c827e;
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.demo-attempt > div span {
  color: #7c827e;
  font-size: 0.62rem;
  font-weight: 740;
}

.demo-attempt p {
  min-height: 100px;
  margin: 1.2rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  line-height: 1.6;
}

.demo-attempt > strong {
  font-size: 0.66rem;
}

.demo-attempt-before {
  background: #fffaf0;
}

.demo-attempt-before > strong {
  color: #a15e06;
}

.demo-attempt-now {
  border-color: #b9ebc9;
  background: #f4fcf6;
}

.demo-attempt-now > strong {
  color: #166534;
}

.demo-attempt-arrow {
  align-self: center;
  color: #22c55e;
  font-size: 1.5rem;
  font-weight: 800;
}

.demo-center-note {
  text-align: center;
}

.demo-success-hero {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid #e1e4e2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.demo-final-score {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.15rem 0.8rem;
  color: #166534;
}

.demo-final-score > span {
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.demo-final-score strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 2.7rem;
  letter-spacing: -0.07em;
}

.demo-final-score b {
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  background: #dcfce7;
  font-size: 0.61rem;
  white-space: nowrap;
}

.demo-success-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(230px, 0.65fr);
  gap: 1rem;
}

.demo-parent-message,
.demo-history {
  padding: 1.2rem;
}

.demo-parent-message p {
  margin: 0.7rem 0 0;
  color: #343a36;
  font-size: 0.85rem;
  line-height: 1.6;
}

.demo-history {
  display: grid;
}

.demo-history > div {
  padding: 0.65rem 0;
  border-bottom: 1px solid #e1e4e2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.demo-history > div:last-child {
  border-bottom: 0;
}

.demo-history span {
  color: #7c827e;
  font-size: 0.64rem;
}

.demo-history strong {
  font-size: 0.66rem;
  text-align: right;
}

.demo-dashboard-strip {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f4f5f4;
}

.demo-dashboard-strip > div {
  padding: 0.25rem 0.8rem;
  border-right: 1px solid #dfe2e0;
  display: grid;
  gap: 0.2rem;
}

.demo-dashboard-strip > div:last-child {
  border-right: 0;
}

.demo-dashboard-strip small {
  color: #858b87;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.demo-dashboard-strip strong {
  font-size: 0.76rem;
}

.demo-final-actions {
  margin-top: 1.2rem;
}

.demo-noscript {
  margin: 0;
  padding: 1rem 1.2rem;
  background: #fff7d6;
  color: #704409;
  font-size: 0.75rem;
  line-height: 1.5;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 1.5rem clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
}

.section-heading h2,
.points-copy h2,
.parent-callout h2,
.faq-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 5.4rem);
  font-weight: 740;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-heading > p:last-child,
.points-copy > p:last-child,
.parent-callout > p:last-child,
.final-cta > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}

.problem-section {
  border-bottom: 1px solid var(--line);
}

.problem-grid {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: var(--line);
}

.problem-grid article {
  min-height: 320px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.card-index {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.problem-grid h3 {
  margin: auto 0 1rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.035em;
}

.problem-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.58;
}

.method-section {
  padding-bottom: clamp(7rem, 12vw, 12rem);
}

.method-heading {
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.method-flow {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.method-flow li {
  min-height: 220px;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(90px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  transition: background-color 180ms ease, padding 180ms ease;
}

.method-flow li:hover {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  background: rgba(255, 255, 255, 0.028);
}

.method-flow > li > span {
  color: #343430;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 760;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.method-flow li div {
  display: grid;
  grid-template-columns: minmax(110px, 0.23fr) minmax(280px, 0.85fr) minmax(220px, 0.55fr);
  align-items: center;
  gap: 1rem 2.2rem;
}

.method-flow small,
.card-kicker {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.method-flow h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.25vw, 2.25rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.method-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.points-section {
  background: var(--ink);
  color: #101010;
}

.points-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 10rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.eyebrow-dark {
  color: #4d5e0d;
}

.points-copy > p:last-child {
  max-width: 610px;
  margin-top: 2rem;
  color: #55544e;
}

.points-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #c9c8c1;
  list-style: none;
}

.points-list li {
  padding: 1.7rem 0;
  border-bottom: 1px solid #c9c8c1;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
}

.points-list > li > span {
  color: #718c00;
  font-size: 1.5rem;
  font-weight: 850;
}

.points-list li div {
  display: grid;
  gap: 0.35rem;
}

.points-list strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.points-list small {
  color: #62615c;
  font-size: 0.88rem;
  line-height: 1.45;
}

.showcase-heading {
  max-width: 1120px;
}

.showcase-grid {
  margin-top: clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.showcase-card {
  min-width: 0;
  padding: 1rem 1rem 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.showcase-card-featured {
  background: #12140d;
  box-shadow: inset 0 0 0 1px rgba(217, 255, 87, 0.12);
}

.mini-ui {
  position: relative;
  height: 310px;
  padding: 1.4rem;
  border-radius: 20px;
  overflow: hidden;
  background: #efeee8;
  color: #111;
}

.mini-ui::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  content: "";
}

.mini-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.mini-progress {
  height: 7px;
  margin-top: 0.85rem;
  border-radius: 99px;
  background: #d5d4ce;
}

.mini-progress span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: #111;
}

.document-lines {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.document-lines i {
  height: 8px;
  border-radius: 99px;
  background: #c2c1bb;
}

.document-lines i:nth-child(2) { width: 83%; }
.document-lines i:nth-child(3) { width: 92%; }
.document-lines i:nth-child(4) { width: 67%; }

.seen-marker {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: #111;
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.correction-ui {
  background: #dfffae;
}

.verdict-row {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.verdict-row i {
  height: 9px;
  border-radius: 99px;
  background: #8eba4c;
}

.verdict-row:nth-child(3) i { width: 82%; }
.verdict-row.warning i { width: 54%; background: #b88900; }

.delta-pill {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #111;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
}

.error-ui {
  background: #151515;
  color: #f5f4ed;
}

.error-chip {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid #3a3a36;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #cecdc6;
  font-size: 0.76rem;
  font-weight: 700;
}

.error-chip:first-of-type {
  margin-top: 1.4rem;
}

.error-chip span {
  color: var(--accent);
  font-size: 1rem;
}

.mastery-line {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.mastery-line i {
  height: 5px;
  border-radius: 99px;
  background: var(--accent);
}

.mastery-line i:last-child {
  background: #3a3a36;
}

.showcase-card .card-kicker {
  margin: 1.6rem 0 0.7rem;
}

.showcase-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.showcase-card > p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.scale-section {
  padding-top: 0;
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.75fr;
  gap: 1px;
  background: var(--line);
}

.scale-item {
  min-height: 270px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg);
}

.scale-item strong {
  color: var(--accent);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 760;
  letter-spacing: -0.085em;
  line-height: 0.8;
}

.scale-item:not(.scale-main) strong {
  font-size: clamp(3.4rem, 6vw, 6rem);
}

.scale-item p {
  max-width: 280px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.parent-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 0.7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.parent-callout > p:last-child {
  max-width: 620px;
  margin-top: 2rem;
}

.parent-benefits {
  border-top: 1px solid var(--line);
}

.parent-benefits article {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
}

.parent-benefits article > span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.parent-benefits h3 {
  margin: 0;
  font-size: 1.12rem;
}

.parent-benefits p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(420px, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 2rem;
}

.faq-heading h2 {
  font-size: clamp(2.5rem, 4vw, 4.4rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 1.55rem 3rem 1.55rem 0;
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 730;
  line-height: 1.4;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--accent);
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

details p {
  margin: -0.4rem 3rem 1.6rem 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.final-cta {
  padding-right: clamp(2rem, 6vw, 5rem);
  padding-left: clamp(2rem, 6vw, 5rem);
  border: 1px solid rgba(217, 255, 87, 0.25);
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: end;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 255, 87, 0.12), transparent 24rem),
    #0d0e0a;
}

.final-cta h2 {
  max-width: 780px;
}

.final-cta > div > p:last-child {
  max-width: 680px;
  margin-top: 1.5rem;
}

.button-large {
  min-height: 62px;
  padding: 0 1.8rem;
  white-space: nowrap;
}

.result-note {
  width: min(calc(100% - 40px), 760px);
  margin: 2rem auto clamp(5rem, 8vw, 8rem);
  color: #6d6c67;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  min-height: 130px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.site-footer p,
.site-footer > a:last-child {
  color: #77766f;
  font-size: 0.74rem;
  font-weight: 650;
}

.site-footer > a:last-child {
  justify-self: end;
}

@media (max-width: 960px) {
  .product-stage {
    transform: translateY(-88px);
  }

  .rn-demo-frame {
    height: 100%;
  }

  .mobile-trial-stage {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .mobile-trial-guide {
    max-width: 620px;
  }

  .mobile-trial-guide h3 {
    max-width: 560px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .offers-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .offers-intro {
    max-width: 680px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .product-stage {
    width: min(100%, 600px);
    margin: 0 auto;
  }

  .section-heading,
  .points-inner,
  .parent-section,
  .faq-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    max-width: 720px;
  }

  .method-flow li div {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .method-flow li div p {
    grid-column: 2;
  }

  .points-inner {
    gap: 4rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(260px, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 2rem;
  }

  .showcase-card .mini-ui {
    grid-row: 1 / 4;
  }

  .showcase-card .card-kicker {
    margin-top: 1.5rem;
  }

  .scale-section {
    grid-template-columns: 1fr 1fr;
  }

  .scale-main {
    grid-column: 1 / -1;
  }

  .faq-heading {
    position: static;
  }

  .button-large {
    justify-self: start;
  }

  .demo-heading {
    grid-template-columns: 1fr;
  }

  .demo-intro {
    max-width: 700px;
  }

  .demo-app-frame {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    display: none;
  }

  .demo-mobile-mark {
    display: grid;
  }
}

@media (max-width: 680px) {
  .product-stage {
    transform: translateY(-64px);
  }

  .site-header {
    width: min(calc(100% - 28px), var(--max));
    min-height: 76px;
    padding: 0;
    align-items: center;
    column-gap: clamp(0.35rem, 2vw, 0.75rem);
  }

  .site-header > * {
    transform: translateY(-12px);
  }

  .demo-track-select-wrap,
  .site-navigation > .nav-cta {
    min-height: 42px;
    padding: 0.65rem 1.55rem;
  }

  .demo-track-select-wrap {
    max-width: 100%;
    gap: 0.4rem;
  }

  .demo-track-select-value {
    max-width: 112px;
    overflow: visible;
    font-size: 0.72rem;
    line-height: 1.05;
    text-align: center;
    white-space: normal;
  }

  .brand-wordmark {
    display: none;
  }

  .hero,
  .demo-section,
  .offers-section,
  .legal-link-footer,
  .section-shell,
  .truth-strip p,
  .points-inner,
  .result-note,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding-top: 4rem;
  }

  .demo-section,
  .offers-section {
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
  }

  .demo-section {
    padding-top: 5rem;
  }

  .benefits-section {
    width: min(calc(100% - 28px), 900px);
    padding: 0 0 3.5rem;
  }

  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefit-point {
    min-height: 0;
    padding: 1.35rem;
    align-items: center;
    text-align: center;
  }

  .benefit-demo {
    width: min(100%, 240px);
    height: auto;
    aspect-ratio: 4 / 9;
    flex-basis: auto;
    margin-right: auto;
    margin-left: auto;
  }

  .demo-app-status {
    height: 16px;
    font-size: 7px;
  }

  .demo-app-header {
    height: 30px;
    font-size: 10px;
  }

  .demo-mini-tabs {
    height: 23px;
  }

  .demo-mini-tabs span {
    height: 18px;
    padding-top: 4px;
    font-size: 7px;
  }

  .demo-catalog-summary {
    height: 38px;
  }

  .demo-catalog-summary strong {
    font-size: 18px;
  }

  .demo-catalog-summary span,
  .demo-catalog-list > div,
  .demo-answer-field,
  .demo-correction-question p,
  .demo-flash-course strong,
  .demo-flash-progress strong,
  .demo-flashcard-front strong,
  .demo-flashcard-back strong {
    font-size: 8px;
  }

  .demo-catalog-window {
    height: 105px;
  }

  .demo-catalog-list > div {
    min-height: 28px;
  }

  .demo-catalog-list b,
  .demo-kicker,
  .demo-correct-button,
  .demo-result-pill,
  .demo-flash-button,
  .demo-difficulty-card span,
  .demo-difficulty-card small {
    font-size: 7px;
  }

  .demo-result-score {
    font-size: 20px;
  }

  .demo-difficulty-card strong {
    font-size: 11px;
  }

  .offers-section {
    padding-bottom: 2.75rem;
  }

  .offers-grid {
    --offer-card-width: min(72vw, 280px);
    --offer-gap: 1.25rem;
    --offer-edge-spacer: max(
      0px,
      calc((100% - var(--offer-card-width)) / 2 - var(--offer-gap))
    );
    grid-template-columns:
      var(--offer-edge-spacer)
      repeat(3, var(--offer-card-width))
      var(--offer-edge-spacer);
    gap: var(--offer-gap);
    padding: 0.5rem 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
  }

  .offers-grid::before,
  .offers-grid::after {
    content: "";
    min-width: 0;
    pointer-events: none;
  }

  .offer-card {
    min-height: 500px;
    scroll-snap-align: center;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .product-stage {
    min-height: 630px;
  }

  .product-stage::before {
    width: 330px;
    height: 330px;
  }

  .phone {
    width: min(90vw, 340px);
    transform: none;
  }

  .score-orbit {
    min-width: 132px;
  }

  .score-orbit-top {
    top: 12%;
    right: -2%;
  }

  .score-orbit-bottom {
    bottom: 10%;
    left: -2%;
  }

  .hero-facts {
    display: grid;
    gap: 0.55rem;
  }

  .hero-facts li::after {
    display: none;
  }

  .section-shell,
  .points-inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .truth-strip p {
    padding-top: 2.7rem;
    padding-bottom: 2.7rem;
    font-size: clamp(2rem, 10.5vw, 3.3rem);
    text-align: left;
  }

  .section-heading {
    gap: 1.3rem;
  }

  .section-heading h2,
  .points-copy h2,
  .parent-callout h2,
  .faq-heading h2,
  .final-cta h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid article {
    min-height: 250px;
  }

  .method-flow li {
    min-height: 0;
    grid-template-columns: 58px 1fr;
    align-items: start;
    gap: 1rem;
  }

  .method-flow > li > span {
    padding-top: 0.15rem;
    font-size: 3.3rem;
  }

  .method-flow li div {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .method-flow li div p {
    grid-column: auto;
  }

  .method-flow li:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .points-list li {
    grid-template-columns: 28px 1fr;
  }

  .showcase-card {
    display: block;
  }

  .mini-ui {
    height: 280px;
  }

  .scale-section {
    grid-template-columns: 1fr;
  }

  .scale-main {
    grid-column: auto;
  }

  .scale-item {
    min-height: 230px;
  }

  .parent-section,
  .faq-section {
    gap: 3.5rem;
  }

  .final-cta {
    width: min(calc(100% - 28px), var(--max));
    padding-right: 1.4rem;
    padding-left: 1.4rem;
    border-radius: 24px;
  }

  .button-large {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .site-footer {
    padding: 2.5rem 0;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .site-footer > a:last-child {
    justify-self: start;
  }

  .demo-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .demo-shell {
    border-radius: 22px;
  }

  .rn-demo-shell {
    border-radius: 22px;
  }

  .rn-demo-toolbar {
    padding: 0.75rem 0.9rem;
    flex-wrap: wrap;
  }

  .rn-demo-toolbar p {
    display: none;
  }

  .rn-demo-toolbar a {
    margin-left: auto;
  }

  .rn-demo-frame {
    height: 100%;
  }

  .mobile-trial-stage {
    padding: 1.5rem 0.85rem 2.4rem;
    gap: 1.4rem;
  }

  .mobile-trial-guide {
    padding: 0.85rem 0.45rem 0;
  }

  .mobile-trial-guide h3 {
    font-size: clamp(2.1rem, 11vw, 3.25rem);
  }

  .mobile-trial-guide ol {
    margin-top: 1.5rem;
  }

  .trial-phone-wrap {
    width: min(100%, 412px);
    padding-inline: 0.25rem;
  }

  .trial-phone-label {
    right: 0;
  }

  .trial-phone {
    width: min(100%, 382px);
    border-radius: 52px;
  }

  .trial-phone-island {
    top: 19px;
    width: 96px;
  }

  .demo-toolbar {
    padding: 0.65rem 0.8rem;
  }

  .demo-toolbar p {
    display: none;
  }

  .demo-toolbar button {
    margin-left: auto;
  }

  .demo-app-frame {
    min-height: 0;
  }

  .demo-app-header {
    min-height: 70px;
    padding: 0.85rem 1rem;
  }

  .demo-simulation-badge {
    max-width: 96px;
    text-align: center;
    white-space: normal;
  }

  .demo-progress {
    display: none;
  }

  .demo-mode-tabs {
    padding: 0.75rem 1rem 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
  }

  .demo-mode-tabs li {
    min-width: 0;
    padding: 0 0.25rem;
    font-size: 0.54rem;
  }

  .demo-mobile-progress {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e1e4e2;
    display: grid;
    gap: 0.55rem;
    color: #5f6561;
    font-size: 0.62rem;
    font-weight: 790;
  }

  .demo-mobile-progress > i {
    height: 5px;
    border-radius: 99px;
    overflow: hidden;
    background: #e4e7e5;
  }

  .demo-mobile-progress b {
    width: 20%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #22c55e;
    transition: width 220ms ease;
  }

  .demo-view {
    min-height: 0;
    padding: 1.25rem 1rem 1rem;
  }

  .demo-view-heading,
  .demo-success-hero {
    display: grid;
    gap: 1rem;
  }

  .demo-question-number,
  .demo-added-badge,
  .demo-grade {
    justify-self: start;
  }

  .demo-exercise-layout,
  .demo-correction-layout,
  .demo-error-stage,
  .demo-success-grid {
    grid-template-columns: 1fr;
  }

  .demo-paper-card,
  .demo-answer-card {
    min-height: 0;
  }

  .demo-action-row {
    padding-bottom: max(0.25rem, env(safe-area-inset-bottom));
    align-items: stretch;
    flex-direction: column;
  }

  .demo-action-row > p {
    max-width: none;
  }

  .demo-primary-action {
    width: 100%;
    text-align: center;
  }

  .demo-text-action {
    align-self: flex-start;
  }

  .demo-analysis-status {
    text-align: left;
  }

  .demo-error-stage {
    gap: 1.5rem;
  }

  .demo-error-explanation {
    max-width: none;
  }

  .demo-big-arrow {
    font-size: 3rem;
  }

  .demo-attempts {
    grid-template-columns: 1fr;
  }

  .demo-attempt-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .demo-attempt p {
    min-height: 0;
  }

  .demo-final-score {
    justify-self: start;
  }

  .demo-dashboard-strip {
    grid-template-columns: 1fr 1fr;
  }

  .demo-dashboard-strip > div:nth-child(2) {
    border-right: 0;
  }

  .demo-dashboard-strip > div:nth-child(-n + 2) {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #dfe2e0;
  }

  .demo-dashboard-strip > div:nth-child(n + 3) {
    padding-top: 0.7rem;
  }

  .demo-final-actions .demo-text-action {
    order: 2;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .offer-button {
    transition: none;
  }

  .offer-card {
    transition: none;
  }

  .offer-card:hover,
  .offer-card:focus-within,
  .offer-card:active {
    transform: none;
  }

  .demo-mobile-progress b,
  .demo-primary-action {
    transition: none;
  }
}

/* [HERO-TRIAL-PHONE] téléphone interactif dans le hero (remplace app-preview.png) */
.hero-trial-phone {
  z-index: 2;
  width: min(100%, 304px);
  transform: none;
}

.hero-trial-phone .trial-phone-screen {
  position: absolute;
  z-index: 1;
  inset: 12px 11px;
  overflow: hidden;
  border-radius: 47px;
  background: #eef0ef;
}

.hero-trial-phone.is-track-panel-open .trial-phone-screen {
  visibility: hidden;
}

.hero-trial-phone .trial-phone-screen .rn-demo-frame {
  width: 100%;
  height: 100%;
  border-radius: 47px;
  transform: none;
}

@media (max-width: 960px) {
  .hero-trial-phone {
    width: min(100%, 310px);
  }
}

@media (max-width: 680px) {
  .hero-trial-phone {
    width: min(92vw, 304px);
  }
}

/* [HOME-UNIFORM-SECTION-GAPS] Un seul rythme vertical entre les blocs de /home. */
:root {
  --home-section-gap: clamp(7.5rem, 12vw, 10rem);
  --home-offers-shadow-overhang: 1.25rem;
  --home-phone-stage-lift: 112px;
  --home-legal-gap: clamp(15rem, 24vw, 20rem);
}

.demo-section,
.benefits-section,
.offers-section {
  padding-bottom: 0;
}

.benefits-section-top {
  margin-top: var(--home-section-gap);
}

.benefits-section-bottom {
  margin-top: calc(var(--home-section-gap) + var(--home-offers-shadow-overhang));
}

.offers-section {
  margin-top: calc(var(--home-section-gap) + var(--home-phone-stage-lift));
  padding-top: 0;
}

@media (max-width: 960px) {
  :root {
    --home-phone-stage-lift: 88px;
  }
}

@media (max-width: 680px) {
  :root {
    --home-phone-stage-lift: 64px;
  }
}

.offers-grid {
  margin-block: -0.75rem;
  padding-block: 0.75rem;
}

/* [HOME-MOBILE-FULL-BLEED-OFFERS] Le carrousel touche les bords du téléphone. */
@media (max-width: 680px) {
  .offers-section {
    width: 100%;
    margin-inline: 0;
  }

  .offers-grid {
    width: 100%;
    max-width: none;
  }
}

/* Le défilement reste tactile, seul son indicateur visuel disparaît. */
@media (max-width: 680px), (hover: none) and (pointer: coarse) {
  html,
  body {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

.legal-link-footer {
  min-height: 0;
  margin: var(--home-legal-gap) auto 0;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
