/* ============================================================
   Ojas — Shared stylesheet
   Design system: Enterprise Technical Minimalism
   Typography: DM Sans (body) + Playfair Display (display)
   Palette: #1E40AF primary, #4F46E5 accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #1E40AF;
  --primary-dark: #1E3A8A;
  --primary-light: #3B82F6;
  --primary-tint: rgba(30, 64, 175, 0.04);
  --primary-tint-2: rgba(30, 64, 175, 0.08);
  --accent: #4F46E5;
  --accent-dark: #4338CA;
  --text: #0F172A;
  --text-muted: #475569;
  --text-muted-2: #94A3B8;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-tint: #F1F5F9;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Typography */
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Layout */
  --nav-height: 68px;
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.10);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.3s;
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--dur) var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-brand:hover { color: var(--primary); }
.nav-brand .logo-mark {
  width: 32px;
  height: 32px;
}

/* Pommala logo attribution next to brand */
.nav-attribution {
  display: inline-flex;
  align-items: center;
  padding: 4px 0 4px 14px;
  border-left: 1px solid var(--border);
  margin-left: 2px;
  transition: opacity var(--dur) var(--ease);
  opacity: 0.75;
}
.nav-attribution:hover { opacity: 1; }
.nav-attribution img {
  height: 28px;
  width: auto;
  display: block;
}
@media (max-width: 640px) {
  .nav-attribution { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--dur) var(--ease);
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-tint);
}
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-tint);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--dur) var(--ease);
}
.nav-cta:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--text);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--primary-tint);
  color: var(--primary);
}
.mobile-menu .mobile-cta {
  margin: 16px 20px;
  padding: 14px 20px;
  background: var(--primary);
  color: white;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border-bottom: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
}

/* ------------------------------------------------------------
   Containers / sections
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 900px) { .container { padding: 0 20px; } }
@media (max-width: 768px) { .container { padding: 0 16px; } }

.section { padding: 64px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 900px) { .section { padding: 64px 0; } .section-tight { padding: 48px 0; } }
@media (max-width: 768px) { .section { padding: 52px 0; } .section-tight { padding: 36px 0; } }

.section-title {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-header-center .section-subtitle { margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 14px;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--bg-tint);
  color: var(--primary);
}

.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(79, 70, 229, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(30, 64, 175, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 64, 175, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 40%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 72px 0 64px; }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 .accent-text {
  color: var(--primary);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero visual (right side flow diagram) */
.hero-visual {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.flow-diagram { display: grid; gap: 14px; }
.flow-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.flow-node:hover {
  border-color: var(--primary);
  background: var(--primary-tint);
  transform: translateX(4px);
}
.flow-node-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-node-icon img { width: 100%; height: 100%; object-fit: contain; }
.flow-node-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.flow-node-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}
.flow-arrow {
  text-align: center;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 0.8;
}

/* ------------------------------------------------------------
   News / release cards (like Camel's "What's New")
   ------------------------------------------------------------ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--dur) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.news-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.news-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.news-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}
.news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.news-link:hover { gap: 8px; }

/* ------------------------------------------------------------
   Feature blocks (like Camel's "Why Camel?")
   ------------------------------------------------------------ */
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 48px 0;
}
.why-row.reverse .why-text { order: 2; }
.why-row.reverse .why-visual { order: 1; }
@media (max-width: 900px) {
  .why-row { grid-template-columns: 1fr; gap: 40px; padding: 32px 0; }
  .why-row.reverse .why-text { order: 1; }
  .why-row.reverse .why-visual { order: 2; }
}

.why-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.why-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.why-text .btn { margin-top: 8px; }

.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary-tint) 0%, rgba(79, 70, 229, 0.06) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
}
.why-visual svg { width: 80%; height: 80%; }

