:root {
  --bg: #fbf9f8;
  --surface: #ffffff;
  --surface-high: #f3f0f4;
  --surface-soft: #f7f5ff;
  --text: #1b1c1c;
  --muted: #656461;
  --muted-strong: #45444c;
  --primary: #3525cd;
  --primary-vivid: #3525cd;
  --primary-mid: #5a4be7;
  --primary-soft: #e2dfff;
  --blue: #3b82f6;
  --blue-soft: #e8f1ff;
  --purple: #7c3aed;
  --line: #c7c4d8;
  --white: #ffffff;
  --orange: #f97316;
  --green: #16a34a;
  --container: 1180px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 28px 80px rgba(53, 37, 205, 0.13);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(251, 249, 248, 0.74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 249, 248, 0.94);
  border-color: rgba(53, 37, 205, 0.12);
}

.nav-wrap,
.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(53, 37, 205, 0.34);
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 180ms ease;
}

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

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

.primary-nav {
  position: fixed;
  inset: 72px 0 auto;
  display: grid;
  gap: 4px;
  padding: 16px 20px 24px;
  background: rgba(251, 249, 248, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 200ms ease, opacity 200ms ease;
}

.primary-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.primary-nav a {
  padding: 12px 10px;
  color: var(--muted-strong);
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 132px 0 calc(min(108vw, 560px) + 82px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(53, 37, 205, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: -1;
  width: min(108vw, 560px);
  aspect-ratio: 1;
  background: url("images/hero-phone-v2.png") center / contain no-repeat;
  mix-blend-mode: normal;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-glow-one {
  display: none;
}

.hero-glow-two {
  bottom: -260px;
  left: -260px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.13), transparent 68%);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 54px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 800px;
  margin: 20px 0 30px;
  font-size: clamp(3rem, 13vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -0.07em;
  overflow: visible;
}

.hero h1 span {
  display: block;
  margin-bottom: -0.1em;
  padding-bottom: 0.1em;
  color: transparent;
  background: linear-gradient(100deg, var(--primary) 8%, var(--blue) 54%, var(--purple) 104%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 3.5vw, 1.22rem);
  line-height: 1.7;
}

.store-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 18px rgba(27, 28, 28, 0.18));
}

.store-badge img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.store-badge-app img {
  height: 52px;
}

.store-badge-play img {
  width: 202px;
  max-width: none;
  height: auto;
  margin: -13px -17px;
}

.launch-note {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  transition: color 180ms ease;
}

.launch-note.is-visible {
  color: var(--primary);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  font-size: 11px;
  font-style: normal;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(185, 174, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.orbit-one {
  width: 90%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 68%;
  aspect-ratio: 1;
  border-color: rgba(240, 173, 255, 0.14);
  transform: rotate(27deg);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(53, 37, 205, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(53, 37, 205, 0.16);
  backdrop-filter: blur(14px);
}

.float-card strong,
.float-card small {
  display: block;
  white-space: nowrap;
}

.float-card strong {
  font-size: 12px;
}

.float-card small {
  color: var(--muted);
  font-size: 9px;
}

.float-icon,
.feature-icon {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(185, 174, 255, 0.13);
  color: var(--primary);
  font-weight: 800;
}

.float-icon {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.float-card-word {
  top: 21%;
  left: -2%;
}

.float-card-streak {
  right: -1%;
  bottom: 19%;
}

.flame {
  color: #b84f08;
  background: rgba(255, 159, 67, 0.12);
}

.feature-icon.flame {
  font-size: 22px;
}

.trust-strip {
  border-block: 1px solid rgba(53, 37, 205, 0.11);
  background: rgba(255, 255, 255, 0.72);
}

.trust-grid {
  display: grid;
  gap: 0;
}

.trust-grid p {
  margin: 0;
  padding: 17px 0;
  border-bottom: 1px solid rgba(53, 37, 205, 0.09);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: center;
}

.trust-grid p:last-child {
  border-bottom: 0;
}

.trust-grid strong {
  color: var(--primary);
}

.language-band {
  padding: 70px 0 10px;
}

.language-layout {
  display: grid;
  gap: 30px;
  padding: 30px;
  border: 1px solid rgba(53, 37, 205, 0.15);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.13), transparent 42%),
    linear-gradient(135deg, var(--surface), var(--surface-soft));
  box-shadow: 0 20px 55px rgba(53, 37, 205, 0.08);
}

.language-copy h2 {
  max-width: 620px;
  margin: 12px 0 12px;
  font-size: clamp(1.85rem, 7vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.language-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.language-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid rgba(53, 37, 205, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.language-list li:last-child {
  grid-column: auto;
}

.language-list span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary-soft), var(--blue-soft));
  color: var(--primary);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading h2,
.reading-copy h2,
.cta-card h2 {
  margin: 14px 0 18px;
  font-size: clamp(2.15rem, 8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-heading p,
.reading-copy > p,
.cta-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 430px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 255, 0.96));
  box-shadow: 0 18px 50px rgba(53, 37, 205, 0.07);
}

.feature-card-primary {
  border-color: rgba(185, 174, 255, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 223, 255, 0.55));
}

.feature-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #86838f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 30px;
  font-size: 17px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.feature-card > p {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.7;
}

.word-demo,
.progress-demo,
.week-demo {
  margin-top: auto;
  border: 1px solid rgba(185, 174, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.word-demo {
  padding: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.word-demo strong {
  color: var(--primary);
}

.word-pronunciation {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

.word-meaning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.word-meaning i {
  color: var(--primary);
  font-style: normal;
}

.progress-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  padding: 18px;
}

.progress-demo div {
  display: flex;
  flex-direction: column-reverse;
}

.progress-demo span {
  color: var(--muted);
  font-size: 11px;
}

.progress-demo strong {
  color: var(--primary);
  font-size: 26px;
}

.progress-demo .progress-track {
  grid-column: 1 / -1;
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-high);
}

.progress-track i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-vivid), var(--primary));
}

.week-demo {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 16px 12px;
}

.week-demo span {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.week-demo i {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  font-size: 12px;
  font-style: normal;
}

.week-demo .today i {
  background: linear-gradient(135deg, var(--orange), #ffb453);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.1);
}

.inside {
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1), transparent 36%),
    var(--surface-soft);
}

.section-heading-split {
  max-width: none;
}

.screens-grid {
  display: grid;
  gap: 18px;
}

.screen-card {
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.screen-copy {
  position: relative;
  z-index: 2;
  padding: 28px 26px 10px;
}

.screen-copy > span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.screen-copy h3 {
  margin: 9px 0 9px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.screen-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.device-shot {
  position: relative;
  width: 76%;
  max-width: 300px;
  height: 445px;
  margin: 32px auto -80px;
  overflow: hidden;
  border: 8px solid #08090c;
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
  background: #fdfafa;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.device-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  object-position: top center;
}

.reading-section {
  padding: 96px 0;
  overflow: hidden;
}

.reading-grid {
  display: grid;
  gap: 50px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted-strong);
}

.check-list span {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.reading-sample {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(185, 174, 255, 0.24);
  border-radius: var(--radius-lg);
  background: #f7f5f3;
  color: #1b1c1c;
  box-shadow: var(--shadow);
}

.reading-sample::before {
  content: "";
  position: absolute;
  inset: -26px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.17), transparent 67%);
  filter: blur(10px);
}

.sample-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
  color: #6b6874;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.reading-sample > p {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 5.5vw, 1.8rem);
  line-height: 1.65;
}

