/* Talkino landing page styles. */

/* ==================== Base, fonts and hero layout ==================== */
/* IRANSansX (licensed, fontiran.com): variable font, static fallback per the vendor guide. */
@font-face { font-family: 'IRANSansXV'; src: url('/assets/fonts/IRANSansXV.woff2') format('woff2-variations'), url('/assets/fonts/IRANSansXV.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('/assets/fonts/IRANSansX-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('/assets/fonts/IRANSansX-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root { --fx: 'IRANSansX', Tahoma, sans-serif; }
@supports (font-variation-settings: normal) { :root { --fx: 'IRANSansXV', Tahoma, sans-serif; } }
* {
  box-sizing: border-box;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.navbar.is-scrolled::before {
  opacity: 1;
}
.hero-layout {
  display: flow-root;
  margin: 0 auto;
}
.hero::before {
  content: none;
}
.hero-content {
  display: flex;
  flex-direction: column;
  direction: rtl;
}
.hero-heading {
  display: flex;
  flex-direction: column;
}
h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.06;
}
.phone-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.leo {
  display: block;
}
.microphone {
  position: absolute;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #087aff;
}
.microphone-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #7399bd;
  border-radius: 50%;
  pointer-events: none;
  animation: microphone-wave 3.6s ease-out infinite;
}
.microphone-wave:nth-child(1) {
  animation-delay: 0s;
}
.microphone-wave:nth-child(2) {
  animation-delay: -.9s;
}
.microphone-wave:nth-child(3) {
  animation-delay: -1.8s;
}
.microphone-wave:nth-child(4) {
  animation-delay: -2.7s;
}
.microphone svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
}
@keyframes microphone-wave {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  18% {
    opacity: .48;
  }
  70% {
    opacity: .24;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
.bubble {
  font-family: var(--fx);
  font-size: 0;
  font-weight: 400;
  line-height: 0;
  letter-spacing: normal;
  white-space: normal;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.bubble-text {
  margin: 0;
  font-weight: 700;
}
.bubble-wrong {
  z-index: 3;
}
.bubble-correct {
  z-index: 4;
}
@media (max-width: 1250px) and (min-width: 1025px) {
  h1 {
    font-size: 56px;
  }
}
@media (max-width: 1024px) {
  .hero-heading {
    width: 100%;
  }
  h1 {
    font-size: 48px;
  }
  .visual {
    padding-inline-end: 0;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .microphone-wave {
    animation: none;
    opacity: 0;
  }
}
.microphone-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
body.menu-open {
  overflow: hidden;
}

/* ==================== Navbar and mobile menu ==================== */
.navbar {
  justify-content: space-between;
  position: sticky;
  z-index: 5;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  direction: rtl;
  margin: 16px auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.navbar::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 1px 3px #0d0d0d0d, 0 4px 12px -4px #0d0d0d1a;
  opacity: 0;
  transition: opacity .2s;
  content: none;
}
.navigation {
  flex: 1;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  direction: rtl;
  gap: 2px;
  width: max-content;
  max-width: 100%;
  margin: 0;
  border: 1px solid #dceafa;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .2s, border-color .2s;
}
.navbar.is-scrolled .navigation {
  border-color: #c9e0fb;
  box-shadow: 0 8px 30px -12px #254d7d35;
}
.navigation button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #344e6d;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transition: color .16s, background .16s;
}
.navigation button:hover {
  color: #0964f3;
  background: #e3f0ff;
}
.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  direction: rtl;
  gap: 10px;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4;
  background: #102b5029;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.menu-backdrop[hidden] {
  display: none;
}
@media (max-width: 1024px) {
  .navbar {
    grid-template-columns: auto 1fr;
    margin: 14px auto;
    padding: 0;
  }
  .nav-actions {
    justify-self: end;
    gap: 10px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #dceafa;
    border-radius: 50%;
    background: #f1f8ff;
  }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1.7px;
    border-radius: 3px;
    background: #2b5079;
    transition: transform .2s, opacity .2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6.7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6.7px) rotate(-45deg);
  }
  .navigation {
    position: absolute;
    top: calc(100% + 10px);
    right: auto;
    left: 0;
    bottom: auto;
    display: none;
    width: 350px;
    max-width: 100%;
    height: auto;
    padding: 12px;
    border-radius: 26px;
    background: #fcfeff;
    box-shadow: 0 16px 48px -16px #163c6c40;
  }
  .navbar.menu-open {
    border-radius: 0;
    background: transparent;
  }
  .navigation.is-open {
    position: absolute;
    top: calc(100% + 10px);
    right: auto;
    left: 0;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px;
    border: 1px solid #dceafa;
    border-radius: 26px;
    box-shadow: 0 16px 48px -16px #163c6c40;
  }
  .navigation button {
    flex-shrink: 0;
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    text-align: right;
  }
  .navigation button::after {
    content: none;
  }
}
@media (max-width: 600px) {
  .navbar {
    margin: 12px auto;
    padding: 0;
    border-radius: 0;
  }
  .navbar.menu-open {
    position: fixed;
    bottom: auto;
    height: 64px;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }
  .navigation.is-open {
    position: fixed;
    top: 88px;
    right: 16px;
    bottom: auto;
    left: 16px;
    justify-self: stretch;
    width: calc(100vw - 32px);
    max-width: none;
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px;
    border: 1px solid #dceafa;
    border-radius: 26px;
    background: #fcfeff;
    box-shadow: 0 16px 48px -16px #163c6c40;
  }
  .navigation button {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
  }
}

/* ==================== Hero phone ==================== */
.hero .phone-clip {
  filter: drop-shadow(0 8px 20px #1636521c);
}
.hero .phone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 3px solid #344b64;
  border-radius: 12cqw;
  background: #e9f0f7;
  box-shadow: inset 0 0 0 1px #ffffffb3;
}
.hero .phone::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 2.5cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 22cqw;
  height: 3.5cqw;
  border-radius: 99px;
  background: #344b64;
  pointer-events: none;
}
.hero .phone-screen {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 10cqw;
  overflow: hidden;
  background: linear-gradient(#ccd4dc 45%,#172b46 88%);
  mask-image: none;
  -webkit-mask-image: none;
}
.hero .leo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 82%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(#000 0%,#000 85%,transparent 100%);
  -webkit-mask-image: linear-gradient(#000 0%,#000 85%,transparent 100%);
}
.hero .phone-status {
  position: absolute;
  z-index: 3;
  top: 5cqw;
  left: 7cqw;
  right: 7cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #263f59;
  font: 700 3.5cqw/1 var(--fx);
  pointer-events: none;
}
.hero .phone-status svg {
  width: 15cqw;
  height: 5cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero .bubble-wrong {
  color: #294965;
}
.hero .bubble-correct {
  color: #244a70;
}
.hero .microphone {
  border: 1px solid #e2edf7;
  box-shadow: 0 3px 10px #1636520b;
}
@media (max-width: 600px) {
  .hero .leo {
    height: 76%;
  }
  .hero .phone {
    border-width: 2px;
  }
}

/* ==================== Hero text, buttons and product dialogs ==================== */
.hero-copy h1 > span {
  display: block;
}
.hero-cta-secondary svg path {
  fill: currentColor;
  stroke: none;
}
.product-dialog {
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 32px;
  border: 1px solid #dceafa;
  border-radius: 28px;
  background: #fff;
  color: #102b50;
  box-shadow: 0 28px 110px #08244c40;
  font-family: var(--fx);
}
.product-dialog::backdrop {
  background: #071e40a6;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e0eaf6;
  border-radius: 50%;
  background: #f5f9ff;
  color: #36516f;
  font: 300 29px / 1 Arial, sans-serif;
}
.demo-dialog {
  width: 900px;
  padding: 18px;
  background: #0c213b;
  border-color: #29415e;
}
.demo-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  padding-right: 8px;
}
.demo-dialog-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 650;
}
.demo-dialog .product-dialog-close {
  border-color: #ffffff1a;
  background: #ffffff0d;
  color: #fff;
}
.product-demo {
  display: block;
  width: 100%;
  max-height: 72dvh;
  border-radius: 16px;
  background: #071525;
}
@media (max-width: 600px) {
  .product-dialog {
    padding: 24px 18px;
    border-radius: 23px;
  }
  .demo-dialog {
    padding: 12px;
  }
  .demo-dialog-heading {
    padding-right: 4px;
  }
}

@media (min-width: 900px) {
  .visual {
    padding-inline-end: 12.4%;
  }
}
@media (min-width: 700px) and (max-width: 899px) and (max-height: 600px) and (orientation: landscape) {
  .visual {
    padding-inline-end: 12.4%;
  }
}

/* ==================== Hero conversation bubbles ==================== */
.bubble::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-color: inherit;
  filter: blur(4px);
  content: none;
}
.bubble mark {
  font-style: normal;
  box-decoration-break: slice;
  -webkit-box-decoration-break: slice;
  display: inline-block;
  line-height: 1.12;
  white-space: nowrap;
  font-weight: 700;
}

