/* ============================================================
   Atheal Start Flow — shared funnel styles (EN + AR)
   One stylesheet for the landing, all /steps/* pages, and
   welcome-back, in both languages. Design tokens match the
   join-page redesign (everlab-variant): ink/cream/green/sage,
   serif display headings, 15px-radius weight-800 buttons.
   RTL: layout is centered/column so most rules are direction-
   agnostic; the few directional bits use logical properties
   or [dir="rtl"] overrides.
   ============================================================ */

:root {
  --fx-black: #070707;
  --fx-ink: #11100f;
  --fx-muted: #6f6d67;
  --fx-soft: #efeee8;
  --fx-cream: #f8f7f2;
  --fx-white: #ffffff;
  --fx-line: rgba(17, 16, 15, 0.12);
  --fx-green: #044c40;
  --fx-green-2: #0d7a68;
  --fx-sage: #c4e3c1;
  --fx-sage-tint: #e6f2e4;
  --fx-amber: #C68F3F;
  --fx-shadow-card: 0 1px 0 rgba(17,16,15,0.04), 0 24px 48px -28px rgba(17,16,15,0.18);
  --fx-r-sm: 10px;
  --fx-r-md: 15px;
  --fx-r-lg: 20px;
  --fx-r-xl: 28px;
  --fx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fx-serif: "Lora", Georgia, serif;
  --fx-sans: var(--font-sans, "IBM Plex Sans Arabic", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);
}
html[lang="ar"] {
  --fx-serif: "Noto Naskh Arabic", "IBM Plex Sans Arabic", serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--fx-sans);
  background: var(--fx-cream);
  color: var(--fx-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body { min-height: 100dvh; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }

/* ===== Funnel shell ===== */
.fx-viewport {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.fx-side { display: none; }
@media (min-width: 980px) {
  .fx-viewport.fx-split { flex-direction: row; }
  .fx-viewport.fx-split .fx-side {
    flex: 1 1 0;
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow: hidden;
    display: block;
  }
  .fx-viewport.fx-split .fx-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.fx-main {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.fx-shell {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: 16px 20px 130px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fx-shell.fx-wide { max-width: 880px; }

/* ===== Top bar ===== */
.fx-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0 14px;
}
.fx-back {
  appearance: none;
  border: 1px solid var(--fx-line);
  background: var(--fx-white);
  color: var(--fx-ink);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
  transition: background 160ms var(--fx-ease), border-color 160ms var(--fx-ease);
}
.fx-back:hover { background: var(--fx-soft); }
.fx-back:active { transform: scale(0.97); }
.fx-back[hidden] { display: none; }
[dir="rtl"] .fx-back .fx-back-arrow { display: inline-block; transform: scaleX(-1); }
.fx-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-inline: auto;
}
.fx-brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--fx-green);
  position: relative;
  flex: 0 0 auto;
}
.fx-brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: var(--fx-white);
}
.fx-topbar-spacer { width: 38px; flex: 0 0 auto; }

/* ===== Progress ===== */
.fx-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.08);
  overflow: hidden;
  margin-bottom: 26px;
}
.fx-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--fx-green);
  transition: width 0.4s var(--fx-ease);
}
[dir="rtl"] .fx-progress-fill { margin-inline-start: auto; }

