/* === FONTS === */
/* Inter served via Google Fonts — see <link> in HTML */

/* ============================================================
   NOTHING DESIGN SYSTEM — lil.business
   Migrated from Void theme to Nothing design tokens
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  /* Backgrounds */
  --bg-void: #000000;
  --bg-surface: #111111;
  --bg-card: #161616;
  --bg-elevated: #161616;
  --bg-overlay: #222222;

  /* Borders */
  --border-subtle: #222222;
  --border-default: #333333;
  --border-strong: #333333;
  --border-interactive: #333333;

  /* Text */
  --text-primary: #E8E8E8;
  --text-secondary: #999999;
  --text-tertiary: #666666;
  --text-disabled: #666666;
  --text-inverse: #000000;

  /* Accent - Signal Red */
  --accent: #D71921;
  --accent-bright: #E8222B;
  --accent-muted: #B5151C;
  --accent-ghost: rgba(215, 25, 33, 0.10);
  --accent-glow: none;

  /* Semantic */
  --success: #4A9E5C;
  --warning: #D4A843;
  --error: #D71921;
  --info: #999999;

  /* Backward compat (old var names) */
  --black: #000000;
  --dark: #111111;
  --card: #161616;
  --border: #222222;
  --text: #E8E8E8;
  --text-muted: #E8E8E8;
  --text-dim: #999999;
  --cyan: #D71921;
  --cyan-dim: rgba(215, 25, 33, 0.15);
  --red: #D71921;
  --purple: #999999;
  --green: #4A9E5C;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing (4px grid) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows — disabled per Nothing design system */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-glow: none;
  --shadow-glow-strong: none;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.0, 0.0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.0, 0.0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.0, 0.0, 0.2, 1);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', var(--font-sans);

  /* === WARM ANIMATION CONFIG — lil.business v2 === */
  --anim-fade-duration: 0.6s;
  --anim-fade-easing: cubic-bezier(0.0, 0.0, 0.2, 1);
  --anim-stagger-delay: 0.1s;
  --anim-pulse-duration: 3s;
  --anim-shimmer-duration: 2s;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-void);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100svh;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
}

::selection {
  background: #D71921;
  color: #fff;
}

img { max-width: 100%; height: auto; display: block; content-visibility: auto; }
img[loading="lazy"] { content-visibility: auto; contain-intrinsic-size: auto 32px; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-bright); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.03em; color: #fff; text-align: center; }
h2 { font-size: clamp(28px, 3.5vw, 44px); text-align: center; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; text-align: center; }
h4 { font-size: 18px; font-weight: 500; }

p { color: var(--text-secondary); max-width: 65ch; overflow-wrap: break-word; }
code, .mono { font-family: var(--font-mono); font-size: 0.9em; }

/* Chrome autofill hack */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
  -webkit-
  -webkit-text-fill-color: var(--text-primary) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--space-6); }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  -webkit-
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 var(--space-6);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-base);
}
.nav.scrolled { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--border-default); }
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: var(--space-2); }
.logo-img { width: 32px; height: 32px; display: block; flex-shrink: 0; }
.nav-logo-text {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.logo-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition-base);
}
.nav-link:hover::after { width: 100%; }

.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text-primary); margin: 5px 0; transition: all var(--transition-fast); }

/* === HERO === */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--space-6) var(--space-16);
}
.hero-content { max-width: 720px; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.hero-title { margin-bottom: var(--space-4); }
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

/* Warm pulse on hero primary CTA */
.hero .btn-primary {
  animation: subtlePulse var(--anim-pulse-duration) ease-in-out infinite;
}

/* Nebula background — flat per Nothing design system (no gradients) */
/* WARM UPDATE: Hero gets a subtle warm radial gradient */
.nebula {
  background: radial-gradient(ellipse at 50% 0%, rgba(58, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 70%), var(--bg-void);
}

/* Trust bar */
.trust-bar { display: flex; align-items: center; justify-content: center; gap: var(--space-6); }
.trust-item { text-align: center; }
.trust-number { display: block; font-family: var(--font-mono); font-size: 24px; font-weight: 600; color: var(--text-primary); }
.trust-label { font-size: 12px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; }
.trust-divider { width: 1px; height: 32px; background: var(--border-subtle); }

/* === SECTIONS === */
.section { padding: var(--space-20) 0; contain: layout style; }
.section-alt { background: var(--bg-surface); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.section-title { margin-bottom: var(--space-4); }
.section-subtitle, .section-description { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* DEFRAG section special */
.section-defrag {
  padding: var(--space-20) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* D.E.F.R.A.G. Pillar Grid */
.defrag-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-12) 0;
}
.defrag-pillar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-6);
  text-align: center;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.defrag-pillar:hover {
  border-color: var(--accent);
}
.defrag-pillar::before, .defrag-pillar::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 0 solid var(--accent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.defrag-pillar:hover::before, .defrag-pillar:hover::after {
  opacity: 1;
}
.defrag-pillar::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.defrag-pillar::after { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.defrag-letter {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-2);
  line-height: 1;
}
.defrag-pillar h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}
.defrag-pillar p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .defrag-pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}
@media (max-width: 480px) {
  .defrag-pillars {
    grid-template-columns: 1fr;
  }
}

/* === GRID === */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  line-height: 1.5;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

.btn-primary { background: #D71921; color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--accent-bright); color: #fff; }
.btn-primary:active { opacity: 0.9; }

.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border-default); }
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: var(--border-strong); color: var(--text-primary); }

.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.35); color: #fff; }

.btn-accent { background: var(--accent); color: var(--text-inverse); }
.btn-accent:hover { background: var(--accent-bright); color: var(--text-inverse); }

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  position: relative;
}
.card:hover { border-color: var(--border-default); }
.card-title { font-size: 18px; font-weight: 500; color: var(--text-primary); margin: 0 0 var(--space-2) 0; }
.card-description { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }
.card-icon { text-align: left; }
.card-icon-wrap {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-ghost);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}
.card-icon-wrap img { width: 24px; height: 24px; filter: brightness(0) saturate(100%) invert(62%) sepia(83%) saturate(1000%) hue-rotate(150deg) brightness(95%); }

