:root {
  --blue: #0f83e6;
  --blue-dark: #075aa7;
  --blue-soft: #eaf4ff;
  --ink: #1f2733;
  --ink-soft: #5f6b7b;
  --line: #dfe7f1;
  --surface: #ffffff;
  --background: #f5f7fa;
  --green: #38b86c;
  --green-soft: #e9f8ef;
  --purple: #875fd5;
  --purple-soft: #f1ebff;
  --coral: #ee765d;
  --coral-soft: #fff0ec;
  --yellow: #f4b63f;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow: 0 18px 56px rgba(22, 62, 105, 0.14);
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
a,
input {
  font: inherit;
  letter-spacing: 0;
}

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

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

button {
  border: 0;
}

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

svg {
  width: 1em;
  height: 1em;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 78px;
  color: white;
  transition: background 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(22, 44, 70, 0.1);
  backdrop-filter: blur(16px);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: var(--shell);
  margin-inline: auto;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(3, 53, 103, 0.18);
}

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

.site-nav > a:not(.nav-cta) {
  opacity: 0.84;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  opacity: 1;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius-sm);
}

.scrolled .nav-cta,
.menu-open .nav-cta {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-sm);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button {
  display: none;
  font-size: 24px;
}

.hero {
  position: relative;
  min-height: min(880px, 100svh);
  overflow: hidden;
  color: white;
  background: #1488e9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 33%;
  background: linear-gradient(to bottom, rgba(5, 80, 147, 0), rgba(5, 80, 147, 0.28));
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  width: 810px;
  height: 810px;
  right: -280px;
  top: -210px;
  border-radius: 180px;
  opacity: 0.1;
  filter: saturate(0.5);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  min-height: min(820px, calc(100svh - 58px));
  margin-inline: auto;
  padding-top: 130px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  padding-bottom: 70px;
}

.product-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  font-size: 15px;
  font-weight: 650;
}

.product-mark img {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 32px rgba(4, 56, 104, 0.24);
}

.hero h1 {
  margin: 0;
  font-size: 84px;
  line-height: 0.96;
  font-weight: 780;
}

.hero-kicker {
  margin: 26px 0 14px;
  max-width: 600px;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.75;
}

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

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-links a {
  display: block;
  width: 120px;
  height: 40px;
  line-height: 0;
}

.store-links img {
  width: 100%;
  height: 100%;
  transition: transform 150ms ease, filter 150ms ease;
}

.store-links a:hover img,
.store-links a:focus-visible img {
  filter: drop-shadow(0 8px 12px rgba(4, 56, 104, 0.22));
  transform: translateY(-2px);
}

.store-links a:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
  border-radius: 4px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

.button-light {
  color: var(--blue-dark);
  background: white;
  box-shadow: 0 12px 30px rgba(4, 56, 104, 0.2);
}

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

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.launch-note > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ee6a9;
  box-shadow: 0 0 0 4px rgba(142, 230, 169, 0.15);
}

.hero-product {
  position: relative;
  height: 670px;
  align-self: end;
}

.phone {
  position: absolute;
  width: 358px;
  height: 712px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 48px;
  background: #14253a;
  box-shadow: 0 34px 70px rgba(2, 47, 88, 0.32);
}

.phone-hero {
  left: 50%;
  bottom: -88px;
  transform: translateX(-50%) rotate(2deg);
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  width: 112px;
  height: 26px;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 16px;
  background: #14253a;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  padding: 14px 18px 0;
  color: var(--ink);
  background: #f4f5fa;
  border-radius: 37px;
}

.status-bar,
.mini-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #293240;
  font-size: 10px;
  font-weight: 700;
}

.status-bar {
  padding: 2px 5px 17px;
}

.app-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 18px;
}

.app-title-row small {
  color: var(--ink-soft);
  font-size: 11px;
}

.app-title-row h2 {
  margin: 3px 0 0;
  color: #222;
  font-size: 24px;
  line-height: 1;
}

