/* MIKE by NEO AI - public website design system
   Palette and semantics follow the MIKE design pack (origin-web/src/mike/mike.css):
   violet = MIKE and LILI action, teal = verified, blue = sources, amber = human review, red = risk.
   Fonts are self-hosted (no third-party requests). */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }

@font-face { font-family: "Noto Kufi Arabic"; src: url("../fonts/noto-kufi-arabic-arabic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --ink: #070c17;
  --ink-2: #0a1020;
  --deep: #101827;
  --deep-2: #131e30;
  --deep-3: #182339;
  --line: rgba(172, 195, 234, .13);
  --line-2: rgba(172, 195, 234, .24);
  --paper: #eaf0fc;
  --muted: #9aa9c3;
  --soft: #6a7c99;
  --violet: #9779ff;
  --violet-2: #745af0;
  --violet-bg: rgba(151, 121, 255, .14);
  --teal: #5de6d7;
  --teal-bg: rgba(93, 230, 215, .12);
  --blue: #71a9ff;
  --blue-bg: rgba(113, 169, 255, .13);
  --amber: #f0c47a;
  --amber-bg: rgba(240, 196, 122, .13);
  --red: #ff8998;
  --red-bg: rgba(255, 137, 152, .13);
  --grad: linear-gradient(138deg, #9e83ff 0%, #6151d4 54%, #3d86ba 100%);
  --display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1220px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(130, 108, 248, .4); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* Type scale (modular, 1.25 base, display steps larger) */
.t-display { font-family: var(--display); font-weight: 760; font-size: clamp(40px, 5.4vw, 82px); line-height: .98; letter-spacing: -.035em; }
.t-h2 { font-family: var(--display); font-weight: 740; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -.03em; }
.t-h3 { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.015em; }
.t-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #c2cde2; max-width: 60ch; }
.t-body { color: var(--muted); max-width: 64ch; }
.t-small { font-size: 14px; color: var(--soft); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--violet); margin-bottom: 22px; }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.cite { font-family: var(--mono); font-size: .82em; letter-spacing: -.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 34px rgba(103, 86, 238, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { box-shadow: 0 14px 44px rgba(103, 86, 238, .55), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--paper); }
.btn-ghost:hover { border-color: rgba(151, 121, 255, .6); background: var(--violet-bg); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 12, 23, .72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 6px 18px rgba(103, 86, 238, .45)); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .14em; line-height: 1; }
.brand-by { display: block; font-size: 12px; font-weight: 500; color: var(--soft); letter-spacing: .01em; margin-top: 4px; }
.nav-links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--paper); background: rgba(255, 255, 255, .05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--paper); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.lang-btn:hover { color: var(--paper); border-color: var(--line-2); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; border-radius: 14px; background: rgba(16, 24, 39, .97); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a, .lang-menu span { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; font-size: 14px; text-decoration: none; color: var(--paper); }
.lang-menu a:hover { background: var(--violet-bg); }
.lang-menu a[aria-current="true"] { color: var(--violet); }
.lang-menu span { color: var(--soft); cursor: default; }
.lang-menu small { color: var(--soft); font-size: 12px; }

/* Sections */
.sec { position: relative; padding: clamp(80px, 9vw, 128px) 0; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head.center { text-align: center; justify-items: center; }
.sec-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: grid; align-items: center; padding: 130px 0 90px; overflow: hidden; isolation: isolate; }
.hero-field { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgba(116, 90, 240, .32), rgba(61, 134, 186, .1) 55%, transparent 72%); filter: blur(10px); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 220px; background: linear-gradient(transparent, var(--ink)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(151, 121, 255, .1); border: 1px solid rgba(151, 121, 255, .3); font-size: 14px; font-weight: 600; color: #cfc3ff; margin-bottom: 28px; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(93, 230, 215, .18); animation: pulse 2.4s ease-in-out infinite; margin-inline-start: 6px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.grad-text { background: linear-gradient(100deg, #fff 0%, #cbbdff 40%, #7fc9ff 75%, #5de6d7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .t-lead { margin-bottom: 38px; opacity: 0; animation: fade 1s .5s var(--ease) forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fade 1s .65s var(--ease) forwards; }
.hero-meta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--soft); font-size: 14px; opacity: 0; animation: fade 1s .8s var(--ease) forwards; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--teal); }

