:root {
  color-scheme: light;
  --bg: #f8f5fb;
  --bg-2: #eef6f4;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.74);
  --ink: #19171f;
  --muted: #6d6578;
  --line: rgba(36, 25, 55, 0.11);
  --purple: #6a1cf6;
  --purple-2: #8b5cf6;
  --purple-dark: #4b10be;
  --cyan: #6bd8ff;
  --teal: #087284;
  --yellow: #ffd327;
  --lavender: #ded4ed;
  --shadow: 0 24px 70px rgba(65, 36, 101, 0.15);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.82) 0 24%, transparent 24% 100%),
    linear-gradient(180deg, #fbf9fd 0%, var(--bg) 42%, var(--bg-2) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

body[dir="rtl"] {
  direction: rtl;
}

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

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

:focus-visible {
  outline: 3px solid rgba(106, 28, 246, 0.34);
  outline-offset: 4px;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 18px max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(36, 25, 55, 0.08);
  background: rgba(251, 249, 253, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.development-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(106, 28, 246, 0.16);
  border-radius: 999px;
  color: #4b10be;
  background: rgba(255, 255, 255, 0.86);
  font: 900 0.66rem "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #332a44;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-control {
  position: relative;
}

.language-control::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

body[dir="rtl"] .language-control::after {
  right: auto;
  left: 13px;
}

select {
  width: 148px;
  min-height: 42px;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(106, 28, 246, 0.16);
  border-radius: 999px;
  appearance: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(65, 36, 101, 0.08);
  font: 800 0.88rem "Plus Jakarta Sans", Inter, sans-serif;
}

body[dir="rtl"] select {
  padding: 0 14px 0 34px;
}

.btn-3d,
.store-button {
  transform: translateY(0);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 160ms ease;
}

.btn-3d {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--purple);
  box-shadow:
    0 6px 0 var(--purple-dark),
    0 16px 36px rgba(106, 28, 246, 0.24);
  font: 900 0.88rem "Plus Jakarta Sans", Inter, sans-serif;
  white-space: nowrap;
}

.btn-3d:hover {
  background: #772aff;
}

.btn-3d:active,
.store-button:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 var(--purple-dark), 0 8px 18px rgba(106, 28, 246, 0.16);
}

.btn-3d.light {
  color: var(--purple);
  background: #ffffff;
  box-shadow:
    0 6px 0 rgba(222, 212, 237, 0.86),
    0 16px 38px rgba(0, 0, 0, 0.14);
}

.section-pad {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  padding: 78px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  min-height: min(760px, calc(100svh - 118px));
  padding-top: 54px;
}

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

.eyebrow,
.mini-label,
.card-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #134c5d;
  background: rgba(107, 216, 255, 0.42);
  font: 900 0.76rem "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11.6ch;
  font-size: clamp(3.1rem, 6.4vw, 5.85rem);
  font-weight: 900;
  overflow-wrap: normal;
  word-break: normal;
}

h1 [data-i18n="heroTitleMain"] {
  display: block;
  white-space: pre-line;
  overflow-wrap: normal;
  word-break: normal;
}

.rhythm {
  display: block;
  color: var(--purple);
  font-style: italic;
  font-size: 0.92em;
  overflow-wrap: normal;
}

.rhythm:empty {
  display: none;
}

.hero-text {
  max-width: 54ch;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 500;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 560px;
  margin-top: 22px;
}