.app-title-row img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.level-panel {
  padding: 16px;
  border: 1px solid #dce9f7;
  border-radius: var(--radius-lg);
  background: white;
}

.level-topline,
.lesson-label,
.sentence-meta,
.sentence-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.level-topline {
  font-size: 13px;
  font-weight: 650;
}

.level-topline strong {
  color: var(--blue);
  font-size: 20px;
}

.progress-track {
  height: 7px;
  margin: 12px 0 10px;
  overflow: hidden;
  border-radius: 4px;
  background: #dfeaf5;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.level-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.lesson-label {
  margin: 24px 2px 10px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.sentence-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 8px 24px rgba(28, 63, 101, 0.07);
}

.sentence-meta {
  color: var(--ink-soft);
  font-size: 10px;
}

.new-badge {
  padding: 4px 7px;
  color: #9b593d;
  border-radius: 7px;
  background: var(--coral-soft);
}

.sentence-card > p {
  margin: 17px 0 8px;
  font-size: 17px;
  font-weight: 730;
}

.translation {
  color: var(--ink-soft);
  font-size: 11px;
}

.sentence-actions {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 9px;
}

.sentence-actions button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border-radius: 50%;
  background: var(--blue-soft);
}

.phone-primary,
.mini-button {
  width: 100%;
  color: white;
  background: var(--blue);
  font-weight: 700;
}

.phone-primary {
  height: 46px;
  margin-top: 20px;
  border-radius: var(--radius-md);
}

.phone-tabs {
  position: absolute;
  inset: auto 14px 10px;
  height: 67px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  color: #8a96a5;
  border-top: 1px solid #e4e9ef;
  background: #f4f5fa;
  font-size: 8px;
}

.phone-tabs span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.phone-tabs svg {
  font-size: 21px;
}

.phone-tabs .active {
  color: var(--blue);
}

.context-label {
  position: absolute;
  z-index: 3;
  width: 150px;
  padding: 13px 15px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 14px 36px rgba(4, 56, 104, 0.16);
}

.context-label span,
.context-label strong {
  display: block;
}

.context-label span {
  color: var(--ink-soft);
  font-size: 10px;
}

.context-label strong {
  margin-top: 4px;
  font-size: 13px;
}

.context-label-one {
  left: -12px;
  top: 116px;
  transform: rotate(-3deg);
}

.context-label-two {
  right: -12px;
  bottom: 180px;
  transform: rotate(3deg);
}

.hero-next {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  background: white;
  font-size: 11px;
  font-weight: 650;
}

.section-pad {
  padding: 120px 0;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.belief {
  background: white;
}

.belief-layout {
  display: grid;
  grid-template-columns: 0.55fr 1.35fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.belief-heading h2,
.section-heading h2,
.progress-copy h2,
.audience-heading h2,
.closing h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.25;
  font-weight: 760;
}

.belief-copy p,
.section-heading > p,
.progress-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.difficulty-visual {
  margin-top: 72px;
  padding: 36px 42px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--background);
}

.difficulty-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.difficulty-intro span {
  color: var(--ink-soft);
  font-size: 13px;
}

.difficulty-intro strong {
  font-size: 16px;
}

.word-path {
  display: grid;
  grid-template-columns: max-content 1fr max-content 1fr max-content;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
}

.path-stage {
  min-width: 160px;
}

.path-stage small,
.path-stage strong {
  display: block;
}

.path-stage small {
  margin: 12px 0 5px;
  color: var(--ink-soft);
  font-size: 11px;
}

.path-stage strong {
  font-size: 13px;
}

.stage-dot {
  display: block;
  width: 16px;
  height: 16px;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px #b8dfc8;
}

.stage-learning .stage-dot {
  background: var(--coral);
  box-shadow: 0 0 0 1px #f3b7aa;
}

.stage-next {
  opacity: 0.58;
}

