@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f8fafb;
  --surface: #ffffff;
  --surface-muted: #f3f6f8;
  --border: #e4e9ee;
  --border-light: #eef2f5;
  --text: #1a2332;
  --text-soft: #5f6d7e;
  --text-muted: #8a97a8;
  --accent: #B645EE;
  --accent-hover: #9727cf;
  --accent-light: #e6f9f7;
  --accent-dark: #9727cf;
  --navy: #0d1f3c;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1200px;
  --container-narrow: 800px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, p, figure, ul {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

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

.container--narrow {
  width: min(calc(100% - 40px), var(--container-narrow));
}

.page-shell {
  overflow: clip;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 181, 162, 0.3);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-dark);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn--block {
  width: 100%;
}

/* ─── Badge ─── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge--success {
  background: rgba(15, 181, 162, 0.1);
  color: var(--accent-dark);
}

.badge--success::before {
  content: "✓";
  font-size: 0.7rem;
}

/* ─── Link ─── */

.link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.link:hover {
  color: var(--accent-dark);
}

/* ─── Typography reusable ─── */

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.subtitle {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 48ch;
}

.caption {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── Header ─── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-row {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.logo img {
  height: 28px;
  width: auto;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: 40px;
}

.main-nav a {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.language-switcher__btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.language-switcher__btn + .language-switcher__btn {
  border-left: 1px solid var(--border);
}

.language-switcher__btn.is-active,
.language-switcher__btn:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile menu ─── */

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--surface);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  padding: 12px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}

/* ─── Hero / Intro shell ─── */

.hero-section {
  padding: 26px 0;
}

.intro-shell {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(rgba(15, 181, 162, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 181, 162, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, var(--surface-muted) 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  box-shadow: var(--shadow-lg);
}

.intro-shell__header,
.intro-shell__top,
.intro-shell__body {
  position: relative;
  z-index: 1;
}

.intro-shell__top {
  display: grid;
  gap: 14px;
}

.intro-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.intro-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
}

.intro-brand__icon {
  color: var(--accent);
  font-size: 1.15rem;
}

.language-switcher--intro {
  border-color: var(--border);
}

.intro-badges {
  display: grid;
  gap: 10px;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.9);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.intro-shell__body {
  margin-top: 22px;
}

.intro-shell__body--banner {
  display: grid;
  gap: 22px;
  align-items: center;
}

.hero-copy__eyebrow {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 10ch;
  margin-top: 14px;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--navy);
  font-weight: 800;
}

.hero-copy__subtitle {
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 34rem;
  margin-top: 16px;
  font-size: 1.06rem;
}

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

.btn--wide {
  min-width: min(100%, 31rem);
}

.hero-copy__disclaimer {
  color: var(--text-muted);
  max-width: 36rem;
  margin-top: 14px;
  font-size: 0.94rem;
  line-height: 1.65;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 320px;
}

.hero-art img {
  width: min(100%, 520px);
  height: auto;
}

/* ─── Sections ─── */

.section {
  padding: 56px 0;
}

.section-header {
  margin-bottom: 36px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .subtitle {
  margin: 8px auto 0;
}

.section-header--left .subtitle {
  margin-top: 8px;
}

.section-header--spread {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section-header--spread .subtitle {
  margin-top: 6px;
}

/* ─── Card grid ─── */

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid--three {
  grid-template-columns: 1fr;
}

/* ─── Why choose / Feature card ─── */

.section--why {
  background: var(--accent-light);
  border-top: 1px solid rgba(15, 181, 162, 0.12);
  border-bottom: 1px solid rgba(15, 181, 162, 0.12);
}

.section--why .section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.section--why .section-title span {
  color: var(--text-soft);
  font-weight: 500;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-card__icon--bolt {
  background: #fff3e0;
}

.feature-card__icon--bolt::after {
  content: "⚡";
}

.feature-card__icon--shield {
  background: #e8f5e9;
}

.feature-card__icon--shield::after {
  content: "🛡️";
}

.feature-card__icon--device {
  background: #e3f2fd;
}

.feature-card__icon--device::after {
  content: "📱";
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Plan your loan ─── */

.section--plan {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.plan-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.plan-controls .section-title {
  margin-bottom: 8px;
}

.range-group {
  margin-top: 24px;
}

.range-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text);
}

.range-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-row input[type="range"] {
  flex: 1;
  height: 6px;
  appearance: none;
  background: var(--border);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.range-row input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 181, 162, 0.3);
  cursor: pointer;
}

.range-row input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 181, 162, 0.3);
  cursor: pointer;
}

.range-row output {
  min-width: 90px;
  text-align: right;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.plan-result__card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
}

.plan-result__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.plan-result__amount {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.plan-result__card .caption {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  font-size: 0.82rem;
}

.plan-result__card .btn--accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

/* ─── How it works / Step card ─── */

.step-card {
  text-align: center;
  padding: 32px 20px;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.step-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 32ch;
  margin: 0 auto;
}

/* ─── Articles ─── */

.section--articles {
  background: var(--surface-muted);
  border-top: 1px solid var(--border-light);
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card__thumb {
  height: 160px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.article-card__body {
  padding: 20px;
}

.article-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
  line-height: 1.35;
}

.article-card__body p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ─── FAQ ─── */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 20px 18px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── Compare ─── */

.section--compare {
  border-top: 1px solid var(--border-light);
}

.section--compare .section-title {
  margin-bottom: 16px;
}

.section--compare p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ─── Footer ─── */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.logo--footer img {
  filter: brightness(0) invert(1);
  height: 24px;
  width: auto;
}

.footer-desc {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.35);
}

/* ─── Quiz stages (inside intro-stage) ─── */

.intro-shell__body--quiz {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-stage,
.processing-card--full,
.fallback-card--full {
  width: min(100%, 760px);
}

.quiz-stage__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.quiz-stage__progress-track,
.processing-progress {
  overflow: hidden;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--border);
}

.quiz-stage__progress-bar,
.processing-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.3s ease;
}

.quiz-stage__eyebrow {
  margin-top: 32px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}

.quiz-stage__title {
  max-width: 16ch;
  margin: 12px auto 0;
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--navy);
}