.hero-proof span {
  padding: 8px 10px;
  border: 1px solid rgba(36, 25, 55, 0.1);
  border-radius: 999px;
  color: #332a44;
  background: rgba(255, 255, 255, 0.7);
  font: 800 0.76rem "Plus Jakarta Sans", Inter, sans-serif;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 208px;
  min-height: 62px;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffffff;
  background: #101014;
  box-shadow:
    0 6px 0 #000000,
    0 14px 26px rgba(0, 0, 0, 0.18);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.store-button.soft {
  color: #17131f;
  background: #e7e0eb;
  box-shadow:
    0 6px 0 #cfc3dc,
    0 14px 26px rgba(65, 36, 101, 0.12);
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.05;
}

.store-button small {
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.82;
}

.store-button strong {
  margin-top: 3px;
  font-size: 1.08rem;
  font-weight: 900;
}

.store-icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: #101014;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.store-icon.play {
  background: linear-gradient(135deg, #41d1ff 0%, #78f0a3 45%, #ffd34f 70%, #ff5b7a 100%);
  clip-path: polygon(22% 12%, 86% 50%, 22% 88%);
  border-radius: 0;
}

.locked-download {
  position: relative;
  overflow: hidden;
}

.btn-3d.locked-download,
.btn-3d.locked-download:hover {
  min-width: 182px;
  color: #ffffff;
  background: #85838a;
  box-shadow:
    0 6px 0 #5f5d64,
    0 16px 34px rgba(25, 23, 31, 0.16);
}

.btn-3d.locked-download:active,
.store-button.locked-download:active {
  transform: translateY(5px);
  box-shadow:
    0 1px 0 #5f5d64,
    0 8px 18px rgba(25, 23, 31, 0.13);
}

.store-button.locked-download,
.store-button.soft.locked-download {
  color: #ffffff;
  background: #8b8990;
  box-shadow:
    0 6px 0 #65636a,
    0 14px 26px rgba(25, 23, 31, 0.15);
}

.locked-download > :not(.curtain-label) {
  opacity: 0.46;
  filter: grayscale(1);
}

.store-button.locked-download .store-icon {
  color: #6e6c73;
  background: #e4e4e7;
}

.store-button.locked-download .store-icon.play {
  background: #e4e4e7;
}

.curtain-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 18px;
  color: #ffffff;
  background: rgba(20, 20, 24, 0.56);
  backdrop-filter: blur(1px);
  text-align: center;
  text-transform: uppercase;
  font: 900 0.72rem/1.12 "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.header-curtain {
  gap: 2px;
  line-height: 1;
}

.header-curtain b,
.header-curtain small {
  display: block;
}

.header-curtain b {
  font-size: 0.76rem;
}

.header-curtain small {
  font-size: 0.54rem;
}

.hero-visual {
  display: grid;
  place-items: center;
  width: 100%;
  overflow: visible;
}

.phone-stage {
  position: relative;
  display: grid;
  width: min(100%, 390px);
  min-height: 680px;
  place-items: center;
}

.phone-card {
  position: relative;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.phone-shell {
  position: relative;
  width: 330px;
  min-height: 646px;
  overflow: hidden;
  padding: 18px 16px 16px;
  border: 8px solid #101014;
  border-radius: 42px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 45%, rgba(184, 255, 251, 0.32), transparent 35%),
    linear-gradient(180deg, #f4f6f4 0%, #e7eceb 100%);
  box-shadow:
    0 34px 70px rgba(25, 23, 31, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 78px;
  height: 18px;
  border-radius: 0 0 16px 16px;
  background: #101014;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: rgba(25, 23, 31, 0.58);
  font-size: 0.66rem;
  font-weight: 800;
}

.demo-screen {
  display: flex;
  flex-direction: column;
  min-height: 604px;
  gap: 10px;
  padding-top: 4px;
}

.demo-top {
  display: block;
  padding: 2px 2px 4px;
}

.demo-close {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--purple);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(65, 36, 101, 0.08);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.demo-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e7e7;
}

.demo-progress span {
  display: block;
  width: 5%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), #ffd327);
  transition: width 180ms ease;
}

.demo-energy {
  display: inline-grid;
  min-width: 38px;
  min-height: 28px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #6a4300;
  background: #fff1b9;
  font-size: 0.74rem;
  font-weight: 900;
}

.demo-content-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 24px;
  color: var(--ink);
  background: #ffffff;
  box-shadow:
    0 6px 20px rgba(37, 35, 45, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.demo-cover {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.5), transparent 26%),
    linear-gradient(135deg, #ff7733, #6a1cf6 58%, #2ff2ff);
}

.demo-cover strong {
  color: #ffffff;
  font: 900 0.86rem "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0.04em;
}

.demo-content-card strong,
.demo-content-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-content-card strong {
  font: 900 0.86rem "Plus Jakarta Sans", Inter, sans-serif;
}

.demo-content-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.demo-play {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: #ff6a00;
  background: #ffe2d6;
  font-size: 1rem;
  font-weight: 900;
}

