:root {
  --bg: #f4f7fb;
  --paper: #ffffff;
  --ink: #08101f;
  --muted: #667085;
  --soft: #edf2f8;
  --line: #dce4ef;
  --blue: #2764ff;
  --cyan: #51d8ff;
  --navy: #07111f;
  --navy-2: #0b1930;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(39,100,255,.07), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 36%, #f7f9fc 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(8,16,31,.08);
}
.brand, .text-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -.01em;
}
.text-link { color: var(--blue); }
.text-link span { margin-left: 5px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 70px;
  align-items: center;
  margin-top: 28px;
  padding: 72px 68px 78px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(81,216,255,.14), transparent 25%),
    radial-gradient(circle at 65% 110%, rgba(39,100,255,.24), transparent 34%),
    linear-gradient(145deg, #07101e 0%, #0a1730 62%, #0b1c38 100%);
  color: white;
  box-shadow: 0 24px 80px rgba(7,17,31,.13);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -280px;
  top: -265px;
  border: 1px solid rgba(81,216,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(81,216,255,.025), 0 0 0 180px rgba(39,100,255,.022);
  pointer-events: none;
}
.hero-copy, .signal { position: relative; z-index: 1; }
.hero-copy { max-width: 820px; }
.identity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.identity img {
  width: 118px;
  height: 118px;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 42px rgba(0,0,0,.28), 0 0 0 7px rgba(255,255,255,.035);
}
.identity div { display: grid; gap: 7px; }
.identity strong { font-size: 16px; letter-spacing: -.015em; }
.identity span { color: #9facbf; font-size: 13px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--cyan); }
.hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(58px, 7.4vw, 102px);
  line-height: .91;
  letter-spacing: -.064em;
  font-weight: 780;
}
.hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #5ee1ff 0%, #5f8dff 70%, #9baeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: #aebacf;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
  letter-spacing: -.025em;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 38px;
}
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 23px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2b68ff, #1750e8);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 780;
  box-shadow: 0 12px 28px rgba(39,100,255,.25);
  transition: transform .18s ease, filter .18s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hero-actions p { margin: 0; display: grid; gap: 4px; }
