/* ============================================================
   Infomaze Sphere — Shared Styles
   All pages use this single stylesheet.
   Edit variables in :root to change colors/spacing globally.
   ============================================================ */

:root {
  /* Brand colors */
  --navy: #0B1F3A;
  --navy-dark: #07162A;
  --indigo: #4F46E5;
  --indigo-soft: #6366F1;
  --cyan: #22D3EE;
  --cyan-soft: #67E8F9;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light-gray: #F3F4F6;
  --border: #E5E7EB;
  --border-soft: #F1F2F4;

  /* Text */
  --text-primary: #0B1F3A;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 720px;
  --max-w-prose: 680px;
  --pad-x: clamp(1.5rem, 4vw, 3rem);

  /* Effects */
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 31, 58, 0.06);
  --shadow-lg: 0 20px 40px -15px rgba(11, 31, 58, 0.12);

  /* Fonts */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

/* ============================================================
   Reset and base
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.5;
  font-weight: 400;
  font-feature-settings: "cv02", "cv11";
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 600;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.04em; font-weight: 600; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); letter-spacing: -0.035em; }
h3 { font-size: 1.125rem; }
p { color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.6; }
a { color: inherit; text-decoration: none; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--indigo); }

/* ============================================================
   Layout helpers
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 var(--pad-x); }
.container-prose { max-width: var(--max-w-prose); margin: 0 auto; padding: 0 var(--pad-x); }

section.pad { padding: clamp(4rem, 10vh, 7rem) 0; }
section.pad-sm { padding: clamp(2.5rem, 6vh, 4rem) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--indigo); }
.eyebrow-cyan { color: var(--cyan); }
.eyebrow-cyan::before { background: var(--cyan); }

/* ============================================================
   Navigation
   ============================================================ */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
nav.site-nav.scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x); gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.nav-logo svg { width: 30px; height: 30px; display: block; }
.nav-logo-text {
  font-size: 1.0625rem; font-weight: 600;
  color: var(--navy); letter-spacing: -0.015em;
}
.nav-logo-text-accent { color: var(--indigo); font-weight: 500; }

.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
  list-style: none; margin: 0 auto;
}
.nav-links > li { position: relative; }
.nav-links a, .nav-links .nav-dropdown-trigger {
  color: var(--text-secondary); font-size: 0.9375rem; font-weight: 500;
  transition: color 0.2s; background: none; border: none;
  font-family: inherit; cursor: pointer; padding: 0;
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a:hover, .nav-links .nav-dropdown-trigger:hover { color: var(--navy); }
.nav-dropdown-trigger svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-links li:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.5rem; min-width: 180px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(-4px);
}
.nav-links li:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block; padding: 0.5rem 0.75rem; border-radius: 6px;
  font-size: 0.9375rem; color: var(--navy);
}
.nav-dropdown a:hover { background: var(--off-white); color: var(--navy); }

.nav-ctas { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.nav-contact {
  color: var(--text-secondary) !important; font-size: 0.9375rem;
  font-weight: 500; padding: 0.5rem 0.75rem;
  transition: color 0.2s;
}
.nav-contact:hover { color: var(--navy) !important; }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 0.625rem 1.125rem; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 0.375rem;
}
.nav-cta:hover { background: var(--navy-dark); transform: translateY(-1px); }

.nav-mobile-toggle {
  display: none; background: none; border: none;
  padding: 0.5rem; cursor: pointer; color: var(--navy);
}
.nav-mobile-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--pad-x); z-index: 49;
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile li { margin-bottom: 0.5rem; }
.nav-mobile > ul > li > a, .nav-mobile > ul > li > span {
  display: block; padding: 0.75rem 0; font-size: 1.0625rem;
  color: var(--navy); font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.nav-mobile .nav-mobile-group { padding-left: 1rem; margin-top: 0.5rem; }
.nav-mobile .nav-mobile-group a {
  padding: 0.5rem 0; font-size: 0.9375rem;
  color: var(--text-secondary); font-weight: 400; border: none;
}
.nav-mobile-ctas { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 500; font-family: inherit;
  transition: all 0.2s; cursor: pointer;
  border: 1px solid transparent; text-align: center;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-cyan:hover { background: var(--cyan-soft); transform: translateY(-1px); }
.btn-white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-white-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(2px); }

/* ============================================================
   Hero (homepage)
   ============================================================ */
.hero { padding: clamp(4rem, 10vh, 7rem) 0 clamp(3rem, 7vh, 5rem); position: relative; overflow: hidden; }
.hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }
.hero-content { max-width: 900px; animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero h1 { margin-bottom: 1.5rem; max-width: 18ch; }
.hero-sub {
  font-size: clamp(1.0625rem, 1.75vw, 1.3125rem);
  color: var(--text-secondary); max-width: 52ch;
  line-height: 1.5; margin-bottom: 2.25rem; font-weight: 400;
  animation: fadeUp 0.8s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; animation: fadeUp 0.8s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-decor {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  width: 50vw; max-width: 640px; aspect-ratio: 1;
  pointer-events: none; z-index: 1; opacity: 0.5;
}
.hero-decor svg { width: 100%; height: 100%; display: block; }
@media (max-width: 860px) { .hero-decor { display: none; } }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Page hero (other pages)
   ============================================================ */
.page-hero {
  padding: clamp(4rem, 8vh, 6rem) 0 clamp(3rem, 6vh, 4.5rem);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.035em; margin-bottom: 1.25rem; max-width: 20ch;
}
.page-hero-sub {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--text-secondary); max-width: 56ch; line-height: 1.55;
}

/* ============================================================
   Credibility strip
   ============================================================ */
.credibility {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--off-white);
}
.credibility-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x);
  display: flex; gap: clamp(1rem, 3vw, 3rem); justify-content: center;
  align-items: center; flex-wrap: wrap;
  font-size: 0.875rem; color: var(--text-secondary);
}
.cred-item { display: flex; align-items: center; gap: 0.625rem; font-weight: 500; }
.cred-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }

