/* ============================================================================
   Interopify — Marketing site design system  (v2, light professional theme)
   Original styling. No third-party CSS frameworks required at runtime.
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Ink (navy) + body text */
  --ink: #0a2540;
  --ink-2: #1f3d5c;
  --body: #42536b;
  --mut: #6f8197;

  /* Brand */
  --brand: #0e8074;          /* primary teal — buttons, links */
  --brand-strong: #0a6b61;   /* hover / active */
  --brand-deep: #084f48;
  --brand-soft: #e7f6f3;     /* tint backgrounds */
  --brand-soft-2: #d4efe9;
  --cyan: #0891b2;
  --cyan-soft: #e0f4fa;

  /* Status accents (charts, pills) */
  --green: #16a34a;  --green-soft: #e9f7ef;
  --amber: #d97706;  --amber-soft: #fdf3e3;
  --blue:  #2563eb;  --blue-soft:  #eaf0fe;
  --red:   #dc2626;  --red-soft:   #fdecec;

  /* Surfaces — balanced mid-tone (not white, not dark) */
  --bg: #e8edf5;
  --bg-soft: #f2f5fa;
  --bg-tint: #e2efec;
  --line: #d6deea;
  --line-strong: #c2cfdf;

  /* Effects */
  --grad-brand: linear-gradient(100deg, #0d9488 0%, #0891b2 100%);
  --grad-ink: linear-gradient(135deg, #0a2540 0%, #0d3554 55%, #0a4a52 100%);
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px -2px rgba(10, 37, 64, .08);
  --shadow-md: 0 8px 28px -10px rgba(10, 37, 64, .16);
  --shadow-lg: 0 24px 64px -24px rgba(10, 37, 64, .24);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

/* -------------------------------------------------------------- Base reset */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
}
h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
h4 { font-size: 17px; }
p  { margin: 0 0 14px; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: rgba(13, 148, 136, .18); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link:focus {
  position: fixed !important;
  left: 16px !important;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

/* --------------------------------------------------------------- Layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(44px, 5.5vw, 84px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex: none;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { margin: 0 auto; }

.lead {
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  color: var(--body);
  max-width: 640px;
}
.muted { color: var(--mut); }
.note {
  color: var(--mut);
  font-size: 12.5px;
  text-align: center;
  margin-top: 20px;
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(14, 128, 116, .55);
}
.btn--primary:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(14, 128, 116, .6);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  transform: translateY(-1px);
}
.btn--inverse {
  background: #fff;
  color: var(--ink);
}
.btn--inverse:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -10px rgba(0,0,0,.45); }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn--outline-light:hover { border-color: #fff; transform: translateY(-1px); }
.btn .arr { transition: transform .18s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--brand-strong);
  font-size: 15px;
}
.link-arrow svg { transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------- Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 245, 250, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(10, 37, 64, .25);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20.5px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand sup {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .08em;
}
.brand__mark { flex: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 9px 14px;
  border-radius: 9px;
  font-weight: 550;
  font-size: 15px;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav__link:hover { background: var(--bg-soft); color: var(--ink); }

.nav__spacer { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { padding: 10px 18px; font-size: 14.5px; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px;
  color: var(--ink);
  cursor: pointer;
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0 clamp(48px, 6vw, 84px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52vw 40vw at 86% -12%, rgba(8, 145, 178, .10), transparent 62%),
    radial-gradient(46vw 36vw at 4% -8%, rgba(13, 148, 136, .12), transparent 60%),
    linear-gradient(180deg, #fdfefe 0%, #ffffff 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.hero__copy .lead { margin: 6px 0 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__assure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--mut);
  font-size: 14px;
  font-weight: 550;
}
.hero__assure span { display: inline-flex; align-items: center; gap: 7px; }
.hero__assure svg { color: var(--brand); flex: none; }

.hero__visual { position: relative; }
.shot-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot-frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.shot-frame__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.shot-frame__bar span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--mut);
  font-weight: 550;
  letter-spacing: .02em;
}
.shot-frame img { width: 100%; }

.chip-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 11px 16px;
  font-size: 13px;
  color: var(--mut);
  animation: floaty 7s ease-in-out infinite;
}
.chip-badge b { display: block; color: var(--ink); font-size: 14px; }
.chip-badge small { display: block; font-size: 12px; }
.chip-badge .ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.chip-badge--a { right: -14px; top: 12%; animation-delay: .8s; }
.chip-badge--a .ic { background: var(--green-soft); color: var(--green); }
.chip-badge--b { left: -18px; bottom: 10%; }
.chip-badge--b .ic { background: var(--blue-soft); color: var(--blue); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ------------------------------------------------------------ Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust__label {
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mut);
  margin: 0 0 18px;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}
.trust__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.trust__chip svg { color: var(--brand); }

/* ----------------------------------------------------------------- Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 18px 22px;
  box-shadow: var(--shadow-sm);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__lbl { font-size: 14px; color: var(--mut); font-weight: 550; }

/* ----------------------------------------------------------------- Cards */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft-2);
}
.card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }

