/* ==========================================================================
   KH Account Systems — landing
   ========================================================================== */

:root {
  --bg:       #04060a;
  --bg-2:     #070a11;
  --panel:    rgba(255, 255, 255, .028);
  --panel-2:  rgba(255, 255, 255, .05);
  --line:     rgba(255, 255, 255, .08);
  --line-2:   rgba(255, 255, 255, .16);

  --teal:     #22e3c3;
  --mint:     #8ef8e2;
  --violet:   #7d5cff;
  --amber:    #ffb454;

  --text:     #e9eff7;
  --muted:    #94a2b6;
  --muted-2:  #5c6a7d;

  --ff-d: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --ff-b: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ff-m: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  --wrap: 1180px;
  --r:    20px;
  --r-s:  12px;
  --e:    cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-b);
  font-size: 16.5px;
  line-height: 1.62;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.lnk { color: var(--teal); border-bottom: 1px solid rgba(34, 227, 195, .35); transition: color .3s, border-color .3s; }
.lnk:hover { color: var(--mint); border-color: var(--mint); }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-d); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--teal); color: #04120f; }

/* JetBrains Mono ligatures would turn CLI flags like --from into an em dash */
.term__body, .pill, .eyebrow, code, .fil i, .card h3 em, .sub__grid span { font-variant-ligatures: none; }

html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: #1b2431; border-radius: 10px; border: 2px solid var(--bg); }
html::-webkit-scrollbar-thumb:hover { background: #2a3646; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 26px; }
.section { position: relative; padding: clamp(76px, 8vw, 124px) 0; }

.h2 { font-size: clamp(2rem, 4.4vw, 3.35rem); font-weight: 800; letter-spacing: -.04em; }
.h2 .dim { color: var(--muted-2); }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; }

.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head--c { margin-inline: auto; text-align: center; }
.head--c .eyebrow { justify-content: center; }
.head__sub { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--ff-m); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow i { width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--teal)); }

.grad {
  background: linear-gradient(100deg, var(--teal) 0%, var(--mint) 32%, var(--violet) 78%, var(--teal) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 9s linear infinite;
}
@keyframes gradShift { to { background-position: 260% 0; } }

.ic { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 15px; height: 15px; stroke-width: 1.9; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, .03);
  font-family: var(--ff-m); font-size: .74rem;
  letter-spacing: .04em; color: #b9c6d6;
  backdrop-filter: blur(8px);
}
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex: none;
  box-shadow: 0 0 0 0 rgba(34, 227, 195, .7);
  animation: ping 2.4s var(--e) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(34,227,195,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(34,227,195,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,227,195,0); }
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent; border-radius: 100px;
  font-family: var(--ff-d); font-size: .94rem; font-weight: 600;
  letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--e), box-shadow .35s var(--e), background .3s, border-color .3s, color .3s;
}
.btn > * { position: relative; z-index: 1; }
.btn .ic { transition: transform .35s var(--e); }
.btn:hover .ic { transform: translateX(4px); }

.btn--primary {
  color: #02120f;
  background: linear-gradient(100deg, var(--teal), #4fe0e6 52%, var(--violet));
  background-size: 180% 100%;
  box-shadow: 0 8px 30px -10px rgba(34, 227, 195, .55);
  overflow: hidden;
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 14px 38px -10px rgba(34, 227, 195, .7); }
.btn--primary::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn--primary:hover::after { animation: sheen .8s var(--e); }
@keyframes sheen { to { transform: translateX(120%); } }

.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(34,227,195,.55); background: rgba(34,227,195,.07); }

.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--full { width: 100%; }
.btn--sos {
  color: #fff;
  border-color: rgba(232, 93, 76, .45);
  background: linear-gradient(100deg, #c4452f, #e85d4c 55%, #f08a4b);
  box-shadow: 0 8px 28px -10px rgba(196, 69, 47, .55);
}
.btn--sos:hover { filter: brightness(1.08); box-shadow: 0 14px 36px -10px rgba(196, 69, 47, .7); }

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.lang a {
  padding: 7px 11px;
  font-family: var(--ff-m);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--muted-2);
}
.lang a.is-on { background: rgba(34,227,195,.14); color: var(--teal); }