/* ============================================================
   About section (homepage)
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.about-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em;
  font-weight: 600; line-height: 1.1;
}
.about-body p { font-size: 1.125rem; line-height: 1.7; color: var(--text-secondary); }
.about-body p + p { margin-top: 1.25rem; }

/* ============================================================
   Products
   ============================================================ */
.products-section { background: var(--off-white); }
.products-header { max-width: 640px; margin-bottom: 3.5rem; }
.products-header h2 { margin-bottom: 1rem; }
.products-header p { font-size: 1.0625rem; }

.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.product-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(34, 211, 238, 0.04));
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.product-card:hover {
  border-color: rgba(79, 70, 229, 0.4);
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
}
.product-card:hover::before { opacity: 1; }

.product-card-name {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 2rem; color: var(--navy);
  margin-bottom: 0.25rem; letter-spacing: -0.01em; line-height: 1;
}
.product-card-tagline {
  font-size: 0.9375rem; color: var(--text-secondary);
  margin-bottom: 1.5rem; font-weight: 400;
}
.product-card-capabilities { list-style: none; margin-bottom: 1.5rem; }
.product-card-capabilities li {
  position: relative; padding-left: 1.25rem;
  margin-bottom: 0.625rem; font-size: 0.9375rem;
  color: var(--text-secondary); line-height: 1.5;
}
.product-card-capabilities li:last-child { margin-bottom: 0; }
.product-card-capabilities li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--indigo);
}
.product-card-for {
  font-size: 0.8125rem; color: var(--text-tertiary); line-height: 1.5;
  padding-top: 1.25rem; border-top: 1px solid var(--border-soft);
}
.product-card-for strong { color: var(--navy); font-weight: 500; }
.product-card-footer {
  margin-top: auto; padding-top: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.product-card-cta {
  display: inline-flex; align-items: center; gap: 0.375rem;
  color: var(--navy); font-size: 0.9375rem; font-weight: 500;
  transition: gap 0.2s;
}
.product-card-cta:hover { gap: 0.625rem; }
.product-card-cta-secondary {
  font-size: 0.9375rem; color: var(--text-tertiary); font-weight: 500;
}
.product-card-cta-secondary:hover { color: var(--navy); }

.answr-variants { margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--border-soft); }
.answr-variants-label {
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 0.625rem; font-weight: 600;
}
.answr-variants-list { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.answr-variant-tag {
  font-size: 0.8125rem; padding: 0.25rem 0.625rem;
  background: var(--light-gray); border-radius: 6px;
  color: var(--navy); font-weight: 500;
}

/* ============================================================
   Product detail pages
   ============================================================ */
.product-detail-hero {
  padding: clamp(4rem, 8vh, 6rem) 0 clamp(3rem, 6vh, 4.5rem);
}
.product-detail-kicker {
  font-size: 0.875rem; font-weight: 500; color: var(--indigo);
  letter-spacing: 0.02em; margin-bottom: 1rem;
}
.product-detail-title {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem); color: var(--navy);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.product-detail-tagline {
  font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--navy);
  font-weight: 500; max-width: 36ch; margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.product-detail-description {
  font-size: 1.125rem; color: var(--text-secondary);
  max-width: 58ch; line-height: 1.6; margin-bottom: 2.5rem;
}
.product-detail-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.product-section { padding: clamp(3.5rem, 7vh, 5rem) 0; }
.product-section + .product-section { border-top: 1px solid var(--border-soft); }
.product-section-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.025em;
  font-weight: 600; margin-bottom: 1rem;
}
.product-section-intro {
  font-size: 1.0625rem; color: var(--text-secondary);
  max-width: 56ch; margin-bottom: 3rem; line-height: 1.6;
}

