/* IoT Labs marketing site
   Note: /styles.css is kept for the unlisted QuickBooks integration pages
   and is not loaded here. This stylesheet is self-contained. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-950: #040f2e;
  --navy-900: #061a4a;
  --navy: #0b2666;
  --navy-700: #123488;
  --blue: #1a6fd4;
  --blue-600: #1559b0;
  --sky: #4da3ff;
  --cyan: #38d6ff;
  --ink: #0f172a;
  --ink-700: #1e293b;
  --muted: #4b5a70;
  --muted-light: #c7d2e6;
  --line: #dde3ee;
  --line-strong: #c4cddd;
  --surface: #f5f7fb;
  --surface-2: #eef2f8;
  --white: #ffffff;
  --success: #15803d;
  --error: #b91c1c;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 26, 74, 0.06), 0 1px 3px rgba(6, 26, 74, 0.08);
  --shadow: 0 10px 30px -10px rgba(6, 26, 74, 0.25), 0 4px 12px -6px rgba(6, 26, 74, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(6, 26, 74, 0.35);

  --container: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --header-h: 72px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
address {
  margin: 0;
}

address {
  font-style: normal;
}

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

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

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.625rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow--light {
  color: var(--sky);
}

.accent {
  color: var(--sky);
}

.section__lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 62ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.0625rem;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 16px -6px rgba(26, 111, 212, 0.6);
}

.btn--primary:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(26, 111, 212, 0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--surface);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  color: var(--white);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 15, 46, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 15, 46, 0.92);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  width: auto;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__list {
  display: flex;
  gap: clamp(0.9rem, 1.6vw, 1.5rem);
  list-style: none;
  padding: 0;
}

.site-nav__list > li > a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a[aria-current="true"],
.site-nav__list > li > a[aria-current="page"],
.has-menu.is-open > a {
  color: var(--white);
  border-bottom-color: var(--sky);
}

/* ---------- Nav dropdowns / accordions ---------- */

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.site-nav__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav__more .icon {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.15s ease;
}

.site-nav__more:hover,
.site-nav__more:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.site-nav__more[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.site-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__menu a {
  display: block;
  text-decoration: none;
  line-height: 1.35;
}

.site-nav__menu strong {
  display: block;
  font-weight: 600;
}

.site-nav__menu span {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

@media (min-width: 960px) {
  .site-nav__list > li > a {
    white-space: nowrap;
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .site-nav {
    gap: 0.9rem;
  }

  .site-nav__list {
    gap: 0.6rem;
  }

  .site-nav__list > li > a {
    font-size: 0.86rem;
  }

  .site-nav__more {
    width: 1.2rem;
  }

  .site-nav__cta {
    padding: 0.6rem 0.7rem;
  }

  .site-nav__cta-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-nav__cta .icon {
    margin: 0;
  }
}

@media (min-width: 960px) {
  .site-nav__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -0.6rem;
    z-index: 60;
    min-width: 240px;
    padding: 0.45rem;
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  }

  /* Invisible bridge so the pointer can travel from the item to the panel. */
  .site-nav__menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }

  .site-nav__menu--wide {
    min-width: 320px;
  }

  .site-nav__item--end .site-nav__menu {
    left: auto;
    right: -0.6rem;
  }

  .has-menu.is-open > .site-nav__menu,
  html:not(.js) .has-menu:hover > .site-nav__menu,
  html:not(.js) .has-menu:focus-within > .site-nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__menu a {
    padding: 0.5rem 0.7rem;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
  }

  .site-nav__menu a:hover,
  .site-nav__menu a:focus-visible {
    background: var(--surface);
    color: var(--navy);
  }

  .site-nav__menu span {
    color: var(--muted);
    font-weight: 400;
  }
}

.site-nav__cta {
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
}

.site-nav__cta .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.hero__actions .btn .icon {
  width: 1.15rem;
  height: 1.15rem;
}

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

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

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

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  margin-left: 0;
  left: 0;
}

.nav-toggle__bar::before {
  top: -7px;
}

