/* cloudnix.com, dark design (cnx.php with theme=dark). Self-contained: no template, no Bootstrap.
   One accent (the Cloudnix logo green), near-black surfaces, 1px borders, large tight type, little motion. */
:root {
    --bg: #0a0c0b; --bg-2: #0f1211; --panel: #131715; --panel-2: #181d1a;
    --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
    --text: #eef1ef; --muted: #8f9893; --dim: #5f6863;
    --green: #90cc3c; --green-2: #b5e27a; --acc-rgb: 144,204,60; --on: #0a0c0b; --green-dim: rgba(var(--acc-rgb),.14);
    --radius: 18px; --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.dk { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.dk a { color: inherit; text-decoration: none; }
.dk img { max-width: 100%; display: block; }
.dk h1, .dk h2, .dk h3, .dk h4 { font-family: "Inter Tight", Inter, sans-serif; margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sec { padding: 120px 0; border-top: 1px solid var(--line); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--green); }
.h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 860px; }
.h2 em { font-style: normal; color: inherit; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 620px; margin: 22px 0 0; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: .2s; border: 1px solid transparent; }
.btn-green { background: var(--green); color: var(--on); }
.btn-green:hover { background: var(--green-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn .arr { transition: transform .2s; } .btn:hover .arr { transform: translateX(3px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); background: rgba(10,12,11,.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.mark { display: flex; align-items: center; gap: 10px; font-family: "Inter Tight", Inter, sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.mark svg { width: 30px; height: 20px; }
.mark path { fill: var(--green); }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav ul a:hover { color: var(--text); }
.nav .btn { height: 38px; padding: 0 16px; font-size: 14px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px; display: grid; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 22px; height: 1.5px; background: var(--text); display: block; }
.menu ul { position: absolute; right: 0; top: 46px; display: grid; gap: 2px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; min-width: 220px; margin: 0; list-style: none; }
.menu li a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.menu li a:hover { background: var(--panel-2); }

/* Hero */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 900px; height: 500px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--acc-rgb),.20), transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); max-width: 980px; }
.hero h1 span { color: var(--green); }
.hero .lead { font-size: 21px; max-width: 640px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }

/* Live status board */
.status { margin-top: 80px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(19,23,21,.7); overflow: hidden; }
.status-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.status-head b { color: var(--text); font-weight: 600; }
.status-row { display: grid; grid-template-columns: 22px 1.1fr 2fr 1fr; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); transition: background .2s; }
.status-row:last-child { border-bottom: 0; }
.status-row:hover { background: var(--panel-2); }
.status-row b { font-weight: 600; font-size: 16px; }
.status-row span { color: var(--muted); font-size: 14.5px; }
.status-row .since { font-variant-numeric: tabular-nums; }
.status-row .ok { color: var(--green); font-size: 13px; font-weight: 600; text-align: right; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(var(--acc-rgb),.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb),.55); } 70% { box-shadow: 0 0 0 9px rgba(var(--acc-rgb),0); } 100% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb),0); } }
.bars { display: flex; gap: 2px; align-items: center; }
.bars i { width: 3px; height: 18px; border-radius: 2px; background: var(--green); opacity: .75; }

