/* =========================================================
   FABRIC BY COMPLIX — Design System
   Palette: Navy / Teal / Purple (AEGIS) / Sky (Intelligence)
   ========================================================= */

:root {
  --navy:       #1B3A6B;
  --navy-deep:  #0A1628;
  --navy-mid:   #14305A;
  --teal:       #0F6E56;
  --teal-light: #12876A;
  --teal-faint: #E6F7F3;
  --purple:     #7C3AED;
  --purple-mid: #5B21B6;
  --purple-faint:#F3EEFF;
  --sky:        #0891B2;
  --sky-faint:  #E0F5FB;
  --gold:       #D4A017;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-800:   #1E293B;
  --font-main:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(27,58,107,0.10);
  --shadow-lg:  0 8px 40px rgba(27,58,107,0.15);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
p  { font-size: 1rem; color: var(--gray-600); line-height: 1.75; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--sm{ padding: 64px 0; }
.section--lg{ padding: 128px 0; }
.section--dark { background: var(--navy-deep); }
.section--navy { background: var(--navy); }
.section--gray { background: var(--gray-100); }
.section--teal-faint { background: var(--teal-faint); }

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo-mark {
  width: 32px; height: 32px; border-radius: 7px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: white; letter-spacing: -1px;
}
.nav__brand-text { font-size: 1rem; font-weight: 700; color: white; }
.nav__brand-text span { color: var(--teal-light); }
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a {
  color: rgba(255,255,255,0.75); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav__links a:hover { color: white; text-decoration: none; }
.nav__cta {
  background: var(--teal); color: white; padding: 9px 20px;
  border-radius: 6px; font-size: 0.875rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.nav__cta:hover { background: var(--teal-light); text-decoration: none; }

/* ─── EYEBROW ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow--teal  { color: var(--teal); }
.eyebrow--white { color: var(--teal-light); }
.eyebrow--purple{ color: var(--purple); }
.eyebrow--sky   { color: var(--sky); }
.eyebrow--gold  { color: var(--gold); }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 7px; font-size: 0.9375rem;
  font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.btn--primary { background: var(--teal); color: white; }
.btn--primary:hover { background: var(--teal-light); text-decoration: none; color: white; }
.btn--outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.35); }
.btn--outline:hover { border-color: white; background: rgba(255,255,255,0.06); text-decoration: none; color: white; }
.btn--purple  { background: var(--purple); color: white; }
.btn--purple:hover { background: var(--purple-mid); text-decoration: none; color: white; }
.btn--sky     { background: var(--sky); color: white; }
.btn--sky:hover { background: #0779A0; text-decoration: none; color: white; }
.btn--white   { background: white; color: var(--navy); }
.btn--white:hover { background: var(--gray-100); text-decoration: none; color: var(--navy); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  background: var(--navy-deep);
  padding: 108px 0 96px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(15,110,86,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 70% at 10% 80%, rgba(8,145,178,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero__sub { font-size: 1.125rem; color: rgba(255,255,255,0.7); margin-bottom: 36px; max-width: 640px; line-height: 1.7; }
.hero--purple::before {
  background: radial-gradient(ellipse 60% 60% at 80% 40%, rgba(124,58,237,0.22) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 10% 80%, rgba(27,58,107,0.3) 0%, transparent 60%);
}
.hero--sky::before {
  background: radial-gradient(ellipse 60% 60% at 75% 40%, rgba(8,145,178,0.22) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 10% 80%, rgba(15,110,86,0.15) 0%, transparent 60%);
}

/* ─── PROBLEM STRIP ───────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.problem-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius); padding: 28px 24px;
}
.problem-card__icon { font-size: 1.5rem; margin-bottom: 12px; }
.problem-card h4 { color: white; margin-bottom: 8px; font-size: 0.9375rem; }
.problem-card p  { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.65; }

/* ─── THREE LAYERS ────────────────────────────────────── */
.layers { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.layer-card {
  border-radius: var(--radius); padding: 32px 28px;
  border: 2px solid transparent; position: relative; overflow: hidden;
}
.layer-card--data   { background: var(--navy-deep); border-color: rgba(27,58,107,0.8); }
.layer-card--intel  { background: rgba(8,145,178,0.08); border-color: var(--sky); }
.layer-card--aegis  { background: var(--purple-faint); border-color: var(--purple); }
.layer-card__tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px;
}
.layer-card--data  .layer-card__tag { background: rgba(15,110,86,0.25); color: var(--teal-light); }
.layer-card--intel .layer-card__tag { background: rgba(8,145,178,0.18); color: var(--sky); }
.layer-card--aegis .layer-card__tag { background: rgba(124,58,237,0.18); color: var(--purple); }
.layer-card h3 { margin-bottom: 10px; }
.layer-card--data  h3 { color: white; }
.layer-card--intel h3 { color: var(--navy); }
.layer-card--aegis h3 { color: var(--purple-mid); }
.layer-card p { font-size: 0.9rem; }
.layer-card--data p  { color: rgba(255,255,255,0.65); }
.layer-card--intel p { color: var(--gray-600); }
.layer-card--aegis p { color: var(--gray-600); }
.layer-card__link { display: inline-block; margin-top: 18px; font-size: 0.875rem; font-weight: 600; }
.layer-card--data  .layer-card__link { color: var(--teal-light); }
.layer-card--intel .layer-card__link { color: var(--sky); }
.layer-card--aegis .layer-card__link { color: var(--purple); }

/* ─── MODULE GRID ─────────────────────────────────────── */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; margin-top: 48px; }
.module-card {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 24px; transition: all 0.2s; background: white;
}
.module-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.module-card__icon { width: 40px; height: 40px; border-radius: 8px; background: var(--teal-faint); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 14px; }
.module-card h4 { color: var(--navy); margin-bottom: 6px; }
.module-card p  { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }
.module-card__link { display: inline-block; margin-top: 12px; font-size: 0.8125rem; font-weight: 600; color: var(--teal); }

/* ─── CONTRAST STRIP ──────────────────────────────────── */
.contrast-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.contrast-card { padding: 28px; border-left: 3px solid var(--teal); background: var(--gray-100); border-radius: 0 var(--radius) var(--radius) 0; }
.contrast-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 0.9375rem; }
.contrast-card p  { font-size: 0.9rem; color: var(--gray-600); }

/* ─── PROOF STRIP ─────────────────────────────────────── */
.proof-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.proof-card {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.proof-card__client { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.proof-card p { font-size: 0.9375rem; color: var(--gray-600); }
.proof-card__link { font-size: 0.875rem; font-weight: 600; color: var(--teal); margin-top: auto; }

/* ─── WALKTHROUGH ─────────────────────────────────────── */
.walkthrough { counter-reset: step; display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.walk-step {
  display: grid; grid-template-columns: 60px 1fr; gap: 0;
  padding: 0 0 36px 0; position: relative;
}
.walk-step:not(:last-child)::after {
  content: ''; position: absolute; left: 29px; top: 52px; bottom: 0;
  width: 2px; background: var(--gray-200);
}
.walk-step__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: white; display: flex; align-items: center; justify-content: center;
  font-size: 0.9375rem; font-weight: 800; flex-shrink: 0; z-index: 1;
}
.walk-step__body { padding-left: 8px; }
.walk-step h4 { color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.walk-step p  { font-size: 0.9375rem; color: var(--gray-600); }

/* ─── AEGIS THREE COLUMNS ─────────────────────────────── */
.aegis-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.aegis-col {
  border-radius: var(--radius); padding: 28px;
  border-top: 4px solid var(--purple); background: white;
  box-shadow: var(--shadow);
}
.aegis-col h3 { color: var(--purple-mid); margin-bottom: 16px; font-size: 1.125rem; }
.aegis-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aegis-col li { font-size: 0.9rem; color: var(--gray-600); padding-left: 18px; position: relative; }
.aegis-col li::before { content: '→'; position: absolute; left: 0; color: var(--purple); font-weight: 700; }

/* ─── PRE-BUILT AGENTS GRID ───────────────────────────── */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 12px; margin-top: 36px; }
.agent-pill {
  background: var(--purple-faint); border: 1.5px solid rgba(124,58,237,0.25);
  border-radius: 8px; padding: 14px 18px; font-size: 0.875rem; font-weight: 600; color: var(--purple-mid);
}

/* ─── OBJECTION BOX ───────────────────────────────────── */
.objection-list { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.objection-item {
  border-radius: var(--radius); border: 1.5px solid var(--gray-200);
  padding: 20px 24px; background: white;
}
.objection-item__q { font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 0.9375rem; }
.objection-item__a { font-size: 0.9375rem; color: var(--gray-600); }

/* ─── FAQ ─────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding-bottom: 20px; }
.faq-item h4 { color: var(--navy); margin-bottom: 8px; }
.faq-item p  { font-size: 0.9375rem; color: var(--gray-600); }

/* ─── SECTOR CARDS ────────────────────────────────────── */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; margin-top: 48px; }
.sector-card {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 24px;
  background: white; text-decoration: none; display: block; transition: all 0.2s;
}
.sector-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.sector-card__icon { font-size: 1.75rem; margin-bottom: 12px; }
.sector-card h4 { color: var(--navy); margin-bottom: 6px; }
.sector-card p  { font-size: 0.875rem; color: var(--gray-600); }
.sector-card__cta { font-size: 0.8125rem; font-weight: 600; color: var(--teal); margin-top: 12px; display: inline-block; }

/* ─── CTA BAND ────────────────────────────────────────── */
.cta-band { background: var(--navy); padding: 80px 0; text-align: center; }
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p  { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 36px; font-size: 1rem; }
.cta-band--teal { background: var(--teal); }
.cta-band--purple { background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple) 100%); }

/* ─── CALLOUT BOX ─────────────────────────────────────── */
.callout {
  border-left: 4px solid var(--teal); background: var(--teal-faint);
  padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.callout--purple { border-color: var(--purple); background: var(--purple-faint); }
.callout--navy   { border-color: var(--navy); background: var(--gray-100); }
.callout p { font-size: 0.9375rem; color: var(--gray-800); font-weight: 500; }

/* ─── GOVERNANCE LIST ─────────────────────────────────── */
.gov-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.gov-item { display: flex; gap: 14px; align-items: flex-start; }
.gov-item__icon { width: 32px; height: 32px; border-radius: 6px; background: var(--purple-faint); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.gov-item__text h4 { font-size: 0.9375rem; color: var(--navy); margin-bottom: 2px; }
.gov-item__text p  { font-size: 0.875rem; color: var(--gray-600); }

/* ─── FEATURE LIST ────────────────────────────────────── */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.feature-item { display: flex; gap: 10px; align-items: flex-start; }
.feature-item__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-top: 7px; flex-shrink: 0; }
.feature-item p { font-size: 0.9375rem; color: var(--gray-600); }

/* ─── COMPARISON BETTER TOGETHER ─────────────────────── */
.better-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.better-item { background: var(--gray-100); border-radius: 8px; padding: 16px 20px; }
.better-item h4 { font-size: 0.875rem; color: var(--navy); margin-bottom: 4px; }
.better-item p  { font-size: 0.875rem; color: var(--gray-600); }

/* ─── TOOLS GRID ──────────────────────────────────────── */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; margin-top: 36px; }
.tool-card {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 24px;
  background: white; text-decoration: none; display: block; transition: all 0.2s;
}
.tool-card:hover { border-color: var(--teal); box-shadow: var(--shadow); text-decoration: none; }
.tool-card__badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--teal-faint); color: var(--teal); padding: 3px 9px; border-radius: 4px; margin-bottom: 12px; }
.tool-card h4 { color: var(--navy); margin-bottom: 6px; }
.tool-card p  { font-size: 0.875rem; color: var(--gray-600); }
.tool-card__cta { font-size: 0.8125rem; font-weight: 600; color: var(--teal); margin-top: 12px; display: inline-block; }

