@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  --navy: #001126;
  --deep: #001B3A;
  --blue: #0878FF;
  --signal: #0066F5;
  --ice: #F6F9FF;
  --steel: #40516B;
  --pale: #A8C7FF;
  --sky: #6FB0FF;
  --line: #DBE6F5;
  --line-dark: rgba(168, 199, 255, 0.14);
  --sans: "Instrument Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(20px, 6vw, 120px);
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--ice); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; font-stretch: 92%; letter-spacing: -0.03em; font-weight: 700; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ice); color: var(--navy); border-radius: 6px; }
.skip:focus { top: 12px; }

/* shared bits */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--blue); }
.dark .eyebrow { color: var(--sky); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 8px; font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); box-shadow: 0 10px 30px -12px rgba(8, 120, 255, 0.8); }
.btn-primary:hover { background: var(--signal); border-color: var(--signal); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(168, 199, 255, 0.35); color: var(--ice); background: transparent; }
.btn-ghost:hover { border-color: var(--sky); }
.section { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.section > .wrap { position: relative; z-index: 1; }
.dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin-top: 18px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.03; }
.head p { font-size: clamp(17px, 1.4vw, 19px); color: var(--steel); }
.dark .head p { color: var(--pale); }
.mono { font-family: var(--mono); }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(0, 17, 38, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand img { width: 228px; height: auto; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.nav a { color: #DCE8FF; text-decoration: none; }
.nav a:not(.btn):hover { color: #fff; }
.nav .btn { min-height: 44px; font-size: 15px; padding: 0 18px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid rgba(168, 199, 255, 0.22); border-radius: 10px; background: transparent; color: var(--ice); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 72% 50%, rgba(8, 120, 255, 0.10), transparent 70%), var(--navy); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding-block: 48px 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid rgba(168, 199, 255, 0.22); border-radius: 999px; background: rgba(0, 27, 58, 0.7); font: 12px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pale); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(8, 120, 255, 0.2); animation: blink 2.4s ease-in-out infinite; }
.hero h1 { font-size: clamp(40px, 4.3vw, 62px); line-height: 1; }
.hero h1 span { display: block; color: var(--blue); }
.hero-copy > p { max-width: 36em; font-size: clamp(17px, 1.5vw, 20px); color: var(--pale); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(168, 199, 255, 0.18); }
.proof div { padding: 18px 16px 0; border-left: 1px solid rgba(168, 199, 255, 0.18); }
.proof div:first-child { padding-left: 0; border-left: 0; }
.proof strong { display: block; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; }
.proof span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--pale); }

