:root {
  --ink: #1d2527;
  --muted: #5c686b;
  --paper: #f4f7f3;
  --panel: #ffffff;
  --line: #d8e0d9;
  --coral: #c94f43;
  --coral-dark: #9f392f;
  --teal: #176b73;
  --gold: #d4a843;
  --leaf: #3b7f56;
  --shadow: 0 24px 70px rgba(29, 37, 39, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(244, 247, 243, 0.9);
  border-bottom: 1px solid rgba(23, 107, 115, 0.13);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #2295a0);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
}

.mark-bubble,
.mark-heart,
.mark-letter {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-bubble {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 3;
}

.mark-heart {
  fill: #fff7e7;
  stroke: #fff7e7;
  stroke-width: 1.4;
}

.mark-letter {
  stroke: var(--coral);
  stroke-width: 3.2;
}

.nav {
  display: inline-flex;
  width: fit-content;
  justify-self: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 107, 115, 0.14);
  border-radius: 8px;
  font-size: 0.95rem;
  box-shadow: 0 12px 34px rgba(29, 37, 39, 0.06);
}

.nav a {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 850;
}

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

.tab-link.active {
  color: #fff;
  background: var(--teal);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(23, 107, 115, 0.2);
  border-radius: 8px;
}

.lang-btn {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.lang-btn.active {
  color: var(--teal);
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(23, 107, 115, 0.24);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 28, 29, 0.82) 0%, rgba(18, 28, 29, 0.56) 44%, rgba(18, 28, 29, 0.16) 100%),
    linear-gradient(180deg, rgba(18, 28, 29, 0.04), rgba(18, 28, 29, 0.45));
}

.hero-content {
  width: min(820px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 78px 0 104px;
  color: #fff;
}

.eyebrow,
.section-kicker,
.phrase-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

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

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--coral);
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.trust-band {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 auto 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(29, 37, 39, 0.06);
}

.trust-band div {
  padding: 20px clamp(18px, 4vw, 42px);
  background: #ffffff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  color: var(--teal);
  font-size: 1.08rem;
}

.trust-band span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: clamp(46px, 6vw, 86px) clamp(18px, 4vw, 56px);
}

.tab-shell {
  padding: 22px 0 clamp(36px, 6vw, 70px);
  background:
    radial-gradient(circle at top left, rgba(23, 107, 115, 0.08), transparent 34%),
    var(--paper);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.intro-grid,
.section-heading,
.practice-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
}

.intro .section-kicker {
  width: min(1180px, 100%);
  margin: 0 auto 12px;
}

.section h2,
.cta h2 {
  font-size: clamp(2rem, 4.6vw, 4.4rem);
}

.intro p,
.section-heading p,
.practice-panel p,
.cta p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.lessons-section {
  background: transparent;
}

.learning-mode {
  width: min(1180px, 100%);
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid rgba(23, 107, 115, 0.18);
  border-radius: 8px;
}

.learning-mode strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.learning-mode p {
  margin: 4px 0 0;
  color: var(--muted);
}

.toggle-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--teal);
  background: rgba(23, 107, 115, 0.08);
  border: 1px solid rgba(23, 107, 115, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.toggle-control input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.lesson-grid,
.pricing-grid,
.scenario-list,
.module-toc {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.module-toc {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 20px;
  padding: 24px;
  background: #203033;
  border-radius: 8px;
  color: #fff;
}

.module-toc h3 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.12;
}

.module-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding-left: 22px;
}

.module-toc li {
  padding-left: 4px;
  color: rgba(255, 255, 255, 0.86);
}

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

.lesson-card,
.price-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(29, 37, 39, 0.06);
}

.lesson-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.lesson-card:nth-child(2n) .lesson-icon {
  background: var(--coral);
}

.lesson-card:nth-child(3n) .lesson-icon {
  background: var(--leaf);
}

.lesson-card h3,
.price-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.lesson-card p,
.price-card p,
.scenario-card p {
  color: var(--muted);
}

.lesson-card .module-focus {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 800;
}

.module-details {
  margin-top: 18px;
}

.module-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--teal);
  background: rgba(23, 107, 115, 0.08);
  border: 1px solid rgba(23, 107, 115, 0.18);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

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

.module-details summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

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

.mini-lesson {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 18px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-lesson h4 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-lesson h4:first-child {
  margin-top: 0;
}

.mini-lesson ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-lesson li {
  padding: 6px 9px;
  color: var(--teal);
  background: #ffffff;
  border: 1px solid rgba(23, 107, 115, 0.18);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 750;
}

.mini-lesson p {
  margin: 0;
}

.dialogue {
  display: grid;
  gap: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--coral);
}

.bilingual-block {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  background: #f6efe3;
  border: 1px solid rgba(23, 107, 115, 0.16);
  border-radius: 8px;
}

.bilingual-block h4 {
  margin: 0;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.bilingual-columns > div {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bilingual-columns span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--coral-dark);
  font-size: 0.74rem;
  font-weight: 900;
}

.bilingual-columns p {
  margin: 0;
}

.bilingual-columns ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.bilingual-columns li {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-weight: 650;
}

.practice-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 18px;
  padding: clamp(34px, 5vw, 58px);
  background: #203033;
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--shadow);
}

.practice-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

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

.phrase-card {
  padding: clamp(24px, 4vw, 40px);
  color: var(--ink);
  background: #fffaf2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phrase-card blockquote {
  min-height: 108px;
  margin: 18px 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 850;
  line-height: 1.12;
}

