:root {
  color-scheme: light;
  --ink: #121417;
  --ink-soft: #2c3137;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: rgba(18, 20, 23, 0.13);
  --muted: #66717c;
  --blue: #1496d4;
  --blue-deep: #0872ad;
  --green: #6fad62;
  --clay: #b77b46;
  --shadow: 0 24px 70px rgba(18, 20, 23, 0.16);
  --section-fade: clamp(76px, 9vw, 138px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(20, 150, 212, 0.08), transparent 28vw),
    radial-gradient(circle at 8% 62%, rgba(111, 173, 98, 0.07), transparent 26vw),
    var(--paper);
  color: var(--ink);
}

body.ai-page {
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 244, 238, 0.96);
  box-shadow: 0 14px 44px rgba(18, 20, 23, 0.12);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 176px;
  height: auto;
}

.logo-dark {
  display: none;
}

.site-header.is-scrolled .logo-light,
.site-header.is-open .logo-light {
  display: none;
}

.site-header.is-scrolled .logo-dark,
.site-header.is-open .logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.78;
}

.site-nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 800;
}

.phone-link {
  white-space: nowrap;
}

.support-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 850;
  cursor: pointer;
}

.support-button,
.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 36px rgba(20, 150, 212, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button-secondary.dark {
  border-color: rgba(18, 20, 23, 0.18);
  color: var(--ink);
}

.button-primary:hover,
.support-button:hover {
  background: var(--blue-deep);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  isolation: isolate;
  padding: 128px clamp(22px, 5vw, 72px) calc(58px + var(--section-fade));
  color: var(--white);
  background: #13171a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(90deg, rgba(18, 20, 23, 0.92), rgba(18, 20, 23, 0.68) 48%, rgba(18, 20, 23, 0.26)),
    url("assets/current-hero.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.58);
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: var(--section-fade);
  background: linear-gradient(180deg, rgba(19, 23, 26, 0), var(--paper));
  pointer-events: none;
}

.hero-content {
  width: min(840px, 100%);
  padding-top: clamp(10px, 4vh, 48px);
}

.hero-brand-logo {
  width: min(340px, 74vw);
  height: auto;
  margin-bottom: clamp(26px, 4.2vh, 42px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 5.95vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  margin-top: clamp(42px, 8vh, 72px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.hero-proof div {
  padding: 22px;
  background: rgba(18, 20, 23, 0.46);
}

.hero-proof strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.subpage-hero {
  padding: 156px clamp(20px, 5vw, 70px) clamp(72px, 8vw, 110px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(232, 240, 238, 0.72)),
    var(--paper);
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.62fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.subpage-grid > * {
  min-width: 0;
}

.subpage-hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(3rem, 6.4vw, 6.8rem);
}

.subpage-hero h1 span {
  display: block;
}

.subpage-hero .hero-lede {
  color: var(--muted);
}

.ai-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(103, 198, 235, 0.2);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 48%, rgba(20, 150, 212, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(5, 14, 20, 0.96), rgba(9, 28, 39, 0.88)),
    #071016;
  box-shadow: var(--shadow);
}

.ai-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(103, 198, 235, 0.16);
  background-image:
    linear-gradient(rgba(103, 198, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 198, 235, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.neural-globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.neural-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(103, 198, 235, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 26px rgba(20, 150, 212, 0.045),
    0 0 80px rgba(20, 150, 212, 0.2);
  pointer-events: none;
}

.section,
.section-band,
.section-dark {
  --section-pad-top: clamp(66px, 9vw, 118px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--section-pad-top) clamp(20px, 5vw, 70px) clamp(66px, 9vw, 118px);
}

.section {
  background:
    radial-gradient(ellipse at 92% 18%, rgba(20, 150, 212, 0.07), transparent 42%),
    radial-gradient(ellipse at 8% 92%, rgba(111, 173, 98, 0.055), transparent 44%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.38), rgba(247, 244, 238, 0.08) 46%, rgba(20, 150, 212, 0.035)),
    transparent;
}

.section::before,
.section-band::before,
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 20, 23, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 23, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.section-dark::before {
  background-image:
    linear-gradient(rgba(103, 198, 235, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 198, 235, 0.065) 1px, transparent 1px);
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-band {
  background:
    radial-gradient(ellipse at 86% 18%, rgba(20, 150, 212, 0.07), transparent 44%),
    radial-gradient(ellipse at 12% 90%, rgba(111, 173, 98, 0.055), transparent 46%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 238, 0.72)),
    var(--white);
}

.intro-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.health-copy h2,
.contact h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro p,
.section-heading p,
.health-copy p,
.extended-card p,
.service-card p,
.approach-steps p {
  color: var(--muted);
  line-height: 1.7;
}

.intro-grid > p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.45fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.section-aside {
  max-width: 340px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.services-section {
  --section-pad-top: clamp(52px, 6vw, 82px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 86% 16%, rgba(20, 150, 212, 0.095), transparent 42%),
    radial-gradient(ellipse at 8% 88%, rgba(111, 173, 98, 0.07), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(227, 234, 231, 0.62)),
    var(--paper);
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 20, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 23, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
}

.services-section .section-inner {
  position: relative;
  z-index: 2;
}

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

.service-card,
.extended-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 48px rgba(18, 20, 23, 0.06);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 292px;
  overflow: hidden;
  padding: 30px 34px 32px;
}

.service-card > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), rgba(111, 173, 98, 0.52));
}

.service-card h3,
.extended-card h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
  line-height: 1.12;
}

.service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  padding: 7px 9px;
  border: 1px solid rgba(18, 20, 23, 0.11);
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
}

