/* perilarc.css — Perilarc site CSS
   AI Commercial Underwriting — Dark enterprise theme
   Accent: #dc2626 | Secondary: #1e293b
   Font: Manrope + JetBrains Mono (Google Fonts)
*/

/* ============================================================
   :root tokens
   ============================================================ */
:root {
  --accent: #dc2626;
  --accent-rgb: 220,38,38;
  --secondary: #1e293b;
  --bg-dark: #0a0f1e;
  --bg-alt: #111827;
  --bg-surface: #161d2e;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1f2d3d;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ============================================================
   Base / Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: #0a0f1e;
  color: #94a3b8;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.page-sub { padding-top: 64px; }

a { color: #dc2626; text-decoration: none; }
a:hover { opacity: 0.85; }

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

html { scroll-behavior: smooth; }

.section-dark { background: #0a0f1e; }
.section-alt { background: #111827; }
.section-surface { background: #161d2e; }

code, pre, .mono { font-family: 'JetBrains Mono', monospace; }

/* Container utility */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

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

/* Two-column flex layout */
.c-2col {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.c-2col__left,
.c-2col__right {
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
}
.c-2col--reverse {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .c-2col {
    flex-direction: column;
    gap: 32px;
  }
  .c-2col--reverse {
    flex-direction: column;
  }
}

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* ============================================================
   Nav Component (dark theme)
   ============================================================ */
.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: #dc2626;
  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: 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(10,15,30,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.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 { display: none !important; }

/* Page sub — dark nav always solid */
body.page-sub .c-nav[data-nav-theme="dark"] {
  background: rgba(10,15,30,0.98);
  box-shadow: 0 1px 0 #1f2d3d;
}

@media (max-width: 768px) {
  .c-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #0a0f1e;
    padding: 16px;
    border-top: 1px solid #1f2d3d;
  }
  .c-nav__links.open { display: flex; }
  .c-nav__toggle { display: block; }
}

/* ============================================================
   Hero Component — D-full-bleed
   ============================================================ */
.c-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f1f5f9;
}

.c-hero--full-bleed {
  background: url('../images/hero-home.webp') center center / cover no-repeat;
}

.c-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.6) 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%; }

@media (max-width: 768px) {
  .c-hero__col--8 { max-width: 100%; }
}

.c-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dc2626;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
}

.c-hero__title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
  max-width: 760px;
}

.c-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 620px;
}

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

/* Page hero (inner pages) */
.c-page-hero {
  background: #111827;
  padding: 100px 0 48px;
  border-bottom: 1px solid #1f2d3d;
}
.c-page-hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dc2626;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.c-page-hero__title {
  font-size: 36px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 12px;
  line-height: 1.2;
}
.c-page-hero__lede {
  font-size: 17px;
  color: #94a3b8;
  max-width: 560px;
  line-height: 1.6;
}

/* 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;
  font-family: inherit;
}

.c-btn--primary {
  background: #dc2626;
  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: 80vh; padding: 100px 0 60px; }
  .c-hero__title { font-size: 32px; }
  .c-hero__subtitle { font-size: 16px; }
}

/* ============================================================
   Section headers (shared)
   ============================================================ */
.c-section-header { text-align: center; margin-bottom: 56px; }
.c-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dc2626;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.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;
}

/* ============================================================
   Stats Component (B-cards)
   ============================================================ */
