:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0a2540;
  background: #fff;
  --navy: #0a2540;
  --violet: #635bff;
  --green: #38e38f;
  --paper: #f5f5f7;
  --ink: #0a2540;
  --muted: #596a79;
  --line: #dce2e7;
  --footer: #f5f5f5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; }
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 112px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 76px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { background: rgba(10,37,64,.94); border-color: rgba(255,255,255,.08); box-shadow: 0 12px 35px rgba(2,18,31,.18); backdrop-filter: blur(16px); }
.header-inner { width: min(1200px, calc(100% - 48px)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-brand img { display: block; width: 112px; height: auto; }
.site-brand span, .footer-brand span { padding: 5px 7px; border: 1px solid rgba(255,255,255,.5); border-radius: 5px; font-size: .58rem; font-weight: 850; letter-spacing: .14em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a { position: relative; font-size: .78rem; font-weight: 650; text-decoration: none; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.site-nav .nav-cta { min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.site-nav .nav-cta:hover { color: var(--navy); background: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(10,37,64,.2); }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 4px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.marketing-hero { position: relative; min-height: 720px; height: min(880px, 100svh); overflow: hidden; display: flex; align-items: center; color: #fff; background: var(--navy); }
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(2,15,25,.88) 0%, rgba(3,21,34,.66) 49%, rgba(4,24,38,.18) 78%), linear-gradient(0deg, rgba(10,37,64,.62) 0%, transparent 34%, rgba(0,0,0,.18) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 54px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker > span { width: 28px; height: 2px; background: var(--green); }
.marketing-hero h1 { max-width: 960px; margin: 0; font-size: clamp(4.3rem, 8vw, 7.5rem); line-height: .89; letter-spacing: -.075em; }
.marketing-hero h1 em { color: transparent; font-style: normal; background: linear-gradient(90deg, #837dff, #c7b5ff); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 680px; margin: 28px 0 0; color: rgba(255,255,255,.8); font-size: 1.04rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 9px; font-size: .78rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--violet); box-shadow: 0 14px 38px rgba(99,91,255,.35); }
.button-glass { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.button-light { color: var(--navy); background: #fff; }
.button-dark { color: #fff; background: var(--navy); }
.hero-meta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; color: rgba(255,255,255,.58); font-size: .65rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span + span::before { content: ""; width: 1px; height: 14px; margin-right: 10px; background: rgba(255,255,255,.25); }
.hero-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(56,227,143,.7); }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(56,227,143,.7); }
.eyebrow { margin: 0 0 16px; color: var(--violet); font-size: .69rem; font-weight: 820; letter-spacing: .16em; text-transform: uppercase; }
.intro-grid, .section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; align-items: end; }
.intro-grid h2, .section-heading h2, .tour-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(3rem, 5.3vw, 5.6rem); line-height: .94; letter-spacing: -.065em; }
.intro-copy > p, .section-heading > p, .contact-copy > p { margin: 0; color: var(--muted); line-height: 1.8; }
.text-link { display: inline-flex; gap: 16px; margin-top: 26px; color: var(--violet); font-size: .78rem; font-weight: 800; text-decoration: none; }
.proof-note { margin: 72px 0 0; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .71rem; }
.proof-note strong { color: var(--navy); }
.proof-note span { position: relative; }
.proof-note span::before { content: "/"; margin-right: 28px; color: #b3bec7; }
.product-section { color: #fff; background: linear-gradient(140deg, var(--navy) 0%, #102f4c 66%, #173c5f 100%); }
.light-heading > p { color: rgba(255,255,255,.62); }
.product-grid { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.product-card { min-height: 510px; padding: 46px 48px 42px 0; display: flex; flex-direction: column; border: 0; border-right: 1px solid rgba(255,255,255,.18); border-radius: 0; background: transparent; box-shadow: none; }
.product-card + .product-card { padding-right: 0; padding-left: 48px; border-right: 0; }
.product-top { display: flex; align-items: center; justify-content: space-between; }
.product-index { color: rgba(255,255,255,.45); font: 700 .65rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.product-badge { padding: 6px 9px; border-radius: 999px; color: #06190f; background: var(--green); font-size: .55rem; font-weight: 850; letter-spacing: .1em; }
.product-badge.blue { color: #fff; background: var(--violet); }
.product-card h3 { margin: 80px 0 12px; font-size: clamp(2.3rem,4vw,4rem); letter-spacing: -.06em; }
.product-card > p { max-width: 570px; margin: 0; color: rgba(255,255,255,.64); line-height: 1.65; }
.product-card ul { margin: 32px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; }
.product-card li { position: relative; padding: 13px 13px 13px 34px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: rgba(255,255,255,.75); font-size: .7rem; line-height: 1.45; }
.product-card li::before { content: "✓"; position: absolute; left: 13px; color: var(--green); }
.product-card > a { margin-top: auto; display: inline-flex; gap: 18px; color: #fff; font-size: .75rem; font-weight: 800; text-decoration: none; }
.data-boundary { margin: 24px 0 0; color: rgba(255,255,255,.42); font-size: .64rem; line-height: 1.6; text-align: center; }
.section-heading > p { max-width: 480px; justify-self: end; }
.delivery-flow { margin-top: 62px; border-top: 1px solid var(--line); }
.delivery-flow article { min-height: 148px; padding: 26px 0; display: grid; grid-template-columns: 62px 1fr minmax(260px, .7fr); gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.delivery-flow article > span { color: var(--violet); font: 700 .67rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.delivery-flow strong { display: block; font-size: 1.25rem; }
.delivery-flow code { display: block; margin-top: 8px; color: #7e8b96; font-size: .68rem; }
.delivery-flow p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
@media (min-width: 981px) {
  .delivery-section { min-height: calc(100svh - 76px); padding-block: clamp(48px,7vh,76px); display: flex; flex-direction: column; justify-content: center; }
  .delivery-section .section-heading { grid-template-columns: 1.15fr .85fr; gap: 7vw; }
  .delivery-section .section-heading h2 { font-size: clamp(2.9rem,4.4vw,4.45rem); }
  .delivery-section .section-heading > p { font-size: .82rem; line-height: 1.65; }
  .delivery-flow { margin-top: clamp(30px,4vh,46px); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
  .delivery-flow article { min-width: 0; min-height: 204px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .delivery-flow article:first-child { padding-left: 0; }
  .delivery-flow article:last-child { padding-right: 0; border-right: 0; }
  .delivery-flow article > span { margin-bottom: 34px; }
  .delivery-flow strong { font-size: 1rem; }
  .delivery-flow code { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; font-size: .59rem; }
  .delivery-flow p { margin-top: auto; font-size: .69rem; line-height: 1.5; }
}
@media (min-width: 981px) and (max-height: 760px) {
  .delivery-section { padding-block: 38px; }
  .delivery-section .section-heading h2 { font-size: clamp(2.7rem,4vw,3.9rem); }
  .delivery-flow { margin-top: 28px; }
  .delivery-flow article { min-height: 174px; padding-top: 19px; padding-bottom: 19px; }
  .delivery-flow article > span { margin-bottom: 22px; }
}
.tour-section { color: #fff; background: #090c15; }
.tour-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; align-items: center; }
.tour-copy > p:not(.eyebrow) { margin: 24px 0 30px; color: rgba(255,255,255,.6); line-height: 1.75; }
.tour-player { min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: #111622; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.video-label { height: 38px; padding-inline: 8px; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.58); font-size: .62rem; }
.tour-player video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; border-radius: 13px; background: #040609; }
.tour-player > p { margin: 10px 8px 4px; color: rgba(255,255,255,.38); font-size: .59rem; }
.tour-player > p a { color: rgba(255,255,255,.78); font-weight: 750; text-underline-offset: 3px; }
.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; margin-top: 28px; }
.contact-email { margin-top: 30px; display: inline-flex; gap: 14px; color: var(--violet); font-size: 1rem; font-weight: 800; text-decoration: none; }
.social-list { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { padding: 9px 13px; border: 1px solid #cfd7de; border-radius: 999px; color: #546573; font-size: .68rem; font-weight: 750; text-decoration: none; background: #fff; }
.contact-form { padding: 34px; border: 1px solid #dce2e7; border-radius: 12px; background: #fff; box-shadow: 0 14px 40px rgba(10,37,64,.06); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form > label, .form-grid label { display: block; margin-bottom: 14px; }
.contact-form label > span { display: block; margin: 0 0 8px; color: #536473; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #dce2e7; border-radius: 11px; outline: none; color: var(--navy); background: #f8fafb; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.contact-form input, .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { padding: 14px; resize: vertical; min-height: 136px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 3px rgba(99,91,255,.12); }
.contact-form [aria-invalid="true"] { border-color: #d44747; }
.form-actions { margin-top: 6px; display: flex; align-items: center; gap: 18px; }
.form-actions p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.form-actions p.error { color: #b42318; }
.form-actions p.success { color: #147a49; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.site-footer { color: #3d4b56; background: var(--footer); }
.footer-main { padding-block: 64px 48px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 8vw; border-bottom: 1px solid #d9dde0; }
.footer-brand { align-self: start; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand img { width: 150px; }
.footer-brand span { color: var(--violet); border-color: rgba(99,91,255,.35); }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.footer-links > div { display: grid; align-content: start; gap: 12px; }
.footer-links strong { margin-bottom: 4px; color: var(--navy); font-size: .72rem; }
.footer-links a { color: #64727e; font-size: .68rem; text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--violet); }
.footer-bottom { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #7a858e; font-size: .62rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-media { display: none; }
  .marketing-hero { background: var(--navy) url("https://lega.bot/videos/hype-video-poster.jpg?v=20260818") center / cover no-repeat; }
}
@media (max-width: 980px) {
  .section { padding-block: 88px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto; max-height: calc(100svh - 76px); overflow: auto; padding: 26px 24px 34px; display: grid; gap: 0; background: rgba(10,37,64,.98); border-top: 1px solid rgba(255,255,255,.1); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .24s ease, opacity .24s ease; }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav > a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1rem; }
  .site-nav > a::after { display: none; }
  .site-nav .nav-cta { margin-top: 18px; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.55); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .marketing-hero { height: auto; min-height: 760px; padding: 130px 0 150px; }
  .intro-grid, .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .section-heading > p { justify-self: start; }
  .product-card ul { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; gap: 48px; }
  .tour-copy { max-width: 700px; }
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shell, .header-inner { width: min(100% - 28px, 1200px); }
  .section { padding-block: 72px; }
  .site-header { height: 68px; }
  .site-nav { inset-block-start: 68px; max-height: calc(100svh - 68px); }
  .site-brand img { width: 100px; }
  .marketing-hero { min-height: 700px; padding: 112px 0 86px; }
  .marketing-hero h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .hero-lead { font-size: .92rem; line-height: 1.65; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-meta span + span::before { display: none; }
  .intro-grid h2, .section-heading h2, .tour-copy h2, .contact-copy h2 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .proof-note { margin-top: 46px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .proof-note span::before { margin-right: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card + .product-card { min-height: 0; padding: 32px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .product-card:last-child { border-bottom: 0; }
  .product-card h3 { margin-top: 52px; }
  .delivery-flow article { padding: 24px 0; grid-template-columns: 38px 1fr; gap: 14px; }
  .delivery-flow article > p { grid-column: 2; }
  .tour-player { padding: 7px; border-radius: 15px; }
  .tour-player video { border-radius: 10px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 20px; border-radius: 18px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .footer-main { padding-block: 48px 38px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .footer-links > div:last-child { grid-column: 1/-1; }
  .footer-bottom { padding-block: 26px; align-items: flex-start; flex-direction: column; }
}
