/* ==========================================================================
   Stitch Design System Tokens & Utilities for Crest Loan
   Generated to exactly match C:\Users\tenai\Downloads\crest_loan_stitch_design\code.html
   ========================================================================== */

/* Design Tokens */
:root {
  --stitch-primary: #000000;
  --stitch-primary-container: #0e1c2f;
  --stitch-on-primary: #ffffff;
  --stitch-on-primary-container: #77849c;
  
  --stitch-surface: #f8f9ff;
  --stitch-surface-container-lowest: #ffffff;
  --stitch-surface-container-low: #eff4ff;
  --stitch-surface-container: #e6eeff;
  --stitch-surface-container-high: #dce9ff;
  --stitch-on-surface: #001c38;
  --stitch-on-surface-variant: #44474c;
  
  --stitch-secondary: #855300;
  --stitch-secondary-container: #fea619;
  --stitch-secondary-fixed: #ffddb8;
  --stitch-tertiary-fixed: #6ffbbe;
  
  --stitch-outline-variant: #c5c6cd;
  --stitch-border-subtle: rgba(197, 198, 205, 0.3);
  --stitch-container-border: rgba(220, 233, 255, 0.2);
}

/* Material Symbols Outlined font setup */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Backgrounds */
.bg-primary-container { background-color: var(--stitch-primary-container) !important; }
.bg-secondary-container { background-color: var(--stitch-secondary-container) !important; }
.bg-secondary-container\/20 { background-color: rgba(254, 166, 25, 0.2) !important; }
.bg-surface { background-color: var(--stitch-surface) !important; }
.bg-surface-container { background-color: var(--stitch-surface-container) !important; }
.bg-surface-container-low { background-color: var(--stitch-surface-container-low) !important; }
.bg-surface-container-lowest { background-color: var(--stitch-surface-container-lowest) !important; }
.bg-surface-container-high\/10 { background-color: rgba(220, 233, 255, 0.1) !important; }
.bg-surface-container-high\/20 { background-color: rgba(220, 233, 255, 0.2) !important; }

/* Text Colors */
.text-on-primary { color: var(--stitch-on-primary) !important; }
.text-on-primary-container { color: var(--stitch-on-primary-container) !important; }
.text-on-surface { color: var(--stitch-on-surface) !important; }
.text-on-surface-variant { color: var(--stitch-on-surface-variant) !important; }
.text-primary-container { color: var(--stitch-primary-container) !important; }
.text-secondary { color: var(--stitch-secondary) !important; }
.text-secondary-fixed { color: var(--stitch-secondary-fixed) !important; }
.text-tertiary-fixed { color: var(--stitch-tertiary-fixed) !important; }

/* Borders */
.border-outline-variant { border: 1px solid var(--stitch-outline-variant) !important; }
.border-outline-variant\/30 { border: 1px solid var(--stitch-border-subtle) !important; }
.border-surface-container { border: 1px solid var(--stitch-surface-container) !important; }
.border-surface-container-high\/20 { border-color: rgba(220, 233, 255, 0.2) !important; }
.border-t { border-top-width: 1px !important; border-top-style: solid !important; }
.border-b { border-bottom-width: 1px !important; border-bottom-style: solid !important; }

/* Typography */
.font-display-lg, .text-display-lg {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 38px !important;
  line-height: 46px !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}
@media (min-width: 992px) {
  .font-display-lg, .text-display-lg {
    font-size: 44px !important;
    line-height: 52px !important;
  }
}

.font-headline-lg, .text-headline-lg {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 28px !important;
  line-height: 36px !important;
  letter-spacing: -0.015em !important;
  font-weight: 700 !important;
}
@media (min-width: 992px) {
  .font-headline-lg, .text-headline-lg {
    font-size: 32px !important;
    line-height: 40px !important;
  }
}

.font-headline-md, .text-headline-md {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 22px !important;
  line-height: 30px !important;
  font-weight: 700 !important;
}

.font-title-md, .text-title-md {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 600 !important;
}

.font-body-lg, .text-body-lg {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 400 !important;
}

.font-body-md, .text-body-md {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  line-height: 23px !important;
  font-weight: 400 !important;
}

.font-body-sm, .text-body-sm {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
}

.font-label-lg, .text-label-lg {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
}

.font-label-md, .text-label-md {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
}

.font-label-sm, .text-label-sm {
  font-family: 'Inter', sans-serif !important;
  font-size: 11.5px !important;
  line-height: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

.text-sm { font-size: 14px !important; }
.text-base { font-size: 16px !important; }
.text-xl { font-size: 20px !important; }
.text-2xl { font-size: 24px !important; }
.text-3xl { font-size: 30px !important; }
.leading-relaxed { line-height: 1.625 !important; }
.whitespace-nowrap { white-space: nowrap !important; }

/* Grid & Flex Utilities */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }

@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:items-center { align-items: center !important; }
}

@media (min-width: 992px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
  .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
  .lg\:p-12 { padding: 3rem !important; }
  .lg\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
}

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:gap-8 { gap: 2rem !important; }
}

.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-col { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-12 { gap: 3rem !important; }
.gap-x-8 { column-gap: 2rem !important; }
.gap-y-3 { row-gap: 0.75rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }

/* Spacing */
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.p-2\.5 { padding: 0.625rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pb-8 { padding-bottom: 2rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Max Width */
.max-w-xs { max-width: 20rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-7xl { max-width: 80rem !important; }

/* Dimensions & Objects */
.w-9 { width: 2.25rem !important; }
.w-40 { width: 10rem !important; }
.w-full { width: 100% !important; }
.h-9 { height: 2.25rem !important; }
.h-40 { height: 10rem !important; }
.h-96 { height: 24rem !important; }
.object-contain { object-fit: contain !important; }
.object-cover { object-fit: cover !important; }
.overflow-hidden { overflow: hidden !important; }

/* Border Radii */
.rounded-md { border-radius: 0.375rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }
.rounded-full { border-radius: 9999px !important; }

/* Shadows */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }

/* Positioning */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.-bottom-6 { bottom: -1.5rem !important; }
.-right-4 { right: -1rem !important; }

/* Transitions & Hovers */
.transition-all { transition-property: all !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important; }
.transition-colors { transition-property: color, background-color, border-color !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important; }
.hover\:bg-secondary:hover { background-color: var(--stitch-secondary) !important; color: #ffffff !important; }
.hover\:text-secondary-fixed:hover { color: var(--stitch-secondary-fixed) !important; }
.hover\:underline:hover { text-decoration: underline !important; }
.active\:scale-95:active { transform: scale(0.95) !important; }

/* Refinements for Contrast & Mobile Safety */
.bg-surface svg {
  color: #001c38 !important;
  display: block;
}

#footer a.text-on-primary-container {
  color: #a4b3cc !important;
}
#footer a.text-on-primary-container:hover {
  color: #ffddb8 !important;
}

#footer strong.text-on-primary {
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .lg\:col-span-5 .absolute.-bottom-6.-right-4 {
    position: static !important;
    margin-top: -1.5rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 92% !important;
  }
}

