/* Liquid glass layer: clear refractive surfaces, specular rims, soft depth. */
:root{
  --lg-blur:blur(22px) saturate(190%) brightness(1.06);
  --lg-fill:linear-gradient(180deg,rgb(255 255 255 / 9%) 0%,rgb(255 255 255 / 2.5%) 48%,rgb(255 255 255 / 4.5%) 100%);
  --lg-tint:rgb(14 14 18 / 22%);
  --lg-shadow:
    inset 0 1px 0 rgb(255 255 255 / 42%),
    inset 0 -1px 0 rgb(255 255 255 / 10%),
    inset 0 0 0 .5px rgb(255 255 255 / 14%),
    inset 0 18px 28px -22px rgb(255 255 255 / 30%),
    inset 0 -14px 24px -20px rgb(255 255 255 / 12%),
    0 1px 2px rgb(0 0 0 / 35%),
    0 18px 50px -18px rgb(0 0 0 / 75%);
  --lg-rim:linear-gradient(135deg,rgb(255 255 255 / 75%) 0%,rgb(255 255 255 / 12%) 22%,rgb(255 255 255 / 0%) 45%,rgb(255 255 255 / 4%) 62%,rgb(255 255 255 / 40%) 100%);
}

/* Shared recipe */
.lg,
.industrycard,.launch,.security,.scalebox,.formpanel,.pair>section,.vis-frame,
.btn.quiet,.chip,.switches button,.case-open,.menu,body>.motion-control{
  background:var(--lg-fill),var(--lg-tint);
  -webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);
  border:0;box-shadow:var(--lg-shadow);position:relative;isolation:isolate;
}
.industrycard::after,.launch::after,.security::after,.scalebox::after,.formpanel::after,.pair>section::after,.vis-frame::after,
.btn.quiet::after,.chip::after,.switches button::after,body>.motion-control::after{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:2;
  background:var(--lg-rim);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;
}

