/* ============================================================
   Claimflint.com — Brand CSS
   Batch: web0519 | Prefix: cf-
   Accent: #1e3a8a (navy) | Secondary: #b45309 (gold)
   Font pair: Plus Jakarta Sans + IBM Plex Mono
   ============================================================ */

/* ── 0. Overflow guard (MANDATORY top) ── */
html, body { overflow-x: hidden; }

/* ── 1. CSS Variables ── */
:root {
  --cf-accent:          #1e3a8a;
  --cf-accent-rgb:      30,58,138;
  --cf-secondary:       #b45309;
  --cf-secondary-rgb:   180,83,9;
  --cf-bg-dark:         #0f172a;
  --cf-bg-alt:          #1e293b;
  --cf-bg-white:        #ffffff;
  --cf-bg-off:          #f8fafc;
  --cf-text-body:       #1e293b;
  --cf-text-muted:      #64748b;
  --cf-text-light:      #f1f5f9;
  --cf-border:          rgba(15,23,42,0.08);
  --cf-nav-h:           64px;
  --font-sans:          'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display:       'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:          'IBM Plex Mono', ui-monospace, monospace;
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--cf-bg-white);
  color: var(--cf-text-body);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-top: 0;
}

a { color: var(--cf-accent); text-decoration: none; }
a:hover { opacity: 0.85; }

img { max-width: 100%; height: auto; display: block; }

html { scroll-behavior: smooth; }

/* container utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 3. Nav (cf-nav) ── */
.cf-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* NO default background — modifier class supplies it */
}

/* Solid modifier — used on ALL pages (light nav_theme + light nav) */
.cf-nav--solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--cf-border);
  box-shadow: 0 1px 4px rgba(15,23,42,0.04);
}

.cf-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--cf-nav-h);
}

.cf-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  color: var(--cf-bg-dark);
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

.cf-nav__logo-img { height: 28px; width: auto; }

/* Solid nav — show dark logo (dark ink on white bg) */
.cf-nav--solid .cf-nav__logo-img--light { display: inline; }
.cf-nav--solid .cf-nav__logo-img--dark  { display: none; }

.cf-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cf-nav__links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  color: #334155;
  transition: color 0.2s;
}

.cf-nav__links a:hover,
.cf-nav__links a.active {
  color: var(--cf-accent);
}

.cf-nav__cta {
  background: var(--cf-accent) !important;
  color: #ffffff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.cf-nav__cta:hover {
  opacity: 0.9;
  color: #ffffff !important;
}

/* Secondary ghost CTA */
.cf-nav__secondary-cta {
  background: transparent;
  color: var(--cf-accent) !important;
  border: 1px solid rgba(30,58,138,0.25);
  padding: 7px 16px !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.cf-nav__secondary-cta:hover {
  background: rgba(30,58,138,0.06);
  border-color: var(--cf-accent);
  opacity: 1;
}

.cf-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.cf-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cf-bg-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Responsive nav */
@media (max-width: 768px) {
  .cf-nav__links,
  .c-nav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--cf-nav-h);
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 12px 16px;
    border-top: 1px solid var(--cf-border);
    box-shadow: 0 8px 24px rgba(15,23,42,0.1);
  }
  .cf-nav__links.open { display: flex; }
  .cf-nav__links a { padding: 10px 12px; width: 100%; }
  .cf-nav__toggle,
  .c-nav__toggle { display: block; }
}

/* Page-sub: no body padding needed — sticky nav is self-positioning */

/* ── 4. Section Header (shared) ── */
.cf-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.cf-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cf-accent);
  margin-bottom: 12px;
}

.cf-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--cf-text-body);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cf-section-desc {
  font-size: 17px;
  color: var(--cf-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── 5. Buttons ── */
.cf-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);
  border: none;
}

.cf-btn--primary {
  background: var(--cf-accent);
  color: #ffffff;
}
.cf-btn--primary:hover { opacity: 0.9; color: #ffffff; }

.cf-btn--secondary {
  background: var(--cf-secondary);
  color: #ffffff;
}
.cf-btn--secondary:hover { opacity: 0.9; color: #ffffff; }

.cf-btn--outline {
  background: transparent;
  color: var(--cf-accent);
  border: 1.5px solid var(--cf-accent);
}
.cf-btn--outline:hover {
  background: rgba(30,58,138,0.06);
  color: var(--cf-accent);
}

.cf-btn--outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.cf-btn--outline-white:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

/* ── 6. Hero — C-split (split-col-photo) ── */
.cf-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--cf-bg-dark);
  color: #ffffff;
  overflow: hidden;
}