.stage-next .stage-dot {
  background: #aab5c1;
  box-shadow: 0 0 0 1px #ccd4dc;
}

.path-line {
  height: 2px;
  overflow: hidden;
  background: #d5e0e9;
}

.path-line span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--green);
}

.path-line-future span {
  width: 28%;
  background: var(--coral);
}

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

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
}

.section-heading h2 {
  margin-top: 14px;
}

.section-heading > p {
  max-width: 420px;
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  margin-top: 70px;
  align-items: center;
}

.feature-tabs {
  border-top: 1px solid #cfd9e4;
}

.feature-tab {
  position: relative;
  width: 100%;
  min-height: 116px;
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  align-items: center;
  gap: 14px;
  padding: 20px 4px;
  text-align: left;
  color: var(--ink);
  border-bottom: 1px solid #cfd9e4;
  background: transparent;
  cursor: pointer;
}

.feature-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 3px;
  background: var(--blue);
  transition: width 220ms ease;
}

.feature-tab.active::before {
  width: 100%;
}

.tab-number {
  align-self: start;
  padding-top: 3px;
  color: #97a2af;
  font-size: 11px;
}

.tab-copy strong,
.tab-copy small {
  display: block;
}

.tab-copy strong {
  font-size: 19px;
}

.tab-copy small {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.feature-tab > svg {
  color: #98a5b3;
  font-size: 19px;
  transition: color 150ms ease, transform 150ms ease;
}

.feature-tab.active > svg {
  color: var(--blue);
  transform: translate(2px, -2px);
}

.feature-stage {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #dfeefa;
}

.feature-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 50%);
}

.feature-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 660px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: end center;
  padding: 38px 38px 32px;
  animation: panel-in 300ms ease both;
}

.feature-panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mini-phone {
  width: 308px;
  height: 520px;
  padding: 14px 16px 18px;
  overflow: hidden;
  border: 8px solid #203044;
  border-bottom-width: 0;
  border-radius: 36px 36px 0 0;
  color: var(--ink);
  background: #f4f5fa;
  box-shadow: 0 24px 44px rgba(22, 54, 86, 0.2);
}

.mini-status {
  padding: 0 4px 14px;
  font-size: 8px;
}

.mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 2px 20px;
}

.mini-heading.centered {
  justify-content: center;
}

.mini-heading h3 {
  margin: 0;
  font-size: 18px;
}

.mini-heading svg {
  color: var(--blue);
  font-size: 20px;
}

.mini-heading.centered svg {
  position: absolute;
  right: 24px;
}

.prompt-box {
  height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px;
  border: 1px solid #8e61ea;
  border-radius: var(--radius-md);
  background: white;
}

.prompt-box p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.prompt-box > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prompt-box > div > span {
  display: flex;
  gap: 10px;
  color: var(--blue);
  font-size: 18px;
}

.prompt-box b {
  padding: 7px 12px;
  color: white;
  border-radius: var(--radius-sm);
  background: var(--blue);
  font-size: 9px;
}

.recent-label {
  display: block;
  margin: 20px 0 9px;
  color: var(--ink-soft);
}

.word-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  padding: 11px 12px;
  border: 1px solid #e1e8ef;
  border-radius: var(--radius-md);
  background: white;
}

.word-card b,
.word-card span,
.word-card p {
  display: block;
}

.word-card b {
  font-size: 12px;
}

.word-card div > span {
  margin-top: 2px;
  color: #8793a0;
  font-size: 8px;
}

.word-card p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
}

.mastery {
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 8px;
}

.mastery.learning {
  color: #9a6334;
  background: #fff3df;
}

.mastery.known {
  color: #258d51;
  background: var(--green-soft);
}

.panel-caption {
  width: 100%;
  padding-top: 20px;
  color: var(--ink);
  border-top: 1px solid rgba(37, 80, 120, 0.18);
}

