:root {
  --blue-950: #071c2e;
  --blue-900: #12324b;
  --blue-700: #2c7fa6;
  --teal-600: #267f91;
  --green-500: #9a9b55;
  --green-100: #f2f4e8;
  --ink: #111b25;
  --muted: #596774;
  --line: #d8e0dd;
  --paper: #f4f6f5;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(7, 28, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 228, 232, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(300px, 28vw, 390px);
  height: auto;
}

.brand-mobile-lockup {
  display: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--white);
  border: 1px solid rgba(20, 154, 165, 0.22);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(16, 36, 58, 0.08);
}

.brand-mark img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.nav-parent {
  padding: 10px 12px;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.site-nav a:hover,
.nav-parent:hover,
.nav-menu.is-open > .nav-parent {
  background: var(--green-100);
}

.nav-menu {
  position: relative;
}

.nav-parent::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  display: none;
  width: max-content;
  min-width: 250px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-menu.is-open .nav-dropdown {
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--blue-900);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: auto;
  padding: clamp(22px, 3vw, 38px) clamp(20px, 5vw, 72px) clamp(30px, 3.6vw, 46px);
  background: var(--paper);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--blue-950);
  font-size: clamp(2.25rem, 4.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--blue-900);
  font-size: 1.08rem;
  line-height: 1.28;
}

.hero-lede {
  max-width: 730px;
  color: #384957;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.project-hero {
  display: block;
  min-height: auto;
}

.hero-intro {
  display: block;
  margin-bottom: 16px;
}

.hero-intro h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.hero-summary {
  max-width: 770px;
  color: #384957;
  font-size: 1rem;
}

.hero-summary p {
  margin-bottom: 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 215px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(216, 224, 221, 0.9);
  border-radius: 4px;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(18, 163, 166, 0.45);
  box-shadow: 0 14px 36px rgba(7, 28, 46, 0.12);
}

.project-featured {
  align-self: start;
  min-height: 0;
}

.recent-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.recent-projects-heading {
  grid-column: 1 / -1;
  align-self: end;
}

.recent-projects-heading .eyebrow {
  margin-bottom: 0;
}

.project-visual {
  min-height: 118px;
  background: linear-gradient(135deg, var(--blue-900), var(--teal-600));
}

.project-image,
.insight-image {
  display: block;
  width: 100%;
  object-fit: contain;
  background: #eef5f4;
}

.project-image {
  height: 118px;
}

.project-featured .project-visual {
  min-height: 220px;
}

.project-featured .project-image {
  height: 220px;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px;
}

.project-featured .project-body {
  padding: 20px;
}

.project-body h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.project-body h3 {
  margin-bottom: 10px;
}

.project-body p {
  color: var(--muted);
  margin-bottom: 0;
}

.project-link {
  display: inline-block;
  margin-top: 12px;
  padding-top: 0;
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--green-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.project-link:hover {
  color: var(--blue-700);
}

.dashboard-visual {
  display: block;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 28, 46, 0.22), rgba(7, 28, 46, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 64px),
    linear-gradient(135deg, #18324a, #245f78);
}

.case-flow {
  display: grid;
  gap: 10px;
}

.case-flow span {
  display: block;
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.case-flow b {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shipping-visual {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(135deg, #0c273d, #2c7fa6);
}

.upgrade-visual {
  background:
    linear-gradient(180deg, transparent 0 30%, rgba(255,255,255,0.36) 30% 36%, transparent 36%),
    linear-gradient(90deg, rgba(255,255,255,0.18) 0 18%, transparent 18% 100%),
    linear-gradient(135deg, #102a40, #376f8e);
}

.cloud-visual {
  background:
    radial-gradient(circle at 24% 42%, var(--white) 0 9px, transparent 10px),
    radial-gradient(circle at 50% 62%, var(--white) 0 9px, transparent 10px),
    radial-gradient(circle at 76% 36%, var(--white) 0 9px, transparent 10px),
    linear-gradient(135deg, #1b5d70, #8f9250);
}

.automation-visual {
  background:
    linear-gradient(135deg, rgba(7, 28, 46, 0.18), rgba(7, 28, 46, 0.78)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.2) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #1b4d69, #7f844a);
}

.sql-bridge-visual,
.catalog-integration-visual,
.ai-exception-visual,
.support-triage-visual,
.payroll-export-visual,
.lockbox-visual,
.reporting-modernization-visual,
.upgrade-readiness-visual,
.jit-label-visual,
.erp-portal-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 28, 46, 0.1), rgba(7, 28, 46, 0.82)),
    linear-gradient(135deg, #0f3148, #2d7d89 58%, #9aa356);
}

.sql-bridge-visual::before,
.sql-bridge-visual::after,
.catalog-integration-visual::before,
.catalog-integration-visual::after,
.ai-exception-visual::before,
.ai-exception-visual::after,
.support-triage-visual::before,
.support-triage-visual::after,
.payroll-export-visual::before,
.payroll-export-visual::after,
.lockbox-visual::before,
.lockbox-visual::after,
.reporting-modernization-visual::before,
.reporting-modernization-visual::after,
.upgrade-readiness-visual::before,
.upgrade-readiness-visual::after,
.jit-label-visual::before,
.jit-label-visual::after,
.erp-portal-visual::before,
.erp-portal-visual::after {
  position: absolute;
  content: "";
  box-sizing: border-box;
}

.sql-bridge-visual::before {
  inset: 24% 12%;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-right: 0;
  border-left: 0;
}

.sql-bridge-visual::after {
  inset: 25% auto auto 12%;
  width: 76%;
  height: 50%;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,0.85) 18% 22%, transparent 22% 48%, rgba(255,255,255,0.85) 48% 52%, transparent 52% 78%, rgba(255,255,255,0.85) 78% 82%, transparent 82%),
    radial-gradient(circle at 8% 50%, #ffffff 0 18px, transparent 19px),
    radial-gradient(circle at 50% 50%, #d9f0f1 0 18px, transparent 19px),
    radial-gradient(circle at 92% 50%, #f4f6d0 0 18px, transparent 19px);
}

.catalog-integration-visual {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, #173046, #2c6a72 54%, #9a7f39);
}

.catalog-integration-visual::before {
  inset: 22px 28px;
  background:
    linear-gradient(#ffffff, #ffffff) 0 0 / 36% 18px no-repeat,
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)) 0 34px / 46% 12px no-repeat,
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)) 0 56px / 42% 12px no-repeat,
    linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.28)) 58% 12px / 34% 18px no-repeat,
    linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.28)) 58% 44px / 42% 18px no-repeat,
    linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.28)) 58% 76px / 30% 18px no-repeat;
}

