:root {
  --ink: #20172b;
  --purple: #530daa;
  --purple-deep: #3d0980;
  --yellow: #f4d74c;
  --yellow-hover: #f0cb24;
  --paper: #fafaf7;
  --paper-warm: #fffdf6;
  --surface: #ffffff;
  --line: #dddce0;
  --muted: #625b69;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.62 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.14;
}

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

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

button, summary, select {
  cursor: pointer;
}

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

button, a, summary, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #9759d2;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 20;
  background: var(--surface);
  padding: 12px 16px;
  border: 1px solid var(--ink);
}

.skip:focus {
  top: 10px;
}

/* Header */
.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.7px;
  line-height: 1.2;
}

.brand img {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.brand b {
  color: var(--purple);
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
}

nav a {
  white-space: nowrap;
  transition: color 0.15s;
}

nav a:hover,
.text-link:hover {
  color: var(--purple);
}

.nav-cta {
  border: 1.5px solid var(--ink);
  padding: 9px 15px;
  border-radius: 4px;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--surface);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 48px 56px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #d4c5eb;
  background: #f3ecfc;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.8125rem;
  letter-spacing: 1.2px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--purple);
}

.index {
  display: inline-flex;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(38px, 4.3vw, 56px);
  font-weight: 800;
  letter-spacing: -1.8px;
  margin-top: 18px;
  line-height: 1.08;
}

.highlight {
  color: var(--purple);
  position: relative;
  isolation: isolate;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(transparent 72%, var(--yellow) 72%, var(--yellow) 95%, transparent 95%);
}

.intro {
  font-size: 1.125rem;
  line-height: 1.62;
  max-width: 530px;
  margin-top: 22px;
  color: #463f4f;
}

.hero-facts {
  margin-top: 22px;
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
}

.hero-facts strong {
  font-size: 1.0625rem;
  color: var(--purple);
  font-weight: 800;
}

.hero-facts span {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  font-size: 1rem;
  font-weight: 700;
  border: 0;
  border-radius: 4px;
  line-height: 1.35;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}

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

.primary {
  background: var(--purple);
  color: var(--surface);
  box-shadow: 0 4px 14px #530daa24;
}

.primary:hover {
  background: var(--purple-deep);
}

.outline {
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.outline:hover {
  background: #ece7f3;
}

.text-link {
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

.small-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 15px;
}

/* Notebook */
.hero-notebook {
  min-width: 0;
  width: 100%;
  max-width: 395px;
  justify-self: end;
}

.hero-notebook > summary {
  display: none;
}

.notebook {
  position: relative;
  background-color: var(--paper-warm);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 #e6e1ee;
  overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #ece8d9 32px, transparent 33px);
}

.notebook-top,
.notebook-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.9px;
  font-weight: 700;
  gap: 10px;
}

.notebook-top {
  border-bottom: 1px solid var(--ink);
  background: var(--paper-warm);
}

.pencil-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 27px;
  line-height: 1.18;
  margin: 20px 22px 0;
  color: var(--ink);
}

.character-window {
  padding: 0 15px;
  height: 248px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.character-window img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.paper-label {
  position: relative;
  margin: -3px 21px 21px;
  padding: 11px 15px;
  background: var(--yellow);
  border-left: 3px solid var(--ink);
  z-index: 1;
}

.paper-label span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.paper-label strong {
  font-size: 20px;
  font-weight: 800;
}

.notebook-bottom {
  border-top: 1px solid var(--ink);
  background: var(--paper-warm);
}

.notebook-bottom span:last-child {
  font-size: 22px;
  line-height: 1;
}

/* Authority Strip */
.authority-strip {
  border-block: 1px solid var(--line);
  background: #f4f1f8;
  padding-block: 22px;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.authority-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 2px solid #d5cbe4;
}

.authority-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.authority-item strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--purple);
  line-height: 1.15;
}

.authority-item span {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* Sample section */
.section {
  padding-block: 64px;
}

h2 {
  font-size: clamp(31px, 3.1vw, 42px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-top: 16px;
  line-height: 1.15;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 380px;
  justify-self: end;
}

.sample-grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 34px;
  align-items: start;
}

.sample-grid article {
  min-width: 0;
}

.media-heading {
  min-height: 60px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.media-heading h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.media-format {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
}

.video-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 #e7e2ed;
  transition: border-color 0.15s;
}

.video-shell:hover {
  border-color: var(--purple);
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #ffffff;
  overflow: hidden;
}

.sample-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
}