.capabilities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem;
}
@media (max-width: 768px) { .capabilities-grid { grid-template-columns: 1fr; gap: 2rem; } }
.capability-item { display: flex; gap: 1rem; align-items: flex-start; }
.capability-marker {
  flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--indigo); margin-top: 10px;
}
.capability-title {
  font-size: 1.0625rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.capability-body { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

.who-uses { background: var(--off-white); padding: clamp(3.5rem, 7vh, 5rem) 0; }
.who-uses-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .who-uses-inner { grid-template-columns: 1fr; } }
.who-uses-body p { font-size: 1.125rem; line-height: 1.7; }

.answr-variants-section { background: var(--off-white); padding: clamp(3.5rem, 7vh, 5rem) 0; }
.variants-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
@media (max-width: 768px) { .variants-grid { grid-template-columns: 1fr; } }
.variant-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; transition: all 0.3s;
}
.variant-card:hover { border-color: rgba(79, 70, 229, 0.4); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.variant-card-name {
  font-size: 1.125rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.375rem; letter-spacing: -0.01em;
}
.variant-card-body { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.55; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials-header { max-width: 640px; margin-bottom: 3.5rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--white); padding: 2.5rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  position: relative;
}
.testimonial-mark {
  font-family: var(--font-serif); font-style: italic;
  font-size: 3rem; line-height: 1; color: var(--indigo);
  position: absolute; top: 1.25rem; left: 2rem; opacity: 0.25;
}
.testimonial-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.375rem; color: var(--navy); line-height: 1.45;
  margin-bottom: 1.75rem; letter-spacing: -0.01em; padding-top: 1.5rem;
}
.testimonial-attribution {
  display: flex; flex-direction: column; gap: 0.125rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border-soft);
}
.testimonial-name { font-size: 0.9375rem; font-weight: 500; color: var(--navy); }
.testimonial-company { font-size: 0.875rem; color: var(--text-tertiary); }

/* ============================================================
   Why Sphere
   ============================================================ */
