/*
 * Local, home-only replacement for the small Tailwind utility subset used by
 * home.html. The landing page must remain correctly laid out when DEBUG=False
 * and the Tailwind development CDN is intentionally absent.
 */
html.home-page {
  max-width: 100%;
  overflow-x: hidden;
}

body.cosmic {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

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

body.cosmic h1,
body.cosmic h2,
body.cosmic h3,
body.cosmic h4,
body.cosmic p {
  margin: 0;
}

body.cosmic button,
body.cosmic input,
body.cosmic textarea,
body.cosmic select {
  font: inherit;
}

body.cosmic img,
body.cosmic svg {
  display: block;
}

body.cosmic .hidden { display: none !important; }
body.cosmic .flex { display: flex; }
body.cosmic .inline-flex { display: inline-flex; }
body.cosmic .grid { display: grid; }
body.cosmic .flex-col { flex-direction: column; }
body.cosmic .flex-wrap { flex-wrap: wrap; }
body.cosmic .items-start { align-items: flex-start; }
body.cosmic .items-center { align-items: center; }
body.cosmic .justify-center { justify-content: center; }
body.cosmic .justify-between { justify-content: space-between; }
body.cosmic .gap-2 { gap: .5rem; }
body.cosmic .gap-3 { gap: .75rem; }
body.cosmic .gap-5 { gap: 1.25rem; }
body.cosmic .gap-6 { gap: 1.5rem; }
body.cosmic .gap-10 { gap: 2.5rem; }

body.cosmic .mx-auto { margin-left: auto; margin-right: auto; }
body.cosmic .mt-2 { margin-top: .5rem; }
body.cosmic .mt-3 { margin-top: .75rem; }
body.cosmic .mt-4 { margin-top: 1rem; }
body.cosmic .mt-5 { margin-top: 1.25rem; }
body.cosmic .mt-6 { margin-top: 1.5rem; }
body.cosmic .mt-7 { margin-top: 1.75rem; }
body.cosmic .mt-8 { margin-top: 2rem; }
body.cosmic .mt-10 { margin-top: 2.5rem; }
body.cosmic .ml-2 { margin-left: .5rem; }
body.cosmic .px-4 { padding-left: 1rem; padding-right: 1rem; }
body.cosmic .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
body.cosmic .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
body.cosmic .py-2 { padding-top: .5rem; padding-bottom: .5rem; }
body.cosmic .py-3 { padding-top: .75rem; padding-bottom: .75rem; }
body.cosmic .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
body.cosmic .pt-2 { padding-top: .5rem; }
body.cosmic .pt-8 { padding-top: 2rem; }
body.cosmic .pb-8 { padding-bottom: 2rem; }
body.cosmic .pb-12 { padding-bottom: 3rem; }
body.cosmic .p-6 { padding: 1.5rem; }

body.cosmic .max-w-3xl { max-width: 48rem; }
body.cosmic .max-w-6xl { max-width: 72rem; }
body.cosmic .h-4 { height: 1rem; }
body.cosmic .w-4 { width: 1rem; }
body.cosmic .rounded-xl { border-radius: .75rem; }
body.cosmic .rounded-2xl { border-radius: 1rem; }
body.cosmic .text-center { text-align: center; }
body.cosmic .text-xs { font-size: .75rem; line-height: 1rem; }
body.cosmic .text-sm { font-size: .875rem; line-height: 1.25rem; }
body.cosmic .text-xl { font-size: 1.25rem; line-height: 1.75rem; }
body.cosmic .text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
body.cosmic .text-5xl { font-size: 3rem; line-height: 1; }
body.cosmic .font-semibold { font-weight: 600; }
body.cosmic .tracking-wide { letter-spacing: .025em; }
body.cosmic .text-white\/70 { color: rgba(255,255,255,.70); }
body.cosmic .text-white\/80 { color: rgba(255,255,255,.80); }
body.cosmic .text-white\/85 { color: rgba(255,255,255,.85); }
body.cosmic .opacity-80 { opacity: .8; }

@media (min-width: 640px) {
  body.cosmic .sm\:inline-flex { display: inline-flex !important; }
  body.cosmic .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.cosmic .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  body.cosmic .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.cosmic .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  body.cosmic .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
  body.cosmic .lg\:flex { display: flex !important; }
  body.cosmic .lg\:hidden { display: none !important; }
  body.cosmic .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.cosmic .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.cosmic .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  body.cosmic .lg\:col-span-3 { grid-column: span 3 / span 3; }
  body.cosmic .lg\:col-span-4 { grid-column: span 4 / span 4; }
  body.cosmic .lg\:col-span-5 { grid-column: span 5 / span 5; }
  body.cosmic .lg\:col-span-6 { grid-column: span 6 / span 6; }
}

@media (min-width: 1280px) {
  body.cosmic .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Keep the mobile hero unobstructed; the bottom-right launcher remains visible
   and opens the full Aro Guide panel on demand. */
@media (max-width: 640px) {
  html.home-page body.cosmic .aro-guide-nudge {
    display: none !important;
  }
}