/* ------------------------------------------------------------
   Card grid
   ------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .card-grid, .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  color: inherit;
}
.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-tint);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--primary);
}
.card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}
.card-link {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card:hover .card-link { gap: 8px; }

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.card-tag-new { background: var(--accent); color: white; }
.card-tag-oss { background: var(--success); color: white; }
.card-tag-enterprise { background: var(--primary); color: white; }
.card-tag-cloud { background: var(--accent-dark); color: white; }
.card-tag-ga { background: var(--text-muted); color: white; }

/* ------------------------------------------------------------
   Stats row
   ------------------------------------------------------------ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 32px 0; }
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ------------------------------------------------------------
   CTA banner
   ------------------------------------------------------------ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 140%);
  color: white;
  padding: 64px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.1), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(79, 70, 229, 0.3), transparent 50%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.95;
}
.cta-banner .btn-primary {
  background: white;
  color: var(--primary);
}
.cta-banner .btn-primary:hover { background: #F1F5F9; }
.cta-banner .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-banner .btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------
   Page hero (secondary pages)
   ------------------------------------------------------------ */
.page-hero {
  padding: 80px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 64, 175, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-alt) 0%, white 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .page-hero { padding: 48px 16px; }
  .page-hero h1 { font-size: 1.8rem; }
}

/* ------------------------------------------------------------
   Two-column content layout (docs, community)
   ------------------------------------------------------------ */
.two-col {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 24px; }
}

.side-nav {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  align-self: start;
  font-size: 14px;
}
.side-nav h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted-2);
  margin: 20px 0 8px;
}
.side-nav a {
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
}
.side-nav a:hover {
  background: var(--primary-tint);
  color: var(--primary);
}
.side-nav a.active {
  background: var(--primary-tint);
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 900px) { .side-nav { position: static; } }

.content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text);
  margin: 40px 0 12px;
  letter-spacing: -0.02em;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text);
  margin: 28px 0 10px;
}
.content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.content ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}
.content li { margin-bottom: 4px; }
.content code {
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 0.875em;
  background: var(--bg-tint);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-dark);
}
.content pre {
  background: #0F172A;
  color: #E2E8F0;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 16px 0 24px;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 13.5px;
  line-height: 1.6;
}
.content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* ------------------------------------------------------------
   Detail hero
   ------------------------------------------------------------ */
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
@media (max-width: 900px) {
  .detail-hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
}
.detail-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: linear-gradient(135deg, var(--primary-tint) 0%, rgba(79, 70, 229, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}
.detail-hero-visual img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
.detail-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* ------------------------------------------------------------
   Feature list
   ------------------------------------------------------------ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.feature-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ------------------------------------------------------------
   Comparison table
   ------------------------------------------------------------ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: white;
}
table.compare thead th {
  position: sticky;
  top: var(--nav-height);
  background: var(--bg-alt);
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 1;
}
table.compare thead th.highlight { color: var(--primary); }
table.compare tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}
table.compare tbody td.check { color: var(--success); font-weight: 700; }
table.compare tbody td.cross { color: var(--text-muted-2); }
table.compare tbody tr:hover td { background: var(--primary-tint); }

/* ------------------------------------------------------------
   Code block / terminal
   ------------------------------------------------------------ */