.panel-caption span,
.panel-caption strong {
  display: block;
}

.panel-caption span {
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 750;
}

.panel-caption strong {
  font-size: 14px;
  line-height: 1.55;
}

.level-map {
  display: grid;
  gap: 10px;
}

.level-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 28px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  background: white;
}

.level-row span {
  font-size: 10px;
}

.level-row b {
  font-size: 11px;
}

.level-row svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
}

.known-row svg {
  color: var(--green);
  background: var(--green-soft);
}

.now-row {
  border: 1px solid #f5b7a9;
}

.now-row svg {
  color: var(--coral);
  background: var(--coral-soft);
}

.later-row {
  color: #7c8793;
  opacity: 0.72;
}

.later-row svg {
  background: #e9edf2;
}

.example-sentence {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: white;
}

.example-sentence small,
.example-sentence span {
  color: var(--ink-soft);
  font-size: 9px;
}

.example-sentence p {
  margin: 10px 0 5px;
  font-size: 13px;
  font-weight: 700;
}

.example-sentence mark {
  padding: 2px 3px;
  color: #a85439;
  background: var(--coral-soft);
}

.mini-button {
  height: 40px;
  margin-top: 17px;
  border-radius: var(--radius-sm);
  font-size: 11px;
}

.conversation-ui {
  background: white;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.chat-bubble {
  max-width: 88%;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 10px;
}

.chat-bubble p {
  margin: 5px 0;
  font-weight: 650;
  line-height: 1.4;
}

.chat-bubble small,
.chat-bubble span {
  color: var(--ink-soft);
  font-size: 8px;
}

.chat-bubble.assistant {
  align-self: flex-start;
  background: #f1f3f6;
  border-top-left-radius: 3px;
}

.chat-bubble.user {
  align-self: flex-end;
  color: white;
  background: var(--blue);
  border-top-right-radius: 3px;
}

.feedback-line {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 9px;
}

.voice-composer {
  position: relative;
  top: 56px;
  height: 68px;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-top: 1px solid var(--line);
}

.voice-composer > span {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: white;
  border-radius: var(--radius-sm);
  background: var(--blue);
  font-size: 9px;
}

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

.scene-item {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid #e0e7ee;
  border-radius: var(--radius-md);
  background: white;
}

.scene-item svg {
  color: var(--purple);
  font-size: 22px;
}

.scene-item b {
  margin: 9px 0 3px;
  font-size: 11px;
}

.scene-item span {
  color: var(--ink-soft);
  font-size: 8px;
}

.scene-item.done {
  border-color: #b7e6c8;
  background: var(--green-soft);
}

.scene-item.done svg {
  color: var(--green);
}

.scene-item.active {
  border-color: #f1b8ab;
  background: var(--coral-soft);
}

.scene-item.active svg {
  color: var(--coral);
}

.progress-section {
  background: white;
}

.progress-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 92px;
}

.progress-copy h2 {
  margin: 16px 0 28px;
}

.progress-points {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.progress-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
}

.progress-points svg {
  width: 22px;
  height: 22px;
  padding: 5px;
  color: var(--green);
  border-radius: 50%;
  background: var(--green-soft);
}

.progress-dashboard {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--background);
  box-shadow: var(--shadow);
}

