/* sortwyre.css — Sortwyre site CSS */
/* Inlines all component CSS used on this site */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --accent: #15803d;
  --accent-dark: #0e4429;
  --accent-rgb: 21, 128, 61;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ============================================================
   BASE RESET & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv11','ss01','ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0; padding: 0;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 16px;
  line-height: 1.6;
}
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAV COMPONENT (nav.css)
   ============================================================ */
.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__logo-fallback { display: inline; }
.c-nav__logo-fallback span { color: var(--accent, #10b981); }
.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, #10b981);
  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="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[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,
.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__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 (hero.css)
   ============================================================ */
.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 .container { position: relative; z-index: 2; }
.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, #10b981);
  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; }

.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%);
  }
}

.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, #10b981); 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 (non-index pages) */
.c-page-hero {
  background: #0f172a;
  padding: 120px 0 60px;
  border-bottom: 1px solid #1e293b;
}
.c-page-hero__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-page-hero__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.c-page-hero__title {
  font-size: 36px; font-weight: 800; color: #f1f5f9;
  margin: 0 0 16px; line-height: 1.2;
}
.c-page-hero__lede {
  font-size: 17px; color: #94a3b8; max-width: 600px; line-height: 1.7; margin: 0;
}

/* ============================================================
   STATS COMPONENT (stats.css)
   ============================================================ */
