/* Archidar — local layout utilities (no CDN) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  min-height: 100%;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

textarea {
  min-height: 0;
}

.font-sans {
  font-family: Inter, system-ui, sans-serif;
}
.font-display {
  font-family: 'Space Grotesk', Inter, sans-serif;
}
.font-mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-bg { background-color: #0a0a0a; }
.bg-bg\/40 { background-color: rgba(10, 10, 10, 0.4); }
.bg-bg\/50 { background-color: rgba(10, 10, 10, 0.5); }
.bg-bg\/80 { background-color: rgba(10, 10, 10, 0.8); }
.bg-bg\/90 { background-color: rgba(10, 10, 10, 0.9); }
.bg-surface { background-color: #141415; }
.bg-surface\/80 { background-color: rgba(20, 20, 21, 0.8); }
.bg-surface\/90 { background-color: rgba(20, 20, 21, 0.9); }
.bg-accent { background-color: #ccff00; }
.bg-accent\/5 { background-color: rgba(204, 255, 0, 0.05); }
.bg-accent\/10 { background-color: rgba(204, 255, 0, 0.1); }
.bg-accent\/20 { background-color: rgba(204, 255, 0, 0.2); }
.bg-accent\/40 { background-color: rgba(204, 255, 0, 0.4); }
.bg-accent\/50 { background-color: rgba(204, 255, 0, 0.5); }
.bg-accent\/60 { background-color: rgba(204, 255, 0, 0.6); }
.bg-accent\/70 { background-color: rgba(204, 255, 0, 0.7); }
.bg-accent\/90 { background-color: rgba(204, 255, 0, 0.9); }
.bg-zinc-600 { background-color: #52525b; }
.bg-zinc-800\/80 { background-color: rgba(39, 39, 42, 0.8); }
.text-white { color: #fff; }
.text-bg { color: #0a0a0a; }
.text-accent { color: #ccff00; }
.text-accent\/70 { color: rgba(204, 255, 0, 0.7); }
.text-accent\/90 { color: rgba(204, 255, 0, 0.9); }
.text-muted { color: #a1a1aa; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-600 { color: #52525b; }
.text-zinc-800 { color: #27272a; }
.placeholder\:text-zinc-600::placeholder { color: #52525b; }

.border { border-width: 1px; border-style: solid; border-color: transparent; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-bg { border-color: #0a0a0a; }
.border-accent { border-color: #ccff00; }
.border-accent\/20 { border-color: rgba(204, 255, 0, 0.2); }
.border-accent\/30 { border-color: rgba(204, 255, 0, 0.3); }
.border-accent\/40 { border-color: rgba(204, 255, 0, 0.4); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-zinc-700 { border-color: #3f3f46; }
.border-zinc-700\/40 { border-color: rgba(63, 63, 70, 0.4); }
.border-zinc-700\/60 { border-color: rgba(63, 63, 70, 0.6); }
.border-zinc-700\/80 { border-color: rgba(63, 63, 70, 0.8); }
.border-zinc-800 { border-color: #27272a; }
.border-zinc-900 { border-color: #18181b; }

.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35), 0 4px 6px -4px rgba(0, 0, 0, 0.25); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3); }
.shadow-glow { box-shadow: 0 0 40px rgba(204, 255, 0, 0.25); }
.shadow-glow-sm { box-shadow: 0 0 20px rgba(204, 255, 0, 0.2); }
.shadow-glow-lg { box-shadow: 0 0 80px rgba(204, 255, 0, 0.15); }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.inset-2 { inset: 0.5rem; }
.inset-4 { inset: 1rem; }
.inset-8 { inset: 2rem; }
.inset-\[18\%\] { inset: 18%; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-1\/2 { top: 50%; }
.top-\[8\%\] { top: 8%; }
.top-\[28\%\] { top: 28%; }
.-top-10 { top: -2.5rem; }
.-top-32 { top: -8rem; }
.right-0 { right: 0; }
.right-1 { right: 0.25rem; }
.right-4 { right: 1rem; }
.right-\[5\%\] { right: 5%; }
.-right-10 { right: -2.5rem; }
.bottom-0 { bottom: 0; }
.bottom-1 { bottom: 0.25rem; }
.bottom-\[6\%\] { bottom: 6%; }
.bottom-\[12\%\] { bottom: 12%; }
.bottom-\[22\%\] { bottom: 22%; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.left-1\/4 { left: 25%; }
.z-50 { z-index: 50; }

.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }

.w-2 { width: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-40 { width: 10rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-80 { width: 20rem; }
.w-\[70\%\] { width: 70%; }
.w-\[500px\] { width: 500px; }
.w-\[min\(12\.5rem\,52\%\)\] { width: min(12.5rem, 52%); }
.w-fit { width: fit-content; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.object-cover { object-fit: cover; }
.object-top { object-position: top center; }
.h-36 { height: 9rem; }
.h-40 { height: 10rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-80 { height: 20rem; }
.h-\[500px\] { height: 500px; }
.h-full { height: 100%; }
.min-h-\[120px\] { min-height: 120px; }
.aspect-square { aspect-ratio: 1 / 1; }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.pointer-events-none { pointer-events: none; }
.resize-y { resize: vertical; }
.outline-none { outline: none; }

.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-\[5\.75rem\] { padding-top: 5.75rem; }
.pb-0\.5 { padding-bottom: 0.125rem; }
.pb-12 { padding-bottom: 3rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-auto { margin-top: auto; }
.pt-2 { padding-top: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-accent\/40 { text-decoration-color: rgba(204, 255, 0, 0.4); }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[0\.95rem\] { font-size: 0.95rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }

.opacity-60 { opacity: 0.6; }
.blur-3xl { filter: blur(64px); }
.blur-\[100px\] { filter: blur(100px); }
.blur-\[120px\] { filter: blur(120px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.left-1\/2.-translate-x-1\/2,
.-translate-x-1\/2.-translate-y-1\/2 { transform: translate(-50%, -50%); }
.top-1\/2.left-1\/2.-translate-x-1\/2.-translate-y-1\/2 { transform: translate(-50%, -50%); }

.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-all { transition-property: all; transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-accent\/8 { --tw-gradient-from: rgba(204, 255, 0, 0.08); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-white\/10 { --tw-gradient-from: rgba(255, 255, 255, 0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-zinc-800\/80 { --tw-gradient-from: rgba(39, 39, 42, 0.8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-transparent { --tw-gradient-to: transparent; --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }
.via-zinc-700 { --tw-gradient-to: #3f3f46; --tw-gradient-stops: var(--tw-gradient-from), #3f3f46, var(--tw-gradient-to, transparent); }
.to-transparent { --tw-gradient-to: transparent; }
.to-white\/5 { --tw-gradient-to: rgba(255, 255, 255, 0.05); }
.to-zinc-950 { --tw-gradient-to: #09090b; }
.bg-\[radial-gradient\(circle_at_30\%_20\%\,rgba\(204\,255\,0\,0\.12\)\,transparent_55\%\)\] {
  background-image: radial-gradient(circle at 30% 20%, rgba(204, 255, 0, 0.12), transparent 55%);
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

.hover\:bg-surface\/80:hover { background-color: rgba(20, 20, 21, 0.8); }
.hover\:bg-zinc-900:hover { background-color: #18181b; }
.hover\:border-accent:hover { border-color: #ccff00; }
.hover\:text-white:hover { color: #fff; }
.hover\:text-accent:hover { color: #ccff00; }
.hover\:brightness-110:hover { filter: brightness(1.1); }
.hover\:scale-\[1\.01\]:hover { transform: scale(1.01); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:shadow-glow:hover { box-shadow: 0 0 40px rgba(204, 255, 0, 0.25); }
.hover\:shadow-glow-sm:hover { box-shadow: 0 0 20px rgba(204, 255, 0, 0.2); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-accent { color: #ccff00; }
.group:hover .group-hover\:text-accent\/25 { color: rgba(204, 255, 0, 0.25); }
.group:hover .group-hover\:border-accent\/40 { border-color: rgba(204, 255, 0, 0.4); }
.group:hover .group-hover\:border-accent\/50 { border-color: rgba(204, 255, 0, 0.5); }
.group:hover .group-hover\:shadow-glow-sm { box-shadow: 0 0 20px rgba(204, 255, 0, 0.2); }
.focus\:border-accent\/50:focus { border-color: rgba(204, 255, 0, 0.5); }

@media (min-width: 380px) {
  .min-\[380px\]\:flex { display: flex; }
}

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:gap-10 { gap: 2.5rem; }
  .sm\:h-10 { height: 2.5rem; }
  .sm\:h-20 { height: 5rem; }
  .sm\:w-10 { width: 2.5rem; }
  .sm\:w-20 { width: 5rem; }
  .sm\:w-auto { width: auto; }
  .sm\:w-\[200px\] { width: 200px; }
  .sm\:p-3\.5 { padding: 0.875rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .sm\:pt-32 { padding-top: 8rem; }
  .sm\:pb-16 { padding-bottom: 4rem; }
  .sm\:mb-5 { margin-bottom: 1.25rem; }
  .sm\:mb-12 { margin-bottom: 3rem; }
  .sm\:mt-5 { margin-top: 1.25rem; }
  .sm\:mt-8 { margin-top: 2rem; }
  .sm\:mt-16 { margin-top: 4rem; }
  .sm\:text-xs { font-size: 0.75rem; line-height: 1rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-\[11px\] { font-size: 11px; }
  .sm\:left-\[-2\%\] { left: -2%; }
  .sm\:left-\[-6\%\] { left: -6%; }
  .sm\:right-\[-2\%\] { right: -2%; }
}

@media (min-width: 768px) {
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:gap-5 { gap: 1.25rem; }
  .md\:p-7 { padding: 1.75rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:pt-36 { padding-top: 9rem; }
  .md\:pb-24 { padding-bottom: 6rem; }
  .md\:mb-16 { margin-bottom: 4rem; }
  .md\:mt-20 { margin-top: 5rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .lg\:justify-end { justify-content: flex-end; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-14 { gap: 3.5rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:pt-40 { padding-top: 10rem; }
  .lg\:right-\[-4\%\] { right: -4%; }
  .lg\:w-\[220px\] { width: 220px; }
}

@media (min-width: 1280px) {
  .xl\:flex { display: flex; }
  .xl\:inline-flex { display: inline-flex; }
  .xl\:hidden { display: none; }
}

@media (min-width: 1536px) {
  .\32xl\:gap-8 { gap: 2rem; }
  .\32xl\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .\32xl\:py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
  .\32xl\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
}

/* Archidar Landing — tech interface */