.video-play-overlay[hidden] {
  display: none;
}

.video-play-overlay:hover {
  background: rgba(255, 255, 255, 0.14);
}

.video-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--purple);
  color: var(--surface);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.14s, background 0.14s;
}

.video-play-overlay:hover .video-play-badge {
  background: var(--purple-deep);
  transform: translateY(-1px);
}

.video-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.72rem;
  padding-left: 2px;
}

.video-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 48px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--surface);
}

.video-meta-pill {
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.video-meta-note {
  font-size: 0.8125rem;
  color: #e2d9ec;
  font-weight: 600;
}

.explanation-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper-warm);
  overflow: hidden;
}

.explanation-frame {
  position: absolute;
  inset: 0;
}

.explanation-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.frame-label {
  position: absolute;
  left: 18px;
  top: 16px;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--purple);
  background: #fffdf8f2;
  padding: 6px 10px;
  border-left: 2px solid var(--yellow);
}

.explanation-next-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--purple);
  color: var(--surface);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  transition: background 0.15s, transform 0.12s;
}

.explanation-next-pill:hover {
  background: var(--purple-deep);
}

.explanation-next-pill:active {
  transform: translateY(1px);
}

.explanation-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  padding: 10px 14px;
  min-height: 58px;
  color: var(--surface);
}

.explanation-tabs {
  display: flex;
  gap: 8px;
}

.explanation-tabs button {
  border: 1px solid #6a5d74;
  border-radius: 4px;
  background: transparent;
  color: #eee8f4;
  padding: 8px 12px;
  min-height: 38px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.15s, border-color 0.15s;
}

.explanation-tabs button[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.frame-count {
  font-size: 0.6875rem;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #d6cbdf;
  font-weight: 600;
}

.case-caption {
  margin-top: 22px;
  max-width: 640px;
}

.case-label {
  color: var(--purple);
  font-size: 0.78rem;
  letter-spacing: 0.9px;
  font-weight: 800;
}

.case-caption p {
  color: var(--muted);
  margin-top: 6px;
}

.practice-note {
  border-left: 3px solid var(--yellow);
  padding-left: 18px;
  margin-top: 20px;
}

.practice-note strong {
  font-size: 1rem;
  font-weight: 700;
}

.practice-note p {
  color: var(--muted);
  margin-top: 4px;
  max-width: 630px;
}

.pdf-preview {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(395px, 38.5vw, 460px);
  padding: 15px 15px 58px;
  border: 1px solid var(--line);
  background: #eeeaf3;
  overflow: hidden;
  text-align: left;
  box-shadow: 4px 4px 0 #e7e2ed;
  transition: border-color 0.15s;
}

.pdf-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(2px 3px 2px #20172b15);
}

.pdf-preview:hover {
  border-color: var(--purple);
}

.preview-action {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 15px;
  background: var(--ink);
  color: var(--surface);
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
}

.exercise-excerpt {
  margin-top: 19px;
}

.exercise-excerpt h4 {
  margin: 8px 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.exercise-excerpt > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.exercise-excerpt .exercise-check {
  border-left: 2px solid var(--yellow);
  padding-left: 12px;
  color: var(--ink);
  margin-top: 13px;
}

.pdf-sample > .text-link {
  display: inline-block;
  margin-top: 16px;
}

/* Review & Offer */
.review-section {
  background: var(--ink);
  color: var(--surface);
  padding-block: 64px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 78px;
  align-items: start;
}

.review-copy .eyebrow {
  color: var(--yellow);
}

.review-copy h2 {
  font-size: clamp(34px, 3.5vw, 47px);
  line-height: 1.13;
}

.review-copy h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.12em;
  color: var(--yellow);
}

.review-intro {
  color: #e2dce8;
  font-size: 1.0625rem;
  max-width: 470px;
  margin-top: 22px;
}

.steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.steps li {
  display: flex;
  gap: 16px;
}

.steps li > span {
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid #918499;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--yellow);
}

.steps h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.38;
}

