@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: Fredoka;
  src: url("/assets/fonts/Fredoka-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --blue: #1b4fd8;
  --blue-dark: #1440a8;
  --blue-text: #1a46b8;
  --wash: #e3e9fc;
  --paper: #fff;
  --ink: #3c3c3c;
  --body: #4b4b4b;
  --muted: #656565;
  --line: #e5e5e5;
  --radius: 12px;
  --display: Fredoka, Nunito, sans-serif;
  --font: Nunito, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 500 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
html:lang(ru),
html:lang(uz-Cyrl) {
  --display: Nunito, Arial, sans-serif;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 850;
}
p {
  color: var(--body);
}
button,
a,
select,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 5px;
}
.container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.header {
  position: relative;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 1.875rem/1 var(--display);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  color: var(--blue);
}
.brand img {
  border-radius: 10px;
  width: 40px;
  height: 40px;
}
.navigation {
  display: flex;
  gap: 32px;
  font-weight: 800;
  font-size: 0.9375rem;
}
.navigation a {
  padding-block: 12px;
}
.navigation a:hover {
  color: var(--blue);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.language-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.language-picker select {
  border: 0;
  background: transparent;
  min-height: 44px;
  color: var(--ink);
  font-weight: 800;
  max-width: 148px;
}
.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  place-items: center;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  color: var(--blue-text);
  font-weight: 900;
  line-height: 1.5;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  padding-top: 72px;
  padding-bottom: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3.25rem, 5.4vw, 4.5rem);
  margin: 24px 0;
  max-width: 640px;
}
.hero h1 span {
  color: var(--blue);
}
.hero-intro {
  font-size: 1.1875rem;
  line-height: 1.65;
  max-width: 485px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
  transition:
    transform 150ms,
    background 150ms;
}
.primary {
  background: var(--blue);
  color: var(--paper);
  border-bottom: 5px solid var(--blue-dark);
}
.primary:hover {
  background: var(--blue-text);
}
.primary:active {
  transform: translateY(2px);
}
.text-link {
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  color: var(--blue-text);
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.question-proof {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 2px solid var(--line);
  padding-top: 24px;
  max-width: 430px;
}
.question-proof strong {
  font: 600 2.5rem/1 var(--display);
  color: var(--blue);
  letter-spacing: -0.03em;
}
.question-proof span {
  font-weight: 750;
  font-size: 0.9375rem;
  max-width: 185px;
  line-height: 1.45;
}
.hero-languages {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 20px;
}
.hero-visual {
  min-width: 0;
}
.hero-stage {
  height: 596px;
  border-radius: var(--radius);
  background: var(--wash);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.stage-year {
  position: absolute;
  top: 8px;
  left: 24px;
  font: 600 7rem/1 var(--display);
  letter-spacing: -0.045em;
  color: #bacaf7;
  z-index: -1;
}
.phone {
  padding: 8px;
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: 36px;
  overflow: hidden;
  display: block;
  line-height: 0;
}
.phone img {
  border-radius: 26px;
  width: 100%;
  height: auto;
}
.hero-phone {
  width: 250px;
  transform: rotate(5deg);
  position: relative;
}
.hero-phone:hover {
  transform: rotate(3deg);
}
.hero-guide {
  position: absolute;
  width: 174px;
  left: -40px;
  bottom: 24px;
  transform: rotate(-9deg);
  pointer-events: none;
}
.hero-sticker {
  position: absolute;
  right: -20px;
  bottom: 48px;
  border: 2px solid var(--blue);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px 20px;
  transform: rotate(-5deg);
  color: var(--blue-text);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.hero-sticker span,
.hero-sticker strong {
  display: block;
}
.hero-sticker strong {
  font-weight: 900;
}
.hero-visual figcaption {
  margin-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.section {
  padding-block: 80px;
}
.features {
  border-top: 2px solid var(--line);
}
.section-heading {
  max-width: 740px;
}
.section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 16px 0;
}
.section-heading > p:last-child {
  font-size: 1.125rem;
  max-width: 580px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  gap: 32px;
}
.feature {
  border-top: 2px solid var(--line);
  padding-top: 24px;
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.step-number {
  font: 600 2.5rem/1 var(--display);
  color: var(--blue);
  letter-spacing: -0.04em;
}
.feature h3 {
  margin-bottom: 12px;
}
.feature p {
  max-width: 350px;
  font-size: 1rem;
}
.footer {
  border-top: 2px solid var(--line);
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer p {
  font-size: 0.875rem;
  margin-top: 16px;
}
.footer-right {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.footer-right > span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-languages {
  display: flex;
  gap: 24px;
  font-size: 0.8125rem;
  margin-top: 32px;
  flex-wrap: wrap;
}
.footer-languages a {
  padding-block: 8px;
}
.footer-languages a[aria-current] {
  color: var(--blue);
  font-weight: 900;
}
dialog {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  max-height: 94dvh;
  max-width: min(92vw, 520px);
  overflow: auto;
  color: var(--ink);
}
dialog::backdrop {
  background: rgb(19 31 36 / 0.8);
}
.dialog-toolbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.75rem;
}
.dialog-close {
  border: 0;
  background: var(--wash);
  padding: 8px 12px;
  border-radius: 8px;
  min-height: 44px;
  font-weight: 800;
}
.dialog-close span {
  margin-left: 4px;
  font-size: 1.25rem;
}
dialog > img {
  width: auto;
  height: calc(90dvh - 96px);
  max-height: 100%;
  margin: auto;
  object-fit: contain;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1440px) {
  .hero {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 40px;
  }
  .hero-stage {
    height: 560px;
  }
  .hero-phone {
    width: 232px;
  }
  .hero-guide {
    width: 140px;
    left: -24px;
  }
  .hero-sticker {
    right: -12px;
    font-size: 0.8125rem;
    padding: 12px;
  }
  .navigation {
    gap: 20px;
  }
  .header-inner {
    gap: 20px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero h1 {
    font-size: 3.75rem;
  }
  html:lang(ru) .hero h1 {
    font-size: 3.4rem;
  }
}
@media (max-width: 900px) {
  .header-inner {
    height: 80px;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px 32px;
    background: var(--paper);
    border-bottom: 2px solid var(--line);
  }
  .navigation.is-open {
    display: flex;
  }
  .menu-toggle {
    display: grid;
  }
  .hero {
    padding-top: 48px;
    gap: 32px;
  }
  .hero h1 {
    font-size: 3.15rem;
  }
  html:lang(ru) .hero h1 {
    font-size: 2.9rem;
  }
  .hero-intro {
    font-size: 1.0625rem;
  }
  .hero-stage {
    height: 520px;
  }
  .hero-phone {
    width: 212px;
  }
  .hero-guide {
    width: 120px;
  }
  .hero-sticker {
    bottom: 24px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .question-proof {
    margin-top: 24px;
  }
  .feature-grid {
    gap: 24px;
  }
  .feature h3 {
    font-size: 1.1875rem;
  }
}
@media (max-width: 680px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 76px;
    gap: 12px;
  }
  .brand {
    gap: 8px;
    font-size: 1.5rem;
  }
  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .header-actions {
    gap: 4px;
  }
  .language-picker {
    gap: 4px;
  }
  .language-picker select {
    font-size: 0.875rem;
    width: 110px;
  }
  .language-picker > svg {
    width: 17px;
  }
  .navigation {
    top: 76px;
    padding-inline: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 40px 48px;
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 10vw, 4rem);
    margin-block: 20px;
  }
  html:lang(ru) .hero h1 {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
  }
  .hero-intro {
    font-size: 1.0625rem;
    max-width: 520px;
  }
  .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 12px 20px;
    margin-top: 24px;
  }
  .hero-actions .button {
    padding-inline: 20px;
  }
  .question-proof {
    margin-top: 24px;
    padding-top: 20px;
  }
  .question-proof strong {
    font-size: 2.25rem;
  }
  .hero-languages {
    font-size: 0.75rem;
    margin-top: 16px;
  }
  .hero-stage {
    height: 550px;
    margin-inline: 8px;
  }
  .hero-phone {
    width: 230px;
  }
  .hero-guide {
    width: 124px;
    left: -20px;
    bottom: 32px;
  }
  .hero-sticker {
    right: -8px;
    bottom: 40px;
    max-width: 180px;
  }
  .stage-year {
    font-size: 6rem;
  }
  .hero-visual figcaption {
    margin-top: 16px;
  }
  .section {
    padding-block: 56px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 24px;
  }
  .feature {
    position: relative;
    min-height: 160px;
    padding-right: 80px;
  }
  .feature-top {
    margin-bottom: 16px;
  }
  .feature-top img {
    position: absolute;
    right: 0;
    top: 24px;
    width: 80px;
  }
  .step-number {
    font-size: 1.5rem;
  }
  .feature h3 {
    font-size: 1.375rem;
  }
  .feature p {
    max-width: none;
  }
  .section-heading h2 {
    font-size: 2.25rem;
  }
  .section-heading > p:last-child {
    font-size: 1rem;
  }
  .footer-inner {
    align-items: flex-start;
  }
  .footer p {
    max-width: 210px;
    font-size: 0.8125rem;
  }
  .footer-languages {
    gap: 20px;
  }
  .dialog-toolbar {
    font-size: 0.6875rem;
  }
  .dialog-close {
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-phone:hover {
    transform: rotate(5deg);
  }
}

/* Product walkthrough */
.app-showcase {
  background: var(--blue);
  color: #fff;
}
.app-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
}
.app-copy .eyebrow {
  color: #fff;
}
.app-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-block: 16px 20px;
  max-width: 500px;
}
.app-intro {
  font-size: 1.125rem;
  color: #fff;
  max-width: 470px;
}
.screen-choices {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.screen-choice {
  display: grid;
  grid-template-columns: 32px 1fr 20px;
  gap: 16px;
  text-align: left;
  border: 2px solid #8faaf2;
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  padding: 20px;
  line-height: 1.45;
}
.screen-choice[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: #fff;
}
.screen-choice:hover {
  border-color: #fff;
}
.screen-choice strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 850;
}
.choice-number {
  font-weight: 900;
  font-size: 0.875rem;
  padding-top: 2px;
}
.screen-choice[aria-pressed="true"] .choice-number,
.screen-choice[aria-pressed="true"] .choice-arrow {
  color: var(--blue);
}
.choice-description {
  display: none;
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--body);
}
.screen-choice[aria-pressed="true"] .choice-description {
  display: block;
}
.app-showcase :focus-visible {
  outline-color: #fff;
}
.screen-choice:focus-visible {
  outline-offset: 6px;
}
.app-figure {
  display: grid;
  justify-items: center;
  gap: 24px;
}
.showcase-phone {
  width: 274px;
  cursor: zoom-in;
}
.app-figure figcaption {
  text-align: center;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.7;
}
.app-figure figcaption span {
  font-weight: 850;
}
/* One deliberately small, real interaction */
.quiz-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: 96px;
}
.quiz-copy {
  padding-top: 40px;
}
.quiz-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-block: 16px 24px;
}
.quiz-copy > p:last-of-type {
  font-size: 1.125rem;
  max-width: 390px;
}
.quiz-copy > img {
  margin-top: 40px;
  transform: rotate(-8deg);
}
.quiz-card {
  border: 2px solid var(--line);
  border-bottom: 5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.quiz-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--blue-text);
}
.quiz-meta > span:last-child {
  font-size: 0.8125rem;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 750;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  font-weight: 850;
  font-size: 1.375rem;
  line-height: 1.4;
  padding: 0;
}
.sign-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 152px;
  margin: 20px 0;
  background: #f5f7fd;
  border-radius: var(--radius);
}
.sign-stage img {
  width: 100px;
  height: 100px;
}
.answers {
  display: grid;
  gap: 10px;
}
.answer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid #a9a9a9;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
  min-height: 56px;
}
.answer input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
  flex-shrink: 0;
  position: absolute;
  left: 17px;
  opacity: 0;
}
.answer-letter {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #f1f1f1;
  color: var(--body);
  font-size: 0.8125rem;
  font-weight: 900;
}
.answer:has(input:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.answer:has(input:checked) {
  border-color: var(--blue);
  background: var(--wash);
}
.answer:has(input:checked) .answer-letter {
  background: var(--blue);
  color: #fff;
}
.answer:hover {
  border-color: var(--blue);
}
.answer-status {
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 900;
}
.answer.is-correct {
  border-color: #2f6b01;
  background: #d7ffb8;
  color: #2f6b01;
}
.answer.is-correct .answer-letter {
  background: #2f6b01;
  color: #fff;
}
.answer.is-incorrect {
  border-color: #a12727;
  background: #ffe9e9;
  color: #a12727;
}
.answer.is-incorrect .answer-letter {
  background: #a12727;
  color: #fff;
}
fieldset:disabled .answer {
  cursor: default;
}
.quiz-instruction {
  font-size: 0.8125rem;
  margin-top: 16px;
  color: var(--muted);
}
.quiz-buttons {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 12px;
}
.quiz-buttons .button {
  width: 100%;
  justify-content: space-between;
}
.primary:disabled {
  background: #e5e5e5;
  border-bottom-color: #ccc;
  color: #666;
}
.retry {
  background: var(--wash);
  color: var(--blue-text);
  border-color: var(--blue);
}
.answer-feedback:has(.feedback-content:not([hidden])) {
  border-radius: var(--radius);
  margin-top: 20px;
  padding: 20px;
  background: var(--wash);
}
.answer-feedback strong {
  display: block;
  font-size: 1.0625rem;
}
.answer-feedback p {
  font-size: 0.9375rem;
  margin-top: 8px;
}
.answer-feedback .feedback-content > span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 8px;
}
.answer-feedback.is-correct strong {
  color: #2f6b01;
}
.answer-feedback.is-incorrect strong {
  color: #a12727;
}
.noscript-message {
  font-size: 0.9375rem;
  margin-top: 20px;
}
/* Questions and the final action */
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 96px;
  border-top: 2px solid var(--line);
}
.faq-heading h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-top: 16px;
}
.faq-list details {
  border-top: 2px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 2px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-weight: 850;
  cursor: pointer;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-mark {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: var(--blue);
}
.faq-mark::after {
  transform: rotate(90deg);
}
details[open] .faq-mark::after {
  transform: none;
}
.faq-list details > p {
  padding: 0 32px 24px 0;
  font-size: 1rem;
}
.closing {
  background: var(--wash);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.closing > div:first-child {
  flex: 1;
  min-width: min(100%, 320px);
}
.closing h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.closing p {
  margin-top: 12px;
  font-size: 1rem;
}
.closing .button {
  flex-shrink: 0;
}
.download-links {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 2px solid #8faaf2;
  padding-top: 24px;
}
.store-link {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
}
@media (max-width: 1100px) {
  .app-grid {
    gap: 48px;
  }
  .quiz-section,
  .faq-section {
    gap: 48px;
  }
  .quiz-card {
    padding: 24px;
  }
  .screen-choice {
    padding: 16px;
  }
  .closing {
    padding: 40px;
  }
}
@media (max-width: 900px) {
  .app-grid {
    gap: 32px;
    grid-template-columns: 1.1fr 1fr;
  }
  .showcase-phone {
    width: 240px;
  }
  .screen-choice {
    grid-template-columns: 24px 1fr 14px;
    gap: 12px;
  }
  .app-copy h2 {
    font-size: 2.25rem;
  }
  .quiz-section {
    gap: 32px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .quiz-card {
    padding: 20px;
  }
  .quiz-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  .quiz-copy {
    padding-top: 20px;
  }
  .faq-section {
    gap: 40px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .closing {
    padding: 32px;
  }
}
@media (max-width: 680px) {
  .app-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .app-copy h2 {
    font-size: 2.25rem;
  }
  .app-intro {
    font-size: 1rem;
  }
  .screen-choice {
    padding: 20px;
  }
  .showcase-phone {
    width: min(274px, 85vw);
  }
  .quiz-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .quiz-copy {
    padding-top: 0;
  }
  .quiz-copy h2 {
    margin-block: 16px;
  }
  .quiz-copy > p:last-of-type {
    font-size: 1rem;
  }
  .quiz-copy > img {
    display: none;
  }
  .quiz-card {
    padding: 20px;
  }
  .quiz-meta {
    flex-wrap: nowrap;
  }
  .quiz-meta > span {
    font-size: 0.625rem;
  }
  .quiz-meta > span:last-child {
    font-size: 0.75rem;
  }
  legend {
    font-size: 1.25rem;
  }
  .answer {
    padding: 12px;
    font-size: 0.9375rem;
    gap: 10px;
  }
  .quiz-copy h2 {
    font-size: 2.25rem;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-heading h2 {
    font-size: 2.25rem;
  }
  .faq-list summary {
    font-size: 1rem;
  }
  .closing {
    padding: 28px 24px;
    margin-bottom: 48px;
    gap: 24px;
  }
  .closing .button {
    width: 100%;
  }
  .closing p {
    font-size: 0.9375rem;
  }
  .closing h2 {
    font-size: 2rem;
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 1.3rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .language-picker > svg {
    display: none;
  }
  .header-inner {
    gap: 4px;
  }
  .hero-actions > .button {
    width: 100%;
  }
  .hero-stage {
    height: 500px;
  }
  .hero-phone {
    width: 210px;
  }
  .hero-sticker {
    max-width: 145px;
  }
  .hero-guide {
    width: 106px;
  }
  .hero-languages {
    font-size: 0.6875rem;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .footer-right {
    justify-items: start;
  }
}
/* Answer-result styles take precedence over the selected-radio state. */
.answer.is-correct:has(input:checked) {
  border-color: #2f6b01;
  background: #d7ffb8;
  color: #2f6b01;
}
.answer.is-correct:has(input:checked) .answer-letter {
  background: #2f6b01;
  color: #fff;
}
.answer.is-incorrect:has(input:checked) {
  border-color: #a12727;
  background: #ffe9e9;
  color: #a12727;
}
.answer.is-incorrect:has(input:checked) .answer-letter {
  background: #a12727;
  color: #fff;
}
/* Keep the Latin wordmark consistent across page scripts. */
.brand {
  font-family: Fredoka, Nunito, sans-serif;
}
@media (max-width: 680px) {
  .eyebrow {
    font-size: 0.75rem;
  }
  .quiz-meta > span {
    font-size: 0.75rem;
  }
  .quiz-meta > span:last-child {
    font-size: 0.8125rem;
  }
  .quiz-meta {
    flex-wrap: wrap;
  }
  .dialog-toolbar {
    font-size: 0.75rem;
  }
}
@media (max-width: 360px) {
  .hero-languages {
    font-size: 0.75rem;
  }
}