.c-stats { padding: 72px 0; }
.c-stats--cards { background: #111827; }

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

.c-stats__card {
  background: #161d2e;
  border: 1px solid #1f2d3d;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.c-stats__card:hover { border-color: #dc2626; }

.c-stats__number {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: #dc2626;
  line-height: 1.15;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 8px;
}

.c-stats__arrow {
  font-size: 20px;
  color: #64748b;
}

.c-stats__label {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 8px;
  line-height: 1.5;
}

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

/* ============================================================
   Features Component (C-alternating)
   ============================================================ */
.c-features { padding: 80px 0; }

.c-features__row { padding: 56px 0; }
.c-features__row + .c-features__row { border-top: 1px solid #1f2d3d; }
.c-features__img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #161d2e;
}

.c-features__name {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.c-features__text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 12px;
}

.c-features__one-liner {
  font-size: 17px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .c-section-title { font-size: 28px; }
}

/* ============================================================
   Process Component (A-numbered)
   ============================================================ */
.c-process { padding: 80px 0; }

.c-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.c-process__step {
  position: relative;
  padding: 32px 24px;
  background: #161d2e;
  border: 1px solid #1f2d3d;
  border-radius: 12px;
}

.c-process__num {
  display: inline-block;
  font-size: 40px;
  font-weight: 900;
  color: #dc2626;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}

.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 (A-grid)
   ============================================================ */
.c-team { padding: 80px 0; }
.c-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 36px;
  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 top;
  margin-bottom: 16px;
  border: 3px solid #1f2d3d;
  background: #161d2e;
}
.c-team__name { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.c-team__role { font-size: 14px; color: #64748b; }
.c-team__bio { font-size: 14px; color: #94a3b8; line-height: 1.65; margin-top: 12px; text-align: left; }

/* ============================================================
   CTA Component (A-banner)
   ============================================================ */
.c-cta { background: #dc2626; padding: 72px 0; text-align: center; }
.c-cta__title { font-size: 34px; font-weight: 800; color: #ffffff; margin-bottom: 16px; line-height: 1.2; }
.c-cta__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  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: #dc2626; }
.c-cta .c-btn--primary:hover { opacity: 0.9; }
.c-cta .c-btn--outline { border-color: rgba(255,255,255,0.5); color: #ffffff; }
.c-cta .c-btn--outline:hover { border-color: #ffffff; }

/* ============================================================
   Contact Component (A-split)
   ============================================================ */
.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: #161d2e;
  border: 1px solid #1f2d3d;
  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: #dc2626; outline: none; }
.c-contact__form select option { background: #161d2e; }
.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: #dc2626; 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: #dc2626; }

/* ============================================================
   Blog Grid (B-editorial-list)
   ============================================================ */
.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-header--left { text-align: left; max-width: 720px; }

/* Dark blog section */
.c-blog-section-dark {
  background: #0a0f1e;
}
.c-blog-section-dark .c-section-title { color: #f1f5f9; }

/* Editorial list style */
.c-blog-editorial { list-style: none; padding: 0; margin: 0; }

.c-blog-ed {
  border-top: 1px solid #1f2d3d;
  transition: background 0.2s;
}
.c-blog-ed:last-child { border-bottom: 1px solid #1f2d3d; }

.c-blog-ed__link {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: clamp(20px, 3vw, 28px) 0;
  text-decoration: none;
  color: inherit;
  transition: padding 0.2s;
  align-items: start;
}
.c-blog-ed__link:hover { padding-left: 4px; }

.c-blog-ed__thumb {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #161d2e;
  display: block;
}

.c-blog-ed__content { min-width: 0; }

.c-blog-ed__meta {
  display: flex;
  gap: 14px;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
  flex-wrap: wrap;
  align-items: center;
}
.c-blog-ed__category {
  color: #dc2626;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}
.c-blog-ed__title {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
  color: #e2e8f0;
  letter-spacing: -0.015em;
}
.c-blog-ed__link:hover .c-blog-ed__title { color: #dc2626; }
.c-blog-ed__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  max-width: 640px;
}

@media (max-width: 640px) {
  .c-blog-ed__link {
    grid-template-columns: 1fr;
  }
  .c-blog-ed__thumb { width: 100%; height: 180px; }
}

/* Simple minimal blog list (index homepage) */
.c-blog-grid__list--minimal { list-style: none; padding: 0; margin: 0; }
.c-blog-min { border-top: 1px solid #1f2d3d; transition: background 0.2s; }
.c-blog-min:last-child { border-bottom: 1px solid #1f2d3d; }
.c-blog-min__link { display: block; padding: clamp(20px, 3vw, 28px) 0; text-decoration: none; color: inherit; transition: padding 0.2s; }
.c-blog-min__link:hover { padding-left: 8px; }
.c-blog-min__meta { display: flex; gap: 14px; color: #64748b; font-size: 12px; margin-bottom: 10px; letter-spacing: 0.4px; align-items: center; }
.c-blog-min__category { color: #dc2626; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.c-blog-min__title { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.25; font-weight: 700; margin: 0 0 8px; color: #e2e8f0; letter-spacing: -0.015em; }
.c-blog-min__link:hover .c-blog-min__title { color: #dc2626; }
.c-blog-min__excerpt { font-size: 15px; line-height: 1.55; color: #64748b; margin: 0; max-width: 640px; }

/* ============================================================
   Footer Component (A-4col)
   ============================================================ */
.c-footer {
  background: #060b16;
  padding: 64px 0 0;
  border-top: 1px solid #1f2d3d;
  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: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.c-footer__logo img { height: 24px; width: auto; }
.c-footer__tagline { font-size: 14px; color: #475569; line-height: 1.6; }
.c-footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: 'JetBrains Mono', monospace;
}
.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: #dc2626; }
.c-footer__contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.c-footer__contact i { color: #dc2626; width: 18px; font-size: 13px; margin-right: 8px; }
.c-footer__bottom {
  border-top: 1px solid #1f2d3d;
  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: #475569; 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 (A-generic)
   ============================================================ */
.c-cookie {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 680px;
  margin-left: auto;
  z-index: 1080;
  background: #161d2e;
  color: #e2e8f0;
  border: 1px solid #1f2d3d;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-radius: 12px;
  padding: 20px 24px;
}
.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 300px; }
.c-cookie__title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.c-cookie__text {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #94a3b8;
}
.c-cookie__text a { color: #dc2626; }
.c-cookie__actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.c-cookie .c-btn--outline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #1f2d3d;
}
.c-cookie .c-btn--outline:hover { border-color: #94a3b8; color: #f1f5f9; }
.c-cookie .c-btn--primary { background: #dc2626; color: #ffffff; }

@media (max-width: 576px) {
  .c-cookie { bottom: 8px; left: 8px; right: 8px; padding: 16px; }
  .c-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================
   Integrations section
   ============================================================ */
.c-integrations { padding: 64px 0; background: #111827; }
.c-integrations__title { text-align: center; font-size: 18px; font-weight: 600; color: #94a3b8; margin-bottom: 36px; text-transform: uppercase; letter-spacing: 0.8px; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.c-integrations__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.c-integrations__badge {
  background: #161d2e;
  border: 1px solid #1f2d3d;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  transition: border-color 0.2s, color 0.2s;
}
.c-integrations__badge:hover { border-color: #dc2626; color: #e2e8f0; }

/* ============================================================
   About page — story section
   ============================================================ */
.c-about-story { padding: 80px 0; }
.c-about-story__inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.c-about-story h2 { font-size: 28px; font-weight: 700; color: #f1f5f9; margin: 40px 0 16px; }
.c-about-story p { font-size: 16px; line-height: 1.8; color: #94a3b8; margin-bottom: 18px; }
.c-about-story ul { padding-left: 24px; margin-bottom: 18px; }
.c-about-story ul li { font-size: 16px; color: #94a3b8; line-height: 1.7; margin-bottom: 10px; }
.c-about-story ul li::marker { color: #dc2626; }

/* Values grid */
.c-values { padding: 64px 0; background: #111827; }
.c-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-values__item {
  background: #161d2e;
  border: 1px solid #1f2d3d;
  border-radius: 12px;
  padding: 28px;
}
.c-values__item h3 { font-size: 16px; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.c-values__item p { font-size: 14px; line-height: 1.7; color: #94a3b8; margin: 0; }

/* ============================================================
   Social proof / B-stats (big numbers, no quotes)
   ============================================================ */
.c-social-proof { padding: 80px 0; background: #161d2e; }
.c-social-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.c-proof__number {
  display: block;
  font-size: 52px;
  font-weight: 900;
  color: #dc2626;
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.c-proof__label {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .c-social-proof__grid { grid-template-columns: 1fr; }
  .c-proof__number { font-size: 40px; }
}

/* ============================================================
   404 page
   ============================================================ */
.c-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: #0a0f1e;
}
.c-404__inner { max-width: 560px; }
.c-404__code {
  font-size: 120px;
  font-weight: 900;
  color: #dc2626;
  line-height: 1;
  opacity: 0.2;
  margin-bottom: 0;
  font-family: 'JetBrains Mono', monospace;
}
.c-404__title {
  font-size: 36px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 16px;
}
.c-404__desc {
  font-size: 17px;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

/* ============================================================
   Blog article / post layout
   ============================================================ */
.c-post { padding: 64px 0 80px; background: #0a0f1e; }
.c-post__header { background: #111827; padding: 100px 0 48px; border-bottom: 1px solid #1f2d3d; margin-bottom: 0; }
.c-post__header-inner { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.c-post__eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #dc2626; margin-bottom: 16px; font-family: 'JetBrains Mono', monospace; }
.c-post__title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: #f1f5f9; line-height: 1.15; margin-bottom: 20px; }
.c-post__meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 14px; color: #64748b; }
.c-post__meta-author { color: #94a3b8; font-weight: 500; }
.c-post__cover { width: 100%; max-width: 780px; margin: 48px auto 0; display: block; border-radius: 12px; }
.c-post__body { max-width: 780px; margin: 0 auto; padding: 40px 24px 0; font-size: 17px; line-height: 1.8; color: #94a3b8; }
.c-post__body p { margin-bottom: 24px; }
.c-post__body h2 { font-size: 24px; font-weight: 700; color: #f1f5f9; margin-top: 48px; margin-bottom: 20px; }
.c-post__body h3 { font-size: 20px; font-weight: 600; color: #e2e8f0; margin-top: 36px; margin-bottom: 16px; }
.c-post__body img { max-width: 100%; border-radius: 10px; margin: 24px auto 32px; display: block; }
.c-post__body a { color: #dc2626; }
.c-post__body ul, .c-post__body ol { padding-left: 24px; margin-bottom: 24px; }
.c-post__body li { line-height: 1.7; margin-bottom: 8px; }

/* ============================================================
   Legal pages
   ============================================================ */
.c-legal { padding: 80px 0; background: #0a0f1e; }
.c-legal__inner { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.c-legal h2 { font-size: 22px; font-weight: 700; color: #f1f5f9; margin: 40px 0 16px; }
.c-legal h3 { font-size: 18px; font-weight: 600; color: #e2e8f0; margin: 28px 0 12px; }
.c-legal p { font-size: 15px; line-height: 1.8; color: #94a3b8; margin-bottom: 16px; }
.c-legal ul, .c-legal ol { padding-left: 24px; margin-bottom: 16px; }
.c-legal ul li, .c-legal ol li { font-size: 15px; color: #94a3b8; line-height: 1.7; margin-bottom: 8px; }
.c-legal a { color: #dc2626; }
.c-legal__updated { font-size: 13px; color: #64748b; margin-bottom: 32px; }

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

/* Reading width for article content */
.reading-column,
.article-body,
.blog-article-body { max-width: 780px; margin: 0 auto; padding: 0 24px; }
