/* LogicVend — design system v2: light editorial base, dark hero/footer, cobalt accent */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-opsz-normal.woff2) format("woff2-variations");
  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;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f2;
  --ink: #0b0d12;
  --ink-2: #464c58;
  --ink-3: #6b7180;
  --line: #e5e5e0;
  --line-2: #d3d3cc;
  --accent: #2f55ff;
  --accent-hover: #1f41e8;
  --accent-soft: #eef1ff;
  --accent-ink: #2340d6;
  --dark: #0b0d12;
  --dark-2: #12151c;
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-line-2: rgba(255, 255, 255, 0.17);
  --on-dark: #f2f4f8;
  --on-dark-2: #a7aebc;
  --on-dark-3: #7b8292;
  --accent-on-dark: #8ea4ff;
  --ok: #16a34a;
  --warn: #b7791f;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --container: clamp(1240px, 70vw, 1400px); /* grows on large screens: 1240px up to 1400px at ~2000px wide */
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --font: "Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(11, 13, 18, 0.04), 0 8px 24px -12px rgba(11, 13, 18, 0.12);
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 1rem/1.6 var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
strong, b { color: var(--ink); font-weight: 600; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 1.35rem + 5.4vw, 5.6rem); letter-spacing: -0.048em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 1.25rem + 2.8vw, 3.5rem); letter-spacing: -0.042em; line-height: 1.02; }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
code, kbd { font-family: var(--mono); font-size: 0.86em; }
address { font-style: normal; }
::selection { background: rgba(47, 85, 255, 0.18); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }

