/* ==========================================================================
   For Each Group LLC - global stylesheet
   Brand palette:
     Deep Azure Blue     #0A3D62
     Cloud Steel Gray    #4A4E57
     White Ice           #F5F7FA
     Electric Data Blue  #1B98E0
     AI Gradient Purple  #6C63FF
     Neon Teal           #00C2A8
   ========================================================================== */

:root {
  --azure: #0a3d62;
  --azure-deep: #072b45;
  --steel: #4a4e57;
  --steel-light: #6d7280;
  --ice: #f5f7fa;
  --white: #ffffff;
  --data-blue: #1b98e0;
  --ai-purple: #6c63ff;
  --teal: #00c2a8;

  --border: #dfe5ee;
  --shadow-sm: 0 1px 2px rgba(10, 61, 98, 0.06), 0 2px 8px rgba(10, 61, 98, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 61, 98, 0.08), 0 12px 32px rgba(10, 61, 98, 0.08);
  --shadow-lg: 0 18px 48px rgba(10, 61, 98, 0.16);

  --gradient-ai: linear-gradient(120deg, var(--data-blue) 0%, var(--ai-purple) 55%, var(--teal) 100%);
  --gradient-deep: linear-gradient(150deg, #072b45 0%, #0a3d62 45%, #123a6b 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --container: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

/* Layout rules such as `.field { display: flex }` outrank the user-agent
   `[hidden] { display: none }`, so restate it with priority. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: var(--steel);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: inherit;
  color: var(--azure);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 1.15rem;
}

a {
  color: var(--data-blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--ai-purple);
}

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

ul {
  padding-left: 1.15rem;
}

:focus-visible {
  outline: 3px solid var(--ai-purple);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--azure);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: min(100% - 44px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section--tight {
  padding: clamp(48px, 6vw, 76px) 0;
}

.section--ice {
  background: var(--ice);
}

.section--deep {
  background: var(--gradient-deep);
  color: rgba(245, 247, 250, 0.86);
  position: relative;
  overflow: hidden;
}

.section--deep h2,
.section--deep h3 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

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

.section--deep .eyebrow {
  color: var(--teal);
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--steel-light);
}

.section--deep .lead {
  color: rgba(245, 247, 250, 0.82);
}

.grid {
  display: grid;
  gap: 26px;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--data-blue);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(27, 152, 224, 0.32);
}

.btn--primary:hover {
  background: var(--ai-purple);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(108, 99, 255, 0.38);
}

.btn--gradient {
  background: var(--gradient-ai);
  background-size: 180% 180%;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(27, 152, 224, 0.3);
  animation: gradient-drift 9s ease-in-out infinite;
}

.btn--gradient:hover {
  color: var(--white);
  box-shadow: 0 14px 34px rgba(108, 99, 255, 0.4);
}

.btn--ghost {
  border-color: rgba(245, 247, 250, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0, 194, 168, 0.08);
}

.btn--outline {
  border-color: var(--azure);
  color: var(--azure);
  background: transparent;
}

.btn--outline:hover {
  background: var(--azure);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link:hover span {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--azure);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--azure);
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name strong {
  font-size: 1.04rem;
}

.brand__name small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--steel-light);
}

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

.nav a {
  color: var(--steel);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--gradient-ai);
  transition: width 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--azure);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.nav .btn {
  padding: 11px 24px;
  font-size: 0.9rem;
}

.nav .btn::after {
  display: none;
}

.nav .btn:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--azure);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  content: '';
}

.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded='true'] span {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] span::before {
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span::after {
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 10px 22px 26px;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav a::after {
    display: none;
  }

  .nav .btn {
    margin-top: 18px;
    border-bottom: none;
    padding: 14px 24px;
  }
}

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

.hero {
  position: relative;
  background: var(--gradient-deep);
  color: rgba(245, 247, 250, 0.86);
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0 clamp(72px, 10vw, 120px);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-mesh.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.42) 0%, rgba(10, 61, 98, 0) 68%);
  animation: float-slow 16s ease-in-out infinite;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}

.hero h1 .accent {
  background: var(--gradient-ai);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-drift 8s ease-in-out infinite;
}

.hero__sub {
  font-size: clamp(1.03rem, 1.75vw, 1.22rem);
  color: rgba(245, 247, 250, 0.8);
  max-width: 40em;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 17px 7px 13px;
  border-radius: 999px;
  background: rgba(0, 194, 168, 0.12);
  border: 1px solid rgba(0, 194, 168, 0.35);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero__pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.7);
  animation: pulse 2.4s infinite;
}

.hero__art {
  position: relative;
}

.hero__art img {
  width: 100%;
  border-radius: var(--radius-lg);
  animation: float-slow 12s ease-in-out infinite;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 54px);
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: 34px;
  border-top: 1px solid rgba(245, 247, 250, 0.16);
  position: relative;
  z-index: 2;
}

.stat__value {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.86rem;
  color: rgba(245, 247, 250, 0.62);
}

@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__art {
    order: -1;
    max-width: 460px;
  }
}

/* Compact page header used on interior pages */

.page-hero {
  position: relative;
  background: var(--gradient-deep);
  color: rgba(245, 247, 250, 0.84);
  padding: clamp(58px, 8vw, 96px) 0;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/pattern-circuit.svg');
  background-size: 620px;
  opacity: 0.35;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: rgba(245, 247, 250, 0.8);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-ai);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 152, 224, 0.35);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-bottom: 10px;
}

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

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(27, 152, 224, 0.13), rgba(108, 99, 255, 0.13));
  color: var(--data-blue);
}

