/* Echelon Advisory Group - site styles
   Plain CSS, no framework. System fonts for fast load. */

:root {
  --navy: #0f2c4c;
  --navy-dark: #0a2038;
  --accent: #2b6cb0;
  --accent-dark: #1f5288;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --text: #1a2430;
  --muted: #55606e;
  --border: #e2e8f0;
  --maxw: 1080px;
  --radius: 8px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 { line-height: 1.25; color: var(--navy); font-weight: 700; }
h1 { font-size: 2rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.5rem; margin: 0 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Accessibility: skip link and focus */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 10px; top: 10px; }
a:focus, button:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Header and navigation */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.brand svg { display: block; flex: none; }
.brand .brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
}
.main-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.main-nav a.active { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--bg-alt); text-decoration: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef2f7; text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #eef2f7;
  padding: 64px 0;
}
.hero h1 { color: #fff; font-size: 2.35rem; max-width: 20ch; }
.hero p { color: #cfd9e5; font-size: 1.15rem; max-width: 60ch; }
.hero .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #9db8d6;
  max-width: 66ch;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9db8d6;
  margin: 0 0 12px;
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { text-align: left; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 62ch; margin-bottom: 28px; }

/* Card grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.section-alt .card { background: #fff; }
.card h3 { color: var(--navy); }
.card p:last-child { margin-bottom: 0; }
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Service detail blocks */
.service-block {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 22px;
  background: #fff;
}
.service-block h3 { font-size: 1.3rem; }
.service-block .deliverable {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}
.service-block .deliverable strong { color: var(--text); }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 6px 0 6px 28px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

/* Callout / note */
.note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--muted);
}
.note strong { color: var(--text); }

/* Prominent notice (used for the no-affiliation disclaimer) */
.notice {
  background: #eef3f9;
  border: 1px solid #c7d6e6;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: var(--text);
  font-size: 0.95rem;
}
.notice strong { color: var(--navy); }

/* Two column */
.cols {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .cols.cols-2 { grid-template-columns: 1.4fr 1fr; }
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfd9e5; max-width: 54ch; margin-left: auto; margin-right: auto; }
.cta-band .actions { margin-top: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact-email {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #b8c4d4;
  padding: 40px 0 28px;
  font-size: 0.9rem;
}
.site-footer a { color: #cfd9e5; }
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 24px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  color: #92a1b5;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 44px 0; }
  h1 { font-size: 1.7rem; }
}