.c-stats { padding: 48px 0; }
.c-stats--bar { background: #1e293b; }
.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__item { padding: 16px 0; }
.c-stats__number { display: block; font-size: 36px; font-weight: 800; color: var(--accent, #10b981); line-height: 1.2; }
.c-stats__label { display: block; font-size: 14px; color: #94a3b8; margin-top: 8px; line-height: 1.4; }
.c-stats__card { background: #1e293b; border-radius: 12px; padding: 32px 24px; text-align: center; height: 100%; }
.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; }
}

/* ============================================================
   SECTION HEADERS (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, #10b981); margin-bottom: 12px;
}
.c-section-title { font-size: 36px; font-weight: 800; color: #f1f5f9; margin-bottom: 16px; }
.c-section-desc { font-size: 17px; color: #94a3b8; max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* ============================================================
   FEATURES COMPONENT (features.css)
   ============================================================ */
.c-features { padding: 80px 0; }
.c-features__grid--6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.c-features__grid--3 { 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;
}
.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(21, 128, 61, 0.12); border-radius: 10px;
  margin-bottom: 20px; font-size: 20px; color: var(--accent, #10b981);
}
.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; }
.c-features__row { padding: 48px 0; }
.c-features__row + .c-features__row { border-top: 1px solid #1e293b; }
.c-features__img { width: 100%; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.c-features--alternating .c-features__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.c-features--alternating .c-features__pair--reverse {
  direction: rtl;
}
.c-features--alternating .c-features__pair--reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .c-features__grid--6, .c-features__grid--3 { grid-template-columns: 1fr; }
  .c-section-title { font-size: 28px; }
  .c-features--alternating .c-features__pair { grid-template-columns: 1fr; gap: 32px; }
  .c-features--alternating .c-features__pair--reverse { direction: ltr; }
}

/* ============================================================
   PROCESS COMPONENT (process.css)
   ============================================================ */
.c-process { padding: 80px 0; background: #0a0f1a; }
.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, #10b981); 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; } }

/* ============================================================
   TESTIMONIALS COMPONENT (testimonials.css)
   ============================================================ */
.c-testimonials { padding: 80px 0; }
.c-testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.c-testimonials__card { background: #1e293b; border-radius: 12px; padding: 36px 28px; }
.c-testimonials__stat { display: block; font-size: 42px; font-weight: 800; color: var(--accent,#10b981); margin-bottom: 12px; }
.c-testimonials__source { font-size: 15px; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.c-testimonials__text { font-size: 14px; color: #94a3b8; line-height: 1.7; }
@media(max-width:768px){ .c-testimonials__grid{grid-template-columns:1fr;} }

/* ============================================================
   CTA COMPONENT (cta.css)
   ============================================================ */
.c-cta { background: var(--accent,#10b981); 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,#10b981); }
.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; }

.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; }
.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, #15803d); outline-offset: 1px; border-color: transparent; }
.c-cta--newsletter .c-btn--primary { background: #111827; color: #ffffff; }
.c-cta__newsletter-note { margin: 20px 0 0; 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 (contact.css)
   ============================================================ */
.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__form-col { min-width: 0; }
.c-contact__info-col { min-width: 0; }
.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,#10b981); 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,#10b981); 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,#10b981); }

/* ============================================================
   TEAM COMPONENT (team.css)
   ============================================================ */
.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-bottom: 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; }

/* ============================================================
   FOOTER COMPONENT (footer.css)
   ============================================================ */
.c-footer { background: #0f172a; padding: 64px 0 0; border-top: 1px solid #1e293b; color: #94a3b8; }
.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,#10b981); }
.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; }
.c-footer__col ul li a:hover { color: var(--accent,#10b981); }
.c-footer__col ul a { color: #94a3b8; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.c-footer__col ul a:hover { color: var(--accent,#10b981); }
.c-footer__contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.c-footer__contact i { color: var(--accent,#10b981); 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 (cookie-banner.css)
   ============================================================ */
.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__copy { flex: 1 1 320px; }
.c-cookie__title { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.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, #15803d); }
.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; }
}

/* ============================================================
   BLOG GRID COMPONENT (blog-grid.css)
   ============================================================ */
.c-blog-grid { padding: clamp(56px, 8vw, 96px) 0; background: #f8fafc; }
.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; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }

.c-blog-magazine__layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 40px); }
.c-blog-magazine__feature { position: relative; }
.c-blog-magazine__feature-link { display: block; text-decoration: none; color: inherit; border-radius: 16px; overflow: hidden; position: relative; }
.c-blog-magazine__feature-img { width: 100%; aspect-ratio: 8/5; object-fit: cover; display: block; }
.c-blog-magazine__feature-body { padding: 24px 28px 28px; background: #f8fafc; border-radius: 0 0 16px 16px; }
.c-blog-magazine__feature-tag { display: inline-block; padding: 4px 10px; background: var(--accent, #15803d); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 4px; margin-bottom: 14px; }
.c-blog-magazine__feature-title { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; font-weight: 600; margin: 0 0 12px; color: #0f172a; letter-spacing: -0.02em; }
.c-blog-magazine__feature-excerpt { font-size: 16px; line-height: 1.6; color: #475569; margin: 0 0 16px; }
.c-blog-magazine__feature-meta { display: flex; gap: 16px; font-size: 13px; color: #64748b; }
.c-blog-magazine__secondary { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.c-blog-magazine__item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; padding: 14px; border-radius: 10px; transition: background 0.2s; }
.c-blog-magazine__item:hover { background: #f1f5f9; }
.c-blog-magazine__item-media { display: block; overflow: hidden; border-radius: 8px; }
.c-blog-magazine__item-media img { width: 100%; aspect-ratio: 11/7; object-fit: cover; display: block; }
.c-blog-magazine__item-category { font-size: 11px; font-weight: 700; color: var(--accent, #15803d); text-transform: uppercase; letter-spacing: 0.8px; }
.c-blog-magazine__item-title { font-size: 16px; font-weight: 600; line-height: 1.35; margin: 6px 0 6px; color: #0f172a; }
.c-blog-magazine__item-title a { color: inherit; text-decoration: none; }
.c-blog-magazine__item-title a:hover { color: var(--accent, #15803d); }
.c-blog-magazine__item-date { font-size: 12px; color: #94a3b8; }
@media (max-width: 768px) {
  .c-blog-magazine__layout { grid-template-columns: 1fr; }
  .c-blog-magazine__item { grid-template-columns: 80px 1fr; }
}

/* ============================================================
   BLOG DETAIL COMPONENT (blog-detail.css)
   ============================================================ */
.c-post__header { padding: clamp(64px, 10vw, 96px) 0 clamp(24px, 3vw, 32px); background: #ffffff; }
.c-post__breadcrumb { font-size: 13px; color: #64748b; display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.c-post__breadcrumb a { color: inherit; text-decoration: none; }
.c-post__breadcrumb a:hover { color: var(--accent, #15803d); }
.c-post__category { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent, #15803d); 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: #0f172a; }
.c-post__meta { display: flex; gap: 20px; flex-wrap: wrap; color: #64748b; 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: 16px; display: block; }
.c-post__body { font-size: 17px; line-height: 1.7; color: #1f2937; max-width: 720px; margin-left: auto; margin-right: auto; }
.c-post__body > * + * { margin-top: 1.25em; }
.c-post__body h2 { font-size: 26px; margin-top: 2.5em; line-height: 1.25; font-weight: 700; color: #0f172a; }
.c-post__body h3 { font-size: 20px; margin-top: 2em; font-weight: 600; color: #0f172a; }
.c-post__body .c-post__lead { font-size: 19px; color: #475569; }
.c-post__body p, .c-post__body ul, .c-post__body ol { margin: 0; }
.c-post__body ul, .c-post__body ol { padding-left: 1.25em; }
.c-post__body blockquote { border-left: 3px solid var(--accent, #15803d); padding: 4px 0 4px 16px; color: #475569; font-style: italic; margin: 0; }
.c-post__body code { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }
.c-post__body pre { background: #0f172a; color: #e2e8f0; padding: 16px 20px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.c-post__body pre code { background: transparent; padding: 0; color: inherit; }
.c-post__footer { margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid #e5e7eb; }
.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: var(--accent, #15803d); }

/* Blog detail reading-width (verify_site.py check_blog_reading_width) */
.container-narrow { max-width: 740px; margin: 0 auto; padding: 0 20px; }
.c-post { background: #ffffff; color: #1f2937; }
.c-post .container-narrow { max-width: 740px; margin: 0 auto; padding: 0 20px; }

/* Blog pages light background */
.blog-page-bg { background: #ffffff; color: #0f172a; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.c-legal { padding: 80px 0; background: #ffffff; color: #1f2937; }
.c-legal__wrap { max-width: 740px; margin: 0 auto; padding: 0 24px; }
.c-legal h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; color: #0f172a; }
.c-legal .meta { font-size: 14px; color: #64748b; margin-bottom: 40px; }
.c-legal h2 { font-size: 22px; font-weight: 700; color: #0f172a; margin-top: 40px; margin-bottom: 16px; }
.c-legal p { font-size: 16px; line-height: 1.8; color: #334155; margin-bottom: 18px; }
.c-legal ul { padding-left: 24px; margin-bottom: 18px; }
.c-legal li { font-size: 16px; line-height: 1.7; color: #334155; margin-bottom: 8px; }
.c-legal a { color: var(--accent); text-decoration: underline; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.c-about { padding: 80px 0; }
.c-about__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-about__intro { max-width: 760px; }
.c-about__intro p { font-size: 18px; line-height: 1.8; color: #94a3b8; margin-bottom: 24px; }
.c-about__intro p strong { color: #f1f5f9; }
.c-about__values { margin-top: 64px; }
.c-about__values h2 { font-size: 28px; font-weight: 800; color: #f1f5f9; margin-bottom: 32px; }
.c-about__values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.c-about__value-item { background: #1e293b; border-radius: 12px; padding: 28px; }
.c-about__value-item i { font-size: 20px; color: var(--accent); margin-bottom: 12px; display: block; }
.c-about__value-item h4 { font-size: 16px; font-weight: 700; color: #f1f5f9; margin-bottom: 8px; }
.c-about__value-item p { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; }

/* ============================================================
   404 PAGE
   ============================================================ */
.c-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.c-404__code { font-size: 120px; font-weight: 900; color: var(--accent); opacity: 0.15; line-height: 1; display: block; }
.c-404__title { font-size: 32px; font-weight: 800; color: #f1f5f9; margin: 0 0 16px; }
.c-404__desc { font-size: 17px; color: #64748b; margin-bottom: 32px; max-width: 480px; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.c-product-integrations { padding: 80px 0; background: #0a0f1a; }
.c-integrations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.c-integration-item { background: #1e293b; border-radius: 10px; padding: 20px 24px; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #e2e8f0; }
.c-integration-item i { color: var(--accent); font-size: 18px; min-width: 24px; }
@media (max-width: 768px) { .c-integrations-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .c-integrations-grid { grid-template-columns: 1fr; } }

/* ============================================================
   UTILITY
   ============================================================ */
.pt-nav { padding-top: 64px; }
.text-accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Related Articles (blog detail pages) */
.c-post__related, .c-related { margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid #e5e7eb; max-width: 960px; margin-left: auto; margin-right: auto; }
.c-post__related h3, .c-related h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin: 0 0 20px; }
.c-post__related-grid, .c-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-post__related-card, .c-related-card { display: block; text-decoration: none; color: inherit; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.c-post__related-card:hover, .c-related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,0.08); border-color: #cbd5e1; }
.c-post__related-card img, .c-related-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.c-post__related-info, .c-post__related-card-body, .c-post__related-text, .c-post__related-body, .c-related-card__body { padding: 14px 16px; }
.c-post__related-cat, .c-related-card__cat { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent, #15803d); margin-bottom: 6px; }
.c-post__related-title, .c-post__related-heading, .c-related-card__title { font-size: 14px; font-weight: 600; line-height: 1.4; color: #0f172a; margin: 0; }
@media (max-width: 768px) {
  .c-post__related-grid, .c-related-grid { grid-template-columns: 1fr; }
  .c-post__related-card img, .c-related-card img { height: 180px; }
}

/* Light-background section text overrides */
.c-section--light .c-section-title { color: #0f172a; }
.c-section--light .c-section-desc { color: #475569; }
.c-section--light h1, .c-section--light h2, .c-section--light h3, .c-section--light h4 { color: #0f172a; }
.c-section--light p { color: #475569; }
.c-section--light .c-about__intro p { color: #475569; }
.c-section--light .c-about__intro p strong { color: #0f172a; }
.c-section--light .c-about__values h2 { color: #0f172a; }
/* Card backgrounds inside light sections — keep dark cards readable */
.c-section--light .c-about__value-item { background: #1e293b; }
.c-section--light .c-about__value-item h4 { color: #f1f5f9; }
.c-section--light .c-about__value-item p { color: #cbd5e1; }

/* Center .c-about__intro */
.c-about__intro { margin-left: auto; margin-right: auto; }

/* Product target (who it's for) — two-column list */
.c-product-target__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
}
.c-product-target__col h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}
.c-product-target__col ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.c-product-target__col li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .c-product-target__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Light-section list items (extends c-section--light overrides) */
.c-section--light ul, .c-section--light ol { color: #475569; }
.c-section--light li { color: #475569; }
.c-section--light li::marker { color: #94a3b8; }