/* ---------- chrome ---------- */
.progress {
  position: fixed; inset: 0 auto auto 0; z-index: 210;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  box-shadow: 0 0 14px rgba(34, 227, 195, .7);
}

.cursor {
  position: fixed; top: 0; left: 0; z-index: 205;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(34, 227, 195, .55);
  border-radius: 50%;
  pointer-events: none; opacity: 0;
  transition: opacity .35s, width .3s var(--e), height .3s var(--e), margin .3s var(--e), background .3s, border-color .3s;
}
.cursor span {
  position: absolute; inset: 0; margin: auto;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal); transition: opacity .3s;
}
.cursor.is-hot { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(34,227,195,.09); border-color: rgba(34,227,195,.8); }
.cursor.is-hot span { opacity: 0; }

.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- boot ---------- */
.boot { display: none; }
.js .boot {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--bg);
  transition: opacity .6s var(--e), visibility .6s;
}
.boot.is-out { opacity: 0; visibility: hidden; }
.boot__mark { width: 54px; height: 54px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.boot__mark path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.1s var(--e) forwards; }
.boot__mark path:last-child { animation-delay: .35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.boot__bar { width: 168px; height: 2px; background: rgba(255,255,255,.09); border-radius: 2px; overflow: hidden; }
.boot__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--violet)); animation: load 1.05s var(--e) forwards; }
@keyframes load { to { width: 100%; } }
.boot__txt { font-family: var(--ff-m); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-2); margin: 0; }

/* ---------- reveal ---------- */
[data-rv] { opacity: 0; transform: translateY(26px); }
.js [data-rv] { transition: opacity .8s var(--e) var(--d, 0ms), transform .8s var(--e) var(--d, 0ms); }
[data-rv].is-in { opacity: 1; transform: none; }
html:not(.js) [data-rv] { opacity: 1; transform: none; }

/* ---------- ambience ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(90px); }
.aurora__a { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(34,227,195,.17), transparent 68%); animation: drift 22s ease-in-out infinite; }
.aurora__b { width: 40vw; height: 40vw; right: -10vw; top: 12vw; background: radial-gradient(circle, rgba(125,92,255,.18), transparent 68%); animation: drift 26s ease-in-out infinite reverse; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(5vw, 4vw) scale(1.14); }
}

.mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 82% 62% at 50% 32%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 82% 62% at 50% 32%, #000 25%, transparent 75%);
}

/* spotlight cards */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity .45s; pointer-events: none;
}
.spot::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(34,227,195,.11), transparent 62%); }
.spot::after {
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(142,248,226,.6), transparent 58%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  padding: 16px 0;
  transition: transform .5s var(--e), padding .4s var(--e), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 9px 0;
  background: rgba(4, 6, 10, .74);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-105%); }

.nav__in { max-width: var(--wrap); margin-inline: auto; padding-inline: 26px; display: flex; align-items: center; gap: 26px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 32px; height: 32px; }
.brand__mark svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.bm-o { stroke: var(--teal); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(34,227,195,.5)); }
.bm-i { stroke: var(--violet); stroke-width: 2.2; }
.brand:hover .bm-o { animation: pulse 1s var(--e); }
@keyframes pulse { 50% { stroke: #fff; filter: drop-shadow(0 0 14px rgba(34,227,195,.95)); } }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font-family: var(--ff-d); font-weight: 800; font-size: 1.14rem; letter-spacing: -.02em; }
.brand__txt i { font-family: var(--ff-m); font-style: normal; font-size: .56rem; letter-spacing: .17em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }

.nav__links { display: flex; gap: 26px; margin-left: 16px; }
.nav__links a:not(.btn) {
  position: relative; display: inline-flex; align-items: baseline; gap: 7px;
  font-size: .92rem; color: var(--muted); padding: 5px 0;
  transition: color .25s;
}
.nav__links a span { font-family: var(--ff-m); font-size: .66rem; color: var(--muted-2); transition: color .25s; }
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--e);
}
.nav__links a:not(.btn):hover, .nav__links a:not(.btn).is-on { color: var(--text); }
.nav__links a:not(.btn):hover span, .nav__links a:not(.btn).is-on span { color: var(--teal); }
.nav__links a:not(.btn):hover::after, .nav__links a:not(.btn).is-on::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: none; }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.burger {
  display: none; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: transparent; cursor: pointer;
  place-content: center; justify-items: center; gap: 5px;
}
.burger span { display: block; width: 16px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .35s var(--e); }
.burger.is-open span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: clamp(126px, 15vw, 176px) 0 0; overflow: hidden; }