.demo-picker {
  display: grid;
  gap: 5px;
  color: #6d6578;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.demo-picker select {
  width: 100%;
  min-height: 34px;
  padding-inline: 12px 28px;
  border-color: #d9d2e5;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 6px 0 #ded8e8;
  font-size: 0.76rem;
}

.demo-picker option {
  color: var(--ink);
}

.demo-copy {
  color: var(--ink);
}

.demo-copy span {
  display: block;
  color: #ef3e35;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.demo-copy h2 {
  margin-top: 4px;
  font-size: 1.08rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.demo-question-area {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 12px;
  min-height: 250px;
}

.demo-meaning-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 3px solid #ff6a00;
  border-radius: 24px;
  color: #ff6a00;
  background: rgba(255, 249, 245, 0.92);
  text-align: center;
}

.demo-meaning-card span,
.demo-word-bank > span,
.demo-fill-hint {
  color: rgba(25, 23, 31, 0.62);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.demo-meaning-card strong {
  font: 900 1.6rem/1 "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0;
}

.demo-text-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 13px;
  padding: 18px 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(25, 23, 31, 0.08);
}

.demo-word-tap {
  border: 0;
  color: #444148;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  font: 900 1.18rem/1.15 "Plus Jakarta Sans", Inter, sans-serif;
}

.demo-word-tap.is-selected,
.demo-highlight-word {
  color: var(--purple);
}

.demo-word-tap.is-correct,
.demo-bank-chip.is-correct,
.demo-option.is-correct {
  border-color: #2f8f6a;
  background: #ebf8f1;
}

.demo-word-tap.is-wrong,
.demo-bank-chip.is-wrong,
.demo-option.is-wrong {
  border-color: #e63b2e;
  background: #fff0ee;
}

.demo-highlight-word {
  padding: 17px 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(25, 23, 31, 0.08);
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  font: 900 2.15rem/1 "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0;
}

.demo-fill-panel {
  padding: 18px 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(25, 23, 31, 0.08);
  text-align: center;
}

.demo-fill-hint {
  margin: 0 0 12px;
  color: var(--purple);
  font-style: italic;
  text-transform: uppercase;
}

.demo-fill-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #242128;
  font: 900 1rem/1.15 "Plus Jakarta Sans", Inter, sans-serif;
}

.demo-fill-blank {
  display: inline-grid;
  min-width: 72px;
  min-height: 38px;
  place-items: center;
  padding: 0 12px;
  border: 2px solid #dedede;
  border-radius: 999px;
  color: #a8a8a8;
  background: #eeeeee;
}

.demo-fill-blank.is-correct {
  color: #216d4e;
  border-color: #2f8f6a;
  background: #ebf8f1;
}

.demo-fill-blank.is-wrong {
  color: #b92d23;
  border-color: #e63b2e;
  background: #fff0ee;
}

.demo-word-bank {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.demo-word-bank > span {
  flex: 0 0 100%;
  text-align: center;
}

.demo-bank-chip {
  min-height: 38px;
  padding: 0 15px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: #16131b;
  background: #ff7132;
  font: 900 0.8rem "Plus Jakarta Sans", Inter, sans-serif;
}

.demo-bank-chip.is-selected {
  color: #ffffff;
  background: var(--purple);
}

.demo-option-list {
  display: grid;
  gap: 10px;
}

.demo-prompt-card p {
  margin: 0;
  font: 900 1rem/1.18 "Plus Jakarta Sans", Inter, sans-serif;
}

.demo-prompt-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-options {
  display: grid;
  gap: 8px;
}

.demo-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  border: 2px solid transparent;
  border-radius: 24px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(25, 23, 31, 0.07);
  text-align: start;
  font: 800 0.82rem "Plus Jakarta Sans", Inter, sans-serif;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.demo-option:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
}

.demo-option b {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #ff8d62;
  background: transparent;
  font-size: 0.7rem;
}

.demo-option.is-selected {
  border-color: var(--purple);
  background: #f3edff;
}

.demo-option.is-correct {
  border-color: #2f8f6a;
  background: #e9f7f0;
}