.catalog-integration-visual::after {
  top: 50%;
  left: 42%;
  width: 28%;
  height: 2px;
  background: rgba(255,255,255,0.72);
  box-shadow: 26px -24px 0 rgba(255,255,255,0.72), 26px 24px 0 rgba(255,255,255,0.72);
  transform: translateY(-50%);
}

.ai-exception-visual {
  background:
    radial-gradient(circle at 18% 18%, rgba(245,246,208,0.9) 0 10px, transparent 11px),
    linear-gradient(135deg, #102d44, #245e75 55%, #7e8f4e);
}

.ai-exception-visual::before {
  inset: 24px 26px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0 10px, transparent 10px 20px, rgba(255,255,255,0.5) 20px 100%) 0 0 / 100% 18px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.94) 0 10px, transparent 10px 20px, rgba(255,255,255,0.5) 20px 100%) 0 36px / 78% 18px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.94) 0 10px, transparent 10px 20px, rgba(255,255,255,0.5) 20px 100%) 0 72px / 92% 18px no-repeat;
}

.ai-exception-visual::after {
  right: 25px;
  bottom: 24px;
  width: 76px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.78);
  border-radius: 24px;
  box-shadow: inset 23px 0 0 rgba(255,255,255,0.24);
}

.support-triage-visual {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 38px),
    linear-gradient(135deg, #18344a, #456f74 56%, #8d8d45);
}

.support-triage-visual::before {
  left: 24px;
  right: 24px;
  top: 26px;
  height: 84px;
  border: 1px solid rgba(255,255,255,0.38);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.8)) 16px 18px / 42% 9px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.36), rgba(255,255,255,0.36)) 16px 42px / 72% 8px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.36), rgba(255,255,255,0.36)) 16px 62px / 54% 8px no-repeat;
  border-radius: 4px;
}

.support-triage-visual::after {
  right: 30px;
  bottom: 28px;
  width: 92px;
  height: 34px;
  background: rgba(255,255,255,0.88);
  border-radius: 18px;
  box-shadow: -44px -14px 0 -8px rgba(244,246,208,0.95), -92px 8px 0 -8px rgba(217,240,241,0.95);
}

.payroll-export-visual {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #173249, #2f6970 54%, #a06f41);
}

.payroll-export-visual::before {
  inset: 26px 24px;
  border: 1px solid rgba(255,255,255,0.42);
  background:
    linear-gradient(rgba(255,255,255,0.86), rgba(255,255,255,0.86)) 14px 14px / 60% 10px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,0.3) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 33%, rgba(255,255,255,0.22) 33% 34%);
}

.payroll-export-visual::after {
  right: 28px;
  bottom: 22px;
  width: 72px;
  height: 44px;
  background:
    linear-gradient(90deg, transparent 0 48px, rgba(15,49,72,0.38) 48px),
    rgba(255,255,255,0.86);
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
}

