/* ============================================
   APPRVD v3 — Review first. Apply second.
   Depth by layering, not scroll. One hero object.
   Display: Inter Tight. Body: DM Sans.
   ============================================ */

:root {
  --black: #0D0D0D;
  --black-2: #141414;
  --white: #FFFFFF;

  /* Green discipline: bright green only for buttons and the verdict moment */
  --green: #00C853;
  --green-hover: #00B34A;
  --forest: #0F6B3A;              /* text, marks, labels on white */
  --forest-deep: #0B4F2B;
  --green-tint: rgba(0, 200, 83, 0.09);
  --green-line: rgba(0, 200, 83, 0.28);

  --gray-50: #F6F7F6;
  --gray-100: #EAEDEB;
  --gray-200: #D6DBD8;
  --gray-300: #AEB6B1;
  --gray-500: #5B655F;
  --gray-700: #363D39;
  --gray-900: #101412;

  --text: var(--gray-900);
  --muted: var(--gray-500);

  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --container: 1140px;
  --container-wide: 1380px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Two elevation tiers */
  --shadow-rest: 0 1px 2px rgba(16, 20, 18, 0.04);
  --shadow-raised: 0 30px 60px -20px rgba(16, 20, 18, 0.25), 0 12px 24px -12px rgba(15, 107, 58, 0.18);
  --shadow-raised-dark: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.06);
  --edge-light: inset 0 1px 0 rgba(255,255,255,0.08);

  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* --- Type --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}
h1 { font-size: clamp(2.7rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.3; }
p { color: var(--muted); max-width: 60ch; }
p + p { margin-top: 0.9rem; }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.55; }
strong { font-weight: 600; color: var(--text); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1.1rem;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 820px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.2s;
}
.btn--primary {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 8px 24px -8px rgba(0, 200, 83, 0.55);
}
.btn--primary:hover { background: var(--green-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 14px 32px -10px rgba(0, 200, 83, 0.6); }
.btn--outline { border: 1.5px solid var(--gray-200); color: var(--text); background: var(--white); }
.btn--outline:hover { border-color: var(--gray-900); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,0.22); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); }
.btn--lg { padding: 1.15rem 2.3rem; font-size: 0.98rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600;
  color: var(--text);
  border-bottom: 1.5px solid var(--gray-200); padding-bottom: 2px;
  transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--forest); }
.text-link--green { color: var(--forest); border-color: transparent; }
.text-link--green:hover { border-color: var(--forest); }

.fine-print { font-size: 0.82rem; line-height: 1.55; color: var(--muted); }

