/* ==========================================================================
   Ewindik — landing page
   Design source: Figma "Design_Ewindik_DEV_II-ITILE"
     · Desktop frame  1440 px  (Dev / Desktop-Home-Page)
     · Mobile frame    375 px  (Dev / Mobile-Home-Page)
   Breakpoint 1024 px comes from the designer note on the hero:
     "≥ 1024 px → horizontal (desktop) / ≤ 1023 px → vertical (tablet + mobile)"
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* Brand / green */
  --c-brand-0:   #E5FCF5;
  --c-brand-50:  #A7ECD3;
  --c-brand-100: #16DDA4;
  --c-green-30:  #18B188;
  --c-green-900: #002C15;

  /* Teal (dark surfaces) */
  --c-teal-25:   #A7BFBB;
  --c-teal-50:   #799591;
  --c-teal-100:  #547973;
  --c-teal-200:  #056460;
  --c-teal-300:  #06423F;
  --c-teal-400:  #022D2C;
  --c-teal-500:  #011C1B;

  /* Browns (neutral ramp) */
  --c-brown-0:   #FFFFFF;
  --c-brown-25:  #F8F8F8;
  --c-brown-50:  #F0EFEC;
  --c-brown-100: #E3E0DB;
  --c-brown-200: #D7D3CE;
  --c-brown-300: #C7C4C1;
  --c-brown-400: #706E6C;
  --c-brown-500: #595656;
  --c-brown-600: #222323;

  /* Support */
  --c-neutral-200: #E5E5E5;
  --c-neutral-900: #0F0F0F;
  --c-greyscale-900: #002335;
  --c-violet-25:  #F1E0FE;
  --c-violet-50:  #DBB5FA;
  --c-violet-100: #9C58CC;
  --c-violet-200: #4D276A;
  --c-red-0:   #FFF0F3;
  --c-red-25:  #FADBE1;
  --c-red-100: #DF1C41;
  --c-red-200: #96132C;
  --c-red-300: #710E21;

  /* Alert surfaces (Components / Notifications) */
  --a-neutral-bg: #F0EFEC;  --a-neutral-line: #E3E0DB;
  --a-white-bg:   #FFFFFF;  --a-white-line:   #E3E0DB;   --a-white-icon: #A7ECD3;
  --a-brand-bg:   #EFFEFA;  --a-brand-line:   #C9F4E7;   --a-brand-icon: #A7ECD3;
  --a-violet-bg:  #F7EDFF;  --a-violet-line:  #F1E0FE;   --a-violet-icon: #DBB5FA;
  --a-success-bg: #DDF3EF;  --a-success-line: #9EE1D4;
  --a-error-bg:   #FFF0F3;  --a-error-line:   #FADBE1;
  --a-warning-bg: #FFF6E0;  --a-warning-line: #FCDA83;   --a-warning-icon: #FCE7AF;
  --a-info-bg:    #DCF4F9;  --a-info-line:    #BAE9F3;

  /* Type families */
  --f-display: 'Darker Grotesque', 'Trebuchet MS', system-ui, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-alt: 'Plus Jakarta Sans', var(--f-body);

  /* Display scale (Figma Heading/H1…H6) */
  --fs-h1: 4.5rem;    --lh-h1: 0.86;
  --fs-h2: 3.5rem;    --lh-h2: 0.9;
  --fs-h3: 3.25rem;   --lh-h3: 0.86;
  --fs-h4: 2.75rem;   --lh-h4: 0.96;
  --fs-h5: 2.375rem;  --lh-h5: 0.9;
  --fs-h6: 2rem;      --lh-h6: 1;
  --ls-display: -0.01em;

  /* Body scale (Figma Body/*) */
  --fs-xl: 1.375rem;  --lh-xl: 1.3;
  --fs-lg: 1.125rem;  --lh-lg: 1.55;
  --fs-md: 1rem;      --lh-md: 1.6;
  --fs-sm: 0.875rem;  --lh-sm: 1.55;
  --fs-xs: 0.75rem;   --lh-xs: 1.55;
  --ls-tight: -0.005em;

  /* Spacing (Figma auto-layout gaps / padding) */
  --s-1: 0.25rem;   /*  4 */
  --s-2: 0.5rem;    /*  8 */
  --s-3: 0.75rem;   /* 12 */
  --s-4: 1rem;      /* 16 */
  --s-5: 1.25rem;   /* 20 */
  --s-6: 1.5rem;    /* 24 */
  --s-8: 2rem;      /* 32 */
  --s-9: 2.125rem;  /* 34 */
  --s-10: 2.5rem;   /* 40 */
  --s-12: 3rem;     /* 48 */
  --s-15: 3.75rem;  /* 60 */
  --s-16: 4rem;     /* 64 */
  --s-20: 5rem;     /* 80 */
  --s-24: 6rem;     /* 96 */
  --s-25: 6.25rem;  /* 100 */
  --s-30: 7.5rem;   /* 120 */

  /* Shell */
  --shell-max: 90rem;      /* 1440 frame        */
  --shell-pad: 6.25rem;    /* 100 px gutters    */

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 30px;

  /* Elevation */
  --sh-card: 0 4px 11px -1px rgba(10, 10, 10, 0.04);
  --sh-btn: 0 1px 2px 0 rgba(13, 13, 18, 0.06);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-brown-0);
  color: var(--c-brown-600);
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
summary::-webkit-details-marker { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- shell -- */
.shell,
.hero__inner,
.stats__inner,
.stories__inner,
.zpf__inner,
.steps__inner,
.expert__inner,
.approach__inner,
.compare__inner,
.reviews__inner,
.pricing__inner,
.security__inner,
.faq__inner,
.cta__inner,
.site-footer__inner {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

/* =============================================================== ATOMS === */

/* Eyebrow — Figma "[ Label ]" */
.eyebrow {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-teal-200);
}
.eyebrow--muted { color: var(--c-teal-50); }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--r-pill);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid transparent;
  transition: filter .18s ease, background-color .18s ease;
}
.btn:hover { filter: brightness(0.95); }
.btn__icon { flex: none; width: 20px; height: 20px; }
.btn__icon--14 { width: 14px; height: 14px; }

.btn--sm { height: 40px; padding: 12px 16px; font-size: var(--fs-sm); line-height: var(--lh-sm); letter-spacing: var(--ls-tight); }
.btn--md { height: 52px; padding: 16px 24px; font-size: var(--fs-lg); line-height: var(--lh-lg); }
.btn--lg { height: 60px; padding: 16px 24px; font-size: var(--fs-lg); line-height: var(--lh-lg); }
.btn--form { height: 48px; padding: 16px var(--s-6); font-size: var(--fs-md); line-height: var(--lh-md); }
.btn--block { width: 100%; }

.btn--brand { background: var(--c-brand-100); color: var(--c-brown-600); }
.btn--dark { background: var(--c-teal-400); color: var(--c-brown-0); box-shadow: var(--sh-btn); }
.btn--outline { background: var(--c-brown-25); border-color: var(--c-brown-200); color: var(--c-brown-600); }
.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-brown-0);
  color: var(--c-brown-0);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Small "check + label" line ------------------------------------------ */
.tick {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-500);
}
.tick img { flex: none; width: 16px; height: 16px; }
.tick--on-dark { color: var(--c-brown-0); }
.tick--muted { color: var(--c-teal-50); }
.tick--xs { font-size: var(--fs-xs); line-height: var(--lh-xs); letter-spacing: var(--ls-tight); color: var(--c-brown-400); }

/* Badges & pills ------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: var(--s-4);
  border-radius: var(--r-xl);
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  font-weight: 500;
  color: var(--c-brown-0);
}
.badge--glass {
  background: rgba(2, 45, 44, 0.2);
  border: 1px solid var(--c-brown-0);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 34px;
  border-radius: var(--r-lg);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  font-weight: 500;
  color: var(--c-brown-0);
}
.pill__icon { flex: none; width: 24px; height: 24px; }
.pill--danger { background: var(--c-red-200); padding: 2px 12px 2px 6px; }
.pill--brand { background: var(--c-teal-300); padding: 2px 12px 2px 4px; }
.pill--brand img { flex: none; width: 24px; height: 24px; }

/* Section headings ----------------------------------------------------- */
.section-head { display: flex; flex-direction: column; }
.section-head__text { display: flex; flex-direction: column; gap: var(--s-6); }
.section-head--center { align-items: center; text-align: center; gap: var(--s-6); }
.section-head__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-600);
}
.section-head__lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  color: var(--c-brown-500);
}

/* ============================================================== HEADER === */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}
.site-header--open { position: fixed; }

/* Dimmer behind an open menu. Desktop: 20 % black + blur, so the inactive
   pills and the page read as out of focus. Mobile: solid Browns/300. */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* ≥1024 the scrim only dims and blurs — the pill bar stays operable, so a
     visitor can move between mega menus. Dismissal is handled in JS. */
  pointer-events: none;
}
.nav-scrim[hidden] { display: none; }

.site-header__inner {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 30px var(--s-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}
.logo { display: flex; align-items: center; }
.logo img { width: 160px; height: 31.22px; }
.site-header__inner > .logo { flex: 1 0 0; min-width: 0; }

/* ≥1024 the panel is not a box at all — its children join the header row. */
.site-header__panel { display: contents; }
.site-header .site-header__socials { display: none; }

.nav__list { display: flex; align-items: center; gap: var(--s-2); }
.nav__row { position: static; }
.nav__row:has(> .submenu--compact) { position: relative; }

.nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 42px;
  padding: var(--s-4);
  border: 1px solid var(--c-brown-0);
  border-radius: var(--r-pill);
  background: rgba(93, 103, 103, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-0);
  white-space: nowrap;
  transition: background-color .18s ease;
}
.nav__item:hover { background: rgba(93, 103, 103, 0.45); }
.nav__item[aria-expanded="true"] {
  position: relative;
  z-index: 2;
  background: var(--c-brown-0);
  border-color: var(--c-brown-0);
  color: var(--c-teal-500);
}
.nav__chevron { width: 16px; height: 16px; }
.nav__item[aria-expanded="true"] .nav__chevron { filter: brightness(0); }
.nav__arrow { display: none; }

.site-header__actions {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s-3);
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--c-brown-0);
  border-radius: var(--r-pill);
  background: rgba(93, 103, 103, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.burger__icon--close { display: none; }
.site-header--open .burger {
  background: var(--c-brown-0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--open .burger__icon--open { display: none; }
.site-header--open .burger__icon--close { display: block; }

/* Mega menu (Figma: Nav / Desktop) ------------------------------------- */
.submenu {
  position: absolute;
  z-index: 2;
  top: 5.1875rem;                       /* 83 */
  left: 50%;
  transform: translateX(-50%);
  width: min(60rem, calc(100% - 8rem)); /* 960 */
  padding: var(--s-8) var(--s-8) var(--s-4);   /* items carry their own 16 */
  border-radius: var(--r-lg);
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-100), var(--sh-card);
}
.submenu[hidden] { display: none; }
/* "Why Ewindik" / "Help" have a chevron in the design but no panel was drawn;
   these reuse the same card with the site's own link groups. */
.submenu--compact {
  left: 0;
  transform: none;
  width: max(18rem, 100%);
  padding: var(--s-6) var(--s-4);
}
.submenu--compact .submenu__kicker { margin-bottom: var(--s-2); }
.submenu--compact .submenu__item { padding: 10px var(--s-4); }
.submenu__cols { display: flex; align-items: flex-start; gap: var(--s-8); }
.submenu__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.submenu__thumb {
  position: relative;
  display: block;
  height: 7.1875rem;                    /* 115 */
  border-radius: var(--r-lg);
  overflow: hidden;
}
.submenu__thumb-img { width: 100%; height: 100%; object-fit: cover; }
.submenu__thumb-img--who {
  position: absolute;
  left: -11.29%; top: -73.04%;
  width: 122.58%; height: 191.65%;
  max-width: none;
}
.submenu__thumb-img--bottom { object-position: bottom; }
.submenu__group { display: flex; flex-direction: column; }
.submenu__kicker {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding-inline: var(--s-4);
  margin-bottom: var(--s-4);
  font-size: var(--fs-sm);
  line-height: var(--lh-md);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--c-brown-400);
}
.submenu__kicker img { flex: none; width: 16.35px; height: 16.35px; }
.submenu__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  transition: background-color .15s ease;
}
.submenu__item:hover,
.submenu__item:focus-visible { background: var(--c-brown-25); }
.submenu__title { font-size: var(--fs-md); line-height: var(--lh-lg); font-weight: 600; color: var(--c-brown-600); }
.submenu__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}