:root {
  --bg: #0a0a0a;
  --surface: #141415;
  --accent: #ccff00;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.06);
  --mx: 50%;
  --my: 30%;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  font-size: clamp(14.5px, 13.25px + 0.35vw, 18px);
}

::selection {
  background: var(--accent);
  color: #0a0a0a;
}

body {
  background-color: var(--bg);
  color: #fff;
  overflow-x: clip;
}

.page-wrap {
  width: min(100% - clamp(1.25rem, 4vw, 4rem), 80rem);
  margin-inline: auto;
}

@media (min-width: 1536px) {
  .page-wrap {
    width: min(100% - 4rem, 90rem);
  }
}

.section-y {
  padding-block: clamp(3.25rem, 2.2rem + 4.5vw, 8rem);
}

.hero-title {
  font-size: clamp(1.7rem, 1.05rem + 2.5vw, 3.85rem);
  line-height: 1.12;
}

.section-title {
  font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.55rem);
}

.hero-visual {
  width: min(100%, 22rem);
  max-width: 100%;
}

@media (min-width: 640px) {
  .hero-visual {
    width: min(100%, 26rem);
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    width: min(100%, 30rem);
  }
}

@media (min-width: 1536px) {
  .hero-visual {
    width: min(100%, 34rem);
  }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(680px circle at var(--mx) var(--my), rgba(204, 255, 0, 0.06), transparent 42%),
    radial-gradient(ellipse at 50% 0%, rgba(204, 255, 0, 0.04), transparent 50%);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

header,
main,
footer {
  position: relative;
  z-index: 3;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border: 2px solid #0a0a0a;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Header */
#header {
  padding: max(0.4rem, env(safe-area-inset-top, 0px)) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
}

#header .header-shell {
  min-width: 0;
  gap: 0.75rem;
  height: clamp(3.5rem, 8vw, 4.5rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 10, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

#header.scrolled .header-shell {
  background: rgba(14, 14, 15, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-link {
  position: relative;
  padding: 0.2rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* Hero glass cube */
.glass-cube {
  transform: perspective(900px) rotateX(10deg) rotateY(-16deg);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.glass-cube::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(204, 255, 0, 0.12) 50%, transparent 100%);
  animation: scan 3.6s linear infinite;
  pointer-events: none;
}

.hero-visual:hover .glass-cube {
  transform: perspective(900px) rotateX(4deg) rotateY(-8deg) scale(1.03);
}

@keyframes scan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(204, 255, 0, 0.18);
  pointer-events: none;
}

.orbit-1 {
  inset: 8%;
  animation: spin 28s linear infinite;
}

.orbit-2 {
  inset: 18%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.05);
  animation: spin 40s linear infinite reverse;
}

.orbit-wrap {
  position: absolute;
  inset: 8%;
  animation: spin 28s linear infinite;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-wrap span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(204, 255, 0, 0.85);
}

/* Floating cards */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes float-delayed {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.float-card {
  animation: float 5s ease-in-out infinite;
}

.float-card-delayed {
  animation: float-delayed 6s ease-in-out infinite 0.8s;
}

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.55;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

/* Kicker / labels */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  flex-wrap: wrap;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(204, 255, 0, 0.22);
  background: rgba(204, 255, 0, 0.06);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: clamp(0.58rem, 0.5rem + 0.35vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(204, 255, 0, 0.9);
  animation: pulse-slow 2s ease-in-out infinite;
}

/* Tech cards */
.card-tech {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    var(--surface);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card-tech::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(204, 255, 0, 0.1), transparent 42%);
}

.card-tech:hover::before {
  opacity: 1;
}

.card-tech > * {
  position: relative;
  z-index: 1;
}

.card-tech:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 255, 0, 0.35) !important;
  box-shadow:
    0 0 0 1px rgba(204, 255, 0, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(204, 255, 0, 0.08);
}

