/* LemonCode — the cube. Dark only. */

:root {
  --bg: #171b19;
  --bg-2: #1b201d;
  --card: #222824;
  --card-2: #2a312c;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --text: #eef1ea;
  --text-2: #b0b7ac;
  --muted: #939b90;
  --lime: #86c918;
  --lime-2: #a6e43a;
  --lime-soft: rgba(134, 201, 24, .12);
  --lime-line: rgba(134, 201, 24, .38);
  --red: #ff6b6b;
  --f-head: "Montserrat", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.3, .7, .2, 1);
  --top: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.faq-wrap { max-width: 1100px; }
.section { padding: 110px 0; }
.sec-head { max-width: 680px; margin-bottom: 40px; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; }
.lead { margin-top: 16px; color: var(--text-2); font-size: 19px; }
.h-small { font-size: 16px; color: var(--text-2); font-weight: 600; margin-bottom: 14px; }
.field-label { display: block; font-size: 15px; line-height: 1.4; color: var(--text-2); font-weight: 600; margin: 0 0 10px; }

/* Glow behind everything */
body::before { content: ""; position: fixed; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(134, 201, 24, .10), transparent 70%); }

/* ── Buttons, links ─────────────────────────────────────────────────────── */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: #0b0d0c; box-shadow: 0 10px 40px -12px rgba(134, 201, 24, .7); }
.btn-lime:hover { background: var(--lime-2); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lime); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-sm .ico { width: 17px; height: 17px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; text-decoration: none; }
.link .ico { transition: transform .2s var(--ease); }
.link:hover .ico, a:hover > .link .ico { transform: translateX(4px); }

/* ── Header ─────────────────────────────────────────────────────────────── */

.top { position: sticky; top: 0; z-index: 50; background: rgba(23, 27, 25, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: var(--top); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.cube { width: 30px; height: 30px; fill: var(--lime); stroke: var(--lime); }
.wordmark { font: 700 21px/1 var(--f-head); letter-spacing: -0.01em; }
.wm-lemon { color: var(--lime); }
.wm-code { color: var(--text); }
.brand-sm .cube { width: 24px; height: 24px; }
.brand-sm .wordmark { font-size: 17px; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; margin-left: auto; }
.lang { font: 500 13px/1 var(--f-mono); text-decoration: none; color: var(--muted); padding: 8px 9px; border-radius: 8px; }
.lang[aria-current] { color: var(--text); background: var(--card-2); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; place-items: center; cursor: pointer; }
.menu { border-top: 1px solid var(--line); }
.menu-nav { display: grid; padding: 10px 20px 18px; }
.menu-nav a { padding: 12px 0; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line); }

/* ── Story: hero + services, sticky cube ────────────────────────────────── */

.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.story-cube { grid-column: 2; grid-row: 1; }
.story-steps { grid-column: 1; grid-row: 1; }
.cube-sticky { position: sticky; top: var(--top); height: calc(100svh - var(--top)); display: grid; place-items: center; align-content: center; gap: 96px; }
.hero-copy { min-height: calc(100svh - var(--top)); display: flex; flex-direction: column; justify-content: center; padding: 40px 0 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.4 var(--f-mono); color: var(--text-2); letter-spacing: .02em; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); flex: none; }
.eyebrow a { color: inherit; }
h1 { font-size: clamp(42px, 6.2vw, 80px); line-height: .98; letter-spacing: -0.045em; }
h1 mark { color: var(--lime); background: none; white-space: nowrap; }
.hero-sub { margin-top: 24px; color: var(--text-2); font-size: 20px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.promise { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; color: var(--text-2); font-size: 15px; max-width: 30em; }
.promise .ico { color: var(--lime); margin-top: 2px; }
.scroll-cue { display: flex; align-items: center; gap: 12px; margin-top: 56px; font: 500 12px/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.scroll-cue span { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--line-2); position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

.step { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; transition: opacity .5s var(--ease); }
.js .step { opacity: .55; }
.js .step.on, .js .step:focus-within { opacity: 1; }
.step-n { display: flex; align-items: center; gap: 12px; font: 500 14px/1 var(--f-mono); color: var(--lime); margin-bottom: 18px; }
.step-n .ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--lime-soft); box-shadow: inset 0 0 0 1px var(--lime-line); }
.step h2 { font-size: clamp(34px, 4.6vw, 58px); }
.step-lead { margin-top: 18px; font-size: 20px; color: var(--text-2); max-width: 30em; }
.price { display: flex; flex-direction: column; gap: 4px; margin: 26px 0 22px; }
.price b { font: 700 34px/1 var(--f-head); color: var(--lime); letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 15px; }