.phrase-meaning {
  min-height: 56px;
}

.phrase-button {
  width: 100%;
  margin-top: 12px;
}

.library-section {
  background: transparent;
}

.library-tools,
.phrase-library-grid,
.empty-library {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.library-tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 107, 115, 0.24);
  border-radius: 8px;
  font: inherit;
}

.search-field input:focus {
  outline: 3px solid rgba(23, 107, 115, 0.18);
  border-color: var(--teal);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  min-height: 38px;
  padding: 0 12px;
  color: var(--teal);
  background: #fff;
  border: 1px solid rgba(23, 107, 115, 0.22);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.filter-pill.active {
  color: #fff;
  background: var(--teal);
}

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

.library-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(29, 37, 39, 0.05);
}

.library-card span {
  width: fit-content;
  padding: 5px 8px;
  color: var(--coral-dark);
  background: rgba(201, 79, 67, 0.1);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.library-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.library-card blockquote {
  margin: 0;
  color: var(--teal);
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1.22;
}

.library-card p {
  margin: 0;
  color: var(--muted);
}

.library-card .usage-note {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 720;
}

.empty-library {
  display: none;
  padding: 18px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-library.visible {
  display: block;
}

.activities-section {
  background: transparent;
}

.activity-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.activity-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(29, 37, 39, 0.05);
}

.activity-card > span {
  width: fit-content;
  padding: 5px 8px;
  color: var(--teal);
  background: rgba(23, 107, 115, 0.09);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.activity-card h3 {
  margin: 0;
  font-size: 1.28rem;
}

.activity-card p {
  margin: 0;
  color: var(--muted);
}

.choice-list,
.word-bank,
.sentence-tray,
.activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-list button,
.word-bank button,
.sentence-tray button {
  min-height: 38px;
  padding: 0 11px;
  color: var(--ink);
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.choice-list button.selected,
.sentence-tray button {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.word-bank button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.sentence-tray {
  min-height: 50px;
  padding: 10px;
  background: #fffaf2;
  border: 1px dashed rgba(23, 107, 115, 0.32);
  border-radius: 8px;
}

.blank-input,
.activity-card textarea {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  background: #fffaf2;
  border: 1px solid rgba(23, 107, 115, 0.22);
  border-radius: 8px;
  font: inherit;
}

.activity-card textarea {
  resize: vertical;
}

.rewrite-checklist {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.button.light {
  color: var(--teal);
  background: #fff;
  border-color: rgba(23, 107, 115, 0.24);
}

.activity-feedback {
  min-height: 24px;
  font-weight: 800;
}

.activity-feedback.correct {
  color: var(--leaf);
}

.activity-feedback.incorrect {
  color: var(--coral-dark);
}

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

.scenario-card {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.scenario-card span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 42px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-weight: 900;
}

.scenario-card h3 {
  margin: 0;
}

.safety-section {
  background: transparent;
}

.safety-grid,
.safety-note {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.safety-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(23, 107, 115, 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(29, 37, 39, 0.05);
}

.safety-card h3 {
  margin: 0;
  color: var(--ink);
}

.safety-card p {
  margin: 0;
  color: var(--muted);
}

.safety-card blockquote {
  margin: 4px 0 0;
  padding: 12px;
  color: var(--teal);
  background: rgba(23, 107, 115, 0.08);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  font-weight: 850;
}

.safety-note {
  margin-top: 16px;
  padding: 18px 20px;
  color: var(--muted);
  background: #203033;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.safety-note strong {
  display: block;
  color: #fff;
}

.safety-note p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.pricing-section {
  background: transparent;
}

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

.price-card.featured {
  border-color: rgba(201, 79, 67, 0.55);
  box-shadow: var(--shadow);
}

.price {
  margin: 22px 0;
  color: var(--teal);
  font-size: 2.35rem;
  font-weight: 900;
}

.plan-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
}

.plan-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--teal);
  background: #fffaf2;
  border: 1px solid rgba(23, 107, 115, 0.18);
  border-radius: 8px;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.course-note {
  width: min(1180px, 100%);
  margin: 18px auto 0;
  padding: 18px 20px;
  color: var(--muted);
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.course-note strong {
  display: block;
  color: var(--ink);
}

.course-note p {
  margin: 6px 0 0;
}

.cta {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(70px, 9vw, 124px) clamp(18px, 4vw, 56px);
  background: #203033;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-copy {
  max-width: 620px;
}

.cta p {
  margin: 16px 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  color: var(--ink);
  background: #fffaf2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 107, 115, 0.22);
  border-radius: 8px;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(23, 107, 115, 0.18);
  border-color: var(--teal);
}

.lead-form .button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 850;
}

.site-footer {
  padding: 24px 18px;
  color: var(--muted);
  text-align: center;
  background: #fffaf2;
}

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

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
    overflow-x: auto;
  }

  .nav a {
    flex: 1 0 auto;
    text-align: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 64px;
  }

  .trust-band,
  .intro-grid,
  .section-heading,
  .practice-panel,
  .learning-mode,
  .module-toc,
  .lesson-grid,
  .library-tools,
  .phrase-library-grid,
  .activity-grid,
  .scenario-list,
  .safety-grid,
  .pricing-grid,
  .cta,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .module-toc ol {
    grid-template-columns: 1fr;
  }

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

  .scenario-card {
    min-height: auto;
  }

  .scenario-card span {
    margin-bottom: 20px;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 130px;
    line-height: 1.05;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding-bottom: 104px;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

  .button {
    width: 100%;
  }
}
