/* RU Credit Repair design system.
   Palette is sampled brand truth, not approximations. Do not "tidy" these values. */

:root {
  --navy: #0F2440;
  --navy-deep: #0B1B30;
  --navy-soft: #163053;
  --gold: #C9A227;
  --gold-pale: #F3EAD0;
  --gold-text: #8A6D12;
  --cream: #FAF8F3;
  --cream-lift: #FFFDF8;
  --line: #EDE7DA;
  --body: #5B6577;
  --muted: #8A93A3;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(15, 36, 64, .05);
  --maxw: 1200px;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.18; margin: 0 0 .45em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; color: var(--body); }
a  { color: var(--navy); }
em { color: var(--gold); font-style: italic; }
img, svg, table { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
/* Vertical rhythm is deliberately tight. Earlier values (64px sections, 72px
   hero) left large empty bands on desktop; these keep the page dense enough to
   scan without feeling cramped. */
.section { padding: 44px 0; }
.section-tight { padding: 28px 0; }
.center { text-align: center; }
.lede { font-size: 1.05rem; max-width: 56ch; margin-inline: auto; }

.eyebrow {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-text); margin-bottom: .8rem;
}
.band-navy .eyebrow { color: var(--gold); }

/* --- buttons --- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: .95rem; font-weight: 700;
  padding: 14px 28px; border-radius: 99px; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 3px 10px rgba(201,162,39,.3); }
.btn-navy { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.pill {
  display: inline-block; background: var(--gold-pale); color: var(--gold-text);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 99px;
}

/* --- header --- */
.site-header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.brand span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: .9rem; }
/* :not(.btn) matters. `.site-nav a` (0,1,1) outranks `.btn-navy` (0,1,0), so
   without this the Client Login button inherited --body grey on a navy fill —
   2.7:1 contrast, unreadable. Buttons must keep their own colour. */
.site-nav a:not(.btn) { color: var(--body); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--navy); }
.site-nav .btn { padding: 9px 18px; font-size: .85rem; }
.site-nav .btn-navy { color: #fff; }
.site-nav .btn-navy:hover { background: var(--navy-soft); color: #fff; }
/* 44px min: an audit at 390px found this button at under 40px tall, below the
   comfortable tap-target floor. */
.nav-toggle {
  display: none; background: none; border: 0; font-size: 1.5rem;
  color: var(--navy); cursor: pointer; line-height: 1;
  min-width: 44px; min-height: 44px; padding: 0;
}

/* --- hero (light) --- */
/* The hero holds a short centred headline, so a wide --maxw left it stranded in
   empty cream. Its own narrower measure keeps the text a deliberate column
   rather than a small island in a big field. */
.hero { background: linear-gradient(var(--cream-lift), var(--cream)); padding: 52px 0 40px; text-align: center; }
/* Wide enough that the headline holds one line on desktop; it still wraps
   naturally on narrow screens. */
.hero .wrap { max-width: 1000px; }
.hero h1, .band-navy.center h2 { text-wrap: balance; }
.hero h1 { margin-bottom: .3em; }
.hero .sub { font-size: 1.1rem; max-width: 58ch; margin: 0 auto 24px; }
.hero .fineprint { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* --- cards --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .93rem; margin: 0; }
/* Inline SVG rather than emoji: emoji rendering varies by OS and font stack
   (this server has no emoji font at all), and vector marks take the brand
   colour cleanly. */
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--gold-text); flex-shrink: 0;
}
.icon-tile svg { width: 23px; height: 23px; display: block; }
.promise-check svg { width: 22px; height: 22px; display: block; }

