:root {
  --navy-950: #030C1D;
  --navy-925: #041126;
  --navy-900: #06152B;
  --navy-800: #081D38;
  --blue-700: #044DAB;
  --blue-500: #1FA7F0;
  --green-600: #16B954;
  --green-100: #DCF2D5;
  --gold-500: #D7AA40;
  --gold-300: #F4CF72;
  --white: #FFFFFF;
  --ink: #0C1628;
  --muted: #667085;
  --surface: #F6F8FB;
  --border: #E5EAF0;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(3, 12, 29, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

h1,
h2,
h3,
h4 {
  font-family: 'Manrope', sans-serif;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -.04em;
}

h1 {
  font-size: clamp(3.1rem, 6.7vw, 6.35rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(3, 12, 29, .72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(3, 12, 29, .95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: block;
  width: 166px;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 66px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
  color: rgba(255, 255, 255, .80);
  font-size: .91rem;
}

.desktop-nav a,
.nav-link {
  transition: color .2s ease;
}

.desktop-nav a:hover,
.nav-link:hover {
  color: var(--white);
}

.nav-link {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 8px 0;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 13px);
  left: -18px;
  min-width: 220px;
  padding: 10px;
  background: rgba(6, 21, 43, .98);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, .07);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 12px 30px rgba(4, 77, 171, .26);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(4, 77, 171, .38);
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .035);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .35);
}

.btn-gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  box-shadow: 0 12px 30px rgba(215, 170, 64, .16);
}

.btn-large {
  min-height: 56px;
  padding: 0 26px;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  background: var(--navy-950);
  color: var(--white);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .23;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.hero-glow-blue {
  width: 560px;
  height: 560px;
  background: var(--blue-500);
  top: -250px;
  right: -130px;
  opacity: .17;
}

.hero-glow-green {
  width: 460px;
  height: 460px;
  background: var(--green-600);
  left: 33%;
  bottom: -300px;
  opacity: .10;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 35px;
  align-items: center;
}

.hero-content {
  padding-bottom: 25px;
}

.eyebrow,
.section-label {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 18px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 18px rgba(22, 185, 84, .8);
}

.hero h1 span {
  background: linear-gradient(90deg, #fff 5%, var(--blue-500) 56%, #7CE8A4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 680px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .67);
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .43);
  font-size: .77rem;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 5px rgba(22, 185, 84, .08), 0 0 16px rgba(22, 185, 84, .6);
}

.hero-brand-stage {
  position: relative;
  height: 520px;
  min-width: 0;
}

.stage-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
}

.stage-ring-one {
  inset: 30px 20px 70px 20px;
  border-color: rgba(31, 167, 240, .20);
  transform: rotate(12deg);
}

.stage-ring-two {
  inset: 85px 80px 120px 80px;
  border-color: rgba(215, 170, 64, .15);
  transform: rotate(-15deg);
}

.stage-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(31, 167, 240, .16), transparent 68%);
  filter: blur(15px);
}

.hero-logo-frame {
  position: absolute;
  top: 130px;
  left: 50%;
  width: 390px;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, .38));
}

.hero-logo-frame img {
  width: 100%;
  display: block;
  mix-blend-mode: screen;
}

.ecosystem-card {
  position: absolute;
  min-width: 142px;
  padding: 12px 15px 11px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 15px;
  background: rgba(6, 21, 43, .76);
  backdrop-filter: blur(13px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.ecosystem-card strong {
  display: block;
  color: var(--white);
  font: 700 .88rem 'Manrope';
}

.ecosystem-card small {
  display: block;
  color: rgba(255, 255, 255, .48);
  font-size: .69rem;
  margin-top: 2px;
}

.ecosystem-totalcare {
  top: 48px;
  left: 0;
  border-color: rgba(31, 167, 240, .28);
}

.ecosystem-abs {
  top: 75px;
  right: 0;
  border-color: rgba(215, 170, 64, .28);
}

.ecosystem-school {
  bottom: 75px;
  left: 4px;
  border-color: rgba(22, 185, 84, .28);
}

.ecosystem-store {
  bottom: 42px;
  right: 2px;
  border-color: rgba(31, 167, 240, .28);
}

.mini-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
}

.mini-dot.blue {
  background: var(--blue-500);
  box-shadow: 0 0 10px rgba(31, 167, 240, .65);
}

.mini-dot.green {
  background: var(--green-600);
  box-shadow: 0 0 10px rgba(22, 185, 84, .65);
}

.mini-dot.gold {
  background: var(--gold-500);
  box-shadow: 0 0 10px rgba(215, 170, 64, .65);
}

/* PROOF STRIP */
.proof-strip {
  background: #07182F;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid>div {
  min-height: 105px;
  padding: 23px 28px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.proof-grid>div:last-child {
  border-right: 0;
}

.proof-kicker {
  color: var(--blue-500);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.proof-grid strong {
  font: 700 1rem 'Manrope';
  margin-top: 3px;
}

.proof-grid small {
  color: rgba(255, 255, 255, .42);
  font-size: .72rem;
}

/* GENERAL */
.section {
  padding: 112px 0;
}

.section-light {
  background: var(--surface);
}

.section-dark {
  background: var(--navy-950);
  color: var(--white);
}

.section-label-dark {
  color: var(--blue-500);
}

.section-intro {
  margin-bottom: 56px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
}

.lead {
  font-size: 1.12rem;
  max-width: 560px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  color: var(--blue-700);
}

.text-link:hover {
  gap: 11px;
}

/* CAPABILITIES */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.capability-card {
  min-height: 245px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: .25s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(4, 77, 171, .16);
}

.capability-card p {
  font-size: .91rem;
}

.icon-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  border-radius: 12px;
  font: 800 .75rem 'Manrope';
  background: #EAF3FF;
  color: var(--blue-700);
}

.icon-mark.green {
  background: var(--green-100);
  color: #087A36;
}

.icon-mark.gold {
  background: #FFF5D8;
  color: #856116;
}

/* SECTION HEADERS */
.section-heading-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading-row>p {
  max-width: 520px;
  color: var(--muted);
}

.section-dark .section-heading-row>p,
.process-section .section-heading-row>p {
  color: rgba(255, 255, 255, .55);
}

/* PRODUCTS */
.products-section {
  position: relative;
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  right: -350px;
  top: 80px;
  background: radial-gradient(circle, rgba(31, 167, 240, .07), transparent 70%);
  pointer-events: none;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  min-height: 405px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  transition: .25s ease;
  scroll-margin-top: 100px;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 167, 240, .43);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .20);
}

.product-card.featured {
  background: linear-gradient(145deg, rgba(4, 77, 171, .32), rgba(22, 185, 84, .08));
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.product-index {
  color: rgba(255, 255, 255, .20);
  font: 800 .9rem 'Manrope';
}

.product-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 36px 0 22px;
  border-radius: 17px;
  font: 800 .85rem 'Manrope';
  letter-spacing: -.02em;
}

.blue-icon {
  color: #8EDCFF;
  background: rgba(31, 167, 240, .12);
  border: 1px solid rgba(31, 167, 240, .22);
}

.green-icon {
  color: #7FEAA4;
  background: rgba(22, 185, 84, .11);
  border: 1px solid rgba(22, 185, 84, .22);
}

.gold-icon {
  color: #F3D27F;
  background: rgba(215, 170, 64, .11);
  border: 1px solid rgba(215, 170, 64, .22);
}

.product-card h3 {
  font-size: 1.65rem;
}

.product-type {
  color: var(--blue-500);
  font-weight: 700;
  font-size: .84rem;
}

.product-card p:not(.product-type) {
  color: rgba(255, 255, 255, .57);
  font-size: .9rem;
}

.product-card a {
  margin-top: auto;
  color: var(--white);
  font-weight: 800;
  font-size: .9rem;
}

.product-card a span {
  transition: transform .2s ease;
  display: inline-block;
}