/* HUD corner brackets */
.hud-corners::before, .hud-corners::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border-color: #D71921;
  border-style: solid;
  border-width: 0;
}
.hud-corners::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.hud-corners::after { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

/* Legacy project-card compat */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}
.project-card:hover { border-color: var(--border-default); }
.project-card[data-color="cyan"]:hover { border-color: var(--accent); }
.project-card[data-color="red"]:hover { border-color: var(--error); }
.project-card[data-color="blue"]:hover { border-color: var(--info); }
.project-card[data-color="green"]:hover { border-color: var(--success); }
.project-icon { font-size: 2rem; margin-bottom: var(--space-3); display: flex; align-items: center; }
.project-icon img { width: 32px; height: 32px; }
.project-tagline { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: var(--space-2); }
.project-card h3 { font-size: 20px; margin-bottom: var(--space-2); color: var(--text-primary); }
.project-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: var(--space-3); }
.project-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.project-tags span {
  font-size: 12px; padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-default);
  color: var(--text-tertiary);
}

/* === BADGES === */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
}
.badge-accent { color: var(--accent); border-color: var(--accent-ghost); background: var(--accent-ghost); }
.badge-success { color: var(--success); border-color: rgba(74, 158, 92, 0.2); background: rgba(74, 158, 92, 0.1); }
.badge-warning { color: var(--warning); border-color: rgba(212, 168, 67, 0.2); background: rgba(212, 168, 67, 0.1); }
.badge-error { color: var(--error); border-color: rgba(215, 25, 33, 0.2); background: rgba(215, 25, 33, 0.1); }

/* === ACCENT LINE === */
.glow-line {
  height: 1px;
  background: var(--accent);
  margin: var(--space-12) 0;
}

/* === MONO + ACCENT TEXT === */
.mono { font-family: var(--font-mono); }
.glow { color: var(--accent); }

/* === NEWSLETTER === */
.newsletter-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-form { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.newsletter-input {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--transition-fast);
}
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-input::placeholder { color: var(--text-tertiary); }
.newsletter-btn {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--accent-bright); }

/* === FOOTER === */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-12) 0 var(--space-8);
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); }
.footer-tagline { font-size: 14px; color: var(--text-tertiary); margin-top: var(--space-2); }
.footer-heading {
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-link {
  font-size: 14px; color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.footer-link:hover { color: var(--text-primary); }
.footer-link img { width: 16px; height: 16px; opacity: 0.6; transition: opacity var(--transition-fast); }
.footer-link:hover img { opacity: 1; }
.footer-bottom {
  text-align: center;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}
.footer-copy { font-size: 13px; color: var(--text-tertiary); }

/* === FORMS === */
.form-group { margin-bottom: var(--space-4); }
.form-label { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: var(--space-2); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }

/* === UTILITY === */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-secondary); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.visually-hidden:focus-visible {
  position: fixed; top: 0; left: 0; z-index: 100;
  width: auto; height: auto; padding: 12px 24px;
  background: var(--accent); color: var(--text-inverse);
  clip: auto; white-space: normal;
  font-size: 14px; font-weight: 500;
}

/* === HOMEPAGE LAYOUT HELPERS === */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.section-title-xl {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.section-lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto var(--space-10);
  line-height: 1.65;
  text-align: center;
}
.section-actions {
  text-align: center;
  margin-top: var(--space-10);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}
.feature-card:hover {
  border-color: var(--border-default);
}
.icon-feature {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-4);
  filter: brightness(0) saturate(100%) invert(62%) sepia(83%) saturate(1000%) hue-rotate(150deg) brightness(95%);
}
.icon-section {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  display: block;
  filter: brightness(0) saturate(100%) invert(62%) sepia(83%) saturate(1000%) hue-rotate(150deg) brightness(95%);
}
.icon-card {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-4);
  filter: brightness(0) saturate(100%) invert(62%) sepia(83%) saturate(1000%) hue-rotate(150deg) brightness(95%);
}
.card-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.status-active { color: var(--success); border: 1px solid rgba(74, 158, 92, 0.3); background: rgba(74, 158, 92, 0.1); }
.status-dev { color: var(--warning); border: 1px solid rgba(212, 168, 67, 0.3); background: rgba(212, 168, 67, 0.1); }
.card-tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.card-tags span {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-default);
  color: var(--text-tertiary);
}
.quiz-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.section-quiz-cta {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.principle {
  padding: var(--space-6);
}
.icon-principle {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-4);
  filter: brightness(0) saturate(100%) invert(62%) sepia(83%) saturate(1000%) hue-rotate(150deg) brightness(95%);
}
.newsletter-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: var(--space-3);
}
.newsletter-success { color: var(--success); }
.newsletter-error { color: var(--error); }
.newsletter-input-group {
  display: flex;
  gap: var(--space-3);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}
.footer-brand-col { display: flex; flex-direction: column; }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: 14px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-social { display: flex; gap: var(--space-4); }
.footer-social a {
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}
.footer-social a:hover { color: var(--text-primary); }
.logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.logo .dot { color: var(--accent); }
.logo-img {
  height: 32px;
  width: 32px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
}
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--text-primary); }

/* === TERMINAL MOCKUP === */
.terminal-mockup {
  background: #000000;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: #1A1A1A;
  border-bottom: 1px solid var(--border-subtle);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot--red { background: #D71921; }
.terminal-dot--yellow { background: #D4A843; }
.terminal-dot--green { background: #4A9E5C; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: var(--space-2);
}
.terminal-body {
  padding: var(--space-5);
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre;
}
.terminal-body code {
  font-family: inherit;
  font-size: inherit;
}
.term-prompt { color: var(--accent); font-weight: 600; }
.term-cyan { color: var(--accent); }
.term-green { color: var(--success); }
.term-red { color: var(--error); font-weight: 600; }
.term-warning { color: var(--warning); font-weight: 600; }
.term-dim { color: var(--text-tertiary); }
.term-cursor {
  color: var(--accent);
  animation: cursor-blink 1.2s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === WARM ANIMATIONS — lil.business v2 === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 25, 33, 0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(215, 25, 33, 0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* DEFRAG CTA — brightest element */
.defrag-cta {
  background: #fff;
  color: #000;
  font-weight: 600;
}
.defrag-cta:hover {
  background: #fff;
  color: #000;
}

/* === MICRO-INTERACTIONS === */

/* Card hover: border brighten only — no lift per Nothing design system */
.card,
.feature-card {
  transition: border-color var(--transition-base);
}
.card:hover,
.feature-card:hover {
  border-color: var(--border-interactive);
}

/* Link underline animation (width 0 → 100% on hover) */
.nav-links a:not(.btn),
.footer-links a {
  position: relative;
}
.nav-links a:not(.btn)::after,
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition-base);
}
.nav-links a:not(.btn):hover::after,
.footer-links a:hover::after {
  width: 100%;
}

/* Button hover accent — shadows removed per Nothing design system */

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.0, 0.0, 0.2, 1), transform 0.6s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === WARM SCROLL ANIMATIONS — lil.business v2 === */

/* Animate-on-scroll: hidden until IntersectionObserver triggers */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--anim-fade-duration) var(--anim-fade-easing),
              transform var(--anim-fade-duration) var(--anim-fade-easing);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children: each direct child gains incremental delay */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--anim-fade-duration) var(--anim-fade-easing),
              transform var(--anim-fade-duration) var(--anim-fade-easing);
}
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Glass card effect — hero section only */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}