/* ================================================================ HERO === */
.hero { position: relative; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img {
  position: absolute;
  left: 3.06%;                   /*   44 / 1440 */
  top: 0;
  width: 117.22%;                /* 1688 / 1440 — Figma fill crop */
  height: 114.11%;               /*  946 /  829 */
  max-width: none;
  object-fit: cover;
  /* Figma applies exposure/saturation adjustments to this fill that the raw
     asset export does not carry; fitted back against the frame render. */
  filter: brightness(1.14) saturate(0.82) contrast(0.94);
}
.hero__scrim { position: absolute; inset: 0; }
.hero__scrim--side {
  background: linear-gradient(270deg, rgba(78, 62, 46, 0) 49.375%, #3C372D 90.729%);
}
.hero__scrim--top {
  background: linear-gradient(180deg, rgba(59, 41, 22, 0.1) 0%, rgba(72, 47, 17, 0) 34.033%);
  mix-blend-mode: multiply;
}

.hero__inner {
  position: relative;
  height: 51.8125rem;            /* 829 */
  display: flex;
  align-items: flex-end;
  padding-block: var(--s-30) var(--s-15);
  padding-left: var(--s-16);
  padding-right: var(--s-16);
}
.hero__copy {
  width: min(33.75rem, 48%);     /* 540 of the 1440 hero */
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}
.hero__text { display: flex; flex-direction: column; gap: var(--s-6); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-0);
}
.hero__lead {
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  color: var(--c-brown-200);
}
.hero__cta { display: flex; align-items: center; gap: var(--s-4); }
.hero__cta-btn { width: 17.25rem; }   /* 276 */

.trust { display: flex; align-items: center; gap: var(--s-8); }
.trust li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-0);
}
.trust img { flex: none; width: 16px; height: 19.07px; }

/* Instant-check card --------------------------------------------------- */
.quote-card {
  position: absolute;
  right: 4.3055%;               /* 62 / 1440 */
  top: 31.5625rem;              /* 505 */
  width: min(25rem, 34%);       /* 400 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-4);
  border: 1px solid var(--c-brown-0);
  border-radius: var(--r-xl);
  background: rgba(203, 222, 217, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: var(--sh-btn);
}
.quote-card__panel { width: 100%; border-radius: var(--r-lg); overflow: hidden; }
.quote-card__label {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 20px 24px;
  margin-bottom: -12px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--c-teal-400);
  color: var(--c-brown-0);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
}
.quote-card__label img { flex: none; width: 16px; height: 16px; }
.quote-card__input {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 20px;
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-200);
  border-radius: var(--r-sm) var(--r-sm) var(--r-lg) var(--r-lg);
}
.quote-card__field { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.quote-card__field label {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-500);
}
.quote-card__field input {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: -1px;
  font-weight: 500;
  color: var(--c-brown-600);
}
.quote-card__field input:focus { outline: none; }
.quote-card__currency { display: flex; align-items: center; gap: var(--s-2); }
.quote-card__currency img { width: 24px; height: 24px; }
.quote-card__currency span {
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: -0.5px;
  font-weight: 500;
  color: var(--c-green-900);
}
.quote-card__note {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  text-align: center;
  color: var(--c-teal-25);
}

/* =============================================================== STATS === */
.stats {
  padding-block: var(--s-30);
  background:
    radial-gradient(60% 152% at 48.5% 44.4%, var(--c-teal-300) 0%, var(--c-teal-400) 85%),
    var(--c-teal-400);
}
.stats__inner { display: flex; flex-direction: column; align-items: center; gap: var(--s-15); }

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 63.0625rem;         /* 1009 */
  gap: 5.9465%;                  /* 60 / 1009 */
  padding-bottom: 50px;
  border-bottom: 1px solid var(--c-teal-300);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stat:not(:last-child) { padding-right: 5.9465%; border-right: 1px solid var(--c-teal-300); }  /* 60 / 1009 */
.stat { min-width: 0; }
.stat:nth-child(1) { flex: 0 1 28.5431%; }  /* 288 / 1009 */
.stat:nth-child(2) { flex: 0 1 36.6700%; }  /* 370 / 1009 */
.stat:nth-child(3) { flex: 0 1 22.8940%; }  /* 231 / 1009 */
.stat__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h6);
  line-height: var(--lh-h6);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-0);
  white-space: nowrap;
}
.stat__art { width: 200px; height: 200px; }
.stat__figures { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); width: 100%; }
.stat__value {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 4rem;              /* 64 */
  line-height: 36px;            /* Figma trims this text box to cap height */
  color: var(--c-brown-0);
  white-space: nowrap;
}
.stat__label {
  font-size: var(--fs-sm);
  line-height: var(--lh-md);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--c-teal-25);
}

.rating { display: flex; align-items: center; gap: var(--s-4); height: 57px; }
.rating__logo { width: 182px; height: 37px; }
.rating__body { display: flex; flex-direction: column; }
.rating__row { display: flex; align-items: center; gap: var(--s-3); }
.rating__stars { display: flex; align-items: flex-start; gap: 5px; }
.rating__stars img { width: 16.24px; height: 16px; }
.rating__score { font-size: var(--fs-md); line-height: var(--lh-md); font-weight: 500; color: var(--c-brown-0); }
.rating__count {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-teal-50);
}

/* ============================================================= STORIES === */
.stories { background: var(--c-brown-25); }
.stories__inner {
  padding-block: var(--s-30);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-12);
}
.stories__head { width: 53.2258%; }              /* 660 / 1240 */

.stories__grid { display: flex; gap: var(--s-5); width: 100%; }
.story-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 36.6875rem;                            /* 587 */
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2rem var(--s-6) var(--s-10);   /* text column = 328 px, as in Figma */
  isolation: isolate;
}
.story-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;               /* the Figma fills are wider than the card */
  object-fit: cover;
}
.story-card--1 .story-card__img { inset: auto; left: -5.3%; top: -8.69%; width: 105.44%; height: 108.38%; }
.story-card--2 .story-card__img { inset: auto; left: -19.13%; top: -24.54%; width: 144.11%; height: 124.54%; }
/* Each card carries its own pair of Figma scrims (one normal, one multiply). */
.story-card__scrim { position: absolute; inset: 0; }
.story-card__scrim::after { content: ''; position: absolute; inset: 0; mix-blend-mode: multiply; }
.story-card--1 .story-card__scrim::after {
  background: linear-gradient(180deg, rgba(8, 60, 47, 0) 37.294%, rgba(3, 46, 45, 0.8) 90.603%);
}
.story-card--2 .story-card__scrim {
  background: linear-gradient(180deg, rgba(8, 60, 47, 0) 37.294%, rgba(3, 46, 45, 0.5) 90.603%);
}
.story-card--2 .story-card__scrim::after {
  background: linear-gradient(180deg, rgba(8, 60, 47, 0) 29.808%, rgba(3, 46, 45, 0.5) 76.442%);
}
.story-card--3 .story-card__scrim {
  background: linear-gradient(180deg, rgba(8, 60, 47, 0) 50.481%, rgba(3, 46, 45, 0.5) 90.603%);
}
.story-card--3 .story-card__scrim::after {
  background: linear-gradient(180deg, rgba(8, 60, 47, 0) 37.294%, #032E2D 90.603%);
}
.story-card__badge {
  position: absolute;
  z-index: 1;
  top: 25px;
  left: 31px;
}
.story-card--1 .story-card__badge { background: rgba(255, 255, 255, 0.2); }
.story-card__quote {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h6);
  line-height: var(--lh-h6);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-0);
  margin-bottom: 20px;
}

.story-card--1 { padding-left: 2.0625rem; }                    /* 33 */
.story-card--1 .story-card__quote { width: 21.8125rem; }       /* 349 */

.stories__foot { display: flex; flex-direction: column; align-items: center; gap: var(--s-6); }
.stories__foot-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-600);
  text-align: center;
}

/* ================================================================= ZPF === */
.zpf { background: var(--c-brown-0); }
.zpf__inner { padding-top: var(--s-24); }
.zpf__card {
  display: flex;
  align-items: center;
  gap: 43px;
  padding: var(--s-10) var(--s-12);
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-50);
  border-radius: var(--r-xl);
}
.zpf__content { flex: 1 1 auto; display: flex; flex-direction: column; gap: var(--s-6); }
.zpf__text { display: flex; flex-direction: column; gap: var(--s-4); }
.zpf__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  color: var(--c-neutral-900);
}
.zpf__lead { font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-brown-500); }
.zpf__content .btn { align-self: flex-start; }
.zpf__logo { flex: none; width: 27.9720%; height: 10.9375rem; display: flex; align-items: center; }  /* 320 / 1144 */
.zpf__logo img { width: 277.41px; height: 65.37px; margin-inline: auto; }

/* ======================================================== HOW IT WORKS === */
.steps { background: var(--c-brown-0); }
.steps__inner {
  padding-top: var(--s-30);
  padding-bottom: 5.5625rem;      /* 89 — matches the Figma frame */
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}
.steps__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--s-5); }
.steps__head .section-head__text { width: 54.8387%; }  /* 680 / 1240 */
.steps__head-btn { flex: none; }
.steps__foot-btn { display: none; }

.steps__stack { position: relative; padding-top: 2.25rem; }   /* 36 */
.steps__ghost {
  position: absolute;
  top: 0;
  left: 2.5625rem;               /* 41 */
  right: 2.5625rem;
  height: 37.25rem;              /* 596 */
  border-radius: var(--r-xl);
  background: var(--c-brown-50);
}
.steps__ghost--2 { display: none; }
.step-card {
  position: relative;
  display: flex;
  gap: var(--s-5);
  min-height: 36.9375rem;        /* 591 */
  padding: var(--s-10) 0 0 var(--s-12);
  border-radius: var(--r-xl);
  background: var(--c-brown-25);
  overflow: hidden;
}
.step-card__body { display: flex; gap: var(--s-5); width: 49.1935%; padding-right: var(--s-12); }  /* 610 / 1240 */
.step-card__num {
  flex: none;
  width: 59px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-display);
  color: var(--c-teal-400);
}
.step-card__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 31.9375rem;            /* 511 */
}
.step-card__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-600);
}
.step-card__desc { font-size: var(--fs-lg); line-height: var(--lh-lg); color: var(--c-brown-500); }
.step-card__media { position: absolute; left: 55.0806%; top: 1.1875rem; width: 43.2258%; }  /* 683 / 536 of 1240 */
.step-card__media img { width: 100%; height: auto; aspect-ratio: 536 / 553; }

/* ============================================================== EXPERT === */
.expert { background: var(--c-brown-0); }
.expert__inner {
  padding-block: var(--s-30);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-10);
}
.expert__content { width: 40.6452%; display: flex; flex-direction: column; gap: 12.875rem; }  /* 504 / 1240 */
.expert__text { display: flex; flex-direction: column; gap: var(--s-6); }
.expert__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-600);
}
.expert__lead { font-size: var(--fs-lg); line-height: var(--lh-lg); color: var(--c-brown-500); }