.why-section { background: var(--off-white); }
.why-header { max-width: 640px; margin-bottom: 3.5rem; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.why-item-header { display: flex; align-items: flex-start; gap: 0.875rem; margin-bottom: 0.625rem; }
.why-item-mark { flex-shrink: 0; width: 24px; height: 1.5px; background: var(--cyan); margin-top: 0.75rem; }
.why-item-title {
  font-size: 1.125rem; font-weight: 600; color: var(--navy);
  letter-spacing: -0.01em; line-height: 1.3;
}
.why-item-body {
  padding-left: 2.5rem; font-size: 0.9375rem;
  color: var(--text-secondary); line-height: 1.6;
}

/* ============================================================
   Philosophy
   ============================================================ */
.philosophy {
  background: var(--navy); color: var(--white);
  position: relative; overflow: hidden;
}
.philosophy::before {
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.philosophy::after {
  content: ""; position: absolute; bottom: -30%; left: -15%;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.philosophy-header { max-width: 640px; margin-bottom: 3.5rem; position: relative; z-index: 1; }
.philosophy-header h2 { color: var(--white); }
.philosophy-header h2 .serif { color: var(--cyan); }
.philosophy-header p { color: rgba(255, 255, 255, 0.7); }
.philosophy-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative; z-index: 1;
}
@media (max-width: 768px) { .philosophy-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
@media (max-width: 480px) { .philosophy-grid { grid-template-columns: 1fr; } }
.principle { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.principle-number {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cyan); font-weight: 500; margin-bottom: 1rem;
}
.principle-title {
  font-size: 1.375rem; font-weight: 600; color: var(--white);
  margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.principle-body { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.65); line-height: 1.6; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta { padding: clamp(4rem, 10vh, 7rem) 0; text-align: center; }
.final-cta-inner { max-width: 680px; margin: 0 auto; padding: 0 var(--pad-x); }
.final-cta h2 { margin-bottom: 1.25rem; }
.final-cta p {
  font-size: 1.125rem; color: var(--text-secondary);
  margin-bottom: 2.25rem; line-height: 1.55;
}
.final-cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Blog
   ============================================================ */
.blog-index-hero {
  padding: clamp(4rem, 8vh, 6rem) 0 clamp(3rem, 6vh, 4rem);
  border-bottom: 1px solid var(--border-soft);
}

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; padding: clamp(3rem, 6vh, 5rem) 0;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { display: flex; flex-direction: column; transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-2px); }
.blog-card-image {
  width: 100%; aspect-ratio: 16 / 10; background: var(--light-gray);
  border-radius: var(--radius); margin-bottom: 1.25rem;
  position: relative; overflow: hidden;
}
.blog-card-image-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: linear-gradient(135deg, #E0E7FF 0%, #CFFAFE 100%);
}
.blog-card-image-placeholder svg { width: 40%; max-width: 120px; opacity: 0.4; }
.blog-card-category {
  font-size: 0.75rem; font-weight: 500; color: var(--indigo);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.625rem;
}
.blog-card-title {
  font-size: 1.25rem; font-weight: 600; color: var(--navy);
  line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 0.625rem;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-title { color: var(--indigo); }
.blog-card-excerpt {
  font-size: 0.9375rem; color: var(--text-secondary);
  line-height: 1.55; margin-bottom: 1rem; flex: 1;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.8125rem; color: var(--text-tertiary);
}

/* Blog post template */
.blog-post-header {
  padding: clamp(4rem, 8vh, 6rem) 0 clamp(2rem, 5vh, 3rem);
  max-width: var(--max-w-prose); margin: 0 auto;
  padding-left: var(--pad-x); padding-right: var(--pad-x);
}
.blog-post-category {
  font-size: 0.8125rem; font-weight: 500; color: var(--indigo);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.blog-post-title {
  font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 1.5rem; font-weight: 600;
}
.blog-post-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9375rem; color: var(--text-tertiary);
  padding-bottom: 2rem; border-bottom: 1px solid var(--border-soft);
}
.blog-post-author { font-weight: 500; color: var(--navy); }
.blog-post-meta-separator { color: var(--text-tertiary); }

.blog-post-body {
  max-width: var(--max-w-prose); margin: 0 auto;
  padding: clamp(2rem, 5vh, 3rem) var(--pad-x) clamp(4rem, 8vh, 6rem);
  font-size: 1.125rem; line-height: 1.75; color: var(--text-secondary);
}
.blog-post-body > * + * { margin-top: 1.5rem; }
.blog-post-body p { font-size: inherit; line-height: inherit; color: inherit; }
.blog-post-body h2 {
  font-size: 1.75rem; letter-spacing: -0.025em; font-weight: 600;
  color: var(--navy); margin-top: 3rem; line-height: 1.2;
}
.blog-post-body h3 {
  font-size: 1.25rem; font-weight: 600; color: var(--navy);
  margin-top: 2.5rem; letter-spacing: -0.015em;
}
.blog-post-body ul, .blog-post-body ol {
  padding-left: 1.5rem; color: var(--text-secondary);
}
.blog-post-body li { margin-bottom: 0.625rem; }
.blog-post-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }
.blog-post-body a:hover { color: var(--navy); }
.blog-post-body blockquote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.5rem; line-height: 1.4; color: var(--navy);
  padding-left: 1.5rem; border-left: 3px solid var(--indigo);
  margin: 2.5rem 0;
}
.blog-post-body code {
  background: var(--light-gray); padding: 0.125rem 0.375rem;
  border-radius: 4px; font-size: 0.9em; font-family: 'Geist Mono', Monaco, monospace;
  color: var(--navy);
}
.blog-post-body strong { color: var(--navy); font-weight: 600; }
.blog-post-body hr {
  border: none; border-top: 1px solid var(--border);
  margin: 3rem auto; max-width: 120px;
}

.blog-post-footer {
  max-width: var(--max-w-prose); margin: 0 auto;
  padding: 2rem var(--pad-x) clamp(4rem, 8vh, 6rem);
  border-top: 1px solid var(--border-soft);
}

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer {
  background: var(--navy); color: var(--white);
  padding: clamp(3.5rem, 8vh, 5rem) 0 2.5rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem); margin-bottom: 4rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-brand svg { width: 32px; height: 32px; }
.footer-brand-name {
  font-size: 1.0625rem; font-weight: 600; color: var(--white);
  letter-spacing: -0.015em;
}
.footer-brand-accent { color: var(--cyan); font-weight: 500; }
.footer-tagline {
  color: rgba(255, 255, 255, 0.55); font-size: 0.9375rem;
  line-height: 1.55; max-width: 32ch;
}
.footer-col-title {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.125rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.75); font-size: 0.9375rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem; display: flex; justify-content: space-between;
  align-items: center; color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   Product detail page
   ============================================================ */
.pd-hero {
  padding: clamp(3.5rem, 7vh, 6rem) 0 clamp(3rem, 6vh, 4.5rem);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}
.pd-hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
@media (max-width: 900px) { .pd-hero-inner { grid-template-columns: 1fr; } }
.pd-breadcrumb {
  font-size: 0.875rem; color: var(--text-tertiary);
  margin-bottom: 1.5rem;
}
.pd-breadcrumb a { color: var(--text-secondary); }
.pd-breadcrumb a:hover { color: var(--navy); }
.pd-name {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem); color: var(--navy);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.pd-tagline {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem); color: var(--navy);
  font-weight: 500; max-width: 24ch; margin-bottom: 1.5rem;
  letter-spacing: -0.02em; line-height: 1.2;
}
.pd-description {
  font-size: 1.0625rem; color: var(--text-secondary);
  max-width: 52ch; line-height: 1.6; margin-bottom: 2rem;
}
.pd-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pd-hero-visual {
  aspect-ratio: 1; max-width: 400px; margin-left: auto;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0F2FE 100%);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) { .pd-hero-visual { margin: 0 auto; max-width: 300px; } }
.pd-hero-visual svg { width: 55%; opacity: 0.8; }

.pd-section { padding: clamp(3.5rem, 7vh, 5rem) 0; }
.pd-section + .pd-section { border-top: 1px solid var(--border-soft); }
.pd-section-alt { background: var(--off-white); }
.pd-section-heading {
  font-size: clamp(1.625rem, 2.8vw, 2.25rem); letter-spacing: -0.028em;
  font-weight: 600; margin-bottom: 1rem; max-width: 24ch;
}
.pd-section-intro {
  font-size: 1.0625rem; color: var(--text-secondary);
  max-width: 56ch; margin-bottom: 3rem; line-height: 1.6;
}

