/* ==========================================================
   TANIX business website — v3 "liquid glass"
   Navy depth, neon-blue light, yellow action. Every surface is
   frosted glass over slow liquid light; cards tilt in 3D.
   ========================================================== */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #020716;
  --text: #eef4ff;
  --muted: #a9bae0;
  --dim: #7388b8;
  --blue: #2f86ff;
  --cyan: #6fdcff;
  --violet: #8b5cf6;
  --yellow: #ffd60a;
  --yellow-2: #ffb300;
  --green: #22c55e;

  /* Glass */
  --glass-bg: linear-gradient(140deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .03) 42%, rgba(110, 170, 255, .07));
  --glass-blur: blur(22px) saturate(175%);
  --glass-edge: linear-gradient(140deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .08) 28%, rgba(255, 255, 255, .02) 55%, rgba(125, 200, 255, .42));
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .04), inset 0 0 28px rgba(120, 180, 255, .05), 0 24px 60px rgba(0, 6, 28, .48);
  --line: rgba(140, 190, 255, .2);
  --line-strong: rgba(150, 200, 255, .42);

  --r-lg: 28px;
  --r: 22px;
  --r-sm: 14px;
  --head: "Sora", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --header-h: 66px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 34px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: linear-gradient(180deg, #040c24 0%, var(--bg) 38%, #030a1e 100%) fixed var(--bg); color: var(--text); font: 500 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
.sub, .lead { text-wrap: pretty; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: #0a1430; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf img { margin: 0 auto 24px; }
.nf .section-head { margin: 0 auto 28px; }

/* ---------- Liquid light behind the glass ---------- */
.liquid { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.lq { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; will-change: transform; }
.lq-1 { left: -18vmax; top: -22vmax; background: radial-gradient(circle at 40% 40%, rgba(47, 134, 255, .36), rgba(47, 134, 255, 0) 62%); animation: drift-a 28s ease-in-out infinite alternate; }
.lq-2 { right: -24vmax; top: 4vmax; background: radial-gradient(circle at 50% 50%, rgba(111, 220, 255, .16), rgba(111, 220, 255, 0) 60%); animation: drift-b 34s ease-in-out infinite alternate; }
.lq-3 { left: 8vmax; bottom: -30vmax; background: radial-gradient(circle at 50% 50%, rgba(28, 92, 230, .3), rgba(28, 92, 230, 0) 60%); animation: drift-c 31s ease-in-out infinite alternate; }
.lq-4 { display: none; right: 6vmax; bottom: -34vmax; width: 44vmax; height: 44vmax; background: radial-gradient(circle at 50% 50%, rgba(255, 196, 0, .1), rgba(255, 196, 0, 0) 60%); animation: drift-a 39s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-16vmax, 14vmax, 0) scale(.9); } }
@keyframes drift-c { to { transform: translate3d(12vmax, -12vmax, 0) scale(1.2); } }
.bg-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .16;
  background-image: linear-gradient(rgba(130, 180, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 180, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%); }

/* ---------- The glass material ---------- */
.nav-wrap, .float-card, .robot-say, .cred-bar, .pill, .chip, .btn-ghost, .service, .work, .bento-card, .step, .package,
.proof-stats div, .about-stats div, .faq-list details, .contact-panel, .diy, .about-badge, .lightbox {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  border: 0;
}
/* Specular edge: bright where the light lands (top-left), cool glint on the far corner. */
.nav-wrap::before, .float-card::before, .robot-say::before, .cred-bar::before, .pill::before, .chip::before, .btn-ghost::before, .service::before,
.work::before, .bento-card::before, .step::before, .package::before, .proof-stats div::before, .about-stats div::before, .faq-list details::before,
.contact-panel::before, .diy::before, .about-badge::before, .lightbox::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--glass-edge);
  -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);
}
.nav-wrap, .cred-bar, .pill, .chip, .btn-ghost, .service, .work, .bento-card, .step, .package, .proof-stats div, .about-stats div,
.faq-list details, .contact-panel, .diy { position: relative; }

