/* Review River — hand-written CSS.
   Palette lifted from the GHL original so the port reads as the same brand:
   #188bf6 primary blue, #f0752b accent orange, #000321 near-black navy. */

:root {
  --blue: #188bf6;
  --blue-dark: #0b6fd0;
  --orange: #f0752b;
  --navy: #000321;
  --ink: #242424;
  --muted: #64646e;
  --line: #e6e6ec;
  --bg-alt: #fafafa;
  --wrap: 1160px;
  --radius: 14px;
}

* { 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); }

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.2rem); 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 24px; }
.wrap-narrow { max-width: 760px; }
.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 ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { margin-right: auto; display: flex; align-items: center; }
.logo img { height: 38px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--blue); }
.main-nav a.btn { color: #fff; }

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

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

.btn {
  display: inline-block; border-radius: 999px; text-decoration: none;
  font-weight: 600; padding: 13px 30px; transition: transform .12s ease, background .12s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: #d9601a; }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: .9rem; }

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

.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { max-width: 22ch; }
.section-sub { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--blue); margin: 0 0 .9em;
}
.eyebrow a { color: inherit; text-decoration: none; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.hero {
  background: linear-gradient(170deg, #f4f9ff 0%, #fff 62%);
  padding: 76px 0 84px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .lede { font-size: 1.13rem; color: var(--muted); max-width: 54ch; margin-bottom: 1.8em; }
.hero-media img { border-radius: 20px; box-shadow: 0 18px 50px rgba(0,3,33,.13); }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
}
.card-icon { width: 60px; height: 60px; object-fit: contain; margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; }

.benefits { display: grid; gap: 56px; }
.benefit { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.benefit:nth-child(even) .benefit-copy { order: -1; }
.benefit img { border-radius: var(--radius); }
.benefit p { color: var(--muted); }

.steps .step-n {
  display: inline-block; font-size: 2.4rem; font-weight: 800;
  color: var(--blue); line-height: 1; margin-bottom: .3em;
}
.step p { color: var(--muted); margin: 0; }

.stats-section { background: var(--navy); }
.stats-section .section-title, .stats-section .eyebrow { color: #fff; }
.stats-section .eyebrow { color: var(--orange); }
.stat { text-align: center; }
.stat-n { display: block; font-size: 2.9rem; font-weight: 800; color: var(--orange); line-height: 1.1; }
.stat p { color: rgba(255,255,255,.78); font-size: .96rem; margin: .5em 0 0; }

.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(--navy); }

.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, #4aa5ff 100%);
  color: #fff; text-align: center; padding: 78px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 62ch; margin: 0 auto 1.8em; color: rgba(255,255,255,.92); }

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

.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq summary { cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; font-size: 1.06rem; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 1em 0 0; }

/* ---------- 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, #eaf3fe, #dbe9fb); }
.post-card h2 { font-size: 1.13rem; margin-bottom: .3em; }
.post-card a:hover h2 { color: var(--blue); }
.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: var(--navy); color: rgba(255,255,255,.72); padding: 66px 0 0; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-heading { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1em; }
.footer-col a { display: block; color: rgba(255,255,255,.72); text-decoration: none; margin-bottom: .6em; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: inline; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 26px;
  font-size: .85rem; color: rgba(255,255,255,.55);
}

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

@media (max-width: 900px) {
  .hero-inner, .benefit, .contact-grid { grid-template-columns: 1fr; }
  .benefit:nth-child(even) .benefit-copy { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }

  .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(--navy); 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-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav a.btn { text-align: center; margin-top: 8px; }
}

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