.pd-capabilities {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem;
}
@media (max-width: 768px) { .pd-capabilities { grid-template-columns: 1fr; gap: 2rem; } }
.pd-capability { }
.pd-capability-header {
  display: flex; align-items: flex-start; gap: 0.875rem; margin-bottom: 0.625rem;
}
.pd-capability-mark {
  flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--indigo); margin-top: 0.5rem;
}
.pd-capability-title {
  font-size: 1.125rem; font-weight: 600; color: var(--navy);
  letter-spacing: -0.01em;
}
.pd-capability-body {
  padding-left: 1.75rem; font-size: 0.9375rem;
  color: var(--text-secondary); line-height: 1.6;
}

.pd-audience-inner {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
@media (max-width: 860px) { .pd-audience-inner { grid-template-columns: 1fr; } }
.pd-audience-list {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
@media (max-width: 500px) { .pd-audience-list { grid-template-columns: 1fr; } }
.pd-audience-list li {
  padding: 0.875rem 1rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.9375rem; color: var(--navy); font-weight: 500;
}
.pd-section-alt .pd-audience-list li { background: var(--white); }

.pd-integrations-list {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.pd-integration-tag {
  padding: 0.5rem 0.875rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.875rem; color: var(--navy); font-weight: 500;
}
.pd-section-alt .pd-integration-tag { background: var(--white); }

/* Case study teaser on product page */
.pd-proof {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; position: relative; overflow: hidden;
}
@media (max-width: 768px) { .pd-proof { grid-template-columns: 1fr; } }
.pd-proof::before {
  content: ""; position: absolute; bottom: -30%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-proof-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem;
  position: relative; z-index: 1;
}
.pd-proof-stat-number {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--cyan); letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 0.5rem;
}
.pd-proof-stat-label {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}
.pd-proof-body { position: relative; z-index: 1; }
.pd-proof-label {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.875rem; font-weight: 500;
}
.pd-proof-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.375rem; line-height: 1.4; color: var(--white);
  margin-bottom: 1.5rem; letter-spacing: -0.01em;
}
.pd-proof-attribution {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}
.pd-proof-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  color: var(--white); font-size: 0.9375rem; font-weight: 500;
  padding-bottom: 0.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s;
}
.pd-proof-link:hover { border-color: var(--white); }

.pd-variants { }
.pd-variants-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
@media (max-width: 768px) { .pd-variants-grid { grid-template-columns: 1fr; } }
.pd-variant-card {
  padding: 1.75rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.pd-section-alt .pd-variant-card { background: var(--white); }
.pd-variant-card:hover { border-color: rgba(79, 70, 229, 0.4); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pd-variant-name {
  font-size: 1.125rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.pd-variant-body {
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6;
}

/* ============================================================
   Customers page
   ============================================================ */
.customers-industry-section { padding: clamp(3rem, 6vh, 4.5rem) 0; }
.customers-industry-section + .customers-industry-section {
  border-top: 1px solid var(--border-soft);
}
.customers-industry-section.alt { background: var(--off-white); }

.industry-group-header {
  max-width: 720px; margin-bottom: 2.5rem;
}
.industry-group-number {
  display: inline-block; font-family: var(--font-serif); font-style: italic;
  font-size: 1.75rem; color: var(--indigo); margin-right: 0.625rem;
}
.industry-group-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.025em;
  font-weight: 600; display: inline; color: var(--navy);
}
.industry-group-products {
  margin-top: 0.75rem; font-size: 0.9375rem; color: var(--text-secondary);
}
.industry-group-products strong { color: var(--navy); font-weight: 600; }
.industry-group-intro {
  font-size: 1rem; color: var(--text-secondary);
  margin-top: 1rem; line-height: 1.6; max-width: 60ch;
}

.industry-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 900px) { .industry-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .industry-cards { grid-template-columns: 1fr; } }

.industry-card {
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex;
  align-items: flex-start; gap: 0.875rem;
  transition: border-color 0.2s, transform 0.2s;
}
.customers-industry-section.alt .industry-card { background: var(--white); }
.industry-card:hover { border-color: rgba(79, 70, 229, 0.4); transform: translateY(-1px); }
.industry-card-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--light-gray); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo);
}
.industry-card-icon svg { width: 18px; height: 18px; }
.industry-card-body { flex: 1; }
.industry-card-name {
  font-size: 0.9375rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.125rem; letter-spacing: -0.005em;
}
.industry-card-desc {
  font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.45;
}