/* ---------- type helpers ---------- */
.label { display: inline-flex; align-items: center; gap: 0.5em; margin: 0 0 20px; color: var(--ink-3); font: 500 0.78rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.label::before { content: "["; opacity: 0.7; }
.label::after { content: "]"; opacity: 0.7; }
.lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem); line-height: 1.55; color: var(--ink-2); letter-spacing: -0.01em; }
.muted { color: var(--ink-3); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 550; font-size: 0.95rem; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn .i { width: 17px; height: 17px; transition: transform 0.2s var(--ease); }
.btn:hover .i--arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262a33; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9ebf0; color: var(--ink); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.on-dark .btn--outline { border-color: var(--dark-line-2); color: var(--on-dark); }
.on-dark .btn--outline:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--outline-light { border-color: var(--dark-line-2); color: var(--on-dark); background: transparent; }
.btn--outline-light:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost { background: var(--bg-soft); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--line-2); color: var(--ink); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 550; }
.link .i { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link:hover { color: var(--accent); }
.link:hover .i { transform: translateX(3px); }
.on-dark .link { color: var(--on-dark); }
.on-dark .link:hover { color: #fff; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--on-dark); border-bottom: 1px solid transparent; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line); color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.brand .brand--dark { display: none; }
.is-scrolled .brand .brand--light, .is-open .brand .brand--light { display: none; }
.is-scrolled .brand .brand--dark, .is-open .brand .brand--dark { display: block; }
.nav__links { display: flex; align-items: center; gap: 2px; margin: 0 0 0 12px; padding: 0; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; border-radius: 8px; background: none;
  color: inherit; opacity: 0.8; font-size: 0.93rem; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; transition: opacity 0.15s, background 0.15s;
}
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current], .nav__item:has([aria-current]) > .nav__link { opacity: 1; color: inherit; }
.nav__link:hover { background: rgba(255, 255, 255, 0.08); }
.is-scrolled .nav__link:hover, .is-open .nav__link:hover { background: rgba(11, 13, 18, 0.05); }
.nav__link .i { width: 15px; height: 15px; transition: transform 0.2s; }
.nav__item { position: relative; }
.nav__item:hover > .nav__link .i, .nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__cta.btn { height: 38px; padding: 0 15px; font-size: 0.9rem; background: #fff; color: var(--ink); }
.nav__cta.btn:hover { background: #e9ebf0; color: var(--ink); }
.is-scrolled .nav__cta.btn, .is-open .nav__cta.btn { background: var(--ink); color: #fff; }
.is-scrolled .nav__cta.btn:hover { background: #262a33; color: #fff; }

.menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 340px; padding: 8px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  box-shadow: 0 24px 60px -18px rgba(11, 13, 18, 0.28);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
}
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover > .menu, .nav__item:focus-within > .menu, .nav__link[aria-expanded="true"] + .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.menu a:hover, .menu a[aria-current] { background: var(--bg-soft); color: var(--ink); }
.menu__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); }
.menu__icon .i { width: 18px; height: 18px; }
.menu strong { display: block; font-size: 0.92rem; font-weight: 600; }
.menu small { display: block; color: var(--ink-3); font-size: 0.82rem; line-height: 1.4; }

.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 10px; background: none; color: inherit; place-items: center; cursor: pointer; }
.is-scrolled .nav__burger, .is-open .nav__burger { border-color: var(--line-2); }
.nav__burger .i { width: 22px; height: 22px; }
.nav__burger .i--close { display: none; }
.is-open .nav__burger .i--open { display: none; }
.is-open .nav__burger .i--close { display: block; }
.drawer { display: none; }

@media (max-width: 1020px) {
  .nav__links, .nav__right .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .drawer {
    position: fixed; inset: var(--header-h) 0 0; z-index: 59; display: block; overflow-y: auto; padding: 8px var(--gutter) 40px; background: #fff; color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .is-open .drawer { opacity: 1; visibility: visible; transform: none; }
  .drawer__group { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .drawer__label { margin: 4px 0 6px; color: var(--ink-3); font: 500 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
  .drawer a:not(.btn) { display: block; padding: 10px 0; color: var(--ink); font-size: 1.08rem; font-weight: 500; }
  .drawer a[aria-current]:not(.btn) { color: var(--accent); }
  .drawer .btn { margin-top: 22px; }
  body.no-scroll { overflow: hidden; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--soft { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line); }
.on-dark { background: var(--dark); color: var(--on-dark-2); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark strong { color: var(--on-dark); }
.on-dark .label { color: var(--on-dark-3); }
.on-dark .lead { color: var(--on-dark-2); }
.on-dark .muted { color: var(--on-dark-3); }
.on-dark a:not(.btn):not(.link) { color: var(--accent-on-dark); }
.head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin-bottom: 18px; }
.head p { margin: 0; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end; max-width: none; }
.head--split h2 { margin: 0; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 0; background: var(--dark); color: var(--on-dark-2); }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -360px; z-index: -1; width: 1100px; height: 620px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47, 85, 255, 0.4), transparent); filter: blur(30px); }
.hero__inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; text-align: center; }
.hero h1 { color: var(--on-dark); margin: 0 0 26px; }
.hero .lead { max-width: 720px; margin: 0 auto 36px; color: var(--on-dark-2); }
.hero .actions { justify-content: center; }
.hero .label { color: var(--on-dark-3); }
.hero__shot { position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 88px); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); background: var(--dark); color: var(--on-dark-2); }
.page-hero h1 { max-width: 920px; margin: 0 0 22px; color: var(--on-dark); font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); }
.page-hero .lead { max-width: 700px; margin: 0; color: var(--on-dark-2); }
.page-hero .label { color: var(--on-dark-3); }
.page-hero .lead a { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--dark-line-2); text-underline-offset: 3px; }
.page-hero .actions { margin-top: 32px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .btn--outline { border-color: var(--dark-line-2); color: var(--on-dark); }
.page-hero .btn--outline:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--on-dark-3); font-size: 0.85rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.crumbs a { color: var(--on-dark-2); }
.crumbs a:hover { color: #fff; }
.glow { display: none; }

/* ---------- product shot (illustrative UI) ---------- */
.shot { overflow: hidden; border: 1px solid var(--dark-line-2); border-bottom: 0; border-radius: 14px 14px 0 0; background: #0f1218; box-shadow: 0 -10px 80px -20px rgba(47, 85, 255, 0.45); color: var(--on-dark-2); font-size: 13px; }
.shot__bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--dark-line); background: #12161d; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.shot__title { color: var(--on-dark-3); font: 500 12px/1 var(--mono); }
.shot__body { display: grid; grid-template-columns: 200px minmax(0, 1fr) 280px; min-height: 420px; }
.shot__nav { padding: 16px 12px; border-right: 1px solid var(--dark-line); }
.shot__nav img { width: 26px; height: 26px; margin: 0 0 18px 6px; }
.shot__nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.shot__nav li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: var(--on-dark-3); }
.shot__nav li .i { width: 16px; height: 16px; }
.shot__nav li.is-active { background: rgba(255, 255, 255, 0.06); color: var(--on-dark); }
.shot__main { padding: 18px 20px; min-width: 0; }
.shot__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.shot__head strong { color: var(--on-dark); font-size: 16px; letter-spacing: -0.01em; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font: 500 11px/1 var(--mono); white-space: nowrap; background: rgba(255, 255, 255, 0.06); color: var(--on-dark-2); border: 1px solid var(--dark-line); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--ok { color: #4ade80; background: rgba(74, 222, 128, 0.08); border-color: rgba(74, 222, 128, 0.22); }
.chip--run { color: var(--accent-on-dark); background: rgba(142, 164, 255, 0.08); border-color: rgba(142, 164, 255, 0.25); }
.chip--wait { color: #fbbf24; background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.22); }
.shot__search { margin-left: auto; padding: 6px 10px; border: 1px solid var(--dark-line); border-radius: 7px; color: var(--on-dark-3); font-size: 12px; }
.shot__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.shot__kpis div { padding: 12px; border: 1px solid var(--dark-line); border-radius: 9px; background: rgba(255, 255, 255, 0.02); }
.shot__kpis small { display: block; margin-bottom: 6px; color: var(--on-dark-3); font-size: 11px; }
.shot__kpis b { color: var(--on-dark); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.shot__table { width: 100%; border-collapse: collapse; }
.shot__table th { padding: 8px 10px; border-bottom: 1px solid var(--dark-line); color: var(--on-dark-3); font-weight: 500; font-size: 11px; text-align: left; text-transform: uppercase; letter-spacing: 0.06em; }
.shot__table td { padding: 10px; border-bottom: 1px solid var(--dark-line); color: var(--on-dark-2); white-space: nowrap; }
.shot__table td:first-child { color: var(--on-dark); font-family: var(--mono); font-size: 12px; }
.shot__table tr.is-selected td { background: rgba(142, 164, 255, 0.06); }
.shot__side { padding: 18px; border-left: 1px solid var(--dark-line); }
.shot__side h4 { margin: 0 0 4px; color: var(--on-dark); font-size: 14px; }
.shot__side p { margin: 0 0 16px; color: var(--on-dark-3); font-size: 12px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 0 0 16px; }
.timeline li::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 1px; background: var(--dark-line-2); }
.timeline li:last-child::before { display: none; }
.timeline__dot { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; border: 1px solid var(--dark-line-2); color: var(--on-dark-3); background: #0f1218; }
.timeline__dot .i { width: 12px; height: 12px; stroke-width: 2.4; }
.timeline li.is-done .timeline__dot { border-color: rgba(74, 222, 128, 0.5); color: #4ade80; }
.timeline li.is-active .timeline__dot { border-color: var(--accent-on-dark); color: var(--accent-on-dark); box-shadow: 0 0 0 4px rgba(142, 164, 255, 0.12); }
.timeline strong { display: block; color: var(--on-dark); font-size: 12.5px; font-weight: 550; }
.timeline small { color: var(--on-dark-3); font-size: 11.5px; }
.timeline time { color: var(--on-dark-3); font: 11px/1.6 var(--mono); }

/* light mock panels (tabs, cards) */
.mock { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; color: var(--ink-2); }
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-3); font: 500 12px/1 var(--mono); }
.mock__body { display: grid; gap: 10px; padding: 16px; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.mock__row small { display: block; color: var(--ink-3); font-size: 12.5px; }
.mock__row b { font-weight: 600; white-space: nowrap; }
.mock__check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.mock__check::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 4px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.mock__pay { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 600; }
.mock__tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--bg-soft); color: var(--ink-2); font: 500 11px/1 var(--mono); }
.mock__msg { padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); color: var(--ink-2); font-size: 13px; }
.mock__msg--me { background: var(--accent-soft); color: var(--ink); margin-left: 28px; }
.mock__msg small { display: block; margin-bottom: 4px; color: var(--ink-3); font: 500 11px/1 var(--mono); }
.light-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font: 500 11.5px/1 var(--mono); border: 1px solid var(--line); color: var(--ink-2); background: var(--bg); white-space: nowrap; }
.light-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.light-chip--ok { color: var(--ok); border-color: rgba(22, 163, 74, 0.25); background: rgba(22, 163, 74, 0.06); }
.light-chip--run { color: var(--accent-ink); border-color: rgba(47, 85, 255, 0.25); background: var(--accent-soft); }
.light-chip--wait { color: var(--warn); border-color: rgba(183, 121, 31, 0.28); background: rgba(183, 121, 31, 0.07); }

