/* VerbaEdge Systems LLC — Dark Theme */
:root {
  color-scheme: dark;
  --bg: #091321;
  --bg-2: #0d1a2b;
  --panel: #112137;
  --panel-2: #152840;
  --panel-soft: #0e1b2d;
  --text: #edf3fb;
  --muted: #b6c4d6;
  --muted-2: #8fa2ba;
  --line: rgba(157, 178, 204, 0.2);
  --brand: #60a5fa;
  --brand-dark: #2563eb;
  --accent: #5eead4;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(37, 99, 235, 0.17), transparent 62%),
    radial-gradient(760px 460px at 94% 4%, rgba(20, 184, 166, 0.10), transparent 60%),
    linear-gradient(180deg, #07111f 0%, #0a1423 54%, #0c1829 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.58);
}

:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.9);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 16, 29, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 650;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a {
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.section { padding: 76px 0; }

.section-light {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.07), transparent 28rem),
    linear-gradient(180deg, rgba(16, 32, 53, 0.76), rgba(11, 24, 41, 0.72));
  border-top: 1px solid rgba(157, 178, 204, 0.08);
  border-bottom: 1px solid rgba(157, 178, 204, 0.08);
}

.hero { padding: 96px 0 84px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); }

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5.7vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.18rem;
}

.button-row,
.portfolio-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(157, 178, 204, 0.28);
  border-radius: 999px;
  background: #172a42;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(96, 165, 250, 0.72);
  background: #1b3553;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.24);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.32);
}

.focus-card,
.card,
.contact-card,
.portfolio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(20, 39, 63, 0.96), rgba(13, 27, 46, 0.97));
  box-shadow: var(--shadow);
}

.focus-card {
  padding: 26px;
}

.focus-card h2 { font-size: 1.4rem; }

.focus-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.focus-card-title h2 {
  margin: 0;
  font-size: 1.4rem;
}

.focus-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.focus-list {
  display: grid;
  gap: 18px;
}

.focus-list div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.focus-list strong,
.focus-list span { display: block; }
.focus-list strong { margin-bottom: 4px; color: var(--text); }

.focus-list span,
.section-heading p,
.card p,
.split p,
.note,
.portfolio-body p,
.small {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.offer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.offer-card { padding: 26px; }

.offer-card ul {
  margin: 16px 0;
  padding-left: 20px;
  color: var(--muted);
}

.offer-card li + li { margin-top: 8px; }

.offer-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.18);
  color: #bfdbfe;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-offer {
  border-color: rgba(96, 165, 250, 0.42);
  background: linear-gradient(155deg, rgba(24, 53, 88, 0.98), rgba(13, 30, 51, 0.98));
  box-shadow: 0 20px 48px rgba(18, 62, 123, 0.22);
}

.deliverable {
  margin-bottom: 0;
  color: var(--muted);
}

.industries-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { padding: 24px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.capability-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(157, 178, 204, 0.22);
  background: rgba(157, 178, 204, 0.08);
  color: #d8e4f2;
  padding: 7px 11px;
  font-size: 0.9rem;
  font-weight: 700;
}

.note {
  max-width: 900px;
  margin: 0 0 28px;
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.13);
  padding: 16px 18px;
  color: #c7d7eb;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card { overflow: hidden; }

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #0a1524;
}

.portfolio-body { padding: 22px; }
.portfolio-body strong { color: var(--text); }
.tag-row { margin-top: 16px; }
.tag-row span { background: rgba(157, 178, 204, 0.06); font-size: 0.82rem; }

