/* =============================================
   AEGIS AI ADVISORY — Design Tokens & Styles
   Dark-first design: charcoal bg, teal accent,
   warm beige text, orange CTA
   ============================================= */

/* --- DESIGN TOKENS --- */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Trebuchet MS', sans-serif;
  --font-body: 'Satoshi', 'Calibri', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* === AEGIS DARK PALETTE (primary) === */
  --color-bg:             #141310;
  --color-surface:        #1C1B19;
  --color-surface-2:      #242320;
  --color-surface-offset: #1A1917;
  --color-border:         #3A3835;
  --color-divider:        #2A2927;

  /* Text */
  --color-text:           #F7F6F2;
  --color-text-muted:     #A8A7A2;
  --color-text-faint:     #6B6A66;

  /* Primary — Teal */
  --color-primary:        #2E8B8B;
  --color-primary-hover:  #3AA3A3;
  --color-primary-dark:   #01696F;

  /* Accent — Orange (CTAs) */
  --color-accent:         #D47B3A;
  --color-accent-hover:   #E08D4E;

  /* Alert — Red */
  --color-alert:          #C44536;

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.4);
}

/* Light mode */
[data-theme="light"] {
  --color-bg:             #F7F6F2;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #F0EFEB;
  --color-surface-offset: #E8E7E3;
  --color-border:         #D4D1CA;
  --color-divider:        #E0DDD8;

  --color-text:           #0F1B2D;
  --color-text-muted:     #5A5850;
  --color-text-faint:     #9A9890;

  --color-primary:        #01696F;
  --color-primary-hover:  #0C4E54;
  --color-primary-dark:   #01696F;

  --color-accent:         #D47B3A;
  --color-accent-hover:   #E08D4E;

  --shadow-sm: 0 1px 3px oklch(0.2 0.01 80 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.2 0.01 80 / 0.1);
  --shadow-lg: 0 12px 40px oklch(0.2 0.01 80 / 0.14);
}

/* --- GLOBAL --- */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
}

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

/* --- CONTAINER --- */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow {
  max-width: var(--content-default);
}

/* --- HEADER / NAV --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.logo img {
  height: 40px;
  width: auto;
  /* Logo is black on white — invert on dark, keep on light */
  filter: invert(1);
}
[data-theme="light"] .logo img {
  filter: none;
}
.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-interactive);
}
.nav-links a:hover {
  color: var(--color-text);
}

.theme-toggle {
  color: var(--color-text-muted);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  color: var(--color-text);
  padding: var(--space-2);
}

/* Collapse to the hamburger below 1024px: the full nav row collides with the
   logo on landscape phones and small tablets between 769px and ~950px. */
@media (max-width: 1023px) {
  /* nav collapses to zero width here, so pull the toggle flush right. */
  .menu-toggle { display: block; margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4) var(--space-6) var(--space-6);
    gap: var(--space-1);
    /* Never taller than the space under the header — scroll inside instead. */
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a { font-size: var(--text-base); }
  /* Full-width tap targets — 44px minimum. */
  .nav-links > li > a {
    display: block;
    padding: var(--space-3) 0;
    text-align: left;
  }
  .nav-links > li > a.btn {
    text-align: center;
    margin-top: var(--space-3);
  }
}