.card__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card--flat {
  box-shadow: none;
}

.card--dark {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(245, 247, 250, 0.14);
  color: rgba(245, 247, 250, 0.82);
  box-shadow: none;
}

.card--dark:hover {
  border-color: rgba(0, 194, 168, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* Service detail blocks */

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(38px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ai-purple);
  margin-bottom: 14px;
}

.service-block__index::before {
  content: '';
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-ai);
}

.service-block h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
}

/* Multi-platform callout inside a service block (spans both columns) */

.platform-callout {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: clamp(26px, 3.5vw, 38px);
  border-radius: var(--radius);
  background: var(--ice);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.platform-callout::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gradient-ai);
}

.platform-callout > h3 {
  margin-bottom: 8px;
}

.platform-callout > p {
  max-width: 62em;
  color: var(--steel-light);
}

.platform-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  margin: 26px 0 4px;
}

.platform {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 22px 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.platform:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 152, 224, 0.4);
  box-shadow: var(--shadow-sm);
}

.platform h4 {
  font-size: 1rem;
  color: var(--azure);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-ai) 1;
  border-image-slice: 0 0 1 0;
}

.platform ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.platform li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--steel);
}

.platform li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.platform-seam {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--steel);
  max-width: none;
}

.platform-seam strong {
  color: var(--azure);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 0.98rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(0, 194, 168, 0.14);
  border: 1px solid rgba(0, 194, 168, 0.45);
}

.checklist li::after {
  content: '';
  position: absolute;
  left: 6.5px;
  top: 12px;
  width: 5px;
  height: 9px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.section--deep .checklist li {
  color: rgba(245, 247, 250, 0.82);
}

/* --------------------------------------------------------------------------
   Founder / about
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 68px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.split__media::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(27, 152, 224, 0.28);
  z-index: -1;
}

@media (max-width: 860px) {
  .split,
  .service-block {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__media::after {
    display: none;
  }
}

/* Metric tiles */

.metric {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.metric__value {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.metric__label {
  font-size: 0.93rem;
  color: var(--steel-light);
}

/* Timeline / process */

.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.step {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 247, 250, 0.14);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* Testimonials */

.quote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.quote:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.quote__mark {
  font-size: 2.6rem;
  line-height: 0.6;
  color: rgba(108, 99, 255, 0.32);
  font-weight: 700;
}

.quote p {
  margin: 0;
  font-size: 1rem;
  color: var(--steel);
}

.quote__meta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.quote__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(27, 152, 224, 0.16), rgba(0, 194, 168, 0.16));
  color: var(--azure);
  font-weight: 700;
  font-size: 0.9rem;
}

.quote__name {
  font-weight: 600;
  color: var(--azure);
  font-size: 0.95rem;
  line-height: 1.3;
}

.quote__role {
  font-size: 0.84rem;
  color: var(--steel-light);
}

.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.09);
  border: 1px dashed rgba(108, 99, 255, 0.4);
  color: var(--ai-purple);
  font-size: 0.83rem;
  font-weight: 600;
}

