/* ══════════════════════════════════════════════════════════════
   app.css — Vela Global Stylesheet
   ══════════════════════════════════════════════════════════════ */

/* ── RESET & ROOT ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:      #f9f9fb;
  --bg2:     #ffffff;
  --s1:      #f2f2f7;
  --s2:      #e8e8f0;
  --border:  #e0e0eb;
  --border2: #c8c8d8;
  --ink:     #0c0c18;
  --ink2:    #4e4e68;
  --ink3:    #9898b4;
  --blue:    #1a56ff;
  --blue-d:  #1040d0;
  --blue-s:  rgba(26,86,255,.08);
  --sai:     #7c3aed;
  --sai-s:   rgba(124,58,237,.08);
  --green:   #16a34a;
  --green-s: rgba(22,163,74,.08);
  --teal:    #0d9488;
  --teal-s:  rgba(13,148,136,.08);
  --amber:   #d97706;
  --amber-s: rgba(217,119,6,.08);
  --red:     #dc2626;
  --red-s:   rgba(220,38,38,.07);
}

html  { scroll-behavior: smooth; }
body  {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4 { letter-spacing: -.03em; line-height: 1.1; }
p  { line-height: 1.75; }
a  { text-decoration: none; color: inherit; }
strong { font-weight: 600; }
em { font-style: italic; }
img { display: block; max-width: 100%; }

/* ══════════════════════════════════════════════════════════════
   NAV  (shared public + admin)
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 56px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(249,249,251,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink);
}
.nav-logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 13px; height: 13px; color: #fff; stroke-width: 2.5; }
.nav-logo-word { font-size: .97rem; font-weight: 700; letter-spacing: -.025em; }

.nav-mid { display: flex; }
.nav-link {
  color: var(--ink2); text-decoration: none;
  font-size: .79rem; font-weight: 500;
  padding: 5px 12px; border-radius: 6px; transition: .12s;
}
.nav-link:hover        { color: var(--ink); background: var(--s1); }
.nav-link.active       { color: var(--blue); background: var(--blue-s); }

.nav-right { display: flex; align-items: center; gap: 7px; }
.nbtn {
  background: none; border: 1px solid var(--border2);
  color: var(--ink2); padding: 5px 15px; border-radius: 7px;
  font: .79rem/1 'Instrument Sans', sans-serif; font-weight: 600;
  cursor: pointer; transition: .12s;
}
.nbtn:hover        { border-color: var(--ink2); color: var(--ink); }
.nbtn.fill         { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 1px 6px rgba(26,86,255,.25); }
.nbtn.fill:hover   { background: var(--blue-d); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,86,255,.3); }

/* ══════════════════════════════════════════════════════════════
   UTILITY / SHARED
   ══════════════════════════════════════════════════════════════ */
.rule   { height: 1px; background: var(--border); }
.container { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .67rem; font-weight: 700;
  color: var(--blue); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 10px;
}
.eyebrow svg { width: 10px; height: 10px; stroke-width: 3; }

/* Section header */
.sec-h  { font-size: clamp(1.65rem,2.8vw,2.3rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.sec-p  { font-size: .87rem; color: var(--ink2); line-height: 1.7; max-width: 400px; }

/* Tag badge */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 5px;
  font-size: .66rem; font-weight: 700; letter-spacing: .01em;
}
.tag svg { width: 10px; height: 10px; stroke-width: 2.5; }
.tag.blue   { background: var(--blue-s);   color: var(--blue);   border: 1px solid rgba(26,86,255,.15); }
.tag.sai    { background: var(--sai-s);    color: var(--sai);    border: 1px solid rgba(124,58,237,.15); }
.tag.green  { background: var(--green-s);  color: var(--green);  border: 1px solid rgba(22,163,74,.15); }
.tag.amber  { background: var(--amber-s);  color: var(--amber);  border: 1px solid rgba(217,119,6,.15); }
.tag.teal   { background: var(--teal-s);   color: var(--teal);   border: 1px solid rgba(13,148,136,.15); }
.tag.red    { background: var(--red-s);    color: var(--red);    border: 1px solid rgba(220,38,38,.15); }

/* Hero eyebrow pill */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 13px 4px 6px;
  font-size: .69rem; font-weight: 600; letter-spacing: .01em;
  color: var(--ink2); margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.hero-eyebrow-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sai-s); border: 1px solid rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center;
}
.hero-eyebrow-dot svg { width: 11px; height: 11px; color: var(--sai); stroke-width: 2.5; }

/* Powered-by badge */
.sai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--sai-s); border: 1px solid rgba(124,58,237,.15);
  border-radius: 6px; padding: 3px 9px;
  font-size: .65rem; font-weight: 600; color: var(--sai);
}
.sai-badge svg { width: 10px; height: 10px; stroke-width: 2.5; }