.person { display: flex; align-items: flex-start; gap: var(--s-3); }
.person__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--r-sm);
  background: var(--c-brown-50);
}
.person__icon img { width: 28px; height: 28px; }
.person__text { display: flex; flex-direction: column; gap: var(--s-1); }
.person__name { font-size: var(--fs-xl); line-height: var(--lh-xl); font-weight: 500; color: var(--c-brown-600); }
.person__role { font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-brown-500); }

.expert__media { position: relative; flex: none; width: 49.1935%; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; }  /* 610 / 1240 */
.expert__media > img { width: 100%; height: 100%; object-fit: cover; }
.expert__media figcaption { position: absolute; left: 38px; top: 518px; }
.expert__play { width: 15.25rem; gap: var(--s-2); }
.expert__dot { width: 5px; height: 5px; }

/* ============================================================ APPROACH === */
.approach { background: var(--c-brown-25); }
.approach__inner {
  padding-block: var(--s-30);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}
.approach__head .section-head__text { width: 54.8387%; }    /* 680 / 1240 */
.approach__body { display: flex; align-items: center; gap: var(--s-15); }

.escalation { flex: 1 1 auto; min-width: 0; }
.escalation__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-8);
  padding-block: var(--s-10);
  border-bottom: 1px solid var(--c-neutral-200);
}
.escalation__item:first-child { align-items: center; }
.escalation__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 7.5px;
  background: var(--c-brown-50);
}
.escalation__text { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.escalation__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); }
.escalation__title { font-size: var(--fs-xl); line-height: var(--lh-xl); font-weight: 500; color: var(--c-neutral-900); white-space: nowrap; }
.escalation__tag {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-teal-200);
  white-space: nowrap;
}
.escalation__desc { font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-brown-600); }
.escalation__note {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-400);
}

.limits {
  flex: none;
  width: 40.4839%;               /* 502 / 1240 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-10) var(--s-8) var(--s-8);
  border-radius: var(--r-xl);
  background: var(--c-teal-400);
  filter: drop-shadow(0 4px 5.5px rgba(10, 10, 10, 0.04));
}
.limits__head { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.limits__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  color: var(--c-brown-0);
}
.limits__group { width: 100%; display: flex; flex-direction: column; gap: var(--s-4); }
.limits__kicker {
  font-size: var(--fs-sm);
  line-height: var(--lh-md);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--c-teal-50);
}
.limits__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: var(--s-5);
  box-shadow: inset 0 1px 0 var(--c-teal-300);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-0);
}
.limits__list img { flex: none; width: 20px; height: 20px; }
.limits__fine {
  width: 100%;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--c-teal-25);
}
.limits__fine strong { font-weight: 600; color: var(--c-brown-0); }

/* ============================================================= COMPARE === */
.compare { background: var(--c-brown-0); }
.compare__inner {
  padding-block: var(--s-30);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-12);
}
.compare__head { width: 54.8387%; }            /* 680 / 1240 */
.compare__grid { display: flex; align-items: flex-start; justify-content: center; gap: var(--s-5); width: 100%; }

.path {
  flex: 1 1 0;
  min-width: 0;
  max-width: 33.75rem;           /* 540 */
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 14px 14px var(--s-9);
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-100);
  border-radius: var(--r-xl);
}
.path__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-9);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-red-0);
  box-shadow: inset 0 0 0 1px var(--c-red-25);
}
.path__hero--brand {
  background:
    radial-gradient(60% 105% at -2% 104%, rgba(22, 221, 164, 0.32) 0%, rgba(22, 221, 164, 0) 100%),
    radial-gradient(90% 120% at 104% 106%, rgba(219, 181, 250, 0.34) 0%, rgba(219, 181, 250, 0) 100%),
    #E2F4EF;
  box-shadow: inset 0 0 0 1px #D3E3E1;
}
.path__headline {
  position: relative;
  width: 100%;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  color: var(--c-brown-600);
}
.path__body { display: flex; flex-direction: column; gap: var(--s-4); padding-inline: var(--s-9); }
.path__kicker {
  font-size: var(--fs-sm);
  line-height: var(--lh-md);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--c-brown-500);
}
.path__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 18px;
  box-shadow: inset 0 1px 0 var(--c-brown-100);
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  color: var(--c-brown-600);
}
.path__list img { flex: none; width: 20px; height: 20px; }
.path__cta { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); padding-inline: var(--s-9); }
.path__cta .btn + .btn { margin-top: 0; }

/* ============================================================= REVIEWS === */
.reviews { position: relative; isolation: isolate; overflow: hidden; }
.reviews__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.reviews__media img {
  position: absolute;
  left: -13.02%;
  top: -7.18%;
  width: 113.02%;
  height: 87.03%;
  max-width: none;
  object-fit: cover;
}
.reviews__scrim { position: absolute; inset: 0; }
.reviews__scrim--bottom {
  background: linear-gradient(0deg, rgb(121, 114, 107) 20.843%, rgba(127, 116, 109, 0.1) 53.441%);
}
.reviews__scrim--corner {
  background: linear-gradient(221.48deg, rgba(94, 82, 81, 0) 57.784%, rgb(108, 100, 92) 86.832%);
  mix-blend-mode: darken;
}
.reviews__inner {
  position: relative;
  padding-top: 15rem;            /* 240 */
  padding-bottom: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); }
.reviews__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-0);
}

.carousel { display: flex; flex-direction: column; gap: var(--s-6); }
.carousel__viewport { overflow: hidden; margin-right: calc(-1 * var(--shell-pad)); }
.carousel__track {
  display: flex;
  align-items: flex-start;
  gap: var(--s-5);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.review {
  flex: none;
  width: 21.25rem;               /* 340 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-6);
  background: var(--c-brown-0);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--c-brown-100), var(--sh-card);
  overflow: hidden;
}
.review__top { display: flex; flex-direction: column; gap: var(--s-6); }
.review__tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.review__tags li {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding-inline: 10px;
  border-radius: var(--r-pill);
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-100);
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-500);
  white-space: nowrap;
}
.review__body { display: flex; flex-direction: column; gap: var(--s-2); }
.review__rating { display: flex; align-items: center; gap: 5px; }
.review__stars { display: flex; align-items: center; gap: 5px; }
.review__stars img { width: 19.26px; height: 18.97px; }
.review__score { margin-left: 7px; font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-brown-500); }
.review__text { font-size: var(--fs-lg); line-height: var(--lh-lg); color: #000; }
.review__date {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.review__foot { display: flex; flex-direction: column; gap: var(--s-4); }
.review__author { display: flex; align-items: center; gap: var(--s-3); }
.review__author > div { display: flex; flex-direction: column; }
.review__avatar { flex: none; width: 44px; height: 44px; }
.review__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-violet-25);
  color: var(--c-violet-100);
  font-size: var(--fs-md);
  line-height: 1;
  font-weight: 400;
}
.review__name { font-size: var(--fs-md); line-height: var(--lh-md); font-weight: 500; color: var(--c-brown-600); }
.review__result {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 44px;
  box-shadow: inset 0 1px 0 var(--c-brown-100);
  color: var(--c-brown-600);
}
.review__amount { font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: 500; }
.review__time { font-size: var(--fs-sm); line-height: var(--lh-sm); letter-spacing: var(--ls-tight); }

.carousel__nav { display: flex; gap: var(--s-3); }
.carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding-inline: var(--s-8);
  border: 1px solid var(--c-brown-0);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background-color .18s ease;
}
.carousel__btn:hover { background: rgba(255, 255, 255, 0.24); }
.carousel__btn[disabled] { cursor: default; }
.carousel__btn img { width: 24px; height: 24px; }

/* ============================================================= PRICING === */
.pricing { background: var(--c-brown-25); }
.pricing__inner {
  padding-block: var(--s-30);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-10);
}
.pricing__content { width: 40.6452%; display: flex; flex-direction: column; gap: var(--s-6); }  /* 504 / 1240 */
.pricing__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-600);
}
.pricing__lead { font-size: var(--fs-lg); line-height: var(--lh-lg); color: var(--c-brown-500); }

.pricing__media { position: relative; flex: none; width: 49.1935%; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; }
.pricing__img { width: 100%; height: 100%; object-fit: cover; }
.fee-card {
  position: absolute;
  left: 13.1148%;                /*  80 / 610 */
  top: 21.9672%;                 /* 134 / 610 */
  width: 73.7705%;               /* 450 / 610 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--c-teal-400);
  filter: drop-shadow(0 4px 5.5px rgba(10, 10, 10, 0.04));
}
.fee-card__list { width: 100%; display: flex; flex-direction: column; gap: var(--s-4); }
.fee-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--c-teal-300);
}
.fee-card__row--last { border-bottom: 0; }
.fee-card__row dt {
  font-family: var(--f-alt);
  font-weight: 600;
  font-size: var(--fs-md);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--c-brand-0);
}
.fee-card__value { font-size: var(--fs-lg); line-height: var(--lh-lg); color: var(--c-brand-0); }
.fee-card__value--brand { color: var(--c-brand-100); }
.fee-card .tick { white-space: nowrap; letter-spacing: -0.012em; }

/* ============================================================ SECURITY === */
.security { background: var(--c-brown-0); }
.security__inner { padding-top: var(--s-30); }
.security__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-10);
  height: 31.375rem;             /* 502 */
  padding: var(--s-20) 46px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(62% 50% at 50% 50%, #033D3C 0%, var(--c-teal-400) 100%),
    var(--c-teal-400);
}
.security__content {
  width: 58.1010%;               /* 667 / 1148 (card inner) */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-9);
}
.security__text { display: flex; flex-direction: column; gap: var(--s-6); }
.security__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-0);
}
.security__lead { font-size: var(--fs-lg); line-height: var(--lh-lg); color: var(--c-teal-25); }

.security__art { flex: none; width: 35.1916%; height: auto; aspect-ratio: 1; border-radius: var(--r-pill); }  /* 404 / 1148 */

/* ================================================================= FAQ === */
.faq { background: var(--c-brown-0); }
.faq__inner {
  padding-block: var(--s-30);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-16);
}
.faq__head { width: 54.8387%; }                                                          /* 680 / 1240 */
.faq__list { width: 72.5806%; display: flex; flex-direction: column; gap: var(--s-4); }  /* 900 / 1240 */

.faq-item {
  padding: var(--s-5) var(--s-6);
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-50);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item[open] { border-radius: var(--r-lg); }
.faq-item__q {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  list-style: none;
  cursor: pointer;
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  font-weight: 500;
  color: var(--c-brown-600);
}
.faq-item__icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-brown-50) url('../assets/icons/plus.svg') center / 20px 20px no-repeat;
  margin-left: auto;
}
.faq-item[open] .faq-item__icon { background-image: url('../assets/icons/minus.svg'); }
.faq-item__a {
  margin-top: var(--s-2);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-600);
}

/* ================================================================= CTA === */
.cta { background: var(--c-brown-0); }
.cta__card {
  padding: var(--s-20) var(--s-12);
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 48.5% 44.4%, var(--c-teal-300) 0%, var(--c-teal-400) 85%),
    var(--c-teal-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-10);
}
.cta__text { display: flex; flex-direction: column; align-items: center; gap: var(--s-6); text-align: center; }
.cta__title {
  width: 55.6818%;               /* 637 / 1144 (card inner) */
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-0);
}
.cta__title span { color: var(--c-brand-100); }
.cta__lead { width: 67.3077%; font-size: var(--fs-lg); line-height: var(--lh-lg); color: var(--c-teal-25); }  /* 770 / 1144 */

.cta__actions {
  width: 59.9650%;               /* 686 / 1144 */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
}
.cta__actions > .btn:nth-of-type(1) { width: 13.5rem; }
.cta__actions > .btn:nth-of-type(2) { width: 12.6875rem; }
.cta__actions > .btn:nth-of-type(3) { width: 10.6875rem; }
.cta__ticks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4); width: 100%; }