/* Warm focus states */
input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline-color: var(--accent);
  transition: outline-color var(--transition-fast);
}

/* === CARD HEIGHT EQUALIZATION === */
/* Card grids: flex stretch for equal heights */
.card-grid,
.pricing-grid,
.defrag-pillars,
.principles-grid,
.feature-grid,
.project-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.card-grid > *,
.pricing-grid > *,
.defrag-pillars > *,
.principles-grid > *,
.feature-grid > *,
.project-grid > * {
  display: flex;
  flex-direction: column;
}
/* Override grid to use flex for equal heights */
.card-grid { gap: var(--space-6); }
.card-grid > * { flex: 1 1 280px; min-width: 280px; max-width: 100%; }
.defrag-pillars { gap: var(--space-6); }
.defrag-pillars > * { flex: 1 1 280px; min-width: 280px; max-width: 100%; }
.principles-grid { gap: var(--space-6); }
.principles-grid > * { flex: 1 1 260px; min-width: 260px; max-width: 100%; }
.feature-grid { gap: var(--space-6); }
.feature-grid > * { flex: 1 1 260px; min-width: 260px; max-width: 100%; }
.project-grid { gap: var(--space-6); }
.project-grid > * { flex: 1 1 280px; min-width: 280px; max-width: 100%; }

/* Cards: flex column with CTA pinned to bottom */
.card,
.pricing-card,
.defrag-pillar,
.principle,
.feature-card,
.project-card {
  display: flex;
  flex-direction: column;
}

/* Pin CTAs to the bottom of cards */
.pricing-card .cta-link,
.pricing-card .btn,
.pricing-card .details-link:last-child,
.card .btn,
.feature-card .btn,
.project-card .btn {
  margin-top: auto;
}

/* CTA link inside pricing cards — layout wrapper for .btn */
.pricing-card .cta-link {
  display: block;
  text-align: center;
}

/* Pricing card list pushes CTA down */
.pricing-card ul {
  flex: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 56px; left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    gap: var(--space-4);
  }
  .nav-mobile-toggle,
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; padding-top: 100px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .trust-bar { flex-wrap: wrap; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input-group { flex-direction: column; }
  .section { padding: var(--space-12) 0; }
  .terminal-body { font-size: 11px; padding: var(--space-3); }
  .terminal-mockup { margin: 0 auto var(--space-8); }
  .container { padding: 0 1rem; }
  .container-narrow { padding: 0 1rem; }
  .pricing-grid > * { min-width: 260px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .container-narrow { padding: 0 0.75rem; }

  /* Card grids: force single column */
  .card-grid > *,
  .defrag-pillars > *,
  .principles-grid > *,
  .feature-grid > *,
  .project-grid > * {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  /* Pricing grid from pricing.html inline styles */
  .pricing-grid > * {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Pricing card padding reduction */
  .pricing-card {
    padding: var(--space-4) !important;
  }

  /* Buttons: allow text wrapping on tiny screens */
  .btn {
    white-space: normal !important;
    max-width: 100%;
  }

  .newsletter-btn {
    white-space: normal !important;
    max-width: 100%;
  }

  /* Comparison table: scrollable with touch */
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    font-size: 0.75rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-1) var(--space-2);
    font-size: 0.7rem;
  }

  /* Why grid: single column */
  .why-grid {
    grid-template-columns: 1fr !important;
  }

  /* Trust badges grid */
  .trust-badges {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Defrag strip: allow wrapping tightly */
  .defrag-strip {
    gap: var(--space-2);
  }
  .defrag-strip-item {
    min-width: 60px;
    padding: var(--space-2) var(--space-3);
  }
  .defrag-strip-letter {
    font-size: 1.5rem;
  }

  /* Card-value badges may wrap */
  .card-value {
    white-space: normal !important;
  }

  /* Commit hash badges may wrap */
  .commit-hash {
    white-space: normal !important;
    flex-shrink: 1;
  }

  /* Guarantee box padding */
  .guarantee-box {
    padding: var(--space-4) !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* === PRINT === */
@media print {
  body { background: #fff !important; color: #000 !important; }
  .nav, .footer, .newsletter-box, .hero-actions { display: none !important; }
  a { color: #000 !important; text-decoration: underline !important; }
  .card, .project-card { border: 1px solid #ccc !important; background: #fff !important; }
  .section, .section-alt, .section-defrag { background: #fff !important; }
  h1, h2, h3, h4 { color: #000 !important; }
  p { color: #333 !important; }
}

/* === ASPECT-RATIO RESPONSIVE — lil.business v2 === */
/* 21:9 ultrawide: constrain max width, center content */
@media (min-aspect-ratio: 21/9) {
  .container { max-width: 1600px; }
  .nav-inner { max-width: 1600px; }
}

/* 9:16 tall mobile: reduce font sizes, single-column grids */
@media (max-aspect-ratio: 9/16) {
  html { font-size: 16px; }
  body { font-size: 15px; }
  .hero h1, .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
}

/* Portrait orientation: force single-column layouts */
@media (orientation: portrait) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .animate-on-scroll,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero .btn-primary {
    animation: none !important;
    box-shadow: none !important;
  }
  .term-cursor {
    animation: none !important;
    opacity: 1 !important;
  }
  .card:hover,
  .feature-card:hover,
  .btn:hover,
  .project-card:hover {
    transform: none !important;
  }
}

/* === FORCED COLORS (Windows High Contrast) === */
@media (forced-colors: active) {
  .btn { border: 1px solid ButtonText; }
  .card, .project-card { border: 1px solid ButtonText; }
  .nav { border-bottom: 1px solid ButtonText; }
  a { color: LinkText; }
  .glow-line { background: ButtonText; }
}

/* === FOCUS INDICATORS === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:focus-visible { }

/* === PRODUCT PAGE CTA BUTTONS === */
/* .cta-btn: backward-compatible alias matching .btn.btn-primary */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #D71921;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 150ms cubic-bezier(0.0, 0.0, 0.2, 1);
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}
.cta-btn:hover {
  background: #E8222B;
  color: #fff;
  transform: translateY(-1px);
}
.cta-btn:active {
  transform: translateY(0);
}

/* Product page hero + CTA centering */
.product-hero {
  text-align: center;
  padding: 2rem 0 4rem;
}
.product-hero .container {
  text-align: center;
}
.product-hero .tagline {
  margin-left: auto;
  margin-right: auto;
}
.product-hero p {
  margin-left: auto;
  margin-right: auto;
}
.product-hero-icon {
  margin: 0 auto var(--space-4);
  text-align: center;
}
.price-box {
  text-align: center;
}
.final-cta {
  text-align: center;
  padding: var(--space-20) 0;
}
.final-cta .container {
  text-align: center;
}
.final-cta .price-box {
  text-align: center;
}

/* Breadcrumb styles (shared) */
.breadcrumb {
  padding: 5.5rem 1.5rem 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb .sep {
  margin: 0 0.5rem;
  color: var(--text-dim);
}

/* Nav active state */
.nav-links a[aria-current="page"],
.nav-links a.active {
  color: var(--accent);
}
.nav-links a:not(.btn).active::after,
.nav-links a:not(.btn)[aria-current="page"]::after {
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
/* Don't apply underline to the CTA button */
.nav-links a.btn.active::after { display: none; }

/* FAQ Section */
.faq-section {
  padding: var(--space-20) 0;
}
.faq-section .section-title {
  margin-bottom: 2rem;
}
.faq-item {
  border-bottom: 1px solid #222222;
  padding: 1.25rem 0;
}
.faq-q {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform var(--transition-fast);
}
.faq-item.open .faq-q::after {
  content: '-';
}
.faq-a {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.faq-item.open .faq-a {
  max-height: 500px;
}

/* === CENTERING FIXES — Text alignment audit 2026-03-25 === */

/* Eyebrow outside .section-header should center in centered parents */
.section-defrag > .container > .eyebrow,
.section-defrag > .container > .section-title-xl {
  text-align: center;
}
.section-defrag .section-lead {
  text-align: center;
}
.section-defrag .section-actions {
  text-align: center;
}

/* Homepage sections: eyebrow, titles, subtitles outside .section-header */
#solutions > .container > .eyebrow,
#solutions > .container > .section-title,
#solutions > .container > .section-subtitle,
#about > .container > .eyebrow,
#about > .container > .section-title,
#about > .container > .section-subtitle {
  text-align: center;
}

/* Section subtitle/description — auto-center when in centered context */
.section-subtitle,
.section-description,
.section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Paragraphs inside text-center containers — auto-center with max-width */
.final-cta p,
.bundle-cta p,
.quiz-cta-content p,
.section-header p,
.section-actions p,
#newsletter p,
#contact p {
  margin-left: auto;
  margin-right: auto;
}

/* Newsletter + Contact sections on homepage — center all content */
#newsletter > .container,
#contact > .container {
  text-align: center;
}
#newsletter > .container .section-title,
#newsletter > .container .section-subtitle,
#contact > .container .section-title,
#contact > .container .section-subtitle {
  text-align: center;
}
/* Keep newsletter form inputs left-aligned within centered box */
#newsletter .newsletter-input {
  text-align: left;
}

/* Products index: bundle-cta section */
.bundle-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}
.bundle-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}
.bundle-cta p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-6);
  line-height: 1.65;
}
.bundle-cta a {
  display: inline-block;
  padding: 1rem 2rem;
  background: #D71921;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition-fast));
}
.bundle-cta a:hover {
  background: var(--accent-bright);
  color: #fff;
  transform: translateY(-1px);
}

/* Products index: products-hero centering */
.products-hero {
  text-align: center;
  padding: 120px var(--space-6) var(--space-12);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.products-hero .container {
  text-align: center;
  max-width: 720px;
}
.products-hero .hero-icon {
  margin: 0 auto var(--space-4);
  display: flex;
  justify-content: center;
}
.products-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: var(--space-4);
}
.products-hero .tagline {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Products index: filter-bar centering */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}
.filter-btn {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-default, rgba(255,255,255,0.10));
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast));
  font-family: var(--font-sans);
}
.filter-btn:hover {
  border-color: var(--border-strong, rgba(255,255,255,0.15));
  color: var(--text-primary);
}
.filter-btn.active {
  background: var(--accent-ghost);
  border-color: var(--accent);
  color: var(--accent);
}