/* --- HERO --- */
.hero {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: oklch(from var(--color-primary) l c h / 0.12);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.hero h1 .highlight {
  color: var(--color-primary);
}
.hero-desc {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  max-width: 50ch;
}
.hero-proof {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-8);
}
.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-shield {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}
.hero-shield-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.12;
}
[data-theme="light"] .hero-shield-img {
  filter: brightness(0);
  opacity: 0.05;
}
/* Animated network lines behind shield */
.hero-network {
  position: absolute;
  inset: -40px;
  opacity: 0.25;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-shield { max-width: 260px; }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.btn--primary {
  background: var(--color-accent);
  color: #0F1B2D;
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #0F1B2D;
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover {
  background: var(--color-surface-2);
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* --- SECTIONS --- */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--alt {
  background: var(--color-surface);
}
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* --- PROBLEM SECTION --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-10);
}
.problem-stat {
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* --- G7 / LEADERS QUOTES --- */
.quotes-intro {
  max-width: 70ch;
  margin-bottom: var(--space-10);
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.quote-card--featured {
  border-left-color: var(--color-accent);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 0.6;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.quote-card--featured .quote-mark {
  color: var(--color-accent);
}
.quote-text {
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.quote-lead {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}
.quote-attr {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.quote-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
}
.quote-role {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.quotes-source {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.quotes-source a {
  color: var(--color-text-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.quotes-source a:hover {
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .quotes-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CLEAR-AI FRAMEWORK --- */
.framework-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .framework-intro {
    grid-template-columns: 1fr;
  }
}

.clear-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
.clear-step {
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.clear-step:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}
.step-letter {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.step-word {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.step-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .clear-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .clear-steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- WHY / ICEBERG --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-10);
}
/* Shared visual image system — used across hero, framework, iceberg */
.site-visual-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 28px rgba(0,0,0,0.18);
}

.hero-logo-img {
  max-width: 400px;
}

.framework-img {
  max-width: 860px;
  margin: 0 auto;
}

.iceberg-img {
  max-width: 100%;
}

.iceberg-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.why-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.why-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  margin-top: 3px;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .iceberg-visual { order: -1; }
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-12);
  align-items: start;
}
.about-photo {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-xl);
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.about-photo svg {
  width: 80px;
  height: 80px;
  color: var(--color-text-faint);
}
.about-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.about-role {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.about-bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.credential-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-photo { margin-inline: auto; }
  .credential-tags { justify-content: center; }
}

/* --- CTA SECTION --- */
.cta-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.cta-inner p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 100%;
}
.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-detail a {
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}
.contact-detail a:hover {
  color: var(--color-primary);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FOOTER --- */
.site-footer {
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-links {
  display: flex;
  gap: var(--space-6);
}
.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  transition: color var(--transition-interactive);
}
.footer-links a:hover {
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* --- SCROLL REVEAL --- */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  align-items: start;
  transition: border-color var(--transition-interactive);
}
.service-row:hover {
  border-color: oklch(from var(--color-primary) l c h / 0.4);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-top: 2px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
}
.service-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.service-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.deliverables-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary);
  margin-bottom: var(--space-2) !important;
}
.deliverables-list {
  margin: 0;
  padding-left: var(--space-5);
  list-style: disc;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

@media (max-width: 768px) {
  .service-row {
    padding: var(--space-5) var(--space-5);
  }
}

/* --- TRUST INDICATORS --- */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* =============================================
   NAV DROPDOWN (Resources)
   ============================================= */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition-interactive);
}
.nav-dropdown-toggle:hover,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--color-text);
}
.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-interactive);
}
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  flex-direction: column;
  gap: 0;
  padding: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  z-index: 120;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: flex;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: var(--space-3);
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}
.dropdown-menu a span {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
}
.dropdown-menu a:hover {
  background: var(--color-surface-2);
  color: var(--color-primary);
}

@media (max-width: 1023px) {
  .nav-dropdown { width: 100%; }
  /* Accordion: collapsed until tapped, so the CTA below it stays on screen. */
  .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--color-divider);
    border-radius: 0;
    margin-top: var(--space-1);
    margin-left: var(--space-2);
    padding: 0 0 0 var(--space-4);
  }
  .nav-dropdown.open > .dropdown-menu { display: flex; }
  .dropdown-menu::before { content: none; }
  .nav-dropdown-toggle {
    font-size: var(--text-base);
    width: 100%;
    justify-content: space-between;
    padding: var(--space-3) 0;
  }
  /* Chevron follows the accordion state, not hover. */
  .nav-dropdown:hover .nav-dropdown-toggle svg,
  .nav-dropdown:focus-within .nav-dropdown-toggle svg { transform: none; }
  .nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
  .dropdown-menu a { padding: var(--space-3) var(--space-3); }
}

/* =============================================
   BLOG INDEX
   ============================================= */
.blog-hero {
  padding-top: clamp(var(--space-16), 8vw, var(--space-24));
  padding-bottom: var(--space-8);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.blog-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-interactive),
              transform var(--transition-interactive);
}
.blog-card-thumb {
  margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-8)) var(--space-6);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.blog-card-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-interactive);
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.03);
}
.blog-card:hover {
  border-color: oklch(from var(--color-primary) l c h / 0.5);
  transform: translateY(-3px);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.blog-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: oklch(from var(--color-primary) l c h / 0.12);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.blog-date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
.blog-card-title a {
  color: var(--color-text);
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--color-primary); }
.blog-card-summary {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.blog-card-link {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.blog-card-link:hover { color: var(--color-primary-hover); }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* =============================================
   ARTICLE PAGE
   ============================================= */
.article {
  padding-top: clamp(var(--space-16), 8vw, var(--space-24));
}
.article-back {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: var(--space-6);
}
.article-hero {
  margin: 0 0 var(--space-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.article-back:hover { color: var(--color-primary); }
.article-head {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
}
.article-head .blog-tag { margin-bottom: var(--space-4); }
.article-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  margin: var(--space-2) 0 var(--space-4);
}
.article-byline {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}
.article-byline strong { color: var(--color-text-muted); font-weight: 600; }
.article-body {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-muted);
}
.article-body > p,
.article-body > ul,
.article-body > ol { margin-bottom: var(--space-6); }
.article-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin: var(--space-10) 0 var(--space-4);
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-8) 0 var(--space-3);
}
.article-body strong { color: var(--color-text); font-weight: 600; }
.article-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body ul,
.article-body ol { padding-left: var(--space-6); }
.article-body li { margin-bottom: var(--space-2); max-width: 70ch; }
.article-body blockquote {
  margin: var(--space-8) 0;
  padding: var(--space-4) var(--space-6);
  border-left: 3px solid var(--color-primary);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-text);
}
.article-cta {
  margin-top: var(--space-16);
  padding: var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.article-cta p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin: 0 auto var(--space-6);
}