/* ============================================================== FOOTER === */
.site-footer { background: var(--c-brown-0); }
.site-footer__inner {
  padding-top: var(--s-25);
  padding-bottom: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}
.site-footer__top { display: flex; align-items: flex-start; gap: var(--s-5); }
.site-footer__brand { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-8); }
.site-footer__brand .logo { height: 50px; }

.entity { display: flex; flex-direction: column; gap: var(--s-4); max-width: 19.375rem; }  /* 310 */
.entity__name { font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: 600; color: var(--c-brown-600); }
.entity__desc,
.entity__legal,
.entity__contact { font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-brown-500); }
.entity__contact a { text-decoration: underline; }

.site-footer__menu { flex: none; width: 71.2903%; display: flex; gap: var(--s-5); }  /* 884 / 1240 */
.link-col { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.link-col--product { flex: none; width: 18.8914%; }   /* 167 / 884 */
.link-col__title { font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: 600; color: var(--c-brown-600); }
.link-col ul { display: flex; flex-direction: column; gap: var(--s-4); }
.link-col a { font-size: var(--fs-lg); line-height: var(--lh-lg); color: var(--c-brown-500); }
.link-col a:hover { color: var(--c-brown-600); }
.tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding-inline: 6px;
  margin-left: 4px;
  border-radius: 4.5px;
  border: 0.751px solid rgba(64, 196, 170, 0.2);
  background: var(--c-brand-100);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--c-teal-500);
  vertical-align: middle;
}
.tagline--mint { background: var(--c-brand-50); color: var(--c-brown-600); }

.site-footer__mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-10);
  padding-block: var(--s-5);
  border-top: 1px solid var(--c-brown-50);
}
.newsletter { display: flex; flex-direction: column; gap: var(--s-4); }
.newsletter__text { display: flex; flex-direction: column; gap: var(--s-3); }
.newsletter__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-h6);
  line-height: var(--lh-h6);
  letter-spacing: var(--ls-display);
  color: var(--c-brown-600);
}
.newsletter__lead {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-500);
}
.newsletter__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 22.6875rem;             /* 363 */
  padding: 4px 4px 4px var(--s-4);
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-200);
  border-radius: 20px;
}
.newsletter__form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-500);
}
.newsletter__form input:focus { outline: none; }
.newsletter__fine {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-500);
}
.newsletter__fine a { color: var(--c-brown-600); text-decoration: underline; }

.site-footer__aside { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: var(--s-10); align-self: stretch; }
.socials { display: flex; align-items: center; gap: var(--s-2); }
.socials--center { justify-content: center; gap: var(--s-3); width: 100%; }
.socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  background: var(--c-brown-25);
  border: 1px solid var(--c-brown-50);
  transition: background-color .18s ease;
}
.socials__link:hover { background: var(--c-brown-50); }

.accreditations { display: flex; align-items: center; gap: 22px; }
.accreditations img { object-fit: cover; }
.accreditations li:nth-child(1) img { width: 147px; height: 42px; }
.accreditations li:nth-child(2) img { width: 98px; height: 38px; }
.accreditations li:nth-child(3) img { width: 127px; height: 84px; }

.site-footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: var(--s-5);
  border-top: 1px solid var(--c-brown-50);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-500);
}
.site-footer__legal { display: flex; align-items: center; justify-content: flex-end; gap: 34px; white-space: nowrap; }
.site-footer__legal a:hover { color: var(--c-brown-600); }

/* ========================================================================
   UI COMPONENTS  —  Figma page "Components" (buttons, forms, notifications).
   Shared by index.html, the signup pages and analysis.html.
   ======================================================================== */

/* --- button states ---------------------------------------------------- */
.btn--brand:active { background: #1EC696; }
.btn--dark:active { background: var(--c-teal-500); }
.btn--outline:active { background: var(--c-brown-50); }
.btn:disabled,
.btn.is-disabled {
  background: var(--c-brown-25);
  border-color: transparent;
  color: var(--c-brown-300);
  /* the design's disabled fill is #F8F8F8; the hairline keeps it readable
     when the button sits on an equally light card */
  box-shadow: inset 0 0 0 1px var(--c-brown-100);
  cursor: default;
  pointer-events: none;
}
.btn:disabled .btn__icon,
.btn.is-disabled .btn__icon { opacity: .35; }

.btn--loading { position: relative; color: transparent; pointer-events: none; }
.btn--loading > * { visibility: hidden; }
.btn--loading::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid currentcolor;
  border-color: var(--spin-track, rgba(34, 35, 35, 0.25));
  border-top-color: var(--spin-head, #222323);
  visibility: visible;
  animation: spin .7s linear infinite;
}
.btn--dark.btn--loading::after,
.btn--glass.btn--loading::after { --spin-track: rgba(255, 255, 255, 0.3); --spin-head: #FFFFFF; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn--social {
  width: 100%;
  height: 48px;
  gap: var(--s-3);
  padding-inline: var(--s-6);
  background: var(--c-brown-0);
  border-color: var(--c-brown-500);
  color: var(--c-brown-600);
  font-size: var(--fs-md);
  line-height: var(--lh-lg);
  font-weight: 600;
}
.btn--social img { width: 24px; height: 24px; }

/* --- app shell (Figma: Native / Navigation "Desktop_flow") ------------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  height: 5rem;                    /* 80 */
  padding: var(--s-4) var(--s-8);
  background: var(--c-brown-0);
  border-bottom: 1px solid var(--c-brown-50);
}
.app-header__logo img { width: 160px; height: 31.22px; }
.app-header__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-brown-25);
  transition: background-color .18s ease;
}
.app-header__close:hover { background: var(--c-brown-50); }
.app-header__close img { width: 20px; height: 20px; }

.flow-steps { display: flex; align-items: center; justify-content: center; gap: var(--s-2); width: 50rem; }
.flow-steps__item { display: flex; flex-direction: column; gap: var(--s-2); width: 10.5rem; }  /* 168 */
.flow-steps__label {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 600;
  text-align: center;
  color: var(--c-brown-300);
  white-space: nowrap;
}
.flow-steps__bar { height: 3px; border-radius: 2px; background: var(--c-brown-50); }
.flow-steps__item--done .flow-steps__label,
.flow-steps__item--active .flow-steps__label { color: var(--c-brown-600); }
.flow-steps__item--done .flow-steps__bar,
.flow-steps__item--active .flow-steps__bar { background: var(--c-teal-200); }

/* --- page canvas ------------------------------------------------------ */
.app-main { background: var(--c-brown-0); }
.app-shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: var(--s-16) var(--shell-pad) var(--s-20);
}

/* --- form field (Figma: Forms / Input) -------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--s-1); width: 100%; }
.field__label {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-600);
}
.field__box {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  height: 48px;
  padding: 6px var(--s-3);
  border-radius: var(--r-sm);
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-200);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.field__box:hover { background: var(--c-brown-25); box-shadow: inset 0 0 0 1px var(--c-brown-300); }
.field__box:focus-within { background: var(--c-brown-25); box-shadow: inset 0 0 0 1px var(--c-brown-600); }
.field__box input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-600);
}
.field__box input::placeholder { color: var(--c-brown-400); }
.field__box input:focus { outline: none; }
.field__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px; height: 20px;
  opacity: .8;
}
.field__toggle:hover { opacity: 1; }
.field__toggle img { width: 20px; height: 20px; }
.field__toggle.is-off img { opacity: .45; }
.field__hint {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  padding-block: 2px;
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.field__hint[hidden] { display: none; }
.field__hint img { flex: none; width: 16px; height: 16px; display: none; }
.field__hint--error { color: var(--c-red-100); }
.field__hint--error img { display: block; }
.field--error .field__box,
.field--error .field__box:hover,
.field--error .field__box:focus-within { background: var(--c-brown-0); box-shadow: inset 0 0 0 1px var(--c-red-100); }
.field--error .field__hint { color: var(--c-red-100); }
.field--error .field__hint img { display: block; }
.field--disabled .field__box { background: var(--c-brown-25); box-shadow: none; }
.field--disabled .field__box input { color: var(--c-brown-300); }
.field--disabled .field__hint { color: var(--c-brown-300); }

/* --- checkbox --------------------------------------------------------- */
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-500);
  cursor: pointer;
}
.check input { position: absolute; z-index: 1; top: 1px; left: 0; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.check__box {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-200);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.check__box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/icons/check-dark.svg') center / 14px 14px no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0;
}
.check input:checked + .check__box { background: var(--c-brown-600); box-shadow: inset 0 0 0 1px var(--c-brown-600); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { box-shadow: inset 0 0 0 2px var(--c-brown-600); }
.check a { color: var(--c-brown-600); text-decoration: underline; }
.check--error .check__box { box-shadow: inset 0 0 0 1px var(--c-red-100); }

/* --- "or" divider ----------------------------------------------------- */
.rule {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--c-brown-400);
}
.rule::before,
.rule::after { content: ''; flex: 1 1 0; height: 1px; background: var(--c-brown-100); }

/* --- alerts (Figma: Notifications / info-messages) -------------------- */
.alert {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--a-neutral-bg);
  box-shadow: inset 0 0 0 1px var(--a-neutral-line);
}
.alert[hidden] { display: none; }
.alert__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--a-neutral-line);
}
.alert__icon img { width: 18px; height: 18px; }
.alert__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.alert__title {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 600;
  color: var(--c-brown-600);
}
.alert__text {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-500);
}
.alert--white   { background: var(--a-white-bg);   box-shadow: inset 0 0 0 1px var(--a-white-line); }
.alert--white   .alert__icon { background: var(--a-white-icon); }
.alert--brand   { background: var(--a-brand-bg);   box-shadow: inset 0 0 0 1px var(--a-brand-line); }
.alert--brand   .alert__icon { background: var(--a-brand-icon); }
.alert--violet  { background: var(--a-violet-bg);  box-shadow: inset 0 0 0 1px var(--a-violet-line); }
.alert--violet  .alert__icon { background: var(--a-violet-icon); }
.alert--success { background: var(--a-success-bg); box-shadow: inset 0 0 0 1px var(--a-success-line); }
.alert--success .alert__icon { background: var(--a-success-line); }
.alert--error   { background: var(--a-error-bg);   box-shadow: inset 0 0 0 1px var(--a-error-line); }
.alert--error   .alert__icon { background: var(--a-error-line); }
.alert--warning { background: var(--a-warning-bg); box-shadow: inset 0 0 0 1px var(--a-warning-line); }
.alert--warning .alert__icon { background: var(--a-warning-icon); }
.alert--info    { background: var(--a-info-bg);    box-shadow: inset 0 0 0 1px var(--a-info-line); }
.alert--info    .alert__icon { background: var(--a-info-line); }
.alert--plain {
  gap: 8px;
}
.alert--plain .alert__icon {
  width: 18px;
  height: 18px;
  background: none;
  border-radius: 0;
}
.alert--plain .alert__icon img { width: 18px; height: 18px; }

/* --- float toast ------------------------------------------------------ */
.toast-stack {
  position: fixed;
  right: var(--s-6);
  bottom: var(--s-6);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  width: min(28rem, calc(100vw - 3rem));
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-100), 0 10px 24px -6px rgba(10, 10, 10, .14);
  animation: toast-in .25s ease both;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.toast__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px; height: 20px;
  opacity: .6;
}
.toast__close:hover { opacity: 1; }
.toast__action {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  flex: none;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-600);
}
.toast__action img { width: 14px; height: 14px; }

