/* Review River — hand-written CSS.
   Palette, type and layout measured off the live GHL page (headless-Chrome render,
   2026-08-02) so the port reads as the same site, not a redesign:
     #EF742A  orange   — every button, every stat, every eyebrow pill.
                         Sampled from the 5000px logo files so the site, the
                         directory and the print collateral all use one orange.
     #162840  navy     — the statistics block
     #fafafa  alt bg   — About and Testimonials
     #fef8f4  pill bg  — the warm tint the hero fades into
     #604bea  violet   — the outline on the "Get Started for Free Today!" box
   The blue in the first port was invented. It is gone. */

:root {
  --orange: #EF742A;         /* THE logo orange, sampled from the 5000px logo
                                files. Was #f0752b (measured off a GHL render);
                                the difference is 1-2 per channel, so nothing
                                shifts visually — it just matches the mark and
                                the directory exactly now.
                                Contrast is solved with dark text on it, never
                                by darkening it: white on this is 2.92:1,
                                --ink on it is 5.32:1. */
  --orange-dark: #d9601a;    /* hover state for orange fills */
  --orange-numeral: #ee6f22; /* the big orange numerals (steps and stats) only.
                                They sit on white, where the logo orange is
                                2.92:1 and the large-text bar is 3:1 — it misses
                                by 0.08. This is the smallest nudge that clears
                                it (3.03:1) and is visually indistinguishable.
                                Everything else keeps --orange exactly. */
  --violet: #604bea;
  --navy: #162840;
  --ink: #242424;
  --muted: #64646e;
  --line: #ececef;
  --bg-alt: #fafafa;
  --pill-bg: #fef8f4;
  --blue-link: #188bf6;
  --wrap: 1170px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-link); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 800px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ----------
   A floating rounded card inset from the top, not a full-bleed bar. */

.site-header { padding: 15px 0 0; background: #fff; }
.site-header .wrap { padding: 0; }
.header-card {
  display: flex; align-items: center; gap: 24px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 6px 28px rgba(20, 26, 48, .07);
  padding: 29px 36px;
}
.logo { margin-right: auto; display: flex; align-items: center; }
.logo img { height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.main-nav a:hover { color: var(--orange); }

.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: .94rem; padding: 8px 26px;
  transition: background .12s ease, transform .12s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-accent { background: var(--orange); color: var(--ink); }
.btn-primary:hover, .btn-accent:hover { background: var(--orange-dark); color: var(--ink); }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .88rem; }

/* ---------- shared section furniture ---------- */

.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-sub { color: var(--muted); font-size: 1rem; }

/* The eyebrow is a rounded orange-on-cream chip, not bare uppercase text. */
.pill {
  display: inline-block; margin: 0 0 6px;
  background: var(--pill-bg); border: 1px solid #f8e2d3; border-radius: 999px;
  color: var(--ink); font-size: .96rem; font-weight: 600;
  line-height: 1; padding: 9px 18px;
}
.hero .pill {
  text-transform: uppercase; letter-spacing: .06em;
  font-size: .92rem; padding: 7px 18px; margin-bottom: 16px;
}

/* Sections the original centres. Left-aligned is the default, because Three Steps
   and the FAQ are left-aligned on the original and centring them was a port bug. */
.center-block { text-align: center; }
.center-block .section-title { max-width: 1138px; margin-left: auto; margin-right: auto; }
.center-block .section-sub { max-width: 1138px; margin-left: auto; margin-right: auto; }
.center-block .card, .center-block .stat { text-align: left; }

.section-title { font-size: clamp(1.6rem, 3vw, 2.34rem); margin-bottom: .45em; }
.section .section-sub + p { margin-top: 1.6em; }

.grid { display: grid; gap: 27px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.section-sub + .grid, .section-title + .grid, p + .grid { margin-top: 30px; }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, #fff 0%, #fffdfc 42%, var(--pill-bg) 100%);
  padding: 101px 0 126px;
  text-align: center;
}
.hero-inner { display: block; }
.hero-inner > p { margin: 0 auto; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.65rem); max-width: 1080px; margin: 0 auto 26px; }
.hero .lede {
  font-size: 1.75rem; color: var(--muted); max-width: 960px;
  margin: 0 auto 55px; line-height: 1.286;
}

.brand-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap; margin: 87px 0 0;
}
/* 163px is the width the originals render at — they are 500x250 files with the
   mark inset, so sizing by height undershoots by nearly half. */
.brand-strip img { width: 163px; height: auto; }

.hero-media {
  display: block; position: relative; max-width: 1030px; margin: 157px auto 0;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 18px 54px rgba(20, 26, 48, .14);
  width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000;
}
.hero-media + p { margin-top: 56px; }

/* ---------- cards ---------- */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { font-size: 1.15rem; margin-bottom: .55em; }
.card p { color: var(--muted); margin: 0; font-size: .92rem; }
.card-icon { fill: var(--orange); width: 36px; height: 36px; margin-bottom: 16px; }

.benefits { display: grid; gap: 96px; }
.benefit { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
/* Rows alternate: copy left / art right, then art left / copy right. */
.benefit:nth-child(odd) .benefit-copy { order: -1; }
.benefit img { width: 100%; }
.benefit h3 { font-size: clamp(1.7rem, 2.9vw, 2.4rem); font-weight: 700; margin-bottom: .4em; }
.benefit p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.5em; }