.card-corners::after {
  content: '';
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 10px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top left / 1px 10px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 10px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 1px 10px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 10px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 1px 10px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 10px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 1px 10px no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-tech:hover.card-corners::after,
.card-corners:hover::after {
  opacity: 0.7;
}

.about-values {
  display: flex;
  flex-direction: column;
}

.about-values-glow {
  position: absolute !important;
  z-index: 0;
  pointer-events: none;
}

.about-values-list {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1 1 0;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(39, 39, 42, 0.95);
}

.about-values-list li:first-child {
  padding-top: 0;
}

.about-values-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-values-check {
  margin-top: 0.15rem;
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--accent);
  color: var(--bg);
}

@media (min-width: 1024px) {
  #about .about-values {
    min-height: 100%;
  }
}

/* Buttons */
.btn-primary,
.btn-accent {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.35) 45%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after,
.btn-accent:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(204, 255, 0, 0.35) !important;
  box-shadow: 0 0 24px rgba(204, 255, 0, 0.08);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-play-state: paused;
}

.reveal.is-in {
  animation-play-state: running;
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.delay-1 {
  animation-delay: 0.08s;
}
.delay-2 {
  animation-delay: 0.16s;
}
.delay-3 {
  animation-delay: 0.24s;
}
.delay-4 {
  animation-delay: 0.32s;
}

/* Process rail */
.process-grid {
  position: relative;
}

@media (min-width: 1024px) {
  .process-grid::before {
    content: '';
    position: absolute;
    top: 1.65rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 255, 0, 0.28), transparent);
    z-index: 0;
  }
}