/* --- dialog (Figma: Notifications / pop-up) --------------------------- */
.dialog-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: var(--s-6);
  background: rgba(34, 35, 35, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.dialog-scrim[hidden] { display: none; }
.dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  width: min(21.5rem, 100%);
  padding: var(--s-8) var(--s-6) var(--s-6);
  border-radius: var(--r-lg);
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-50);
  filter: drop-shadow(0 4px 5.5px rgba(10, 10, 10, .04));
  animation: dialog-in .2s ease both;
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dialog__close { position: absolute; top: var(--s-4); right: var(--s-3); width: 20px; height: 20px; opacity: .7; }
.dialog__close:hover { opacity: 1; }
.dialog__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 6px;
  background: var(--c-brown-50);
}
.dialog__icon img { width: 24px; height: 24px; }
.dialog__title {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 600;
  text-align: center;
  color: var(--c-brown-600);
}
.dialog__text {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  text-align: center;
  color: var(--c-brown-500);
}
.dialog__actions { display: flex; gap: var(--s-2); width: 100%; }
.dialog__actions .btn { flex: 1 1 0; height: 40px; padding: 12px 16px; font-size: var(--fs-sm); line-height: var(--lh-sm); }

/* --- sign up (Figma: "Sign up / Registration / Create new account") ---
   Three pages, each with [data-step] on .signup:
   signup.html (account) → signup-email.html → signup-verify.html.        */
.signup {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--s-3);
  min-height: 100vh;
  padding: var(--s-3);
  background: var(--c-brown-25);
}

/* --- illustration slider (account step only; hidden with mobile) ------ */
.signup__aside {
  position: relative;
  flex: 1 1 0;
  max-width: 550px;
  min-width: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  container-type: inline-size;
}
.signup[data-step="email"] .signup__aside,
.signup[data-step="verify"] .signup__aside { display: none; }

.signup__slides {
  position: absolute;
  inset: 0;
}
.signup__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility .55s ease;
}
.signup__slide.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* The crop is the one set on the fill in Figma, not a plain "cover". */
.signup__aside-img {
  position: absolute;
  top: -11.99%;
  left: -16.27%;
  width: 127.2%;
  height: 111.99%;
  max-width: none;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.signup__aside-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(-0.72deg, rgba(34, 29, 24, 0.8) 6.85%, rgba(103, 91, 95, 0.1) 38.9%);
}
.signup__aside-copy {
  position: absolute;
  top: 74.09%;
  right: 8.73%;
  bottom: 14.27%;
  left: 8.73%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  text-align: center;
}
.signup__aside-title {
  max-width: 394px;
  width: 100%;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 6.8cqi, var(--fs-h5));
  line-height: var(--lh-h5);
  color: var(--c-brown-0);
}
.signup__aside-text { font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-brown-50); }

.signup__dots {
  position: absolute;
  right: 0;
  bottom: 6.39%;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
}
.signup__dot {
  flex: none;
  width: 10px; height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.signup__dot:hover { background: rgba(255, 255, 255, 0.45); }
.signup__dot:focus-visible {
  outline: 2px solid var(--c-brown-0);
  outline-offset: 3px;
}
.signup__dot--on { border-color: transparent; background: var(--c-brown-0); backdrop-filter: none; }

/* --- card ------------------------------------------------------------- */
.signup__card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  background: var(--c-brown-0);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.signup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex: none;
  height: 5rem;                    /* 80 */
  padding: var(--s-8);
  border-bottom: 1px solid var(--c-brown-50);
}
.signup__logo img { width: 160px; height: 31.22px; }
.signup__back,
.signup__step,
.signup__agree { display: none; }
.signup__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-brown-25);
  transition: background-color .18s ease;
}
.signup__close:hover { background: var(--c-brown-50); }
.signup__close img { width: 20px; height: 20px; }

/* Figma pads the content area to 200/220 px; the column is a fixed 414
   either way, so padding only has to stop it touching the card edges.  */
.signup__main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: var(--s-20) var(--s-8);
}

.signup__panel {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  width: 414px;
  max-width: 100%;
  text-align: center;
}
.signup__panel[hidden] { display: none; }

.signup__stack { display: flex; flex-direction: column; width: 100%; }
.signup__stack--sm { gap: var(--s-3); }
.signup__stack--md { gap: var(--s-4); }
.signup__stack--lg { gap: var(--s-6); }

.signup__title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  color: var(--c-brown-600);
}
.signup__lead { font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-brown-500); }
.signup__lead-strong { font-weight: 600; line-height: var(--lh-sm); color: var(--c-brown-600); }

.signup__or {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.signup__terms {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  color: var(--c-brown-400);
}
.signup__terms a { font-weight: 600; color: var(--c-brown-600); }

.signup__signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-400);
}
.signup__link {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: var(--s-1);
  border-radius: var(--s-1);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 600;
  color: var(--c-brown-600);
}

/* The label and value of the email field read left, not centred. */
.signup__panel .field { text-align: left; }

/* --- confirmation state ----------------------------------------------- */
.signup__code { display: flex; align-items: center; justify-content: center; gap: var(--s-4); width: 100%; }
.signup__code-box {
  flex: none;
  width: 56px; height: 56px;
  padding: 0;
  border: 1px solid var(--c-brown-200);
  border-radius: var(--r-sm);
  background: var(--c-brown-0);
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: 500;
  text-align: center;
  color: var(--c-greyscale-900);
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.signup__code-box--filled { background: var(--c-brown-25); border-color: var(--c-brown-300); }
.signup__code-box:focus {
  outline: none;
  background: var(--c-brown-0);
  border-color: var(--c-brand-100);
  box-shadow: 0 0 0 4px var(--c-brand-0);
}

/* The design shows this button in its disabled state, with no hairline. */
.signup__verify:disabled {
  background: var(--c-brown-25);
  border-color: transparent;
  box-shadow: none;
  font-weight: 600;
  color: var(--c-brown-200);
}

.signup__resend {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  color: var(--c-brown-400);
}
.signup__resend strong { font-weight: 600; color: var(--c-brown-600); }
.signup__resend button { font-weight: 600; color: var(--c-brown-600); text-decoration: underline; }

/* --- footer ----------------------------------------------------------- */
.signup__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex: none;
  height: 5rem;                    /* 80 */
  padding: var(--s-8);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.signup__legal { display: flex; align-items: center; gap: var(--s-6); white-space: nowrap; }
.signup__legal a:hover { color: var(--c-brown-600); }

/* --- analysis card (Figma: Button / Component 1) ---------------------- */
.analysis { display: flex; justify-content: center; }
.analysis-card {
  width: min(28.75rem, 100%);      /* 460 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-6) var(--s-6) var(--s-9);
  border-radius: var(--r-lg);
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-100);
  filter: drop-shadow(0 4px 5.5px rgba(10, 10, 10, .04));
}
.analysis-card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 11.75rem;                /* 188 */
  padding-inline: var(--s-6);
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 60% at 48.5% 44.4%, var(--c-teal-300) 0%, var(--c-teal-400) 85%),
    var(--c-teal-400);
}
.analysis-card__art svg { width: 13.75rem; height: 11.625rem; }
.analysis-card__body { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); width: 100%; }
.analysis-card__title {
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: 600;
  text-align: center;
  color: var(--c-brown-600);
}
.analysis-card__note {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  text-align: center;
  color: var(--c-brown-400);
}
.analysis-card__actions { display: flex; gap: var(--s-2); width: 100%; }
.analysis-card__actions .btn { flex: 1 1 0; height: 40px; padding: 12px 16px; font-size: var(--fs-sm); line-height: var(--lh-sm); }

.checklist { display: flex; flex-direction: column; gap: var(--s-2); width: 100%; }
.checklist__item { display: flex; align-items: center; gap: 10px; }
.checklist__icon { flex: none; width: 24px; height: 24px; }
.checklist__item p {
  flex: 1 1 0;
  min-width: 0;
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-600);
}
.checklist__item[data-state="pending"] p { color: var(--c-brown-400); }
.checklist__item[data-state="active"] .checklist__icon { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* --- progress bar ----------------------------------------------------- */
.progress {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--c-brown-50);
  overflow: hidden;
}
.progress__value {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--c-brand-100);
  transition: width .5s ease;
}

/* --- uploaded files (Figma: Forms / Uploaded files) ------------------- */
.files { display: flex; flex-direction: column; gap: var(--s-2); }
.file {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-100);
}
.file__icon { flex: none; width: 20px; height: 20px; opacity: .7; }
.file__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.file__name {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file__meta {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.file--error { background: var(--a-error-bg); box-shadow: inset 0 0 0 1px var(--a-error-line); }

/* --- status chips ----------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding-inline: var(--s-2);
  border-radius: 6px;
  font-size: var(--fs-xs);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  background: var(--a-neutral-bg);
  color: var(--c-brown-500);
}
.chip img { width: 12px; height: 12px; }
.chip--success { background: var(--a-success-bg); color: var(--c-teal-200); }
.chip--error { background: var(--a-error-bg); color: var(--c-red-200); }
.chip--warning { background: var(--a-warning-bg); color: #8A5A00; }
.chip--info { background: var(--a-info-bg); color: #0B5E70; }

/* --- misc page furniture --------------------------------------------- */
.panel {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-100);
}
.panel__title {
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  font-weight: 600;
  color: var(--c-brown-600);
}
.stack { display: flex; flex-direction: column; gap: var(--s-3); }
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: var(--s-5);
  align-items: start;
}
.cols > * { min-width: 0; }
.analysis { min-width: 0; }

/* Between 1024 and 1320 the gutters shrink so the content band stays usable. */
@media (min-width: 1024px) and (max-width: 1319.98px) {
  :root { --shell-pad: 2.5rem; }
}

/* ========================================================================
   MOBILE / TABLET  —  ≤ 1023 px  (Figma Mobile-Home-Page, 375 px frame)
   ======================================================================== */
