:root{
  --bg:#06172d;
  --bg-2:#0b2241;
  --ink:#f4f7fb;
  --muted:#a9b8ca;
  --line:rgba(255,255,255,.11);
  --card:rgba(255,255,255,.06);
  --accent:#7fb7ff;
  --serif:"Cormorant Garamond", Georgia, serif;
  --sans:"Inter", system-ui, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
/* Lenis smooth-scroll support */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}
.lenis.lenis-smooth iframe{pointer-events:none}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-weight:400;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 8%,rgba(46,110,190,.28),transparent 42%),linear-gradient(180deg,rgba(255,255,255,.015),transparent 25%);z-index:-2}
.page-grid{position:fixed;inset:0;pointer-events:none;opacity:.38;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:160px 160px;mask-image:linear-gradient(to bottom,transparent,black 12%,black 88%,transparent);z-index:-1}
a{color:inherit;text-decoration:none}
main section[id]{scroll-margin-top:88px}

/* Small editorial scene tag, top-left of a panel */
.section-tag{position:absolute;top:26px;left:34px;font-size:10px;letter-spacing:.28em;color:#6f8bb0;z-index:6}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;display:flex;justify-content:flex-end;align-items:center;padding:22px 34px;z-index:20;background:linear-gradient(to bottom,rgba(6,23,45,.9),rgba(6,23,45,0))}
.nav nav{display:flex;gap:26px;align-items:center;font-size:13px;color:#dce5ef}
.nav nav a:not(.nav-cta):not(.nav-dash){opacity:.85;transition:opacity .2s ease}
.nav nav a:not(.nav-cta):not(.nav-dash):hover{opacity:1}
.nav-cta{border:1px solid rgba(255,255,255,.38);padding:10px 18px;border-radius:999px;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background .2s ease,color .2s ease}
.nav-cta:hover{background:rgba(255,255,255,.12)}
.nav-dash{background:#fff;color:#09172a;font-weight:600;padding:10px 18px;border-radius:999px;box-shadow:0 6px 18px rgba(0,0,0,.25);transition:transform .2s ease,box-shadow .2s ease}
.nav-dash:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,.32)}

/* Glossy logo orb — the navy-badge logo fills the circle exactly (its own
   disc IS the sphere, so there is no ring/gap), with a lit sheen on top and a
   soft glow + drop shadow around it. */
.logo-orb{position:relative;display:inline-grid;place-items:center;border-radius:50%;
  width:min(30vw,26vh,288px);height:min(30vw,26vh,288px);margin:0 auto 22px;
  box-shadow:0 40px 90px rgba(0,0,0,.5)}
.logo-orb img{width:100%;height:100%;object-fit:contain;border-radius:50%;display:block}
/* sheen sits ON TOP of the mark for a lit-sphere highlight */
.logo-orb:before{content:"";position:absolute;inset:0;border-radius:50%;z-index:2;pointer-events:none;
  background:radial-gradient(circle at 38% 26%,rgba(255,255,255,.4),rgba(255,255,255,.08) 26%,transparent 48%);
  mix-blend-mode:screen}
/* soft outer glow behind */
.logo-orb:after{content:"";position:absolute;inset:-12%;border-radius:50%;z-index:-1;
  background:radial-gradient(circle,rgba(90,140,220,.3),transparent 62%);filter:blur(14px)}
.logo-orb.sm{width:190px;height:190px;margin:0}

/* HERO */
.hero{min-height:100vh;position:relative;display:flex;align-items:center;justify-content:center;padding:80px 24px 56px}
.hero-inner{text-align:center;max-width:920px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.03;margin:0;letter-spacing:-.005em}
.hero h1{font-size:clamp(38px,4.8vw,68px);letter-spacing:-.04em}
.hero p{max-width:600px;margin:16px auto 0;color:var(--muted);font-size:16px;line-height:1.55}

.eyebrow{display:block;font-size:10px;letter-spacing:.28em;color:#88a6c7;margin-bottom:18px}

/* Shared story panels */
.story-panel,.product-section{min-height:100vh;padding:76px 7vw 52px;position:relative;border-top:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}
.section-copy{max-width:600px;position:relative}
.section-copy h2,.product-copy h2{font-size:clamp(44px,5vw,76px);letter-spacing:-.04em}
.section-copy p,.product-copy p{color:var(--muted);font-size:17px;line-height:1.6;max-width:680px}

/* 02 — PROBLEM: fragmented-tools scene, coded to match the approved style */
.problem{max-width:1120px;margin:0 auto}
.problem .section-copy{max-width:640px;margin-bottom:18px}
.fragmentation-map{position:relative;height:min(46vh,430px);width:100%;perspective:880px;perspective-origin:50% 42%}
.connector-lines{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.connector-lines path{fill:none;stroke:rgba(150,185,235,.4);stroke-width:1.1}
.map-core{position:absolute;left:50%;top:50%;width:150px;height:150px;transform:translate(-50%,-50%);border-radius:50%;z-index:0;pointer-events:none;
  background:radial-gradient(circle,rgba(150,185,235,.2),transparent 62%);filter:blur(4px)}
/* frosted-glass tool cards */
.fcard{position:absolute;z-index:1;width:230px;padding:14px 15px 15px;border-radius:16px;
  background:linear-gradient(160deg,rgba(253,254,255,.98),rgba(244,247,251,.96));
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 26px 60px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#17263f;
  transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s ease}
.fcard header{display:flex;align-items:center;gap:11px;margin-bottom:8px}
.fcard .brand{flex:0 0 34px;width:34px;height:34px;border-radius:9px;overflow:hidden;box-shadow:0 4px 10px rgba(20,40,70,.25)}
.fcard .brand svg{display:block;width:100%;height:100%}
.fcard b{font-size:14px;font-weight:600;color:#14233c}
.fcard .fname{font-size:12px;font-weight:600;color:#5b6b82;letter-spacing:.02em}
.fcard time{margin-left:auto;font-size:11px;color:#6b7c95;font-weight:500}
.fcard p{margin:2px 0 0;font-size:12.5px;line-height:1.42;color:#3a4a63}
.fcard p.lead{font-weight:600;color:#17263f;display:flex;align-items:center}
.fcard p.lead time{margin-left:auto}
.fcard p.muted,.fcard .muted{color:#7a8aa0}
.fcard .flink{display:inline-block;margin-top:8px;font-size:11px;font-weight:600;color:#2f6bd0}
.fcard.wide{width:250px}
.mini{width:100%;border-collapse:collapse;font-size:11px;margin-top:2px}
.mini th{color:#6b7c95;text-align:left;font-weight:500;padding:0 12px 5px 0}
.mini td{padding:4px 12px 4px 0;color:#2c3c56;white-space:nowrap}
.mini th:last-child,.mini td:last-child{padding-right:0}
.mini td.muted{color:#8ea2ba}
/* scattered positions + 3D tilt toward a shared vanishing point (floating panels) */
.c1{left:0;top:32px;transform:rotateX(9deg) rotateY(18deg) translateZ(36px)}
.c2{left:33%;top:0;transform:rotateX(14deg) rotateY(-3deg) translateZ(-58px)}
.c3{right:0;top:14px;transform:rotateX(9deg) rotateY(-18deg) translateZ(26px)}
.c4{left:2%;bottom:0;transform:rotateX(-10deg) rotateY(19deg) translateZ(50px)}
.c5{left:36%;bottom:4px;transform:rotateX(-14deg) rotateY(2deg) translateZ(-48px)}
.c6{right:3%;bottom:0;transform:rotateX(-10deg) rotateY(-19deg) translateZ(36px)}
/* lift flat toward the viewer on hover */
.fcard:hover{transform:rotateX(0) rotateY(0) translateZ(46px);box-shadow:0 40px 90px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.9);z-index:3}

/* 04 — CONSEQUENCE */
.consequence{display:grid;grid-template-columns:1fr .9fr;gap:7vw;align-items:center}
.task-wrap{position:relative}
.task-stack{display:flex;flex-direction:column;gap:10px;max-width:520px}
.task{padding:18px 20px;border:1px solid var(--line);border-radius:12px;background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));background-color:rgba(255,255,255,0);box-shadow:0 10px 30px rgba(0,0,0,.16);font-size:14px;display:flex;align-items:center;
  transition:transform .28s cubic-bezier(.22,1,.36,1),background-color .28s cubic-bezier(.22,1,.36,1),border-color .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.22,1,.36,1)}
.task{cursor:pointer}
.task:focus-visible{outline:2px solid #7fb7ff;outline-offset:3px}
.task span{display:inline-flex;width:20px;height:20px;border:1px solid #6d8eb1;border-radius:6px;margin-right:12px;align-items:center;justify-content:center;color:#8cc7ff;flex:0 0 20px;transition:border-color .28s cubic-bezier(.22,1,.36,1),background-color .28s ease}
.task span svg{width:12px;height:12px;opacity:0;transition:opacity .18s ease}
.task.done span{background:var(--accent);border-color:var(--accent);color:#06182d}
.task.done span svg{opacity:1}
/* premium, restrained lift on hover-capable devices */
@media (hover:hover){
  .task:hover{transform:translateY(-3.5px) scale(1.022);background-color:rgba(255,255,255,.055);border-color:rgba(255,255,255,.22);box-shadow:0 22px 46px rgba(0,0,0,.3)}
  .task:not(.done):hover span{border-color:#a6ccf2}
}
@media (prefers-reduced-motion:reduce){
  .task{transition:none}
  .task:hover{transform:none}
}

/* 04. REVEAL: sources -> orb -> actions hub with flowing wires */
.reveal{max-width:1120px;margin:0 auto}
.reveal .section-copy{max-width:640px;margin-bottom:18px}
.hub{position:relative;height:min(56vh,460px);aspect-ratio:980/520;width:auto;max-width:100%;margin:0 auto}
.hub-wires{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:visible}
.hub-wires .wire{filter:drop-shadow(0 0 3px rgba(120,175,255,.55))}
.hub-wires .wire path{fill:none;stroke:rgba(198,220,255,.62);stroke-width:1.1;stroke-linecap:round}
.hub-wires .ring{fill:none;stroke:rgba(185,212,255,.5);stroke-width:1.3;filter:drop-shadow(0 0 5px rgba(120,175,255,.55))}
.hub-wires .ring2{stroke:rgba(160,195,255,.22)}
.hub-sources,.hub-actions{position:absolute;top:0;height:100%;z-index:2}
.hub-sources{left:5.5%;width:46px}
.hub-actions{right:0;width:23%;min-width:200px}
.hub-sources .app{position:absolute;left:0;width:100%;aspect-ratio:1;border-radius:14px;overflow:hidden;
  transform:translateY(-50%);box-shadow:0 12px 26px rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.10)}
.hub-sources .app svg{display:block;width:100%;height:100%}
.hub-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2}
.hub-center .logo-orb{width:clamp(122px,15.5vw,152px);height:auto;aspect-ratio:1;margin:0;box-shadow:none}
/* show the uploaded logo clean: no glossy sheen overlay on the mark */
.hub-center .logo-orb:before{content:none}
.hub-center .logo-orb:after{inset:-24%;background:radial-gradient(circle,rgba(120,175,255,.5),rgba(90,140,220,.18) 45%,transparent 62%);filter:blur(18px)}
.hub-actions .act{position:absolute;right:0;width:100%;transform:translateY(-50%);
  display:flex;align-items:center;gap:11px;padding:12px 15px;border-radius:12px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  color:#dbe6f4;font-size:13px;font-weight:500;white-space:nowrap;
  box-shadow:0 12px 30px rgba(0,0,0,.28)}
.hub-actions .act .ic{flex:0 0 27px;width:27px;height:27px;border-radius:8px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);
  display:grid;place-items:center;color:#bcd2ee}
.hub-actions .act .ic svg{width:15px;height:15px}

/* 06 — PRODUCT */
.product-copy{max-width:720px;margin-bottom:10px}
.product-copy p.one-line{max-width:none;white-space:nowrap;font-size:clamp(13px,1.45vw,17px)}
.product-copy h2{font-size:clamp(34px,3.8vw,58px)}
.dashboard{display:grid;grid-template-columns:210px 1fr;max-width:860px;width:100%;margin:0 auto;border:1px solid rgba(135,186,247,.22);border-radius:18px;overflow:hidden;background:#081a32;box-shadow:0 40px 100px rgba(0,0,0,.38)}
.dashboard aside{padding:16px 12px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:2px}
.dash-brand{font-family:var(--serif);font-weight:600;font-size:18px;margin-bottom:12px;padding-left:6px}
.dashboard aside a{padding:7px 12px;border-radius:8px;color:#9fb0c4;font-size:13px;display:flex;align-items:center;gap:10px;cursor:pointer}
.dashboard aside a i{width:16px;text-align:center;font-style:normal;opacity:.8}
.dashboard aside a:hover{background:#0c2547}
.dashboard aside a.active{background:#0f2a4e;color:#fff}
.dash-main{padding:12px 18px 14px}
.dash-top{display:flex;gap:12px}
.dash-top input{flex:1;background:#07172c;border:1px solid var(--line);border-radius:9px;color:#fff;padding:9px 14px;font-size:13px}
.dash-top button{background:#bcdcff;color:#09203c;border:0;border-radius:9px;padding:0 16px;font-weight:600;font-size:13px;cursor:pointer}
.dash-title{display:flex;justify-content:space-between;align-items:end;padding:10px 0 8px}
.dash-title small{color:#8198b2;font-size:11px;letter-spacing:.12em}
.dash-title h3{font-family:var(--serif);font-size:22px;margin:2px 0}
.dash-tabs{display:flex;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.tab{background:transparent;border:1px solid var(--line);color:#9fb2c8;padding:7px 13px;border-radius:999px;font-size:12px;cursor:pointer;display:inline-flex;gap:6px;align-items:center}
.tab em{font-style:normal;color:#7f97b3}
.tab.active{background:#123256;border-color:#255089;color:#fff}
.tab.active em{color:#bcdcff}
.table{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.tr{display:grid;grid-template-columns:1.1fr 1.3fr .9fr .9fr .8fr;padding:5px 16px;border-top:1px solid var(--line);font-size:12px;align-items:center}
.tr:first-child{border-top:0}
.th{color:#748da9;background:#07152a;letter-spacing:.04em}
.pill{padding:5px 10px;border-radius:999px;width:max-content;font-size:11px;font-weight:500;color:#c4d2e4;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}

/* Footer */
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:24px 34px;border-top:1px solid var(--line);background:#050f1f;position:relative;z-index:1}
.site-footer .foot-brand{font-family:var(--serif);font-weight:600;font-size:16px;color:#eaf1fb}
.site-footer .foot-copy{color:#8ea2ba;font-size:12px}

/* Book a Demo modal */
.modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}
.modal[hidden]{display:none}
.modal-backdrop{position:absolute;inset:0;background:rgba(3,10,22,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.modal-card{position:relative;z-index:1;width:100%;max-width:440px;background:linear-gradient(180deg,#0d2140,#0a1a33);border:1px solid rgba(150,190,240,.2);border-radius:20px;padding:34px 30px 30px;box-shadow:0 40px 100px rgba(0,0,0,.55);animation:modalIn .3s cubic-bezier(.22,1,.36,1)}
@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.modal-x{position:absolute;top:16px;right:16px;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:9px;background:rgba(255,255,255,.06);color:#c4d2e4;cursor:pointer;transition:background .2s ease}
.modal-x:hover{background:rgba(255,255,255,.14)}
.modal-x svg{width:16px;height:16px}
.modal-card h2{font-size:34px;margin:0 0 6px}
.modal-sub{color:var(--muted);font-size:14px;margin:0 0 22px}
#demoForm{display:flex;flex-direction:column;gap:14px}
.field-row{display:flex;gap:12px}
#demoForm{width:100%}
.field-row{width:100%}
.field{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:500;letter-spacing:.02em;color:#9fb2c8}
.field input{width:100%;min-width:0;box-sizing:border-box;background:#07172c;border:1px solid rgba(255,255,255,.14);border-radius:10px;color:#fff;padding:11px 13px;font-size:14px;font-family:var(--sans);transition:border-color .2s ease,box-shadow .2s ease}
.field input:focus{outline:none;border-color:#7fb7ff;box-shadow:0 0 0 3px rgba(127,183,255,.18)}
.field input:user-invalid{border-color:#e0655e}
.modal-submit{margin-top:6px;background:#fff;color:#09203c;border:0;border-radius:10px;padding:13px 16px;font-family:var(--sans);font-size:14px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 10px 26px rgba(0,0,0,.3)}
.modal-submit:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(0,0,0,.38)}
.modal-msg{margin:4px 0 0;font-size:13px;color:#8fd0a6}
body.modal-open{overflow:hidden}


/* Reveal-on-scroll (added by script.js) */
.in-view{opacity:1!important;transform:translateY(0)!important}

@media(max-width:900px){
  .nav{padding:18px 22px}
  .nav nav a:not(.nav-cta):not(.nav-dash){display:none}
  .nav nav{gap:14px}
  .section-tag{left:22px;top:20px}
  .logo-orb{width:230px;height:230px}
  .problem,.consequence,.reveal{grid-template-columns:1fr}
  .fragmentation-map{height:auto;margin-top:30px;display:flex;flex-direction:column;gap:14px}
  .fragmentation-map .connector-lines,.fragmentation-map .map-core{display:none}
  .fcard,.fcard.wide{position:static;width:100%;transform:none}
  .fragmentation-map{perspective:none}
  .hub{aspect-ratio:auto;max-width:440px;display:flex;flex-direction:column;align-items:center;gap:18px}
  .hub-wires{display:none}
  .hub-sources{position:static;width:auto;height:auto;display:flex;flex-direction:row;gap:12px}
  .hub-sources .app{position:static;width:46px;transform:none}
  .hub-center .logo-orb{width:118px}
  .hub-actions{position:static;width:100%;min-width:0;height:auto;display:flex;flex-direction:column;gap:10px}
  .hub-actions .act{position:static;width:100%;transform:none}
  .logo-orb.sm{width:150px;height:150px}
  .task-wrap{margin-top:36px}
  .site-footer{padding:20px 22px;gap:10px}
  .dashboard{grid-template-columns:1fr}
  .dashboard aside{display:none}
  .table{overflow-x:auto;overflow-y:hidden}
  .tr{min-width:540px}
  .story-panel,.product-section{min-height:auto;padding:84px 24px}
  .product-copy p.one-line{white-space:normal;font-size:15px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