.lockbox-visual {
  background:
    radial-gradient(circle at 72% 34%, rgba(245,246,208,0.9) 0 12px, transparent 13px),
    linear-gradient(135deg, #142f45, #356a73 58%, #8f783d);
}

.lockbox-visual::before {
  left: 30px;
  top: 34px;
  width: 56%;
  height: 76px;
  border: 1px solid rgba(255,255,255,0.42);
  background:
    linear-gradient(rgba(255,255,255,0.86), rgba(255,255,255,0.86)) 14px 15px / 46% 10px no-repeat,
    linear-gradient(rgba(255,255,255,0.38), rgba(255,255,255,0.38)) 14px 40px / 78% 8px no-repeat,
    linear-gradient(rgba(255,255,255,0.38), rgba(255,255,255,0.38)) 14px 58px / 62% 8px no-repeat;
}

.lockbox-visual::after {
  right: 32px;
  bottom: 28px;
  width: 80px;
  height: 56px;
  border: 2px solid rgba(255,255,255,0.86);
  border-radius: 4px;
  box-shadow: 0 -22px 0 -10px rgba(255,255,255,0.86);
}

.reporting-modernization-visual {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 42px),
    linear-gradient(135deg, #102c44, #287386 56%, #8b9549);
}

.reporting-modernization-visual::before {
  left: 26px;
  right: 26px;
  bottom: 26px;
  height: 88px;
  background:
    linear-gradient(0deg, rgba(255,255,255,0.88), rgba(255,255,255,0.88)) 0 100% / 16% 34% no-repeat,
    linear-gradient(0deg, rgba(217,240,241,0.92), rgba(217,240,241,0.92)) 26% 100% / 16% 62% no-repeat,
    linear-gradient(0deg, rgba(245,246,208,0.92), rgba(245,246,208,0.92)) 52% 100% / 16% 46% no-repeat,
    linear-gradient(0deg, rgba(255,255,255,0.88), rgba(255,255,255,0.88)) 78% 100% / 16% 82% no-repeat;
}

.reporting-modernization-visual::after {
  left: 28px;
  top: 26px;
  width: 64%;
  height: 12px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 26px 0 rgba(255,255,255,0.36), 0 52px 0 rgba(255,255,255,0.36);
}

.upgrade-readiness-visual {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(135deg, #19344b, #35737d 56%, #8e8b46);
}

.upgrade-readiness-visual::before {
  inset: 26px 28px;
  background:
    linear-gradient(90deg, rgba(245,246,208,0.92) 0 13px, transparent 13px 28px, rgba(255,255,255,0.66) 28px 100%) 0 0 / 100% 14px no-repeat,
    linear-gradient(90deg, rgba(245,246,208,0.92) 0 13px, transparent 13px 28px, rgba(255,255,255,0.66) 28px 80%) 0 32px / 100% 14px no-repeat,
    linear-gradient(90deg, rgba(245,246,208,0.92) 0 13px, transparent 13px 28px, rgba(255,255,255,0.66) 28px 92%) 0 64px / 100% 14px no-repeat;
}

.upgrade-readiness-visual::after {
  right: 34px;
  top: 34px;
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255,255,255,0.88);
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
}

.jit-label-visual {
  background:
    radial-gradient(circle at 22% 70%, rgba(245,246,208,0.84) 0 13px, transparent 14px),
    linear-gradient(135deg, #153247, #316b73 56%, #9b843f);
}

.jit-label-visual::before {
  left: 25px;
  top: 26px;
  width: 46%;
  height: 78px;
  border: 1px solid rgba(255,255,255,0.42);
  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)) 12px 14px / 62% 10px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,0.42) 8px 10px, transparent 10px 16px) 12px 44px / 72% 22px no-repeat;
}

.jit-label-visual::after {
  right: 26px;
  bottom: 28px;
  width: 42%;
  height: 54px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.86) 0 18%, transparent 18% 26%, rgba(255,255,255,0.86) 26% 100%);
  box-shadow: -34px -28px 0 -12px rgba(217,240,241,0.92);
}

.erp-portal-visual {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.1) 0 1px, transparent 1px 38px),
    linear-gradient(135deg, #0f2d44, #2a6872 58%, #8b8e48);
}

.erp-portal-visual::before {
  inset: 28px auto auto 26px;
  width: 44%;
  height: 82px;
  border: 1px solid rgba(255,255,255,0.42);
  background:
    linear-gradient(rgba(255,255,255,0.86), rgba(255,255,255,0.86)) 14px 15px / 58% 10px no-repeat,
    linear-gradient(rgba(255,255,255,0.38), rgba(255,255,255,0.38)) 14px 41px / 74% 9px no-repeat,
    linear-gradient(rgba(255,255,255,0.38), rgba(255,255,255,0.38)) 14px 62px / 48% 9px no-repeat;
}

.erp-portal-visual::after {
  right: 26px;
  bottom: 30px;
  width: 42%;
  height: 72px;
  border: 1px solid rgba(255,255,255,0.42);
  background:
    radial-gradient(circle at 24% 50%, rgba(245,246,208,0.92) 0 9px, transparent 10px),
    radial-gradient(circle at 52% 50%, rgba(255,255,255,0.86) 0 9px, transparent 10px),
    radial-gradient(circle at 80% 50%, rgba(217,240,241,0.92) 0 9px, transparent 10px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--blue-950);
}

