/* bytecyte.com: single stylesheet. Brand: ByteCyte crimson on near-black. */
:root {
  --bg: #07080b;
  --bg-2: #0d0f14;
  --bg-3: #14161d;
  --red: #d3172b;
  --red-hi: #ff3b4e;
  --red-soft: rgba(211, 23, 43, .14);
  --ember: #ff7a45;
  --green: #4fc383;
  --rose: #f0517d;
  --cyan: #3fd8e6;
  --violet: #9a7cff;
  --text: #f2f3f5;
  --muted: #9aa0ab;
  --dim: #6b717c;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --card: rgba(255, 255, 255, .03);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.accent {
  background: linear-gradient(90deg, var(--red-hi), var(--ember) 60%, var(--red-hi));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: #c9cdd4; }
.kicker {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-hi); margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 15.5px; border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s; cursor: pointer;
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(211, 23, 43, .7); }
.btn-primary:hover { background: var(--red-hi); transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(255, 59, 78, .75); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .05); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- progress + nav ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--red), var(--ember)); transform-origin: 0 50%; transform: scaleX(0);
}
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.nav.scrolled, .nav.open {
  background: rgba(7, 8, 11, .78); backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav .brand img { height: 28px; width: auto; }
.nav nav ul { display: flex; gap: 6px; }
.nav nav a {
  display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: #c6cad1;
  transition: color .25s, background .25s;
}
.nav nav a:hover, .nav nav a.active { color: #fff; background: rgba(255, 255, 255, .06); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav.open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 56px; overflow: hidden; isolation: isolate; }
#hexfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .9; }
.hero-glow {
  position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(211, 23, 43, .22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(255, 122, 69, .08), transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg));
}
.hero-inner { max-width: 1200px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: #c9cdd4; margin-bottom: 28px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 0 rgba(255, 59, 78, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 78, 0); } }
.hero h1 { font-size: clamp(44px, 7.6vw, 104px); font-weight: 600; letter-spacing: -.035em; line-height: .98; max-width: 17ch; }
.hero .lead { max-width: 620px; margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13, 15, 20, .6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.stats > div { padding: 26px 28px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dt { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.stats dd { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: clamp(88px, 11vw, 150px) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head p:not(.kicker) { color: var(--muted); font-size: 17.5px; margin-top: 18px; }

/* ---------- products ---------- */
.products { display: grid; gap: 22px; }
.product {
  --acc: var(--red-hi);
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch;
  border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: linear-gradient(140deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  transition: border-color .4s, transform .5s var(--ease);
}
.product:hover { border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.product:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.product:nth-child(even) .p-media { order: 2; }
.p-umager { --acc: var(--green); }
.p-uwiper { --acc: var(--rose); }
.p-cdf { --acc: var(--red-hi); }
.p-media {
  position: relative; padding: 36px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(80% 80% at 50% 50%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 75%), var(--bg-2);
}
.p-media img {
  border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .8s var(--ease);
}
.product:hover .p-media img { transform: scale(1.025) translateY(-4px); }
.p-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.p-body > p:not(.p-tag):not(.p-wordmark) { color: #bfc4cc; }
.p-logo { height: 40px; width: auto; align-self: flex-start; margin-bottom: 4px; }
.p-wordmark { font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.p-wordmark b { color: var(--red-hi); font-weight: 700; }
.p-tag { font-family: var(--mono); font-size: 13px; color: var(--acc); letter-spacing: .02em; }
.p-tag em { font-style: normal; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #d3d6dc; background: rgba(255, 255, 255, .02); }
.link { align-self: flex-start; font-weight: 600; color: var(--acc); display: inline-flex; gap: 8px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); transition: gap .3s var(--ease); }
.link:hover { gap: 12px; }

/* Cognitive DFIR card visual */
.cdf-media { min-height: 320px; }
.cdf-media::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.cdf-mini {
  position: relative; width: min(380px, 100%); padding: 22px; border-radius: 18px; display: grid; gap: 18px;
  background: rgba(10, 11, 15, .85); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; padding: 4px 9px; border-radius: 6px; background: var(--red-soft); color: var(--red-hi); }
.pill.ok { background: rgba(79, 195, 131, .14); color: var(--green); }
.mini-bars { display: grid; gap: 9px; }
.mini-bars i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--ember)); width: 0; transition: width 1.4s var(--ease); }
.in .mini-bars i { width: var(--w); }
.mini-bars i:nth-child(2) { transition-delay: .15s; } .mini-bars i:nth-child(3) { transition-delay: .3s; } .mini-bars i:nth-child(4) { transition-delay: .45s; }

/* ---------- cognitive ---------- */
.cognitive { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.cog-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 40% at 85% 10%, rgba(211, 23, 43, .2), transparent 70%),
    radial-gradient(40% 40% at 0% 60%, rgba(154, 124, 255, .07), transparent 70%);
}
.cog-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
h2.big { font-size: clamp(48px, 7vw, 92px); letter-spacing: -.035em; line-height: .96; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 460px; padding-left: 14px; border-left: 2px solid var(--red); }

/* ---------- animated stage ---------- */
.stage {
  position: relative; margin-top: clamp(48px, 6vw, 72px); isolation: isolate;
  display: grid; grid-template-columns: 1fr 1.05fr 1.15fr; min-height: 540px;
  border: 1px solid var(--line-2); border-radius: 28px; overflow: hidden;
  background: radial-gradient(45% 60% at 50% 45%, rgba(211, 23, 43, .16), transparent 70%), rgba(7, 8, 11, .7);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent);
}
.st-col { position: relative; padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.st-col + .st-col { border-left: 1px dashed var(--line); }
.st-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.st-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.st-brain .st-label i { background: var(--red-hi); box-shadow: 0 0 10px var(--red-hi); }
.st-time .st-label i { background: var(--green); }

/* chaos: evidence chips drifting */
.chaos { position: relative; flex: 1; min-height: 240px; }
.ev {
  position: absolute; left: var(--x); top: var(--y); white-space: nowrap;
  font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; border-radius: 8px;
  color: #c9cdd4; background: rgba(20, 22, 29, .92); border: 1px solid var(--line-2);
  transform: rotate(var(--r, 0deg)); animation: drift var(--d, 7s) ease-in-out var(--dl, 0s) infinite alternate;
  transition: opacity .5s, border-color .3s, color .3s, box-shadow .3s;
}
.ev::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--ember); opacity: .8; }
.ev.noise { color: var(--dim); }
.ev.noise::before { background: var(--dim); }
.ev.pick { border-color: var(--red-hi); color: #fff; box-shadow: 0 0 0 3px rgba(255, 59, 78, .18), 0 0 24px -4px rgba(255, 59, 78, .6); }
.ev.used { opacity: 0; }
@keyframes drift {
  0% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  100% { transform: translate(var(--mx, 8px), var(--my, -10px)) rotate(calc(var(--r, 0deg) * -1)); }
}
.flyer { position: absolute; z-index: 5; pointer-events: none; margin: 0; animation: none; }
.spark {
  position: absolute; z-index: 6; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none;
  background: #fff; box-shadow: 0 0 0 4px rgba(255, 59, 78, .35), 0 0 24px 6px rgba(255, 59, 78, .8);
}

/* brain */
.st-brain { align-items: center; }
.brain-wrap { position: relative; width: 100%; flex: 1; min-height: 260px; }
.brain-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.brain-halo {
  position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(211, 23, 43, calc(.18 + var(--act, 0) * .3)), transparent 65%);
  transition: background .3s;
}
.brain-halo::before, .brain-halo::after {
  content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(255, 59, 78, .25);
  animation: ring 3.2s ease-out infinite;
}
.brain-halo::after { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.st-status {
  display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; color: #d6d9de; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  min-width: min(260px, 100%); justify-content: center;
}
.st-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); animation: pulse 1.6s infinite; }
.st-status.ok { color: var(--green); border-color: rgba(79, 195, 131, .3); }
.st-status.ok .st-dot { background: var(--green); }
.st-status.drop { color: var(--dim); }
.st-meter { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.st-meter span { margin-right: 4px; }
.st-meter i { width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); transition: background .25s, box-shadow .25s; }
.st-meter i.on { background: var(--green); box-shadow: 0 0 10px rgba(79, 195, 131, .6); }

/* timeline */
.tl { position: relative; display: grid; gap: 8px; padding-left: 22px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line-2), var(--line-2)); }
.tl li:not(.on)::after {
  content: ""; position: absolute; left: 66px; right: 30%; top: 16px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
.tl li:not(.on)::after { box-shadow: 0 16px 0 -1px rgba(255,255,255,.035); }
.tl li {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start;
  padding: 9px 12px; border-radius: 12px; border: 1px dashed var(--line); min-height: 58px;
  transition: background .5s, border-color .5s;
}
.tl li::before {
  content: ""; position: absolute; left: -22px; top: 15px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2); transition: border-color .4s, background .4s, box-shadow .4s;
}
.tl time { font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: 1px; }
.tl li > div { display: grid; gap: 1px; opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tl b { font-family: var(--display); font-size: 15px; font-weight: 600; }
.tl span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.tl em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--ember); margin-top: 2px; }
.tl li.on { background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); }
.tl li.on::before { border-color: var(--red-hi); background: var(--red-hi); box-shadow: 0 0 12px var(--red-hi); }
.tl li.on time { color: #fff; }
.tl li.on > div { opacity: 1; transform: none; }
.tl li.flash { animation: flashIn 1s var(--ease); }
@keyframes flashIn { 0% { background: rgba(255, 59, 78, .22); } 100% { background: rgba(255, 255, 255, .035); } }
.rootcause {
  margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(79, 195, 131, .35);
  background: rgba(79, 195, 131, .08); opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.rootcause p { font-family: var(--display); font-weight: 600; font-size: 15.5px; margin-top: 6px; }
.rootcause.on { opacity: 1; transform: none; }
.stage.resetting .tl li > div, .stage.resetting .rootcause { opacity: 0; }

/* pipeline */
.pipeline {
  margin-top: clamp(72px, 9vw, 110px); display: grid; align-items: stretch;
  grid-template-columns: 1.2fr 36px 1fr 36px 1fr 36px 1fr 36px 1fr;
}
.pipe-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.pipe-col, .pipe-node { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: rgba(255, 255, 255, .02); }
.sources ul { margin-top: 10px; display: grid; gap: 5px; font-size: 13.5px; color: #cfd2d8; }
.sources li::before { content: "▸ "; color: var(--red-hi); }
.sources li.more { color: var(--dim); }
.pipe-node { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.pipe-node b { font-family: var(--display); font-size: 18px; font-weight: 600; }
.pipe-node small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.pipe-node.vault { border-color: rgba(211, 23, 43, .35); background: var(--red-soft); }
.pipe-node.out { border-color: rgba(79, 195, 131, .35); background: rgba(79, 195, 131, .07); }
.pipe-node.out .pipe-label { color: var(--green); }
.pipe-arrow { position: relative; align-self: center; height: 2px; margin: 0 4px; background: linear-gradient(90deg, transparent, rgba(255, 59, 78, .5)); overflow: hidden; }
.pipe-arrow::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--red-hi); animation: flow 1.8s linear infinite; }
@keyframes flow { to { left: 100%; } }

/* features */
.features { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); transition: border-color .35s, background .35s, transform .5s var(--ease);
}
.feature:hover { border-color: rgba(255, 59, 78, .35); background: rgba(211, 23, 43, .05); transform: translateY(-3px); }
.f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); margin-bottom: 18px; }
.f-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--red-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- lifecycle ---------- */
.lifecycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: lc; }
.lc {
  --acc: var(--red-hi); position: relative; padding: 32px 28px 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); overflow: hidden;
}
.lc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--acc); opacity: .9; }
.lc-1 { --acc: var(--green); } .lc-3 { --acc: var(--rose); }
.lc-num { font-family: var(--mono); font-size: 13px; color: var(--acc); }
.lc h3 { font-size: 30px; margin: 10px 0 10px; }
.lc p { color: var(--muted); }
.lc-prod { display: inline-block; margin-top: 22px; font-family: var(--mono); font-size: 12.5px; padding: 6px 12px; border-radius: 8px; color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); }