.product-card a:hover span {
  transform: translateX(4px);
}

.status-badge {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.blue-badge {
  color: #8FD9FF;
  background: rgba(31, 167, 240, .12);
}

.green-badge {
  color: #78E9A0;
  background: rgba(22, 185, 84, .12);
}

.gold-badge {
  color: #F2CF79;
  background: rgba(215, 170, 64, .12);
}

.live-badge {
  color: #10B981;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: live-pulse 1.8s infinite;
}

@keyframes live-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.card-product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin: 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .card-product-img {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.product-banner-img,
.product-showcase-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: block;
}

.product-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.product-live-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  background: #0F766E;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-live-link:hover {
  background: #0D9488;
  transform: translateY(-1px);
}

/* CASE STUDIES */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(4, 77, 171, .16);
}

.case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin: 0 0 18px 0;
  padding: 0;
}

.case-index {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--blue-700);
  margin: 0;
  padding: 0;
}

.case-type {
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: right;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin: 0;
  padding: 0;
}

.case-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.case-card p {
  min-width: 0;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.case-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
  margin-top: auto;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue-700);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.case-link:hover {
  transform: translateX(4px);
  opacity: 0.72;
}

/* PROCESS */
.process-section {
  background: linear-gradient(145deg, #06152B, #030C1D);
  color: var(--white);
}

.process-heading {
  margin-bottom: 40px;
}

.process-heading h2 {
  max-width: 760px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .09);
}

.process-step {
  padding: 32px;
  min-height: 190px;
  background: rgba(255, 255, 255, .025);
  transition: background .2s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, .045);
}

.process-step>span {
  color: var(--green-600);
  font: 800 1.6rem 'Manrope';
}

.process-step h3 {
  margin-top: 28px;
}

.process-step p {
  color: rgba(255, 255, 255, .53);
  font-size: .9rem;
}

/* TECHNOLOGY */
.tech-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.tech-layout p {
  max-width: 480px;
  color: rgba(255, 255, 255, .55);
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-cloud span {
  padding: 14px 19px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .84);
  font-size: .9rem;
}

.tech-cloud span:nth-child(3n) {
  border-color: rgba(22, 185, 84, .30);
}

.tech-cloud span:nth-child(4n) {
  border-color: rgba(215, 170, 64, .30);
}

/* WHY */
.why-section {
  padding-bottom: 120px;
}

.why-list>div {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.why-list strong {
  font: 700 1.1rem 'Manrope';
}

.why-list p {
  margin: 5px 0 0;
}

/* CTA / FOOTER */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  right: -260px;
  top: -200px;
  background: radial-gradient(circle, rgba(215, 170, 64, .12), transparent 68%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-inner h2 {
  max-width: 760px;
}

.cta-inner p {
  max-width: 640px;
  color: rgba(255, 255, 255, .58);
}

.site-footer {
  background: #020814;
  color: var(--white);
  padding: 75px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand img {
  width: 190px;
  height: 78px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
}

.footer-brand p {
  max-width: 310px;
  color: rgba(255, 255, 255, .5);
}

.site-footer h4 {
  font-size: .9rem;
  letter-spacing: .03em;
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, .52);
  font-size: .87rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .35);
  font-size: .76rem;
}

/* RESPONSIVE */
@media (max-width: 1060px) {

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-menu {
    display: none;
    padding: 10px 20px 22px;
    background: rgba(3, 12, 29, .98);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .mobile-menu.open {
    display: grid;
    gap: 4px;
  }

  .mobile-menu a:not(.btn) {
    padding: 12px 0;
    color: rgba(255, 255, 255, .8);
  }

  .mobile-menu .btn {
    margin-top: 10px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-brand-stage {
    position: absolute;
    width: 520px;
    right: -90px;
    top: 190px;
    opacity: .38;
    pointer-events: none;
  }

  .hero-content {
    max-width: 760px;
    z-index: 3;
  }

  .capability-grid,
  .product-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand {
    width: 137px;
  }

  .brand-logo {
    height: 57px;
  }

  .hero {
    min-height: 760px;
    padding: 120px 0 65px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
  }

  .hero-brand-stage {
    display: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid>div {
    min-height: auto;
    padding: 19px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .proof-grid>div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .two-column,
  .section-heading-row,
  .tech-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .capability-grid,
  .product-grid,
  .case-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 345px;
  }

  .process-step {
    min-height: auto;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   PRODUCT PAGES
   Phase 6.3
   ========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 30%,
      rgba(31, 167, 240, .15),
      transparent 35%),
    radial-gradient(circle at 25% 80%,
      rgba(22, 185, 84, .08),
      transparent 32%),
    var(--navy-950);
  color: var(--white);
}

.page-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  top: -230px;
  border-radius: 50%;
  border: 1px solid rgba(31, 167, 240, .12);
  box-shadow:
    0 0 80px rgba(31, 167, 240, .08);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 120px 0 80px;
}

.page-hero-content h1 {
  max-width: 850px;
}

.page-hero-content h1 span {
  display: block;
  background: linear-gradient(90deg,
      #45C9FF,
      #29C86A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero-content p {
  max-width: 690px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .62);
  font-size: 1.08rem;
  line-height: 1.85;
}


/* PRODUCT INTRO */

.product-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}


/* PRODUCT SHOWCASE */

.product-showcase {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.product-showcase-dark {
  background:
    radial-gradient(circle at 85% 45%,
      rgba(31, 167, 240, .10),
      transparent 32%),
    var(--navy-950);
  color: var(--white);
}

.product-showcase-light {
  background: #F7F9FC;
  color: var(--navy-950);
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.product-showcase-content {
  position: relative;
  z-index: 2;
}

.product-showcase-content h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.product-showcase-content h3 {
  margin-top: 8px;
  color: var(--blue-500);
  font-size: 1.15rem;
}

.product-showcase-content>p {
  max-width: 610px;
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.85;
}

.product-showcase-dark .product-showcase-content>p {
  color: rgba(255, 255, 255, .58);
}

.product-showcase-light .product-showcase-content>p {
  color: var(--text-muted);
}

.product-large-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 30px 0 20px;
  border-radius: 20px;
  font-family: 'Manrope', sans-serif;
  font-size: .9rem;
  font-weight: 800;
}

.product-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 34px;
}

.product-feature-list span {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
}

.product-feature-list-light span {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}


/* PRODUCT VISUAL */

.product-showcase-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.product-screen {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: #08182D;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, .35);
  transform: perspective(1100px) rotateY(-7deg) rotateX(2deg);
}

.abs-screen {
  background: #fff;
  border-color: rgba(3, 12, 29, .08);
  box-shadow:
    0 30px 80px rgba(3, 12, 29, .13);
  transform: perspective(1100px) rotateY(7deg) rotateX(2deg);
}

.screen-top {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.abs-screen .screen-top {
  border-bottom-color: rgba(3, 12, 29, .08);
}

.screen-top span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}

.abs-screen .screen-top span {
  background: rgba(3, 12, 29, .18);
}

.screen-content {
  display: grid;
  grid-template-columns: 115px 1fr;
  min-height: 312px;
}

.screen-sidebar {
  border-right: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .12);
}

.abs-screen .screen-sidebar {
  border-right-color: rgba(3, 12, 29, .07);
  background: #F5F7FA;
}

.screen-main {
  padding: 26px;
}

.screen-heading {
  width: 40%;
  height: 13px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .25);
}

.abs-screen .screen-heading {
  background: #D9E1EA;
}

.screen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.screen-cards div {
  height: 68px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .045);
}

.abs-screen .screen-cards div {
  border-color: #E8EDF2;
  background: #F8FAFC;
}

.screen-cards div:nth-child(2) {
  border-color: rgba(22, 185, 84, .16);
}

.screen-cards div:nth-child(3) {
  border-color: rgba(215, 170, 64, .18);
}

