/* Reset & base - prevent layout shift */
*,::before,::after{box-sizing:border-box}
html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
body{margin:0;line-height:inherit}
h1,h2,h3,p{margin:0}
img,svg{display:block;vertical-align:middle;max-width:100%;height:auto}
button,input,select{font-family:inherit;font-size:100%;line-height:inherit;margin:0}
[hidden]{display:none!important}

/* Page structure - critical for CLS */
.h-full{height:100%}
.min-h-full{min-height:100%}
.overflow-x-hidden{overflow-x:hidden}
.max-w-full{max-width:100%}

/* Layout utilities */
.flex{display:flex}
.grid{display:grid}
.hidden{display:none}
.block{display:block}
.inline-block{display:inline-block}
.items-start{align-items:flex-start}
.items-center{align-items:center}
.justify-center{justify-content:center}
.justify-between{justify-content:space-between}
.flex-shrink-0{flex-shrink:0}
.space-x-4>:not([hidden])~:not([hidden]){margin-left:1rem}
.space-y-2>:not([hidden])~:not([hidden]){margin-top:.5rem}
.space-y-4>:not([hidden])~:not([hidden]){margin-top:1rem}
.gap-4{gap:1rem}
.gap-y-16{row-gap:4rem}

/* Spacing */
.mx-auto{margin-left:auto;margin-right:auto}
.mt-4{margin-top:1rem}
.mt-6{margin-top:1.5rem}
.mb-6{margin-bottom:1.5rem}
.-mt-32{margin-top:-8rem}
.px-4{padding-left:1rem;padding-right:1rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-6{padding-top:1.5rem;padding-bottom:1.5rem}
.py-12{padding-top:3rem;padding-bottom:3rem}
.pb-12{padding-bottom:3rem}
.pb-20{padding-bottom:5rem}
.pb-32{padding-bottom:8rem}
.p-5{padding:1.25rem}
.p-6{padding:1.5rem}
.p-8{padding:2rem}
.pr-8{padding-right:2rem}

/* Sizing */
.w-full{width:100%}
.h-5{height:1.25rem}
.w-5{width:1.25rem}
.h-10{height:2.5rem}
.w-10{width:2.5rem}
.h-16{height:4rem}
.h-20{height:5rem}
.max-w-7xl{max-width:80rem}
.max-w-4xl{max-width:56rem}
.max-w-2xl{max-width:42rem}

/* Typography */
.text-sm{font-size:.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}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}
.tracking-tight{letter-spacing:-.025em}
.leading-7{line-height:1.75rem}
.text-center{text-align:center}