/* ---------- Buttons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font-weight: 800; font-size: 15.5px; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s ease; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .55) 50%, transparent 64%); transform: translateX(-130%); transition: transform .75s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-yellow { color: #0a1430; background: radial-gradient(130% 150% at 28% 0%, #fff6b0 0%, #ffd60a 40%, var(--yellow-2) 100%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .85), inset 0 -7px 14px rgba(214, 120, 0, .32), 0 12px 32px rgba(255, 190, 0, .3), 0 2px 0 rgba(120, 70, 0, .22); }
.btn-yellow:hover { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .9), inset 0 -7px 14px rgba(214, 120, 0, .32), 0 18px 44px rgba(255, 190, 0, .45), 0 2px 0 rgba(120, 70, 0, .22); }
.btn-ghost { color: #fff; }
.btn-ghost:hover { box-shadow: var(--glass-shadow), 0 0 0 1px rgba(111, 220, 255, .45), 0 12px 40px rgba(47, 134, 255, .3); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Announcement marquee ---------- */
.marquee { position: relative; overflow: hidden; background: rgba(8, 22, 60, .55); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 10px 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 700 14.5px/1 var(--head); color: #cddcff; letter-spacing: .01em; white-space: nowrap; }
.marquee i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header: a floating glass pill ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--yellow)); box-shadow: 0 0 12px rgba(111, 220, 255, .7); }
.site-header { position: sticky; top: 10px; z-index: 50; margin-top: 12px; }
.nav-wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 10px 0 20px; border-radius: 999px;
  transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled .nav-wrap { background: linear-gradient(140deg, rgba(20, 44, 104, .62), rgba(6, 16, 44, .7)); box-shadow: var(--glass-shadow), 0 18px 50px rgba(0, 4, 20, .55); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { filter: drop-shadow(0 0 12px rgba(47, 134, 255, .75)); }
.brand-word { font: 800 25px/1 var(--head); letter-spacing: -.03em; }
.brand-word span { color: var(--cyan); text-shadow: 0 0 18px rgba(111, 220, 255, .65); }
.primary-nav { display: flex; align-items: center; gap: 2px; }
.primary-nav > a:not(.btn) { padding: 9px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 15px; transition: color .2s, background .2s, box-shadow .2s; }
.primary-nav > a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.primary-nav > a.is-active { color: #fff; background: rgba(120, 180, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 44px 0 40px; isolation: isolate; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; min-height: 570px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; color: #d6e6ff; font-weight: 700; font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { margin: 22px 0 20px; }
.hero h1 .script { display: block; font-style: italic; font-weight: 800; font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.03em;
  background: linear-gradient(100deg, #ffe66b, var(--yellow) 45%, #ffb300); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(255, 214, 10, .32)); }
.hero h1 .name { display: block; font-size: clamp(40px, 5.8vw, 76px); font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 28%, #b4d2ff 78%, #7fb6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 580px; font-size: clamp(17px, 1.5vw, 19.5px); color: #cfdcf7; padding-left: 18px; border-left: 3px solid var(--cyan); }
.lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14.5px; font-weight: 700; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--green); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1; }
/* The lens: a thick disc of glass the portrait rises out of. */
.portrait-ring { position: absolute; inset: 7%; border-radius: 50%;
  background: radial-gradient(120% 120% at 26% 16%, rgba(255, 255, 255, .26), rgba(120, 180, 255, .16) 30%, rgba(30, 86, 200, .4) 64%, rgba(10, 30, 86, .62));
  -webkit-backdrop-filter: blur(10px) saturate(170%); backdrop-filter: blur(10px) saturate(170%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .6), inset 0 -24px 46px rgba(47, 134, 255, .38), inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 90px rgba(47, 134, 255, .42), 0 34px 80px rgba(0, 8, 40, .6); }
.portrait-ring::before { content: ""; position: absolute; inset: 2.5%; border-radius: 50%;
  background: conic-gradient(from 205deg, transparent 0 60%, rgba(255, 255, 255, .7) 69%, transparent 79%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
/* Head and shoulders stay whole above the lens's centre line; below it the portrait follows the lens curve. */
.portrait { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 34px rgba(0, 10, 40, .55));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 50% no-repeat, radial-gradient(circle closest-side at 50% 50%, #000 85.6%, transparent 86.2%);
  mask: linear-gradient(#000 0 0) top / 100% 50% no-repeat, radial-gradient(circle closest-side at 50% 50%, #000 85.6%, transparent 86.2%); }

/* The 3D robot */
.robot3d { position: absolute; right: -21%; top: -17%; width: 62%; aspect-ratio: 1; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.has-3d .robot3d { opacity: 1; }
.robot-fallback { position: absolute; right: -4%; top: -1%; width: 30%; height: auto; z-index: 2; filter: drop-shadow(0 0 26px rgba(47, 134, 255, .8)); animation: float 6s ease-in-out infinite; transition: opacity .5s; }
.has-3d .robot-fallback { opacity: 0; visibility: hidden; }
.robot-hit { position: absolute; right: -3%; top: 0; width: 28%; aspect-ratio: 1; z-index: 4; border: 0; border-radius: 50%; background: none; cursor: pointer; padding: 0; }
.robot-say { position: absolute; right: -15%; top: 30%; z-index: 3; padding: 10px 16px; border-radius: 18px 18px 18px 6px; font: 700 14px/1.2 var(--head); color: #fff; white-space: nowrap;
  transition: transform .25s var(--ease); animation: pop .7s 1.5s var(--ease) backwards; }
.robot-say:hover { transform: translateY(-2px) scale(1.03); }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; }
.float-card .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: #fff;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .5), rgba(47, 134, 255, .55) 40%, rgba(47, 134, 255, .25));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 6px 16px rgba(47, 134, 255, .35); }
.float-card b { display: block; font: 700 14.5px/1.2 var(--head); }
.float-card small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.fc-1 { left: -9%; top: 20%; animation: pop .7s .95s var(--ease) backwards, float 6s 1.7s ease-in-out infinite; }
.fc-2 { right: -9%; bottom: 13%; animation: pop .7s 1.15s var(--ease) backwards, float 6s 3.2s ease-in-out infinite; }
.fc-2 .ic { background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .6), rgba(255, 200, 0, .65) 40%, rgba(255, 170, 0, .3)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 6px 16px rgba(255, 190, 0, .3); color: #201400; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }

.cred-bar { list-style: none; margin: 34px 0 0; padding: 18px 10px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 999px; }
.cred-bar li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 4px 14px; font-size: 15px; color: #dfe9ff; }
.cred-bar li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.cred-bar .ic { width: 24px; height: 24px; color: var(--cyan); }
.cred-bar b { color: var(--yellow); font-weight: 800; }

/* One orchestrated entrance for the hero. */
@keyframes rise { from { opacity: 0; translate: 0 26px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes lens { from { opacity: 0; scale: .84; } to { opacity: 1; scale: 1; } }
.hero-copy > * { animation: rise .9s var(--ease) backwards; }
.hero-copy > :nth-child(1) { animation-delay: .05s; } .hero-copy > :nth-child(2) { animation-delay: .15s; } .hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .42s; } .hero-copy > :nth-child(5) { animation-delay: .54s; }
.portrait-ring { animation: lens 1.1s .1s var(--ease) backwards; }
.portrait { animation: rise 1s .35s var(--ease) backwards; }
.cred-bar { animation: rise .9s .7s var(--ease) backwards; }

/* ---------- Sections ---------- */
.section { padding: 116px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.overline { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border-radius: 999px; margin-bottom: 18px; font-size: 13.5px; font-weight: 700; color: #d2e6ff;
  background: rgba(130, 185, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.overline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.section-head h2, .about-copy h2, .contact-intro h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.section-head h2 span, .about-copy h2 span, .contact-intro h2 span { background: linear-gradient(100deg, #9fe8ff, var(--cyan) 40%, #6aa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 20px rgba(111, 220, 255, .3)); }
.sub { margin-top: 14px; color: var(--muted); font-size: 17.5px; }
.sub a { color: var(--yellow); font-weight: 700; }

/* 3D reveal: cards rise and un-tilt into place. Uses translate/rotate/scale so it never fights the hover tilt (transform). */
.services-grid, .work-grid, .bento, .steps, .packages { perspective: 1500px; }
.js .reveal { opacity: 0; translate: 0 30px; rotate: x 7deg; scale: .985; transform-origin: 50% 100%;
  transition: opacity .8s ease, translate .9s var(--ease), rotate .9s var(--ease), scale .9s var(--ease), transform .6s var(--ease), box-shadow .3s ease; }
.js .reveal.in { opacity: 1; translate: none; rotate: none; scale: none; }

/* Pointer tilt (class added in app.js on devices with a mouse). No glare: removed 2026-11-15 (founder). */
.tilt { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.tilt:not(.reveal) { transition: transform .6s var(--ease), box-shadow .3s ease; }
.js .tilt.is-tilting { transition: opacity .8s ease, translate .9s var(--ease), rotate .9s var(--ease), scale .9s var(--ease), transform .09s linear, box-shadow .3s ease; }
.tilt:hover { box-shadow: var(--glass-shadow), 0 30px 70px rgba(0, 10, 50, .5), 0 0 0 1px rgba(160, 210, 255, .18); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { --c: 47, 134, 255; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(220px circle at 100% 0%, rgba(var(--c), .13), rgba(var(--c), 0) 70%), var(--glass-bg); }
.service[data-tone="violet"] { --c: 139, 92, 246; } .service[data-tone="cyan"] { --c: 34, 211, 238; }
.service[data-tone="green"] { --c: 34, 197, 94; } .service[data-tone="amber"] { --c: 245, 158, 11; } .service[data-tone="pink"] { --c: 236, 72, 153; }
.service-ic { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 19px; color: #fff; margin-bottom: 20px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .55), rgba(var(--c), .7) 42%, rgba(var(--c), .3));
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .7), inset 0 -8px 12px rgba(var(--c), .45), 0 10px 24px rgba(var(--c), .35); }
.service-ic .ic { width: 27px; height: 27px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.service h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.service > p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; font-size: 14.5px; color: #d9e4fb; }
.service li { display: flex; align-items: center; gap: 10px; }
.service li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 8px rgb(var(--c)); }
.service-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--yellow); font-weight: 800; cursor: pointer; position: relative; z-index: 3; }
.service-link .ic { transition: transform .2s; }
.service-link:hover .ic { transform: translateX(4px); }

/* ---------- Work ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; color: #dfe9ff; font-weight: 700; cursor: pointer; transition: color .2s, box-shadow .2s; }
.chip:hover { box-shadow: var(--glass-shadow), 0 0 0 1px rgba(111, 220, 255, .4); }
.chip.is-active { color: #0a1430; background: radial-gradient(130% 150% at 28% 0%, #fff6b0 0%, #ffd60a 40%, var(--yellow-2) 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .85), 0 8px 22px rgba(255, 190, 0, .28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.chip.is-active::before { display: none; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; }
.work.is-hidden { display: none; }
.frame { margin: 14px 14px 0; border-radius: 14px; overflow: hidden; background: #0b1735; box-shadow: 0 14px 30px rgba(0, 6, 28, .5), 0 0 0 1px rgba(255, 255, 255, .14); position: relative; z-index: 3; }
button.frame { padding: 0; border: 0; display: block; width: calc(100% - 28px); text-align: left; cursor: zoom-in; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: linear-gradient(180deg, #f3f6fc, #dfe6f3); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; } .frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar span { margin-left: 8px; font-size: 11.5px; color: #5b6b8c; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.work:hover .frame img { transform: scale(1.05); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tag { font-size: 13px; color: var(--cyan); font-weight: 700; }
.work h3 { font-size: 21px; margin: 4px 0 8px; }
.work-body > p:not(.tag) { color: var(--muted); font-size: 15px; }
.visit { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 800; font-size: 14.5px; position: relative; z-index: 3; align-self: flex-start; }
.visit:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Products ---------- */
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -14px 0 40px; max-width: 920px; }
.proof-stats div { padding: 18px 14px; border-radius: 18px; text-align: center; }
.proof-stats b { display: block; font: 800 30px/1.1 var(--head); color: var(--yellow); }
.proof-stats span { color: var(--muted); font-size: 13.5px; font-weight: 700; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r); }
.bento-card.big { grid-column: span 2; grid-row: span 2; justify-content: flex-end;
  background: radial-gradient(120% 90% at 100% 0%, rgba(47, 134, 255, .36), rgba(47, 134, 255, 0) 58%), var(--glass-bg); }
.bento-card.big h3 { font-size: 30px; }
.bento-card.big p { font-size: 17px; max-width: 460px; }
.bento-logo { border-radius: 20px; box-shadow: 0 0 44px rgba(47, 134, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .4); margin-bottom: auto; }
.bento-ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; color: #fff;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .55), rgba(47, 134, 255, .7) 42%, rgba(47, 134, 255, .3));
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .7), inset 0 -8px 12px rgba(20, 80, 220, .45), 0 10px 22px rgba(47, 134, 255, .32); }
.bento-ic .ic { width: 24px; height: 24px; }
.bento-card h3 { font-size: 20px; }
.bento-card p { color: var(--muted); font-size: 15px; }
.bento-card .text-link { margin-top: auto; padding-top: 6px; font-size: 14.5px; position: relative; z-index: 3; align-self: flex-start; }
.bento-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.bento-tags span { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #d3f1ff; background: rgba(111, 220, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(111, 220, 255, .22); }
.dl-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; position: relative; z-index: 3; }
.dl-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #dfe9ff;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .1); transition: color .2s, box-shadow .2s; }
.dl-links a:hover { color: var(--yellow); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 214, 10, .6); }
.dl-links .ic { width: 14px; height: 14px; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 60px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent); opacity: .55; }
.step { padding: 28px 24px; border-radius: var(--r); text-align: center; }
.step-num { position: absolute; top: 16px; right: 18px; font: 800 13px/1 var(--head); color: var(--dim); letter-spacing: .08em; }
.step-ic { position: relative; width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .6), rgba(47, 134, 255, .75) 40%, #0e3aa0 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .7), inset 0 -10px 14px rgba(8, 40, 140, .6), 0 0 26px rgba(111, 220, 255, .45), 0 10px 24px rgba(0, 10, 50, .5); }
.step-ic .ic { width: 26px; height: 26px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.package { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 26px; }
.package.featured { margin-block: -10px; background: radial-gradient(120% 80% at 50% 0%, rgba(47, 134, 255, .36), rgba(47, 134, 255, 0) 60%), var(--glass-bg);
  box-shadow: var(--glass-shadow), 0 30px 80px rgba(47, 134, 255, .25); }
/* A slow light travels round the featured card's edge. */
.package.featured::before { padding: 1.5px; background: conic-gradient(from var(--ang), rgba(255, 214, 10, .95), rgba(255, 214, 10, .12) 22%, rgba(111, 220, 255, .85) 50%, rgba(111, 220, 255, .1) 72%, rgba(255, 214, 10, .95)); animation: edge 7s linear infinite; }
@keyframes edge { to { --ang: 360deg; } }
.pkg-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 6px 14px; border-radius: 999px; color: #0a1430; font-size: 12.5px; font-weight: 800; white-space: nowrap;
  background: radial-gradient(130% 150% at 28% 0%, #fff6b0 0%, #ffd60a 40%, var(--yellow-2) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 20px rgba(255, 190, 0, .3); }
.pkg-name { font-size: 14px; color: var(--cyan); font-weight: 800; }
.package h3 { font-size: 24px; margin: 6px 0 10px; }
.pkg-for { color: var(--muted); font-size: 15px; min-height: 48px; }
.package ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.package li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #dfe8ff; }
.package li .ic { color: var(--green); margin-top: 4px; }
.package .btn { margin-top: auto; z-index: 3; }
.diy { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--r); }
.diy h3 { font-size: 21px; margin-bottom: 6px; }
.diy p { color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.about-photo { position: relative; justify-self: center; width: min(100%, 400px); }
.about-photo > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 32px;
  background: radial-gradient(circle at 50% 28%, #2a62c8, #0a1a42 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 70px rgba(47, 134, 255, .35), 0 30px 70px rgba(0, 6, 28, .6); }
.about-badge { position: absolute; right: -18px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.about-badge b { color: #fff; font: 800 16px/1.2 var(--head); }
.about-copy p:not(.overline) { color: #cbd8f4; margin-top: 16px; font-size: 17px; }
.about-copy strong { color: #fff; }
.about-copy h2 { margin-bottom: 6px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.about-stats div { padding: 16px; border-radius: 18px; }
.about-stats b { display: block; font: 800 28px/1.1 var(--head); color: var(--yellow); }
.about-stats span { color: var(--muted); font-size: 13.5px; font-weight: 700; }
.about-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 18px; transition: box-shadow .25s ease; }
.faq-list details[open] { box-shadow: var(--glass-shadow), 0 0 0 1px rgba(111, 220, 255, .28); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font: 700 16.5px/1.4 var(--head); position: relative; z-index: 1; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 20px; height: 20px; color: var(--cyan); transition: transform .3s var(--ease); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); }
.faq-list details a { color: var(--yellow); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 48px; border-radius: 34px;
  background: radial-gradient(70% 70% at 0% 0%, rgba(47, 134, 255, .26), rgba(47, 134, 255, 0) 62%), var(--glass-bg); }
.contact-intro > p:not(.overline):not(.avail) { color: #cbd8f4; margin-top: 16px; font-size: 17px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; transition: background .2s, box-shadow .2s; }
.contact-list a:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.ci { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: #fff; flex: none; box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .6), inset 0 -8px 12px rgba(0, 0, 0, .22), 0 8px 18px rgba(0, 6, 28, .4); }
.ci .ic { width: 22px; height: 22px; }
.ci.green { background: radial-gradient(circle at 30% 20%, #8ff0b3, #22c55e 45%, #15803d); } .ci.violet { background: radial-gradient(circle at 30% 20%, #cdbcff, #8b5cf6 45%, #6d28d9); } .ci.blue { background: radial-gradient(circle at 30% 20%, #a9ccff, #3b82f6 45%, #1d4ed8); }
.contact-list small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-list b { color: var(--yellow); font-weight: 800; word-break: break-word; }
.avail { display: inline-flex; align-items: center; gap: 10px; color: #bbf7d0; font-weight: 700; font-size: 14.5px; }
.contact-form { display: grid; gap: 16px; position: relative; z-index: 1; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; row-gap: 8px; font-weight: 700; font-size: 14.5px; color: #e6edff; }
.contact-form label > input, .contact-form label > select, .contact-form label > textarea { flex: 1 1 100%; }
.contact-form em { color: var(--yellow); font-style: normal; }
.opt { color: var(--dim); font-weight: 600; font-size: 13px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 0; color: #fff; font-weight: 600;
  background: rgba(2, 8, 28, .5); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(160, 205, 255, .22), 0 1px 0 rgba(255, 255, 255, .1); transition: box-shadow .2s; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236fdcff' stroke-width='2.5' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.contact-form select option { background: #0a1a42; }
.contact-form ::placeholder { color: #7186b3; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), inset 0 0 0 1.5px var(--cyan), 0 0 0 4px rgba(111, 220, 255, .18); }
.contact-form .invalid { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #f87171, 0 0 0 4px rgba(248, 113, 113, .16) !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 700; font-size: 15px; }
.form-status.ok { color: #86efac; } .form-status.err { color: #fca5a5; }
.form-status a { color: var(--yellow); text-decoration: underline; }
#submit-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.contact-form.flash { animation: flash 1.2s ease; border-radius: 18px; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 214, 10, .7); } 100% { box-shadow: 0 0 0 24px rgba(255, 214, 10, 0); } }

/* ---------- Lightbox ---------- */
.lightbox { border-radius: 24px; color: var(--text); padding: 14px; width: min(1080px, 94vw); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); }
.lightbox::backdrop { background: rgba(2, 6, 20, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { animation: lens .35s var(--ease) backwards; }
.lightbox img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.lb-cap { text-align: center; color: var(--muted); font-weight: 700; margin-top: 12px; font-family: var(--head); }
.lb-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; color: #fff; cursor: pointer; z-index: 3;
  background: rgba(8, 20, 56, .78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px rgba(0, 0, 0, .4); }
.lb-close .ic { transform: rotate(45deg); width: 20px; height: 20px; }
.lb-close:hover { color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: linear-gradient(180deg, rgba(10, 26, 70, .35), rgba(2, 6, 18, .9)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.footer-brand p { color: var(--muted); margin: 16px 0 20px; max-width: 300px; }
.site-footer h4 { font-size: 15px; color: #fff; margin-bottom: 16px; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer nav a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; word-break: break-word; }
.site-footer nav a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--dim); font-size: 14px; }
.footer-bottom p:last-child { font-style: italic; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #0a1430;
  background: radial-gradient(circle at 30% 22%, #fff6b0, #ffd60a 45%, var(--yellow-2)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .85), 0 12px 30px rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top .ic { width: 22px; height: 22px; stroke-width: 2.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .primary-nav > a:not(.btn) { padding: 9px 10px; font-size: 14.5px; }
  .services-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-2 { right: -3%; } .robot-say { right: -6%; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 26px;
    background: #06102a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .6);
    transform: translateY(-10px) scale(.98); transform-origin: top; opacity: 0; visibility: hidden; transition: transform .28s var(--ease), opacity .2s ease, visibility .2s; }
  .primary-nav.open { transform: none; opacity: 1; visibility: visible; }
  .primary-nav > a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  .nav-cta { margin: 8px 0 0; min-height: 52px; }
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 30px; }
  .hero-visual { order: -1; width: min(74%, 380px); }
    .cred-bar { grid-template-columns: 1fr 1fr; border-radius: 26px; row-gap: 14px; }
  .cred-bar li { justify-content: flex-start; }
  .cred-bar li + li { border-left: 0; }
  .packages { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .package.featured { margin-block: 0; }
  .about-grid, .faq-wrap, .contact-panel { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
  .about-grid { gap: 36px; }
  .contact-panel { padding: 32px 24px; gap: 28px; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; --glass-blur: blur(14px) saturate(160%); }
  body { font-size: 15.5px; }
  .section { padding: 70px 0; }
  .brand-word { font-size: 22px; }
  .nav-wrap { padding: 0 8px 0 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lead { padding-left: 14px; }
  .hero-visual { width: min(68%, 290px); }
  .robot-say { display: none; }
  .float-card { padding: 9px 12px; gap: 9px; border-radius: 15px; }
  .float-card .ic { width: 30px; height: 30px; padding: 7px; border-radius: 10px; }
  .float-card b { font-size: 13px; } .float-card small { font-size: 11.5px; }
  .fc-1 { left: -24%; top: auto; bottom: 3%; } .fc-2 { right: -24%; bottom: 3%; }
  .cred-bar { grid-template-columns: 1fr; padding: 16px 18px; }
  .services-grid, .work-grid, .bento, .steps { grid-template-columns: 1fr; }
  .bento-card.big { grid-column: auto; grid-row: auto; }
  .proof-stats { grid-template-columns: 1fr 1fr; } .proof-stats b { font-size: 24px; }
  .section-head.split { align-items: flex-start; }
  .contact-form .row { grid-template-columns: 1fr; }
  .about-stats { gap: 8px; }
  .about-stats div { padding: 12px 10px; } .about-stats b { font-size: 22px; } .about-stats span { font-size: 12px; }
  .about-badge { right: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .diy { padding: 22px; } .diy .btn { width: 100%; }
  /* Phones: keep the look, drop the costliest blurs on long lists of cards. */
  .service, .work, .bento-card, .step, .package, .faq-list details, .proof-stats div, .about-stats div { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .work, .bento-card, .step, .package, .faq-list details, .proof-stats div, .about-stats div { background: linear-gradient(140deg, rgba(34, 62, 130, .5), rgba(8, 20, 54, .62)); }
  .js .reveal { rotate: x 4deg; translate: 0 22px; }
}

/* ---------- AI copilot (copilot.js) ---------- */
.cp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cp-launch { position: fixed; right: 18px; bottom: 18px; z-index: 46; width: 62px; height: 62px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .34), rgba(47, 134, 255, .5) 42%, rgba(10, 34, 96, .9));
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .6), inset 0 -10px 16px rgba(8, 40, 140, .5), 0 0 0 1px rgba(160, 205, 255, .3), 0 14px 34px rgba(0, 8, 40, .55), 0 0 34px rgba(47, 134, 255, .45);
  transition: transform .25s var(--ease), box-shadow .25s ease; }
.cp-launch:hover { transform: translateY(-3px) scale(1.04); }
.cp-launch:active { transform: scale(.96); }
.cp-launch img { width: 40px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 10, 50, .5)); }
.cp-dot { position: absolute; right: 4px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2.5px #06143a; }
.cp-hint { position: fixed; right: 90px; bottom: 30px; z-index: 46; padding: 10px 16px; border: 0; border-radius: 16px 16px 4px 16px; cursor: pointer; color: #fff; font: 700 14px/1.2 var(--head); white-space: nowrap;
  background: linear-gradient(140deg, rgba(40, 74, 160, .92), rgba(10, 26, 72, .94)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 34px rgba(0, 8, 40, .5);
  opacity: 0; visibility: hidden; transform: translateX(10px); transition: opacity .35s ease, transform .35s var(--ease), visibility .35s; }
.cp-hint.show { opacity: 1; visibility: visible; transform: none; }
.to-top { bottom: 94px; right: 24px; }

.cp-panel { position: fixed; right: 18px; bottom: 94px; z-index: 55; width: min(400px, calc(100vw - 36px)); height: min(600px, calc(100vh - 130px)); height: min(600px, calc(100dvh - 130px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; color: var(--text);
  background: linear-gradient(160deg, rgba(30, 58, 132, .78), rgba(6, 16, 46, .9));
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 4, 24, .7);
  animation: cp-in .32s var(--ease) backwards; transform-origin: 100% 100%; }
.cp-panel[hidden] { display: none; }
@keyframes cp-in { from { opacity: 0; scale: .92; translate: 0 14px; } to { opacity: 1; scale: 1; translate: 0 0; } }
.cp-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .1); }
.cp-head img { filter: drop-shadow(0 0 10px rgba(47, 134, 255, .8)); }
.cp-head div { flex: 1; min-width: 0; }
.cp-head b { display: block; font: 700 16px/1.2 var(--head); }
.cp-head small { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; font-weight: 600; margin-top: 3px; }
.cp-head .dot { width: 7px; height: 7px; }
.cp-x { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; cursor: pointer; background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.cp-x .ic { transform: rotate(45deg); width: 18px; height: 18px; }
.cp-x:hover { color: var(--yellow); }
.cp-msgs { flex: 1; overflow-y: auto; padding: 16px 16px 6px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(160, 200, 255, .3) transparent; }
.cp-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 88%; }
.cp-row.me { align-self: flex-end; align-items: flex-end; }
.cp-bubble { padding: 11px 15px; border-radius: 18px 18px 18px 6px; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; color: #eaf1ff;
  background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.cp-row.me .cp-bubble { border-radius: 18px 18px 6px 18px; color: #fff; background: linear-gradient(140deg, #3d93ff, #1d5fe0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px rgba(29, 95, 224, .3); }
.cp-cta { min-height: 40px; }
.cp-typing .cp-bubble { display: flex; gap: 5px; padding: 15px 16px; }
.cp-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: cp-dots 1.2s ease-in-out infinite; }
.cp-typing i:nth-child(2) { animation-delay: .15s; } .cp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cp-dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 10px; }
.cp-chips[hidden] { display: none; }
.cp-chip { padding: 8px 13px; border: 0; border-radius: 999px; cursor: pointer; color: #dcebff; font-size: 13px; font-weight: 700; background: rgba(120, 180, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(160, 205, 255, .2); transition: background .2s, color .2s; }
.cp-chip:hover { background: rgba(120, 180, 255, .24); color: #fff; }
.cp-form { display: flex; align-items: flex-end; gap: 8px; margin: 4px 12px 0; padding: 6px 6px 6px 16px; border-radius: 22px; background: rgba(2, 8, 28, .55); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(160, 205, 255, .22); }
.cp-form:focus-within { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), inset 0 0 0 1.5px var(--cyan); }
.cp-form textarea { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; background: none; color: #fff; font: 600 16px/1.45 var(--body); padding: 9px 0; max-height: 120px; }
.cp-form textarea::placeholder { color: #7f93bd; }
.cp-send { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: #0a1430;
  background: radial-gradient(circle at 30% 22%, #fff6b0, #ffd60a 45%, var(--yellow-2)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .85), 0 6px 16px rgba(255, 190, 0, .3); transition: transform .2s var(--ease); }
.cp-send:hover { transform: scale(1.07); }
.cp-send .ic { width: 19px; height: 19px; }
.cp-note { margin: 8px 16px 12px; text-align: center; color: var(--dim); font-size: 11.5px; font-weight: 600; }
.cp-launch.open { background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .28), rgba(30, 60, 140, .8) 45%, rgba(6, 18, 56, .95)); }

@media (max-width: 640px) {
  .cp-launch { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  .cp-launch img { width: 36px; }
  .cp-hint { display: none; }   /* it would sit on top of the main button on a phone */
  .to-top { bottom: 82px; right: 17px; }
  /* A bottom sheet on phones. */
  .cp-panel { right: 0; left: 0; bottom: 0; width: auto; height: min(82vh, 640px); height: min(82dvh, 640px); border-radius: 26px 26px 0 0; transform-origin: 50% 100%; }
  .cp-open .cp-launch, .cp-open .to-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; translate: none; rotate: none; scale: none; }
  .tilt { transform: none; }
}

/* ONE LOOK FOR EVERY TANIX CHAT (founder 2026-11-19: "Make the three chat boxes look alike"). This chat takes the look
   of TANIX AI on tanix.app (tanix-ai-chat.css there): a dark panel and header, the robot without a glow, a "TANIX AI"
   label over each answer, dark answers, the visitor's messages in blue, outlined suggestions, a blue send button. Corners
   stay a little rounded to suit this site. Colours and shapes only: the layout and the features are unchanged. */
.cp-panel { background: #081226 !important; -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid rgba(79, 200, 255, .4); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6); color: #eaf2ff; }
.cp-head { background: #0b1832; box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cp-head img { filter: none; }
.cp-head b { color: #fff; }
.cp-head small { color: #8fa3c8; }
.cp-row:not(.me):has(> .cp-bubble)::before { content: "TANIX AI"; font: 700 10.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #4fc8ff; margin: 0 0 -2px; }
.cp-bubble { background: #12213f; border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px; box-shadow: none; color: #eaf2ff; }
.cp-row.me .cp-bubble { background: #1f6fe0; border: 0; border-radius: 10px; box-shadow: none; }
.cp-chip { background: rgba(79, 200, 255, .08); border: 1px solid rgba(79, 200, 255, .4); border-radius: 8px; box-shadow: none; color: #cfe3ff; font-weight: 600; }
.cp-chip:hover { background: rgba(79, 200, 255, .18); color: #fff; }
.cp-form { background: #081226; border: 1px solid rgba(79, 200, 255, .35); border-radius: 10px; box-shadow: none; }
.cp-form:focus-within { box-shadow: 0 0 0 1px #4fc8ff; }
.cp-send { background: #1f7bff; color: #fff; border-radius: 8px; box-shadow: none; }
.cp-send:hover { background: #3b8dff; transform: none; }
/* PHONES: the whole screen, over the site's header, like TANIX AI (founder 2026-11-19). */
@media (max-width: 640px) {
  .cp-panel { inset: 0; width: auto; height: 100vh; height: 100dvh; border-radius: 0; border: 0; z-index: 1000; transform-origin: 50% 100%; }
}

/* ===== NO SWEEP (founder 2026-11-20: "Remove it from the entire website. I don't like it moving from left to right").
   Every shine that crossed something from left to right is off: the gloss on buttons, the sweep along section dividers,
   the glare on the screens, the sheen on a service card under the mouse, and the launch bar's shimmer. !important on
   purpose: fx3d.css, wow.css, liquid.css and launch-week.css load after this file. Do not add a new sideways shine. ===== */
.btn::after, .btn:hover::after { transform: translateX(-130%) !important; transition: none !important; opacity: 0 !important; }
.fx-div::after, .fx-div.in::after, .service::after, .service:hover::after, .lq-glare, .lq-glare.go { animation: none !important; opacity: 0 !important; }
.tlw { animation: none !important; }