.cf-hero--split-col {
  /* dark background with hero image */
}

.cf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cf-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.92) 45%, rgba(15,23,42,0.55) 75%, rgba(15,23,42,0.2) 100%);
  z-index: 1;
}

.cf-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cf-hero__content {
  width: 100%;
}

.cf-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.cf-hero__headline {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  max-width: 600px;
}

.cf-hero__subline {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 520px;
}

.cf-hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cf-hero__image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-hero__image-col img {
  width: 100%;
  max-width: 560px;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  object-fit: cover;
  aspect-ratio: 16/10;
}

@media (max-width: 960px) {
  .cf-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px 60px;
  }
  .cf-hero__image-col { display: none; }
  .cf-hero__headline { font-size: 36px; }
}

@media (max-width: 768px) {
  .cf-hero { min-height: 70vh; }
  .cf-hero__headline { font-size: 30px; }
  .cf-hero__subline { font-size: 16px; }
}

/* ── 7. Stats (cf-stats, B-cards) ── */
.cf-stats {
  padding: 64px 0;
  background: var(--cf-bg-off);
  border-top: 1px solid rgba(30,58,138,0.06);
  border-bottom: 1px solid rgba(30,58,138,0.06);
}

.cf-stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.cf-stats__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(30,58,138,0.08);
  box-shadow: 0 2px 12px rgba(15,23,42,0.04);
}

.cf-stats__number {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--cf-secondary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
}

.cf-stats__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-text-body);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf-stats__desc {
  font-size: 13px;
  color: var(--cf-text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .cf-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
  .cf-stats__grid { grid-template-columns: 1fr; }
}

/* ── 8. Features (cf-features, C-alternating + icon-per-card for index) ── */
.cf-features {
  padding: 88px 0;
  background: var(--cf-bg-white);
}

.cf-features__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Icon card grid for homepage preview (6 cards 3x2) */
.cf-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cf-features__item {
  background: var(--cf-bg-off);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid rgba(30,58,138,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.cf-features__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(30,58,138,0.08);
  border-color: rgba(30,58,138,0.15);
}

.cf-features__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,58,138,0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--cf-accent);
  flex-shrink: 0;
}

