:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #f0f7ff;
  background: #101323;
  --ink: #101323;
  --surface: #161d30;
  --muted: #bacbdd;
  --cyan: #8fe6f5;
  --coral: #f7ad9c;
  --line: #375572;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.02; letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { line-height: 1.22; }
p, li { line-height: 1.6; }
.wrap { width: min(1152px, calc(100% - 4rem)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.skip { position: fixed; inset: .75rem auto auto .75rem; z-index: 3; transform: translateY(-160%); padding: .65rem 1rem; color: var(--ink); background: var(--cyan); }
.skip:focus { transform: none; }

.site-header { background: #131423; border-bottom: 1px solid #34435a; }
.header-inner, nav { display: flex; align-items: center; }
.header-inner { min-height: 82px; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.18rem; font-weight: 750; line-height: 1.1; letter-spacing: -.03em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  aspect-ratio: 1;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: #e5f8ff;
  background: radial-gradient(circle at 55% 68%, #183854, #141727 74%);
  font-size: .95rem;
  letter-spacing: -.07em;
  box-shadow: inset 0 0 0 3px #1f2a3d, 0 0 15px #5ab7e340;
}
.brand small { display: block; margin-top: .26rem; font-size: .72rem; color: var(--cyan); letter-spacing: .03em; font-weight: 600; }
nav { flex-wrap: wrap; gap: .65rem clamp(1rem, 2.7vw, 2rem); }
nav a { font-size: .94rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--cyan); }
.nav-contact { padding: .55rem .9rem; border: 1px solid #5e859f; border-radius: 99px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #0e1525; }
.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  transform: translateY(var(--parallax-y, 0px));
}
.hero-art img { position: absolute; inset: 0; width: 100%; height: calc(100% + 65px); object-fit: cover; object-position: center; }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #0c1425e3 2%, #0c14255c 28%, transparent 41%, transparent 59%, #0c14253b 75%, #0c1425d9 98%),
    linear-gradient(0deg, var(--ink) 0%, #10132390 12%, transparent 30%);
  pointer-events: none;
}
.hero-inner {
  min-height: clamp(520px, 51vw, 710px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 2fr) minmax(0, .95fr);
  align-items: center;
  gap: 1rem;
  padding-block: 2rem 7.5rem;
}
.hero-copy p { color: #d7e5f4; max-width: 31ch; margin-top: 1rem; }
h1 { font-size: clamp(2.8rem, 5.6vw, 5.35rem); }
h1 em { font-style: normal; color: var(--cyan); }
.hero-links { grid-column: 3; display: grid; gap: .85rem; }
.hero-links a {
  display: block;
  padding: .85rem 1rem;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid #6399b8;
  border-radius: .5rem;
  background: #11192be8;
  box-shadow: inset 0 0 18px #8cb7da13, 0 10px 35px #080e1c42;
}
.hero-links a:first-child { border-color: #ca8e91; }
.hero-links a:hover { background: #23354b; }
.hero-links small { display: block; margin-top: .25rem; color: var(--muted); font-size: .85rem; font-weight: 450; }
.seal {
  position: absolute;
  left: 50%;
  top: calc(41% + 27px);
  display: grid;
  place-items: center;
  width: clamp(6rem, 13vw, 12rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #12192c 50%, #10182a55 72%);
}
.seal span {
  padding-right: .1em;
  color: #e3f6ff;
  font-size: clamp(3.4rem, 7vw, 6.15rem);
  font-weight: 850;
  letter-spacing: -.12em;
  line-height: 1;
  transform: skewY(-8deg);
  text-shadow: .04em .05em 0 #45769b, 0 0 .35em #76c9f14d;
}

.services { padding-top: clamp(1.5rem, 4vw, 3.75rem); }
.section-heading { display: grid; grid-template-columns: 1.2fr .9fr; align-items: end; gap: 1rem 2rem; margin-bottom: 2.4rem; }
.section-heading p, .service-grid p, .about p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.service-grid article {
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: linear-gradient(150deg, #192237, #15192a 75%);
}
.service-icon { display: grid; place-items: center; position: relative; width: 3rem; aspect-ratio: 1; margin-bottom: 1rem; color: var(--cyan); border: 1px solid currentColor; border-radius: 50%; box-shadow: 0 0 16px #86c3ef24; }
.service-icon i { display: block; width: 1.25rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.icon-ai i { box-shadow: inset 0 0 0 4px #1a2840, inset 0 0 0 5px currentColor; }
.icon-flow { color: var(--coral); }
.icon-flow i { height: .9rem; border-radius: .12rem; transform: rotate(-30deg); box-shadow: .35rem .3rem 0 -.1rem #25324a, .35rem .3rem 0 -.04rem currentColor; }
.icon-data i { border-radius: .15rem; background: repeating-linear-gradient(0deg, transparent 0 4px, #8fe6f570 4px 5px); }
.service-grid h3 { font-size: 1.35rem; }
.service-grid p { margin-top: .55rem; }
.examples { display: grid; gap: .9rem; margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.examples strong, .examples span { display: block; }
.examples strong { color: var(--cyan); }
.examples span { color: var(--muted); margin-top: .12rem; }

.workflow-section { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 82% 8%, #23425d, transparent 61%), #101827; }
.workflow { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.eyebrow { color: var(--coral); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.workflow h2 { margin-block: .65rem 1rem; }
.workflow p:not(.eyebrow) { color: var(--muted); }
.demo { border: 1px solid #50728a; border-radius: .65rem; background: #121b2d; padding: clamp(1rem, 2.5vw, 1.6rem); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.steps button { background: #202d43; color: #e4effa; border: 1px solid #496882; border-radius: .35rem; padding: .5rem .2rem; min-height: 44px; font: 650 .875rem system-ui, sans-serif; cursor: pointer; }
.steps button:hover { border-color: var(--cyan); }
.steps button[aria-pressed="true"] { color: #102038; background: var(--cyan); border-color: var(--cyan); }
.demo-progress { height: 2px; background: #36506c; margin-top: 1rem; }
.demo-progress span { display: block; width: var(--progress, 25%); height: 100%; background: linear-gradient(90deg, var(--cyan), var(--coral)); transition: width .23s ease; }
.detail { min-height: 11rem; padding-top: 1.2rem; }
.detail p { margin-top: .45rem; }
.detail .example { margin-top: .85rem; padding: .6rem .75rem; border-left: 2px solid var(--coral); background: #1d2c42; }

.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.75rem, 6vw, 5rem); }
.about p { margin-top: .8rem; }
.contact { padding: clamp(1.3rem, 3.3vw, 2.25rem); border: 1px solid var(--line); border-radius: .65rem; background: #18243a; }
.contact h2 { font-size: clamp(1.8rem, 3.25vw, 2.5rem); }
.button { display: inline-block; margin-top: 1.1rem; padding: .75rem .95rem; border-radius: .45rem; background: var(--coral); color: #211824; font-weight: 750; text-decoration: none; }
.button:hover { background: #ffc7bc; }
.footer { display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--muted); border-top: 1px solid var(--line); padding-block: 1.35rem; }
.footer a { color: var(--cyan); text-underline-offset: .2em; }

@media (max-width: 790px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(115px, 1.45fr) minmax(0, 1fr); }
  .workflow, .about { grid-template-columns: 1fr; }
  .service-grid { gap: .7rem; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { gap: .55rem; }
  nav { width: 100%; justify-content: space-between; gap: .35rem .65rem; }
  nav a { font-size: .86rem; }
  .nav-contact { padding: .38rem .55rem; }
  .hero-inner { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding-block: clamp(16rem, 67vw, 23rem) 2.5rem; gap: 1.2rem; }
  .hero-art { height: clamp(18rem, 78vw, 26rem); }
  .hero::after { background: linear-gradient(0deg, var(--ink) 22%, #101323e5 40%, #10132300 68%); }
  h1 { font-size: clamp(3.1rem, 12vw, 4.5rem); }
  h1 br { display: none; }
  .hero-copy p { max-width: 38ch; }
  .hero-links { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hero-links a { padding: .65rem .7rem; }
  .hero-links small { font-size: .79rem; }
  .seal { width: 6.25rem; }
  .seal span { font-size: 3.65rem; }
  .service-grid, .section-heading { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .steps, .hero-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art { transform: none; }
  .demo-progress span { transition: none; }
}
