body {
    background-color: #f8fafc;
    /* Subtle pattern for texture */
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Styling the contenteditable area for the result */
#speech-output strong {
    font-weight: 700;
    color: #9d174d;
    /* Brand-700 color for emphasis */
}

#speech-output p {
    margin-bottom: 1.5rem;
    /* Space paragraphs nicely */
    text-indent: 0.5em;
    /* Small indent for readability */
}

/* Custom styles for terms content */
.terms h2 {
    @apply font-serif text-2xl font-bold text-slate-800 mt-6 mb-3;
}

.terms h3 {
    @apply font-semibold text-xl text-brand-700 mt-4 mb-2;
}

.terms p,
.terms li {
    @apply text-slate-700 mb-4 leading-relaxed;
}

.terms ol,
.terms ul {
    @apply list-decimal list-inside ml-4 space-y-2;
}

/* Custom styles for policy content */
.policy h2 {
    @apply font-serif text-2xl font-bold text-slate-800 mt-6 mb-3;
}

.policy h3 {
    @apply font-semibold text-xl text-brand-700 mt-4 mb-2;
}

.policy p,
.policy li {
    @apply text-slate-700 mb-4 leading-relaxed;
}

.policy ul {
    @apply list-disc list-inside ml-4 space-y-2;
}


/* blog */
body {
    background-color: #f8fafc;
    /* Exact SpeechCraft Pattern */
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Typography Styles for Blog Content */
.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    /* slate-800 */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    /* slate-700 */
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    color: #334155;
}

.article-content li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.article-content strong {
    color: #be185d;
    /* brand-600 */
    font-weight: 600;
}

.nav-btn.active {
    background-color: #fce7f3;
    /* brand-100 */
    color: #be185d;
    /* brand-600 */
    border-color: #be185d;
}