.hero__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.22fr .78fr;
  gap: clamp(24px, 3.4vw, 48px); align-items: center;
}

.hero__title {
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.04em;
  margin: 22px 0 24px;
}
.hero__lede { max-width: 580px; color: #b3c0d0; font-size: 1.09rem; }
.hero__lede b { color: var(--text); font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--muted); }
.hero__proof .ic { color: var(--teal); }

.hero__who {
  max-width: 520px; margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted-2);
}

/* visual */
.hero__visual { position: relative; aspect-ratio: 1 / 1; max-height: 520px; }
.hero__canvas { width: 100%; height: 100%; }
.hero__hint {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%);
  font-family: var(--ff-m); font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-2);
  opacity: 0; transition: opacity .5s; white-space: nowrap;
}
.hero__visual:hover .hero__hint { opacity: 1; }

.chip {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 14, 21, .72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
  transition: translate .5s var(--e);
  animation: bob 7s ease-in-out infinite;
}
.chip b { font-family: var(--ff-m); font-size: .74rem; color: var(--teal); letter-spacing: .02em; }
.chip span { font-size: .72rem; color: var(--muted); line-height: 1.35; }
.chip--1 { top: 12%; left: -4%; animation-delay: -1s; }
.chip--2 { top: 44%; right: -6%; animation-delay: -3s; }
.chip--3 { bottom: 12%; left: 4%; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-11px); } }

/* stats */
.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: clamp(46px, 6vw, 76px);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--line); overflow: hidden;
}
.stat { padding: 24px 22px; background: var(--bg); transition: background .4s; }
.stat:hover { background: var(--bg-2); }
.stat b {
  display: block; font-family: var(--ff-d); font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.04em;
  background: linear-gradient(120deg, #fff, #9fb0c4);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { display: block; margin-top: 4px; font-family: var(--ff-m); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

/* ticker */
.ticker {
  position: relative; z-index: 2;
  margin-top: clamp(48px, 6vw, 78px);
  padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__t { display: flex; align-items: center; gap: 34px; width: max-content; animation: run 42s linear infinite; }
.ticker__t span { font-family: var(--ff-d); font-weight: 700; font-size: .95rem; letter-spacing: .14em; color: #3f4c5d; transition: color .4s; }
.ticker:hover .ticker__t span { color: #6e7f95; }
.ticker__t i { width: 4px; height: 4px; border-radius: 50%; background: rgba(34,227,195,.4); flex: none; }
@keyframes run { to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES CATALOGUE
   ========================================================================== */
.cat { background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg)); }

/* ---------- group filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.fil {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 100px;
  background: var(--panel); color: var(--muted);
  font-family: var(--ff-d); font-size: .9rem; font-weight: 600;
  letter-spacing: -.01em; cursor: pointer;
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--e);
}
.fil i {
  font-family: var(--ff-m); font-style: normal; font-size: .68rem;
  padding: 2px 7px; border-radius: 100px;
  background: rgba(255,255,255,.06); color: var(--muted-2);
  transition: background .3s, color .3s;
}
.fil:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-2px); }
.fil.is-on {
  color: #02120f; border-color: transparent;
  background: linear-gradient(100deg, var(--teal), var(--mint));
  box-shadow: 0 8px 26px -12px rgba(34,227,195,.8);
}
.fil.is-on i { background: rgba(2,18,15,.16); color: #02120f; }

/* ---------- card grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.cards__empty {
  grid-column: 1 / -1; margin: 0; padding: 40px 0;
  text-align: center; color: var(--muted-2);
}

.card {
  display: flex; flex-direction: column;
  padding: 24px 22px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel);
  transition: transform .45s var(--e), background .4s, border-color .4s, opacity .35s var(--e);
}
.card:hover { transform: translateY(-5px); background: var(--panel-2); }

/* filtered-out cards fade before they are pulled from the grid */
.card.is-out { opacity: 0; transform: scale(.96); pointer-events: none; }
.card[hidden] { display: none; }
.card.is-shown { animation: cardIn .5s var(--e) both; animation-delay: var(--i, 0ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.card__n {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--ff-m); font-size: .7rem; color: var(--muted-2);
}
.card__ic {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.03); color: var(--teal);
  transition: border-color .4s, background .4s, transform .4s var(--e);
}
.card:hover .card__ic { border-color: rgba(34,227,195,.4); background: rgba(34,227,195,.1); transform: scale(1.06) rotate(-3deg); }

.card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; padding-right: 26px; }
.card h3 em {
  display: inline-block; margin-left: 6px;
  font-family: var(--ff-m); font-style: normal; font-size: .66rem;
  padding: 2px 7px; border-radius: 5px; vertical-align: 2px;
  color: var(--teal); background: rgba(34,227,195,.1); border: 1px solid rgba(34,227,195,.22);
}
.card p { font-size: .9rem; color: var(--muted); }

.card__more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: auto; padding: 18px 0 0; border: 0; background: none;
  font-family: var(--ff-m); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted-2); cursor: pointer;
  transition: color .3s;
}
.card__more:hover { color: var(--teal); }
.card__more .ic { transition: transform .4s var(--e); }
.card__more[aria-expanded="true"] { color: var(--teal); }
.card__more[aria-expanded="true"] .ic { transform: rotate(45deg); }

.card__det {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--e), opacity .35s;
  opacity: 0;
}
.card__det > ul { overflow: hidden; }
.card.is-open .card__det { grid-template-rows: 1fr; opacity: 1; }
.card__det li {
  display: flex; gap: 9px; padding: 7px 0;
  font-size: .86rem; color: #c2ccd9;
  border-top: 1px solid var(--line);
}
.card__det li:first-child { margin-top: 16px; }
.card__det li::before { content: ''; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--teal); }

