/* ===================================================================
   Listingood — Static Utility CSS (replaces Tailwind CDN)
   Generated 2026-04-11 — every class audited against the manifest.
   =================================================================== */

/* -----------------------------------------------------------------
   0. CSS RESET
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; tab-size: 4; line-height: 1.5; }

body { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
       'Helvetica Neue', Arial, sans-serif;
       line-height: inherit;
       -webkit-font-smoothing: antialiased;
       -moz-osx-font-smoothing: grayscale; }

::selection { background: #dbe8ff; color: #1e3a8a; }

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

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

ol, ul { list-style: none; }

table { border-collapse: collapse; border-spacing: 0; }

/* -----------------------------------------------------------------
   1. DESIGN TOKENS  (CSS custom properties)
   ----------------------------------------------------------------- */
:root {
  /* brand */
  --brand-50:  #eff5ff;
  --brand-100: #dbe8ff;
  --brand-200: #bfd4ff;
  --brand-300: #93b6ff;
  --brand-400: #608dff;
  --brand-500: #3b65fb;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;

  /* accent */
  --accent-500: #06b6d4;
  --accent-600: #0891b2;

  /* ink (neutrals) */
  --ink-50:  #f8fafc;
  --ink-100: #f1f5f9;
  --ink-200: #e2e8f0;
  --ink-300: #cbd5e1;
  --ink-400: #94a3b8;
  --ink-500: #64748b;
  --ink-600: #475569;
  --ink-700: #334155;
  --ink-800: #1e293b;
  --ink-900: #0f172a;

  /* radius */
  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 28px;

  /* shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.1);
  --shadow-xl: 0 24px 60px rgba(15,23,42,0.14);
}

/* -----------------------------------------------------------------
   2. LAYOUT — position, display, overflow, inset, z-index
   ----------------------------------------------------------------- */
.absolute   { position: absolute; }
.relative   { position: relative; }
.sticky     { position: sticky; }

.block       { display: block; }
.hidden      { display: none; }
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.grid        { display: grid; }
.inline-flex { display: inline-flex; }

.overflow-hidden { overflow: hidden; }

.inset-0   { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0     { top: 0; }
.-top-px   { top: -1px; }
.-top-3    { top: -0.75rem; }

.left-1\/2       { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }

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

/* -----------------------------------------------------------------
   3. SIZING — width, height
   ----------------------------------------------------------------- */
.w-3    { width: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.w-4    { width: 1rem; }
.w-5    { width: 1.25rem; }
.w-9    { width: 2.25rem; }
.w-10   { width: 2.5rem; }
.w-11   { width: 2.75rem; }
.w-full { width: 100%; }

.h-3    { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4    { height: 1rem; }
.h-5    { height: 1.25rem; }
.h-9    { height: 2.25rem; }
.h-10   { height: 2.5rem; }
.h-11   { height: 2.75rem; }
.h-12   { height: 3rem; }
.h-13   { height: 3.25rem; }
.h-16   { height: 4rem; }
.h-px   { height: 1px; }

/* -----------------------------------------------------------------
   4. SPACING — padding, margin, gap, space-y
   ----------------------------------------------------------------- */
/* padding */
.p-5  { padding: 1.25rem; }
.p-7  { padding: 1.75rem; }
.p-8  { padding: 2rem; }

.px-2    { padding-left: 0.5rem; padding-right: 0.5rem; }
.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; }
.px-7    { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8    { padding-left: 2rem; padding-right: 2rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1    { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3    { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4    { padding-top: 1rem; padding-bottom: 1rem; }
.py-6    { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12   { padding-top: 3rem; padding-bottom: 3rem; }
.py-16   { padding-top: 4rem; padding-bottom: 4rem; }
.py-24   { padding-top: 6rem; padding-bottom: 6rem; }

.pb-6 { padding-bottom: 1.5rem; }

/* margin */
.mb-5  { margin-bottom: 1.25rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }

.mt-0\.5 { margin-top: 0.125rem; }
.mt-1    { margin-top: 0.25rem; }
.mt-2    { margin-top: 0.5rem; }
.mt-3    { margin-top: 0.75rem; }
.mt-4    { margin-top: 1rem; }
.mt-5    { margin-top: 1.25rem; }
.mt-6    { margin-top: 1.5rem; }
.mt-8    { margin-top: 2rem; }
.mt-10   { margin-top: 2.5rem; }
.mt-14   { margin-top: 3.5rem; }
.mt-16   { margin-top: 4rem; }
.mt-32   { margin-top: 8rem; }

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

/* gap */
.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-6    { gap: 1.5rem; }
.gap-8    { gap: 2rem; }
.gap-12   { gap: 3rem; }

/* space-y (lobotomised owl) */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* -----------------------------------------------------------------
   5. FLEX / GRID ALIGNMENT
   ----------------------------------------------------------------- */
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.shrink-0       { flex-shrink: 0; }

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

.object-contain { object-fit: contain; }

/* -----------------------------------------------------------------
   6. TYPOGRAPHY
   ----------------------------------------------------------------- */
.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-4xl  { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl  { font-size: 3rem; line-height: 1; }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 900; }

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

.leading-\[1\.05\] { line-height: 1.05; }
.leading-relaxed    { line-height: 1.625; }

.uppercase       { text-transform: uppercase; }
.text-center     { text-align: center; }
.whitespace-nowrap { white-space: nowrap; }

/* -----------------------------------------------------------------
   7. COLORS — text, background
   ----------------------------------------------------------------- */
/* text */
.text-white      { color: #fff; }
.text-white\/80  { color: rgba(255,255,255,0.8); }
.text-white\/90  { color: rgba(255,255,255,0.9); }

.text-ink-400  { color: var(--ink-400); }
.text-ink-500  { color: var(--ink-500); }
.text-ink-600  { color: var(--ink-600); }
.text-ink-700  { color: var(--ink-700); }
.text-ink-900  { color: var(--ink-900); }

.text-brand-600 { color: var(--brand-600); }
.text-brand-700 { color: var(--brand-700); }

/* background */
.bg-white      { background-color: #fff; }
.bg-white\/0   { background-color: rgba(255,255,255,0); }
.bg-ink-50     { background-color: var(--ink-50); }
.bg-brand-50   { background-color: var(--brand-50); }
.bg-brand-100  { background-color: var(--brand-100); }
.bg-brand-600  { background-color: var(--brand-600); }

/* -----------------------------------------------------------------
   8. BORDERS & RINGS
   ----------------------------------------------------------------- */
.border   { border-width: 1px; border-style: solid; }
.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-y { border-top-width: 1px; border-top-style: solid;
            border-bottom-width: 1px; border-bottom-style: solid; }

.border-transparent { border-color: transparent; }
.border-ink-100     { border-color: var(--ink-100); }
.border-ink-200     { border-color: var(--ink-200); }
.border-brand-600   { border-color: var(--brand-600); }

.ring-1          { box-shadow: 0 0 0 1px var(--tw-ring-color, rgba(59,130,246,0.5)); }
.ring-brand-200  { --tw-ring-color: var(--brand-200); }

.rounded-full { border-radius: 9999px; }
.rounded-xs   { border-radius: var(--radius-xs); }
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-2xl  { border-radius: var(--radius-2xl); }

/* -----------------------------------------------------------------
   9. EFFECTS — shadows, opacity, backdrop
   ----------------------------------------------------------------- */
.shadow-xs { box-shadow: var(--shadow-xs); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.opacity-20     { opacity: 0.2; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* -----------------------------------------------------------------
   10. TRANSITIONS
   ----------------------------------------------------------------- */
.transition-all    { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
                     transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }

/* -----------------------------------------------------------------
   11. MAX-WIDTH
   ----------------------------------------------------------------- */
.max-w-xs  { max-width: 20rem; }
.max-w-xl  { max-width: 36rem; }
.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-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* -----------------------------------------------------------------
   12. HOVER STATES
   ----------------------------------------------------------------- */
.hover\:bg-brand-700:hover   { background-color: var(--brand-700); }
.hover\:bg-ink-100:hover     { background-color: var(--ink-100); }
.hover\:bg-white\/90:hover   { background-color: rgba(255,255,255,0.9); }

.hover\:border-brand-300:hover { border-color: var(--brand-300); }
.hover\:border-brand-500:hover { border-color: var(--brand-500); }

.hover\:shadow-md:hover { box-shadow: var(--shadow-md); }
.hover\:shadow-xl:hover { box-shadow: var(--shadow-xl); }

.hover\:text-brand-600:hover { color: var(--brand-600); }
.hover\:text-ink-900:hover   { color: var(--ink-900); }
.hover\:underline:hover      { text-decoration-line: underline; }

/* group hover */
.group:hover .group-hover\:bg-brand-100 { background-color: var(--brand-100); }

/* -----------------------------------------------------------------
   13. RESPONSIVE — 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\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
}

/* -----------------------------------------------------------------
   14. RESPONSIVE — lg (≥1024px)
   ----------------------------------------------------------------- */
@media (min-width: 1024px) {
  .lg\:flex        { display: flex; }
  .lg\:hidden      { display: none; }

  .lg\:col-span-2  { grid-column: span 2 / span 2; }
  .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-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

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

  .lg\:px-8  { padding-left: 2rem; padding-right: 2rem; }
  .lg\:px-16 { padding-left: 4rem; padding-right: 4rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }

  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-xl  { font-size: 1.25rem; line-height: 1.75rem; }
}

/* -----------------------------------------------------------------
   CUSTOM CLASSES (brand-specific)
   ----------------------------------------------------------------- */
.bg-grid {
  background-image: linear-gradient(to right, rgba(15,23,42,0.04) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 50%, transparent 100%);
}

.bg-radial-brand {
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.08) 0%, transparent 60%);
}

.text-gradient-brand {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.place-items-center { place-items: center; }
.cursor-pointer { cursor: pointer; }

/* -----------------------------------------------------------------
   CONTACT FORM
   ----------------------------------------------------------------- */
.contact-input {
  display: block;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--ink-900);
  background: var(--ink-50);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.contact-textarea {
  resize: vertical;
}
select.contact-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* -----------------------------------------------------------------
   MOBILE MENU ANIMATION
   ----------------------------------------------------------------- */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}
.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Mobile menu link hover effect */
.mobile-menu a,
.mobile-menu button {
  transition: all 0.15s ease;
}
.mobile-menu ul a {
  border-radius: var(--radius-sm);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.mobile-menu ul a:hover {
  background-color: var(--ink-50);
}