/* Proof: logos and numbers */
.proof { padding: 70px 0; border-top: 1px solid var(--line); }
.proof p { text-align: center; color: var(--dim); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 30px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 52px; }
.logos img { height: 30px; width: auto; filter: grayscale(1) invert(1) contrast(1.4); mix-blend-mode: screen; opacity: .55; transition: opacity .2s; }  /* works for transparent and white-background logos */
.logos img:hover { opacity: .9; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border: 1px solid var(--line); border-radius: var(--radius); }
.numbers div { padding: 30px 28px; border-right: 1px solid var(--line); }
.numbers div:last-child { border-right: 0; }
.numbers b { display: block; font-family: "Inter Tight", Inter, sans-serif; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.numbers span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* Systems we run: alternating rows */
.system { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: center; padding: 70px 0; }
.system + .system { border-top: 1px solid var(--line); }
.system:nth-child(even) .system-text { order: 2; }
.system-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.system h3 { font-size: clamp(30px, 3.6vw, 44px); }
.system p { color: var(--muted); font-size: 17.5px; margin: 18px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.chips span { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; color: var(--text); }
.link { color: var(--text); font-weight: 600; display: inline-flex; gap: 8px; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .2s; }
.link:hover { border-color: var(--green); }
.frame { position: relative; border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel); padding: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.frame::before { content: ""; position: absolute; inset: -1px; border-radius: 16px; padding: 1px; background: linear-gradient(140deg, rgba(var(--acc-rgb),.45), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.frame-bar { display: flex; gap: 6px; padding: 4px 6px 12px; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2b312e; }
.frame img { border-radius: 8px; width: 100%; }
.frame-white img { background: #fff; }

/* India map */
.map-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; margin-top: 60px; }
.tiles { width: 100%; max-width: 560px; margin: 0 auto; display: block; }
.tiles rect { rx: 7; }
.tiles text { font: 600 11px Inter, sans-serif; fill: rgba(255,255,255,.75); text-anchor: middle; pointer-events: none; }
.tiles text.dark { fill: #0a0c0b; }
.tile { transform-box: fill-box; transform-origin: center; }
.top-states { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.top-states li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; font-size: 15px; }
.top-states .bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.top-states .bar i { display: block; height: 100%; background: var(--green); border-radius: 6px; }
.top-states b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.note { color: var(--dim); font-size: 13px; margin-top: 22px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid var(--line); }
.principle { padding: 40px 40px 44px 0; border-bottom: 1px solid var(--line); }
.principle:nth-child(odd) { border-right: 1px solid var(--line); }
.principle:nth-child(even) { padding-left: 40px; }
.principle .n { font-family: "Inter Tight", Inter, sans-serif; color: var(--green); font-size: 14px; font-weight: 600; }
.principle h3 { font-size: 30px; margin: 14px 0 12px; }
.principle p { color: var(--muted); font-size: 16.5px; margin: 0; max-width: 460px; }

/* AI pod */
.pod { background: radial-gradient(800px 400px at 85% 0%, rgba(var(--acc-rgb),.10), transparent 70%), var(--bg-2); }
.pod-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; margin-top: 60px; }
.offers { display: grid; gap: 14px; }
.offer { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; background: var(--panel); }
.offer h3 { font-size: 24px; }
.offer p { color: var(--muted); margin: 10px 0 0; }
.pod-card { border: 1px solid rgba(var(--acc-rgb),.35); border-radius: 22px; padding: 30px; background: linear-gradient(180deg, rgba(var(--acc-rgb),.07), transparent 60%), var(--panel); }
.pod-card .price { font-family: "Inter Tight", Inter, sans-serif; font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.pod-card .per { color: var(--muted); margin: 8px 0 26px; }
.roles { display: grid; gap: 10px; margin-bottom: 26px; }
.role { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.role .count { width: 46px; height: 46px; border-radius: 12px; background: var(--green-dim); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.role b { display: block; font-weight: 600; }
.role span { color: var(--muted); font-size: 14px; }

/* People */
.people-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: stretch; margin-top: 60px; }
.team-photo { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,12,11,.75)); }
.team-photo span { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: var(--text); font-size: 14px; }
.quote { border: 1px solid var(--line-2); border-radius: 22px; padding: 36px; background: var(--panel); display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0; font-family: "Inter Tight", Inter, sans-serif; font-size: 28px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.quote blockquote::before { content: "“"; display: block; color: var(--green); font-size: 60px; line-height: .6; margin-bottom: 14px; }
.who { display: flex; gap: 14px; align-items: center; margin-top: 30px; }
.who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.who b { display: block; } .who span { color: var(--muted); font-size: 14px; }
.faces { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 50px; }
.face { text-align: center; }
.face img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; filter: grayscale(1) brightness(.9); transition: filter .3s; border: 1px solid var(--line); }
.face:hover img { filter: none; }
.face b { display: block; font-size: 14px; font-weight: 600; margin-top: 10px; }
.face span { display: block; color: var(--muted); font-size: 12.5px; }

/* Closing call to action and footer */
.closing { text-align: center; padding: 140px 0; border-top: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 100%, rgba(var(--acc-rgb),.14), transparent 70%); }
.closing h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 0 auto; max-width: 900px; }
.closing .actions { justify-content: center; display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.foot { border-top: 1px solid var(--line); padding: 50px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h6 { color: var(--text); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--text); }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 20px; flex-wrap: wrap; gap: 10px; }

/* Scroll reveal, where the browser supports it */
@supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .reveal, .pulse { animation: none !important; } }

/* Tablets and phones */
@media (max-width: 991px) {
    .nav ul, .nav > .wrap > .btn { display: none; }
    .menu { display: block; }
    .sec { padding: 90px 0; }
    .hero { padding: 110px 0 70px; }
    .status-row { grid-template-columns: 22px 1fr 1fr; }
    .status-row .what, .status-row .bars { display: none; }
    .numbers { grid-template-columns: 1fr 1fr; }
    .numbers div:nth-child(2) { border-right: 0; }
    .numbers div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .system, .map-wrap, .pod-grid, .people-grid { grid-template-columns: 1fr; gap: 40px; }
    .system:nth-child(even) .system-text { order: 0; }
    .faces { grid-template-columns: repeat(4, 1fr); }
    .foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .principles { grid-template-columns: 1fr; }
    .principle, .principle:nth-child(even) { padding: 30px 0; border-right: 0; }
    .faces { grid-template-columns: repeat(3, 1fr); }
    .top-states li { grid-template-columns: 110px 1fr; }
    .quote blockquote { font-size: 22px; }
}

/* A diagram inside a frame (Moofu) */
.frame-dg { background: #fff; border-radius: 8px; padding: 10px; }
.frame-dg .cnx-dg { width: 100%; height: auto; display: block; }

/* Building for the long term: 2011 to today */
.line { margin-top: 70px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; position: relative; }
.line-bar { grid-column: 1 / -1; grid-row: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.line-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--green-2)); transform-origin: left; animation: grow-line 3s ease-out both; }
@keyframes grow-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.line-end { grid-row: 2; }
.line-end b { display: block; font-family: "Inter Tight", Inter, sans-serif; font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.line-end span { color: var(--muted); font-size: 15px; display: block; margin-top: 8px; }
.line-now { text-align: right; } .line-now b { color: var(--green); }
.line-mid { grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.line-mid span { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 767px) { .line { grid-template-columns: 1fr; } .line-end, .line-mid { grid-row: auto; } .line-now { text-align: left; } .line-mid { justify-content: flex-start; } }

/* Preview only: the colour picker (cnx/dark/swatches.php) */
.swatch-pick { position: fixed; right: 18px; bottom: 18px; z-index: 50; }
.swatch-pick summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px 9px 10px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.swatch-pick summary::-webkit-details-marker { display: none; }
.swatch-pick summary i, .swatch-pick a i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; border: 2px solid rgba(255,255,255,.2); }
.swatch-pick ul { position: absolute; right: 0; bottom: 52px; list-style: none; margin: 0; padding: 8px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; min-width: 230px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.swatch-pick a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.swatch-pick a:hover, .swatch-pick a.on { background: var(--panel-2); }
.swatch-pick a span { color: var(--muted); font-size: 12px; margin-left: auto; font-family: ui-monospace, Menlo, monospace; }
.swatch-pick .brand-link { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--muted); }

/* Brand page: logos in every accent */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; margin-top: 50px; }
.brand-card { border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: var(--panel); }
.brand-card.on { border-color: var(--green); }
.brand-dark, .brand-light { padding: 34px 28px; display: flex; justify-content: center; }
.brand-dark { background: #0a0c0b; } .brand-light { background: #fafaf9; }
.brand-dark img, .brand-light img { height: 56px; width: auto; }
.brand-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 18px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
.brand-meta i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.brand-meta a { color: var(--text); }
.brand-meta a:hover { color: var(--green); }

/* ===== Hero: platform cards ===== */
.tiles-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 80px; }
.ptile { position: relative; border: 1px solid var(--line-2); border-radius: 16px; padding: 20px 18px 18px; background: rgba(19,23,21,.7); display: flex; flex-direction: column; gap: 6px; transition: border-color .25s, transform .25s; overflow: hidden; }
.ptile::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.ptile:hover { border-color: rgba(var(--acc-rgb), .5); transform: translateY(-2px); }
.ptile:hover::after { transform: scaleX(1); }
.picon { width: 26px; height: 26px; color: var(--green); margin-bottom: 8px; }
.ptile-client .picon { color: var(--text); opacity: .8; }
.pkind { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.ptile b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.pwhat { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ===== Logos: an even grid, every logo the same visual weight ===== */
.logos { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 0 !important; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logos > div { height: 92px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos > div:nth-child(5n) { border-right: 0; }
.logos > div:nth-last-child(-n+5) { border-bottom: 0; }
.logos img { height: auto !important; max-width: 132px; }

/* ===== Stats with small visuals ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg-2); }
.stat b { display: block; font-family: "Inter Tight", Inter, sans-serif; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-top: 18px; }
.stat > span { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.stat-viz { height: 46px; display: flex; align-items: center; }
.viz-line { gap: 10px; font-size: 12px; color: var(--dim); }
.viz-line i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--green), var(--green-2)); position: relative; }
.viz-line i::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .2); }
.viz-dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; align-content: center; }
.viz-dots i { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--green); opacity: .25; animation: dotpulse 3s infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes dotpulse { 0%, 100% { opacity: .2; } 30% { opacity: .95; } }
.viz-blocks { gap: 6px; }
.viz-blocks i { width: 26px; height: 26px; border-radius: 6px; }
.viz-blocks i.own { background: var(--green); }
.viz-blocks i.client { border: 1.5px solid var(--green); }
.viz-faces img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-2); margin-left: -10px; }
.viz-faces img:first-child { margin-left: 0; }
.viz-faces em { font-style: normal; width: 36px; height: 36px; border-radius: 50%; margin-left: -10px; background: var(--panel-2); border: 2px solid var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }

/* ===== Engagements: pod diagram and lifecycle ===== */
.eng-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; }
.eng-card { border: 1px solid var(--line-2); border-radius: 22px; padding: 30px; background: var(--panel); }
.eng-card h3 { font-size: 26px; margin: 10px 0 8px; }
.pod-dg { width: 100%; max-width: 420px; display: block; margin: 20px auto 10px; color: var(--line-2); }
.pod-links path { stroke: rgba(var(--acc-rgb), .45); animation: podflow 1.6s linear infinite; }
@keyframes podflow { to { stroke-dashoffset: -20; } }
.pod-core rect { fill: rgba(var(--acc-rgb), .14); stroke: var(--green); }
.pod-core text { fill: var(--text); font: 600 13px Inter, sans-serif; }
.pod-node circle:first-child { fill: var(--panel-2); stroke: var(--line-2); }
.pod-node .pod-head { fill: var(--green); stroke: none; }
.pod-node text { fill: var(--muted); font: 500 12px Inter, sans-serif; }
.pod-node { animation: podnode 4s ease-in-out infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes podnode { 0%, 100% { opacity: .75; } 12%, 30% { opacity: 1; } }
.eng-points { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.eng-points li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.eng-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.lifecycle { list-style: none; padding: 0; margin: 24px 0 0; position: relative; }
.lifecycle::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line-2); }
.lifecycle li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 10px 0; }
.lc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--muted); position: relative; z-index: 1;
    animation: lcstep 7.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
.lc-icon svg { width: 22px; height: 22px; }
@keyframes lcstep { 0%, 100% { color: var(--muted); border-color: var(--line-2); } 4%, 18% { color: var(--on); background: var(--green); border-color: var(--green); } 22% { color: var(--muted); background: var(--panel-2); border-color: var(--line-2); } }
.lifecycle b { display: block; font-weight: 600; }
.lifecycle span { color: var(--muted); font-size: 14px; }
.pod .note { margin-top: 26px; font-size: 15px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ===== Deep tech: tabs with diagrams ===== */
.tech { margin-top: 44px; }
.tech-radio { position: absolute; opacity: 0; pointer-events: none; }
.tech-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tech-tabs label { cursor: pointer; padding: 12px 18px; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s; }
.tech-tabs label:hover { color: var(--text); }
.tech-panels { margin-top: 24px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--bg-2); padding: 26px; }
.tech-panel, .tn { display: none; }
#tech-0:checked ~ .tech-tabs label[for="tech-0"], #tech-1:checked ~ .tech-tabs label[for="tech-1"],
#tech-2:checked ~ .tech-tabs label[for="tech-2"], #tech-3:checked ~ .tech-tabs label[for="tech-3"] { color: var(--text); border-bottom-color: var(--green); }
#tech-0:checked ~ .tech-panels .tp-0, #tech-1:checked ~ .tech-panels .tp-1, #tech-2:checked ~ .tech-panels .tp-2, #tech-3:checked ~ .tech-panels .tp-3 { display: block; }
#tech-0:checked ~ .tech-notes .tn-0, #tech-1:checked ~ .tech-notes .tn-1, #tech-2:checked ~ .tech-notes .tn-2, #tech-3:checked ~ .tech-notes .tn-3 { display: grid; }
.tech-notes ul { list-style: none; padding: 0; margin: 18px 0 0; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tech-notes li { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tdg { width: 100%; height: auto; display: block; font-family: Inter, sans-serif; }
.tdg .cap { fill: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.tdg .t { fill: var(--text); font-size: 15px; font-weight: 600; }
.tdg .s { fill: var(--muted); font-size: 12.5px; }
.tdg .mono { font-family: ui-monospace, Menlo, monospace; }
.tdg .box rect, .tdg .box path, .tdg .box ellipse { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.2; }
.tdg .box.acc rect, .tdg .box.acc path, .tdg .box.acc ellipse { stroke: rgba(var(--acc-rgb), .7); fill: rgba(var(--acc-rgb), .07); }
.tdg .box.dark rect { fill: #050606; stroke: rgba(var(--acc-rgb), .35); }
.tdg .box.muted rect { stroke-dasharray: 5 5; fill: transparent; }
.tdg .zone { fill: rgba(var(--acc-rgb), .03); stroke: rgba(var(--acc-rgb), .4); stroke-dasharray: 8 6; stroke-width: 1.5; }
.tdg .ln { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 1.6; }
.tdg .dash { stroke-dasharray: 6 6; animation: tdash 1.2s linear infinite; }
.tdg .warn { stroke: #ff8a70; }
.tdg .warnt { fill: #ff8a70; }
.tdg .blocked { stroke: #ff8a70; }
.tdg .ah { fill: rgba(255,255,255,.35); }
.tdg .dot { fill: var(--green); }
.tdg .chunks rect, .tdg .bars3 rect, .tdg .models rect, .tdg .tools rect, .tdg .gpu rect, .tdg .cost rect { fill: rgba(var(--acc-rgb), .35); stroke: none; }
.tdg .models text, .tdg .tools text { fill: var(--text); }
.tdg .vecs circle { fill: var(--green); animation: dotpulse 2.4s infinite; }
.tdg .vecs circle:nth-child(2) { animation-delay: .6s; } .tdg .vecs circle:nth-child(3) { animation-delay: 1.2s; }
.tdg .gpu rect { animation: dotpulse 1.4s infinite; } .tdg .gpu rect:nth-child(2) { animation-delay: .2s; } .tdg .gpu rect:nth-child(3) { animation-delay: .4s; } .tdg .gpu rect:nth-child(4) { animation-delay: .6s; }
.tdg .lock rect { fill: var(--green); } .tdg .lock path { stroke: var(--green); }
.tdg .okmark circle { fill: rgba(var(--acc-rgb), .2); } .tdg .okmark path { stroke: var(--green); }
.tdg .route rect { animation: troute 3s infinite; } .tdg .r1 rect { animation-delay: 1s; } .tdg .r2 rect { animation-delay: 2s; }
@keyframes troute { 0%, 100% { stroke: var(--line-2); } 25%, 45% { stroke: var(--green); } }
.tdg .ev rect:first-child { fill: var(--panel-2); stroke: var(--line); }
.tdg .ev .t { font-size: 13px; }
.tdg .evbg { fill: rgba(255,255,255,.08); stroke: none !important; }
.tdg .evbar { fill: var(--green); stroke: none !important; transform-box: fill-box; transform-origin: left; animation: evgrow 4s ease-out infinite; animation-delay: calc(var(--i) * .25s); }
@keyframes evgrow { 0% { transform: scaleX(.1); } 40%, 100% { transform: scaleX(1); } }
@keyframes tdash { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .tdg *, .lc-icon, .pod-node, .pod-links path, .viz-dots i { animation: none !important; } }

@media (max-width: 991px) {
    .logos { grid-template-columns: repeat(3, 1fr); }
    .logos > div:nth-child(5n) { border-right: 1px solid var(--line); }
    .stats { grid-template-columns: 1fr 1fr; }
    .eng-grid { grid-template-columns: 1fr; }
    .tech-panels { overflow-x: auto; padding: 16px; }
    .tdg { min-width: 760px; }
    .tech-notes ul { grid-template-columns: 1fr; }
}