.nav-toggle__bar::after {
  top: 7px;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem var(--gutter) 1.25rem;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

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

  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .site-nav__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav__list > li > a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 0;
  }

  .site-nav__list > li > a:hover,
  .site-nav__list > li > a[aria-current="true"],
  .has-menu.is-open > a {
    border-bottom-color: transparent;
  }

  .site-nav__more {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .site-nav__more .icon {
    width: 1.1rem;
    height: 1.1rem;
  }

  .site-nav__menu {
    grid-column: 1 / -1;
    display: none;
    padding: 0 0 0.75rem 0.9rem;
    border-left: 2px solid rgba(77, 163, 255, 0.5);
    margin: 0 0 0.75rem 0.35rem;
  }

  .has-menu.is-open > .site-nav__menu {
    display: block;
  }

  .site-nav__menu a {
    padding: 0.55rem 0.4rem;
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.78);
  }

  .site-nav__menu a:hover,
  .site-nav__menu a:focus-visible {
    color: var(--white);
  }

  .site-nav__menu span {
    color: rgba(255, 255, 255, 0.5);
  }

  .site-nav__cta {
    margin-top: 0.75rem;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}

.hero__img {
  display: block;
  width: 100%;
  height: clamp(220px, 60vw, 360px);
  object-fit: cover;
  object-position: 68% center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 15, 46, 0.25) 0%, rgba(4, 15, 46, 0) 20%, rgba(4, 15, 46, 0) 100%);
}

.hero__inner {
  position: relative;
  padding: 2.5rem 0 3.5rem;
}

.hero__copy {
  max-width: 600px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem);
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem);
  color: var(--muted-light);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero__points li,
.contact__list li,
.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.hero__points li::before,
.contact__list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat;
}

@media (min-width: 900px) {
  .hero {
    min-height: min(92vh, 760px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: right center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 15, 46, 0.96) 0%, rgba(4, 15, 46, 0.86) 32%, rgba(4, 15, 46, 0.35) 58%, rgba(4, 15, 46, 0) 80%),
      linear-gradient(180deg, rgba(4, 15, 46, 0.35) 0%, rgba(4, 15, 46, 0) 30%, rgba(4, 15, 46, 0.25) 100%);
  }

  .hero__inner {
    padding: 5rem 0 6rem;
  }

  .hero__copy {
    max-width: 640px;
  }
}

/* ---------- Strip ---------- */

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

.strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.75rem;
  list-style: none;
  padding: 1.25rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.strip__k {
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Sections ---------- */

.section {
  padding: var(--section-y) 0;
}

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

.section--dark {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(26, 111, 212, 0.35), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy) 60%, var(--navy-700));
  color: var(--muted-light);
}

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

.section--dark .section__lead {
  color: var(--muted-light);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

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

.section__head--center .section__lead {
  margin-inline: auto;
}

.section__head h2 {
  margin-bottom: 1rem;
}

.section__foot {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
}

/* ---------- Media cards ---------- */

.media-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.media-card img {
  width: 100%;
}

.media-card--dark {
  background: var(--navy-950);
  border-color: rgba(6, 26, 74, 0.25);
  box-shadow: 0 30px 60px -24px rgba(6, 26, 74, 0.55);
}

/* ---------- Tabs (industry explorer) ---------- */

.tabs__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 760px) {
  .tabs__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 0.4rem;
    background: var(--surface-2);
    border-radius: 999px;
  }
}

.tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tabs__tab .icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--blue);
}

.tabs__tab:hover {
  border-color: var(--line-strong);
  color: var(--navy);
}

.tabs__tab[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px -10px rgba(11, 38, 102, 0.6);
}

.tabs__tab[aria-selected="true"] .icon {
  color: var(--sky);
}

@media (min-width: 760px) {
  .tabs__tab {
    border-color: transparent;
    background: transparent;
  }
  .tabs__tab:hover {
    background: var(--white);
    border-color: transparent;
  }
  .tabs__tab[aria-selected="true"] {
    background: var(--navy);
  }
}

.panel {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: panel-in 0.35s ease both;
}

.panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.panel__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1000px) {
  .panel__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.75rem;
  }

  .panel__visual {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.panel__body h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  margin-bottom: 0.75rem;
}

.panel__lead {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.panel__h {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.5rem 0 0.75rem;
}

.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-700);
  font-size: 0.98rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
}

.chips li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--navy);
  border: 1px solid var(--line);
}