.screen-chart,
.screen-table {
  height: 110px;
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  background:
    linear-gradient(150deg,
      rgba(31, 167, 240, .09),
      rgba(255, 255, 255, .02));
}

.screen-table {
  background:
    repeating-linear-gradient(to bottom,
      #F7F9FC 0,
      #F7F9FC 26px,
      #E8EDF2 27px,
      #F7F9FC 28px);
  border-color: #E8EDF2;
}

.visual-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: .35;
}

.blue-glow {
  background: #087FD1;
}

.gold-glow {
  background: #C99A34;
}


/* PRODUCT GRID LIGHT */

.product-grid-light {
  margin-top: 45px;
}

.product-card-light {
  background: #fff;
  color: var(--navy-950);
  border: 1px solid var(--border);
}

.product-card-light p:not(.product-type) {
  color: var(--text-muted);
}

.product-card-light .product-index {
  color: rgba(3, 12, 29, .35);
}

.product-status-note {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 700;
}


/* PRODUCT PHILOSOPHY */

.product-philosophy {
  padding: 100px 0;
  background:
    radial-gradient(circle at 20% 50%,
      rgba(31, 167, 240, .10),
      transparent 30%),
    var(--navy-950);
  color: var(--white);
}

.product-philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-philosophy-inner p {
  color: rgba(255, 255, 255, .57);
  line-height: 1.9;
  font-size: 1rem;
}


/* PRODUCT PAGE RESPONSIVE */

@media (max-width: 900px) {

  .product-intro-grid,
  .product-showcase-grid,
  .product-philosophy-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .product-showcase-visual {
    min-height: 400px;
    order: 2;
  }

  .product-showcase-content {
    order: 1;
  }

  .reverse-mobile .product-showcase-content {
    order: 1;
  }

  .reverse-mobile .product-showcase-visual {
    order: 2;
  }

  .product-screen,
  .abs-screen {
    transform: none;
  }

}


@media (max-width: 680px) {

  .page-hero {
    min-height: 500px;
  }

  .page-hero-content {
    padding: 100px 0 70px;
  }

  .product-showcase {
    padding: 80px 0;
  }

  .product-showcase-content h2 {
    font-size: 2.65rem;
  }

  .product-showcase-visual {
    min-height: 300px;
  }

  .product-screen {
    min-height: 260px;
  }

  .screen-content {
    grid-template-columns: 70px 1fr;
    min-height: 220px;
  }

  .screen-main {
    padding: 16px;
  }

  .screen-cards {
    margin-top: 18px;
  }

  .screen-cards div {
    height: 48px;
  }

  .screen-chart,
  .screen-table {
    height: 70px;
  }

  .product-feature-list span {
    font-size: .68rem;
  }

}

/* =========================================================
   PRODUCT DETAIL PAGES
   ========================================================= */

.product-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 150px 0 100px;
  background:
    radial-gradient(circle at 75% 35%,
      rgba(31, 167, 240, .14),
      transparent 30%),
    radial-gradient(circle at 20% 70%,
      rgba(22, 185, 84, .06),
      transparent 28%),
    var(--navy-950);
  color: var(--white);
}

.abs-detail {
  background:
    radial-gradient(circle at 75% 35%,
      rgba(215, 170, 64, .12),
      transparent 30%),
    radial-gradient(circle at 20% 70%,
      rgba(31, 167, 240, .06),
      transparent 28%),
    var(--navy-950);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-detail-grid h1 {
  margin-top: 12px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .98;
}

.product-detail-grid h2 {
  margin-top: 16px;
  color: var(--blue-500);
  font-size: 1.25rem;
}

.product-detail-grid>div:first-child>p {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .60);
  font-size: 1.04rem;
  line-height: 1.9;
}


/* DETAIL VISUAL */

.product-detail-visual {
  min-height: 450px;
  display: grid;
  place-items: center;
}

.detail-dashboard {
  width: min(100%, 570px);
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: #08182D;
  box-shadow:
    0 35px 100px rgba(0, 0, 0, .38);
  transform: perspective(1200px) rotateY(-7deg);
}

.abs-detail-dashboard {
  background: #fff;
  border-color: rgba(255, 255, 255, .12);
  transform: perspective(1200px) rotateY(7deg);
}

.detail-dashboard-top {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.abs-detail-dashboard .detail-dashboard-top {
  border-bottom-color: #E7ECF1;
}

.detail-dashboard-top span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}

.abs-detail-dashboard .detail-dashboard-top span {
  background: #CBD3DC;
}

.detail-dashboard-body {
  display: grid;
  grid-template-columns: 115px 1fr;
  min-height: 330px;
}

.detail-dashboard-body aside {
  border-right: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .10);
}

.abs-detail-dashboard aside {
  border-right-color: #E7ECF1;
  background: #F5F7FA;
}

.detail-main {
  padding: 28px;
}

.detail-title {
  width: 38%;
  height: 14px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .22);
}

.abs-detail-dashboard .detail-title {
  background: #CDD6E0;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 28px;
}

.detail-stats div {
  height: 75px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .045);
}

.detail-stats div:nth-child(2) {
  border-color: rgba(22, 185, 84, .20);
}

.detail-stats div:nth-child(3) {
  border-color: rgba(215, 170, 64, .20);
}

.abs-detail-dashboard .detail-stats div {
  border-color: #E5EAF0;
  background: #F8FAFC;
}

.detail-chart,
.detail-table {
  height: 125px;
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(150deg,
      rgba(31, 167, 240, .09),
      rgba(255, 255, 255, .015));
}

.abs-detail-dashboard .detail-table {
  background:
    repeating-linear-gradient(to bottom,
      #F7F9FC 0,
      #F7F9FC 25px,
      #E6EBF0 26px,
      #F7F9FC 27px);
  border-color: #E5EAF0;
}


/* DETAIL CONTENT */

.detail-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.detail-two-column>div:last-child p+p {
  margin-top: 22px;
}

.detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 50px;
}

.detail-feature-grid article {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: .25s ease;
}

.detail-feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.detail-feature-grid article>span {
  color: var(--blue-700);
  font: 800 .75rem 'Manrope';
}

.detail-feature-grid article h3 {
  margin-top: 28px;
  font-size: 1rem;
}

.detail-feature-grid article p {
  margin-top: 9px;
  font-size: .82rem;
  line-height: 1.65;
}


/* LIGHT TECHNOLOGY CLOUD */

.tech-cloud-light span {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}


/* DETAIL RESPONSIVE */