/* --------------------------------------------------------- Feature splits */
.feature-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  padding: clamp(28px, 4vw, 48px) 0;
}
.feature-split--rev .feature-split__copy { order: 2; }
.feature-split--rev .feature-split__media { order: 1; }
.feature-split__copy h2 { margin: 16px 0 14px; }
.feature-split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}
.feature-list li { display: flex; gap: 12px; font-size: 15.5px; }
.feature-list .tick {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.feature-list strong { color: var(--ink); font-weight: 650; }

/* -------------------------------------------------------------- Pipeline */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}
.pipe-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 22px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.pipe-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 12px;
  border-top: 2px dashed var(--line-strong);
}
.pipe-step:last-child::after { display: none; }
.pipe-step__ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.pipe-step__n {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--line-strong);
  letter-spacing: .06em;
}
.pipe-step h4 { margin-bottom: 6px; }
.pipe-step p { margin: 0; font-size: 13.5px; color: var(--mut); }

/* -------------------------------------------------------- Audience cards */
.aud-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.aud-card__media {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
.aud-card__media img { width: 100%; }
.aud-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.aud-card__body h3 { margin-bottom: 8px; }
.aud-card__body p { font-size: 14.5px; margin-bottom: 16px; flex: 1; }

/* ----------------------------------------------------------- Quote cards */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote-card > p {
  font-size: 15.5px;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 22px;
}
.quote-card__by { display: flex; align-items: center; gap: 12px; }
.quote-card__av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex: none;
}
.quote-card__by b { display: block; color: var(--ink); font-size: 14.5px; }
.quote-card__by span { font-size: 13px; color: var(--mut); }
.quote-card .stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 14px; }

/* -------------------------------------------------------------- Standards */
.standards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.std {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------------- FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--brand-strong);
  transition: transform .25s var(--ease), background .25s;
}
.faq details[open] summary .plus {
  transform: rotate(45deg);
  background: var(--brand-soft);
  border-color: var(--brand-soft-2);
}
.faq .faq__a { padding: 0 22px 20px; font-size: 15px; color: var(--body); }
.faq .faq__a p { margin: 0 0 8px; }
.faq .faq__a p:last-child { margin: 0; }

/* ------------------------------------------------------------- CTA banner */
.cta {
  position: relative;
  background: var(--grad-ink);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 72px);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38vw 24vw at 88% 0%, rgba(13, 148, 136, .35), transparent 60%),
    radial-gradient(30vw 22vw at 6% 100%, rgba(8, 145, 178, .28), transparent 60%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-top: 14px; }
