:root {
  --font-geist-sans: "Segoe UI";
  --font-geist-mono: "Cascadia Mono";
  --ink: #111a27;
  --ink-soft: #405064;
  --blue: #1d4ed8;
  --electric: #2866ff;
  --lime: #c8ff31;
  --ice: #edf3fb;
  --line: #d7e0eb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8fafc;
  font-family: var(--font-geist-sans), Arial, sans-serif;
}
a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 14px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(17, 26, 39, .1);
  background: rgba(248, 250, 252, .9);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--ink); color: var(--lime); border-radius: 11px;
  font-size: 1.35rem; font-weight: 900; transform: rotate(-5deg);
}
.brand > span:last-child { display: grid; }
.brand strong { font-size: 1.15rem; letter-spacing: -.04em; }
.brand small { color: var(--ink-soft); font-size: .68rem; }
.topbar nav { display: flex; gap: 28px; }
.topbar nav a { color: var(--ink-soft); text-decoration: none; font-size: .88rem; font-weight: 650; }
.topbar nav a:hover { color: var(--blue); }

.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 54px; padding: 0 22px; border-radius: 7px;
  color: var(--white); background: var(--blue); text-decoration: none;
  font-weight: 750; box-shadow: 6px 6px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover, .button:focus-visible { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.button-small { min-height: 44px; box-shadow: none; padding: 0 18px; font-size: .86rem; }

.hero {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr;
  min-height: calc(100vh - 82px); padding: clamp(64px, 9vw, 132px) clamp(24px, 7vw, 110px) 40px;
  overflow: hidden; background:
    linear-gradient(rgba(29, 78, 216, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, .055) 1px, transparent 1px),
    #f8fafc;
  background-size: 44px 44px;
}
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -220px;
  border-radius: 50%; background: var(--lime); filter: blur(2px); opacity: .85;
}
.eyebrow {
  margin: 0 0 18px; color: var(--blue); font-family: var(--font-geist-mono), monospace;
  font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px; margin-bottom: 28px; font-size: clamp(3.5rem, 6.6vw, 7rem);
  line-height: .88; letter-spacing: -.075em; font-weight: 850;
}
h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 670px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.62; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.text-link { font-weight: 750; text-decoration: none; }
.text-link span { color: var(--blue); margin-left: 8px; }