.cf-features__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cf-features__body {
  font-size: 14px;
  color: var(--cf-text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

@media (max-width: 900px) {
  .cf-features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .cf-features__grid { grid-template-columns: 1fr; }
}

/* Alternating rows (product page) */
.cf-features--alternating {
  padding: 88px 0;
  background: var(--cf-bg-white);
}

.cf-features__rows {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.cf-features__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cf-features__row--reversed .cf-features__text-col { order: 2; }
.cf-features__row--reversed .cf-features__img-col  { order: 1; }

.cf-features__img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 32px rgba(15,23,42,0.12);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.cf-features__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cf-features__img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cf-features__row .cf-features__name {
  font-size: 24px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 16px;
}

.cf-features__row .cf-features__body {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 14px;
}

.cf-features__row .cf-features__one-liner {
  font-size: 17px;
  font-weight: 600;
  color: var(--cf-accent);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

@media (max-width: 768px) {
  .cf-features__row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cf-features__row--reversed .cf-features__text-col,
  .cf-features__row--reversed .cf-features__img-col { order: unset; }
}

/* ── 9. Process (cf-process, A-numbered) ── */
.cf-process {
  padding: 88px 0;
  background: var(--cf-bg-off);
}

.cf-process__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.cf-process__step {
  position: relative;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(30,58,138,0.08);
}

.cf-process__step-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: rgba(30,58,138,0.12);
  line-height: 1;
  margin-bottom: 20px;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.cf-process__step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cf-process__step-body {
  font-size: 14px;
  color: var(--cf-text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .cf-process__steps { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .cf-process__steps { grid-template-columns: 1fr; }
}

/* ── 10. Testimonials (cf-testimonials, B-stats) ── */
.cf-testimonials {
  padding: 88px 0;
  background: var(--cf-accent);
  color: #ffffff;
}

.cf-testimonials__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-testimonials .cf-section-label {
  color: rgba(255,255,255,0.7);
}

.cf-testimonials .cf-section-title {
  color: #ffffff;
}

.cf-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cf-testimonials__card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.12);
}

.cf-testimonials__stat {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: var(--cf-secondary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.cf-testimonials__source {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.cf-testimonials__quote {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .cf-testimonials__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── 11. CTA Banner (cf-cta, A-banner) ── */
.cf-cta {
  padding: 80px 0;
  background: var(--cf-bg-dark);
  color: #ffffff;
  text-align: center;
}

.cf-cta__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-cta__headline {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cf-cta__body {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.65;
}

.cf-cta__btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 12. Team (cf-team) ── */
.cf-team {
  padding: 88px 0;
  background: var(--cf-bg-off);
}

.cf-team__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.cf-team__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(30,58,138,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 12px rgba(15,23,42,0.04);
  transition: box-shadow 0.2s ease;
}

.cf-team__card:hover {
  box-shadow: 0 8px 28px rgba(30,58,138,0.1);
}

.cf-team__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  border: 3px solid rgba(30,58,138,0.1);
}

.cf-team__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 4px;
}

.cf-team__title {
  font-size: 13px;
  color: var(--cf-accent);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf-team__bio {
  font-size: 13px;
  color: var(--cf-text-muted);
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

@media (max-width: 900px) {
  .cf-team__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 480px) {
  .cf-team__grid { grid-template-columns: 1fr; }
}

/* ── 13. Footer (cf-footer, A-4col) ── */
.cf-footer {
  background: var(--cf-bg-dark);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #94a3b8;
}

.cf-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.cf-footer__brand {
  /* brand column */
}

.cf-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 14px;
}

.cf-footer__logo-img {
  height: 28px;
  width: auto;
}

.cf-footer__tagline {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  max-width: 260px;
  margin: 0;
}

.cf-footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.cf-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cf-footer__nav-list li {
  margin-bottom: 10px;
}

.cf-footer__nav-list a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.cf-footer__nav-list a:hover {
  color: #e2e8f0;
}

.cf-footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cf-footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
}

.cf-footer__contact-list i {
  color: var(--cf-accent);
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.cf-footer__copyright {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
  flex-wrap: wrap;
  gap: 12px;
}

.cf-footer__legal {
  display: flex;
  gap: 20px;
}

.cf-footer__legal a {
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.cf-footer__legal a:hover { color: #94a3b8; }

@media (max-width: 768px) {
  .cf-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cf-footer__copyright { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .cf-footer__grid { grid-template-columns: 1fr; }
}

/* ── 14. Cookie banner (cf-cookie, B-sensitive) ── */
.cf-cookie--sensitive {
  /* variant modifier: adds emphasised no-sell/no-adtech copy */
}

.cf-cookie {
  position: fixed;
  inset: auto 16px 16px 16px;
  max-width: 720px;
  margin-left: auto;
  z-index: 1080;
  background: #ffffff;
  color: var(--cf-text-body);
  border: 1px solid rgba(30,58,138,0.1);
  box-shadow: 0 20px 50px rgba(15,23,42,0.16);
  border-radius: 12px;
  padding: 16px 20px;
}

.cf-cookie[hidden] { display: none !important; }

.cf-cookie__bar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.cf-cookie__text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #374151;
}

.cf-cookie__text strong { font-weight: 700; }

.cf-cookie__text a {
  color: var(--cf-accent);
  text-decoration: underline;
}

.cf-cookie__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.cf-btn--sm {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}

.cf-btn--outline-sm {
  background: transparent;
  color: var(--cf-text-muted);
  border: 1px solid rgba(15,23,42,0.15);
}

.cf-btn--outline-sm:hover {
  border-color: var(--cf-accent);
  color: var(--cf-accent);
}

.cf-btn--primary-sm {
  background: var(--cf-accent);
  color: #ffffff;
}

.cf-btn--primary-sm:hover { opacity: 0.9; color: #ffffff; }

@media (max-width: 576px) {
  .cf-cookie { inset: auto 8px 8px 8px; }
  .cf-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ── 15. Page hero (sub-pages) ── */
.cf-page-hero {
  background: var(--cf-bg-dark);
  padding: 72px 0 56px;
  text-align: center;
}

.cf-page-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cf-secondary);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.cf-page-hero__title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cf-page-hero__lede {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── 16. About page specific sections ── */
.cf-about {
  padding: 88px 0;
  background: var(--cf-bg-white);
}

.cf-about__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* founding-story section */
.cf-founding {
  padding: 88px 0;
  background: var(--cf-bg-off);
}

.cf-founding__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cf-founding__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cf-accent);
  margin-bottom: 16px;
}

.cf-founding__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--cf-text-body);
  margin-bottom: 24px;
  line-height: 1.2;
}

.cf-founding__body p {
  font-size: 16px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 18px;
}

.cf-founding__aside {
  border-left: 3px solid var(--cf-accent);
  padding-left: 24px;
  margin-top: 32px;
}

.cf-founding__pull-quote {
  font-size: 22px;
  font-weight: 700;
  color: var(--cf-text-body);
  line-height: 1.45;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .cf-founding__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* mission section */
.cf-mission {
  padding: 80px 0;
  background: var(--cf-accent);
  color: #ffffff;
  text-align: center;
}

.cf-mission__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-mission__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.cf-mission__statement {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  max-width: 820px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.cf-mission__context {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* stage-focus section */
.cf-stage {
  padding: 80px 0;
  background: var(--cf-bg-off);
}

.cf-stage__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.cf-stage__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cf-accent);
  margin-bottom: 12px;
}

.cf-stage__badge {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: var(--cf-text-body);
  border: 2px solid var(--cf-accent);
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 12px;
  text-transform: capitalize;
}

.cf-stage__content .cf-section-label {
  text-align: left;
}

.cf-stage__headline {
  font-size: 26px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cf-stage__body p {
  font-size: 16px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .cf-stage__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* values / approach section */
.cf-values {
  padding: 88px 0;
  background: var(--cf-bg-white);
}

.cf-values__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-values__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cf-values__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cf-bg-off);
  border-radius: 10px;
  padding: 24px 20px;
  border: 1px solid rgba(30,58,138,0.06);
}

.cf-values__item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(30,58,138,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--cf-accent);
  flex-shrink: 0;
}

.cf-values__item-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--cf-text-body);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .cf-values__list { grid-template-columns: 1fr; }
}

/* ── 17. Product page specific ── */
/* problem section */
.cf-problem {
  padding: 88px 0;
  background: var(--cf-bg-dark);
  color: #ffffff;
}

.cf-problem__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cf-problem__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cf-secondary);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.cf-problem__title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.cf-problem__body p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 18px;
}

.cf-problem__stats-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-problem__stat-item {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.cf-problem__stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--cf-secondary);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.cf-problem__stat-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .cf-problem__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* how-it-works section */
.cf-how {
  padding: 88px 0;
  background: var(--cf-bg-off);
}

.cf-how__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-how__flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.cf-how__step {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid rgba(30,58,138,0.08);
  position: relative;
}

.cf-how__step::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--cf-accent);
  opacity: 0.4;
  z-index: 1;
}

.cf-how__step:last-child::after { display: none; }

.cf-how__step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cf-accent);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.cf-how__step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 12px;
}

