@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fff;
  --surface: #ffffff;
  --surface-muted: #f3f6f8;
  --border: #e4e9ee;
  --border-light: #eef2f5;
  --text: #19181A;
  --text-soft: #5f6d7e;
  --text-muted: #6b7785;
  --accent: #14784a;
  --accent-hover: #060606;
  --accent-light: #f9ecff;
  --accent-dark: #116940;
  --orange: #F26218;
  --navy: #19181A;
  --gray: #f4f4f7;
  --gray-light: #F5F5F5;
  --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;
  --radius-xxl: 32px;
  --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);
}

@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 104.6%;
  ascent-override: 95%;
  descent-override: 23%;
  line-gap-override: 0%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Manrope Fallback", 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;
  outline: none;
  border: none;
}

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

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

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

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

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

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

.inner-container {
  padding: clamp(16px, 3vw, 36px);
}

.page-shell {
  overflow: clip;
}

.text-gradient {
  background: linear-gradient(to right, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-xl);
  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 rgb(19 135 80 / 30%);
}

.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: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

.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;
  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: 26px;
  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;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s;
}

.lang-dropdown__toggle:hover {
  color: var(--text);
}

.lang-dropdown__arrow {
  transition: transform 0.2s;
}

.lang-dropdown.is-open .lang-dropdown__arrow {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 60px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
  z-index: 200;
}

.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown__item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s;
}

.lang-dropdown__item:hover {
  background: var(--surface-alt);
}

.lang-dropdown__item + .lang-dropdown__item {
  border-top: 1px solid var(--border);
}

.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: 0;
  background: var(--gray);
}

.intro-shell {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  /* 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;
}

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

.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 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 14ch;
  margin-top: 14px;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.05;
  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%, 280px);
}

.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: 100%;
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3
}

/* ─── 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-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.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: transparent;
}
.why-grid {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 3vw, 36px);
  border-radius: var(--radius-xxl);
  background: var(--gray);
  /* background: linear-gradient(
    220deg, #ECF8FC, #F5F3F5); */
}

.why-grid__title .section-title {
  margin-bottom: 4px;
}

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

.feature-card {
  background: var(--surface);
  height: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xxl);
  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: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  border: 6px solid var(--accent);
  box-shadow: 0 2px 8px rgba(15, 181, 162, 0.3);
  cursor: pointer;
}

.range-row input[type="range"]::-moz-range-track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
}

.range-row input[type="range"]::-moz-range-progress {
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
}

.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;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.plan-result__amount {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  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(--gray);
}

.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;
}

/* ─── Reviews ─── */

.section--reviews {
  background: var(--gray);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.35s ease;
}

.review-card {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-card__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-muted);
}

.review-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.review-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.review-card__stars {
  color: #f5a623;
  font-size: 1.1rem;
}

.review-card__divider {
  height: 1px;
  background: var(--border-light);
  margin: 18px 0;
}

.review-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.review-card__body p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.review-card__date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.review-card__date::before {
  content: "📅";
  font-size: 0.85rem;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.reviews-nav__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.reviews-nav__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (min-width: 640px) {
  .reviews-track {
    gap: 16px;
  }

  .review-card {
    flex: 0 0 calc(50% - 8px);
    padding: 32px 28px;
  }
}

/* ─── 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);
  padding-bottom: 0!important;
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

.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;
}

/* ─── Keywords ─── */

.section--keywords {
  padding-top: 30px!important
}

.keywords-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.keywords-list li a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: #eef6f2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.keywords-list li a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
@media (max-width: 768px) {
  .keywords-list {
    gap: 4px;
  }
}

/* ─── SEO Text ─── */

.section--seo {
  border-top: 1px solid var(--border-light);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.seo-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.seo-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 10px;
}

.seo-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 10px;
}

.seo-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 20px;
  margin-bottom: 8px;
}

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

.seo-content ol {
  padding-left: 20px;
  margin: 12px 0 16px;
  display: grid;
  gap: 8px;
}

.seo-content ol li {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.seo-content strong {
  color: var(--text);
  font-weight: 700;
}

/* ─── Footer ─── */

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

.footer-top {
  display: grid;
  gap: 32px;
  padding-bottom: 28px;
}

.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: 42ch;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links ul {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

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

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

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

.footer-email:hover {
  color: #fff;
}

.footer-notice {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

/* ─── 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;
  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;
  font-weight: 800;
  color: var(--navy);
}

.quiz-stage__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px auto 0;
}

.quiz-stage__option {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  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(--surface-muted);
  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 var(--accent);
  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(--white);
  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);
  }

  .why-grid {
    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-top {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@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;
    margin-left: auto;
  }

  .header-right {
    margin-left: 0;
  }

  .intro-shell {
    padding: clamp(30px, 3.5vw, 44px) 0;
  }

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

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

  .hero-art {
    align-self: end;
    margin-bottom: calc(-1 * clamp(30px, 3.5vw, 44px));
  }

  .section {
    padding: 72px 0;
  }

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

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
  }

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

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

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

@media (max-width: 768px) {
  .intro-shell .hero-actions .btn {
    width: 100%;
  }

  .card-grid {
    gap: 0;
  }

  .intro-shell:has(.intro-shell__body--quiz) {
    min-height: calc(100dvh - var(--header-h));
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  .intro-shell:has(.intro-shell__body--quiz) .intro-shell__top {
    display: none;
  }

  .intro-shell:has(.intro-shell__body--quiz) .intro-shell__body--quiz {
    min-height: auto;
    flex: 1;
    align-items: stretch;
    padding-bottom: 30px;
  }

  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: calc(100dvh - var(--header-h) - 30px);
  }

  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__progress-meta,
  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__progress-track {
    flex-shrink: 0;
  }

  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__eyebrow,
  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__title,
  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__options {
    flex-shrink: 0;
  }

  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__eyebrow {
    margin-top: auto;
  }

  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__options {
    margin-bottom: auto;
  }

  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__actions {
    flex-shrink: 0;
    margin-top: auto;
    padding-bottom: 8px;
  }

  .intro-shell:has(.intro-shell__body--quiz) .quiz-stage__step-label {
    flex-shrink: 0;
    margin-top: 8px;
    padding-bottom: env(safe-area-inset-bottom, 8px);
  }

  .intro-shell:has(.intro-shell__body--quiz) .fallback-card--full,
  .intro-shell:has(.intro-shell__body--quiz) .processing-card--full {
    margin: auto 0;
  }
}

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

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