/* Broke & Buzzed Custom Styling */

/* Minimal fix for horizontal scrollbar */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Force Tailwind-like styling */
.body-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
  color: #111827 !important;
  line-height: 1.5 !important;
}

/* Section styling */
section {
  padding: 2rem 0;
  position: relative;
}

section > div {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Typography */
h1 {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.5rem !important;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem !important;
  }
}

h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
  h2 {
    font-size: 1.875rem !important;
  }
}

h3 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
}

/* Text colors */
.text-purple-700 {
  color: #7e22ce !important;
}

.text-neutral-700 {
  color: #404040 !important;
}

.text-neutral-600 {
  color: #525252 !important;
}

.text-neutral-500 {
  color: #737373 !important;
}

/* Background colors */
.bg-white {
  background-color: #ffffff !important;
}

.bg-neutral-900 {
  background-color: #171717 !important;
}

.bg-neutral-50 {
  background-color: #fafafa !important;
}

/* Button styling */
a[href].rounded-xl, button.rounded-xl {
  border-radius: 0.75rem !important;
  font-weight: 600 !important;
  display: inline-block;
  transition: all 0.2s ease;
}

a[href].bg-neutral-900, button.bg-neutral-900 {
  background-color: #171717 !important;
  color: white !important;
}

a[href].border, button.border {
  border: 1px solid #e5e7eb !important;
}

/* Card styling */
.rounded-2xl {
  border-radius: 1rem !important;
}

.border {
  border: 1px solid #e5e7eb !important;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Form styling */
form input[type="text"],
form input[type="email"] {
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem 0.75rem !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 1rem !important;
}

form input[type="checkbox"] {
  accent-color: #111827 !important;
}

/* Grid system */
.grid {
  display: grid !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.gap-6 {
  gap: 1.5rem !important;
}

.gap-8 {
  gap: 2rem !important;
}

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

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Special styling for How It Works page */
/* This ensures the original layout is preserved */
body.collection-6593dac81bd205792fa4d5bf .grid.md\:grid-cols-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.collection-6593dac81bd205792fa4d5bf .grid.md\:grid-cols-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.collection-6593dac81bd205792fa4d5bf .grid.sm\:grid-cols-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.collection-6593dac81bd205792fa4d5bf .aspect-video {
  position: relative !important;
  height: auto !important;
  min-height: 300px !important;
}

body.collection-6593dac81bd205792fa4d5bf .gap-6 {
  gap: 1.5rem !important;
}

body.collection-6593dac81bd205792fa4d5bf .gap-8 {
  gap: 2rem !important;
}

body.collection-6593dac81bd205792fa4d5bf .gap-16 {
  gap: 4rem !important;
}

body.collection-6593dac81bd205792fa4d5bf .container.max-w-6xl {
  max-width: 72rem !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* Remove any auto-fit grid settings that might be affecting the layout */
body.collection-6593dac81bd205792fa4d5bf .grid {
  grid-template-columns: initial !important;
}

/* Fix for the mockup containers */
body.collection-6593dac81bd205792fa4d5bf .bg-neutral-100.rounded-2xl {
  width: 100% !important;
}

body.collection-6593dac81bd205792fa4d5bf .w-full.max-w-md {
  max-width: 28rem !important;
}

/* Restore proper spacing between sections */
body.collection-6593dac81bd205792fa4d5bf section {
  padding: 4rem 0 !important;
}

/* Ensure text sizes are correct */
body.collection-6593dac81bd205792fa4d5bf p, 
body.collection-6593dac81bd205792fa4d5bf li, 
body.collection-6593dac81bd205792fa4d5bf span {
  font-size: inherit !important;
}

/* Ensure the order of columns is correct */
@media (min-width: 768px) {
  body.collection-6593dac81bd205792fa4d5bf .order-1.md\:order-2 {
    order: 2 !important;
  }
  
  body.collection-6593dac81bd205792fa4d5bf .order-2.md\:order-1 {
    order: 1 !important;
  }
}

/* Flex system */
.flex {
  display: flex !important;
}

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

.flex-wrap {
  flex-wrap: wrap !important;
}

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

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

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row !important;
  }
}

/* Spacing */
.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

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

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

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

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

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

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.p-4 {
  padding: 1rem !important;
}

@media (min-width: 768px) {
  .md\:py-16 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .md\:py-24 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  .md\:p-6 {
    padding: 1.5rem !important;
  }
}

/* Utility classes */
.hidden {
  display: none !important;
}

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

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-extrabold {
  font-weight: 800 !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.text-xs {
  font-size: 0.75rem !important;
}

.text-base {
  font-size: 1rem !important;
}

.text-lg {
  font-size: 1.125rem !important;
}

.text-white {
  color: white !important;
}

/* Mobile nav specific */
.desktop-nav {
  display: none !important;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  
  .mobile-menu-button {
    display: none !important;
  }
}

.mobile-menu-button {
  display: block !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
}

/* Override Squarespace default elements */
#page {
  max-width: none !important;
  padding: 0 !important;
}

.Main-content {
  padding: 0 !important;
}

.sqs-block-content {
  max-width: none !important;
}

.page-section {
  padding: 0 !important;
}

.content-wrapper {
  padding: 0 !important;
}

/* FAQ details/summary elements - fix for double markers */
details {
  overflow: hidden;
}

details summary {
  list-style-type: none !important;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none !important;
}

details summary::marker {
  display: none !important;
  content: "" !important;
}

/* Make sure only our custom SVG icon appears */
details summary svg {
  min-width: 20px;
}

details[open] summary svg {
  transform: rotate(180deg);
}

/* Fix for FAQ and Waitlist content width */
.faq-content, 
#faq .max-w-3xl,
#waitlistForm,
.max-w-xl,
.max-w-2xl {
  max-width: 100% !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  #faq .max-w-3xl {
    max-width: 48rem !important;
  }
  
  .max-w-xl {
    max-width: 36rem !important;
  }
  
  .max-w-2xl {
    max-width: 42rem !important;
  }
}