.terminal {
  background: #0F172A;
  border-radius: var(--radius);
  padding: 24px;
  color: #E2E8F0;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}
.terminal .prompt { color: var(--accent); }
.terminal .comment { color: #64748B; }
.terminal .string { color: #86EFAC; }
.terminal .keyword { color: #F9A8D4; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 72px 0 32px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-mark { width: 32px; height: 32px; }
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 320px;
}
.footer-attribution {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 8px 0;
  transition: opacity var(--dur) var(--ease);
  opacity: 0.85;
}
.footer-attribution:hover { opacity: 1; }
.footer-attribution img {
  height: 42px;
  width: auto;
  display: block;
  /* Lighten the dark-navy logo for visibility on dark footer bg.
     brightness(1.8) lifts the dark blues into medium-blue range
     without losing brand character. */
  filter: brightness(1.8) contrast(0.95);
}
.footer h5 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: white;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: #94A3B8;
  font-size: 14px;
  transition: color var(--dur) var(--ease);
}
.footer ul a:hover { color: white; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748B;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ------------------------------------------------------------
   Utility
   ------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-xl { margin-top: 48px; }
.mb-xl { margin-bottom: 48px; }

/* Responsive split layout — 2 equal columns that stack on tablet/mobile.
   Used in detail pages. */
.responsive-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.responsive-split.center { align-items: center; }
.responsive-split.gap-large { gap: 80px; }
@media (max-width: 900px) {
  .responsive-split { grid-template-columns: 1fr; gap: 40px; }
  .responsive-split.gap-large { gap: 48px; }
}
@media (max-width: 480px) {
  .responsive-split { gap: 32px; }
}

/* Responsive auto-column — content + auto-sized actions. Stacks on mobile. */
.responsive-auto-col {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 768px) {
  .responsive-auto-col { grid-template-columns: 1fr; gap: 24px; }
  .responsive-auto-col > :last-child { width: 100%; }
  .responsive-auto-col > :last-child > .btn { width: 100%; justify-content: center; }
}

/* Card-like panel — replaces inline style blocks, responsive padding */
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.panel.panel-tinted {
  background: linear-gradient(135deg, var(--primary-tint) 0%, rgba(79, 70, 229, 0.06) 100%);
}
@media (max-width: 768px) {
  .panel { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .panel { padding: 24px 16px; border-radius: var(--radius); }
}

/* Prose width constraint — never exceed readable line length */
.prose-narrow { max-width: 680px; }
.prose-wide { max-width: 720px; }
@media (max-width: 768px) {
  .prose-narrow, .prose-wide { max-width: 100%; }
}

/* Mobile terminal / pre block tightening */
@media (max-width: 480px) {
  .terminal { font-size: 11.5px; padding: 16px; }
  .content pre { font-size: 12px; padding: 14px; }
}

/* ------------------------------------------------------------
   Capability grid
   ------------------------------------------------------------ */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 1100px) { .capability-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (max-width: 768px) { .capability-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 480px) { .capability-grid { grid-template-columns: 1fr; } }

.capability {
  text-align: left;
}
.capability-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-tint);
  border-radius: var(--radius);
  color: var(--primary);
  margin-bottom: 20px;
}
.capability h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.capability ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.capability ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.capability ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.capability-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.capability-link:hover { gap: 8px; }

/* ------------------------------------------------------------
   Use case blocks
   ------------------------------------------------------------ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 960px) { .usecase-grid { grid-template-columns: 1fr; gap: 28px; } }

.usecase {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.usecase:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.usecase-visual {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary-tint) 0%, rgba(79, 70, 229, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.usecase-visual svg { width: 100%; height: 100%; }
.usecase-body { padding: 28px 28px 32px; }
.usecase-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.usecase-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.usecase-body .capability-link { font-size: 14px; }

/* ------------------------------------------------------------
   Detailed use-case section (for use-cases.html)
   ------------------------------------------------------------ */
.usecase-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}
.usecase-detail.reverse .usecase-detail-text { order: 2; }
.usecase-detail.reverse .usecase-detail-visual { order: 1; }
@media (max-width: 900px) {
  .usecase-detail { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .usecase-detail.reverse .usecase-detail-text { order: 1; }
  .usecase-detail.reverse .usecase-detail-visual { order: 2; }
}
.usecase-detail-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.usecase-detail-text .eyebrow { margin-bottom: 14px; }
.usecase-detail-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.usecase-detail-text .feature-list { margin-top: 20px; }

.usecase-detail-visual {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.usecase-detail-visual svg {
  width: 100%;
  height: auto;
  max-width: 520px;
  display: block;
}

/* ------------------------------------------------------------
   Updates list
   ------------------------------------------------------------ */
.blog-list {
  display: grid;
  gap: 0;
  margin-top: 32px;
}
.blog-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}
.blog-item:last-child { border-bottom: none; }
@media (max-width: 768px) {
  .blog-item { grid-template-columns: 1fr; gap: 10px; }
}
.blog-meta {
  font-size: 13px;
  color: var(--text-muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  line-height: 1.5;
  padding-top: 4px;
}
.blog-meta .author { display: block; color: var(--text-muted); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; margin-top: 4px; }
.blog-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.blog-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------
   Centered hero variant
   ------------------------------------------------------------ */
.hero-centered {
  position: relative;
  padding: 120px 0 96px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(30, 64, 175, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #fafbff 0%, #ffffff 70%);
}
.hero-centered::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 64, 175, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, black 40%, transparent 75%);
  pointer-events: none;
}
.hero-centered-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-centered .hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
}
.hero-centered h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}
.hero-centered .hero-sub-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-centered .hero-intro {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 auto 36px;
  max-width: 680px;
}
.hero-centered .hero-cta-row { justify-content: center; }
@media (max-width: 768px) {
  .hero-centered { padding: 64px 0 56px; }
  .hero-centered .hero-logo { width: 88px; height: 88px; margin-bottom: 24px; }
}