.hero-visual { position: relative; min-height: 500px; align-self: center; }
.orbit { position: absolute; inset: 50%; border: 1px solid rgba(29, 78, 216, .32); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 400px; height: 400px; }
.orbit-two { width: 285px; height: 285px; border-style: dashed; animation: spin 28s linear infinite; }
.core {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
  width: 178px; height: 178px; transform: translate(-50%, -50%) rotate(-6deg);
  background: var(--blue); color: white; border-radius: 38% 62% 55% 45%;
  box-shadow: 20px 22px 0 var(--lime);
}
.core span { font-size: 3.4rem; font-weight: 900; letter-spacing: -.08em; }
.core small { max-width: 110px; margin-top: -22px; text-align: center; font-size: .68rem; }
.node {
  position: absolute; padding: 10px 14px; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; color: var(--blue); font-family: var(--font-geist-mono), monospace;
  font-size: .7rem; font-weight: 900; box-shadow: 4px 4px 0 var(--ink);
}
.node-a { left: 8%; top: 27%; }
.node-b { right: 2%; top: 32%; }
.node-c { left: 16%; bottom: 20%; }
.node-d { right: 13%; bottom: 18%; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-proof {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 52px; border: 1px solid var(--line); background: var(--line);
}
.hero-proof article { display: grid; gap: 4px; padding: 24px 28px; background: rgba(248, 250, 252, .92); }
.hero-proof strong { font-size: 1.65rem; letter-spacing: -.05em; }
.hero-proof span { color: var(--ink-soft); font-size: .82rem; }

.marquee { overflow: hidden; padding: 18px 0; color: var(--white); background: var(--blue); transform: rotate(-.65deg) scale(1.01); }
.marquee div { display: flex; justify-content: space-around; gap: 25px; min-width: 1100px; font-weight: 800; text-transform: uppercase; }
.marquee b { color: var(--lime); }

.section { padding: 120px clamp(24px, 7vw, 110px); }
.section-intro { display: grid; grid-template-columns: .8fr 1.4fr 1fr; gap: 42px; align-items: start; margin-bottom: 62px; }
.section-intro h2, .dark-copy h2, .cta h2 {
  margin-bottom: 0; font-size: clamp(2.5rem, 4.8vw, 5rem); line-height: .96; letter-spacing: -.065em;
}
.section-intro > p:last-child, .dark-copy > p, .cta > p { color: var(--ink-soft); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  min-height: 330px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: white; transition: background .2s ease, transform .2s ease;
}
.service-card:hover { position: relative; z-index: 2; background: var(--lime); transform: translateY(-5px); }
.card-number { color: var(--blue); font-family: var(--font-geist-mono), monospace; font-size: .75rem; }
.service-card h3 { max-width: 13ch; margin: 45px 0 18px; font-size: 2rem; line-height: 1; letter-spacing: -.045em; }
.service-card p { max-width: 52ch; color: var(--ink-soft); line-height: 1.65; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #f8fafc; font-size: .68rem; font-weight: 700; }

.dark-section {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 90px; padding: 120px clamp(24px, 7vw, 110px);
  color: white; background: var(--ink);
}
.dark-section .eyebrow { color: var(--lime); }
.dark-copy > p { max-width: 62ch; margin-top: 30px; color: #afbdd0; }
.method { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 45px; }
.method span { padding: 18px 0; border-top: 1px solid #3a4657; color: #d9e1ec; }
.method b { color: var(--lime); margin-right: 12px; font-family: var(--font-geist-mono), monospace; }
.capability-panel { align-self: center; padding: 28px; border: 1px solid #3d4b60; background: #172233; transform: rotate(1.2deg); }
.capability-panel > p { color: var(--lime); font-family: var(--font-geist-mono), monospace; font-size: .7rem; letter-spacing: .15em; }
.capability-panel div { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid #3d4b60; }
.capability-panel span { color: #77869a; font-family: var(--font-geist-mono), monospace; }

.experience { background: var(--ice); }
.timeline { border-top: 1px solid #bdcad9; }
.timeline article { display: grid; grid-template-columns: .55fr .85fr 1.4fr; gap: 36px; padding: 30px 0; border-bottom: 1px solid #bdcad9; }
.timeline time { color: var(--blue); font-family: var(--font-geist-mono), monospace; font-size: .78rem; }
.timeline h3 { margin-bottom: 7px; font-size: 1.3rem; }
.timeline p { color: var(--ink-soft); line-height: 1.55; }
.timeline .role { color: var(--blue); font-size: .82rem; font-weight: 700; }
.founder-note { display: grid; grid-template-columns: .55fr .85fr 1.4fr; gap: 36px; margin-top: 70px; padding: 32px; color: white; background: var(--blue); }
.founder-note p { color: var(--lime); font-family: var(--font-geist-mono), monospace; font-size: .72rem; text-transform: uppercase; }
.founder-note h3 { font-size: 1.5rem; }
.founder-note span { line-height: 1.55; }

.cta { padding: 110px clamp(24px, 10vw, 160px); color: white; background: var(--blue); text-align: center; }
.cta .eyebrow { color: var(--lime); }
.cta h2 { max-width: 1000px; margin: 0 auto; }
.cta > p { max-width: 650px; margin: 28px auto 0; color: #dce7ff; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.button-light { color: var(--ink); background: var(--lime); }
.button-outline { border: 1px solid rgba(255,255,255,.55); background: transparent; box-shadow: 6px 6px 0 var(--lime); }

footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; padding: 38px clamp(24px, 7vw, 110px); background: #0b121d; color: white; }
.footer-brand small { color: #8d9aae; }
footer p, footer > span { margin: 0; color: #8d9aae; font-size: .78rem; }

@media (max-width: 980px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }
  .dark-section { grid-template-columns: 1fr; gap: 60px; }
  .timeline article, .founder-note { grid-template-columns: 1fr 1fr; }
  .timeline article > p:last-child, .founder-note span { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { min-height: 70px; padding: 12px 18px; }
  .brand small { display: none; }
  .button-small { padding: 0 14px; }
  .hero { min-height: auto; padding: 72px 20px 34px; }
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 390px; transform: scale(.86); margin: -25px; }
  .hero-proof { grid-template-columns: 1fr; }
  .section, .dark-section { padding: 82px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .timeline article, .founder-note { grid-template-columns: 1fr; gap: 12px; }
  .timeline article > p:last-child, .founder-note span { grid-column: auto; }
  .cta { padding: 82px 20px; }
  .cta-actions .button { width: 100%; font-size: .78rem; }
  footer { padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-two { animation: none; }
}