/* Products section */
.products-section {
  padding: var(--space-12) 0 var(--space-20);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

/* Product card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base));
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--border-default, rgba(255,255,255,0.10));
  transform: translateY(-2px);
}
.product-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}
.product-card h3 a:hover {
  color: var(--accent);
}
.product-card .desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.product-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}
.product-card .card-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}
.product-card .card-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.product-card .card-link {
  font-size: 14px;
  color: var(--accent);
}

/* Product card badges */
.card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.badge-security {
  color: var(--accent);
  border: 1px solid #D71921;
  background: rgba(215, 25, 33, 0.1);
}
.badge-ai {
  color: var(--purple);
  border: 1px solid rgba(153, 153, 153, 0.3);
  background: rgba(153, 153, 153, 0.1);
}
.badge-compliance {
  color: var(--success);
  border: 1px solid rgba(74, 158, 92, 0.3);
  background: rgba(74, 158, 92, 0.1);
}
.badge-industry {
  color: var(--warning);
  border: 1px solid rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.1);
}
.badge-premium {
  color: var(--accent);
  border: 1px solid #D71921;
  background: rgba(215, 25, 33, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Featured banner on products index */
.featured-banner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.featured-banner .fb-icon {
  flex-shrink: 0;
}
.featured-banner .fb-content {
  flex: 1;
}
.featured-banner .fb-content h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: var(--space-2);
}
.featured-banner .fb-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.featured-banner .fb-cta {
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
}
.featured-banner .fb-price {
  text-align: center;
  flex-shrink: 0;
}
.featured-banner .fb-price .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.featured-banner .fb-price .sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  .featured-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* === Product detail pages — center section headings === */
.pain-section .section-title,
.pain-section .section-subtitle,
.timeline-section .section-title,
.timeline-section .section-subtitle,
.value-stack .section-title,
.value-stack .section-subtitle,
.includes-section .section-title,
.includes-section .section-subtitle,
.curriculum-section .section-title,
.curriculum-section .section-subtitle,
.comparison-section .section-title,
.comparison-section .section-subtitle,
.proof-section .section-title,
.proof-section .section-subtitle,
.who-section .section-title,
.who-section .section-subtitle,
.guarantee-section .section-title,
.guarantee-section .section-subtitle,
.faq-section .section-title,
.faq-section .section-subtitle {
  text-align: center;
}

/* === LEGAL / POLICY PAGES === */
.hero-compact {
  min-height: 32vh;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.policy-block {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-subtle);
}

.policy-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.policy-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.policy-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.policy-block p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.policy-block ul {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.policy-block ul li {
  margin-bottom: var(--space-2);
}

.policy-block a {
  color: var(--accent);
  text-decoration: none;
}

.policy-block a:hover {
  text-decoration: underline;
}

/* click-to-copy email */
.copy-email {
  cursor: pointer;
  color: inherit;
  text-decoration: underline dotted;
  transition: color 0.15s;
}
.copy-email:hover { color: var(--cyan, #D71921); }
.copy-email.copied { color: var(--cyan, #D71921); text-decoration: none; }

/* === Shared utility — product page icon images === */
.icon-inline {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
  filter: brightness(0) invert(1);
}

/* Last-updated timestamp on product pages */
.last-updated {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  display: block;
}

/* ===================================================================
   Product detail page — section layouts
   (pain, value, curriculum, timeline, comparison, proof, who,
    guarantee, pricing, and miscellaneous utility classes)
   =================================================================== */

/* ------------------------------------------------------------------
   Icon wrapper — bare .icon div housing an SVG or inline img
   ------------------------------------------------------------------ */
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(215, 25, 33, 0.10);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

/* ------------------------------------------------------------------
   Pain section grid
   ------------------------------------------------------------------ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.pain-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.pain-item:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}

.pain-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.pain-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* ------------------------------------------------------------------
   Value / what's included grid
   ------------------------------------------------------------------ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.value-item:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-3) 0;
  line-height: 1.4;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* Bonus item — cyan left-border accent variant of value-item */
.bonus-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.bonus-item:hover {
  border-color: var(--border-default);
  border-left-color: var(--accent);
  transform: translateY(-2px);
}

.bonus-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-3) 0;
  line-height: 1.4;
}

.bonus-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* .val — small inline value/price label in card headings */
.val {
  display: inline;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  opacity: 0.8;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Total value block below the grid */
.total-value {
  text-align: center;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-8);
}

/* Old / crossed-out price */
.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

/* New / highlighted price */
.new-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

/* Savings label */
.savings {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--green);
}

/* ------------------------------------------------------------------
   Curriculum grid
   ------------------------------------------------------------------ */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.curriculum-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.curriculum-item:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}

.curriculum-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-3) 0;
}