/* The living document (hero centerpiece) */
.proof { position: relative; perspective: 1600px; opacity: 0; animation: fade 1.2s .35s var(--ease) forwards; }
.doc { position: relative; transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; border-radius: var(--r-l); background: linear-gradient(160deg, rgba(24, 35, 57, .92), rgba(12, 19, 33, .94)); border: 1px solid var(--line-2); box-shadow: 0 50px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 120px rgba(116, 90, 240, .18); padding: 26px 28px 24px; transition: transform .8s var(--ease); }
.proof:hover .doc { transform: rotateY(-4deg) rotateX(2deg); }
.doc-bar { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc-bar .dots { display: flex; gap: 6px; }
.doc-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.doc-title { font-size: 14px; font-weight: 600; color: #c8d3e8; }
.doc-title small { display: block; font-weight: 500; color: var(--soft); font-size: 12px; }
.doc-state { margin-inline-start: auto; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--violet-bg); color: #cfc3ff; display: inline-flex; gap: 8px; align-items: center; }
.doc-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); animation: pulse 1.4s infinite; }
.doc-body { display: grid; grid-template-columns: 1fr 158px; gap: 18px; }
.clause { position: relative; font-size: 13.5px; line-height: 1.75; color: #aab7cf; margin-bottom: 14px; }
.clause b { color: #dfe7f7; font-weight: 600; }
.clause .hl { position: relative; border-radius: 3px; background-image: linear-gradient(var(--hlc, rgba(151, 121, 255, .28)), var(--hlc, rgba(151, 121, 255, .28))); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 1.1s var(--ease); padding: 1px 0; }
.clause .hl.on { background-size: 100% 100%; }
.hl.teal { --hlc: rgba(93, 230, 215, .2); }
.hl.amber { --hlc: rgba(240, 196, 122, .22); }
.hl.blue { --hlc: rgba(113, 169, 255, .22); }
.margin { display: grid; align-content: start; gap: 12px; }
.tag { opacity: 0; transform: translateX(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); border-radius: 10px; padding: 9px 10px; font-size: 11.5px; line-height: 1.35; border: 1px solid; background: rgba(7, 12, 23, .6); }
.tag.on { opacity: 1; transform: none; }
.tag strong { display: flex; align-items: center; gap: 6px; font-size: 11.5px; margin-bottom: 3px; }
.tag strong svg { width: 13px; height: 13px; }
.tag span { color: var(--muted); }
.tag.teal { border-color: rgba(93, 230, 215, .35); } .tag.teal strong { color: var(--teal); }
.tag.amber { border-color: rgba(240, 196, 122, .35); } .tag.amber strong { color: var(--amber); }
.tag.blue { border-color: rgba(113, 169, 255, .35); } .tag.blue strong { color: var(--blue); }
.ask { margin-top: 8px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(7, 12, 23, .75); border: 1px solid rgba(151, 121, 255, .35); box-shadow: 0 0 0 4px rgba(151, 121, 255, .06); }
.ask-orb { width: 26px; height: 26px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff, #b8a6ff 22%, #6a55e0 55%, #2a3d8f 100%); box-shadow: 0 0 18px rgba(151, 121, 255, .7); animation: breathe 3s ease-in-out infinite; }
.ask-text { font-size: 14px; color: #dbe3f4; min-height: 1.4em; flex: 1; }
.ask-text::after { content: ""; display: inline-block; width: 2px; height: 1.05em; vertical-align: -2px; margin-inline-start: 2px; background: var(--violet); animation: caret 1s steps(1) infinite; }
.ask kbd { font-family: var(--mono); font-size: 11px; color: var(--soft); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; }
.proof-float { position: absolute; z-index: 2; border-radius: 14px; background: rgba(16, 24, 39, .92); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); backdrop-filter: blur(10px); padding: 12px 14px; font-size: 12.5px; }
.pf-1 { left: 28px; bottom: -6px; animation: floaty 7s ease-in-out infinite; }
.pf-2 { right: -22px; top: -26px; animation: floaty 8s 1s ease-in-out infinite; }
.pf-1 strong, .pf-2 strong { display: block; font-size: 13px; }
.pf-1 span, .pf-2 span { color: var(--soft); }
.meter { display: flex; gap: 4px; margin-top: 8px; }
.meter i { width: 18px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.meter i.on { background: var(--teal); }
.illus-note { margin-top: 18px; font-size: 12.5px; color: var(--soft); text-align: end; }

/* Statement */
.statement { padding: clamp(80px, 10vw, 140px) 0; }
.statement .big { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.1; letter-spacing: -.03em; max-width: 19ch; }
.statement .w { color: rgba(234, 240, 252, .16); transition: color .5s; }
.statement .w.lit { color: var(--paper); }
.context { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--line); }
.context li { padding: 32px 32px 8px 0; border-inline-end: 1px solid var(--line); }
.context li + li { padding-inline-start: 32px; }
.context li:last-child { border-inline-end: 0; }
.context h3 { margin-bottom: 12px; }
.context svg { width: 28px; height: 28px; color: var(--violet); margin-bottom: 22px; }

/* Truth engine */
.truth { background: radial-gradient(80% 60% at 50% 0%, rgba(93, 230, 215, .07), transparent 70%); }
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.state { position: relative; border-radius: var(--r-m); padding: 26px 22px; background: rgba(16, 24, 39, .6); border: 1px solid var(--line); overflow: hidden; }
.state::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); }
.state .seal { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); margin-bottom: 18px; }
.state .seal svg { width: 22px; height: 22px; }
.state h3 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--c); margin-bottom: 8px; }
.state p { font-size: 15px; color: var(--muted); }
.s-teal { --c: var(--teal); } .s-violet { --c: var(--violet); } .s-amber { --c: var(--amber); } .s-blue { --c: var(--blue); }
.rules { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 40px; }
.rules li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; color: #c2cde2; }
.rules svg { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }

/* Confidentiality */
.conf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.rings { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin-inline: auto; }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.ring-label { font-family: var(--body); font-size: 13px; font-weight: 600; fill: var(--muted); }
.rings .spin { transform-origin: 280px 280px; animation: spin 60s linear infinite; }
.rings .spin.rev { animation-direction: reverse; animation-duration: 90s; }
.conf-list { display: grid; gap: 26px; margin: 34px 0; }
.conf-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.conf-list .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-bg); color: var(--violet); }
.conf-list .ico svg { width: 20px; height: 20px; }
.conf-list h3 { font-family: var(--display); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.conf-list p { color: var(--muted); font-size: 16px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles span { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #c2cde2; transition: border-color .3s, color .3s, background .3s; }
.roles span.ext { border-style: dashed; color: var(--muted); }
.roles span.flash { border-color: rgba(151, 121, 255, .7); color: #fff; background: var(--violet-bg); }

/* Jurisdictions */
.juris { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); margin-bottom: 32px; position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; transition: color .3s; }
.seg button[aria-selected="true"] { color: #fff; }
.seg .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: var(--grad); box-shadow: 0 8px 24px rgba(103, 86, 238, .4); transition: left .45s var(--ease), width .45s var(--ease); }
.jpanel { display: none; }
.jpanel.on { display: block; animation: panelIn .5s var(--ease); }
.jpanel h3 { margin-bottom: 14px; }
.jfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.jfacts div { border-radius: 14px; border: 1px solid var(--line); padding: 16px; background: rgba(255, 255, 255, .02); }
.jfacts small { display: block; font-size: 13px; color: var(--soft); margin-bottom: 4px; }
.jfacts b { font-weight: 600; font-size: 15.5px; }
.jmap { position: relative; aspect-ratio: 1.1; }
.jmap svg { width: 100%; height: 100%; overflow: visible; }
.jnode circle.core { transition: r .5s var(--ease), fill .5s; }
.jnode text { font-family: var(--display); font-weight: 700; font-size: 17px; fill: var(--paper); }
.jnode text.s { font-family: var(--body); font-weight: 500; font-size: 12.5px; fill: var(--soft); }
.jnode.on circle.halo { opacity: 1; }
.jnode circle.halo { opacity: 0; transition: opacity .5s; }
.expand { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--soft); font-size: 15px; }

/* LILI */
.lili { overflow: hidden; }
.lili-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.halo { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.halo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.halo-core { position: relative; width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .16), rgba(16, 24, 39, .9) 60%); border: 1px solid rgba(113, 169, 255, .35); box-shadow: 0 0 80px rgba(70, 120, 255, .35), inset 0 0 40px rgba(113, 169, 255, .2); }
.halo-core img { width: 56%; }
.points { display: grid; gap: 18px; margin-top: 34px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; color: #c2cde2; }
.points svg { width: 20px; height: 20px; color: var(--violet); margin-top: 3px; }
.points b { color: var(--paper); font-weight: 600; }

/* Roadmap */
.lab-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding: 6px var(--edge) 26px; scroll-padding-inline: var(--edge); margin-inline: calc(50% - 50vw); scrollbar-width: thin; scrollbar-color: rgba(151, 121, 255, .4) transparent; }
.lab-card { scroll-snap-align: start; position: relative; border-radius: var(--r-l); padding: 28px 26px; min-height: 320px; display: flex; flex-direction: column; background: linear-gradient(170deg, rgba(24, 35, 57, .8), rgba(10, 16, 32, .9)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.lab-card:hover { border-color: rgba(151, 121, 255, .45); transform: translateY(-4px); }
.lab-card .glyph { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--violet-bg); color: var(--violet); margin-bottom: 26px; }
.lab-card .glyph svg { width: 26px; height: 26px; }
.lab-card h3 { font-family: var(--display); font-size: 21px; font-weight: 720; letter-spacing: -.015em; margin-bottom: 10px; }
.lab-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.lab-card .chip { margin-top: 22px; align-self: flex-start; }
.lab-ctrl { display: flex; gap: 10px; }
.lab-ctrl button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lab-ctrl button:hover { background: var(--violet-bg); border-color: rgba(151, 121, 255, .5); }
.lab-ctrl svg { width: 18px; height: 18px; }

/* Audiences */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aud li { padding: 40px 34px 44px; border-inline-end: 1px solid var(--line); position: relative; }
.aud li:last-child { border-inline-end: 0; }
.aud li:first-child { padding-inline-start: 0; }
.aud h3 { margin: 18px 0 12px; }
.aud .t-body { font-size: 16px; margin-bottom: 20px; }
.aud ul li { padding: 0; border: 0; font-size: 15px; color: #c2cde2; display: flex; gap: 10px; margin-bottom: 8px; }
.aud ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-top: 9px; flex: none; }
.aud-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 28px rgba(103, 86, 238, .35); }
.aud-ico svg { width: 24px; height: 24px; color: #fff; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.principles li { padding: 22px 18px; border-radius: var(--r-m); background: rgba(16, 24, 39, .5); border: 1px solid var(--line); }
.principles svg { width: 24px; height: 24px; color: var(--teal); margin-bottom: 16px; }
.principles h3 { font-family: var(--display); font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.principles p { font-size: 14.5px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 13vw, 180px) 0; text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(116, 90, 240, .35), rgba(61, 134, 186, .12) 50%, transparent 70%); }
.cta-mark { width: 92px; height: 92px; margin: 0 auto 36px; filter: drop-shadow(0 20px 50px rgba(103, 86, 238, .6)); animation: floaty 6s ease-in-out infinite; }
.cta h2 { max-width: 16ch; margin: 0 auto 24px; }
.cta .t-lead { margin: 0 auto 40px; }
.cta .hero-ctas { justify-content: center; opacity: 1; animation: none; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14.5px; color: var(--soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot h4 { font-size: 14px; font-weight: 600; color: var(--paper); margin-bottom: 14px; }
.foot ul { display: grid; gap: 9px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--paper); }
.foot .byneo { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); }
.foot .byneo img { width: 30px; height: 30px; }
.foot-legal { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 10px; font-size: 13px; line-height: 1.6; }

/* Forms and auth pages */
.page { min-height: 100vh; padding: 130px 0 90px; position: relative; isolation: isolate; overflow: hidden; }
.page::before { content: ""; position: absolute; z-index: -1; right: -20vw; top: -25vw; width: 80vw; height: 80vw; background: radial-gradient(closest-side, rgba(116, 90, 240, .25), transparent 70%); }
.form-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.form-card { border-radius: var(--r-l); padding: clamp(26px, 3.5vw, 40px); background: linear-gradient(170deg, rgba(24, 35, 57, .85), rgba(10, 16, 32, .92)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, .45); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: #c8d3e8; }
.field label .req { color: var(--violet); margin-inline-start: 2px; }
.field input, .field textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(7, 12, 23, .6); padding: 13px 14px; font-size: 16px; color: var(--paper); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5b6b86; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(151, 121, 255, .8); box-shadow: 0 0 0 4px rgba(151, 121, 255, .15); }
.field.invalid input, .field.invalid textarea { border-color: rgba(255, 137, 152, .8); }
.field .err { display: none; font-size: 13px; color: var(--red); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 26px; display: grid; gap: 16px; }
.form-foot .t-small a { color: var(--muted); }
.form-msg { display: none; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.form-msg.err { display: block; background: var(--red-bg); color: #ffd0d6; border: 1px solid rgba(255, 137, 152, .35); }
.btn[disabled] { opacity: .6; cursor: progress; }
.success { display: none; text-align: center; padding: 30px 10px; }
.success.on { display: block; animation: panelIn .6s var(--ease); }
.success .tick { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-bg); border: 1px solid rgba(93, 230, 215, .5); box-shadow: 0 0 60px rgba(93, 230, 215, .3); }
.success .tick svg { width: 38px; height: 38px; color: var(--teal); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .2s var(--ease) forwards; }
.success h2 { margin-bottom: 12px; }
.steps-list { display: grid; gap: 22px; margin-top: 38px; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: s; }
.steps-list li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; border: 1px solid rgba(151, 121, 255, .45); color: var(--violet); }
.steps-list b { display: block; font-weight: 600; margin-bottom: 2px; }
.steps-list span { color: var(--muted); font-size: 15.5px; }

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-art { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 45%, rgba(116, 90, 240, .32), transparent 70%), var(--ink-2); border-inline-end: 1px solid var(--line); isolation: isolate; }
.auth-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.auth-art .inner { text-align: center; padding: 40px; max-width: 460px; }
.auth-art img.mark { width: 110px; margin: 0 auto 34px; filter: drop-shadow(0 24px 60px rgba(103, 86, 238, .6)); animation: floaty 6s ease-in-out infinite; }
.auth-form { display: grid; place-items: center; padding: 120px var(--gutter) 60px; }
.auth-form .box { width: min(100%, 420px); }
.auth-form h1 { margin-bottom: 10px; }
.auth-form .fields { grid-template-columns: 1fr; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; margin-top: -4px; }
.auth-row a { color: var(--violet); text-decoration: none; }
.notice { border-radius: 12px; padding: 14px 16px; font-size: 15px; background: var(--blue-bg); color: #d2e2ff; border: 1px solid rgba(113, 169, 255, .35); display: none; }
.notice.on { display: block; animation: panelIn .4s var(--ease); }

/* Legal page */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { font-family: var(--display); font-size: 24px; font-weight: 720; margin: 48px 0 14px; letter-spacing: -.01em; }
.legal p, .legal li { color: #c2cde2; margin-bottom: 14px; }
.legal ul { list-style: disc; padding-inline-start: 22px; }
.legal .t-small { margin-bottom: 30px; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* Keyframes */
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes breathe { 0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(151, 121, 255, .7); } 50% { transform: scale(1.08); box-shadow: 0 0 30px rgba(151, 121, 255, .95); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes progress { to { width: 100%; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sweep { to { left: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions { margin-inline-start: auto; }
  .nav-actions .btn-login { display: none; }
  .nav-open .nav-links { display: grid; position: absolute; top: 76px; left: 0; right: 0; padding: 14px var(--gutter) 22px; gap: 4px; background: rgba(7, 12, 23, .97); border-bottom: 1px solid var(--line); }
  .nav-open .nav-links a { font-size: 18px; padding: 12px 6px; }
  .nav-open .nav-links .m-only { display: block; }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .explorer { grid-template-columns: 1fr; }
  .mods { position: static; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; padding-bottom: 8px; }
  .mod-btn[aria-selected="true"] span span { display: none; }
}
.m-only { display: none; }
@media (max-width: 920px) {
  .hero-grid, .conf-grid, .juris, .lili-grid, .form-grid, .sec-head.split { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .doc { transform: none; }
  .pf-1 { left: -6px; } .pf-2 { right: -6px; }
  .context, .aud { grid-template-columns: 1fr; }
  .context li, .aud li { border-inline-end: 0; border-bottom: 1px solid var(--line); padding-inline-start: 0 !important; }
  .states { grid-template-columns: 1fr 1fr; }
  .rules { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: 1fr 1fr; }
  .g-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 300px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .auth-art .inner .t-lead { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-actions .btn-primary { display: none; }
  .nav-open .nav-links .m-only { display: block; }
  .doc { padding: 18px; }
  .doc-body { grid-template-columns: 1fr; }
  .margin { grid-template-columns: 1fr 1fr; }
  .proof-float { display: none; }
  .states, .principles, .fields, .jfacts { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-rail { display: none; }
  .app-top .search { display: none; }
  .compare { grid-template-columns: 1fr; }
  .tbl .hide-s { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .seg button { padding: 10px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .statement .w { color: var(--paper); }
}

/* ======================================================================
   v1.1 - motion and interaction layer
   ====================================================================== */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.teal { color: var(--teal); background: var(--teal-bg); }
.chip.amber { color: var(--amber); background: var(--amber-bg); }
.chip.blue { color: var(--blue); background: var(--blue-bg); }
.chip.red { color: var(--red); background: var(--red-bg); }
.chip.violet { color: #cfc3ff; background: var(--violet-bg); }
.chip.plain::before { display: none; }
.explorer-note { margin-top: 16px; font-size: 13px; color: var(--soft); }

/* Scroll progress and cursor light */
.progress { position: fixed; z-index: 60; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--violet), var(--blue), var(--teal)); box-shadow: 0 0 12px rgba(151, 121, 255, .8); }
.cursor-glow { position: fixed; z-index: 0; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(116, 90, 240, .13), transparent 70%); transform: translate3d(-999px, -999px, 0); transition: opacity .4s; mix-blend-mode: screen; }
main, .foot, .nav { position: relative; z-index: 1; }
.nav { position: fixed; z-index: 50; }

/* Spotlight cards: light follows the pointer */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(151, 121, 255, .16), transparent 60%); }
.spot:hover::after { opacity: 1; }

/* Magnetic primary button */
.magnetic { transition: transform .35s var(--ease), box-shadow .25s; will-change: transform; }
.magnetic span { display: inline-block; transition: transform .35s var(--ease); }

/* Split words for section titles */
.split-words .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .sw > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split-words.in .sw > span { transform: none; }

/* Hero v1.1 */
.aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -12%; background: radial-gradient(closest-side, rgba(116, 90, 240, .75), transparent); animation: drift1 18s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 36vw; height: 36vw; left: 62%; top: 34%; background: radial-gradient(closest-side, rgba(61, 134, 186, .6), transparent); animation: drift2 22s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 8%; top: 52%; background: radial-gradient(closest-side, rgba(93, 230, 215, .22), transparent); animation: drift3 26s ease-in-out infinite; }
.hero::before { display: none; }
.hero-copy { position: relative; z-index: 2; }
.doc-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 70%) var(--gy, 0%), rgba(255, 255, 255, .07), transparent 55%); }
.doc-body { position: relative; }
.clauses { position: relative; z-index: 1; }
.scan { position: absolute; z-index: 2; left: -10px; right: 168px; top: 0; height: 46px; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(151, 121, 255, .16) 70%, rgba(151, 121, 255, .55) 96%, transparent); border-bottom: 1px solid rgba(190, 175, 255, .8); box-shadow: 0 14px 30px -10px rgba(151, 121, 255, .6); }
.scan.run { animation: scan 4.6s cubic-bezier(.45, .05, .4, 1) forwards; }
.doc-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.doc-links path { fill: none; stroke-width: 1.4; stroke-dasharray: 4 4; opacity: .9; }
.doc-links circle { r: 3; }
.doc-state { transition: background .4s, color .4s; white-space: nowrap; flex: none; }
.doc-title { flex: 1; min-width: 0; }
.doc-state.done { background: var(--amber-bg); color: var(--amber); }
.doc-state.done i { background: var(--amber); animation: none; }
.pf-2 { display: flex; gap: 10px; align-items: center; }
.pf-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--red-bg); color: var(--red); flex: none; }
.pf-ico svg { width: 16px; height: 16px; }
.pf-1 b { color: var(--teal); }
.meter i { transition: background .4s; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--violet); animation: cue 1.8s ease-in-out infinite; }