.partner-strip {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(18, 20, 23, 0.94), rgba(32, 45, 52, 0.9)),
    #171a1e;
  box-shadow: 0 18px 52px rgba(18, 20, 23, 0.1);
}

.partner-strip p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 58px);
  align-items: center;
}

.partner-grid img {
  justify-self: center;
  max-width: min(100%, 172px);
  max-height: 46px;
  opacity: 0.78;
}

.partner-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 70px);
  background:
    radial-gradient(ellipse at 88% 12%, rgba(20, 150, 212, 0.11), transparent 42%),
    #0f1113;
}

.partner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 198, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 198, 235, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 82%, transparent);
}

.section-dark {
  background:
    radial-gradient(ellipse at 88% 14%, rgba(20, 150, 212, 0.11), transparent 42%),
    radial-gradient(ellipse at 10% 92%, rgba(111, 173, 98, 0.05), transparent 48%),
    var(--ink);
  color: var(--white);
}

.section-dark .section-kicker {
  color: #67c6eb;
}

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

.contact h2 {
  margin-bottom: 18px;
}

.approach-steps {
  counter-reset: model-step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.approach-steps div {
  counter-increment: model-step;
  position: relative;
  min-height: 278px;
  padding: 28px;
  background: #171a1e;
  overflow: hidden;
}

.approach-steps div::before {
  content: "0" counter(model-step);
  position: absolute;
  right: 28px;
  top: 28px;
  color: rgba(103, 198, 235, 0.42);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.approach-steps strong {
  display: block;
  margin-bottom: 78px;
  color: var(--green);
  font-size: 1.15rem;
}

.approach-steps div:last-child strong {
  color: #67c6eb;
}

.approach-steps p,
.contact .section-kicker + h2 + p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
}

fieldset {
  display: grid;
  gap: 13px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 18px;
  font-size: 1.08rem;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 800;
}

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

.check-card {
  position: relative;
  display: block;
  min-height: 154px;
  padding: 22px 22px 22px 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.check-card:hover {
  border-color: rgba(20, 150, 212, 0.34);
}

.check-card:has(input:checked) {
  border-color: rgba(20, 150, 212, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(20, 150, 212, 0.42),
    0 16px 40px rgba(20, 150, 212, 0.1);
}

.check-card input {
  position: absolute;
  left: 22px;
  top: 24px;
}

.check-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.16;
}

.check-copy {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
}

.compact-check {
  min-height: 128px;
  padding: 20px 18px 18px 52px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.compact-check input {
  left: 20px;
  top: 22px;
}

.compact-check .check-title {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.compact-check .check-copy {
  font-size: 0.82rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
}

input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(20, 150, 212, 0.18);
  border-color: var(--blue);
}

.form-note {
  min-height: 26px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.45;
}

.extended {
  background: #ece8de;
}

.extended-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.extended-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.58);
}

.extended-card:first-child {
  border-top: 5px solid var(--green);
}

.extended-card:last-child {
  border-top: 5px solid var(--clay);
}

.capability-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-grid {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 242, 234, 0.94)),
    #f5f2ea;
  color: var(--ink);
}

.contact-checks {
  margin: 0;
  padding: 0 0 8px;
}

.contact-checks legend {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: 0;
  text-transform: none;
}

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

.form-grid,
.contact-form > label,
.form-actions {
  margin-inline: 0;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
}

.contact-form .button {
  width: fit-content;
}

.form-actions .form-note {
  flex: 1 1 260px;
  margin: 0;
}

.ai-page-section {
  background: var(--white);
}

.ai-cta-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #171a1e;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.16);
}

.ai-cta-panel strong {
  display: block;
  margin-bottom: 20px;
  color: #67c6eb;
  font-size: 1.15rem;
}

.ai-cta-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.ai-cta-panel li {
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.ai-cta-panel li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 11px 1px -18px;
  border-radius: 50%;
  background: var(--green);
}

.ai-page {
  background:
    radial-gradient(circle at 78% 20%, rgba(20, 150, 212, 0.2), transparent 32vw),
    radial-gradient(circle at 15% 80%, rgba(111, 173, 98, 0.12), transparent 28vw),
    #071016;
  color: var(--white);
}