@media (max-width: 1000px) {

  .product-detail-grid,
  .detail-two-column {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .product-detail-visual {
    min-height: 390px;
  }

  .detail-dashboard,
  .abs-detail-dashboard {
    transform: none;
  }

  .detail-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 680px) {

  .product-detail-hero {
    min-height: auto;
    padding: 115px 0 75px;
  }

  .product-detail-grid h1 {
    font-size: 3rem;
  }

  .product-detail-grid>div:first-child>p {
    font-size: .95rem;
  }

  .product-detail-visual {
    min-height: 280px;
  }

  .detail-dashboard {
    min-height: 250px;
  }

  .detail-dashboard-body {
    grid-template-columns: 70px 1fr;
    min-height: 210px;
  }

  .detail-main {
    padding: 16px;
  }

  .detail-stats {
    margin-top: 18px;
  }

  .detail-stats div {
    height: 52px;
  }

  .detail-chart,
  .detail-table {
    height: 70px;
  }

  .detail-feature-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   AREWANET VISUAL STABILITY PATCH
   Phase 6.3.1
   Fixes:
   - hero text overlap
   - section-label collisions
   - broken card grids
   - text clipping
   - responsive overflow
   - inconsistent card heights
   ========================================================= */


/* ---------------------------------------------------------
   1. GLOBAL BOX MODEL
   --------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}


/* ---------------------------------------------------------
   2. GRID SAFETY
   --------------------------------------------------------- */

.container,
.product-showcase-grid,
.product-detail-grid,
.product-intro-grid,
.product-philosophy-inner,
.detail-two-column,
.tech-layout,
.product-grid,
.detail-feature-grid {
  min-width: 0;
}

.product-showcase-grid>*,
.product-detail-grid>*,
.product-intro-grid>*,
.product-philosophy-inner>*,
.detail-two-column>*,
.tech-layout>*,
.product-grid>*,
.detail-feature-grid>* {
  min-width: 0;
}


/* ---------------------------------------------------------
   3. SECTION LABEL / EYEBROW
   --------------------------------------------------------- */

.section-label,
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;

  max-width: 100%;

  margin: 0 0 18px;

  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.section-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}


/* ---------------------------------------------------------
   4. HEADINGS — PREVENT COLLISION
   --------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

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

.page-hero-content h1,
.product-detail-grid h1,
.product-showcase-content h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.page-hero-content h1+p,
.product-detail-grid h1+h2,
.product-showcase-content h2+h3 {
  margin-top: 18px;
}


/* ---------------------------------------------------------
   5. HERO CONTENT FLOW
   --------------------------------------------------------- */

.page-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-hero-content .eyebrow {
  margin-bottom: 22px;
}

.page-hero-content p {
  margin-bottom: 0;
}

.product-detail-grid>div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-detail-grid>div:first-child .status-badge {
  margin-bottom: 8px;
}

.product-detail-grid .product-large-icon {
  flex: 0 0 auto;
}

.product-detail-grid .section-label {
  margin-bottom: 15px;
}


/* ---------------------------------------------------------
   6. PRODUCT SHOWCASE CONTENT FLOW
   --------------------------------------------------------- */

.product-showcase-content {
  min-width: 0;
}

.product-showcase-content .status-badge {
  display: inline-flex;
  margin-bottom: 4px;
}

.product-showcase-content .product-large-icon {
  margin-top: 22px;
  margin-bottom: 22px;
}

.product-showcase-content .section-label {
  margin-bottom: 14px;
}

.product-showcase-content h2 {
  line-height: 1.04;
}

.product-showcase-content h3 {
  line-height: 1.4;
  margin-bottom: 0;
}

.product-showcase-content>p {
  max-width: 62ch;
}


/* ---------------------------------------------------------
   7. PRODUCT GRID — COMPLETE RESET
   --------------------------------------------------------- */

.product-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 20px;

  width: 100%;

  align-items: stretch;
}


/*
   IMPORTANT:
   Do not use manually positioned cards.
*/

.product-grid>*,
.product-card {
  position: relative;

  width: 100%;
  min-width: 0;

  height: auto;
  min-height: 0;

  margin: 0;

  float: none;

  align-self: stretch;
}


/* ---------------------------------------------------------
   8. PRODUCT CARDS
   --------------------------------------------------------- */

.product-card {
  display: flex;
  flex-direction: column;

  padding: 28px;

  overflow: visible;

  border-radius: 18px;

  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.product-card h3 {
  margin-top: 18px;
  margin-bottom: 7px;

  line-height: 1.2;
}

.product-card .product-type {
  margin-top: 0;
  margin-bottom: 15px;

  line-height: 1.45;
}

.product-card p {
  max-width: 100%;

  margin-bottom: 0;

  line-height: 1.7;
}

.product-card .product-status-note {
  margin-top: auto;
}


/* ---------------------------------------------------------
   9. PRODUCT CARD TOP ROW
   --------------------------------------------------------- */

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  width: 100%;

  min-height: 24px;

  margin-bottom: 24px;
}

.product-top>* {
  min-width: 0;
}

.product-index {
  flex: 0 0 auto;

  white-space: nowrap;
}


/* ---------------------------------------------------------
   10. PRODUCT ICON
   --------------------------------------------------------- */

.product-icon,
.product-large-icon {
  flex: 0 0 auto;

  overflow: hidden;

  line-height: 1;

  white-space: nowrap;
}


/* ---------------------------------------------------------
   11. PRODUCT FEATURE GRID
   --------------------------------------------------------- */

.detail-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;

  width: 100%;

  align-items: stretch;
}

.detail-feature-grid article {
  min-width: 0;

  height: auto;
  min-height: 0;

  overflow: visible;

  display: flex;
  flex-direction: column;
}

.detail-feature-grid article h3 {
  line-height: 1.3;

  overflow-wrap: break-word;
}

.detail-feature-grid article p {
  margin-bottom: 0;

  overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   12. PRODUCT SHOWCASE VISUAL
   --------------------------------------------------------- */

.product-showcase-visual {
  min-width: 0;

  width: 100%;

  overflow: visible;
}

.product-screen,
.detail-dashboard {
  max-width: 100%;

  overflow: hidden;
}


/* ---------------------------------------------------------
   13. TEXT CONTAINERS
   --------------------------------------------------------- */

.product-card p,
.product-showcase-content p,
.product-detail-grid p,
.detail-two-column p,
.detail-feature-grid p,
.product-philosophy-inner p,
.section-heading-row>p {
  overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   14. SECTION HEADING ROW
   --------------------------------------------------------- */

.section-heading-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr) minmax(260px, .8fr);

  gap: 50px;

  align-items: end;
}

.section-heading-row>* {
  min-width: 0;
}

.section-heading-row h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.section-heading-row>p {
  margin: 0;
}


/* ---------------------------------------------------------
   15. CTA LAYOUT SAFETY
   --------------------------------------------------------- */

.cta-inner {
  min-width: 0;
}

.cta-inner>* {
  min-width: 0;
}

.cta-inner h2 {
  max-width: 800px;
}


/* ---------------------------------------------------------
   16. TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

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

    gap: 18px;
  }

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

}


/* ---------------------------------------------------------
   17. TABLET / SMALL LAPTOP
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .section-heading-row {
    grid-template-columns: 1fr;

    gap: 22px;

    align-items: start;
  }

  .product-showcase-grid,
  .product-detail-grid,
  .product-intro-grid,
  .detail-two-column,
  .tech-layout,
  .product-philosophy-inner {
    min-width: 0;
  }

}


/* ---------------------------------------------------------
   18. MOBILE
   --------------------------------------------------------- */

@media (max-width: 680px) {

  .product-grid,
  .detail-feature-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }


  .product-card {
    padding: 23px;

    border-radius: 16px;
  }


  .product-top {
    margin-bottom: 20px;
  }


  .product-card h3 {
    font-size: 1.25rem;

    line-height: 1.25;
  }


  .product-card p {
    font-size: .88rem;

    line-height: 1.7;
  }


  .product-showcase-content h2 {
    font-size: clamp(2.35rem,
        10vw,
        3.4rem);

    line-height: 1.03;
  }


  .page-hero-content h1 {
    font-size: clamp(2.7rem,
        11vw,
        4rem);

    line-height: 1.03;
  }


  .product-detail-grid h1 {
    font-size: clamp(2.8rem,
        12vw,
        4rem);

    line-height: 1.02;
  }


  .section-label,
  .eyebrow {
    font-size: .64rem;

    letter-spacing: .10em;

    line-height: 1.35;
  }


  .product-feature-list {
    gap: 7px;
  }


  .product-feature-list span {
    max-width: 100%;

    white-space: normal;

    line-height: 1.3;
  }

}


/* ---------------------------------------------------------
   19. VERY SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 380px) {

  .container {
    width: min(100% - 28px,
        var(--container-width, 1200px));
  }

  .product-card {
    padding: 20px;
  }

  .product-top {
    gap: 8px;
  }

  .status-badge {
    max-width: 75%;

    white-space: normal;

    line-height: 1.25;
  }

}


/* =========================================================
   PRODUCT FEATURE LIST & LINK — PHASE 6.3.2 & CONTRAST FIX
   ========================================================= */

.product-feature-list {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 9px 18px;

  width: 100%;

  margin: 22px 0 0;
}