.demo-option.is-wrong {
  border-color: #e63b2e;
  background: #fff0ee;
}

.demo-feedback {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.demo-feedback.is-correct {
  color: #216d4e;
}

.demo-feedback.is-wrong {
  color: #b92d23;
}

.demo-action {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  color: #191919;
  background: #ff7733;
  box-shadow: 0 5px 0 #b95422;
  font: 900 0.92rem "Plus Jakarta Sans", Inter, sans-serif;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    opacity 150ms ease;
}

.demo-action:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #b95422;
}

.demo-action:disabled {
  color: rgba(25, 23, 31, 0.62);
  background: #e9b89f;
  box-shadow: 0 5px 0 #d59a7c;
  opacity: 1;
}

.demo-complete-card {
  display: grid;
  gap: 10px;
  place-items: center;
  min-height: 210px;
  padding: 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(25, 23, 31, 0.08);
  text-align: center;
}

.demo-complete-card strong {
  color: var(--purple);
  font: 900 3rem/1 "Plus Jakarta Sans", Inter, sans-serif;
}

.demo-complete-card span {
  color: var(--muted);
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

.testflight-modal[hidden] {
  display: none;
}

.testflight-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.testflight-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 20, 0.54);
  backdrop-filter: blur(8px);
}

.testflight-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(25, 23, 31, 0.28);
}

.testflight-dialog .mini-label {
  margin-bottom: 14px;
}

.testflight-dialog h2 {
  padding-right: 34px;
  font-size: 1.65rem;
  line-height: 1.08;
}

body[dir="rtl"] .testflight-dialog h2 {
  padding-right: 0;
  padding-left: 34px;
}

.testflight-dialog p:not(.mini-label):not(.testflight-status) {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--purple);
  background: #f3edff;
  font-size: 1.2rem;
  font-weight: 900;
}

body[dir="rtl"] .modal-close {
  right: auto;
  left: 14px;
}

.testflight-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.testflight-form label {
  color: #332a44;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testflight-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(106, 28, 246, 0.2);
  border-radius: 16px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(65, 36, 101, 0.08);
  font: 800 0.95rem Inter, sans-serif;
}

.testflight-form .demo-action {
  margin-top: 2px;
}

.testflight-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.testflight-status.is-success {
  color: #216d4e;
}

.testflight-status.is-error {
  color: #b92d23;
}

.lesson-screen {
  display: grid;
  gap: 16px;
  padding-top: 46px;
}

.screen-pill {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  color: #2ff2ff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lesson-screen h2 {
  font-size: 1.78rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.waveform,
.bars,
.equalizer {
  display: flex;
  align-items: center;
  gap: 5px;
}

.waveform span {
  width: 7px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3fd4, #2ff2ff);
}

.waveform span:nth-child(2n) {
  height: 72px;
}

.waveform span:nth-child(3n) {
  height: 54px;
}

.lesson-screen p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

mark {
  padding: 2px 5px;
  border-radius: 7px;
  color: #101014;
  background: #ffd327;
}

.quiz-row {
  display: flex;
  gap: 8px;
}

.quiz-row button {
  flex: 1;
  min-height: 35px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.phone-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.phone-nav span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.phone-nav span:first-child {
  width: 34px;
  background: #ffffff;
}

.accuracy-card {
  position: absolute;
  right: -54px;
  bottom: 88px;
  width: 174px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.accuracy-card span,
.accuracy-card small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.accuracy-card span {
  color: var(--purple);
  letter-spacing: 0.08em;
}

.accuracy-card strong {
  display: block;
  margin: 4px 0;
  font: 900 1.2rem "Plus Jakarta Sans", Inter, sans-serif;
}

.how {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.54) 0 1px, transparent 1px 100%),
    rgba(234, 228, 239, 0.72);
  background-size: 88px 100%, auto;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.mini-label {
  color: var(--purple);
  background: rgba(106, 28, 246, 0.08);
}

.section-heading h2,
.feature-intro h2,
.cta-panel h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.section-heading p:not(.mini-label),
.feature-intro p,
.cta-panel p,
.shelf-card p,
.quiz-card p,
.levels-card p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.shelf-card,
.quiz-card,
.levels-card {
  border-radius: 28px;
}

.shelf-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 7px 0 rgba(214, 203, 226, 0.9),
    0 18px 42px rgba(65, 36, 101, 0.08);
}

.shelf-card h3,
.quiz-card h3,
.levels-card h3 {
  margin: 18px 0 10px;
  font-size: 1.28rem;
  line-height: 1.12;
}

.shelf-card p,
.quiz-card p,
.levels-card p {
  margin: 0;
  font-size: 0.94rem;
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 999px;
  color: #111018;
  font-weight: 900;
}

.cyan {
  background: var(--cyan);
}

.purple {
  color: var(--purple);
  background: #eee5ff;
}

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

.orange {
  color: #ffffff;
  background: #ff7132;
}

.beige {
  background: #efe5d1;
}

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

.feature-intro p {
  max-width: 660px;
  margin: 16px 0 0;
}

.document-lines {
  display: grid;
  gap: 10px;
  width: 96px;
  padding: 14px;
  border: 1px solid rgba(106, 28, 246, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 0 rgba(214, 203, 226, 0.75);
}

.document-lines span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), rgba(107, 216, 255, 0.85));
}