/* Customer profile + case studies on customers page */
.customer-profile {
  background: var(--navy); color: var(--white);
  padding: clamp(3rem, 6vh, 4.5rem) 0; position: relative; overflow: hidden;
}
.customer-profile::before {
  content: ""; position: absolute; top: -20%; right: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.customer-profile-inner { position: relative; z-index: 1; }
.customer-profile h2 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.customer-profile h2 .serif { color: var(--cyan); }
.customer-profile-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 768px) { .customer-profile-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.customer-profile-item {
  padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.customer-profile-item-title {
  font-size: 1.0625rem; font-weight: 600; color: var(--white);
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.customer-profile-item-body {
  font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6;
}

.case-teasers-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
@media (max-width: 768px) { .case-teasers-grid { grid-template-columns: 1fr; } }
.case-teaser {
  padding: 2rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); display: flex; flex-direction: column;
  transition: all 0.3s;
}
.case-teaser:hover { border-color: rgba(79, 70, 229, 0.4); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.case-teaser-product {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo); font-weight: 600; margin-bottom: 0.75rem;
}
.case-teaser-industry {
  font-size: 0.875rem; color: var(--text-tertiary); margin-bottom: 0.875rem;
}
.case-teaser-headline {
  font-size: 1.25rem; font-weight: 600; color: var(--navy);
  line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 1rem;
}
.case-teaser-stat {
  font-family: var(--font-serif); font-style: italic;
  font-size: 2rem; color: var(--indigo); line-height: 1;
  letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.case-teaser-stat-label {
  font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1.5rem;
}
.case-teaser-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.375rem;
  color: var(--indigo); font-size: 0.9375rem; font-weight: 500;
  transition: gap 0.2s;
}
.case-teaser-link:hover { gap: 0.625rem; }

/* ============================================================
   Security page
   ============================================================ */
.sec-section { padding: clamp(3rem, 6vh, 4.5rem) 0; }
.sec-section + .sec-section { border-top: 1px solid var(--border-soft); }
.sec-section.alt { background: var(--off-white); }
.sec-header { max-width: 720px; margin-bottom: 2.5rem; }
.sec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (max-width: 768px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-item {
  padding: 1.75rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.sec-section.alt .sec-item { background: var(--white); }
.sec-item-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.sec-item-badge {
  width: 36px; height: 36px; background: var(--light-gray);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--indigo); flex-shrink: 0;
}
.sec-item-badge svg { width: 18px; height: 18px; }
.sec-item-title {
  font-size: 1.125rem; font-weight: 600; color: var(--navy);
  letter-spacing: -0.01em;
}
.sec-item-body {
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6;
}
.sec-item-body p + p { margin-top: 0.75rem; }

/* ============================================================
   About page
   ============================================================ */
.about-story { padding: clamp(3.5rem, 7vh, 5rem) 0; }
.about-story-body {
  max-width: 680px; margin: 0 auto; padding: 0 var(--pad-x);
  font-size: 1.125rem; line-height: 1.75; color: var(--text-secondary);
}
.about-story-body > * + * { margin-top: 1.5rem; }
.about-story-body p { font-size: inherit; line-height: inherit; color: inherit; }
.about-story-body h2 {
  font-size: 1.75rem; letter-spacing: -0.025em; font-weight: 600;
  color: var(--navy); margin-top: 2.5rem;
}
.about-story-body blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.5rem; line-height: 1.4; color: var(--navy);
  padding-left: 1.5rem; border-left: 3px solid var(--indigo);
  margin: 2rem 0;
}

.about-stats {
  background: var(--off-white);
  padding: clamp(3rem, 6vh, 4.5rem) 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.about-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
@media (max-width: 768px) { .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } }
.about-stat { text-align: left; }
.about-stat-number {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.5rem); color: var(--indigo);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.625rem;
}
.about-stat-label {
  font-size: 0.875rem; color: var(--text-secondary); line-height: 1.4;
  max-width: 20ch;
}

/* ============================================================
   Product preview section (with browser-frame mockup)
   ============================================================ */
.pd-preview {
  padding: clamp(3rem, 5vh, 4rem) 0 clamp(4rem, 7vh, 5.5rem);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  border-bottom: 1px solid var(--border-soft);
}
.pd-preview-header {
  text-align: center; max-width: 720px; margin: 0 auto 2.5rem;
  padding: 0 var(--pad-x);
}
.pd-preview-header .eyebrow { display: inline-block; }
.pd-preview-header .pd-section-heading {
  margin: 0.625rem auto 0.875rem; max-width: none;
}
.pd-preview-header p {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 56ch; margin: 0 auto; line-height: 1.55;
}
.pd-preview-frame {
  max-width: 1080px; margin: 0 auto;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 30px 80px -25px rgba(11, 31, 58, 0.30), 0 10px 30px -10px rgba(11, 31, 58, 0.15);
  overflow: hidden; border: 1px solid var(--border);
}
.pd-preview-chrome {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.875rem 1.25rem; background: #F8FAFC;
  border-bottom: 1px solid var(--border-soft);
}
.pd-preview-dots { display: flex; gap: 0.4rem; flex-shrink: 0; }
.pd-preview-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border);
}
.pd-preview-dots span:nth-child(1) { background: #FCA5A5; }
.pd-preview-dots span:nth-child(2) { background: #FCD34D; }
.pd-preview-dots span:nth-child(3) { background: #86EFAC; }
.pd-preview-url {
  flex: 1; display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.875rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.8125rem; color: var(--text-secondary);
  max-width: 380px; margin: 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}
.pd-preview-url svg { width: 12px; height: 12px; opacity: 0.5; flex-shrink: 0; }
.pd-preview-screen {
  position: relative; aspect-ratio: 16 / 10; background: var(--off-white);
  overflow: hidden;
}
.pd-preview-screen img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pd-preview-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(34, 211, 238, 0.08) 100%),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(11, 31, 58, 0.02) 20px 21px);
  color: var(--text-tertiary); padding: 2rem; text-align: center;
}
.pd-preview-placeholder-title {
  font-size: 1.0625rem; font-weight: 500; color: var(--navy); opacity: 0.45;
  margin-bottom: 0.625rem; letter-spacing: -0.01em;
}
.pd-preview-placeholder-meta {
  font-size: 0.8125rem; color: var(--text-tertiary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  background: rgba(255, 255, 255, 0.6); padding: 0.375rem 0.75rem;
  border-radius: 6px; border: 1px solid rgba(11, 31, 58, 0.06);
}

/* ============================================================
   Case study page
   ============================================================ */
.cs-hero {
  padding: clamp(3rem, 6vh, 5rem) 0 clamp(2.5rem, 5vh, 4rem);
  background: var(--off-white); border-bottom: 1px solid var(--border-soft);
}
.cs-hero-inner { max-width: 880px; margin: 0 auto; padding: 0 var(--pad-x); }
.cs-breadcrumb {
  font-size: 0.875rem; color: var(--text-tertiary); margin-bottom: 1.5rem;
}
.cs-breadcrumb a { color: var(--text-secondary); }
.cs-breadcrumb a:hover { color: var(--navy); }
.cs-eyebrow {
  display: inline-block; padding: 0.375rem 0.875rem;
  background: rgba(79, 70, 229, 0.08); color: var(--indigo);
  border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 1.5rem;
}
.cs-title {
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.028em;
  font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 1.25rem;
}
.cs-subtitle {
  font-size: 1.125rem; color: var(--text-secondary); line-height: 1.6;
  max-width: 60ch; margin-bottom: 2rem;
}
.cs-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cs-pill {
  padding: 0.375rem 0.875rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.8125rem; color: var(--navy);
}
.cs-pill strong {
  color: var(--text-tertiary); font-weight: 500;
  margin-right: 0.375rem;
}

.cs-stats-bar {
  background: var(--navy); color: var(--white);
  padding: 2.5rem 0; position: relative; overflow: hidden;
}
.cs-stats-bar::before {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.cs-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative; z-index: 1;
}
@media (max-width: 768px) { .cs-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
.cs-stat {  }
.cs-stat-number {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2rem, 3.5vw, 2.75rem); color: var(--cyan);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.cs-stat-label {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.cs-body {
  padding: clamp(3rem, 6vh, 4.5rem) 0;
}
.cs-body-inner {
  max-width: 720px; margin: 0 auto; padding: 0 var(--pad-x);
}
.cs-section { margin-bottom: 3rem; }
.cs-section:last-child { margin-bottom: 0; }
.cs-section-number {
  display: inline-block;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.5rem; color: var(--indigo); margin-right: 0.5rem;
  vertical-align: baseline;
}
.cs-section-heading {
  display: inline; font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 600; letter-spacing: -0.025em; color: var(--navy);
}
.cs-section-body {
  margin-top: 1.25rem; font-size: 1.0625rem;
  color: var(--text-secondary); line-height: 1.7;
}
.cs-section-body p + p { margin-top: 1.25rem; }
.cs-section-body strong { color: var(--navy); font-weight: 600; }
.cs-section-body ul {
  margin-top: 1rem; padding-left: 1.25rem; list-style: none;
}
.cs-section-body ul li {
  position: relative; padding-left: 1rem; margin-bottom: 0.625rem;
}
.cs-section-body ul li::before {
  content: ""; position: absolute; left: 0; top: 0.625rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--indigo);
}

.cs-example {
  background: var(--off-white); border-left: 3px solid var(--indigo);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem; margin: 1.5rem 0;
}
.cs-example-q {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo); font-weight: 600; margin-bottom: 0.5rem;
}
.cs-example-question {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.125rem; color: var(--navy); margin-bottom: 1rem;
  line-height: 1.4;
}
.cs-example-a {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-tertiary); font-weight: 600; margin-bottom: 0.5rem;
}
.cs-example-answer {
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6;
}

