/* Adminight — adminight.perforks.com
   Ink, light and grain. Inter for text, Instrument Serif italic for the accents, Fragment Mono for the small print. */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fragment Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fragment-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fragment Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fragment-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* --------------------------------------------------------------- tokens */
:root {
  --ink: #0a0f24;
  --ink-2: #10163a;
  --ink-3: #171d48;
  --text: #e6ebf5;
  --muted: #8c98b2;
  --faint: #5c6a86;
  --brass: #f2cf7a;
  --sky: #8b7cf6;
  --sky-deep: #6d5de3;
  --sky-ink: #2c2a6b;
  --sky-soft: #ddd6fe;
  --sky-pale: #ede9fe;
  --red: #ef4444;
  --green: #34d399;
  --line: rgba(230, 235, 245, .08);
  --line-strong: rgba(230, 235, 245, .16);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --slab: rgba(16, 27, 46, .55);

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --page: 1280px;
  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(88px, 12vw, 160px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 180ms;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh;
  background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(139, 124, 246, .35); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--muted); }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sky-soft); letter-spacing: 0; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--sky); color: #06202f; border-radius: 999px; }
.skip:focus { left: 16px; }

.wrap { width: min(var(--page), 100% - 2 * var(--gutter)); margin-inline: auto; }
.gap { height: var(--gap); }
.gap--sm { height: calc(var(--gap) * .5); }

.h1 { font-size: clamp(2.5rem, 6.2vw, 5.1rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.02; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.body { color: var(--muted); text-wrap: pretty; }

/* -------------------------------------------------------------- backdrop */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 90% at 50% -10%, #171d48 0%, var(--ink) 55%); }
.backdrop__light { display: none; }
/* A few large, quiet drawings placed at the edges (no repeating pattern): the things the product is about,
   drawn once in one SVG that covers the viewport and fades out under the content. */
.backdrop__art { position: absolute; inset: -2%; background: url("../img/backdrop.webp") center / cover no-repeat; opacity: .42; filter: blur(1.5px) saturate(.9);
  -webkit-mask-image: radial-gradient(55% 52% at 50% 46%, transparent 25%, #000 100%); mask-image: radial-gradient(55% 52% at 50% 46%, transparent 25%, #000 100%); }
.backdrop__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,19,.35) 0%, rgba(5,10,19,0) 30%, rgba(5,10,19,0) 70%, rgba(5,10,19,.5) 100%); }
.backdrop__beam { position: absolute; left: 50%; top: -20%; width: 70vw; height: 60vh; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(139,122,255,.16), transparent 70%); filter: blur(30px); }
.backdrop__grain { position: absolute; inset: -50%; width: 200%; height: 200%; opacity: .11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  animation: grain 1.4s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 4%); } 100% { transform: translate(0, 0); } }