.deliverables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 560px) {
  .deliverables {
    grid-template-columns: 1fr 1fr;
  }
}

.deliverables li {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.deliverables .icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--blue);
  margin-top: 0.1rem;
}

.deliverables strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.deliverables span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.panel__cta {
  margin-top: 1.75rem;
}

.panel__cta .icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* ---------- Automotive diagram ---------- */

.diagram {
  position: relative;
}

.diagram__stage {
  position: relative;
  aspect-ratio: 4 / 3;
}

.diagram__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -24px rgba(6, 26, 74, 0.55);
}

.diagram__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.diagram__lines--wide {
  display: none;
}

.diagram__path {
  fill: none;
  stroke: var(--sky);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  opacity: 0.9;
  animation: dash-flow 2.4s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -28; }
}

.diagram__anchors circle {
  fill: var(--cyan);
  stroke: rgba(56, 214, 255, 0.35);
  stroke-width: 6;
}

.diagram__anchors circle:nth-child(n+4) {
  stroke: none;
  fill: var(--white);
}

.diagram__pulses circle {
  fill: var(--white);
  filter: drop-shadow(0 0 6px var(--cyan));
}

.diagram__nodes circle {
  fill: var(--navy);
  stroke: var(--cyan);
  stroke-width: 3;
}

.diagram__nodes text {
  fill: var(--white);
  font: 700 26px var(--font);
  text-anchor: middle;
  dominant-baseline: central;
}

@media (prefers-reduced-motion: reduce) {
  .diagram__pulses {
    display: none;
  }
  .diagram__path {
    stroke-dasharray: none;
    animation: none;
  }
}

.diagram__labels {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
  counter-reset: endpoint;
}

.diagram__label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  counter-increment: endpoint;
}

.diagram__label::before {
  content: counter(endpoint);
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
}

.diagram__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(77, 163, 255, 0.18);
  color: var(--cyan);
}

.diagram__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.diagram__text strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
}

.diagram__text small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-light);
  line-height: 1.35;
  margin-top: 0.15rem;
}

@media (min-width: 700px) {
  .diagram__stage {
    aspect-ratio: 16 / 9;
  }

  .diagram__img {
    right: auto;
    width: 58%;
  }

  .diagram__lines--wide {
    display: block;
  }

  .diagram__lines--narrow {
    display: none;
  }

  .diagram__labels {
    position: absolute;
    left: 60.5%;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    display: block;
  }

  .diagram__label {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--y);
    transform: translateY(-50%);
    padding: 0.6rem 0.7rem;
    gap: 0.65rem;
    box-shadow: 0 16px 30px -18px rgba(6, 26, 74, 0.6);
  }

  .diagram__text strong {
    font-size: 0.9rem;
  }

  .diagram__text small {
    font-size: 0.74rem;
  }

  .diagram__label::before {
    display: none;
  }
}

/* ---------- What we build ---------- */

