/* All-in-One Marketing Review — editorial dossier aesthetic,
   toned toward HighLevel's own brand blue ("Space Blue", #1F4277)
   while staying independently branded via serif type + paper background. */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #1C2333;
  --ink-soft: #4A5164;
  --ink-faint: #7B8299;
  --paper: #F5F7FA;
  --paper-raised: #FFFFFF;
  --brand: #1F4277;      /* HighLevel's "Space Blue" family — the merchant cue */
  --brand-dark: #15304F;
  --good: #2E7D5B;
  --bad: #A8412C;
  --rule: #DDE1E8;
  --rule-strong: #C5CBD6;
  --max: 700px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

a { color: var(--brand); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

h1, h2, h3 {
  font-family: 'Spectral', Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.2rem; font-weight: 500; }
h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: 0.9em; border-top: 1px solid var(--rule); }
h3 { font-size: 1.15rem; margin-top: 1.6em; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

strong { color: var(--ink); font-weight: 600; }

/* Site chrome */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-raised);
}
.site-header-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}
.wordmark {
  font-family: 'Spectral', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--brand-dark); }
.site-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 500; }

main { max-width: var(--max); margin: 0 auto; padding: 2.6rem 1.5rem 4rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--ink-faint); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.breadcrumb a:hover { color: var(--brand); }

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.6em 0.8em;
  border-bottom: 1px solid var(--rule);
}
th {
  font-family: 'Spectral', serif;
  font-weight: 600;
  color: var(--brand-dark);
  border-bottom: 2px solid var(--brand);
}
tr:first-child th { padding-top: 0; }

/* CTA */
.cta-block {
  margin: 2.4em 0;
  padding: 1.4em 1.6em;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand);
}
.cta-block p { margin-bottom: 0.9em; }
.cta-block p:last-child { margin-bottom: 0; }
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  padding: 0.65em 1.3em;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
}
.btn:hover { background: var(--brand-dark); }

hr.divider, main hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  background: var(--paper-raised);
}
.site-footer-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 2.4rem;
  color: var(--ink-faint);
  font-size: 0.85rem;
}
.site-footer a { color: var(--ink-faint); }
.footer-links { margin-top: 0.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }

/* Homepage */
.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 1rem;
}
.hero h1 { font-size: 2.6rem; max-width: 15ch; }
.hero .lede { max-width: 55ch; }
.disclosure {
  font-size: 0.82rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--rule);
  padding-top: 0.9rem;
  margin-top: 1.6rem;
  max-width: 55ch;
}

.index {
  max-width: 920px;
  margin: 2rem auto 0;
  padding: 0 1.5rem 4rem;
}
.index-group { margin-bottom: 2.4rem; }
.index-group h2 {
  font-size: 1rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  color: var(--ink-faint);
  border-top: none;
  margin-top: 0;
  padding-top: 0;
  letter-spacing: 0.01em;
}
.index-list { list-style: none; margin: 0; padding: 0; }
.index-list li {
  border-bottom: 1px solid var(--rule);
  padding: 0.85em 0;
  margin: 0;
}
.index-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Spectral', serif;
  font-size: 1.08rem;
}
.index-list a:hover { color: var(--brand); }
.index-list .desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-weight: 400;
  margin-top: 0.2em;
}
.index-list a .arrow { color: var(--ink-faint); font-family: 'IBM Plex Sans', sans-serif; flex-shrink: 0; }

.featured {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand);
  padding: 1.8rem;
  margin: 1.6rem 0 0;
}
.featured .eyebrow {
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 0.5em;
}
.featured h2 {
  border: none;
  margin: 0 0 0.4em;
  padding: 0;
  font-size: 1.6rem;
}
.featured p { color: var(--ink-soft); }

@media (max-width: 560px) {
  h1 { font-size: 1.8rem; }
  .hero h1 { font-size: 2.1rem; }
  main { padding: 2rem 1.2rem 3rem; }
}