.vehicle { position: relative; height: clamp(360px, 44vw, 620px); margin-right: calc(-1 * var(--gutter)); }
.vehicle canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.vehicle canvas.dragging { cursor: grabbing; }
.vehicle-legend { position: absolute; left: 0; right: var(--gutter); bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; font: 11.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--pale); pointer-events: none; }
.vehicle-legend ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.vehicle-legend li { display: inline-flex; align-items: center; gap: 8px; }
.k-ecu { width: 13px; height: 6px; border-radius: 1px; background: linear-gradient(#3A8EFF, #0B4FB8); }
.k-act { width: 5px; height: 12px; border-radius: 1px; background: linear-gradient(#9CCBFF, #2F74D0); }
.k-data { width: 18px; height: 2px; background: var(--blue); }
.k-power { width: 18px; height: 0; border-top: 2px dotted #E6F0FF; }
.hint { color: var(--sky); }
.pill .narrow { display: none; }
@media (max-width: 560px) { .pill .wide { display: none; } .pill .narrow { display: inline; } }
.tip { position: absolute; z-index: 3; min-width: 200px; max-width: 260px; padding: 10px 12px; border: 1px solid rgba(168, 199, 255, 0.25); border-radius: 10px; background: rgba(0, 27, 58, 0.95); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7); pointer-events: none; transform: translate(-50%, calc(-100% - 16px)); transition: opacity 120ms ease; }
.tip strong { display: block; font-size: 14px; }
.tip span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--pale); }

/* standards */
.standards { background: var(--deep); border-block: 1px solid var(--line-dark); }
.standards ul { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin: 0 auto; padding-block: 28px; list-style: none; font: 13px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pale); }
.standards li { display: inline-flex; align-items: center; gap: 20px; }
.standards li + li::before { content: ""; width: 6px; height: 6px; background: var(--blue); }

/* services */
.services { background: var(--ice); color: var(--navy); overflow: hidden; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 17, 38, 0.04), 0 24px 48px -32px rgba(0, 17, 38, 0.28); transition: transform 200ms ease, box-shadow 200ms ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(0, 17, 38, 0.04), 0 32px 56px -30px rgba(0, 17, 38, 0.35); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--blue); }
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; }
.card p { color: var(--steel); font-size: 16.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid #E6EEF9; }
.tags span { padding: 6px 10px; border-radius: 6px; background: #EEF4FF; font: 12px/1.2 var(--mono); color: var(--deep); }

/* v-cycle */
.vcycle { background: #fff; color: var(--navy); }
.vdiagram { position: relative; width: 100%; aspect-ratio: 1200 / 680; }
.vdiagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vnum { position: absolute; width: 40px; margin: -9px 0 0 -20px; text-align: center; font: 500 13px/1.3 var(--mono); }
.vpill { position: absolute; width: 100px; margin: -11px 0 0 -50px; padding: 3px 0; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-align: center; font: 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.vlabel { position: absolute; width: 21.5%; }
.vlabel.l { text-align: right; }
.vlabel h3, .vstep h3 { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.15; letter-spacing: -0.01em; }
.vlabel p, .vstep p { margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--steel); }
.vphase { position: absolute; top: 94%; font: 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.vlist { display: none; }
.assure { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 22px 28px; border-radius: 14px; background: var(--navy); color: var(--ice); }
.assure .icon { flex-shrink: 0; width: 44px; height: 44px; background: rgba(8, 120, 255, 0.16); }
.assure p { font-size: 17px; font-weight: 500; line-height: 1.45; }

/* ai */
.ai { background: var(--deep); overflow: hidden; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.ai-grid h2 { margin: 18px 0 22px; font-size: clamp(34px, 4vw, 52px); line-height: 1.03; }
.ai-grid > div > p { font-size: clamp(17px, 1.4vw, 19px); color: var(--pale); }
.flow { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid rgba(168, 199, 255, 0.18); border-radius: 18px; background: rgba(0, 17, 38, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.flow-head { display: flex; justify-content: space-between; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line-dark); font: 11.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pale); }
.flow-head b { font-weight: 400; color: var(--sky); }
.step { position: relative; display: flex; align-items: center; gap: 16px; height: 50px; padding: 0 16px; border-radius: 10px; background: rgba(8, 120, 255, 0.07); border: 1px solid rgba(8, 120, 255, 0.22); overflow: hidden; font-weight: 500; }
.step em { font: normal 12px/1 var(--mono); color: var(--sky); }
.step::after { content: ""; position: absolute; left: -30%; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(8, 120, 255, 0.28), transparent); animation: sweep 4s linear infinite; animation-delay: var(--d, 0s); }
.gate-line { width: 2px; height: 20px; margin: 0 auto; background: repeating-linear-gradient(var(--blue) 0 4px, transparent 4px 8px); }
.gate { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; border: 1.5px solid var(--blue); background: var(--navy); }
.gate .tick { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); }
.gate .tick svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gate strong { display: block; font-size: 16px; }
.gate span { display: block; font-size: 14px; color: var(--pale); }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; margin-top: clamp(48px, 7vw, 88px); }
.points article { padding-top: 22px; border-top: 2px solid rgba(168, 199, 255, 0.3); }
.points article:first-child { border-top-color: var(--blue); }
.points h3 { margin-bottom: 10px; font-size: 21px; }
.points p { font-size: 16px; line-height: 1.6; color: var(--pale); }

/* experience */
.experience { background: var(--ice); color: var(--navy); overflow: hidden; padding-block: clamp(56px, 7vw, 96px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts > div { padding: 0 36px; border-left: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts .label { font: 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.facts .big { margin-top: 14px; font-size: clamp(36px, 3.6vw, 50px); line-height: 1.02; font-weight: 700; font-stretch: 88%; letter-spacing: -0.035em; text-wrap: balance; }
.facts .big.accent { color: var(--blue); }
.facts p { margin-top: 12px; font-size: 16.5px; color: var(--steel); }

/* contact */
.contact { background: var(--navy); overflow: hidden; }
.panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px 64px; align-items: center; padding: clamp(28px, 5vw, 72px); border: 1px solid rgba(168, 199, 255, 0.18); border-radius: 24px; background: rgba(0, 27, 58, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.panel h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; }
.panel > div > p { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: var(--pale); }
.reach { display: flex; flex-direction: column; gap: 12px; }
.email { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 8px 0 14px; border: 1px solid rgba(168, 199, 255, 0.22); border-radius: 8px; font: 14px/1.2 var(--mono); color: #DCE8FF; }
.email span { flex-grow: 1; min-width: 0; user-select: all; overflow-wrap: anywhere; }
.email button { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(168, 199, 255, 0.25); border-radius: 6px; background: transparent; color: var(--sky); cursor: pointer; }
.email button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.email button .ok { display: none; }
.email button.copied .ok { display: block; }
.email button.copied .cp { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.email button:hover { border-color: var(--sky); }
.reach small { text-align: center; font-size: 13.5px; color: var(--pale); }

/* footer */
.footer { border-top: 1px solid var(--line-dark); padding-block: 48px 40px; }
.footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer img { width: 228px; height: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 15px; font-weight: 500; }
.footer nav a { color: #DCE8FF; text-decoration: none; }
.footer .legal { display: flex; justify-content: space-between; gap: 16px 48px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 1.6; color: var(--pale); }
.footer .legal p:first-child { max-width: 860px; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes sweep { to { left: 110%; } }

/* tablet */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 40px; }
  .vehicle { height: clamp(340px, 62vw, 520px); margin-inline: calc(-1 * var(--gutter)); }
  .vehicle-legend { left: var(--gutter); }
  .head, .ai-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; max-width: 640px; }
  .vdiagram { display: none; }
  .vlist { display: block; }
  .points, .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts > div:first-child { padding-top: 0; border-top: 0; }
  .panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--navy); border-bottom: 1px solid var(--blue); }
  .nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav .btn { margin-top: 16px; min-height: 52px; }
  .site-header:not(.open) .nav { display: none; }
}
/* phone */
@media (max-width: 560px) {
  .site-header .wrap { height: 86px; padding-right: 12px; }
  .pill { font-size: 10.5px; letter-spacing: 0.04em; }
  .proof div { padding: 14px 8px 0 10px; }
  .proof strong { font-size: 17px; white-space: nowrap; }
  .vehicle { height: auto; }
  .vehicle canvas { height: 330px; }
  .vehicle-legend { position: static; padding: 4px var(--gutter) 0; }
  .email { font-size: 12.5px; }
  .panel { padding: 26px 20px; }
  .brand img { width: 220px; }
  .actions .btn { width: 100%; }
  .proof span { font-size: 12.5px; }
  .vehicle-legend { flex-direction: column; align-items: flex-start; }
  .standards ul { justify-content: flex-start; gap: 8px; padding-block: 20px; font-size: 11px; letter-spacing: 0.08em; }
  .standards li { padding: 7px 10px; border: 1px solid rgba(168, 199, 255, 0.2); border-radius: 6px; }
  .standards li + li::before { display: none; }
  .card { padding: 24px; }
  .card h3 { font-size: 22px; }
  .assure { align-items: flex-start; padding: 20px; }
  .assure p { font-size: 15.5px; }
  .flow { padding: 18px; }
  .step { height: 46px; font-size: 15px; }
  .gate span { font-size: 13px; }
  .panel { border-radius: 18px; }
  .reach .btn { width: 100%; }
  .footer .legal { flex-direction: column; }
}

/* v-cycle list (tablet/phone) */
.vmini { width: 100%; max-width: 420px; margin: 0 0 28px; padding: 8px; border: 1px solid #E6EEF9; border-radius: 14px; background: var(--ice); }
.vgroup { margin: 18px 0 12px; font: 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.vgroup:first-of-type { margin-top: 0; }
.vstep { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
.vstep::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.vstep:last-child::before { display: none; }
.vstep > b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--blue); font: 500 11px/1 var(--mono); background: #fff; }
.vstep.impl > b { background: var(--blue); color: #fff; }
.vstep h3 { margin-top: 5px; font-size: 18px; }
.vstep p { font-size: 15px; }
.vstep small { display: inline-block; margin-top: 8px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; font: 10.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
[hidden] { display: none !important; }
@keyframes vflow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.vpulse { animation: vflow 6s linear infinite; }