/* ---------- Navigation capsule ---------- */
header,.front header{
  position:fixed;z-index:30;inset:max(12px,env(safe-area-inset-top)) 0 auto;margin:0 auto;
  width:calc(100% - 32px);max-width:1120px;border:0;border-radius:999px;background:transparent;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.inside main{padding-top:84px}
.glass-pane{
  background:
    radial-gradient(120% 140% at 50% -40%,rgb(255 255 255 / 16%),transparent 55%),
    linear-gradient(180deg,rgb(255 255 255 / 7%),rgb(255 255 255 / 1.5%) 55%,rgb(255 255 255 / 4%)),
    rgb(12 12 16 / 26%);
  -webkit-backdrop-filter:blur(18px) saturate(200%) brightness(1.08);backdrop-filter:blur(18px) saturate(200%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 55%),
    inset 0 -1px 0 rgb(255 255 255 / 14%),
    inset 0 0 0 .5px rgb(255 255 255 / 18%),
    inset 0 12px 18px -14px rgb(255 255 255 / 38%),
    inset 0 -10px 16px -14px rgb(255 255 255 / 18%),
    0 1px 1px rgb(0 0 0 / 40%),
    0 12px 40px -10px rgb(0 0 0 / 70%);
}
.glass-pane::after{
  background:
    radial-gradient(ellipse 26% 160% at var(--light-x,18%) 0%,rgb(255 255 255 / 95%),transparent 80%),
    linear-gradient(120deg,rgb(255 255 255 / 55%),rgb(255 255 255 / 0%) 30%,rgb(255 255 255 / 0%) 70%,rgb(255 255 255 / 45%));
}
.glass-pane::before{
  content:"";position:absolute;left:8%;right:8%;top:0;height:50%;border-radius:999px 999px 40% 40%;pointer-events:none;
  background:linear-gradient(180deg,rgb(255 255 255 / 10%),transparent);
}
@supports (backdrop-filter:url("#nav-optics") blur(3px)){
  .glass-pane.refractive{backdrop-filter:var(--nav-optics) blur(14px) saturate(200%) brightness(1.08)}
}
header .bar,.front header .bar{position:relative;height:54px;max-width:none;padding-inline:22px 7px;gap:14px}
header .logo,.front header .logo{font-size:1rem;gap:9px}
header .logomark,.front header .logomark{width:19px;height:19px}
#mainnav,.front #mainnav{gap:2px}
#mainnav a,.front #mainnav a{position:relative;padding:8px 14px;border-radius:999px;font-size:.84rem;font-weight:510;color:rgb(255 255 255 / 82%);transition:color .2s,background .25s,box-shadow .25s}
#mainnav a:hover{color:#fff;background:rgb(255 255 255 / 7%);box-shadow:inset 0 1px 0 rgb(255 255 255 / 22%),inset 0 0 0 .5px rgb(255 255 255 / 12%)}
#mainnav a[aria-current]{color:#fff;background:rgb(255 255 255 / 11%);box-shadow:inset 0 1px 0 rgb(255 255 255 / 30%),inset 0 0 0 .5px rgb(255 255 255 / 16%)}
.headbtn,.front .headbtn{
  min-height:40px;padding:6px 18px;border:0;border-radius:999px;font-size:.84rem;font-weight:580;color:#0b0b0c;
  background:linear-gradient(180deg,rgb(255 255 255 / 96%),rgb(232 230 226 / 90%));
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgb(0 0 0 / 12%),0 1px 2px rgb(0 0 0 / 40%),0 6px 18px -6px rgb(255 255 255 / 35%);
}
.headbtn:hover,.front .headbtn:hover,.front .headbtn:focus-visible{color:#000;background:#fff;border-color:transparent}

/* ---------- Buttons ---------- */
.btn{border-radius:999px;min-height:48px;padding:12px 24px}
.sky-copy .btn{border-radius:999px}
.btn.primary,.sky-copy .btn.primary{
  border:0;color:#0b0b0c;
  background:linear-gradient(180deg,#fff,rgb(230 228 224 / 92%));
  box-shadow:inset 0 1px 0 #fff,inset 0 -2px 4px rgb(0 0 0 / 10%),0 1px 2px rgb(0 0 0 / 45%),0 10px 30px -10px rgb(255 255 255 / 40%);
}
.btn.primary:hover,.sky-copy .btn.primary:hover{background:#fff;transform:translateY(-1px);box-shadow:inset 0 1px 0 #fff,0 1px 2px rgb(0 0 0 / 45%),0 14px 36px -10px rgb(255 255 255 / 55%)}
.btn.quiet,.sky-copy .quiet{color:#fff}
.btn.quiet:hover,.sky-copy .quiet:hover{background:var(--lg-fill),rgb(255 255 255 / 9%)}
.chip,.switches button{border-radius:999px;color:rgb(255 255 255 / 82%)}
.chip[aria-current],.switches button[aria-pressed=true]{color:#0b0b0c;background:linear-gradient(180deg,#fff,#e6e4e0);box-shadow:inset 0 1px 0 #fff,0 1px 2px rgb(0 0 0 / 40%)}
.chip[aria-current]::after,.switches button[aria-pressed=true]::after{display:none}

/* ---------- Panels ---------- */
.industrycard,.launch,.scalebox,.formpanel,.pair>section{border-radius:24px}
.industrycard{background:var(--lg-fill),rgb(14 14 18 / 30%)}
.industrycard:is(:hover,:active,.lit){background:linear-gradient(180deg,rgb(255 255 255 / 12%),rgb(255 255 255 / 3%) 50%,rgb(255 255 255 / 6%)),rgb(18 18 22 / 30%);border:0;transform:translateY(-2px)}
.industrycard{transition:transform .35s cubic-bezier(.2,.7,.2,1),background .3s}
.launch{background:radial-gradient(ellipse 60% 80% at 100% 0%,rgb(240 238 233 / 10%),transparent 60%),var(--lg-fill),rgb(10 10 14 / 30%)}
.launch::before{display:none}
.vis-frame{border-radius:18px;background:radial-gradient(ellipse 70% 60% at 0% 0%,rgb(255 255 255 / 7%),transparent 60%),var(--lg-fill),rgb(8 8 11 / 55%)}
.vis-kpis,.vis-side{border-radius:12px;background:rgb(255 255 255 / 6%);border-color:transparent}
.vis-kpis>div,.vis-side>div{background:rgb(10 10 13 / 55%)}
.vis-pipe .col,.vis-doc,.vis-items li,.vis-days .day,.vis-wave,.msg{border-radius:12px;border-color:rgb(255 255 255 / 8%);background:rgb(255 255 255 / 3%);box-shadow:inset 0 1px 0 rgb(255 255 255 / 7%)}
.vis-pipe .col span{border-radius:8px;background:rgb(255 255 255 / 4%);border-color:rgb(255 255 255 / 7%)}
.vis-status{border:0;background:rgb(255 255 255 / 7%);box-shadow:inset 0 1px 0 rgb(255 255 255 / 25%),inset 0 0 0 .5px rgb(255 255 255 / 14%)}
.ic-preview .vis-frame{-webkit-backdrop-filter:none;backdrop-filter:none}
.strip{background:var(--lg-fill),rgb(8 8 10 / 40%);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);border-block:0;box-shadow:inset 0 1px 0 rgb(255 255 255 / 18%),inset 0 -1px 0 rgb(255 255 255 / 6%)}

/* Round controls */
.case-open{border-radius:50%}
body>.motion-control{border-radius:50%;color:#fff}
.menu{border-radius:50%}

/* ---------- Mobile ---------- */
@media(max-width:760px){
  header,.front header{width:calc(100% - 18px);top:max(8px,env(safe-area-inset-top))}
  header .bar,.front header .bar{height:50px;padding-inline:16px 5px;gap:6px}
  .inside main{padding-top:72px}
  header .headbtn,.front header .headbtn{min-height:36px;padding:4px 14px}
  header .menu,.front header .menu{width:40px;height:40px;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  header .menu::before,.front header .menu::before{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--lg-fill);box-shadow:inset 0 1px 0 rgb(255 255 255 / 40%),inset 0 0 0 .5px rgb(255 255 255 / 18%)}
  #mainnav,.front #mainnav{top:calc(100% + 8px);border:0;border-radius:24px;padding:10px;gap:2px;
    background:var(--lg-fill),rgb(12 12 16 / 62%);-webkit-backdrop-filter:blur(26px) saturate(190%);backdrop-filter:blur(26px) saturate(190%);box-shadow:var(--lg-shadow)}
  #mainnav a,.front #mainnav a{padding:13px 16px;font-size:1rem}
  .industrycard,.launch,.scalebox,.formpanel,.pair>section{border-radius:20px}
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
  .industrycard,.launch,.scalebox,.formpanel,.pair>section,.vis-frame,.btn.quiet,.chip,.switches button,.glass-pane,#mainnav{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#18181b}
}
.inside header{margin:0 auto;border:0}