.button-primary:hover {
  background: var(--blue-900);
}

.button-secondary {
  color: var(--blue-900);
  background: var(--white);
  border-color: var(--line);
}

.hero-panel {
  width: 100%;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(23, 100, 139, 0.92), rgba(12, 39, 64, 0.96)),
    var(--blue-900);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.panel-header strong {
  color: var(--white);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.signal-grid div,
.flow-card,
.issue-list {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.signal-grid div {
  min-height: 98px;
  padding: 14px;
}

.signal-grid b,
.signal-grid span {
  display: block;
}

.signal-grid b {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.signal-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.flow-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  margin-bottom: 18px;
  padding: 18px;
}

.flow-card span {
  display: grid;
  min-height: 58px;
  place-items: center;
  color: var(--blue-950);
  font-weight: 800;
  background: var(--white);
  border-radius: 8px;
}

.flow-card i {
  position: absolute;
  top: 49%;
  width: 18px;
  height: 2px;
  background: var(--green-500);
}

.flow-card i:nth-of-type(1) {
  left: 24%;
}

.flow-card i:nth-of-type(2) {
  left: 49%;
}

.flow-card i:nth-of-type(3) {
  left: 74%;
}

.issue-list {
  display: grid;
  gap: 12px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.status {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 999px;
}

.status.good {
  background: var(--green-500);
}

.status.watch {
  background: #f6c85f;
}

.section {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 72px);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
  color: var(--blue-900);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.strip span {
  padding: 8px 12px;
  font-weight: 800;
  background: var(--green-100);
  border-radius: 4px;
}

.home-overview,
.product-overview,
.content-overview,
.contact-cta {
  border-top: 1px solid var(--line);
}

.home-overview {
  background: var(--white);
}

.product-overview {
  background: #edf5f4;
}

.home-section-intro {
  max-width: 820px;
  margin-bottom: 24px;
}

.home-section-intro h2 {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.16;
}

.home-section-intro p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #384957;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.home-card-grid article {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.home-card-grid h3 {
  margin-bottom: 9px;
}

.home-card-grid p {
  margin-bottom: 18px;
  color: var(--muted);
}

.home-card-grid .text-link {
  margin-top: auto;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.content-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  color: var(--white);
  background: var(--blue-950);
}

.content-overview h2,
.content-overview .eyebrow {
  color: var(--white);
}

.content-overview .home-section-intro {
  margin-bottom: 0;
}

.content-overview .home-section-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.content-overview .button-primary {
  color: var(--blue-950);
  background: var(--white);
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: var(--white);
}

.contact-cta h2 {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
}

.contact-cta p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #384957;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mission-section {
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  padding-top: clamp(34px, 4.5vw, 58px);
  padding-bottom: clamp(34px, 4.5vw, 58px);
}

.mission-section h2 {
  max-width: 480px;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  line-height: 1.12;
}

.mission-section .content-stack > p {
  max-width: 780px;
  margin-bottom: 20px;
}

.content-stack {
  color: #364755;
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.feature-list article {
  padding-top: 18px;
  border-top: 3px solid var(--teal-600);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 900px;
}

.compact {
  display: block;
}

.text-link {
  color: var(--blue-900);
  font-weight: 800;
  text-decoration-color: var(--green-500);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.content-hub {
  background: #edf5f4;
  border-top: 1px solid var(--line);
}

.services {
  background: var(--white);
  border-top: 1px solid var(--line);
}

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

.media-card,
.service-grid article,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: none;
}

.media-card {
  overflow: hidden;
}

.media-card:not(.featured) {
  padding: 16px;
}

.featured {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1fr;
  gap: 0;
  grid-column: span 2;
}

.featured > div:last-child {
  padding: 24px;
}

.video-thumb {
  position: relative;
  display: flex;
  min-height: 290px;
  align-items: flex-end;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(12, 39, 64, 0.28), rgba(12, 39, 64, 0.82)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 64px),
    linear-gradient(135deg, var(--blue-700), var(--teal-600) 54%, var(--green-500));
}

.play {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 54px;
  height: 54px;
  background: var(--white);
  clip-path: polygon(30% 20%, 30% 80%, 78% 50%);
}

.mini-thumb {
  height: 150px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-900), var(--teal-600));
  border-radius: 4px;
}

.mini-thumb.integration {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16) 2px, transparent 2px) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--blue-900), var(--teal-600));
}

.mini-thumb.automation {
  background:
    radial-gradient(circle at 24% 42%, var(--white) 0 8px, transparent 9px),
    radial-gradient(circle at 50% 62%, var(--white) 0 8px, transparent 9px),
    radial-gradient(circle at 76% 36%, var(--white) 0 8px, transparent 9px),
    linear-gradient(135deg, var(--teal-600), var(--green-500));
}