.cs-pullquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.35; color: var(--navy); letter-spacing: -0.015em;
  padding: 0; margin: 2.5rem 0; text-align: center; max-width: 28ch;
  margin-left: auto; margin-right: auto;
}

.cs-related {
  background: var(--off-white); padding: clamp(3rem, 5vh, 4rem) 0;
  border-top: 1px solid var(--border-soft);
}
.cs-related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .cs-related-grid { grid-template-columns: 1fr; } }
.cs-related-card {
  display: block; padding: 1.5rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all 0.2s;
}
.cs-related-card:hover { border-color: rgba(79, 70, 229, 0.4); transform: translateY(-2px); }
.cs-related-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo); font-weight: 600; margin-bottom: 0.5rem;
}
.cs-related-title {
  font-size: 1.0625rem; font-weight: 600; color: var(--navy);
  line-height: 1.3; letter-spacing: -0.01em;
}

/* ============================================================
   Legal pages (privacy / terms) — readable long-form
   ============================================================ */
.legal-body {
  padding: clamp(2.5rem, 5vh, 4rem) 0;
}
.legal-inner {
  max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x);
  font-size: 1rem; color: var(--text-secondary); line-height: 1.75;
}
.legal-inner > p { font-size: inherit; line-height: inherit; }
.legal-inner h2 {
  font-size: 1.375rem; letter-spacing: -0.015em; font-weight: 600;
  color: var(--navy); margin-top: 2.75rem; margin-bottom: 1rem;
  scroll-margin-top: 100px;
}
.legal-inner h2:first-child { margin-top: 0; }
.legal-inner h3 {
  font-size: 1.0625rem; font-weight: 600; color: var(--navy);
  margin-top: 1.75rem; margin-bottom: 0.625rem;
}
.legal-inner p + p { margin-top: 1rem; }
.legal-inner ul, .legal-inner ol {
  margin: 1rem 0; padding-left: 1.5rem;
}
.legal-inner li { margin-bottom: 0.5rem; }
.legal-inner strong { color: var(--navy); font-weight: 600; }
.legal-inner a { color: var(--indigo); }
.legal-inner a:hover { text-decoration: underline; }
.legal-inner table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.legal-inner table th, .legal-inner table td {
  text-align: left; padding: 0.75rem; border: 1px solid var(--border);
}
.legal-inner table th { background: var(--off-white); font-weight: 600; color: var(--navy); }
.legal-callout {
  padding: 1.25rem 1.5rem; background: var(--off-white);
  border-left: 3px solid var(--indigo); border-radius: 0 8px 8px 0;
  margin: 1.5rem 0; font-size: 0.9375rem;
}