/* Logo / industry strip */

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

.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--steel);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.chip:hover {
  border-color: var(--teal);
  color: var(--azure);
  transform: translateY(-2px);
}

/* CTA band */

.cta-band {
  position: relative;
  background: var(--gradient-deep);
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 8vw, 92px) 0;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/pattern-circuit.svg');
  background-size: 520px;
  opacity: 0.3;
}

.cta-band .container {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(245, 247, 250, 0.82);
}

.cta-band .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 44px);
}

.fieldset {
  border: none;
  padding: 0;
  margin: 0 0 38px;
}

.fieldset:last-of-type {
  margin-bottom: 26px;
}

.fieldset > legend {
  padding: 0;
  margin-bottom: 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azure);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.fieldset > legend::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.field-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field .field__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--azure);
}

.field label .req {
  color: var(--ai-purple);
  margin-left: 2px;
}

.field small {
  font-size: 0.81rem;
  color: var(--steel-light);
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='date'],
input[type='file'],
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--steel);
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease);
}

textarea {
  resize: vertical;
  min-height: 132px;
  line-height: 1.6;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%234A4E57' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

input[type='file'] {
  padding: 10px 12px;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--data-blue);
  box-shadow: 0 0 0 4px rgba(27, 152, 224, 0.16);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #d94a5a;
  box-shadow: 0 0 0 4px rgba(217, 74, 90, 0.12);
}

.check-grid {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--ice);
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--steel);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.check:hover {
  border-color: rgba(27, 152, 224, 0.5);
}

.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--data-blue);
  flex: none;
  cursor: pointer;
}

.check:has(input:checked) {
  border-color: var(--data-blue);
  background: rgba(27, 152, 224, 0.07);
  color: var(--azure);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.radio-row .check {
  flex: 0 1 auto;
  min-width: 118px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.form-actions small {
  color: var(--steel-light);
  font-size: 0.84rem;
  max-width: 30em;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cloudflare Turnstile widget. Rendered only when the keys are configured,
   so the margin must not collapse into the submit row when it is absent. */
.turnstile-field {
  margin: 22px 0 4px;
}

.turnstile-field:empty {
  display: none;
}

.form-status {
  display: none;
  margin-bottom: 24px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.form-status.is-visible {
  display: block;
  animation: fade-up 0.4s var(--ease) both;
}

.form-status--success {
  background: rgba(0, 194, 168, 0.1);
  border-color: rgba(0, 194, 168, 0.45);
  color: #04705f;
}

.form-status--error {
  background: rgba(217, 74, 90, 0.08);
  border-color: rgba(217, 74, 90, 0.4);
  color: #9c2d3a;
}

.form-status--info {
  background: rgba(27, 152, 224, 0.09);
  border-color: rgba(27, 152, 224, 0.4);
  color: #0a5f92;
}

.btn[aria-busy='true'] {
  pointer-events: none;
  opacity: 0.72;
}

.btn[aria-busy='true']::after {
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  animation: spin 0.7s linear infinite;
}

/* Contact side panel */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.info-list__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 4px;
}

.info-list a {
  font-weight: 600;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--azure-deep);
  color: rgba(245, 247, 250, 0.68);
  padding: clamp(52px, 6vw, 76px) 0 30px;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 247, 250, 0.13);
}

.site-footer .brand,
.site-footer .brand:hover {
  color: var(--white);
  margin-bottom: 18px;
}

.site-footer .brand__name small {
  color: rgba(245, 247, 250, 0.55);
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.83rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: rgba(245, 247, 250, 0.68);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.86rem;
  color: rgba(245, 247, 250, 0.5);
}

/* --------------------------------------------------------------------------
   Animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes gradient-drift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.65);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(0, 194, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 168, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