/* ===== Step content ===== */
.fx-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fx-in 0.35s var(--fx-ease) both;
}
@keyframes fx-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.fx-heading {
  font-family: var(--fx-serif);
  font-size: 28px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
  margin: 0;
  text-align: center;
}
.fx-subheading {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fx-muted);
  margin: 0;
  text-align: center;
}
.fx-badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--fx-line);
  background: var(--fx-white);
  color: var(--fx-green-2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
[dir="rtl"] .fx-badge { letter-spacing: 0; }

/* ===== Options: stacked cards ===== */
.fx-options { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.fx-options.fx-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 360px;
  margin-inline: auto;
}
.fx-options.fx-chips {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.fx-opt {
  appearance: none;
  text-align: start;
  border: 1px solid var(--fx-line);
  background: var(--fx-white);
  border-radius: var(--fx-r-md);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fx-ink);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 160ms var(--fx-ease), background 160ms var(--fx-ease), box-shadow 160ms var(--fx-ease);
}
.fx-opt:hover { background: var(--fx-soft); }
.fx-opt:active { transform: scale(0.99); }
.fx-opt .fx-opt-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--fx-line);
  flex: 0 0 auto;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 12px;
  transition: all 160ms var(--fx-ease);
}
.fx-opt.fx-radio .fx-opt-check { border-radius: 999px; }
.fx-opt[aria-checked="true"] {
  border-color: var(--fx-green);
  background: var(--fx-sage-tint);
  box-shadow: inset 0 0 0 1px var(--fx-green);
}
.fx-opt[aria-checked="true"] .fx-opt-check {
  background: var(--fx-green);
  border-color: var(--fx-green);
  color: #fff;
}
.fx-opt-body { display: flex; flex-direction: column; gap: 3px; }
.fx-opt-sub { font-size: 12.5px; font-weight: 400; color: var(--fx-muted); line-height: 1.5; }
.fx-options.fx-chips .fx-opt {
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 14px;
  align-items: center;
}
.fx-options.fx-chips .fx-opt .fx-opt-check { display: none; }
.fx-options.fx-grid-2 .fx-opt { justify-content: center; text-align: center; }
.fx-options.fx-grid-2 .fx-opt .fx-opt-check { display: none; }

/* ===== Factoid ===== */
.fx-factoid {
  border: 1px solid var(--fx-line);
  background: linear-gradient(180deg, var(--fx-white) 0%, var(--fx-soft) 170%);
  border-radius: var(--fx-r-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fx-factoid-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-green-2);
}
[dir="rtl"] .fx-factoid-title { letter-spacing: 0; }
.fx-factoid-text { font-size: 13.5px; line-height: 1.6; color: var(--fx-ink); opacity: 0.85; }

/* ===== Sticky actions ===== */
.fx-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(248,247,242,0) 0%, var(--fx-cream) 34%);
  display: flex;
  justify-content: center;
  z-index: 20;
}
@media (min-width: 980px) {
  .fx-split .fx-actions { left: 50%; }
  [dir="rtl"] .fx-split .fx-actions { left: 0; right: 50%; }
}
.fx-actions-inner { width: 100%; max-width: 520px; }
.fx-continue {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: var(--fx-r-md);
  background: var(--fx-black);
  color: var(--fx-white);
  font-size: 15px;
  font-weight: 800;
  min-height: 48px;
  padding: 15px 26px;
  cursor: pointer;
  transition: background 160ms var(--fx-ease), transform 160ms var(--fx-ease);
}
.fx-continue:hover:not(:disabled) { background: var(--fx-green); }
.fx-continue:active { transform: scale(0.97); }
.fx-continue:disabled { opacity: 0.4; cursor: not-allowed; }
.fx-continue:focus-visible { outline: 2px solid var(--fx-green-2); outline-offset: 4px; }
.fx-continue.fx-sage { background: var(--fx-green); }
.fx-continue.fx-sage:hover:not(:disabled) { background: var(--fx-green-2); }

