/* Fulltrolley — dark product-site look (glow arc hero, mono eyebrows, bento steps) */
:root {
  --bg: #030406;
  --bg-2: #07090d;
  --card: #0b0d12;
  --card-2: #101319;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f3f4f6;
  --ink-2: #c9ccd3;
  --muted: #8a909b;
  --dim: #5d636e;
  --blue: #3d7bff;
  --blue-2: #6ea2ff;
  --cyan: #59d4ff;
  --ok: #3ccf91;
  --warn: #f5b83d;
  --bad: #ff6b6b;
  --r: 18px;
  --r-sm: 12px;
  --wrap: 1180px;
  --f: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fm: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(61, 123, 255, .45); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #000; padding: 10px 16px; border-radius: 99px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--fm); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.035em; }
h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.3; }
.grey { color: #8f949d; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 40rem; }
.sec { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec-h { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-h .lead { margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 99px; font-weight: 500; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #eceef1; color: #08090b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 30px -10px rgba(110, 162, 255, .6); }
.btn-light:hover { background: #fff; }
.btn-dark { background: #15181e; border-color: var(--line-2); color: var(--ink); }
.btn-dark:hover { background: #1c2028; }
.btn-sm { height: 40px; padding: 0 18px; font-size: .9rem; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(3, 4, 6, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.28rem; font-weight: 500; letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; gap: 30px; font-size: .93rem; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav .sp { flex: 1; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--line-2); background: #111318; cursor: pointer; place-items: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s, background .25s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; }
.nav-burger span::before { top: -5px; } .nav-burger span::after { top: 5px; }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .nav-burger span::after { transform: translateY(-5px) rotate(-45deg); }
.nav-sheet { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .nav.open { background: rgba(3, 4, 6, .96); border-bottom-color: var(--line); }
  .nav.open .nav-sheet { display: grid; gap: 4px; padding: 6px 0 22px; }
  .nav-sheet a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
  .nav-sheet .btn { margin-top: 14px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 168px 0 0; text-align: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 50% at 12% 0%, rgba(61, 123, 255, .16), transparent 70%), radial-gradient(40% 40% at 90% 10%, rgba(89, 212, 255, .07), transparent 70%); }
.hero-in { display: grid; justify-items: center; gap: 26px; position: relative; z-index: 2; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-chips { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; font-family: var(--fm); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips span::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: var(--blue-2); box-shadow: 0 0 10px var(--blue-2); }
/* planet arc */
.arc { position: relative; height: clamp(150px, 18vw, 240px); margin-top: clamp(40px, 6vw, 70px); z-index: 1; }
.arc::before { content: ''; position: absolute; left: 50%; top: 0; width: max(1500px, 130vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #000;
  box-shadow: 0 -2px 0 rgba(160, 196, 255, .65), 0 -30px 90px 10px rgba(61, 123, 255, .55), 0 -90px 220px 60px rgba(61, 123, 255, .28), inset 0 30px 60px -20px rgba(61, 123, 255, .35); }
.arc::after { content: ''; position: absolute; left: 50%; top: -120px; width: min(900px, 90vw); height: 260px; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 70%, rgba(110, 162, 255, .5), transparent 70%); filter: blur(10px); z-index: -1; }
.hero-shot { position: relative; z-index: 3; margin-top: clamp(-150px, -13vw, -90px); padding-bottom: 20px; }
.hero-shot::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* ---------- product window (UI illustrations) ---------- */
.win { background: linear-gradient(180deg, #0d1016, #090b0f); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; text-align: left; box-shadow: 0 40px 120px -30px rgba(61, 123, 255, .45), 0 0 0 1px rgba(0, 0, 0, .6); font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.win-bar i { width: 10px; height: 10px; border-radius: 99px; background: #2a2e36; }
.win-bar b { margin-left: 10px; font-weight: 500; font-size: 12px; color: var(--muted); font-family: var(--fm); letter-spacing: .02em; }
.win-bar .pill { margin-left: auto; font-family: var(--fm); font-size: 11px; color: var(--ok); display: inline-flex; gap: 6px; align-items: center; }
.win-bar .pill::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dash { display: grid; grid-template-columns: 210px 1fr; min-height: 470px; }
.dash-side { border-right: 1px solid var(--line); padding: 18px 12px; display: grid; align-content: start; gap: 4px; }
.dash-side .lg { display: flex; gap: 8px; align-items: center; padding: 4px 10px 16px; font-weight: 500; color: var(--ink); }
.dash-side .lg span { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.dash-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.dash-side a.on { background: rgba(61, 123, 255, .14); color: var(--ink); }
.dash-side a i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .8; }
.dash-main { padding: 20px 22px; display: grid; gap: 16px; align-content: start; }
.dash-top { display: flex; align-items: center; gap: 12px; }
.dash-top h4 { font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
.dash-top .sp { flex: 1; }
.dash-top .chip { font-family: var(--fm); font-size: 11px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .015); }
.kpi small { display: block; color: var(--muted); font-size: 11.5px; }
.kpi b { display: block; font-size: 20px; font-weight: 500; color: var(--ink); margin-top: 4px; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-family: var(--fm); font-size: 11px; color: var(--ok); }
.kpi em.dn { color: var(--warn); }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: rgba(255, 255, 255, .015); }
.panel h5 { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: var(--ink-2); display: flex; justify-content: space-between; }
.panel h5 span { color: var(--muted); font-family: var(--fm); font-weight: 400; }
.chart { height: 150px; width: 100%; }
.chart .ln { fill: none; stroke: var(--blue-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .ar { fill: url(#gArea); }
.chart .gl { stroke: rgba(255, 255, 255, .06); }
.rows { display: grid; gap: 2px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row b { font-weight: 500; color: var(--ink-2); }
.row small { color: var(--muted); display: block; font-size: 11px; }
.tag { font-family: var(--fm); font-size: 10.5px; padding: 3px 8px; border-radius: 99px; background: rgba(60, 207, 145, .12); color: var(--ok); white-space: nowrap; }
.tag.w { background: rgba(245, 184, 61, .12); color: var(--warn); }
.tag.b { background: rgba(110, 162, 255, .14); color: var(--blue-2); }
.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 82px 1fr 34px; gap: 10px; align-items: center; font-size: 11.5px; color: var(--muted); }
.bar div { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.bar span { text-align: right; font-family: var(--fm); }

/* ---------- services: features around a centre visual ---------- */
.feat { display: grid; grid-template-columns: 1fr minmax(300px, 420px) 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.feat-col { display: grid; gap: clamp(40px, 5vw, 64px); }
.fi { display: grid; gap: 10px; max-width: 34ch; }
.fi .ico { width: 38px; height: 38px; border-radius: 10px; background: #13161c; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); }
.fi .ico svg { width: 18px; height: 18px; }
.fi .num { font-family: var(--fm); font-size: .7rem; color: var(--dim); letter-spacing: .14em; margin-left: auto; }
.fi-h { display: flex; align-items: center; gap: 12px; }
.fi p { margin: 0; color: var(--muted); font-size: .95rem; }
.fi.more h3 a { border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.fi.more h3 a:hover { border-color: var(--ink); }
.feat-vis { position: relative; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(80% 60% at 50% 40%, rgba(61, 123, 255, .3), transparent 70%), linear-gradient(180deg, #0b1324, #05070c); box-shadow: 0 30px 100px -30px rgba(61, 123, 255, .5); }
.hub { position: absolute; inset: 0; }
.hub svg { width: 100%; height: 100%; }
.hub .wire { stroke: rgba(110, 162, 255, .35); stroke-width: 1.2; fill: none; stroke-dasharray: 4 6; }
.hub .pulse { stroke: var(--cyan); stroke-width: 2; fill: none; stroke-dasharray: 18 400; stroke-linecap: round; animation: flow 3.2s linear infinite; }
.hub .pulse:nth-of-type(2n) { animation-delay: -1.6s; }
@keyframes flow { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
.node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); text-align: center; }
.node i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(13, 17, 26, .9); border: 1px solid var(--line-2); box-shadow: 0 8px 30px -8px rgba(0, 0, 0, .8); }
.node i svg { width: 20px; height: 20px; color: var(--blue-2); }
.node.core i { width: 84px; height: 84px; border-radius: 24px; background: linear-gradient(140deg, #2a5bd8, #0f1d3d); border-color: rgba(160, 196, 255, .5); box-shadow: 0 0 60px rgba(61, 123, 255, .6); }
.node.core i svg { width: 40px; height: 40px; color: #fff; }
.node.core { font-weight: 500; color: var(--ink); font-size: 13px; }
.feat-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(5, 7, 11, .75); border: 1px solid var(--line); backdrop-filter: blur(8px); font-size: 12.5px; color: var(--ink-2); }
.feat-cap b { font-weight: 500; }
.feat-cap span { font-family: var(--fm); font-size: 11px; color: var(--ok); }
@media (max-width: 980px) {
  .feat { grid-template-columns: 1fr 1fr; }
  .feat-vis { grid-column: 1 / -1; order: -1; max-width: 460px; width: 100%; margin: 0 auto 10px; aspect-ratio: 4 / 3.4; }
}
@media (max-width: 620px) { .feat { grid-template-columns: 1fr; } .fi { max-width: none; } }

/* ---------- problem → solution ---------- */
.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ps-card { border-radius: 24px; padding: clamp(26px, 3.4vw, 40px); border: 1px solid var(--line); background: var(--card); display: grid; gap: 22px; align-content: start; }
.ps-card.sol { background: radial-gradient(90% 70% at 100% 0%, rgba(61, 123, 255, .22), transparent 60%), var(--card); border-color: rgba(110, 162, 255, .3); }
.ps-card h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.03em; }
.ps-card > p { margin: 0; color: var(--muted); }
.prob { display: grid; gap: 4px; }
.prob div { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.prob div::before { content: '×'; width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; font-size: 16px; color: var(--bad); background: rgba(255, 107, 107, .1); }
.prob h4 { font-size: 1rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 4px; }
.prob p { margin: 0; color: var(--muted); font-size: .93rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 99px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: 0 0 14px rgba(61, 123, 255, .7); }
.ps-card .btn { justify-self: start; }
@media (max-width: 860px) { .ps { grid-template-columns: 1fr; } }

/* ---------- how we work: bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.step { position: relative; border-radius: 20px; background: var(--card); border: 1px solid var(--line); padding: 24px; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; min-height: 250px; overflow: hidden; }
.step:hover { border-color: var(--line-2); }
.step .lbl { font-family: var(--fm); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.step p { margin: 0; font-size: 1.05rem; color: var(--ink); line-height: 1.5; max-width: 32ch; }
.step p small { display: block; color: var(--muted); font-size: .9rem; margin-top: 6px; }
.step.s1 { grid-row: span 2; }
.step.s2 { grid-column: span 2; }
.step .vis { align-self: center; }
/* step visuals */
.chat { display: grid; gap: 10px; }
.bub { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .86rem; line-height: 1.45; background: #151922; color: var(--ink-2); border: 1px solid var(--line); }
.bub.me { justify-self: end; background: var(--blue); color: #fff; border-color: transparent; border-bottom-right-radius: 4px; }
.bub.them { border-bottom-left-radius: 4px; }
.bub.typing { display: inline-flex; gap: 4px; width: auto; padding: 12px 14px; }
.bub.typing i { width: 6px; height: 6px; border-radius: 99px; background: var(--muted); animation: dot 1.2s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scope div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, .02); font-size: .82rem; color: var(--muted); }
.scope b { display: block; color: var(--ink); font-weight: 500; font-size: .95rem; margin-top: 2px; }
.tl { display: grid; gap: 8px; }
.tl div { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; font-family: var(--fm); font-size: .72rem; color: var(--muted); }
.tl div span { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.tl div span i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.up { display: flex; gap: 3px; align-items: flex-end; height: 44px; }
.up i { flex: 1; border-radius: 3px; background: rgba(60, 207, 145, .65); }
.up-c { display: flex; justify-content: space-between; font-family: var(--fm); font-size: .72rem; color: var(--muted); margin-top: 8px; }
.up-c b { color: var(--ok); font-weight: 400; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .step.s1 { grid-row: auto; grid-column: span 2; } .step.s2 { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .step.s1, .step.s2 { grid-column: auto; } .scope { grid-template-columns: 1fr; } }

/* ---------- why us ---------- */
.why { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.why-card { border-radius: 24px; border: 1px solid var(--line); background: var(--card); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.why-card .n { font-family: var(--fm); font-size: .74rem; color: var(--dim); letter-spacing: .16em; }
.why-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.03em; max-width: 20ch; }
.why-card p { margin: 0; color: var(--muted); max-width: 46ch; }
.why-card.big { grid-row: span 2; background: radial-gradient(80% 60% at 0% 100%, rgba(61, 123, 255, .22), transparent 65%), var(--card); }
.why-card.big .win { margin-top: 18px; box-shadow: 0 30px 80px -30px rgba(61, 123, 255, .5); }
.fitflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px; }
.fitflow div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: rgba(255, 255, 255, .02); font-size: 11.5px; color: var(--muted); display: grid; gap: 6px; }
.fitflow div b { color: var(--ink); font-weight: 500; font-size: 12.5px; }
.fitflow div i { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: .8; }
.fitflow div:nth-child(2) i { width: 70%; } .fitflow div:nth-child(3) i { width: 45%; } .fitflow div:nth-child(4) i { width: 85%; }
.grow { display: flex; gap: 6px; align-items: flex-end; height: 70px; margin-top: 6px; }
.grow i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue-2), rgba(61, 123, 255, .15)); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .why-card.big { grid-row: auto; } .fitflow { grid-template-columns: 1fr 1fr; } }

/* ---------- get started + screen gallery ---------- */
.start { text-align: center; padding-bottom: 0; }
.start .sec-h { margin-bottom: 44px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-inline: auto; width: min(1320px, 100%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tile { position: relative; aspect-ratio: 3 / 4.2; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; text-align: left; border-right: 1px solid rgba(0, 0, 0, .6); }
.tile .scr { position: absolute; inset: 18px 18px 120px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(6, 8, 12, .86); overflow: hidden; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .9); font-size: 11px; color: var(--ink-2); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .scr { transform: translateY(-6px); }
.tile .cap { position: relative; display: grid; gap: 4px; }
.tile .cap .eyebrow { color: rgba(255, 255, 255, .7); font-size: .66rem; }
.tile .cap b { font-weight: 500; font-size: 1.05rem; letter-spacing: -.02em; }
.t1 { background: radial-gradient(70% 50% at 50% 30%, rgba(146, 108, 255, .55), transparent 70%), linear-gradient(180deg, #1a1440, #07060f); }
.t2 { background: radial-gradient(70% 50% at 50% 30%, rgba(60, 207, 145, .45), transparent 70%), linear-gradient(180deg, #0d2a24, #050b0a); }
.t3 { background: radial-gradient(70% 50% at 50% 30%, rgba(61, 123, 255, .6), transparent 70%), linear-gradient(180deg, #0c1e46, #04070f); }
.t4 { background: radial-gradient(70% 50% at 50% 30%, rgba(255, 150, 80, .45), transparent 70%), linear-gradient(180deg, #2e1709, #0c0603); }
.scr-h { display: flex; align-items: center; gap: 6px; padding: 9px 11px; border-bottom: 1px solid var(--line); font-family: var(--fm); font-size: 10px; color: var(--muted); }
.scr-h i { width: 6px; height: 6px; border-radius: 99px; background: #2a2e36; }
.scr-b { padding: 11px; display: grid; gap: 8px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal span { aspect-ratio: 1; border-radius: 5px; background: rgba(255, 255, 255, .04); font-size: 9px; display: grid; place-items: center; color: var(--muted); }
.cal span.on { background: rgba(146, 108, 255, .6); color: #fff; }
.cal span.dot { box-shadow: inset 0 -2px 0 rgba(146, 108, 255, .9); }
.slot { display: flex; justify-content: space-between; padding: 7px 9px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.slot b { font-weight: 500; }
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.prods span { border-radius: 8px; background: rgba(255, 255, 255, .05); padding: 7px 6px; font-size: 9.5px; display: grid; gap: 3px; }
.prods span i { height: 22px; border-radius: 5px; background: linear-gradient(135deg, rgba(60, 207, 145, .55), rgba(60, 207, 145, .12)); }
.prods span:nth-child(3n+2) i { background: linear-gradient(135deg, rgba(245, 184, 61, .55), rgba(245, 184, 61, .12)); }
.prods span:nth-child(3n) i { background: linear-gradient(135deg, rgba(110, 162, 255, .55), rgba(110, 162, 255, .12)); }
.total { display: flex; justify-content: space-between; padding: 9px; border-radius: 8px; background: rgba(60, 207, 145, .9); color: #04140e; font-weight: 600; }
.kan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kan > div { display: grid; gap: 5px; align-content: start; }
.kan small { font-family: var(--fm); font-size: 8.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.kan span { border-radius: 7px; background: rgba(255, 255, 255, .05); padding: 7px; font-size: 9.5px; border-left: 2px solid var(--blue-2); }
.kan > div:nth-child(2) span { border-left-color: var(--warn); }
.kan > div:nth-child(3) span { border-left-color: var(--ok); }
.q { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.q > i { width: 26px; height: 26px; border-radius: 99px; background: linear-gradient(135deg, rgba(255, 150, 80, .8), rgba(255, 150, 80, .2)); font-style: normal; display: grid; place-items: center; font-size: 9px; color: #fff; font-weight: 600; }
.q small { display: block; color: var(--muted); font-size: 9px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); -webkit-mask-image: none; mask-image: none; padding-inline: 16px; gap: 10px; } .tile { border-radius: 18px; border: 0; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 4.4; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { border-radius: 22px; border: 1px solid var(--line); background: var(--card); padding: 28px 26px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 18px; text-align: center; position: relative; }
.plan.rec { border-color: rgba(160, 196, 255, .55); background: radial-gradient(90% 50% at 50% 0%, rgba(61, 123, 255, .25), transparent 70%), var(--card-2); box-shadow: 0 30px 90px -40px rgba(61, 123, 255, .8); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--fm); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: var(--blue); color: #fff; white-space: nowrap; }
.plan h3 { font-size: 1.15rem; }
.plan .d { margin: -8px 0 0; color: var(--muted); font-size: .9rem; }
.price { display: grid; gap: 6px; padding: 14px 0 6px; }
.price b { font-family: var(--fm); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.price span { color: var(--muted); font-size: .85rem; }
.price .when { display: inline-flex; justify-self: center; gap: 6px; font-family: var(--fm); font-size: .72rem; color: var(--ink-2); padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); margin-top: 6px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; text-align: left; font-size: .92rem; color: var(--ink-2); align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%236ea2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan .btn { width: 100%; }
.plans-note { text-align: center; color: var(--muted); font-size: .88rem; max-width: 46rem; margin: 30px auto 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 22px; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq .sec-h { text-align: left; justify-items: start; margin: 0; position: sticky; top: 110px; }
.faq-ask { margin-top: 18px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; }
.faq-ask h3 { font-size: 1.05rem; }
.faq-ask p { margin: 0; color: var(--muted); font-size: .92rem; }
.faq-ask .btn { justify-self: start; margin-top: 6px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 24px; gap: 10px; align-items: center; padding: 24px 0; font-size: 1.06rem; font-weight: 500; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .n { font-family: var(--fm); font-size: .74rem; color: var(--dim); }
.qa summary .pm { width: 24px; height: 24px; border-radius: 99px; border: 1px solid var(--line-2); position: relative; transition: transform .3s, background .3s; }
.qa summary .pm::before, .qa summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.qa summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.qa[open] summary .pm { background: var(--blue); border-color: var(--blue); }
.qa[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa .a { padding: 0 34px 24px 50px; color: var(--muted); }
.qa .a p { margin: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .sec-h { position: static; } .qa .a { padding-left: 50px; padding-right: 0; } }

/* ---------- contact / final cta ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding-top: clamp(90px, 12vw, 150px); }
.cta::before { content: ''; position: absolute; left: 50%; top: 0; width: min(1100px, 120vw); height: 520px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 0%, rgba(61, 123, 255, .3), transparent 70%); pointer-events: none; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.marq { margin: 34px auto 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); width: min(860px, 100%); }
.marq-in { display: flex; gap: 34px; width: max-content; animation: marq 32s linear infinite; font-size: .85rem; color: var(--muted); }
.marq-in span { white-space: nowrap; }
.marq-in span::before { content: '✓ '; color: var(--blue-2); }
@keyframes marq { to { transform: translateX(-50%); } }
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; margin-top: 60px; text-align: left; }
.c-info { border-radius: 24px; border: 1px solid var(--line); background: var(--card); padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; align-content: start; }
.c-info h3 { font-size: 1.4rem; letter-spacing: -.03em; }
.c-info > p { margin: -8px 0 0; color: var(--muted); }
.c-list { display: grid; gap: 10px; }
.c-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s; }
a.c-item:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.c-item i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #13161c; border: 1px solid var(--line-2); }
.c-item i svg { width: 20px; height: 20px; color: var(--blue-2); }
.c-item small { display: block; font-family: var(--fm); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.c-item b { font-weight: 500; overflow-wrap: anywhere; }
.c-item .go { color: var(--dim); }
.form { border-radius: 24px; border: 1px solid rgba(110, 162, 255, .3); background: radial-gradient(90% 60% at 100% 0%, rgba(61, 123, 255, .18), transparent 60%), var(--card-2); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.form h3 { font-size: 1.4rem; letter-spacing: -.03em; }
.form > p { margin: -6px 0 4px; color: var(--muted); font-size: .95rem; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 7px; font-size: .82rem; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%238a909b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(61, 123, 255, .25); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--dim); }
.form .row-end { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.form .row-end small { color: var(--dim); font-size: .8rem; flex: 1; min-width: 200px; }
.form .row-end small a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.form-ok { display: none; padding: 14px 16px; border-radius: 12px; background: rgba(60, 207, 145, .1); border: 1px solid rgba(60, 207, 145, .35); color: var(--ok); font-size: .92rem; }
.form.sent .form-ok { display: block; }
.hp { display: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: clamp(80px, 10vw, 120px); padding: 56px 0 30px; }
.foot-in { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1.1fr; gap: 36px; }
.foot p { color: var(--muted); font-size: .92rem; margin: 14px 0 0; max-width: 34ch; }
.foot h4 { font-family: var(--fm); font-weight: 400; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.foot ul a:hover { color: var(--ink); }
.foot .btn { margin-top: 16px; }
.foot-b { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dim); }
.foot-b a:hover { color: var(--ink-2); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child, .foot-in > div:last-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 99px; display: grid; place-items: center; background: #1fb855; color: #fff; box-shadow: 0 12px 30px -8px rgba(31, 184, 85, .7); transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 26px; height: 26px; }

/* ---------- legal page ---------- */
.legal { padding: 150px 0 40px; }
.legal-in { width: min(760px, 100% - 32px); margin-inline: auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 14px 0 10px; }
.legal .meta { color: var(--muted); font-size: .9rem; }
.legal h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--blue-2); border-bottom: 1px solid rgba(110, 162, 255, .35); }
.legal .toc { margin-top: 30px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.legal .toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); }
.legal .toc a { color: var(--ink-2); border: 0; }

/* ---------- reveal (only once JS has proved it runs) ---------- */
[data-js="on"] [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
[data-js="on"] [data-rv].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-js="on"] [data-rv] { opacity: 1; transform: none; }
}

/* ---------- responsive: hero window ---------- */
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; min-height: 0; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero { padding-top: 130px; }
  .dash-main { padding: 14px; }
  .dash-grid .panel:last-child { display: none; }
  .hero-chips { font-size: .64rem; gap: 8px 14px; }
}

/* narrow phones: long button labels wrap instead of pushing the layout wider */
.ps > *, .why > *, .contact > *, .plans > *, .faq > * { min-width: 0; }
@media (max-width: 520px) {
  .btn { white-space: normal; height: auto; min-height: 46px; padding-block: 11px; text-align: center; line-height: 1.3; }
}

/* spacing / measure tune-ups after review */
.hero h1 { max-width: 19ch; }
.cta h2 { max-width: 22ch; }
.start { padding-top: clamp(40px, 6vw, 70px); }
.cta { padding-bottom: clamp(40px, 6vw, 70px); }
.cta + * , main + .foot { margin-top: 40px; }
@media (max-width: 620px) {
  .feat-vis { aspect-ratio: 3 / 3.9; }
  .node { font-size: 11px; }
  .node i { width: 40px; height: 40px; }
  .node.core i { width: 70px; height: 70px; }
  .win-bar b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .win-bar .pill { white-space: nowrap; }
  .dash-top .chip { display: none; }
}
@media (max-width: 400px) { .win-bar .pill { display: none; } }

/* ---------- real photos ---------- */
.hero-photo { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(61, 123, 255, .55); position: relative; background: #0b0d12; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; filter: saturate(.9) contrast(1.04) brightness(.92); }
/* light colour grade so warm office light sits on the dark-blue page */
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(61, 123, 255, .10), rgba(3, 4, 6, 0) 40%, rgba(3, 4, 6, .35)); pointer-events: none; }
.step.has-img { grid-template-columns: 1fr minmax(0, .85fr); grid-template-rows: 1fr; padding: 0; gap: 0; }
.step.has-img .s-txt { padding: 24px; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; }
.step.has-img .scope { grid-template-columns: 1fr; gap: 8px; }
.step.has-img .scope div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.step.has-img .scope b { margin: 0; text-align: right; }
.s-img { width: 100%; height: 100%; object-fit: cover; border-left: 1px solid var(--line); filter: saturate(.9) brightness(.9); }
.why-photo { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 16px; border: 1px solid var(--line-2); margin-top: 18px; filter: saturate(.92) brightness(.95); }
@media (max-width: 620px) {
  .step.has-img { grid-template-columns: 1fr; }
  .s-img { height: 200px; border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

/* gallery & why-us with real photos */
.tile.ph { padding: 22px; }
.tile.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.78); transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.tile.ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 4, 6, .15) 0%, rgba(3, 4, 6, 0) 35%, rgba(3, 4, 6, .55) 70%, rgba(3, 4, 6, .92) 100%); pointer-events: none; }
.tile.ph:hover img { transform: scale(1.04); filter: saturate(1) brightness(.88); }
.tile.ph .cap { z-index: 1; }
.tile.ph .cap .eyebrow { color: rgba(255, 255, 255, .75); }
.why-card.big.ph { min-height: 520px; align-content: end; isolation: isolate; }
.why-card.big.ph .why-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.9) brightness(.85); }
.why-card.big.ph::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 13, 18, .25) 0%, rgba(11, 13, 18, .55) 40%, rgba(11, 13, 18, .96) 78%), radial-gradient(80% 60% at 0% 100%, rgba(61, 123, 255, .25), transparent 65%); }
.why-card.big.ph p { color: var(--ink-2); }
@media (max-width: 860px) { .why-card.big.ph { min-height: 440px; } }
.gallery { -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent); mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent); }
@media (max-width: 900px) { .gallery { -webkit-mask-image: none; mask-image: none; } }
.why-card.big.ph .why-bg { filter: saturate(1.15) brightness(1.25) contrast(1.05); }
.why-card.big.ph::before { background: linear-gradient(180deg, rgba(11, 13, 18, 0) 0%, rgba(11, 13, 18, .2) 35%, rgba(11, 13, 18, .9) 72%, rgba(11, 13, 18, .97) 100%), radial-gradient(80% 60% at 0% 100%, rgba(61, 123, 255, .22), transparent 65%); }

/* ---------- portfolio ---------- */
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-family: var(--fm); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pf-st { padding: 4px 10px; border-radius: 99px; letter-spacing: .08em; }
.pf-st.live { background: rgba(60, 207, 145, .12); color: var(--ok); }
.pf-st.demo { background: rgba(110, 162, 255, .14); color: var(--blue-2); }
.pf-st.proto { background: rgba(245, 184, 61, .12); color: var(--warn); }
.pf-sum { margin: 0; color: var(--ink-2); }
.pf-media { position: relative; }
.pf-win { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0d12; box-shadow: 0 30px 80px -30px rgba(61, 123, 255, .45); }
.pf-win .win-bar { height: 32px; }
.pf-win .win-bar b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pf-win img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.pf-sub { position: absolute; right: -10px; bottom: -22px; width: 46%; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .9); background: #0b0d12; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pf-sub img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.pf-card:hover .pf-sub { transform: translateY(-6px); }
.pf-feat { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: start; padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; border: 1px solid rgba(110, 162, 255, .3); background: radial-gradient(70% 70% at 100% 0%, rgba(61, 123, 255, .2), transparent 60%), var(--card); margin-bottom: 16px; }
.pf-txt { display: grid; gap: 18px; min-width: 0; }
.pf-feat h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.035em; }
.pf-mods { display: grid; gap: 10px; }
.pf-mod { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .02); }
.pf-mod h4 { font-size: .98rem; font-weight: 500; letter-spacing: -.01em; display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.pf-mod h4 i { font-style: normal; font-family: var(--fm); font-size: .68rem; color: var(--blue-2); }
.pf-mod ul, .pf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.pf-mod li, .pf-list li { position: relative; padding-left: 18px; }
.pf-mod li::before, .pf-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 99px; background: var(--blue-2); box-shadow: 0 0 8px rgba(110, 162, 255, .7); }
.pf-more { margin: 0; font-size: .86rem; color: var(--muted); }
.pf-foot { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding-top: 4px; }
.pf-stack { font-family: var(--fm); font-size: .72rem; color: var(--dim); letter-spacing: .04em; }
.pf-feat .pf-media { position: sticky; top: 110px; min-width: 0; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-card { border-radius: 24px; border: 1px solid var(--line); background: var(--card); padding: 18px 18px 24px; display: grid; grid-template-rows: auto 1fr; gap: 34px; min-width: 0; transition: border-color .3s; }
.pf-card:hover { border-color: var(--line-2); }
.pf-body { display: grid; gap: 14px; align-content: start; padding: 0 8px; }
.pf-card h3 { font-size: 1.28rem; letter-spacing: -.025em; }
.pf-link { justify-self: start; display: inline-flex; gap: 6px; align-items: center; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; margin-top: 4px; transition: border-color .2s; }
.pf-link:hover { border-color: var(--ink); }
.pf-link .arr { transition: transform .2s; }
.pf-link:hover .arr { transform: translate(2px, -2px); }
@media (max-width: 980px) { .pf-feat { grid-template-columns: 1fr; } .pf-feat .pf-media { position: static; order: -1; } }
@media (max-width: 860px) { .pf-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pf-sub { right: 8px; bottom: -16px; width: 52%; } .pf-card { padding: 12px 12px 22px; } .pf-body { padding: 0 6px; } }
.pf-feat .pf-media { display: grid; gap: 16px; }
.pf-win2 { width: 88%; justify-self: end; }
@media (max-width: 980px) { .pf-win2 { display: none; } }
.pf-st.priv { background: rgba(255, 255, 255, .07); color: var(--ink-2); }
.pf-priv { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--fm); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.pf-priv::before { content: ''; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d636e' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-feat { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
@media (max-width: 980px) { .pf-feat { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .pf-grid { grid-template-columns: minmax(0, 1fr); } }
.pf-card, .pf-body, .pf-txt, .pf-feat .pf-media { grid-template-columns: minmax(0, 1fr); }
.pf-win .win-bar b { flex: 1; }
.pf-win img.pf-free { aspect-ratio: auto; object-fit: contain; background: #fff; }
.pf-win2 { width: 100%; }

/* confidential case-study links */
.pf-cs { display: inline-flex; align-items: center; gap: 12px; padding: 9px 14px 9px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.pf-cs:hover { border-color: rgba(160, 196, 255, .55); background: rgba(61, 123, 255, .08); }
.pf-cs i { flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 107, 107, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a8a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Crect x='9' y='13' width='6' height='5' rx='1'/%3E%3Cpath d='M10.5 13v-1.2a1.5 1.5 0 0 1 3 0V13'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pf-cs span { display: grid; font-weight: 500; font-size: .9rem; line-height: 1.25; }
.pf-cs small { font-family: var(--fm); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.pf-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 6px; }
.pf-row .pf-link, .pf-row .pf-priv { margin-top: 0; }
.pf-acts { display: inline-flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pf-note { display: inline-flex; gap: 10px; align-items: center; margin: 4px 0 0; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--muted); font-size: .88rem; }
.pf-note i { width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ea2ff' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pf-note a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 620px) { .pf-note { border-radius: 14px; align-items: flex-start; } }

/* ---------- portfolio carousel ---------- */
.cs { position: relative; }
.cs-bar { display: flex; gap: 14px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cs-tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); min-width: 0; }
.cs-tabs::-webkit-scrollbar { display: none; }
.cs-tab { flex: none; border: 0; background: none; padding: 9px 16px; border-radius: 99px; color: var(--muted); font: 500 .88rem var(--f); white-space: nowrap; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .25s, color .25s; }
.cs-tab i { font-style: normal; font-family: var(--fm); font-size: .66rem; color: var(--dim); }
.cs-tab:hover { color: var(--ink); }
.cs-tab.on { background: #eceef1; color: #08090b; }
.cs-tab.on i { color: #6b7280; }
.cs-nav { display: flex; gap: 8px; align-items: center; flex: none; }
.cs-count { font-family: var(--fm); font-size: .78rem; color: var(--muted); margin-right: 6px; letter-spacing: .06em; }
.cs-count b { color: var(--ink); font-weight: 500; }
.cs-btn { width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--line-2); background: #111318; color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s, opacity .2s; }
.cs-btn:hover:not(:disabled) { background: #1c2028; border-color: rgba(160, 196, 255, .5); }
.cs-btn:disabled { opacity: .3; cursor: default; }
.cs-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 28px; outline: none; }
.cs-track::-webkit-scrollbar { display: none; }
.cs-track:focus-visible { box-shadow: 0 0 0 2px var(--blue-2); }
.cs-slide { scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 54px); align-items: center; padding: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) clamp(30px, 3.6vw, 46px); border-radius: 28px; border: 1px solid rgba(110, 162, 255, .26); background: radial-gradient(70% 70% at 0% 0%, rgba(61, 123, 255, .16), transparent 60%), var(--card); min-width: 0; }
.cs-slide .pf-media { min-width: 0; }
.cs-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; align-content: center; }
.cs-info h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); letter-spacing: -.03em; }
.cs-mods { display: grid; gap: 8px; }
.cs-mods .pf-mod { padding: 12px 14px; }
.cs-mods .pf-mod h4 { margin-bottom: 6px; font-size: .94rem; }
.cs-mods .pf-mod ul { gap: 4px; font-size: .84rem; }
.pf-sub.wide { width: 64%; }
.pf-sub.wide img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.cs-prog { height: 2px; background: var(--line); margin-top: 18px; border-radius: 99px; overflow: hidden; }
.cs-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 980px) {
  .cs-slide { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cs-slide .pf-media { margin-bottom: 16px; }
}
@media (max-width: 720px) {
  .cs-bar { flex-wrap: wrap; }
  .cs-tabs { order: 2; width: 100%; border-radius: 14px; }
  .cs-nav { width: 100%; justify-content: space-between; }
  .cs-count { margin-right: auto; }
  .cs-slide { padding: 14px 14px 26px; border-radius: 22px; }
}
/* fit the track to the visible slide */
[data-js="on"] .cs-track { align-items: start; overflow-y: hidden; transition: height .45s cubic-bezier(.2, .7, .2, 1); }
/* carousel without project-name tabs: arrows + counter on the right */
.cs-bar-plain { justify-content: flex-end; }
@media (max-width: 720px) { .cs-bar-plain .cs-nav { width: auto; } }