.steps p {
  color: #d1cbd7;
  margin-top: 5px;
  max-width: 400px;
}

.offer {
  background: var(--paper);
  color: var(--ink);
  padding: 30px;
  border-radius: 4px;
  box-shadow: 6px 6px 0 #64457a;
}

.offer-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: var(--purple);
}

.single-payment {
  border: 1px solid var(--line);
  background: #f3ecfc;
  color: var(--purple);
  padding: 5px 9px;
  border-radius: 3px;
  white-space: nowrap;
}

.offer h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-top: 18px;
}

.price {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-top: 16px;
}

.price span {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
  margin-top: 5px;
}

.includes {
  padding: 20px 0;
  margin: 20px 0 0;
  border-block: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 16px;
}

.includes li {
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.includes li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 800;
}

.includes strong {
  font-size: 1rem;
  font-weight: 700;
  display: block;
}

.includes li > span {
  display: block;
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 3px;
}

.delivery {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  margin-top: 18px;
}

.delivery strong {
  font-size: 1rem;
  font-weight: 700;
}

.delivery span {
  color: var(--muted);
}

.payment-note {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--purple);
  font-weight: 600;
}

.yellow {
  background: var(--yellow);
  color: var(--ink);
  width: 100%;
  margin-top: 20px;
  border: 1.5px solid var(--ink);
  font-weight: 800;
}

.yellow:hover {
  background: var(--yellow-hover);
}

.offer-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 72px;
}

.faq-intro {
  color: var(--muted);
  max-width: 310px;
  margin-top: 18px;
}

.faq-list details {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  padding-top: 0;
}

.faq-list summary {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

.faq-list details p {
  margin-top: 12px;
  color: var(--muted);
}

summary::marker {
  color: var(--purple);
}

/* Community */
.community {
  border-top: 1px solid var(--line);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.quote-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  box-shadow: 4px 4px 0 #e7e2ed;
}

.quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quote-topic {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--purple);
}

.quote-platform {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 2px 7px;
  border-radius: 3px;
}

.quote-body {
  margin: 14px 0 18px;
}

.quote-body p {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--ink);
}

.quote-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-avatar {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3ecfc;
  border: 1px solid #d4c5eb;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
}

.quote-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-meta strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.quote-meta a {
  font-size: 0.78rem;
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-meta a:hover {
  color: var(--purple-deep);
}

.community-cta {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  box-shadow: 4px 4px 0 #e7e2ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.community-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.community-cta-copy strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.community-cta-copy span {
  font-size: 0.9rem;
  color: var(--muted);
}

.community-cta .button {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .community-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .community-cta .button {
    width: 100%;
  }
}

/* Learning */
.learning {
  border-top: 1px solid var(--line);
  padding-block: 44px 48px;
}

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

.learning h2 {
  font-size: 29px;
  letter-spacing: -0.7px;
  margin-top: 10px;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.resource {
  display: flex;
  gap: 21px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.resource:hover {
  border-color: var(--purple);
  box-shadow: 4px 4px 0 #ebe6f2;
}

.resource-image {
  flex: 0 0 104px;
  height: 132px;
}

.resource-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.resource-label {
  font-size: 0.72rem;
  letter-spacing: 0.7px;
  color: var(--purple);
  font-weight: 800;
}

.resource h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-top: 6px;
}

.resource p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 8px;
}

.resource-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 11px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 25px;
}