/* Colors - backgrounds (Safe Utility theme) */
.bg-white{background-color:#fff}
.bg-gray-50{background-color:#fafafa}
.bg-gray-100{background-color:#fafafa}
.bg-gray-800{background-color:#fafafa}
.bg-gray-900{background-color:#0a0a0a}
.bg-indigo-600{background-color:#0a0a0a}
.bg-gradient-to-br{background-image:none;background-color:#fafafa}
.from-indigo-600{--tw-gradient-from:#0a0a0a;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgb(10 10 10/0))}
.to-purple-700{--tw-gradient-to:#0a0a0a}
.bg-midnight{background-color:#fafafa}

/* Colors - text (Safe Utility theme) */
.text-white{color:#fff}
.text-gray-500{color:#737373}
.text-gray-600{color:#525252}
.text-gray-700{color:#404040}
.text-gray-900{color:#0a0a0a}
.text-indigo-100{color:#e0e7ff}
.text-indigo-600{color:#4f46e5}

/* Borders & shapes */
.rounded-lg{border-radius:.5rem}
.rounded-xl{border-radius:.75rem}
.rounded-2xl{border-radius:1rem}
.border-b{border-bottom-width:1px}
.border-b-2{border-bottom-width:2px}
.border-gray-200{border-color:#e5e7eb}
.border-gray-300{border-color:#d1d5db}
.border-indigo-500{border-color:#6366f1}
.border-transparent{border-color:transparent}
.ring-1{box-shadow:0 0 0 1px var(--tw-ring-color)}
.ring-gray-200{--tw-ring-color:#e5e7eb}
.shadow{box-shadow:0 1px 3px 0 rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}
.shadow-sm{box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}

/* Forms - prevent layout shift */
input,select{display:block;width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.5rem}
label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}
button[type="submit"]{width:100%;padding:.75rem 1.5rem;background:#0a0a0a;color:#fff;border:none;border-radius:.5rem;font-weight:500;cursor:pointer}

/* Navigation tabs */
nav.-mb-px{margin-bottom:-1px}
.search-tab{padding:.5rem .25rem;font-size:.875rem;font-weight:500;border-bottom:2px solid transparent}
.search-tab.active{border-color:#2563eb;color:#2563eb}

/* Banner — hidden by default; shown when html lacks .banner-dismissed class */
.banner-dismiss{background-color:#0a0a0a;color:white;padding:.5rem 0;overflow:hidden}
.banner-dismissed .banner-dismiss{display:none!important}

/* Relative/absolute positioning */
.relative{position:relative}
.absolute{position:absolute}
.fixed{position:fixed}
.top-0{top:0}
.bottom-0{bottom:0}
.right-0{right:0}
.left-0{left:0}
.inset-0{inset:0}
.z-10{z-index:10}
.z-40{z-index:40}
.z-50{z-index:50}

/* Responsive grid */
@media(min-width:640px){
  .sm\:hidden{display:none}
  .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
  .sm\:py-16{padding-top:4rem;padding-bottom:4rem}
  .sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm\:block{display:block}
  .sm\:rounded-2xl{border-radius:1rem}
  .sm\:p-8{padding:2rem}
}
@media(min-width:768px){
  .md\:hidden{display:none}
  .md\:pb-0{padding-bottom:0}
}
@media(min-width:1024px){
  .lg\:px-8{padding-left:2rem;padding-right:2rem}
  .lg\:py-24{padding-top:6rem;padding-bottom:6rem}
  .lg\:text-5xl{font-size:3rem;line-height:1}
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:max-w-none{max-width:none}
  .lg\:block{display:block}
  .lg\:hidden{display:none}
  .lg\:flex{display:flex}
}

/* Custom fonts */
.font-display{font-family:'Inter',-apple-system,system-ui,sans-serif;font-weight:600}
.font-body{font-family:'Inter',-apple-system,system-ui,sans-serif}

/* Specific layout stabilization - prevent CLS */
/* Banner area */
.banner-dismiss .mx-auto{display:flex;align-items:center;justify-content:center;position:relative}
.banner-dismiss p{font-size:.875rem;font-weight:500;text-align:center;padding-right:2rem}
/* Navigation - fixed height prevents shifts */
.pb-32{padding-bottom:8rem}
.pb-32 nav{min-height:4rem}
/* Header area */
header.py-6,header.py-10{min-height:5rem}
header h1{min-height:1.5rem}
/* Main content overlap */
main.-mt-32{margin-top:-8rem}
/* (removed) blanket min-height CLS hacks on `main div.rounded-lg.bg-white.p-4`,
   `.bg-gradient-to-br.py-*`, `.bg-gray-50.rounded-*` and `.ring-1.ring-gray-200`.
   They were guesses applied site-wide from a block that outranks Tailwind at
   equal specificity, so they forced wrong heights on server-rendered markup
   that was never going to shift in the first place. */
/* Icon containers: w-10/h-10 boxes are flex children without shrink-0, so
   without this they get squashed to ~34px. Sizing only — the display:flex
   that used to live here forced a flex context on every 40px box. */
.h-10.w-10{min-width:2.5rem;min-height:2.5rem}
/* Overflow handling */
.overflow-x-auto{overflow-x:auto;-webkit-overflow-scrolling:touch}
.min-w-max{min-width:max-content}

/* Progress bar animation */
@keyframes progress-bar{0%{width:0}20%{width:30%}50%{width:60%}80%{width:85%}100%{width:95%}}
.animate-progress-bar{animation:progress-bar 2s ease-out forwards}

.footer-acc-title{display:none}
@media(min-width:1024px){
  .footer-acc>summary{display:none}
  .footer-acc-title{display:block}
  .footer-acc-panel{display:block!important}
}
