/* ═══════════════════════════════════════════════════════════════
   styles.css — Uncrossed Signals, LLC
   Shared stylesheet for uncrossedsignals.com
   Structure:
     UNIVERSAL — tokens, reset, body
     UNIVERSAL — page-inner container (max-width centering)
     UNIVERSAL — skip link
     UNIVERSAL — nav + hamburger + mobile drawer
     UNIVERSAL — footer (page footer band + site footer bar)
     UNIVERSAL — buttons + shared components
     UNIVERSAL — accessibility utilities
     UNIVERSAL — animations + reduced motion
     PAGE      — home
     PAGE      — about
     PAGE      — trusting (TRUSTING Framework)
     PAGE      — at-veracity
     PAGE      — privacy
     PAGE      — meet-freddy

   ── CHANGELOG ────────────────────────────────────────────────
   2026-05-25  Multi-page refactor + AT audit pass
   · Refactor: SPA → multi-page; all 6 pages updated
   · Added .page-inner (max-width: 900px centered container)
   · Base a { color, text-decoration } eliminates browser
     default purple link color sitewide
   · a:visited uses --green-dim (#2A9940, 4.0:1 on sapphire)
   · Nav + drawer override visited state to --text-muted
   · .btn and .nav-logo get text-decoration: none override
   · .veracity-finding font-size raised 0.78rem → 0.82rem (AT)
   · .veracity-note font-size raised 0.78rem → 0.82rem (AT)
   · .freddy-badge font-size raised 0.78rem → 0.82rem (AT)
   · .ai-product-subtitle font-size raised 0.78rem → 0.82rem (AT)
   · --green-hover token added (#3ACC58, btn-primary hover)
   · --red-signal token added (#962D22, Freddy ghostwrites dot)
   · All stray hardcoded hex outside :root replaced with tokens
   · Scorecard colors → .scorecard-value--pass/warn/total classes
   · Veracity prior-audit wrapper → .veracity-prior-record class
   · All inline styles replaced with named classes sitewide
   · meet-freddy CSS migrated from page <style> to stylesheet
   ─────────────────────────────────────────────────────────────
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — BRAND TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Colors */
  --titanium: #9ba2b4;
  --sapphire: #1c2733;
  --sapphire-mid: #253445;
  --sapphire-light: #2e4157;
  --green: #2faf4a;
  --green-hover: #3acc58; /* btn-primary hover — brighter green */
  --green-dim: #2a9940; /* 4.0:1 on sapphire — visited link state */
  --green-glow: rgba(47, 175, 74, 0.18);
  --amber: #d98a2b;
  --red-signal: #962d22; /* signal-dot--red — Freddy ghostwrites: never */

  /* Text */
  --text-primary: #e8eaf0;
  --text-muted: #9ba2b4; /* 5.93:1 on sapphire — WCAG AA pass */
  --text-dim: #8090a8; /* 4.67:1 on sapphire — WCAG AA pass */

  /* Borders */
  --border: rgba(155, 162, 180, 0.15);
  --border-bright: rgba(47, 175, 74, 0.35);

  /* Typography */
  --font-mono: "JetBrains Mono", monospace;
  --font-display: "Syne", sans-serif;
  --font-code: "Syne Mono", monospace;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — RESET + BODY
   ═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background: var(--sapphire);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Subtle grid texture — decorative, pointer-events disabled */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(155, 162, 180, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 162, 180, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — BASE LINK STYLES
   Kills browser default purple. Nav overrides below win cascade.
   WCAG 1.4.1 — underline provides non-color distinction
   WCAG 1.4.3 — green (#2FAF4A) on sapphire = 4.89:1, AA pass
   ═══════════════════════════════════════════════════════════════ */
a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:visited {
  color: var(--green-dim); /* #2A9940 — 4.0:1 on sapphire */
}
a:hover {
  text-decoration-thickness: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — PAGE-INNER CONTAINER
   Constrains content to 900px and centers it.
   Applied as a wrapper <div class="page-inner"> inside each
   hero and body section in the HTML.
   ═══════════════════════════════════════════════════════════════ */
.page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .page-inner {
    padding: 0 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — SKIP LINK
   WCAG 2.4.1 (A) — bypass blocks
   ═══════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1.25rem;
  background: var(--green);
  color: var(--sapphire);
  font-family: var(--font-code);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 3px;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — NAV
   ═══════════════════════════════════════════════════════════════ */
nav:not(.nav-drawer) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(28, 39, 51, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-sigil {
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.nav-wordmark span {
  color: var(--green);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

/* WCAG 2.5.5 — 44px minimum touch target */
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.nav-links a:visited {
  color: var(--text-muted); /* override base visited so nav stays consistent */
}
.nav-links a:hover {
  color: var(--green);
}

/* Active: color + underline — WCAG 1.4.1 (not color alone) */
.nav-links a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — HAMBURGER BUTTON (mobile only)
   WCAG 4.1.2 — aria-expanded + aria-label on state change
   ═══════════════════════════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s,
    background 0.2s;
}

/* Animated X state */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--green);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--green);
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — MOBILE NAV DRAWER
   ═══════════════════════════════════════════════════════════════ */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(28, 39, 51, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 0.5rem 0 1rem;
}
.nav-drawer.open {
  display: block;
}

.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

/* 52px touch targets in mobile drawer */
.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 2rem;
  font-family: var(--font-code);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.nav-drawer a:visited {
  color: var(--text-muted);
}
.nav-drawer a:hover {
  color: var(--green);
  background: rgba(47, 175, 74, 0.05);
}
.nav-drawer a[aria-current="page"] {
  color: var(--green);
  border-left-color: var(--green);
  background: rgba(47, 175, 74, 0.06);
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — FOCUS STYLES
   WCAG 2.4.7 (AA) — visible focus indicator on all interactive elements
   ═══════════════════════════════════════════════════════════════ */
.nav-links a:focus-visible,
.nav-logo:focus-visible,
.nav-drawer a:focus-visible,
.hamburger:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.nav-drawer a:focus-visible {
  outline-offset: -2px;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — RESPONSIVE BREAKPOINT
   ≤768px: hide desktop nav links, show hamburger
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav:not(.nav-drawer) {
    padding: 0 1.25rem;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — SITE FOOTER BAR
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.site-footer span {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.site-footer .signal-green {
  color: var(--green);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — BUTTONS + SHARED COMPONENTS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none; /* override base a underline */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: none;
}
.btn:visited {
  color: inherit; /* prevent visited state from recoloring buttons */
}
.btn-primary {
  background: var(--green);
  color: var(--sapphire);
  border: 1px solid var(--green);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 0 24px var(--green-glow);
}
.btn-outline {
  background: transparent;
  color: var(--titanium);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Section label + title */
.section-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* Kicker label */
.kicker {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Page hero title */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

/* Page hero subtitle */
.page-sub {
  font-size: 0.95rem;
  color: var(--titanium);
  max-width: 700px;
  line-height: 1.75;
  font-weight: 300;
}

/* Signal strip dot */
.signal-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 0.4rem;
  animation: pulse 2s ease-in-out infinite;
}

/* Callout box */
.callout-box {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  background: rgba(47, 175, 74, 0.04);
  border-radius: 2px;
}
.callout-box-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.callout-box-text {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.75;
}

/* Arrow list */
.arrow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.arrow-list li {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.6;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.arrow-list li::before {
  content: "→";
  color: var(--green);
  font-family: var(--font-code);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.arrow-list li strong {
  color: var(--text-primary);
}

/* Prose links — context classes still available for override if needed */
.prose a[href] {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a[href]:hover {
  text-decoration-thickness: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — ACCESSIBILITY UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#page-announce {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL — ANIMATIONS + REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 0.3;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* WCAG 2.3.3 — respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  .scanline,
  .signal-dot,
  .hero-label,
  .hero-heading,
  .hero-tagline,
  .hero-cta-row {
    animation: none;
    opacity: 1;
    transform: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE — HOME (index.html)
   ═══════════════════════════════════════════════════════════════ */
.home-page {
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero .page-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 175, 74, 0.5), transparent);
  animation: scan 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--green);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  animation: fadeUp 0.8s ease both;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-heading em {
  font-style: normal;
  color: var(--green);
}

.hero-tagline {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--titanium);
  max-width: 600px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.3s ease both;
  line-height: 1.75;
}

.hero-cta-row {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

/* Signal strip */
.signal-strip {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.015);
}
.signal-item {
  flex: 1;
  min-width: 160px;
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border);
}
.signal-item:last-child {
  border-right: none;
}
.signal-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.signal-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Footer quote band — home page only */
.footer-band {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-band .page-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-quote-wrap {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  flex: 1;
}
.footer-quote {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.25vw, 1.62rem);
  font-weight: 500;
  color: var(--text-muted);
}
.footer-quote em {
  font-style: normal;
  color: var(--text-primary);
}
.footer-quote-cite {
  margin-top: 0.75rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-align: right;
}
.footer-badge {
  width: 160px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-badge svg {
  width: 100%;
  height: auto;
  display: block;
}
.footer-badge:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 2rem;
  }
  .footer-band {
    padding: 2.5rem 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE — ABOUT (about/index.html)
   ═══════════════════════════════════════════════════════════════ */
.about-page {
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

.about-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 175, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-body {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.about-body .page-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-block-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-bright);
}
.about-block-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.about-block-text {
  font-size: 0.85rem;
  color: var(--titanium);
  line-height: 1.8;
}
.about-block-text + .about-block-text {
  margin-top: 1rem;
}

.principle-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.principle-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.5;
}
.principle-list li::before {
  content: "→";
  color: var(--green);
  font-family: var(--font-code);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.sitrep-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  background: rgba(47, 175, 74, 0.04);
  border-radius: 2px;
}
.sitrep-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.sitrep-text {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .about-hero {
    padding: 3rem 0 2rem;
  }
  .about-body {
    padding: 2rem 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE — TRUSTING FRAMEWORK (trusting/index.html)
   ═══════════════════════════════════════════════════════════════ */
.trusting-page {
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

.framework-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.framework-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 175, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.framework-body {
  padding: 4rem 0;
}

.framework-intro {
  font-size: 0.95rem;
  color: var(--titanium);
  line-height: 1.85;
  max-width: 760px;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.framework-intro strong {
  color: var(--text-primary);
}

/* Pillars list */
.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pillar {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}
.pillar:last-child {
  border-bottom: none;
}
.pillar-letter {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.25;
  line-height: 1;
  padding-top: 0.15rem;
}
.pillar-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.pillar-heading span {
  color: var(--green);
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}
.pillar-text {
  font-size: 0.85rem;
  color: var(--titanium);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.pillar-why {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  padding: 0.6rem 0.9rem;
  border-left: 2px solid var(--border-bright);
}

.embedded-box {
  margin: 3rem 0;
  padding: 2rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  background: rgba(47, 175, 74, 0.04);
  border-radius: 2px;
}
.embedded-box h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.embedded-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.embedded-list li {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.6;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.embedded-list li::before {
  content: "→";
  color: var(--green);
  font-family: var(--font-code);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.embedded-list li strong {
  color: var(--text-primary);
}

.mission-box {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  border: 1px solid var(--border-bright);
  background: rgba(47, 175, 74, 0.04);
  border-radius: 2px;
  text-align: center;
}
.mission-box p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
}

.lifecycle-section {
  margin: 3rem 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.lifecycle-section h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.lifecycle-section p {
  font-size: 0.85rem;
  color: var(--titanium);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 1rem;
}

.use-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.use-list li {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.6;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.use-list li::before {
  content: "→";
  color: var(--green);
  font-family: var(--font-code);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.steps-featured {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 2rem 0 1px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  overflow: hidden;
  margin: 0 0 2rem;
}
.step-card {
  background: var(--sapphire);
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.step-card.featured {
  background: var(--sapphire-mid);
  border-left: 3px solid var(--green);
}
.step-num {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.step-text {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.7;
  flex: 1;
}

.trust-mark-box {
  margin: 2rem 0;
  padding: 2rem;
  border: 1px solid var(--border-bright);
  border-left: 3px solid var(--green);
  background: rgba(47, 175, 74, 0.04);
  border-radius: 2px;
}
.trust-mark-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.trust-mark-box p {
  font-size: 0.85rem;
  color: var(--titanium);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.trust-mark-box p:last-child {
  margin-bottom: 0;
}
.trust-mark-indicators {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1rem 0;
}
.trust-mark-indicators li {
  font-size: 0.82rem;
  color: var(--titanium);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.trust-mark-indicators li::before {
  content: "✓";
  color: var(--green);
  font-family: var(--font-code);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.closing-statement {
  margin: 3rem 0 2rem;
  padding: 2rem;
  border-top: 2px solid var(--border-bright);
  text-align: center;
}
.closing-statement p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.6;
}
.closing-statement p em {
  color: var(--green);
  font-style: normal;
}

@media (max-width: 768px) {
  .framework-hero {
    padding: 3rem 0 2rem;
  }
  .framework-body {
    padding: 2rem 0;
  }
  .pillar {
    grid-template-columns: 52px 1fr;
    gap: 1rem;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE — AT VERACITY (at-veracity/index.html)
   ═══════════════════════════════════════════════════════════════ */
.atveracity-page {
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

.veracity-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.veracity-body {
  padding: 3rem 0;
}
.veracity-intro {
  font-size: 0.88rem;
  color: var(--titanium);
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* Scorecard grid */
.veracity-scorecard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.scorecard-cell {
  background: var(--sapphire);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.scorecard-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.scorecard-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
/* Scorecard color modifiers — replaces inline style="color:#..." on HTML */
.scorecard-value--pass {
  color: var(--green);
}
.scorecard-value--warn {
  color: var(--amber);
}
.scorecard-value--total {
  color: var(--text-primary);
}

.scorecard-sub {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* Prior audit record wrapper — replaces inline style block on veracity-at page */
.veracity-prior-record {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.veracity-prior-record-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.veracity-prior-record-note {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.75;
  margin-bottom: 1rem;
}
/* Prior audit findings have tighter bottom gap */
.veracity-finding--prior {
  margin-bottom: 0.4rem;
}
.veracity-prior-timestamp {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
}

/* Findings */
.veracity-category {
  margin-bottom: 2rem;
}
.veracity-cat-header {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.veracity-finding {
  display: grid;
  grid-template-columns: 70px 1fr 90px;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 3px;
  margin-bottom: 0.35rem;
  align-items: start;
  font-size: 0.82rem; /* raised from 0.78rem — AT floor compliance */
}
.veracity-finding.pass {
  background: rgba(47, 175, 74, 0.05);
  border: 1px solid rgba(47, 175, 74, 0.1);
}
.veracity-finding.warning {
  background: rgba(217, 138, 43, 0.06);
  border: 1px solid rgba(217, 138, 43, 0.15);
}
.veracity-sev {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  display: inline-block;
  margin-top: 1px;
}
.veracity-finding.pass .veracity-sev {
  color: var(--green);
  background: rgba(47, 175, 74, 0.1);
  border: 1px solid rgba(47, 175, 74, 0.2);
}
.veracity-finding.warning .veracity-sev {
  color: var(--amber);
  background: rgba(217, 138, 43, 0.1);
  border: 1px solid rgba(217, 138, 43, 0.2);
}
.veracity-rule {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.veracity-detail {
  color: var(--titanium); /* #9BA2B4 — 5.93:1 on sapphire, WCAG AA pass */
  line-height: 1.5;
}
.veracity-wcag {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-align: right;
  margin-top: 2px;
}

.veracity-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  background: rgba(47, 175, 74, 0.04);
  border-radius: 2px;
  font-size: 0.82rem; /* raised from 0.78rem — AT floor compliance */
  color: var(--titanium);
  line-height: 1.75;
}
.veracity-note strong {
  color: var(--text-primary);
}
.veracity-timestamp {
  margin-top: 2.5rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .veracity-hero {
    padding: 3rem 0 2rem;
  }
  .veracity-body {
    padding: 2rem 0;
  }
  .veracity-scorecard {
    grid-template-columns: repeat(2, 1fr);
  }
  .veracity-finding {
    grid-template-columns: 60px 1fr;
  }
  .veracity-wcag {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE — PRIVACY (privacy/index.html)
   ═══════════════════════════════════════════════════════════════ */
.privacy-page {
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

.privacy-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.privacy-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 175, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.privacy-body {
  padding: 3rem 0;
}

.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.privacy-section:last-of-type {
  border-bottom: none;
}
.privacy-section-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-bright);
}
.privacy-section h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.privacy-section p {
  font-size: 0.84rem;
  color: var(--titanium);
  line-height: 1.85;
  margin-bottom: 0.85rem;
}
.privacy-section p:last-child {
  margin-bottom: 0;
}
.privacy-section p strong {
  color: var(--text-primary);
}

/* Data practices table */
.privacy-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 600px;
}
.privacy-table thead tr {
  background: var(--sapphire-mid);
}
.privacy-table th {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.privacy-table td {
  padding: 0.7rem 1rem;
  color: var(--titanium);
  border-bottom: 1px solid rgba(155, 162, 180, 0.07);
  vertical-align: top;
  line-height: 1.55;
}
.privacy-table td:first-child {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
}
.privacy-table tr:last-child td {
  border-bottom: none;
}
.privacy-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Ad status pills */
.ad-pill {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.ad-pill.ads {
  background: rgba(217, 138, 43, 0.12);
  color: var(--amber);
  border: 1px solid rgba(217, 138, 43, 0.25);
}
.ad-pill.no-ads {
  background: rgba(47, 175, 74, 0.1);
  color: var(--green);
  border: 1px solid rgba(47, 175, 74, 0.2);
}

/* Commit box */
.privacy-commit-box {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  background: rgba(47, 175, 74, 0.04);
  border-radius: 2px;
}
.privacy-commit-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.privacy-commit-box ul li {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.55;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.privacy-commit-box ul li::before {
  content: "→";
  color: var(--green);
  font-family: var(--font-code);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.privacy-commit-box ul li strong {
  color: var(--text-primary);
}

/* Privacy meta block */
.privacy-meta {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.privacy-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.privacy-meta-label {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.privacy-meta-value {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--titanium);
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 3rem 0 2rem;
  }
  .privacy-body {
    padding: 2rem 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TRUSTING PAGE — inline style replacements
   Replaces scattered inline style="" attributes with proper classes
   ═══════════════════════════════════════════════════════════════ */

/* Embedded box supporting paragraphs */
.embedded-box-intro,
.embedded-box-outro {
  font-size: 0.82rem;
  color: var(--titanium);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.embedded-box-outro {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Mission box accent span */
.mission-accent {
  color: var(--green);
  font-style: normal;
}

/* Inline em/strong that need --text-primary color */
.text-primary-em {
  color: var(--text-primary);
  font-style: italic;
}
.text-primary-strong {
  color: var(--text-primary);
}

/* Trust mark italic quote */
.trust-mark-quote {
  font-size: 0.85rem;
  color: var(--text-muted); /* #9BA2B4 — 5.93:1 on sapphire, WCAG AA pass */
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Lifecycle section closing paragraph */
.lifecycle-closing {
  font-size: 0.85rem;
  color: var(--titanium);
  line-height: 1.8;
  margin-top: 1.5rem;
}
.lifecycle-closing strong {
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════
   PRIVACY PAGE — inline style replacements
   ═══════════════════════════════════════════════════════════════ */

/* Commit box with top margin — used in AI Say It section */
.privacy-commit-box--spaced {
  margin-top: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE — MEET FREDDY (meet-freddy/index.html)
   Migrated from inline <style> block — no inline styles on page
   ═══════════════════════════════════════════════════════════════ */

.freddy-page {
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

/* Hero — Freddy portrait + tagline side by side */
.freddy-hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 64px 0 48px;
}

.freddy-portrait {
  flex-shrink: 0;
  width: clamp(180px, 28vw, 260px);
  height: clamp(180px, 28vw, 260px);
  border-radius: 50%;
  border: 3px solid var(--green);
  box-shadow:
    0 0 32px rgba(47, 175, 74, 0.25),
    0 0 8px rgba(47, 175, 74, 0.15);
  object-fit: cover;
  display: block;
}

.freddy-intro {
  flex: 1;
}

.freddy-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--green);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.freddy-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
}

.freddy-heading em {
  font-style: normal;
  color: var(--green);
}

.freddy-tagline {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.freddy-tagline span {
  display: block;
  padding: 2px 0;
}

.freddy-tagline span::before {
  content: "// ";
  color: var(--green);
  opacity: 0.6;
}

.freddy-intro p {
  font-size: 0.9rem;
  color: var(--titanium);
  line-height: 1.75;
  margin-top: 1rem;
}

/* Descriptor badges */
.freddy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.freddy-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem; /* raised from 0.78rem — AT floor compliance */
  font-weight: 600;
  color: var(--green);
  background: rgba(47, 175, 74, 0.08);
  border: 1px solid rgba(47, 175, 74, 0.3);
  border-radius: 4px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* What Freddy does — feature grid */
.freddy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 0 0 2rem;
}

.freddy-feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
}

.freddy-feature h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.freddy-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* What Freddy is NOT */
.freddy-not {
  margin: 0 0 2rem;
  background: rgba(47, 175, 74, 0.05);
  border: 1px solid rgba(47, 175, 74, 0.2);
  border-radius: 8px;
  padding: 28px 32px;
}

.freddy-not h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.freddy-not p {
  font-size: 0.95rem;
  color: var(--titanium);
  line-height: 1.75;
  margin: 0;
}

/* Red signal dot — ghostwrites: never */
.signal-dot--red {
  background: var(--red-signal);
  box-shadow: 0 0 6px rgba(192, 57, 43, 0.5);
}

/* AI Disclosure section */
.ai-disclosure {
  margin-top: 56px;
}

.ai-disclosure-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ai-product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 16px;
}

.ai-product-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ai-product-subtitle {
  font-family: var(--font-mono);
  font-size: 0.82rem; /* raised from 0.78rem — AT floor compliance */
  color: var(--green);
  margin-bottom: 14px;
  display: block;
}

.ai-product-card p {
  font-size: 0.93rem;
  color: var(--titanium);
  line-height: 1.75;
  margin: 0 0 10px;
}

.ai-product-card p:last-child {
  margin-bottom: 0;
}

.ai-product-card ul {
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ai-product-card ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 3px 0 3px 18px;
  position: relative;
}

.ai-product-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8rem;
}

/* Future signal note */
.future-signal {
  margin: 32px 0 0;
  padding: 20px 28px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.future-signal p {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.future-signal p::before {
  content: "// ";
  color: var(--green);
  opacity: 0.5;
}

/* Freddy hero section — no bottom padding */
.freddy-hero-section {
  padding-bottom: 0;
}

@media (max-width: 640px) {
  .freddy-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0 32px;
    gap: 32px;
  }

  .freddy-tagline span {
    display: inline;
  }

  .freddy-tagline span::before {
    content: "";
  }

  .freddy-not,
  .ai-product-card {
    padding: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE — inline style replacements
   ═══════════════════════════════════════════════════════════════ */

/* Dev status note — amber code label above portfolio list */
.portfolio-status-note {
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* about-block-text with top spacing — used after link paragraphs */
.about-block-text--spaced {
  margin-top: 1.25rem;
}

/* Principle list with top margin */
.principle-list--spaced {
  margin-top: 2rem;
}
