/* creditfern.css — Creditfern site styles */
/* Inlines all component CSS: base, nav, hero, stats, features, process, team, cta, contact, footer, cookie-banner */

/* ============================================================ */
/* CSS VARIABLES                                                 */
/* ============================================================ */
:root {
  --accent: #4f46e5;
  --accent-rgb: 79, 70, 229;
  --secondary: #0f172a;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ============================================================ */
/* BASE / RESET                                                  */
/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11','ss01','ss03';
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================ */
/* NAV COMPONENT                                                 */
/* ============================================================ */
.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; }

/* Nav theme: light */
.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 { 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; }

/* Nav theme: dark */
.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(15,23,42,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 { 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__logo-img ~ .c-nav__logo-fallback,
.c-nav__logo:has(.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: #0f172a; padding: 16px;
    border-top: 1px solid #1e293b;
  }
  .c-nav[data-nav-theme="light"] .c-nav__links {
    background: #ffffff;
    border-top-color: rgba(15,23,42,0.08);
  }
  .c-nav[data-nav-theme="light"] .c-nav__links a { color: #0f172a; }
  .c-nav__links.open { display: flex; }
  .c-nav__toggle { display: block; }
}

/* ============================================================ */
/* HERO COMPONENT                                                */
/* ============================================================ */
.c-hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  overflow: hidden; background: #0f172a; color: #f1f5f9;
}
.c-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 100%);
  z-index: 1;
}
.c-hero__wrap {
  position: relative; z-index: 2;
  max-width: 1140px; width: 100%; margin: 0 auto; padding: 0 24px;
}
.c-hero__col { min-width: 0; }
.c-hero__col--8 { max-width: 66.666%; }
.c-hero__col--center { max-width: 820px; margin: 0 auto; text-align: center; }
@media (max-width: 768px) {
  .c-hero__col--8, .c-hero__col--center { max-width: 100%; }
}
.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__title {
  font-size: 48px; font-weight: 800; line-height: 1.15;
  color: #ffffff; margin-bottom: 20px; max-width: 720px;
}
.c-hero__subtitle {
  font-size: 18px; line-height: 1.7;
  color: #94a3b8; margin-bottom: 32px; max-width: 600px;
}
.c-hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Variant: Full-Bleed (D) */
.c-hero--full-bleed { min-height: 92vh; padding: 0; }
.c-hero--full-bleed .c-hero__bg { position: absolute; inset: 0; z-index: 0; }
.c-hero--full-bleed .c-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-hero__overlay--gradient {
  background: linear-gradient(90deg, rgba(10,14,23,0.82) 0%, rgba(10,14,23,0.55) 55%, rgba(10,14,23,0.1) 100%);
}
@media (max-width: 768px) {
  .c-hero--full-bleed { min-height: 78vh; }
  .c-hero__overlay--gradient {
    background: linear-gradient(180deg, rgba(10,14,23,0.45) 0%, rgba(10,14,23,0.85) 100%);
  }
}

/* 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;
  border: none;
}
.c-btn--primary { background: var(--accent); color: #ffffff; }
.c-btn--primary:hover { opacity: 0.9; 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; }

@media (max-width: 768px) {
  .c-hero { min-height: 70vh; padding: 80px 0 60px; }
  .c-hero__title { font-size: 32px; }
  .c-hero__subtitle { font-size: 16px; }
}

/* Page hero (inner pages compact) */
.c-page-hero {
  background: #0f172a;
  padding: 120px 0 64px;
  text-align: center;
  color: #f1f5f9;
}
.c-page-hero__eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.c-page-hero__title {
  font-size: 40px; font-weight: 800; line-height: 1.15;
  color: #ffffff; margin-bottom: 16px;
}
.c-page-hero__lede {
  font-size: 17px; line-height: 1.7; color: #94a3b8;
  max-width: 560px; margin: 0 auto;
}
@media (max-width: 768px) {
  .c-page-hero { padding: 100px 0 48px; }
  .c-page-hero__title { font-size: 28px; }
}