/* ─── PAGE HEADER (inner pages) ───────────────────────── */
.page-header { background: var(--navy-deep); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(15,110,86,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-header__inner { position: relative; z-index: 1; }
.page-header h1 { color: white; margin-bottom: 16px; }
.page-header p  { color: rgba(255,255,255,0.65); max-width: 640px; font-size: 1.125rem; line-height: 1.7; }
.page-header--purple::before { background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(124,58,237,0.18) 0%, transparent 70%); }
.page-header--sky::before { background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(8,145,178,0.18) 0%, transparent 70%); }

/* ─── BREADCRUMB ──────────────────────────────────────── */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8125rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ─── HEADING WITH ACCENT LINE ────────────────────────── */
.section-heading { margin-bottom: 16px; }
.section-subhead { font-size: 1.0625rem; color: var(--gray-600); max-width: 640px; line-height: 1.75; margin-bottom: 0; }

/* ─── CASE STUDY ──────────────────────────────────────── */
.case-meta { display: flex; flex-wrap: wrap; gap: 32px; margin: 36px 0; }
.case-meta__item { }
.case-meta__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 4px; }
.case-meta__value { font-size: 1rem; font-weight: 700; color: var(--navy); }

/* ─── FOOTER ──────────────────────────────────────────── */
.footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.07); padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer__col h5 { color: white; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a  { color: rgba(255,255,255,0.5); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.footer__col a:hover { color: white; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer__bottom p { color: rgba(255,255,255,0.3); font-size: 0.8125rem; }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: rgba(255,255,255,0.3); font-size: 0.8125rem; text-decoration: none; }
.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .layers, .aegis-cols, .problem-grid, .contrast-grid, .proof-cards { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 72px 0 64px; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .module-grid, .sector-grid, .tools-grid, .agent-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ─── UTILITIES ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-center .section-subhead { margin: 0 auto; }
.color-teal   { color: var(--teal); }
.color-white  { color: white; }
.color-navy   { color: var(--navy); }
.color-purple { color: var(--purple); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* hardcoded guard rails from brief: no em or en dashes in published copy */