.cf-how__step-body {
  font-size: 14px;
  color: var(--cf-text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .cf-how__flow { grid-template-columns: 1fr; gap: 20px; }
  .cf-how__step::after { display: none; }
}

/* target-customer section */
.cf-target {
  padding: 88px 0;
  background: var(--cf-bg-white);
}

.cf-target__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cf-target__for,
.cf-target__notfor {
  background: var(--cf-bg-off);
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid rgba(30,58,138,0.07);
}

.cf-target__for {
  border-top: 4px solid var(--cf-accent);
}

.cf-target__notfor {
  border-top: 4px solid #94a3b8;
}

.cf-target__heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 16px;
}

.cf-target__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-target__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
}

.cf-target__list li i {
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.cf-target__for .cf-target__list li i { color: var(--cf-accent); }
.cf-target__notfor .cf-target__list li i { color: #94a3b8; }

@media (max-width: 768px) {
  .cf-target__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* integrations section */
.cf-integrations {
  padding: 64px 0;
  background: var(--cf-bg-off);
  text-align: center;
}

.cf-integrations__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-integrations__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.cf-integrations__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid rgba(30,58,138,0.1);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-text-body);
  box-shadow: 0 1px 4px rgba(15,23,42,0.04);
}

.cf-integrations__chip i {
  color: var(--cf-accent);
  font-size: 13px;
}

/* ── 18. Sub-page generic content region ── */
.cf-content-section {
  padding: 80px 0;
  background: var(--cf-bg-white);
}
.cf-content-section--alt {
  background: var(--cf-bg-off);
}

.cf-team-skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .cf-team-skills__grid { grid-template-columns: 1fr; }
}

