/* ==========================================================================
   SCP Consulting single-page site
   Colors and fonts are defined once here; tweak the variables to restyle.
   ========================================================================== */

:root {
  --navy: #0d1526;        /* logo dark navy */
  --navy-soft: #16203a;
  --ink: #1b2338;         /* body headings */
  --muted: #5b6478;       /* secondary text */
  --blue: #1e5ef3;        /* logo blue */
  --blue-dark: #1747c8;
  --blue-light: #eaf0ff;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --line: #e5eaf3;
  --radius: 16px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.accent { color: var(--blue); }

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 94, 243, 0.25);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost {
  color: var(--navy);
  border: 1.5px solid var(--line);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-light {
  background: #fff;
  color: var(--blue-dark);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(9, 20, 45, 0.25); }

.btn-sm { padding: 10px 18px; font-size: 14.5px; }

.text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(13, 21, 38, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand { display: flex; align-items: center; }
.brand-logo {
  height: 58px;
  width: auto;
  flex-shrink: 0; /* never let the logo get squeezed on narrow screens */
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.main-nav a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--navy);
  padding: 6px;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(30, 94, 243, 0.09), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
  padding-top: 84px;
  padding-bottom: 92px;
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: 22px;
  font-size: 18.5px;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

/* Sample readout card */

.hero-visual { position: relative; }

.audit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 20px;
  box-shadow: 0 24px 60px rgba(13, 21, 38, 0.12);
}

.audit-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.audit-card-head .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.audit-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 99px;
}

.audit-row {
  display: grid;
  grid-template-columns: 158px 1fr 52px;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.audit-row b {
  color: var(--blue-dark);
  font-size: 14px;
  text-align: right;
}
.bar {
  height: 8px;
  background: var(--blue-light);
  border-radius: 99px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2e6bff, #1747c8);
  border-radius: 99px;
}

.audit-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.audit-total b {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--navy);
}

.float-chip {
  position: absolute;
  bottom: -18px;
  left: -14px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 99px;
  box-shadow: 0 14px 30px rgba(13, 21, 38, 0.3);
}

/* ---------- Stats strip ---------- */

.stats {
  background: var(--navy);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.stat span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }

/* Anchor targets scroll to just below the sticky header */
main [id] { scroll-margin-top: 86px; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
}
.section-head .lead { margin-top: 16px; }

.section-subhead { margin: 72px 0 32px; }
.section-subhead h3 { font-size: 24px; }
.section-subhead p { color: var(--muted); margin-top: 6px; }

/* ---------- Grids & cards ---------- */

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 21, 38, 0.08);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Audit section ---------- */

.audit-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.audit-what,
.why-free {
  border-radius: var(--radius);
  padding: 32px;
}
.audit-what {
  background: #fff;
  border: 1px solid var(--line);
}
.audit-what h3 { font-size: 20px; margin-bottom: 18px; }

.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15.5px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5ef3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.why-free {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}
.why-free h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.why-free p { font-size: 15.5px; margin-bottom: 14px; }
.why-free p:last-child { margin-bottom: 0; }

/* Category cards */

.category-grid { margin-top: 8px; }

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 21, 38, 0.08);
}
.cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--blue);
}
.cat-top svg { width: 26px; height: 26px; }
.pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.cat-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.cat-cta {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cat-cta h4 { color: #fff; }
.cat-cta p { color: rgba(255, 255, 255, 0.92); margin-bottom: 12px; }
.cat-cta .text-link { color: #fff; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step-when {
  position: absolute;
  top: 28px; right: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Dark section ---------- */

.section-dark {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(30, 94, 243, 0.16), transparent 55%),
    var(--navy);
  color: rgba(255, 255, 255, 0.8);
}
.section-dark h2 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, 0.66); }

.dark-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.dark-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.dark-card h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.dark-card p { font-size: 14.5px; color: rgba(255, 255, 255, 0.62); }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, #1e5ef3 0%, #1747c8 60%, #12379d 100%);
  color: #fff;
}
.cta-inner {
  text-align: center;
  padding-top: 92px;
  padding-bottom: 92px;
  max-width: 720px;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 18px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 32px;
}
.cta-alt {
  margin-top: 22px;
  font-size: 15px !important;
  margin-bottom: 0 !important;
}
.cta-alt a { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wordmark {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-wordmark span { color: var(--blue); }
.footer-wordmark small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}
.footer-tag { margin-top: 12px; font-size: 14px; }
.footer-llc { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14.5px;
}
.footer-nav a:hover { color: #fff; }

.footer-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.footer-contact a:hover { text-decoration: underline; }
.footer-contact p { margin-top: 10px; font-size: 13.5px; }

.footer-legal { padding-top: 24px; }
.footer-legal p { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* ---------- Reveal animation ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
  .audit-row { grid-template-columns: 130px 1fr 48px; }
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 76px;
  }
  .hero-visual { max-width: 520px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .audit-split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .nav-toggle { display: block; }
  .header-inner .btn-sm { margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(13, 21, 38, 0.08);
    padding: 6px 24px 10px;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-of-type { border-bottom: 0; }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .brand-logo { height: 46px; }
  .header-inner { height: 66px; gap: 16px; }
  .btn { padding: 13px 20px; font-size: 15px; }
  .btn-sm { padding: 10px 14px; font-size: 13.5px; }
  .float-chip { left: 10px; }
}