.product-feature-list span {
  position: relative;

  display: block;

  min-width: 0;

  padding-left: 17px;

  font-size: .78rem;
  line-height: 1.45;

  color: rgba(255, 255, 255, 0.85);

  overflow-wrap: anywhere;
}

.product-feature-list span::before {
  content: "•";

  position: absolute;

  left: 0;
  top: 0;

  font-weight: 800;

  color: var(--blue-400, #1FA7F0);
}

/* Light Pill Container Feature Tags (Fix for White Text on White Pill Containers) */
.product-feature-list-light,
.product-showcase-light .product-feature-list,
.product-card-light .product-feature-list,
.section-light .product-feature-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  margin: 24px 0 30px !important;
}

.product-feature-list-light span,
.product-showcase-light .product-feature-list span,
.product-card-light .product-feature-list span,
.section-light .product-feature-list span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 7px 14px !important;
  padding-left: 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(3, 12, 29, 0.15) !important;
  background: #ffffff !important;
  color: #030C1D !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  box-shadow: 0 1px 3px rgba(3, 12, 29, 0.05) !important;
}

.product-feature-list-light span::before,
.product-showcase-light .product-feature-list span::before,
.product-card-light .product-feature-list span::before,
.section-light .product-feature-list span::before {
  content: none !important;
  display: none !important;
}

.product-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  width: fit-content;

  margin-top: 25px;

  font-size: .78rem;
  font-weight: 800;

  letter-spacing: .04em;

  color: var(--blue-400, #1FA7F0);

  text-decoration: none;

  transition:
    transform .2s ease,
    opacity .2s ease;
}

.product-link:hover {
  transform: translateX(4px);
  opacity: .75;
}


/* =========================================================
   PRODUCT CARD MICRO-INTERACTION & POLISH — PHASE 6.3.2
   ========================================================= */

