:root{ --maxw: 1120px; }
[data-theme="light"]{
  --bg:#f0f4f7; --bg-soft:#e8eef3; --surface:#ffffff; --surface-2:#f7fafc;
  --text:#4c5564; --muted:#69788a; --heading:#1f2f45;
  --border:#dfe7ee; --border-strong:#c9d6e0;
  --accent:#2f6bea; --accent-hover:#2559cc; --accent-soft:#e3ecfd;
  --steel:#39698e; --dash:#9fb3c4;
  --good:#1f9d61; --good-soft:#e2f5ec;
  --band:#243a50; --band-2:#1e3144; --band-text:#ffffff; --band-muted:#b9c9d6;
  --shadow:0 12px 40px rgba(36,58,80,.10);
  --header-bg:rgba(255,255,255,.84);
  --demo:#0a7ea4; --demo-soft:#e6f3f7; --folder:#f0a94a; --star:#f2b32a;
}
[data-theme="dark"]{
  --bg:#1c1d27; --bg-soft:#1f202b; --surface:#252631; --surface-2:#2a2b38;
  --text:#aab8c5; --muted:#8391a2; --heading:#e7ecf1;
  --border:#37394d; --border-strong:#454861;
  --accent:#6b94ff; --accent-hover:#8aa9ff; --accent-soft:#22325e;
  --steel:#7ba6c9; --dash:#4e5a70;
  --good:#34b97c; --good-soft:#173a2b;
  --band:#13141c; --band-2:#181924; --band-text:#e7ecf1; --band-muted:#9fb0bf;
  --shadow:0 12px 40px rgba(0,0,0,.35);
  --header-bg:rgba(28,29,39,.84);
  --demo:#2aa3c9; --demo-soft:#173846; --folder:#e0a04a; --star:#f2c04e;
}
*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth; scroll-padding-top:84px}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} }
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:var(--bg); color:var(--text); line-height:1.65; font-size:16px;
  -webkit-font-smoothing:antialiased;
}
.container{max-width:var(--maxw); margin:0 auto; padding:0 24px}
h1,h2,h3{color:var(--heading); line-height:1.15; letter-spacing:-0.02em}
a{color:var(--accent); text-decoration:none}
a:hover{color:var(--accent-hover)}
section{padding:88px 0}
.section-title{font-size:clamp(1.7rem,3.4vw,2.4rem); font-weight:800; margin-bottom:16px; max-width:22em}
.lead{font-size:18px; color:var(--muted); max-width:680px}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:13px 24px; border-radius:10px; font-weight:600; font-size:15.5px; cursor:pointer; border:none; transition:all .18s ease; white-space:nowrap; font-family:inherit; min-height:44px}
.btn svg{flex:none}
.btn-primary{background:var(--accent); color:#fff !important}
.btn-primary:hover{background:var(--accent-hover); transform:translateY(-1px); box-shadow:0 6px 18px rgba(47,107,234,.35)}
.btn-ghost{background:var(--surface); color:var(--heading) !important; border:1px solid var(--border-strong)}
.btn-ghost:hover{border-color:var(--accent); color:var(--accent) !important}
.btn-band{background:transparent; color:#fff !important; border:1px solid rgba(255,255,255,.4)}
.btn-band:hover{border-color:#fff; background:rgba(255,255,255,.08)}
:focus-visible{outline:3px solid var(--accent); outline-offset:3px}

/* header */
.site-header{position:sticky; top:0; z-index:100; background:var(--header-bg); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--border)}
.site-header .container{display:flex; align-items:center; justify-content:space-between; height:68px; gap:18px}
.brand{display:flex; align-items:center; gap:11px}
.mark{width:34px; height:34px; border-radius:9px; background:var(--accent); color:#fff; display:inline-flex; align-items:center; justify-content:center; flex:none}
.wm{font-size:21px; font-weight:800; letter-spacing:-0.02em; color:var(--heading)}
.wm b{color:var(--accent); font-weight:800}
.byline{font-size:11.5px; font-weight:600; color:var(--muted); letter-spacing:.06em; margin-top:-3px; text-transform:uppercase; white-space:nowrap}
.brand-text{display:flex; flex-direction:column; line-height:1.2}
.nav-links{display:flex; gap:22px; align-items:center}
.nav-links a{color:var(--muted); font-weight:500; font-size:15px; white-space:nowrap; flex:none}
.nav-links a:hover{color:var(--heading)}
.header-actions{display:flex; align-items:center; gap:12px}
.theme-btn{display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:10px; border:1px solid var(--border-strong); background:var(--surface); color:var(--muted); cursor:pointer; transition:all .18s}
.theme-btn:hover{color:var(--accent); border-color:var(--accent)}
[data-theme="light"] .sun{display:none}
[data-theme="dark"] .moon{display:none}
.hamburger{display:none; width:44px; height:44px; border-radius:10px; border:1px solid var(--border-strong); background:var(--surface); color:var(--heading); cursor:pointer; align-items:center; justify-content:center}
.mobile-nav{display:none}

/* hero */
.hero{position:relative; padding:84px 0 72px; overflow:hidden; background:radial-gradient(1100px 480px at 50% -120px, var(--accent-soft), transparent 65%)}
.hero-copy{max-width:760px; margin-bottom:44px}
.badge{display:inline-flex; align-items:center; gap:8px; padding:7px 16px; border-radius:999px; background:var(--surface); border:1px solid var(--border-strong); color:var(--steel); font-weight:600; font-size:13.5px; margin-bottom:26px}
.hero h1{font-size:clamp(2.3rem,5.4vw,3.5rem); font-weight:800; margin:0 0 20px; max-width:14em}
.hero .lead{margin:0 0 28px; max-width:620px}
.cta-row{display:flex; gap:14px; flex-wrap:wrap}
.hero-caption{text-align:center; font-size:14px; color:var(--muted); margin-top:16px}

/* who cards */
.cards-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:40px}
.vcard{background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:30px 28px; text-align:left}
.icon-tile{width:46px; height:46px; border-radius:12px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom:18px}
.vcard h3{font-size:18.5px; font-weight:700; margin-bottom:8px}
.vcard p{font-size:15px; color:var(--muted)}

/* feature sections */
.feature .container{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center}
.feature.rev .feat-text{order:2}
.feature.rev .feat-media{order:1}
.feature .lead{margin-bottom:24px}
.checks{list-style:none; display:flex; flex-direction:column; gap:13px}
.checks li{display:flex; gap:12px; align-items:flex-start; font-size:15.5px}
.checks li svg{flex:none; color:var(--accent); margin-top:3px}
.checks li b{color:var(--heading); font-weight:600}
.tinted{background:var(--bg-soft)}
.swatches{display:flex; gap:8px; margin-top:22px}
.sw{width:28px; height:28px; border-radius:8px; border:2px solid var(--surface); box-shadow:0 0 0 1px var(--border)}

/* product mocks: stylized representations of the real app shell, not screenshots */
.app{background:var(--bg-soft); border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow); overflow:hidden; font-size:12px; color:var(--text); display:flex; line-height:1.5}
.app.tall{min-height:400px}
.sb{width:156px; flex:none; background:var(--surface); border-right:1px solid var(--border); padding:12px 10px; display:grid; gap:3px; align-content:start}
.sb .lg{display:flex; align-items:center; gap:7px; font-weight:800; color:var(--heading); font-size:12px; padding:4px 6px 12px}
.sb .lg i{width:16px; height:16px; border-radius:4px; background:var(--demo); display:inline-block}
.sb .lbl{font-size:9px; font-weight:700; letter-spacing:.04em; color:var(--muted); padding:10px 6px 2px}
.sb .it{padding:7px 10px; border-radius:7px; display:flex; gap:7px; align-items:center; color:var(--text)}
.sb .it.on{background:var(--demo); color:#fff; font-weight:600}
.sb .ic{width:10px; height:10px; border-radius:3px; background:currentColor; opacity:.5; flex:none}
.ct{flex:1; min-width:0; display:flex; flex-direction:column}
.tb{height:36px; background:var(--surface); border-bottom:1px solid var(--border); display:flex; align-items:center; padding:0 12px; gap:10px}
.tb .sp{flex:1}
.tb .av{width:20px; height:20px; border-radius:50%; background:var(--demo)}
.tb .ico{width:12px; height:12px; border-radius:50%; border:1.5px solid var(--muted); opacity:.7}
.tb .bars{font-size:14px; color:var(--text)}
.pg{padding:12px; display:grid; gap:10px; align-content:start}
.crumb{background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:10px 12px}
.crumb b{display:block; color:var(--heading); font-size:13px}
.crumb span{font-size:10px; color:var(--muted)}
.crumb.split{display:flex; justify-content:space-between; align-items:center; gap:10px}
.sel{border:1px solid var(--border); border-radius:6px; padding:3px 8px; font-size:10px; white-space:nowrap}
.pnl{background:var(--surface); border:1px solid var(--border); border-radius:8px; overflow:hidden}
.pnl.pad{padding:10px}
.ph{background:var(--demo); color:#fff; font-weight:700; padding:7px 10px; font-size:11.5px; display:flex; justify-content:space-between; gap:8px}
.row{display:flex; justify-content:space-between; gap:8px; padding:6px 10px; border-top:1px solid var(--border)}
.row:first-child,.ph + .row{border-top:0}
.row b{color:var(--heading); font-weight:600}
.row.hd{color:var(--muted)}
.row.grp{background:var(--surface-2)}
.pct{border-radius:999px; padding:1px 7px; font-size:10px; font-weight:700; color:#fff; background:var(--good); white-space:nowrap}
.pct.lo{background:var(--demo)}
.two{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.lib{display:grid; grid-template-columns:3fr 2fr; gap:10px}
.stack{display:grid; gap:10px; align-content:start}
.tree div{padding:4px 10px; display:flex; gap:6px; align-items:center; color:var(--text)}
.tree div.cur{background:var(--demo-soft)}
.tree b{color:var(--heading); font-weight:600}
.fold{width:10px; height:8px; border-radius:2px; background:var(--folder); flex:none}
.doc{width:8px; height:10px; border-radius:2px; background:var(--demo); margin-left:16px; flex:none}
.player{background:#111; aspect-ratio:16/9; border-radius:8px; display:grid; place-items:center}
.play{width:34px; height:22px; border-radius:5px; border:1.5px solid #fff; display:grid; place-items:center}
.stars{color:var(--star); letter-spacing:2px; font-size:13px}
.fb{display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--border); border-radius:6px; overflow:hidden; text-align:center; margin-top:6px}
.fb div{padding:6px 2px; border-left:1px solid var(--border); font-size:10px}
.fb div:first-child{border-left:0}
.mat{display:flex; gap:6px; margin-top:8px; flex-wrap:wrap}
.mat span{border:1px solid var(--border); border-radius:5px; padding:2px 7px; font-size:10px}
.mb{display:inline-block; background:var(--demo); color:#fff; border-radius:6px; padding:4px 12px; font-weight:600; font-size:11px}
.mb.line{background:transparent; color:var(--demo); border:1px solid var(--demo)}
.mb.sm{padding:3px 10px; font-size:10.5px}
.mbs{display:flex; gap:6px; justify-content:center; padding:8px}
.plan{background:var(--surface); border:1px solid var(--border); border-radius:8px; overflow:hidden; display:flex; flex-direction:column}
.plan .pr{text-align:center; color:var(--heading); font-weight:700; font-size:15px; padding:10px 0 2px}
.plan ul{margin:0; padding:6px 10px 10px 24px; font-size:10.5px; display:grid; gap:3px; flex:1}
.plan .mb{margin:0 auto 10px}
.ls{padding:8px 10px; display:grid; gap:4px}
.lq{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space:pre-line; line-height:1.6; color:var(--heading); font-size:11.5px; padding:10px}
.prev{padding:10px; line-height:1.55; font-size:11.5px}
.prev b{color:var(--heading)}
.chat{display:flex; min-height:300px; background:var(--surface)}
.cl{width:150px; flex:none; border-right:1px solid var(--border); padding:10px; display:grid; gap:6px; align-content:start}
.cl .tabs{display:flex; border:1px solid var(--demo); border-radius:6px; overflow:hidden; font-size:10px; font-weight:600; text-align:center}
.cl .tabs div{flex:1; padding:4px}
.cl .tabs .on{background:var(--demo); color:#fff}
.cl .nc{background:var(--demo); color:#fff; border-radius:6px; padding:5px; text-align:center; font-weight:700; font-size:10.5px}
.cl .ci{display:flex; gap:6px; padding:6px 0; border-top:1px solid var(--border)}
.cl .ci .av{width:20px; height:20px; border-radius:50%; background:var(--demo); color:#fff; font-size:9px; font-weight:700; display:grid; place-items:center; flex:none}
.cl .ci b{display:block; color:var(--heading); font-size:10.5px; line-height:1.25}
.cm{flex:1; min-width:0; padding:12px; display:grid; gap:10px; align-content:start}
.ai-hd{display:flex; gap:8px; align-items:center}
.ai-hd .ai{width:24px; height:24px; border-radius:50%; background:var(--demo); color:#fff; font-size:9px; font-weight:800; display:grid; place-items:center; flex:none}
.ai-hd b{color:var(--heading)}
.ai-hd small{display:block; font-size:10px; color:var(--muted)}
.ans{background:var(--bg-soft); border-radius:10px; padding:12px; font-size:12px; line-height:1.5}
.ans.me{background:var(--demo-soft); color:var(--heading); justify-self:end; max-width:80%}
.ans b{color:var(--heading)}
.ft{font-size:9px; font-weight:700; letter-spacing:.06em; color:var(--muted); margin-top:8px}
.vc{display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:7px 9px; margin-top:6px}
.vc .pp{width:24px; height:24px; border-radius:5px; background:var(--demo); flex:none; display:grid; place-items:center}
.vc .n{width:14px; height:14px; border-radius:3px; background:var(--demo); color:#fff; font-size:9px; font-weight:700; display:grid; place-items:center; flex:none}
.vc .t{min-width:0; font-size:10.5px; line-height:1.3}
.vc .t b{display:block; color:var(--heading)}
.vc .t i{color:var(--muted)}
.vc .w{margin-left:auto; background:var(--demo); color:#fff; border-radius:5px; padding:3px 7px; font-size:9.5px; font-weight:700; white-space:nowrap}
.ask-in{border:1px solid var(--border); border-radius:8px; padding:7px 10px; color:var(--muted); font-size:11px}
.logo-box{padding:14px; display:grid; place-items:center; height:60px; font-weight:800; font-size:16px; color:var(--demo)}
.logo-box span{color:var(--heading)}
.pnl.dk{background:#1c1d27; border-color:#37394d}
.pnl.dk .ph-plain{color:#e7ecf1; border-color:#37394d}
.pnl.dk .logo-box{color:#36c6e8}
.pnl.dk .logo-box span{color:#fff}
.ph-plain{padding:8px 10px; border-bottom:1px solid var(--border); font-weight:600; color:var(--heading)}

/* band (Ask) */
.band{background:var(--band)}
.band .section-title{color:var(--band-text)}
.band .lead{color:var(--band-muted)}
.band .checks li{color:var(--band-text)}
.band .checks li b{color:#fff}
.band .checks li svg{color:#7cc1f3}
.band .app{box-shadow:0 12px 40px rgba(0,0,0,.35)}

/* pricing */
.pricing{background:radial-gradient(900px 420px at 50% -80px, var(--accent-soft), transparent 65%)}
.pricing .cta-row{align-items:center}
.free-note{font-size:14.5px; color:var(--muted); font-weight:600}

/* faq */
.faq-list{max-width:820px; margin:40px auto 0}
details{border-bottom:1px solid var(--border)}
details:first-of-type{border-top:1px solid var(--border)}
summary{cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 6px; font-weight:600; font-size:16.5px; color:var(--heading)}
summary::-webkit-details-marker{display:none}
summary svg{flex:none; color:var(--muted); transition:transform .25s}
details[open] summary svg{transform:rotate(45deg); color:var(--accent)}
details p{padding:0 6px 22px; color:var(--muted); font-size:15.5px; max-width:740px}
.center{text-align:center}
.center .lead,.center .section-title{margin-left:auto; margin-right:auto}

/* contact */
.contact{background:radial-gradient(900px 420px at 50% 120%, var(--accent-soft), transparent 65%)}
.contact .container{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start}
.form-card{background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:30px; box-shadow:var(--shadow); display:grid; gap:16px}
.form-card label{display:block; font-weight:600; color:var(--heading); font-size:14px; margin-bottom:6px}
.form-card input,.form-card textarea{width:100%; padding:12px 14px; border:1px solid var(--border-strong); border-radius:10px; font:inherit; font-size:15px; background:var(--surface-2); color:var(--heading)}
.form-card input:focus,.form-card textarea:focus{outline:2px solid var(--accent); outline-offset:0; border-color:var(--accent)}
.form-note{font-size:13px; color:var(--muted)}
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
#formStatus{font-size:14.5px; font-weight:600; min-height:1.4em}

/* footer */
footer{background:var(--band); color:var(--band-muted); padding:54px 0 0}
.foot-grid{display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:40px}
.foot-brand .brand{margin-bottom:14px}
.foot-brand .wm{color:#fff}
.foot-brand p{font-size:14px; max-width:340px; margin-top:10px}
.foot-brand a{color:#fff; text-decoration:underline; text-underline-offset:3px}
.foot-col h4{color:#fff; font-size:14px; font-weight:700; margin-bottom:14px; letter-spacing:.04em}
.foot-col a{display:block; color:var(--band-muted); font-size:14.5px; margin-bottom:9px}
.foot-col a:hover{color:#fff}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12); padding:20px 0; font-size:13.5px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}

/* legal pages (privacy) */
.legal{max-width:860px; margin:0 auto; padding:56px 24px 72px}
.legal h1{font-size:2.2rem; font-weight:800; margin-bottom:8px}
.legal h2{font-size:1.45rem; font-weight:700; margin:40px 0 12px}
.legal p{margin:0 0 14px}
.legal ul{margin:0 0 16px 22px}
.legal li{margin-bottom:6px}
.legal section{padding:0; margin:0}
.legal .updated{color:var(--muted); font-size:14px; margin-bottom:28px}

/* 404 */
.notfound{min-height:60vh; display:flex; align-items:center; text-align:center; background:radial-gradient(1100px 480px at 50% -120px, var(--accent-soft), transparent 65%)}
.notfound .code{font-size:clamp(4rem,10vw,6.5rem); font-weight:800; color:var(--accent); line-height:1}
.notfound h1{font-size:clamp(1.5rem,3vw,2.1rem); margin:10px 0 14px}
.notfound .lead{margin:0 auto 30px}
.notfound .cta-row{justify-content:center}

/* reveal animation */
html.js .reveal{opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1)}
html.js .reveal.in{opacity:1; transform:none}
@media (prefers-reduced-motion: reduce){ html.js .reveal{opacity:1; transform:none; transition:none} }

@media (max-width: 980px){
  .nav-links{display:none}
  .hamburger{display:inline-flex}
  .mobile-nav{display:none; flex-direction:column; gap:4px; padding:10px 24px 18px; border-top:1px solid var(--border); background:var(--header-bg); backdrop-filter:blur(14px)}
  .mobile-nav.open{display:flex}
  .mobile-nav a{padding:10px 0; color:var(--heading); font-weight:600; font-size:16px}
  .cards-3{grid-template-columns:1fr 1fr}
  .feature .container{grid-template-columns:1fr}
  .feature.rev .feat-text{order:1}
  .feature.rev .feat-media{order:2}
  .contact .container{grid-template-columns:1fr}
}
@media (max-width: 620px){
  .cards-3{grid-template-columns:1fr}
  section{padding:64px 0}
  .header-cta{display:none}
  .byline{display:none}
  .sb{display:none}
  .two,.lib{grid-template-columns:1fr}
  .cl{display:none}
  .app{font-size:11.5px}
}