.dashboard-top,
.chart-title,
.achievement {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-top div small,
.dashboard-top div strong {
  display: block;
}

.dashboard-top small {
  color: var(--ink-soft);
  font-size: 11px;
}

.dashboard-top strong {
  margin-top: 3px;
  font-size: 20px;
}

.dashboard-top > span {
  padding: 8px 10px;
  color: #278b51;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  font-size: 10px;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.metric {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}

.metric > svg {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 7px;
  color: var(--blue);
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
}

.metric:nth-child(2) > svg {
  color: var(--purple);
  background: var(--purple-soft);
}

.metric:nth-child(3) > svg {
  color: var(--coral);
  background: var(--coral-soft);
}

.metric b,
.metric small {
  display: block;
}

.metric b {
  font-size: 18px;
}

.metric small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 8px;
}

.weekly-chart {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}

.chart-title {
  font-size: 11px;
  font-weight: 650;
}

.chart-title b {
  color: var(--green);
}

.bars {
  height: 128px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 15px;
  margin-top: 20px;
  padding: 0 6px;
  border-bottom: 1px solid var(--line);
}

.bars span {
  min-height: 8px;
  border-radius: 5px 5px 0 0;
  background: #bcd7f2;
}

.bars span.today {
  background: var(--blue);
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  padding: 7px 6px 0;
  color: #8d99a6;
  font-size: 8px;
  text-align: center;
}

.achievement {
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #f0c2b7;
  border-radius: var(--radius-md);
  background: var(--coral-soft);
}

.achievement-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--coral);
  border-radius: var(--radius-sm);
  background: white;
}

.achievement > span:nth-child(2) {
  flex: 1;
}

.achievement small,
.achievement b {
  display: block;
}

.achievement small {
  color: #a16558;
  font-size: 8px;
}

.achievement b {
  margin-top: 3px;
  font-size: 10px;
}

.achievement > svg {
  color: var(--green);
}

.audience {
  color: white;
  background: var(--ink);
}

.audience-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
}

.audience .eyebrow {
  color: #85c6ff;
}

.audience-heading h2 {
  margin-top: 18px;
}