/* --- Header --- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.header.scrolled { box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.12); }
.header.header--top {
  background: var(--black);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none !important;
}
.header.header--top .nav__link { color: rgba(255, 255, 255, 0.7); }
.header.header--top .nav__link:hover, .header.header--top .nav__link.active { color: var(--white); background: rgba(255,255,255,0.06); }
.header.header--top .menu-toggle span { background: var(--white); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__img { height: 42px; width: auto; object-fit: contain; }
.logo__img--light { display: none; }
.header.header--top .logo__img--dark { display: none; }
.header.header--top .logo__img--light { display: block; }
.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav__link {
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  color: var(--gray-700); border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav__link:hover { color: var(--text); background: var(--gray-50); }
.nav__link.active { color: var(--text); font-weight: 600; }
.nav__cta { margin-left: 0.75rem; padding: 0.72rem 1.35rem; font-size: 0.8rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.menu-toggle span { width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--gray-900); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--gray-900); }

/* --- Hero: black ground, contour texture, raised review sheet --- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__ground {
  position: absolute; inset: -10% 0 0 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.hero__ground svg { width: 100%; height: 100%; }
.hero__ground path { fill: none; stroke: rgba(255,255,255,0.055); stroke-width: 1; }
.hero__ground::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0) 20%, rgba(13,13,13,0.85) 75%, var(--black) 100%);
}
.hero .container {
  position: relative; z-index: 1;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero .eyebrow { color: var(--green); }
.hero h1 { color: var(--white); margin-bottom: 1.35rem; }
.hero p { color: rgba(255, 255, 255, 0.72); }
.hero .lead { max-width: 50ch; margin-bottom: 1.6rem; }
.hero__options { display: flex; flex-wrap: wrap; gap: 0.45rem 0.5rem; margin-bottom: 2.25rem; max-width: 600px; }
.hero__options li {
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
}
.hero__options li.more { color: var(--green); border-color: var(--green-line); }
.hero__actions { display: flex; align-items: center; gap: 1.25rem 1.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero .text-link { color: var(--white); border-color: rgba(255,255,255,0.3); }
.hero .text-link:hover { border-color: var(--green); }
.hero .fine-print { color: rgba(255, 255, 255, 0.48); max-width: 58ch; }

/* The review sheet: the one object */
.sheet-stage {
  position: relative;
  perspective: 1400px;
}
.sheet-stage::before {
  /* second card peeking behind: implies a stack of files reviewed */
  content: '';
  position: absolute;
  inset: 22px -14px -14px 22px;
  border-radius: var(--radius-lg);
  background: var(--black-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
  transform: rotate(1.2deg);
}
.sheet {
  position: relative;
  background: #181818;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-raised-dark), var(--edge-light);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.sheet__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sheet__title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--white); letter-spacing: -0.01em; }
.sheet__title small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.15rem; }
.sheet__badge {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: 100px;
  color: var(--green); border: 1px solid var(--green-line);
}
.sheet__rows { display: flex; flex-direction: column; }
.sheet__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  opacity: 0.35;
  transform: translateX(-4px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), color 0.3s;
}
.sheet__row:last-child { border-bottom: none; }
.sheet.read .sheet__row { opacity: 1; transform: none; color: rgba(255,255,255,0.85); transition-delay: calc(var(--i) * 0.16s); }
.sheet__row span:last-child {
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.sheet.read .sheet__row .ok { color: var(--green); }
.sheet.read .sheet__row .fix { color: #F2C14E; }
.sheet__verdict {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 200, 83, 0.07);
  border: 1px solid rgba(0, 200, 83, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out) 1.9s, transform 0.6s var(--ease-out) 1.9s;
}
.sheet.read .sheet__verdict { opacity: 1; transform: none; }
.sheet__verdict-label { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.3rem; }
.sheet__verdict-text { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--white); line-height: 1.35; }
.sheet__verdict-text em { font-style: normal; color: rgba(255,255,255,0.55); font-weight: 500; }
.sheet__foot { margin-top: 0.9rem; font-size: 0.72rem; color: rgba(255,255,255,0.35); }

/* Compact hero for inner pages */
.hero--inner .container { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero--inner h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
.hero--inner .hero__content { max-width: 720px; }

/* Page-load: one orchestrated hero entrance */
.hero__content > * { opacity: 0; transform: translateY(14px); animation: heroIn 0.7s var(--ease-out) forwards; }
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.12s; }
.hero__content > *:nth-child(3) { animation-delay: 0.2s; }
.hero__content > *:nth-child(4) { animation-delay: 0.28s; }
.hero__content > *:nth-child(5) { animation-delay: 0.36s; }
.hero__content > *:nth-child(6) { animation-delay: 0.44s; }
.sheet-stage { opacity: 0; transform: translateY(18px); animation: heroIn 0.9s var(--ease-out) 0.35s forwards; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* --- Sections --- */
.section { padding: var(--section-pad) 0; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255, 255, 255, 0.72); }
.section__header { max-width: 720px; margin: 0 auto 3.25rem; text-align: center; }
.section__header h2 { margin-bottom: 1rem; }
.section__header p { margin-left: auto; margin-right: auto; }
.section__header--left { text-align: left; margin-left: 0; }
.section__header--left p { margin-left: 0; }
.section__cta { margin-top: 3rem; text-align: center; }
.section__cta p { margin: 0 auto 1.25rem; }