.grid-cards {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 560px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gcard--compliance {
  background: linear-gradient(160deg, #ffffff, #eefbf4);
  border-color: rgba(21, 128, 61, 0.3);
}

.gcard--compliance .gcard__icon {
  background: linear-gradient(135deg, #15803d, #22c55e);
  color: var(--white);
}

.gcard--ai {
  background: linear-gradient(160deg, #ffffff, #eef4ff);
  border-color: rgba(26, 111, 212, 0.35);
}

.gcard--ai .gcard__icon {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
}

.gcard p a {
  font-weight: 600;
}

.gcard {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.gcard__icon {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0.45rem;
  box-sizing: content-box;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 111, 212, 0.12), rgba(77, 163, 255, 0.22));
  color: var(--blue);
  margin-bottom: 1rem;
}

.gcard h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.gcard p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Technology ---------- */

.split {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.split__copy h2 {
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .split--about {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }

  .split--tech {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.netgraph {
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

.netgraph svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.netgraph__links line {
  stroke: rgba(77, 163, 255, 0.35);
  stroke-width: 1.2;
}

.netgraph__nodes circle {
  fill: var(--sky);
  animation: node-pulse 3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transform-box: fill-box;
  transform-origin: center;
}

.netgraph__nodes .hub {
  fill: var(--white);
  animation: none;
}

.netgraph__rings circle {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 3s ease-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes ring {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(6); opacity: 0; }
}

.tech-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 640px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tech:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.tech .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--sky);
  margin-bottom: 0.9rem;
}

.tech h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.tech p {
  font-size: 0.95rem;
  color: var(--muted-light);
}

/* ---------- Lifecycle ---------- */

.lifecycle {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .lifecycle {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .lifecycle__visual {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.stages {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.1rem;
  padding-bottom: 1.75rem;
}

.stage:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(26, 111, 212, 0.15));
}

.stage__marker {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 20px -10px rgba(11, 38, 102, 0.6);
}

.stage__marker .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.stage h3 {
  font-size: 1.2rem;
  margin: 0.55rem 0 0.4rem;
}

.stage__num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-right: 0.35rem;
}

.stage p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- AI integrations ---------- */

.section--ai {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(77, 163, 255, 0.18), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(26, 111, 212, 0.1), transparent 70%),
    var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__points--dark {
  color: var(--ink-700);
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .split--ai {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.ai-demo {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.92rem;
}

.ai-demo__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-demo__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.ai-demo__title {
  margin-left: 0.6rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted-light);
}

.ai-demo__title small {
  font-weight: 400;
  opacity: 0.7;
  margin-left: 0.4rem;
}

.ai-demo__chat {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
}

.ai-demo__msg {
  max-width: 88%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  line-height: 1.5;
}

.ai-demo__msg--user {
  justify-self: end;
  background: var(--blue);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.ai-demo__msg--ai {
  justify-self: start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 4px;
  color: var(--muted-light);
}

.ai-demo__msg--ai strong {
  color: var(--white);
}

.ai-demo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin-top: 0.65rem;
}

.ai-demo__tags li {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.16);
  color: #a9d2ff;
}

.ai-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 640px) {
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ai-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ai-card .icon {
  width: 2rem;
  height: 2rem;
  padding: 0.45rem;
  box-sizing: content-box;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  margin-bottom: 1rem;
}

.ai-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.ai-card p {
  font-size: 0.93rem;
  color: var(--muted);
}

.tech a {
  color: var(--sky);
}

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

@media (min-width: 1000px) {
  .tech--wide {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.25rem;
    align-items: center;
  }

  .tech--wide .icon {
    grid-row: 1 / 3;
    margin: 0;
    width: 2.25rem;
    height: 2.25rem;
  }

  .tech--wide h3 {
    margin-bottom: 0.25rem;
  }
}

/* ---------- Speed to market points ---------- */

.speed-points {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 640px) {
  .speed-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .speed-points {
    grid-template-columns: repeat(4, 1fr);
  }
}

.speed-points li {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.speed-points .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--blue);
  margin-top: 0.1rem;
}

.speed-points strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.speed-points span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Email card (Contact) ---------- */

.email-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.email-card:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.email-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue);
}

.email-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.email-card__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.email-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
}

.email-card__address {
  font-size: clamp(1rem, 0.6rem + 1.4vw, 1.25rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.email-card__arrow {
  margin-left: auto;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--sky);
}

.contact__address {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.form__head {
  margin-bottom: 1.5rem;
}

.form__head h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.form__head p {
  color: var(--muted);
  font-size: 0.98rem;
}

.field--captcha {
  min-height: 0;
}

.field--captcha .g-recaptcha {
  margin-top: 0.25rem;
}

/* The reCAPTCHA widget is a fixed 304px wide; keep it inside the card on small phones. */
@media (max-width: 380px) {
  .field--captcha .g-recaptcha {
    transform: scale(0.92);
    transform-origin: 0 0;
  }
}

.site-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--white) !important;
}

.site-footer__email .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--sky);
}

.site-footer__label {
  font-size: 0.8rem;
  color: rgba(199, 210, 230, 0.7);
  margin-bottom: 0.15rem;
}

.site-footer__contact > a {
  display: inline-block;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.9rem;
}

/* ---------- Panel links / FAQ ---------- */

.panel__title-link {
  color: inherit;
  text-decoration: none;
}

.panel__title-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

.panel__more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.cta-row .panel__more {
  margin-top: 1.75rem;
}

/* ---------- Certifications & compliance ---------- */

.compliance {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1000px) {
  .compliance {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4rem;
  }
}