/* ==================== Learning path section ==================== */
.talkino-path:focus,
.simulator:focus,
.words:focus,
.why:focus,
.faq:focus,
.download:focus {
  outline: none;
}
.talkino-path *,
.talkino-path *::before,
.talkino-path *::after {
  box-sizing: border-box;
}
.talkino-path button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.talkino-path button:focus-visible {
  outline: 3px solid #1468bc;
  outline-offset: 3px;
}
.talkino-path button:disabled {
  cursor: wait;
  opacity: .65;
}
.talkino-path [hidden] {
  display: none !important;
}
:is(.talkino-path, .simulator, .words, .why, .faq) .icon {
  width: 1.18em;
  height: 1.18em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.talkino-path .roadmap>h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.talkino-path .growth-trail path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
  stroke-linecap: round;
}
.talkino-path .growth-trail .route-highlight {
  stroke-width: 2;
  stroke-dasharray: 7 93;
  animation: option-route-travel 7s linear infinite;
  animation-play-state: paused;
}
.talkino-path.route-visible .route-highlight {
  animation-play-state: running;
}
@keyframes option-route-travel {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.talkino-path .level-item[data-level=A1] {
  --step-color: #846c3b;
}
.talkino-path .level-item[data-level=A2] {
  --step-color: #347657;
}
.talkino-path .level-item[data-level=B1] {
  --step-color: #386b87;
}
.talkino-path .level-item[data-level=B2] {
  --step-color: #705ba0;
}
.talkino-path .level-item.is-selected {
  --step-color: #126bd7;
}
.talkino-path .is-selected .growth-icon {
  outline: 2px solid #8ab9ef;
  outline-offset: 3px;
}
.talkino-path .level-button:hover {
  background: #f5f9fd;
}
.talkino-path .level-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-inline-start: 4px;
}
.talkino-path .lesson {
  margin: 0;
}
.talkino-path .lesson-poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}
.talkino-path .lesson-poster>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Practice steps as a quiet progress line: ①──②──③ (۱ ببین، ۲ گوش بده، ۳ خودت بگو) */
.talkino-path .practice-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 14px;
}
.talkino-path .practice-tabs::before {
  content: "";
  position: absolute;
  top: 12px;
  inset-inline: 16.67%;
  height: 1px;
  background: #cddbea;
}
.talkino-path .practice-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: #5b7086;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .18s;
}
.talkino-path .practice-tabs button:hover,
.talkino-path .practice-tabs button[aria-pressed=true] {
  color: var(--ink);
}
.talkino-path .practice-tabs button[aria-pressed=true] {
  font-weight: 700;
}
.talkino-path .stage-number {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border: 1px solid #cddbea;
  border-radius: 50%;
  background: #fff;
  color: #5b7086;
  font-size: 11px;
  line-height: 1;
  transition: background .18s, border-color .18s, color .18s;
}
.talkino-path .practice-tabs button[aria-pressed=true] .stage-number {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

/* Sample sentence and audio */
.talkino-path .sample-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 14px;
  text-align: center;
}
.talkino-path .sample-en {
  margin: 0;
  color: var(--ink);
  font: 650 26px/1.3 var(--fx);
  letter-spacing: -.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.talkino-path .sample-fa {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
/* play / slow: one small pill with two halves */
.talkino-path .audio-controls {
  display: flex;
  gap: 2px;
  margin-top: 10px;
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #10354b12, 0 1px 2px #10354b14;
}
.talkino-path .audio-controls button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #33536f;
  font-size: 13px;
  font-weight: 600;
  transition: background .18s, color .18s;
}
.talkino-path .audio-controls .icon {
  width: 15px;
  height: 15px;
}
.talkino-path .audio-controls button:hover {
  background: #f2f7fd;
}
.talkino-path .audio-controls button[aria-pressed=true] {
  background: var(--brand-soft);
  color: var(--selected-text);
}
@media (max-width: 600px) {
  .talkino-path .practice-tabs {
    margin-bottom: 12px;
  }
  .talkino-path .practice-tabs::before {
    top: 11px;
  }
  .talkino-path .practice-tabs button {
    gap: 4px;
    min-height: 44px;
    font-size: 11px;
  }
  .talkino-path .stage-number {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .talkino-path .sample-card {
    gap: 2px;
    margin-top: 12px;
  }
  .talkino-path .sample-en {
    font-size: 19px;
  }
  .talkino-path .sample-fa {
    font-size: 12px;
  }
  .talkino-path .audio-controls button {
    gap: 5px;
    min-height: 44px;
    padding: 0 14px;
    font-size: 12px;
  }
  .talkino-path .audio-controls .icon {
    width: 14px;
    height: 14px;
  }
}

.talkino-path .record-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border: 1px solid #3979cc;
  font-weight: 750;
  line-height: 1.5;
}
.talkino-path .record-button:hover {
  background: #2364b3;
}
.talkino-path .cta-icon {
  position: absolute;
  display: grid;
  place-items: center;
}
.talkino-path .practice-dialog {
  font-family: inherit;
  width: min(calc(100% - 32px),500px);
  max-height: calc(100dvh - 32px);
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 60px #12304c36;
  line-height: 1.9;
  overscroll-behavior: contain;
}
.talkino-path .practice-dialog::backdrop {
  background: #122b4a65;
}
.talkino-path .dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.talkino-path .dialog-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
}
.talkino-path .dialog-heading form {
  margin: 0;
}
.talkino-path .close-button,
.talkino-path .dialog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  color: #25669e;
  border: 1px solid #d3e6fa;
  border-radius: 11px;
  background: #eef6ff;
  font-size: 14px;
}
.talkino-path .record-sentence {
  margin-bottom: 0;
  font: 700 21px/1.4 var(--fx);
  text-align: left;
  overflow-wrap: break-word;
}
.talkino-path .record-privacy {
  font-size: 12px;
  color: #526d86;
  line-height: 1.9;
}
.talkino-path .practice-dialog audio,
.talkino-path .practice-dialog video {
  display: block;
  max-width: 100%;
  margin-top: 12px;
}
:is(.talkino-path, .simulator, .words, .why, .download) .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .talkino-path .path-intro p {
    margin-inline: auto;
  }
  .talkino-path .roadmap>h3 {
    gap: 8px;
  }
  .talkino-path .is-selected .growth-icon {
    outline-offset: 2px;
  }
  .talkino-path .practice-dialog {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .talkino-path *,
  .talkino-path *::before,
  .talkino-path *::after {
    animation: none !important;
    transition: none !important;
  }
  .talkino-path .route-highlight {
    display: none;
  }
}
.talkino-path .path-intro h2>span {
  color: inherit;
}
@media (max-width: 600px) {
  .talkino-path .path-intro .intro-first,
  .talkino-path .path-intro .intro-second {
    display: block;
  }
}
.talkino-path .lesson-app {
  justify-self: center;
}
.talkino-path .lesson-app .lesson-poster {
  margin-inline: auto;
  height: auto;
  background: #eaf0f5;
}
.talkino-path .lesson-app .lesson-poster>img {
  object-fit: contain;
  object-position: center;
}
@media (max-width: 600px) {
  .talkino-path .lesson-app .lesson-poster {
    height: auto;
  }
  .talkino-path .lesson-app .lesson-poster>img {
    object-fit: contain;
    object-position: center;
  }
}
@media (max-width: 370px) {
  .talkino-path .lesson-app .lesson-poster {
    height: auto;
  }
}
@media (min-width: 900px) {
  .talkino-path .level-list {
    align-items: stretch;
  }
}
.talkino-path .roadmap-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.talkino-path .practice-dialog {
  overflow-y: auto;
  overflow-wrap: break-word;
}
@media (max-width: 600px) {
  .talkino-path .roadmap-hint {
    margin-inline-start: 3px;
    font-size: 12px;
  }
}

/* ==================== Shared tokens and final sizing (all sections) ==================== */
:root {
  color-scheme: light;
  /* overall page scale; desktop uses a slightly smaller scale (see end of file) */
  --page-zoom: 1;
  --blue: #1976d2;
  --brand: #066cf4;
  --brand-hover: #005cd5;
  --brand-soft: #eaf3ff;
  --selected-text: #145bad;
  --selected-line: #83b5f5;
  --ink: #10354b;
  --muted: #4c6680;
  --surface: #fff;
  --canvas: #f0f7ff;
  --border: #dce7f2;
  --orange: #f38b24;
  --motion-ease: cubic-bezier(.2,.75,.25,1);
  --content-width: 1140px;
  --page-gutter: 40px;
  --radius-control: 12px;
}
body {
  display: flow-root;
  margin: 0;
  font-family: var(--fx);
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--surface);
}
button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
.navbar,
.hero-layout,
.talkino-path .path-content,
.simulator-content,
.words-content,
.why-content,
.faq-content,
.download-content {
  width: calc(100% - 2 * var(--page-gutter));
  max-width: var(--content-width);
  margin-inline: auto;
}
.navbar {
  height: 76px;
  top: 0;
  margin-block: 0;
  gap: 24px;
  background: #ffffffed;
  border-bottom: 1px solid #eaf0f6;
  backdrop-filter: blur(12px);
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  direction: rtl;
  flex-shrink: 0;
  gap: 9px;
}
.brand img {
  display: block;
  object-fit: contain;
  width: 44px;
  height: 44px;
}
.brand span {
  line-height: 1.2;
  letter-spacing: -.045em;
  font-size: 34px;
  font-weight: 850;
}
@media (min-width: 1025px) {
  .navigation {
    height: 44px;
    padding: 0;
    gap: 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .navbar.is-scrolled .navigation {
    box-shadow: none;
  }
  .navigation button {
    min-height: 44px;
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
  }
}
.hero-layout {
  padding: 0;
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  direction: rtl;
  container-type: inline-size;
  flex-direction: column;
  align-items: center;
  margin: 24px 0 32px;
  border-radius: 0;
  background: transparent;
  gap: 24px;
}
.hero-copy {
  justify-content: center;
  flex: 1;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 12px 0;
  min-width: 0;
}
.hero-message {
  align-items: center;
  gap: 18px;
}
.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -.04em;
  text-align: inherit;
  text-wrap: balance;
  word-spacing: .035em;
}
.hero-copy h1>span {
  color: var(--ink);
}
.hero-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
}
.hero-copy h1>span:first-of-type {
  font-weight: 850;
  line-height: 1.35;
}
.hero-copy h1>span:last-child {
  font-weight: 850;
  line-height: 1.55;
}
.speech-emphasis {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--brand);
  white-space: nowrap;
  isolation: isolate;
}
.speech-underline {
  position: absolute;
  inset: auto 0 -.09em;
  width: 100%;
  height: .29em;
  overflow: visible;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  pointer-events: none;
}
.hero-description {
  font-weight: 400;
  text-wrap: pretty;
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
  text-align: inherit;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  direction: rtl;
  justify-content: center;
  gap: 16px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1.5;
  white-space: nowrap;
  transition: background .18s, box-shadow .18s, transform .18s;
  height: 50px;
  min-width: 0;
  padding: 0 20px;
  gap: 9px;
  border-radius: var(--radius-control);
  font-size: 15px;
  box-shadow: none;
}
.hero-cta-primary {
  color: #fff;
  border-color: var(--brand);
}
.hero-cta-primary:hover {
  background: var(--brand-hover);
  box-shadow: none;
}
.hero-cta-secondary:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}
.hero-cta svg {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 21px;
  height: 21px;
}
.hero-benefits {
  grid-template-columns: repeat(3,minmax(0,1fr));
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
}
.hero-benefits li {
  min-width: 0;
  text-align: center;
}
.hero-benefits li+li {
  border-inline-start: 1px solid #d4e0ec;
}
.hero-benefits svg {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visual {
  display: flex;
  min-width: 0;
  pointer-events: none;
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
  padding: 0;
}
.visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 88%;
  height: 86%;
  max-width: 410px;
  inset: 8% auto auto;
  border-radius: 45% 55% 60% 40% / 55% 38% 62% 45%;
  background: linear-gradient(145deg,#eef7ff,#e4f1ff80);
  transform: rotate(-9deg);
}
.hero-brand-field {
  display: none;
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.brand-field-fill {
  fill: #e4f1ff;
  opacity: .78;
}
.brand-field-edge {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.5;
  opacity: .65;
}
.phone-scene {
  position: relative;
  container-type: inline-size;
  flex: none;
  width: auto;
  aspect-ratio: 651/1172;
  margin: 0;
}
.hero-transition {
  position: relative;
  z-index: 0;
  pointer-events: none;
  height: 80px;
  margin-top: -30px;
  margin-bottom: -1px;
  overflow: hidden;
}
.hero-transition svg {
  display: block;
  width: 100%;
  height: 100%;
}
.transition-fill {
  fill: var(--canvas);
}
.transition-line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
  vector-effect: non-scaling-stroke;
}
@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 36px;
    margin-top: 16px;
    margin-bottom: 0;
    min-height: 584px;
  }
  .hero-copy {
    justify-content: center;
    align-items: stretch;
    text-align: right;
    padding: 18px 16px 18px 0;
  }
  .hero-message {
    align-items: stretch;
    gap: 28px;
  }
  .hero-description>span {
    display: block;
  }
  .hero-copy h1>span:last-child {
    font-size: 56px;
    line-height: 1.55;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .visual {
    height: 584px;
    width: 100%;
    justify-content: center;
    padding-left: 18px;
  }
  .visual::before {
    content: none;
  }
  .hero-brand-field {
    display: block;
    left: calc(-1 * max(var(--page-gutter),(100vw / var(--page-zoom) - var(--content-width))/2));
    top: 0;
    width: calc(100% + max(var(--page-gutter),(100vw / var(--page-zoom) - var(--content-width))/2));
    height: 100%;
  }
  .phone-scene {
    height: 535px;
    aspect-ratio: 292/535;
    margin-top: 0;
  }
  .hero .phone::after {
    width: 32cqw;
    height: 4cqw;
    top: 2.5cqw;
  }
  .hero .phone {
    border-color: #173d5c;
  }
  .microphone {
    width: 64px;
    height: 64px;
    bottom: 18px;
  }
  .microphone svg {
    width: 30px;
    height: 30px;
  }
}
.talkino-path {
  --selected-line: #86b8f0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--fx);
  --blue: var(--brand);
  --ink: #10354b;
  --muted: #4c6680;
  --line: var(--border);
  background: linear-gradient(var(--canvas),#edf5ff);
  scroll-margin-top: 76px;
}
.talkino-path::after {
  position: absolute;
  inset: auto 0 0;
  height: 32px;
  z-index: -1;
  background: url('assets/images/path-bottom-wave.webp') center bottom/100% 100% no-repeat;
  pointer-events: none;
  opacity: .65;
  content: none;
}
.talkino-path .path-content {
  position: relative;
  padding: 18px 0 32px;
}
.talkino-path .path-intro {
  text-align: center;
  margin-inline: auto;
  max-width: 900px;
}
.talkino-path .path-intro h2 {
  text-wrap: pretty;
  color: #18364f;
  margin: 0;
  font-size: 34px;
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: -.4px;
}
.talkino-path .path-intro p {
  font-weight: 400;
  text-wrap: balance;
  margin: 6px auto 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}
.talkino-path .path-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 0;
  list-style: none;
}
.talkino-path .path-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: #38556c;
  font-size: 13px;
  font-weight: 600;
}
.talkino-path .path-points svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.talkino-path .path-grid {
  display: grid;
  width: 100%;
  margin: 28px auto 0;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 16px;
  max-width: none;
}
.talkino-path .roadmap,
.talkino-path .lesson-app {
  width: 100%;
  max-width: none;
  min-width: 0;
  align-self: stretch;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffffeb;
  box-shadow: none;
}
.talkino-path .roadmap {
  --rail: 72px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
}
.talkino-path .roadmap>h3 {
  justify-content: center;
  margin: 0 0 14px;
  min-height: 34px;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}
