/* Shared look of the site: tokens, loader, cursor, and the scroll film. */
@font-face { font-family: "Geist"; src: url(fonts/Geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/GeistMono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #06090f; --panel: #0c1119; --deep: #04060a; --line: #1e2633; --fg: #e9eef5; --dim: #8590a0; --accent: #4cc9ff; --red: #ff3b30;
  --mono: "Geist Mono", ui-monospace, monospace; --sans: "Geist", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); transition: background .4s; color: var(--fg); font: 16px/1.5 var(--sans); -webkit-tap-highlight-color: transparent; scroll-snap-type: y mandatory; }
body { overflow-x: hidden; }
html.loading { overflow: hidden; }
/* film grain */
body::after { content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* loader: the logo with a cycling code glyph and a counter */
#loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; clip-path: inset(0); transition: clip-path .9s cubic-bezier(.76, 0, .24, 1); }
#loader.done { clip-path: inset(0 0 100% 0); }
.l-logo { font: 500 clamp(44px, 8vw, 112px)/1 var(--sans); letter-spacing: -.055em; display: flex; align-items: baseline; }
.l-logo span { color: var(--accent); font: 500 .5em var(--mono); letter-spacing: -.02em; min-width: 2.2em; margin-left: .12em; }
.l-count { position: absolute; left: 24px; bottom: 22px; font: 12px var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.l-count b { color: var(--fg); font-weight: 400; }
.l-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* scroll progress + custom cursor (fine pointers only) */
#bar { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; z-index: 70; }
#cur { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1.5px solid var(--accent); pointer-events: none; z-index: 95; opacity: 0;
  transition: width .25s, height .25s, margin .25s, background .25s, opacity .2s; }
#cur.link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: color-mix(in srgb, var(--accent) 18%, transparent); }
html.cur, html.cur * { cursor: none !important; }

/* entrance after the loader: everything starts in its rest position in CSS */
.hero-copy h1 { overflow: clip; padding-bottom: .1em; }
.rise { display: inline-block; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .1s; }
.hero-copy p, .hero-copy small { transition: opacity .8s .35s, transform .9s cubic-bezier(.2, .8, .2, 1) .35s; }
.hero-copy small { transition-delay: .5s; }
.tabs { transition: filter .6s .55s, translate .8s cubic-bezier(.2, .8, .2, 1) .55s; }
.panel { clip-path: inset(0 round 14px); transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1) .3s; }
html.loading .rise { transform: translateY(115%); }
html.loading .hero-copy p, html.loading .hero-copy small { opacity: 0; transform: translateY(20px); }
html.loading .tabs { filter: opacity(0); translate: 0 14px; }
html.loading .panel { clip-path: inset(100% 0 0 0 round 14px); }
a { color: inherit; }

/* small fixed nav: home link and the page name */
.topnav { position: fixed; left: 20px; top: 14px; z-index: 75; display: flex; gap: 10px; align-items: baseline; font: 12px var(--mono); color: var(--dim); }
.topnav a { font: 500 18px var(--sans); letter-spacing: -.03em; color: var(--fg); text-decoration: none; } .topnav a i { color: var(--accent); font-style: normal; }
.topnav .back { align-self: center; margin-left: 8px; font: 12px var(--mono); letter-spacing: 0; padding: 6px 12px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--fg) 35%, transparent); background: color-mix(in srgb, var(--bg) 60%, transparent); transition: border-color .2s; } .topnav .back:hover { border-color: var(--fg); }