.quiz-stage__options {
  display: grid;
  gap: 10px;
  margin: 24px auto 0;
}

.quiz-stage__option {
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.quiz-stage__option:hover,
.quiz-stage__option:focus-visible,
.quiz-stage__option.is-selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.quiz-stage__actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.quiz-stage__button {
  min-height: 50px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, opacity 0.15s;
}

.quiz-stage__button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.quiz-stage__button--secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.quiz-stage__button--primary {
  background: var(--accent);
  color: #fff;
}

.quiz-stage__button:hover:not([disabled]) {
  transform: translateY(-1px);
}

.quiz-stage__step-label {
  margin-top: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ─── Processing & fallback ─── */

.processing-card,
.fallback-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.processing-loader {
  position: relative;
  width: 72px;
  height: 72px;
}

.processing-loader span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(15, 181, 162, 0.2);
  animation: pulse 2s ease-out infinite;
}

.processing-loader span:nth-child(2) {
  animation-delay: 0.5s;
}

.processing-loader span:nth-child(3) {
  animation-delay: 1s;
}

.processing-statuses {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  text-align: left;
}

.processing-status {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.processing-status.is-active,
.processing-status.is-done {
  background: var(--accent-light);
  color: var(--text);
}

.processing-status__icon,
.fallback-card__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
}

.fallback-card__icon {
  width: 56px;
  height: 56px;
  font-size: 1.3rem;
  font-weight: 700;
}

/* ─── Legal pages ─── */

.legal-page {
  padding-bottom: 48px;
}

.legal-hero {
  padding: 48px 0 24px;
}

.legal-hero__inner {
  max-width: 700px;
}

.legal-hero .badge {
  margin-bottom: 16px;
}

.legal-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--text-soft);
  line-height: 1.65;
}

.secondary-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.secondary-link:hover {
  color: var(--accent-dark);
}

.legal-content {
  padding: 24px 0;
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.legal-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── Section pill (legacy compat for legal pages) ─── */

.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent-dark);
  margin-bottom: 16px;
}

/* ─── Animations ─── */

@keyframes pulse {
  0% {
    transform: scale(0.72);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

/* ─── Responsive ─── */

@media (min-width: 640px) {
  .card-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .quiz-stage__actions {
    grid-template-columns: 0.4fr 0.6fr;
  }

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

@media (min-width: 720px) {
  .intro-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .burger {
    display: none;
  }

  .main-nav {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .hero-section {
    padding: 42px 0;
  }

  .intro-shell {
    padding: 28px 36px 36px;
  }

  .intro-badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .intro-shell__body--banner {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 26px;
  }

  .section {
    padding: 72px 0;
  }

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

  .plan-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

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

  .intro-shell__body--quiz {
    min-height: 600px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