/* ---------- subscription ---------- */
.sub {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 48px); align-items: center;
  margin-top: 22px; padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(34,227,195,.24); border-radius: var(--r);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(125,92,255,.12), transparent 60%),
    radial-gradient(80% 120% at 0% 100%, rgba(34,227,195,.1), transparent 60%),
    var(--panel);
}
.sub__tag {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
  font-family: var(--ff-m); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal);
}
.sub h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; }
.sub p { color: var(--muted); max-width: 56ch; }
.sub__list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 26px; }
.sub__list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #c2ccd9; }
.sub__list .ic { color: var(--teal); }

.sub__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sub__grid span {
  display: grid; place-items: center; text-align: center;
  padding: 16px 8px; min-height: 68px;
  border: 1px solid var(--line); border-radius: var(--r-s);
  background: rgba(255,255,255,.022);
  font-family: var(--ff-m); font-size: .68rem; color: var(--muted-2);
  transition: color .4s, border-color .4s, background .4s, transform .4s var(--e);
}
.sub:hover .sub__grid span { border-color: rgba(34,227,195,.2); }
.sub__grid span:hover { color: var(--teal); background: rgba(34,227,195,.08); transform: translateY(-3px); }

/* ---------- deliverables ---------- */
.deliver { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.deliver__t { margin-bottom: 20px; }

.ticks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ticks--col { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; margin-top: 0; gap: 10px; }
.ticks li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 11px;
  border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,.025);
  font-size: .82rem; color: #c2ccd9;
  transition: border-color .3s, color .3s, transform .3s var(--e);
}
.ticks li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px rgba(34,227,195,.8);
}
.ticks li:hover { border-color: rgba(34,227,195,.4); color: #fff; transform: translateY(-2px); }

/* terminal */
.term {
  border: 1px solid var(--line); border-radius: 14px;
  background: #05080d; overflow: hidden;
  box-shadow: 0 30px 60px -40px #000;
}
.term__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.022);
}
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: #222c3a; }
.term__bar i:first-child { background: #37424f; }
.term__bar em { font-family: var(--ff-m); font-style: normal; font-size: .7rem; color: var(--muted-2); margin-left: 8px; }
.sev {
  margin-left: auto; font-family: var(--ff-m); font-size: .66rem; font-weight: 500;
  padding: 3px 9px; border-radius: 100px;
  color: #ff8f6b; background: rgba(255, 106, 61, .12); border: 1px solid rgba(255, 106, 61, .28);
}
.term__body {
  margin: 0; padding: 16px 18px 20px;
  font-family: var(--ff-m); font-size: .8rem; line-height: 1.95;
  white-space: pre-wrap; word-break: break-word;
  color: #8ea0b5; min-height: 132px;
}
.term__body .l-cmd { color: #e9eff7; }
.term__body .l-cmd b { color: var(--teal); font-weight: 400; }
.term__body .l-ok  { color: #6fd6bd; }
.term__body .l-bad { color: #ff8f6b; }
.term__body .car { display: inline-block; width: 7px; height: 1em; vertical-align: -2px; background: var(--teal); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================================
   PROOF
   ========================================================================== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(52px, 7vw, 88px); }

.case {
  display: flex; flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel);
  transition: transform .5s var(--e), border-color .4s, background .4s;
}
.case:hover { transform: translateY(-6px); background: var(--panel-2); }
.case__tag {
  font-family: var(--ff-m); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2);
}
.case__num {
  display: block; margin: 16px 0 12px;
  font-family: var(--ff-d); font-weight: 800;
  font-size: clamp(2.1rem, 3.6vw, 2.9rem); letter-spacing: -.045em; line-height: 1;
  background: linear-gradient(115deg, var(--teal), var(--mint) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.case h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.28; margin-bottom: 11px; }
.case p { font-size: .92rem; color: var(--muted); }
.case__foot {
  margin-top: auto; padding-top: 20px;
  font-family: var(--ff-m); font-size: .7rem; color: var(--teal);
  display: inline-flex; align-items: center; gap: 8px;
}
.case__foot::before { content: ''; width: 16px; height: 1px; background: var(--teal); }

.quote {
  margin: 20px 0 0; padding: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line); border-radius: var(--r);
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(125,92,255,.09), transparent 58%),
    var(--panel);
  position: relative; overflow: hidden;
}
.quote__m { position: absolute; top: 22px; right: 26px; width: 60px; height: 60px; color: rgba(255,255,255,.045); }
.quote blockquote {
  margin: 0 0 22px; max-width: 62ch;
  font-family: var(--ff-d); font-weight: 600;
  font-size: clamp(1.12rem, 2.1vw, 1.5rem); line-height: 1.42; letter-spacing: -.025em;
}
.quote figcaption { display: flex; align-items: center; gap: 13px; }
.ava {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(34,227,195,.3);
  background: rgba(34,227,195,.09);
  font-family: var(--ff-m); font-size: .78rem; color: var(--teal);
}
.quote figcaption div { display: flex; flex-direction: column; line-height: 1.35; }
.quote figcaption b { font-size: .95rem; }
.quote figcaption i { font-style: normal; font-size: .82rem; color: var(--muted-2); }

/* flow */
.flow { margin-top: clamp(56px, 7vw, 96px); }

.rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
/* the line runs dot-centre to dot-centre: 21px in, and one column back on the right */
.rail__line {
  position: absolute; top: 21px; left: 21px; right: calc(25% - 37px); height: 1px;
  background: var(--line);
}
.rail__line i {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  box-shadow: 0 0 12px rgba(34,227,195,.6);
  transition: width .25s linear;
}

.step { position: relative; padding-top: 0; }
.step__dot {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--muted-2);
  transition: color .45s, border-color .45s, background .45s, box-shadow .45s, transform .45s var(--e);
}
.step.is-on .step__dot {
  color: #02120f; border-color: transparent; transform: scale(1.06);
  background: linear-gradient(120deg, var(--teal), var(--mint));
  box-shadow: 0 0 0 5px rgba(34,227,195,.1), 0 8px 26px -10px rgba(34,227,195,.8);
}
.step__w {
  display: block; margin: 20px 0 8px;
  font-family: var(--ff-m); font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-2);
  transition: color .45s;
}
.step.is-on .step__w { color: var(--teal); }
.step h4 { font-size: 1.06rem; font-weight: 700; margin-bottom: 9px; }
.step p { font-size: .89rem; color: var(--muted); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-2); }
.aurora--cta .aurora__a { top: auto; bottom: -18vw; left: -8vw; }
.aurora--cta .aurora__b { top: -12vw; right: -14vw; }

