:root {
  --ink: #07111f;
  --ink-soft: #111f31;
  --blue: #287cff;
  --blue-light: #80b4ff;
  --acid: #ffb627;
  --paper: #f5f7fa;
  --white: #ffffff;
  --muted: #637084;
  --line: rgba(7, 17, 31, .13);
  --dark-line: rgba(255, 255, 255, .14);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
section { position: relative; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 7.3vw, 7.5rem);
  font-weight: 610;
  line-height: .92;
}
h2 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(2.45rem, 5vw, 5.25rem);
  font-weight: 600;
  line-height: .98;
}
h3 { margin-bottom: 10px; font-size: 1.22rem; line-height: 1.15; }
.lead { max-width: 660px; color: #354256; font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.55; }
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #1368ea; }
.btn.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.btn.secondary:hover { border-color: var(--ink); background: var(--white); }
.btn::after { content: "↗"; font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.nav-shell {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(7, 17, 31, .08);
  background: rgba(245, 247, 250, .88);
  backdrop-filter: blur(18px);
}
nav { display: flex; height: 72px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 1.3rem; font-weight: 780; letter-spacing: -.025em; text-decoration: none; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #334055; font-size: .88rem; font-weight: 680; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links .nav-cta { padding: 10px 15px; background: var(--ink); color: white; }
.nav-links .nav-cta:hover, .nav-links .nav-cta.active { color: var(--blue-light); }
.cta-short { display: none; }
.page-top { padding-top: 168px !important; }
.capture-hero { padding-top: 72px; line-height: 0; }
.capture-video { display: block; width: 100%; aspect-ratio: 1320 / 738; object-fit: cover; }
.contact.page-top { display: flex; min-height: 100vh; flex-direction: column; justify-content: center; }
.contact.page-top .site-footer { margin-top: auto; padding-top: 28px; }
.contact.page-top .actions { margin-bottom: 96px; }
.site-footer.light { margin-top: 0; padding: 28px 0 34px; border-top: 1px solid var(--dark-line); }
.closing { background: var(--ink); color: white; }

.hero { min-height: 900px; overflow: hidden; padding: 168px 0 72px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 0;
  opacity: .24;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, black, transparent 78%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .72fr; align-items: center; gap: 42px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 70px; }
.hero-copy .lead { max-width: 620px; }
.hero-visual { position: relative; min-height: 650px; align-self: end; }
.rig-halo { position: absolute; top: 6%; right: -16%; width: 110%; aspect-ratio: 1; border: 1px solid rgba(40,124,255,.3); border-radius: 50%; }
.rig-halo::before, .rig-halo::after { content: ""; position: absolute; inset: 14%; border: 1px solid rgba(40,124,255,.16); border-radius: 50%; }
.rig-halo::after { inset: 31%; }
.rig { position: absolute; z-index: 2; right: -4%; bottom: -72px; width: 88%; max-height: 790px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 24px 34px rgba(4,17,38,.14)); }
.rig-note {
  position: absolute;
  z-index: 4;
  top: 24%;
  left: -4%;
  width: 190px;
  color: var(--ink);
  font: 700 .72rem/1.42 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .025em;
}
.rig-note::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 188px;
  width: 108px;
  height: 1.5px;
  background: var(--blue);
  transform: rotate(-16deg);
  transform-origin: left center;
}
.rig-note::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 288px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--blue);
  border-right: 1.5px solid var(--blue);
  transform: rotate(29deg);
}
.rig-note span { display: block; padding-left: 12px; border-left: 3px solid var(--acid); }

.dark { background: var(--ink); color: white; }
.problem { padding: 136px 0 126px; }
.problem h2 { max-width: 950px; }
.problem .lead { color: #aeb9c9; }
.reality-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 72px; border-top: 1px solid var(--dark-line); }
.world { min-height: 310px; padding: 40px 0; }
.world + .world { padding-left: 52px; border-left: 1px solid var(--dark-line); }
.world-label { color: #8090a8; font: 700 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.world h3 { margin: 0 0 26px; font-size: clamp(1.65rem, 3vw, 2.6rem); }
.world ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.world li { display: flex; align-items: center; gap: 13px; color: #9eacbe; }
.world li::before { content: ""; width: 20px; height: 1px; background: #61718a; }
.world.reality h3 { color: var(--acid); }
.world.reality li { color: white; }
.world.reality li::before { height: 3px; background: var(--blue); }

.data { overflow: hidden; padding: 136px 0; background: var(--white); }
.flow { max-width: 980px; }
.flow-stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 44px; border: 1px solid var(--line); background: var(--paper); }
.flow-stage h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 3rem); }
.flow-stage p { color: var(--muted); }
.stage-copy > p:last-child { margin-bottom: 0; }