.mini-thumb.support {
  background:
    linear-gradient(180deg, transparent 0 35%, rgba(255,255,255,0.36) 35% 40%, transparent 40%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal-600);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-grid article {
  padding: 22px;
}

.service-grid span {
  color: var(--green-500);
  font-weight: 900;
}

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  color: var(--white);
  background: var(--blue-950);
}

.subscribe h2,
.subscribe .eyebrow {
  color: var(--white);
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-form label {
  flex: 1;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.inline-form .form-status {
  flex-basis: 100%;
}

.form-status.is-success {
  color: #166534;
}

.form-status.is-error {
  color: #991b1b;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.subscribe label span {
  color: rgba(255, 255, 255, 0.76);
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 0.85fr);
  gap: clamp(30px, 6vw, 90px);
  background: var(--white);
}

address {
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: auto;
  padding: clamp(46px, 6vw, 78px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(12, 39, 64, 0.04), rgba(18, 163, 166, 0.08)),
    var(--paper);
}

.page-hero {
  max-width: 980px;
  padding: clamp(34px, 5vw, 64px) clamp(20px, 5vw, 72px) clamp(24px, 4vw, 42px);
}

.page-hero-compact {
  padding-bottom: 14px;
}

.page-hero h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  color: #384957;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.product-demo-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(22px, 3vw, 38px);
  padding-bottom: clamp(28px, 4vw, 48px);
  background: #edf5f4;
  border-top: 1px solid var(--line);
}

.product-demo-copy {
  max-width: 480px;
}

.product-demo-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.1;
}

.product-demo-copy p:not(.eyebrow) {
  color: #384957;
  line-height: 1.66;
}

.product-demo-stage {
  min-width: 0;
}

.product-demo-stage .sql-window,
.product-demo-stage .agent-chat-window {
  max-width: 860px;
  margin-inline: auto;
}

.agent-chat-window {
  overflow: hidden;
  border: 1px solid #cbd8df;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(11, 31, 51, 0.14);
}

.agent-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 12px 18px;
  color: #e8eef5;
  background: #20364d;
}

.agent-chat-header div {
  display: grid;
  gap: 2px;
}

.agent-chat-header strong {
  font-size: 0.96rem;
}

.agent-chat-header span,
.agent-chat-header small {
  color: #b8c7d8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-chat-thread {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 3vw, 26px);
  background:
    linear-gradient(180deg, rgba(47, 127, 137, 0.08), rgba(255, 255, 255, 0)),
    #f8fafb;
}

.chat-message {
  max-width: min(100%, 720px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(11, 31, 51, 0.08);
}

.chat-user {
  justify-self: end;
  padding: 14px 18px;
  color: #ffffff;
  background: var(--blue-900);
  font-weight: 800;
}

.chat-agent {
  justify-self: start;
  width: 100%;
  padding: 16px;
  background: #ffffff;
}

.chat-agent p {
  max-width: 690px;
  margin-bottom: 14px;
  color: #314453;
  line-height: 1.55;
}

.chat-typing {
  display: inline-flex;
  gap: 5px;
  margin-bottom: 12px;
}

.chat-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-600);
  animation: typing-dot 1.25s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.16s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.32s;
}

.agent-result-table-wrap {
  overflow-x: auto;
  border: 1px solid #d8e0e8;
  border-radius: 4px;
}

.agent-result-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #1c2d3f;
  font-size: 0.86rem;
}

.agent-result-table th,
.agent-result-table td {
  padding: 10px 12px;
  border-right: 1px solid #d8e0e8;
  border-bottom: 1px solid #d8e0e8;
  text-align: left;
}

.agent-result-table th {
  background: #dfe8ef;
  color: #26384c;
  font-weight: 850;
}

.agent-result-table tbody tr:nth-child(2) {
  animation: sql-row-scan 4.5s ease-in-out infinite;
}

.agent-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.agent-action-row span {
  padding: 8px 10px;
  color: var(--blue-900);
  background: #eef7f7;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
}

@keyframes typing-dot {
  0%,
  65%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.legal-page {
  max-width: 920px;
  padding-top: 22px;
}

.legal-page h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page p {
  color: #384957;
}

.page-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.story-copy {
  max-width: 860px;
}

.story-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.12;
}

.story-copy p:not(.eyebrow) {
  max-width: 790px;
  color: #384957;
  font-size: 1.02rem;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.story-callout {
  padding: 22px;
  background: var(--green-100);
  border-left: 4px solid var(--green-500);
}

.story-callout h3 {
  margin-bottom: 10px;
}

.story-callout p {
  margin-bottom: 0;
  color: #384957;
}

.page-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.page-lead {
  max-width: 760px;
  margin-bottom: 22px;
}

.page-lead h2 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.15;
}