/* --- Trust strip: typical broker vs APPRVD --- */
.trust {
  padding-top: 0;
  margin-top: calc(-1 * clamp(2rem, 4vw, 3rem));
  position: relative; z-index: 2;
}
.trust__table {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.trust__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-top: 1px solid var(--gray-100);
}
.trust__row:first-child { border-top: none; }
.trust__row > div { padding: 1.15rem 1.5rem; font-size: 0.98rem; line-height: 1.5; }
.trust__row > div:first-child { font-family: var(--font-display); font-weight: 600; color: var(--text); background: var(--gray-50); }
.trust__row > div:nth-child(2) { color: var(--muted); }
.trust__row > div:nth-child(3) { color: var(--text); font-weight: 500; background: rgba(0, 200, 83, 0.035); border-left: 1px solid var(--green-line); }
.trust__row--head > div {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding-top: 0.9rem; padding-bottom: 0.9rem;
  color: var(--muted);
}
.trust__row--head > div:first-child { background: var(--gray-50); color: transparent; }
.trust__row--head > div:nth-child(3) { color: var(--forest); background: var(--green-tint); }

/* --- Situation cards --- */
.situation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.situation-card {
  display: flex; flex-direction: column;
  padding: 2rem; min-height: 300px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-rest);
  transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}
.situation-card:hover, .situation-card:focus-within { border-color: var(--green-line); box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.situation-card__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--green-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.situation-card__icon svg { width: 22px; height: 22px; color: var(--forest); }
.situation-card h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.situation-card p { font-size: 0.98rem; flex: 1; }
.situation-card .text-link { margin-top: 1.5rem; align-self: flex-start; }

/* --- Why APPRVD + verdict panel (overlapping, raised) --- */
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.why-grid h2 { margin-bottom: 0.25rem; }
.why-grid h2 + h2 { color: var(--forest); margin-bottom: 1.5rem; }
.why-grid .lead { margin-bottom: 1.25rem; }
.factor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem 1.5rem; margin: 1.25rem 0 1.5rem; }
.factor-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.98rem; color: var(--gray-700); }
.factor-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); flex-shrink: 0; }

.verdict {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  box-shadow: var(--shadow-raised-dark), var(--edge-light);
  margin-top: calc(-1 * clamp(3rem, 6vw, 5rem)); /* rises above the section edge */
}
.verdict__line {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.5);
}
.verdict__line strong { color: var(--white); font-weight: 700; }
.verdict__line strong.green { color: var(--green); }
.verdict__line + .verdict__line { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); }
.verdict p { margin-top: 1.75rem; color: rgba(255, 255, 255, 0.7); font-size: 1rem; }
.verdict .btn { margin-top: 1.5rem; }

/* --- Promise block: what you'll know before you sign --- */
.promise {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.promise__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.promise__item {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-rest);
}
.promise__item h4 { font-size: 1rem; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.5rem; }
.promise__item h4 svg { width: 18px; height: 18px; color: var(--forest); flex-shrink: 0; }
.promise__item p { font-size: 0.9rem; line-height: 1.5; }

/* --- Option cards --- */
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.option-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-rest); }
.option-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.option-card > p { font-size: 0.95rem; margin-bottom: 1.25rem; }
.option-card dl { display: grid; gap: 0.75rem; border-top: 1px solid var(--gray-100); padding-top: 1rem; }
.option-card dt { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.15rem; }
.option-card dd { font-size: 0.92rem; color: var(--gray-700); line-height: 1.5; }
.not-sure { margin-top: 3.5rem; text-align: center; }
.not-sure__lines { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.03em; color: var(--text); margin-bottom: 1.75rem; }
.not-sure__lines span { display: block; }
.not-sure__lines .good { color: var(--forest); }

