/* AgentREboost — marketing site
   Brand system carried from the one-pager (build_newco_v1.py), unchanged.
   Rebrand = edit the three colour custom properties below. */

:root {
  --navy:        #16263F;
  --orange:      #B05A1E;
  --orange-ink:  #9E4B1A;
  --tan:         #EAE4D9;

  --navy-deep:   #101c30;
  --navy-soft:   #27395C;
  --ink:         #1d2430;
  --muted:       #59636F;
  --rule:        #d5cec0;
  --white:       #ffffff;
  --paper:       #fbfaf8;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 24px;
  --radius: 10px;
  --shadow: 0 2px 4px rgba(22,38,63,.06), 0 12px 32px rgba(22,38,63,.08);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-color: rgba(22,38,63,.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.16; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.tight { padding: clamp(1.6rem, 2.6vw, 2.2rem) 0; }
.band-tan   { background: var(--tan); }
.band-paper { background: var(--paper); }
.band-navy  { background: var(--navy); color: rgba(255,255,255,.88); }
.band-navy h1, .band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy a { color: var(--white); }

.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--orange-ink);
  margin: 0 0 .75rem;
}
.band-navy .eyebrow { color: #E9A469; }
.lede { font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.band-navy .lede { color: rgba(255,255,255,.82); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- logotype ---------- */
.logo {
  font-family: var(--serif); font-size: 1.42rem; font-weight: 700;
  color: var(--navy); text-decoration: none; white-space: nowrap; line-height: 1;
}
.logo .re { color: var(--orange); font-style: italic; }
.logo img { display: block; height: 26px; width: auto; }
.band-navy .logo, .site-footer .logo { color: var(--white); }

/* ---------- header / nav ----------
   Sized to absorb 4-5 more links without redesign: the link row is its own
   flex track that wraps, and the burger takes over at 1040px. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; position: relative; }
.nav__links { display: flex; align-items: center; gap: 1.45rem; margin-left: auto; flex-wrap: wrap; }
/* Direct children only: the CTA is wrapped in .nav__cta, so this rule must not
   reach it -- at (0,1,1) it outranks .btn and .btn--primary and was overriding
   the button color, weight, size and padding. */
.nav__links > a {
  font-size: .95rem; font-weight: 500; color: var(--navy); text-decoration: none;
  padding: .35rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav__links > a:hover { border-bottom-color: var(--orange); }
.nav__links > a[aria-current="page"] { border-bottom-color: var(--navy); }
.nav__cta { margin-left: .35rem; }
.nav__toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--rule);
  border-radius: 8px; padding: .5rem .7rem; cursor: pointer; color: var(--navy);
  font-size: 1.1rem; line-height: 1;
}

@media (max-width: 1040px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gutter) 1.1rem; box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
  .nav__links > a:hover { border-bottom-color: var(--rule); }
  .nav__cta { margin: .9rem 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .98rem; font-weight: 600;
  padding: .82rem 1.6rem; border-radius: 8px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: #9A4E19; color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.band-navy .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.band-navy .btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.6rem; }
.center .btn-row { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(1.8rem, 3vw, 2.4rem); }
/* about/agents/brokers: the hero is followed by a plain white section, so hero
   bottom padding and section top padding stack into ~150px of void with no
   band edge to justify it. Bands and .tight sections keep their full space. */
.hero + section:not([class]) { padding-top: clamp(.4rem, 1vw, .8rem); }
/* a heros last element must not add its own trailing margin on top of the heros
   bottom padding - on about that stacked the ledes 22.5px into the same void. */
.hero .wrap > :last-child { margin-bottom: 0; }
/* about: the hero ends on a text paragraph, so the gap to the following h2 should
   be the same paragraph rhythm as every other h2 on the page (p margin-bottom,
   1.1em = 18.7px) - not a section break. Scoped by :has so heroes ending on a
   button row or photo grid (agents, brokers) keep their breathing room. */
.hero:has(.wrap > .lede:last-child):has(+ section:not([class])) { padding-bottom: 0; }
.hero:has(.wrap > .lede:last-child) + section:not([class]) { padding-top: 1.1em; }
/* pricing, book: same over-spaced hero, but the next block is a card grid rather
   than a heading, so match the pages own text-to-card gap (1.4rem) instead. */
.hero:has(.wrap > .lede:last-child):has(+ section.tight) { padding-bottom: 0; }
.hero:has(.wrap > .lede:last-child) + section.tight { padding-top: 1.4rem; }
/* text column widened from 1.12fr (578px at desktop) so the homepage H1 sets in two
   lines instead of three - 'Every lead answered in 60 seconds. Even mid-showing.' needs
   650px for line two and was splitting 'mid-showing' across lines at every width. */
.hero__grid { display: grid; grid-template-columns: 1.30fr .70fr; gap: clamp(1.6rem, 4vw, 2.5rem); align-items: center; }
.hero__photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
/* home hero only: source is 1584x672 and a centred 4/3 crop cuts the man in half at the left edge. 5/4 + 25% holds all three people. */
.hero__photo--tall img { aspect-ratio: 5/4; object-position: 25% center; }
.hero h1 .accent { color: var(--orange); font-style: italic; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__photo { order: -1; } }

/* ---------- stat bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--white); padding: 1.6rem 1.1rem; text-align: center; }
.stat--hi { background: #F4F7F1; }
.stat__num { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .45rem; }
.stat--hi .stat__num { color: var(--orange); }
.stat__label { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.stat sup { font-size: .62em; }
.footnotes { margin-top: 1.1rem; font-size: .76rem; color: var(--muted); line-height: 1.7; }
.footnotes span { margin-right: 1.4rem; white-space: nowrap; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .footnotes span { display: block; margin: 0 0 .2rem; white-space: normal; } }

/* ---------- generic cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.band-navy .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }

/* ---------- numbered steps ---------- */
.step { position: relative; padding-left: 3.4rem; }
.step__n {
  position: absolute; left: 0; top: .1rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step--orange .step__n { background: var(--orange); }

/* ---------- audience teasers ---------- */
.teaser {
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 2rem 1.9rem; background: var(--white); display: flex; flex-direction: column;
}
.teaser--broker { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.86); }
.teaser--broker h2, .teaser--broker h3 { color: var(--white); }
.teaser ul { padding-left: 1.1em; }
.teaser .btn-row { margin-top: auto; padding-top: 1.2rem; }

/* ---------- pricing ---------- */
.price-card {
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white);
  padding: 2rem 1.8rem; display: flex; flex-direction: column;
}
.price-card--featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.price-card__tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--orange-ink); margin-bottom: .6rem;
}
.price { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price sub { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--muted); vertical-align: baseline; }
.price-note { font-size: .9rem; color: var(--muted); margin: .5rem 0 1.3rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.price-card li { padding-left: 1.6rem; position: relative; font-size: .96rem; }
.price-card li::before { content: "\2192"; position: absolute; left: 0; color: var(--orange-ink); font-weight: 700; }
.price-card .btn-row { margin-top: auto; }
/* The two pricing cards stack early. Each bullet is written to hold ONE line
   (Jeff, 2026-09-27) and the 2-up column stops being wide enough for that
   below ~1035px, so the pair goes single-column at 1100px instead of waiting
   for the generic 640px breakpoint. Holds every bullet on one line to 543px. */
@media (max-width: 1100px) { .grid--price { grid-template-columns: 1fr; } }

/* ---------- math block ---------- */
.math { background: var(--white); border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.7rem 1.8rem; box-shadow: var(--shadow); }
.math table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.math td { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.math td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); white-space: nowrap; }
.math tr:last-child td { border-bottom: 0; font-size: 1.12rem; padding-top: .95rem; }
.math tr:last-child td:last-child { color: var(--orange-ink); }
.assumptions { font-size: .8rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; }

/* ---------- honesty block ---------- */
.limits { border: 1px dashed var(--navy-soft); border-radius: var(--radius); padding: 1.8rem 1.8rem .9rem; background: var(--paper); }
.limits ul { list-style: none; padding: 0; }
.limits li { padding-left: 1.7rem; position: relative; }
.limits li::before { content: "\2715"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--rule); padding: 1.05rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* ---------- placeholder marker (pre-launch only) ---------- */
.placeholder {
  background: #FFF6E8; border: 1px dashed var(--orange); border-radius: 8px;
  padding: 1.1rem 1.3rem; font-size: .9rem; color: #8a5316;
}
.placeholder strong { color: #6d3f0f; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 3.2rem 0 2rem; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__grid h4 { color: var(--white); font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: .5rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .84rem; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- legal pages ---------- */
.legal h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal .updated { color: var(--muted); font-size: .9rem; }