.hero-actions strong { font-size: 14px; }
.hero-actions p span { color: #8f9cb1; font-size: 12px; }

.signal {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(6,15,29,.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 50px rgba(0,0,0,.15);
  backdrop-filter: blur(14px);
}
.signal-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.signal-label { color: #9facbf; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: #a8e9c4; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #46d98b; box-shadow: 0 0 0 5px rgba(70,217,139,.08); }
.automation-map { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 7px; margin-bottom: 23px; }
.automation-map span { padding: 7px 8px; border: 1px solid rgba(255,255,255,.11); border-radius: 7px; color: #dce7f8; font-size: 9px; font-weight: 780; }
.automation-map i { height: 1px; background: linear-gradient(90deg, rgba(81,216,255,.22), rgba(81,216,255,.9)); position: relative; }
.automation-map i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px rgba(81,216,255,.8); }
.signal-track { display: flex; gap: 6px; margin-bottom: 17px; }
.signal-track i { flex: 1; height: 3px; border-radius: 5px; background: #61dcff; opacity: .18; }
.signal-track i:nth-child(2) { opacity: .38; }
.signal-track i:nth-child(3) { opacity: .64; }
.signal-track i:nth-child(4) { opacity: 1; }
.signal p { margin: 8px 0; color: #8796ad; font-size: 12px; }
.signal strong { display: block; margin-top: 22px; color: #eef4ff; font-size: 14px; line-height: 1.5; }

.services, .lifecycle, .proof { padding: 108px 0; }
.services { border-bottom: 1px solid var(--line); }
.lifecycle { border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: end; margin-bottom: 56px; }
.section-head .eyebrow { margin: 0; }
.section-head h2 { margin: 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1; letter-spacing: -.052em; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-grid article {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(8,16,31,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 35px rgba(19,42,79,.055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-grid article::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: 0; transition: opacity .2s ease; }
.service-grid article:hover { transform: translateY(-5px); border-color: rgba(39,100,255,.2); box-shadow: 0 20px 42px rgba(19,42,79,.09); }
.service-grid article:hover::after { opacity: 1; }
.number { color: var(--blue); font-size: 11px; font-weight: 820; }
.service-grid h3 { margin: 82px 0 12px; max-width: 220px; font-size: 21px; line-height: 1.05; letter-spacing: -.035em; }
.service-grid p { margin: 0; max-width: 235px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.section-head.compact { margin-bottom: 48px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.flow li { position: relative; min-height: 130px; padding: 23px 20px 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 760; letter-spacing: -.025em; }
.flow li:not(:nth-child(4n + 1)) { padding-left: 20px; border-left: 1px solid var(--line); }
.flow li span { display: block; margin-bottom: 38px; color: var(--blue); font-size: 10px; letter-spacing: .08em; }
.flow li:not(:nth-child(4n))::after { content: "→"; position: absolute; right: 18px; bottom: 20px; color: #adb6c6; font-weight: 500; }
.supporting { margin: 28px 0 0 auto; max-width: 590px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.proof { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: start; }
.proof-main h2 { max-width: 620px; margin: 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.03; letter-spacing: -.05em; font-weight: 650; }
.proof-main h2 strong { color: var(--blue); font-weight: 800; }
.companies { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.companies span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: #3a465b; font-size: 12px; font-weight: 720; }
.work-card { padding: 30px; border-radius: 18px; background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: white; box-shadow: 0 20px 50px rgba(7,17,31,.12); }
.work-card .eyebrow { color: var(--cyan); }
.work-flow { margin: 0; font-size: 17px; line-height: 1.7; font-weight: 650; }
.work-flow i { color: #7794ca; font-style: normal; padding: 0 3px; }
.work-card hr { margin: 26px 0 22px; border: 0; border-top: 1px solid rgba(255,255,255,.14); }
.work-card dl { margin: 0; display: grid; gap: 15px; }
.work-card dl div { display: flex; justify-content: space-between; gap: 20px; }
.work-card dt { color: #8f9db8; font-size: 12px; }
.work-card dd { margin: 0; text-align: right; font-size: 12px; font-weight: 750; }

.stack { min-height: 112px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); color: #43506a; font-size: 13px; font-weight: 720; }
.stack i { color: #aeb7c5; font-style: normal; }
.contact { position: relative; overflow: hidden; margin-top: 18px; margin-bottom: 24px; padding: 82px 72px; border-radius: 24px; background: linear-gradient(135deg, #1b55ec, #173ca6 72%, #102b74); color: white; box-shadow: 0 22px 60px rgba(27,85,236,.18); }
.contact::after { content: ""; position: absolute; width: 440px; height: 440px; right: -180px; top: -220px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.contact .eyebrow { color: #c7eaff; }
.contact h2 { position: relative; z-index: 1; max-width: 870px; margin: 0 0 34px; font-size: clamp(38px, 5.3vw, 68px); line-height: .98; letter-spacing: -.055em; }
.button.light { position: relative; z-index: 1; background: white; color: var(--blue); box-shadow: none; }
.button.light:hover { filter: none; background: #edf3ff; }
.email { position: relative; z-index: 1; display: inline-block; margin-left: 24px; color: white; font-size: 13px; font-weight: 720; text-underline-offset: 4px; }
footer { min-height: 88px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 32px; padding: 58px 48px 60px; }
  .signal { align-self: auto; max-width: 430px; margin-left: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:not(:nth-child(4n + 1)) { border-left: 0; }
  .flow li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .flow li:not(:nth-child(4n))::after { display: none; }
  .proof { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 68px; }
  .hero { margin-top: 14px; padding: 42px 22px 48px; border-radius: 22px; }
  .identity { margin-bottom: 40px; gap: 16px; }
  .identity img { width: 96px; height: 96px; border-radius: 19px; }
  .identity strong { font-size: 14px; }
  .hero h1 { font-size: clamp(50px, 15.8vw, 72px); }
  .lead { margin-top: 25px; font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .signal { display: none; }
  .services, .lifecycle, .proof { padding: 72px 0; }
  .section-head { display: block; margin-bottom: 38px; }
  .section-head .eyebrow { margin-bottom: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 225px; }
  .service-grid h3 { margin-top: 55px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li { min-height: 112px; padding-top: 20px; font-size: 15px; }
  .flow li span { margin-bottom: 29px; }
  .supporting { margin-top: 24px; }
  .work-card { padding: 24px 20px; }
  .work-card dl div { display: grid; gap: 4px; }
  .work-card dd { text-align: left; }
  .stack { justify-content: flex-start; padding: 28px 0; }
  .contact { width: calc(100% - 28px); margin-top: 0; padding: 54px 24px; border-radius: 18px; }
  .contact h2 { margin-bottom: 29px; font-size: 42px; }
  .email { display: block; margin: 20px 0 0; }
  footer { min-height: 80px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service-grid article { transition: none; }
}
