/* =========================================================
   Clicksmith (clicksmith.ie) — dark editorial, lime + violet.
   ========================================================= */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #0a0a0c;
  --bg-2: #101013;
  --card: #141418;
  --card-2: #1a1a1f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f2f0ea;
  --muted: #8f8d87;
  --lime: #d4ff3f;
  --lime-2: #b8f000;
  --violet: #7c5cff;
  --pink: #ff5ca8;
  --ok: #3ddc97;
  --warn: #ffb547;

  --display: "Syne", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --r: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--lime); color: #000; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- global layers ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: linear-gradient(90deg, var(--violet), var(--lime));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* custom cursor (fine pointers only) */
.cursor { display: none; }
@media (pointer: fine) and (hover: hover) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
  .cursor { display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; }
  .cursor__dot, .cursor__ring {
    position: absolute; left: 0; top: 0; border-radius: 50%;
    transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%);
  }
  .cursor__dot { width: 6px; height: 6px; background: var(--lime); }
  .cursor__ring {
    width: 38px; height: 38px; border: 1px solid rgba(212, 255, 63, .5);
    transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) translate(-50%, -50%);
    display: grid; place-items: center;
    transition: width .4s var(--ease), height .4s var(--ease), background .3s, border-color .3s;
  }
  .cursor__ring b { font: 600 12px/1 var(--mono); color: #000; opacity: 0; transform: scale(.6); transition: .3s var(--ease); }
  .cursor.is-link .cursor__ring { width: 58px; height: 58px; border-color: var(--lime); }
  .cursor.is-view .cursor__ring { width: 92px; height: 92px; background: var(--lime); border-color: var(--lime); }
  .cursor.is-view .cursor__ring b { opacity: 1; transform: none; }
  .cursor.is-view .cursor__dot { opacity: 0; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: #0a0a0c; }
.btn--lime::before { background: #fff; }
.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line::before { background: var(--text); }
.btn--line:hover { color: #0a0a0c; border-color: var(--text); }
.magnetic { will-change: transform; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10, 10, 12, .62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; gap: 36px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--lime); color: #0a0a0c; font: 800 20px/1 var(--display);
  transition: transform .6s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__name { font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.brand__name i, .foot__word i { color: var(--lime); font-style: normal; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--muted); overflow: hidden; height: 1.5em; display: block; }
.nav__links a span { display: block; position: relative; transition: transform .5s var(--ease); }
.nav__links a span::after { content: attr(data-hover); position: absolute; left: 0; top: 100%; color: var(--text); }
.nav__links a:hover span { transform: translateY(-100%); }
.nav__burger, .mnav { display: none; }

/* ---------- small shared ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font: 400 13px/1 var(--mono); color: var(--muted);
  padding: 9px 15px 9px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.kicker { display: flex; align-items: center; gap: 12px; font: 400 13px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; }
.kicker span { color: #0a0a0c; background: var(--lime); padding: 5px 8px; border-radius: 6px; letter-spacing: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.tags li { font: 400 12px/1 var(--mono); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #cfcdc6; }

.link {
  position: relative; display: inline-flex; gap: 8px; align-items: center;
  font-weight: 600; font-size: 15px; text-decoration: none; padding-bottom: 4px;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.link span { transition: transform .4s var(--ease); }
.link:hover span { transform: translate(3px, -3px); color: var(--lime); }

/* browser frame */
.browser { border-radius: 16px; overflow: hidden; background: #1c1c21; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #1c1c21; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.browser__bar i:nth-child(1) { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span {
  margin-left: 10px; flex: 1; max-width: 320px; font: 400 11.5px/1 var(--mono); color: var(--muted);
  background: #121215; border-radius: 6px; padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.browser__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser__view--scroll img { height: auto; object-fit: fill; transform: translateY(0); transition: transform 1.1s var(--ease); will-change: transform; }
.scard__shot:hover .browser__view--scroll img, .scard__shot:focus-visible .browser__view--scroll img {
  transform: translateY(var(--shift, 0)); transition: transform var(--dur, 6s) cubic-bezier(.45, .05, .55, .95);
}

/* fictional demo site inside the hero browser (scales with the frame via cqw) */
.mock {
  container-type: inline-size; background: #f7f1ea; color: #2a1f1a; display: flex; flex-direction: column;
  font-family: var(--sans); overflow: hidden;
}
.mock__nav { display: flex; align-items: center; gap: 4cqw; padding: 2.6cqw 4cqw; }
.mock__logo { font: 400 3.6cqw/1 var(--serif); letter-spacing: -.01em; }
.mock__logo i { color: #d9774b; font-style: normal; }
.mock__links { display: flex; gap: 2.4cqw; margin-left: auto; }
.mock__links i { width: 6cqw; height: .9cqw; border-radius: 1cqw; background: rgba(42, 31, 26, .16); }
.mock__btn {
  display: inline-block; font: 600 1.7cqw/1 var(--sans); padding: 1.5cqw 2.4cqw; border-radius: 99px;
  background: #2a1f1a; color: #f7f1ea; white-space: nowrap;
}
.mock__btn--sm { padding: 1.2cqw 2cqw; font-size: 1.5cqw; }
.mock__btn--ghost { background: transparent; color: #2a1f1a; box-shadow: inset 0 0 0 .2cqw rgba(42, 31, 26, .3); }
.mock__hero { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; padding: 1cqw 4cqw 2cqw; align-items: center; }
.mock__eyebrow { font: 500 1.4cqw/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #d9774b; margin: 0 0 2cqw; }
.mock__title { font: 400 8.6cqw/.92 var(--serif); letter-spacing: -.02em; margin: 0 0 2.6cqw; }
.mock__title em { color: #d9774b; }
.mock__line { display: block; height: 1cqw; width: 80%; border-radius: 1cqw; background: rgba(42, 31, 26, .14); margin-bottom: 1.2cqw; }
.mock__line--s { width: 55%; }
.mock__ctas { display: flex; gap: 1.4cqw; margin-top: 2.6cqw; }
.mock__art {
  position: relative; height: 100%; min-height: 26cqw; border-radius: 3cqw; overflow: hidden;
  background: linear-gradient(160deg, #f3c9a8, #e9a37f 45%, #c76b4a);
}
.mock__orb { position: absolute; border-radius: 50%; filter: blur(.3cqw); }
.mock__orb--a { width: 26cqw; height: 26cqw; right: -6cqw; top: -6cqw; background: radial-gradient(circle at 35% 35%, #fff3e6, #f6c7a4 55%, transparent 70%); animation: orbA 9s ease-in-out infinite alternate; }
.mock__orb--b { width: 16cqw; height: 16cqw; left: 3cqw; bottom: 3cqw; background: radial-gradient(circle at 40% 35%, #ffe7d4, #e48c66 60%, transparent 72%); animation: orbB 7s ease-in-out infinite alternate; }
.mock__orb--c { width: 7cqw; height: 7cqw; left: 46%; top: 30%; background: radial-gradient(circle at 40% 35%, #fff, #f5d2b8 70%); animation: orbA 6s ease-in-out infinite alternate-reverse; }
@keyframes orbA { to { transform: translate(-2.5cqw, 2.5cqw) scale(1.08); } }
@keyframes orbB { to { transform: translate(2cqw, -2cqw) scale(.94); } }
.mock__badge {
  position: absolute; left: 2.4cqw; top: 2.4cqw; display: grid; gap: .6cqw; padding: 1.4cqw 1.8cqw; border-radius: 1.6cqw;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); font: 400 1.5cqw/1.1 var(--sans); color: #2a1f1a;
}
.mock__badge b { font-weight: 600; font-size: 1.3cqw; color: #8a5a44; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 0 4cqw 3cqw; }
.mock__cards span { height: 7cqw; border-radius: 1.8cqw; background: #fff; box-shadow: 0 .6cqw 1.6cqw rgba(42, 31, 26, .08); position: relative; overflow: hidden; }
.mock__cards span::before { content: ""; position: absolute; left: 1.4cqw; top: 1.4cqw; width: 4.2cqw; height: 4.2cqw; border-radius: 1.2cqw; background: linear-gradient(135deg, #f3c9a8, #d9774b); }
.mock__cards span::after { content: ""; position: absolute; left: 7cqw; right: 2cqw; top: 2.4cqw; height: .9cqw; border-radius: 1cqw; background: rgba(42, 31, 26, .14); box-shadow: 0 2cqw 0 -.1cqw rgba(42, 31, 26, .08); }

/* chat bits */
.msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; margin: 0; }
.msg--in { background: #fff; color: #111; border-top-left-radius: 4px; }
.msg--out { background: #d9fdd3; color: #111; border-top-right-radius: 4px; margin-left: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 999px; background: #fff; color: #128c4b; border: 1px solid rgba(18, 140, 75, .25); }
.chips span.on { background: #128c4b; color: #fff; }
.typing { display: flex; gap: 4px; background: #fff; padding: 11px 12px; border-radius: 14px; border-top-left-radius: 4px; width: max-content; margin: 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a9a; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- reveal system ---------- */
[data-anim] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-anim="rise"] { transform: translateY(50px); }
[data-anim="fade"] { transform: translateY(16px); }
[data-anim].in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 55ms); }
.split.in .w > span { transform: none; }
.no-js [data-anim] { opacity: 1; transform: none; }
.no-js .split .w > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 130px 0 90px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__aura { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(80px); opacity: .55; }
.hero__aura i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.hero__aura i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -12%; background: var(--violet); animation: drift1 18s ease-in-out infinite alternate; }
.hero__aura i:nth-child(2) { width: 30vw; height: 30vw; left: 70%; top: 45%; background: #2fd1a0; opacity: .5; animation: drift2 22s ease-in-out infinite alternate; }
.hero__aura i:nth-child(3) { width: 26vw; height: 26vw; left: 30%; top: 60%; background: var(--pink); opacity: .35; animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-20vw, -14vh) scale(.85); } }
@keyframes drift3 { to { transform: translate(18vw, -8vh) scale(1.2); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--bg)); z-index: 0; pointer-events: none; }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; }
.hero__title {
  font: 800 clamp(46px, 6.6vw, 100px)/.92 var(--display); letter-spacing: -.045em;
  margin: 30px 0 30px; text-transform: none;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .word { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero__title .line:nth-child(2) .word { transition-delay: .1s; }
.hero__title .line:nth-child(3) .word { transition-delay: .2s; }
.hero__title .line:nth-child(4) .word { transition-delay: .3s; }
.is-loaded .hero__title .word { transform: none; }
.hero__title em { font-size: 1.08em; color: var(--lime); letter-spacing: -.01em; }
.no-js .hero__title .word { transform: none; }

.rotator { position: relative; height: .98em; min-width: 6ch; }
.rotator__item {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  background: linear-gradient(92deg, var(--lime) 0%, #8dffcf 45%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(105%); opacity: 0;
  transition: transform .9s var(--ease), opacity .6s;
}
.rotator__item.is-on { transform: none; opacity: 1; }
.rotator__item.is-off { transform: translateY(-105%); opacity: 0; }

.hero__lead { font-size: 19px; color: #b5b3ac; max-width: 31em; margin-bottom: 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* 3D stage */
.hero__stage { position: relative; height: 560px; perspective: 1400px; transform-style: preserve-3d; }
.stage__layer { position: absolute; transform-style: preserve-3d; transition: transform .25s linear; }
.stage__browser { left: 0; top: 70px; width: 86%; transform: rotateY(calc(var(--ry, 0) * 1deg - 10deg)) rotateX(calc(var(--rx, 0) * 1deg + 6deg)) translateZ(0); }
.stage__browser .browser { animation: floatA 9s ease-in-out infinite; }
.stage__phone { right: 0; top: 150px; width: 240px; transform: rotateY(calc(var(--ry, 0) * 1.6deg - 10deg)) rotateX(calc(var(--rx, 0) * 1.6deg + 6deg)) translateZ(90px); }
.stage__card {
  left: 4%; bottom: 10px; width: 230px; padding: 14px 16px; border-radius: 16px;
  background: rgba(20, 20, 24, .78); border: 1px solid var(--line-2); backdrop-filter: blur(12px);
  transform: rotateY(calc(var(--ry, 0) * 2deg - 10deg)) rotateX(calc(var(--rx, 0) * 2deg + 6deg)) translateZ(140px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.mini-label { font: 400 11px/1 var(--mono); color: var(--lime); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.lead-row { display: flex; justify-content: space-between; font-size: 13.5px; margin: 0; padding: 7px 0; border-top: 1px solid var(--line); }
.lead-row span { color: var(--muted); }
.lead-row .ok { color: var(--ok); }
.chip-float {
  font: 500 12.5px/1 var(--mono); padding: 10px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
}
.chip-float--a { left: 10%; top: 18px; transform: translateZ(60px) rotateY(calc(var(--ry, 0) * 2deg)); animation: floatB 6s ease-in-out infinite; }
.chip-float--b { right: 22%; top: 40px; transform: translateZ(120px); animation: floatB 7s ease-in-out infinite reverse; }
.chip-float--c { right: 6%; bottom: 0; background: #25d366; color: #052e16; border-color: transparent; transform: translateZ(160px); animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translateY(-12px); } }
@keyframes floatB { 50% { translate: 0 -10px; } }

.phone {
  position: relative; background: #efeae2; border-radius: 36px; padding: 30px 11px 16px;
  border: 7px solid #0d0d10; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line-2);
  animation: floatA 7s ease-in-out infinite reverse;
}
.phone__notch { position: absolute; top: 8px; left: 50%; width: 70px; height: 18px; border-radius: 10px; background: #0d0d10; transform: translateX(-50%); }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 0 6px 10px; border-bottom: 1px solid rgba(0, 0, 0, .07); margin-bottom: 10px; color: #111; }
.phone__head b { display: block; font-size: 13px; }
.phone__head small { font-size: 11px; color: #128c4b; }
.phone__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f6a823; color: #fff; font-weight: 700; font-size: 14px; }
.chat { display: flex; flex-direction: column; gap: 8px; min-height: 230px; }
.chat > * { opacity: 0; transform: translateY(10px) scale(.96); transform-origin: left bottom; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.chat > .show { opacity: 1; transform: none; }
.chat > .gone { display: none; }
.no-js .chat > * { opacity: 1; transform: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--lime); transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- ribbon ---------- */
.ribbon { position: relative; z-index: 3; padding: 40px 0 10px; overflow: hidden; }
.ribbon__row { transform: rotate(-2.4deg); background: var(--lime); color: #0a0a0c; padding: 18px 0; margin: 0 -4vw; }
.ribbon__row--b { transform: rotate(1.6deg) translateY(4px); background: var(--bg-2); color: var(--text); border-block: 1px solid var(--line-2); position: relative; z-index: -1; }
.ribbon__track { display: flex; align-items: center; gap: 34px; width: max-content; white-space: nowrap; font: 700 30px/1 var(--display); letter-spacing: -.02em; animation: marquee 34s linear infinite; }
.ribbon__row--b .ribbon__track { animation-direction: reverse; animation-duration: 40s; font: 400 26px/1 var(--serif); font-style: italic; letter-spacing: 0; }
.ribbon__track b { font-size: 20px; }
.ribbon__row--b .ribbon__track b { color: var(--lime); font-size: 12px; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 140px 0; }
.shead { max-width: 820px; margin-bottom: 72px; }
.shead h2, .about__big { letter-spacing: -.03em; }
.shead h2 { font: 700 clamp(40px, 5.4vw, 76px)/1 var(--display); }
.shead h2 em { color: var(--lime); font-size: 1.06em; }
.shead__sub { color: var(--muted); font-size: 18px; margin: 22px 0 0; max-width: 38em; }

/* ---------- work: stacking cards ---------- */
.stack-cards { display: grid; gap: 28px; }
.scard { position: sticky; top: calc(110px + var(--i) * 26px); }
.scard__in {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center;
  padding: 34px; border-radius: 30px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .7);
  transform: scale(var(--s, 1)); transform-origin: 50% 0; transition: transform .2s linear, filter .2s linear;
  filter: brightness(var(--b, 1));
}
.scard:nth-child(2) .scard__in { background: #16161b; }
.scard:nth-child(3) .scard__in { background: #18181e; }
.scard__shot { display: block; text-decoration: none; }
.scard__shot .browser { transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.scard__shot:hover .browser { transform: translateY(-6px); box-shadow: 0 50px 90px -30px rgba(124, 92, 255, .45); }
.scard__num { font: 400 12.5px/1 var(--mono); color: var(--lime); margin-bottom: 18px; }
.scard__type { font: 400 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.scard h3, .mini h3 { font: 700 clamp(28px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.03em; margin-bottom: 16px; }
.scard__text > p:not([class]), .mini > p:not([class]) { color: #b5b3ac; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 90px; }
.mini { padding: 18px 18px 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease); }
.mini:hover { border-color: var(--line-2); }
.mini .scard__shot { margin-bottom: 24px; }
.mini .scard__num { margin-bottom: 12px; }
.mini h3 { font-size: 26px; margin-bottom: 10px; }
.mini > p:not([class]) { font-size: 15.5px; }

/* ---------- spotlight hover (cards) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 255, 63, .09), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

/* ---------- systems: bento ---------- */
.section--systems { background: radial-gradient(1000px 500px at 80% 0%, rgba(124, 92, 255, .12), transparent 70%); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard { border-radius: 26px; background: var(--card); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; transition: border-color .4s, transform .6s var(--ease); }
.bcard:hover { border-color: rgba(212, 255, 63, .3); }
.bcard--wide { grid-column: span 2; display: grid; grid-template-columns: 1.45fr 1fr; gap: 26px; align-items: stretch; }
.bcard--wide .bcard__demo { height: 100%; min-height: 260px; }
.bcard--wide .bcard__text { align-self: center; }
.bcard--wide .demo-crm { height: 270px; min-height: 0; align-self: center; }
.bcard h3 { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; margin: 22px 0 10px; }
.bcard--wide h3 { margin-top: 0; }
.bcard p { color: var(--muted); font-size: 15.5px; }
.tags--dark { margin-bottom: 4px; }
.bcard__demo { height: 240px; border-radius: 16px; overflow: hidden; position: relative; border: 1px solid var(--line); padding: 18px; }

.demo-chat {
  background: #0b141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff12'/%3E%3C/svg%3E");
  display: flex; flex-direction: column; gap: 10px;
}
.demo-chat .msg--in { background: #202c33; color: #e9edef; }
.demo-chat .msg--out { background: #005c4b; color: #e9edef; }
.demo-chat .chips span { background: transparent; color: #53bdeb; border-color: rgba(83, 189, 235, .35); }
.demo-chat .chips span.on { background: #53bdeb; color: #0b141a; }
.demo-chat > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.demo-chat > .show { opacity: 1; transform: none; }
.no-js .demo-chat > * { opacity: 1; transform: none; }
.sheet { margin-top: auto; background: #fff; border-radius: 8px; padding: 8px; color: #111; }
.sheet__tabs { display: flex; gap: 6px; font-size: 11px; margin-bottom: 6px; }
.sheet__tabs b { background: #e6f4ea; color: #137333; padding: 2px 8px; border-radius: 4px; }
.sheet__tabs span { color: #777; padding: 2px 8px; }
.sheet__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; padding: 5px 0; border-top: 1px solid #eee; }
.sheet__row i { height: 7px; border-radius: 4px; background: #e3e0d8; }
.sheet__row--new i { background: #9fdcb3; }
.demo-chat > .sheet.show .sheet__row--new { animation: rowIn .8s var(--ease) both .2s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); background: #eaffef; } to { opacity: 1; transform: none; } }

.demo-crm { background: #f5f4ef; color: #111; display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: 1fr auto; gap: 10px; }
.crm__side { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.crm__row { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 9px; padding: 7px 10px; font-size: 12.5px; }
.crm__row em { font: 600 11.5px/1 var(--mono); font-style: normal; padding: 4px 8px; border-radius: 999px; }
.crm__row .ok { background: #e3f5ec; color: #148a57; }
.crm__row .warn { background: #fff1dc; color: #b8681b; animation: blink 2.4s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 4px rgba(255, 181, 71, .25); } }
.crm__map {
  position: relative; border-radius: 10px; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49%, #e2ded2 49% 51%, transparent 51%) 0 0 / 50px 100%,
    linear-gradient(0deg, transparent 47%, #e2ded2 47% 53%, transparent 53%) 0 0 / 100% 34px, #ecE9e0;
}
.crm__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.bcard.in .route { animation: draw 3s var(--ease) forwards .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.crm__map i { position: absolute; width: 11px; height: 11px; margin: -5px; border-radius: 50%; background: var(--violet); border: 2px solid #fff; }
.crm__map i.me { background: var(--warn); animation: me 2s infinite; }
@keyframes me { 0% { box-shadow: 0 0 0 0 rgba(255, 181, 71, .6); } 100% { box-shadow: 0 0 0 14px rgba(255, 181, 71, 0); } }
.crm__bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.crm__bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--violet), #b6a6ff); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.bcard.in .crm__bars i { transform: none; }
.crm__bars i:nth-child(2) { transition-delay: .08s; } .crm__bars i:nth-child(3) { transition-delay: .16s; } .crm__bars i:nth-child(4) { transition-delay: .24s; }
.crm__bars i:nth-child(5) { transition-delay: .32s; } .crm__bars i:nth-child(6) { transition-delay: .4s; } .crm__bars i:nth-child(7) { transition-delay: .48s; }

.demo-flow { background: #0f0f12; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 0; }
.flow__col { display: grid; gap: 10px; }
.flow__wire { min-width: 36px; }
.flow__col span, .flow__hub span { font: 500 11.5px/1.2 var(--mono); padding: 8px 10px; border-radius: 9px; background: var(--card-2); border: 1px solid var(--line-2); white-space: nowrap; }
.flow__hub span { display: block; text-align: center; background: var(--lime); color: #0a0a0c; border-color: var(--lime); padding: 14px; animation: hub 2.4s ease-in-out infinite; }
@keyframes hub { 50% { box-shadow: 0 0 0 10px rgba(212, 255, 63, .12); } }
.flow__wire { height: 120px; }
.flow__wire svg { width: 100%; height: 100%; }
.flow__wire path { fill: none; stroke: rgba(212, 255, 63, .55); stroke-width: 1.5; stroke-dasharray: 4 6; animation: flow 1.2s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* ---------- pricing ---------- */
.section--pricing { background: linear-gradient(var(--bg), #0d0d10 30%, var(--bg)); }
.included { border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(212, 255, 63, .08), rgba(124, 92, 255, .08)); padding: 26px; margin-bottom: 26px; }
.included__title { font: 400 12.5px/1 var(--mono); color: var(--lime); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.included__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.included__list li { display: grid; gap: 4px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.included__list .ico { font: 400 11px/1 var(--mono); color: var(--muted); margin-bottom: 8px; }
.included__list b { font: 700 17px/1.2 var(--display); letter-spacing: -.01em; }
.included__list small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }

.plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 22px; align-items: stretch; }
.plan { border-radius: 28px; background: var(--card); border: 1px solid var(--line); padding: 30px 28px 28px; display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .4s; }
.plan:hover { transform: translateY(-8px); border-color: var(--line-2); }
.plan__name { font: 400 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; font: 800 64px/1 var(--display); letter-spacing: -.05em; margin-bottom: 16px; }
.plan__price small { font: 400 15px/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.plan__price--sm { font-size: 46px; margin: 0; }
.plan__for { color: var(--muted); font-size: 15.5px; min-height: 3.2em; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.plan__list { display: grid; gap: 12px; font-size: 15px; margin-bottom: 28px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(212, 255, 63, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ff3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan__inc { color: var(--lime); font-size: 14px; }
.plan__inc::before { background: transparent !important; }
.crm-only { display: none; }
.plan.is-crm .crm-only { display: list-item; animation: popIn .5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateX(-10px); } }

.plan--hot { background: #121216; border-color: transparent; position: relative; }
.plan--hot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--angle), var(--lime), var(--violet), var(--pink), var(--lime));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.plan__glow { position: absolute; inset: 0; border-radius: inherit; z-index: -2; background: radial-gradient(400px 200px at 50% 0%, rgba(124, 92, 255, .25), transparent 70%); pointer-events: none; }
.plan__badge { position: absolute; top: -14px; left: 28px; margin: 0; background: var(--lime); color: #0a0a0c; font: 600 12px/1 var(--mono); padding: 8px 12px; border-radius: 999px; }

.toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #0a0a0c; border: 1px solid var(--line-2); margin-bottom: 22px; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 600 13.5px/1 var(--sans); padding: 11px 8px; border-radius: 999px; cursor: pointer; transition: color .4s; }
.toggle button[aria-checked="true"] { color: #0a0a0c; }
.toggle__knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--lime); transition: transform .5s var(--ease); }
.plan.is-crm .toggle__knob { transform: translateX(100%); }

.extras { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: 22px; }
.care { border-radius: 28px; background: var(--card); border: 1px solid var(--line); padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; transition: border-color .4s; }
.care:hover { border-color: var(--line-2); }
.care h3 { font: 700 30px/1.05 var(--display); letter-spacing: -.03em; margin-bottom: 14px; }
.care__head .plan__name { margin-bottom: 12px; }
.care__list { display: grid; gap: 10px; font-size: 15px; }
.care__list li { position: relative; padding-left: 22px; }
.care__list li::before { content: "→"; position: absolute; left: 0; color: var(--lime); }
.care:first-child { background: linear-gradient(135deg, #17171c, #121216); }
.fine { margin: 28px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- process timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 50px; }
.timeline__line { position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.timeline__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--violet), var(--lime)); transform-origin: 0 50%; transform: scaleX(var(--tp, 0)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; top: -43px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: background .5s, border-color .5s, box-shadow .5s; }
.timeline li.lit::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 6px rgba(212, 255, 63, .15); }
.timeline b { font: 400 13px/1 var(--mono); color: var(--lime); }
.timeline h3 { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; margin: 14px 0 10px; }
.timeline p { color: var(--muted); font-size: 15.5px; }

/* ---------- about ---------- */
.about__big { font: 600 clamp(28px, 3.6vw, 50px)/1.18 var(--display); margin: 0; max-width: 24em; }
.about__big .aw { opacity: .38; transition: opacity .3s; } /* .38 keeps unlit words above 3:1 contrast */
.about__big .aw.on { opacity: 1; }
.about__tags { margin-top: 40px; }
.no-js .about__big .aw { opacity: 1; }
/* ---------- certificates ---------- */
.section--certs { padding-top: 40px; overflow: hidden; background: radial-gradient(800px 480px at 100% 30%, rgba(124, 92, 255, .12), transparent 70%); }
.ribbon--certs { padding: 30px 0 110px; z-index: 1; }
.ribbon--certs .ribbon__row { transform: rotate(1.8deg); }
.ribbon--certs .ribbon__track { animation-duration: 38s; }
.certs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "g t" "p t"; gap: 28px 64px; align-items: start; }
.cert--g { grid-area: g; }
.cert--py { grid-area: p; }
.ctl-wrap { grid-area: t; }
.cert { position: relative; isolation: isolate; padding: 40px; border-radius: 30px; background: #111115; min-width: 0; }
.cert::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--angle), var(--lime), var(--violet), var(--pink), var(--lime));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 8s linear infinite;
}
.cert--py::after { animation-direction: reverse; }
.cert__glow { position: absolute; inset: 0; border-radius: inherit; z-index: -2; pointer-events: none; background: radial-gradient(460px 280px at 0% 0%, rgba(212, 255, 63, .10), transparent 70%), radial-gradient(460px 300px at 100% 100%, rgba(124, 92, 255, .20), transparent 70%); }
.cert__badge { display: inline-block; margin: 0 0 22px; background: var(--lime); color: #0a0a0c; font: 600 12.5px/1 var(--mono); padding: 9px 14px; border-radius: 999px; letter-spacing: .02em; }
.cert__title { font: 700 clamp(30px, 3.2vw, 48px)/1.02 var(--display); letter-spacing: -.035em; margin: 0 0 18px; text-wrap: balance; }
.cert__title em { font-style: normal; color: var(--lime); }
.cert__sub { color: #b5b3ac; font-size: 16px; margin: 0 0 26px; }
.cert__sub b { color: var(--text); font-weight: 600; }
.cert__stats { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); }
.cert__stats dt { font: 400 11.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.cert__stats dd { margin: 0; font: 800 clamp(26px, 2.5vw, 36px)/1 var(--display); letter-spacing: -.04em; }
.cert__label { display: flex; justify-content: space-between; gap: 12px; font: 400 12.5px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 4px 0 18px 40px; }
.cert__label span { color: var(--lime); text-transform: none; letter-spacing: 0; white-space: nowrap; }

/* the course path: a line that draws itself while scrolling */
.ctl { position: relative; list-style: none; margin: 0; padding: 0 0 0 40px; }
.ctl__line { position: absolute; left: 7px; top: 26px; bottom: 30px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.ctl__line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--violet), var(--lime)); transform-origin: 50% 0; transform: scaleY(var(--cp, 0)); }
.ctl li { position: relative; }
.ctl li::before { content: ""; position: absolute; left: -40px; top: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: background .5s, border-color .5s, box-shadow .5s; }
.ctl li.lit::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 6px rgba(212, 255, 63, .15); }
.ctl a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; column-gap: 16px; padding: 12px 14px; margin-bottom: 6px; border-radius: 14px; text-decoration: none; transition: background .3s, transform .4s var(--ease); }
.ctl a:hover { background: rgba(255, 255, 255, .045); transform: translateX(6px); }
.ctl__meta { grid-column: 1; font: 400 12px/1 var(--mono); color: var(--muted); letter-spacing: .04em; margin-bottom: 8px; }
.ctl__meta b { color: var(--lime); font-weight: 500; margin-right: 10px; }
.ctl__title { grid-column: 1; font-weight: 500; font-size: 16px; line-height: 1.35; }
.ctl a svg { grid-column: 2; grid-row: 1 / span 2; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .4s var(--ease); }
.ctl a:hover svg { stroke: var(--lime); transform: translate(2px, -2px); }
.ctl__final { margin-top: 10px; }
.ctl__final::before { top: 26px !important; width: 22px !important; height: 22px !important; left: -43px !important; }
.ctl__final a { background: var(--lime); color: #0a0a0c; padding: 18px 20px; }
.ctl__final a:hover { background: #e4ff7a; }
.ctl__final .ctl__meta { color: rgba(10, 10, 12, .65); }
.ctl__final .ctl__title { font: 700 18px/1.25 var(--display); letter-spacing: -.01em; }
.ctl__final a svg { stroke: #0a0a0c; }
.ctl__final a:hover svg { stroke: #0a0a0c; }

@media (max-width: 1000px) {
  .certs { grid-template-columns: minmax(0, 1fr); grid-template-areas: "g" "t" "p"; gap: 48px; }
}
@media (max-width: 600px) {
  .ribbon--certs { padding-bottom: 80px; }
  .cert { padding: 28px 20px; border-radius: 24px; }
  .cert__title { font-size: 30px; }
  .cert__stats { gap: 14px 18px; }
  .cert__stats dt { font-size: 10.5px; }
  .cert__stats dd { font-size: 22px; }
  .cert__label { margin-left: 0; }
  .cert__label span { display: none; }
  .ctl { padding-left: 30px; }
  .ctl__line { left: 5px; }
  .ctl li::before { left: -30px; width: 14px; height: 14px; }
  .ctl__final::before { left: -33px !important; width: 20px !important; height: 20px !important; }
  .ctl a { padding: 12px 8px; }
  .ctl a:hover { transform: none; }
  .ctl__title { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .cert::after { animation: none; } }

/* ---------- contact ---------- */
.section--contact { padding-top: 100px; overflow: hidden; background: radial-gradient(900px 500px at 20% 100%, rgba(124, 92, 255, .16), transparent 70%); }
.mega { font: 800 clamp(80px, 17vw, 260px)/.86 var(--display); letter-spacing: -.06em; margin-bottom: 70px; }
.mega__row { display: flex; align-items: center; gap: 3vw; transform: translateX(var(--mx, 0)); }
.mega__row--b { justify-content: flex-end; transform: translateX(calc(var(--mx, 0) * -1)); }
.mega em { color: var(--lime); letter-spacing: -.03em; }
.mega__btn {
  flex: none; display: grid; place-items: center; width: clamp(90px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%;
  background: var(--lime); color: #0a0a0c; text-decoration: none; transition: transform .6s var(--ease), background .3s;
}
.mega__btn:hover { background: #fff; }
.mega__btn svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.mega__btn:hover svg { transform: rotate(45deg); }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact__intro p { color: #b5b3ac; font-size: 19px; }
.contact__direct { margin-top: 34px; }
.contact__direct li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.contact__direct span { font: 400 12.5px/1 var(--mono); color: var(--muted); width: 90px; text-transform: uppercase; }
.contact__direct a { font: 600 24px/1.1 var(--display); text-decoration: none; letter-spacing: -.02em; transition: color .3s; }
.contact__direct a:hover { color: var(--lime); }

.form { border-radius: 28px; padding: 30px; background: var(--card); border: 1px solid var(--line-2); display: grid; gap: 18px; }
.form__need { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.form__need legend { font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.form__need input { position: absolute; opacity: 0; pointer-events: none; }
.form__need span { display: inline-block; padding: 10px 15px; border-radius: 999px; font-size: 14px; cursor: pointer; border: 1px solid var(--line-2); transition: all .3s var(--ease); }
.form__need span:hover { border-color: var(--text); }
.form__need input:checked + span { background: var(--lime); color: #0a0a0c; border-color: var(--lime); transform: scale(1.04); }
.form__need input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--text); background: #0e0e11;
  border: 1px solid var(--line-2); border-radius: 14px; padding: 24px 16px 10px; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field span { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(212, 255, 63, .1); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.78); color: var(--lime); }
.field.is-bad input { border-color: #ff5f57; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.form__note { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form__note.ok { color: var(--ok); }
.form__note.bad { color: #ff7a73; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-top: 40px; overflow: hidden; }
.foot__word {
  font: 800 clamp(32px, 10vw, 150px)/.95 var(--display); letter-spacing: -.06em; white-space: nowrap; margin: 0 0 10px; padding-bottom: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
  background: linear-gradient(90deg, var(--text) 0 var(--fp, 0%), transparent var(--fp, 0%)); -webkit-background-clip: text; background-clip: text;
}
.foot__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__stage { height: 520px; max-width: 680px; }
  .included__list { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan--hot { grid-column: 1 / -1; order: -1; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; gap: 6px; margin-left: auto; width: 46px; height: 46px; place-content: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; }
  .nav__burger span { width: 18px; height: 2px; background: var(--text); transition: transform .4s var(--ease); }
  .nav.is-open { background: rgba(10, 10, 12, .96); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mnav { display: grid; padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), padding .5s var(--ease); }
  .nav.is-open .mnav { max-height: 460px; padding: 6px 16px 24px; }
  .mnav a:not(.btn) { padding: 14px 0; text-decoration: none; font: 700 26px/1 var(--display); border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 16px; }

  .section { padding: 96px 0; }
  .scard { position: relative; top: auto; }
  .scard__in { grid-template-columns: 1fr; gap: 26px; padding: 18px 18px 24px; border-radius: 24px; transform: none; filter: none; }
  .mini-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .bento { grid-template-columns: 1fr; }
  .bcard--wide { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .bcard--wide h3 { margin-top: 22px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .timeline__line { display: none; }
  .timeline li::before { top: -26px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .care { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; min-height: 0; }
  .hero__lead { font-size: 17px; }
  .hero__ctas .btn { width: 100%; }
  .hero__stage { height: 430px; }
  .stage__browser { width: 94%; top: 50px; }
  .stage__phone { width: 205px; top: 96px; right: -4px; }
  .phone { padding: 26px 8px 12px; border-radius: 30px; }
  .phone__head b { font-size: 12px; }
  .phone .chips span { font-size: 11px; padding: 5px 8px; }
  .stage__card { display: none; }
  .chip-float--c { left: 2%; right: auto; bottom: 40px; }
  .hero__stage { height: 500px; }
  .scroll-cue { display: none; }
  .chip-float--b { display: none; }
  .chat { min-height: 200px; }
  .msg { font-size: 12.5px; }
  .ribbon__track { font-size: 22px; }
  .ribbon__row--b .ribbon__track { font-size: 20px; }
  .included__list { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan__price { font-size: 54px; }
  .timeline { grid-template-columns: 1fr; }
  .demo-flow { grid-template-columns: 1fr; gap: 10px; justify-items: center; height: auto; }
  .flow__wire { display: none; }
  .flow__col { grid-auto-flow: column; }
  .form { padding: 20px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .mega { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-anim], .split .w > span, .hero__title .word, .chat > *, .demo-chat > * { opacity: 1 !important; transform: none !important; }
  .about__big .aw { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- legal links, form note ---------- */
.form__privacy { margin: 0; font-size: 13px; color: var(--muted); }
.form__privacy a, .legal a { color: var(--lime); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; }
.foot__legal a, .foot__legal button { color: #cfcdc6; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.foot__legal a:hover, .foot__legal button:hover { color: var(--lime); }

/* ---------- cookie banner & dialog ---------- */
.cc {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 140; margin-inline: auto; max-width: 980px;
  display: flex; align-items: center; gap: 22px; padding: 18px 20px; border-radius: 20px;
  background: rgba(20, 20, 24, .94); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: ccIn .7s var(--ease);
}
.cc[hidden] { display: none; }
@keyframes ccIn { from { opacity: 0; transform: translateY(30px); } }
.cc__text { margin: 0; font-size: 14.5px; color: #cfcdc6; flex: 1; }
.cc__text b { color: var(--text); }
.cc__text a { color: var(--lime); }
.cc__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cc__btn {
  font: 600 14px/1 var(--sans); padding: 13px 18px; border-radius: 999px; cursor: pointer;
  background: var(--text); color: #0a0a0c; border: 1px solid var(--text); transition: background .3s, color .3s;
}
.cc__btn:hover { background: var(--lime); border-color: var(--lime); }
.cc__btn--link { background: transparent; color: var(--text); border-color: var(--line-2); }
.cc__btn--link:hover { color: #0a0a0c; }
.ccd { width: min(520px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: var(--card); color: var(--text); }
.ccd::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
.ccd__in { padding: 28px; display: grid; gap: 14px; }
.ccd h2 { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; }
.ccd p { color: var(--muted); font-size: 14.5px; margin: 0 0 4px; }
.ccd__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.ccd__row b { display: block; font-size: 15px; }
.ccd__row small { color: var(--muted); font-size: 13px; }
.ccd__row input { appearance: none; flex: none; width: 46px; height: 26px; border-radius: 99px; background: #2a2a31; position: relative; cursor: pointer; transition: background .3s; }
.ccd__row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.ccd__row input:checked { background: var(--lime); }
.ccd__row input:checked::after { transform: translateX(20px); background: #0a0a0c; }
.ccd__row input:disabled { opacity: .55; cursor: not-allowed; }
.ccd .cc__btns { margin-top: 8px; }
@media (max-width: 700px) {
  .cc { flex-direction: column; align-items: stretch; gap: 14px; }
  .cc__btns { display: grid; grid-template-columns: 1fr 1fr; }
  .cc__btns .cc__btn--link { grid-column: 1 / -1; order: 3; }
  .ccd .cc__btns { grid-template-columns: 1fr; }
}

/* ---------- legal pages ---------- */
.legal-page .nav { background: rgba(10, 10, 12, .8); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.legal { padding: 140px 0 100px; }
.legal__in { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.legal__toc { position: sticky; top: 110px; display: grid; gap: 4px; font-size: 14px; }
.legal__toc p { font: 400 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.legal__toc a { color: #cfcdc6 !important; text-decoration: none; padding: 5px 0; }
.legal__toc a:hover { color: var(--lime) !important; }
.legal h1 { font: 800 clamp(40px, 6vw, 80px)/1 var(--display); letter-spacing: -.04em; margin-bottom: 14px; }
.legal__meta { font: 400 13px/1.5 var(--mono); color: var(--muted); margin-bottom: 40px; }
.legal__body { max-width: 760px; }
.legal__body h2 { font: 700 26px/1.2 var(--display); letter-spacing: -.02em; margin: 52px 0 14px; scroll-margin-top: 100px; }
.legal__body h3 { font: 600 18px/1.3 var(--sans); margin: 26px 0 8px; scroll-margin-top: 100px; }
.legal__body p, .legal__body li { color: #c4c2bb; font-size: 16px; }
.legal__body ul, .legal__body ol { margin: 0 0 1em; padding-left: 22px; list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body li { margin-bottom: 6px; }
.legal__body strong { color: var(--text); }
.legal__note { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(212, 255, 63, .3); background: rgba(212, 255, 63, .05); }
.legal__body table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 20px; }
.legal__body th, .legal__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: #c4c2bb; }
.legal__body th { color: var(--text); font-weight: 600; }
.legal-page .foot__word { display: none; }
@media (max-width: 900px) {
  .legal { padding-top: 110px; }
  .legal__in { grid-template-columns: 1fr; gap: 20px; }
  .legal__toc { display: none; }
  .legal__body table { display: block; overflow-x: auto; }
}

/* form honeypot (hidden from people, bots fill it) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- floating WhatsApp button ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.wa-fab__icon {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .35), 0 2px 8px rgba(0, 0, 0, .4);
  transition: transform .4s var(--ease);
}
.wa-fab__icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: waPulse 2.4s ease-out infinite;
}
.wa-fab__label {
  font: 500 14px/1 var(--sans); color: #0a0a0c; background: #f3efe6; padding: 10px 14px; border-radius: 999px;
  white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease); box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.wa-fab:hover .wa-fab__icon, .wa-fab:focus-visible .wa-fab__icon { transform: scale(1.08) rotate(-6deg); }
.wa-fab:hover .wa-fab__label, .wa-fab:focus-visible .wa-fab__label { opacity: 1; transform: none; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
/* keep it out of the way while the cookie banner is open */
body:has(.cc:not([hidden])) .wa-fab { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 700px) {
  .wa-fab { right: 16px; bottom: 16px; }
  .wa-fab__icon { width: 54px; height: 54px; }
  .wa-fab__label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab__icon::before { animation: none; } }

/* =========================================================
   Service pages (/web-design/, /shopify/ …) — built by _tools/services/build.py
   ========================================================= */
.svc-page .nav { background: rgba(10, 10, 12, .62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.svc-hero { position: relative; padding: 170px 0 40px; overflow: hidden; }
.svc-hero + .section { padding-top: 90px; }
.svc-hero .hero__aura { opacity: .38; }
.svc-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.svc-hero .wrap { position: relative; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 400 12.5px/1 var(--mono); color: var(--muted); margin: 0 0 34px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.crumbs span[aria-hidden] { opacity: .5; }
.svc-hero h1 { font: 800 clamp(44px, 7vw, 108px)/.94 var(--display); letter-spacing: -.045em; max-width: 13ch; margin: 0 0 30px; }
.svc-hero h1 em { color: var(--lime); font-size: 1.06em; letter-spacing: -.01em; }
.svc-hero__lead { font-size: 20px; color: #b5b3ac; max-width: 34em; margin-bottom: 36px; }
.svc-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.svc-price { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.svc-price small { font: 400 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.svc-price b { font: 800 44px/1 var(--display); letter-spacing: -.04em; color: var(--text); }
.svc-price i { font-style: normal; color: var(--muted); font-size: 15px; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { border-radius: 24px; background: var(--card); border: 1px solid var(--line); padding: 28px 26px; transition: border-color .4s, transform .6s var(--ease); }
.feat:hover { border-color: rgba(212, 255, 63, .3); transform: translateY(-4px); }
.feat b { display: block; font: 400 12px/1 var(--mono); color: var(--lime); margin-bottom: 26px; }
.feat h3 { font: 700 23px/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.feat p { color: var(--muted); font-size: 15.5px; margin: 0; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit__col { border-radius: 26px; border: 1px solid var(--line-2); padding: 30px 28px; background: var(--bg-2); }
.fit__col--yes { background: linear-gradient(140deg, rgba(212, 255, 63, .07), rgba(124, 92, 255, .06)); }
.fit__col h3 { font: 400 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; }
.fit__col--yes h3 { color: var(--lime); }
.fit__col li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: #d8d6cf; }
.fit__col li::before { content: "→"; position: absolute; left: 0; top: 12px; color: var(--lime); font-family: var(--mono); }
.fit__col:not(.fit__col--yes) li::before { content: "·"; color: var(--muted); font-size: 22px; line-height: 1; }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cases .mini { margin: 0; }
.cases .mini h3 { font-size: 24px; }

.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font: 700 clamp(19px, 2vw, 24px)/1.25 var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); font: 400 22px/1 var(--mono); color: var(--lime); transition: transform .5s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(212, 255, 63, .08); }
.faq summary:hover { color: var(--lime); }
.faq details > div { padding: 0 60px 26px 0; color: #b5b3ac; }
.faq details > div p:last-child { margin-bottom: 0; }

.more-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.more-svc a { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color .4s, transform .6s var(--ease); }
.more-svc a:hover { border-color: rgba(212, 255, 63, .35); transform: translateY(-4px); }
.more-svc small { font: 400 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.more-svc b { font: 700 21px/1.15 var(--display); letter-spacing: -.02em; }
.more-svc span { color: var(--lime); font: 400 13px/1 var(--mono); margin-top: auto; padding-top: 10px; }

.foot__svc { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot__svc b { font: 400 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 400; }
.foot__svc a { color: #cfcdc6; }
.plan__more { display: inline-block; margin: 14px auto 0; font: 400 12.5px/1 var(--mono); color: var(--muted); text-decoration: none; align-self: center; }
.plan__more:hover { color: var(--lime); }
.care__more { grid-column: 1 / -1; justify-self: start; font: 400 12.5px/1 var(--mono); color: var(--muted); text-decoration: none; }
.care__more:hover { color: var(--lime); }

@media (max-width: 1100px) {
  .feats, .cases { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .svc-hero { padding: 130px 0 20px; }
  .svc-hero + .section { padding-top: 70px; }
  .fit { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feats, .cases { grid-template-columns: 1fr; }
  .svc-hero__lead { font-size: 17px; }
  .svc-hero__row .btn { width: 100%; }
  .faq details > div { padding-right: 0; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; padding: 140px 0 80px; position: relative; overflow: hidden; }
.nf .wrap { position: relative; z-index: 2; }
.nf__code { font: 800 clamp(120px, 26vw, 340px)/.8 var(--display); letter-spacing: -.06em; margin: 0 0 30px; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); }
.nf__code em { -webkit-text-stroke: 0; color: var(--lime); }
.nf h1 { font: 700 clamp(30px, 4.4vw, 56px)/1.05 var(--display); letter-spacing: -.03em; margin-bottom: 16px; }
.nf p:not(.nf__code) { color: #b5b3ac; font-size: 19px; max-width: 30em; margin-bottom: 34px; }
.nf__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

/* ---------- case studies (/work/...) — built by _tools/cases/build.py ---------- */
.case-type { font: 400 12.5px/1 var(--mono); color: var(--lime); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 22px; }
.svc-hero h1 { text-wrap: balance; }
.case-glance-sec { padding: 60px 0 40px; }
.case-glance { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.case-meta { margin: 0; }
.case-meta > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.case-meta > div:last-child { border-bottom: 1px solid var(--line); }
.case-meta dt { font: 400 12.5px/1.5 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.case-meta dd { margin: 0; font-weight: 500; }
.case-meta a { text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.case-meta a:hover { color: var(--lime); }
.case-prose { max-width: 780px; font-size: 20px; color: #cfcdc6; }
.case-blocks { display: grid; gap: 0; }
.case-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 40px 0; border-top: 1px solid var(--line-2); }
.case-block:last-child { border-bottom: 1px solid var(--line-2); }
.case-block h3 { font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -.025em; position: sticky; top: 110px; align-self: start; }
.case-block p { color: #b5b3ac; }
.case-block p:last-child { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.stat { border-radius: 24px; border: 1px solid var(--line-2); padding: 28px 26px; background: linear-gradient(140deg, rgba(212, 255, 63, .06), rgba(124, 92, 255, .06)); }
.stat b { display: block; font: 800 clamp(44px, 5vw, 68px)/1 var(--display); letter-spacing: -.045em; color: var(--lime); margin-bottom: 14px; }
.stat span { color: #b5b3ac; font-size: 15.5px; }
.link--case { margin-left: 22px; color: var(--lime); }
@media (max-width: 900px) {
  .case-glance, .case-block { grid-template-columns: 1fr; gap: 26px; }
  .case-glance-sec { padding: 40px 0 20px; }
  .case-block { padding: 30px 0; gap: 14px; }
  .case-block h3 { position: static; }
  .case-prose { font-size: 18px; }
}
@media (max-width: 600px) {
  .case-meta > div { grid-template-columns: 92px 1fr; }
}
/* in the narrow portfolio cards the second link goes on its own line */
.mini .link--case { display: flex; width: max-content; margin: 14px 0 0; }

/* ---------- case pages: quiet background details (body.case-page) ----------
   Blueprint columns, big outlined section numbers, a tick line on top of each
   section, soft colour glows and an orbit in the hero. CSS only; everything
   sits behind the content and stops moving with prefers-reduced-motion. */
.case-page main { counter-reset: sec; }
.case-page main::before {
  content: ""; position: fixed; top: 0; bottom: 0; left: 50%; z-index: -1; pointer-events: none;
  width: min(var(--wrap), 100% - 32px); transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 25% 100%;
  border-right: 1px solid rgba(255, 255, 255, .05);
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.case-page .svc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .17) 1px, transparent 1.6px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 88% 38%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 70% at 88% 38%, #000 5%, transparent 70%);
}
.orbit { position: absolute; right: max(3%, calc(50% - 590px)); top: 130px; width: 320px; aspect-ratio: 1; z-index: 1; pointer-events: none; }
.orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .11); animation: orbit 28s linear infinite; }
.orbit i::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px var(--lime); }
.orbit i:nth-child(2) { inset: 19%; border-style: dashed; border-color: rgba(124, 92, 255, .4); animation-duration: 19s; animation-direction: reverse; }
.orbit i:nth-child(2)::after { background: var(--violet); box-shadow: 0 0 16px var(--violet); }
.orbit i:nth-child(3) { inset: 40%; border-color: rgba(212, 255, 63, .22); animation: none; }
.orbit i:nth-child(3)::after { display: none; }
@keyframes orbit { to { transform: rotate(360deg); } }

.case-page main > .section:not(.case-glance-sec):not(.section--contact) { counter-increment: sec; }
/* tick line with small crosses where it meets the columns */
.case-page main > .section:not(.case-glance-sec):not(.section--contact)::before {
  content: ""; position: absolute; top: 0; left: 50%; height: 9px; pointer-events: none;
  width: min(var(--wrap), 100% - 32px); transform: translateX(-50%);
  background:
    linear-gradient(var(--lime), var(--lime)) 0 4px / 46px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)) calc(25% - 2px) 4px / 9px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)) 25% 0 / 1px 9px no-repeat,
    linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)) 50% 4px / 9px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)) 50% 0 / 1px 9px no-repeat,
    linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)) calc(75% + 2px) 4px / 9px 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)) 75% 0 / 1px 9px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)) 0 4px / 100% 1px no-repeat;
}
/* big outlined section number */
.case-page main > .section:not(.case-glance-sec):not(.section--contact)::after {
  content: counter(sec, decimal-leading-zero);
  position: absolute; right: max(16px, calc(50% - 620px)); top: 64px; z-index: -1; pointer-events: none; user-select: none;
  font: 800 clamp(150px, 23vw, 360px)/.8 var(--display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
}
@supports (animation-timeline: view()) {
  .case-page main > .section:not(.case-glance-sec):not(.section--contact)::after { animation: ghostnum linear both; animation-timeline: view(); }
  @keyframes ghostnum { from { transform: translateY(110px); } to { transform: translateY(-110px); } }
}
/* soft glows, alternating sides */
.case-page main > .section:nth-of-type(odd):not(.section--contact) { background: radial-gradient(720px 440px at 100% 35%, rgba(124, 92, 255, .11), transparent 70%); }
.case-page main > .section:nth-of-type(even):not(.section--contact):not(.case-glance-sec) { background: radial-gradient(640px 400px at 0% 65%, rgba(212, 255, 63, .05), transparent 70%); }
.case-page main > .svc-hero { background: none; }

@media (max-width: 900px) {
  .case-page main::before { background-size: 50% 100%; }
  .orbit { width: 200px; right: -50px; top: 96px; opacity: .8; }
  .case-page main > .section:not(.case-glance-sec):not(.section--contact)::before {
    background:
      linear-gradient(var(--lime), var(--lime)) 0 4px / 36px 1px no-repeat,
      linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)) 50% 4px / 9px 1px no-repeat,
      linear-gradient(rgba(255, 255, 255, .34), rgba(255, 255, 255, .34)) 50% 0 / 1px 9px no-repeat,
      linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)) 0 4px / 100% 1px no-repeat;
  }
  .case-page main > .section:not(.case-glance-sec):not(.section--contact)::after { top: 40px; -webkit-text-stroke-color: rgba(255, 255, 255, .06); }
}

/* social links row in the contact block */
.contact__direct .contact__social div { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.contact__direct .contact__social a { font-size: 20px; }