/* ------------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(10, 15, 36, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 300ms var(--ease); }
.nav.is-stuck::before { opacity: 1; }
.nav__inner { position: relative; width: min(var(--page), 100% - 2 * var(--gutter)); margin-inline: auto; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.02em; font-size: 1.05rem; }
.nav__brand img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.nav__version { font-family: var(--mono); font-size: .68rem; color: var(--muted); padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 999px; margin-left: 2px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: .92rem; color: var(--muted); transition: color var(--fast), background var(--fast); }
.nav__links a:hover { color: var(--text); background: var(--glass-2); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 260ms var(--ease), top 260ms var(--ease), opacity var(--fast); top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { display: none; }
@media (max-width: 900px) {
  .nav__inner { height: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-open::before { opacity: 1; }
  .menu { display: block; position: absolute; left: 0; right: 0; top: 64px; background: rgba(10, 15, 36, .94); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .menu[hidden] { display: none; }
  .menu__link { display: flex; gap: 16px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .menu__code { font-family: var(--mono); font-size: .72rem; color: var(--sky-soft); width: 28px; }
  .menu__label { display: flex; flex-direction: column; font-weight: 500; }
  .menu__label small { font-weight: 400; font-size: .8rem; color: var(--muted); }
  .menu__foot { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 18px; }
}

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), background var(--fast), border-color var(--fast); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--primary { color: #0a0f24; background: linear-gradient(180deg, #a596ff, var(--sky-deep)); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -8px rgba(139,124,246,.6); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 30px -8px rgba(139,124,246,.7); }
.btn--glass { color: var(--text); background: var(--glass); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.btn--glass:hover { background: var(--glass-2); border-color: rgba(230,235,245,.28); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn__ext { opacity: .6; }

.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-soft); margin-bottom: 18px; }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(139,124,246,.18); }

/* ----------------------------------------------------------------- cards */
.card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color 300ms var(--ease), background 300ms var(--ease), transform 400ms var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 40%); pointer-events: none; }
.card:hover { border-color: var(--line-strong); background: var(--glass-2); }
.card--lift:hover { transform: translateY(-3px); }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .backdrop__light, .backdrop__grain, .hero__bg img, .trace__fill, .chart__bar { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: min(92vh, 980px); display: flex; align-items: center; margin-top: -76px; padding-top: 76px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 70% 40%, #1a1a48 0%, #0a0f24 100%); }
.hero__bg img { position: absolute; right: -2%; top: 50%; width: 60%; height: auto; transform: translateY(-50%); object-fit: contain; filter: saturate(1.02);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
  animation: hero-in 1.6s var(--ease, ease) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(-48%) scale(1.03); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
.hero__veil { position: absolute; inset: 0; background:
  radial-gradient(70% 90% at 0% 50%, rgba(10,15,36,.9) 0%, rgba(10,15,36,.7) 45%, rgba(10,15,36,0) 100%),
  linear-gradient(180deg, rgba(10,15,36,.35) 0%, rgba(10,15,36,0) 25%, rgba(10,15,36,0) 55%, var(--ink) 100%); }
.hero__glow { position: absolute; inset: auto -10% -30% auto; width: 60%; height: 90%; background: radial-gradient(50% 50% at 60% 50%, rgba(139,124,246,.28), transparent 70%); filter: blur(40px); mix-blend-mode: screen; }
.hero__inner { position: relative; width: min(var(--page), 100% - 2 * var(--gutter)); padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); display: grid; gap: clamp(40px, 6vw, 80px); }
.hero__content { max-width: 640px; }
.hero .h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); text-shadow: 0 2px 30px rgba(10,15,36,.6); }
.hero .lead { margin-top: 26px; color: #c3cbdc; max-width: 56ch; }
.hero .banner__actions { margin-top: 34px; }
.hero .banner__points { margin-top: 28px; flex-direction: row; flex-wrap: wrap; gap: 10px 26px; }
.hero .banner__points li { font-size: .92rem; color: #c3cbdc; }
.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(10,15,36,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: 760px; }
.hero__facts li { padding: 18px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.hero__facts li:last-child { border-right: 0; }
.hero__facts b { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; }
.hero__facts span { font-family: var(--mono); font-size: .68rem; color: var(--muted); }
@media (max-width: 900px) { .hero { margin-top: -64px; padding-top: 64px; min-height: 0; } .hero__veil { background: linear-gradient(90deg, rgba(10,15,36,.92) 0%, rgba(10,15,36,.8) 55%, rgba(10,15,36,.35) 100%), linear-gradient(180deg, rgba(10,15,36,.5) 0%, rgba(10,15,36,0) 30%, rgba(10,15,36,0) 60%, var(--ink) 100%) !important; } .hero__bg img { right: 0; top: 0; width: 100%; height: 100%; object-position: 40% 10%; transform: none; animation: none; filter: saturate(.8) brightness(.5) blur(1.5px); -webkit-mask-image: none; mask-image: none; border-radius: 0; } .hero__veil { background: linear-gradient(180deg, rgba(10,15,36,.8) 0%, rgba(10,15,36,.86) 50%, var(--ink) 100%); } }
@media (max-width: 600px) { .hero__facts { grid-template-columns: 1fr 1fr; } .hero__facts li:nth-child(2) { border-right: 0; } .hero__facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .hero .banner__points { flex-direction: column; gap: 10px; } }

/* ---------------------------------------------------------------- banner */
.banner { padding-top: clamp(56px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.banner__kind { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-bottom: 26px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); }
.banner__kind img { width: 22px; height: 22px; border-radius: 6px; }
.banner__kind b { color: var(--text); font-weight: 600; font-family: var(--sans); }
.banner__kind i { font-style: normal; color: var(--sky-soft); }
.banner .lead { margin-top: 26px; }
.banner__points { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.banner__points li { display: flex; align-items: center; gap: 12px; font-size: .98rem; color: var(--text); }
.banner__points svg { flex: none; color: var(--sky); }
.banner__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.banner__actions .link { padding: 13px 10px; color: var(--muted); font-weight: 500; }
.banner__actions .link:hover { color: var(--text); }
.banner__meta { margin-top: 24px; }
.shot { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: var(--ink-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,15,36,.55)); pointer-events: none; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot__bar span { margin-left: 8px; }
.shot__cap { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-family: var(--mono); font-size: .72rem; color: var(--sky-pale); }
.banner__shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform 900ms var(--ease); }
.banner__shot:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(0); }
.banner__glow { position: absolute; inset: -10% -20% -10% 20%; background: radial-gradient(60% 60% at 70% 40%, rgba(139,124,246,.22), transparent 70%); filter: blur(30px); z-index: -1; pointer-events: none; }
@media (max-width: 960px) { .banner { grid-template-columns: 1fr; } .banner__shot { transform: none; } }


.strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.strip p { color: var(--muted); max-width: 70ch; }
@media (max-width: 760px) { .strip { flex-direction: column; align-items: flex-start; } }

/* -------------------------------------------------------------- sections */
.section__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head .lead { max-width: 48ch; }
.section__head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; align-items: start; } }

.prose2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.prose2 p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; text-wrap: pretty; }
.prose2 p:first-child { color: var(--text); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; letter-spacing: -.01em; }
.audience { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience .card h3 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.audience .card h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brass); transform: rotate(45deg); }
.audience .card p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .prose2, .audience { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- integrations */
.integrations { text-align: center; }
.integrations__caption { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--sky-pale); margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: .9rem; color: var(--muted); transition: border-color var(--fast), color var(--fast), transform 300ms var(--ease); }
.chip:hover { transform: translateY(-2px); color: var(--text); border-color: var(--line-strong); }
.chip b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .68rem; font-weight: 400; background: var(--ink-3); color: var(--sky-soft); border: 1px solid var(--line); }
.chip.is-active { color: var(--text); border-color: rgba(139,124,246,.5); background: rgba(139,124,246,.08); }
.chip.is-active b { background: var(--sky); color: #04121d; border-color: transparent; }

/* --------------------------------------------------------------- deep dive */
.slab { position: relative; padding: var(--gap) 0; }
.slab::before { content: ""; position: absolute; inset: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--slab); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: -1; }
.deep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deep .card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.deep__index { font-family: var(--mono); font-size: .72rem; color: var(--sky-soft); }
.deep h3 { font-size: 1.15rem; }
.deep .body { font-size: .95rem; }
.panel { margin-top: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(10,15,36,.6); padding: 16px; font-size: .82rem; }
.panel__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-bottom: 12px; }
.panel__head b { color: var(--green); font-weight: 400; }
.trace__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 6px 0; }
.trace__row span:last-child { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.trace__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line-strong); overflow: hidden; }
.trace__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--sky-deep), var(--sky)); border-radius: 4px; transition: width 1.4s var(--ease); }
.in .trace__fill { width: var(--w); }
.trace__row.is-queued .trace__fill { background: var(--faint); }
.trace__axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .64rem; color: var(--faint); margin-top: 10px; }
.chat__msg { display: flex; gap: 10px; }
.chat__avatar { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.chat__who { font-size: .78rem; font-weight: 600; }
.chat__who span { font-family: var(--mono); font-weight: 400; color: var(--muted); margin-left: 8px; font-size: .68rem; }
.chat__text { margin-top: 2px; color: var(--text); }
.chat__fields { margin: 10px 0 12px 38px; border-left: 2px solid var(--sky-ink); padding-left: 10px; display: grid; gap: 4px; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.chat__fields b { color: var(--sky-soft); font-weight: 400; display: inline-block; width: 82px; }
.chat__actions { display: flex; gap: 8px; align-items: center; margin-left: 38px; flex-wrap: wrap; }
.chat__btn { padding: 6px 12px; border-radius: 8px; font-size: .76rem; font-weight: 600; }
.chat__btn--go { background: var(--sky); color: #04121d; }
.chat__btn--hold { border: 1px solid var(--line-strong); color: var(--text); }
.chat__wait { font-family: var(--mono); font-size: .66rem; color: var(--faint); }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding-top: 6px; }
.chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart__bar { width: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--sky), var(--sky-ink)); height: 0; transition: height 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.in .chart__bar { height: var(--h); }
.chart__col span { font-family: var(--mono); font-size: .64rem; color: var(--faint); }
@media (max-width: 960px) { .deep { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery figure:first-child { grid-column: span 6; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 3; }
.gallery figure:nth-child(n+4) { grid-column: span 3; }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; display: flex; gap: 10px; align-items: baseline; }
.gallery figcaption::before { content: counter(shot, decimal-leading-zero); counter-increment: shot; font-family: var(--mono); font-size: .68rem; color: var(--sky-soft); }
.gallery { counter-reset: shot; }
.gallery .shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gallery figure:first-child .shot img { aspect-ratio: 1920 / 1200; }
@media (max-width: 760px) { .gallery figure { grid-column: span 6 !important; } }

/* --------------------------------------------------------------- features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features .card { padding: 26px; }
.features__n { font-family: var(--mono); font-size: .7rem; color: var(--sky-soft); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.features__n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.features h3 { font-size: 1.08rem; margin-bottom: 10px; }
.features p { color: var(--muted); font-size: .95rem; }
.specs { margin-top: 18px; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); }
.specs div { padding: 18px 20px; border-right: 1px solid var(--line); }
.specs div:last-child { border-right: 0; }
.specs dt { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 6px; }
.specs dd { margin: 0; font-size: .9rem; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } .specs { grid-template-columns: repeat(3, 1fr); } .specs div { border-bottom: 1px solid var(--line); } .specs div:nth-child(3n) { border-right: 0; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .specs { grid-template-columns: 1fr 1fr; } .specs div:nth-child(3n) { border-right: 1px solid var(--line); } .specs div:nth-child(2n) { border-right: 0; } }

/* ------------------------------------------------------------------ plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 26px; }
.plan--featured { border-color: rgba(139,124,246,.5); background: rgba(139,124,246,.07); box-shadow: 0 30px 60px -40px rgba(139,124,246,.6); }
.plan__tag { position: absolute; top: -12px; right: 20px; padding: 5px 12px; border-radius: 999px; background: var(--sky); color: #0a0f24; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan__name { font-size: 1.1rem; font-weight: 600; }
.plan__aud { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-top: 4px; }
.plan__price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: 2.6rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.plan__price span { color: var(--muted); font-size: .9rem; }
.plan__scope { margin-top: 8px; font-size: .85rem; color: var(--sky-soft); }
.plan__list { margin: 22px 0 26px; display: grid; gap: 9px; padding-top: 20px; border-top: 1px solid var(--line); flex: 1; }
.plan__list li { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); align-items: flex-start; }
.plan__list svg { flex: none; margin-top: 5px; color: var(--sky); }
.plan .btn { justify-content: center; }
.notes { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.notes li { font-size: .88rem; color: var(--muted); padding-left: 16px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 5vw, 80px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--sky-soft); border-bottom: 1.5px solid var(--sky-soft); transform: rotate(45deg); transition: transform 300ms var(--ease); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- help */
.help { text-align: center; padding: clamp(40px, 6vw, 72px) 28px; overflow: hidden; }
.help::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(50% 60% at 50% 100%, rgba(139,124,246,.28), transparent 70%); pointer-events: none; }
.help .lead { margin: 18px auto 32px; }
.help__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative; z-index: 1; }