.compliance__copy h2 {
  margin-bottom: 1rem;
}

.compliance__copy .section__lead {
  margin-bottom: 1.75rem;
}

.section--compliance .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.section--compliance .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  color: var(--white);
}

.compliance__cards {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 560px) {
  .compliance__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.compliance__cards li {
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

.compliance__cards .icon {
  width: 1.6rem;
  height: 1.6rem;
  color: #7fe0a7;
  margin-bottom: 0.9rem;
}

.compliance__cards h3 {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}

.compliance__cards p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted-light);
  margin: 0;
}

.compliance__cards a {
  color: #a9d2ff;
  font-weight: 600;
}

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

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

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq__item p {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
}

/* ---------- Subpages (industry / AI landing pages) ---------- */

.breadcrumb {
  padding: 1rem 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--white), var(--surface));
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.page-hero h1 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero .hero__lead {
  color: var(--muted);
}

.page-hero .hero__points {
  color: var(--ink-700);
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-bottom: 0.9rem;
}

.prose h3 {
  margin: 1.75rem 0 0.5rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose p {
  color: var(--ink-700);
}

.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }
}

.side-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.side-card__note {
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.side-card h2,
.side-card h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.related {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .related {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .related {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .related--five {
    grid-template-columns: repeat(5, 1fr);
  }
}

.related a {
  display: block;
  height: 100%;
  padding: 1.25rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.related a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
  color: var(--ink-700);
}

.related strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

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

.cta-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(26, 111, 212, 0.35), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy) 60%, var(--navy-700));
  color: var(--muted-light);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.cta-band .hero__actions {
  margin-bottom: 0;
}

.usecases {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.usecases li {
  padding: 1.1rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.usecases strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.usecases p {
  color: var(--muted);
  font-size: 0.98rem;
}

.deliverables--stack {
  grid-template-columns: 1fr !important;
}

.tech-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.tech-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.tech-list span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Info card (About) ---------- */

.info-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.info-card dl {
  display: grid;
  gap: 1.1rem;
}

.info-card dt {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.info-card dd {
  margin: 0;
  color: var(--ink-700);
}

/* ---------- Contact ---------- */

.section--contact {
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(77, 163, 255, 0.12), transparent 70%),
    var(--white);
  border-top: 1px solid var(--line);
}

.contact {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .contact {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
  }

  .contact__copy {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.contact__copy h2 {
  margin-bottom: 1rem;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin-top: 1.75rem;
  display: grid;
  gap: 0.6rem;
  color: var(--ink-700);
}

.contact__form {
  position: relative;
}

.form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form__honeypot {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.field__req {
  color: var(--blue);
}

.field__opt {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5a70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7a93;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #9aa8bf;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 111, 212, 0.18);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.16);
}

.field__hint {
  font-size: 0.85rem;
  color: var(--muted);
}

.field__error {
  display: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--error);
}

.field__error:not(:empty) {
  display: block;
}

.form__status {
  display: none;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
}

.form__status:not(:empty) {
  display: block;
}

.form__status.is-error {
  background: #fef2f2;
  color: var(--error);
  border: 1px solid #fecaca;
}

.form__status.is-info {
  background: var(--surface);
  color: var(--ink-700);
  border: 1px solid var(--line);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form__note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form__note span {
  color: var(--blue);
}

.form__note a {
  font-weight: 600;
}

.form-success {
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-success[hidden] {
  display: none;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--success);
}

.form-success__icon .icon,
.form-success__icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.form-success h3 {
  margin-bottom: 0.6rem;
}

.form-success p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

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

.site-footer {
  background: var(--navy-950);
  color: var(--muted-light);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.site-footer__inner {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .site-footer__inner {
    grid-template-columns: 1.5fr 1fr 0.8fr 1fr;
    gap: 3rem;
  }
}

.site-footer__logo {
  width: auto;
  height: 40px;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  max-width: 40ch;
  font-size: 0.95rem;
}

.site-footer__heading {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

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

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

.site-footer__hq {
  margin-top: 0.25rem;
  line-height: 1.6;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

/* ---------- Simple pages (thanks / 404) ---------- */

.page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, var(--white), var(--surface));
}

.page__card {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.page__card h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
  margin: 0 0 0.85rem;
}

.page__card p {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
