:root {
  --ink: #1f2c36;
  --ink-soft: #46535b;
  --cream: #f7f1e7;
  --paper: #fffdf8;
  --blue: #9fc7d4;
  --blue-dark: #5b8f9e;
  --coral: #ee735c;
  --coral-dark: #d85442;
  --yellow: #f3cd61;
  --green: #a9c7a0;
  --line: rgba(31, 44, 54, 0.16);
  --shadow: 0 24px 60px rgba(49, 53, 50, 0.13);
  --radius: 28px;
}

.seo-page-shell {
  padding-top: 48px;
  padding-bottom: 80px;
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.seo-breadcrumb a:hover {
  color: var(--coral);
}

.seo-lesson-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.seo-index-card,
.seo-note {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 35, 30, 0.12);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.seo-index-card h3 {
  margin: 8px 0 10px;
  font-size: 1.08rem;
}

.seo-index-card a {
  color: var(--ink);
  text-decoration: none;
}

.seo-index-card a:hover {
  color: var(--coral);
}

.seo-lesson-page .sentence-grid {
  margin-top: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(238, 115, 92, 0.55);
  outline-offset: 4px;
}

.announcement {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 7px 20px;
  color: var(--paper);
  background: var(--ink);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.announcement p {
  margin: 0;
}

.announcement p span {
  margin-right: 8px;
  padding: 2px 7px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.text-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
  font-weight: 700;
}

.text-button:hover {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  max-width: 1240px;
  min-height: 84px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--cream) 91%, transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--coral);
  border-radius: 50% 50% 44% 56%;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 25px;
  transform: rotate(-5deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.menu-button {
  display: none;
}

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

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  align-items: center;
  gap: 68px;
  padding-top: 62px;
  padding-bottom: 90px;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 560px;
  font-size: clamp(64px, 7vw, 98px);
}

h1 em,
h2 em {
  position: relative;
  color: var(--coral);
  font-weight: 500;
}

h1 em::after {
  position: absolute;
  right: 4%;
  bottom: -12px;
  width: 88%;
  height: 12px;
  content: "";
  border-top: 3px solid var(--coral);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.hero-lede {
  max-width: 535px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.hero-lede span {
  color: var(--ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

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

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--paper);
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(216, 84, 66, 0.2);
}

.button-primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 15px 30px rgba(216, 84, 66, 0.28);
}

.button-quiet {
  min-height: 36px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 12px;
}

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

.button-dark:hover {
  background: #31414c;
}

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

.social-proof {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 43px;
}

.social-proof p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.social-proof strong {
  color: var(--ink);
  font-size: 12px;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  display: grid;
  place-items: center;
  border: 2px solid var(--cream);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-one { background: var(--yellow); }
.avatar-two { color: white; background: var(--blue-dark); }
.avatar-three { background: var(--green); }
.avatar-four { color: white; background: var(--coral); }

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.sun-shape {
  position: absolute;
  width: 490px;
  height: 490px;
  background: var(--blue);
  border-radius: 48% 52% 53% 47% / 56% 45% 55% 44%;
  transform: rotate(7deg);
}

.sun-shape::before,
.sun-shape::after {
  position: absolute;
  content: "";
  border-radius: inherit;
}

.sun-shape::before {
  inset: -16px 28px 22px -20px;
  border: 2px solid rgba(31, 44, 54, 0.15);
  transform: rotate(-7deg);
}

.sun-shape::after {
  top: -40px;
  right: 52px;
  width: 54px;
  height: 54px;
  border: 2px solid var(--coral);
}

.word-card {
  position: relative;
  z-index: 2;
  width: min(360px, 75%);
  min-height: 465px;
  padding: 28px 34px 32px;
  background: var(--paper);
  border: 1px solid rgba(31, 44, 54, 0.12);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.word-card::before {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 95px;
  height: 28px;
  content: "";
  background: rgba(245, 219, 142, 0.76);
  transform: translateX(-50%) rotate(2deg);
}

.word-card-top {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audio-label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.audio-wave {
  height: 12px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.audio-wave i {
  width: 2px;
  height: 7px;
  background: var(--coral);
}

.audio-wave i:nth-child(2) { height: 11px; }
.audio-wave i:nth-child(3) { height: 5px; }
.audio-wave i:nth-child(4) { height: 9px; }

.hebrew-word {
  margin-top: 52px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  text-align: center;
}

.transliteration {
  margin: 8px 0 0;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.word-divider {
  width: 38px;
  height: 2px;
  margin: 25px auto 22px;
  background: var(--yellow);
}

.definition {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  text-align: center;
}

.example {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.example span:first-child {
  color: var(--ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 16px;
}

.listen-button {
  margin: 24px auto 0;
  padding: 7px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.play-icon {
  color: var(--coral);
  font-size: 8px;
}

.mini-note {
  position: absolute;
  z-index: 3;
  right: -10px;
  bottom: 44px;
  width: 200px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--yellow);
  border: 1px solid rgba(31, 44, 54, 0.14);
  box-shadow: 0 12px 24px rgba(49, 53, 50, 0.1);
  transform: rotate(3deg);
}

.mini-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
}

.spark {
  position: absolute;
  z-index: 1;
  color: var(--coral);
  font-size: 28px;
}

.spark-one { top: 65px; left: 30px; }
.spark-two { right: 18px; bottom: 74px; font-size: 18px; }

.ticker {
  overflow: hidden;
  padding: 15px 0;
  color: var(--ink);
  background: var(--yellow);
  border-block: 1px solid var(--ink);
  transform: rotate(-0.7deg) scale(1.01);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  animation: ticker 30s linear infinite;
}

.ticker-track b {
  color: var(--coral);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.method {
  padding-top: 140px;
  padding-bottom: 145px;
}

.section-heading h2,
.about h2,
.newsletter h2,
.membership h2 {
  font-size: clamp(48px, 5.3vw, 72px);
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  max-width: 470px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 68px;
}

.method-card {
  position: relative;
  min-height: 340px;
  padding: 38px 34px;
  border: 1px solid var(--ink);
  border-radius: 110px 110px 20px 20px;
}

.method-card:nth-child(2) {
  transform: translateY(25px);
}

.method-card-blue { background: var(--blue); }
.method-card-coral { background: #ee8b75; }
.method-card-yellow { background: var(--yellow); }

.method-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.45);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
}

.card-number {
  position: absolute;
  top: 46px;
  right: 35px;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.method-card h3 {
  max-width: 230px;
  margin: 48px 0 14px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 27px;
  line-height: 1.05;
}

.method-card > p:last-child {
  max-width: 275px;
  margin: 0;
  color: rgba(31, 44, 54, 0.8);
  font-size: 13px;
  line-height: 1.65;
}

.lessons {
  padding: 135px 0 125px;
  background: var(--paper);
}

.lessons-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-lede {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.lesson-library-meta {
  min-width: 260px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.lesson-library-meta span {
  display: grid;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-library-meta strong {
  color: var(--ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.curriculum-strip {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  background: var(--cream);
}

.curriculum-card {
  min-height: 172px;
  padding: 22px;
}

.curriculum-card + .curriculum-card {
  border-left: 1px solid var(--line);
}

.curriculum-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.curriculum-card strong {
  display: block;
  margin-top: 20px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 20px;
  line-height: 1.1;
}

.curriculum-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.quick-start-panel {
  margin-top: 28px;
  padding: 24px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: stretch;
  background: #f2eadc;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.quick-start-copy {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-start-copy h3 {
  max-width: 320px;
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.quick-start-copy p:last-child {
  max-width: 360px;
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.quick-start-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.path-card {
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(31, 44, 54, 0.13);
  border-radius: 18px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.path-card:hover {
  border-color: var(--coral);
  box-shadow: 0 16px 34px rgba(49, 53, 50, 0.11);
  transform: translateY(-2px);
}

.path-card span {
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.path-card strong {
  margin-top: 10px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 24px;
  line-height: 1.05;
}

.path-card small {
  margin-top: auto;
  padding-top: 14px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.lesson-toolbar {
  margin-top: 34px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.4fr auto;
  gap: 22px;
  align-items: start;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.lesson-search {
  display: grid;
  gap: 10px;
}

.lesson-search span,
.filter-group > span {
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lesson-search input {
  width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.lesson-search input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(238, 115, 92, 0.13);
}

.filter-panel {
  display: grid;
  gap: 18px;
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-button {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.filter-button:hover,
.filter-button.active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.lesson-count-pill {
  margin: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 42px;
}

.lesson-empty-state {
  margin: 50px 0 0;
  padding: 28px;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.lesson-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(31, 44, 54, 0.13);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(49, 53, 50, 0.06);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lesson-card.is-hidden {
  display: none;
}

.lesson-card:hover {
  box-shadow: 0 22px 48px rgba(49, 53, 50, 0.12);
  transform: translateY(-2px);
}

.lesson-card:hover .lesson-art {
  transform: rotate(-1deg) scale(1.015);
}

.lesson-art {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 44, 54, 0.2);
  transition: transform 180ms ease;
}

.lesson-art-one { background: var(--coral); }
.lesson-art-two { background: var(--yellow); }
.lesson-art-three { background: var(--blue); }
.lesson-art-four { background: var(--green); }
.lesson-art-five { background: #d8c7ff; }
.lesson-art-six { background: #bde6df; }

.art-label {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 10px;
  color: var(--coral-dark);
  background: var(--paper);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.art-label.dark {
  color: var(--paper);
  background: var(--ink);
}

.art-hebrew {
  color: var(--paper);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  transform: rotate(-5deg);
}

.art-doodle {
  position: absolute;
  right: 24px;
  bottom: 12px;
  color: var(--yellow);
  font-size: 60px;
  transform: rotate(20deg);
}

.large-letter {
  color: var(--ink);
  font-size: 108px;
  transform: none;
}

.alphabet-line {
  position: absolute;
  right: -10px;
  bottom: 5px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 12px;
  opacity: 0.22;
}

.coffee-cup {
  font-size: 72px;
  filter: grayscale(1);
}

.speech-pill {
  position: absolute;
  top: 25px;
  right: 22px;
  padding: 9px 15px;
  background: var(--paper);
  border-radius: 18px 18px 2px 18px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  transform: rotate(3deg);
}

.lesson-art-four .art-hebrew {
  color: var(--ink);
}

.motion-lines {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--coral);
  font-size: 28px;
  font-weight: 700;
}

.lesson-content {
  padding: 24px;
}

.lesson-meta {
  display: flex;
  gap: 12px;
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lesson-meta span + span::before {
  margin-right: 12px;
  content: "•";
  color: var(--ink-soft);
}

.lesson-content h3 {
  margin: 18px 0 13px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 24px;
  line-height: 1.15;
}

.lesson-content > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.lesson-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lesson-tags span {
  padding: 5px 8px;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.lesson-link,
.inline-link {
  margin-top: 26px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.inline-link {
  padding: 0 0 4px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.lesson-link span,
.inline-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.lesson-link:hover span,
.inline-link:hover span {
  transform: translateX(4px);
}

.center-action {
  margin-top: 65px;
  text-align: center;
}

.lesson-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lesson-actions [hidden] {
  display: none;
}

.ad-banner {
  min-height: 112px;
  margin-top: 70px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 253, 248, 0.62);
  border: 1px dashed rgba(31, 44, 54, 0.42);
  border-radius: 16px;
}

.ad-banner > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ad-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.ad-banner p strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 19px;
}

.ad-banner > a {
  flex: 0 0 auto;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.sponsor-label {
  width: max-content;
  padding: 6px 9px;
  display: inline-block;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-lesson {
  padding-top: 120px;
  padding-bottom: 120px;
}

.notebook-card {
  position: relative;
  min-height: 510px;
  padding: 75px 8% 68px 10%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  background: var(--blue);
  border: 1px solid var(--ink);
  border-radius: 8px 40px 40px 8px;
}

.notebook-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image: linear-gradient(rgba(31, 44, 54, 0.15) 1px, transparent 1px);
  background-size: 100% 28px;
}

.notebook-binding {
  position: absolute;
  z-index: 2;
  top: 45px;
  bottom: 45px;
  left: -8px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.notebook-binding i {
  width: 38px;
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--cream);
}

.notebook-copy,
.notebook-visual {
  position: relative;
  z-index: 1;
}

.notebook-copy h2 {
  max-width: 550px;
  font-size: clamp(47px, 5vw, 68px);
}

.notebook-copy h2 em {
  color: var(--paper);
}

.notebook-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 27px 0 0;
  color: rgba(31, 44, 54, 0.82);
  font-size: 15px;
  line-height: 1.7;
}

.check-list {
  margin: 25px 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
}

.check-list span {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  display: inline-grid;
  place-items: center;
  color: var(--paper);
  background: var(--coral);
  border-radius: 50%;
  font-size: 10px;
}

.notebook-visual {
  min-height: 370px;
}

.paper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 270px;
  height: 350px;
  border: 1px solid var(--ink);
  box-shadow: 0 20px 35px rgba(31, 44, 54, 0.14);
}

.paper-back {
  background: var(--yellow);
  transform: translate(-46%, -48%) rotate(8deg);
}

.paper-front {
  padding: 36px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--paper);
  transform: translate(-54%, -52%) rotate(-4deg);
}

.paper-kicker {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.paper-letter {
  margin-top: 24px;
  color: var(--coral);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 105px;
  font-weight: 700;
  line-height: 1;
}

.paper-front strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 23px;
}

.paper-lines {
  width: 100%;
  height: 38px;
  margin-top: 20px;
  background: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(31, 44, 54, 0.18) 10px 11px);
}

.paper-stamp {
  position: absolute;
  right: -24px;
  bottom: 25px;
  padding: 6px 9px;
  color: var(--coral);
  border: 2px solid var(--coral);
  font-size: 10px;
  font-weight: 700;
  transform: rotate(-12deg);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  scroll-margin-top: 110px;
}

.resource-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover {
  box-shadow: 6px 6px 0 var(--yellow);
  transform: translateY(-3px);
}

.resource-icon {
  width: 55px;
  height: 55px;
  margin-top: 28px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.resource-icon-blue {
  background: var(--blue);
}

.resource-icon-coral {
  color: var(--paper);
  background: var(--coral);
}

.resource-card h3 {
  margin: 22px 0 10px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
}

.resource-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.resource-card > a {
  margin-top: 24px;
  padding-bottom: 3px;
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.resource-card > a span {
  margin-left: 7px;
}

.membership {
  padding: 135px 0;
  color: var(--paper);
  background: var(--ink);
}

.membership .section-shell {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 100px;
  align-items: center;
}

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

.membership h2 em {
  color: var(--yellow);
}

.membership-intro > p:not(.eyebrow) {
  max-width: 525px;
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.67);
  line-height: 1.75;
}

.advertiser-points {
  max-width: 550px;
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.17);
}

.advertiser-points > div {
  padding: 22px 18px 22px 0;
}

.advertiser-points > div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.advertiser-points strong,
.advertiser-points span {
  display: block;
}

.advertiser-points strong {
  color: var(--yellow);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 16px;
}

.advertiser-points span {
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 9px;
  line-height: 1.5;
}

.member-quote {
  max-width: 520px;
  margin-top: 55px;
  padding: 22px 0 0 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.quote-mark {
  float: left;
  margin-left: -45px;
  color: var(--coral);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 60px;
  line-height: 0.7;
}

.member-quote blockquote {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
}

.member-quote p {
  margin: 14px 0 0;
  color: rgba(255, 253, 248, 0.55);
  font-size: 10px;
}

.pricing-card {
  position: relative;
  padding: 50px 48px 42px;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 var(--coral);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 28px;
  padding: 8px 14px;
  background: var(--yellow);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(2deg);
}

.pricing-name {
  margin: 0 0 15px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.advertiser-card-title {
  max-width: 330px;
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 36px;
  line-height: 1.03;
}

.price {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 78px;
  font-weight: 700;
  line-height: 1;
}

.price > span {
  margin-right: 4px;
  font-size: 30px;
  vertical-align: top;
}

.price small {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.pricing-note {
  margin: 8px 0 27px;
  color: var(--ink-soft);
  font-size: 10px;
}

.pricing-card ul {
  margin: 0 0 30px;
  padding: 25px 0;
  display: grid;
  gap: 15px;
  border-block: 1px solid var(--line);
  list-style: none;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card li {
  display: flex;
  gap: 11px;
}

.pricing-card li span {
  color: var(--coral);
}

.button-yellow {
  width: 100%;
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.fine-print {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  text-align: center;
}

.about {
  padding-top: 140px;
  padding-bottom: 150px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: center;
}

.portrait-arch {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 210px 210px 20px 20px;
}

.portrait-arch::before {
  position: absolute;
  width: 320px;
  height: 320px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.portrait-face {
  position: relative;
  z-index: 1;
  font-size: 130px;
  filter: grayscale(1);
}

.portrait-note {
  position: absolute;
  z-index: 2;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(31, 44, 54, 0.2);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
}

.note-one {
  top: 75px;
  right: 18px;
  color: var(--coral);
  font-size: 28px;
  transform: rotate(5deg);
}

.note-two {
  bottom: 55px;
  left: 18px;
  font-size: 20px;
  transform: rotate(-5deg);
}

.about-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.about-copy .inline-link {
  display: inline-block;
  margin-top: 35px;
}

.newsletter {
  position: relative;
  padding: 100px 0;
  background: var(--blue);
  border-top: 1px solid var(--ink);
}

.newsletter-squiggle {
  position: absolute;
  top: -22px;
  right: 9%;
  padding: 4px 14px;
  color: var(--coral);
  background: var(--cream);
  border: 1px solid var(--ink);
  font-size: 24px;
  font-weight: 700;
  transform: rotate(4deg);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
  align-items: center;
}

.newsletter h2 em {
  color: var(--paper);
}

.advertise-cta-actions > p {
  max-width: 480px;
  margin: 0 0 24px;
  color: rgba(31, 44, 54, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.advertise-cta-actions .button {
  width: max-content;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.inline-form input,
.signup-dialog input {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 99px;
  outline: none;
}

.inline-form input:focus,
.signup-dialog input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(238, 115, 92, 0.18);
}

.inline-form > p {
  grid-column: 1 / -1;
  margin: 2px 0 0 18px;
  color: rgba(31, 44, 54, 0.65);
  font-size: 9px;
}

.site-footer {
  padding: 75px 0 25px;
  color: var(--paper);
  background: #18242d;
}

.disclosure {
  margin-top: 50px;
  margin-bottom: 90px;
  padding: 32px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 35px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.disclosure h2 {
  max-width: 350px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

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

.disclosure article {
  padding: 20px;
  background: var(--paper);
  border: 1px solid rgba(31, 44, 54, 0.12);
  border-radius: 18px;
}

.disclosure strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 22px;
  line-height: 1.05;
}

.disclosure p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
}

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

.footer-grid > div > p {
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.55);
  font-size: 12px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links button {
  padding: 0;
  color: rgba(255, 253, 248, 0.7);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--paper);
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 253, 248, 0.42);
  font-size: 9px;
}

.footer-bottom p {
  margin: 0;
}

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

dialog {
  border: 0;
}

dialog::backdrop {
  background: rgba(20, 30, 36, 0.62);
  backdrop-filter: blur(5px);
}

.signup-dialog {
  width: min(480px, calc(100% - 30px));
  padding: 46px 52px 40px;
  overflow: visible;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 44, 54, 0.07);
  cursor: pointer;
  font-size: 22px;
}

.dialog-icon {
  width: 65px;
  height: 65px;
  margin: -78px auto 28px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--coral);
  border: 5px solid var(--paper);
  border-radius: 50%;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 40px;
}

.signup-dialog h2 {
  font-size: 48px;
}

.signup-dialog > p:not(.eyebrow) {
  margin: 20px 0 25px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.signup-dialog form {
  display: grid;
  gap: 10px;
  text-align: left;
}

.signup-dialog label {
  margin: 2px 0 -4px 15px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup-dialog form .button {
  width: 100%;
  margin-top: 8px;
}

.signup-dialog small {
  display: block;
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 9px;
}

.lesson-dialog {
  width: min(1040px, calc(100% - 30px));
  max-height: calc(100vh - 50px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lesson-dialog .dialog-close {
  position: sticky;
  z-index: 3;
  top: 14px;
  float: right;
  margin-right: 18px;
  background: var(--cream);
}

.lesson-article {
  padding: 18px 9% 70px;
}

.lesson-article-header {
  margin: 20px -11% 45px;
  padding: 70px 11% 55px;
  background: var(--blue);
  border-bottom: 1px solid var(--ink);
}

.lesson-top-actions {
  margin: -38px 0 34px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lesson-back-button {
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(31, 44, 54, 0.16);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.lesson-back-button:hover {
  background: var(--paper);
}

.lesson-article-header p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(31, 44, 54, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.lesson-article-stats {
  max-width: 760px;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lesson-article-stats span {
  padding: 10px 13px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.65);
  border: 1px solid rgba(31, 44, 54, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lesson-article-stats strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 20px;
  line-height: 1;
}

.lesson-article .eyebrow {
  color: var(--coral-dark);
}

.lesson-article h2 {
  max-width: 600px;
  font-size: clamp(42px, 6vw, 65px);
}

.lesson-article h3 {
  margin: 38px 0 12px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 28px;
}

.lesson-article p,
.lesson-article li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.lesson-article-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 45px;
  align-items: start;
}

.lesson-toc {
  position: sticky;
  z-index: 2;
  top: 0;
  margin: -20px -2% 32px;
  padding: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.lesson-toc a {
  padding: 8px 11px;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.lesson-toc a:hover {
  color: var(--paper);
  background: var(--ink);
}

.lesson-goals {
  position: sticky;
  top: 24px;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.lesson-level-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.lesson-goals h3 {
  margin-top: 20px;
  font-size: 23px;
}

.lesson-goals ul,
.practice-list {
  margin: 0;
  padding-left: 18px;
}

.lesson-goals li + li,
.practice-list li + li {
  margin-top: 10px;
}

.lesson-sidebar-stat {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.lesson-sidebar-stat strong {
  display: block;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 42px;
  line-height: 0.9;
}

.lesson-sidebar-stat span {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phrase-box {
  margin: 26px 0;
  padding: 24px;
  background: var(--cream);
  border-left: 4px solid var(--coral);
}

.phrase-box strong {
  display: block;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 28px;
}

.phrase-box span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 700;
}

.lesson-helper-text {
  margin-top: -4px;
}

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

.vocab-card {
  position: relative;
  min-height: 142px;
  padding: 18px 18px 15px;
  background: var(--cream);
  border: 1px solid rgba(31, 44, 54, 0.14);
  border-radius: 16px;
}

.vocab-number {
  position: absolute;
  top: 14px;
  right: 14px;
  color: rgba(31, 44, 54, 0.34);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.vocab-card strong {
  display: block;
  padding-right: 38px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
}

.vocab-card em {
  display: block;
  margin-top: 8px;
  color: var(--coral-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.vocab-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.vocab-card small {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 7px;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sentence-stack {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.sentence-card {
  padding: 21px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 16px 16px 0;
}

.sentence-card strong {
  display: block;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
}

.sentence-card span {
  display: block;
  margin-top: 9px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
}

.sentence-card p {
  margin: 8px 0 0;
}

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

.grammar-card {
  padding: 22px;
  background: rgba(135, 185, 198, 0.18);
  border: 1px solid rgba(31, 44, 54, 0.14);
  border-radius: 18px;
}

.grammar-card h4 {
  margin: 0 0 10px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 22px;
  line-height: 1.1;
}

.grammar-card p {
  margin: 0;
}

.lesson-section {
  margin-top: 26px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.lesson-section h3 {
  margin-top: 20px;
}

.lesson-note {
  margin-top: 35px;
  padding: 24px;
  background: rgba(255, 207, 92, 0.35);
  border: 1px solid rgba(31, 44, 54, 0.16);
  border-radius: 18px;
}

.lesson-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lesson-note p {
  margin: 0;
}

.tip-list,
.suggestion-list {
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.tip-list li,
.suggestion-list li {
  position: relative;
  padding: 15px 18px 15px 42px;
  background: var(--cream);
  border: 1px solid rgba(31, 44, 54, 0.12);
  border-radius: 14px;
}

.tip-list li::before,
.suggestion-list li::before {
  position: absolute;
  top: 15px;
  left: 16px;
  color: var(--coral-dark);
  font-weight: 900;
  content: "✓";
}

.lesson-cta {
  margin-top: 45px;
  padding: 28px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  text-align: center;
}

.lesson-cta .sponsor-label {
  margin-bottom: 13px;
}

.lesson-cta p {
  margin: 0 0 17px;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 25px;
  bottom: 25px;
  width: min(350px, calc(100% - 30px));
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast > span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 700;
}

.toast p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .site-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr 0.85fr;
    gap: 30px;
  }

  .sun-shape {
    width: 410px;
    height: 410px;
  }

  .word-card {
    width: 330px;
  }

  .mini-note {
    right: -20px;
  }

  .lesson-card {
    grid-template-columns: 1fr;
  }

  .curriculum-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .curriculum-card:nth-child(4) {
    border-left: 0;
  }

  .curriculum-card:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .lesson-toolbar {
    grid-template-columns: 1fr;
  }

  .lesson-count-pill {
    justify-self: start;
  }

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

  .lesson-content {
    padding: 24px;
  }

  .membership .section-shell {
    gap: 55px;
  }

  .about {
    gap: 60px;
  }
}

@media (max-width: 800px) {
  .section-shell {
    width: min(100% - 36px, 650px);
  }

  .site-header {
    min-height: 70px;
    padding: 0 18px;
    background: var(--cream);
    backdrop-filter: none;
  }

  .menu-button {
    position: relative;
    z-index: 22;
    width: 40px;
    height: 40px;
    padding: 0;
    display: block;
    border: 0;
    background: transparent;
  }

  .menu-button span:not(.sr-only) {
    position: absolute;
    left: 8px;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-button span:nth-child(2) { top: 15px; }
  .menu-button span:nth-child(3) { top: 23px; }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    top: 19px;
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 21;
    inset: 0;
    padding: 110px 35px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    background: var(--cream);
    font-family: "Frank Ruhl Libre", Georgia, serif;
    font-size: 35px;
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav .button {
    margin-top: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    margin-top: 25px;
  }

  .split-heading,
  .newsletter-inner,
  .about,
  .membership .section-shell,
  .notebook-card,
  .quick-start-panel,
  .disclosure {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 30px;
  }

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

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

  .advertiser-points {
    grid-template-columns: 1fr;
  }

  .advertiser-points > div + div {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
  }

  .method-card:nth-child(2) {
    transform: none;
  }

  .method-card {
    min-height: 295px;
  }

  .lessons-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 35px;
  }

  .lesson-library-meta {
    width: 100%;
  }

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

  .curriculum-card:nth-child(odd) {
    border-left: 0;
  }

  .curriculum-card:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .curriculum-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .filter-row {
    justify-content: flex-start;
  }

  .quick-start-actions,
  .disclosure-grid {
    grid-template-columns: 1fr;
  }

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

  .ad-banner,
  .ad-banner > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .ad-banner {
    padding: 25px;
  }

  .notebook-card {
    padding: 70px 50px 55px;
  }

  .notebook-visual {
    min-height: 390px;
  }

  .membership .section-shell {
    max-width: 620px;
  }

  .pricing-card {
    max-width: 470px;
    margin-top: 30px;
  }

  .about-portrait {
    max-width: 430px;
  }

  .about-copy {
    max-width: 590px;
  }

  .newsletter-inner {
    gap: 45px;
  }

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

@media (max-width: 520px) {
  .announcement {
    gap: 8px;
    justify-content: space-between;
    font-size: 9px;
  }

  .announcement p span {
    display: none;
  }

  .brand {
    font-size: 19px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-bottom: 65px;
  }

  h1 {
    font-size: 59px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button-quiet {
    align-self: flex-start;
  }

  .hero-visual {
    min-height: 470px;
  }

  .sun-shape {
    width: 330px;
    height: 330px;
  }

  .word-card {
    width: 280px;
    min-height: 405px;
    padding: 25px;
  }

  .hebrew-word {
    margin-top: 43px;
    font-size: 44px;
  }

  .mini-note {
    right: -5px;
    bottom: 12px;
    width: 170px;
  }

  .method,
  .about {
    padding-top: 95px;
    padding-bottom: 100px;
  }

  .section-heading h2,
  .about h2,
  .newsletter h2,
  .membership h2 {
    font-size: 47px;
  }

  .lessons,
  .membership {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .lesson-grid {
    gap: 44px;
  }

  .lesson-art {
    min-height: 220px;
  }

  .featured-lesson {
    width: 100%;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .notebook-card {
    padding: 62px 27px 45px 42px;
    border-radius: 5px 20px 20px 5px;
  }

  .notebook-copy h2 {
    font-size: 44px;
  }

  .notebook-visual {
    min-height: 350px;
  }

  .paper {
    width: 235px;
    height: 320px;
  }

  .pricing-card {
    padding: 45px 28px 35px;
    box-shadow: 8px 8px 0 var(--coral);
  }

  .price {
    font-size: 65px;
  }

  .about {
    gap: 55px;
  }

  .portrait-arch {
    min-height: 410px;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .newsletter {
    padding: 80px 0;
  }

  .footer-grid {
    gap: 55px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .signup-dialog {
    padding: 42px 25px 30px;
  }

  .signup-dialog h2 {
    font-size: 42px;
  }

  .lesson-article {
    padding-inline: 25px;
  }

  .lesson-article-stats {
    align-items: flex-start;
    flex-direction: column;
  }

  .curriculum-strip,
  .lesson-library-meta {
    grid-template-columns: 1fr;
  }

  .curriculum-card + .curriculum-card,
  .curriculum-card:nth-child(4) {
    border-left: 0;
  }

  .curriculum-card:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .lesson-toolbar {
    padding: 18px;
  }

  .quick-start-panel,
  .disclosure {
    padding: 18px;
  }

  .path-card {
    min-height: 0;
  }

  .lesson-article-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .lesson-goals {
    position: static;
  }

  .vocab-grid,
  .grammar-grid {
    grid-template-columns: 1fr;
  }

  .vocab-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