.document-lines span:nth-child(2) {
  width: 72%;
}

.document-lines span:nth-child(3) {
  width: 88%;
}

.equalizer span,
.bars span {
  display: block;
  width: 6px;
  border-radius: 999px;
  background: var(--purple);
}

.equalizer span {
  height: 32px;
  opacity: 0.26;
}

.equalizer span:nth-child(2),
.bars span:nth-child(2) {
  height: 52px;
}

.equalizer span:nth-child(3),
.bars span:nth-child(3) {
  height: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 1.45fr;
  gap: 24px;
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.practice-stack {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.practice-stack span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(36, 25, 55, 0.1);
  border-radius: 14px;
  color: #241c31;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 18px rgba(65, 36, 101, 0.06);
  font: 900 0.86rem "Plus Jakarta Sans", Inter, sans-serif;
}

.app-metric small {
  line-height: 1.25;
}

.upload-card {
  display: grid;
  gap: 18px;
  padding-bottom: 22px;
}

.upload-card h3 {
  font-size: 1.45rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.mock-upload textarea {
  display: block;
  width: 100%;
  min-height: 200px;
  resize: none;
  padding: 20px 22px;
  border: 1px solid rgba(36, 25, 55, 0.12);
  border-radius: 22px;
  color: #5f566a;
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 2px 0 rgba(214, 203, 226, 0.7),
    0 8px 22px rgba(65, 36, 101, 0.05);
  font: 700 0.98rem/1.5 Inter, sans-serif;
}

.mock-confirm {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(36, 25, 55, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.mock-confirm input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--purple);
}

.mock-generate {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--purple);
  box-shadow:
    0 6px 0 var(--purple-dark),
    0 18px 32px rgba(106, 28, 246, 0.22);
  font: 900 1rem "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0.01em;
}

.challenge-mini,
.rights-mini {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.challenge-mini span,
.challenge-mini b,
.rights-mini span,
.rights-mini b {
  display: grid;
  min-height: 36px;
  place-items: center;
  border-radius: 999px;
  font: 900 0.78rem "Plus Jakarta Sans", Inter, sans-serif;
}

.challenge-mini span,
.rights-mini span {
  color: #ffffff;
  background: #19171f;
}

.challenge-mini b,
.rights-mini b {
  color: var(--purple);
  text-transform: uppercase;
}

.app-flow {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(30px, 5vw, 68px);
}

.flow-copy {
  position: sticky;
  top: 112px;
}

.flow-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.flow-copy p:not(.mini-label) {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

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

.flow-board article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(36, 25, 55, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow:
    0 6px 0 rgba(214, 203, 226, 0.75),
    0 18px 42px rgba(65, 36, 101, 0.08);
}

.flow-board article:nth-child(2) {
  margin-top: 34px;
}

.flow-board article:nth-child(3) {
  margin-top: -14px;
}

.flow-board span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #134c5d;
  background: rgba(107, 216, 255, 0.32);
  font: 900 0.68rem "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-board strong {
  display: block;
  font: 900 1.3rem/1.1 "Plus Jakarta Sans", Inter, sans-serif;
}

.flow-board p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.quiz-card {
  grid-column: span 2;
  min-height: 260px;
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, #8b20ff, #5c13e7);
  box-shadow:
    0 8px 0 #4b10be,
    0 22px 52px rgba(106, 28, 246, 0.2);
}

.quiz-card p {
  color: rgba(255, 255, 255, 0.86);
}

.card-kicker {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.quiz-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
}

.quiz-meter span {
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.65) 0 48%, transparent 48%),
    rgba(255, 255, 255, 0.13);
}