.steps .step-n {
  display: block; font-size: 1.6rem; font-weight: 800;
  color: var(--orange-numeral); line-height: 1; margin-bottom: .55em;
}

/* ---------- statistics ---------- */

.stats-section { background: var(--navy); }
.stats-section .section-title { color: #fff; }
.stats { max-width: 1140px; margin-left: auto; margin-right: auto; }
.stat {
  background: #fff; border-radius: var(--radius); padding: 40px 26px;
}
.stat-n { display: block; font-size: 1.8rem; font-weight: 800; color: var(--orange-numeral); line-height: 1.2; }
.stat p { color: var(--muted); font-size: 1rem; margin: .35em 0 0; }

.cta-box {
  margin: 88px -16px 0; padding: 50px 44px;
  border: 1px solid var(--violet); border-radius: var(--radius);
  text-align: left;
}
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.35rem); margin-bottom: .4em; }
.cta-box p { color: rgba(255, 255, 255, .88); font-size: .98rem; margin-bottom: 1.8em; }

.quote {
  margin: 0; padding: 30px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.quote cite { font-style: normal; font-weight: 600; color: var(--ink); }

/* ---------- faq ---------- */

.faq { margin-top: 34px; }
.faq details {
  background: #f7f7f8; border-radius: 8px; padding: 15px 24px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; font-size: .98rem; font-weight: 700; }
.faq summary::after {
  content: ""; float: right; margin-top: 9px;
  border: 5px solid transparent; border-top: 6px solid #555; border-bottom: 0;
}
.faq details[open] summary::after { border-top: 0; border-bottom: 6px solid #555; margin-top: 8px; }
.faq details p { color: var(--muted); margin: 1em 0 0; font-size: .95rem; }
.faq + .center { margin-top: 44px; }

/* ---------- blog ---------- */

.post-grid { gap: 34px 28px; }
.post-card a { text-decoration: none; color: inherit; }
.post-card img, .post-card-noimg {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 14px; display: block;
}
.post-card-noimg { background: linear-gradient(135deg, #fdece1, #f9dcc9); }
.post-card h2 { font-size: 1.13rem; margin-bottom: .3em; }
.post-card a:hover h2 { color: var(--orange); }
.post-card-meta { color: var(--muted); font-size: .85rem; margin: 0 0 .5em; }
.post-card > p { color: var(--muted); font-size: .95rem; }

.post-meta { color: var(--muted); font-size: .9rem; }
.post-meta a { text-decoration: none; }
.post-hero { border-radius: var(--radius); margin: 1.6em 0; width: 100%; }

.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.9em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

.legal { font-size: .98rem; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }

.post-cta {
  margin: 3em 0 2em; padding: 34px 30px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); text-align: center;
}
.post-cta h2 { font-size: 1.4rem; }
.post-cta p { color: var(--muted); }

.linkbox { border-top: 1px solid var(--line); padding-top: 1.6em; }
.linkbox h2 { font-size: 1.1rem; }
.linkbox ul { padding-left: 1.1em; }
.linkbox li { margin-bottom: .45em; }

/* ---------- contact / embeds ---------- */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-lines { font-size: 1.15rem; font-weight: 600; }
.contact-lines a { text-decoration: none; }
.embed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lede { font-size: 1.1rem; color: var(--muted); }

/* ---------- footer ---------- */

.site-footer { background: #000; color: rgba(255, 255, 255, .72); padding: 62px 0 0; }
.site-footer .wrap { max-width: 1300px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { width: 175px; height: 175px; margin-bottom: 18px; }
.footer-heading { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .9em; }
.footer-col a { display: block; color: rgba(255, 255, 255, .72); text-decoration: none; margin-bottom: .55em; font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: inline; }
.copyright {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; padding-bottom: 24px;
  font-size: .85rem; color: rgba(255, 255, 255, .55);
}
.copyright .social { color: rgba(255, 255, 255, .75); display: flex; }
.copyright .social:hover { color: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .benefit, .contact-grid { grid-template-columns: 1fr; }
  .benefit:nth-child(odd) .benefit-copy { order: 0; }
  .benefit { gap: 28px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .brand-strip { gap: 26px; margin-top: 48px; }
  .brand-strip img { width: 110px; height: 34px; }
  .hero-media { margin-top: 48px; }
  .benefits { gap: 56px; }
  .cta-box { margin-left: 0; margin-right: 0; padding: 32px 26px; }

  .header-card { padding: 14px 20px; position: relative; }
  .nav-toggle-label {
    display: block; width: 26px; height: 20px; position: relative; cursor: pointer;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block; position: absolute; height: 2px; width: 26px;
    background: var(--ink); border-radius: 2px; content: "";
  }
  .nav-toggle-label span { top: 9px; }
  .nav-toggle-label span::before { top: -8px; }
  .nav-toggle-label span::after { top: 8px; }

  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 10px 24px rgba(20, 26, 48, .1);
    padding: 8px 24px 18px; z-index: 20;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: 12px 0; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .post-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-strip img { width: 92px; height: 30px; }
}

/* ---------- exit-intent modal (rendered only when site.popup_enabled) ---------- */

.exit-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(20, 26, 48, .58);
}
.exit-modal[hidden] { display: none; }
.exit-panel {
  position: relative; width: 100%; max-width: 560px;
  max-height: 92vh; overflow: auto;
  background: #fff; border-radius: 15px; box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}
.exit-close {
  position: absolute; top: 8px; right: 10px; z-index: 1;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.exit-close:hover { background: #fff; }
