/* FlowOversee feature pages — shared stylesheet.
   Derived from the landing page design system (index.html); keep tokens in
   lockstep with it. Fonts are self-hosted: no request leaves this site. */

@font-face { font-family:'Inter'; font-style:normal; font-weight:400 800; font-display:swap;
  src:url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400 800; font-display:swap;
  src:url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root{
  --bg:#0b0b10; --bg2:#0e0e15; --card:#15151f; --card2:#1a1a26;
  --border:#262633; --border2:#333343;
  --text:#e9e9f2; --muted:#9a9ab0; --muted2:#6f6f86;
  --violet:#7c5cff; --violet2:#9d7cff; --violet-soft:rgba(124,92,255,.14);
  --green:#22c55e; --blue:#3b82f6; --red:#ef4444; --amber:#f59e0b;
  --maxw:1140px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
[id]{scroll-margin-top:84px} /* anchored sections clear the fixed nav */
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px}
.eyebrow{display:inline-block; font-size:13px; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; color:var(--violet2); margin-bottom:16px}
h1,h2,h3{line-height:1.12; letter-spacing:-.02em; margin:0}
.muted{color:var(--muted)}

/* ---------- background glow ---------- */
.glow{position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden}
.glow::before,.glow::after{content:""; position:absolute; border-radius:50%; filter:blur(120px); opacity:.32}
.glow::before{width:680px; height:680px; top:-260px; left:50%; transform:translateX(-55%);
  background:radial-gradient(circle, rgba(124,92,255,.45), transparent 70%)}
.glow::after{width:520px; height:520px; top:520px; right:-180px;
  background:radial-gradient(circle, rgba(59,130,246,.28), transparent 70%)}

/* ---------- nav ---------- */
nav{position:fixed; top:0; left:0; right:0; z-index:50; transition:all .3s ease;
  border-bottom:1px solid transparent}
nav.scrolled{background:rgba(11,11,16,.72); backdrop-filter:blur(14px); border-bottom-color:var(--border)}
.nav-inner{display:flex; align-items:center; justify-content:space-between; height:68px}
.brand{display:flex; align-items:center; gap:11px; font-weight:700; font-size:18px; letter-spacing:-.01em}
.brand .logo{width:30px; height:30px; border-radius:7px}
.nav-links{display:flex; align-items:center; gap:34px}
.nav-links a{font-size:14.5px; color:var(--muted); font-weight:500; transition:color .2s}
.nav-links a:hover{color:var(--text)}
.nav-links a[aria-current="page"]{color:var(--text)}
.btn{display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:14.5px;
  padding:11px 20px; border-radius:11px; border:1px solid transparent; cursor:pointer; transition:all .2s}
.btn-primary{background:linear-gradient(135deg,var(--violet),var(--violet2)); color:#fff;
  box-shadow:0 8px 28px -10px rgba(124,92,255,.7)}
.btn-primary:hover{transform:translateY(-1px); box-shadow:0 12px 34px -10px rgba(124,92,255,.85)}
.btn-ghost{background:var(--card); border-color:var(--border2); color:var(--text)}
.btn-ghost:hover{background:var(--card2); border-color:var(--violet)}
.nav-burger{display:none; width:42px; height:42px; padding:0; border-radius:11px;
  border:1px solid var(--border2); background:var(--card); color:var(--text); cursor:pointer;
  align-items:center; justify-content:center; transition:border-color .2s}
.nav-burger:hover{border-color:var(--violet)}
.mobile-menu{display:none; position:absolute; top:100%; left:0; right:0;
  background:var(--bg2); border-bottom:1px solid var(--border);
  padding:8px 24px 22px}
.mobile-menu a{display:block; padding:14px 2px; font-size:16px; font-weight:500; color:var(--text);
  border-bottom:1px solid var(--border)}
.mobile-menu a.btn-primary{display:flex; justify-content:center; border-bottom:0; margin-top:16px}
@media(max-width:760px){
  .nav-links{display:none}
  .nav-inner > .btn-primary{display:none}
  .nav-burger{display:inline-flex}
  nav.menu-open{background:rgba(11,11,16,.96); border-bottom-color:var(--border)}
  .mobile-menu.open{display:block}
}

/* ---------- feature hero ---------- */
header.fhero{position:relative; z-index:1; padding:138px 0 64px; text-align:center}
.fhero h1{font-size:clamp(32px,5vw,56px); font-weight:800; max-width:22ch; margin:0 auto;
  background:linear-gradient(180deg,#fff 30%,#c9c9e0); -webkit-background-clip:text;
  background-clip:text; -webkit-text-fill-color:transparent}
.fhero p.sub{font-size:clamp(16.5px,2vw,19.5px); color:var(--muted); max-width:64ch;
  margin:22px auto 0; line-height:1.6}
.fhero .cta-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:34px}

/* ---------- sections ---------- */
section{position:relative; z-index:1; padding:84px 0}
.sec-head{text-align:center; max-width:720px; margin:0 auto 56px}
.sec-head h2{font-size:clamp(28px,3.8vw,40px); font-weight:800}
.sec-head p{font-size:17.5px; color:var(--muted); margin-top:16px}

/* ---------- portal pain vs FlowOversee ---------- */
.vs-lede{text-align:center; color:var(--muted); font-size:15.5px; max-width:60ch; margin:0 auto 30px}
.vs-lede strong{color:var(--text)}
.vs{display:grid; grid-template-columns:1fr 1fr; gap:22px; max-width:1040px; margin:0 auto}
.vs .panel{border-radius:16px; padding:30px 32px; border:1px solid var(--border); background:var(--card)}
.vs .panel h3{font-size:17px; font-weight:700; margin-bottom:18px; display:flex; align-items:center; gap:10px}
.vs .panel ul{list-style:none; margin:0; padding:0}
.vs .panel li{display:flex; gap:12px; align-items:flex-start; margin:13px 0; font-size:15.5px; color:var(--muted)}
.vs .panel li svg{flex:none; margin-top:4px}
.vs .pain li svg{color:var(--red)}
.vs .win{border-color:rgba(124,92,255,.4); background:linear-gradient(160deg, rgba(124,92,255,.10), var(--card) 55%)}
.vs .win li{color:var(--text)}
.vs .win li svg{color:var(--green)}
@media(max-width:820px){.vs{grid-template-columns:1fr}}

/* ---------- feature rows ---------- */
.feature{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; margin:0 auto; max-width:1040px}
.feature + .feature{margin-top:104px}
.feature.flip .ftext{order:2}
.feature .ftext h2,.feature .ftext h3{font-size:clamp(23px,2.8vw,32px); font-weight:700; margin-bottom:18px}
.feature .ftext p{color:var(--muted); font-size:16.5px}
.feature .ftext ul{list-style:none; padding:0; margin:22px 0 0}
.feature .ftext li{display:flex; gap:12px; align-items:flex-start; margin:13px 0; color:var(--text); font-size:15.5px}
.feature .ftext li svg{flex:none; color:var(--green); margin-top:3px}
.fvisual{border:1px solid var(--border2); border-radius:16px; background:var(--card);
  padding:26px; box-shadow:0 24px 70px -40px rgba(0,0,0,.9)}
@media(max-width:820px){
  .feature{grid-template-columns:1fr; gap:34px}
  .feature.flip .ftext{order:0}
  .feature + .feature{margin-top:72px}
}

/* ---------- mock primitives (shared with index) ---------- */
.stat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.stat{background:var(--bg2); border:1px solid var(--border); border-radius:12px; padding:16px}
.stat .n{font-size:26px; font-weight:800; line-height:1}
.stat .l{font-size:12px; color:var(--muted); margin-top:7px; font-weight:500}
.row{display:flex; align-items:center; gap:13px; padding:13px 0; border-bottom:1px solid var(--border)}
.row:last-child{border-bottom:0}
.row .dot{width:9px; height:9px; border-radius:50%; flex:none}
.row .nm{font-weight:600; font-size:14.5px}
.row .meta{font-size:12px; color:var(--muted2)}
.row .badge{margin-left:auto; font-size:11px; font-weight:600; padding:3px 10px; border-radius:20px;
  background:var(--violet-soft); color:var(--violet2); flex:none}
.badge-red{background:rgba(239,68,68,.16)!important; color:#ff9d9d!important}
.badge-green{background:rgba(52,199,123,.16)!important; color:#8be3b4!important}
.badge-blue{background:rgba(59,130,246,.16)!important; color:#7eb0ff!important}
.badge-amber{background:rgba(245,158,11,.16)!important; color:#ffd28a!important}

.attn{border:1px solid rgba(245,158,11,.35); background:rgba(245,158,11,.08); border-radius:12px; padding:16px 18px}
.attn-head{display:flex; align-items:center; gap:9px; font-weight:700; font-size:14.5px; color:var(--amber); margin-bottom:6px}
.attn-list{list-style:none; padding:0; margin:0}
.attn-list li{display:flex; gap:11px; align-items:flex-start; padding:11px 0; font-size:13.5px;
  color:var(--text); border-top:1px solid rgba(245,158,11,.16)}
.attn-list .ad{width:7px; height:7px; border-radius:50%; background:var(--amber); flex:none; margin-top:6px}
.attn-list b{font-weight:600}
.attn-list .sub{color:var(--muted)}

.toasts{display:flex; flex-direction:column; gap:14px}
.toast{background:var(--bg2); border:1px solid var(--border2); border-radius:12px; padding:15px 17px;
  box-shadow:0 18px 44px -20px rgba(0,0,0,.85)}
.toast-head{display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600;
  color:var(--muted); margin-bottom:8px}
.toast-head img{width:16px; height:16px; border-radius:4px}
.toast-head .tt{margin-left:auto; font-weight:500; color:var(--muted2)}
.toast-body b{display:block; font-size:14.5px; margin-bottom:2px}
.toast-body span{font-size:13px; color:var(--muted)}

/* folder tree mock */
.tree{list-style:none; margin:0; padding:0; font-size:14px}
.tree li{padding:8px 0; display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--border)}
.tree li:last-child{border-bottom:0}
.tree .lvl1{padding-left:26px}
.tree .lvl2{padding-left:52px}
.tree svg{flex:none; color:var(--violet2)}
.tree .flow svg{color:var(--muted2)}
.tree .cnt{margin-left:auto; font-size:11.5px; color:var(--muted2)}
.tree .nm{font-weight:600}
.tree .flow .nm{font-weight:500; color:var(--muted)}

/* expander mock (long-running history) */
.exp{background:var(--bg2); border:1px solid var(--border); border-radius:12px; margin-bottom:12px; overflow:hidden}
.exp:last-child{margin-bottom:0}
.exp .exp-head{display:flex; align-items:center; gap:12px; padding:13px 16px; font-size:14px; font-weight:600}
.exp .exp-head .chev{margin-left:auto; color:var(--muted2); flex:none}
.exp .exp-body{border-top:1px solid var(--border); padding:4px 16px 10px}
.exp .exp-row{display:flex; justify-content:space-between; gap:12px; padding:8px 0; font-size:12.5px; color:var(--muted);
  border-bottom:1px solid var(--border)}
.exp .exp-row:last-child{border-bottom:0}
.exp .exp-row b{color:var(--text); font-weight:600}

/* ---------- screenshots ---------- */
.gframe{border:1px solid var(--border2); border-radius:14px; background:var(--card); overflow:hidden;
  box-shadow:0 24px 70px -42px rgba(0,0,0,.9)}
.gframe .bar{display:flex; align-items:center; gap:7px; padding:11px 14px; background:var(--bg2); border-bottom:1px solid var(--border)}
.gframe .bar .t{font-size:11.5px; color:var(--muted2)}
.win{margin-left:auto; color:var(--muted2); flex:none}
.gframe img{display:block; width:100%; height:auto; cursor:zoom-in}
.gframe img.missing{display:none}
.shot-solo{max-width:980px; margin:0 auto}
.shot-solo .cap{margin-top:16px; text-align:center; color:var(--muted); font-size:14.5px}
.grow{display:grid; grid-template-columns:repeat(3,1fr); gap:26px; max-width:1040px; margin:0 auto}
.gitem .cap{margin-top:16px}
.gitem .cap h3{font-size:17px; font-weight:700; margin:0 0 5px}
.gitem .cap p{color:var(--muted); font-size:14px; margin:0}
@media(max-width:820px){.grow{grid-template-columns:1fr}}

/* ---------- capability checklist ---------- */
.caps{max-width:1040px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:14px 34px}
.caps li{display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color:var(--text); list-style:none}
.caps li svg{flex:none; color:var(--green); margin-top:4px}
.caps li .why{color:var(--muted)}
ul.caps{padding:0; margin:0}
@media(max-width:820px){.caps{grid-template-columns:1fr}}

/* ---------- related features ---------- */
.mini{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:1040px; margin:0 auto}
.mini .card{display:block; background:var(--card); border:1px solid var(--border); border-radius:16px; padding:28px;
  transition:border-color .25s, transform .25s}
.mini .card:hover{border-color:var(--violet); transform:translateY(-4px)}
.mini .ic{width:46px; height:46px; border-radius:12px; display:grid; place-items:center;
  background:var(--violet-soft); color:var(--violet2); margin-bottom:18px}
.mini h3{font-size:17.5px; font-weight:700; margin:0 0 9px}
.mini p{color:var(--muted); font-size:14.5px; margin:0}
.mini .more{display:inline-block; margin-top:14px; font-size:13.5px; font-weight:600; color:var(--violet2)}
@media(max-width:820px){.mini{grid-template-columns:1fr}}

/* ---------- faq ---------- */
.faq{max-width:760px; margin:0 auto}
.faq details{background:var(--card); border:1px solid var(--border); border-radius:14px;
  margin-bottom:14px; overflow:hidden; transition:border-color .25s}
.faq details:hover{border-color:var(--border2)}
.faq details[open]{border-color:var(--violet)}
.faq summary{display:flex; align-items:center; justify-content:space-between; gap:16px;
  cursor:pointer; list-style:none; padding:19px 22px; font-weight:600; font-size:16.5px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; font-size:22px; font-weight:400; color:var(--violet2);
  flex:none; line-height:1; transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .a{padding:0 22px 20px; color:var(--muted); font-size:15px; line-height:1.65}
.faq .a a{color:var(--violet2); font-weight:600}
.faq .a a:hover{text-decoration:underline}

/* ---------- CTA ---------- */
.cta-band{text-align:center}
.cta-band .box{max-width:760px; margin:0 auto; padding:56px 40px; border-radius:24px;
  background:linear-gradient(135deg, rgba(124,92,255,.16), rgba(59,130,246,.08));
  border:1px solid var(--border2)}
.cta-band h2{font-size:clamp(26px,3.6vw,38px); font-weight:800}
.cta-band p{font-size:17.5px; color:var(--muted); margin:16px auto 30px; max-width:52ch}
.cta-band .cta-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap}
.soon-pill{display:inline-flex; align-items:center; gap:8px; background:var(--violet-soft);
  border:1px solid rgba(124,92,255,.35); color:var(--violet2); font-size:12px; font-weight:600;
  padding:6px 15px; border-radius:30px; letter-spacing:.05em; text-transform:uppercase; margin-bottom:18px}
.soon-pill::before{content:""; width:7px; height:7px; border-radius:50%; background:var(--amber)}

/* ---------- footer ---------- */
footer{position:relative; z-index:1; border-top:1px solid var(--border); padding:56px 0 40px; background:var(--bg2)}
.foot-top{display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; margin-bottom:26px}
.foot-links{display:flex; gap:24px 28px; flex-wrap:wrap}
.foot-links a{color:var(--muted); font-size:14.5px; font-weight:500; transition:color .2s}
.foot-links a:hover{color:var(--text)}
.foot-feat{display:flex; gap:12px 26px; flex-wrap:wrap; padding:18px 0 26px; margin-bottom:26px;
  border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.foot-feat a{color:var(--muted2); font-size:13.5px; transition:color .2s}
.foot-feat a:hover{color:var(--text)}
.disclaimer{font-size:12.5px; color:var(--muted); line-height:1.6; max-width:760px}
.disclaimer a{color:var(--violet2)}
.disclaimer a:hover{text-decoration:underline}

/* ---------- reveal ----------
   Hidden state is gated on html.js (set by features.js) so content is never
   invisible when the script is missing or fails — animation is enhancement. */
html.js .reveal{opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease}
html.js .reveal.in{opacity:1; transform:none}
@media(prefers-reduced-motion:reduce){html.js .reveal{opacity:1; transform:none; transition:none}}

/* ---------- lightbox ---------- */
.lightbox{position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center;
  padding:48px; background:rgba(6,6,11,.86); backdrop-filter:blur(8px);
  opacity:0; transition:opacity .25s ease}
.lightbox[hidden]{display:none}
.lightbox.open{opacity:1}
.lb-figure{margin:0; max-width:min(1500px,95vw); max-height:90vh; display:flex; flex-direction:column;
  gap:16px; transform:scale(.96); transition:transform .25s ease}
.lightbox.open .lb-figure{transform:none}
.lb-img{display:block; margin:0 auto; max-width:100%; max-height:82vh; width:auto; height:auto;
  border-radius:12px; border:1px solid var(--border2); box-shadow:0 40px 120px -30px rgba(0,0,0,.9); cursor:zoom-out}
.lb-cap{text-align:center; color:var(--muted); font-size:14.5px}
.lb-close{position:fixed; top:22px; right:24px; width:46px; height:46px; border-radius:12px;
  display:grid; place-items:center; cursor:pointer; color:var(--text);
  background:var(--card); border:1px solid var(--border2); transition:all .2s; z-index:101}
.lb-close:hover{background:var(--card2); border-color:var(--violet); transform:translateY(-1px)}
.lb-close:focus-visible{outline:2px solid var(--violet2); outline-offset:2px}
@media(max-width:820px){.lightbox{padding:16px}.lb-close{top:14px; right:14px}}
@media(prefers-reduced-motion:reduce){
  .lightbox,.lb-figure{transition:none}
  .lightbox.open .lb-figure{transform:none}
  .lb-figure{transform:none}
}
