/* Alex The Tech: dark "circuit board" theme in the logo's electric blue. Mobile-first. */
:root {
  --bg: #050b1a;
  --bg-2: #08122a;
  --surface: #0c1834;
  --surface-2: #112145;
  --line: rgba(120, 160, 255, 0.16);
  --line-strong: rgba(120, 160, 255, 0.32);
  --text: #e9effc;
  --muted: #a3b3d4;
  --accent: #2f7bff;
  --accent-hi: #5c9bff;
  --cyan: #19c3ff;
  --ok: #34d399;
  --err: #ff6b7d;
  --grad: linear-gradient(135deg, #2f7bff 0%, #19c3ff 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(47, 123, 255, 0.45);
  --wrap: 1180px;
  --gutter: 16px;
  --head: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.7 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.15rem, 6.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--head);
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.above { position: relative; z-index: 1; }
.section.tight-top { padding-top: 20px; }
.card-title { font-size: 1.6rem; }
.footer-about { margin-top: 16px; }
.footer-bottom.solo { margin-top: 0; border-top: 0; padding-top: 0; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem/1 var(--head); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -10px rgba(47, 123, 255, .8); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(25, 195, 255, .8); }
/* a sweep of light across primary buttons on hover; the hero button shimmers now and then on its own */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-130%) skewX(-20deg);
}
.btn-primary:hover::after { animation: shimmer .8s ease; }
.hero .btn-primary::after { animation: shimmer-idle 7s ease-in-out 2.5s infinite; }
.hero .btn-primary:hover::after { animation: shimmer .8s ease; }
@keyframes shimmer { from { transform: translateX(-130%) skewX(-20deg); } to { transform: translateX(330%) skewX(-20deg); } }
@keyframes shimmer-idle {
  0% { transform: translateX(-130%) skewX(-20deg); }
  12%, 100% { transform: translateX(330%) skewX(-20deg); }
}
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { color: var(--text); background: rgba(47, 123, 255, .14); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 11, 26, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 800 1.25rem/1 var(--head); }
.brand:hover { color: var(--text); }
.brand img { width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--accent), 0 0 18px rgba(47, 123, 255, .55); }
.brand span b { color: var(--accent-hi); font-weight: 800; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; gap: 4px; padding: 12px var(--gutter) 20px;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .8);
  list-style: none; margin: 0;
}
.nav-menu.open { display: flex; }
.nav-menu a:not(.btn) { display: block; padding: 12px 6px; color: var(--text); text-decoration: none; font: 600 1.05rem/1.2 var(--head); border-bottom: 1px solid var(--line); }
.nav-menu a:not(.btn):hover, .nav-menu a[aria-current="page"] { color: var(--cyan); }
.nav-menu .btn { margin-top: 12px; width: 100%; }
.no-js .nav-toggle { display: none; }
.no-js .nav-menu { position: static; display: flex; flex-direction: row; flex-wrap: wrap; padding: 0; background: none; border: 0; }
@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .nav-menu { position: static; display: flex; flex-direction: row; align-items: center; gap: 6px; padding: 0; background: none; border: 0; }
  .nav-menu a:not(.btn) { border: 0; padding: 10px 12px; font-size: .98rem; border-radius: 8px; color: var(--muted); }
  .nav-menu .btn { margin: 0 0 0 10px; width: auto; min-height: 42px; padding: 10px 20px; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 56px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: .5; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(47, 123, 255, .22), transparent 60%),
    linear-gradient(180deg, rgba(5, 11, 26, .55) 0%, rgba(5, 11, 26, .82) 60%, var(--bg) 100%);
}
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 600px; color: #c8d5f0; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--cyan); }
@media (min-width: 920px) { .hero { padding: 120px 0 96px; } }
/* circuit traces behind the hero text; pulses of light run in from the right edge */
.hero > .wrap { position: relative; z-index: 1; }
.hero-circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-circuit .traces path { fill: none; stroke: rgba(92, 155, 255, .2); stroke-width: 1.5; }
.hero-circuit .pads circle { fill: var(--bg); stroke: rgba(92, 155, 255, .45); stroke-width: 1.5; }
.hero-circuit .pulses path {
  fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 60 1000; stroke-dashoffset: 60;
  filter: drop-shadow(0 0 6px rgba(25, 195, 255, .9));
  animation: pulse 5s linear infinite;
}
.hero-circuit .pulses .p2 { animation-duration: 6.5s; animation-delay: 1.2s; }
.hero-circuit .pulses .p3 { animation-duration: 5.5s; animation-delay: 2.6s; }
.hero-circuit .pulses .p4 { animation-duration: 7s; animation-delay: .6s; }
.hero-circuit .pulses .p5 { animation-duration: 4.5s; animation-delay: 3.4s; }
.hero-circuit .pulses .p6 { animation-duration: 8s; animation-delay: 1.8s; }
@keyframes pulse { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -1000; } }
@media (max-width: 720px) { .hero-circuit { opacity: .4; } }

