:root {
  --color-bg: #050505;
  --color-surface: #0a0a0a;
  --color-line: #222222;
  --color-text: #f0f0f0;
  --color-dim: #777777;
  --color-ai: #4d9fff;
  --font-sans: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
  background-color: transparent;
  background-image: none;
  border: 0 solid transparent;
  border-radius: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

button {
  background: none;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-dim);
  opacity: 1;
}

select option {
  background: var(--color-bg);
  color: var(--color-text);
}

::selection {
  background: var(--color-ai);
  color: var(--color-bg);
}

.selection\:bg-ai::selection,
.selection\:bg-ai *::selection {
  background: var(--color-ai);
}

.selection\:text-bg::selection,
.selection\:text-bg *::selection {
  color: var(--color-bg);
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-grow {
  flex-grow: 1;
}

.flex-none {
  flex: none;
}

.flex-col {
  flex-direction: column;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-rows-4 {
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.col-span-1 {
  grid-column: span 1 / span 1;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-8 {
  gap: 2rem;
}

.w-5 {
  width: 1.25rem;
}

.w-20 {
  width: 5rem;
}

.w-full {
  width: 100%;
}

.w-screen {
  width: 100vw;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.h-5 {
  height: 1.25rem;
}

.h-auto {
  height: auto;
}

.h-px {
  height: 1px;
}

.h-screen {
  height: 100vh;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-12 {
  padding: 3rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pt-0\.5 {
  padding-top: 0.125rem;
}

.pt-4 {
  padding-top: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  inset: 0;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.z-10 {
  z-index: 10;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.resize-none {
  resize: none;
}

.appearance-none {
  appearance: none;
  -webkit-appearance: none;
}

.cursor-pointer {
  cursor: pointer;
}

.rounded-none {
  border-radius: 0;
}

.text-center {
  text-align: center;
}

.font-sans {
  font-family: var(--font-sans);
}

.font-mono {
  font-family: var(--font-mono);
}

.font-light {
  font-weight: 300;
}

.text-\[10px\] {
  font-size: 10px;
  line-height: 1rem;
}

.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-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.tracking-\[0\.3em\] {
  letter-spacing: 0.3em;
}

.text-bg {
  color: var(--color-bg);
}

.text-ai {
  color: var(--color-ai);
}

.text-dim {
  color: var(--color-dim);
}

.text-text {
  color: var(--color-text);
}

.bg-transparent {
  background-color: transparent;
}

.bg-bg {
  background-color: var(--color-bg);
}

.bg-surface {
  background-color: var(--color-surface);
}

.bg-ai {
  background-color: var(--color-ai);
}

.bg-text {
  background-color: var(--color-text);
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-r {
  border-right-width: 1px;
  border-right-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-ai {
  border-color: var(--color-ai);
}

.border-line {
  border-color: var(--color-line);
}

.opacity-50 {
  opacity: 0.5;
}

.shadow-\[0_0_10px_\#4D9FFF\] {
  box-shadow: 0 0 10px #4d9fff;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.transition-all {
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hover\:bg-ai:hover {
  background-color: var(--color-ai);
}

.hover\:bg-surface:hover {
  background-color: var(--color-surface);
}

.hover\:bg-text:hover {
  background-color: var(--color-text);
}

.hover\:border-ai:hover {
  border-color: var(--color-ai);
}

.hover\:text-ai:hover {
  color: var(--color-ai);
}

.hover\:text-bg:hover {
  color: var(--color-bg);
}

.hover\:text-text:hover {
  color: var(--color-text);
}

.focus\:border-ai:focus {
  border-color: var(--color-ai);
}

.focus\:outline-none:focus {
  outline: none;
}

.nav-link {
  min-width: 0;
}

.brand-lockup {
  line-height: 1;
  letter-spacing: 0.16em;
}

.brand-lockup img {
  flex: none;
}

.brand-lockup span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(0.06em);
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.animate-reveal {
  animation: reveal 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-transition-out {
  opacity: 0;
  transform: scale(0.98) translateY(10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  pointer-events: none;
}

.page-transition-in {
  animation: pageIn 0.3s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

main {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.animate-scan {
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(500px);
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .md\:w-1\/3 {
    width: 33.333333%;
  }

  .md\:w-2\/3 {
    width: 66.666667%;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:h-16 {
    height: 4rem;
  }

  .md\:justify-start {
    justify-content: flex-start;
  }

  .md\:overflow-hidden {
    overflow: hidden;
  }

  .md\:border-b-0 {
    border-bottom-width: 0;
  }

  .md\:border-r {
    border-right-width: 1px;
    border-right-style: solid;
  }

  .md\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }

  .md\:p-10 {
    padding: 2.5rem;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:p-16 {
    padding: 4rem;
  }

  .md\:p-24 {
    padding: 6rem;
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:py-0 {
    padding-top: 0;
    padding-bottom: 0;
  }

  .md\:text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
}