.product-card {
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card .product-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  margin-bottom: 23px;

  border-radius: 14px;

  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;

  background: rgba(31, 167, 240, 0.12);
  color: var(--blue-400, #1FA7F0);
  border: 1px solid rgba(31, 167, 240, 0.25);
}

.product-card .status-badge {
  display: inline-flex;

  align-items: center;

  max-width: 100%;

  padding: 5px 9px;

  border-radius: 999px;

  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;

  white-space: nowrap;

  background: rgba(31, 167, 240, 0.15);
  color: var(--blue-400, #1FA7F0);
  border: 1px solid rgba(31, 167, 240, 0.3);
}

/* Mobile feature list fallback */

@media (max-width: 680px) {

  .product-feature-list {
    grid-template-columns: 1fr;

    gap: 8px;
  }

}


/* =========================================================
   AREWANET PRODUCT SHOWCASE — FINAL VISIBILITY PATCH
   ========================================================= */

/* ---------------------------------------------------------
   DARK SHOWCASE — TOTALCARE
   --------------------------------------------------------- */

.product-showcase-dark .product-feature-list span {
  color: #ffffff;
}

.product-showcase-dark .product-feature-list span::before {
  color: #1599e8;
}


/* ---------------------------------------------------------
   LIGHT SHOWCASE — ABS
   --------------------------------------------------------- */

.product-showcase-light .product-feature-list-light {
  color: #0b1220;
}

.product-showcase-light .product-feature-list-light span {
  color: #0b1220;
  font-weight: 600;
  line-height: 1.35;
}

.product-showcase-light .product-feature-list-light span::before {
  color: #1599e8;
}


/* ---------------------------------------------------------
   FEATURE LIST SAFETY
   --------------------------------------------------------- */

.product-feature-list {
  width: 100%;
  min-width: 0;
}

.product-feature-list span {
  min-width: 0;
  overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   PRODUCT SHOWCASE CONTENT SAFETY
   --------------------------------------------------------- */

.product-showcase-content {
  min-width: 0;
}

.product-showcase-content h2,
.product-showcase-content h3,
.product-showcase-content p {
  overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   RESPONSIVE FEATURE LIST
   --------------------------------------------------------- */

@media (max-width: 680px) {

  .product-feature-list {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   PHASE 6.3.3
   ADDITIONAL PRODUCT CARD CONSISTENCY
   SmartSchool / SmartStore / Arewa Health / Growth365
   ========================================================= */


/* ---------------------------------------------------------
   PRODUCT GRID
   --------------------------------------------------------- */

.product-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 24px;

  align-items: stretch;

  width: 100%;
}


/* ---------------------------------------------------------
   PRODUCT CARD — BASE STRUCTURE
   --------------------------------------------------------- */

.product-grid .product-card {
  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;

  box-sizing: border-box;

  overflow: visible;
}


/* ---------------------------------------------------------
   TOP ROW
   --------------------------------------------------------- */

.product-grid .product-card .product-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  width: 100%;
  min-width: 0;

  margin-bottom: 24px;
}


/* ---------------------------------------------------------
   STATUS BADGE
   --------------------------------------------------------- */

.product-grid .product-card .status-badge {
  display: inline-flex;

  align-items: center;

  min-width: 0;
  max-width: 100%;

  white-space: nowrap;

  overflow: hidden;
  text-overflow: ellipsis;

  flex-shrink: 1;
}


/* ---------------------------------------------------------
   PRODUCT NUMBER
   --------------------------------------------------------- */

.product-grid .product-card .product-index {
  flex-shrink: 0;

  line-height: 1;

  font-weight: 800;
}


/* ---------------------------------------------------------
   PRODUCT ICON
   --------------------------------------------------------- */

.product-grid .product-card .product-icon {
  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  margin-bottom: 22px;

  border-radius: 14px;

  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;
}


/* ---------------------------------------------------------
   PRODUCT TITLE
   --------------------------------------------------------- */

.product-grid .product-card h3 {
  margin: 0;

  min-width: 0;

  overflow-wrap: anywhere;

  line-height: 1.15;
}


/* ---------------------------------------------------------
   PRODUCT TYPE
   --------------------------------------------------------- */

.product-grid .product-card .product-type {
  margin-top: 8px;

  min-width: 0;

  overflow-wrap: anywhere;

  line-height: 1.45;
}


/* ---------------------------------------------------------
   PRODUCT DESCRIPTION
   --------------------------------------------------------- */

.product-grid .product-card>p:not(.product-type) {
  min-width: 0;

  margin-top: 16px;

  overflow-wrap: anywhere;
  word-break: normal;

  line-height: 1.65;
}


/* ---------------------------------------------------------
   BOTTOM STATUS NOTE
   --------------------------------------------------------- */

.product-grid .product-card .product-status-note {
  display: block;

  margin-top: auto;
  padding-top: 24px;

  line-height: 1.4;
}


/* ---------------------------------------------------------
   PREVENT CONTENT FROM FORCING THE CARD WIDER
   --------------------------------------------------------- */

.product-grid .product-card,
.product-grid .product-card * {
  min-width: 0;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

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

    gap: 22px;
  }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 680px) {

  .product-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .product-grid .product-card {
    height: auto;
  }

}


/* =========================================================
   PHASE 6.4 — SERVICES & SOLUTIONS STYLING
   ========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--white, #ffffff);
  border: 1px solid var(--border, #E2E8F0);
  border-radius: var(--radius, 18px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(3, 12, 29, 0.08);
  border-color: rgba(31, 167, 240, 0.35);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-index {
  font-weight: 800;
  font-size: .9rem;
  color: var(--blue-700, #044DAB);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;
  background: #EAF3FF;
  color: var(--blue-700, #044DAB);
  border: 1px solid rgba(4, 77, 171, 0.15);
}

.service-card h3 {
  margin-top: 6px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.service-card p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-muted, #5A6A80);
  margin-bottom: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--blue-700, #044DAB);
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.service-link:hover {
  transform: translateX(4px);
  opacity: .85;
}

.process-grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .09);
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

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

@media (max-width: 680px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px;
  }

  .process-grid-four {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   PHASE 6.4.1
   SERVICES → PRODUCTS TRANSITION
   ========================================================= */

.service-transition {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  margin-top: 52px;
  padding-top: 28px;

  border-top: 1px solid rgba(3, 12, 29, .10);
}

.service-transition p {
  max-width: 680px;

  margin: 0;

  font-size: .9rem;
  line-height: 1.7;
}

.service-transition a {
  flex-shrink: 0;

  font-size: .78rem;
  font-weight: 800;

  text-decoration: none;

  letter-spacing: .04em;

  color: var(--blue-700, #044DAB);

  transition:
    transform .2s ease,
    opacity .2s ease;
}

.service-transition a:hover {
  transform: translateX(4px);
  opacity: .7;
}


/* Mobile */

@media (max-width: 680px) {

  .service-transition {
    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

    margin-top: 38px;
  }

}


/* =========================================================
   PHASE 6.4.2 — SERVICES CARD SYSTEM
   Visual consistency with the Product System
   ========================================================= */

/* ---------------------------------------------------------
   Services Grid
   --------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}


/* ---------------------------------------------------------
   Service Card
   --------------------------------------------------------- */

.service-grid .service-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 100%;
  padding: 28px;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);

  position: relative;
  overflow: visible;
  box-sizing: border-box;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}


/* ---------------------------------------------------------
   Service Card Hover
   --------------------------------------------------------- */

.service-grid .service-card:hover {
  transform: translateY(-3px);
}


/* ---------------------------------------------------------
   Service Card Top Row
   --------------------------------------------------------- */

.service-grid .service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 18px;

  min-width: 0;
}


/* ---------------------------------------------------------
   Service Number / Index
   --------------------------------------------------------- */

.service-grid .service-index {
  flex: 0 0 auto;

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.08em;

  line-height: 1;
}


/* ---------------------------------------------------------
   Service Icon
   --------------------------------------------------------- */

.service-grid .service-icon {
  flex: 0 0 auto;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-radius: 10px;
}


/* ---------------------------------------------------------
   Service Card Heading
   --------------------------------------------------------- */

.service-grid .service-card h3 {
  min-width: 0;

  margin-top: 22px;
  margin-bottom: 12px;

  line-height: 1.25;

  overflow-wrap: anywhere;
  word-break: normal;
}


/* ---------------------------------------------------------
   Service Description
   --------------------------------------------------------- */

.service-grid .service-card p {
  min-width: 0;

  margin-bottom: 22px;

  line-height: 1.7;

  overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   Service CTA
   Keeps CTA at the bottom of every card
   --------------------------------------------------------- */

.service-grid .service-link {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  width: fit-content;

  margin-top: auto;

  text-decoration: none;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.04em;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


.service-grid .service-link:hover {
  transform: translateX(4px);
  opacity: 0.72;
}


/* ---------------------------------------------------------
   Prevent long service content from breaking the grid
   --------------------------------------------------------- */

.service-grid .service-card>* {
  max-width: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }


  .service-grid .service-card {
    width: 100%;
  }


  .service-grid .service-top {
    gap: 14px;
  }


  .service-grid .service-icon {
    width: 40px;
    height: 40px;
  }


  .service-grid .service-card h3 {
    margin-top: 18px;
  }

}


/* =========================================================
   PHASE 6.4.3 — SERVICES → PRODUCTS RELATIONSHIP
   ========================================================= */

.section-intro {
  max-width: 720px;
  margin-top: 18px;
  margin-bottom: 0;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   Services → Products Transition
   --------------------------------------------------------- */

.service-transition {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;

  margin-top: 52px;
  padding-top: 28px;

  border-top: 1px solid rgba(3, 12, 29, 0.10);
}


.service-transition>div {
  min-width: 0;
  max-width: 720px;
}


.service-transition-label {
  display: block;

  margin-bottom: 10px;

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.12em;

  color: var(--blue-700, #044DAB);
}


.service-transition p {
  margin: 0;

  font-size: 0.9rem;
  line-height: 1.7;
}


.service-transition a {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;

  text-decoration: none;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.04em;

  color: var(--blue-700, #044DAB);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


.service-transition a:hover {
  transform: translateX(4px);
  opacity: 0.7;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 680px) {

  .section-intro {
    margin-top: 15px;
  }


  .service-transition {
    flex-direction: column;
    align-items: flex-start;

    gap: 20px;

    margin-top: 38px;
    padding-top: 24px;
  }


  .service-transition a {
    margin-top: 2px;
  }

}


/* =========================================================
   PHASE 6.4.4 — RESPONSIVE SAFETY
   ========================================================= */

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}


/* =========================================================
   PHASE 6.5 — CASE STUDIES SYSTEM
   ========================================================= */

.case-studies-head .section-intro {
  max-width: 720px;
  margin-top: 18px;
  margin-bottom: 0;
  line-height: 1.75;
}


/* ---------------------------------------------------------
   Case Study Grid
   --------------------------------------------------------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}


/* ---------------------------------------------------------
   Case Study Card
   --------------------------------------------------------- */

.case-grid .case-card {
  display: flex !important;
  flex-direction: column !important;

  min-width: 0 !important;
  height: 100% !important;
  padding: 32px 28px 28px 28px !important;

  background: #FFFFFF !important;
  border: 1px solid var(--border, #E5EAF0) !important;
  border-radius: var(--radius, 22px) !important;

  overflow: visible !important;
  box-sizing: border-box !important;

  position: relative !important;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}


.case-grid .case-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow) !important;
  border-color: rgba(4, 77, 171, 0.16) !important;
}


/* ---------------------------------------------------------
   Top Row
   --------------------------------------------------------- */

.case-grid .case-top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;

  gap: 18px !important;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}


/* ---------------------------------------------------------
   Project Number
   --------------------------------------------------------- */

.case-grid .case-index {
  flex: 0 0 auto !important;

  font-size: 0.75rem !important;
  font-weight: 800 !important;

  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;

  color: var(--blue-700, #044DAB) !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* ---------------------------------------------------------
   Project Type
   --------------------------------------------------------- */

.case-grid .case-type {
  min-width: 0 !important;

  font-size: 0.68rem !important;
  font-weight: 800 !important;

  letter-spacing: 0.08em !important;
  line-height: 1.4 !important;

  text-align: right !important;

  color: var(--muted, #667085) !important;

  overflow-wrap: anywhere !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* ---------------------------------------------------------
   Project Heading
   --------------------------------------------------------- */

.case-grid .case-card h3 {
  margin-top: 0;
  margin-bottom: 12px;

  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;

  color: var(--ink, #0C1628);

  overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   Project Description
   --------------------------------------------------------- */

.case-grid .case-card p {
  min-width: 0;

  margin-bottom: 24px;

  font-size: 0.9rem;
  line-height: 1.7;

  color: var(--muted, #667085);

  overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   Case Study Link
   --------------------------------------------------------- */

.case-grid .case-link {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  gap: 7px;

  margin-top: auto;

  text-decoration: none;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.04em;

  color: var(--blue-700, #044DAB);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


.case-grid .case-link:hover {
  transform: translateX(4px);
  opacity: 0.72;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 980px) {

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 680px) {

  .case-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }


  .case-card {
    width: 100%;
  }


  .case-top {
    gap: 14px;
  }


  .case-type {
    max-width: 65%;
  }


  .case-card h3 {
    margin-top: 18px;
  }

}


/* =========================================================
   CASE STUDIES → PROCESS TRANSITION
   ========================================================= */

.case-transition {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;

  margin-top: 52px;
  padding-top: 28px;

  border-top: 1px solid rgba(3, 12, 29, 0.10);
}


.case-transition>div {
  min-width: 0;
  max-width: 720px;
}


.case-transition-label {
  display: block;

  margin-bottom: 10px;

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.12em;
}


.case-transition p {
  margin: 0;

  font-size: 0.9rem;
  line-height: 1.7;
}


.case-transition a {
  flex: 0 0 auto;

  text-decoration: none;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.04em;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


.case-transition a:hover {
  transform: translateX(4px);
  opacity: 0.7;
}


/* =========================================================
   PHASE 6.5.4 / 6.5.5 — CASE STUDY SUBPAGES SYSTEM
   ========================================================= */

  /* Hero */
  .case-hero {
    padding: 160px 0 60px;
    background: var(--navy-950);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .case-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .case-hero-type {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
  }

  .case-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: var(--white);
  }

  .case-hero-summary {
    max-width: 720px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
  }

  /* Visual Frame */
  .case-visual-section {
    padding: 40px 0 60px;
    background: var(--surface);
  }

  .case-visual-frame {
    width: 100%;
    min-height: 320px;
    border-radius: var(--radius, 22px);
    background: linear-gradient(135deg, var(--navy-950), #0A2342);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
  }

  .case-visual-frame img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
  }

  .case-visual-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .case-visual-placeholder strong {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--white);
  }

  .case-visual-placeholder span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--blue-500);
    text-transform: uppercase;
  }

  /* Content Sections (Context, Need) */
  .case-content-section {
    padding: 70px 0;
    border-bottom: 1px solid var(--border);
  }

  .case-content-muted {
    background: #FFFFFF;
  }

  .case-content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
  }

  .case-content-label .section-label {
    margin-bottom: 0;
  }

  .case-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink);
    margin: 0 0 20px;
  }

  .case-content p:last-child {
    margin-bottom: 0;
  }

  /* Our Work Grid */
  .case-work-section {
    padding: 80px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .case-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
  }

  .case-work-item {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius, 22px);
    padding: 30px;
    display: flex;
    flex-direction: column;
  }

  .case-work-item span {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--blue-700);
    margin-bottom: 16px;
    display: block;
  }

  .case-work-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--ink);
  }

  .case-work-item p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
  }

  /* Tech & Capabilities */
  .case-tech-section {
    padding: 70px 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
  }

  .case-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }

  .case-tech-list span {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
  }

  /* Deliverables */
  .case-deliverables-section {
    padding: 70px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .case-deliverables {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 32px;
  }

  .case-deliverables li {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .case-deliverables li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green-100);
    color: #087A36;
    font-size: 0.75rem;
    font-weight: 800;
    flex: 0 0 auto;
  }

  /* Status Block */
  .case-status-wrap {
    padding: 40px 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
  }

  .case-status {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .case-status-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--muted);
  }

  .case-status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(4, 77, 171, 0.1);
    color: var(--blue-700);
  }

  /* Related Work */
  .case-related-section {
    padding: 70px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .case-related-links {
    display: flex;
    gap: 20px;
    margin-top: 32px;
  }

  .case-related-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--blue-700);
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .case-related-links a:hover {
    transform: translateY(-2px);
    border-color: var(--blue-700);
  }

  /* Final CTA */
  .case-final-cta {
    padding: 100px 0;
    background: var(--navy-950);
    color: var(--white);
    text-align: center;
  }

  .case-final-cta .container {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .case-final-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 16px 0 32px;
    color: var(--white);
  }

  /* Pagination */
  .case-pagination-wrap {
    padding: 30px 0;
    background: #020814;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .case-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .case-pagination a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .case-pagination a:hover {
    color: var(--white);
  }

  /* Responsive */
  @media (max-width: 980px) {
    .case-content-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

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

  /* =========================================================
   PHASE 6.6 — ABOUT SECTION & SYSTEM
   ========================================================= */

  /* Homepage About Preview */
  .about-preview {
    position: relative;
  }

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

  .about-preview-intro {
    min-width: 0;
  }

  .about-preview-intro h2 {
    max-width: 520px;
    margin-top: 18px;
    margin-bottom: 0;
    line-height: 1.15;
  }

  .about-preview-content {
    min-width: 0;
    max-width: 720px;
  }

  .about-preview-content p {
    margin: 0 0 20px;
    line-height: 1.8;
  }

  .about-preview-content p:last-of-type {
    margin-bottom: 28px;
  }

  .about-preview-content .text-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--blue-700);
    transition:
      transform .2s ease,
      opacity .2s ease;
  }

  .about-preview-content .text-link:hover {
    transform: translateX(4px);
    opacity: .72;
  }

  /* Dedicated About Page Hero */
  .about-hero {
    padding: 200px 0 70px;
    background: var(--navy-950);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .about-hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    margin-bottom: 24px;
    color: var(--white);
  }

  .about-hero p {
    max-width: 720px;
    font-size: 1.18rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
  }

  /* Generic About Section */
  .about-section {
    padding: 90px 0;
    border-bottom: 1px solid var(--border);
    background: #FFFFFF;
  }

  .about-section-alt {
    background: var(--surface);
  }

  .about-section-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
  }

  .about-section-grid h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--ink);
    margin: 0;
  }

  .about-section-grid p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 20px;
  }

  .about-section-grid p:last-child {
    margin-bottom: 0;
  }

  /* Capability Grid */
  .about-capability-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 45px;
  }

  .about-capability {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius, 22px);
    padding: 30px;
    display: flex;
    flex-direction: column;
  }

  .about-capability span {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--blue-700);
    margin-bottom: 16px;
    display: block;
  }

  .about-capability h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--ink);
  }

  .about-capability p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
  }

  /* Process Grid */
  .about-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 45px;
  }

  .about-process-item {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius, 22px);
    padding: 30px;
    display: flex;
    flex-direction: column;
  }

  .about-process-item span {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--green-600);
    margin-bottom: 16px;
    display: block;
  }

  .about-process-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--ink);
  }

  .about-process-item p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
  }

  /* Principles Grid */
  .principles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 45px;
  }

  .principle-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius, 22px);
    padding: 30px;
    display: flex;
    flex-direction: column;
  }

  .principle-card span {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--blue-700);
    margin-bottom: 16px;
    display: block;
  }

  .principle-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--ink);
  }

  .principle-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
  }