/* ---------- tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); width: fit-content; max-width: 100%; }
.tabs__tab { height: 38px; padding: 0 16px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font-weight: 550; font-size: 0.93rem; cursor: pointer; transition: background 0.15s, color 0.15s; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11, 13, 18, 0.08), 0 0 0 1px var(--line); }
.tabs__panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(24px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
.js .tabs__panel[hidden] { display: none; }
html:not(.js) .tabs__panel + .tabs__panel { margin-top: 16px; }
.tabs__panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.tabs__panel .checklist { margin-top: 22px; }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink-2); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
a.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-2); }
.card h3 { margin: 0 0 10px; }
.card p { margin: 0 0 1em; }
.card p:last-child { margin-bottom: 0; }
.card .link { margin-top: auto; padding-top: 18px; }
.card__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.card__icon .i { width: 21px; height: 21px; }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.card--soft { background: var(--bg-soft); }

/* GitLab-style media card */
.media-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink-2); transition: border-color 0.2s, box-shadow 0.2s; }
a.media-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: var(--ink-2); }
.media-card__media { position: relative; display: grid; place-items: center; min-height: 320px; padding: clamp(20px, 3vw, 40px); background: var(--dark); overflow: hidden; isolation: isolate; }
.media-card__media::after { content: ""; position: absolute; inset: auto 10% -60% 10%; z-index: -1; height: 80%; background: radial-gradient(closest-side, rgba(47, 85, 255, 0.35), transparent); pointer-events: none; }
.media-card__media > * { width: 100%; max-width: 420px; }
.media-card__body { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px); flex: 1; }
.media-card__body h3 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); letter-spacing: -0.03em; margin: 0 0 10px; }
.media-card__body .label { margin-bottom: 14px; }
.media-card__body .link { margin-top: auto; padding-top: 16px; }
.media-card__body p { margin: 0; }

