/* wafertune.css â€” Wafertune site CSS */
/* Inlines: nav, hero, stats, features, process, team, testimonials, cta, contact, footer, cookie-banner */

/* ============================================================ */
/* CSS Variables */
/* ============================================================ */
:root {
  --accent: #7c3aed;
  --accent-rgb: 124, 58, 237;
  --secondary: #06b6d4;
  --bg-dark: #0b0f19;
  --bg-mid: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: #1e293b;
  --font-sans: 'Geist', system-ui, sans-serif;
  --font-display: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

/* ============================================================ */
/* Base Reset & Typography */
/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; }

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Page top offset for fixed nav */
body { padding-top: 64px; }

/* ============================================================ */
/* Buttons */
/* ============================================================ */
.c-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-sans);
}
.c-btn--primary {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid transparent;
}
.c-btn--primary:hover { opacity: 0.88; color: #ffffff; }
.c-btn--ghost {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(226,232,240,0.3);
}
.c-btn--ghost:hover { border-color: #e2e8f0; color: #ffffff; }
.c-btn--outline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(226,232,240,0.3);
}
.c-btn--outline:hover { border-color: #e2e8f0; color: #ffffff; }
.c-btn--sm { padding: 8px 16px; font-size: 14px; }

/* ============================================================ */
/* Section Header */
/* ============================================================ */
.c-section-header { text-align: center; margin-bottom: 56px; }
.c-section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.c-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.c-section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================ */
/* Nav Component (nav.css inlined) */
/* ============================================================ */
.c-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.c-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}
.c-nav__logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 800;
  text-decoration: none;
  color: inherit;
}
.c-nav__logo-img { height: 28px; width: auto; display: none; }
.c-nav__links {
  display: flex; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.c-nav__links a {
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s;
}
.c-nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600;
}
.c-nav__cta:hover { opacity: 0.9; color: #fff !important; }
.c-nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.c-nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; transition: 0.3s; }