.page-lead p {
  color: #384957;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.simple-grid article {
  padding-top: 16px;
  border-top: 3px solid var(--teal-600);
}

.simple-grid h3 {
  margin-bottom: 8px;
}

.simple-grid p {
  color: var(--muted);
}

.page-detail {
  background: #edf5f4;
  border-top: 1px solid var(--line);
}

.page-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.page-detail-grid article {
  min-height: 190px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.page-detail-grid h3 {
  margin-bottom: 8px;
}

.page-detail-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-process {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 150px;
  padding: 42px 18px 18px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--green-500);
  font-weight: 900;
  font-size: 0.82rem;
}

.next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  color: var(--white);
  background: var(--blue-950);
}

.next-step h2,
.next-step .eyebrow {
  color: var(--white);
}

.next-step h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-notes h2 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.contact-notes ul {
  margin: 0 0 26px;
  padding-left: 20px;
  color: #384957;
}

.contact-notes li + li {
  margin-top: 8px;
}

.contact-options {
  background: #edf5f4;
  border-top: 1px solid var(--line);
}

.compact-section {
  padding-top: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(30px, 4vw, 54px);
}

.insights-blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  padding: clamp(26px, 4vw, 48px) clamp(20px, 5vw, 72px);
  background: #f7f9f8;
  border-bottom: 1px solid var(--line);
}

.insights-blog-copy h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.02;
  text-wrap: balance;
}

.insights-blog-copy p:not(.eyebrow) {
  max-width: 760px;
  color: #384957;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.insights-topic-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.insights-topic-panel a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  align-items: start;
  padding: 10px;
  color: var(--blue-950);
  text-decoration: none;
  border-radius: 4px;
}

.insights-topic-panel a::after {
  content: "->";
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--blue-950);
  font-weight: 900;
  background: #edf5f4;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.insights-topic-panel a:hover {
  background: #edf5f4;
}

.insights-topic-panel a:focus-visible,
.latest-post-row:focus-visible {
  outline: 3px solid rgba(28, 101, 103, 0.35);
  outline-offset: 3px;
}

.insights-topic-panel a:hover::after {
  background: var(--white);
}

.insights-topic-panel strong {
  grid-column: 1;
  font-size: 0.95rem;
}

.insights-topic-panel span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.insights-hero {
  max-width: 1080px;
}

.insights-featured {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.insight-featured-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.insight-featured-media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
}

.insight-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.insight-featured-copy h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 2.7vw, 2.65rem);
  line-height: 1.1;
}

.insight-featured-copy p:not(.eyebrow) {
  color: #384957;
}

.insight-featured-copy .button {
  align-self: flex-start;
  margin-top: 18px;
}

.insight-library {
  background: #edf5f4;
  border-top: 1px solid var(--line);
}

.blog-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.blog-section-header h2 {
  max-width: 840px;
  color: var(--blue-950);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.12;
}

.section-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--blue-900);
  font-weight: 800;
  font-size: 0.78rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.latest-post-list {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.latest-post-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 90px 32px;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  color: var(--blue-950);
  text-decoration: none;
}

.latest-post-row::after {
  content: "->";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--blue-950);
  font-weight: 900;
  background: #edf5f4;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.latest-post-row + .latest-post-row {
  border-top: 1px solid var(--line);
}

.latest-post-row:hover {
  background: #f7f9f8;
}