/* =========================================================
   ABOUT PRINCIPLES REFINEMENT
   ========================================================= */

.principle-card {
    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease;
}

.principle-card:hover {
    transform: translateY(-3px);
}

.principle-card h3 {
    line-height: 1.3;
}

.principle-card p {
    max-width: 320px;
}

  /* About Transition */
  .about-transition {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
  }

  .about-transition>div {
    max-width: 720px;
  }

  .about-transition-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--blue-700);
  }

  .about-transition p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink);
  }

  .about-transition a {
    flex: 0 0 auto;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--blue-700);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .about-transition a:hover {
    transform: translateX(4px);
    opacity: 0.75;
  }

  /* Responsive */
  @media (max-width: 980px) {

    .about-preview-grid,
    .about-section-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }

    .about-capability-grid,
    .about-process-grid,
    .principles-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 680px) {

    .about-capability-grid,
    .about-process-grid,
    .principles-grid {
      grid-template-columns: 1fr;
    }

    .about-transition {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
    }
  }


/* =========================================================
   ABOUT — PHASE 6.6.6 RESPONSIVE & UI POLISH
   ========================================================= */

/* ---------- Global About safety ---------- */

.about-hero,
.about-section,
.about-transition-section,
.about-cta {
    width: 100%;
    box-sizing: border-box;
}

.about-hero *,
.about-section *,
.about-transition-section *,
.about-cta * {
    box-sizing: border-box;
}

.about-hero img,
.about-section img,
.about-cta img {
    max-width: 100%;
    height: auto;
}


/* ---------- Hero polish ---------- */

.about-hero h1,
.about-section h2,
.about-section h3,
.about-cta h2 {
    overflow-wrap: anywhere;
    word-break: normal;
}

.about-hero p,
.about-section p,
.about-cta p {
    overflow-wrap: anywhere;
}