.talkino-path .roadmap-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* start and goal of the journey: shown on mobile only */
.talkino-path .path-marker {
  display: none;
}
.talkino-path .growth-trail {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  right: 20px;
  top: 80px;
  width: var(--rail);
  height: calc(100% - 104px);
  z-index: 0;
  color: #8bc0fb;
}
.talkino-path .level-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
  grid-template-rows: repeat(5,minmax(78px,1fr));
  gap: 7px;
}
.talkino-path .level-item {
  --step-color: #815640;
  display: grid;
  grid-template-columns: var(--rail) minmax(0,1fr);
  min-height: 78px;
  align-items: stretch;
}
.talkino-path .level-step {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  align-self: stretch;
  padding-inline-end: 10px;
  gap: 5px;
}
.talkino-path .level-item:nth-child(even) .level-step {
  padding-inline-end: 2px;
}
.talkino-path .growth-icon {
  display: block;
  object-fit: cover;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.talkino-path .level-code {
  color: var(--step-color);
  font: 650 13px/1.2 var(--fx);
  letter-spacing: .1px;
}
.talkino-path .level-button {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  text-align: right;
  border: 1px solid transparent;
  transition: border-color .18s,background .18s;
  height: 100%;
  min-height: 78px;
  grid-template-columns: minmax(0,1fr) 88px;
  gap: 12px;
  padding: 6px 13px 6px 8px;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}
.talkino-path .is-selected .level-button {
  border-color: transparent;
  background: #f2f7fd;
  box-shadow: none;
}
.talkino-path .growth-trail .route-highlight {
  stroke: var(--orange);
}
.talkino-path .is-selected .level-code {
  color: var(--selected-text);
}
.talkino-path .is-selected .level-title {
  color: var(--selected-text);
}
.talkino-path .level-title {
  color: #254562;
  text-wrap: pretty;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 800;
}
.talkino-path .level-outcome {
  font-weight: 500;
  color: var(--muted);
  text-wrap: pretty;
  font-size: 15px;
  line-height: 1.8;
}
.talkino-path .level-art {
  display: block;
  object-fit: cover;
  background: #e9f2fa;
  width: 88px;
  height: 64px;
  border-radius: 12px;
}
.talkino-path .lesson-app .lesson-poster {
  width: 100%;
  max-width: 352px;
  margin: 0 auto 8px;
  aspect-ratio: 854/480;
  border-radius: 12px;
}
.talkino-path .lesson-app .record-button {
  width: 100%;
  min-height: 46px;
  margin: 14px 0 0;
  padding: 0 44px;
  background: var(--brand);
  border-color: var(--brand);
  border-radius: 12px;
  font-size: 18px;
}
.talkino-path .lesson-app .record-button:hover {
  background: var(--brand-hover);
}
.talkino-path .lesson-app .cta-icon {
  border-radius: 8px;
  right: 11px;
  top: 8px;
  bottom: 8px;
  width: 28px;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 22px;
}
@media (min-width: 900px) and (max-width: 1100px) {
  .hero {
    gap: 28px;
    min-height: 584px;
  }
  .visual {
    height: 584px;
  }
  .phone-scene {
    height: 535px;
  }
  .hero-copy h1>span:last-child {
    font-size: clamp(43px,5.4vw,56px);
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-cta {
    font-size: 15px;
    padding-inline: 15px;
  }
  .hero-benefits {
    font-size: 16px;
  }
  .talkino-path .roadmap,
  .talkino-path .lesson-app {
    padding: 18px;
  }
  .talkino-path .roadmap {
    --rail: 62px;
  }
  .talkino-path .growth-trail {
    right: 18px;
  }
  .talkino-path .level-button {
    grid-template-columns: minmax(0,1fr) 88px;
    gap: 9px;
  }
  .talkino-path .level-art {
    width: 88px;
    height: 64px;
  }
  .talkino-path .level-title {
    font-size: 18px;
  }
  .talkino-path .level-outcome {
    font-size: 14px;
  }
}
@media (max-width: 899px) {
  .talkino-path {
    background: linear-gradient(var(--surface),var(--canvas) 140px,#edf5ff);
  }
  :root {
    --page-gutter: 24px;
  }
  .talkino-path .path-grid {
    grid-template-columns: minmax(0,1fr);
    max-width: 620px;
    margin-inline: auto;
    gap: 20px;
  }
  .talkino-path .level-list {
    grid-template-rows: none;
    gap: 8px;
  }
  .talkino-path .level-item,
  .talkino-path .level-button {
    min-height: 78px;
  }
  /* One continuous journey: start → levels (the selected one opens its lesson) → goal */
  .talkino-path .roadmap {
    grid-template-rows: none;
  }
  .talkino-path .roadmap>h3 {
    display: none;
  }
  .talkino-path .growth-trail {
    top: 0;
    height: 100%;
  }
  .talkino-path .growth-trail path:not(.route-highlight) {
    stroke: url(#trail-fade);
    stroke-width: 2;
  }
  .talkino-path .path-marker {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--rail) minmax(0,1fr);
    column-gap: 10px;
    align-items: center;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
  }
  .talkino-path .path-marker-dot {
    display: grid;
    place-items: center;
    justify-self: center;
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    border: 2px solid #8db7e6;
    border-radius: 50%;
    background: #fff;
  }
  .talkino-path .path-start {
    margin-bottom: 8px;
  }
  .talkino-path .path-goal {
    margin-top: 12px;
  }
  .talkino-path .level-item {
    column-gap: 10px;
  }
  .talkino-path .level-step,
  .talkino-path .level-item:nth-child(even) .level-step {
    padding-inline-end: 0;
  }
  /* icons and level codes sit on the line like stops on a route */
  .talkino-path .growth-icon {
    background: #fff;
    box-shadow: 0 0 0 3px #fff;
  }
  .talkino-path .level-code {
    padding: 0 3px;
    border-radius: 4px;
    background: #fff;
  }
  .talkino-path .path-goal .path-marker-dot {
    width: 32px;
    height: 32px;
    border: 0;
    background: var(--ink);
    color: #fff;
  }
  .talkino-path .path-goal .icon {
    width: 16px;
    height: 16px;
  }
  .talkino-path .path-goal strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
  }
  .talkino-path .path-goal small {
    display: block;
    font-size: 12px;
    font-weight: 500;
  }
  .talkino-path .level-step,
  .talkino-path .level-button {
    grid-row: 1;
  }
  /* the open level: header + lesson on one soft surface, no inner borders */
  .talkino-path .is-selected .level-button {
    grid-template-columns: minmax(0,1fr);
    border-radius: 16px 16px 0 0;
  }
  .talkino-path .is-selected .level-art {
    display: none;
  }
  .talkino-path .level-item .lesson-app {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 2px 12px 14px;
    border: 0;
    border-radius: 0 0 16px 16px;
    background: #f2f7fd;
    animation: lesson-open 360ms var(--motion-ease);
  }
  @keyframes lesson-open {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
  }
  .talkino-path .lesson-app .lesson-poster {
    max-width: 310px;
  }
  .talkino-path .lesson-app .record-button {
    gap: 8px;
    min-height: 44px;
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 650;
  }
  .talkino-path .lesson-app .cta-icon {
    position: static;
    width: auto;
    font-size: 18px;
  }
  .hero-transition {
    display: none;
  }
}
@media (min-width: 601px) and (max-width: 899px) {
  .phone-scene {
    height: 380px;
  }
  .microphone {
    width: 52px;
    height: 52px;
    bottom: 8px;
  }
  .microphone svg {
    width: 26px;
    height: 26px;
  }
  .hero-copy h1>span:first-of-type {
    font-size: 34px;
  }
  .hero-copy h1>span:last-child {
    font-size: 30px;
  }
  .hero-benefits {
    font-size: 13px;
  }
  .hero-description {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  :root {
    --page-gutter: 16px;
  }
  .navbar {
    position: relative;
    height: 64px;
    margin-block: 0;
    gap: 12px;
    top: auto;
  }
  .brand {
    gap: 5px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .brand span {
    font-size: 26px;
  }
  .nav-actions {
    gap: 7px;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .navbar.menu-open {
    top: 0;
    right: 16px;
    left: 16px;
    width: auto;
    background: #fff;
  }
  .hero {
    margin: 18px 0 28px;
    gap: 22px;
  }
  .hero-copy {
    padding: 0;
    gap: 18px;
  }
  .hero-message {
    gap: 13px;
  }
  .hero-copy h1>span:first-of-type {
    font-size: 30px;
  }
  .hero-copy h1>span:last-child {
    font-size: clamp(26px,7.1vw,29px);
    line-height: 1.5;
  }
  .hero-description {
    font-size: 14px;
    max-width: 350px;
    line-height: 1.95;
  }
  .hero-actions {
    width: 100%;
    gap: 8px;
  }
  .hero-cta {
    flex: 1;
    height: 46px;
    padding: 0 9px;
    font-size: 12px;
    gap: 6px;
  }
  .hero-cta svg {
    width: 17px;
    height: 17px;
  }
  .hero-benefits {
    justify-content: center;
    font-size: 11px;
  }
  .hero-benefits li+li {
    border-inline-start: 0;
  }
  .hero-benefits li {
    position: relative;
  }
  .hero-benefits li+li::before {
    position: absolute;
    right: -11px;
    top: calc(50% - 1.5px);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--orange);
  }
  .phone-scene {
    height: clamp(310px,85vw,330px);
  }
  .visual::before {
    width: 90%;
    height: 86%;
  }
  .microphone {
    width: 48px;
    height: 48px;
    bottom: 6px;
  }
  .microphone svg {
    width: 24px;
    height: 24px;
  }
  .talkino-path .path-content {
    padding: 16px 0 20px;
  }
  .talkino-path .path-intro h2 {
    font-size: 24px;
    line-height: 1.55;
  }
  .talkino-path .path-intro p {
    font-size: 13px;
    max-width: 330px;
    line-height: 1.9;
  }
  .intro-more {
    display: none;
  }
  .talkino-path .path-points {
    gap: 6px;
    max-width: 340px;
    margin-top: 12px;
  }
  .talkino-path .path-points li {
    padding: 5px 10px 5px 11px;
    font-size: 11px;
  }
  .talkino-path .path-points svg {
    width: 15px;
    height: 15px;
  }
  .talkino-path .path-grid {
    margin-top: 16px;
    gap: 12px;
  }
  .talkino-path .roadmap,
  .talkino-path .lesson-app {
    padding: 12px;
    border-radius: 16px;
  }
  .talkino-path .roadmap>h3 {
    font-size: 18px;
    min-height: 28px;
    margin: 0 0 10px;
  }
  .talkino-path .roadmap {
    --rail: 45px;
  }
  .talkino-path .level-item {
    min-height: 64px;
  }
  .talkino-path .level-button {
    min-height: 64px;
    grid-template-columns: minmax(0,1fr) 54px;
    gap: 8px;
    padding: 8px 12px 8px 8px;
    border-radius: 12px;
  }
  .talkino-path .level-art {
    width: 54px;
    height: 48px;
    border-radius: 8px;
  }
  .talkino-path .level-copy {
    padding-inline-start: 2px;
    gap: 3px;
  }
  .talkino-path .level-title {
    font-size: 13px;
    line-height: 1.65;
  }
  .talkino-path .level-outcome {
    font-size: 12px;
    line-height: 1.7;
  }
  .talkino-path .growth-icon {
    width: 27px;
    height: 27px;
  }
  .talkino-path .level-code {
    font-size: 11px;
  }
  .talkino-path .growth-trail {
    right: 12px;
  }
  .talkino-path .lesson-app .lesson-poster {
    max-width: 268px;
    margin-bottom: 0;
  }
}
@media (max-width: 370px) {
  .talkino-path .roadmap,
  .talkino-path .lesson-app {
    padding: 10px;
  }
  .talkino-path .roadmap>h3 {
    font-size: 16px;
  }
  .talkino-path .roadmap {
    --rail: 40px;
  }
  .talkino-path .growth-trail {
    right: 10px;
  }
  .talkino-path .level-button {
    grid-template-columns: minmax(0,1fr) 44px;
    gap: 5px;
  }
  .talkino-path .level-art {
    width: 44px;
    height: 46px;
  }
  .hero-cta {
    font-size: 11px;
    padding-inline: 6px;
  }
  .hero-cta svg {
    width: 15px;
    height: 15px;
  }
}
@media (min-width: 700px) and (max-width: 899px) {
  .hero {
    flex-direction: row;
    gap: 24px;
    min-height: 350px;
    margin-top: 24px;
  }
  .hero-copy {
    flex: 1 1 60%;
    align-items: stretch;
    padding: 0;
    text-align: right;
    gap: 18px;
  }
  .hero-message {
    align-items: stretch;
  }
  .hero-copy h1>span:first-of-type {
    font-size: 34px;
  }
  .hero-copy h1>span:last-child {
    font-size: 29px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-cta {
    height: 44px;
    font-size: 12px;
    padding-inline: 12px;
  }
  .hero-benefits {
    font-size: 12px;
  }
  .visual {
    flex: 0 0 37%;
    height: 330px;
    width: auto;
  }
  .phone-scene {
    height: 320px;
    margin: 0;
  }
  .microphone {
    width: 48px;
    height: 48px;
    bottom: 6px;
  }
  .microphone svg {
    width: 24px;
    height: 24px;
  }
}
.conversation-cards {
  position: absolute;
  z-index: 4;
  inset: auto -18% 17% -23%;
  display: grid;
  gap: 9px;
  direction: ltr;
}
.hero .conversation-cards .bubble {
  position: relative;
  inset: auto;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  padding: 9px 13px;
  border: 1px solid #d5e1ed;
  border-radius: 15px 15px 15px 5px;
  background: #fff;
  box-shadow: 0 3px 12px #16365212;
  transform: none;
  text-align: left;
  justify-self: start;
}
.hero .conversation-cards .bubble-correct {
  justify-self: end;
  border-color: #b9d6f5;
  border-radius: 15px 15px 5px 15px;
  background: #eff7ff;
}
.speaker-label {
  display: block;
  margin-bottom: 3px;
  color: #506781;
  font: 600 12px/1.4 var(--fx);
}
.bubble-correct .speaker-label {
  color: #205fa4;
}
.hero .conversation-cards .bubble-text {
  color: #193850;
  font-size: 17px;
  line-height: 1.4;
  white-space: normal;
}
.hero .conversation-cards mark {
  padding: 0 3px;
  border-radius: 4px;
  background: #ffe7e5;
  color: #97372f;
}
.hero .bubble-correct mark {
  background: #d9f2e7;
  color: #146047;
}
@media (max-width: 899px) {
  .conversation-cards {
    inset: auto -19% 18% -19%;
    gap: 5px;
  }
  .hero .conversation-cards .bubble {
    padding: 4px 9px;
  }
  .speaker-label {
    font-size: 11px;
    margin-bottom: 1px;
  }
  .hero .conversation-cards .bubble-text {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .microphone-wave {
    animation-play-state: paused;
  }
  .hero.motion-running .microphone-wave {
    animation-play-state: running;
  }
  .conversation-started:not(.motion-settled) .phone-scene {
    animation: device-arrival 520ms var(--motion-ease) backwards;
  }
  .conversation-started:not(.motion-settled) .conversation-cards .bubble {
    animation: message-arrival 360ms var(--motion-ease) 220ms backwards;
  }
  .conversation-started:not(.motion-settled) .conversation-cards .bubble-correct {
    animation-delay: 1120ms;
  }
  .conversation-started:not(.motion-settled) .bubble-correct mark {
    animation: correction-emphasis 720ms ease-out 1320ms backwards;
  }
  .conversation-started:not(.motion-running) :is(.phone-scene, .conversation-cards .bubble, .bubble-correct mark) {
    animation-play-state: paused;
  }
}
@keyframes device-arrival {
  from {
    opacity: .85;
    translate: 0 5px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes message-arrival {
  from {
    opacity: 0;
    translate: 0 5px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes correction-emphasis {
  0% {
    background-color: transparent;
  }
  45% {
    background-color: #bce8d4;
  }
  100% {
    background-color: #d9f2e7;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy.reveal-started:not(.focus-settled) :is(h1 > span, .hero-kicker, .hero-description, .hero-actions, .hero-benefits li),
  :is(.path-intro, .sim-intro, .words-intro, .why-intro, .faq-intro, .download-copy).reveal-started > :is(.chapter, h2, p, .path-points) {
    animation: hero-copy-in 510ms var(--motion-ease) var(--arrival, 0ms) backwards;
  }
  .hero-copy h1 > span:last-child {
    --arrival: 85ms;
  }
  .hero-description,
  :is(.path-intro, .sim-intro, .words-intro, .why-intro, .faq-intro) p,
  .download-copy > p {
    --arrival: 180ms;
  }
  .hero-actions,
  .path-points {
    --arrival: 275ms;
  }
  .hero-benefits li {
    --arrival: 395ms;
  }
  .hero-benefits li:nth-child(2) {
    --arrival: 445ms;
  }
  .hero-benefits li:nth-child(3) {
    --arrival: 495ms;
  }
  .reveal-started .speech-underline path {
    stroke-dasharray: 1;
    animation: trace-line 650ms var(--motion-ease) 260ms backwards;
  }
  .conversation-started:not(.motion-settled) .brand-field-fill {
    animation: field-in 700ms ease-out backwards;
  }
  .conversation-started:not(.motion-settled) .brand-field-edge,
  .reveal-started .transition-line {
    stroke-dasharray: 1;
    animation: trace-line 1050ms ease-in-out backwards;
  }
  .reveal-started .transition-line {
    animation-delay: 300ms;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .chapter-thread path {
    stroke-dasharray: 1;
  }
  .chapter-thread.reveal-started path {
    animation: trace-line 900ms var(--motion-ease) backwards;
  }
  @supports (animation-timeline: view()) {
    .chapter-thread path,
    .chapter-thread.reveal-started path {
      animation: trace-line linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
  }
}
@keyframes hero-copy-in {
  from {
    opacity: .12;
    translate: 0 7px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes field-in {
  from {
    opacity: .12;
  }
  to {
    opacity: .78;
  }
}
@keyframes trace-line {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@media (min-width: 900px) {
  .hero-copy h1 > span:first-of-type {
    font-size: clamp(36px, 3.5vw, 47px);
    font-weight: 700;
    line-height: 1.35;
  }
  .hero-description {
    color: #425e74;
  }
  .hero-copy {
    gap: 24px;
  }
}
.hero-copy .hero-cta-primary {
  background: linear-gradient(115deg, #0759c9, #096eee);
  box-shadow: 0 3px 8px #0953ad21;
}
.hero-copy .hero-cta-secondary {
  background: #f8fbff;
  border-color: #d4e2ee;
  color: #274d70;
}
.hero-copy .hero-cta-secondary:hover {
  background: #ebf4ff;
}
.hero-copy .hero-benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 8px 18px;
  margin: 0;
  padding-block-start: 14px;
  border-block-start: 1px solid #dfe9f2;
  color: #38556c;
}
.hero-copy .hero-benefits li {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  border: 0;
  font-size: 13px;
}
.hero-copy .hero-benefits li::before {
  content: none;
}
.hero-copy .hero-benefits svg {
  display: block;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 10px 10px 3px 10px;
  background: #edf5ff;
}
.hero-copy .hero-benefits li:nth-child(2) svg {
  background: #fff2e6;
  stroke: #b95710;
}
@media (max-width: 600px) {
  .hero-copy .hero-benefits {
    gap: 6px 10px;
    padding-block-start: 10px;
  }
  .hero-copy .hero-benefits li {
    gap: 4px;
    font-size: 11px;
  }
  .hero-copy .hero-benefits svg {
    width: 23px;
    height: 23px;
    padding: 4px;
  }
}

/* ==================== Conversation simulator ==================== */
.simulator {
  --stage: #0f2a44;
  --stage-raised: #163654;
  --stage-line: #2c5072;
  --stage-muted: #a9bfd6;
  position: relative;
  color: var(--ink);
  font-family: var(--fx);
  background: linear-gradient(#edf5ff,var(--surface) 220px);
  scroll-margin-top: 76px;
}

/* Chapters: every section after the hero is a numbered chapter with its own tint.
   A short orange thread (the hero's voice line) crosses each seam and lands on the chapter label. */
.chapter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--selected-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}
.chapter b {
  color: var(--orange);
  font: 700 12px var(--fx);
  letter-spacing: .08em;
}
.chapter i {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #f38b2466;
}
.chapter-thread {
  display: block;
  width: 120px;
  height: 56px;
  margin: -18px auto 0;
  overflow: visible;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: .85;
}
.chapter-thread.is-mirrored {
  scale: -1 1;
}
.simulator-content {
  display: grid;
  grid-template-areas: "intro" "tabs" "stage" "custom";
  max-width: 620px;
  padding: 16px 0 32px;
}
.simulator button {
  font: inherit;
  cursor: pointer;
}
.simulator button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* Heading */
.sim-intro {
  grid-area: intro;
  text-align: center;
}
.sim-intro h2 {
  margin: 0;
  color: #18364f;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 800;
}
.sim-intro h2 span {
  display: block;
}
.sim-intro p {
  max-width: 330px;
  margin: 6px auto 0;
  font-size: 13px;
  line-height: 1.9;
  text-wrap: pretty;
}

/* Scenario tabs */
.sim-scenarios {
  grid-area: tabs;
  display: flex;
  gap: 6px;
  margin: 14px calc(-1 * var(--page-gutter)) 0;
  padding: 0 var(--page-gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.sim-scenarios::-webkit-scrollbar {
  display: none;
}
.sim-scenario {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: #3b5670;
  font-size: 13px;
  font-weight: 600;
  transition: background .18s,border-color .18s,color .18s,box-shadow .18s;
}
.sim-scenario .icon,
.sim-custom-toggle .icon {
  width: 17px;
  height: 17px;
}
.sim-scenario[aria-pressed="true"] {
  border-color: var(--selected-line);
  background: var(--brand-soft);
  color: var(--selected-text);
  font-weight: 800;
}
.sim-custom-toggle {
  grid-area: custom;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  margin-top: 14px;
  border: 1px dashed var(--selected-line);
  border-radius: 16px;
  background: #f5f9ff;
  color: var(--selected-text);
  font-size: 14px;
  font-weight: 700;
}
.sim-custom-toggle .icon {
  stroke-width: 2.2;
}
.sim-custom-toggle[aria-pressed="true"] {
  border-style: solid;
  background: var(--brand-soft);
}

/* Stage: dark cast column + light conversation steps */
.sim-stage {
  grid-area: stage;
  min-width: 0;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  scroll-margin-top: 88px;
}
.sim-stage [hidden] {
  display: none;
}
.sim-cast {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
  background: var(--stage);
  color: #fff;
}
.sim-screen {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #173d5c;
  aspect-ratio: 3/2;
}
.sim-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: opacity .2s;
}
.sim-portrait.is-switching {
  opacity: .25;
}
.sim-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #09192bb3;
  font-size: 11px;
  font-weight: 700;
}
.sim-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}
.sim-badge .icon {
  width: 12px;
  height: 12px;
  color: #4ade80;
  stroke-width: 3;
}
.sim-roles {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.sim-role {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 7px 12px;
  border-radius: 12px;
  background: var(--stage-raised);
  line-height: 1.5;
}
.sim-role small {
  color: var(--stage-muted);
  font-size: 11px;
}
.sim-role strong {
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.sim-builder {
  display: grid;
  gap: 10px;
}
.sim-builder-roles {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: end;
  gap: 8px;
}
.sim-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.sim-field label {
  color: var(--stage-muted);
  font-size: 11px;
}
.sim-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--stage-line);
  border-radius: 12px;
  background: var(--stage-raised);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}
.sim-field input[name="situation"] {
  font-weight: 400;
}
.sim-field input:focus-visible {
  outline: 2px solid var(--selected-line);
  outline-offset: 1px;
}
.sim-builder-swap {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  padding: 0;
  border: 1px solid var(--stage-line);
  border-radius: 50%;
  background: var(--stage);
  color: #fff;
}
.sim-builder-swap .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.sim-builder-submit,
.sim-app-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s;
}
.sim-builder-submit:hover,
.sim-app-button:hover {
  background: var(--brand-hover);
}
.sim-builder-submit .icon,
.sim-app-button .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}
.sim-people h3 {
  margin: 0;
  color: var(--stage-muted);
  font-size: 12px;
  font-weight: 600;
}
.sim-avatars {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sim-avatars::-webkit-scrollbar { display: none; }
.sim-avatar { flex-shrink: 0; }
.sim-cast, .sim-people, .sim-avatars { min-width: 0; }
.sim-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.sim-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  transition: box-shadow .18s,transform .18s;
}
.sim-avatar:hover img {
  transform: translateY(-1px);
}
.sim-avatar[aria-pressed="true"] img {
  box-shadow: 0 0 0 2px var(--stage),0 0 0 4px var(--brand);
}

/* Conversation steps: the same numbered circles as the lesson stepper above */
.sim-steps {
  display: grid;
  align-content: start;
  margin: 0;
  padding: 14px 14px 16px;
  list-style: none;
}
.sim-step {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  column-gap: 12px;
}
.sim-step:not(:last-child) {
  padding-bottom: 12px;
}
.sim-step:not(:last-child)::after {
  position: absolute;
  top: 28px;
  bottom: 4px;
  inset-inline-start: 11px;
  border-inline-start: 2px solid var(--border);
  content: "";
}
.sim-step-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.sim-step-fix .sim-step-mark {
  background: #12804f;
}
.sim-step-hint .sim-step-mark {
  background: var(--brand-soft);
  color: var(--selected-text);
}
.sim-step-mark .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.sim-step-body {
  display: grid;
  min-width: 0;
}
.sim-step-label {
  color: var(--selected-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 24px;
}
.sim-step-fix .sim-step-label {
  color: #146047;
}
.sim-step p {
  margin: 0;
}
.sim-line,
.sim-said {
  justify-self: start;
  margin-top: 2px;
  font: 700 16px/1.45 var(--fx);
  text-align: left;
}
.sim-said {
  font-size: 15px;
  line-height: 1.5;
}
#sim-line-me {
  color: #294965;
}
#sim-hint {
  color: var(--selected-text);
}
.sim-translation {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.sim-step mark {
  background: none;
  font-weight: inherit;
  white-space: nowrap;
}
.sim-step .is-wrong {
  color: #c0262d;
  text-decoration: underline 2px #c0262d;
  text-underline-offset: 4px;
}
.sim-step .is-right {
  padding: 0 3px;
  border-radius: 4px;
  background: #d9f2e7;
  color: #146047;
}
.sim-fix {
  justify-self: start;
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #eefaf3;
}
.sim-fix .sim-said {
  margin-top: 0;
}
.sim-tip {
  margin-top: 3px;
  color: #2f5446;
  font-size: 12px;
  line-height: 1.8;
}
.sim-tip bdi {
  font: 700 12px var(--fx);
  white-space: nowrap;
}
.sim-app-button {
  margin-top: 12px;
}

/* Step-by-step playback */
.sim-stage [data-step] {
  transition: opacity 280ms var(--motion-ease),translate 280ms var(--motion-ease);
}
.sim-stage [data-step].is-waiting {
  opacity: 0;
  translate: 0 5px;
}
@media (prefers-reduced-motion: no-preference) {
  .sim-step-fix:not(.is-waiting) .is-right {
    animation: correction-emphasis 720ms ease-out 200ms backwards;
  }
}
.sim-stage.is-speaking .sim-badge-dot {
  animation: sim-speaking 1s ease-in-out infinite;
}
@keyframes sim-speaking {
  50% {
    box-shadow: 0 0 0 4px #4ade8040;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sim-stage [data-step],
  .sim-portrait {
    transition: none;
  }
  .sim-stage.is-speaking .sim-badge-dot {
    animation: none;
  }
}
@media (max-width: 600px) {
  .sim-stage {
    scroll-margin-top: 12px;
  }
}
@media (min-width: 601px) {
  .sim-intro h2 {
    font-size: 28px;
  }
  .sim-intro p {
    max-width: 520px;
    font-size: 15px;
  }
}
@media (min-width: 900px) {
  .chapter-thread {
    height: 72px;
    margin-top: -24px;
  }
  .simulator-content {
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-areas: "intro intro intro intro" ". tabs custom ." "stage stage stage stage";
    column-gap: 10px;
    max-width: var(--content-width);
    padding: 18px 0 32px;
  }
  .sim-intro h2 {
    font-size: 34px;
    letter-spacing: -.4px;
  }
  .sim-intro h2 span {
    display: inline;
  }
  .sim-intro p {
    max-width: 720px;
    margin-top: 4px;
    text-wrap: balance;
    font-size: 16px;
  }
  .sim-scenarios {
    gap: 4px;
    margin: 16px 0 0;
    padding: 4px;
    overflow: visible;
    border-radius: 16px;
    background: #f1f5f9;
  }
  .sim-scenario {
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    font-size: 14px;
  }
  .sim-scenario:hover {
    color: var(--ink);
  }
  .sim-scenario[aria-pressed="true"] {
    background: var(--surface);
    box-shadow: 0 1px 3px #10354b24;
  }
  .sim-scenario .icon {
    width: 18px;
    height: 18px;
  }
  .sim-custom-toggle {
    min-height: 48px;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 14px;
  }
  .sim-stage {
    display: grid;
    grid-template-columns: minmax(0,360px) minmax(0,1fr);
    margin-top: 16px;
    border-radius: 22px;
  }
  .sim-cast {
    gap: 12px;
    padding: 16px;
  }
  .sim-screen {
    border-radius: 16px;
    aspect-ratio: 5/4;
  }
  .sim-badge {
    padding: 4px 11px;
    font-size: 12px;
  }
  .sim-roles {
    gap: 10px;
  }
  .sim-role {
    display: grid;
    padding: 8px 12px;
  }
  .sim-role small {
    font-size: 12px;
  }
  .sim-role strong {
    font-size: 16px;
  }
  .sim-people h3 {
    font-size: 13px;
  }
  .sim-avatar {
    width: 40px;
    height: 44px;
  }
  .sim-avatar img {
    width: 36px;
    height: 36px;
  }
  .sim-steps {
    padding: 18px 32px 24px;
  }
  .sim-step {
    grid-template-columns: 26px minmax(0,1fr);
    column-gap: 16px;
  }
  .sim-step:not(:last-child) {
    padding-bottom: 16px;
  }
  .sim-step:not(:last-child)::after {
    top: 31px;
    inset-inline-start: 12px;
  }
  .sim-step-mark {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .sim-step-mark .icon {
    width: 15px;
    height: 15px;
  }
  .sim-step-label {
    font-size: 13px;
    line-height: 26px;
  }
  .sim-line {
    margin-top: 2px;
    font-size: 22px;
    line-height: 1.4;
  }
  .sim-said {
    font-size: 18px;
    line-height: 1.45;
  }
  .sim-step .is-wrong {
    text-underline-offset: 5px;
  }
  .sim-translation {
    font-size: 15px;
  }
  .sim-fix {
    margin-top: 6px;
    padding: 11px 16px;
    border-radius: 16px;
  }
  .sim-tip,
  .sim-tip bdi {
    font-size: 14px;
  }
  .sim-app-button {
    justify-self: start;
    padding: 0 22px;
  }
}

/* ==================== Word review ==================== */
.words {
  position: relative;
  color: var(--ink);
  font-family: var(--fx);
  background: linear-gradient(var(--surface),#fff8f1 220px,#fff4ea);
  scroll-margin-top: 76px;
}
.words-content {
  max-width: 620px;
  padding: 16px 0 40px;
}
.words button {
  font: inherit;
  cursor: pointer;
}
.words button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.words [hidden] {
  display: none;
}
.words-intro {
  text-align: center;
}
.words-intro h2 {
  margin: 0;
  color: #18364f;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 800;
}
.words-intro h2 > span {
  display: block;
}
.words-intro p {
  max-width: 330px;
  margin: 6px auto 0;
  font-size: 13px;
  line-height: 1.9;
  text-wrap: pretty;
}

/* Stage: the mascot with the words orbiting it + one live review question */
.words-stage {
  display: grid;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
}
.words-side {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 70%,#fff 0,#e8f1ff 40%,#c9ddfa 100%);
}
.words-side::before {
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 150px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side,#0b2a4a2e,transparent);
  translate: -50% 0;
  content: "";
}
.words-orbit {
  position: absolute;
  inset: 0;
}
.words-ring {
  position: absolute;
  top: 56%;
  left: 50%;
  width: 92%;
  height: 58%;
  border: 1.5px dashed #8db6ec80;
  border-radius: 50%;
  translate: -50% -50%;
  rotate: -5deg;
}
.words-chip {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: 4px 10px 3px;
  border-radius: 12px;
  background: #ffffffeb;
  box-shadow: 0 8px 18px #0b2a4a1c,0 0 0 1px #fff;
  color: var(--ink);
  font: 700 12px/1.3 var(--fx);
}
.words-chip small {
  color: var(--muted);
  font: 600 10px/1.5 var(--fx);
}
.words-chip.is-now {
  top: 22%;
  right: 6%;
  box-shadow: 0 10px 22px #f38b2430,0 0 0 1.5px #f8b77a;
}
.words-chip.is-now small {
  color: #c2620f;
  font-weight: 800;
}
.words-chip.is-soon {
  top: 14%;
  left: 7%;
}
.words-chip.is-later {
  top: 56%;
  left: 4%;
  opacity: .75;
  scale: .88;
}
.words-mascot {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: auto;
  height: 96%;
  translate: -50% 0;
  filter: drop-shadow(0 12px 18px #0b2a4a2e);
}
.words-notice {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .words-chip {
    animation: words-float 4.5s ease-in-out infinite;
  }
  .words-chip.is-soon {
    animation-delay: -1.5s;
  }
  .words-chip.is-later {
    animation-delay: -3s;
  }
}
@keyframes words-float {
  50% {
    translate: 0 -5px;
  }
}

/* The question */
.words-quiz {
  display: grid;
  align-content: start;
  padding: 16px 14px;
}
.words-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.words-task {
  color: var(--selected-text);
  font-size: 13px;
  font-weight: 800;
}
.words-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.words-bar {
  display: flex;
  flex: 1;
  gap: 4px;
  direction: ltr;
}
.words-bar i {
  flex: 1;
  height: 4px;
  border-radius: 3px;
  background: #e6edf5;
  transition: background .3s;
}
.words-bar .is-done {
  background: var(--brand);
}
.words-question {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 18px 14px 14px;
  border-radius: 20px;
  background: #f7fafd;
  text-align: center;
}
.words-sentence {
  margin: 0;
  font: 700 20px/1.6 var(--fx);
  text-wrap: balance;
}
.words-blank {
  display: inline-block;
  min-width: 84px;
  margin: 0 2px;
  padding: 0 4px;
  border: 0;
  border-bottom: 2px dashed var(--selected-line);
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1.25;
  vertical-align: baseline;
}
.words-blank:empty::before {
  content: "\00a0";
}
.words .words-blank.is-filled {
  min-width: 0;
  border-bottom: 2px dotted #12804f;
  border-radius: 6px 6px 0 0;
  background: #d9f2e7;
  color: #146047;
  cursor: pointer;
}
.words-blank.is-filled[aria-expanded="true"] {
  border-bottom-style: solid;
}
.words-listen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ffd9bf;
  border-radius: 999px;
  background: var(--surface);
  color: #c2620f;
}
.words-listen .icon {
  width: 16px;
  height: 16px;
}
.words-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.words-wave i {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}
.words-wave i:nth-child(2) { height: 13px; }
.words-wave i:nth-child(3) { height: 18px; }
.words-wave i:nth-child(4) { height: 11px; }
.words-translation {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.words-hint {
  margin: 0;
  color: #146047;
  font-size: 12px;
  font-weight: 700;
}
.words-lookup {
  display: grid;
  justify-items: start;
  gap: 2px;
  width: min(100%,340px);
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 26px #10354b1f,0 0 0 1px var(--border);
  text-align: start;
  animation: message-arrival 280ms var(--motion-ease);
}
.words-lookup p {
  margin: 0;
}
.words-lookup-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.words-lookup-head strong {
  font: 700 17px var(--fx);
}
.words-lookup-head span {
  color: var(--muted);
  font: 700 12px var(--fx);
}
.words-lookup-head small {
  padding: 1px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #3b5670;
  font-size: 11px;
  font-weight: 700;
}
.words-lookup-meaning {
  font-size: 14px;
  font-weight: 700;
}
.words-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #ffd9bf;
  border-radius: 12px;
  background: #fff6ef;
  color: #c2620f;
  font-size: 12px;
  font-weight: 800;
}
.words-save[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.words-save[aria-pressed="true"] .icon {
  fill: currentColor;
}
.words-options {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
  margin-top: 10px;
}
.words .words-option {
  min-height: 44px;
  padding: 0 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: 700 14px var(--fx);
  transition: border-color .18s,background .18s,opacity .18s;
}
.words-option:hover:not(:disabled) {
  border-color: var(--selected-line);
  background: #f5f9ff;
}
.words-option:disabled {
  cursor: default;
  opacity: .5;
}
.words-option.is-right {
  border-color: #9fdcbc;
  background: #eefaf3;
  color: #146047;
  opacity: 1;
}
.words-option.is-wrong {
  border-color: #f3b4b6;
  background: #fdf0f0;
  color: #c0262d;
  opacity: 1;
}
.words-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #eefaf3;
  animation: message-arrival 280ms var(--motion-ease);
}
.words-feedback-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #12804f;
  color: #fff;
  flex: none;
}
.words-feedback-mark .icon {
  stroke-width: 2.6;
}
.words-feedback p {
  display: grid;
  flex: 1;
  min-width: 0;
  margin: 0;
}
.words-feedback strong {
  color: #146047;
  font-size: 14px;
}
.words-feedback p span {
  color: #2f5446;
  font-size: 12px;
  line-height: 1.7;
}
.words-feedback.is-wrong {
  background: #fff4ec;
}
.words-feedback.is-wrong .words-feedback-mark {
  background: #c2620f;
}
.words-feedback.is-wrong strong {
  color: #9a4a08;
}
.words-feedback.is-wrong p span {
  color: #6b4a2f;
}
.words-next {
  flex: none;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--selected-line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--selected-text);
  font-size: 12px;
  font-weight: 700;
}
.words-rhythm {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf2f7;
}
.words-rhythm p {
  margin: 0;
  color: #18364f;
  font-size: 12px;
  font-weight: 800;
}
.words-rhythm ol {
  display: flex;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.words-rhythm li {
  position: relative;
  display: grid;
  flex: 1;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.words-rhythm li::before {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 2px #d6e2ee;
  content: "";
  transition: background .3s,box-shadow .3s,width .3s,height .3s,margin .3s;
}
.words-rhythm li:not(:last-child)::after {
  position: absolute;
  top: 6px;
  inset-inline-start: 50%;
  width: 100%;
  height: 2px;
  background: #e3ebf4;
  content: "";
  transition: background .3s;
}
.words-rhythm .is-done::before {
  background: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
}
.words-rhythm .is-done:not(:last-child)::after {
  background: var(--brand);
}
.words-rhythm .is-now {
  color: #c2620f;
  font-weight: 800;
}
.words-rhythm .is-now::before {
  width: 14px;
  height: 14px;
  margin-top: 0;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange),0 0 0 6px #f38b2430;
}
.words-rhythm li:last-child {
  color: #12804f;
}
.words-rhythm li:last-child::before {
  box-shadow: 0 0 0 2px #12804f;
}
.words-rhythm li:last-child.is-now::before {
  background: #12804f;
  box-shadow: 0 0 0 2px #12804f,0 0 0 6px #12804f30;
}
@media (prefers-reduced-motion: reduce) {
  .words-feedback,
  .words-lookup {
    animation: none;
  }
}
@media (min-width: 601px) {
  .words-intro h2 {
    font-size: 28px;
  }
  .words-intro p {
    max-width: 520px;
    font-size: 15px;
  }
  .words-side {
    height: 190px;
  }
}
@media (min-width: 900px) {
  .words-content {
    max-width: var(--content-width);
    padding: 18px 0 32px;
  }
  .words-intro h2 {
    font-size: 34px;
    letter-spacing: -.4px;
  }
  .words-intro h2 > span {
    display: inline;
  }
  .words-intro p {
    max-width: 720px;
    margin-top: 4px;
    text-wrap: balance;
    font-size: 16px;
  }
  .words-stage {
    grid-template-columns: minmax(0,320px) minmax(0,1fr);
    margin-top: 22px;
    border-radius: 22px;
  }
  .words-side {
    height: auto;
    min-height: 360px;
    background: radial-gradient(circle at 50% 46%,#fff 0,#e8f1ff 36%,#c6dbfa 100%);
  }
  .words-side::before {
    top: 286px;
    bottom: auto;
    width: 64%;
    height: 24px;
  }
  .words-ring {
    top: 170px;
    width: 92%;
    height: 40%;
    rotate: -8deg;
  }
  .words-chip {
    font-size: 13px;
  }
  .words-chip.is-now {
    top: 13%;
    right: 4%;
  }
  .words-chip.is-soon {
    top: 13%;
    left: 6%;
  }
  .words-chip.is-later {
    top: 4%;
    left: 38%;
    scale: .82;
  }
  .words-mascot {
    top: 70px;
    bottom: auto;
    height: 230px;
  }
  .words-notice {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 12px;
    border-radius: 12px;
    background: #ffffffeb;
    box-shadow: 0 8px 22px #0b2a4a1f;
    color: #3b5670;
    font-size: 12px;
  }
  .words-notice .icon {
    width: 16px;
    height: 16px;
    color: var(--brand);
  }
  .words-notice strong {
    color: var(--ink);
  }
  .words-quiz {
    padding: 22px 28px 22px;
  }
  .words-task {
    font-size: 14px;
  }
  .words-count {
    font-size: 13px;
  }
  .words-question {
    padding: 22px 20px 18px;
  }
  .words-sentence {
    font-size: 24px;
  }
  .words-translation {
    font-size: 14px;
  }
  .words-options {
    gap: 8px;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
  .words .words-option {
    font-size: 16px;
  }
  .words-rhythm p {
    font-size: 13px;
  }
}

/* ==================== Why Talkino ==================== */
.why {
  position: relative;
  color: var(--ink);
  font-family: var(--fx);
  background: linear-gradient(#fff4ea,var(--surface) 220px);
  scroll-margin-top: 76px;
}
.why-content {
  max-width: 620px;
  padding: 16px 0 20px;
}
.why-intro {
  text-align: center;
}
.why-intro h2 {
  margin: 0;
  color: #18364f;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 800;
}
.why-intro h2 > span {
  display: block;
}
.why-intro p {
  max-width: 330px;
  margin: 6px auto 0;
  font-size: 13px;
  line-height: 1.9;
  text-wrap: pretty;
}
.why-compare {
  margin-top: 14px;
}
.why-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0 0 8px;
  color: #6b7d8e;
  font-size: 12px;
  font-weight: 700;
}
.why-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.why-legend span::before {
  width: 14px;
  height: 6px;
  border-radius: 3px;
  background: #d3dae2;
  content: "";
}
.why-legend .is-talkino {
  color: var(--selected-text);
}
.why-legend .is-talkino::before {
  background: var(--brand);
}
.why-metrics {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-metric {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
}
.why-metric h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  color: #18364f;
  font-size: 12px;
  font-weight: 800;
}
.why-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.why-icon .icon {
  width: 16px;
  height: 16px;
}
.why-row {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #7a8a99;
  font-size: 11px;
  line-height: 1.5;
}
.why-row.is-talkino {
  color: var(--selected-text);
  font-size: 13px;
  font-weight: 800;
}
.why-bar {
  width: max(8px,var(--value));
  height: 6px;
  border-radius: 4px;
  background: #d3dae2;
  transform-origin: right;
}
.why-row.is-talkino .why-bar {
  height: 8px;
  background: linear-gradient(270deg,var(--brand),#4b93f8);
}
.why-note {
  margin: 8px 0 0;
  color: #8a99a8;
  font-size: 11px;
  text-align: center;
}
.why-reasons {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.why-reasons li {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 16px;
  background: #f4f8fd;
  text-align: center;
}
.why-reasons .why-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
}
.why-reasons p {
  display: grid;
  gap: 2px;
  margin: 0;
}
.why-reasons strong {
  color: #18364f;
  font-size: 12px;
  font-weight: 800;
}
.why-reasons p span {
  display: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
@media (prefers-reduced-motion: no-preference) {
  .why-compare.reveal-started .why-bar {
    animation: why-grow 800ms var(--motion-ease) backwards;
  }
  .why-compare.reveal-started .why-metric:nth-child(2) .why-bar { animation-delay: 80ms; }
  .why-compare.reveal-started .why-metric:nth-child(3) .why-bar { animation-delay: 160ms; }
  .why-compare.reveal-started .why-metric:nth-child(4) .why-bar { animation-delay: 240ms; }
  .why-compare.reveal-started .why-metric:nth-child(5) .why-bar { animation-delay: 320ms; }
  .why-compare.reveal-started .why-metric:nth-child(6) .why-bar { animation-delay: 400ms; }
}
@keyframes why-grow {
  from {
    transform: scaleX(0);
  }
}
@media (min-width: 601px) {
  .why-intro h2 {
    font-size: 28px;
  }
  .why-intro p {
    max-width: 520px;
    font-size: 15px;
  }
  .why-metrics {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (min-width: 900px) {
  .why-content {
    max-width: var(--content-width);
    padding: 18px 0 32px;
  }
  .why-intro h2 {
    font-size: 34px;
    letter-spacing: -.4px;
  }
  .why-intro h2 > span {
    display: inline;
  }
  .why-intro p {
    max-width: none;
    margin-top: 4px;
    font-size: 16px;
  }
  .why-compare {
    margin-top: 16px;
  }
  .why-metrics {
    gap: 10px;
  }
  .why-metric {
    gap: 6px;
    padding: 12px 16px;
    border-radius: 16px;
  }
  .why-metric h3 {
    font-size: 14px;
  }
  .why-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
  .why-row {
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    column-gap: 12px;
    font-size: 12px;
  }
  .why-row.is-talkino {
    font-size: 14px;
  }
  .why-row .why-bar {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .why-reasons {
    gap: 10px;
    margin-top: 10px;
  }
  .why-reasons li {
    grid-template-columns: auto minmax(0,1fr);
    justify-items: start;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-align: start;
  }
  .why-reasons strong {
    font-size: 14px;
  }
  .why-reasons p span {
    display: block;
  }
}

/* ==================== FAQ section ==================== */
.faq {
  position: relative;
  color: var(--ink);
  font-family: var(--fx);
  background: linear-gradient(var(--surface),var(--canvas));
  scroll-margin-top: 76px;
}
.faq-content {
  max-width: 620px;
  padding: 16px 0 24px;
}
.faq-intro {
  text-align: center;
}
.faq-intro h2 {
  margin: 0;
  color: #18364f;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 800;
}
.faq-title-end {
  display: block;
  white-space: nowrap;
}
.faq-intro p {
  margin: 6px auto 0;
  font-size: 13px;
  line-height: 1.9;
}
.faq-figure {
  display: none;
}
.faq-list {
  margin-top: 14px;
  border-bottom: 1px solid #e3ecf6;
}
.faq-item {
  border-top: 1px solid #e3ecf6;
}
.faq-item summary {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  color: #18364f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:focus-visible {
  border-radius: 8px;
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.faq-num {
  color: var(--orange);
  font: 700 15px var(--fx);
  letter-spacing: .04em;
}
.faq-question {
  transition: color 200ms var(--motion-ease);
}
.faq-item[open] .faq-question {
  color: var(--brand);
}
.faq-item summary .icon {
  width: 16px;
  height: 16px;
  padding: 5px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  transition: transform 250ms var(--motion-ease),background-color 200ms,color 200ms;
}
.faq-item[open] summary .icon {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}
.faq-item p {
  margin: 0;
  padding: 0 38px 14px 36px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] p {
    animation: hero-copy-in 360ms var(--motion-ease) backwards;
  }
}
@media (min-width: 601px) {
  .faq-intro h2 {
    font-size: 28px;
  }
  .faq-intro p {
    font-size: 15px;
  }
}
@media (min-width: 900px) {
  .faq-content {
    display: grid;
    grid-template-columns: 340px minmax(0,1fr);
    align-items: start;
    gap: 56px;
    max-width: var(--content-width);
    padding: 18px 0 32px;
  }
  .faq-intro {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding-top: 8px;
    text-align: start;
  }
  .faq-intro .chapter {
    justify-content: flex-start;
  }
  .faq-intro h2 {
    font-size: 34px;
    letter-spacing: -.4px;
  }
  .faq-intro p {
    margin-inline: 0;
    font-size: 16px;
  }
  .faq-figure {
    display: block;
    width: auto;
    height: 250px;
    margin: auto 24px -16px auto;
    filter: drop-shadow(0 18px 24px #0b2a4a26);
  }
  .faq-list {
    margin-top: 0;
  }
  .faq-num {
    font-size: 17px;
  }
  .faq-item summary {
    grid-template-columns: 40px minmax(0,1fr) auto;
    padding: 15px 0;
    font-size: 16px;
  }
  .faq-item p {
    padding: 0 50px 16px 40px;
    font-size: 14px;
  }
}

/* ==================== Download section ==================== */
.download {
  position: relative;
  color: var(--ink);
  font-family: var(--fx);
  background: linear-gradient(var(--canvas),#e8f2ff 55%,var(--surface));
  scroll-margin-top: 76px;
}
.download > .chapter-thread {
  display: none;
}
.download-content {
  padding: 214px 0 40px;
}
.download-panel {
  position: relative;
  isolation: isolate;
  padding: 26px 14px 14px;
  border-radius: 28px;
  background:
    radial-gradient(80% 55% at 50% 0%,#6ab0ff66,#0000 70%),
    radial-gradient(1.2px 1.2px at 1px 1px,#ffffff24 1px,#0000 0) 0 0/20px 20px,
    linear-gradient(165deg,#2a86f8,var(--brand) 45%,#0450c8);
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff66,inset 0 0 0 1px #ffffff1a,0 8px 0 #0447b4,0 30px 50px #066cf440;
}
.download-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 118%,#0000 46%,#ffffff1c 46.3% 46.6%,#0000 47%),
    radial-gradient(circle at 50% 118%,#0000 60%,#ffffff12 60.3% 60.6%,#0000 61%);
  content: "";
}
.download-hero {
  position: absolute;
  bottom: calc(100% - 6px);
  left: 50%;
  z-index: 1;
  width: min(290px,84%);
  height: auto;
  translate: -50% 0;
  filter: drop-shadow(0 10px 10px #02225a40);
}
.download-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.download-copy {
  position: relative;
  text-align: center;
}
.download .chapter {
  display: none;
  color: #fff;
}
.download .chapter i {
  background: #ffffff66;
}
.download h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 800;
  text-shadow: 0 2px 14px #0340a140;
}
.download .speech-emphasis {
  color: #fff;
}
.download-copy > p {
  margin: 4px auto 0;
  color: #dbeaff;
  font-size: 13px;
  line-height: 1.9;
}
.download-stores {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.download-store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 20px;
  background: linear-gradient(#fff,#f4f8ff);
  color: #18364f;
  text-decoration: none;
  box-shadow: inset 0 1px 0 #fff,0 4px 0 #b8d2f5,0 12px 22px #0335851f;
  transition: transform 180ms var(--motion-ease),box-shadow 180ms var(--motion-ease);
}
.download-store:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #fff,0 6px 0 #b8d2f5,0 18px 28px #0335852e;
}
.download-store:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 #fff,0 1px 0 #b8d2f5,0 6px 12px #0335851f;
}
.download-store:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.download-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px #e1eaf5,0 3px 8px #0b2a4a14;
  flex: none;
}
.download-mark img {
  width: 30px;
  height: 30px;
}
.download-mark svg {
  width: 26px;
  height: 26px;
}
.download-store-text {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.55;
}
.download-store b {
  font-size: 15px;
  font-weight: 800;
}
.download-store small {
  color: #6b7d8e;
  font-size: 12px;
  font-weight: 600;
}
.download-arrow {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--motion-ease);
}
.download-store:hover .download-arrow {
  transform: translateX(-3px);
}
.download-more {
  order: -1;
  grid-column: 1/-1;
  display: none;
}
.has-primary .download-more {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: #cfe2ff;
  font-size: 12px;
  font-weight: 800;
}
.download-more::after {
  flex: 1;
  height: 1px;
  background: #ffffff33;
  content: "";
}
.download-stores li.is-primary {
  order: -2;
  grid-column: 1/-1;
}
.is-primary .download-store {
  position: relative;
  min-height: 74px;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 #fff,0 5px 0 #b8d2f5,0 16px 30px #02225a40;
}
.is-primary .download-store::after {
  position: absolute;
  top: -10px;
  left: 14px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
  box-shadow: 0 4px 10px #f38b2459;
  content: "پیشنهاد برای گوشی تو";
}
.is-primary .download-mark {
  width: 50px;
  height: 50px;
}
.is-primary .download-store b {
  font-size: 17px;
}
.has-primary {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.has-primary li:not(.is-primary, .download-more) .download-store {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 12px 6px 10px;
  text-align: center;
}
.has-primary li:not(.is-primary, .download-more) :is(small, .download-arrow) {
  display: none;
}
.has-primary li:not(.is-primary, .download-more) .download-store-text {
  flex: none;
}
.has-primary li:not(.is-primary, .download-more) .download-store b {
  font-size: 13px;
}
.has-primary li:not(.is-primary, .download-more) .download-mark {
  width: 40px;
  height: 40px;
}

/* iPhone install guide */
.ios-guide {
  width: 420px;
}
.ios-guide h2 {
  margin: 4px 0 14px;
  font-size: 20px;
}
.ios-guide-warning {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff4ea;
  color: #8a4a0c;
  font-size: 13px;
  line-height: 1.9;
}
.ios-guide ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ios-guide li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #f4f8fd;
  font-size: 14px;
  line-height: 1.8;
}
.ios-guide li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex: none;
}
.ios-guide li p {
  margin: 0;
}
.ios-guide li svg {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ios-guide-open {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 16px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

/* Mobile sticky download bar */
.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  border-radius: 20px;
  background: #ffffffeb;
  box-shadow: inset 0 0 0 1px var(--border),0 14px 34px #0b2a4a2e;
  backdrop-filter: blur(12px);
  font-family: var(--fx);
  translate: 0 140%;
  transition: translate 320ms var(--motion-ease);
}
.mobile-cta.is-visible {
  translate: 0 0;
}
.mobile-cta img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.mobile-cta p {
  display: grid;
  flex: 1;
  margin: 0;
  color: #18364f;
  line-height: 1.5;
}
.mobile-cta b {
  font-size: 14px;
}
.mobile-cta span {
  color: #6b7d8e;
  font-size: 11px;
}
.mobile-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 0 #0447b4;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta {
    transition: none;
  }
}
@media (min-width: 601px) {
  .download-content {
    padding-top: 248px;
  }
  .download-panel {
    padding: 30px 28px 28px;
  }
  .download-hero {
    width: 320px;
  }
  .download h2 {
    font-size: 28px;
  }
  .download-copy > p {
    font-size: 15px;
  }
  .download-stores {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (min-width: 900px) {
  .download-content {
    padding: 96px 0 64px;
  }
  .download-panel {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    grid-template-rows: auto 1fr;
    column-gap: 40px;
    min-height: 420px;
    padding: 44px 52px 44px 52px;
    border-radius: 32px;
  }
  .download-panel::before {
    background:
      radial-gradient(circle at 16% 100%,#0000 30%,#ffffff1c 30.2% 30.4%,#0000 30.7%),
      radial-gradient(circle at 16% 100%,#0000 42%,#ffffff12 42.2% 42.4%,#0000 42.7%);
  }
  .download-hero {
    top: auto;
    bottom: -8px;
    z-index: auto;
    left: 56px;
    width: 330px;
    translate: none;
    filter: drop-shadow(0 30px 34px #02225a66);
  }
  .download-copy {
    grid-column: 1;
    text-align: start;
  }
  .download .chapter {
    display: flex;
    justify-content: flex-start;
  }
  .download > .chapter-thread {
    display: block;
  }
  .download h2 {
    font-size: 36px;
    letter-spacing: -.4px;
  }
  .download-copy > p {
    margin: 6px 0 0;
    font-size: 16px;
  }
  .download-stores {
    grid-column: 1;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
    max-width: 640px;
    margin-top: 28px;
  }
  .download-store {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 168px;
    padding: 18px 10px 16px;
    border-radius: 22px;
    text-align: center;
    box-shadow: inset 0 1px 0 #fff,0 6px 0 #b8d2f5,0 16px 28px #03358524;
  }
  .download-store:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 #fff,0 10px 0 #b8d2f5,0 24px 34px #03358533;
  }
  .download-mark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }
  .download-mark img {
    width: 42px;
    height: 42px;
  }
  .download-mark svg {
    width: 36px;
    height: 36px;
  }
  .download-store-text {
    flex: none;
    line-height: 1.6;
  }
  .download-store b {
    font-size: 16px;
  }
  .download-arrow {
    display: none;
  }
  .has-primary .download-more {
    display: none;
  }
  .download-stores li.is-primary {
    order: 0;
    grid-column: auto;
  }
  .is-primary .download-store::after {
    top: -11px;
    left: 50%;
    translate: -50% 0;
    white-space: nowrap;
    content: "پیشنهادی";
  }
  .mobile-cta {
    display: none;
  }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .download-hero {
    animation: download-float 5s ease-in-out infinite;
  }
  @keyframes download-float {
    50% {
      translate: 0 -6px;
    }
  }
}

/* ==================== Footer ==================== */
.site-footer {
  border-radius: 28px 28px 0 0;
  background: radial-gradient(60% 120% at 100% 0%,#123266,#0000 60%),#0b1f3a;
  color: #b9cbe3;
  font-family: var(--fx);
}
.footer-content {
  display: grid;
  width: calc(100% - 2 * var(--page-gutter));
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 36px 0 calc(24px + env(safe-area-inset-bottom));
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:focus-visible {
  border-radius: 6px;
  outline: 2px solid #7fb6ff;
  outline-offset: 3px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.footer-logo span {
  font-size: 21px;
  font-weight: 800;
}
.footer-brand > p {
  max-width: 380px;
  margin: 12px 0 16px;
  font-size: 13px;
  line-height: 2;
}
.footer-stores,
.footer-col ul,
.footer-social {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-stores a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 10px;
  border-radius: 12px;
  background: #fff;
  color: #18364f;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms var(--motion-ease);
}
.footer-stores a:hover {
  transform: translateY(-2px);
}
.footer-stores :is(img, svg) {
  width: 22px;
  height: 22px;
}
.footer-col {
  border-bottom: 1px solid #ffffff1a;
}
.footer-brand + .footer-col {
  margin-top: 22px;
  border-top: 1px solid #ffffff1a;
}
.footer-col summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.footer-col summary::-webkit-details-marker {
  display: none;
}
.footer-col summary::after {
  color: #7f97b8;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 220ms var(--motion-ease);
  content: "+";
}
.footer-col[open] summary::after {
  transform: rotate(45deg);
}
.footer-col ul {
  display: grid;
  gap: 2px;
  padding: 0 0 12px;
  font-size: 14px;
}
.footer-col a {
  display: inline-block;
  padding: 7px 0;
}
.footer-contact :is(a, address) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-style: normal;
  line-height: 1.9;
}
.footer-contact address {
  padding: 7px 0;
  font-size: 13px;
}
.footer-contact small {
  display: block;
  color: #7f97b8;
  font-size: 12px;
}
.footer-contact svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  fill: none;
  stroke: #7fb6ff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-col a:hover,
.footer-social a:hover {
  color: #fff;
}
.footer-bottom {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 12px;
  color: #7f97b8;
}
.footer-bottom p {
  order: 1;
  margin: 0;
}
.footer-enamad {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  background: #fff;
}
.footer-enamad img {
  width: 72px;
  height: 72px;
}
.footer-social {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff0f;
  box-shadow: inset 0 0 0 1px #ffffff1f;
  transition: transform 180ms var(--motion-ease),background-color 180ms;
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: #ffffff1f;
}
.footer-social :is(svg, img) {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
@media (min-width: 900px) {
  .site-footer {
    border-radius: 36px 36px 0 0;
  }
  .footer-content {
    grid-template-columns: 1.8fr .9fr 1fr 1.4fr;
    column-gap: 40px;
    padding: 52px 0 28px;
  }
  .footer-brand > p {
    font-size: 14px;
  }
  .footer-col,
  .footer-brand + .footer-col {
    margin: 0;
    border: 0;
  }
  .footer-col summary {
    padding: 0 0 14px;
    pointer-events: none;
  }
  .footer-col summary::after {
    content: none;
  }
  .footer-bottom {
    grid-column: 1/-1;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ffffff1a;
    font-size: 13px;
  }
  .footer-bottom p {
    order: 0;
  }
  .footer-social {
    gap: 10px;
    width: auto;
  }
  .footer-social a {
    width: 44px;
    height: 44px;
  }
  .footer-social :is(svg, img) {
    width: 26px;
    height: 26px;
  }
}

/* ==================== Desktop scale ==================== */
@media (min-width: 1025px) {
  :root {
    --page-zoom: 0.9;
  }
  body {
    zoom: var(--page-zoom);
  }
}

/* ---------- Navbar: page links and the download button (shared with about/contact/blog) ---------- */
.navigation a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  transition: color .16s, background .16s;
}
.navigation a:hover { color: #0964f3; background: #e3f0ff; }
.navigation a[aria-current="page"] { color: var(--brand); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-control);
  background: linear-gradient(115deg, #0759c9, #096eee);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 3px 0 #0447b4, 0 8px 18px -8px #066cf480;
  transition: transform .18s var(--motion-ease), box-shadow .18s var(--motion-ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 0 #0447b4, 0 12px 22px -8px #066cf480; }
.nav-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 #0447b4; }
.nav-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1025px) {
  .navigation a { min-height: 44px; padding: 8px 6px; border-radius: 8px; font-size: 14px; }
  .navigation a[aria-current="page"]::after {
    position: absolute;
    right: 6px;
    left: 6px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    content: "";
  }
}
@media (max-width: 1024px) {
  .navigation a { flex-shrink: 0; min-height: 48px; padding: 12px 16px; border-radius: 16px; font-size: 15px; }
  .navigation a[aria-current="page"] { background: var(--brand-soft); }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
  .navigation a { font-size: 16px; font-weight: 600; }
}