.curriculum-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* Step number — oversized cyan numeral inside curriculum/numbered items */
.number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
}

/* ------------------------------------------------------------------
   Timeline
   ------------------------------------------------------------------ */
.timeline-item {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2) 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-3) 0;
  max-width: none;
}

.timeline-item ul {
  list-style: disc;
  padding-left: var(--space-6);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

.timeline-item ul li {
  margin-bottom: var(--space-1);
}

/* Week label — mono pill anchoring each timeline entry */
.week {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex-shrink: 0;
  width: 4.5rem;
  padding-top: 0.2rem;
  line-height: 1.5;
  text-align: right;
}

/* ------------------------------------------------------------------
   Comparison table
   ------------------------------------------------------------------ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) auto;
}

.comparison-table th {
  text-align: center;
  padding: var(--space-3) var(--space-4);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border);
  background: transparent;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
  vertical-align: middle;
}

.comparison-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Checkmark cell */
.check {
  color: var(--accent);
  font-weight: 600;
}

/* Cross/no cell */
.cross {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Price cell in comparison table */
.price-cell {
  font-weight: 700;
  color: var(--text-primary);
}

/* ------------------------------------------------------------------
   Proof / stats strip
   ------------------------------------------------------------------ */
.proof-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
  padding: var(--space-8) 0;
}

.proof-stat {
  text-align: center;
  min-width: 120px;
}

.proof-stat .number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  opacity: 1; /* Override the general .number opacity:0.3 for this context */
  margin-bottom: var(--space-1);
}

.proof-stat .label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ------------------------------------------------------------------
   Who it's for grid
   ------------------------------------------------------------------ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.who-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.who-card:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
}

.who-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-3) 0;
}

.who-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* ------------------------------------------------------------------
   Guarantee box
   ------------------------------------------------------------------ */
.guarantee-box {
  background: var(--bg-card);
  border: 1px solid #D71921;
  border-radius: calc(var(--radius-lg) * 1.33);
  padding: var(--space-8);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.guarantee-box h3,
.guarantee-box h2 {
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.guarantee-box p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: none;
}

/* Shield icon div — larger .icon variant for guarantee sections */
.shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(215, 25, 33, 0.10);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  margin: 0 auto var(--space-4) auto;
}

/* ------------------------------------------------------------------
   Pricing display
   ------------------------------------------------------------------ */
.your-price {
  text-align: center;
  padding: var(--space-6) 0;
}

/* Alias for .new-price */
.current-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

/* Alias for .old-price */
.original-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

/* Inline /month or currency suffix */
.month {
  font-size: 0.75rem;
  color: var(--text-muted);
  vertical-align: middle;
  font-weight: 400;
  margin-left: 0.15em;
}

/* "Best Value" / "Most Popular" badge */
.most-popular {
  display: inline-block;
  background: var(--accent-bright);
  color: var(--text-inverse);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15em 0.5em;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
  margin-left: var(--space-2);
}

/* ------------------------------------------------------------------
   Miscellaneous utility
   ------------------------------------------------------------------ */

/* Horizontal rule divider */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: var(--space-8) 0;
}

/* Fine print text below CTAs or forms */
.fine-print {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* Highlight span — cyan accent in headings */
.highlight {
  color: var(--accent);
}

/* Dimmed secondary text block */
.text-dim {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Trust row — horizontal list of trust signals */
.trust-row {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* ------------------------------------------------------------------
   Value card variants and includes list
   ------------------------------------------------------------------ */

/* Generic surface card */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-base);
}

.value-card:hover {
  border-color: var(--border-default);
}

/* Flex row variant */
.value-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.value-row:last-child {
  border-bottom: none;
}

/* Card value — e.g. "$97 value" badge inside a card */
.card-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0.75;
  white-space: nowrap;
}

