/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Brand */
  --navy:           #0F2044;
  --gold:           #C9A84C;
  --white:          #FFFFFF;
  --off-white:      #F8FAFC;

  /* Text — light backgrounds */
  --text-primary:   #1e293b;
  --text-secondary: #64748b;  /* 5.74:1 on off-white — captions, sub-CTAs on light */
  --text-fine:      #5c6b82;  /* 5.4:1 on white — fine print / disclaimers on light cards (AA) */
  --text-muted:     #94a3b8;  /* on navy only (6:1); never on light — fails AA on white */

  /* Text — navy backgrounds */
  --text-on-dark:      #cbd5e1;  /* 10.5:1 on navy */
  --text-on-dark-sub:  #94a3b8;  /* 6.0:1 on navy — secondary lines on dark sections */

  /* Structural */
  --border: #e2e8f0;

  /* Typography */
  --font:       'Inter', 'Helvetica Neue', Arial, sans-serif;
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   clamp(1.5rem, 3vw, 2rem);
  --text-3xl:   2rem;
  --text-hero:  clamp(2rem, 5vw, 3.25rem);

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4.5rem;

  /* Radii */
  --radius-badge: 3px;
  --radius-card:  8px;
  --radius-btn:   6px;

  /* Layout */
  --max-width: 1100px;
}

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

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

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Visible focus ring for keyboard users */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Inline text links (previously inline styles) */
.link-gold {
  color: var(--gold);          /* 6.9:1 on navy — AA */
  text-decoration: underline;
}

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

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) 0;
}

.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.wordmark {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav-email {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nav-email:hover {
  color: var(--navy);
}

@media (min-width: 768px) {
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: var(--navy);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-on-dark);
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 auto var(--space-xl);
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-btn);
  letter-spacing: 0.01em;
  transition: opacity 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.88;
}

.hero-sub-cta {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-on-dark-sub);
}

.hero-audit-link {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-on-dark-sub);
}

/* ============================================================
   OFFENSE REPORT PRICING
   ============================================================ */
#offense-report {
  background: var(--white);
  padding: var(--space-2xl) 0;
}

.pricing-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.pricing-headline {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

.pricing-context {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.pricing-card {
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.pricing-card-inner {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  text-align: left;
}

.pricing-what {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pricing-list li {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.6;
  padding-left: 1.4rem;
  position: relative;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.pricing-cta-block {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-sm);
}

@media (min-width: 480px) {
  .pricing-btn {
    display: inline-block;
    width: auto;
  }
}

.pricing-guest {
  font-size: var(--text-xs);
  color: var(--text-fine);
  margin-top: 0.35rem;
}

.pricing-refund {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}

.pricing-hipaa {
  font-size: var(--text-xs);
  color: var(--text-fine);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: var(--off-white);
  padding: var(--space-2xl) 0;
}

.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

#how-it-works h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xl);
}

.steps {
  display: grid;
  gap: var(--space-xl);
}

.step {
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.step h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
}

.step p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: var(--white);
  padding: var(--space-2xl) 0;
}

#services > .container > h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xl);
}

.cards {
  display: grid;
  gap: var(--space-md);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

/* Distinct top accents to visually separate the two reports */
.card--defense {
  border-top: 4px solid var(--gold);
}

.card--offense {
  border-top: 4px solid var(--navy);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.card-header h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.badge {
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-badge);
  white-space: nowrap;
  line-height: 1.4;
}

.badge--outline {
  border: 1.5px solid var(--gold);
  /* gold on white is ~1.94:1; navy gives 14.4:1 while preserving the gold brand signal via border */
  color: var(--navy);
}

.badge--filled {
  background: var(--navy);
  color: var(--white);
}

.card-body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   PROOF STRIP
   ============================================================ */
#proof {
  background: var(--navy);
  padding: var(--space-xl) 0;
}

.proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.stat-num {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-on-dark);
  max-width: 24ch;
  line-height: 1.5;
}

.proof-source {
  margin-top: var(--space-md);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-on-dark-sub);  /* #94a3b8 on navy — 6:1 AA */
  letter-spacing: 0.02em;
}

.stat-divider {
  display: none;
}

@media (min-width: 640px) {
  .proof-inner {
    flex-direction: row;
    justify-content: center;
    gap: 0;
    align-items: stretch;
  }

  .stat {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    justify-content: center;
  }

  .stat-divider {
    display: block;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
    align-self: stretch;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--off-white);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.contact-inner {
  max-width: 580px;
  margin: 0 auto;
}

#contact h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.contact-body {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.contact-sub {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  padding: var(--space-md) 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
}

.footer-copy {
  font-size: var(--text-sm);
  color: var(--text-on-dark);
}

.footer-copy a {
  transition: color 0.15s ease;
}

.footer-copy a:hover {
  color: var(--white);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-links {
  font-size: var(--text-xs);
  color: var(--text-on-dark-sub);  /* #94a3b8 on navy — 6:1 AA */
}

.footer-links a {
  color: var(--text-on-dark);      /* #cbd5e1 on navy — 10.5:1 AA */
  text-decoration: underline;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--white);
}

/* ============================================================
   LEGAL PAGES (privacy / terms / refund)
   ============================================================ */
#legal {
  background: var(--white);
  padding: var(--space-2xl) 0;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  border-top: 4px solid var(--navy);  /* top-border accent, never a side-stripe */
  padding-top: var(--space-lg);
}

.legal-content h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: var(--space-xs);
}

.legal-updated {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.legal-content h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: var(--space-lg) 0 var(--space-xs);
}

.legal-content p,
.legal-content li {
  font-size: var(--text-base);
  color: var(--text-primary);  /* #1e293b on white — well above AA */
  line-height: 1.7;
}

.legal-content p {
  margin-bottom: var(--space-sm);
}

.legal-content ul {
  margin: 0 0 var(--space-sm) 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-content a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.legal-note {
  font-size: var(--text-sm);
  color: var(--text-fine);  /* #5c6b82 on white — 5.4:1 AA */
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
}

.legal-back {
  display: inline-block;
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}