/* Sine-wave decoration below hero */
.hero-wave {
  display: block;
  width: 100%;
  margin-top: 32px;
  opacity: 0.5;
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}


/* ============================================================
   Responsive safety rules
   ============================================================ */

/* Prevent any overflow on mobile */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg { max-width: 100%; height: auto; }

/* Capability grid — graceful column collapse */
.capability-grid {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) { .capability-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (max-width: 820px)  { .capability-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 520px)  { .capability-grid { grid-template-columns: 1fr; } }

/* Use-case grid — 3 columns → 1 */
.usecase-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) { .usecase-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Use-case detail — 2 columns → 1 on tablet */
@media (max-width: 900px) {
  .usecase-detail {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 0;
  }
  .usecase-detail.reverse .usecase-detail-text { order: 1; }
  .usecase-detail.reverse .usecase-detail-visual { order: 2; }
}

/* Tighter section headers on mobile */
@media (max-width: 768px) {
  .section-header-center { margin-bottom: 32px; }
  .section-subtitle { margin-bottom: 32px; }
}

/* Hero wave — contain inside viewport */
.hero-wave { max-width: 100%; }

/* Container breathing room on narrow viewports */
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}

/* Dark hero (two-column) — custom to Ojas */
.hero-dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #312E81 0%, #4F46E5 60%, #6366F1 100%);
  padding: 88px 0 72px;
  margin-top: 0;
}
.hero-dark::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-dark::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-dark-inner {
  position: relative; z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-dark { padding: 56px 0 48px; }
  .hero-dark-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
}
.hero-dark h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 14px;
}
.hero-dark .hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.hero-dark .hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  color: rgba(255,255,255,0.95);
  line-height: 1.3;
  margin: 0 0 18px;
}
.hero-dark .hero-subtitle {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 28px;
}
.hero-dark .hero-cta-row { justify-content: flex-start; }
.hero-dark .btn-primary {
  background: #fff;
  color: var(--primary);
  border: 1px solid #fff;
}
.hero-dark .btn-primary:hover {
  background: rgba(255,255,255,0.92);
  color: var(--primary-dark);
}
.hero-dark .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.hero-dark .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}

/* Right column — two translucent cards */
.hero-dark-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .hero-dark-cards { grid-template-columns: 1fr; }
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 20px 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-card .hero-card-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.hero-card .hero-card-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}
.hero-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
}
.hero-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------------
   Where authority sits (homepage showcase)
   ------------------------------------------------------------ */
.authority-section {
  position: relative;
  background:
    radial-gradient(circle at 88% 10%, rgba(79, 70, 229, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  overflow: hidden;
}
.authority-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 64, 175, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
}
.authority-section .container { position: relative; z-index: 1; }

.authority-tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.authority-tier {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-top-width: 3px;
}
.authority-tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.authority-tier-1 { border-top-color: var(--success); }
.authority-tier-2 { border-top-color: var(--primary-light); }
.authority-tier-3 { border-top-color: var(--primary); }
.authority-tier-4 { border-top-color: var(--warning); }
.authority-tier-5 { border-top-color: var(--danger); }

.authority-tier-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.authority-tier-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted-2);
  letter-spacing: -0.02em;
  line-height: 1;
}
.authority-tier h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 0;
}

.authority-tier-meaning {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 16px;
  flex-grow: 1;
}

.authority-tier-examples {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.authority-tier-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted-2);
  margin-bottom: 8px;
}
.authority-tier-examples ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.authority-tier-examples li {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding: 2px 0;
}

@media (max-width: 1100px) {
  .authority-tiers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .authority-tiers { grid-template-columns: 1fr; gap: 14px; }
  .authority-tier { padding: 22px 20px 20px; }
}