.cf-content-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 19. 404 page ── */
.cf-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--cf-bg-off);
}

.cf-404__code {
  font-size: 120px;
  font-weight: 800;
  color: rgba(30,58,138,0.1);
  line-height: 1;
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.06em;
}

.cf-404__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 16px;
}

.cf-404__body {
  font-size: 16px;
  color: var(--cf-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ── 20. Blog grid index preview on homepage ── */
.cf-insights-preview {
  padding: 88px 0;
  background: var(--cf-bg-off);
}

.cf-insights-preview__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.cf-blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(30,58,138,0.07);
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.cf-blog-card:hover {
  box-shadow: 0 8px 24px rgba(30,58,138,0.1);
}

.cf-blog-card__thumb-wrap {
  display: block;
  overflow: hidden;
}

.cf-blog-card__thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.cf-blog-card:hover .cf-blog-card__thumb {
  transform: scale(1.03);
}

.cf-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cf-blog-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cf-accent);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.cf-blog-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--cf-text-body);
  line-height: 1.4;
  margin-bottom: 10px;
}

.cf-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.cf-blog-card__title a:hover { color: var(--cf-accent); }

.cf-blog-card__excerpt {
  font-size: 13px;
  color: var(--cf-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.cf-blog-card__meta {
  font-size: 12px;
  color: var(--cf-text-muted);
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.cf-blog-grid-center {
  text-align: center;
}

@media (max-width: 768px) {
  .cf-blog-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── 21. Contact page (cf-contact, A-split) ── */
.cf-contact {
  padding: 80px 0;
  background: var(--cf-bg-white);
}

.cf-contact__split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cf-contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-contact__field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-text-body);
}

.cf-contact__field input,
.cf-contact__field textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--cf-text-body);
  background: var(--cf-bg-off);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 8px;
  font-family: var(--font-sans);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cf-contact__field input:focus,
.cf-contact__field textarea:focus {
  outline: none;
  border-color: var(--cf-accent);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.08);
}

.cf-contact__field input::placeholder,
.cf-contact__field textarea::placeholder {
  color: #94a3b8;
}

.cf-contact__field textarea {
  resize: vertical;
  min-height: 120px;
}

.cf-contact__submit {
  align-self: flex-start;
  cursor: pointer;
}

.cf-contact__success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #f0fdf4;
  border: 1px solid rgba(21,128,61,0.2);
  border-radius: 8px;
  font-size: 15px;
  color: #15803d;
}

.cf-contact__success[hidden] { display: none !important; }

.cf-contact__success i { font-size: 16px; }

.cf-contact__form-col {
  display: flex;
  flex-direction: column;
}

.cf-contact__office-col {
  padding-top: 4px;
}

.cf-contact__office {
  display: flex;
  flex-direction: column;
}

.cf-contact__office-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 8px;
  line-height: 1.3;
}

.cf-contact__office-addr {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
}

.cf-contact__info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cf-contact__info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #475569;
}

.cf-contact__info-list i {
  color: var(--cf-accent);
  font-size: 14px;
  width: 16px;
  flex-shrink: 0;
}

.cf-contact__info-list a {
  color: var(--cf-accent);
  text-decoration: none;
}

.cf-contact__info-list a:hover { text-decoration: underline; }

.cf-contact__note {
  background: var(--cf-bg-off);
  border-left: 3px solid var(--cf-accent);
  padding: 20px 20px 20px 20px;
  border-radius: 0 8px 8px 0;
}

.cf-contact__note p {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .cf-contact__split { grid-template-columns: 1fr; gap: 40px; }
}