.cta__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .88fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.cta__sub { margin-top: 20px; max-width: 46ch; color: var(--muted); font-size: 1.03rem; }

.contacts { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.contacts li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: #c2ccd9; }
.contacts li span {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--teal);
}
.contacts a { transition: color .25s; }
.contacts a:hover { color: var(--teal); }

.form {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(8, 11, 17, .72);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -50px #000;
}
.form__tag {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  font-family: var(--ff-m); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2);
}

.field { position: relative; margin-bottom: 13px; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 10px;
  border: 1px solid var(--line); border-radius: var(--r-s);
  background: rgba(255,255,255,.024);
  outline: none; resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 96px; }
.field label {
  position: absolute; left: 17px; top: 15px;
  font-size: .95rem; color: var(--muted-2);
  pointer-events: none;
  transition: transform .28s var(--e), font-size .28s var(--e), color .28s;
  transform-origin: left top;
}
.field input:focus, .field textarea:focus {
  border-color: rgba(34,227,195,.55);
  background: rgba(34,227,195,.04);
  box-shadow: 0 0 0 4px rgba(34,227,195,.07);
}
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(.72); color: var(--teal);
}
.field.is-bad input, .field.is-bad textarea { border-color: rgba(255, 106, 61, .6); background: rgba(255, 106, 61, .05); }
.field.is-bad { animation: shake .4s var(--e); }
@keyframes shake {
  25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); }
}