/* bordered feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.features > div { padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features .i { width: 22px; height: 22px; margin-bottom: 18px; color: var(--accent); }
.features h3 { font-size: 1.08rem; margin-bottom: 8px; }
.features p { margin: 0; font-size: 0.96rem; }
.on-dark .features, .on-dark .features > div { border-color: var(--dark-line); }
.on-dark .features .i { color: var(--accent-on-dark); }

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232340d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checklist strong { display: block; }
.on-dark .checklist li::before { background-color: rgba(142, 164, 255, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ea4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 500 11.5px/1 var(--mono); letter-spacing: 0.02em; white-space: nowrap; }
.tag--live { color: var(--ok); border-color: rgba(22, 163, 74, 0.28); background: rgba(22, 163, 74, 0.06); }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--soon { color: var(--warn); border-color: rgba(183, 121, 31, 0.3); background: rgba(183, 121, 31, 0.07); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* horizontal process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 28px 24px 0 0; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--accent); font: 500 0.82rem/1 var(--mono); }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.steps h3 { font-size: 1.08rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 0.95rem; }

/* editorial statement */
.statement { margin: 0; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.7rem); line-height: 1.2; letter-spacing: -0.035em; color: var(--ink); font-weight: 500; text-wrap: balance; }
.statement span { color: var(--ink-3); }