/* --- navy evidence band --- */
.band-navy { background: var(--navy); color: #fff; }
.band-navy p { color: rgba(255,255,255,.82); }
.stat { text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1.1; }
.stat-label { font-size: .93rem; color: rgba(255,255,255,.82); margin-top: 6px; }
.stat-cite { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 6px; }

/* --- numbered steps --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.step-num {
  width: 38px; height: 38px; border-radius: 99px; background: var(--navy); color: var(--gold);
  font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}

/* --- timeline (process transparency) --- */
.timeline { border-left: 2px solid #E6DCC4; padding-left: 26px; max-width: 640px; margin: 0 auto; }
.timeline li { list-style: none; position: relative; margin-bottom: 26px; }
.timeline li::before {
  content: ''; position: absolute; left: -33px; top: 7px;
  width: 12px; height: 12px; border-radius: 99px; background: var(--gold);
}
.timeline h3 { font-family: var(--sans); font-size: .98rem; font-weight: 700; margin-bottom: .25em; }
.timeline p { font-size: .92rem; margin: 0; }

/* --- founder --- */
.founder-section { background: var(--cream-lift); border-block: 1px solid var(--line); }
.founder { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }

.founder-photo { position: sticky; top: 88px; }
.founder-photo img {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(15,36,64,.10);
}
.founder .byline { font-size: .9rem; color: var(--muted); line-height: 1.55; margin-top: 14px; }
.founder .byline strong { display: block; font-family: var(--serif); font-size: 1.15rem;
  font-weight: 400; color: var(--navy); margin-bottom: 2px; }

.founder-body { max-width: 62ch; }
.founder-lede { font-family: var(--serif); font-size: 1.28rem; line-height: 1.5; color: var(--navy); }
.founder-body p { margin-bottom: 1.05rem; }

.affects { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.affects li {
  position: relative; padding-left: 26px; margin-bottom: .7em;
  font-size: .96rem; color: var(--body);
}
.affects li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 99px; background: var(--gold);
}
.affects strong { color: var(--navy); font-weight: 700; }

.founder-pull {
  font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; color: var(--navy);
  border-left: 3px solid var(--gold); padding: 2px 0 2px 20px; margin: 1.5rem 0;
}

/* --- promise --- */
.promise-check { color: #1B7A4B; margin-bottom: 8px; }
.promise-note { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 24px; text-align: center; margin-top: 20px; font-size: .95rem; }
.promise-note em { color: var(--gold); }

/* --- forms --- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--gold-text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--cream-lift); color: var(--navy);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--body); margin: 18px 0; }
.consent input { width: auto; margin-top: 3px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: .92rem; min-height: 1.4em; }
.form-status.err { color: #A32020; }
.form-status.ok { color: #1B7A4B; }

/* --- faq --- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1rem; }
.faq details[open] summary { color: var(--gold-text); margin-bottom: .6em; }

/* --- closing CTA band --- */
/* Same problem as the hero: a short centred block stranded across a 1200px
   measure. Constrain it so the copy reads as one deliberate column. */
.band-navy.center .wrap { max-width: 940px; }

/* --- footer --- */
.site-footer { background: var(--navy); color: #fff; padding: 44px 0 32px; }
/* The CTA band and the footer are both navy, so they read as one block — their
   stacked padding put ~88px of empty navy at the seam. */
.band-navy + .site-footer { padding-top: 4px; }
.band-navy.center + .site-footer .footer-cols { border-top: 1px solid rgba(255,255,255,.1); padding-top: 30px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }

.disclosure {
  background: var(--navy-deep); color: var(--muted);
  padding: 20px 0; font-size: .78rem; line-height: 1.7; text-align: center;
  border-top: 1px solid rgba(255,255,255,.07);
}
.disclosure a { color: var(--gold); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { color: var(--body); }
.prose li { margin-bottom: .35em; }

/* ---------- responsive ----------
   Three tiers, not two. The original jumped 3 columns straight to 1 at 860px,
   which wasted the whole tablet range. */

/* Tablet / small laptop: two columns. */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1.6fr 1fr 1fr; gap: 24px; }
}

/* Nav collapses before the links start to crowd the wordmark. */
@media (max-width: 900px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 18px; border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(15,36,64,.06);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; text-align: center; }
  .nav-toggle { display: block; }
}

/* Phone: single column throughout. */
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .grid-3, .steps, .footer-cols { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 26px; }
  .founder-photo { position: static; max-width: 200px; }
  .founder-lede { font-size: 1.15rem; }
  .founder-pull { font-size: 1.12rem; }
  .hero { padding: 38px 0 30px; }
  .hero .sub { font-size: 1.02rem; }
  .section { padding: 34px 0; }
  .section-tight { padding: 22px 0; }
  .form-card { padding: 22px 18px; }
  .timeline { padding-left: 22px; }
  .timeline li::before { left: -29px; }
  .btn { padding: 13px 24px; }
  /* A full-width primary action is easier to hit with a thumb. */
  .hero .btn, .form-card button[type="submit"] { display: block; width: 100%; }
}