/* Table fixes - make them less aggressive */
table {
  width: 100% !important;
}

@media (max-width: 767px) {
  table {
    overflow-x: auto !important;
    display: block !important;
  }
}
}

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

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.p-4 {
  padding: 1rem !important;
}

@media (min-width: 768px) {
  .md\:py-16 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .md\:py-24 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  .md\:p-6 {
    padding: 1.5rem !important;
  }
}

/* Utility classes */
.hidden {
  display: none !important;
}

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

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-extrabold {
  font-weight: 800 !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.text-xs {
  font-size: 0.75rem !important;
}

.text-base {
  font-size: 1rem !important;
}

.text-lg {
  font-size: 1.125rem !important;
}

.text-white {
  color: white !important;
}

/* Mobile nav specific */
.desktop-nav {
  display: none !important;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  
  .mobile-menu-button {
    display: none !important;
  }
}

.mobile-menu-button {
  display: block !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
}

/* Override Squarespace default elements */
#page {
  max-width: none !important;
  padding: 0 !important;
}

.Main-content {
  padding: 0 !important;
}

.sqs-block-content {
  max-width: none !important;
}

.page-section {
  padding: 0 !important;
}

.content-wrapper {
  padding: 0 !important;
}

/* FAQ details/summary elements - fix for double markers */
details {
  overflow: hidden;
}

details summary {
  list-style-type: none !important;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none !important;
}

details summary::marker {
  display: none !important;
  content: "" !important;
}

/* Make sure only our custom SVG icon appears */
details summary svg {
  min-width: 20px;
}

details[open] summary svg {
  transform: rotate(180deg);
}

/* Fix for FAQ and Waitlist content width */
.faq-content, 
#faq .max-w-3xl,
#waitlistForm,
.max-w-xl,
.max-w-2xl {
  max-width: 100% !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  #faq .max-w-3xl {
    max-width: 48rem !important;
  }
  
  .max-w-xl {
    max-width: 36rem !important;
  }
  
  .max-w-2xl {
    max-width: 42rem !important;
  }
}