.latest-post-row span,
.latest-post-row small {
  color: var(--teal-600);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.latest-post-row strong {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.category-pills,
.tag-row,
.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-pills {
  margin-bottom: 22px;
}

.category-pills span,
.tag-row span {
  padding: 7px 10px;
  color: var(--blue-900);
  font-weight: 800;
  font-size: 0.78rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.insight-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.insight-thumb {
  display: block;
  width: 100%;
  height: 148px;
  min-height: 128px;
  object-fit: contain;
}

.insight-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.insight-card h3 {
  margin: 10px 0;
  color: var(--blue-950);
  font-size: 1.12rem;
}

.insight-card p {
  color: var(--muted);
}

.insight-card .text-link {
  margin-top: auto;
}

.insight-meta {
  color: var(--teal-600);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.tag-row {
  margin: 4px 0 18px;
}

.article-layout {
  background: #f7f9f8;
}

.article-hero {
  padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 72px) clamp(18px, 3vw, 30px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  max-width: 980px;
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4.3vw, 4.2rem);
  line-height: 0.98;
  text-wrap: balance;
}

.article-hero p:not(.eyebrow) {
  max-width: 820px;
  color: #384957;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(24px, 4vw, 44px) clamp(20px, 5vw, 72px);
}

.article-main {
  display: grid;
  gap: 18px;
}

.article-visual {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.article-feature {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.sql-console-feature {
  padding: clamp(14px, 2.5vw, 24px);
  background: #eaf0f4;
}

.sql-window {
  overflow: hidden;
  border: 1px solid #9aaabd;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(11, 31, 51, 0.16);
}

.sql-titlebar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  color: #e8eef5;
  background: #1b3552;
  font-size: 0.82rem;
}

.sql-titlebar strong {
  margin-left: 4px;
  font-weight: 700;
}

.sql-titlebar small {
  margin-left: auto;
  color: #b8c7d8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sql-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8fc6d0;
}

.sql-dot:nth-child(2) {
  background: #e6d58a;
}

.sql-dot:nth-child(3) {
  background: #9fb66a;
}

.sql-editor {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 108px;
  background: #fbfcfd;
  border-bottom: 1px solid #c6d2dd;
}

.sql-line-numbers {
  padding-top: 19px;
  color: #718293;
  background: #edf2f7;
  border-right: 1px solid #d6dee7;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  text-align: center;
}

.sql-editor pre {
  margin: 0;
  padding: 18px 20px;
  white-space: pre-wrap;
}

.sql-editor code,
.sql-grid,
.sql-status {
  font-family: Consolas, "Courier New", monospace;
}

.sql-editor code {
  color: #223043;
  font-size: clamp(0.92rem, 1.8vw, 1.18rem);
  line-height: 1.5;
}

.sql-caret {
  display: inline-block;
  width: 8px;
  height: 1.15em;
  margin-left: 3px;
  vertical-align: -0.2em;
  background: #223043;
  animation: sql-caret-blink 1s steps(2, start) infinite;
}

.sql-result-tabs {
  display: flex;
  gap: 2px;
  padding: 9px 12px 0;
  background: #f3f6f8;
  border-bottom: 1px solid #c6d2dd;
}

.sql-result-tabs span {
  padding: 8px 16px;
  color: #1b3552;
  background: #ffffff;
  border: 1px solid #c6d2dd;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.sql-result-tabs span + span {
  color: #617386;
  background: #e9eef3;
}

.sql-grid-wrap {
  overflow-x: auto;
}

.sql-grid {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: #1c2d3f;
  font-size: 0.86rem;
}

.sql-grid th,
.sql-grid td {
  padding: 10px 12px;
  border-right: 1px solid #d8e0e8;
  border-bottom: 1px solid #d8e0e8;
  text-align: left;
}

.sql-grid th {
  background: #dfe8ef;
  color: #26384c;
  font-weight: 800;
}

.sql-grid tbody tr:nth-child(even) {
  background: #f8fafb;
}

.sql-grid tbody tr:nth-child(2) {
  animation: sql-row-scan 4.5s ease-in-out infinite;
}

.sql-status {
  padding: 10px 14px;
  color: #50677c;
  background: #eef3f6;
  font-size: 0.78rem;
}

@keyframes sql-caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@keyframes sql-row-scan {
  0%,
  55%,
  100% {
    background: transparent;
  }
  20%,
  38% {
    background: #fff6c7;
  }
}

.article-section,
.article-cta,
.article-sidebar-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.article-section {
  padding: clamp(20px, 3vw, 34px);
}

.article-section h2,
.article-cta h2 {
  max-width: 760px;
  color: var(--blue-950);
  font-size: clamp(1.28rem, 2vw, 2rem);
  line-height: 1.12;
}

.article-section p,
.article-section li,
.article-cta p {
  color: #384957;
  line-height: 1.72;
}

.article-section p {
  max-width: 820px;
}

.article-section p + p {
  margin-top: 12px;
}

.article-section ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--blue-950);
}

.article-cta h2,
.article-cta p {
  color: var(--white);
}

.article-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.article-sidebar-box {
  padding: 16px;
}

.article-sidebar dl,
.article-sidebar dd {
  margin: 0;
}

.article-sidebar dl {
  display: grid;
  gap: 12px;
}

.article-sidebar dt {
  color: var(--teal-600);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.article-sidebar dd {
  margin-top: 3px;
  color: var(--blue-950);
  font-weight: 700;
}

.related-posts {
  display: grid;
  gap: 10px;
}

.related-posts a {
  display: grid;
  gap: 3px;
  color: var(--blue-950);
  text-decoration: none;
}

.related-posts a span {
  color: var(--muted);
  font-size: 0.82rem;
}

.subpage-visual {
  min-height: 320px;
  border: 1px solid rgba(217, 228, 232, 0.86);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.consulting-visual,
.support-visual,
.development-visual,
.cloudsuite-visual,
.ai-visual,
.cloudconnect-visual,
.blog-visual {
  background:
    linear-gradient(135deg, rgba(12, 39, 64, 0.24), rgba(12, 39, 64, 0.78)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 52px),
    linear-gradient(135deg, var(--blue-700), var(--teal-600) 56%, var(--green-500));
}

.page-feature-list {
  margin-top: 0;
}

.outcomes {
  background: #edf5f4;
}

.outcome-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.outcome-grid span {
  padding: 10px 13px;
  color: var(--blue-900);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--blue-950);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 1050px) {
  .hero,
  .split,
  .subscribe,
  .contact,
  .content-overview,
  .contact-cta,
  .page-story,
  .product-demo-section,
  .insights-blog-hero,
  .insight-featured-card,
  .subpage-hero,
  .contact-page,
  .article-grid,
  .next-step {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-list,
  .service-grid,
  .media-grid,
  .simple-grid,
  .insight-post-grid,
  .page-detail-grid,
  .process-list,
  .home-card-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured {
    grid-column: span 2;
  }

  .hero-intro,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .recent-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    gap: 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    display: none;
  }

  .brand-mobile-lockup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-mark {
    position: relative;
    display: grid;
    width: 48px;
    height: 40px;
    place-items: center;
    color: var(--blue-900);
    font-weight: 900;
    font-size: 1.65rem;
  }

  .mobile-mark::before {
    content: "";
    position: absolute;
    inset: 5px -6px 3px -6px;
    border: 2px solid var(--green-500);
    border-radius: 50%;
    transform: rotate(-19deg);
  }

  .brand-mobile-lockup strong,
  .brand-mobile-lockup small {
    display: block;
    white-space: nowrap;
  }

  .brand-mobile-lockup strong {
    color: var(--blue-900);
    font-size: 0.96rem;
    line-height: 1.05;
  }

  .brand-mobile-lockup small {
    color: var(--muted);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-parent {
    width: 100%;
    text-align: left;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    box-shadow: none;
  }

  .hero {
    gap: 20px;
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .project-hero {
    min-height: auto;
  }

  .hero-intro,
  .project-gallery,
  .recent-projects {
    grid-template-columns: 1fr;
  }

  .hero-intro {
    margin-bottom: 14px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: 1.98rem;
    line-height: 1.05;
  }

  .hero-intro h1 {
    margin-bottom: 0;
    font-size: 1.78rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-summary {
    font-size: 0.9rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .project-gallery {
    grid-auto-rows: auto;
    gap: 12px;
  }

  .project-featured {
    min-height: 0;
  }

  .project-card {
    min-height: 0;
  }

  .project-card:not(.project-featured) {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .project-visual,
  .project-featured .project-visual {
    min-height: 112px;
  }

  .project-featured .project-visual {
    min-height: 138px;
  }

  .project-body,
  .project-featured .project-body {
    padding: 14px;
  }

  .project-body h2 {
    font-size: 1.28rem;
  }

  .project-body h3 {
    font-size: 0.96rem;
  }

  .project-body p {
    font-size: 0.86rem;
  }

  .case-flow {
    gap: 7px;
  }

  .case-flow span {
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .case-flow b {
    font-size: 0.68rem;
  }

  .hero-panel {
    padding: 14px;
  }

  .panel-header {
    margin-bottom: 12px;
  }

  .hero-actions,
  .inline-form {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-list,
  .service-grid,
  .media-grid,
  .simple-grid,
  .insight-post-grid,
  .page-detail-grid,
  .process-list,
  .home-card-grid,
  .product-grid,
  .featured,
  .product-demo-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .insights-blog-hero {
    padding-top: 28px;
  }

  .insights-blog-copy h1,
  .article-hero h1 {
    font-size: 2rem;
    line-height: 1.04;
  }

  .insights-topic-panel,
  .latest-post-list {
    gap: 0;
  }

  .insights-topic-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insights-topic-panel span {
    display: none;
  }

  .blog-section-header,
  .article-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .latest-post-row {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 4px;
  }

  .latest-post-row span,
  .latest-post-row strong,
  .latest-post-row small {
    grid-column: 1;
  }

  .latest-post-row::after {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .article-grid {
    gap: 16px;
    padding-top: 22px;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-visual {
    min-height: 180px;
  }

  .page-detail-grid article,
  .process-list li {
    min-height: 0;
  }

  .home-card-grid article {
    min-height: 0;
  }

  .home-section-intro h2,
  .story-copy h2,
  .insight-featured-copy h2,
  .contact-cta h2 {
    font-size: 1.38rem;
  }

  .insight-featured-media,
  .insight-thumb {
    min-height: 150px;
  }

  .insight-featured-copy {
    padding: 18px;
  }

  .subpage-hero {
    min-height: auto;
    padding-top: 44px;
  }

  .subpage-visual {
    min-height: 220px;
  }

  .product-demo-section {
    padding-top: 28px;
  }

  .agent-chat-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-action-row {
    display: grid;
  }

  .featured {
    grid-column: auto;
  }

  .signal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 10px;
  }

  .signal-grid div {
    min-height: 74px;
    padding: 10px;
  }

  .signal-grid b {
    font-size: 1.1rem;
  }

  .signal-grid span {
    font-size: 0.7rem;
  }

  .flow-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 0;
    padding: 10px;
  }

  .flow-card span {
    min-height: 42px;
    font-size: 0.72rem;
  }

  .flow-card i {
    display: none;
  }

  .issue-list {
    display: none;
  }
}