/* Detailed vertical steps (How It Works page) */
.step-detail { display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem; padding: 2.5rem 0; border-top: 1px solid var(--gray-100); }
.step-detail:last-of-type { border-bottom: 1px solid var(--gray-100); }
.step-detail__num { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--black); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.step-detail h3 { margin-bottom: 0.75rem; }
.step-detail p { margin-bottom: 0.5rem; }
.step-detail .btn { margin-top: 1.25rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; }
.mini-list h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.6rem; }
.mini-list h4.warn { color: var(--gray-500); }
.mini-list li { font-size: 0.95rem; color: var(--gray-700); padding: 0.3rem 0; display: flex; gap: 0.5rem; align-items: flex-start; }
.mini-list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; }
.mini-list li .ok { color: var(--forest); }
.mini-list li .no { color: var(--gray-300); }
.howto { background: var(--gray-50); border-radius: var(--radius-md); padding: 1.5rem 1.75rem; margin-top: 1.5rem; }
.howto h4 { margin-bottom: 0.75rem; }
.howto ol { counter-reset: howto; display: grid; gap: 0.5rem; }
.howto li { counter-increment: howto; font-size: 0.95rem; color: var(--gray-700); padding-left: 2rem; position: relative; }
.howto li::before { content: counter(howto); position: absolute; left: 0; top: 0; font-family: var(--font-display); font-weight: 700; color: var(--forest); }

/* --- Checklists --- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; }
.check-grid li, .checklist li { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; color: var(--gray-700); padding: 0.35rem 0; }
.check-grid li svg, .checklist li svg { width: 20px; height: 20px; color: var(--forest); flex-shrink: 0; }
.section--dark .check-grid li, .section--dark .checklist li { color: rgba(255,255,255,0.85); }
.section--dark .check-grid li svg, .section--dark .checklist li svg { color: var(--green); }

/* --- FAQ --- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease; box-shadow: var(--shadow-rest); }
.faq-item.active { border-color: var(--green-line); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; text-align: left; color: var(--text); min-height: 60px; }
.faq-item__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--gray-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s var(--ease-out), background 0.25s; }
.faq-item.active .faq-item__icon { transform: rotate(180deg); background: var(--green-tint); }
.faq-item__icon svg { width: 14px; height: 14px; color: var(--gray-500); }
.faq-item.active .faq-item__icon svg { color: var(--forest); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item__answer-inner { padding: 0 1.35rem 1.35rem; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.faq-item__answer-inner p { max-width: none; }
.faq-item__answer-inner p + p { margin-top: 0.6rem; }
.faq-group { margin-bottom: 3rem; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group__title { max-width: 820px; margin: 0 auto 1rem; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }

/* --- Comparison table (funding) --- */
.compare { border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-rest); }
.compare__row { display: grid; grid-template-columns: 1.15fr 1.3fr 1.1fr 1.1fr; gap: 1.5rem; padding: 1.35rem 1.75rem; border-top: 1px solid var(--gray-100); align-items: start; }
.compare__row:first-child { border-top: none; }
.compare__row--head { background: var(--gray-50); font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); padding-top: 0.9rem; padding-bottom: 0.9rem; }
.compare__row:not(.compare__row--head):hover { background: rgba(0, 200, 83, 0.03); }
.compare__type { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
.compare__type small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }
.compare__cell { font-size: 0.95rem; color: var(--gray-700); line-height: 1.5; }
.compare__cell[data-label]::before { display: none; }