/* ===== Forms (contact capture, notify) ===== */
.fx-form { display: flex; flex-direction: column; gap: 18px; text-align: start; }
.fx-field { display: flex; flex-direction: column; gap: 7px; }
.fx-field > span { font-size: 13.5px; font-weight: 700; color: var(--fx-ink); }
.fx-input, .fx-select {
  width: 100%;
  border: 1px solid var(--fx-line);
  background: var(--fx-white);
  border-radius: var(--fx-r-md);
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--fx-ink);
  outline: none;
  transition: border-color 160ms var(--fx-ease), box-shadow 160ms var(--fx-ease);
}
.fx-input:focus, .fx-select:focus {
  border-color: var(--fx-green-2);
  box-shadow: 0 0 0 3px rgba(13, 122, 104, 0.14);
}
.fx-phone-row { display: flex; gap: 8px; direction: ltr; }
.fx-phone-row .fx-select { width: 108px; flex: 0 0 auto; }
.fx-phone-row .fx-input { flex: 1; min-width: 0; direction: ltr; }
.fx-error { font-size: 12.5px; color: #B4452B; margin: 0; }
.fx-fineprint { font-size: 12px; color: var(--fx-muted); line-height: 1.6; margin: 0; }
.fx-fineprint a { color: var(--fx-ink); }
.fx-reveal { animation: fx-in 0.45s var(--fx-ease) both; }
.fx-checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fx-ink);
  opacity: 0.9;
  cursor: pointer;
  line-height: 1.55;
}
.fx-checkline input { margin-top: 2px; accent-color: var(--fx-green); }
.fx-centerlink { text-align: center; font-size: 13.5px; color: var(--fx-muted); }
.fx-centerlink a { color: var(--fx-ink); font-weight: 600; }

/* ===== Carousel (testimonials / personas) ===== */
.fx-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: -20px;
  padding: 4px 20px;
}
.fx-carousel::-webkit-scrollbar { display: none; }
.fx-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border: 1px solid var(--fx-line);
  background: var(--fx-white);
  border-radius: var(--fx-r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--fx-shadow-card);
}
.fx-card-quote { font-size: 15px; line-height: 1.65; color: var(--fx-ink); opacity: 0.85; margin: 0; }
.fx-card-name { font-weight: 700; font-size: 14.5px; }
.fx-card-meta { font-size: 12.5px; color: var(--fx-muted); }
.fx-card-title { font-family: var(--fx-serif); font-weight: 600; font-size: 16.5px; margin: 0; }
.fx-dots { display: flex; gap: 6px; justify-content: center; }
.fx-dot {
  appearance: none;
  border: 0;
  padding: 0;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.16);
  cursor: pointer;
  transition: background 0.2s ease;
}
.fx-dot.on { background: var(--fx-green); }
.fx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-tag {
  border: 1px solid var(--fx-line);
  background: var(--fx-cream);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fx-ink);
}
.fx-goal-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fx-goal-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--fx-ink);
  opacity: 0.85;
}
.fx-goal-list li::before {
  content: "✓";
  color: var(--fx-green-2);
  font-weight: 700;
  flex: 0 0 auto;
}

/* ===== Stat visual (transition-2) ===== */
.fx-stat-visual {
  position: relative;
  border-radius: var(--fx-r-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background: var(--fx-green);
}
.fx-stat-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fx-stat-overlay {
  position: relative;
  margin: 14px;
  border-radius: var(--fx-r-md);
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 16px;
}
.fx-stat-overlay strong { display: block; font-size: 17px; font-family: var(--fx-serif); }
.fx-stat-overlay span { font-size: 13px; opacity: 0.85; line-height: 1.5; display: block; margin-top: 2px; }
.fx-bottomline { font-size: 14px; line-height: 1.65; color: var(--fx-ink); opacity: 0.8; text-align: center; margin: 0; }

/* ===== Loading step ===== */
.fx-loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 16px;
}
.fx-spinner {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid var(--fx-soft);
  border-top-color: var(--fx-green);
  animation: fx-spin 0.9s linear infinite;
}
@keyframes fx-spin { to { transform: rotate(360deg); } }
.fx-loading-msg { font-size: 14px; color: var(--fx-muted); min-height: 20px; }
.fx-checklist { display: flex; flex-direction: column; gap: 10px; text-align: start; }
.fx-checklist div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
}
.fx-checklist div::before {
  content: "✓";
  color: var(--fx-green-2);
  font-weight: 700;
  flex: 0 0 auto;
}