.cube-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 420px; }
.dot-ring, .dot-short { display: none; }
.cube-dots a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 13px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.cube-dots a.on { color: #0b0d0c; background: var(--lime); box-shadow: none; }

/* ── The 3D cube ────────────────────────────────────────────────────────── */

.scene { --s: min(360px, 30vw); width: var(--s); height: var(--s); position: relative; perspective: calc(var(--s) * 4.2); font-size: calc(var(--s) / 20);
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.scene.grabbing { cursor: grabbing; }
.cube3d { --rx: -35.26deg; --ry: 45deg; position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateZ(calc(var(--s) * -.5)) rotateX(var(--rx)) rotateY(var(--ry)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.cf { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cf-front { transform: translateZ(calc(var(--s) / 2)); }
.cf-right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cf-back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cf-left { transform: rotateY(270deg) translateZ(calc(var(--s) / 2)); }
.cf-top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cf-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cf-in { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1.3em; border-radius: .5em; overflow: hidden;
  background: linear-gradient(155deg, #1d2617, #111510 60%); box-shadow: inset 0 0 0 .1em var(--lime-line), inset 0 0 3em rgba(134, 201, 24, .08); }
.cf-right .cf-in { background: linear-gradient(155deg, #182014, #0d100c 60%); }
.cf-left .cf-in { background: linear-gradient(155deg, #1f2a17, #131811 60%); }
.cf-back .cf-in { background: linear-gradient(155deg, #19201a, #0e110e 60%); }
.cf-top .cf-in { background: linear-gradient(135deg, var(--lime-2), var(--lime)); box-shadow: none; display: grid; place-items: center; }
.cf-bottom .cf-in { background: linear-gradient(155deg, #1d2619, #121610 60%); }
.cf-logo .cube { width: 58%; height: 58%; fill: #0b0d0c; stroke: #0b0d0c; }
/* A sixth service shares the top face with the logo; app.js sets .top-svc while the top is turned away. */
.cf-top .cf-svc { display: flex; background: linear-gradient(155deg, #1d2617, #111510 60%); box-shadow: inset 0 0 0 .1em var(--lime-line), inset 0 0 3em rgba(134, 201, 24, .08); visibility: hidden; }
.top-svc .cf-top .cf-svc { visibility: visible; }
.top-svc .cf-top .cf-logo { visibility: hidden; }
.cube-shadow { position: absolute; left: 10%; right: 10%; bottom: -26%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(134, 201, 24, .32), transparent);
  filter: blur(8px); animation: shadow 6s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scale(.9); opacity: .7; } }
.cf-label { display: flex; align-items: center; gap: .5em; font: 600 .8em/1 var(--f-mono); color: var(--lime); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1em; }
.cf-label .ico { width: 1.3em; height: 1.3em; }

/* Face contents (all in em) */
.fx { flex: 1; display: flex; flex-direction: column; gap: .8em; min-height: 0; font-size: 1em; }
.fx-app { display: flex; align-items: center; gap: .55em; font-size: .78em; font-weight: 600; }
.fx-app time { margin-left: auto; font: 400 .9em/1 var(--f-mono); color: var(--text-2); }
.tg-dot { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: #2aabee; color: #fff; flex: none; }
.tg-dot .ico { width: .95em; height: .95em; stroke-width: 2.2; margin-left: -.1em; }
.fx-card { background: rgba(255, 255, 255, .05); border-radius: .7em; padding: .8em .9em; box-shadow: inset 0 0 0 1px var(--line); }
.fx-head { font-weight: 700; font-size: .85em; margin-bottom: .5em; }
.fx-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .4em; font-size: .74em; }
.fx-lines li { display: flex; align-items: baseline; gap: .5em; }
.fx-lines span { color: var(--text-2); flex: 1; }
.fx-lines b { font-family: var(--f-mono); font-weight: 500; }
.fx-lines i { font-style: normal; font-size: .85em; color: var(--lime); }
.fx-bars { flex: 1; display: flex; align-items: flex-end; gap: .35em; min-height: 2em; }
.fx-bars span { flex: 1; height: var(--h); border-radius: .2em .2em 0 0; background: rgba(134, 201, 24, .3); }
.fx-bars span:last-child { background: var(--lime); }
.fx-oss { gap: .7em; }
.fx-apps { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; font-size: .8em; }
.fx-apps li { display: flex; align-items: center; gap: .6em; padding: .55em .7em; border-radius: .6em; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.fx-apps b { margin-left: auto; font: 500 .85em/1 var(--f-mono); color: var(--lime); }
.fx-video { align-items: center; }
.fx-reel { position: relative; flex: 1; aspect-ratio: 9 / 16; border-radius: .8em; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .2em; padding: .7em;
  background: linear-gradient(180deg, #7ec8f0 0 38%, #e9e2d3 38% 100%); color: #0b0d0c; min-height: 0; }
.fx-tag { position: absolute; top: .6em; left: .6em; font-size: max(.55em, 12px); font-weight: 700; background: var(--lime); padding: .3em .6em; border-radius: .4em; }
.fx-house { position: absolute; left: 18%; right: 18%; top: 26%; bottom: 36%; background: #f6f3ec; border-radius: .2em; box-shadow: 0 .2em .6em rgba(0, 0, 0, .2);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12%; padding: 14%; }
.fx-house i { background: #5a9fd4; border-radius: .1em; }
.fx-play { position: absolute; left: 50%; top: 44%; translate: -50% -50%; width: 2.2em; height: 2.2em; border-radius: 50%; background: rgba(11, 13, 12, .75); display: grid; place-items: center; color: #fff; }
.fx-play .ico { width: 1em; height: 1em; fill: currentColor; stroke: none; margin-left: .15em; }
.fx-reel b { position: relative; font-size: .62em; line-height: 1.2; color: #0b0d0c; background: #f6f3ec; padding: .3em; }
.fx-price { position: relative; align-self: flex-start; font: 700 .7em/1 var(--f-head); background: var(--lime); padding: .3em .5em; border-radius: .3em; }
.fx-posted { display: flex; align-items: center; gap: .4em; font-size: .68em; color: var(--text-2); }
.fx-posted .ico { width: 1.2em; height: 1.2em; color: var(--lime); }
.fx-url { display: flex; align-items: center; gap: .5em; font: .74em/1 var(--f-mono); color: var(--text-2); background: rgba(255, 255, 255, .05); border-radius: 99em; padding: .6em .9em; }
.fx-url .ico { width: 1.1em; height: 1.1em; color: var(--lime); }
.fx-status { display: flex; align-items: center; gap: .6em; font: 700 1.05em/1.1 var(--f-head); margin-top: .3em; }
.fx-status b { margin-left: auto; color: var(--lime); font-family: var(--f-mono); font-weight: 500; font-size: .8em; }
.pulse { width: .65em; height: .65em; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(134, 201, 24, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .6em rgba(134, 201, 24, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 201, 24, 0); } }
.fx-uptime { display: flex; gap: .18em; height: 1.8em; }
.fx-uptime span { flex: 1; border-radius: .15em; background: var(--lime); opacity: .85; }
.fx-uptime span:nth-child(17) { background: #e6b84a; }
.fx-checks { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: .45em; font-size: .78em; }
.fx-checks li { display: flex; align-items: center; gap: .5em; }
.fx-checks .ico { width: 1.15em; height: 1.15em; color: var(--lime); }
.fx-small { justify-content: center; }
.fx-pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1em; }
.fx-pairs li { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: .4em; font: 500 .75em/1 var(--f-mono); }
.fx-pairs span { text-align: center; padding: .7em .3em; border-radius: .6em; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.fx-pairs i { height: .15em; border-radius: 1em; background: linear-gradient(90deg, var(--lime) 50%, transparent 0) 0 0 / 1em 100% repeat-x; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 1em 0; } }
.fx-ai { gap: .6em; }
.fx-ai .fx-head { margin-bottom: 0; font-size: .74em; color: var(--text-2); font-weight: 600; }
.fx-kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.fx-kpis li { display: grid; gap: .35em; padding: .55em .7em; border-radius: .6em; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.fx-kpis span { font-size: .66em; color: var(--text-2); }
.fx-kpis b { font: 500 .82em/1 var(--f-mono); white-space: nowrap; }
.fx-ai .fx-bars { min-height: 1.6em; }
.fx-ai .fx-bars span { background: rgba(134, 201, 24, .3); }
.fx-ai .fx-bars span.hi { background: var(--lime); }
.fx-ask { align-self: flex-end; max-width: 88%; font-size: .7em; line-height: 1.25; padding: .5em .8em; border-radius: .9em .9em .2em .9em; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.fx-answer { align-self: flex-start; display: flex; align-items: center; gap: .45em; font: 600 .72em/1.2 var(--f-mono); color: #0b0d0c; background: var(--lime); padding: .5em .8em; border-radius: .9em .9em .9em .2em; }
.fx-answer .ico { width: 1.2em; height: 1.2em; flex: none; }

/* ── Reels gallery ──────────────────────────────────────────────────────── */

.story + .reels-sec { padding-top: 10px; }

.reel-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.reel-tabs button { border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font-size: 14px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.reel-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.reels { list-style: none; margin: 0 -20px; padding: 6px 20px 24px; scroll-padding-inline: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.reel-item { scroll-snap-align: start; }
.reel-item[hidden] { display: none; }
.reel { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer; text-align: left;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.reel[data-src]:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px var(--lime-line), 0 30px 60px -30px rgba(134, 201, 24, .5); }
.reel:not([data-src]) { cursor: default; }
.reel-media, .reel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted); text-align: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px), linear-gradient(180deg, #171c17, #0f120f); }
.ph .ico { width: 34px; height: 34px; color: var(--lime); opacity: .7; }
.ph small { font: 500 12px/1.3 var(--f-mono); letter-spacing: .04em; padding: 0 16px; }
.ph-reel { position: absolute; inset: 0; padding-bottom: 30%; }
.reel-play { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #0b0d0c; transition: transform .3s var(--ease); }
.reel-play .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.reel-soon { position: absolute; top: 14px; right: 14px; padding: 8px 12px; border-radius: 999px; background: var(--card); color: var(--text); font-size: 12px; }
.reel:hover .reel-play { transform: scale(1.12); }
.reel-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 16px 16px; display: grid; gap: 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.reel-meta b { font-family: var(--f-head); font-size: 16px; line-height: 1.2; }
.reel-meta small { font: 500 11px/1 var(--f-mono); color: var(--lime); text-transform: uppercase; letter-spacing: .06em; }

/* Story viewer */
.viewer { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; overflow: hidden; }
.viewer::backdrop { background: rgba(5, 6, 5, .92); backdrop-filter: blur(8px); }
.viewer[open] { display: grid; place-items: center; }
.viewer-in { position: relative; height: min(88dvh, 880px); aspect-ratio: 9 / 16; max-width: 94vw; border-radius: 24px; overflow: hidden; background: var(--card); animation: pop .35s var(--ease); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.viewer-media, .viewer-media video, .viewer-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewer-bars { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.viewer-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.viewer-bars span.done, .viewer-bars span.on { background: var(--lime); }
.viewer-title { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 60px 20px 22px; font: 700 20px/1.2 var(--f-head); background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.viewer-btn { position: absolute; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(11, 13, 12, .6); cursor: pointer; }
.viewer-btn:hover { background: var(--lime); color: #0b0d0c; }
.viewer-close { top: 26px; right: 14px; }
.viewer-prev { left: 10px; top: 50%; translate: 0 -50%; }
.viewer-next { right: 10px; top: 50%; translate: 0 -50%; }

/* ── Report builder ─────────────────────────────────────────────────────── */

.config { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 56px; border-radius: 32px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
fieldset { border: 0; margin: 26px 0 0; padding: 0; }
legend { padding: 0; font: 600 15px/1.4 var(--f-body); color: var(--text-2); margin-bottom: 12px; }
/* Option tiles (builder + composer): equal tiles with a checkbox, not ragged pills. */
.opts, .picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.chip-in { position: relative; cursor: pointer; display: block; }
.chip-in input { position: absolute; opacity: 0; pointer-events: none; }
.opts .chip-in span, .pick { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 48px; padding: 11px 14px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .025); color: var(--text-2); font: 500 15px/1.25 var(--f-body); text-align: left; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.opts .chip-in span::before, .pick::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.opts .chip-in span::after, .pick::after { content: ""; position: absolute; left: 20.5px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid #0b0d0c; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.opts input:checked + span, .pick[aria-pressed="true"] { background: var(--lime-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--lime-line); }
.opts input:checked + span::before, .pick[aria-pressed="true"]::before { background: var(--lime); box-shadow: none; }
.opts input:checked + span::after, .pick[aria-pressed="true"]::after { opacity: 1; }
.chip-in input:focus-visible + span, .pick:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
/* Time: one segmented control. */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; max-width: 360px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--line); }
.seg .chip-in span { display: block; padding: 10px 0; border-radius: 10px; text-align: center; font: 500 15px/1.2 var(--f-mono); color: var(--text-2); transition: color .2s var(--ease), background-color .2s var(--ease); }
.seg input:checked + span { background: var(--lime); color: #0b0d0c; }
.config-out { display: grid; gap: 20px; justify-items: start; }
.tg-phone { width: 100%; padding: 18px 20px 20px; border-radius: 22px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 17px; }
.tg-msg { margin-top: 14px; }
.tg-head { font: 700 17px/1.3 var(--f-head); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.tg-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.tg-lines li { display: flex; justify-content: space-between; gap: 12px; animation: pop .3s var(--ease); }
.tg-lines li[hidden] { display: none; }
.tg-lines span { color: var(--text-2); }
.tg-lines b { font-family: var(--f-mono); font-weight: 500; }
.tg-empty { display: none; color: var(--muted); font-size: 15px; }
.tg-msg.empty .tg-empty { display: block; }
.tg-src { margin-top: 14px; font: 12px/1.3 var(--f-mono); color: var(--muted); }

/* ── Prices ─────────────────────────────────────────────────────────────── */

.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.pcard a { height: 100%; display: flex; flex-direction: column; padding: 26px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.pcard a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--lime-line); }
.pcard-ico .ico { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--lime-soft); color: var(--lime); }
.pcard-name { font: 700 20px/1.2 var(--f-head); margin-top: 20px; }
.pcard .price { margin: 14px 0 20px; flex: 1; }
.pcard .price b { font-size: 30px; }
.custom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 16px; padding: 28px 30px; border-radius: 24px;
  background: linear-gradient(120deg, var(--lime-soft), rgba(134, 201, 24, 0) 70%); box-shadow: inset 0 0 0 1px var(--lime-line); }
.custom div { flex: 1 1 380px; }
.custom h3 { font-size: 22px; margin-bottom: 8px; }
.custom p { margin: 0; color: var(--text-2); max-width: 40em; }

.proj-search { display: block; max-width: 560px; margin-top: 32px; }
.proj-search input { width: 100%; min-height: 54px; padding: 0 18px; border: 0; border-radius: 16px; background: rgba(0, 0, 0, .3); color: var(--text);
  font: 16px/1.4 var(--f-body); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.proj-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.proj-search input::placeholder { color: var(--muted); }
.projs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.proj { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.proj[hidden] { display: none; }
.proj b { font: 700 20px/1.25 var(--f-head); }
.proj p { margin: 0; color: var(--text-2); font-size: 15px; }
.proj > p:first-of-type { flex: 1; }
.proj-meta { display: grid; gap: 4px; width: 100%; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.proj-meta b { font-weight: 600; color: var(--text); }
.proj-play { margin-top: 6px; }
.proj-soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.proj-soon .ico { width: 16px; height: 16px; }
.proj-empty { margin: 24px 0 0; color: var(--text-2); }
.proj-empty[hidden] { display: none; }

/* ── How, about, FAQ ────────────────────────────────────────────────────── */

.hsteps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hstep { padding: 28px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.hstep-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: #0b0d0c; font: 700 18px/1 var(--f-head); margin-bottom: 22px; }
.hstep h3 { font-size: 21px; margin-bottom: 10px; }
.hstep p { color: var(--text-2); font-size: 16px; }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-text { grid-template-columns: 1fr 1fr; align-items: start; }
.about-text .facts { margin-top: 0; }
.about-text.solo { display: block; max-width: 760px; }
.photo, .ph-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 28px; object-fit: cover; }
.ph-photo { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { padding: 18px 22px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.facts b { display: block; font: 700 18px/1.2 var(--f-head); }
.facts span { color: var(--text-2); font-size: 15px; }
.faq { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font: 600 19px/1.3 var(--f-head); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; transition: transform .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--lime); color: #0b0d0c; box-shadow: none; }
.faq-item p { padding: 0 50px 24px 0; color: var(--text-2); }

/* ── Contact form ───────────────────────────────────────────────────────── */

.compose { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; padding: 56px; border-radius: 32px;
  background: linear-gradient(140deg, rgba(134, 201, 24, .14), rgba(134, 201, 24, .02) 50%), var(--card); box-shadow: inset 0 0 0 1px var(--lime-line); }
.compose-in { position: relative; min-width: 0; }
.compose .lead { margin-bottom: 28px; }
.compose-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.field { min-width: 0; }
.picks { margin-bottom: 24px; }
textarea, .input { width: 100%; padding: 16px 18px; border-radius: 18px; border: 0; background: rgba(0, 0, 0, .35); color: var(--text);
  font: 16px/1.5 var(--f-body); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.input { padding: 13px 18px; border-radius: 16px; }
textarea { resize: vertical; min-height: 110px; }
textarea:focus, .input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
textarea::placeholder, .input::placeholder { color: var(--muted); }
textarea[aria-invalid="true"], .input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff9b8f; }
.compose-error { margin: 10px 0 0; color: #ff9b8f; font-size: 15px; }
.compose-error[hidden] { display: none; }
.compose-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.compose-send:disabled { opacity: .7; cursor: progress; }
.compose-status:empty { display: none; }
.compose-status { margin-top: 16px; padding: 14px 18px; border-radius: 16px; font-size: 16px; }
.compose-status p { margin: 0; }
.compose-status.ok { background: var(--lime-soft); box-shadow: inset 0 0 0 1px var(--lime-line); color: var(--text); }
.compose-status.fail { background: rgba(255, 107, 107, .1); box-shadow: inset 0 0 0 1px rgba(255, 155, 143, .45); color: #ffd2cc; }
.compose-status a { color: var(--lime-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.compose-alt { margin: 18px 0 0; }
.compose-tg { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.compose-tg:hover { color: var(--lime-2); }
.compose-tg .ico { width: 16px; height: 16px; flex: none; }
.compose-privacy { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.compose-privacy .ico { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.compose-noscript { display: grid; justify-items: start; gap: 12px; margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); }
/* Honeypot: out of sight and out of the tab order; bots fill it, people never see it. */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* ── Service pages ──────────────────────────────────────────────────────── */

.svc-hero { padding: 70px 0 40px; }
.svc-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; min-height: calc(86svh - var(--top)); }
.svc-copy h1 { font-size: clamp(38px, 5vw, 64px); }
.svc-cube { display: grid; place-items: center; }
.svc-cube .scene { --s: min(330px, 30vw); }
.svc-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 34px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.panel-lime { background: linear-gradient(140deg, rgba(134, 201, 24, .16), rgba(134, 201, 24, .03)); box-shadow: inset 0 0 0 1.5px var(--lime-line); }
.panel-lime .h-small:not(:first-child) { margin-top: 26px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; font-size: 17px; }
.ticks .ico { color: var(--lime); margin-top: 3px; }
.for-big { font: 600 22px/1.3 var(--f-head); }

/* ── Footer, mobile bar, 404 ────────────────────────────────────────────── */

.foot { padding: 34px 0 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.mobile-bar { display: none; }
.page-404 { min-height: 100svh; display: grid; place-items: center; }
.nf-card { text-align: center; display: grid; gap: 16px; justify-items: center; padding: 20px; }
.nf-code { font: 700 120px/1 var(--f-head); color: var(--lime); }
.nf-links { display: flex; gap: 18px; }
.nf-links a { color: var(--lime); }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}

@media (max-width: 860px) {
  :root { --top: 60px; }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .top-cta { display: none; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* Phone: only the tabs stay on top; the cube turns quietly behind the text. */
  .story-cube, .cube-sticky { display: contents; }
  .story-steps { grid-column: 1; grid-row: 2; position: relative; z-index: 1; }
  .story .scene { --s: min(86vw, 50svh); position: fixed; left: 50%; top: 58%; z-index: 0; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    opacity: .16; filter: blur(2.5px); pointer-events: none; transition: opacity .6s var(--ease); }
  .story .scene.bg-off { opacity: 0; }
  .cube-dots { grid-column: 1; grid-row: 1; position: sticky; top: var(--top); z-index: 3; display: flex; flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; margin: 0 -20px; padding: 10px 20px 14px; scrollbar-width: none; background: linear-gradient(var(--bg) 75%, rgba(23, 27, 25, 0)); }
  .cube-dots::-webkit-scrollbar { display: none; }
  /* Six circles must fit one row on a 360px phone: each item is as wide as its ring or its label, whichever is wider. */
  .cube-dots { --ring: min(58px, calc((100vw - 48px) / 6 - 6px)); gap: 4px; max-width: none; justify-content: safe center; padding: 8px 14px 12px; }
  .cube-dots li { flex: none; }
  /* Story circles: an icon in a ring; the lime ring is the service you're on. Tap jumps to it. */
  .cube-dots a, .cube-dots a.on { display: grid; justify-items: center; gap: 5px; width: auto; min-width: calc(var(--ring) + 8px); padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--text-2); font-size: 11px; letter-spacing: -.01em; }
  .cube-dots a.on { color: var(--text); font-weight: 600; }
  .dot-name { display: none; }
  .dot-short { display: block; white-space: nowrap; }
  .dot-ring { display: block; width: var(--ring); height: var(--ring); padding: 2.5px; border-radius: 50%; background: var(--line-2); transition: background .3s var(--ease); }
  .on .dot-ring { background: var(--lime); }
  .dot-ring > * { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2.5px solid var(--bg); background: var(--card); color: var(--lime); }
  .dot-ring .ico { width: 22px; height: 22px; }
  .hero-copy { min-height: 0; padding: 20px 0 40px; }
  .scroll-cue { display: none; }
  /* Frosted cards over the background cube. */
  .step { min-height: 0; margin: 0 0 16svh; padding: 26px 22px; border-radius: 24px; background: rgba(34, 40, 36, .5);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-2); }
  .step:last-child { margin-bottom: 8svh; }
  .step { scroll-margin-top: calc(var(--top) + 104px); }
  .js .step { opacity: .55; }
  .js .step.on { opacity: 1; }
  .step-n { margin-bottom: 14px; }
  .hero-sub, .step-lead { font-size: 18px; }
  .config, .compose { grid-template-columns: 1fr; gap: 30px; padding: 30px 20px; border-radius: 26px; }
  .config { padding: 0 20px; background: none; box-shadow: none; border-radius: 0; }
  .compose { width: auto; margin: 0 16px; padding: 28px 18px; }
  .opts, .picks { grid-template-columns: 1fr 1fr; }
  .seg { max-width: none; }
  .config-out { justify-items: stretch; }
  .compose-actions { display: grid; }
  .compose-fields { grid-template-columns: 1fr; gap: 18px; }
  .svc-info, .about, .hsteps { grid-template-columns: 1fr; }
  .about { gap: 30px; }
  .ph-photo, .photo { aspect-ratio: 4 / 3; }
  .svc-grid { grid-template-columns: 1fr; min-height: 0; }
  .svc-cube { order: -1; padding: 10px 0 30px; }
  .svc-cube .scene { --s: min(200px, 50vw); }
  .reels { grid-auto-columns: 62vw; }
  .reel-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 22px; padding: 2px 20px; scrollbar-width: none; }
  .reel-tabs::-webkit-scrollbar { display: none; }
  .reel-tabs button { flex: none; white-space: nowrap; }
  .mobile-bar { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; transition: transform .35s var(--ease), opacity .35s; }
  .mobile-bar .btn { width: 100%; }
  .mobile-bar.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media (max-width: 560px) {
  .cube-dots { justify-content: space-evenly; }
  .hero-ctas .btn { width: 100%; }
  .btn { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.25; padding: 12px 22px; }
  .langs { gap: 0; }
  .lang { padding: 8px 6px; }
  .faq-item p { padding-right: 0; }
}

@media (max-width: 400px) {
  .cube-dots { --ring: 46px; gap: 2px; padding-inline: 10px; }
  .cube-dots a, .cube-dots a.on { min-width: var(--ring); font-size: 10.5px; }
  .top-row { gap: 10px; }
  .wordmark { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