/* ── 22. Insights / blog list page ── */
.cf-insights-page {
  padding: 72px 0 88px;
  background: var(--cf-bg-white);
}

.cf-insights-page__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.cf-insights-grid > li {
  list-style: none;
}

@media (max-width: 900px) {
  .cf-insights-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .cf-insights-grid { grid-template-columns: 1fr; }
}

/* ==== BLOG ARTICLE READING WIDTH (MANDATORY per standards/components/blog-article.md §0) ==== */
.c-article,
.c-article__container,
.c-post__body,
.c-post,
.c-blog-post,
.blog-article,
.blog-article-body,
.blog-article-content,
.blog-post,
.blog-post-body,
.article-body,
.article-content,
.post-content,
.post-body,
.container-narrow,
.reading-column {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.c-article img,
.c-article__container img,
.c-post__body img,
.blog-article-body img,
.blog-post img,
.article-body img,
.article-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 24px auto 32px;
}

.c-article h2,
.c-post__body h2,
.blog-article-body h2,
.blog-post h2,
.article-body h2,
.post-content h2 { margin-top: 48px; margin-bottom: 20px; }

/* ── 23. Blog / article post detail ── */
.cf-post {
  background: var(--cf-bg-white);
}

.cf-post__header {
  background: var(--cf-bg-dark);
  padding: 72px 0 56px;
  text-align: center;
}

.cf-post__header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-post__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cf-secondary);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.cf-post__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cf-post__meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cf-post__hero-img-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  margin-top: -32px;
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(15,23,42,0.18);
  aspect-ratio: 16/9;
}

.cf-post__hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.cf-post__hero-img {
  width: 100%;
  display: block;
}

/* c-post__body / cf-post__body: aliases required by verify_site.py known_wrapper_classes */
.c-post__body,
.cf-post__body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Blog article reading width — canonical block per standards/components/blog-article.md §0 */
.cf-post__body-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--cf-text-body);
}

.cf-post__body-wrap h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-top: 40px;
  margin-bottom: 16px;
}

.cf-post__body-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-top: 32px;
  margin-bottom: 12px;
}

.cf-post__body-wrap p {
  margin-bottom: 20px;
}

.cf-post__body-wrap ul,
.cf-post__body-wrap ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.cf-post__body-wrap li {
  margin-bottom: 8px;
}

.cf-post__body-wrap blockquote {
  border-left: 4px solid var(--cf-accent);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--cf-bg-off);
  border-radius: 0 8px 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--cf-text-body);
  line-height: 1.55;
}

/* Related articles */
.cf-related {
  padding: 64px 0;
  background: var(--cf-bg-off);
}

.cf-related__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-related__heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-bottom: 32px;
}

.cf-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cf-related__card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(30,58,138,0.07);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.cf-related__card:hover {
  box-shadow: 0 8px 24px rgba(30,58,138,0.1);
}

.cf-related__card-img {
  width: 100%;
  height: 160px;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.cf-related__card-body {
  padding: 16px;
  flex: 1;
}

.cf-related__card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--cf-text-body);
  line-height: 1.4;
  margin: 0;
}

.cf-related__card:hover .cf-related__card-title { color: var(--cf-accent); }

@media (max-width: 768px) {
  .cf-related__grid { grid-template-columns: 1fr; }
}

/* ── 24. Login / auth pages (Pattern A subfolder) ── */
.cf-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30,58,138,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(30,58,138,0.12) 0%, transparent 50%),
    #0f172a;
}

.cf-auth-split {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 64px);
}

.cf-auth-form-side {
  flex: 0 0 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.cf-auth-info-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 64px;
  background: rgba(30,58,138,0.12);
  border-left: 1px solid rgba(255,255,255,0.06);
}

.cf-auth-card {
  background: #1a2440;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.cf-auth-logo {
  display: block;
  margin-bottom: 32px;
}

.cf-auth-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.cf-auth-card .cf-auth-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 28px;
}

.cf-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-auth-form .cf-auth-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-auth-form label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.cf-auth-form .cf-auth-control {
  padding: 12px 16px;
  font-size: 15px;
  color: #f1f5f9;
  background: #12121e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-family: var(--font-sans);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.cf-auth-form .cf-auth-control:focus {
  outline: none;
  border-color: #4f7ef8;
  box-shadow: 0 0 0 3px rgba(79,126,248,0.15);
}