/* ---------------------------------------------------------------- pricing */
.phead { padding-top: clamp(56px, 8vw, 110px); text-align: center; display: grid; justify-items: center; }
.phead .lead { margin-top: 24px; max-width: 66ch; }
.phead__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.phead .mono { margin-top: 20px; }
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); }
.compare table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 400; background: rgba(255,255,255,.02); }
.compare td:not(:first-child) { text-align: center; color: var(--muted); }
.compare td.y { color: var(--sky); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--text); }
@media (max-width: 700px) { .compare { overflow-x: auto; } .compare table { min-width: 640px; } }

/* ------------------------------------------------------------------- docs */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.docs__toc { position: sticky; top: 100px; display: grid; gap: 2px; }
.docs__toc a { padding: 8px 12px; border-radius: 10px; font-size: .9rem; color: var(--muted); display: flex; gap: 10px; align-items: baseline; transition: color var(--fast), background var(--fast); }
.docs__toc a::before { content: counter(toc, decimal-leading-zero); counter-increment: toc; font-family: var(--mono); font-size: .66rem; color: var(--faint); }
.docs__toc { counter-reset: toc; }
.docs__toc a:hover, .docs__toc a.is-active { color: var(--text); background: var(--glass-2); }
.docs__body { max-width: 72ch; }
.doc { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.doc:first-child { border-top: 0; padding-top: 0; }
.doc__kicker { font-family: var(--mono); font-size: .7rem; color: var(--sky-soft); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.doc h2 { font-size: 1.7rem; margin-bottom: 18px; }
.doc p { color: var(--muted); margin-bottom: 16px; line-height: 1.7; }
.doc ul { margin: 0 0 16px; display: grid; gap: 8px; }
.doc ul li { color: var(--muted); padding-left: 20px; position: relative; line-height: 1.6; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.doc pre { margin: 0 0 16px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(10,15,36,.7); font-family: var(--mono); font-size: .82rem; color: var(--sky-pale); overflow-x: auto; }
.doc__links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } .docs__toc { position: static; grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .mono { margin-bottom: 20px; }
.nf .h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.nf__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ----------------------------------------------------------------- footer */
.footer { margin-top: var(--gap); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10,15,36,0), rgba(6,9,24,.9)); padding: clamp(48px, 7vw, 96px) 0 32px; }
.footer__cta { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); position: relative; overflow: hidden; }
.footer__cta::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 50%; height: 160%; background: radial-gradient(circle, rgba(139,124,246,.18), transparent 60%); pointer-events: none; }
.footer__cta .lead { margin-top: 14px; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.footer__status { margin: 28px 0 56px; display: flex; flex-wrap: wrap; gap: 10px 32px; font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.footer__status li { display: flex; align-items: center; gap: 10px; }
.footer__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.15); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__logo { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 16px; }
.footer__logo img { border-radius: 10px; }
.footer__brand > p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.footer__social-label { margin-top: 24px; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint) !important; }
.footer__socials { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.footer__socials a { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text); }
.footer__socials a:hover { color: var(--sky-soft); }
.footer__socials img { border-radius: 5px; }
.footer__col h3 { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 400; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a { color: var(--muted); font-size: .92rem; transition: color var(--fast); }
.footer__col a:hover { color: var(--text); }
.footer__company { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.footer__company p { color: var(--muted); font-size: .9rem; }
.footer__perforks { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer__perforks img { border-radius: 6px; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .82rem; color: var(--faint); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } .footer__cta { grid-template-columns: 1fr; } .footer__company { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- adminight */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode { display: flex; flex-direction: column; gap: 12px; }
.mode__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-strong); color: var(--sky-soft); }
.mode__icon svg { width: 22px; height: 22px; }
.mode--sun .mode__icon { color: var(--brass); }
.mode h3 { font-size: 1.15rem; }
.mode .body { font-size: .95rem; }
.toolbar { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 0 14px; height: 36px; border-radius: 10px; background: #1d2327; color: #c3c4c7; font-size: .8rem; font-family: var(--sans); border: 1px solid var(--line); }
.toolbar__wp { font-weight: 800; color: #fff; }
.toolbar__sep { width: 1px; height: 16px; background: #3c434a; }
.toolbar__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.toolbar__switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: #2c3338; }
.toolbar__switch svg { width: 22px; height: 22px; padding: 3px; border-radius: 6px; color: #c3c4c7; }
.toolbar__switch svg:nth-child(2) { background: var(--sky); color: #0a0f24; }
.plans--one { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; gap: 32px; }
.notes--stack { grid-template-columns: 1fr; margin-top: 8px; }
.gallery figure.is-wide { grid-column: span 6; }
.gallery figure.is-wide .shot img { aspect-ratio: 1440 / 320; object-fit: contain; background: #1d2327; }
@media (max-width: 960px) { .modes { grid-template-columns: 1fr; } .toolbar { display: none; } }
@media (max-width: 860px) { .plans--one { grid-template-columns: 1fr; } }