.quiz-meter b {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: #19171f;
  background: var(--yellow);
  box-shadow: 0 5px 0 #d4a800;
}

.vocab-card {
  min-height: 260px;
}

.word-table {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(36, 25, 55, 0.1);
  border-radius: 14px;
  background: #ffffff;
}

.word-table div {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  color: var(--teal);
  background: #eef7fa;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.word-table strong,
.word-table small {
  display: block;
  padding-inline: 12px;
}

.word-table strong {
  padding-top: 12px;
}

.word-table small {
  padding-bottom: 14px;
  color: var(--muted);
}

.wave-card {
  display: grid;
  place-items: center;
  min-height: 210px;
  text-align: center;
}

.bars {
  justify-content: center;
  height: 62px;
}

.bars span {
  height: 34px;
}

.levels-card {
  grid-column: span 2;
  min-height: 210px;
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 0 36%, transparent 36% 100%),
    linear-gradient(135deg, #ff9b18, #ff7a00);
  box-shadow:
    0 8px 0 #c76a00,
    0 18px 42px rgba(255, 122, 0, 0.18);
}

.levels-card p {
  color: rgba(255, 255, 255, 0.84);
}

.level-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.level-pills span {
  padding: 13px 17px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.mini-level {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.mini-level span {
  font: 900 0.72rem "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mini-level strong {
  font: 900 1.22rem/1.1 "Plus Jakarta Sans", Inter, sans-serif;
}

.mini-level small,
.mini-level b,
.mini-level em {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.mini-level.is-cleared {
  background: rgba(255, 255, 255, 0.18);
}

.cta-wrap {
  padding-top: 42px;
}

.cta-panel {
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 54px 24px;
  border-radius: 34px;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 42%, transparent 42% 58%, rgba(255, 255, 255, 0.08) 58%),
    linear-gradient(135deg, #7b2ff7, #5411d4);
  box-shadow:
    0 8px 0 #42109f,
    0 24px 60px rgba(106, 28, 246, 0.26);
}

.cta-panel h2 {
  max-width: 680px;
}

.cta-panel p {
  max-width: 650px;
  margin: 18px auto 28px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.outline-button {
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  padding: 0 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  color: #ffffff;
  font: 900 0.9rem "Plus Jakarta Sans", Inter, sans-serif;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 32px 32px 0 0;
  background: rgba(255, 255, 255, 0.56);
}

.footer p,
.footer small {
  color: var(--muted);
}

.footer-rights-note {
  max-width: 46ch;
  margin: 12px 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #4d435e;
  font-weight: 700;
}

.footer a:hover {
  color: var(--purple);
}

.features-page .section-pad {
  width: min(var(--max), calc(100% - 32px));
}

.feature-hero {
  display: grid;
  place-items: center;
  padding-top: 46px;
  padding-bottom: 20px;
  text-align: center;
}

.feature-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.8vw, 5.05rem);
}

.feature-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 600;
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 10px;
}

.feature-detail-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 7px 0 rgba(214, 203, 226, 0.9),
    0 18px 42px rgba(65, 36, 101, 0.08);
}

.feature-detail-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.02;
}

.feature-detail-card p:not(.card-kicker) {
  color: var(--muted);
  font-weight: 600;
}

.level-detail,
.challenge-detail {
  grid-column: span 2;
}

.feature-detail-card .mini-level {
  color: var(--ink);
  background: rgba(245, 241, 250, 0.9);
  box-shadow: inset 0 0 0 1px rgba(36, 25, 55, 0.08);
}

.feature-detail-card .mini-level.is-cleared {
  color: #ffffff;
  background: #19171f;
}