/* --- Industry cards --- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.industry-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: var(--shadow-rest); }
.industry-card h3 { font-size: 1.15rem; }
.industry-card__label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.4rem; }
.industry-card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.industry-card .tags li { font-size: 0.85rem; color: var(--gray-700); background: var(--gray-50); padding: 0.25rem 0.65rem; border-radius: 100px; }
.industry-card .options li { font-size: 0.95rem; color: var(--gray-700); padding: 0.25rem 0; display: flex; gap: 0.5rem; align-items: center; }
.industry-card .options li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--forest); flex-shrink: 0; }
.industry-card .muted { font-size: 0.88rem; color: var(--muted); }

/* --- Statement (credit repair) --- */
.statement { text-align: center; max-width: 780px; margin: 0 auto; }
.statement__small { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.statement h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 1.25rem; }
.statement p { margin: 0 auto 1rem; }
.statement .btn { margin-top: 1.25rem; }
.cannot-list { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.cannot-list li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 1.05rem; color: var(--gray-700); }
.cannot-list li svg { width: 22px; height: 22px; color: var(--gray-300); flex-shrink: 0; margin-top: 2px; }

/* --- CTA band --- */
.cta-band { background: var(--black); color: var(--white); padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); margin: 0 auto 1rem; max-width: 680px; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 0 auto 1.75rem; }

/* --- Landing page (/check-options) --- */
.landing { --header-h: 0px; }
.landing-header { padding: 1.25rem 0; border-bottom: 1px solid var(--gray-100); }
.landing-header .container { display: flex; align-items: center; justify-content: space-between; }
.landing-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.landing-hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); margin-bottom: 1rem; }
.landing-hero .lead { margin-bottom: 1.75rem; }
.landing-hero .checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.2rem 1.5rem; margin-bottom: 2rem; max-width: 560px; }
.landing-hero .checklist li { font-size: 0.98rem; }
.landing-hero .fine-print { margin-top: 1rem; }
.landing-hero .fine-print span { display: inline-block; margin-right: 1rem; }

/* Stepped qualifier */
.qualifier { background: var(--gray-50); padding: clamp(3rem, 6vw, 5rem) 0; }
.qualifier__box {
  max-width: 720px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-raised);
}
.qualifier__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.qualifier__box h2 { font-size: 1.6rem; }
.qualifier__count { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.qualifier__bar { height: 3px; background: var(--gray-100); border-radius: 3px; margin: 1rem 0 1.75rem; overflow: hidden; }
.qualifier__bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width 0.4s var(--ease-out); }
.q-step { display: none; }
.q-step.current { display: block; }
.q-group__label { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 1rem; }
.q-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.q-option {
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  color: var(--gray-700); background: var(--white);
  text-align: left;
  min-height: 52px;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.q-option:hover { border-color: var(--gray-900); }
.q-option[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); color: var(--text); font-weight: 600; }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; gap: 1rem; }
.q-back { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--muted); padding: 0.5rem 0; }
.q-back:hover { color: var(--text); }
.q-back[hidden] { visibility: hidden; display: inline-block; }
.q-skip { font-size: 0.85rem; color: var(--muted); }
.q-skip a { color: var(--forest); font-weight: 600; }