/* Includes list — feature list inside product cards */
.includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.includes-list li {
  display: flex;
  flex-direction: row;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.includes-list li:last-child {
  border-bottom: none;
}

/* ------------------------------------------------------------------
   Responsive overrides for product page components
   ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .pain-grid,
  .value-grid,
  .curriculum-grid,
  .who-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
    gap: var(--space-3);
  }

  .week {
    width: auto;
    text-align: left;
  }

  .proof-stats {
    gap: var(--space-4);
  }

  .proof-stat {
    min-width: 90px;
  }

  .new-price,
  .current-price {
    font-size: 1.75rem;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: var(--space-2) var(--space-3);
  }
}

@media (max-width: 480px) {
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pain-item,
  .value-item,
  .bonus-item,
  .curriculum-item,
  .who-card,
  .value-card {
    transition: none;
  }
}

@media (forced-colors: active) {
  .pain-item,
  .value-item,
  .bonus-item,
  .curriculum-item,
  .who-card,
  .guarantee-box,
  .value-card {
    border: 1px solid ButtonText;
  }

  .check { color: ButtonText; }
  .cross { color: GrayText; }
  .most-popular { background: ButtonText; color: ButtonFace; }
}

/* ============================================================
   TERMINAL / GITHUB-STARS REDESIGN COMPONENTS
   v2026-04-06 — append-only, no existing classes modified
   ============================================================ */

/* --- Nav logo terminal style --- */
.nav-logo-terminal {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* --- Terminal Window Shell --- */
.terminal-window {
  background: var(--card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  font-family: var(--mono);
  font-size: 0.875rem;
  overflow: hidden;
}

.terminal-window-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  user-select: none;
}

.terminal-window-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: var(--space-2);
  letter-spacing: 0.02em;
}

.terminal-dot-red,
.terminal-dot-yellow,
.terminal-dot-green {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.terminal-dot-red    { background: #444444; }
.terminal-dot-yellow { background: #444444; }
.terminal-dot-green  { background: #444444; }

.terminal-window-body {
  padding: var(--space-6);
  line-height: 1.7;
}

.terminal-window-compact .terminal-window-body {
  padding: var(--space-4) var(--space-6);
}

/* --- Terminal Hero Section --- */
.hero-terminal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  padding: 8rem 0 4rem;
  position: relative;
}

.hero-terminal .terminal-window {
  max-width: 780px;
  margin: 0 auto;
}

.terminal-line {
  display: block;
  margin-bottom: var(--space-1);
  font-family: var(--mono);
}

.terminal-response {
  color: var(--text-muted);
  padding-left: var(--space-4);
  margin-bottom: var(--space-3);
}

.terminal-prompt-char {
  color: var(--accent);
  font-weight: 700;
  margin-right: var(--space-2);
  user-select: none;
}

.terminal-cmd {
  color: var(--text);
}

/* --- Typewriter --- */
.typewriter-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  margin-left: 2px;
  animation: none;
}

.typewriter-cursor.typewriter-blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter-cursor { animation: none; }
}

/* --- Hero terminal action buttons --- */
.hero-terminal-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.btn-terminal-cmd {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--accent-bright);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-terminal-cmd:hover {
  background: #E8222B;
}

.btn-terminal-cmd-lg {
  font-size: 1.1rem;
  padding: var(--space-4) var(--space-8);
}

.btn-terminal-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-terminal-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* --- Trust Strip --- */
.trust-strip-terminal {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-8) 0;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.trust-stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--mono);
  font-size: 0.825rem;
  padding: var(--space-3) 0;
}

.trust-stat-key {
  color: var(--text-muted);
}

.trust-stat-sep {
  color: var(--text-dim);
  margin: 0 var(--space-1);
}

.trust-stat-value {
  color: var(--accent);
  font-weight: 600;
}

/* --- ls -la Services Grid --- */
.ls-header {
  display: grid;
  grid-template-columns: 110px 24px 1fr 1fr 80px;
  gap: var(--space-3);
  padding: var(--space-2) 0 var(--space-3);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
}

.ls-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ls-row {
  display: grid;
  grid-template-columns: 110px 24px 1fr 1fr 80px;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: background 0.15s;
  border-radius: var(--radius-sm);
}

.ls-row:last-child {
  border-bottom: none;
}

.ls-row:hover {
  background: rgba(215, 25, 33, 0.04);
}

.ls-row:hover .ls-name {
  color: var(--accent);
}

.ls-perms {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: -0.02em;
}

.ls-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.ls-row:hover .ls-icon {
  opacity: 1;
}

.ls-name {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.15s;
}

.ls-desc {
  font-family: var(--font);
  font-size: 0.825rem;
  color: var(--text-muted);
}

.ls-price {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--green);
  text-align: right;
}

.ls-col-perms { grid-column: 1; }
.ls-col-name  { grid-column: 2 / 4; }
.ls-col-desc  { grid-column: 4; }
.ls-col-price { grid-column: 5; text-align: right; }

/* --- git log Timeline --- */
.git-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.git-log-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
}

.git-log-item:last-child {
  border-bottom: none;
}

.commit-hash {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--cyan-dim);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.commit-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--cyan-dim);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(215, 25, 33, 0.2);
}