.sample-word {
  display: inline;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--primary-vivid);
  font-family: inherit;
  font-style: italic;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(53, 37, 205, 0.26);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.sample-word:hover,
.sample-word.is-active {
  color: #2412be;
  background: var(--primary-soft);
  border-radius: 4px;
}

.sample-translation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px solid #d1cedc;
  border-radius: 14px;
  font-family: Inter, sans-serif;
}

.sample-translation span {
  color: #6b6874;
  font-size: 11px;
}

.sample-translation strong {
  font-size: 12px;
  text-align: right;
}

.sample-translation.is-active {
  border-color: #a69bff;
  background: #eeebff;
}

.final-cta {
  padding-top: 20px;
}

.cta-card {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 34px 28px;
  overflow: hidden;
  border: 1px solid rgba(185, 174, 255, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 0 100%, rgba(59, 130, 246, 0.18), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.14), transparent 38%),
    linear-gradient(135deg, #ffffff, #f0edff);
}

.cta-card img {
  width: min(210px, 58vw);
  margin-inline: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(53, 37, 205, 0.12);
  border-radius: 30px;
  box-shadow: 0 24px 55px rgba(53, 37, 205, 0.2);
}

.cta-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--primary-vivid);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(53, 37, 205, 0.35);
}

.button-primary:hover {
  background: #4938df;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(185, 174, 255, 0.5);
  background: rgba(185, 174, 255, 0.06);
}

.cta-status {
  min-height: 22px;
  margin: 12px 0 0 !important;
  color: var(--muted);
  font-size: 12px !important;
}

.cta-status.is-visible {
  color: var(--primary);
}

.site-footer {
  padding: 34px 0 24px;
  border-top: 1px solid rgba(53, 37, 205, 0.11);
}

.footer-main {
  display: grid;
  gap: 18px;
  align-items: center;
  padding-bottom: 26px;
}

.footer-main > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-main nav a,
.legal-footer a {
  color: var(--muted-strong);
  font-size: 13px;
  transition: color 180ms ease;
}

