body {
    font-family: 'Inter', sans-serif;
    background-color: #FBF9F6;
    /* A very light, warm off-white */
}

:root {
    --peach: #FFCBA4;
    --matcha: #B2D8B4;
    --dark-text: #3D3D3D;
    --light-text: #6B6B6B;
    --border-color: #EAEAEA;
}

.bg-peach {
    background-color: var(--peach);
}

.bg-matcha {
    background-color: var(--matcha);
}

.text-peach {
    color: var(--peach);
}

.text-matcha {
    color: var(--matcha);
}

.text-dark {
    color: var(--dark-text);
}

.text-light {
    color: var(--light-text);
}

.border-peach {
    border-color: var(--peach);
}

.border-matcha {
    border-color: var(--matcha);
}

.btn-primary {
    background-color: var(--peach);
    color: var(--dark-text);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-text);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--peach);
    color: var(--peach);
}

.quiz-card,
.content-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.quiz-option {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.quiz-option:hover {
    border-color: var(--matcha);
    background-color: #F3F9F3;
}

.quiz-option.selected {
    border-color: var(--peach);
    background-color: #FFF5EF;
    box-shadow: 0 0 0 3px rgba(255, 203, 164, 0.5);
}

/* Progress bar that reads width from CSS variable */
.progress-bar {
    width: var(--progress, 13%);
}

/* Custom animation for modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.nav-link.active {
    background-color: var(--peach);
    color: var(--dark-text);
}

.nav-link:not(.active):hover {
    background-color: #f3f4f6;
}

/* Header navbar menu wrapper */
.nav-menu {
    background-color: #f3f4f6;
    border-radius: 9999px;
    padding: 6px;
    display: inline-flex;
}

/* Loader for Avatar */
.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid var(--peach);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Landing page helpers */
.bg-peach-20 { 
    background-color: rgba(255, 203, 164, 0.2);
}

.bg-matcha-20 {
    background-color: rgba(178, 216, 180, 0.2);
}

.section {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 1rem;
    }
}

.container-centered {
    max-width: 72rem; 
    margin-left: auto;
    margin-right: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.feature-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
}

/* Icon circle background for feature cards */
.icon-circle {
	width: 3rem;
	height: 3rem;
	background-color: #fde9de !important;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
}

/* Sticky header styling to prevent background from staying fixed */
.sticky-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background-color: #F9F7F3; 
	backdrop-filter: none; 
	-webkit-backdrop-filter: none;
	transition: background-color 200ms ease, backdrop-filter 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

/* Glass morphism when scrolled */
.sticky-header.scrolled {
	background-color: rgba(249, 247, 243, 0.6);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom-color: rgba(163, 177, 138, 0.35);
}

/* Brand typography fallback (replaces Tailwind utilities on the brand title) */
.brand {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 600;
	font-size: 1.875rem; 
	line-height: 1.2;
	color: #3A3A3A; 
	white-space: nowrap; 
	align-self: center; 
}

.brand-footer {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 600; 
	font-size: 1.5rem; 
	line-height: 1.2;
	color: #3A3A3A; 
	white-space: nowrap;
	align-self: center; 
}

@media (min-width: 1024px) {
	.brand { font-size: 1.875rem; }
}

/* Footer layout fallbacks */
.footer-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
}
@media (min-width: 640px) {
	/* sm breakpoint */
	.footer-row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 0;
}

/* Additional color classes for discovery page matching functionality */
.bg-gray-400 {
  background-color: rgb(156 163 175);
}

.bg-neutral-400 {
  background-color: rgb(163 163 163);
}

.bg-green-600 {
  background-color: rgb(22 163 74);
}

.text-gray-600 {
  color: rgb(75 85 99);
}

.text-green-600 {
  color: rgb(22 163 74);
}

.bg-red-500 {
  background-color: rgb(239 68 68);
}

.bg-blue-500 {
  background-color: rgb(59 130 246);
}

.hover\:bg-gray-500:hover {
  background-color: rgb(107 114 128);
}

.hover\:bg-neutral-500:hover {
  background-color: rgb(115 115 115);
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.bg-gray-500 {
  background-color: rgb(107 114 128);
}

.bg-neutral-500 {
  background-color: rgb(115 115 115);
}

.text-gray-500 {
  color: rgb(107 114 128);
}

.text-neutral-500 {
  color: rgb(115 115 115);
}

.bg-gray-300 {
  background-color: rgb(209 213 219);
}

.bg-neutral-300 {
  background-color: rgb(212 212 212);
}

.text-gray-700 {
  color: rgb(55 65 81);
}

.text-neutral-700 {
  color: rgb(64 64 64);
}

.bg-gray-200 {
  background-color: rgb(229 231 235);
}

.bg-neutral-200 {
  background-color: rgb(229 229 229);
}

.text-gray-800 {
  color: rgb(31 41 55);
}

.text-neutral-800 {
  color: rgb(38 38 38);
}

/* Additional color classes for discovery page matching functionality */
.bg-gray-100 {
  background-color: rgb(243 244 246);
}

.bg-gray-400 {
  background-color: rgb(156 163 175);
}

.bg-neutral-400 {
  background-color: rgb(163 163 163);
}

.bg-green-600 {
  background-color: rgb(22 163 74);
}

.text-gray-400 {
  color: rgb(156 163 175);
}

.text-gray-600 {
  color: rgb(75 85 99);
}

.text-green-600 {
  color: rgb(22 163 74);
}

.bg-red-500 {
  background-color: rgb(239 68 68);
}

.bg-blue-500 {
  background-color: rgb(59 130 246);
}

.hover\:bg-gray-500:hover {
  background-color: rgb(107 114 128);
}

.hover\:bg-neutral-500:hover {
  background-color: rgb(115 115 115);
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.bg-gray-500 {
  background-color: rgb(107 114 128);
}

.bg-neutral-500 {
  background-color: rgb(115 115 115);
}

.text-gray-500 {
  color: rgb(107 114 128);
}

.text-neutral-500 {
  color: rgb(115 115 115);
}

.bg-gray-300 {
  background-color: rgb(209 213 219);
}

.bg-neutral-300 {
  background-color: rgb(212 212 212);
}

.text-gray-700 {
  color: rgb(55 65 81);
}

.text-neutral-700 {
  color: rgb(64 64 64);
}

.bg-gray-200 {
  background-color: rgb(229 231 235);
}

.bg-neutral-200 {
  background-color: rgb(229 229 229);
}

.text-gray-800 {
  color: rgb(31 41 55);
}

.text-neutral-800 {
  color: rgb(38 38 38);
}