.feature-detail-card .mini-level small,
.feature-detail-card .mini-level b,
.feature-detail-card .mini-level em {
  color: #4d435e;
  background: rgba(255, 255, 255, 0.82);
}

.feature-detail-card .mini-level.is-cleared small,
.feature-detail-card .mini-level.is-cleared b,
.feature-detail-card .mini-level.is-cleared em {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.question-snippets {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.question-snippets span,
.challenge-preview {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(25, 23, 31, 0.07);
}

.question-snippets span {
  padding: 18px 20px;
  color: #1f1c26;
  font: 900 1rem "Plus Jakarta Sans", Inter, sans-serif;
}

.challenge-detail {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 38%, transparent 38% 100%),
    linear-gradient(135deg, #7b2ff7, #5411d4);
  box-shadow:
    0 8px 0 #42109f,
    0 22px 52px rgba(106, 28, 246, 0.22);
}

.challenge-detail p:not(.card-kicker) {
  color: rgba(255, 255, 255, 0.86);
}

.challenge-preview {
  display: grid;
  gap: 8px;
  max-width: 440px;
  margin-top: 24px;
  padding: 20px;
  color: var(--ink);
}

.challenge-preview span,
.challenge-preview b {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--purple);
  background: rgba(106, 28, 246, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.challenge-preview strong {
  font: 900 1.35rem "Plus Jakarta Sans", Inter, sans-serif;
}

.challenge-preview small {
  color: var(--muted);
  font-weight: 800;
}

body[dir="rtl"] .phone-card {
  transform: none;
}

body[dir="rtl"] .feature-intro,
body[dir="rtl"] .site-header,
body[dir="rtl"] .footer {
  direction: rtl;
}

@media (max-width: 900px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    justify-content: end;
    margin-left: auto;
  }

  .header-download {
    display: none;
  }

  select {
    width: 132px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
    text-align: center;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .eyebrow,
  .mini-label {
    margin-inline: auto;
  }

  h1 {
    max-width: min(100%, 10ch);
    margin-inline: auto;
    font-size: clamp(2.4rem, 10.8vw, 3.05rem);
  }

  .hero-text {
    margin-inline: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
    margin-inline: auto;
  }

  .phone-stage {
    min-height: 680px;
  }

  .hero-visual {
    overflow: visible;
  }

  .phone-card {
    width: 100%;
  }

  .accuracy-card {
    display: none;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .quiz-card,
  .levels-card {
    grid-column: auto;
  }

  .feature-intro {
    display: block;
    text-align: start;
  }

  .document-lines {
    margin-top: 24px;
  }

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

  .feature-detail-grid {
    grid-template-columns: 1fr;
  }

  .app-flow {
    grid-template-columns: 1fr;
  }

  .flow-copy {
    position: static;
    text-align: center;
  }

  .flow-copy .mini-label {
    margin-inline: auto;
  }

  .level-detail,
  .challenge-detail {
    grid-column: auto;
  }

  .level-preview {
    grid-template-columns: 1fr;
  }

  .feature-hero h1 {
    max-width: min(100%, 11ch);
    font-size: clamp(2.55rem, 11vw, 3.1rem);
  }

  .feature-hero p:not(.eyebrow) {
    max-width: min(100%, 32ch);
  }

  .level-detail .mini-level {
    color: #ffffff;
    background:
      radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.18), transparent 22%),
      linear-gradient(135deg, #ff9b18, #ff7a00);
  }
}

@media (max-width: 520px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 14px;
    overflow: hidden;
  }

  .header-actions {
    position: static !important;
    justify-self: end;
    z-index: 40;
    margin-left: 0;
  }

  body[dir="rtl"] .header-actions {
    margin-right: 0;
  }

  .brand {
    gap: 7px;
    font-size: 0.98rem;
  }

  .brand-lockup {
    gap: 7px;
  }

  .development-badge {
    padding: 5px 7px;
    font-size: 0.54rem;
    letter-spacing: 0.03em;
  }

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

  select {
    width: 82px !important;
    min-height: 39px;
    font-size: 0.78rem;
  }

  .section-pad {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    overflow: hidden;
    padding: 56px 0;
  }

  .features-page .section-pad {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero {
    gap: 34px;
    padding-top: 36px;
  }

  .hero-copy,
  .feature-hero,
  .feature-detail-card {
    max-width: 100%;
    overflow: hidden;
  }

  h1,
  .feature-hero h1 {
    width: 100%;
    max-width: 330px !important;
    font-size: 2rem !important;
    line-height: 1.04;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .rhythm {
    font-size: 0.92em;
  }

  .eyebrow {
    font-size: 0.62rem;
  }

  .hero-text {
    max-width: min(100%, 30ch);
    font-size: 0.92rem;
  }

  .hero-proof {
    gap: 7px;
    max-width: 310px;
  }

  .hero-proof span {
    padding: 7px 9px;
    font-size: 0.66rem;
  }

  .store-buttons {
    display: grid;
    gap: 14px;
  }

  .store-button {
    min-width: min(100%, 322px);
  }

  .flow-board {
    grid-template-columns: 1fr;
  }

  .flow-board article,
  .flow-board article:nth-child(2),
  .flow-board article:nth-child(3) {
    min-height: auto;
    margin-top: 0;
    padding: 18px;
  }

  .flow-board span {
    margin-bottom: 18px;
  }

  .phone-stage {
    min-height: 628px;
  }

  .phone-card {
    width: 100%;
  }

  .phone-shell {
    width: min(100%, 304px);
    min-height: 594px;
    border-width: 8px;
    padding: 14px 12px 14px;
  }

  .demo-screen {
    min-height: 558px;
    gap: 8px;
  }

  .demo-content-card {
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    padding: 8px;
  }

  .demo-cover {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .demo-play {
    width: 34px;
    height: 34px;
  }

  .demo-copy h2 {
    font-size: 1rem;
  }

  .demo-question-area {
    min-height: 228px;
    gap: 9px;
  }

  .demo-meaning-card {
    padding: 13px;
  }

  .demo-meaning-card strong {
    font-size: 1.38rem;
  }

  .demo-highlight-word {
    padding: 14px 12px;
    font-size: 1.72rem;
  }

  .demo-text-panel,
  .demo-fill-panel {
    border-radius: 24px;
    padding: 14px 10px;
  }

  .demo-word-tap {
    font-size: 1rem;
  }

  .demo-fill-line {
    font-size: 0.86rem;
  }

  .demo-fill-blank {
    min-width: 62px;
    min-height: 34px;
  }

  .demo-bank-chip {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .demo-feedback {
    font-size: 0.64rem;
  }

  .demo-option {
    min-height: 36px;
    padding: 7px 8px;
    border-radius: 14px;
    font-size: 0.72rem;
  }

  .demo-action {
    min-height: 40px;
  }

  .waveform span {
    width: 5px;
    height: 34px;
  }

  .waveform span:nth-child(2n) {
    height: 55px;
  }

  .accuracy-card {
    width: 142px;
    padding: 13px;
    right: -1px;
    bottom: 28px;
  }

  .how {
    padding-inline: 12px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .feature-intro h2,
  .cta-panel h2 {
    font-size: 2rem;
  }

  .shelf-card,
  .quiz-card,
  .levels-card {
    padding: 22px;
    border-radius: 22px;
  }

  .quiz-meter {
    grid-template-columns: 1fr 48px;
  }

  .quiz-meter b {
    width: 48px;
    height: 48px;
  }

  .cta-panel {
    min-height: 300px;
    border-radius: 28px;
  }

  .cta-actions {
    display: grid;
  }

  .footer {
    width: 100%;
    margin-bottom: 0;
    padding: 30px 18px;
    border-radius: 28px 28px 0 0;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer nav {
    justify-content: center;
    gap: 14px 20px;
  }

  .feature-detail-card {
    padding: 22px;
    border-radius: 24px;
    width: 100%;
  }

  .feature-hero h1 {
    max-width: 300px !important;
    font-size: 2rem !important;
  }

  .feature-detail-card h2 {
    font-size: 1.55rem;
    line-height: 1.08;
  }

  .level-preview,
  .mini-level {
    min-width: 0;
    max-width: 100%;
  }

  .level-detail .mini-level {
    width: 100%;
  }
}