.footer p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer-brand {
  font-size: 22px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-button {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

.privacy-list {
  margin: 18px 0 6px;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.privacy-list strong {
  color: var(--ink);
}

/* Dialogs */
body:has(dialog[open]) {
  overflow: hidden;
}

dialog {
  width: min(590px, calc(100% - 32px));
  padding: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 8px 8px 0 #20172b30;
}

dialog::backdrop {
  background: #20172bbd;
  backdrop-filter: blur(3px);
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.close-button {
  border: 0;
  background: transparent;
  font-size: 32px;
  min-width: 44px;
  min-height: 44px;
  line-height: 1;
}

.dialog-heading .eyebrow {
  color: var(--purple);
}

dialog h2 {
  font-size: 32px;
  margin-top: 10px;
}

.dialog-intro {
  margin-top: 16px;
  color: var(--muted);
}

label {
  display: block;
  font-weight: 700;
  margin: 18px 0 7px;
  font-size: 0.9375rem;
}

input, select, textarea {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #9c94a5;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

form .button {
  margin-top: 20px;
}

.draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.dialog-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

#request-draft {
  border-top: 1px solid var(--line);
  margin-top: 22px;
}

#copy-status {
  margin-top: 10px;
  color: var(--purple);
  font-size: 0.875rem;
  font-weight: 600;
}

.guide-dialog {
  width: min(820px, calc(100% - 24px));
  background: #eeeaf3;
  padding: 20px;
}

.guide-dialog .dialog-heading {
  position: static;
  padding-bottom: 12px;
}

.guide-dialog h2 {
  font-size: 22px;
  margin: 0;
}

.guide-zoom {
  margin-left: auto;
  border: 1px solid var(--ink);
  background: var(--paper);
  border-radius: 4px;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 700;
}

.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.guide-nav button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  border-radius: 4px;
  padding: 6px 11px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.guide-nav button[aria-current="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--surface);
}

.guide-page-scroll {
  overflow: auto;
  max-height: 62dvh;
  background: #e5e0ec;
  border: 1px solid var(--line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.guide-page-scroll.is-zoomed .guide-full-page {
  width: 1000px;
  max-width: none;
}

.guide-full-page {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface);
  box-shadow: 0 2px 10px #20172b1f;
}

.guide-download {
  margin-top: 16px;
  background: var(--paper);
}

/* Responsive: <= 1050px */
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 34px;
    grid-template-columns: 1.25fr 1fr;
  }
  .hero-break {
    display: none;
  }
  .hero h1 {
    font-size: clamp(36px, 4.3vw, 44px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    text-wrap: balance;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .character-window {
    height: 225px;
  }
  .pencil-note {
    font-size: 24px;
  }
  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
  }
  .authority-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .section-heading,
  .review-grid,
  .faq {
    gap: 40px;
  }
  .sample-grid {
    gap: 25px;
    grid-template-columns: 1.65fr 1fr;
  }
  .media-heading h3 {
    font-size: 22px;
  }
  .offer {
    padding: 25px;
  }
  .resource {
    padding: 16px;
    gap: 14px;
  }
  .resource-image {
    flex-basis: 85px;
  }
  .resource h3 {
    font-size: 19px;
  }
}

/* Responsive: <= 760px */
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 80px;
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .brand {
    font-size: 22px;
    gap: 8px;
  }
  .brand img {
    width: auto;
    height: 42px;
  }
  nav {
    gap: 14px;
    font-size: 0.875rem;
  }
  .nav-cta {
    padding: 7px 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 30px 34px;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(34px, 7.6vw, 48px);
    letter-spacing: -1.4px;
    margin-top: 15px;
  }
  .intro {
    font-size: 1.0625rem;
    margin-top: 18px;
    max-width: 590px;
  }
  .hero-facts {
    margin-top: 18px;
  }
  .hero-facts strong {
    font-size: 1rem;
  }
  .hero-actions {
    margin-top: 20px;
    gap: 16px;
  }
  .hero .button {
    width: 100%;
  }
  .small-note {
    margin-top: 16px;
  }
  .hero-notebook {
    justify-self: stretch;
    max-width: none;
  }
  .hero-notebook > summary {
    display: list-item;
    font-size: 0.875rem;
    font-weight: 700;
    list-style-position: inside;
    padding: 10px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
  }
  .hero-notebook[open] > summary {
    margin-bottom: 14px;
  }
  .notebook {
    max-width: 350px;
    margin-inline: auto;
  }
  .character-window {
    height: 240px;
  }
  .authority-strip {
    padding-block: 18px;
  }
  .authority-item strong {
    font-size: 1.25rem;
  }
  .section {
    padding-block: 38px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  h2 {
    font-size: 31px;
    letter-spacing: -0.9px;
  }
  .section-heading > p {
    max-width: none;
    font-size: 1.0625rem;
    justify-self: start;
  }
  .sample-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .media-heading {
    min-height: 0;
    gap: 6px;
    margin-bottom: 14px;
  }
  .media-heading h3 {
    font-size: 22px;
  }
  .video-shell {
    box-shadow: 3px 3px 0 #e7e2ed;
  }
  .frame-label {
    left: 12px;
    top: 10px;
    font-size: 0.625rem;
    padding: 5px 7px;
    letter-spacing: 0.7px;
  }
  .explanation-next-pill {
    right: 12px;
    bottom: 12px;
    min-height: 36px;
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .explanation-controls {
    padding: 8px 10px;
    min-height: 54px;
    gap: 8px;
  }
  .explanation-tabs {
    gap: 5px;
  }
  .explanation-tabs button {
    font-size: 0.75rem;
    padding: 8px;
    min-height: 38px;
  }
  .frame-count {
    font-size: 0.625rem;
    letter-spacing: 0.5px;
  }
  .case-caption {
    margin-top: 18px;
  }
  .practice-note {
    margin-top: 16px;
  }
  .video-play-overlay {
    align-items: flex-end;
    padding-bottom: 14px;
  }
  .video-play-badge {
    padding: 8px 14px;
    font-size: 0.8125rem;
    gap: 7px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .video-play-icon {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }
  .pdf-sample {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 0 24px;
    align-items: center;
  }
  .pdf-sample .media-heading {
    grid-column: 1 / -1;
  }
  .pdf-preview {
    width: 100%;
    height: 360px;
    padding: 10px 10px 44px;
    box-shadow: 3px 3px 0 #e7e2ed;
  }
  .preview-action {
    font-size: 0.8125rem;
    padding: 10px 8px;
  }
  .exercise-excerpt {
    margin-top: 0;
  }
  .review-section {
    padding-block: 38px;
  }
  .review-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .offer {
    padding: 24px;
    box-shadow: 4px 4px 0 #64457a;
  }
  .review-copy h2 {
    font-size: 33px;
  }
  .review-intro {
    font-size: 1.0625rem;
    margin-top: 18px;
  }
  .steps {
    gap: 20px;
    margin-top: 24px;
  }
  .offer h3 {
    font-size: 26px;
  }
  .price {
    font-size: 50px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-intro {
    max-width: none;
    margin-top: 14px;
  }
  .learning {
    padding-block: 34px 36px;
  }
  .learning-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .learning h2 {
    font-size: 26px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .resource {
    padding: 17px;
    gap: 16px;
  }
  .resource-image {
    flex-basis: 85px;
    height: 115px;
  }
  .resource h3 {
    font-size: 19px;
  }
  .footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer p {
    margin-left: auto;
  }
  .footer-links {
    width: 100%;
  }
  dialog {
    padding: 22px;
  }
  dialog h2 {
    font-size: 28px;
  }
  .guide-dialog {
    padding: 14px;
  }
  .guide-dialog h2 {
    font-size: 20px;
  }
  .guide-dialog .dialog-heading {
    gap: 7px;
  }
  .guide-zoom {
    padding-inline: 9px;
  }
  .guide-page-scroll {
    max-height: 66dvh;
  }
  .guide-page-scroll.is-zoomed .guide-full-page {
    width: 760px;
  }
  .guide-download {
    font-size: 0.9375rem;
  }
}

/* Responsive: <= 539px (celulares: barra completa en columna simple) */
@media (max-width: 539px) {
  .pdf-sample {
    display: block;
  }
  .pdf-preview {
    width: 100%;
    height: 380px;
  }
  .exercise-excerpt {
    margin-top: 20px;
  }
}

/* Responsive: <= 440px */
@media (max-width: 440px) {
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8125rem;
  }
  nav a[href="#condiciones"] {
    display: none;
  }
  .hero h1 {
    font-size: clamp(32px, 9.2vw, 39px);
    letter-spacing: -1.1px;
  }
  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.8px;
  }
  .authority-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }
  .offer-top {
    flex-wrap: wrap;
    letter-spacing: 0.4px;
  }
  .resource {
    gap: 14px;
    padding: 15px;
  }
  .resource-image {
    flex-basis: 73px;
  }
  .resource-label {
    letter-spacing: 0.25px;
  }
  .resource h3 {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .explanation-tabs button {
    padding-inline: 6px;
  }
  .frame-count {
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button, .resource, nav a, .explanation-next-pill {
    transition: none;
  }
}