@media (max-width: 1023.98px) {
  :root {
    --shell-pad: 1.5rem;         /* 24 px gutters */
    --fs-h1: 3.25rem;            /* hero → H3 */
    --lh-h1: 0.86;
    --fs-h2: 2.75rem;            /* section titles → H4 */
    --lh-h2: 0.96;
    --fs-h3: 2.75rem;
    --lh-h3: 0.96;
  }

  .br-wide { display: none; }

  /* ---- header ---- */
  .site-header__inner { padding: 11px var(--s-6); }
  .site-header__inner > .logo { flex: 0 0 auto; }
  .burger { display: inline-flex; }
  .nav-scrim {
    background: var(--c-brown-300);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: auto;
  }
  .site-header--open .site-header__inner { position: relative; z-index: 2; }

  /* The panel becomes the sheet from Figma / Nav-01. */
  .site-header__panel {
    display: none;
    position: fixed;
    z-index: 2;
    top: 5.125rem;                 /* 82 = 64 header + 18 */
    left: var(--s-6);
    right: var(--s-6);
    bottom: var(--s-6);
    flex-direction: column;
    gap: var(--s-6);
    padding: var(--s-6) var(--s-4);
    border-radius: var(--r-lg);
    background: var(--c-brown-0);
    box-shadow: inset 0 0 0 1px var(--c-brown-100), var(--sh-card);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header--open .site-header__panel { display: flex; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__row { border-bottom: 1px solid var(--c-brown-200); }
  .nav__item {
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: var(--s-4);
    border: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: var(--fs-lg);
    line-height: var(--lh-lg);
    letter-spacing: 0;
    color: var(--c-brown-600);
    text-align: left;
  }
  .nav__item:hover { background: none; }
  .nav__item[aria-expanded="true"] {
    z-index: auto;
    background: none;
    color: var(--c-brown-600);
  }
  .nav__chevron { display: none; }
  .nav__arrow { display: block; flex: none; transition: transform .18s ease; }
  .nav__item[aria-expanded="true"] .nav__arrow { transform: rotate(90deg); }

  .submenu,
  .submenu--compact {
    position: static;
    transform: none;
    width: auto;
    padding: 0 0 var(--s-6);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .submenu__cols { flex-direction: column; gap: var(--s-8); }
  .submenu__thumb { display: none; }
  .submenu__kicker { margin-bottom: var(--s-6); }
  .submenu__item { padding: 0 var(--s-4); }
  .submenu__group > .submenu__item + .submenu__item { margin-top: var(--s-6); }

  .site-header__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-3);
    margin-top: auto;
  }
  .site-header__actions .btn {
    height: 48px;
    font-size: var(--fs-md);
    line-height: var(--lh-md);
    letter-spacing: 0;
  }
  .site-header__actions .btn--sm { padding: 16px 24px; }
  .site-header .site-header__socials { display: flex; }

  /* ---- hero ---- */
  .hero__inner {
    display: block;
    height: auto;
    padding: 25rem var(--s-6) var(--s-10);   /* 400 top / 40 bottom */
  }
  .hero__media img {                         /* Figma mobile fill crop */
    left: -115.73%;
    top: -1.17%;
    width: 331.47%;
    height: 81.24%;
  }
  .hero__scrim--side {
    background: linear-gradient(1deg, var(--c-teal-500) 31.159%, rgba(103, 91, 95, 0.1) 65.59%);
  }
  .hero__scrim--top { display: none; }
  .hero__copy { width: 100%; }
  .hero__text { gap: var(--s-4); }
  .hero__lead { font-size: var(--fs-lg); line-height: var(--lh-lg); }
  .hero__cta { flex-direction: column; align-items: center; width: 100%; }
  .hero__cta-btn { width: 100%; height: 52px; }
  .trust { display: none; }

  .quote-card {
    position: static;
    width: auto;
    margin: var(--s-12) 0 0;                 /* 24 (hero pb) + 24 (block pt) */
    border-radius: var(--r-xl);
  }
  .hero { background: var(--c-teal-500); }

  /* ---- stats ---- */
  .stats { padding-block: var(--s-10); }
  .stats__inner { gap: 0; }
  .stats__grid { flex-direction: column; gap: var(--s-10); width: 100%; padding-bottom: 0; border-bottom: 0; }
  .stat,
  .stat:nth-child(1),
  .stat:nth-child(2),
  .stat:nth-child(3) { width: 100%; }
  .stat:not(:last-child) {
    padding-right: 0;
    padding-bottom: var(--s-10);
    border-right: 0;
    border-bottom: 1px solid var(--c-teal-300);
  }
  .stat__title { white-space: normal; }
  .rating { flex-direction: column; align-items: center; gap: var(--s-4); height: auto; padding-top: var(--s-10); }
  .rating__body { align-items: center; }

  /* ---- stories ---- */
  .stories__inner { padding-block: var(--s-16); gap: var(--s-10); }
  .stories__head { width: 100%; }
  .stories__grid { flex-direction: column; gap: var(--s-6); }
  .story-card,
  .story-card--1 { flex: none; height: 30.125rem; padding: 0 var(--s-5) var(--s-5); }
  .story-card--1 .story-card__quote { width: auto; }
  .story-card__badge { top: 19px; left: 25px; }
  .story-card__quote { font-size: 1.75rem; margin-bottom: var(--s-5); }
  .stories__foot { width: 100%; }
  .stories__foot-title { font-size: var(--fs-h6); line-height: var(--lh-h6); }
  .stories__foot .btn { width: 100%; }

  /* ---- zpf ---- */
  .zpf__inner { padding-block: var(--s-10); }
  .zpf__card { flex-direction: column-reverse; align-items: stretch; gap: var(--s-2); padding: var(--s-10) var(--s-6); }
  .zpf__logo { width: 100%; height: 9.5625rem; }      /* 153 */
  .zpf__logo img { width: 241.87px; height: 57.15px; }
  .zpf__content .btn { align-self: stretch; }

  /* ---- how it works ---- */
  .steps__inner { padding-block: var(--s-16); gap: var(--s-10); }
  .steps__head { flex-direction: column; align-items: stretch; }
  .steps__head .section-head__text { width: 100%; }
  .steps__head-btn { display: none; }
  .steps__foot-btn { display: inline-flex; }
  .steps__stack { padding-top: 7.4656rem; }           /* 119.45 */
  .steps__ghost,
  .steps__ghost--2 { display: block; }
  .steps__ghost {
    height: 12.5rem;
    background: var(--c-brown-25) url('../assets/images/step-phone-upload.png') top center / 100% auto no-repeat;
  }
  .steps__ghost--1 { top: 0; left: 1.15625rem; right: 1.15625rem; }            /* 290 wide */
  .steps__ghost--2 { top: 2.5875rem; left: 0.53125rem; right: 0.53125rem; }    /* 310 wide */
  .step-card { flex-direction: column-reverse; min-height: 0; padding: 0; gap: 0; }
  .step-card__media { position: static; width: 100%; height: 19.4375rem; overflow: hidden; }
  .step-card__media img { width: 100%; height: auto; }
  .step-card__body { width: 100%; padding: var(--s-6); flex-direction: column; gap: var(--s-5); }
  .step-card__num { font-size: var(--fs-h6); line-height: var(--lh-h6); width: auto; }
  .step-card__title { font-size: var(--fs-h6); line-height: var(--lh-h6); }
  .step-card__text { height: auto; gap: var(--s-5); }

  /* ---- expert ---- */
  .expert__inner { flex-direction: column-reverse; align-items: stretch; padding-block: var(--s-10) var(--s-16); gap: var(--s-10); }
  .expert__content { width: 100%; gap: var(--s-6); }
  .expert__media { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .expert__media figcaption { left: var(--s-5); top: auto; bottom: var(--s-5); }
  .expert__play { width: auto; }

  /* ---- approach ---- */
  .approach__inner { padding-block: var(--s-16); gap: var(--s-10); }
  .approach__head .section-head__text { width: 100%; }
  .approach__body { flex-direction: column; align-items: stretch; gap: var(--s-10); }
  .escalation__item { flex-direction: column; align-items: flex-start !important; gap: var(--s-6); }
  .escalation__head { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .escalation__title { white-space: normal; font-size: 1.375rem; }
  .escalation__head { flex-direction: column-reverse; gap: var(--s-2); }
  .limits { width: 100%; }

  /* ---- compare ---- */
  .compare__inner { padding-block: var(--s-16); gap: var(--s-10); }
  .compare__head { width: 100%; align-items: flex-start; text-align: left; }
  .compare__grid { flex-direction: column; gap: var(--s-6); }
  .path { flex: none; max-width: none; width: 100%; }
  .path__hero { padding: var(--s-6); }
  .path__headline { font-size: var(--fs-h6); line-height: 1.05; }
  .path__body,
  .path__cta { padding-inline: var(--s-6); }
  .path__list li { font-size: var(--fs-md); line-height: var(--lh-md); align-items: flex-start; }

  /* ---- reviews ---- */
  .reviews__inner { padding-top: 21rem; padding-bottom: var(--s-10); gap: var(--s-6); }
  .reviews__media img { left: -30%; top: 0; width: 160%; height: 62%; }
  .reviews__head { flex-direction: column; align-items: flex-start; gap: var(--s-5); }
  .review { width: 19.5rem; }
  .review__rating { display: none; }

  /* ---- pricing ---- */
  .pricing__inner { flex-direction: column; align-items: stretch; padding-block: var(--s-16); gap: var(--s-10); }
  .pricing__content { width: 100%; }
  .pricing__media { width: 100%; height: auto; aspect-ratio: 327 / 388; }
  .pricing__img {
    position: absolute;
    left: 0;
    top: -3.93%;
    width: 100%;
    height: 111.97%;
    max-width: none;
    object-fit: fill;
  }
  .fee-card { left: var(--s-4); right: var(--s-4); top: 50%; transform: translateY(-50%); width: auto; }
  .fee-card__row { padding-bottom: var(--s-4); }
  .fee-card .tick { white-space: normal; align-items: flex-start; text-align: left; }

  /* ---- security ---- */
  .security__inner { padding: 0 var(--s-6) var(--s-16); }
  .security__card { flex-direction: column; height: auto; padding: var(--s-10) var(--s-4); gap: var(--s-10); }
  .security__content { width: 100%; align-items: center; text-align: center; gap: var(--s-10); }
  .security__text { align-items: center; gap: var(--s-4); max-width: 17.4375rem; }
  .security__art { width: 100%; max-width: 18.4375rem; height: auto; align-self: center; order: -1; }
  .security .btn { width: 100%; }

  /* ---- faq ---- */
  .faq__inner { padding-block: var(--s-16); gap: var(--s-8); }
  .faq__head,
  .faq__list { width: 100%; }
  .faq-item__q { gap: var(--s-4); }

  /* ---- cta ---- */
  .cta__inner { padding: var(--s-6); }
  .cta__card { padding: var(--s-10) var(--s-6); gap: var(--s-8); }
  .cta__title,
  .cta__lead { width: 100%; }
  .cta__actions { width: 100%; flex-direction: column; gap: var(--s-3); }
  .cta__actions > .btn { width: auto !important; }
  .cta__ticks { flex-direction: column; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }

  /* ---- footer ---- */
  .site-footer__inner { padding-block: var(--s-16) var(--s-5); gap: var(--s-10); }
  .site-footer__top { flex-direction: column; gap: var(--s-10); }
  .site-footer__menu { width: 100%; flex-wrap: wrap; gap: var(--s-8) var(--s-5); }
  .link-col,
  .link-col--product { flex: 1 1 40%; width: auto; min-width: 8rem; }
  .site-footer__mid { flex-direction: column; align-items: stretch; gap: var(--s-8); }
  .newsletter__form { width: 100%; }
  .site-footer__aside { align-items: flex-start; gap: var(--s-8); }
  .accreditations { flex-wrap: wrap; gap: var(--s-4); }
  .site-footer__bottom { flex-direction: column; gap: var(--s-4); font-size: var(--fs-sm); }
  .site-footer__legal { flex-wrap: wrap; justify-content: flex-start; gap: var(--s-4); }
}


/* ---- components on small screens ------------------------------------- */
@media (max-width: 1023.98px) {
  .app-header { height: 4rem; padding: var(--s-3) var(--s-6); }
  .app-header__logo img { width: 122px; height: 23.8px; }
  .flow-steps { display: none; }
  .app-header .flow-steps-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 11rem;
  }
  .app-shell { padding: var(--s-10) var(--s-6) var(--s-16); }
  .toast-stack { left: var(--s-6); right: var(--s-6); width: auto; }

  /* ---- sign up (Figma mobile 375 frames) ----------------------------- */
  .signup {
    min-height: 100dvh;
    padding: 0;
    background: var(--c-brown-0);
  }
  .signup__aside { display: none; }
  .signup__card { border-radius: 0; }
  .signup__header {
    height: 50px;
    padding: 0 var(--s-4);
  }
  .signup__logo img { width: 125px; height: 24px; }

  .signup__main {
    justify-content: flex-start;
    padding: 0 var(--s-6) var(--s-6);
  }
  .signup__panel {
    width: 100%;
    gap: var(--s-6);
    padding-top: 0;
  }

  /* Screen 1 — title is 18px and sits in a 60px row, then the lead. */
  .signup[data-step="account"] .signup__main { padding-top: 0; }
  .signup[data-step="account"] .signup__title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    font-size: var(--fs-lg);
    line-height: var(--lh-lg);
  }
  .signup[data-step="account"] .signup__stack--sm { gap: var(--s-6); }
  .signup[data-step="account"] .signup__lead { margin-top: 0; }
  .signup[data-step="account"] .signup__terms { display: none; }

  /* Screens 2–3 — title + progress live in the header; hide the body copies. */
  .signup[data-step="email"] .signup__header,
  .signup[data-step="verify"] .signup__header {
    height: 60px;
    padding: 0 var(--s-4);
    border-bottom: 0;
  }
  .signup__logo { display: none; }
  .signup[data-step="account"] .signup__logo,
  .signup[data-step="amount"] .signup__logo { display: block; }
  .signup__back {
    display: none;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    background: var(--c-brown-25);
  }
  .signup__back img { width: 20px; height: 20px; }
  .signup[data-step="email"] .signup__back,
  .signup[data-step="verify"] .signup__back { display: flex; }

  .signup__step {
    display: none;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    min-width: 0;
    height: 36px;
  }
  .signup[data-step="email"] .signup__step,
  .signup[data-step="verify"] .signup__step { display: flex; }
  .signup__step-title {
    font-size: var(--fs-md);
    line-height: 1.55;
    font-weight: 600;
    color: var(--c-brown-600);
    white-space: nowrap;
  }
  .signup__progress {
    display: flex;
    gap: var(--s-2);
    width: 150px;
    height: 4px;
  }
  .signup__progress span {
    flex: 1 1 0;
    height: 4px;
    border-radius: 2px;
    background: var(--c-brown-50);
  }
  .signup[data-step="email"] .signup__progress [data-progress="1"],
  .signup[data-step="verify"] .signup__progress [data-progress="2"] {
    background: var(--c-teal-200);
  }
  .signup[data-step="verify"] .signup__progress [data-progress="1"] {
    background: var(--c-brown-100);
  }

  .signup[data-step="email"] [data-panel="email"] > .signup__stack--sm { display: none; }
  .signup[data-step="verify"] [data-panel="verify"] > .signup__stack--lg > .signup__title { display: none; }
  .signup[data-step="email"] .signup__main { padding-top: var(--s-6); }
  .signup[data-step="verify"] .signup__main { padding-top: var(--s-6); }
  .signup[data-step="verify"] [data-panel="verify"] {
    gap: var(--s-8);
  }
  .signup[data-step="verify"] [data-verify-form] { gap: var(--s-5); }
  .signup[data-step="verify"] [data-verify-form] .signup__stack--md { gap: var(--s-5); }
  .signup[data-step="verify"] [data-verify-form] > .signup__signin { margin-top: var(--s-3); }

  .signup[data-step="account"] .signup__stack--md > .signup__signin { margin-top: calc(var(--s-3) - var(--s-4)); }

  .signup__code { justify-content: space-between; gap: 0; }
  .signup__code-box { flex: none; width: 56px; }

  .signup__footer {
    height: auto;
    padding: var(--s-3) var(--s-6) 0;
    justify-content: center;
  }
  .signup__copy,
  .signup__legal { display: none; }
  .signup__agree {
    display: block;
    width: 100%;
    padding-bottom: var(--s-6);
    font-size: var(--fs-sm);
    line-height: var(--lh-sm);
    letter-spacing: var(--ls-tight);
    text-align: center;
    color: var(--c-brown-400);
  }
  .signup__agree a { font-weight: 600; color: var(--c-brown-600); }
  .signup[data-step="email"] .signup__footer { display: none; }
  .analysis-card { padding: var(--s-5) var(--s-4) var(--s-6); }
  .analysis-card__art { height: 9.5rem; }
  .analysis-card__art svg { width: 11rem; height: 9.3rem; }
  .cols { grid-template-columns: minmax(0, 1fr); }
}

/* The compact step read-out only exists below the breakpoint. */
.flow-steps-compact { display: none; }
.flow-steps-compact__label {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  font-weight: 600;
  color: var(--c-brown-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flow-steps-compact__track { display: flex; gap: 4px; }
.flow-steps-compact__track span { flex: 1 1 0; height: 3px; border-radius: 2px; background: var(--c-brown-50); }
.flow-steps-compact__track span.is-on { background: var(--c-teal-200); }

/* ========================================================================
   ANALYSIS FLOW  —  Figma section "Analysis"
     Desktop frames 1440 px · Mobile frames 375 px
     Breakpoint matches the rest of the project: 1024 px
   ======================================================================== */

.flow-steps__item--finished .flow-steps__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--c-brown-400);
}
.flow-steps__item--finished .flow-steps__bar { background: var(--c-brown-100); }
.flow-steps__tick { width: 16px; height: 16px; }

.flow {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--c-brown-0);
}
.flow--muted { background: var(--c-brown-50); }
.flow--muted .app-header,
.flow--muted .flow__foot { background: var(--c-brown-0); }
.flow--muted .forecast,
.flow--muted .metric,
.flow--muted .info-card {
  background: var(--c-brown-0);
  box-shadow: none;
}
.flow--muted .info-card__head { border-bottom-color: var(--c-brown-100); }
.flow--muted .alert { width: 100%; }
.flow__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  padding: 60px 200px;
}
.flow__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
  width: 600px;
  max-width: 100%;
}
.flow__col--wide { width: 920px; }
.flow__title {
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: 600;
  text-align: center;
  color: var(--c-brown-600);
}
.flow__lead {
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  text-align: center;
  color: var(--c-brown-500);
}
.flow__head-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  text-align: center;
}
.flow__note {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  text-align: center;
  color: var(--c-brown-400);
}
.flow__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex: none;
  position: sticky;
  bottom: 0;
  z-index: 15;
  height: 92px;
  padding: var(--s-6) 100px 0;
  background: var(--c-brown-0);
  box-shadow: 0 -5px 5px 0 rgba(0, 0, 0, 0.05);
}
.flow__foot-end {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s-3);
}
.flow__foot .btn--form { min-width: 8.5rem; }
.btn.is-quiet,
.btn.is-disabled.is-quiet {
  background: var(--c-brown-25);
  border-color: transparent;
  box-shadow: none;
  font-weight: 600;
  color: var(--c-brown-200);
}