/* ---------- expertise ---------- */
.expertise { background: var(--bg-2); border-block: 1px solid var(--line); }
.exp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.exp-grid h2 { margin-bottom: 24px; }
.exp-grid .lead + p { color: var(--muted); margin-top: 16px; }
.exp-list { display: grid; }
.exp-list li { display: grid; gap: 2px; padding: 20px 0; border-bottom: 1px solid var(--line); position: relative; padding-left: 30px; }
.exp-list li:first-child { border-top: 1px solid var(--line); }
.exp-list li::before { content: ""; position: absolute; left: 4px; top: 29px; width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid var(--red-hi); }
.exp-list b { font-family: var(--display); font-size: 19px; font-weight: 600; }
.exp-list span { color: var(--muted); font-size: 15px; }

/* ---------- contact CTA band (home) ---------- */
.cta-card {
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end; padding: clamp(28px, 5vw, 64px);
  border-radius: 32px; border: 1px solid var(--line-2); position: relative; overflow: hidden;
  background: radial-gradient(70% 120% at 0% 0%, rgba(211, 23, 43, .22), transparent 70%), var(--bg-2);
}
.cta-card h2 { max-width: 16ch; }
.cta-card p:not(.kicker) { color: var(--muted); margin-top: 18px; font-size: 17px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sub-page hero ---------- */
.page-hero { position: relative; padding: 150px 0 64px; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -.035em; line-height: 1; }
.page-hero .lead { max-width: 640px; margin-top: 24px; }

/* ---------- contact page ---------- */
.contact-wrap { padding: 8px 0 clamp(88px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-side { display: grid; gap: 14px; position: sticky; top: 96px; }
.info-card { padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); display: grid; gap: 6px; }
.info-k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.info-v { font-family: var(--display); font-size: 19px; font-weight: 500; }
a.info-v:hover { color: var(--red-hi); }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.copy { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, background .25s; }
.copy:hover { border-color: var(--red-hi); background: var(--red-soft); }
.copy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.copy .i-done { opacity: 0; transform: scale(.5); stroke: var(--green); stroke-width: 2.6; }
.copy.done .i-copy { opacity: 0; transform: scale(.5); }
.copy.done .i-done { opacity: 1; transform: none; }
.info-links { display: grid; gap: 10px; margin-top: 6px; }
.info-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); transition: border-color .25s, background .25s; }
.info-links a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.info-links img { height: 22px; width: auto; }
.info-links span { font-size: 13px; color: var(--muted); }
.next-steps { counter-reset: st; display: grid; gap: 4px; padding: 10px 4px 0; }
.next-steps li { counter-increment: st; position: relative; padding: 12px 0 12px 44px; display: grid; gap: 2px; }
.next-steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--red-hi); background: var(--red-soft);
}
.next-steps b { font-family: var(--display); font-weight: 600; }
.next-steps span { font-size: 14px; color: var(--muted); }