/* ===== Results ===== */
.fx-results-panel {
  border-radius: var(--fx-r-xl);
  padding: 18px;
  background: linear-gradient(150deg, var(--fx-green) 0%, #06251e 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .fx-results-panel { grid-template-columns: 1fr 1fr; }
}
.fx-results-col {
  border-radius: var(--fx-r-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
}
.fx-results-col.fx-goals { background: rgba(196, 227, 193, 0.16); backdrop-filter: blur(30px); }
.fx-results-col.fx-risks { background: rgba(7, 7, 7, 0.3); backdrop-filter: blur(30px); }
.fx-results-col h2 { margin: 0; font-family: var(--fx-serif); font-size: 17px; font-weight: 600; }
.fx-focus { display: flex; flex-direction: column; gap: 4px; }
.fx-focus-head { display: flex; gap: 8px; align-items: center; }
.fx-focus-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--fx-ink);
}
.fx-focus-dot.g { background: var(--fx-sage); }
.fx-focus-dot.r { background: #ffb784; }
.fx-focus-title { font-size: 14px; font-weight: 700; }
.fx-focus-desc { font-size: 13px; line-height: 1.55; opacity: 0.72; padding-inline-start: 24px; }

/* ===== Plans page ===== */
.fx-plan-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fx-plan-chip {
  border: 1px solid var(--fx-green);
  background: var(--fx-sage-tint);
  color: var(--fx-green);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
}
.fx-module {
  border: 1px solid var(--fx-line);
  background: var(--fx-white);
  border-radius: var(--fx-r-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: start;
}
.fx-module h3 { margin: 0; font-family: var(--fx-serif); font-size: 17px; font-weight: 600; }
.fx-module .fx-module-sub { font-size: 13.5px; color: var(--fx-muted); line-height: 1.6; }
.fx-module ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.fx-module li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.55; color: var(--fx-ink); opacity: 0.85; align-items: flex-start; }
.fx-module li::before { content: "✓"; color: var(--fx-green-2); font-weight: 700; flex: 0 0 auto; }
.fx-module li.fx-addon::before { content: "+"; color: var(--fx-amber); }
.fx-price-card {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-r-lg);
  background: linear-gradient(180deg, var(--fx-white) 0%, var(--fx-sage-tint) 180%);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fx-price-card .fx-price-line { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.fx-price-card .fx-price-now { font-family: var(--fx-serif); font-size: 40px; font-weight: 600; letter-spacing: 0; }
.fx-price-card .fx-price-unit { font-size: 14px; color: var(--fx-muted); }
.fx-price-note { font-size: 12.5px; color: var(--fx-muted); }
.fx-cohort {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--fx-line);
  border-inline-start: 3px solid var(--fx-amber);
  border-radius: var(--fx-r-md);
  background: var(--fx-white);
  text-align: start;
  margin-bottom: 4px;
}
.fx-cohort strong { font-size: 15px; color: var(--fx-ink); }
.fx-cohort span { font-size: 12.5px; color: var(--fx-muted); }
.fx-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
  padding: 13px 15px;
  background: linear-gradient(135deg, #fdf8e7, #faf1d3);
  border: 1px solid #e6cf8f;
  border-radius: var(--fx-r-md);
}
.fx-guarantee-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7a5c14;
  background: linear-gradient(135deg, #f6e3a9, #e3c368);
  box-shadow: inset 0 0 0 1px rgba(122, 92, 20, 0.25);
}
.fx-guarantee-icon svg { width: 20px; height: 20px; display: block; }
.fx-guarantee-body { display: flex; flex-direction: column; gap: 2px; }
.fx-guarantee-body strong { font-size: 14px; font-weight: 700; color: var(--fx-ink); }
.fx-guarantee-body span { font-size: 12.5px; color: var(--fx-muted); line-height: 1.55; }
.fx-faq { display: flex; flex-direction: column; gap: 8px; text-align: start; }
.fx-faq details {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-r-md);
  background: var(--fx-white);
  padding: 0 16px;
}
.fx-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; color: var(--fx-muted); }
.fx-faq details[open] summary::after { content: "–"; }
.fx-faq p { font-size: 13.5px; line-height: 1.65; color: var(--fx-ink); opacity: 0.8; margin: 0 0 14px; }
.fx-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-green-2);
}
[dir="rtl"] .fx-section-label { letter-spacing: 0; }