.q-result { display: none; }
.q-result.current { display: block; }
.q-result__read {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--black);
  color: var(--white);
  margin-bottom: 1.5rem;
  box-shadow: var(--edge-light);
}
.q-result__label { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.q-result__text { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--white); }
.q-result__text + .q-result__text { margin-top: 0.5rem; }
.q-result__note { margin-top: 0.75rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.q-result__summary { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.q-result__summary li { font-size: 0.85rem; color: var(--gray-700); background: var(--gray-50); border: 1px solid var(--gray-100); padding: 0.3rem 0.7rem; border-radius: 100px; }
.q-result__summary li b { font-weight: 600; color: var(--text); }
.qualifier__hint { margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted); text-align: center; }

.landing-why { padding: clamp(3rem, 6vw, 5rem) 0; }

/* --- Disclosures --- */
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { max-width: 70ch; }

/* --- Footer --- */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.6); padding: 4.5rem 0 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer__brand p { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-top: 1.25rem; max-width: 34ch; }
.footer__brand .btn { margin-top: 1.5rem; }
.footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__links { display: flex; flex-direction: column; }
.footer__links a { padding: 0.3rem 0; font-size: 0.95rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer__links a:hover { color: var(--green); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer__social a:hover { background: var(--green); }
.footer__social svg { width: 17px; height: 17px; color: rgba(255,255,255,0.75); }
.footer__social a:hover svg { color: var(--black); }
.footer__legal { padding: 2rem 0; font-size: 0.8rem; line-height: 1.6; color: rgba(255,255,255,0.45); }
.footer__legal p { max-width: none; color: inherit; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* --- Mobile sticky CTA --- */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--gray-100); box-shadow: 0 -10px 30px -12px rgba(0,0,0,0.15); }
.mobile-cta .btn { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__content > *, .sheet-stage { animation: none; opacity: 1; transform: none; }
  .sheet { transition: none; transform: none !important; }
  .sheet__row, .sheet__verdict { transition: none; }
  .hero__ground { transform: none !important; }
  .qualifier__bar span { transition: none; }
  .process__fill, .process__node, .process__step h4, .process__step p { transition: none; }
  .btn:hover, .situation-card:hover { transform: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; position: fixed; top: 0; right: 0; width: min(340px, 88vw); height: 100dvh; background: var(--white); padding: 5.5rem 1.75rem 2rem; box-shadow: -10px 0 40px rgba(0,0,0,0.12); z-index: 999; overflow-y: auto; gap: 0; animation: slideIn 0.3s var(--ease-out); }
  @keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
  .nav.open .nav__link { padding: 0.9rem 0; font-size: 1.1rem; color: var(--text); border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .nav.open .nav__cta { margin: 1.25rem 0 0; }
  .menu-toggle { display: flex; }
  .header.header--top .nav.open .nav__link { color: var(--text); }
  .menu-toggle.active span { background: var(--gray-900) !important; }

  .hero__grid { grid-template-columns: 1fr; }
  .sheet-stage { max-width: 560px; }
  .situation-grid, .option-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .promise { grid-template-columns: 1fr; }
  .verdict { position: static; margin-top: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .trust__row { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .situation-grid, .option-grid, .industry-grid { grid-template-columns: 1fr; }
  .situation-card { min-height: 0; }
  .factor-list, .check-grid, .two-col, .landing-hero .checklist, .promise__list, .q-options { grid-template-columns: 1fr; }
  .hero__actions { align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
  .sheet { padding: 1.35rem 1.25rem 1.25rem; }
  .sheet-stage::before { inset: 16px -8px -8px 16px; }
  .compare__row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem; }
  .compare__row--head { display: none; }
  .compare__cell[data-label]::before { display: block; content: attr(data-label); font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.1rem; }
  .compare__type { margin-bottom: 0.35rem; }
  .step-detail { grid-template-columns: 1fr; gap: 1rem; }
  .step-detail__num { width: 44px; height: 44px; font-size: 1.05rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .mobile-cta { display: block; }
  .footer__bottom { padding-bottom: calc(1.25rem + 84px); }
  .verdict__line + .verdict__line { margin-top: 1rem; padding-top: 1rem; }
  .trust { margin-top: 0; padding-top: var(--section-pad); }
  .trust__row { grid-template-columns: 1fr; }
  .trust__row--head { display: none; }
  .trust__row > div { padding: 0.8rem 1.25rem; }
  .trust__row > div:first-child { padding-top: 1rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--white); padding-bottom: 0.2rem; }
  .trust__row > div:nth-child(2)::before { content: 'Typical broker: '; color: var(--gray-300); font-weight: 600; }
  .trust__row > div:nth-child(3) { border-left: none; }
  .trust__row > div:nth-child(3)::before { content: 'APPRVD: '; color: var(--forest); font-weight: 700; }
  .qualifier__top { flex-direction: column; gap: 0.25rem; }
}

/* ============================================
   Process: scroll-driven review timeline
   Desktop: section pins, scrolling drives the line.
   Mobile: vertical rail, trigger line at 55% of the viewport.
   States per step: idle -> current (ring) -> reached (green check)
   ============================================ */
.process-runway { position: relative; }
.process-pin { position: relative; }
.process { position: relative; padding-top: 1.5rem; }
.process__track {
  position: absolute;
  top: calc(1.5rem + 24px);
  left: 10%; right: 10%;
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  transform: translateY(-50%);
}
.process--3 .process__track { left: 16.66%; right: 16.66%; }
.process__fill {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0;
  background: var(--green);
  transition: width 0.12s linear;
}
.process__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; position: relative; z-index: 1; }
.process--3 .process__grid { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
.process__step { text-align: center; padding: 0 0.75rem; }
.process__node {
  position: relative;
  width: 48px; height: 48px;
  margin: 0 auto 1.35rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--gray-500);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.process__node span { transition: opacity 0.2s ease; }
.process__check {
  position: absolute;
  width: 22px; height: 22px;
  color: var(--black);
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
/* current: white node, green ring, lifted */
.process__step.current .process__node {
  border-color: var(--green);
  color: var(--forest);
  box-shadow: 0 0 0 8px rgba(0, 200, 83, 0.12), 0 12px 28px -10px rgba(0, 200, 83, 0.45);
  transform: scale(1.12);
}
/* reached: solid green with a check */
.process__step.reached .process__node {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
  box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.14);
  transform: scale(1);
}
.process__step.reached .process__node span { opacity: 0; }
.process__step.reached .process__check { opacity: 1; transform: scale(1); }
.process__step.reached .process__node::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  animation: reachRing 0.9s var(--ease-out) forwards;   /* once, not forever */
}
@keyframes reachRing { 0% { opacity: 0.6; transform: scale(0.85); } 100% { opacity: 0; transform: scale(1.35); } }

.process__step h4 {
  margin-bottom: 0.5rem;
  color: var(--gray-300);
  transform: translateY(10px);
  transition: color 0.4s ease, transform 0.5s var(--ease-out);
}
.process__step p {
  font-size: 0.92rem;
  margin: 0 auto;
  opacity: 0.45;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out) 0.05s, transform 0.5s var(--ease-out) 0.05s;
}
.process__step.current h4 { color: var(--text); transform: none; }
.process__step.reached h4 { color: var(--forest); transform: none; }
.process__step.current p, .process__step.reached p { opacity: 1; transform: none; }

/* Desktop pin: the section holds while the runway scrolls beneath it */
@media (min-width: 1025px) {
  .process-runway { height: calc(100vh + var(--steps, 5) * 36vh); }
  .process-pin {
    position: sticky;
    top: var(--header-h);
    min-height: calc(100vh - var(--header-h));
    display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(2.5rem, 4vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  }
  .process-pin .section__header { margin-bottom: 2.25rem; }
}

/* Mobile: vertical rail on the left */
@media (max-width: 1024px) {
  .process { padding-top: 0; }
  .process__grid, .process--3 .process__grid { grid-template-columns: 1fr; gap: 0; padding-left: 4.25rem; max-width: none; }
  .process__track, .process--3 .process__track {
    left: 24px; right: auto;
    width: 2px; height: auto;
    top: 0; bottom: 0;             /* JS sets exact top/height between node centers */
    transform: translateX(-50%);
  }
  .process__fill { width: 100% !important; height: 0; transition: height 0.08s linear; }
  .process__step { text-align: left; position: relative; padding: 1.35rem 0 1.35rem 0.5rem; min-height: 48px; }
  .process__node { position: absolute; left: -4.25rem; top: 1.35rem; margin: 0; }
  .process__step h4 { transform: translateX(8px); }
  .process__step p { transform: translateX(8px); }
  .process__step.current h4, .process__step.reached h4, .process__step.current p, .process__step.reached p { transform: none; }
}