.authority-closing {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 28px;
  border-top: 1px solid var(--border);
}
.authority-closing p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-style: italic;
  margin: 0;
}

/* ============================================================
   Industry Context — Hero carousel (homepage)
   Screenshot-style: blue gradient bg, two-column, green card right
   ============================================================ */

.ic2-section {
  position: relative;
  padding: 48px 0 56px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.ic2-section::before { display: none; }

.ic2-bg { display: none; }

.ic2-eyebrow-row {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto 24px;
  padding: 0 56px;
  text-align: center;
}

.ic2-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 12px;
}

.ic2-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
}

/* Carousel container (with side arrows) */
.ic2-carousel {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 56px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(79, 70, 229, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(30, 64, 175, 0.5) 0%, transparent 55%),
    linear-gradient(135deg, #1E3A8A 0%, #1E40AF 55%, #1d4ed8 100%);
  box-shadow:
    0 24px 48px -16px rgba(30, 58, 138, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  overflow: hidden;
  isolation: isolate;
}

.ic2-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.ic2-carousel > * { position: relative; z-index: 1; }

.ic2-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ic2-track::-webkit-scrollbar { display: none; }

.ic2-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 8px 0;
}

/* Two-column inner layout */
.ic2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: 190px;
}

/* Left column: text */
.ic2-text { color: #fff; }

.ic2-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ic2-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06D6A0;
  box-shadow: 0 0 8px rgba(6, 214, 160, 0.7);
}

.ic2-headline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 10px;
}

.ic2-body {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(219, 234, 254, 0.92);
  margin: 0 0 14px;
  max-width: 540px;
}

.ic2-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ic2-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  letter-spacing: -0.005em;
}

.ic2-btn-primary {
  background: #fff;
  color: var(--primary-dark);
}
.ic2-btn-primary:hover {
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

.ic2-btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ic2-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

/* Right column: green gradient card */
.ic2-card {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(167, 243, 208, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #047857 0%, #059669 50%, #10B981 100%);
  border-radius: 14px;
  padding: 20px 22px 18px;
  color: #fff;
  box-shadow:
    0 16px 32px -12px rgba(4, 120, 87, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  overflow: hidden;
  min-height: 170px;
  display: flex;
  flex-direction: column;
}

.ic2-card-icon {
  display: none;
}

.ic2-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.15;
}

.ic2-card-sub {
  font-size: 0.78rem;
  color: rgba(209, 250, 229, 0.85);
  margin: 0 0 12px;
  font-weight: 500;
}

.ic2-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ic2-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
}

.ic2-card-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6EE7B7;
  box-shadow: 0 0 8px rgba(110, 231, 183, 0.5);
}

/* Side arrows */
.ic2-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
  z-index: 3;
}
.ic2-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.05);
}
.ic2-arrow-prev { left: 10px; }
.ic2-arrow-next { right: 10px; }

/* Bottom dots */
.ic2-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.ic2-dot {
  border: none;
  cursor: pointer;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  transition: all var(--dur) var(--ease);
  width: 6px;
  height: 6px;
}
.ic2-dot:hover { background: rgba(255, 255, 255, 0.5); }
.ic2-dot.is-active {
  background: #fff;
  width: 22px;
}

/* Responsive */
@media (max-width: 980px) {
  .ic2-eyebrow-row, .ic2-carousel { padding: 0 56px; }
  .ic2-grid { gap: 40px; min-height: 0; }
  .ic2-headline { font-size: clamp(1.75rem, 4vw, 2.5rem); }
}

@media (max-width: 800px) {
  .ic2-section { padding: 48px 0 60px; }
  .ic2-eyebrow-row, .ic2-carousel { padding: 0 24px; }
  .ic2-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ic2-card { min-height: 0; padding: 28px 24px 24px; }
  .ic2-card-title { font-size: 1.6rem; }
  .ic2-arrow { display: none; }
  .ic2-cta-row { flex-direction: column; align-items: stretch; }
  .ic2-btn { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ic2-track { scroll-behavior: auto; }
  .ic2-arrow, .ic2-btn, .ic2-dot { transition: none; }
}