.commit-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.commit-title {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.commit-body {
  font-family: var(--font);
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- git log posts variant --- */
.git-log-posts .git-log-item {
  align-items: center;
  padding: var(--space-3) 0;
}

.commit-post-link {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.commit-post-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.git-log-footer {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  margin-top: var(--space-2);
}

/* --- CTA Terminal Section --- */
.section-cta-terminal {
  background: var(--black);
  padding: var(--space-20) 0;
}

.terminal-window-cta .terminal-window-body {
  text-align: center;
  padding: var(--space-10) var(--space-8);
}

.terminal-cta-lead {
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

/* --- Terminal prompt pseudo-element utility --- */
.terminal-prompt::before {
  content: '> ';
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
}

/* --- Responsive: mobile adjustments --- */
@media (max-width: 768px) {
  .ls-header {
    display: none;
  }

  .ls-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: var(--space-1);
    padding: var(--space-4) var(--space-2);
  }

  .ls-perms { display: none; }
  .ls-icon  { display: none; }

  .ls-name {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.875rem;
  }

  .ls-desc {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.8rem;
  }

  .ls-price {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    font-size: 0.75rem;
  }

  .trust-stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .hero-terminal {
    padding: 6rem 0 3rem;
  }

  .hero-terminal-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .terminal-window-body {
    padding: var(--space-4);
  }

  .terminal-cta-lead {
    font-size: 0.95rem;
  }

  .terminal-window-cta .terminal-window-body {
    padding: var(--space-8) var(--space-4);
  }

  .git-log-item {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
}

@media (max-width: 480px) {
  .terminal-window-title {
    display: none;
  }

  .btn-terminal-cmd {
    font-size: 0.78rem;
    padding: var(--space-3) var(--space-4);
    word-break: break-all;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-window,
  .ls-row,
  .commit-post-link,
  .btn-terminal-cmd,
  .btn-terminal-ghost {
    transition: none;
  }
}

@media (forced-colors: active) {
  .terminal-window {
    border: 2px solid ButtonText;
  }
  .commit-hash,
  .commit-letter {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
  }
  .ls-row:hover {
    background: Highlight;
  }
  .btn-terminal-cmd {
    background: ButtonText;
    color: ButtonFace;
  }
  .btn-terminal-ghost {
    border: 1px solid ButtonText;
    color: ButtonText;
  }
}

/* === PRICING PAGE STYLES (moved from pricing.html inline block) === */
.icon-inline{width:1em;height:1em;vertical-align:-0.125em;display:inline-block;filter:brightness(0) invert(1)}
.pricing-grid{display:flex;flex-wrap:wrap;align-items:stretch;gap:var(--space-6);margin-top:var(--space-8)}
.pricing-grid>*{flex:1 1 300px;min-width:300px;max-width:100%}
.pricing-card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:12px;padding:var(--space-8);position:relative;transition:border-color 0.2s;display:flex;flex-direction:column}
.pricing-card:hover{border-color:var(--border-default)}
.pricing-card.featured{border-color:var(--accent);font-size:0.8rem;color:var(--accent);letter-spacing:0.05em;margin-bottom:var(--space-2)}
.pricing-card h3{font-size:1.25rem;font-weight:500;color:var(--text-primary);margin:0 0 var(--space-3)}
.pricing-card .price{font-size:2rem;font-weight:600;color:var(--text-primary);margin-bottom:var(--space-1)}
.pricing-card .price span{font-size:0.85rem;font-weight:400;color:var(--text-secondary)}
.pricing-card .duration{font-size:0.85rem;color:var(--text-secondary);margin-bottom:var(--space-4)}
.pricing-card ul{list-style:none;padding:0;margin:0 0 var(--space-6);flex:1}
.pricing-card ul li{padding:0.4rem 0;font-size:0.9rem;color:var(--text-secondary);padding-left:1.4rem;position:relative}
.pricing-card ul li::before{content:'';position:absolute;left:0;top:0.65rem;width:8px;height:8px;border-radius:50%;background:var(--accent);opacity:0.6}
.pricing-card .cta-link{display:block;text-align:center;text-decoration:none;transition:all 0.2s;margin-top:auto}
.pricing-card .details-link{display:block;text-align:center;margin-top:var(--space-2);font-size:0.8rem;color:var(--text-secondary)}
.pricing-card .details-link:hover{color:var(--accent)}
/* defrag-card: accent border for D.E.F.R.A.G. tiers — corner accents via hud-corners */
.defrag-card{border-color:var(--accent);box-shadow:0 0 20px rgba(215,25,33,0.08)}
.badge-featured{background:rgba(215,25,33,0.15);color:var(--accent);font-size:0.75rem;padding:0.25rem 0.75rem;border-radius:20px;display:inline-block;margin-bottom:var(--space-3);font-family:var(--font-mono);letter-spacing:0.05em}
.urgency-badge{display:inline-block;background:rgba(215,25,33,0.15);color:var(--accent);font-size:0.7rem;padding:0.15rem 0.5rem;border-radius:10px;margin-left:0.5rem;vertical-align:middle}
.comparison-table{width:100%;border-collapse:collapse;margin-top:var(--space-6);font-size:0.9rem}
.comparison-table th,.comparison-table td{padding:0.75rem 1rem;text-align:left;border-bottom:1px solid var(--border-subtle)}
.comparison-table th{font-weight:500;color:var(--text-secondary);font-size:0.8rem;text-transform:uppercase;letter-spacing:0.05em}
.comparison-table .highlight-col{color:var(--accent);font-weight:500}
.comparison-table .check{color:#4A9E5C}.comparison-table .cross{color:var(--text-secondary);opacity:0.6}.comparison-table .partial{color:#D4A843}
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--space-6);margin-top:var(--space-6)}
.why-card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:12px;padding:var(--space-6)}
.why-card h4{font-size:1rem;color:var(--text-primary);margin-bottom:var(--space-2)}
.why-card p{font-size:0.9rem;color:var(--text-secondary);line-height:1.6}
.guarantee-box{background:var(--bg-surface);border:1px solid var(--accent);border-radius:12px;padding:var(--space-8);text-align:center;margin-top:var(--space-8)}
.guarantee-box .badge{display:inline-block;background:rgba(215,25,33,0.15);color:var(--accent);font-size:0.75rem;padding:0.25rem 0.75rem;border-radius:20px;margin-bottom:var(--space-3);font-family:var(--font-mono)}
.guarantee-box h4{color:var(--text-primary);margin-bottom:var(--space-3)}
.guarantee-box p{color:var(--text-secondary);max-width:600px;margin:0 auto;line-height:1.6}
.trust-badges{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-4);margin-top:var(--space-6);text-align:center}
.trust-badge .label{font-size:0.85rem;color:var(--text-secondary);line-height:1.4}
.trust-badge .label small{font-size:0.75rem;opacity:0.7}
.faq-item{border-bottom:1px solid var(--border-subtle);padding:var(--space-4) 0}
.faq-q{font-weight:500;color:var(--text-primary);cursor:pointer}
.faq-a{color:var(--text-secondary);margin-top:var(--space-2);line-height:1.6;font-size:0.9rem;max-height:0;overflow:hidden;transition:max-height 0.3s ease}
.faq-item.open .faq-a{max-height:500px}
.faq-cta{text-align:center;margin-top:var(--space-8)}
.faq-cta-text{color:var(--text-secondary);margin-bottom:var(--space-3)}
.faq-cta-btn{margin-top:var(--space-3)}
.defrag-strip{display:flex;justify-content:center;gap:var(--space-4);margin:var(--space-8) 0;flex-wrap:wrap}
.defrag-strip-item{display:flex;flex-direction:column;align-items:center;gap:var(--space-1);padding:var(--space-4) var(--space-5);background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:12px;transition:border-color 0.2s;min-width:80px}
.defrag-strip-item:hover{border-color:var(--accent)}
.defrag-strip-letter{font-family:var(--font-mono);font-size:2rem;font-weight:700;color:var(--accent);line-height:1}
.defrag-strip-label{font-size:0.75rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:0.05em;font-family:var(--font-mono)}
@media(max-width:480px){
  .pricing-grid>*{flex:1 1 100%;min-width:0;max-width:100%}
  .pricing-card{padding:var(--space-4)}
  .pricing-card .price{font-size:1.5rem}
  .comparison-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;font-size:0.75rem}
  .comparison-table th,.comparison-table td{padding:0.4rem 0.5rem;font-size:0.7rem}
  .why-grid{grid-template-columns:1fr}
  .trust-badges{grid-template-columns:repeat(2,1fr)}
  .defrag-strip{gap:var(--space-2)}
  .defrag-strip-item{min-width:60px;padding:var(--space-2) var(--space-3)}
  .defrag-strip-letter{font-size:1.5rem}
  .guarantee-box{padding:var(--space-4)}
  .btn{white-space:normal;max-width:100%}
}