.footer-main nav a:hover,
.legal-footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(53, 37, 205, 0.08);
  color: var(--muted);
  font-size: 11px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages */
.legal-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(59, 130, 246, 0.12), transparent 28%),
    var(--bg);
}

.legal-header {
  border-bottom: 1px solid rgba(53, 37, 205, 0.11);
  background: rgba(251, 249, 248, 0.88);
  backdrop-filter: blur(16px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 600;
}

.back-link:hover {
  color: var(--primary);
}

.legal-main {
  padding: 70px 0 100px;
}

.legal-article {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

.legal-title {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.legal-badge {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255, 159, 67, 0.24);
  border-radius: 999px;
  background: rgba(255, 159, 67, 0.08);
  color: #9a3f07;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-title h1 {
  margin: 20px 0 8px;
  font-size: clamp(2.7rem, 10vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.legal-updated {
  margin-bottom: 22px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.legal-title > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.legal-notice {
  margin: 30px 0 50px;
  padding: 18px;
  border: 1px solid rgba(255, 159, 67, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 159, 67, 0.06);
}

.legal-notice strong {
  color: #9a3f07;
  font-size: 13px;
}

.legal-notice p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-article section {
  margin-top: 44px;
}

.legal-article h2 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.legal-article h3 {
  margin: 26px 0 8px;
  color: var(--muted-strong);
  font-size: 16px;
}

.legal-article section p,
.legal-article li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.legal-article section p:last-child {
  margin-bottom: 0;
}

.legal-article ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.legal-article a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(185, 174, 255, 0.32);
  text-underline-offset: 3px;
}

.legal-footer {
  padding: 22px 0;
  border-top: 1px solid rgba(53, 37, 205, 0.11);
  color: var(--muted);
  font-size: 12px;
}

.legal-footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 560px) {
  .cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-actions {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

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

  .trust-grid p {
    border-right: 1px solid rgba(53, 37, 205, 0.09);
    border-bottom: 0;
  }

  .trust-grid p:last-child {
    border-right: 0;
  }

  .feature-card {
    padding: 32px;
  }

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

  .screen-card-tall {
    grid-column: 1 / -1;
  }

  .cta-card {
    grid-template-columns: 200px 1fr;
    padding: 42px;
  }

  .legal-footer .container,
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 820px) {
  .container {
    width: min(100% - 64px, var(--container));
  }

  .nav-wrap,
  .legal-nav {
    min-height: 82px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav a {
    position: relative;
    padding: 10px 0;
    font-size: 13px;
  }

  .primary-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
  }

  .primary-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .hero {
    min-height: 800px;
    padding: 150px 0 86px;
  }

  .hero::after {
    top: 96px;
    right: max(20px, calc((100vw - var(--container)) / 2 - 34px));
    bottom: 18px;
    left: auto;
    width: min(58vw, 760px);
    background-position: right center;
    transform: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 7vw, 6rem);
  }

  .float-card-word {
    left: -1%;
  }

  .float-card-streak {
    right: -2%;
  }

  .section {
    padding: 128px 0;
  }

  .section-heading-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 80px;
    align-items: end;
  }

  .section-heading-split h2 {
    margin-bottom: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card {
    display: flex;
    min-height: 500px;
    flex-direction: column;
  }

  .screens-grid {
    grid-template-columns: 1.18fr 0.91fr 0.91fr;
  }

  .screen-card-tall {
    grid-column: auto;
  }

  .screen-card-tall .device-shot {
    width: 70%;
  }

  .reading-section {
    padding: 140px 0;
  }

  .reading-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 90px;
  }

  .reading-sample {
    padding: 42px;
  }

  .reading-sample > p {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
  }

  .cta-card {
    grid-template-columns: 270px 1fr;
    gap: 58px;
    padding: 58px 64px;
  }

  .cta-card img {
    width: 270px;
  }

  .cta-actions {
    max-width: 440px;
  }

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

  .footer-main > p {
    padding-left: 24px;
  }

  .legal-main {
    padding: 100px 0 140px;
  }
}

@media (min-width: 820px) and (orientation: landscape) {
  .hero-lede {
    max-width: 560px;
    padding-right: clamp(18px, 2vw, 32px);
    text-wrap: pretty;
  }

  .hero::after {
    right: clamp(0px, 2vw, 28px);
    width: min(47vw, 700px);
  }
}

@media (min-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1.07fr 0.93fr;
    gap: 48px;
  }

  .hero::after {
    width: min(47vw, 700px);
  }

  .language-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(590px, 1.22fr);
    align-items: center;
    padding: 42px;
  }

  .float-card {
    padding: 14px 16px;
  }

  .float-card strong {
    font-size: 13px;
  }

  .float-card small {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