.c-nav[data-nav-theme="dark"] { background: transparent; }
.c-nav[data-nav-theme="dark"].scrolled,
.c-nav[data-nav-theme="dark"].c-nav--solid {
  background: rgba(11,15,25,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.c-nav[data-nav-theme="dark"] .c-nav__logo,
.c-nav[data-nav-theme="dark"] .c-nav__logo-fallback { color: #f1f5f9; }
.c-nav[data-nav-theme="dark"] .c-nav__logo-img--light { display: none; }
.c-nav[data-nav-theme="dark"] .c-nav__logo-img--dark  { display: inline; }
.c-nav[data-nav-theme="dark"] .c-nav__links a { color: #94a3b8; }
.c-nav[data-nav-theme="dark"] .c-nav__links a:hover,
.c-nav[data-nav-theme="dark"] .c-nav__links a.active { color: #f1f5f9; }
.c-nav[data-nav-theme="dark"] .c-nav__toggle span { background: #f1f5f9; }

.c-nav[data-nav-theme="light"] {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.c-nav[data-nav-theme="light"] .c-nav__logo,
.c-nav[data-nav-theme="light"] .c-nav__logo-fallback { color: #0f172a; }
.c-nav[data-nav-theme="light"] .c-nav__logo-img--light { display: inline; }
.c-nav[data-nav-theme="light"] .c-nav__logo-img--dark  { display: none; }
.c-nav[data-nav-theme="light"] .c-nav__links a { color: #334155; }
.c-nav[data-nav-theme="light"] .c-nav__links a:hover,
.c-nav[data-nav-theme="light"] .c-nav__links a.active { color: #0f172a; }
.c-nav[data-nav-theme="light"] .c-nav__toggle span { background: #0f172a; }

.c-nav__logo-img ~ .c-nav__logo-fallback { display: none !important; }

@media (max-width: 768px) {
  .c-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #0b0f19;
    padding: 16px;
    border-top: 1px solid #1e293b;
  }
  .c-nav__links.open { display: flex; }
  .c-nav__toggle { display: block; }
}

/* ============================================================ */
/* Hero Component (hero.css inlined) */
/* ============================================================ */
.c-hero--dark-typographic {
  min-height: 88vh;
  background: var(--bg-dark);
  color: #e5e7eb;
  text-align: center;
  padding: 100px 0 80px;
  position: relative;
}
.c-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(124,58,237,0.12) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.c-hero--dark-typographic .container { position: relative; z-index: 2; }
.c-hero__content { max-width: 880px; margin: 0 auto; }
.c-hero--dark-typographic .c-hero__label { margin-bottom: 24px; opacity: 0.9; }
.c-hero--dark-typographic .c-hero__title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 100%;
  margin: 0 auto 28px;
  color: #ffffff;
}
.c-hero--dark-typographic .c-hero__subtitle {
  font-size: 20px;
  line-height: 1.55;
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto 40px;
}
.c-hero--dark-typographic .c-hero__cta { justify-content: center; }
.c-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.c-hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (sub-pages) */
.c-page-hero {
  background: var(--bg-dark);
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.c-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.c-page-hero .container { position: relative; z-index: 1; }
.c-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.c-page-hero__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}
.c-page-hero__lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .c-hero--dark-typographic { padding: 80px 0 60px; min-height: auto; }
  .c-hero--dark-typographic .c-hero__title { font-size: 36px; }
  .c-hero--dark-typographic .c-hero__subtitle { font-size: 16px; }
}

/* ============================================================ */
/* Stats Component (stats.css inlined) */
/* ============================================================ */
.c-stats { padding: 48px 0; }
.c-stats--cards { background: var(--bg-mid); padding: 64px 0; }
.c-stats__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.c-stats__card { background: var(--bg-card); border-radius: 12px; padding: 32px 24px; text-align: center; height: 100%; }
.c-stats__number { display: block; font-size: 36px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.c-stats__label { display: block; font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.4; }
.c-stats__desc { font-size: 13px; color: var(--text-dim); margin-top: 8px; line-height: 1.5; }
@media (max-width: 768px) {
  .c-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .c-stats__number { font-size: 28px; }
}

/* ============================================================ */
/* Features Component (features.css inlined) */
/* ============================================================ */
.c-features { padding: 80px 0; background: var(--bg-dark); }
.c-features--alternating {}
.c-features__row { padding: 48px 0; }
.c-features__row + .c-features__row { border-top: 1px solid var(--border); }
.c-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.c-features__grid--reverse { direction: rtl; }
.c-features__grid--reverse > * { direction: ltr; }
.c-features__img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.c-features__name { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.c-features__text { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.c-features__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.12);
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--accent);
}
@media (max-width: 900px) {
  .c-features__grid,
  .c-features__grid--reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .c-features__grid--reverse .c-features__img-col { order: -1; }
}

/* ============================================================ */
/* Process Component (process.css inlined) */
/* ============================================================ */
.c-process { padding: 80px 0; background: var(--bg-mid); }
.c-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.c-process__step {
  position: relative;
  padding: 32px 24px;
  background: var(--bg-card);
  border-radius: 12px;
}
.c-process__num {
  display: inline-block;
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.c-process__name { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.c-process__text { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 992px) { .c-process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .c-process__steps { grid-template-columns: 1fr; } }

/* ============================================================ */
/* Team Component (team.css inlined) */
/* ============================================================ */
.c-team { padding: 80px 0; background: var(--bg-dark); }
.c-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.c-team__card { text-align: center; }
.c-team__photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
  display: block;
}
.c-team__name { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.c-team__role { font-size: 14px; color: var(--text-dim); }

/* ============================================================ */
/* Testimonials Component (testimonials.css inlined) */
/* ============================================================ */
.c-testimonials { padding: 80px 0; background: var(--bg-mid); }
.c-testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.c-testimonials__card { background: var(--bg-card); border-radius: 12px; padding: 36px 28px; }
.c-testimonials__stat { display: block; font-size: 42px; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.c-testimonials__source { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.c-testimonials__text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
@media(max-width:768px){ .c-testimonials__grid{ grid-template-columns: 1fr; } }

/* ============================================================ */
/* CTA Component (cta.css inlined) */
/* ============================================================ */
.c-cta { background: var(--accent); padding: 64px 0; text-align: center; }
.c-cta__title { font-size: 32px; font-weight: 800; color: #ffffff; margin-bottom: 16px; }
.c-cta__desc { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.c-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.c-cta .c-btn--primary { background: #ffffff; color: var(--accent); }
.c-cta .c-btn--primary:hover { opacity: 0.9; }
.c-cta .c-btn--outline { border-color: rgba(255,255,255,0.4); color: #ffffff; }
.c-cta .c-btn--outline:hover { border-color: #ffffff; }

/* ============================================================ */
/* Contact Component (contact.css inlined) */
/* ============================================================ */
.c-contact { padding: 80px 0; }
.c-contact__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .c-contact__grid { grid-template-columns: 7fr 4fr; gap: 72px; } }
.c-contact__row-2 { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .c-contact__row-2 { grid-template-columns: 1fr 1fr; gap: 16px; } }
.c-contact__title { font-size: 28px; font-weight: 800; color: var(--text-primary); margin-bottom: 32px; }
.c-contact__form input,
.c-contact__form select,
.c-contact__form textarea {
  width: 100%; background: var(--bg-card); border: 1px solid #334155;
  color: #e2e8f0; border-radius: 8px; padding: 12px 16px; font-size: 15px;
  margin-bottom: 16px; transition: border-color 0.2s; font-family: var(--font-sans);
}
.c-contact__form input:focus,
.c-contact__form select:focus,
.c-contact__form textarea:focus { border-color: var(--accent); outline: none; }
.c-contact__form select option { background: var(--bg-card); }
.c-contact__form button { cursor: pointer; border: none; }
.c-contact__info-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; }
.c-contact__info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; font-size: 15px; color: var(--text-muted); }
.c-contact__info-item i { color: var(--accent); font-size: 16px; margin-top: 3px; min-width: 20px; }
.c-contact__info-item a { color: var(--text-muted); text-decoration: none; }
.c-contact__info-item a:hover { color: var(--accent); }

/* ============================================================ */
/* Footer Component (footer.css inlined) */
/* ============================================================ */
.c-footer { background: var(--bg-mid); padding: 64px 0 0; border-top: 1px solid var(--border); color: var(--text-muted); }
.c-footer .container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.c-footer__logo { font-size: 20px; font-weight: 800; color: var(--text-primary); text-decoration: none; display: inline-block; margin-bottom: 12px; }
.c-footer__logo span { color: var(--accent); }
.c-footer__tagline { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.c-footer__col h4 { font-size: 14px; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.c-footer__col ul { list-style: none; padding: 0; margin: 0; }
.c-footer__col ul li { margin-bottom: 10px; }
.c-footer__col ul a { color: var(--text-muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.c-footer__col ul a:hover { color: var(--accent); }
.c-footer__contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.c-footer__contact i { color: var(--accent); width: 18px; font-size: 13px; margin-right: 8px; }
.c-footer__bottom { border-top: 1px solid var(--border); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #475569; }
.c-footer__legal { display: flex; gap: 20px; }
.c-footer__legal a { color: var(--text-dim); text-decoration: none; font-size: 13px; }
.c-footer__legal a:hover { color: var(--text-muted); }
@media(max-width:768px) {
  .c-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .c-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================ */
/* Cookie Banner (cookie-banner.css inlined) */
/* ============================================================ */
.c-cookie {
  position: fixed;
  inset: auto 16px 16px 16px;
  max-width: 720px;
  margin-left: auto;
  z-index: 1080;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 20px 50px rgba(15,23,42,0.18);
  border-radius: 12px;
  padding: 14px 18px;
}
.c-cookie[hidden] { display: none !important; }
.c-cookie__inner { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.c-cookie__text { flex: 1 1 320px; font-size: 14px; line-height: 1.55; margin: 0; color: #374151; }
.c-cookie__text a { color: var(--accent); }
.c-cookie__actions { display: flex; gap: 8px; margin-left: auto; }
.c-cookie .c-btn--outline { color: #374151; border-color: rgba(15,23,42,0.15); }
.c-cookie .c-btn--outline:hover { border-color: #374151; color: #0f172a; }
.c-cookie .c-btn--primary { background: var(--accent); color: #fff; }
@media (max-width: 576px) {
  .c-cookie { inset: auto 8px 8px 8px; }
  .c-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================ */
/* Integration Badges (product.html) */
/* ============================================================ */
.c-integrations { padding: 80px 0; background: var(--bg-dark); }
.c-integrations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.c-integrations__badge {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  border: 1px solid var(--border);
}
.c-integrations__badge img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0.85) grayscale(0.2);
  transition: filter 0.2s;
}
.c-integrations__badge:hover img { filter: brightness(1) grayscale(0); }
@media (max-width: 768px) {
  .c-integrations__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .c-integrations__grid { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* About Page */
/* ============================================================ */
.c-about { padding: 80px 0; }
.c-about__wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.c-about__lead { font-size: 20px; color: var(--text-muted); line-height: 1.75; margin-bottom: 40px; }
.c-about__body { font-size: 16px; color: var(--text-muted); line-height: 1.8; }
.c-about__body p { margin-bottom: 24px; }
.c-about__values { padding: 64px 0; background: var(--bg-mid); }
.c-about__values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.c-about__value-card { background: var(--bg-card); border-radius: 10px; padding: 28px 24px; }
.c-about__value-icon { width: 40px; height: 40px; background: rgba(124,58,237,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 18px; margin-bottom: 16px; }
.c-about__value-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.c-about__value-text { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 768px) {
  .c-about__values-grid { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* Product Page Hero section specifics */
/* ============================================================ */
.c-product-lead { padding: 64px 0; background: var(--bg-mid); }
.c-product-lead__wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; text-align: center; }
.c-product-lead__title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--text-primary); margin-bottom: 20px; }
.c-product-lead__text { font-size: 16px; color: var(--text-muted); line-height: 1.8; max-width: 780px; margin: 0 auto; }

/* ============================================================ */
/* 404 Page */
/* ============================================================ */
.c-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark);
  padding: 40px 24px;
}
.c-404__code { font-size: 120px; font-weight: 900; color: var(--accent); line-height: 1; opacity: 0.5; }
.c-404__title { font-size: 32px; font-weight: 700; color: var(--text-primary); margin: 16px 0 12px; }
.c-404__text { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============================================================ */
/* Blog reading-width CSS (MANDATORY â€” standards/components/blog-article.md) */
/* ============================================================ */
.c-post { padding: 64px 0 80px; }
.c-post__wrap,
.c-post__body,
.c-post__header { max-width: 780px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.c-post__cover { max-width: 960px; margin: 0 auto 40px; padding: 0 24px; }
.c-post__cover img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 10px; display: block; }
.c-post__meta { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.c-post__title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: var(--text-primary); margin-bottom: 20px; line-height: 1.2; }
.c-post__body { font-size: 17px; line-height: 1.85; color: var(--text-muted); }
.c-post__body h2 { font-size: 26px; font-weight: 700; color: var(--text-primary); margin: 40px 0 16px; }
.c-post__body h3 { font-size: 21px; font-weight: 700; color: var(--text-primary); margin: 32px 0 12px; }
.c-post__body p { margin-bottom: 24px; }
.c-post__body img { max-width: 100%; border-radius: 8px; margin: 24px 0; }
.c-post__body .blog-img-full { max-width: 100vw; margin-left: calc(-50vw + 390px); }
.c-post__body ul, .c-post__body ol { margin: 0 0 24px 24px; }
.c-post__body li { margin-bottom: 8px; }
.c-post__body blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 28px 0; font-style: italic; color: var(--text-muted); }
.c-post__body code { font-family: var(--font-mono); font-size: 14px; background: var(--bg-card); padding: 2px 6px; border-radius: 4px; }

/* Blog grid */
.c-blog-grid { padding: 64px 0; }
.c-blog__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.c-blog-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.c-blog-card__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.c-blog-card__img-link { display: block; overflow: hidden; }
.c-blog-card__img-link img { height: 200px; width: 100%; object-fit: cover; transition: transform 0.3s ease; }
.c-blog-card__img-link:hover img { transform: scale(1.04); }
.c-blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.c-blog-card__cat { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.c-blog-card__title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; line-height: 1.35; }
.c-blog-card__title a { color: inherit; }
.c-blog-card__title a:hover { color: var(--accent); }
.c-blog-card__excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.c-blog-card__read { color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; margin-top: auto; }
.c-blog-card__read:hover { opacity: 0.8; }
@media (max-width: 900px) { .c-blog__cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .c-blog__cards { grid-template-columns: 1fr; } }

/* Legal pages */
.c-legal { padding: 64px 0 80px; }
.c-legal__wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.c-legal__body { font-size: 16px; color: var(--text-muted); line-height: 1.8; }
.c-legal__body h2 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin: 36px 0 14px; }
.c-legal__body h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin: 28px 0 10px; }
.c-legal__body p { margin-bottom: 18px; }
.c-legal__body ul { margin: 0 0 18px 24px; }
.c-legal__body li { margin-bottom: 8px; }
.c-legal__updated { font-size: 13px; color: var(--text-dim); margin-bottom: 40px; }

/* Blog article reading width */
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-post__body {
  max-width: 780px;
  margin: 0 auto;
}
.c-post__body p,
.c-post__body h2,
.c-post__body h3,
.c-post__body ul,
.c-post__body ol,
.c-post__body blockquote {
  margin-bottom: 1.4em;
}

/* ===== Additional styles for content-depth fixes ===== */
.c-pain-numbers { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.c-pain-stat { background: rgba(124,58,237,0.08); border-left: 3px solid #7c3aed; padding: 16px 20px; flex: 1; min-width: 220px; border-radius: 4px; }
.c-pain-stat__num { display: block; font-size: 28px; font-weight: 700; color: #7c3aed; margin-bottom: 6px; }
.c-pain-stat__label { font-size: 14px; color: #9ca3af; line-height: 1.5; }
.c-story-beat { margin-bottom: 32px; }
.c-story-beat h3 { font-size: 16px; font-weight: 600; color: #7c3aed; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.c-story-beat p { font-size: 16px; line-height: 1.7; color: #d1d5db; }
.c-mission__statement { font-size: 22px; font-weight: 500; max-width: 700px; margin: 24px auto; line-height: 1.55; color: #f8fafc; text-align: center; }
.c-stage-focus { padding: 72px 0; }
.c-values__list { list-style: none; padding: 0; display: grid; gap: 20px; margin-top: 40px; }
.c-value-item { padding: 20px 24px; background: rgba(255,255,255,0.04); border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); font-size: 15px; line-height: 1.6; color: #d1d5db; }
.c-target__not-for { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.c-target__not-for h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #9ca3af; }
.c-target__not-for p { font-size: 15px; color: #9ca3af; line-height: 1.6; }
.c-features__one-liner { font-size: 15px; font-style: italic; color: #a78bfa; margin-bottom: 12px; line-height: 1.5; }
.c-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.18; z-index: 0; }

/* Blog index grid (actual HTML class names) */
.c-blog-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-blog-grid__card {
  background: var(--bg-card, #1e293b);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .18s, box-shadow .18s;
}
.c-blog-grid__card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.c-blog-grid__thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.c-blog-grid__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.c-blog-grid__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent, #e11d48);
}
.c-blog-grid__date {
  font-size: 12px;
  color: var(--text-dim, #94a3b8);
}
.c-blog-grid__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary, #f1f5f9);
  margin: 6px 0 8px;
  line-height: 1.4;
}
.c-blog-grid__excerpt {
  font-size: 14px;
  color: var(--text-muted, #cbd5e1);
  line-height: 1.65;
  margin: 0 0 14px;
}
.c-blog-grid__read-more {
  color: var(--accent, #e11d48);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 900px) { .c-blog-grid__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .c-blog-grid__list { grid-template-columns: 1fr; } }

/* Related Articles (blog detail) */
.c-related-posts { max-width: 1040px; margin: 64px auto 0; padding: 32px 24px 0; border-top: 1px solid var(--border, #334155); }
.c-related-posts__title { font-size: 20px; font-weight: 700; color: var(--text-primary, #f1f5f9); margin: 0 0 24px; }
.c-related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-related-card {
  background: var(--bg-card, #1e293b);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
}
.c-related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.c-related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.c-related-card__body { padding: 14px 16px 16px; }
.c-related-card__body h3, .c-related-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #f1f5f9);
  margin: 0 0 6px;
  line-height: 1.4;
}
.c-related-card__date {
  font-size: 12px;
  color: var(--text-dim, #94a3b8);
}
@media (max-width: 768px) {
  .c-related-posts__grid { grid-template-columns: 1fr; }
  .c-related-card img { height: 180px; }
}


/* ============================================================
   Novel Class Audit fixes — appended 2026-05-12
   ============================================================ */

/* 2a. Blog detail: article nav (prev/next) */
.article-nav {
  max-width: 780px;
  margin: 48px auto 32px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border, #334155);
}
.article-nav-prev,
.article-nav-next {
  color: var(--text-muted, #cbd5e1);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .15s;
}
.article-nav-prev:hover,
.article-nav-next:hover { color: var(--accent, #e11d48); }
.article-nav-next { margin-left: auto; }
@media (max-width: 600px) { .article-nav { flex-direction: column; gap: 12px; } }

/* 2b. Contact page column min-width guards */
.c-contact__form-col, .c-contact__info-col { min-width: 0; }

/* 2c. Features text column */
.c-features__text-col { min-width: 0; display: flex; flex-direction: column; justify-content: center; }

/* 2d. Footer brand column */
.c-footer__brand { display: flex; flex-direction: column; gap: 10px; }

/* 2e. Hero base class */
.c-hero { position: relative; overflow: hidden; }

/* 2f. How-it-works section (product.html) */
.c-how-it-works { padding: 80px 0; background: var(--bg-alt, #1e293b); }
.c-how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-how-it-works__step {
  background: var(--bg-card, #0f172a);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-how-it-works__step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent, #e11d48);
  font-family: var(--font-mono, ui-monospace);
  letter-spacing: 0.03em;
}
.c-how-it-works__step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #f1f5f9);
  margin: 0;
}
.c-how-it-works__step-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted, #cbd5e1);
  margin: 0;
}
@media (max-width: 900px) { .c-how-it-works__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .c-how-it-works__steps { grid-template-columns: 1fr; } }

/* =========================================================
   NOVEL CLASS BATCH 2 — appended 2026-05-12
   ========================================================= */

/* c-post__breadcrumb — blog detail page breadcrumb nav */
.c-post__breadcrumb {
  max-width: 780px;
  margin: 0 auto 16px;
  padding: 0 24px;
  font-size: 13px;
  color: var(--text-muted, #cbd5e1);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.c-post__breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.c-post__breadcrumb a:hover {
  color: var(--accent, #e11d48);
}

/* c-post__category — inline category label above post title */
.c-post__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent, #e11d48);
  margin-bottom: 12px;
}

/* c-post__intro — lead paragraph inside post body */
.c-post__intro {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-muted, #cbd5e1);
  margin-bottom: 28px;
  font-weight: 500;
}

/* c-post__cta — end-of-article CTA card */
.c-post__cta {
  margin: 40px auto;
  max-width: 780px;
  padding: 22px 24px;
  background: var(--bg-card, #1e293b);
  border-left: 3px solid var(--accent, #e11d48);
  border-radius: 8px;
  font-size: 16px;
  color: var(--text-muted, #cbd5e1);
}
.c-post__cta p { margin: 0; }
.c-post__cta a {
  color: var(--accent, #e11d48);
  font-weight: 600;
  text-decoration: none;
}
.c-post__cta a:hover { text-decoration: underline; }

/* c-post__table — <table> element inside post body */
.c-post__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 32px 0;
  border: 1px solid var(--border, #334155);
  border-radius: 8px;
  overflow: hidden;
}
.c-post__table th,
.c-post__table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border, #334155);
  color: var(--text-muted, #cbd5e1);
}
.c-post__table th {
  color: var(--text-primary, #f1f5f9);
  background: var(--bg-card, #1e293b);
  font-weight: 700;
}
.c-post__table tbody tr:last-child td { border-bottom: none; }

/* c-table — standalone <table> element in blog articles */
.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 32px 0;
  border: 1px solid var(--border, #334155);
  border-radius: 8px;
  overflow: hidden;
}
.c-table th,
.c-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border, #334155);
  color: var(--text-muted, #cbd5e1);
}
.c-table th {
  color: var(--text-primary, #f1f5f9);
  background: var(--bg-card, #1e293b);
  font-weight: 700;
}
.c-table tbody tr:last-child td { border-bottom: none; }

/* c-mission — about.html mission section wrapper */
.c-mission {
  padding: 64px 0;
  background: var(--bg-alt, #0f172a);
}

/* c-mission__body — mission section body paragraph */
.c-mission__body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted, #cbd5e1);
}

/* c-legal-body — legal page body container (privacy / terms / cookies) */
.c-legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px;
  color: var(--text-muted, #cbd5e1);
  line-height: 1.8;
  font-size: 15px;
}
.c-legal-body h2 {
  color: var(--text-primary, #f1f5f9);
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.c-legal-body p { margin-bottom: 16px; }

/* c-nav__link--active — current-page nav link modifier */
.c-nav__link--active {
  color: var(--accent, #e11d48) !important;
}

/* c-target-customer — product.html "Who It's For" section */
.c-target-customer {
  padding: 80px 0;
  background: var(--bg-alt, #0f172a);
}

/* c-target-customer__grid — 2-col grid wrapper (direct child of .container) */
.c-target-customer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

/* c-target-customer__col — each column card */
.c-target-customer__col {
  background: var(--bg-card, #1e293b);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border, #334155);
}

@media (max-width: 700px) {
  .c-target-customer__grid { grid-template-columns: 1fr; }
}

/* c-target-customer__col-title — column heading inside target-customer col */
.c-target-customer__col-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #f1f5f9);
  margin: 0 0 12px;
}

/* c-target-customer__text — body text inside target-customer col */
.c-target-customer__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted, #cbd5e1);
  margin: 0;
}

/* c-team__bio — team member bio paragraph */
.c-team__bio {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted, #cbd5e1);
  margin: 8px 0 0;
}