/* ============================================================ */
/* SECTION SHARED                                                */
/* ============================================================ */
.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: #f1f5f9; margin-bottom: 16px;
}
.c-section-title--dark { color: #0f172a; }
.c-section-desc {
  font-size: 17px; color: #94a3b8;
  max-width: 640px; margin: 0 auto; line-height: 1.7;
}
.c-section-desc--dark { color: #475569; }

/* ============================================================ */
/* STATS COMPONENT                                               */
/* ============================================================ */
.c-stats { padding: 48px 0; }
.c-stats--cards { background: #0f172a; 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: #1e293b; 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: #94a3b8;
  margin-top: 8px; line-height: 1.4;
}
.c-stats__desc { font-size: 13px; color: #64748b; 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                                            */
/* ============================================================ */
.c-features { padding: 80px 0; background: #0a0e17; }
.c-features__grid--6 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.c-features__card {
  background: #1e293b; border-radius: 12px; padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column; height: 100%;
}
.c-features__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.c-features__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79,70,229,0.12);
  border-radius: 10px; margin-bottom: 20px;
  font-size: 20px; color: var(--accent);
}
.c-features__name {
  font-size: 18px; font-weight: 700; color: #f1f5f9; margin-bottom: 12px;
}
.c-features__text { font-size: 15px; color: #94a3b8; line-height: 1.7; flex: 1; }
@media (max-width: 768px) {
  .c-features__grid--6 { grid-template-columns: 1fr; }
  .c-section-title { font-size: 28px; }
}

/* ============================================================ */
/* PROCESS COMPONENT                                             */
/* ============================================================ */
.c-process { padding: 80px 0; }
.c-process__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.c-process__step {
  position: relative; padding: 32px 24px;
  background: #1e293b; 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: #f1f5f9; margin-bottom: 12px;
}
.c-process__text { font-size: 15px; color: #94a3b8; 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                                                */
/* ============================================================ */
.c-team { padding: 80px 0; }
.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 #1e293b;
}
.c-team__name { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.c-team__role { font-size: 14px; color: #64748b; }

/* ============================================================ */
/* CTA COMPONENT                                                 */
/* ============================================================ */
.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; }

/* CTA Variant B: Newsletter */
.c-cta--newsletter {
  background: #fafaf9; padding: 72px 0 64px; text-align: left;
  border-top: 1px solid rgba(15,23,42,0.1);
  border-bottom: 1px solid rgba(15,23,42,0.1);
}
.c-cta__newsletter-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.c-cta__newsletter-copy { max-width: 480px; }
.c-cta__newsletter-title {
  font-size: 28px; font-weight: 700; line-height: 1.2;
  color: #111827; margin: 0 0 10px; letter-spacing: -0.01em;
}
.c-cta__newsletter-desc { font-size: 15px; color: #4b5563; line-height: 1.6; margin: 0; }
.c-cta__newsletter-form { display: flex; gap: 8px; max-width: 440px; }
.c-cta__newsletter-input {
  flex: 1; font-size: 15px; padding: 12px 14px;
  border: 1px solid rgba(15,23,42,0.2); border-radius: 8px;
  background: #ffffff; color: #111827;
}
.c-cta__newsletter-input:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent;
}
.c-cta--newsletter .c-btn--primary { background: #111827; color: #ffffff; }
.c-cta__newsletter-note { max-width: 1140px; margin: 20px auto 0; padding: 0 24px; font-size: 12px; color: #6b7280; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 768px) {
  .c-cta__newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .c-cta__newsletter-title { font-size: 22px; }
}

/* ============================================================ */
/* CONTACT COMPONENT                                             */
/* ============================================================ */
.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: #f1f5f9; margin-bottom: 32px; }
.c-contact__form input,
.c-contact__form select,
.c-contact__form textarea {
  width: 100%; background: #1e293b; 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: inherit;
}
.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: #1e293b; }
.c-contact__form button { cursor: pointer; }
.c-contact__info-title { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 24px; }
.c-contact__info-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 20px; font-size: 15px; color: #94a3b8;
}
.c-contact__info-item i { color: var(--accent); font-size: 16px; margin-top: 3px; min-width: 20px; }
.c-contact__info-item a { color: #94a3b8; text-decoration: none; }
.c-contact__info-item a:hover { color: var(--accent); }

/* ============================================================ */
/* FOOTER COMPONENT                                              */
/* ============================================================ */
.c-footer {
  background: #0f172a; padding: 64px 0 0;
  border-top: 1px solid #1e293b; color: #94a3b8;
}
.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: #f1f5f9;
  text-decoration: none; display: inline-block; margin-bottom: 12px;
}
.c-footer__logo span { color: var(--accent); }
.c-footer__logo-img { height: 28px; width: auto; display: block; margin-bottom: 12px; }
.c-footer__tagline { font-size: 14px; color: #64748b; 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; color: #94a3b8; font-size: 14px; }
.c-footer__col ul li a { color: #94a3b8; text-decoration: none; transition: color 0.2s; font-size: 14px; }
.c-footer__col ul li 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 #1e293b; 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: #64748b; text-decoration: none; font-size: 13px; }
.c-footer__legal a:hover { color: #94a3b8; }
@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                                                 */
/* ============================================================ */
.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; }
@media (max-width: 576px) {
  .c-cookie { inset: auto 8px 8px 8px; }
  .c-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================ */
/* ABOUT PAGE                                                    */
/* ============================================================ */
.c-about { padding: 80px 0; }
.c-about__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.c-about__title { font-size: 32px; font-weight: 800; color: #f1f5f9; margin-bottom: 24px; }
.c-about__body { font-size: 16px; color: #94a3b8; line-height: 1.8; }
.c-about__body p { margin-bottom: 20px; }
.c-about__values { margin-top: 40px; }
.c-about__values h3 { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 20px; }
.c-about__values ul { list-style: none; padding: 0; }
.c-about__values li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: #94a3b8; margin-bottom: 14px; line-height: 1.6;
}
.c-about__values li i { color: var(--accent); margin-top: 3px; min-width: 18px; }
@media (max-width: 768px) { .c-about__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================ */
/* PRODUCT PAGE                                                  */
/* ============================================================ */
.c-product { padding: 80px 0; }
.c-product__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-product__intro { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.c-product__intro-title { font-size: 32px; font-weight: 800; color: #f1f5f9; margin-bottom: 16px; }
.c-product__intro-body { font-size: 16px; color: #94a3b8; line-height: 1.8; }
.c-product__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.c-product__feature {
  background: #1e293b; border-radius: 12px; padding: 36px 32px;
  display: flex; flex-direction: column;
}
.c-product__feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79,70,229,0.12); border-radius: 10px;
  font-size: 20px; color: var(--accent); margin-bottom: 20px;
}
.c-product__feature-name { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.c-product__feature-oneliner { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.c-product__feature-body { font-size: 15px; color: #94a3b8; line-height: 1.75; flex: 1; }
.c-product__integrations { margin-top: 80px; }
.c-product__integrations-title { font-size: 24px; font-weight: 700; color: #f1f5f9; margin-bottom: 24px; text-align: center; }
.c-product__integrations-list {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.c-product__integrations-item {
  background: #1e293b; border: 1px solid #334155; border-radius: 8px;
  padding: 10px 20px; font-size: 14px; color: #94a3b8; font-weight: 500;
}
@media (max-width: 768px) { .c-product__features { grid-template-columns: 1fr; } }

/* ============================================================ */
/* BLOG ARTICLE READING WIDTH (MANDATORY)                        */
/* ============================================================ */
.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; }

.c-article h3,
.c-post__body h3,
.blog-article-body h3,
.blog-post h3,
.article-body h3,
.post-content h3 { margin-top: 36px; margin-bottom: 16px; }

.c-post__body,
.c-post__content {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
}
.blog-img-full { max-width: 100%; text-align: center; margin: 32px auto; }
.blog-img-full img { max-width: 100%; height: auto; border-radius: 12px; }
.c-post__body h2, .c-post__content h2 { font-size: 26px; font-weight: 700; color: #0f172a; }
.c-post__body h3, .c-post__content h3 { font-size: 21px; font-weight: 700; color: #0f172a; }
.c-post__body p, .c-post__content p { margin-bottom: 20px; }
.c-post__body ul, .c-post__body ol, .c-post__content ul, .c-post__content ol { padding-left: 24px; margin-bottom: 20px; }
.c-post__body li, .c-post__content li { margin-bottom: 8px; }

/* ============================================================ */
/* BLOG GRID COMPONENT (A-cards variant)                         */
/* ============================================================ */
.c-blog-grid { padding: clamp(56px, 8vw, 96px) 0; }
.c-blog-grid .c-section-header { margin-bottom: clamp(32px, 4vw, 48px); }
.c-blog-grid .c-section-title { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.2; margin: 0; color: #0f172a; }
.c-blog-grid .c-section-lede { font-size: 17px; color: #64748b; margin: 12px 0 0; line-height: 1.55; }
.c-blog-grid__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.c-blog-grid__card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.c-blog-grid__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.c-blog-grid__thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.c-blog-grid__body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.c-blog-grid__date { font-size: 12px; color: #94a3b8; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.c-blog-grid__title { font-size: 17px; font-weight: 700; color: #1e293b; margin-bottom: 10px; line-height: 1.4; }
.c-blog-grid__title a { color: inherit; text-decoration: none; }
.c-blog-grid__title a:hover { color: #4f46e5; }
.c-blog-grid__excerpt { font-size: 14px; color: #64748b; line-height: 1.6; flex-grow: 1; margin: 0; }
.c-blog-grid__read-more { display: inline-block; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: #4f46e5; text-decoration: none; }
.c-blog-grid__read-more:hover { text-decoration: underline; }
@media (max-width: 992px) { .c-blog-grid__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .c-blog-grid__list { grid-template-columns: 1fr; } }

/* ============================================================ */
/* BLOG DETAIL COMPONENT (A-standard)                            */
/* ============================================================ */
.c-post__header { padding: clamp(64px, 10vw, 96px) 0 clamp(24px, 3vw, 32px); background: #0f172a; color: #f1f5f9; }
.c-post__breadcrumb { font-size: 13px; color: #64748b; display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.c-post__breadcrumb a { color: #94a3b8; text-decoration: none; }
.c-post__breadcrumb a:hover { color: #4f46e5; }
.c-post__category { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #4f46e5; margin-bottom: 12px; }
.c-post__title { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 16px; color: #f1f5f9; }
.c-post__meta { display: flex; gap: 20px; flex-wrap: wrap; color: #94a3b8; font-size: 15px; }
.c-post__cover { margin: 0 0 clamp(32px, 4vw, 48px); }
.c-post__cover img { width: 100%; height: auto; max-height: 540px; object-fit: cover; border-radius: 0; display: block; }
.c-post__footer { margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid #e5e7eb; max-width: 780px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.c-post__share { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #64748b; }
.c-post__share a { color: inherit; text-decoration: none; }
.c-post__share a:hover { color: #4f46e5; }
.c-post__lead { font-size: 19px !important; color: #475569 !important; }

/* Related articles */
.c-post__related { padding: 64px 0; background: #f8fafc; }
.c-post__related-title { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 28px; }
.c-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-related-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.c-related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.c-related-card__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.c-related-card__body { padding: 14px 16px; }
.c-related-card__title { font-size: 15px; font-weight: 600; color: #0f172a; line-height: 1.4; margin: 0 0 6px; }
.c-related-card__date { font-size: 12px; color: #94a3b8; }
@media (max-width: 768px) { .c-related-grid { grid-template-columns: 1fr; } }

/* ============================================================ */
/* LEGAL PAGES                                                   */
/* ============================================================ */
.c-legal { padding: 80px 0; }
.c-legal__wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.c-legal__title { font-size: 36px; font-weight: 800; color: #f1f5f9; margin-bottom: 8px; }
.c-legal__date { font-size: 14px; color: #64748b; margin-bottom: 48px; }
.c-legal__body { font-size: 16px; color: #94a3b8; line-height: 1.8; }
.c-legal__body h2 { font-size: 22px; font-weight: 700; color: #f1f5f9; margin: 36px 0 12px; }
.c-legal__body h3 { font-size: 18px; font-weight: 600; color: #e2e8f0; margin: 24px 0 10px; }
.c-legal__body p { margin-bottom: 16px; }
.c-legal__body ul { padding-left: 20px; margin-bottom: 16px; }
.c-legal__body li { margin-bottom: 8px; }
.c-legal__body a { color: var(--accent); text-decoration: underline; }

/* ============================================================ */
/* DARK BACKGROUND SECTIONS                                     */
/* ============================================================ */
.bg-dark-alt { background: #0a0e17; }
.bg-dark { background: #0f172a; }
.bg-mid { background: #1e293b; }


/* ============================================================ */
/* Patch 2026-05-11: product/about restructured sections         */
/* ============================================================ */

/* Dark-section text fallback (bg-dark / section-alt / bg-dark-alt) */
.bg-dark, .bg-dark-alt, .section-alt { color: #e2e8f0; }
.section-alt { background: #0a0e17; padding: 80px 0; }

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-dark-alt h1, .bg-dark-alt h2, .bg-dark-alt h3, .bg-dark-alt h4, .bg-dark-alt h5, .bg-dark-alt h6,
.section-alt h1, .section-alt h2, .section-alt h3, .section-alt h4, .section-alt h5, .section-alt h6 {
  color: #f1f5f9;
}
.bg-dark p, .bg-dark-alt p, .section-alt p,
.bg-dark li, .bg-dark-alt li, .section-alt li {
  color: #94a3b8;
}
.bg-dark strong, .bg-dark-alt strong, .section-alt strong { color: #f1f5f9; }

/* Product page: problem / how-it-works / features / target-customer / integrations */
.c-product__problem, .c-product__how, .c-product__features-section,
.c-product__target { padding: 64px 0; }

.c-product__problem .c-section-desc,
.c-product__target .c-section-desc { margin-bottom: 24px; }

.c-product__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 32px;
}
.c-product__stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px; border-radius: 10px;
}
.c-product__stat-number {
  display: block; font-size: 26px; font-weight: 800;
  color: #f1f5f9; margin-bottom: 8px; line-height: 1.2;
}
.c-product__stat-label {
  display: block; font-size: 14px; color: #94a3b8; line-height: 1.55;
}

.c-product__how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 8px;
}
.c-product__how-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px; border-radius: 12px;
}
.c-product__how-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #ffffff;
  font-weight: 700; font-size: 16px;
  margin-bottom: 16px;
}
.c-product__how-step h3 {
  font-size: 18px; font-weight: 700; color: #f1f5f9;
  margin-bottom: 12px;
}
.c-product__how-step p { font-size: 15px; color: #94a3b8; line-height: 1.7; }

.c-product__features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  margin-top: 8px;
}

.c-product__target-band {
  background: rgba(79,70,229,0.10);
  border-left: 3px solid var(--accent);
  padding: 20px 24px; margin: 24px 0 32px;
  border-radius: 4px; color: #cbd5e1;
  line-height: 1.65;
}
.c-product__target-band strong { color: #f1f5f9; }

.c-product__not-for { margin-top: 24px; }
.c-product__not-for h3 {
  color: #f1f5f9; font-size: 18px; font-weight: 700;
  margin-bottom: 16px;
}
.c-product__not-for ul { list-style: disc; padding-left: 24px; }
.c-product__not-for li { color: #94a3b8; margin-bottom: 10px; line-height: 1.65; }

/* About page: founding / mission / stage / values */
.c-about__founding, .c-about__mission,
.c-about__stage, .c-about__values { padding: 64px 0; }

.c-about__founding .c-about__body,
.c-about__mission .c-about__body { max-width: 820px; }

.c-about__founding .c-about__body h3,
.c-about__mission .c-about__body h3,
.c-about__stage h3 {
  color: #f1f5f9; font-size: 20px; font-weight: 700;
  margin: 28px 0 12px;
}

.bg-dark .c-about__mission-lede, .bg-dark .c-about__stage-lede,
.section-alt .c-about__mission-lede, .section-alt .c-about__stage-lede {
  font-size: 20px; color: #e2e8f0; line-height: 1.55;
  margin-bottom: 24px; max-width: 820px;
}
.c-about__mission-lede, .c-about__stage-lede {
  font-size: 20px; color: #e2e8f0; line-height: 1.55;
  margin-bottom: 24px; max-width: 820px;
}

.c-about__stage-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 32px;
}
.c-about__stage-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px; border-radius: 10px;
}
.c-about__stage-item h3 { margin-top: 0; font-size: 17px; }
.c-about__stage-item p { color: #94a3b8; line-height: 1.7; font-size: 15px; }

.c-about__values-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; list-style: none; padding: 0; margin: 0;
}
.c-about__values-list > li {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px; border-radius: 10px;
}
.c-about__values-list > li h3 {
  color: #f1f5f9; font-size: 17px; font-weight: 700;
  margin: 0 0 12px; display: flex; gap: 10px; align-items: center;
}
.c-about__values-list > li h3 i { color: var(--accent); font-size: 14px; }
.c-about__values-list > li p { color: #94a3b8; line-height: 1.7; margin: 0; font-size: 15px; }

/* Integrations block padding when used as standalone section */
#integrations .c-product__integrations { margin-top: 0; padding: 48px 0 16px; }

@media (max-width: 900px) {
  .c-product__stats,
  .c-product__how-steps,
  .c-product__features-grid,
  .c-about__stage-grid,
  .c-about__values-list { grid-template-columns: 1fr; }
}


/* Team bio line (web0510 creditfern.com 2026-05-11) */
.c-team__bio {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.55;
  margin-top: 10px;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