/* ===== Coverage (location-map) ===== */
.fx-coverage {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-r-lg);
  background: var(--fx-white);
  overflow: hidden;
}
.fx-coverage-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.fx-coverage-head {
  background: var(--fx-green);
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fx-coverage-head strong { font-family: var(--fx-serif); font-size: 18px; }
.fx-coverage-head span { font-size: 13px; opacity: 0.85; }
.fx-coverage-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.fx-coverage-body div { display: flex; gap: 10px; font-size: 14px; color: var(--fx-ink); opacity: 0.85; align-items: flex-start; }
.fx-coverage-body div::before { content: "✓"; color: var(--fx-green-2); font-weight: 700; }

/* ===== Landing ===== */
.fx-landing {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.fx-landing-visual { display: none; }
@media (min-width: 980px) {
  .fx-landing { flex-direction: row; }
  .fx-landing-visual { display: block; flex: 1 1 0; position: sticky; top: 0; height: 100dvh; overflow: hidden; }
  .fx-landing-visual img { width: 100%; height: 100%; object-fit: cover; }
}
.fx-landing-main { flex: 1 1 0; display: flex; flex-direction: column; min-height: 100dvh; }
.fx-landing-hero-m { position: relative; height: 26vh; overflow: hidden; }
.fx-landing-hero-m img { width: 100%; height: 100%; object-fit: cover; }
.fx-landing-hero-m::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,7,0.3), rgba(7,7,7,0.5));
}
@media (min-width: 980px) { .fx-landing-hero-m { display: none; } }
.fx-landing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 22px 48px;
}
.fx-landing-inner {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 22px;
}
.fx-landing h1 {
  font-family: var(--fx-serif);
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
  text-align: center;
  margin: 0 0 12px;
}
.fx-landing .fx-landing-sub {
  text-align: center;
  color: var(--fx-muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}
.fx-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fx-muted);
}
.fx-trust-row .stars { color: var(--fx-green-2); letter-spacing: 2px; font-size: 14px; }
.fx-ticker {
  position: relative;
  overflow: hidden;
  margin-inline: -22px;
  padding-inline: 22px;
}
.fx-ticker-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: fx-ticker 46s linear infinite;
}
.fx-ticker:hover .fx-ticker-track { animation-play-state: paused; }
@keyframes fx-ticker { to { transform: translateX(-50%); } }
[dir="rtl"] .fx-ticker-track { animation-name: fx-ticker-rtl; }
@keyframes fx-ticker-rtl { to { transform: translateX(50%); } }
.fx-ticker-card {
  width: 260px;
  flex: 0 0 auto;
  background: var(--fx-soft);
  border-radius: var(--fx-r-md);
  padding: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fx-ink);
  opacity: 0.9;
}
.fx-ticker-card .who { display: block; margin-top: 8px; font-weight: 700; }

/* ===== Welcome back ===== */
.fx-wb {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.fx-wb-inner { max-width: 620px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fx-wb h1 {
  font-family: var(--fx-serif);
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}
.fx-wb p { font-size: clamp(16px, 2.4vw, 21px); color: var(--fx-muted); margin: 0; }
.fx-wb-bar { width: 100%; max-width: 300px; height: 3px; background: var(--fx-soft); border-radius: 999px; overflow: hidden; }
.fx-wb-bar div { height: 100%; width: 0; background: var(--fx-green); animation: fx-wb-fill 5.5s linear forwards; }
@keyframes fx-wb-fill { to { width: 100%; } }

/* ===== Ineligible / dead ends ===== */
.fx-deadend-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--fx-sage-tint);
  color: var(--fx-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-inline: auto;
}
.fx-success {
  border: 1px solid var(--fx-green);
  background: var(--fx-sage-tint);
  color: var(--fx-green);
  border-radius: var(--fx-r-md);
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .fx-content, .fx-reveal { animation: none; }
  .fx-ticker-track { animation: none; }
}
.fx-city-select { width: 100%; }
.fx-addon-note { font-size: 12px; color: var(--fx-muted); text-align: start; margin: -6px 0 0; }