.cf-auth-form .cf-auth-control::placeholder { color: #475569; }

.cf-auth-form .cf-auth-name-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cf-auth-form .cf-auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}

.cf-auth-form .cf-auth-check input { width: auto; }

.cf-auth-form .btn-auth {
  width: 100%;
  padding: 14px;
  background: var(--cf-accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  font-family: var(--font-sans);
  transition: filter 0.2s;
}

.cf-auth-form .btn-auth:hover { filter: brightness(1.12); }

.cf-auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #64748b;
}

.cf-auth-links a {
  color: #4f7ef8;
  text-decoration: none;
  font-weight: 500;
}

.cf-auth-links a:hover { text-decoration: underline; }

.cf-auth-terms {
  font-size: 12px;
  color: #475569;
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.cf-auth-terms a { color: #4f7ef8; text-decoration: none; }
.cf-auth-terms a:hover { text-decoration: underline; }

.cf-auth-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  display: none;
}

.cf-auth-message.success {
  background: rgba(21,128,61,0.15);
  color: #86efac;
  border: 1px solid rgba(134,239,172,0.2);
  display: flex;
}

.cf-auth-message.error {
  background: rgba(185,28,28,0.15);
  color: #fca5a5;
  border: 1px solid rgba(252,165,165,0.2);
  display: flex;
}

/* Right info side */
.cf-auth-info-side .cf-auth-info-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.cf-auth-info-side h3 {
  font-size: 28px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.cf-auth-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-auth-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}

.cf-auth-features li i {
  color: #b45309;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.cf-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Mini footer for auth pages */
.cf-auth-mini-footer {
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #475569;
}

.cf-auth-mini-footer a {
  color: #475569;
  text-decoration: none;
}

.cf-auth-mini-footer a:hover { color: #94a3b8; }

/* Dashboard mockup */
.cf-dash {
  flex: 1;
  display: flex;
}

.cf-dash__sidebar {
  width: 240px;
  background: rgba(0,0,0,0.25);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
}

.cf-dash__logo {
  padding: 0 24px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.cf-dash__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.cf-dash__nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.cf-dash__nav li a:hover,
.cf-dash__nav li.active a {
  background: rgba(255,255,255,0.05);
  color: #f1f5f9;
}

.cf-dash__nav li a i {
  width: 16px;
  text-align: center;
  font-size: 13px;
}

.cf-dash__logout {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cf-dash__logout a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
}

.cf-dash__logout a:hover { color: #94a3b8; }

.cf-dash__main {
  flex: 1;
  padding: 40px 48px;
  overflow-y: auto;
}

.cf-dash__welcome {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 32px;
}

.cf-dash__stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.cf-dash__stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 24px 20px;
}

.cf-dash__stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.cf-dash__stat-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf-dash__section-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.cf-dash__notice {
  background: rgba(30,58,138,0.15);
  border: 1px solid rgba(30,58,138,0.3);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.cf-dash__notice i {
  color: #4f7ef8;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .cf-auth-split { flex-direction: column; }
  .cf-auth-info-side { display: none; }
  .cf-auth-form-side { flex: 1; padding: 32px 24px; }
  .cf-auth-card { padding: 32px 24px; }
  .cf-dash__stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-dash__sidebar { display: none; }
}

@media (max-width: 480px) {
  .cf-dash__stat-grid { grid-template-columns: 1fr; }
  .cf-auth-form .cf-auth-name-cols { grid-template-columns: 1fr; }
}

/* ── 25. Legal pages ── */
.cf-legal {
  padding: 72px 0 88px;
  background: var(--cf-bg-white);
}

.cf-legal__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.cf-legal__inner h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-top: 40px;
  margin-bottom: 12px;
}

.cf-legal__inner h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--cf-text-body);
  margin-top: 28px;
  margin-bottom: 8px;
}

.cf-legal__inner p {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 16px;
}

.cf-legal__inner ul,
.cf-legal__inner ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.cf-legal__inner li {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 6px;
}

.cf-legal__last-updated {
  font-size: 13px;
  color: var(--cf-text-muted);
  margin-bottom: 32px;
}