/* Amount — two fields beside the Next pill, reusing .signup shell */
.amount-row {
  display: flex;
  gap: var(--s-3);
  width: 100%;
}
.amount-row .field { flex: 1 1 0; min-width: 0; }
.amount-row .field:last-child { flex: 0 1 11.5rem; min-width: 10.75rem; }
.field__flag { flex: none; width: 20px; height: 20px; border-radius: 50%; }
.field__chevron { flex: none; width: 20px; height: 20px; transition: transform .15s ease; }
.field__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-600);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field--select { position: relative; z-index: 1; }
.field--select.is-open { z-index: 4; }
.field--select.is-open .field__chevron { transform: rotate(180deg); }
.field--select .field__box { width: 100%; cursor: pointer; }
.select-menu {
  position: absolute;
  z-index: 4;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 100%;
  padding: 4px;
  border-radius: var(--r-sm);
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-100), 0 10px 24px -6px rgba(10, 10, 10, .14);
}
.select-menu[hidden] { display: none; }
.select-option {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  color: var(--c-brown-600);
  text-align: left;
  white-space: nowrap;
}
.select-option img { flex: none; width: 20px; height: 20px; border-radius: 50%; }
.select-option:hover,
.select-option:focus-visible { background: var(--c-brown-25); }
.select-option.is-on { background: var(--c-brown-25); font-weight: 500; }
.field__box--area {
  height: auto;
  align-items: flex-start;
  padding: 12px;
}
.field__box--area textarea {
  width: 100%;
  min-height: 88px;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  resize: vertical;
}
.signup[data-step="amount"] .signup__terms,
.signup[data-step="amount"] .signup__agree { display: none; }

/* Dropzone + document type pills */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  width: 100%;
  padding: var(--s-6);
  border: 1px dashed var(--c-brown-500);
  border-radius: var(--r-sm);
  background: var(--c-brown-0);
  text-align: center;
  cursor: pointer;
}
.dropzone__icon { width: 60px; height: 60px; }
.dropzone__title {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-600);
}
.dropzone__title--lg { font-size: var(--fs-md); font-weight: 600; letter-spacing: 0; }
.dropzone__hint {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.dropzone__or {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 201px;
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.dropzone__or::before,
.dropzone__or::after { content: ''; flex: 1 1 0; height: 1px; background: #E7E7E7; }
.doc-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 8px 4px;
  width: 100%;
}
.doc-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  padding: 6px 10px;
  border: 0.75px solid var(--c-brown-500);
  border-radius: 20px;
  background: var(--c-brown-0);
  font-size: 0.625rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--c-brown-600);
  cursor: pointer;
}
.doc-tag img { display: none; width: 12px; height: 12px; }
.doc-tag.is-on {
  background: var(--c-brown-600);
  border-color: transparent;
  color: var(--c-brown-0);
}
.doc-tag.is-on img { display: block; }
.doc-tag--extra { display: none; }

/* File rows (upload filled state) — reuse .file, extend */
.file-list { display: flex; flex-direction: column; gap: var(--s-2); width: 100%; }
.file-list .file {
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 12px 16px;
}
.file__body { gap: 2px; }
.file-list .file__icon {
  width: 16px;
  height: 16px;
  opacity: 1;
}
.file__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.file__actions button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.file__actions img { display: block; width: 20px; height: 20px; }
.file__bar {
  flex: 1 1 100%;
  width: 100%;
  height: 6px;
  margin-top: 0;
  border-radius: 3px;
  background: var(--c-brown-50);
  overflow: hidden;
}
.file__bar span { display: block; height: 100%; background: var(--c-teal-200); }
.file--uploading {
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-500);
}
.file--done {
  background: var(--c-brown-50);
  box-shadow: none;
}
.file--fail {
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-100);
}
.file__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 20px;
  padding: 0 8px;
  border-radius: 20px;
  background: var(--c-red-25);
  color: var(--c-red-200);
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
}
.file-list .chip--error {
  background: var(--c-red-25);
  color: var(--c-red-200);
}

/* Segmented toggle */
.seg {
  display: flex;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 40px;
  background: var(--c-brown-50);
}
.seg__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 7px 16px;
  border-radius: 40px;
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  font-weight: 600;
  color: var(--c-brown-400);
}
.seg__btn img { width: 14px; height: 14px; }
.seg__btn.is-on {
  background: var(--c-brown-0);
  color: var(--c-brown-600);
  filter: drop-shadow(0 2px 4px rgba(10, 10, 10, 0.06));
}

/* Info cards used on confirm / creditor / debtor */
.info-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--s-6) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--c-brown-25);
}
.info-card[hidden] { display: none; }
.info-card__inner { display: flex; flex-direction: column; gap: var(--s-6); width: 100%; }
.info-card__head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 2px 0 12px;
  border-bottom: 1px solid var(--c-brown-600);
}
.info-card__head p {
  flex: 1 1 0;
  font-size: var(--fs-md);
  line-height: 1.55;
  font-weight: 600;
  color: var(--c-brown-600);
}
.info-card__edit {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 36px;
  padding: 4px 8px;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 600;
  color: var(--c-brown-600);
}
.info-card__edit img { width: 20px; height: 20px; }
.info-card__edit[hidden],
.field[hidden],
.field__box[hidden],
.info-row__value[hidden] { display: none; }
.info-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
}
.info-row.is-editing { align-items: flex-start; }
.info-row__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.info-row__body .field,
.info-row__body .field__box { width: 100%; }
.info-row [data-edit] { margin-top: 4px; }
.info-row .field__box img { width: 16px; height: 16px; flex: none; }
.info-row__label {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-400);
}
.info-row__value {
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  font-weight: 500;
  color: var(--c-brown-600);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 20px;
  padding-inline: var(--s-2);
  border-radius: 20px;
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
}
.status-pill img { width: 14px; height: 14px; }
.status-pill--found { background: #DDF3EF; color: #184E44; }
.status-pill--missing { background: var(--c-red-25); color: var(--c-red-200); }
.status-pill--late { background: var(--c-violet-25); color: var(--c-violet-200); }

.choice-grid { display: flex; gap: var(--s-4); width: 100%; }
.choice {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: var(--s-4);
  min-width: 0;
  padding: var(--s-4);
  border-radius: var(--r-sm);
  background: var(--c-brown-0);
  text-align: left;
  cursor: pointer;
}
.choice.is-on { box-shadow: inset 0 0 0 1px var(--c-brown-500); }
.choice__top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.choice__top img { width: 20px; height: 20px; }
.choice__title {
  font-size: var(--fs-md);
  line-height: 1.55;
  font-weight: 600;
  color: var(--c-brown-600);
}
.choice__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-500);
}
.radio {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
}
.radio::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 10px;
  background: var(--c-brown-25);
  box-shadow: inset 0 0 0 1px var(--c-brown-200);
}
.choice.is-on .radio::before {
  background: var(--c-brown-0);
  box-shadow: inset 0 0 0 1px var(--c-brown-600);
}
.choice.is-on .radio::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 10px;
  background: var(--c-brown-600);
}
.radio { position: relative; }