/* ---------- Section grid stability ---------- */

.about-section-grid > div,
.about-capability-grid > div,
.about-process-grid > div,
.principles-grid > div {
    min-width: 0;
}


/* ---------- Capability cards ---------- */

.about-capability {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-capability h3 {
    overflow-wrap: anywhere;
}

.about-capability p {
    max-width: 100%;
}


/* ---------- Process cards ---------- */

.about-process-item {
    height: 100%;
}

.about-process-item h3 {
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.about-process-item p {
    max-width: 100%;
}


/* ---------- Principle cards ---------- */

.principle-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.principle-card h3 {
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.principle-card p {
    max-width: 100%;
}


/* ---------- Transition ---------- */

.about-transition {
    min-width: 0;
}

.about-transition > div {
    min-width: 0;
}

.about-transition p {
    max-width: 720px;
    overflow-wrap: anywhere;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .about-hero {
        padding-top: 90px;
        padding-bottom: 70px;
    }

    .about-section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .about-section-grid {
        gap: 44px;
    }

    .about-capability-grid {
        gap: 20px;
        margin-top: 44px;
    }

    .about-process-grid,
    .principles-grid {
        gap: 22px;
        margin-top: 44px;
    }

    .about-capability,
    .principle-card {
        padding: 28px;
    }

    .about-transition-section {
        padding-bottom: 76px;
    }

    .about-cta {
        padding-top: 84px;
        padding-bottom: 84px;
    }
}


/* =========================================================
   SMALL TABLET / LARGE MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .about-hero {
        padding-top: 78px;
        padding-bottom: 62px;
    }

    .about-hero h1 {
        max-width: 100%;
        line-height: 1.08;
    }

    .about-hero p {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.75;
    }

    .about-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .about-section-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-section-grid h2 {
        max-width: 100%;
    }

    .about-capability-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 36px;
    }

    .about-capability {
        padding: 26px;
    }

    .about-process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
        margin-top: 38px;
    }

    .principles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-top: 38px;
    }

    .principle-card {
        padding: 26px;
    }

    .about-transition-section {
        padding-bottom: 64px;
    }

    .about-transition {
        align-items: flex-start;
        gap: 20px;
    }

    .about-transition a {
        margin-top: 2px;
    }

    .about-cta {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .about-cta p {
        max-width: 100%;
        line-height: 1.75;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .about-hero {
        padding-top: 66px;
        padding-bottom: 54px;
    }

    .about-hero h1 {
        margin-top: 14px;
        margin-bottom: 18px;
        line-height: 1.08;
    }

    .about-hero p {
        font-size: .96rem;
        line-height: 1.75;
    }

    .about-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .about-section-grid {
        gap: 24px;
    }

    .about-section-grid h2 {
        margin-top: 14px;
        line-height: 1.18;
    }

    .about-section-grid p {
        line-height: 1.75;
    }

    .about-capability-grid {
        margin-top: 30px;
        gap: 16px;
    }

    .about-capability {
        padding: 24px;
    }

    .about-capability > span {
        margin-bottom: 18px;
    }

    .about-capability h3 {
        margin-bottom: 10px;
    }

    .about-capability p {
        line-height: 1.7;
    }

    .about-process-grid,
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 32px;
    }

    .about-process-item > span {
        margin-bottom: 14px;
    }

    .about-process-item h3 {
        margin-bottom: 10px;
    }

    .about-process-item p {
        line-height: 1.7;
    }

    .principle-card {
        padding: 24px;
    }

    .principle-card > span {
        margin-bottom: 18px;
    }

    .principle-card p {
        line-height: 1.7;
    }

    .about-transition-section {
        padding-bottom: 56px;
    }

    .about-transition {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .about-transition p {
        font-size: .9rem;
        line-height: 1.7;
    }

    .about-cta {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .about-cta h2 {
        line-height: 1.18;
    }

    .about-cta p {
        margin-bottom: 26px;
        line-height: 1.75;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .about-hero {
        padding-top: 58px;
        padding-bottom: 48px;
    }

    .about-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .about-capability,
    .principle-card {
        padding: 22px;
    }

    .about-cta {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}


/* =========================================================
   CONTACT / CONVERSION
   PHASE 6.7
   ========================================================= */

.contact-section {
    position: relative;
}

.contact-head {
    max-width: 820px;
}

.contact-head .section-intro {
    max-width: 720px;
    margin-top: 18px;
    margin-bottom: 0;
    line-height: 1.8;
}


/* ---------- Main layout ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
    margin-top: 56px;
}


/* ---------- Contact information ---------- */

.contact-info {
    min-width: 0;
}

.contact-info-block {
    max-width: 560px;
}

.contact-label {
    display: block;
    margin-bottom: 16px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.contact-info-block h3 {
    margin: 0 0 16px;
    line-height: 1.3;
}

.contact-info-block p {
    margin: 0;
    line-height: 1.8;
}


/* ---------- Contact details ---------- */

.contact-details {
    display: grid;
    gap: 26px;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid rgba(3, 12, 29, .10);
}

.contact-detail {
    min-width: 0;
}

.contact-detail-label {
    display: block;
    margin-bottom: 8px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .11em;
}

.contact-detail a {
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    transition: opacity .2s ease;
}

.contact-detail a:hover {
    opacity: .68;
}


/* ---------- Contact note ---------- */

.contact-note {
    max-width: 560px;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid rgba(3, 12, 29, .10);
}

.contact-note p {
    margin: 0;
    line-height: 1.75;
}


/* ---------- Form container ---------- */

.contact-form-wrap {
    min-width: 0;
}

.contact-form {
    width: 100%;
    padding: 34px;
    border: 1px solid rgba(3, 12, 29, .10);
    box-sizing: border-box;
    background: #ffffff;
}


/* ---------- Form rows ---------- */

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* ---------- Form fields ---------- */

.form-field {
    min-width: 0;
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    margin-bottom: 9px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(3, 12, 29, .16);
    border-radius: 0;
    background: transparent;
    font: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.form-field textarea {
    min-height: 160px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    opacity: .55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(3, 12, 29, .45);
    box-shadow: 0 0 0 3px rgba(3, 12, 29, .05);
}


/* ---------- Submit ---------- */

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    padding: 13px 20px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    background: var(--navy-950, #030C1D);
    color: var(--white, #ffffff);
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    opacity: .88;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
        margin-top: 48px;
    }

    .contact-form {
        padding: 28px;
    }

}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 760px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-info-block {
        max-width: 720px;
    }

    .contact-details {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .contact-note {
        max-width: 720px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .contact-head .section-intro {
        margin-top: 15px;
        line-height: 1.75;
    }

    .contact-grid {
        gap: 36px;
        margin-top: 36px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 32px;
        padding-top: 24px;
    }

    .contact-note {
        margin-top: 32px;
        padding-top: 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-field {
        margin-bottom: 20px;
    }

    .form-field textarea {
        min-height: 150px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .contact-form {
        padding: 20px;
    }

    .contact-submit {
        font-size: .74rem;
        padding-left: 14px;
        padding-right: 14px;
    }

}


/* ---------- Form status messages ---------- */

.contact-form-status {
    margin: 0 0 20px;
    padding: 13px 14px;
    border: 1px solid rgba(3, 12, 29, .12);
    font-size: .82rem;
    line-height: 1.6;
}

.contact-form-status-error {
    border-color: rgba(170, 40, 40, .25);
    background-color: rgba(170, 40, 40, .05);
    color: #a92828;
}

.contact-form-status-info {
    border-color: rgba(3, 12, 29, .16);
    background-color: rgba(3, 12, 29, .04);
    color: var(--ink, #030C1D);
}

.contact-form-status-success {
    border-color: rgba(35, 120, 70, .25);
    background-color: rgba(35, 120, 70, .06);
    color: #127a36;
}

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

.contact-honeypot input {
    position: absolute;
    left: -9999px;
}