.form .btn { margin-top: 8px; }
.form__note { margin: 14px 0 0; font-size: .8rem; color: var(--muted-2); text-align: center; transition: color .3s; }
.form__note.is-ok { color: var(--teal); }
.form__note.is-bad { color: #ff8f6b; }
.form__urgent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 2px 0 6px; font-size: .88rem; color: #f0c7b8; cursor: pointer;
}
.form__urgent input { margin-top: 3px; accent-color: #e85d4c; width: 16px; height: 16px; flex: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { border-top: 1px solid var(--line); padding: 28px 0; background: var(--bg); }
.foot__in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot__c { margin: 0 auto 0 14px; font-size: .84rem; color: var(--muted-2); }
.foot__s { display: flex; align-items: center; gap: 10px; }
.foot__s a {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 9px; color: var(--muted);
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--e);
}
.foot__s a:hover { color: var(--teal); border-color: rgba(34,227,195,.45); background: rgba(34,227,195,.07); transform: translateY(-3px); }
.foot__pgp { margin-left: 8px; font-family: var(--ff-m); font-size: .68rem; color: var(--muted-2); }
.foot__pgp code { color: #6e7f95; }

/* ==========================================================================
   SERVICE PAGE
   ========================================================================== */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px;
  font-family: var(--ff-m); font-size: .7rem; color: var(--muted-2);
}
.crumbs a { color: var(--muted-2); transition: color .3s; }
.crumbs a:hover { color: var(--teal); }
.crumbs i { font-style: normal; opacity: .45; }

.hero--page .hero__in { align-items: start; grid-template-columns: 1.12fr .88fr; }
.hero--page .hero__title { margin-top: 0; font-size: clamp(2.05rem, 3.9vw, 3.05rem); }

/* quick facts */
.fact {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line); border-radius: var(--r);
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(125,92,255,.1), transparent 58%),
    var(--panel);
}
.fact__h {
  display: flex; align-items: center; gap: 9px; margin-bottom: 20px;
  font-family: var(--ff-m); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal);
}
.fact div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.fact div:first-of-type { padding-top: 0; border-top: 0; }
.fact dt { font-size: .85rem; color: var(--muted-2); }
.fact dd { margin: 0; text-align: right; font-size: .88rem; font-weight: 600; color: #dbe3ec; }
.fact .btn { margin-top: 24px; }

/* trigger list — why someone orders this service */
.needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.needs li {
  display: flex; gap: 12px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--r-s);
  background: var(--panel); font-size: .92rem; color: #c2ccd9;
  transition: border-color .35s, transform .35s var(--e);
}
.needs li:hover { border-color: rgba(34,227,195,.35); transform: translateY(-3px); }
.needs .ic { flex: none; margin-top: 2px; color: var(--teal); }