.process-step {
  z-index: 1;
}

.process-index {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

/* Service tags */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.15rem;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 21, 0.6);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  color: #a1a1aa;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.service-card:hover .tech-tag {
  border-color: rgba(204, 255, 0, 0.2);
  color: #e4e4e7;
}

.tech-tag.is-accent {
  border-color: rgba(204, 255, 0, 0.28);
  color: #ccff00;
  background: rgba(204, 255, 0, 0.05);
}

/* Case metrics */
.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.9rem;
  margin-bottom: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.case-metric-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: #d4d4d8;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.case-metric-bullet {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: #ccff00;
  box-shadow: 0 0 6px rgba(204, 255, 0, 0.8);
  flex-shrink: 0;
}

/* Tech hover */
.tech-item svg {
  transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.tech-item:hover svg {
  color: var(--accent);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(204, 255, 0, 0.45));
}

/* Form */
.field-input:focus {
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.12);
}

/* Footer hairline glow */
footer {
  background: linear-gradient(180deg, transparent, rgba(204, 255, 0, 0.03));
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.lang-switch:focus-visible {
  outline: 2px solid #ccff00;
  outline-offset: 2px;
}

#form-status.success,
#review-status.success {
  color: #ccff00;
}

#form-status.error,
#review-status.error {
  color: #f87171;
}

/* Language swipe switcher */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid #27272a;
  background: rgba(20, 20, 21, 0.9);
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
  flex-shrink: 0;
}

.lang-switch:active {
  cursor: grabbing;
}

.lang-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 2);
  border-radius: 9px;
  background: #ccff00;
  box-shadow: 0 0 16px rgba(204, 255, 0, 0.28);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.lang-switch[data-index='0'] .lang-thumb {
  transform: translateX(0);
}

.lang-switch[data-index='1'] .lang-thumb {
  transform: translateX(100%);
}