/* company information */
.facts { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.facts__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.facts__head strong { font-size: 0.98rem; }
.facts__row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.facts__row:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; color: var(--ink); }

/* closing CTA (dark) */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 10vw, 136px) 0; background: var(--dark); color: var(--on-dark-2); }
.cta::after { content: ""; position: absolute; left: 50%; top: 100%; z-index: -1; width: 900px; height: 520px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(47, 85, 255, 0.38), transparent); filter: blur(20px); }
.cta .container { position: relative; z-index: 1; }
.cta h2 { max-width: 840px; color: var(--on-dark); margin-bottom: 18px; }
.cta p { max-width: 620px; margin: 0 0 34px; font-size: 1.1rem; }

/* contact */
.contact-line { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; }
.contact-line a { color: var(--ink); font-weight: 600; word-break: break-all; }
.contact-line a:hover { color: var(--accent); }
.copy-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-3); cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.copy-btn:hover { color: var(--ink); border-color: var(--line-2); }
.copy-btn .i { width: 15px; height: 15px; }
.copy-btn.is-copied { color: var(--ok); border-color: rgba(22, 163, 74, 0.4); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--ink); font-weight: 550; font-size: 1.05rem; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 760px; }
.faq details > div p:last-child { margin: 0; }

/* ---------- legal documents ---------- */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.doc__toc { position: sticky; top: calc(var(--header-h) + 28px); max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto; padding-right: 8px; }
.doc__toc p { margin: 0 0 12px; color: var(--ink-3); font: 500 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.doc__toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.doc__toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--ink-3); font-size: 0.86rem; line-height: 1.4; }
.doc__toc a:hover { color: var(--ink); }
.doc__toc a.is-active { color: var(--ink); border-left-color: var(--accent); }
.doc__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 36px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 0.86rem; color: var(--ink-3); }
.doc__meta strong { color: var(--ink-2); font-weight: 550; margin-right: 4px; }
.prose { max-width: 760px; color: var(--ink-2); font-size: 1rem; line-height: 1.75; overflow-wrap: break-word; }
.prose h2 { margin: 2.4em 0 0.7em; font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem); letter-spacing: -0.03em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child, .prose .doc__meta + h2 { margin-top: 0; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--ink-3); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: rgba(47, 85, 255, 0.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 0.92rem; line-height: 1.55; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-soft); font-weight: 600; }
.prose .btn { text-decoration: none; }
.note { margin: 1.5em 0; padding: 16px 20px; border: 1px solid rgba(47, 85, 255, 0.2); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink-2); }
.note strong:first-child { color: var(--accent-ink); }
.note ul { margin: 0.6em 0 0; }
.note--warn { border-color: rgba(183, 121, 31, 0.3); border-left-color: var(--warn); background: #fdf7ec; }
.note--warn strong:first-child { color: var(--warn); }
.doc-list { display: grid; border-top: 1px solid var(--line); }
.doc-link { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); transition: background 0.15s, padding 0.2s var(--ease); }
.doc-link:hover { background: var(--bg-soft); padding-left: 12px; color: var(--ink-2); }
.doc-link strong { display: block; margin-bottom: 2px; font-size: 1.05rem; letter-spacing: -0.015em; }
.doc-link .card__icon { display: none; }
.doc-link > .i { color: var(--ink-3); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-3); font-size: 0.92rem; border-top: 1px solid var(--dark-line); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; padding: 72px 0 56px; }
.footer__brand img { height: 26px; width: auto; }
.footer__brand p { max-width: 260px; margin: 18px 0 0; color: var(--on-dark-3); }
.footer__col h2 { margin: 0 0 16px; color: var(--on-dark); font: 500 0.74rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer__col a, .footer__col button { padding: 0; border: 0; background: none; color: var(--on-dark-2); cursor: pointer; text-align: left; font-size: 0.92rem; }
.footer__col a:hover, .footer__col button:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 24px 0 32px; border-top: 1px solid var(--dark-line); font-size: 0.85rem; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__bottom a, .footer__bottom button { padding: 0; border: 0; background: none; color: var(--on-dark-3); cursor: pointer; font-size: 0.85rem; }
.footer__bottom a:hover, .footer__bottom button:hover { color: #fff; }

/* ---------- cookie consent ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 24px; max-width: 1000px; margin: 0 auto; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink-2); box-shadow: 0 24px 60px -16px rgba(11, 13, 18, 0.3);
  font-size: 0.9rem; transform: translateY(16px); opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease);
}
.cookie.is-visible { opacity: 1; transform: none; }
.cookie[hidden] { display: none; }
.cookie__text { flex: 1; }
.cookie h2 { margin: 0 0 4px; font-size: 1rem; letter-spacing: -0.01em; }
.cookie p { margin: 0; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.cookie__actions .btn { height: 40px; padding: 0 16px; }
.modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink-2); box-shadow: 0 40px 120px -20px rgba(11, 13, 18, 0.45); }
.modal::backdrop { background: rgba(11, 13, 18, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 8px; }
.modal__head h2 { margin: 0; font-size: 1.25rem; }
.modal__close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.modal__body { padding: 4px 24px 8px; font-size: 0.92rem; }
.modal__foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.consent-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.consent-row:last-child { border-bottom: 0; }
.consent-row strong { display: block; margin-bottom: 4px; }
.consent-row p { margin: 0; color: var(--ink-3); font-size: 0.86rem; }
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line-2); transition: background 0.2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.2s var(--ease); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: 0.55; }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 0.88rem; font-weight: 550; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.notfound__code { margin: 0 0 8px; color: var(--on-dark-3); font: 500 0.9rem/1 var(--mono); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .shot__body { grid-template-columns: 180px minmax(0, 1fr); }
  .shot__side { display: none; }
}
@media (max-width: 1020px) {
  .split, .tabs__panel { grid-template-columns: 1fr; }
  .head--split { grid-template-columns: 1fr; gap: 16px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__toc { position: static; max-height: none; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
  .cookie { flex-direction: column; align-items: stretch; gap: 14px; }
}
@media (max-width: 760px) {
  .hero__inner { text-align: left; }
  .hero .lead { margin-left: 0; }
  .hero .actions { justify-content: flex-start; }
  .shot__body { grid-template-columns: 1fr; min-height: 0; }
  .shot__nav { display: none; }
  .shot__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot__table th:nth-child(2), .shot__table td:nth-child(2), .shot__table th:nth-child(5), .shot__table td:nth-child(5) { display: none; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .media-card__media { min-height: 240px; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .grid--4, .features, .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .facts__row { grid-template-columns: 1fr; gap: 2px; }
  .actions .btn { flex: 1 1 auto; }
  .tabs__list { width: 100%; }
  .tabs__tab { flex: 1 1 auto; padding: 0 10px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .cookie__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  body { background: #fff; color: #111; font-size: 11pt; }
  .site-header, .site-footer, .cookie, .doc__toc, .skip-link, .cta, .toast, .modal { display: none !important; }
  .page-hero { padding: 0 0 12pt; background: none; color: #111; }
  .page-hero h1, .page-hero .lead, .crumbs, .crumbs a, .page-hero .label { color: #111; }
  .doc { display: block; }
  .prose, .doc__meta { color: #222; }
  .note, .doc__meta, .prose th, .prose td { border-color: #bbb; background: none; }
}
