/* =========================================================
   IReveal Solutions LLC — Site Stylesheet
   ========================================================= */

:root {
  --color-navy: #0f2647;
  --color-navy-dark: #0a1a32;
  --color-blue: #2563eb;
  --color-blue-dark: #1d4ed8;
  --color-slate-900: #0f172a;
  --color-slate-700: #334155;
  --color-slate-500: #64748b;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --max-width: 1140px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-slate-700);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: var(--color-slate-900);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

ul { margin: 0 0 1em; padding-left: 1.25em; }

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

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--color-slate-500);
  margin: 0;
}

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

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--color-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.btn-outline-dark:hover {
  background: var(--color-blue);
  color: #fff;
}

.btn-block {
  width: 100%;
  text-align: center;
}

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

.top-bar {
  background: var(--color-navy-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.top-bar a {
  color: #e2e8f0;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-slate-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-slate-900);
  text-decoration: none !important;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.logo-text-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-slate-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-slate-700);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-blue);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-slate-200);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--color-slate-900);
}

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

.hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: #f8fafc;
  padding: 90px 0 100px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero .lede {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #a8b6cc;
}

.hero-meta strong {
  color: #ffffff;
  display: block;
  font-size: 0.95rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}

.hero-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #dbe4f3;
  font-size: 0.93rem;
}

.hero-card li:last-child {
  border-bottom: none;
}

.hero-card .check {
  color: #60a5fa;
  font-weight: 800;
}

/* ---------- Logos / trust strip (no claims, just descriptive) ---------- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}

.about-card {
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  padding: 26px;
}

.about-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

/* ---------- Services ---------- */

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

.service-card {
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  color: var(--color-slate-500);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Who it's for ---------- */

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

.audience-card {
  text-align: center;
  padding: 26px 18px;
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
}

.audience-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--color-slate-100);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.audience-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--color-slate-500);
  margin: 0;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
  position: relative;
}

.step {
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--color-slate-500);
  margin: 0;
}

/* ---------- Policy summary cards (index page) ---------- */

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.policy-card {
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  padding: 30px;
}

.policy-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-card ol,
.policy-card ul {
  color: var(--color-slate-600, var(--color-slate-700));
  font-size: 0.94rem;
  padding-left: 1.2em;
}

.policy-card li {
  margin-bottom: 8px;
}

.policy-card .read-more {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-slate-200);
}

.contact-info-list .icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--color-slate-100);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-list strong {
  display: block;
  color: var(--color-slate-900);
  font-size: 0.9rem;
}

.contact-info-list a {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

.contact-info-list a:hover {
  color: var(--color-blue);
}

.contact-panel {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-panel h3 {
  margin-bottom: 10px;
}

.contact-panel p {
  color: var(--color-slate-500);
  font-size: 0.94rem;
}

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

.site-footer {
  background: var(--color-navy-dark);
  color: #b7c2d6;
  padding: 56px 0 26px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #b7c2d6;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: #8b98b3;
}

.footer-bottom a {
  color: #8b98b3;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Legal pages (privacy / terms) ---------- */

.legal-hero {
  background: var(--color-navy-dark);
  color: #f1f5f9;
  padding: 56px 0 44px;
}

.legal-hero p {
  color: #b7c2d6;
  margin: 0;
}

.legal-content {
  padding: 56px 0 80px;
}

.legal-content .container {
  max-width: 840px;
}

.legal-content h2 {
  margin-top: 2.2em;
  font-size: 1.35rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 1.6em;
}

.legal-content ul {
  color: var(--color-slate-700);
}

.legal-toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 40px;
}

.legal-toc h3 {
  margin-bottom: 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-slate-500);
}

.legal-toc ol {
  columns: 2;
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.92rem;
}

.legal-toc li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.callout {
  background: #eef2ff;
  border-left: 4px solid var(--color-blue);
  border-radius: 6px;
  padding: 18px 20px;
  font-size: 0.94rem;
  margin: 1.4em 0;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .nav-links,
  .nav-cta .btn-outline-dark {
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid var(--color-slate-200);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
  }

  .about-grid,
  .services-grid,
  .audience-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-toc ol {
    columns: 1;
  }

  .section {
    padding: 52px 0;
  }
}