/* Product film (from the approved FOCUS / NORMAL / JARVIS designs) */
.film { position: relative; }
.film-bar { display: flex; gap: 14px; align-items: stretch; margin-bottom: 16px; }
.film-play { flex: none; width: 54px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--paper); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.film-play:hover { border-color: rgba(151, 121, 255, .6); background: var(--violet-bg); }
.film-play svg { width: 20px; height: 20px; }
.film-play .i-play { display: none; }
.film-play[aria-pressed="false"] .i-play { display: block; }
.film-play[aria-pressed="false"] .i-pause { display: none; }
.chapters { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chapters button { position: relative; text-align: start; padding: 12px 16px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(16, 24, 39, .55); cursor: pointer; overflow: hidden; transition: border-color .3s, background .3s; }
.chapters button[aria-selected="true"] { border-color: rgba(47, 212, 240, .55); background: linear-gradient(120deg, rgba(47, 212, 240, .12), rgba(16, 24, 39, .6)); }
.ch-n { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #66e3f5; margin-bottom: 2px; }
.ch-t { display: block; font-weight: 600; font-size: 15px; color: var(--paper); }
.chapters i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .05); }
.chapters i b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2fd4f0, var(--violet)); }

.stage { position: relative; width: 100%; border-radius: 20px; overflow: hidden; border: 1px solid rgba(120, 170, 230, .25); box-shadow: 0 50px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 120px rgba(47, 212, 240, .08); background: #06101f; }

.mk { --c: #2fd4f0; --y: #f5c84b; --t: #e6eefb; --m: #8ea3c4; --l: rgba(120, 170, 230, .2); --p: #0b1830; --p2: #0f1f3b;
  position: absolute; left: 0; top: 0; width: 1440px; height: 800px; transform-origin: 0 0; transform: scale(var(--s, .8)); display: grid; grid-template-columns: 250px 1fr; background: radial-gradient(1200px 600px at 70% -10%, rgba(47, 120, 240, .12), transparent 60%), #06101f; color: var(--t); font-family: var(--body); font-size: 14px; line-height: 1.4; overflow: hidden; }
.mk svg { width: 18px; height: 18px; flex: none; }
.mk-side { border-right: 1px solid var(--l); padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; background: rgba(6, 14, 30, .7); }
.mk-brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px 12px; }
.mk-brand img { width: 38px; height: 38px; }
.mk-brand b { display: block; font-family: var(--display); font-weight: 800; letter-spacing: .14em; font-size: 17px; }
.mk-brand small { display: block; font-size: 11px; color: var(--m); }
.mk-collapse { margin-left: auto; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--l); }
.mk-new { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; background: var(--c); color: #04212a; font-weight: 700; margin: 4px 0 10px; }
.mk-nav { display: grid; gap: 2px; }
.mk-nav span { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 9px; color: #cfdaf0; font-size: 15px; }
.mk-nav span.on { background: rgba(47, 120, 240, .18); color: #fff; }
.mk-nav em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--y); color: #2a2000; }
.mk-nav.sm span { font-size: 14px; padding: 7px 10px; }
.mk-h { font-size: 11px; letter-spacing: .16em; color: var(--m); margin: 12px 10px 2px; text-transform: uppercase; }
.mk-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 6px 0; border-top: 1px solid var(--l); }
.mk-user b { display: block; font-size: 14px; }
.mk-user small { display: block; font-size: 12px; color: var(--m); }
.mk-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: #2a62e8; }
.mk-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.mk-top { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 22px; border-bottom: 1px solid var(--l); }
.mk-mode-l { font-size: 12px; letter-spacing: .16em; color: var(--m); text-transform: uppercase; margin-right: 4px; }
.mk-modes { display: flex; gap: 6px; }
.mk-modes span { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--l); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #cfdaf0; transition: all .35s; }
.mk[data-mode="focus"] [data-m="focus"], .mk[data-mode="normal"] [data-m="normal"], .mk[data-mode="jarvis"] [data-m="jarvis"] { border-color: var(--c); color: var(--c); background: rgba(47, 212, 240, .1); box-shadow: 0 0 0 1px rgba(47, 212, 240, .3), 0 0 22px rgba(47, 212, 240, .2); }
.mk-needs { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--y); color: #2a2000; font-weight: 700; font-size: 14px; animation: needs 2.6s ease-in-out infinite; }
.mk-bell { width: 38px; height: 38px; display: grid; place-items: center; color: #cfdaf0; }
.mk-view { position: absolute; inset: 62px 0 0 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s; }
.mk[data-mode="focus"] .v-focus, .mk[data-mode="normal"] .v-normal, .mk[data-mode="jarvis"] .v-jarvis { opacity: 1; visibility: visible; transform: none; }
.mk-crumb { display: flex; font-size: 13px; color: #b8c6de; margin-bottom: 6px; }
.mk-crumb em { margin-left: auto; font-style: normal; color: var(--m); font-size: 12px; }
.mk-title { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -.01em; }
.mk-title svg { width: 30px; height: 30px; }
.mk-title small { display: block; font-family: var(--body); font-weight: 400; font-size: 14px; color: #b8c6de; margin-left: 4px; }
.v-focus { padding: 18px 28px 20px; }
.f-center { text-align: center; display: flex; flex-direction: column; align-items: center; margin-top: -6px; }
.f-lili { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.f-lili .ask-orb { width: 18px; height: 18px; }
.f-h { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -.02em; margin-bottom: 14px; }
.f-ctx { display: flex; gap: 10px; margin-bottom: 18px; }
.f-ctx span { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--l); background: rgba(15, 31, 59, .7); font-size: 14px; }
.f-composer { width: 900px; border-radius: 16px; border: 1px solid rgba(47, 212, 240, .35); background: rgba(11, 24, 48, .85); padding: 18px 18px 14px; text-align: left; box-shadow: 0 0 0 4px rgba(47, 212, 240, .05); transition: box-shadow .3s, border-color .3s; }
.f-composer.focus { border-color: var(--c); box-shadow: 0 0 0 4px rgba(47, 212, 240, .14), 0 0 40px rgba(47, 212, 240, .15); }
.f-input { min-height: 30px; font-size: 19px; color: var(--t); margin-bottom: 18px; }
.f-ph { color: #4fd9ee; }
.f-typed:not(:empty) + .f-ph, #f-typed:not(:empty) + .f-ph { display: none; }
#f-typed:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; margin-left: 2px; background: var(--c); animation: caret 1s steps(1) infinite; }
.f-tools { display: flex; align-items: center; gap: 10px; }
.f-plus { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--l); display: grid; place-items: center; font-size: 22px; color: #cfdaf0; }
.f-pill { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--l); font-size: 14px; color: #dbe5f7; }
.f-send { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #3d5f8f; color: #fff; transition: background .3s, transform .2s; }
.f-send.ready { background: var(--c); color: #04212a; box-shadow: 0 0 24px rgba(47, 212, 240, .5); }
.f-send svg { transform: rotate(-90deg); }
.f-actions { display: flex; gap: 12px; margin-top: 16px; }
.f-actions span { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 22px; border: 1px solid var(--l); background: rgba(15, 31, 59, .55); font-size: 14px; }
.f-list { margin: 22px auto 0; width: 1100px; }
.f-lh { display: flex; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.f-lh em, .n-h em, .n-ch em { margin-left: auto; font-style: normal; color: var(--c); font-size: 14px; font-weight: 500; }
.f-row, .n-row { display: grid; grid-template-columns: 30px 1fr auto 110px 90px; gap: 14px; align-items: center; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--l); background: rgba(11, 24, 48, .6); margin-bottom: 8px; }
.f-row.sel, .n-row.sel { border-color: rgba(47, 212, 240, .55); box-shadow: 0 0 0 1px rgba(47, 212, 240, .2); }
.f-row b, .n-row b { display: block; font-weight: 600; font-size: 15px; }
.f-row small, .n-row small { display: block; font-size: 12.5px; color: var(--m); }
.f-row em { font-style: normal; color: var(--c); font-size: 14px; }
.f-meta { font-size: 13px; color: #cfdaf0; }
.y-chip { height: 30px; padding: 0 12px; border-radius: 8px; background: var(--y); color: #2a2000; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; }
.c-chip { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(47, 212, 240, .5); color: #9eefff; font-size: 13px; display: inline-flex; align-items: center; }
.n-wrap { flex: 1; display: grid; grid-template-columns: 1fr 360px; min-height: 0; }
.n-center { padding: 14px 22px 0; min-width: 0; overflow: hidden; }
.n-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.n-head .mk-title { flex: 1; }
.n-btn { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--l); display: flex; align-items: center; font-size: 14px; }
.n-btn.pri { background: var(--c); color: #04212a; font-weight: 700; border-color: transparent; }
.n-tabs, .j-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--l); width: fit-content; margin-bottom: 10px; }
.n-tabs span, .j-tabs span { display: flex; align-items: center; gap: 8px; padding: 7px 20px; border-radius: 9px; font-size: 14px; color: #cfdaf0; }
.n-tabs span.on { background: var(--c); color: #04212a; font-weight: 700; }
.j-tabs { width: auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.j-tabs span { justify-content: center; }
.j-tabs span.on { border: 1px solid var(--c); color: var(--c); }
.n-alert { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(245, 200, 75, .7); background: rgba(245, 200, 75, .08); color: var(--y); font-weight: 500; margin-bottom: 8px; transition: box-shadow .4s; }
.n-alert.pulse { box-shadow: 0 0 0 4px rgba(245, 200, 75, .15), 0 0 30px rgba(245, 200, 75, .25); }
.n-open { margin-left: auto; height: 32px; padding: 0 14px; border-radius: 8px; background: var(--y); color: #2a2000; font-weight: 700; display: flex; align-items: center; }
.n-h { display: flex; font-weight: 600; font-size: 16px; margin: 4px 0 6px; }
.n-row { grid-template-columns: 30px 1fr auto 100px 100px 100px; padding: 8px 14px; margin-bottom: 6px; transition: border-color .3s, box-shadow .3s, background .3s; }
.n-row.hot { background: rgba(47, 212, 240, .08); }
.n-c { font-size: 13px; color: #cfdaf0; text-align: center; }
.n-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.n-card { border-radius: 14px; border: 1px solid var(--l); background: rgba(11, 24, 48, .6); padding: 12px 14px; min-width: 0; }
.n-ch { display: flex; align-items: center; font-weight: 600; margin-bottom: 6px; }
.n-ch.j { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--c); text-transform: uppercase; }
.n-doc { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--l); font-size: 14px; }
.n-doc span { margin-left: auto; font-size: 12px; padding: 3px 10px; border-radius: 6px; background: rgba(47, 120, 240, .2); color: #bcd2ff; }
.n-pt { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--l); }
.n-pt > i { width: 10px; height: 10px; border-radius: 50%; background: var(--y); box-shadow: 0 0 10px rgba(245, 200, 75, .7); flex: none; }
.n-pt b { display: block; font-size: 14px; font-weight: 600; }
.n-pt small { display: block; font-size: 12px; color: var(--m); }
.j-src { margin-left: auto; font-size: 12px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--l); white-space: nowrap; }
.n-link { color: var(--c); font-size: 14px; text-align: right; margin-top: 6px; }
.insp { border-left: 1px solid var(--l); padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; background: rgba(6, 14, 30, .45); min-height: 0; overflow: hidden; }
.insp-tabs { display: flex; gap: 6px; }
.insp-tabs span { flex: 1; text-align: center; padding: 8px 0; border-radius: 9px; font-size: 13.5px; color: #cfdaf0; }
.insp-tabs span.on { border: 1px solid var(--c); color: var(--c); }
.insp-h { font-family: var(--display); font-weight: 700; font-size: 19px; }
.insp-h small { display: block; font-family: var(--body); font-weight: 400; font-size: 15px; color: #b8c6de; }
.insp-steps { display: grid; gap: 7px; }
.insp-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.insp-steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #5d7bb8; box-shadow: inset 0 0 0 4px #06101f; flex: none; }
.insp-steps li.ok::before { background: #2fd4a8; box-shadow: none; }
.insp-steps li.wait::before { background: var(--y); box-shadow: 0 0 10px rgba(245, 200, 75, .7); }
.decide { border-radius: 14px; border: 1.5px solid rgba(245, 200, 75, .75); background: rgba(245, 200, 75, .06); padding: 12px 14px; transition: box-shadow .4s, transform .4s; }
.decide.glow { box-shadow: 0 0 0 4px rgba(245, 200, 75, .14), 0 0 40px rgba(245, 200, 75, .3); transform: translateY(-2px); }
.d-k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--y); text-transform: uppercase; }
.d-t { font-weight: 700; font-size: 16px; margin: 2px 0; }
.d-s { font-size: 13px; color: #b8c6de; margin-bottom: 10px; }
.d-btn { display: flex; justify-content: center; align-items: center; height: 38px; border-radius: 9px; background: var(--y); color: #2a2000; font-weight: 700; }
.insp-k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--c); text-transform: uppercase; }
.insp-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 13.5px; }
.insp-dl dt { color: #b8c6de; }
.insp-dl dd { margin: 0; }
.insp-dl .lnk { color: var(--c); }
.send { margin-top: auto; border-radius: 12px; border: 1px solid var(--l); padding: 10px; text-align: center; font-size: 14px; color: #8094b8; background: rgba(255, 255, 255, .02); }
.send small { display: block; font-size: 12px; margin-top: 2px; }
.send.shake { animation: shake .5s; }
.mk-composer { display: flex; align-items: center; gap: 10px; margin: 10px 18px 14px; padding: 8px 10px 8px 18px; border-radius: 14px; border: 1px solid var(--l); background: rgba(11, 24, 48, .8); }
.mk-composer > span:first-child { flex: 1; color: #4fd9ee; font-size: 15px; }
.mk-composer .f-send { width: 40px; height: 40px; margin-left: 0; }
.j-ctx { display: flex; align-items: center; gap: 0; border: 1px solid var(--l); border-radius: 12px; margin: 8px 0 4px; overflow: hidden; }
.j-ctx span { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: 12.5px; border-right: 1px solid var(--l); white-space: nowrap; }
.j-ctx span.sp { flex: 1; border-right: 0; }
.j-ctx span.y { color: var(--y); }
.j-ctx span:last-child { border-right: 0; }
.j-sub { font-size: 14px; color: #b8c6de; margin-bottom: 8px; }
.j-graph { position: relative; height: 196px; border-radius: 14px; border: 1px solid var(--l); background: rgba(11, 24, 48, .5); margin-bottom: 10px; }
.j-k { position: absolute; left: 16px; top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--c); text-transform: uppercase; }
.mk .j-lines { position: absolute; left: 0; top: 34px; height: 150px; width: 100%; }
.j-lines path { fill: none; stroke: var(--c); stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1s var(--ease); }
.j-lines path.dash { stroke: var(--y); stroke-dasharray: 6 6; stroke-dashoffset: 0; opacity: 0; transition: opacity .6s; }
.j-graph.l1 .j-lines path:nth-child(1), .j-graph.l1 .j-lines path:nth-child(2) { stroke-dashoffset: 0; }
.j-graph.l2 .j-lines path:nth-child(3), .j-graph.l2 .j-lines path:nth-child(4) { stroke-dashoffset: 0; }
.j-graph.l3 .j-lines path.dash { opacity: 1; animation: dashflow 1s linear infinite; }
.j-node { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--l); background: rgba(9, 20, 40, .95); width: 190px; opacity: .45; transition: opacity .5s, border-color .5s, box-shadow .5s; }
.j-node b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.j-node small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9ee8f5; }
.j-node small i { width: 9px; height: 9px; border-radius: 50%; background: #5d7bb8; }
.j-node .st-d { display: none; font-style: normal; }
.j-node .st-p { font-style: normal; }
.j-node.run { opacity: 1; border-color: rgba(47, 212, 240, .6); box-shadow: 0 0 22px rgba(47, 212, 240, .2); }
.j-node.run small i { background: var(--c); animation: pulse 1s infinite; }
.j-node.done { opacity: 1; border-color: rgba(47, 212, 240, .45); }
.j-node.done .st-p { display: none; }
.j-node.done .st-d { display: inline; }
.j-node.done small i { background: #2fd4a8; }
.j-node.gate.done { border-color: var(--y); background: rgba(245, 200, 75, .07); box-shadow: 0 0 26px rgba(245, 200, 75, .3); }
.j-node.gate.done small { color: var(--y); }
.j-node.gate.done small i { background: var(--y); }
.j-node.n1 { left: 2%; top: 82px; width: 16%; }
.j-node.n2 { left: 30%; top: 40px; width: 21%; }
.j-node.n3 { left: 30%; top: 122px; width: 21%; }
.j-node.n4 { left: 58%; top: 82px; width: 19%; }
.j-node.n5 { left: 80.5%; top: 82px; width: 18%; }
.paper { border-radius: 10px; background: #f4f6fb; color: #1c2436; padding: 10px 14px; height: 168px; overflow: hidden; }
.p-t { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.p-t span { font-size: 11px; color: #d03a4a; border: 1px solid #f0a0a8; border-radius: 4px; padding: 1px 6px; }
.p-h { font-weight: 700; font-size: 13px; margin-top: 6px; }
.p-l { font-size: 12px; margin: 2px 0 6px; }
.paper i { display: block; height: 5px; border-radius: 3px; background: #d8deea; margin: 4px 0; }
.paper i.s { width: 70%; }
.paper .u { background-image: linear-gradient(#f5c84b, #f5c84b); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px; transition: background-size 1.2s var(--ease); padding-bottom: 2px; }
.paper.mark .u { background-size: 100% 2px; }
.paper.mark .u2 { transition-delay: .6s; }
.j-seg { margin-left: auto; display: flex; border: 1px solid var(--l); border-radius: 8px; overflow: hidden; font-family: var(--body); letter-spacing: 0; text-transform: none; }
.j-seg span { padding: 3px 12px; font-size: 12px; color: #cfdaf0; }
.j-seg span.on { color: var(--c); border: 1px solid var(--c); border-radius: 7px; }
.mk-cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 28px; height: 28px; pointer-events: none; transform: translate(900px, 600px); transition: transform 1s cubic-bezier(.6, .05, .25, 1); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.mk-cursor svg { width: 28px; height: 28px; }
.mk-cursor::after { content: ""; position: absolute; left: -16px; top: -16px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(47, 212, 240, .9); opacity: 0; transform: scale(.4); }
.mk-cursor.click::after { animation: ripple .6s ease-out; }
.mk-cursor.hide { opacity: 0; }

/* Capabilities strip */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.cap { border-radius: var(--r-m); border: 1px solid var(--line); background: rgba(16, 24, 39, .5); padding: 20px; transition: border-color .3s, transform .4s var(--ease); }
.cap:hover { border-color: rgba(151, 121, 255, .45); transform: translateY(-3px); }
.cap-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-bg); color: var(--violet); margin-bottom: 14px; transition: background .3s, color .3s; }
.cap:hover .cap-ico { background: var(--grad); color: #fff; }
.cap-ico svg { width: 19px; height: 19px; }
.cap h3 { font-family: var(--display); font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.cap p { font-size: 14.5px; color: var(--muted); }

/* Citation checker */
.checker { max-width: 980px; margin: 0 auto clamp(48px, 6vw, 72px); border-radius: var(--r-l); border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(24, 35, 57, .85), rgba(10, 16, 32, .92)); padding: 24px 26px; box-shadow: 0 40px 100px rgba(0, 0, 0, .4); }
.ck-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ck-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(93, 230, 215, .15); animation: pulse 1.6s infinite; }
.ck-file { color: var(--soft); font-size: 14px; }
.ck-prog { margin-inline-start: auto; width: 160px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.ck-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--teal)); transition: width .5s var(--ease); }
.ck-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; counter-reset: ck; }
.ck-pipe li { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: all .35s; }
.ck-pipe li svg { width: 18px; height: 18px; color: var(--violet); flex: none; }
.ck-pipe li.on { border-color: rgba(93, 230, 215, .6); color: var(--paper); background: var(--teal-bg); box-shadow: 0 0 24px rgba(93, 230, 215, .18); }
.ck-pipe li.on svg { color: var(--teal); }
.ck-list li { position: relative; display: grid; grid-template-columns: 1fr 80px 190px; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 12px; border: 1px solid transparent; overflow: hidden; transition: background .3s, border-color .3s; }
.ck-list li + li { margin-top: 6px; }
.ck-list li .cite { font-size: 14px; color: #dbe3f4; }
.ck-list li small { color: var(--soft); font-size: 13px; }
.ck-res { justify-self: end; opacity: 0; transform: translateX(10px) scale(.9); transition: opacity .4s, transform .4s var(--ease); }
.ck-list li.done .ck-res { opacity: 1; transform: none; }
.ck-list li.cur { background: rgba(151, 121, 255, .08); border-color: rgba(151, 121, 255, .35); }
.ck-list li.cur::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -30%; background: linear-gradient(90deg, transparent, rgba(151, 121, 255, .25), transparent); animation: sweep 1.2s linear infinite; }
.ck-note { margin-top: 12px; font-size: 12.5px; color: var(--soft); text-align: end; }

/* Permissions explorer */
.perm { border-radius: var(--r-l); border: 1px solid var(--line); background: rgba(16, 24, 39, .55); padding: 20px 22px; }
.roles button { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #c2cde2; background: transparent; cursor: pointer; transition: border-color .3s, color .3s, background .3s, transform .2s; }
.roles button:hover { border-color: rgba(151, 121, 255, .6); }
.roles button.ext { border-style: dashed; color: var(--muted); }
.roles button[aria-selected="true"] { border-color: transparent; color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(103, 86, 238, .4); }
.perm-list { margin-top: 18px; display: grid; gap: 8px; }
.perm-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--soft); transition: color .3s; }
.perm-list .pi { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line-2); transition: all .35s var(--ease); }
.perm-list .pi::after { content: ""; width: 8px; height: 2px; border-radius: 1px; background: var(--soft); transition: all .3s; }
.perm-list li.yes { color: var(--paper); }
.perm-list li.yes .pi { border-color: var(--teal); background: var(--teal-bg); transform: scale(1.08); }
.perm-list li.yes .pi::after { width: 9px; height: 5px; background: none; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) translate(1px, -1px); border-radius: 0; }
.perm-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.rings .r-org, .rings .r-mat, .rings .r-team, .rings .r-wall { transition: fill .5s, stroke .5s, opacity .5s; }
.rings[data-scope="org"] .r-org { fill: rgba(151, 121, 255, .16); stroke: rgba(151, 121, 255, .6); }
.rings[data-scope="org"] .r-mat, .rings[data-scope="mat"] .r-mat { fill: rgba(113, 169, 255, .14); stroke: rgba(113, 169, 255, .55); }
.rings[data-scope="mat"] .r-org { fill: rgba(16, 24, 39, .25); }
.r-dot { transition: cx .8s var(--ease), cy .8s var(--ease); filter: drop-shadow(0 0 8px #5de6d7); }

/* Expansion globe */
.expansion { overflow: hidden; }
.exp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 600px; width: 100%; margin-inline: auto; }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.globe-ring { position: absolute; inset: 4%; border-radius: 50%; pointer-events: none; box-shadow: 0 0 120px rgba(116, 90, 240, .25), inset 0 0 80px rgba(61, 134, 186, .18); border: 1px solid rgba(151, 121, 255, .18); }
.phases { display: grid; gap: 10px; counter-reset: ph; }
.phases button { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; text-align: start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(16, 24, 39, .5); cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.phases button:hover { border-color: rgba(151, 121, 255, .45); }
.phases button[aria-selected="true"] { border-color: rgba(151, 121, 255, .65); background: linear-gradient(120deg, rgba(116, 90, 240, .2), rgba(16, 24, 39, .6)); transform: translateX(6px); }
.ph-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; border: 1px solid rgba(151, 121, 255, .45); color: var(--violet); position: relative; }
.phases li:first-child .ph-n { background: var(--teal-bg); border-color: rgba(93, 230, 215, .6); color: var(--teal); }
.phases li:first-child .ph-n::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(93, 230, 215, .5); animation: ring 2.4s ease-out infinite; }
.phases li + li { position: relative; }
.phases li + li::before { content: ""; position: absolute; left: 37px; top: -11px; width: 1px; height: 12px; background: var(--line-2); }
.ph-b b { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; }
.ph-b small { display: block; font-size: 14px; color: var(--muted); }

/* CTA field */
.cta-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .8; }

/* Keyframes v1.1 */
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-8vw, 6vh) scale(1.15); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, -8vh) scale(.9); } }
@keyframes drift3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10vw, -4vh); } }
@keyframes scan { 0% { top: -46px; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes needs { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 200, 75, .5); } 50% { box-shadow: 0 0 0 6px rgba(245, 200, 75, 0); } }
@keyframes ripple { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes dashflow { to { stroke-dashoffset: -24; } }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

@media (max-width: 1100px) {
  .caps { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: 1fr; }
  .chapters .ch-t { font-size: 13.5px; }
}
@media (max-width: 920px) {
  .cursor-glow { display: none; }
  .scan { right: 0; }
  .ck-list li { grid-template-columns: 1fr auto; }
  .ck-list li small { display: none; }
  .ck-pipe { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .caps { grid-template-columns: 1fr; }
  .chapters .ch-t { display: none; }
  .film-play { width: 46px; }
  .phases button { grid-template-columns: 38px 1fr; }
  .phases .chip { grid-column: 2; justify-self: start; }
  .ph-n { width: 38px; height: 38px; }
  .scroll-cue { display: none; }
  .proof-float { display: none !important; }
  .stage { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .stage::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .split-words .sw > span { transform: none; }
  .aurora i { animation: none; }
}

.stage-spacer { height: 1px; }

/* Arabic and right-to-left (Founder, 13 Nov 2026). Latin glyphs keep their own fonts through unicode-range. */
:root[lang="ar"] { --display: "Manrope", "Noto Kufi Arabic", ui-sans-serif, system-ui, sans-serif; --body: "DM Sans", "IBM Plex Sans Arabic", ui-sans-serif, system-ui, sans-serif; }
[lang="ar"] .t-display, [lang="ar"] .t-h2, [lang="ar"] .statement .big { letter-spacing: 0; line-height: 1.25; }
[lang="ar"] .t-display { font-size: clamp(36px, 4.8vw, 72px); }
[lang="ar"] .hero h1 .line { padding-bottom: .12em; }
[lang="ar"] body, [lang="ar"] .t-lead, [lang="ar"] .t-body { line-height: 1.8; }
[lang="ar"] .kicker, [lang="ar"] .brand-name, [lang="ar"] .ch-n { letter-spacing: 0; }
[dir="rtl"] .doc { transform: rotateY(9deg) rotateX(4deg); }
[dir="rtl"] .proof:hover .doc { transform: rotateY(4deg) rotateX(2deg); }
[dir="rtl"] .pf-1 { left: auto; right: 28px; }
[dir="rtl"] .pf-2 { right: auto; left: -22px; }
[dir="rtl"] .scan { right: -10px; left: 168px; }
[dir="rtl"] .phases button[aria-selected="true"] { transform: translateX(-6px); }
[dir="rtl"] .phases li + li::before { left: auto; right: 37px; }
[dir="rtl"] .lab-ctrl svg, [dir="rtl"] .f-send svg { transform: scaleX(-1); }
[dir="rtl"] .illus-note { text-align: left; }
.stage, .stage * { direction: ltr; }