/* =============================================
   EXPOSURE SCAN + PROOF
   ============================================= */
.service-price {
  display: inline-block;
  margin: var(--space-2) 0 var(--space-4);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.assessment-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--space-12);
  align-items: end;
}
.assessment-heading > div:first-child {
  max-width: 720px;
}
.assessment-price {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
}
.assessment-price span,
.assessment-price small {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.45;
}
.assessment-price strong {
  display: block;
  margin: var(--space-1) 0 var(--space-2);
  font-family: var(--font-display);
  color: var(--color-text);
  font-size: var(--text-2xl);
  line-height: 1;
}

.scan-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.scan-step {
  position: relative;
  min-height: 250px;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.scan-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.scan-step:nth-child(2)::before,
.scan-step:nth-child(4)::before {
  background: var(--color-accent);
}
.scan-day,
.proof-kicker {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scan-step h3,
.proof-card h3 {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.2;
}
.scan-step p,
.proof-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.assessment-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
  padding: var(--space-6);
  border-left: 3px solid var(--color-primary);
  background: oklch(from var(--color-primary) l c h / 0.08);
  border-radius: var(--radius-sm);
}
.assessment-includes p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.assessment-includes strong {
  color: var(--color-text);
}

.proof-intro {
  max-width: 760px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.proof-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.proof-card--featured {
  border-top: 3px solid var(--color-accent);
}
.proof-card--case {
  border-top: 3px solid var(--color-primary);
}
.proof-card .btn {
  margin-top: auto;
}
.proof-card p + .btn {
  margin-top: var(--space-6);
}
.case-findings {
  margin: var(--space-5) 0;
  padding-left: var(--space-5);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.case-findings li {
  margin-bottom: var(--space-2);
}
.proof-card small {
  display: block;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  color: var(--color-text-faint);
  font-size: 0.72rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .scan-timeline,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .assessment-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .assessment-price {
    max-width: 360px;
  }
}

@media (max-width: 600px) {
  .scan-timeline,
  .proof-grid,
  .assessment-includes {
    grid-template-columns: 1fr;
  }
  .scan-step {
    min-height: 0;
  }
  .proof-card {
    padding: var(--space-6);
  }
}

/* =============================================
   $999 AI TOOLS ASSESSMENT
   offer section · landing page · sticky CTA
   ============================================= */

/* --- Offer details band --- */
.offer-band {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: oklch(from var(--color-accent) l c h / 0.10);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.35);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  margin-top: var(--space-8);
}
.offer-band .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--color-accent);
  line-height: 1;
}
.offer-band .g-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.offer-band .g-body strong { color: var(--color-text); }
.offer-band .g-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
@media (max-width: 600px) {
  .offer-band { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

/* --- Featured service row (the $999) --- */
.service-row--featured {
  border-color: oklch(from var(--color-accent) l c h / 0.5);
  border-top: 3px solid var(--color-accent);
  background: oklch(from var(--color-accent) l c h / 0.05);
}
.service-row--featured .service-icon { color: var(--color-accent); }
.service-badge {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #0F1B2D;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Expansion ladder (landing page) --- */
.ladder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.ladder-rung {
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.ladder-rung .r-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
.ladder-rung h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}
.ladder-rung .r-price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-accent);
  font-size: var(--text-sm);
  white-space: nowrap;
}
.ladder-rung p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}
.ladder-rung--gov {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  background: var(--color-surface-2);
  border-top: 3px solid var(--color-primary);
}
.ladder-rung--gov .r-price { color: var(--color-primary); }
.gov-badge {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  background: oklch(from var(--color-primary) l c h / 0.15);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .ladder-grid { grid-template-columns: 1fr 1fr; }
  .ladder-rung--gov { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .ladder-grid { grid-template-columns: 1fr; }
}

/* --- FAQ --- */
.faq-list {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-base);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--color-primary); font-weight: 700; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Landing hero price tag --- */
.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.hero-price .amt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--color-accent);
}
.hero-price .lbl { font-size: var(--text-sm); color: var(--color-text-muted); }

/* --- Sticky CTA bar --- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-3) var(--space-12) var(--space-3) var(--space-6);
  background: oklch(from var(--color-surface) l c h / 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .sc-text { font-size: var(--text-sm); color: var(--color-text); font-weight: 600; }
.sticky-cta .sc-text b { color: var(--color-accent); }
.sticky-cta .sc-close {
  position: absolute;
  right: var(--space-4);
  color: var(--color-text-faint);
  font-size: var(--text-lg);
  line-height: 1;
  padding: var(--space-2);
}
.sticky-cta .sc-close:hover { color: var(--color-text); }
@media (max-width: 600px) {
  .sticky-cta { gap: var(--space-3); padding: var(--space-3) var(--space-10) var(--space-3) var(--space-4); }
  .sticky-cta .sc-text { font-size: var(--text-xs); }
  .sticky-cta .btn { padding: var(--space-2) var(--space-4); }
}