/* ============================================================
   ANSWR variant cards as links (umbrella page)
   ============================================================ */
.pd-variant-card-link {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: all 0.2s; cursor: pointer;
  position: relative;
}
.pd-variant-card-link:hover {
  border-color: rgba(79, 70, 229, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(11, 31, 58, 0.12);
}
.pd-variant-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.875rem; font-weight: 600;
  color: var(--indigo); letter-spacing: -0.005em;
}
.pd-variant-link svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}
.pd-variant-card-link:hover .pd-variant-link svg {
  transform: translateX(3px);
}

/* ============================================================
   Custom Agent or Bot comparison section (ANSWR umbrella)
   ============================================================ */
.agent-bot-header {
  text-align: center; max-width: 760px; margin: 0 auto 3rem;
}
.agent-bot-header .eyebrow { display: inline-block; }
.agent-bot-header .pd-section-heading {
  margin: 0.75rem auto 1rem; max-width: none;
}
.agent-bot-header .pd-section-intro {
  margin: 0 auto;
}

.agent-bot-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 1080px; margin: 0 auto;
}
@media (max-width: 900px) { .agent-bot-grid { grid-template-columns: 1fr; gap: 1rem; } }

.agent-bot-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex; flex-direction: column;
  transition: all 0.2s;
  position: relative; overflow: hidden;
}
.agent-bot-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 12px 30px -10px rgba(11, 31, 58, 0.10);
}
.agent-bot-card-featured {
  background: linear-gradient(135deg, #FAFBFF 0%, #F0F9FF 100%);
  border-color: rgba(79, 70, 229, 0.25);
}
.agent-bot-card-featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--cyan) 100%);
}

.agent-bot-badge {
  display: inline-block; padding: 0.375rem 0.875rem;
  border-radius: 999px; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 1.25rem;
  align-self: flex-start;
}
.agent-bot-badge-bot {
  background: rgba(11, 31, 58, 0.06);
  color: var(--navy);
}
.agent-bot-badge-agent {
  background: var(--indigo); color: var(--white);
}

.agent-bot-card-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600; letter-spacing: -0.02em;
  color: var(--navy); line-height: 1.3;
  margin-bottom: 1rem;
}
.agent-bot-card-lead {
  font-size: 0.9375rem; color: var(--text-secondary);
  line-height: 1.65; margin-bottom: 1.75rem;
}

.agent-bot-section-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 1.25rem; margin-bottom: 0.625rem;
}
.agent-bot-list {
  list-style: none; padding: 0; margin: 0 0 0.75rem;
  font-size: 0.9375rem; color: var(--text-secondary);
}
.agent-bot-list li {
  padding: 0.375rem 0;
  font-family: var(--font-serif); font-style: italic;
  color: var(--navy);
}
.agent-bot-list li::before {
  content: '"'; opacity: 0.5; margin-right: 0.125rem;
}
.agent-bot-list li::after {
  content: '"'; opacity: 0.5;
}
.agent-bot-section-body {
  font-size: 0.9375rem; color: var(--text-secondary);
  line-height: 1.6;
}

.agent-bot-meta {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem 1.25rem;
  margin-top: auto; padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}
.agent-bot-meta-item {  }
.agent-bot-meta-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 0.25rem;
}
.agent-bot-meta-value {
  font-size: 0.875rem; color: var(--navy); font-weight: 500;
}

.agent-bot-footer {
  text-align: center; margin-top: 2.5rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.agent-bot-footer p {
  font-size: 0.9375rem; color: var(--text-secondary);
  margin-bottom: 1.25rem; line-height: 1.6;
}