.features { display: grid; gap: 14px; margin-top: 48px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, 1fr); margin-top: 72px; } }
.feature {
  background: rgba(12, 24, 52, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.feature h2 { font-size: 1.12rem; margin: 14px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, rgba(47, 123, 255, .22), rgba(25, 195, 255, .12));
  box-shadow: inset 0 0 0 1px rgba(92, 155, 255, .35); color: var(--cyan);
}
.icon svg { width: 24px; height: 24px; }

/* ---------- sections ---------- */
.section { padding: 72px 0; position: relative; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
@media (min-width: 920px) { .section { padding: 104px 0; } }
.circuit {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
}
.section > .wrap { position: relative; z-index: 1; }

/* about */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .about { grid-template-columns: 5fr 7fr; gap: 64px; } }
.about-photo { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.about-photo::before {
  content: ""; position: absolute; inset: -10px; border-radius: 28px; z-index: 0;
  background: var(--grad); opacity: .7; filter: blur(22px);
}
/* a light slowly circles the photo, like the service cards' trace */
.about-photo::after {
  content: ""; position: absolute; inset: -3px; border-radius: 27px; padding: 2px; z-index: 1; pointer-events: none;
  background: conic-gradient(from var(--trace), transparent 0deg 200deg, rgba(25, 195, 255, .2) 250deg, var(--cyan) 320deg, #fff 340deg, var(--accent) 355deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: trace 6s linear infinite;
}
.about-photo img { position: relative; z-index: 1; border-radius: 24px; aspect-ratio: 640 / 761; object-fit: cover; border: 1px solid var(--line-strong); }
.about-badge {
  position: absolute; z-index: 2; right: -6px; bottom: 22px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); font-family: var(--head);
}
.about-badge strong { display: block; font-size: 1.6rem; line-height: 1; }
.about-badge span { font-size: .8rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 4px; }

/* services */
.services { display: grid; gap: 16px; }
@media (min-width: 620px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column; gap: 4px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: transparent; }
.service h3 { margin: 16px 0 6px; }
.service p { margin: 0; color: var(--muted); font-size: .95rem; }
/* services: a light traces the border and a spotlight follows the pointer on hover */
@property --trace { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes trace { to { --trace: 360deg; } }
@keyframes trace-once {
  0% { --trace: 0deg; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { --trace: 360deg; opacity: 0; }
}
.service { position: relative; isolation: isolate; }
.service::before, .service::after {
  content: ""; position: absolute; border-radius: inherit; pointer-events: none; z-index: -1;
  opacity: 0; transition: opacity .35s ease;
}
.service::before {
  inset: -1px; padding: 2px;
  background: conic-gradient(from var(--trace), transparent 0deg 250deg, rgba(25, 195, 255, .15) 285deg, var(--cyan) 330deg, #fff 345deg, var(--accent) 355deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: trace 2.6s linear infinite paused;
}
.service::after { inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 123, 255, .18), transparent 65%); }
.service:hover::before, .service:focus-visible::before { opacity: 1; animation-play-state: running; }
.service:hover::after { opacity: 1; }
.service .icon { transition: transform .3s ease, box-shadow .3s ease; }
.service:hover .icon { transform: scale(1.08) rotate(-4deg); box-shadow: inset 0 0 0 1px rgba(92, 155, 255, .6), 0 0 22px rgba(25, 195, 255, .45); }
/* "Don't see your device?" keeps a slow lap running to draw the eye */
.service-cta::before { opacity: 1; animation: trace 5s linear infinite; }
/* touch screens have no hover: one lap of light as each card scrolls into view */
@media (hover: none) and (pointer: coarse) {
  .js .service.reveal.in:not(.service-cta)::before { animation: trace-once 1.8s ease-out .15s 1 both; }
}
.service-cta {
  text-decoration: none; color: var(--text);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
}
a.service { text-decoration: none; color: var(--text); }
a.service:hover { color: var(--text); }
.service .service-link {
  margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); font: 700 .95rem/1 var(--head);
}
.service .service-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service:hover .service-link svg { transform: translateX(4px); }

/* ---------- service pages ---------- */
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "\203A"; margin-left: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.svc-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.svc-layout .prose { max-width: none; }
.svc-layout .prose > h2:first-child { margin-top: 0; }
.svc-layout .faq { margin: 0; }
.checks.single { grid-template-columns: 1fr; margin-bottom: 8px; }
.svc-steps { margin: 0 0 8px; padding-left: 1.3em; }
.svc-steps li { margin-bottom: .6em; padding-left: .3em; }
.svc-steps li::marker { color: var(--cyan); font: 800 1rem var(--head); }
.svc-aside .card { display: grid; gap: 14px; }
.svc-aside .card-title { margin: 0; font-size: 1.3rem; }
.svc-aside p { margin: 0; }
.aside-actions { display: grid; gap: 10px; }
.aside-actions .btn { width: 100%; }
.aside-note { font-size: .85rem; color: var(--muted); }
@media (min-width: 960px) { .svc-aside { position: sticky; top: 92px; } }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step {
  position: relative; padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(47, 123, 255, .1), rgba(12, 24, 52, .4)); border: 1px solid var(--line);
}
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; font: 800 1.15rem/1 var(--head);
  box-shadow: 0 8px 22px -8px rgba(47, 123, 255, .8);
}
.step h3 { margin: 16px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
/* Steps "power on" one after another when the section scrolls in; on wide screens the
   connectors between them fill with light in sequence. */
.js .step .step-num { filter: grayscale(1) brightness(.55); box-shadow: none; transition: filter .45s ease, box-shadow .45s ease; }
.js .step.in .step-num { filter: none; box-shadow: 0 0 0 6px rgba(47, 123, 255, .14), 0 8px 22px -8px rgba(47, 123, 255, .8); }
.step:nth-child(1) .step-num { transition-delay: .15s; }
.step:nth-child(2) .step-num { transition-delay: .65s; }
.step:nth-child(3) .step-num { transition-delay: 1.15s; }
.step:nth-child(4) .step-num { transition-delay: 1.65s; }
@media (min-width: 1000px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 47px; right: -21px; width: 22px; height: 2px;
    background: var(--grad); box-shadow: 0 0 10px rgba(25, 195, 255, .7);
    transform-origin: left; transition: transform .35s ease;
  }
  .js .step:not(.in)::after { transform: scaleX(0); }
  .step:nth-child(1)::after { transition-delay: .45s; }
  .step:nth-child(2)::after { transition-delay: .95s; }
  .step:nth-child(3)::after { transition-delay: 1.45s; }
}