.debt-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.debt-amount {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--c-brown-600);
}

/* Overlay analyzing card sits on a dimmed copy of the previous step */
.flow-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 28, 27, 0.48);
}
.flow-overlay .analysis-card {
  width: 460px;
  background: var(--c-brown-0);
  box-shadow: none;
  filter: drop-shadow(0 8px 28px rgba(1, 28, 27, 0.18));
}
.analysis-card__art img {
  width: 13.75rem;
  height: 11.625rem;
}

/* Recovery forecast */
.forecast {
  display: flex;
  gap: 0;
  width: 100%;
  padding: var(--s-4);
  border-radius: var(--r-sm);
  background: var(--c-brown-0);
}
.forecast__pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  padding: var(--s-6) var(--s-6) var(--s-8);
  gap: 8px;
}
.forecast__pane--dark {
  background: var(--c-teal-300);
  border-radius: var(--r-sm);
  color: var(--c-brown-0);
  align-items: stretch;
  padding: 34px 24px;
  gap: 16px;
}
.forecast__kicker {
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: 500;
  text-align: center;
  color: var(--c-brown-600);
  max-width: 300px;
}
.forecast__kicker strong { font-weight: 600; }
.forecast__sub {
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  text-align: center;
  color: var(--c-brown-500);
}
.forecast__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding-inline: var(--s-2);
  border-radius: 20px;
  background: var(--a-success-bg);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-teal-200);
}
.forecast__badge img { width: 14px; height: 14px; }
.gauge {
  --gauge: 0.4;
  --gauge-start: 229deg;
  --gauge-sweep: 262deg;
  position: relative;
  width: 295px;
  max-width: 100%;
  height: 315px;
  margin-top: var(--s-4);
}
.gauge__track,
.gauge__fill {
  position: absolute;
  left: 50%;
  top: -12px;
  width: 402px;
  max-width: none;
  height: 402px;
  transform: translateX(-50%);
}
.gauge__fill {
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: conic-gradient(
    from var(--gauge-start) at 50% 50%,
    #000 0deg,
    #000 calc(var(--gauge) * var(--gauge-sweep)),
    transparent calc(var(--gauge) * var(--gauge-sweep))
  );
  mask-image: conic-gradient(
    from var(--gauge-start) at 50% 50%,
    #000 0deg,
    #000 calc(var(--gauge) * var(--gauge-sweep)),
    transparent calc(var(--gauge) * var(--gauge-sweep))
  );
}
.gauge__label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -40%);
  text-align: center;
}
.gauge__label strong {
  display: block;
  font-size: var(--fs-h3);
  line-height: 0.9;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-brown-600);
}
.gauge__label span {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  color: var(--c-brown-400);
}
.forecast__pane--dark .forecast__kicker,
.forecast__pane--dark .forecast__sub { color: var(--c-brown-0); text-align: left; }
.forecast__pane--dark .forecast__kicker {
  max-width: none;
  font-size: var(--fs-md);
  line-height: 1.55;
  font-weight: 500;
}
.forecast__lead {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  color: var(--c-brown-0);
}
.forecast__checks { display: flex; flex-direction: column; gap: 8px; }
.forecast__checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 400;
  color: var(--c-brown-0);
}
.forecast__checks img { width: 18px; height: 18px; flex: none; }
.potential { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.potential__tips {
  position: relative;
  height: 24px;
}
.potential__tip {
  position: absolute;
  top: 0;
  display: grid;
  place-items: center;
  width: 60px;
  height: 24px;
  border-radius: 3px;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  color: var(--c-brown-600);
  transform: translateX(-50%);
}
.potential__tip--now { left: 35.3%; background: var(--c-violet-50); }
.potential__tip--max { left: 66.5%; background: var(--c-brand-100); }
.potential__track {
  position: relative;
  height: 10px;
  border-radius: 6px;
  background: var(--c-teal-400);
  overflow: visible;
}
.potential__fill {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 6px;
}
.potential__fill--now {
  left: 0;
  width: 39%;
  background: linear-gradient(90deg, var(--c-violet-50) 0%, var(--c-brand-100) 100%);
}
.potential__fill--ghost {
  left: 37%;
  width: 32.5%;
  background: linear-gradient(90deg, rgba(22, 221, 164, 0.55) 0%, rgba(22, 221, 164, 0) 100%);
}
.potential__dot {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--c-teal-300);
  transform: translate(-50%, -50%);
}
.potential__dot--now { left: 35.3%; background: var(--c-violet-50); }
.potential__dot--max { left: 66.5%; background: var(--c-brand-100); }
.potential__captions {
  position: relative;
  height: 16px;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-teal-25);
}
.potential__cap {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.potential__cap--now { left: 35.3%; }
.potential__cap--max { left: 66.5%; }
.forecast__note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 400;
  color: var(--c-teal-25);
}
.forecast__note strong { font-weight: 600; color: var(--c-brown-0); }
.forecast__actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.forecast__actions .btn {
  flex: 1 1 0;
  height: 42px;
  min-width: 0;
}
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); width: 100%; }
.metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: 215px;
  padding: var(--s-6);
  border-radius: var(--r-sm);
  background: var(--c-brown-0);
}
.metric__art { width: 90px; height: auto; }
.metric__art--sm { width: 66px; }
.metric__value {
  font-size: var(--fs-h3);
  line-height: 0.9;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-brown-600);
}
.metric__label { font-size: var(--fs-md); line-height: var(--lh-md); color: var(--c-brown-500); }
.fee-box {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  border-radius: var(--r-sm);
  background: var(--c-brown-50);
}
.fee-box__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-brown-100);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--c-brown-500);
}
.fee-box__row strong {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  color: var(--c-brown-600);
}
.fee-box__hint {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.fee-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: none;
  color: var(--c-brown-600);
}
.fee-guarantee__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--c-teal-300);
}
.fee-guarantee__icon img { width: 18px; height: 18px; }
.fee-guarantee p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--c-brown-600);
}
.fee-guarantee strong { font-weight: 600; }
.agree-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  width: 100%;
  padding: 27px 22px;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--c-brand-0) 0%, var(--c-violet-25) 100%);
  color: var(--c-brown-600);
}
.agree-preview__copy { flex: 1 1 auto; min-width: 0; }
.agree-preview h3 { margin: 0 0 4px; font-size: var(--fs-md); font-weight: 600; color: var(--c-brown-600); }
.agree-preview p { margin: 0; font-size: var(--fs-sm); line-height: var(--lh-sm); max-width: 499px; color: var(--c-brown-500); }
.agree-preview__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: none;
  width: 262px;
}
.agree-preview__actions .btn {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}
.btn__icon--on-dark { filter: brightness(0) invert(1); }
.agree-preview__dl {
  filter: brightness(0);
  transform: scaleY(-1);
}
.timeline { display: flex; flex-direction: column; gap: 24px; }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: var(--s-3);
  align-items: start;
}
.timeline li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: -24px;
  border-left: 1px dashed var(--c-brown-200);
}
.timeline img {
  width: 24px;
  height: 24px;
  filter: brightness(0);
}
.timeline strong {
  display: block;
  font-size: var(--fs-md);
  line-height: 1.55;
  font-weight: 600;
  color: var(--c-brown-600);
}
.timeline span {
  display: block;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  color: var(--c-brown-400);
}
.timeline em {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  color: var(--c-teal-200);
  white-space: nowrap;
}

/* Confirmation modal */
.confirm-modal {
  width: 600px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--c-brown-0);
  border-radius: var(--r-lg);
}
.confirm-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-4) var(--s-4);
  font-size: var(--fs-md);
  line-height: 1.55;
  font-weight: 600;
  color: var(--c-brown-600);
}
.confirm-modal__head img { width: 20px; height: 20px; flex: none; }
.confirm-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: 0 var(--s-4) var(--s-4);
}
.confirm-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--c-brown-25);
}
.confirm-block dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.confirm-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
}
.confirm-kv dt {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-tight);
  font-weight: 500;
  color: var(--c-brown-400);
}
.confirm-kv dd {
  margin: 0;
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  font-weight: 600;
  text-align: right;
  color: var(--c-brown-600);
}
.confirm-modal__foot {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: var(--s-2);
  padding: var(--s-4);
  background: var(--c-brown-0);
  border-top: 1px solid var(--c-brown-50);
}
.confirm-modal__foot .btn { flex: 1 1 0; }

/* Gate card on forecast-ready */
.gate-card { width: 460px; }
.gate-card .analysis-card__art { height: 157px; }
.gate-card .analysis-card__art img { width: 220px; height: 157px; }

.flow-head-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
}
.flow-head-mobile__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  flex: 1 1 auto;
}
.flow-head-mobile__title p {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-md);
  line-height: 1.55;
  font-weight: 600;
  color: var(--c-brown-600);
}
.flow-head-mobile__title img { width: 20px; height: 20px; }
.flow-head-mobile__bars { display: flex; gap: var(--s-2); width: 150px; height: 4px; }
.flow-head-mobile__bars span { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--c-brown-50); }
.flow-head-mobile__bars span.is-on { background: var(--c-teal-200); }
.flow-head-mobile__bars span.is-done { background: var(--c-brown-100); }
.flow-back {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-brown-25);
}
.flow-back img { width: 20px; height: 20px; }

@media (max-width: 1023.98px) {
  .signup[data-step="amount"] .signup__title {
    font-size: var(--fs-lg);
    line-height: var(--lh-lg);
  }
  .signup[data-step="amount"] .signup__main { padding: var(--s-6); }

  .flow__body { padding: 0 var(--s-6) 8rem; }
  .flow__col,
  .flow__col--wide { width: 100%; }
  .flow__title { font-size: var(--fs-lg); line-height: var(--lh-lg); }
  .flow__foot {
    height: auto;
    padding: var(--s-6) var(--s-6) var(--s-6);
    border-radius: 12px 12px 0 0;
  }
  .flow__foot .btn--outline { display: none; }
  .flow__foot-end { width: 100%; }
  .flow__foot-end .btn { width: 100%; }

  .flow .app-header { height: 50px; padding: 0 var(--s-4); }
  .flow .app-header__logo { display: none; }
  .flow-head-mobile { display: flex; }
  .flow-back { display: flex; }
  .doc-tag--extra { display: inline-flex; }
  .choice-grid { flex-direction: column; }
  .forecast { flex-direction: column; }
  .forecast__pane,
  .forecast__pane--dark { width: 100%; }
  .metric-grid { grid-template-columns: 1fr; }
  .agree-preview { flex-direction: column; align-items: flex-start; }
  .agree-preview__actions { width: 100%; }
  .flow-overlay { padding: var(--s-6); }
  .flow-overlay .analysis-card,
  .gate-card { width: 100%; }
  .confirm-modal { width: 100%; border-radius: 0; max-height: none; min-height: 100vh; }
  .gauge { width: 100%; height: 240px; }
  .forecast__pane { padding: var(--s-6); }
  .forecast__actions { flex-direction: column; }
  .forecast__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