/* one sticky film: hero → morph → x-ray → assembled */
#film { position: relative; height: 1150vh; }
.snap { position: absolute; left: 0; width: 1px; height: 1px; top: calc(var(--g) * (100% - 100vh)); scroll-snap-align: start; scroll-snap-stop: always; }
.sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
/* soft light that leans toward the cursor */
.sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55vw 60vh at var(--gx, 70%) var(--gy, 50%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.tag { position: absolute; left: 16px; bottom: 14px; font: 12px var(--mono); color: var(--dim); }
.tag b { color: var(--red); font-weight: 400; }

/* ---------- hero ---------- */
.hero-copy { position: absolute; left: 32px; top: 0; bottom: 0; width: 30%; display: grid; align-content: center; }
.hero-copy h1 { font: 500 clamp(56px, 8vw, 128px)/.85 var(--sans); letter-spacing: -.055em; }
.hero-copy h1 i { color: var(--accent); font-style: normal; }
.hero-copy p { font-size: clamp(17px, 1.6vw, 21px); color: #b9bab5; max-width: 26ch; margin-top: 20px; }
.hero-copy small { display: block; margin-top: 28px; font: 12px var(--mono); color: var(--dim); }
.hero-copy small b { color: var(--accent); font-weight: 400; }

.panel { position: absolute; left: 36%; right: 32px; top: 50%; height: min(68svh, 620px); margin-top: calc(min(68svh, 620px) / -2 + 22px);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: none; touch-action: pan-y; transform-origin: 50% 50%;
  --x: 50%; --y: 50%; --r: 100px; }
.dash, .xl { position: absolute; inset: 0; }
.app { display: grid; grid-template-columns: 170px 1fr; }
.dash { background: var(--panel); }
.xl { background: var(--deep) radial-gradient(#22262c 1px, transparent 1px) 0 0 / 16px 16px; clip-path: circle(var(--r) at var(--x) var(--y)); font: 12px/1.55 var(--mono); color: #a9aaa5; }
.side { border-right: 1px solid var(--line); padding: 18px; display: grid; gap: 10px; align-content: start; font-size: 13px; color: var(--dim); }
.side b { color: var(--fg); font-weight: 500; margin-bottom: 8px; }
.side .on { color: var(--fg); }
.main { display: grid; grid-template-rows: 28px 84px 1fr 152px; gap: 14px; padding: 18px; min-width: 0; min-height: 0; }
.head { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.pill { font: 11px var(--mono); color: var(--accent); }
.pill::before { content: "● "; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kp > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--dim); }
.kp strong { display: block; color: var(--fg); font-size: 24px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: end; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 14px; min-height: 0; }
.bars i { flex: 1; background: #2a2d33; border-radius: 3px; transition: height .8s cubic-bezier(.2, .8, .2, 1); }
.bars i:last-child { background: var(--accent); }
.tbl-live { font-size: 13px; overflow: hidden; }
.tbl-live div { display: flex; justify-content: space-between; height: 30px; align-items: center; border-bottom: 1px solid var(--line); }
.tbl-live div:first-child { color: var(--dim); font-size: 11px; font-family: var(--mono); }
.tbl-live .new { animation: drop .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); background: color-mix(in srgb, var(--accent) 12%, transparent); } }
.xl .side, .xl .main > *, .xl .kp > div { border: 1px dashed #3a3d44; border-radius: 10px; }
.xl .side { border-radius: 0; border-width: 0 1px 0 0; }
.xl pre { font: inherit; white-space: pre; overflow: hidden; }
.xl .main > *, .xl .kp > div { padding: 8px 12px; }
.xl .kp { border: 0 !important; padding: 0 !important; }
.lens { position: absolute; left: calc(var(--x) - var(--r)); top: calc(var(--y) - var(--r)); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  border-radius: 50%; box-shadow: 0 0 0 1.5px var(--accent), 0 0 40px color-mix(in srgb, var(--accent) 18%, transparent); pointer-events: none; }
.lens::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); animation: spin 16s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.lens span { position: absolute; left: 50%; bottom: -24px; translate: -50% 0; font: 11px var(--mono); color: var(--accent); white-space: nowrap; }

/* three kinds of product share the panel: website, store, web app */
.tabs { position: absolute; left: 36%; top: calc(50% - min(68svh, 620px) / 2 - 24px); display: flex; gap: 6px; }
.tabs button { font: 500 12px var(--mono); color: var(--dim); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; cursor: pointer; transition: color .2s, border-color .2s; }
.tabs button.on { color: var(--accent); border-color: var(--accent); }
.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.screen.on { opacity: 1; visibility: visible; }
.xl .cell { border: 1px dashed #3a3d44; border-radius: 10px; padding: 8px 12px; overflow: hidden; }
.btn { display: inline-block; padding: 7px 13px; border-radius: 99px; background: var(--fg); color: #0b0b0c; font-size: 12px; font-weight: 500; }
.site, .store { display: grid; gap: 14px; padding: 18px; }
.site { grid-template-rows: 44px 1fr 104px; }
.store { grid-template-rows: 44px 1fr 56px; }
.s-nav { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--dim); }
.s-nav b { color: var(--fg); font-weight: 500; margin-right: auto; font-size: 15px; }
.s-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; min-height: 0; }
.s-hero .txt { display: grid; align-content: center; justify-items: start; gap: 14px; }
.s-hero h3 { font: 500 clamp(24px, 3.2vw, 46px)/1 var(--sans); letter-spacing: -.04em; }
.s-hero p { color: var(--dim); font-size: 14px; max-width: 34ch; }
.s-hero .btn { background: var(--accent); }
.s-hero .img { border-radius: 12px; background: url(ads/p-home.jpg) center / cover; }
@keyframes drift { to { background-position: 100% 100%; } }
.s-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash .s-feat div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--dim); }
.s-feat b { display: block; color: var(--fg); font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; min-height: 0; }
.prod { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: grid; grid-template-rows: 1fr auto; font-size: 12px; transition: border-color .3s; }
.prod.hit { border-color: var(--accent); }
.prod i { background: center / cover no-repeat; }
.prod span { padding: 8px 10px; display: flex; justify-content: space-between; gap: 6px; }
.prod em { font-style: normal; color: var(--dim); font-variant-numeric: tabular-nums; }
.s-bar { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font-size: 13px; font-variant-numeric: tabular-nums; }

/* mobile app: a phone on the left, what ships with it on the right */
.mob { display: grid; grid-template-columns: minmax(0, .85fr) 1fr; gap: 18px; padding: 18px; }
.phone { justify-self: center; height: 100%; aspect-ratio: 9 / 18; max-width: 100%; border: 1px solid var(--line); border-radius: 30px; background: var(--deep); padding: 16px 14px 12px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; overflow: hidden; font-size: 12px; min-height: 0; }
.phone .hi { color: var(--dim); } .phone .hi b { display: block; color: var(--fg); font-size: 17px; font-weight: 500; }
.ring { justify-self: center; width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 500 20px var(--sans); font-variant-numeric: tabular-nums;
  background: radial-gradient(closest-side, var(--deep) 78%, transparent 80%), conic-gradient(var(--accent) calc(var(--p, 62) * 1%), var(--line) 0); transition: --p .6s; }
.habits { display: grid; gap: 6px; align-content: start; overflow: hidden; }
.habits div { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; transition: border-color .3s; }
.habits div.done { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.habits div.done::after { content: "✓"; color: var(--accent); }
.habits div:not(.done)::after { content: "○"; color: var(--dim); }
.tabbar { display: flex; justify-content: space-around; color: var(--dim); border-top: 1px solid var(--line); padding-top: 8px; }
.tabbar b { color: var(--accent); font-weight: 400; }
.m-side { display: grid; align-content: center; gap: 12px; }
.dash .m-side h3 { font: 500 clamp(22px, 2.6vw, 38px)/1.02 var(--sans); letter-spacing: -.035em; }
.dash .m-side p { color: var(--dim); font-size: 14px; max-width: 30ch; }
.m-side ul { list-style: none; display: grid; gap: 8px; margin-top: 4px; font-size: 13px; }
.m-side li { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; display: flex; justify-content: space-between; }
.m-side li em { font-style: normal; color: var(--accent); font: 11px var(--mono); }
.xl.mob .m-side { display: block; }

/* ---------- x-ray ---------- */
.scene { position: absolute; top: 56px; bottom: 40px; left: 44%; right: 0; perspective: 1800px; opacity: 0; pointer-events: none; }
.copy { position: absolute; top: 0; bottom: 0; left: 32px; width: min(38%, 500px); display: grid; align-content: center; pointer-events: none; }
.copy article { grid-area: 1 / 1; pointer-events: none; }
.copy article.on { pointer-events: auto; }
.copy article > * { opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s; }
.copy article.on > * { opacity: 1; transform: none; transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.copy article.on > :nth-child(1) { transition-delay: .12s; } .copy article.on > :nth-child(2) { transition-delay: .2s; }
.copy article.on > :nth-child(3) { transition-delay: .28s; } .copy article.on > :nth-child(4) { transition-delay: .36s; }
.copy article.on > :nth-child(5) { transition-delay: .44s; }
.copy .cta:hover { translate: 0 -2px; } .copy .cta:active { scale: .97; }
.tabs button:hover { color: var(--fg); }
.copy .num { font: 500 12px var(--mono); color: var(--accent); letter-spacing: .04em; }
.copy h2 { font: 500 clamp(30px, 3.6vw, 52px)/1 var(--sans); letter-spacing: -.035em; margin: 14px 0 16px; }
.copy p { color: #a9aaa5; font-size: 17px; max-width: 42ch; }
.copy ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.copy li { font: 12px var(--mono); padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; color: #c8c9c4; }
.copy .cta { display: inline-block; margin-top: 28px; text-decoration: none; padding: 14px 22px; border-radius: 99px; background: var(--accent); color: #0b0b0c; font-weight: 500; transition: translate .25s, scale .15s; }
.copy .links { display: flex; gap: 18px; margin-top: 22px; font: 12px var(--mono); color: var(--dim); }
.rail { display: flex; gap: 6px; margin-top: 28px; transition: opacity .3s; }
.rail i { width: 22px; height: 2px; background: var(--line); transition: background .3s; }
.rail i.on { background: var(--accent); }

.stage { position: absolute; left: 50%; top: 50%; margin: -180px 0 0 -280px; width: 560px; height: 360px; transform-style: preserve-3d; scale: var(--s, 1); }
.layer { position: absolute; inset: 0; border-radius: 12px; border: 1px solid #2c2f35; background: var(--panel); padding: 14px; font: 12px/1.5 var(--mono); color: #a9aaa5;
  transition: opacity .35s, border-color .35s, box-shadow .35s; }
.layer.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 40px 90px color-mix(in srgb, var(--accent) 14%, transparent); }
.layer.ui { padding: 0; overflow: hidden; font-family: var(--sans); color: var(--fg); }
.mobl { display: flex; gap: 22px; align-items: center; justify-content: center; }
.ph { position: relative; height: 100%; aspect-ratio: 390 / 844; border: 5px solid #1d1f24; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px #3a3d44; transition: box-shadow .4s; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph::before { content: ""; position: absolute; top: 6px; left: 50%; width: 42px; height: 11px; margin-left: -21px; border-radius: 8px; background: #000; }
.mobl ul { list-style: none; display: grid; gap: 8px; }
.mobl li { border: 1px solid #3a3d44; border-radius: 8px; padding: 7px 12px; }
.mobl.on .ph { box-shadow: 0 0 0 1px var(--accent); }
.comp { display: grid; grid-template-rows: 44px 1fr 90px 40px; gap: 10px; }
.comp > div, .comp .k div { position: relative; border: 1px dashed #4a4e56; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 12px 6px; overflow: hidden; font: 11px var(--sans); color: #a9aaa5; transition: border-color .4s; }
.comp [data-c]::before { content: attr(data-c); position: absolute; left: 8px; top: 2px; font: 9px var(--mono); color: #7cc4ff; }
.comp b { color: var(--fg); font-weight: 500; font-size: 13px; letter-spacing: -.02em; } .comp img { height: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.comp .k div { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; } .comp .k b { font-size: 18px; }
.comp .k { grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0 !important; }
.layer pre { font: inherit; white-space: pre; }
.com { color: #5c6470; } .tag-t { color: #7cc4ff; } .str { color: var(--accent); } .kw { color: #ff8fb1; }
.api div { display: flex; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); border-radius: 4px; }
.api .m { width: 44px; color: #7cc4ff; } .api .p { flex: 1; color: var(--fg); } .api .s { color: var(--accent); }
.db svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tbl { position: absolute; border: 1px solid #3a3d44; border-radius: 6px; background: var(--deep); width: 150px; }
.tbl b { display: block; padding: 5px 8px; color: var(--fg); border-bottom: 1px solid #3a3d44; font-weight: 500; }
.tbl span { display: block; padding: 1px 8px; }
.srv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; }
.srv div { border: 1px solid #3a3d44; border-radius: 8px; padding: 12px; }
.srv div::before { content: "●"; color: var(--accent); margin-right: 6px; display: inline-block; }
.srv .wide { grid-column: span 3; text-align: center; color: var(--fg); }

/* each layer comes alive while it is in focus */
.comp.on > div, .comp.on .k div { border-color: #7cc4ff; }
.api.on div { animation: req 2.4s infinite; }
.api.on div:nth-child(2) { animation-delay: .45s; } .api.on div:nth-child(3) { animation-delay: .9s; }
.api.on div:nth-child(4) { animation-delay: 1.35s; } .api.on div:nth-child(5) { animation-delay: 1.8s; }
@keyframes req { 0%, 30%, 100% { background: transparent; } 8% { background: color-mix(in srgb, var(--accent) 12%, transparent); } }
.db.on path { stroke: var(--accent); stroke-dasharray: 5 5; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -10; } }
.srv.on div::before { animation: pulse 1.2s infinite; }
.srv.on div:nth-child(odd)::before { animation-delay: .4s; }

/* work: real projects in a browser frame, one per stop */
.shots { position: absolute; top: 56px; bottom: 40px; left: 44%; right: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.bframe { display: block; width: min(calc(100% - 48px), 780px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); text-decoration: none; box-shadow: 0 40px 120px rgb(0 0 0 / .5); }
.bbar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 11px var(--mono); color: var(--dim); }
.bbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.bbar span { margin-left: 10px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbar em { font-style: normal; color: var(--accent); white-space: nowrap; }
.bview { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.bview > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.05; transition: opacity .6s, scale 1.4s cubic-bezier(.2, .8, .2, 1); }
.bview > .on { opacity: 1; scale: 1; }
.bview > :not(.on) { pointer-events: none; }
/* a real app, running in a phone-sized frame scaled to fit */
.appslide { background: var(--deep) radial-gradient(#22262c 1px, transparent 1px) 0 0 / 16px 16px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; background: var(--deep) radial-gradient(#22262c 1px, transparent 1px) 0 0 / 16px 16px; }
.stats div { display: grid; align-content: center; gap: 4px; padding: 0 12%; border: 0 solid var(--line); }
.stats div:nth-child(odd) { border-inline-end-width: 1px; } .stats div:nth-child(-n+2) { border-bottom-width: 1px; }
.stats b { font: 500 clamp(40px, 6vw, 84px)/1 var(--sans); letter-spacing: -.05em; color: var(--fg); font-variant-numeric: tabular-nums; }
.stats span { font: 12px var(--mono); color: var(--dim); }
.yours { display: grid; place-content: center; justify-items: center; gap: 6px; font: 13px var(--mono); color: var(--dim); background: var(--deep) radial-gradient(#22262c 1px, transparent 1px) 0 0 / 16px 16px; }
.yours b { font: 300 72px/1 var(--sans); color: var(--accent); }
.copy .cta.ghost { background: none; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- finale: book a call ---------- */
.finale { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: 24px; opacity: 0; pointer-events: none; }
.finale.on { pointer-events: auto; }
.rings { position: absolute; left: 50%; top: 50%; width: min(125vh, 125vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 26%, transparent); animation: spin 70s linear infinite; }
.rings i:nth-child(2) { inset: 15%; animation-duration: 48s; animation-direction: reverse; }
.rings i:nth-child(3) { inset: 30%; animation-duration: 34s; }
.avail { position: relative; font: 12px var(--mono); color: var(--dim); }
.avail::before { content: "● "; color: #5fe08a; animation: pulse 1.6s infinite; }
.finale h2 { position: relative; font: 500 clamp(64px, 17vw, 260px)/.86 var(--sans); letter-spacing: -.06em; white-space: nowrap; }
.finale h2 span { display: inline-block; will-change: transform; }
.finale h2 .dotc { color: var(--accent); }
.finale p { position: relative; max-width: 46ch; color: #a9aaa5; font-size: clamp(15px, 1.5vw, 19px); }
.fin-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.btn-big, .btn-ghost { text-decoration: none; border-radius: 99px; font-size: 17px; font-weight: 500; padding: 18px 28px; }
.btn-big { position: relative; overflow: hidden; background: var(--accent); color: #0b0b0c; will-change: transform; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); animation: halo 2.6s ease-out infinite; }
@keyframes halo { to { box-shadow: 0 0 0 22px transparent; } }
.btn-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / .5) 50%, transparent 62%); translate: -110% 0; transition: translate .7s; }
.btn-big:hover::after { translate: 110% 0; }
.btn-big:active { scale: .97; }
.btn-ghost { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, color .25s, translate .25s; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); translate: 0 -2px; }
.marquee { position: absolute; left: 0; right: 0; bottom: 48px; overflow: hidden; white-space: nowrap; font: 12px var(--mono); color: var(--dim); letter-spacing: .08em;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.marquee div { display: inline-block; animation: slide 36s linear infinite; }
@keyframes slide { to { translate: -50% 0; } }


/* phones */
@media (max-width: 760px) {
  .hero-copy { left: 16px; right: 16px; width: auto; top: 56px; bottom: auto; }
  .hero-copy p { margin-top: 12px; } .hero-copy small { margin-top: 14px; }
  html .tabs { left: 16px; top: 242px; }
  html .panel { left: 16px; right: 16px; top: 288px; bottom: 44px; height: auto; margin-top: 0; }
  .app { grid-template-columns: 1fr; }
  .site, .store { padding: 12px; gap: 10px; }
  .s-nav span:not(.btn) { display: none; }
  .s-hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .s-hero h3 { font-size: 26px; }
  .s-feat { gap: 6px; } .dash .s-feat div { padding: 8px; font-size: 10px; } .s-feat b { font-size: 12px; }
  .s-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mob { grid-template-columns: 1fr; padding: 12px; } html .mob .m-side { display: none; }
  .tabs button { padding: 8px 11px; }
  .panel .side { display: none; }
  .panel .main { grid-template-rows: 24px 76px 1fr 152px; padding: 12px; gap: 10px; }
  .kp { gap: 6px; } .kp > div { padding: 8px; font-size: 10px; } .kp strong { font-size: 17px; }
  .xl { font-size: 10px; }
  .scene, .shots { left: 0; right: 0; top: 48px; bottom: 50%; }
  .bframe { width: calc(100% - 32px); }
  .btn-big, .btn-ghost { font-size: 15px; padding: 14px 20px; } .finale { gap: 16px; }
  .stats b { font-size: 34px; } .stats span { font-size: 10px; } .stats div { padding: 0 10%; }
  .copy .cta { margin-top: 16px; padding: 12px 18px; }
  .copy { left: 16px; right: 16px; width: auto; top: 52%; bottom: 40px; align-content: start; }
  .copy h2 { font-size: 30px; margin: 8px 0 10px; }
  .copy p { font-size: 15px; }
  .copy ul { margin-top: 14px; } .rail { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; animation: none !important; } }

/* ---------- each team's page has its own palette and voice (software keeps the default) ---------- */
:root[data-theme="video"] { --bg: #0a0a0a; --panel: #141414; --deep: #050505; --line: #262626; --fg: #ffffff; --dim: #9a9a9a; --accent: #ffd60a; --pop: #ffd60a; }
:root[data-theme="ads"]   { --bg: #f2f0e8; --panel: #ffffff; --deep: #e8e5da; --line: #d6d2c4; --fg: #11130f; --dim: #666a5e; --accent: #3f8f00; --pop: #c6ff3d; }
:root[data-theme] .btn-big { background: var(--pop); }
/* video: cinema. heavy uppercase titles, hard cuts instead of soft fades */
:root[data-theme="video"] .copy h2, :root[data-theme="video"] .finale h2, :root[data-theme="video"] .hero-a h1 { font-weight: 600; letter-spacing: -.045em; }
:root[data-theme="video"] .copy article > * { transition-duration: .01s !important; transition-delay: 0s !important; transform: none; }
:root[data-theme="video"] body::after { opacity: .16; }
/* ads: loud and light. dark ink on paper, big bold type */
:root[data-theme="ads"] .copy h2, :root[data-theme="ads"] .finale h2, :root[data-theme="ads"] .hero-a h1 { font-weight: 700; }
:root[data-theme="ads"] .copy p, :root[data-theme="ads"] .finale p, :root[data-theme="ads"] .copy article.hero-a p { color: #3c4036; }
:root[data-theme="ads"] .copy li { color: var(--fg); background: var(--panel); }
:root[data-theme="ads"] .copy .num { background: var(--fg); color: var(--pop); padding: 4px 8px; border-radius: 4px; display: inline-block; }
:root[data-theme="ads"] body::after { opacity: .05; mix-blend-mode: multiply; }
:root[data-theme="ads"] .avail::before { color: var(--accent); }

/* wordmark: one word per team, each in its team's colour where the background allows it */
.wm b, .wm u { font-weight: inherit; text-decoration: none; }
.l-logo .wm b { color: #ffd60a; } .l-logo .wm u { color: #c6ff3d; }
:root[data-theme="ads"] .l-logo .wm u { color: #3f8f00; }
.l-logo { font-size: clamp(34px, 7vw, 104px); }
.l-logo #glyph { color: var(--dim); }

/* ---------- the pointer is each team's tool: code brackets, scissors, a click arrow ---------- */
#cur[data-t] { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 0; background: var(--c) var(--i) center / 18px no-repeat; }
/* over a button it opens into a ring, so the button's words stay readable. Size, never `scale`: scale would also multiply the translate that places it */
#cur[data-t].link { width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 1.5px solid var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
#cur[data-l]::after { content: attr(data-l); position: absolute; left: 50%; top: 100%; translate: -50% 8px; font: 500 11px var(--mono); letter-spacing: .08em; white-space: nowrap; padding: 4px 8px; border-radius: 99px; background: #06090f; color: var(--c); }
#cur[data-t="code"] { --c: #4cc9ff; --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306090f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E"); }
#cur[data-t="cut"] { --c: #ffd60a; --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306090f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/svg%3E"); }
#cur[data-t="click"] { --c: #c6ff3d; --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306090f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/%3E%3Cpath d='M13 13l6 6'/%3E%3C/svg%3E"); }

/* ---------- the logo: three bars and three words, one colour per team ---------- */
.wm, .l-logo .wm { color: #4cc9ff; font-weight: 600; } .wm b, .l-logo .wm b { color: #ffd60a; } .wm u, .l-logo .wm u { color: #c6ff3d; }
:root[data-theme="ads"] .wm, :root[data-theme="ads"] .l-logo .wm { color: #0b7fb8; } :root[data-theme="ads"] .wm b { color: #b88a00; } :root[data-theme="ads"] .wm u { color: #3f8f00; }
.topnav a:first-child { display: inline-flex; align-items: center; }
.topnav a:first-child::before { content: ""; width: 16px; height: 16px; margin-right: 8px; border-radius: 2px; transition: background-size .35s cubic-bezier(.3, 1.6, .5, 1);
  background: linear-gradient(#4cc9ff 0 0) 0 100% / 4px 100% no-repeat, linear-gradient(#ffd60a 0 0) 6px 100% / 4px 100% no-repeat, linear-gradient(#c6ff3d 0 0) 12px 100% / 4px 100% no-repeat; }
.topnav a:first-child:hover::before { background-size: 4px 55%, 4px 100%, 4px 75%; }
:root[data-theme="ads"] .topnav a:first-child::before { background-image: linear-gradient(#0b7fb8 0 0), linear-gradient(#b88a00 0 0), linear-gradient(#3f8f00 0 0); }
.topnav a:first-child > i { display: none; }

/* ---------- AI + automation slides: a scripted chat, and flows whose steps light up in turn ---------- */
.chat { display: grid; grid-template-rows: auto 1fr; background: var(--deep); font: 14px/1.4 var(--sans); }
.chat-h { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-h i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; } .chat-h b { font-weight: 500; }
.chat-h span { margin-left: auto; font: 11px var(--mono); color: var(--dim); border: 1px solid var(--line); padding: 3px 8px; border-radius: 99px; }
.chat-b { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 18px; min-height: 0; }
.chat-b p { max-width: 74%; padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: var(--panel); border: 1px solid var(--line); color: var(--fg); opacity: 0; }
.chat-b p.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--accent); border-color: var(--accent); color: #06090f; }
.chat-b em { align-self: center; font: 11px var(--mono); font-style: normal; color: #3ddc84; opacity: 0; }
.chat.on p, .chat.on em { animation: msg .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.5s + var(--i) * 1.15s); }
@keyframes msg { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0; } }
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 7% 8%; align-content: center; background: var(--deep) radial-gradient(#22262c 1px, transparent 1px) 0 0 / 16px 16px; }
.flow div { display: grid; gap: 3px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font: 12px var(--mono); color: var(--dim); }
.flow span { color: var(--accent); } .flow b { font: 500 clamp(16px, 1.6vw, 22px)/1.15 var(--sans); letter-spacing: -.02em; color: var(--fg); }
.flow.on div { animation: step 6s infinite; animation-delay: calc(var(--i) * 1.2s); }
@keyframes step { 0%, 30%, 100% { border-color: var(--line); box-shadow: none; } 8%, 20% { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 12px 40px color-mix(in srgb, var(--accent) 18%, transparent); } }
@media (max-width: 760px) { .chat { font-size: 10.5px; } .chat-b { padding: 6px 10px; gap: 4px; overflow: hidden; } .chat-b p { padding: 4px 9px; max-width: 84%; } .chat-b p:nth-of-type(n+5) { display: none; } .chat-h { padding: 6px 10px; } .chat-h span { display: none; } .flow { gap: 6px; padding: 4%; } .flow div { padding: 8px; font-size: 9px; } .flow b { font-size: 12px; } }

/* ---------- the loader speaks for the team whose page is opening; the home page mixes all three ---------- */
.l-count::before { content: "loading · "; }
[data-team="code"] .l-count::before { content: "building · "; } [data-team="cut"] .l-count::before { content: "rendering · "; } [data-team="click"] .l-count::before { content: "targeting · "; }
:root[data-team] .l-logo .wm, :root[data-team] .l-logo .wm b, :root[data-team] .l-logo .wm u { color: color-mix(in srgb, var(--fg) 20%, transparent); }
:root[data-team="code"] .l-logo .wm { color: #4cc9ff; } :root[data-team="cut"] .l-logo .wm b { color: #ffd60a; } :root[data-team="click"] .l-logo .wm u { color: #3f8f00; }
.l-logo .wm { font: inherit; font-weight: 600; letter-spacing: inherit; min-width: 0; margin: 0; }   /* the wordmark is not the small mono glyph beside it */

/* Prices and the trial badge on the team pages. TEMP numbers, set 2026-10-13 until the owner sends final ones. */
.copy .price { margin-top: 16px; font: 13px var(--mono); color: var(--dim); }
.copy .price + .price { margin-top: 2px; }
.copy .price b { font: 600 clamp(20px, 2vw, 28px) var(--sans); letter-spacing: -.02em; color: var(--fg); margin: 0 6px; }
.trial { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 18px 9px 9px; border-radius: 99px; background: var(--accent); color: #0b0b0c; font: 600 15px var(--sans); text-decoration: none; white-space: nowrap; pointer-events: auto; transition: translate .25s; width: fit-content; justify-self: start; }
.trial:hover { translate: 0 -2px; }
.trial u { text-decoration: none; font: 600 11px var(--mono); letter-spacing: .08em; background: #0b0b0c; color: var(--accent); padding: 5px 9px; border-radius: 99px; }
.trial::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, #fff9 50%, transparent 60%); translate: -100% 0; }
@media (prefers-reduced-motion: no-preference) { .trial::after { animation: trial-shine 3.2s ease-in-out infinite; } }
@keyframes trial-shine { 0%, 55% { translate: -100% 0; } 100% { translate: 100% 0; } }
:root[data-theme="ads"] .trial { background: var(--pop); } :root[data-theme="ads"] .trial u { color: var(--pop); }
:root[data-theme="ads"] .copy .price { color: #3c4036; }
@media (max-width: 760px) { .trial { margin-top: 12px; font-size: 14px; } .copy .price { margin-top: 10px; } }
/* phone: the Code hero is tight above the browser, so the text shrinks and the trial badge takes the place of the lens hint */
@media (max-width: 760px) { .hero-copy h1 { font-size: 46px; } .hero-copy p { font-size: 14px; line-height: 1.4; max-width: none; margin-top: 6px; } .hero-copy small { display: none; } .hero-copy .trial { margin-top: 8px; font-size: 13px; padding: 6px 14px 6px 6px; } }
.copy .price { white-space: nowrap; } .copy .price small { display: block; white-space: normal; font: 13px/1.4 var(--sans); color: var(--dim); max-width: 38ch; margin-top: 2px; }
.copy .price:has(small) + .price { margin-top: 12px; }
/* phone: a layer that carries explained prices drops its tech chips so everything fits above the bottom tag */
@media (max-width: 760px) { .copy article:has(.price small) ul { display: none; } }

/* the prices slide on the Code page: every option on one screen */
.plist { display: grid; align-content: center; padding: 3% 6%; background: var(--deep) radial-gradient(#22262c 1px, transparent 1px) 0 0 / 16px 16px; }
.plist div { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: center; padding: clamp(6px, 1vw, 13px) 0; border-bottom: 1px solid var(--line); }
.plist b { font: 500 clamp(15px, 1.5vw, 21px)/1.2 var(--sans); letter-spacing: -.02em; color: var(--fg); }
.plist span { grid-column: 1; font: 12px/1.35 var(--sans); color: var(--dim); }
.plist em { grid-column: 2; grid-row: 1 / 3; font: 600 clamp(18px, 2vw, 28px) var(--sans); font-style: normal; letter-spacing: -.02em; color: var(--accent); white-space: nowrap; }
.plist em i { font: 11px var(--mono); font-style: normal; color: var(--dim); letter-spacing: 0; margin-right: 4px; }
.plist p { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(8px, 1.2vw, 16px); padding: 5px 12px 5px 6px; border-radius: 99px; background: var(--accent); color: #0b0b0c; font: 600 13px var(--sans); }
.plist p u { text-decoration: none; font: 600 10px var(--mono); letter-spacing: .08em; background: #0b0b0c; color: var(--accent); padding: 3px 7px; border-radius: 99px; }
@media (max-width: 760px) { .plist { padding: 2% 5%; } .plist span { display: none; } .plist div { padding: 4px 0; } .plist b { font-size: 13px; } .plist em { font-size: 15px; } .plist p { margin-top: 5px; font-size: 11px; padding: 3px 9px 3px 4px; } }
/* the Prices button beside "All services" */
.topnav .prices { margin-left: 0; background: var(--accent); border-color: var(--accent); color: #0b0b0c; font-weight: 600; }
:root[data-theme="ads"] .topnav .prices { background: var(--pop); border-color: var(--pop); }
@media (max-width: 760px) { .topnav > span { display: none; } }