.lang-switch button {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 2.15rem;
  padding: 0.4rem 0.45rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #a1a1aa;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-switch button.is-active {
  color: #0a0a0a;
}

.lang-switch button:hover:not(.is-active) {
  color: #fff;
}

@media (max-width: 639px) {
  .lang-switch button {
    min-width: 1.9rem;
    padding: 0.32rem 0.3rem;
    font-size: 0.6rem;
  }

  .hero-visual .float-card,
  .hero-visual .float-card-delayed {
    max-width: min(11.5rem, 52%);
  }
}

@media (min-width: 640px) {
  .lang-switch button {
    min-width: 2.4rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 379px) {
  .lang-switch button {
    min-width: 1.7rem;
    padding: 0.28rem 0.22rem;
    font-size: 0.55rem;
  }
}

@media (hover: none) {
  .card-tech:hover {
    transform: none;
  }

  .btn-primary:hover,
  .btn-accent:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .float-card,
  .float-card-delayed,
  .animate-pulse-slow,
  .orbit-1,
  .orbit-2,
  .orbit-wrap,
  .glass-cube::after,
  .kicker-dot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .service-card,
  .stat-card,
  .tech-item,
  .lang-thumb,
  .card-tech {
    transition: none;
  }
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.review-stars svg {
  width: 0.95rem;
  height: 0.95rem;
}

.reviews-empty {
  text-align: center;
  color: var(--muted, #a1a1aa);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 auto 1.5rem;
  max-width: 36rem;
}

.team-avatar {
  display: flex;
  height: 5rem;
  width: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 2px solid rgba(204, 255, 0, 0.4);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  background: linear-gradient(160deg, rgba(204, 255, 0, 0.16), #141415);
}

.about-people {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-people .team-avatar {
  height: 4rem;
  width: 4rem;
  font-size: 1.05rem;
}

@media (min-width: 640px) {
  .about-people .team-avatar {
    height: 5rem;
    width: 5rem;
    font-size: 1.25rem;
  }
}

.review-form {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.review-rating {
  display: flex;
  gap: 0.25rem;
}

.review-rating button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #3f3f46;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem;
}

.review-rating button.is-on {
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.assistant-launcher {
  cursor: pointer;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.assistant-launcher:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.assistant-launcher.is-open {
  animation: none;
}

.assistant-panel {
  position: fixed;
  z-index: 60;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  width: min(22.5rem, calc(100vw - 2rem));
  height: min(32rem, calc(100vh - 6.5rem));
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 14, 15, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(204, 255, 0, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.assistant-panel[hidden] {
  display: none;
}

.assistant-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.assistant-heading {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
}

.assistant-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: #a1a1aa;
  cursor: pointer;
}

.assistant-close:hover,
.assistant-send:hover {
  color: var(--accent);
}

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.assistant-bubble {
  max-width: 92%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.85rem;
  font-size: 0.8rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.assistant-bubble.is-assistant {
  align-self: flex-start;
  background: rgba(39, 39, 42, 0.9);
  color: #d4d4d8;
}

.assistant-bubble.is-user {
  align-self: flex-end;
  background: rgba(204, 255, 0, 0.16);
  color: #f4f4f5;
}

.assistant-bubble.is-error {
  align-self: stretch;
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}

.assistant-bubble.is-streaming::after {
  content: '▍';
  display: inline-block;
  margin-left: 2px;
  color: var(--accent);
  animation: assistant-caret-blink 0.9s step-start infinite;
}

@keyframes assistant-caret-blink {
  50% {
    opacity: 0;
  }
}

.assistant-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.assistant-form input {
  flex: 1;
  min-width: 0;
  border-radius: 0.75rem;
  border: 1px solid #3f3f46;
  background: rgba(10, 10, 10, 0.8);
  color: #fff;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  outline: none;
}

.assistant-form input:focus {
  border-color: rgba(204, 255, 0, 0.5);
}

.assistant-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--accent);
  color: #0a0a0a;
  cursor: pointer;
  flex-shrink: 0;
}

.assistant-send:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* Savings calculator */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--calc-fill, 50%), #3f3f46 var(--calc-fill, 50%), #3f3f46 100%);
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #0a0a0a;
  box-shadow: 0 0 0 1px rgba(204, 255, 0, 0.4);
  cursor: pointer;
}

.calc-range::-moz-range-thumb {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #0a0a0a;
  box-shadow: 0 0 0 1px rgba(204, 255, 0, 0.4);
  cursor: pointer;
}

.calc-range::-moz-range-track {
  height: 0.35rem;
  border-radius: 999px;
  background: transparent;
}