.ai-page .site-header,
.ai-page .subpage-hero .section-inner,
.ai-page .subpage-hero::before,
.ai-page .subpage-hero::after {
  animation: aiPageEnter 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ai-page .subpage-hero .section-inner {
  animation-delay: 120ms;
}

.ai-page .subpage-hero::before,
.ai-page .subpage-hero::after {
  animation-delay: 260ms;
}

.ai-page .site-header.is-scrolled,
.ai-page .site-header.is-open {
  background: rgba(7, 16, 22, 0.9);
  color: var(--white);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
}

.ai-page .site-header.is-scrolled .logo-light,
.ai-page .site-header.is-open .logo-light {
  display: block;
}

.ai-page .site-header.is-scrolled .logo-dark,
.ai-page .site-header.is-open .logo-dark {
  display: none;
}

.ai-page .subpage-hero {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(125deg, rgba(7, 16, 22, 0.98), rgba(10, 25, 36, 0.9) 48%, rgba(7, 16, 22, 0.98)),
    #071016;
}

.ai-page .subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(103, 198, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 198, 235, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(115deg, #000, transparent 72%);
}

.ai-page .subpage-hero::after {
  content: "";
  position: absolute;
  inset: 18% -12% auto auto;
  z-index: -1;
  width: 54vw;
  height: 54vw;
  border: 1px solid rgba(103, 198, 235, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 150, 212, 0.2), transparent 58%);
  animation: aiPulse 12s ease-in-out infinite;
}

.ai-page .subpage-grid {
  position: relative;
  z-index: 1;
}

.ai-page .subpage-hero h1,
.ai-page .section-heading h2,
.ai-page .contact h2 {
  color: var(--white);
}

.ai-page .subpage-hero .hero-lede,
.ai-page .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.ai-page .button-secondary.dark {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.ai-page .ai-visual {
  min-height: 480px;
  border-color: rgba(103, 198, 235, 0.24);
  background:
    linear-gradient(140deg, rgba(11, 32, 45, 0.86), rgba(5, 13, 19, 0.92)),
    #071016;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.ai-page .ai-visual::before {
  inset: 24px;
  border-color: rgba(103, 198, 235, 0.2);
  background:
    linear-gradient(90deg, rgba(103, 198, 235, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(103, 198, 235, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.ai-page .ai-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(76%, 380px);
  height: min(76%, 380px);
  border: 1px solid rgba(103, 198, 235, 0.18);
  border-top-color: rgba(103, 198, 235, 0.46);
  border-right-color: rgba(103, 198, 235, 0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: aiSpin 32s linear infinite;
}

.ai-page .ai-page-section {
  background:
    linear-gradient(180deg, rgba(7, 16, 22, 0.96), rgba(10, 20, 25, 0.98)),
    #071016;
}

.ai-page .service-card {
  min-height: 270px;
  border-color: rgba(103, 198, 235, 0.16);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.ai-page .service-card p {
  color: rgba(255, 255, 255, 0.66);
}

.ai-page .service-card h3 {
  color: var(--white);
}

@keyframes aiSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes aiPulse {
  0%,
  100% {
    opacity: 0.66;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

@keyframes aiPageEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 70px);
  background: #0f1113;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer > img {
  width: 172px;
}

.site-footer a {
  color: #67c6eb;
}

.powered-by {
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 190px;
}

.powered-by span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.powered-by img {
  width: min(220px, 46vw);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-card {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 980ms ease,
      transform 980ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
    width: 46px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    place-items: center;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    gap: 18px;
    padding-top: 18px;
  }

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

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 760px) {
  .hero {
    min-height: 82svh;
    padding-top: 118px;
  }

  .subpage-hero {
    padding-top: 124px;
  }

  .subpage-hero h1,
  .ai-page .subpage-hero h1 {
    font-size: clamp(2.15rem, 10vw, 4rem);
  }

  .ai-page .subpage-grid,
  .ai-page .subpage-hero h1,
  .ai-page .subpage-hero .hero-lede,
  .ai-page .hero-actions,
  .ai-page .ai-visual {
    max-width: calc(100vw - 40px);
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.6rem);
  }

  .hero-brand-logo {
    width: min(330px, 76vw);
    margin-bottom: 34px;
  }

  .hero-proof,
  .intro-grid,
  .split,
  .contact-grid,
  .section-heading,
  .service-grid,
  .extended-grid,
  .subpage-grid,
  .form-grid,
  .check-grid,
  .approach-steps {
    grid-template-columns: 1fr;
  }

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

  .partner-grid img {
    max-height: 38px;
  }

  .ai-visual {
    width: 100%;
    min-height: 320px;
  }

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

  .button {
    width: 100%;
  }

  .hero-proof div,
  .service-card,
  .approach-steps div {
    min-height: auto;
  }

  .approach-steps strong,
  .service-card span {
    margin-bottom: 28px;
  }

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

  .site-footer {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .site-footer > img {
    width: 164px;
  }

  .site-footer a {
    order: -1;
  }

  .powered-by {
    min-width: 0;
    width: 100%;
  }

  .powered-by img {
    width: min(150px, 54vw);
  }
}