/* Buttons — generic */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 8px; border: none;
  font: .83rem/1 'Instrument Sans', sans-serif; font-weight: 600;
  cursor: pointer; transition: .15s; letter-spacing: -.01em;
}
.btn svg { width: 14px; height: 14px; stroke-width: 2.5; }
.btn-primary   { background: var(--blue); color: #fff; box-shadow: 0 2px 10px rgba(26,86,255,.28); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1.5px); box-shadow: 0 6px 20px rgba(26,86,255,.32); }
.btn-secondary { background: var(--bg2); color: var(--ink2); border: 1px solid var(--border2); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink2); }
.btn-ghost  { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-white  { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-1.5px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

/* ══════════════════════════════════════════════════════════════
   FOOTER (public)
   ══════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border); background: var(--bg);
  padding: 28px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.footer-logo-mark { width: 22px; height: 22px; border-radius: 5px; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.footer-logo-mark svg { width: 10px; height: 10px; color: #fff; stroke-width: 2.5; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--ink3); font-size: .73rem; font-weight: 500; transition: .12s; }
.footer-links a:hover { color: var(--ink2); }
.footer-right { display: flex; align-items: center; gap: 10px; }
.footer-copy  { font-size: .68rem; color: var(--ink3); }

/* ══════════════════════════════════════════════════════════════
   TEXT REVEAL ANIMATION
   ══════════════════════════════════════════════════════════════ */
.atc       { position: relative; overflow: hidden; height: 0; transition: height .28s ease-out; }
.atcontent { position: relative; line-height: 1.75; font-size: .87rem; color: var(--ink2); }
.atcontent strong { color: var(--ink); font-weight: 600; }
.atcontent em     { color: var(--blue); font-style: italic; }
.atcontent p      { margin-bottom: 1.3em; }
.atcontent p:last-child { margin-bottom: 0; }
.atref     { position: absolute; visibility: hidden; top: -9999px; left: 0; width: 100%; line-height: 1.75; font-size: .87rem; }
.lo {
  position: absolute; left: 0; width: 300%;
  background: linear-gradient(to right,
    rgba(0,0,0,1) 0%, rgba(0,0,0,1) 53%,
    rgb(22,12,167) 54%, rgb(40,109,220) 56%,
    rgb(133,223,241) 57%, rgb(254,255,243) 60%,
    rgb(255,255,255) 62%, rgb(255,255,255) 100%);
  mix-blend-mode: screen;
  transform: translateX(-60%); opacity: 0;
}
.lo.go { opacity: 1; animation: hs 1.5s ease-out forwards; }
@keyframes hs {
  0%   { transform: translateX(-60%); }
  60%  { transform: translateX(-24%); }
  100% { transform: translateX(0%); }
}

/* ══════════════════════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════════════════════ */
.hero {
  max-width: 1040px; margin: 0 auto;
  padding: 118px 28px 72px;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.hero h1 { font-size: clamp(2.2rem,4vw,3.3rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; margin-bottom: 18px; }
.h1-dim  { color: var(--ink3); font-weight: 400; display: block; font-style: italic; }
.h1-hi   { background: linear-gradient(120deg, var(--blue) 0%, #6366f1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-p  { font-size: .91rem; color: var(--ink2); line-height: 1.75; max-width: 390px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hmeta-item { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--ink2); font-weight: 500; }
.hmeta-item svg { width: 13px; height: 13px; stroke-width: 2.5; color: var(--green); }
.hmeta-div  { width: 1px; height: 14px; background: var(--border2); }

/* Hero visual card */
.hero-visual { position: relative; }
.visual-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 40px rgba(26,86,255,.07), inset 0 1px 0 rgba(255,255,255,.7);
}
.vc-bar {
  height: 44px; padding: 0 15px; background: var(--s1);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.vc-dots { display: flex; gap: 5px; }
.vd { width: 9px; height: 9px; border-radius: 50%; }
.vd:nth-child(1) { background: #ff5f57; }
.vd:nth-child(2) { background: #febc2e; }
.vd:nth-child(3) { background: #28c840; }
.vc-tabs { display: flex; gap: 1px; }
.vtab { padding: 5px 12px; border-radius: 6px; font-size: .7rem; color: var(--ink3); cursor: pointer; font-weight: 500; transition: .12s; }
.vtab.active { background: var(--bg2); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.vc-body { padding: 16px; }

/* Chat thread */
.thread { display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; gap: 8px; align-items: flex-start; }
.msg.u { flex-direction: row-reverse; }
.av { width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 700; }
.av.ai { background: var(--blue); color: #fff; }
.av.ai svg { width: 11px; height: 11px; stroke-width: 2.5; }
.av.me { background: var(--s2); color: var(--ink2); font-size: .6rem; }
.bubble { padding: 8px 11px; font-size: .77rem; line-height: 1.6; max-width: 86%; border-radius: 10px 10px 10px 3px; }
.bubble.ai { background: var(--s1); border: 1px solid var(--border); color: var(--ink2); }
.bubble.ai strong { color: var(--ink); }
.bubble.u  { background: var(--blue); color: #fff; border-radius: 10px 10px 3px 10px; }

/* VC input */
.vc-input { display: flex; gap: 7px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--s1); }
.vci { flex: 1; background: var(--bg2); border: 1px solid var(--border); border-radius: 7px; padding: 7px 11px; font-size: .77rem; font-family: inherit; color: var(--ink); outline: none; }
.vci::placeholder { color: var(--ink3); }
.vci-send { width: 26px; height: 26px; border-radius: 6px; background: var(--blue); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .12s; }
.vci-send:hover { background: var(--blue-d); }
.vci-send svg { width: 11px; height: 11px; stroke-width: 3; }

/* Floating badge */
.vf-badge { position: absolute; bottom: -14px; right: -14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; box-shadow: 0 4px 20px rgba(0,0,0,.1); display: flex; align-items: center; gap: 9px; }
.vf-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--sai-s); border: 1px solid rgba(124,58,237,.15); display: flex; align-items: center; justify-content: center; }
.vf-icon svg { width: 14px; height: 14px; color: var(--sai); stroke-width: 2; }
.vf-t { font-size: .72rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.vf-s { font-size: .67rem; color: var(--ink3); }

/* Integration strip */
.strip { max-width: 1040px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.strip-lbl { font-size: .68rem; color: var(--ink3); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; flex-shrink: 0; margin-right: 4px; }
.spill { display: flex; align-items: center; gap: 5px; background: var(--bg2); border: 1px solid var(--border); border-radius: 100px; padding: 4px 12px; font-size: .72rem; font-weight: 600; color: var(--ink2); }
.spill svg { width: 11px; height: 11px; stroke-width: 2.5; }

/* Super AI callout */
.sai-callout { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 32px 36px; display: flex; align-items: center; gap: 32px; box-shadow: 0 2px 4px rgba(0,0,0,.03); }
.sai-callout-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--sai-s); border: 1px solid rgba(124,58,237,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sai-callout-icon svg { width: 22px; height: 22px; color: var(--sai); stroke-width: 1.8; }
.sai-callout-title { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 5px; }
.sai-callout-title span { color: var(--sai); }
.sai-callout-desc { font-size: .8rem; color: var(--ink2); line-height: 1.65; }
.sai-callout-right { display: flex; flex-direction: column; gap: 7px; flex-shrink: 0; }
.sai-timeline { display: flex; align-items: center; gap: 8px; }
.sai-era { display: flex; align-items: center; gap: 5px; background: var(--s1); border: 1px solid var(--border); border-radius: 7px; padding: 6px 12px; font-size: .72rem; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.sai-era.active { background: var(--sai-s); border-color: rgba(124,58,237,.2); color: var(--sai); }
.sai-era.future { color: var(--ink3); }
.sai-era svg { width: 11px; height: 11px; stroke-width: 2.5; }
.sai-arr svg  { width: 13px; height: 13px; stroke-width: 2; color: var(--ink3); }

/* Demo section */
.demo-wrap { background: var(--bg2); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.03), 0 16px 48px rgba(26,86,255,.06); }
.demo-bar { height: 44px; padding: 0 16px; background: var(--s1); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.demo-bar-url { display: flex; align-items: center; gap: 5px; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 4px 11px; font-size: .69rem; color: var(--ink3); font-weight: 500; }
.demo-bar-url svg { width: 10px; height: 10px; stroke-width: 2; color: var(--green); }
.lbar { height: 2px; background: linear-gradient(90deg, var(--blue), #818cf8, var(--blue)); background-size: 200%; animation: lb 1.2s linear infinite; display: none; }
.lbar.on { display: block; }
@keyframes lb { 0% { background-position: 0%; } 100% { background-position: 200%; } }
.demo-grid { display: grid; grid-template-columns: 248px 1fr; min-height: 452px; }
.dsidebar { padding: 18px; border-right: 1px solid var(--border); background: var(--s1); display: flex; flex-direction: column; gap: 16px; }
.ds-lbl { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink3); margin-bottom: 5px; }
.pclist { display: flex; flex-direction: column; gap: 3px; }
.pc { display: flex; align-items: flex-start; gap: 7px; padding: 8px 10px; border-radius: 7px; border: 1px solid transparent; background: none; font: .75rem/1.4 'Instrument Sans', sans-serif; color: var(--ink2); cursor: pointer; text-align: left; transition: .12s; }
.pc svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 1px; stroke-width: 2; color: var(--ink3); transition: .12s; }
.pc:hover { background: var(--bg2); border-color: var(--border); }
.pc:hover svg { color: var(--ink2); }
.pc.on { background: var(--bg2); border-color: var(--blue); color: var(--blue); font-weight: 500; }
.pc.on svg { color: var(--blue); }
.cust { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.cta-inp { width: 100%; height: 62px; resize: none; outline: none; background: var(--bg2); border: 1px solid var(--border); border-radius: 7px; padding: 8px 10px; font: .75rem/1.5 'Instrument Sans', sans-serif; color: var(--ink); transition: .12s; }
.cta-inp::placeholder { color: var(--ink3); }
.cta-inp:focus { border-color: var(--blue); }
.runbtn { width: 100%; padding: 9px 0; background: var(--blue); border: none; color: #fff; border-radius: 7px; font: .78rem/1 'Instrument Sans', sans-serif; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: .15s; }
.runbtn svg { width: 12px; height: 12px; stroke-width: 2.5; }
.runbtn:hover { background: var(--blue-d); }
.dout { padding: 20px; display: flex; flex-direction: column; }
.out-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.out-status { display: flex; align-items: center; gap: 7px; font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); }
.sdot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink3); transition: .3s; }
.sdot.live { background: var(--green); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }
.oacts { display: flex; gap: 3px; }
.oact { background: none; border: none; cursor: pointer; color: var(--ink3); padding: 4px; border-radius: 5px; transition: .12s; display: flex; }
.oact:hover { background: var(--s1); color: var(--ink2); }
.oact svg { width: 13px; height: 13px; stroke-width: 2; }
.out-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--border); border-radius: 10px; color: var(--ink3); font-size: .79rem; text-align: center; padding: 32px; }
.out-empty svg { width: 26px; height: 26px; stroke-width: 1.5; opacity: .45; }
.out-result { display: none; flex-direction: column; gap: 9px; flex: 1; }
.out-result.on { display: flex; }
.ometa { display: flex; align-items: center; justify-content: space-between; padding: 7px 11px; background: var(--s1); border-radius: 7px; border: 1px solid var(--border); }
.ometa-l { display: flex; align-items: center; gap: 6px; font-size: .69rem; font-weight: 700; color: var(--blue); }
.ometa-l svg { width: 11px; height: 11px; stroke-width: 2.5; }
.ometa-r { display: flex; gap: 3px; }
.oscroll { flex: 1; overflow-y: auto; border-radius: 6px; }
.oscroll::-webkit-scrollbar { width: 2px; }
.oscroll::-webkit-scrollbar-thumb { background: var(--s2); border-radius: 2px; }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.fc { background: var(--bg2); border: 1px solid var(--border); border-radius: 13px; padding: 22px; transition: .15s; position: relative; overflow: hidden; }
.fc::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), #818cf8); opacity: 0; transition: .15s; }
.fc:hover { border-color: rgba(26,86,255,.3); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26,86,255,.08); }
.fc:hover::after { opacity: 1; }
.fci { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; }
.fci svg { width: 15px; height: 15px; stroke-width: 2; }
.ft { font-size: .84rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 5px; }
.fd { font-size: .75rem; color: var(--ink2); line-height: 1.62; }

/* How-it-works */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.hc-step { background: var(--bg2); border: 1px solid var(--border); border-radius: 13px; padding: 24px 22px; position: relative; }
.step-num { width: 28px; height: 28px; border-radius: 8px; background: var(--blue-s); border: 1px solid rgba(26,86,255,.15); display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: var(--blue); margin-bottom: 14px; }
.st { font-size: .84rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 5px; }
.sd { font-size: .75rem; color: var(--ink2); line-height: 1.62; }
.step-conn { position: absolute; top: 38px; right: -6px; width: 12px; height: 1px; background: var(--border2); }

/* CTA banner */
.cta-banner { background: linear-gradient(135deg,#0f0f1e 0%,#1a1040 50%,#0c1a3d 100%); border-radius: 20px; padding: 56px 60px; display: flex; align-items: center; justify-content: space-between; gap: 36px; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(26,86,255,.15); filter: blur(80px); top: -80px; right: 40px; pointer-events: none; }
.cta-banner::after  { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(124,58,237,.12); filter: blur(60px); bottom: -40px; left: 60px; pointer-events: none; }
.cta-l, .cta-r { position: relative; z-index: 1; }
.cta-h { font-size: clamp(1.5rem,2.3vw,2rem); font-weight: 700; color: #fff; letter-spacing: -.035em; margin-bottom: 9px; line-height: 1.1; }
.cta-h em { font-style: italic; color: rgba(255,255,255,.55); }
.cta-p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.65; max-width: 360px; }
.cta-r { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; flex-shrink: 0; }
.cta-note { font-size: .68rem; color: rgba(255,255,255,.3); text-align: right; }

/* ══════════════════════════════════════════════════════════════
   FEATURES PAGE
   ══════════════════════════════════════════════════════════════ */
.feat-hero { max-width: 760px; margin: 0 auto; padding: 112px 28px 64px; text-align: center; }
.fh-nav { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.fhnav-btn { padding: 7px 16px; border-radius: 8px; border: 1px solid var(--border2); background: var(--bg2); font: .78rem/1 'Instrument Sans', sans-serif; font-weight: 600; color: var(--ink2); cursor: pointer; transition: .15s; display: flex; align-items: center; gap: 6px; }
.fhnav-btn svg { width: 13px; height: 13px; stroke-width: 2; }
.fhnav-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-s); }

.feat-block { max-width: 1040px; margin: 0 auto; padding: 80px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat-block.flip { direction: rtl; }
.feat-block.flip > * { direction: ltr; }
.fb-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 6px; font-size: .67rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 14px; }
.fb-tag svg { width: 10px; height: 10px; stroke-width: 2.5; }
.fb-h { font-size: clamp(1.5rem,2.5vw,2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 12px; }
.fb-p { font-size: .87rem; color: var(--ink2); line-height: 1.75; margin-bottom: 22px; }
.fb-checklist { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.fb-check { display: flex; align-items: flex-start; gap: 9px; font-size: .8rem; color: var(--ink2); line-height: 1.55; }
.fb-check-ico { width: 18px; height: 18px; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.fb-check-ico svg { width: 10px; height: 10px; stroke-width: 3; }
.fb-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--blue); background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; transition: .12s; }
.fb-link svg { width: 13px; height: 13px; stroke-width: 2.5; transition: .15s; }
.fb-link:hover svg { transform: translateX(3px); }

/* Feature visual card */
.fv-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 36px rgba(0,0,0,.06); }
.fv-bar { height: 40px; background: var(--s1); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 14px; justify-content: space-between; }
.fv-dots { display: flex; gap: 4px; }
.fvd { width: 8px; height: 8px; border-radius: 50%; }
.fvd:nth-child(1) { background: #ff5f57; }
.fvd:nth-child(2) { background: #febc2e; }
.fvd:nth-child(3) { background: #28c840; }
.fv-title { font-size: .69rem; color: var(--ink3); font-weight: 500; }
.fv-body { padding: 18px; }

/* Compare table */
.ctable { width: 100%; border-collapse: separate; border-spacing: 0; }
.ctable thead tr th { padding: 10px 16px; font-size: .72rem; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .08em; text-align: left; border-bottom: 1px solid var(--border); }
.ctable thead tr th:first-child { width: 40%; }
.ctable thead .th-vela { background: var(--blue-s); color: var(--blue); border-radius: 8px 8px 0 0; border: 1px solid rgba(26,86,255,.15); border-bottom: none; text-align: center; }
.ctable tbody tr td { padding: 11px 16px; font-size: .8rem; color: var(--ink2); border-bottom: 1px solid var(--border); }
.ctable tbody tr:last-child td { border-bottom: none; }
.ctable tbody tr td:nth-child(2) { background: var(--blue-s); border-left: 1px solid rgba(26,86,255,.12); border-right: 1px solid rgba(26,86,255,.12); text-align: center; }
.ctable tbody tr:last-child td:nth-child(2) { border-radius: 0 0 8px 8px; border-bottom: 1px solid rgba(26,86,255,.12); }
.ctable tbody tr td:not(:first-child) { text-align: center; }
.check-y  { color: var(--green); display: flex; align-items: center; justify-content: center; }
.check-y svg { width: 15px; height: 15px; stroke-width: 2.5; }
.check-n  { color: var(--ink3); display: flex; align-items: center; justify-content: center; }
.check-n svg { width: 14px; height: 14px; stroke-width: 2; }
.check-p  { font-size: .72rem; font-weight: 600; color: var(--blue); }
.feat-name { color: var(--ink); font-weight: 500; }
.feat-desc-small { font-size: .71rem; color: var(--ink3); margin-top: 1px; }

/* ══════════════════════════════════════════════════════════════
   BLOG PAGE
   ══════════════════════════════════════════════════════════════ */
.page-header { max-width: 1040px; margin: 0 auto; padding: 100px 28px 52px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ph-eyebrow { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.ph-eyebrow svg { width: 10px; height: 10px; stroke-width: 3; }
.ph-h { font-size: clamp(2rem,4vw,3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.06; margin-bottom: 10px; }
.ph-p { font-size: .88rem; color: var(--ink2); line-height: 1.7; max-width: 380px; }
.subscribe-row { display: flex; gap: 7px; }
.sub-input { background: var(--bg2); border: 1px solid var(--border2); border-radius: 8px; padding: 8px 14px; font-size: .79rem; font-family: inherit; color: var(--ink); outline: none; width: 200px; transition: .12s; }
.sub-input::placeholder { color: var(--ink3); }
.sub-input:focus { border-color: var(--blue); }
.sub-btn { background: var(--blue); border: none; color: #fff; padding: 8px 16px; border-radius: 8px; font: .79rem/1 'Instrument Sans', sans-serif; font-weight: 600; cursor: pointer; transition: .15s; display: flex; align-items: center; gap: 6px; }
.sub-btn svg { width: 12px; height: 12px; stroke-width: 2.5; }
.sub-btn:hover { background: var(--blue-d); }
.sub-note { font-size: .68rem; color: var(--ink3); text-align: right; }

/* Tabs */
.tabs-bar { max-width: 1040px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; }
.tabs { display: flex; gap: 2px; }
.tab { padding: 6px 14px; border-radius: 7px; font-size: .79rem; font-weight: 600; cursor: pointer; color: var(--ink2); transition: .12s; border: none; background: none; font-family: inherit; display: flex; align-items: center; gap: 6px; }
.tab svg { width: 13px; height: 13px; stroke-width: 2; }
.tab:hover { color: var(--ink); background: var(--s1); }
.tab.active { color: var(--blue); background: var(--blue-s); }
.tabs-count { font-size: .73rem; color: var(--ink3); font-weight: 500; }

/* Blog layout */
.blog-main { max-width: 1040px; margin: 0 auto; padding: 28px 28px 80px; display: grid; grid-template-columns: 1fr 280px; gap: 36px; align-items: start; }
.featured-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 14px; transition: .15s; cursor: pointer; }
.featured-card:hover { border-color: var(--border2); box-shadow: 0 6px 28px rgba(0,0,0,.07); transform: translateY(-2px); }
.fc-img { height: 200px; background: linear-gradient(135deg,#0f0f22 0%,#1a1040 40%,#0c1a3d 100%); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.fc-img::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(26,86,255,.12); filter: blur(60px); top: -60px; left: -60px; }
.fc-img::after  { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(124,58,237,.1); filter: blur(50px); bottom: -40px; right: -30px; }
.fc-img-inner { text-align: center; position: relative; z-index: 1; }
.fc-img-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(26,86,255,.25); border: 1px solid rgba(26,86,255,.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.fc-img-icon svg { width: 22px; height: 22px; color: #93c5fd; stroke-width: 1.8; }
.fc-img-label { font-size: .75rem; color: rgba(255,255,255,.5); font-weight: 500; }
.fc-body { padding: 22px; }
.fc-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.meta-sep  { width: 3px; height: 3px; border-radius: 50%; background: var(--border2); }
.meta-date { font-size: .72rem; color: var(--ink3); font-weight: 500; }
.meta-read { font-size: .72rem; color: var(--ink3); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.meta-read svg { width: 10px; height: 10px; stroke-width: 2.5; }
.fc-title   { font-size: 1.15rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 8px; }
.fc-excerpt { font-size: .8rem; color: var(--ink2); line-height: 1.65; margin-bottom: 16px; }
.fc-footer  { display: flex; align-items: center; justify-content: space-between; }
.author     { display: flex; align-items: center; gap: 8px; }
.author-av  { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.author-name { font-size: .74rem; font-weight: 600; color: var(--ink2); }
.read-link  { display: flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; color: var(--blue); }
.read-link svg { width: 12px; height: 12px; stroke-width: 2.5; transition: .12s; }
.read-link:hover svg { transform: translateX(2px); }

/* Post list */
.post-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 16px; cursor: pointer; transition: .15s; margin-bottom: 8px; }
.post-item:hover { border-color: var(--border2); box-shadow: 0 3px 14px rgba(0,0,0,.05); transform: translateY(-1px); }
.post-item-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-item-ico svg { width: 17px; height: 17px; stroke-width: 1.8; }
.post-item-title   { font-size: .86rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; line-height: 1.35; }
.post-item-excerpt { font-size: .75rem; color: var(--ink2); line-height: 1.6; }
.post-item-arrow   { color: var(--ink3); flex-shrink: 0; margin-top: 2px; transition: .12s; }
.post-item:hover .post-item-arrow { color: var(--blue); transform: translateX(2px); }
.post-item-arrow svg { width: 14px; height: 14px; stroke-width: 2; }

/* Sidebar */
.sidebar-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 13px; padding: 18px; margin-bottom: 12px; }
.sc-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.sc-title svg { width: 11px; height: 11px; stroke-width: 2.5; }
.topic-list { display: flex; flex-wrap: wrap; gap: 6px; }
.topic { padding: 4px 10px; background: var(--s1); border: 1px solid var(--border); border-radius: 6px; font-size: .72rem; font-weight: 600; color: var(--ink2); cursor: pointer; transition: .12s; }
.topic:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-s); }
.recent-item { padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-item:first-child { padding-top: 0; }
.ri-title { font-size: .77rem; font-weight: 600; color: var(--ink); line-height: 1.35; transition: .12s; }
.recent-item:hover .ri-title { color: var(--blue); }
.ri-date { font-size: .67rem; color: var(--ink3); margin-top: 3px; }

/* Changelog */
.cl-intro { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.cl-intro-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--blue-s); border: 1px solid rgba(26,86,255,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cl-intro-icon svg { width: 15px; height: 15px; color: var(--blue); stroke-width: 2; }
.cl-intro-text { font-size: .78rem; color: var(--ink2); line-height: 1.6; }
.cl-intro-text strong { color: var(--ink); }
.cl-entry { display: grid; grid-template-columns: 100px 1px 1fr; gap: 0 20px; }
.cl-date-col { padding-top: 4px; text-align: right; }
.cl-date { font-size: .72rem; font-weight: 700; color: var(--ink3); line-height: 1.3; }
.cl-ver  { font-size: .68rem; color: var(--ink3); font-weight: 500; margin-top: 2px; }
.cl-line-col { display: flex; flex-direction: column; align-items: center; }
.cl-dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--border2); background: var(--bg2); margin-top: 5px; flex-shrink: 0; z-index: 1; }
.cl-dot.new  { background: var(--blue);  border-color: var(--blue);  box-shadow: 0 0 0 3px rgba(26,86,255,.15); }
.cl-dot.sai  { background: var(--sai);   border-color: var(--sai);   box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.cl-dot.fix  { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
.cl-vert { flex: 1; width: 1px; background: var(--border); }
.cl-content-col { padding-bottom: 32px; }
.cl-headline { font-size: .9rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.cl-body { font-size: .78rem; color: var(--ink2); line-height: 1.65; margin-bottom: 10px; }
.cl-items { display: flex; flex-direction: column; gap: 4px; }
.cl-item { display: flex; align-items: flex-start; gap: 7px; font-size: .76rem; color: var(--ink2); line-height: 1.5; }
.cl-item svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 2px; stroke-width: 2.5; }
.cl-item.feat svg { color: var(--blue); }
.cl-item.fix  svg { color: var(--green); }
.cl-item.imp  svg { color: var(--amber); }

/* Article overlay */
.article-overlay { display: none; position: fixed; inset: 0; z-index: 400; background: var(--bg); overflow-y: auto; }
.article-overlay.open { display: block; }
.article-nav { position: sticky; top: 0; background: rgba(249,249,251,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 0 28px; height: 54px; display: flex; align-items: center; justify-content: space-between; z-index: 10; }
.back-btn { display: flex; align-items: center; gap: 7px; font-size: .79rem; font-weight: 600; color: var(--ink2); cursor: pointer; background: none; border: none; font-family: inherit; transition: .12s; }
.back-btn:hover { color: var(--blue); }
.back-btn svg { width: 14px; height: 14px; stroke-width: 2.5; }
.article-share { display: flex; gap: 6px; }
.share-btn { width: 30px; height: 30px; border-radius: 7px; background: var(--s1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink3); transition: .12s; }
.share-btn:hover { color: var(--ink2); background: var(--s2); }
.share-btn svg { width: 13px; height: 13px; stroke-width: 2; }
.article-body { max-width: 640px; margin: 0 auto; padding: 52px 28px 80px; }
.article-h { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 14px; }
.article-meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.article-av { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 800; color: #fff; }
.article-author-name { font-size: .78rem; font-weight: 600; }
.article-date { font-size: .74rem; color: var(--ink3); }
.article-dot  { width: 3px; height: 3px; border-radius: 50%; background: var(--border2); }
.article-read { font-size: .74rem; color: var(--ink3); display: flex; align-items: center; gap: 4px; }
.article-read svg { width: 11px; height: 11px; stroke-width: 2; }
.article-rule { height: 1px; background: var(--border); margin-bottom: 32px; }

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════ */
.about-hero { max-width: 800px; margin: 0 auto; padding: 118px 28px 72px; text-align: center; }
.manifesto  { max-width: 680px; margin: 0 auto; padding: 72px 28px; }
.manifesto .atcontent { font-size: .96rem; line-height: 1.85; }
.manifesto .atref     { font-size: .96rem; line-height: 1.85; }

/* Timeline */
.tl-item { display: grid; grid-template-columns: 80px 1px 1fr; gap: 0 24px; }
.tl-year  { font-size: .8rem; font-weight: 700; color: var(--ink3); padding-top: 3px; text-align: right; }
.tl-line  { background: var(--border); display: flex; flex-direction: column; align-items: center; }
.tl-dot   { width: 9px; height: 9px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--border2); flex-shrink: 0; margin-top: 4px; z-index: 1; }
.tl-dot.active { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,255,.15); }
.tl-dot.sai    { background: var(--sai);  border-color: var(--sai);  box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.tl-spacer { flex: 1; width: 1px; background: var(--border); }
.tl-content { padding: 0 0 36px; }
.tl-tag   { display: inline-flex; align-items: center; gap: 5px; background: var(--s1); border: 1px solid var(--border); border-radius: 5px; padding: 3px 9px; font-size: .67rem; font-weight: 700; color: var(--ink2); margin-bottom: 8px; }
.tl-tag.blue { background: var(--blue-s); border-color: rgba(26,86,255,.2); color: var(--blue); }
.tl-tag.sai  { background: var(--sai-s);  border-color: rgba(124,58,237,.2); color: var(--sai); }
.tl-title { font-size: .92rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 5px; }
.tl-desc  { font-size: .79rem; color: var(--ink2); line-height: 1.65; }

/* Team */
.team-section  { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.team-grid     { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.member-card   { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 22px 18px; text-align: center; transition: .15s; }
.member-card:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.member-av     { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 800; color: #fff; }
.member-name   { font-size: .86rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 3px; }
.member-role   { font-size: .72rem; color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.member-bio    { font-size: .73rem; color: var(--ink2); line-height: 1.6; }
.member-links  { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.mlink { width: 26px; height: 26px; border-radius: 6px; background: var(--s1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--ink3); transition: .12s; cursor: pointer; }
.mlink:hover { background: var(--s2); color: var(--ink2); }
.mlink svg { width: 12px; height: 12px; stroke-width: 2; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.val-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 13px; padding: 24px 22px; transition: .15s; position: relative; overflow: hidden; }
.val-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), #818cf8); opacity: 0; transition: .15s; }
.val-card:hover { border-color: rgba(26,86,255,.25); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(26,86,255,.07); }
.val-card:hover::before { opacity: 1; }
.val-ico   { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; }
.val-ico svg { width: 15px; height: 15px; stroke-width: 2; }
.val-title { font-size: .85rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 5px; }
.val-desc  { font-size: .75rem; color: var(--ink2); line-height: 1.62; }

/* SAI era section */
.sai-section { background: linear-gradient(135deg,#0d0d1e 0%,#15103a 50%,#0b1830 100%); padding: 80px 28px; text-align: center; position: relative; overflow: hidden; }
.sai-section::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(124,58,237,.12); filter: blur(100px); top: -100px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.sai-section::after  { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(26,86,255,.1); filter: blur(80px); bottom: -60px; right: 10%; pointer-events: none; }
.sai-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }
.sai-h  { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; color: #fff; margin-bottom: 16px; }
.sai-h em { font-style: italic; color: rgba(255,255,255,.45); }
.sai-p  { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 40px; }
.era-row { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; }
.era-box { padding: 12px 20px; border-radius: 10px; text-align: center; min-width: 120px; }
.era-box.done   { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.era-box.now    { background: rgba(124,58,237,.2); border: 1px solid rgba(124,58,237,.35); }
.era-box.future { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); opacity: .5; }
.era-icon { width: 32px; height: 32px; border-radius: 8px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; }
.era-name { font-size: .78rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.era-sub  { font-size: .67rem; color: rgba(255,255,255,.4); }
.era-arrow { padding: 0 10px; display: flex; align-items: center; }
.era-arrow svg { width: 14px; height: 14px; color: rgba(255,255,255,.25); stroke-width: 2; }

/* ══════════════════════════════════════════════════════════════
   AUTH (Login)
   ══════════════════════════════════════════════════════════════ */
.auth-wrap  { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 24px; }
.auth-card  { background: var(--bg2); border: 1px solid var(--border); border-radius: 18px; padding: 40px 44px; width: 100%; max-width: 400px; box-shadow: 0 2px 4px rgba(0,0,0,.03), 0 12px 40px rgba(0,0,0,.07); }
.auth-logo  { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; }
.auth-h     { font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 6px; }
.auth-sub   { font-size: .82rem; color: var(--ink2); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .76rem; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.form-input { width: 100%; background: var(--bg); border: 1px solid var(--border2); border-radius: 8px; padding: 10px 13px; font: .84rem/1 'Instrument Sans', sans-serif; color: var(--ink); outline: none; transition: .12s; }
.form-input:focus { border-color: var(--blue); background: var(--bg2); box-shadow: 0 0 0 3px var(--blue-s); }
.form-submit { width: 100%; padding: 11px; background: var(--blue); border: none; color: #fff; border-radius: 8px; font: .85rem/1 'Instrument Sans', sans-serif; font-weight: 700; cursor: pointer; transition: .15s; margin-top: 4px; }
.form-submit:hover { background: var(--blue-d); }
.auth-error { background: var(--red-s); border: 1px solid rgba(220,38,38,.2); border-radius: 8px; padding: 10px 14px; font-size: .79rem; color: var(--red); margin-bottom: 18px; }

/* ══════════════════════════════════════════════════════════════
   ADMIN LAYOUT
   ══════════════════════════════════════════════════════════════ */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; flex-shrink: 0; background: var(--bg2); border-right: 1px solid var(--border); padding: 0; position: fixed; top: 0; left: 0; bottom: 0; display: flex; flex-direction: column; z-index: 200; }
.sidebar-logo { display: flex; align-items: center; gap: 8px; padding: 18px 20px; border-bottom: 1px solid var(--border); font-size: .95rem; font-weight: 700; letter-spacing: -.02em; }
.sidebar-logo-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.sidebar-logo-mark svg { width: 12px; height: 12px; color: #fff; stroke-width: 2.5; }
.sidebar-nav  { flex: 1; padding: 12px 10px; overflow-y: auto; }
.sidebar-section { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink3); padding: 8px 10px 4px; }
.sidebar-link { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px; font-size: .79rem; font-weight: 500; color: var(--ink2); transition: .12s; text-decoration: none; border: none; background: none; width: 100%; cursor: pointer; font-family: inherit; }
.sidebar-link svg  { width: 15px; height: 15px; stroke-width: 2; flex-shrink: 0; }
.sidebar-link:hover { background: var(--s1); color: var(--ink); }
.sidebar-link.active { background: var(--blue-s); color: var(--blue); font-weight: 600; }
.sidebar-link.active svg { color: var(--blue); }
.sidebar-footer { padding: 14px 10px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px; }
.sidebar-user-av { width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg,var(--blue),#6366f1); display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.sidebar-user-name { font-size: .76rem; font-weight: 600; color: var(--ink); }
.sidebar-user-role { font-size: .67rem; color: var(--ink3); }
.admin-main { margin-left: 220px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar { height: 52px; border-bottom: 1px solid var(--border); padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: var(--bg2); position: sticky; top: 0; z-index: 100; }
.admin-topbar-title { font-size: .9rem; font-weight: 700; letter-spacing: -.02em; }
.admin-topbar-right { display: flex; align-items: center; gap: 8px; }
.admin-content { padding: 28px; flex: 1; }

/* Admin stats */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 28px; }
.stat-card  { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.stat-label { font-size: .72rem; color: var(--ink3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.stat-value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }
.stat-sub   { font-size: .71rem; color: var(--ink3); }

/* Admin table */
.admin-table-wrap { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.admin-table-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-table-title { font-size: .84rem; font-weight: 700; letter-spacing: -.02em; }
.atable { width: 100%; border-collapse: collapse; }
.atable th { padding: 10px 16px; font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); text-align: left; border-bottom: 1px solid var(--border); background: var(--s1); }
.atable td { padding: 12px 16px; font-size: .8rem; color: var(--ink2); border-bottom: 1px solid var(--border); vertical-align: middle; }
.atable tr:last-child td { border-bottom: none; }
.atable tr:hover td { background: var(--s1); }
.atable-actions { display: flex; gap: 6px; }
.atable-btn { padding: 4px 10px; border-radius: 5px; font: .71rem/1 'Instrument Sans', sans-serif; font-weight: 600; cursor: pointer; border: 1px solid var(--border2); background: var(--bg); color: var(--ink2); transition: .12s; }
.atable-btn:hover { border-color: var(--blue); color: var(--blue); }
.atable-btn.danger:hover { border-color: var(--red); color: var(--red); }
.pub-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 4px; font-size: .67rem; font-weight: 700; }
.pub-badge.yes { background: var(--green-s); color: var(--green); }
.pub-badge.no  { background: var(--s1); color: var(--ink3); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 880px) {
  .nav-mid, .nav-right .nbtn:not(.fill) { display: none; }
  .hero { grid-template-columns: 1fr; padding: 90px 24px 56px; gap: 40px; }
  .sai-callout { flex-direction: column; gap: 20px; }
  .sai-callout-right { flex-direction: row; flex-wrap: wrap; }
  .feat-grid, .how-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; padding: 40px 32px; }
  .cta-r { align-items: flex-start; }
  .step-conn { display: none; }
  .demo-grid { grid-template-columns: 1fr; }
  .dsidebar { border-right: none; border-bottom: 1px solid var(--border); }
  .feat-block { grid-template-columns: 1fr; padding: 52px 20px; gap: 36px; }
  .feat-block.flip { direction: ltr; }
  .blog-main { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .tabs-bar, .page-header { padding: 0 20px; }
  .page-header { padding-top: 88px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .era-row { flex-wrap: wrap; gap: 8px; }
  .era-arrow { display: none; }
  .tl-item { grid-template-columns: 64px 1px 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .footer { padding: 22px 24px; flex-direction: column; text-align: center; }
}