.cta .lead { color: rgba(231, 240, 250, .85); margin: 0 auto 28px; }
.cta .eyebrow { color: #7fe7d8; }
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* -------------------------------------------------------------- Page hero */
.page-hero {
  position: relative;
  padding: clamp(48px, 6vw, 84px) 0 clamp(20px, 3vw, 36px);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(48vw 30vw at 50% -16%, rgba(13, 148, 136, .10), transparent 62%),
    linear-gradient(180deg, #fcfefd 0%, #ffffff 100%);
}
.page-hero h1 { max-width: 840px; margin-inline: auto; }
.page-hero .lead { margin: 8px auto 0; max-width: 680px; }
.page-hero .eyebrow { margin-bottom: 14px; }

/* ------------------------------------------------------------ Solution rows */
.sol-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 4.5vw, 56px) 0;
}
.sol-block--rev .sol-block__copy { order: 2; }
.sol-block--rev .sol-block__media { order: 1; }
.sol-block__media img { width: 100%; border-radius: var(--radius-lg); }
.sol-block h2 { margin: 14px 0 10px; }
.sol-block + .sol-block { border-top: 1px solid var(--line); }

/* ----------------------------------------------------------------- Forms */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
.contact-aside h2 { font-size: clamp(24px, 2.4vw, 30px); }
.contact-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .ic {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
}
.contact-points b { display: block; color: var(--ink); font-size: 15px; }
.contact-points span { font-size: 14px; color: var(--mut); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3.4vw, 40px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req { color: var(--brand); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: #a3b2c4; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .14);
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236f8197' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.check:hover { border-color: var(--brand); }
.check input { accent-color: var(--brand); width: 16px; height: 16px; }
.check:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.text-danger { color: var(--red); font-size: 13px; margin-top: 5px; display: block; }
.validation-summary-errors {
  background: var(--red-soft);
  border: 1px solid #f3c6c6;
  color: #9b1c1c;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
}
.validation-summary-errors:not(:empty) { padding: 12px 16px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }

/* Honeypot — visually removed, still in the form for bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ----------------------------------------------------------------- Prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin-top: 38px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* ---------------------------------------------------------------- Footer */
.footer {
  background: var(--ink);
  color: #b7c6d9;
  padding: clamp(48px, 6vw, 72px) 0 0;
  margin-top: clamp(48px, 6vw, 80px);
}
.footer .brand { color: #fff; }
.footer .brand sup { color: #5eead4; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer__about p { font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer h5 {
  color: #fff;
  font-size: 13.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; transition: color .15s; }
.footer ul a:hover { color: #5eead4; }
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(183, 198, 217, .18);
  padding: 20px 0 26px;
  font-size: 13.5px;
}
.footer__social { display: flex; gap: 16px; }
.footer__social a { opacity: .75; transition: opacity .15s; }
.footer__social a:hover { opacity: 1; }

/* ----------------------------------------------------------- Reveal anim */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip-badge { animation: none; }
  .btn, .card, .aud-card { transition: none; }
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipe-step::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 74px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 20px 20px;
    gap: 4px;
  }
  .nav.open .nav__cta {
    display: flex;
    position: absolute;
    top: calc(74px + 230px);
    left: 0; right: 0;
    background: #fff;
    padding: 0 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open .nav__cta .btn { justify-content: center; }

  .hero__grid,
  .feature-split,
  .sol-block,
  .form-wrap { grid-template-columns: 1fr; }
  .feature-split--rev .feature-split__copy,
  .sol-block--rev .sol-block__copy { order: 0; }
  .feature-split--rev .feature-split__media,
  .sol-block--rev .sol-block__media { order: 1; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .chip-badge--a { right: 4px; }
  .chip-badge--b { left: 4px; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .field-row, .checks { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .cta__row .btn { width: 100%; justify-content: center; }
}

/* ============================================================================
   v2.1 — balanced theme, hero carousel & site animations
   ========================================================================== */

/* ------------------------------------------------------ Rich gradient hero */
.hero--dark { color: #c7d6e8; }
.hero--dark::before {
  background:
    radial-gradient(46vw 34vw at 84% -10%, rgba(13, 148, 136, .38), transparent 60%),
    radial-gradient(40vw 30vw at 6% 112%, rgba(8, 145, 178, .30), transparent 62%),
    linear-gradient(135deg, #0a2540 0%, #0c3050 55%, #0b4350 100%);
}
.hero--dark::after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(30vw 22vw at 70% 28%, rgba(45, 212, 191, .14), transparent 60%),
    radial-gradient(26vw 20vw at 22% 72%, rgba(56, 189, 248, .12), transparent 60%);
  animation: drift 18s var(--ease) infinite alternate;
}
@keyframes drift {
  to { transform: translate3d(3%, 2%, 0) scale(1.07); }
}
.hero--dark h1 { color: #ffffff; }
.hero--dark .lead { color: #c2d3e6; }
.hero--dark .eyebrow { color: #7fe7d8; }
.hero--dark .eyebrow .dot { background: #2dd4bf; }
.hero--dark .hero__assure { color: #9fb6cf; }
.hero--dark .hero__assure svg { color: #5eead4; }
.hero--dark .shot-frame {
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 34px 90px -34px rgba(2, 10, 22, .75);
}

/* ---------------------------------------------------------------- Carousel */
.carousel { position: relative; }
.carousel__viewport {
  position: relative;
  aspect-ratio: 16 / 11;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.985) translateY(6px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  pointer-events: none;
}
.carousel__slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.carousel__slide .shot-frame {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.shot-frame__body {
  flex: 1;
  min-height: 0;
  background: #fff;
}
.shot-frame__body img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 6;
  transition: color .18s, transform .18s var(--ease), box-shadow .18s;
}
.carousel__arrow:hover {
  color: var(--brand-strong);
  transform: translateY(-50%) scale(1.08);
}
.carousel__arrow--prev { left: -16px; }
.carousel__arrow--next { right: -16px; }
.carousel__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.carousel__dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: width .3s var(--ease), background .3s;
}
.carousel__dot:hover { background: rgba(255, 255, 255, .6); }
.carousel__dot.active {
  width: 26px;
  background: linear-gradient(100deg, #2dd4bf, #38bdf8);
}

/* ----------------------------------------------------------------- Marquee */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex: none;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------- Site animations */
.gradient-text {
  background-size: 200% auto;
  animation: gradShift 7s ease-in-out infinite alternate;
}
@keyframes gradShift {
  from { background-position: 0% center; }
  to   { background-position: 100% center; }
}
.eyebrow .dot { animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, .38); }
  55%      { box-shadow: 0 0 0 7px rgba(13, 148, 136, 0); }
}
.card__icon, .pipe-step__ic { transition: transform .25s var(--ease); }
.card:hover .card__icon,
.pipe-step:hover .pipe-step__ic { transform: translateY(-3px) scale(1.07); }
.aud-card__media img { transition: transform .45s var(--ease); }
.aud-card:hover .aud-card__media img { transform: scale(1.045); }
.std { transition: transform .2s var(--ease), border-color .2s, color .2s; }
.std:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand-strong); }

/* Directional reveals (auto, no markup changes) */
.feature-split__copy.reveal:not(.in),
.sol-block__copy.reveal:not(.in) { transform: translateX(-26px); }
.feature-split__media.reveal:not(.in),
.sol-block__media.reveal:not(.in) { transform: translateX(26px); }
.feature-split--rev .feature-split__copy.reveal:not(.in),
.sol-block--rev .sol-block__copy.reveal:not(.in) { transform: translateX(26px); }
.feature-split--rev .feature-split__media.reveal:not(.in),
.sol-block--rev .sol-block__media.reveal:not(.in) { transform: translateX(-26px); }

/* Page hero on mid-tone background */
.page-hero::before {
  background:
    radial-gradient(48vw 30vw at 50% -16%, rgba(13, 148, 136, .16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
}

/* Mobile menu panels on mid-tone theme */
@media (max-width: 900px) {
  .carousel__arrow--prev { left: 8px; }
  .carousel__arrow--next { right: 8px; }
}

/* Reduced motion: stillness wins */
@media (prefers-reduced-motion: reduce) {
  .hero--dark::after { animation: none; }
  .gradient-text { animation: none; }
  .eyebrow .dot { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .carousel__slide { transition: none; }
  .aud-card__media img, .card__icon, .pipe-step__ic { transition: none; }
}