.want {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.want a {
  display: flex; flex-direction: column; gap: 8px; min-height: 148px;
  padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); color: inherit; text-decoration: none;
  transition: border-color .35s, transform .35s var(--e), background .35s;
}
.want a:hover { border-color: rgba(34,227,195,.4); transform: translateY(-4px); background: var(--panel-2); }
.want a span { font-family: var(--ff-m); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.want a b { font-family: var(--ff-d); font-size: 1.02rem; font-weight: 650; letter-spacing: -.02em; color: var(--text); }
.want a i { font-style: normal; font-size: .88rem; color: var(--muted-2); margin-top: auto; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.principle {
  padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel);
}
.principle em {
  display: block; margin-bottom: 12px;
  font-family: var(--ff-m); font-size: .72rem; font-style: normal;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.principle h3 { margin: 0 0 8px; font-size: 1.12rem; }
.principle p { margin: 0; color: var(--muted-2); font-size: .92rem; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; margin-inline: auto; }
.faq__i {
  border: 1px solid var(--line); border-radius: var(--r-s);
  background: var(--panel); transition: border-color .35s, background .35s;
}
.faq__i[open] { border-color: rgba(34,227,195,.3); background: var(--panel-2); }
.faq__i summary {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  cursor: pointer; list-style: none;
  font-family: var(--ff-d); font-weight: 600; font-size: 1rem; letter-spacing: -.015em;
}
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after {
  content: ''; flex: none; margin-left: auto; width: 9px; height: 9px;
  border-right: 1.6px solid var(--muted-2); border-bottom: 1.6px solid var(--muted-2);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .35s var(--e), border-color .35s;
}
.faq__i[open] summary::after { transform: rotate(225deg) translateY(-2px); border-color: var(--teal); }
.faq__i p { padding: 0 20px 20px; max-width: 72ch; font-size: .94rem; color: var(--muted); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-height: 340px; margin-inline: auto; width: min(100%, 380px); }
  .chip--1 { left: -6%; } .chip--2 { right: -8%; } .chip--3 { left: 0; }
  .want { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sub { grid-template-columns: 1fr; }
  .deliver { grid-template-columns: 1fr; }
  .cta__in { grid-template-columns: 1fr; }
  .hero--page .hero__in { grid-template-columns: 1fr; }
  .fact { max-width: 520px; }
}

@media (max-width: 880px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0;
    flex-direction: column; gap: 0;
    margin: 0; padding: 88px 26px 26px;
    background: rgba(4, 6, 10, .96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    transition: transform .5s var(--e);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__cta { display: inline-flex; margin-top: 24px; }
  .burger { display: grid; }
  .nav__right .btn--primary { display: none; }

  .cases { grid-template-columns: 1fr; }
  .needs { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; gap: 26px; padding-left: 4px; }
  .rail__line { top: 12px; bottom: 12px; left: 21px; right: auto; width: 1px; height: auto; }
  .rail__line i { inset: 0 0 auto 0; width: 100% !important; height: var(--h, 0); transition: height .25s linear; }
  .step { display: grid; grid-template-columns: 42px 1fr; column-gap: 18px; }
  .step__dot { grid-row: span 3; }
  .step__w { margin-top: 2px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .want { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .sub__grid { grid-template-columns: repeat(2, 1fr); }
  .filters { gap: 7px; }
  .fil { padding: 9px 13px; font-size: .84rem; }
  .want { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .chip { padding: 7px 11px; }
  .chip b { font-size: .68rem; }
  .chip span { font-size: .66rem; }
  .chip--1 { left: -2%; } .chip--2 { right: -2%; } .chip--3 { left: 2%; }
  .foot__in { justify-content: center; text-align: center; }
  .foot__c { margin: 0; width: 100%; }
  .foot__pgp { display: none; }
}

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