.contact-section {
  background: linear-gradient(180deg, #081321 0%, #07101c 100%);
  color: var(--text);
  border-top: 1px solid rgba(157, 178, 204, 0.12);
}

.contact-card {
  padding: 32px;
  background: linear-gradient(145deg, #12243a, #0d1a2b);
  border-color: rgba(157, 178, 204, 0.22);
}

.contact-card p,
.contact-card .small { color: var(--muted); }

.contact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.contact-list div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-list dt { font-weight: 800; color: var(--text); }
.contact-list dd { margin: 0; color: var(--muted); }
.contact-list a { color: #93c5fd; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--accent); }

.site-footer {
  padding: 24px 0;
  background: #050b14;
  color: #91a2b8;
  font-size: 0.92rem;
  border-top: 1px solid rgba(157, 178, 204, 0.10);
}

.site-footer p { margin: 0; }

@media (max-width: 880px) {
  .header-inner,
  .nav-links { align-items: flex-start; }

  .header-inner {
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero-grid,
  .split,
  .portfolio-grid,
  .services-grid,
  .offer-grid,
  .industries-grid { grid-template-columns: 1fr; }

  .hero { padding: 64px 0; }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .brand { font-size: 0.98rem; }
  .nav-links { font-size: 0.9rem; }
  .hero { padding: 54px 0; }
  h1 { font-size: clamp(2.1rem, 11vw, 3.1rem); }
  .focus-card,
  .offer-card,
  .card { padding: 21px; }
  .contact-card { padding: 24px; }
  .button-row .button,
  .portfolio-cta .button { width: 100%; }
}

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

/* Focused RAG service copy; retains the original dark theme and layout. */
.hero-promise {
  margin: 18px 0 0;
  color: #cde0f6;
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: #93c5fd;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible { color: var(--accent); }

.scope-note {
  margin: 24px 0 0;
  max-width: 940px;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-action { margin: 18px 0 26px; }

/* Additional RAG case-study cards: inherited dark palette and existing brand style */
.portfolio-subtitle {font-size:1.42rem; margin:26px 0 12px; letter-spacing:-.025em;}
.original-samples {margin-top:54px;}
.rag-case-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:20px 0 12px;}
.rag-case-card {padding:25px; display:flex; flex-direction:column;}
.rag-case-card .text-link {margin-top:auto; padding-top:12px;}
.rag-evidence {padding:13px; border-left:3px solid var(--accent); background:rgba(94,234,212,.04); border-radius:0 8px 8px 0;}
.portfolio-download {margin-bottom:28px; color:var(--muted);}
.case-study-main {max-width:900px; padding:74px 0 86px;}
.case-study-main h1 {font-size:clamp(2rem,4vw,3.2rem); line-height:1.16;}
.case-study-main h2 {font-size:1.56rem; margin-top:36px;}
.case-study-main p,.case-study-main li {color:var(--muted);}
.case-study-main .case-intro {font-size:1.12rem;}
.case-study-main .case-meta {color:var(--accent); text-transform:uppercase; font-size:.8rem; font-weight:800; letter-spacing:.09em;}
.case-metrics {display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0;}
.case-metric {padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel);}
.case-metric span {display:block; color:var(--muted); font-size:.9rem;}
.case-metric strong {display:block; font-size:1.8rem; color:var(--accent);}
.case-study-main code {color:var(--accent); background:rgba(13,27,46,.8); padding:.1rem .32rem;border-radius:4px;}
.case-study-main pre {max-width:100%;overflow:auto; border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:20px;}
.case-study-main pre code {background:transparent; color:var(--text);padding:0;}
@media(max-width:920px){.rag-case-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:700px){.rag-case-grid,.case-metrics{grid-template-columns:1fr;}.case-study-main{padding:50px 0;}}

/* VerbaEdge cross-division navigation; original Systems theme retained */
.network-bar{border-bottom:1px solid rgba(157,178,204,.13);background:#06101e;color:#aec1d8;font-size:.81rem}
.network-inner{display:flex;align-items:center;justify-content:flex-end;gap:22px;flex-wrap:wrap;min-height:36px;padding:6px 0}
.network-inner a{color:#bed0e6;text-decoration:none}.network-inner a:hover,.network-inner a:focus-visible{color:#5eead4}
.network-current{font-weight:800;color:#5eead4}.network-home{opacity:.78}.network-footer{font-size:.86rem;margin:8px 0 0;color:#aebed2}.network-footer a{color:#93c5fd}
@media(max-width:650px){.network-inner{justify-content:center;gap:8px 15px;font-size:.74rem}}
