/* =========================================================
   DEV NOCTIS — Static utility layer (replaces Tailwind CDN)
   Compiled by hand to match exactly the classes used in the
   site's HTML, so the site works with zero external requests
   and zero runtime JS-based CSS generation.
   Breakpoints: sm 640px / md 768px / lg 1024px
   ========================================================= */

/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Color tokens (mirrors tailwind.config in old CDN setup) ---------- */
.bg-navy { background-color: #0F172A; }
.bg-navyElevated { background-color: #141E33; }
.bg-navy\/98 { background-color: rgba(15,23,42,0.98); }
.bg-accent { background-color: #2563EB; }
.bg-accentGlow { background-color: #60A5FA; }
.bg-accent\/15 { background-color: rgba(37,99,235,0.15); }
.bg-accent\/20 { background-color: rgba(37,99,235,0.20); }
.bg-accent\/25 { background-color: rgba(37,99,235,0.25); }
.bg-white\/8 { background-color: rgba(255,255,255,0.08); }
.bg-white\/15 { background-color: rgba(255,255,255,0.15); }
.bg-white\/20 { background-color: rgba(255,255,255,0.20); }
.bg-white\/\[0\.02\] { background-color: rgba(255,255,255,0.02); }
.bg-\[\#FF5F56\] { background-color: #FF5F56; }
.bg-\[\#FFBD2E\] { background-color: #FFBD2E; }
.bg-\[\#27C93F\] { background-color: #27C93F; }
.bg-gradient-to-r { background-image: linear-gradient(90deg, var(--grad-from, transparent), var(--grad-to, transparent)); }
.from-accent\/30 { --grad-from: rgba(37,99,235,0.30); }
.to-accentGlow\/20 { --grad-to: rgba(96,165,250,0.20); }
.text-ink { color: #F8FAFC; }
.text-muted { color: #94A3B8; }
.text-accentGlow { color: #60A5FA; }
.border-white\/10 { border-color: rgba(255,255,255,0.10); }
.border-accentGlow\/40 { border-color: rgba(96,165,250,0.40); }
.hover\:text-ink:hover { color: #F8FAFC; }

/* ---------- Font families / weights ---------- */
.font-display { font-family: 'Space Grotesk','Inter',sans-serif; }
.font-sans { font-family: 'Inter', system-ui, sans-serif; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.antialiased { -webkit-font-smoothing: antialiased; }
.tracking-tight { letter-spacing: -0.015em; }

/* ---------- Text sizes ---------- */
.text-xs { font-size: 0.75rem; line-height: 1.4; }
.text-\[11px\] { font-size: 11px; line-height: 1.4; }
.text-sm { font-size: 0.875rem; line-height: 1.6; }
.text-lg { font-size: 1.125rem; line-height: 1.6; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-3xl { font-size: 1.875rem; line-height: 1.25; }
.text-4xl { font-size: 2.25rem; line-height: 1.15; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.7; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(90deg, #60A5FA, #2563EB);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.transition-colors { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }

/* ---------- Layout: display ---------- */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.overflow-hidden { overflow: hidden; }
.shrink-0 { flex-shrink: 0; }

/* ---------- Flex / grid alignment ---------- */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* ---------- Gaps ---------- */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-14 { gap: 3.5rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-3 { row-gap: 0.75rem; }

/* ---------- Grid columns ---------- */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ---------- Spacing scale ---------- */
.m-4 { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.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-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.ml-3 { margin-left: 0.75rem; }
.left-8 { left: 2rem; }
.-top-3 { top: -0.75rem; }
.top-0 { top: 0; }
.inset-x-0 { left: 0; right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-32 { padding-top: 8rem; }
.pb-14 { padding-bottom: 3.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.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-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.space-y-0 > * + * { margin-top: 0; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* ---------- Sizing ---------- */
.w-1\.5 { width: 0.375rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-2\/3 { width: 66.6667%; }
.w-2\/5 { width: 40%; }
.w-3\/4 { width: 75%; }
.w-3\/5 { width: 60%; }
.w-5\/6 { width: 83.3333%; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.min-h-\[260px\] { min-height: 260px; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-xl { max-width: 36rem; }

/* ---------- Borders / radius ---------- */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ---------- Lists ---------- */
.list-disc { list-style: disc; }
.list-inside { list-style-position: inside; }

/* ---------- Component-ish helper classes referenced from HTML directly ---------- */
/* (card, btn-primary, btn-ghost, terminal*, nav-link, nav-blur, wa-float, wa-pulse,
   sticky-cta, reveal, eyebrow, divider, grid-glow, browser-frame, browser-chrome)
   are defined in style.css alongside the design tokens. */

/* =========================================================
   Responsive variants
   ========================================================= */

/* ---- sm: >= 640px ---- */
@media (min-width: 640px) {
  .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\:p-6 { padding: 1.5rem; }
  .sm\:p-14 { padding: 3.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:pt-40 { padding-top: 10rem; }
  .sm\:pb-28 { padding-bottom: 7rem; }
  .sm\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
}

/* ---- md: >= 768px ---- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:pb-0 { padding-bottom: 0; }
}

/* ---- lg: >= 1024px ---- */
@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\:text-\[3\.4rem\] { font-size: 3.4rem; }
}