.form-card {
  padding: clamp(24px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(80% 60% at 100% 0%, rgba(211, 23, 43, .12), transparent 70%), var(--bg-2);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
}
.form-head h2 { font-size: clamp(28px, 3vw, 36px); }
.form-head p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.req { font-style: normal; color: var(--red-hi); }
.topics { border: 0; margin: 26px 0 8px; }
.topics legend { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); color: #cfd2d8; transition: all .25s var(--ease);
}
.topic span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--dim); transition: all .25s; }
.topic:hover span { border-color: rgba(255, 255, 255, .3); }
.topic input:checked + span { border-color: var(--red-hi); background: var(--red-soft); color: #fff; }
.topic input:checked + span::before { background: var(--red-hi); border-color: var(--red-hi); box-shadow: 0 0 8px var(--red-hi); }
.topic input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 18px; }
.fl { position: relative; }
.fl.full { grid-column: 1 / -1; }
.fl input, .fl textarea {
  width: 100%; padding: 24px 15px 9px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .35); transition: border-color .25s, box-shadow .25s; resize: vertical; font-size: 15.5px;
}
.fl textarea { min-height: 150px; padding-top: 28px; }
.fl label {
  position: absolute; left: 16px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none;
  transform-origin: 0 0; transition: transform .2s var(--ease), color .2s;
}
.fl input:focus + label, .fl input:not(:placeholder-shown) + label,
.fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); }
.fl input:focus, .fl textarea:focus { outline: none; border-color: var(--red-hi); box-shadow: 0 0 0 3px rgba(255, 59, 78, .16); }
.fl input:focus + label, .fl textarea:focus + label { color: var(--red-hi); }
.fl.ok input { border-color: rgba(79, 195, 131, .5); }
.fl.bad input, .fl.bad textarea { border-color: var(--red-hi); background: rgba(211, 23, 43, .06); }
.fl .err { display: block; font-size: 12.5px; color: var(--red-hi); min-height: 0; margin-top: 5px; }
.fl .err:empty { display: none; }
.fl .count { position: absolute; right: 14px; top: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.fl .count.warn { color: var(--ember); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: #c3c7ce; cursor: pointer; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .2s; margin-top: 1px; }
.consent .box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .3s var(--ease); }
.consent input:checked + .box { background: var(--red); border-color: var(--red); }
.consent input:checked + .box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .box { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.consent.bad .box { border-color: var(--red-hi); box-shadow: 0 0 0 3px rgba(255, 59, 78, .2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 20px; min-height: 65px; }

.alert { display: none; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 59, 78, .4); background: rgba(211, 23, 43, .1); font-size: 14px; }
.alert.show { display: flex; }
.alert svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--red-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.alert a { text-decoration: underline; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.actions small { color: var(--dim); font-size: 12.5px; max-width: 300px; }
.send svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.send .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.send.busy .spin { display: block; }
.send.busy svg { display: none; }
.send:disabled { cursor: progress; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 11px 18px; border-radius: 999px; background: #fff; color: #111; font-size: 14px; font-weight: 600; transition: all .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- thank-you page ---------- */
.thanks { position: relative; min-height: 100vh; min-height: 100svh; padding: 140px 0 80px; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.thanks-card { max-width: 760px; margin: 0 auto; text-align: center; }
.thanks h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -.035em; line-height: 1.02; }
.thanks .lead { margin: 24px auto 0; max-width: 600px; }
.thanks .lead a { color: #fff; border-bottom: 1px solid var(--red-hi); }
.kicker.center { justify-content: center; }
.cta-row.center { justify-content: center; }
.seal { position: relative; width: 120px; height: 120px; margin: 0 auto 30px; }
.seal svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.seal-hex { fill: rgba(211, 23, 43, .14); stroke: var(--red-hi); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.1s var(--ease) .2s forwards; filter: drop-shadow(0 0 14px rgba(255, 59, 78, .55)); }
.seal-check { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw .55s var(--ease) 1.05s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.seal-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 59, 78, .45); opacity: 0; animation: ring 2.6s ease-out 1.4s infinite; }
.seal-ring.r2 { animation-delay: 2.7s; }
.thanks-card .kicker, .thanks-card h1, .thanks-card .lead, .thanks-card .cta-row { opacity: 0; animation: rise .8s var(--ease) forwards; }
.thanks-card .kicker { animation-delay: .9s; } .thanks-card h1 { animation-delay: 1.05s; }
.thanks-card .lead { animation-delay: 1.25s; } .thanks-card .cta-row { animation-delay: 1.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.thanks-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 80px; opacity: 0; animation: rise .8s var(--ease) 1.7s forwards; }
.tl-card {
  --acc: var(--red-hi); display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(13, 15, 20, .7); backdrop-filter: blur(6px); transition: border-color .3s, transform .4s var(--ease);
}
.tl-card:hover { border-color: color-mix(in srgb, var(--acc) 50%, transparent); transform: translateY(-3px); }
.t-umager { --acc: var(--green); } .t-uwiper { --acc: var(--rose); }
.tl-card img { height: 28px; width: auto; justify-self: start; }
.tl-card b { font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 28px; }
.tl-card b i { font-style: normal; font-weight: 700; color: var(--red-hi); }
.tl-card span { font-size: 14px; color: var(--muted); }
.tl-card em { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--acc); margin-top: 4px; }
.footer .foot-legal:first-child { margin-top: 0; }
.footer:has(.foot-legal:first-child) { padding-top: 32px; }

/* ---------- footer ---------- */
.footer { padding: 72px 0 36px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand img { height: 30px; width: auto; }
.foot-cols { display: flex; gap: clamp(32px, 6vw, 88px); flex-wrap: wrap; }
.foot-cols div { display: grid; gap: 8px; align-content: start; font-size: 14.5px; color: #c3c7ce; }
.foot-cols h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.foot-cols a:hover { color: var(--red-hi); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pipeline { grid-template-columns: 1fr; gap: 0; }
  .pipe-arrow { width: 2px; height: 26px; margin: 0 auto; background: linear-gradient(180deg, transparent, rgba(255, 59, 78, .5)); }
  .pipe-arrow::after { width: 100%; height: 40%; left: 0; top: -40%; animation-name: flowv; }
  @keyframes flowv { to { top: 100%; } }
  .sources ul { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cog-hero { grid-template-columns: 1fr; align-items: start; }
  .stage { grid-template-columns: 1fr 1fr; }
  .st-chaos { grid-column: 1 / -1; border-bottom: 1px dashed var(--line); }
  .st-chaos .chaos { min-height: 170px; }
  .st-col + .st-col.st-brain { border-left: 0; }
  .st-brain { justify-content: center; }
  .brain-wrap { flex: none; height: 300px; }
}
@media (max-width: 900px) {
  .nav nav, .nav-cta { display: none; }
  .burger { display: block; }
  .mobile-menu { display: grid; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .nav.open .mobile-menu { max-height: 420px; }
  .mobile-menu a { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 17px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product, .product:nth-child(even) { grid-template-columns: 1fr; }
  .product:nth-child(even) .p-media { order: 0; }
  .p-media { padding: 24px; }
  .lifecycle, .exp-grid, .cta-card, .contact-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .contact-grid .form-card { order: -1; }
  .thanks-links { grid-template-columns: 1fr; margin-top: 56px; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .page-hero { padding-top: 120px; }
  .actions .btn { width: 100%; justify-content: center; }
  .stats > div { padding: 20px; }
  .hero { padding-top: 104px; }
  .btn { height: 48px; padding: 0 22px; }
  .stage { grid-template-columns: 1fr; border-radius: 22px; }
  .st-col { padding: 18px; }
  .st-col + .st-col { border-left: 0; border-top: 1px dashed var(--line); }
  .st-chaos { border-bottom: 0; }
  .st-chaos .chaos { min-height: 230px; }
  .brain-wrap { height: 230px; min-height: 0; }
  .ev { font-size: 10.5px; padding: 5px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tl li > div, .rootcause { opacity: 1; transform: none; }
  .mini-bars i { width: var(--w); }
}