/* testimonials */
.quotes { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .quotes { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .quote:last-child:nth-child(odd) { grid-column: 1 / -1; } /* an odd count ends on one full-width card */
}
.quote {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 18px;
}
.stars { display: flex; gap: 3px; color: #ffc93c; }
.stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0; font-size: 1.02rem; color: #d6e0f5; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-family: var(--head); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--grad); color: #fff; font-weight: 800;
}
.quote figcaption strong { display: block; line-height: 1.2; }
.quote figcaption span { font-size: .85rem; color: var(--muted); font-family: var(--body); }
.quote figcaption .avatar { color: #fff; font: 800 .95rem/1 var(--head); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font: 700 1.05rem/1.4 var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
/* answers slide open where the browser can animate to height:auto; elsewhere they open instantly as before */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .32s ease, content-visibility .32s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
.faq .answer p:last-child { margin: 0; }

/* cta band */
.cta {
  position: relative; overflow: hidden; border-radius: 24px; padding: 44px 24px; text-align: center;
  background: radial-gradient(ellipse at top left, rgba(25, 195, 255, .35), transparent 55%), linear-gradient(135deg, #1546b8, #0b2a73 60%, #081b4d);
  border: 1px solid rgba(92, 155, 255, .4); box-shadow: 0 30px 70px -30px rgba(47, 123, 255, .6);
}
.cta h2 { max-width: 780px; margin: 0 auto 14px; }
.cta p { color: #c8d7f7; max-width: 620px; margin: 0 auto 26px; }
.cta .btn-row { justify-content: center; }
.cta .btn-primary { background: #fff; color: #0b2a73; }
.cta .btn-primary:hover { color: #0b2a73; }
.cta .btn-primary::after { background: linear-gradient(100deg, transparent, rgba(47, 123, 255, .28), transparent); }
@media (min-width: 720px) { .cta { padding: 64px 48px; } }

/* ---------- contact ---------- */
.page-hero { padding: 56px 0 24px; position: relative; overflow: hidden; }
.page-hero .lead { max-width: 640px; }
@media (min-width: 920px) { .page-hero { padding: 88px 0 32px; } }
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 40px; } }
.info-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.info-item {
  display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: border-color .2s ease;
}
a.info-item:hover { color: var(--text); border-color: var(--accent); }
.info-item small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-item strong { font: 700 1.08rem/1.3 var(--head); word-break: break-word; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .card { padding: 36px; } }
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 620px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font: 600 .92rem/1.2 var(--head); }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 13px 14px; min-height: 50px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 123, 255, .3); }
.field input::placeholder, .field textarea::placeholder { color: #6c7ea3; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form .btn { width: 100%; }
@media (min-width: 620px) { .form .btn { width: auto; justify-self: start; } }
.status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.status.show { display: block; }
.status.ok { background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #a7f3d0; }
.status.err { background: rgba(255, 107, 125, .12); border: 1px solid rgba(255, 107, 125, .4); color: #ffc2ca; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.message-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.message-page .icon { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 20px; }
.message-page .icon svg { width: 36px; height: 36px; }
.message-page .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #040915; padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.site-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer p { color: var(--muted); max-width: 380px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--muted); font-size: .88rem; }

/* ---------- mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 11, 26, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.mobile-bar .btn { min-height: 46px; padding: 10px 14px; }
body.has-bar { padding-bottom: 72px; }
@media (min-width: 920px) { .mobile-bar { display: none; } body.has-bar { padding-bottom: 0; } }

/* ---------- page transitions ----------
   Pages cross-fade into each other (Chrome, Edge, Safari); the header and mobile bar stay put. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.mobile-bar { view-transition-name: mobile-bar; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ---------- reveal on scroll ---------- */
/* `translate` (not `transform`) so cards keep their own hover lift after revealing */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.js .reveal.in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .hero-circuit .pulses { display: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