.flow-arrow { position: relative; display: flex; height: 110px; align-items: center; justify-content: center; }
.flow-arrow::before { content: ""; position: absolute; top: 10px; bottom: 12px; left: 50%; width: 2px; transform: translateX(-50%); background: var(--blue); }
.flow-arrow::after { content: ""; position: absolute; bottom: 10px; left: 50%; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); }
.flow-arrow span { position: relative; z-index: 1; padding: 6px 10px; background: var(--white); color: var(--ink); font: 700 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }

.flow-stage:has(.sensor-grid), .flow-stage:has(.stage-media), .flow-stage:has(.steps), .flow-stage:has(.dataset) { grid-template-columns: 1fr; gap: 34px; }
.sensor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.sensor { display: flex; flex-direction: column; margin: 0; background: var(--white); }
.sensor img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); }
.sensor figcaption { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.sensor strong { letter-spacing: -.02em; }
.sensor p { flex: 1; margin: 6px 0 0; font-size: .9rem; }
.pov h3 { margin-bottom: 6px; font-size: 1.5rem; }
.pov p { margin-bottom: 18px; }
.pov-wall, .stage-media { display: block; width: 100%; height: auto; background: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--line); list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 24px 22px; background: var(--white); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--blue); font: 700 .74rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps strong { display: block; margin-bottom: 6px; letter-spacing: -.02em; }
.steps p { margin: 0; font-size: .9rem; }


.dataset { display: grid; grid-template-columns: 1fr; max-width: 420px; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.dataset > div { padding: 24px; background: var(--white); }
.dataset .world-label { color: var(--muted); }
.dataset ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; font-weight: 600; }
.formats { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 18px 0 0; }
.formats dt { font-weight: 600; }
.formats dd { margin: 0; color: var(--blue); font: 700 .78rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }


.part { padding: 128px 0; background: var(--white); }
.part#map { background: var(--paper); }
.part.dark { background: var(--ink); }
.part-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.part h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.part.dark .lead { color: #aeb9c9; }
.part.dark .spec-list, .part.dark .spec { border-color: var(--dark-line); }
.part.dark .spec p { color: #9fadc0; }
.spec-list { margin-top: 36px; border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--line); }
.spec strong { letter-spacing: -.02em; }
.spec p { margin: 0; color: var(--muted); font-size: .9rem; }
.spec em { color: var(--blue); font: 700 .7rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; letter-spacing: .06em; white-space: nowrap; }

.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 4 / 3; padding: 24px; border: 2px dashed #b8c4d4; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(7,17,31,.03) 14px 28px), #eef2f7; color: var(--muted); text-align: center; }
.placeholder svg { width: 44px; height: 44px; margin-bottom: 6px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.placeholder span { font: 700 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
.placeholder strong { color: var(--ink); font-size: 1.1rem; letter-spacing: -.02em; }
.dark .placeholder { border-color: #2c3b52; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.03) 14px 28px), var(--ink-soft); color: #8090a8; }
.dark .placeholder strong { color: white; }
.part-image { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.dark .part-image { border-color: var(--dark-line); }


.vision-letter { padding: 112px 0 128px; background: var(--white); }
.letter { max-width: 720px; }
.letter p { margin-bottom: 1.5em; color: #2a3546; font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.75; }
.signature { display: grid; gap: 4px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.signature span { color: var(--muted); }

.mosaic-section { padding: 0 0 120px; background: var(--paper); }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; height: clamp(420px, 52vw, 680px); }
.mosaic-img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-img:nth-child(2) { object-position: 30% 50%; }

.traction { padding: 130px 0 140px; }
.problem + .traction { border-top: 1px solid var(--dark-line); }
.traction-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 80px; }
.traction-copy { position: sticky; top: 116px; align-self: start; }
.traction-copy .lead { color: #aeb9c9; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--dark-line); }
.number { min-height: 225px; padding: 34px 28px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.number:nth-child(even) { border-right: 0; }
.number strong { display: block; margin-bottom: 22px; color: var(--acid); font-size: clamp(3.4rem, 6vw, 5.8rem); font-weight: 520; line-height: .9; letter-spacing: -.08em; }
.number span { color: #bbc5d3; }

.customers { padding: 140px 0; }
.customer-list { margin-top: 78px; border-top: 1px solid var(--line); }
.customer { display: grid; grid-template-columns: 70px .8fr 1.2fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.customer .num { color: var(--blue); font: 700 .76rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.customer h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.customer p { max-width: 580px; margin: 0; color: var(--muted); }

.engagement { padding: 126px 0; background: #eaf0f7; }
.engagement-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; background: #ccd6e3; border: 1px solid #ccd6e3; }
.offer { min-height: 310px; padding: 34px; background: var(--paper); }
.offer h3 { font-size: 1.75rem; }
.offer p { color: var(--muted); }
.offer strong { display: block; margin-top: 28px; font-size: .82rem; }

.contact { overflow: hidden; padding: 142px 0 50px; background: var(--ink); color: white; }
.contact h2 { max-width: 950px; }
.contact .btn { background: white; color: var(--ink); }
.contact .btn:hover { background: var(--acid); }
.contact .btn.secondary { border-color: rgba(255,255,255,.55); background: transparent; color: white; }
.contact .btn.secondary:hover { border-color: white; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; margin-bottom: 96px; }
.contact.page-top .contact-grid .actions { margin-bottom: 0; }
.contact-map { position: relative; z-index: 1; margin: 0; border: 1px solid rgba(255,255,255,.35); background: white; }
.contact-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }
.contact-map figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: var(--ink); font-size: .85rem; font-weight: 600; }
.contact-map figcaption a { color: var(--blue); white-space: nowrap; }
.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 120px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.35); font-size: .82rem; }
.site-footer p { margin: 0; }
.site-footer .location { color: rgba(255,255,255,.74); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; transition: none; } .btn { transition: none; } }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .wrap { width: min(calc(100% - 34px), var(--max)); }
  .hero { min-height: 0; padding-top: 132px; padding-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { display: flex; flex-direction: column; align-items: center; min-height: 0; }
  .rig { position: relative; right: auto; bottom: auto; width: min(78%, 420px); max-height: none; }
  .rig-halo { top: 12%; right: 50%; width: min(96vw, 560px); transform: translateX(50%); }
  .rig-note { position: relative; top: auto; left: auto; order: -1; width: auto; max-width: 320px; margin-bottom: 20px; }
  .rig-note::before, .rig-note::after { display: none; }
  .traction-grid { grid-template-columns: 1fr; }
  .traction-copy { position: static; }
  .engagement-flow { background: #ccd6e3; }
  .flow-stage { grid-template-columns: 1fr; gap: 30px; padding: 32px; }
  .part-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; height: auto; }
  .mosaic-img { aspect-ratio: 3 / 4; height: auto; }
  .mosaic-img:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  .sensor-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(3.05rem, 16vw, 4.8rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.8rem); }
  .rig { width: 84%; }
  .rig-note { font-size: .63rem; }
  .problem, .data, .part, .vision-letter, .traction, .customers, .engagement { padding: 96px 0; }
  .spec { grid-template-columns: 96px 1fr auto; gap: 10px; padding: 14px 0; }
  .reality-grid { grid-template-columns: 1fr; }
  .world { min-height: 0; }
  .world + .world { padding-left: 0; border-top: 1px solid var(--dark-line); border-left: 0; }
  .flow-stage { padding: 26px 20px; }
  .sensor-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dataset { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .number { min-height: 180px; border-right: 0; }
  .customer { grid-template-columns: 36px 1fr; gap: 16px; }
  .customer p { grid-column: 2; }
  .offer { min-height: 0; }
  .contact { padding-top: 105px; }
  .contact-grid { gap: 40px; margin-bottom: 64px; }
  .page-top { padding-top: 150px !important; }
  .capture-hero { padding-top: 96px; }
  nav { height: auto; flex-wrap: wrap; row-gap: 8px; padding: 12px 0; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; }
  .nav-links .nav-cta { padding: 8px 12px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .hero { padding-top: 150px; }
  .site-footer { margin-top: 90px; flex-direction: column; align-items: flex-start; }
}