/* === REDESIGN 2026-04-08: BUYER-FOCUSED HOMEPAGE === */

/* Hero tag (replaces hero-eyebrow) */
.hero-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  display: block;
}

/* Trust grid — clean stat block, no terminal chrome */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-8);
}
.trust-stat {
  text-align: center;
  padding: var(--space-4);
}
.trust-stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.trust-stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Industries grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  transition: border-color 0.2s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.industry-item:hover {
  border-color: var(--border-default);
}
.industry-item .icon {
  color: var(--text-secondary);
}

/* Security quiz callout block */
.quiz-callout {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-10);
  text-align: center;
}
.quiz-callout .icon {
  color: var(--text-secondary);
  display: block;
  margin-bottom: var(--space-4);
}
.quiz-callout h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.quiz-callout p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-6);
  line-height: 1.6;
}

/* Project link inside cards */
.project-link {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-2);
}
.project-card .btn {
  margin-top: var(--space-3);
  width: 100%;
  text-align: center;
}

/* Dark / Light mode variables */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8f8f8;
    --text: #111111;
    --accent: #D71921;
  }
}

/* Responsive: trust grid on mobile */
@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: 1fr;
    padding: var(--space-5);
  }
  .trust-stat {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: var(--space-4);
  }
  .trust-stat:last-child {
    border-bottom: none;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quiz-callout {
    padding: var(--space-6);
  }
}

/* === NEWSLETTER SIGNUP CTA (Blog Post) === */
.newsletter-cta {
  background: #0a0a0a;
  border: 1px solid #222222;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin: 3rem auto;
  max-width: 640px;
  text-align: center;
}
.newsletter-cta__heading {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}
.newsletter-cta__subtext {
  font-size: 0.9rem;
  color: #888888;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
  max-width: none;
}
.newsletter-cta__form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-cta__input {
  flex: 1;
  padding: 0.65rem 0.875rem;
  background: #111111;
  border: 1px solid #333333;
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 150ms;
}
.newsletter-cta__input:focus {
  outline: none;
  border-color: #D71921;
}
.newsletter-cta__input::placeholder {
  color: #666666;
}
.newsletter-cta__btn {
  padding: 0.65rem 1.25rem;
  background: #D71921;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms;
}
.newsletter-cta__btn:hover {
  background: #E8222B;
}
.newsletter-cta__disclaimer {
  font-size: 0.75rem;
  color: #666666;
  margin: 0.75rem 0 0 0;
  max-width: none;
}
@media (max-width: 600px) {
  .newsletter-cta {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }
  .newsletter-cta__form {
    flex-direction: column;
  }
  .newsletter-cta__btn {
    width: 100%;
  }
}

/* === DEFRAG Page Specific Styles === */

/* 4-column pricing grid */
.pricing-grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  max-width: 1200px;
  margin: var(--space-8) auto 0;
}

.pricing-grid-four .pricing-card {
  text-align: center;
}

.pricing-grid-four .pricing-card ul {
  text-align: left;
}

/* Featured pricing card (Managed tier) */
.pricing-card.featured {
  border-color: var(--accent);
}

/* Comparison table wrapper for mobile scroll */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-8);
  -webkit-overflow-scrolling: touch;
}

.comparison-table-wrapper .comparison-table {
  min-width: 700px;
}

/* Price rows in comparison table */
.comparison-table tr.price-row {
  background: var(--bg-surface);
}

.comparison-table tr.price-row td {
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table td.price-cell {
  font-weight: 600;
  color: var(--text-primary);
}

/* CTA Box */
.cta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Section CTA styling */
.section-cta {
  padding: var(--space-16) 0;
}

/* Responsive adjustments for DEFRAG page */
@media (max-width: 1024px) {
  .pricing-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid-four {
    grid-template-columns: 1fr;
  }
  .pricing-grid-four .pricing-card {
    max-width: 400px;
    margin: 0 auto;
  }
  .cta-box {
    padding: var(--space-8) var(--space-5);
    margin: 0 var(--space-4);
  }
}

/* Shop Page Styles */
.shop-hero {
  padding: 140px 0 60px;
  text-align: center;
}
.shop-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.shop-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 5rem;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}
.product-card:hover {
  border-color: var(--accent);
}
.product-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-security { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-visible); }
.badge-ai       { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-visible); }
.badge-threat   { background: transparent; color: var(--accent);         border: 1px solid var(--accent); }
.product-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.product-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.product-includes {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.product-includes li {
  font-size: .85rem;
  color: var(--text-muted);
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.product-includes li:last-child { border-bottom: none; }
.product-includes li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent-bright);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  margin-right: .5rem;
  flex-shrink: 0;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.product-price span {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: .25rem;
}
.btn-buy {
  background: var(--accent-bright);
  color: #000;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s;
}
.btn-buy:hover {
  transform: translateY(-2px);
}
.guarantee {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.guarantee h3 {
  margin-bottom: 1rem;
}
.guarantee p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   NEWSLETTER SIGNUP — Warm centered band
   ============================================================ */
#newsletter-signup {
  padding: var(--space-20) var(--space-6);
  text-align: center;
}

.ns-container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.ns-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

h2.ns-headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.ns-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ns-form {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  align-items: center;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.ns-field {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.ns-field::placeholder {
  color: var(--text-tertiary);
}

.ns-field:focus {
  border-color: var(--accent);
}

.ns-submit {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ns-submit:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(215,25,33,0.35);
}

.ns-submit:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.ns-privacy {
  margin-top: var(--space-5);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ns-status {
  margin-bottom: var(--space-4);
  font-size: 0.88rem;
  line-height: 1.5;
}

.ns-status:empty {
  display: none;
}

.ns-status[data-state="error"] {
  color: var(--error);
}

.ns-status[data-state="info"] {
  color: var(--success);
}

.newsletter-confirm {
  text-align: center;
  padding: var(--space-6) 0;
}

.newsletter-confirm-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}

.newsletter-confirm-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.ns-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

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

@media (max-width: 480px) {
  #newsletter-signup {
    padding: var(--space-12) var(--space-4);
  }

  .ns-form {
    flex-direction: column;
    align-items: stretch;
  }

  .ns-field {
    width: 100%;
  }

  .ns-submit {
    width: 100%;
  }
}