.audience-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.audience-list > div {
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.audience-list span {
  color: #85c6ff;
  font-size: 11px;
}

.audience-list p {
  margin: 0;
  font-size: 16px;
  font-weight: 620;
}

.closing {
  position: relative;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  overflow: hidden;
  text-align: center;
  background: #eaf5ff;
}

.closing::before {
  content: "Langova.ai";
  position: absolute;
  bottom: -54px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(15, 131, 230, 0.07);
  font-size: 220px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.closing-icon {
  width: 108px;
  height: 108px;
  margin-bottom: 32px;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(15, 131, 230, 0.24);
}

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

.closing-copy > p {
  margin: 0 0 22px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 700;
}

.closing h2 {
  font-size: 58px;
}

.closing-copy > span {
  display: block;
  margin: 22px 0 34px;
  color: var(--ink-soft);
  font-size: 17px;
}

.site-footer {
  color: #c8d0da;
  background: #151c25;
}

.footer-shell {
  min-height: 130px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 30px;
}

.brand-footer {
  color: white;
}

.brand-footer img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-shell p,
.footer-shell > span {
  margin: 0;
  font-size: 12px;
}

.footer-shell p {
  justify-self: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: white;
}

.footer-shell > span {
  justify-self: end;
}

@media (max-width: 1040px) {
  .hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.75fr);
    gap: 30px;
  }

  .hero h1 {
    font-size: 70px;
  }

  .hero-kicker {
    font-size: 27px;
  }

  .context-label {
    display: none;
  }

  .belief-layout {
    grid-template-columns: 0.35fr 1.2fr 0.85fr;
    gap: 36px;
  }

  .experience-grid {
    gap: 40px;
  }

  .progress-layout {
    gap: 48px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric {
    padding: 10px 12px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 36px, 680px);
  }

  .site-header {
    height: 68px;
  }

  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 24px;
    color: var(--ink);
    background: white;
    box-shadow: 0 18px 36px rgba(27, 49, 72, 0.14);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    padding: 13px;
    text-align: center;
    border: 0;
  }

  .hero {
    min-height: 960px;
  }

  .hero-shell {
    min-height: 920px;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 100px;
    gap: 6px;
  }

  .hero-copy {
    position: relative;
    z-index: 5;
    padding-bottom: 0;
  }

  .product-mark {
    margin-bottom: 20px;
  }

  .product-mark img {
    width: 58px;
    height: 58px;
    border-radius: 13px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-kicker {
    max-width: 520px;
    margin-top: 18px;
    font-size: 26px;
  }

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

  .hero-actions {
    margin-top: 26px;
  }

  .hero-product {
    height: 520px;
  }

  .phone-hero {
    width: 306px;
    height: 610px;
    bottom: -90px;
  }

  .phone-screen {
    padding-inline: 15px;
  }

  .phone-tabs {
    display: none;
  }

  .section-pad {
    padding: 90px 0;
  }

  .belief-layout,
  .section-heading,
  .progress-layout,
  .audience-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .belief-heading h2,
  .section-heading h2,
  .progress-copy h2,
  .audience-heading h2,
  .closing h2 {
    font-size: 39px;
  }

  .difficulty-visual {
    padding: 28px;
  }

  .difficulty-intro {
    display: block;
  }

  .difficulty-intro strong {
    display: block;
    margin-top: 6px;
  }

  .word-path {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .path-line {
    width: 2px;
    height: 30px;
    margin-left: 7px;
  }

  .path-line span {
    width: 100%;
    height: 72%;
  }

  .path-line-future span {
    width: 100%;
    height: 28%;
  }

  .section-heading {
    align-items: start;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .feature-tab {
    min-height: 146px;
    grid-template-columns: 30px 1fr;
    align-content: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: white;
  }

  .feature-tab::before {
    height: 4px;
    border-radius: 4px 4px 0 0;
  }

  .feature-tab > svg {
    display: none;
  }

  .feature-stage,
  .feature-panel {
    min-height: 650px;
  }

  .progress-layout {
    gap: 50px;
  }

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

  .metric {
    display: block;
  }

  .metric span {
    display: block;
    margin-top: 8px;
  }

  .audience-layout {
    gap: 52px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .footer-shell > span {
    justify-self: start;
  }
}

@media (max-width: 540px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-shell {
    min-height: 0;
    height: 820px;
    display: block;
    padding-top: 90px;
  }

  .product-mark {
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
  }

  .product-mark img {
    width: 52px;
    height: 52px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-kicker {
    font-size: 23px;
  }

  .hero-description {
    line-height: 1.6;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-product {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100px;
    height: 420px;
  }

  .phone-hero {
    width: 280px;
    height: 558px;
    bottom: -100px;
  }

  .status-bar {
    padding-bottom: 11px;
  }

  .app-title-row {
    margin-bottom: 12px;
  }

  .app-title-row h2 {
    font-size: 20px;
  }

  .level-panel,
  .sentence-card {
    padding: 13px;
  }

  .lesson-label {
    margin-top: 15px;
  }

  .phone-primary {
    margin-top: 14px;
  }

  .section-pad {
    padding: 76px 0;
  }

  .belief-heading h2,
  .section-heading h2,
  .progress-copy h2,
  .audience-heading h2,
  .closing h2 {
    font-size: 32px;
  }

  .belief-copy p,
  .section-heading > p,
  .progress-copy > p {
    font-size: 15px;
  }

  .difficulty-visual {
    margin-top: 48px;
    padding: 23px 20px;
  }

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

  .feature-tab {
    min-height: 108px;
  }

  .feature-stage,
  .feature-panel {
    min-height: 625px;
  }

  .feature-panel {
    padding: 28px 18px 24px;
  }

  .mini-phone {
    width: 282px;
    height: 500px;
  }

  .progress-dashboard {
    padding: 18px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric {
    display: flex;
  }

  .metric span {
    margin-top: 0;
  }

  .bars {
    gap: 8px;
  }

  .days {
    gap: 8px;
  }

  .audience-list p {
    font-size: 14px;
  }

  .closing {
    min-height: 620px;
    padding-inline: 20px;
  }

  .closing::before {
    bottom: -20px;
    font-size: 100px;
  }

  .closing-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .closing-copy > p,
  .closing-copy > span {
    font-size: 14px;
  }
}

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

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