:root {
  --blue: #079dd3;
  --blue-deep: #0679a3;
  --grey: #656565;
  --navy: #0b1f33;
  --navy-2: #102a44;
  --ink: #13212e;
  --muted: #546372;
  --line: #dfe7ee;
  --cloud: #f3f7fa;
  --amber: #f2a93b;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-deep); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; }

h1, h2, h3 { margin: 0; color: inherit; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.sub { color: var(--muted); max-width: 62ch; margin: 14px 0 0; font-size: 18px; }
.section-head { margin-bottom: 44px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; line-height: 1; transition: background-color .15s, border-color .15s, color .15s; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-deep); }
.btn.outline { color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn.outline:hover { border-color: #fff; }
.btn.small { padding: 10px 18px; font-size: 15px; }
.btn.big { padding: 17px 30px; font-size: 17px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
header.site .brand img { height: 34px; width: auto; }
header.site nav { display: flex; gap: 26px; margin-left: auto; }
header.site nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
header.site nav a:hover { color: var(--blue-deep); }

/* Hero */
.hero { background: radial-gradient(900px 520px at 85% 10%, rgba(7,157,211,.22), transparent 60%), var(--navy); color: #fff; padding: 84px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-weight: 600; font-size: 15px; color: #cfe8f4; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242,169,59,.18); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; max-width: 15.5ch; }
.hero .lead { color: #b9cfdd; font-size: 19px; max-width: 54ch; margin: 24px 0 34px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 40px 0 0; color: #8fb1c6; font-weight: 600; font-size: 14px; }
.platforms li { position: relative; }
.platforms li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #3b6a8c; }

.machine { margin: 0; }
.machine svg { width: 100%; height: auto; display: block; }
.machine .mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 10.4px; fill: #cfe8f4; }
.machine .mono.dim, .machine .label.dim { fill: #7fa3ba; }
.machine .k { fill: #5cc6ee; }
.machine .f { fill: #f2c47a; }
.machine .label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12.5px; font-weight: 700; fill: #e6f3fa; }
.machine .build-text { fill: #b9cfdd; font-size: 11px; }

/* One orchestrated build sequence on load */
.machine .w { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .7s ease-out forwards; }
.machine .w1 { animation-delay: .3s; } .machine .w2 { animation-delay: .8s; } .machine .w3 { animation-delay: .55s; } .machine .w4 { animation-delay: .8s; }
.machine .t { opacity: 0; animation: appear .5s ease-out forwards; }
.machine .t1 { animation-delay: .75s; } .machine .t2 { animation-delay: 1.05s; } .machine .t3 { animation-delay: 1s; } .machine .t4 { animation-delay: 1.25s; }
.machine .build-dot { animation: done .01s linear 1.6s forwards; }
.machine .pulse { transform-origin: 30px 31px; transform-box: view-box; opacity: 0; animation: pulse 2.4s ease-out 1.8s 3; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes done { to { fill: #3ccf8e; } }
@keyframes pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@media (prefers-reduced-motion: reduce) {
  .machine .w { animation: none; stroke-dashoffset: 0; }
  .machine .t { animation: none; opacity: 1; }
  .machine .build-dot { animation: none; fill: #3ccf8e; }
  .machine .pulse { animation: none; }
}

/* Stack strip */
.stack { background: var(--navy-2); color: #8fb1c6; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.06); }
.stack .wrap { display: flex; align-items: center; gap: 28px; }
.stack p { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.stack ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { font-size: 13.5px; font-weight: 600; color: #d7e9f3; border: 1px solid rgba(207,232,244,.18); border-radius: 999px; padding: 5px 12px; }

/* Services */
.services { padding: 104px 0 96px; }
.platform-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--cloud); border-radius: var(--radius-lg); padding: 28px 24px 24px; display: flex; flex-direction: column; }
.tile-art { width: 64px; height: 64px; color: var(--blue); margin-bottom: 22px; }
.tile-art svg { width: 100%; height: 100%; }
.tile p { color: var(--muted); font-size: 15.5px; margin: 10px 0 0; }
.tile p.tile-tech { margin-top: auto; padding-top: 18px; color: var(--ink); font-weight: 600; font-size: 13.5px; }

.capabilities { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.capabilities li { display: flex; gap: 16px; align-items: flex-start; }
.cap-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(7,157,211,.1); color: var(--blue-deep); display: grid; place-items: center; }
.cap-icon svg { width: 22px; height: 22px; }
.capabilities h3 { font-size: 17px; }
.capabilities p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }

/* AI */
.ai { background: var(--cloud); padding: 104px 0; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ai-list { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.ai-list li { padding-left: 22px; position: relative; color: var(--muted); }
.ai-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.ai-list strong { color: var(--ink); }
.agent-flow { margin: 0; background: var(--navy); color: #fff; border-radius: 24px; padding: 32px 32px 28px; }
.agent-flow figcaption { font-weight: 700; color: #cfe8f4; font-size: 15px; margin-bottom: 22px; }
.agent-flow ol { list-style: none; margin: 0; padding: 0; position: relative; }
.agent-flow ol::before { content: ""; position: absolute; left: 51px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--blue), rgba(7,157,211,.2)); }
.agent-flow li { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: center; padding: 9px 0; position: relative; }
.agent-flow .node { justify-self: center; z-index: 1; background: var(--navy-2); border: 1.5px solid var(--blue); color: #e6f3fa; border-radius: 999px; padding: 6px 0; width: 104px; text-align: center; font-weight: 700; font-size: 14px; }
.agent-flow .node.check { border-color: var(--amber); color: #ffe3b5; }
.agent-flow .node.done { background: var(--blue); }
.agent-flow .desc { color: #b9cfdd; font-size: 15px; }

/* Why */
.why { padding: 104px 0; }
.why h2 { margin-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.why-grid > div { padding: 28px 28px 0 0; }
.why-grid > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.why-grid p { color: var(--muted); font-size: 15.5px; margin: 10px 0 0; }

/* Process: a real sequence, so numbered */
.process { background: var(--navy); color: #fff; padding: 104px 0; }
.process .sub { color: #b9cfdd; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { counter-increment: step; padding: 0 22px 0 0; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); font-weight: 800; margin-bottom: 20px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 40px; right: 0; top: 20px; height: 2px; background: rgba(207,232,244,.18); }
.steps li:last-child::after { display: none; }
.steps p { color: #b9cfdd; font-size: 15.5px; margin: 8px 0 0; }

/* Engagements */
.engage { padding: 104px 0; }
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.engage article { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; position: relative; }
.engage article.feature { border: 2px solid var(--blue); box-shadow: 0 18px 40px -24px rgba(7,121,163,.45); }
.engage .badge { position: absolute; top: -13px; left: 26px; margin: 0; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.engage article > p { color: var(--muted); margin: 10px 0 18px; font-size: 15.5px; }
.engage ul { margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 10px; font-size: 15px; }
.engage ul li { padding-left: 26px; position: relative; }
.engage ul li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

/* FAQ */
.faq { background: var(--cloud); padding: 96px 0; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--blue-deep); border-bottom: 2.5px solid var(--blue-deep); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 66ch; }

/* Contact */
.contact { padding: 104px 0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; background: linear-gradient(135deg, #0a2a44, var(--navy)); color: #fff; border-radius: 28px; padding: 64px 56px; }
.contact .lead { color: #b9cfdd; font-size: 18px; max-width: 48ch; margin: 18px 0 30px; }
.contact-facts { margin: 0; display: grid; gap: 4px 0; }
.contact-facts dt { color: #8fb1c6; font-size: 14px; font-weight: 600; margin-top: 14px; }
.contact-facts dt:first-child { margin-top: 0; }
.contact-facts dd { margin: 0; font-weight: 700; font-size: 17px; }
.contact-facts a { color: #fff; }

/* Footer */
footer.site { background: var(--navy); color: #8fb1c6; padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.foot-brand p { margin: 16px 0 0; max-width: 30ch; }
footer.site nav { display: flex; flex-direction: column; gap: 10px; }
footer.site nav h2 { font-size: 14px; letter-spacing: 0; color: #e6f3fa; font-weight: 700; margin-bottom: 4px; }
footer.site a { color: #b9cfdd; text-decoration: none; }
footer.site a:hover { color: #fff; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(207,232,244,.12); font-size: 14px; }

/* Policy pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; font-weight: 800; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; letter-spacing: -0.01em; margin: 36px 0 8px; }
.doc p, .doc li { color: #33404c; }

/* Responsive */
@media (max-width: 1020px) {
  header.site nav { display: none; }
  header.site .btn { margin-left: auto; }
  .hero-grid, .ai-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .platform-tiles { grid-template-columns: repeat(2, 1fr); }
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .why-grid > div { padding-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { display: none; }
  .engage-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .stack .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  .services, .ai, .why, .process, .engage, .contact { padding: 72px 0; }
  .faq { padding: 72px 0; }
  .platform-tiles, .capabilities, .why-grid { grid-template-columns: 1fr; }
  .why-grid > div, .why-grid > div + div { border-left: 0; padding: 24px 0 0; }
  .contact-grid { padding: 40px 24px; border-radius: 22px; gap: 32px; }
  .agent-flow { padding: 24px 20px; }
  .agent-flow li { grid-template-columns: 92px 1fr; gap: 14px; }
  .agent-flow .node { width: 92px; font-size: 13px; }
  .agent-flow ol::before { left: 45px; }
  header.site .btn.small { padding: 9px 14px; font-size: 14px; }
}
