/* =====================================================================
   Public landing page. Loaded only by templates/landing.html, on top of style.css.
   Light theme, flat colours only (no gradients). Depth comes from frosted glass,
   borders, shadows and 3D transforms.
   Sections: theme, backdrop, buttons, nav, hero, 3D scene, facts, section heads,
   pipeline, bento, roles, security cube, integrations, roadmap, CTA, footer,
   reveal motion, small screens.
   ===================================================================== */

/* ---------- Theme ---------- */
body.landing {
  --l-bg: #F1F6FF;
  --l-surface: #ffffff;
  --l-text: #142D50;
  --l-text-2: #2E4A70;
  --l-muted: #647A99;
  --l-line: #DCE7F5;
  --l-line-2: #C5D6EC;
  --l-glass: rgba(255, 255, 255, .72);
  --l-glass-2: rgba(255, 255, 255, .86);
  --l-shadow: 0 1px 2px rgba(20, 45, 80, .05), 0 12px 32px -16px rgba(20, 45, 80, .18);
  --l-shadow-lg: 0 2px 6px rgba(20, 45, 80, .05), 0 40px 80px -30px rgba(20, 45, 80, .28);
  --l-blue: #087EFF;
  --l-blue-dark: #0563D6;
  --l-blue-soft: #E8F2FF;
  --l-cyan: #0891b2;
  --l-cyan-soft: #e0f5fa;
  --l-teal: #475569;
  --l-teal-soft: #f1f5f9;
  --l-green: #0E7A4E;
  --l-green-soft: #E7F6EF;
  --l-amber: #9A5F05;
  --l-amber-soft: #fdf3e1;
  color: var(--l-text);
  background: transparent;
  overflow-x: hidden;
}
html:has(body.landing) { background: #F1F6FF; scroll-behavior: smooth; }
/* Replace the app's colour backdrop with a flat page colour and a plain dot grid. */
body.landing::before { background: #F1F6FF; }
body.landing::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23DCE7F5'/%3E%3C/svg%3E");
  background-size: 24px 24px; -webkit-mask-image: none; mask-image: none; opacity: .7;
}
body.landing h1, body.landing h2, body.landing h3 { color: var(--l-text); }
body.landing a { color: inherit; text-decoration: none; }
body.landing .muted { color: var(--l-muted); }
body.landing .brand-mark { background: #fff; box-shadow: 0 0 0 1px var(--l-line), 0 4px 12px -6px rgba(20, 45, 80, .3); }

/* ---------- Backdrop: 3D node network (canvas) ---------- */
.network { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* Clip 3D overflow sideways without creating a scroll container. */
body.landing main { overflow-x: clip; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem;
  border-radius: 12px; font-weight: 650; font-size: .92rem; white-space: nowrap; border: 1px solid transparent;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5rem .95rem; font-size: .84rem; border-radius: 10px; }
.btn-primary { color: #fff; background: var(--l-blue); box-shadow: 0 8px 20px -10px rgba(8, 126, 255, .7); }
.btn-primary:hover { background: var(--l-blue-dark); box-shadow: 0 12px 26px -10px rgba(8, 126, 255, .75); }
body.landing .btn-primary { color: #fff; }
.btn-glass { color: var(--l-text); background: var(--l-glass-2); border-color: var(--l-line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn-glass:hover { background: #fff; border-color: #8A9BB5; }

/* ---------- Navigation ---------- */
/* Full-width sticky band in the page colour, so content never shows above the floating bar. */
.lnav-wrap { position: sticky; top: 0; z-index: 50; padding: 16px 16px 12px; background: rgba(241, 246, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lnav {
  position: relative; display: flex; align-items: center; gap: 1.5rem;
  width: min(1200px, 100%); margin: 0 auto; padding: .6rem .7rem .6rem 1.1rem;
  border-radius: 16px; background: var(--l-glass-2); border: 1px solid var(--l-line);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--l-shadow); transition: box-shadow .2s var(--ease);
}
.lnav.scrolled { box-shadow: var(--l-shadow-lg); }
.lbrand { display: inline-flex; align-items: center; gap: .6rem; }
.lbrand .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 1rem; }
.lbrand-name { font: 700 1.08rem var(--font-head); color: var(--l-text); letter-spacing: -.01em; }
.lnav-links { display: flex; gap: .2rem; margin-left: auto; }
.lnav-links a { padding: .45rem .75rem; border-radius: 9px; font-size: .86rem; font-weight: 550; color: var(--l-muted); transition: color .15s, background .15s; }
.lnav-links a:hover { color: var(--l-text); background: #EEF4FF; }
.lnav-toggle { display: none; color: var(--l-text); }

/* ---------- Hero ---------- */
.hero {
  width: min(1200px, calc(100% - 32px)); margin: 0 auto; min-height: calc(100vh - 80px);
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; padding: 4rem 0 3rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .8rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--l-blue-dark);
  background: var(--l-blue-soft); border: 1px solid #CFE2FB;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--l-blue); animation: pulse 1.8s ease-in-out infinite; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.04; font-weight: 750; letter-spacing: -.035em; margin: 1.1rem 0 1.2rem; }
.grad { color: var(--l-blue-dark); }
.lead { font-size: 1.08rem; line-height: 1.65; color: var(--l-muted); max-width: 560px; margin: 0; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .84rem; color: var(--l-text-2); }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--l-green); box-shadow: 0 0 0 4px var(--l-green-soft); }

/* ---------- Hero 3D scene ---------- */
.scene { perspective: 1400px; height: 520px; position: relative; }
.stage {
  --rx: 6deg; --ry: -12deg;
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -12px; } }
.layer { position: absolute; transform-style: preserve-3d; }
.panel-main {
  top: 60px; left: 4%; width: 92%; border-radius: 20px; overflow: hidden; transform: translateZ(0);
  background: rgba(255, 255, 255, .88); border: 1px solid var(--l-line);
  box-shadow: var(--l-shadow-lg); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.pm-head { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-bottom: 1px solid var(--l-line); background: #f8fafc; }
.pm-dots { display: flex; gap: 6px; }
.pm-dots i { width: 10px; height: 10px; border-radius: 50%; background: #C5D6EC; }
.pm-dots i:first-child { background: #f87171; } .pm-dots i:nth-child(2) { background: #fbbf24; } .pm-dots i:nth-child(3) { background: #34d399; }
.pm-title { font-weight: 650; font-size: .86rem; color: var(--l-text); flex: 1; }
.chip { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.chip-exec { color: var(--l-teal); background: var(--l-teal-soft); border: 1px solid #C5D6EC; }
.chip-conf { color: var(--l-amber); background: var(--l-amber-soft); border: 1px solid #f5d9a8; }
.pm-body { padding: 1.1rem; display: grid; gap: .9rem; }
.pm-q { justify-self: end; max-width: 82%; padding: .7rem .95rem; border-radius: 14px 14px 4px 14px; font-size: .84rem; color: #fff; background: var(--l-blue); }
.pm-a { padding: 1rem; border-radius: 4px 14px 14px 14px; background: #fff; border: 1px solid var(--l-line); display: grid; gap: .85rem; }
.pm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.kpi { padding: .75rem .85rem; border-radius: 12px; background: #f8fafc; border: 1px solid var(--l-line); display: grid; gap: .1rem; }
.kpi span { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--l-muted); font-weight: 700; }
.kpi strong { font: 750 1.7rem var(--font-head); color: var(--l-text); letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .74rem; color: var(--l-blue-dark); }
.pm-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; padding: 0 .2rem; }
.bar { flex: 1; border-radius: 6px 6px 2px 2px; background: #8DBDF5; transform-origin: bottom; animation: grow 3.2s ease-in-out infinite alternate; }
.b1 { height: 45%; } .b2 { height: 72%; animation-delay: -.4s; } .b3 { height: 58%; animation-delay: -.8s; }
.b4 { height: 90%; animation-delay: -1.2s; background: var(--l-blue); }
.b5 { height: 66%; animation-delay: -1.6s; } .b6 { height: 80%; animation-delay: -2s; background: #7cc6d6; }
@keyframes grow { from { transform: scaleY(.55); } }
.pm-src { display: flex; align-items: center; gap: .55rem; font-size: .78rem; color: var(--l-muted); }
.pm-src .ref { background: var(--l-blue); }

.float {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .95rem; border-radius: 14px; min-width: 210px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--l-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--l-shadow-lg);
  animation: hover 6s ease-in-out infinite;
}
.float div { display: grid; line-height: 1.3; }
.float strong { font-size: .82rem; color: var(--l-text); }
.float span:not(.fi) { font-size: .72rem; color: var(--l-muted); }
.fi { width: 30px; height: 30px; border-radius: 9px; flex: none; position: relative; }
.fi::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: currentColor; }
.fi-green { color: var(--l-green); background: var(--l-green-soft); }
.fi-blue { color: var(--l-blue-dark); background: var(--l-blue-soft); }
.fi-teal { color: var(--l-teal); background: var(--l-teal-soft); }
.f1 { top: 0; right: -2%; transform: translateZ(120px); }
.f2 { bottom: -10px; left: -4%; transform: translateZ(160px); animation-delay: -2s; }
.f3 { bottom: -40px; right: 6%; transform: translateZ(90px); animation-delay: -4s; }
@keyframes hover { 50% { translate: 0 -10px; } }
.ring {
  --d: min(560px, 90vw);
  top: 50%; left: 50%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%;
  border: 1px dashed #b8c6dc; transform: rotateX(75deg) translateZ(-80px);
  animation: spin 40s linear infinite; pointer-events: none;
}
.ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--l-blue); box-shadow: 0 0 0 4px var(--l-blue-soft); }
@keyframes spin { to { transform: rotateX(75deg) translateZ(-80px) rotateZ(360deg); } }

/* ---------- Facts strip ---------- */
.facts {
  width: min(1200px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 20px; overflow: hidden; background: var(--l-glass-2); border: 1px solid var(--l-line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--l-shadow);
}
.fact { padding: 1.6rem 1.5rem; display: grid; gap: .3rem; border-right: 1px solid var(--l-line); }
.fact:last-child { border-right: 0; }
.fact strong { font: 750 2.4rem var(--font-head); letter-spacing: -.03em; color: var(--l-blue-dark); }
.fact span { font-size: .86rem; color: var(--l-muted); }

/* ---------- Sections ---------- */
.section { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 7rem 0 0; scroll-margin-top: 90px; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2, .split-copy h2, .cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; font-weight: 750; letter-spacing: -.03em; margin: 1rem 0 .9rem; }
.section-head p, .split-copy > p { color: var(--l-muted); font-size: 1.02rem; line-height: 1.65; margin: 0; }

/* Shared card look for every glass block on the page. */
.pipeline li, .tile, .role, .sec-list li, .tool, .rm {
  background: var(--l-glass); border: 1px solid var(--l-line); box-shadow: var(--l-shadow);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

/* ---------- Pipeline ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
/* Connecting line with a dot that travels along it. */
.pipeline::before { content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px; z-index: -1; background: #CFE2FB; }
.pipeline::after {
  content: ""; position: absolute; top: 42px; left: 8%; width: 10px; height: 10px; border-radius: 50%; z-index: -1;
  background: var(--l-blue); box-shadow: 0 0 0 4px var(--l-blue-soft); animation: travel 5s ease-in-out infinite;
}
@keyframes travel { 0% { left: 8%; } 100% { left: calc(92% - 10px); } }
.pipeline li { position: relative; padding: 1.3rem 1.1rem 1.4rem; border-radius: 18px; }
.step-n { position: absolute; top: 1rem; right: 1rem; font: 700 .72rem var(--font-code); color: #8A9BB5; }
.step-ic, .tile-ic {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 1rem;
  background: var(--l-blue-soft); border: 1px solid #CFE2FB;
}
.step-ic svg, .tile-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--l-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pipeline h3 { font-size: 1.02rem; margin: 0 0 .4rem; }
.pipeline p { margin: 0; font-size: .84rem; line-height: 1.55; color: var(--l-muted); }

/* ---------- Feature bento (3D tilt on hover) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; perspective: 1200px; }
.tile {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: 1.6rem; border-radius: 20px; overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover { border-color: #B5D3F7; box-shadow: var(--l-shadow-lg); }
.tile-xl { grid-row: span 2; background: rgba(232, 242, 255, .8); border-color: #CFE2FB; }
.tile-xl .tile-ic { background: var(--l-blue); border-color: var(--l-blue-dark); }
.tile-xl .tile-ic svg { stroke: #fff; }
.tile-wide { grid-column: span 2; }
.tile h3 { font-size: 1.12rem; margin: 0 0 .5rem; }
.tile-xl h3 { font-size: 1.45rem; }
.tile p { margin: 0; font-size: .88rem; line-height: 1.62; color: var(--l-muted); }
.ticks { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: center; font-size: .88rem; color: var(--l-text-2); }
.ticks li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--l-green-soft);
  border: 5px solid var(--l-green-soft); box-shadow: inset 0 0 0 4px var(--l-green);
}

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; }
.role { padding: 1.2rem 1.1rem; border-radius: 18px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.role:hover { transform: translateY(-4px); border-color: #B5D3F7; box-shadow: var(--l-shadow-lg); }
.role h3 { font-size: .98rem; margin: .8rem 0 .3rem; }
.role p { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--l-muted); }
.scope { display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; }
.s-company { color: var(--l-blue-dark); background: var(--l-blue-soft); }
.s-unit { color: var(--l-teal); background: var(--l-teal-soft); }
.s-team { color: var(--l-cyan); background: var(--l-cyan-soft); }
.s-self { color: var(--l-green); background: var(--l-green-soft); }
.s-none { color: var(--l-amber); background: var(--l-amber-soft); }

/* ---------- Security split with rotating cube ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.sec-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.sec-list li { padding: .95rem 1.1rem; border-radius: 14px; font-size: .9rem; line-height: 1.55; color: var(--l-muted); border-left: 3px solid var(--l-blue); }
.sec-list strong { color: var(--l-text); font-weight: 650; }
.cube-wrap { height: 420px; display: grid; place-items: center; perspective: 1000px; position: relative; }
.cube { --s: 200px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d; animation: cube 18s linear infinite; }
@keyframes cube { from { transform: rotateX(-22deg) rotateY(0deg); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.face {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; border-radius: 10px;
  background: #ffffff; border: 1px solid #CFE2FB; box-shadow: inset 0 0 0 6px var(--l-blue-soft);
  font: 650 .95rem var(--font-head); color: var(--l-text); backface-visibility: hidden;
}
.face svg { width: 44px; height: 44px; fill: none; stroke: var(--l-blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fr { transform: translateZ(calc(var(--s) / 2)); }
.bk { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.rt { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: #F1F6FF; }
.lt { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: #F1F6FF; }
.tp { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: #E8F2FF; }
.bt { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #DCE7F5; }
.cube-shadow { position: absolute; bottom: 40px; width: 220px; height: 26px; border-radius: 50%; background: rgba(20, 45, 80, .12); filter: blur(12px); }

/* ---------- Integrations marquee ---------- */
.marquee { overflow: hidden; padding: .6rem 0; }
.marquee-track { display: flex; gap: .9rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .45rem)); } }
.tool { padding: 1rem 1.5rem; border-radius: 14px; font: 650 .95rem var(--font-head); color: var(--l-text-2); white-space: nowrap; }
.note { text-align: center; color: var(--l-muted); font-size: .9rem; margin: 1.6rem 0 0; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.rm { padding: 1.3rem 1.15rem; border-radius: 18px; border-style: dashed; border-color: var(--l-line-2); box-shadow: none; background: rgba(255, 255, 255, .5); }
.rm-tag { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--l-amber); background: var(--l-amber-soft); padding: .2rem .55rem; border-radius: 999px; }
.rm h3 { font-size: 1rem; margin: .8rem 0 .35rem; }
.rm p { margin: 0; font-size: .82rem; line-height: 1.55; color: var(--l-muted); }

/* ---------- Call to action ---------- */
.cta {
  width: min(1000px, calc(100% - 32px)); margin: 7rem auto 0; padding: 3.5rem 2rem; text-align: center; border-radius: 28px;
  background: var(--l-blue); color: #fff; box-shadow: 0 30px 70px -30px rgba(8, 126, 255, .7);
}
body.landing .cta h2 { color: #fff; margin-top: 0; }
.cta p { color: #E8F2FF; max-width: 560px; margin: 0 auto 1.8rem; line-height: 1.6; }
.cta .btn-primary { background: #fff; color: var(--l-blue-dark); box-shadow: 0 10px 24px -12px rgba(20, 45, 80, .5); }
body.landing .cta .btn-primary { color: var(--l-blue-dark); }
.cta .btn-primary:hover { background: #E8F2FF; }

/* ---------- Footer ---------- */
.lfoot {
  width: min(1200px, calc(100% - 32px)); margin: 5rem auto 0; padding: 1.6rem 0 2.2rem; border-top: 1px solid var(--l-line);
  display: flex; align-items: center; gap: 1.2rem; font-size: .85rem;
}
.lfoot .muted { flex: 1; font-size: .85rem; }
.lfoot a { color: var(--l-muted); }
.lfoot a:hover { color: var(--l-text); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .tile[data-reveal].in { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity .7s var(--ease), transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track .tool[aria-hidden="true"] { display: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 3rem; min-height: 0; }
  .lead { margin: 0 auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .scene { height: 460px; max-width: 620px; width: 100%; margin: 0 auto; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline::before, .pipeline::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-xl { grid-row: auto; grid-column: span 2; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .cube-wrap { height: 340px; }
}
@media (max-width: 760px) {
  .lnav { gap: .6rem; }
  .lnav-toggle { display: inline-grid; }
  .lnav .btn-sm { margin-left: auto; }
  .lnav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: .5rem;
    border-radius: 14px; background: #fff; border: 1px solid var(--l-line); box-shadow: var(--l-shadow-lg);
  }
  .lnav.open .lnav-links { display: flex; }
  .lnav-links a { padding: .75rem .9rem; }
  .scene { height: 400px; }
  .f1, .f3 { display: none; }
  .f2 { left: 2%; bottom: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n + 2) { border-bottom: 1px solid var(--l-line); }
  .section { padding-top: 5rem; }
  .pipeline, .bento, .roadmap { grid-template-columns: 1fr; }
  .tile-xl, .tile-wide { grid-column: auto; }
  .lfoot { flex-wrap: wrap; }
}
