/* ============================================
   Custom styles for client landing page
   Minimal — only what Tailwind can't handle
   ============================================ */

/* --- Fade-in animation --- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 600ms ease-out both;
}

.fade-in-delay {
    animation-delay: 150ms;
}

/* --- Form input focus refinements --- */

.form-input {
    font-size: 16px; /* Prevents iOS zoom on focus */
}

.form-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-ring);
}

/* --- Selection color --- */

::selection {
    background-color: var(--brand-primary-ring);
    color: #111111;
}

/* --- Smooth scroll --- */

html {
    scroll-behavior: smooth;
}

/* --- Body text rendering --- */

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Landing prose — styles for rendered markdown
   ============================================ */

/* Use double class for specificity over Tailwind preflight reset */

.landing-prose.landing-prose h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em;
    line-height: 1.2 !important;
    color: #111111;
    margin-bottom: 1.5rem !important;
}

.landing-prose.landing-prose h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    color: #111111;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.landing-prose.landing-prose h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #111111;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
}

.landing-prose.landing-prose p {
    font-size: 1.05rem !important;
    font-weight: 300 !important;
    line-height: 1.75 !important;
    color: #6B6B6B;
    margin-bottom: 1rem !important;
}

.landing-prose.landing-prose p:last-child {
    margin-bottom: 0 !important;
}

.landing-prose.landing-prose strong {
    font-weight: 500 !important;
    color: #111111;
}

.landing-prose.landing-prose em {
    font-style: italic !important;
}

/* Blockquotes render as styled cards */
.landing-prose.landing-prose blockquote {
    background: #ffffff;
    border: 1px solid #E5E5E3 !important;
    border-radius: 12px;
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
}

.landing-prose.landing-prose blockquote p {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
}

.landing-prose.landing-prose blockquote p:last-child {
    margin-bottom: 0 !important;
}

/* Lists inside blockquotes */
.landing-prose.landing-prose blockquote ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.75rem 0 !important;
}

.landing-prose.landing-prose blockquote ul li {
    position: relative;
    padding-left: 1.25rem !important;
    font-size: 1rem !important;
    font-weight: 300 !important;
    line-height: 1.75 !important;
    color: #6B6B6B;
    margin-bottom: 0.5rem !important;
}

.landing-prose.landing-prose blockquote ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-primary);
}

/* Regular lists (outside blockquotes) */
.landing-prose.landing-prose ul,
.landing-prose.landing-prose ol {
    padding-left: 1.25rem !important;
    margin: 1rem 0 !important;
    list-style: disc !important;
}

.landing-prose.landing-prose ol {
    list-style: decimal !important;
}

.landing-prose.landing-prose li {
    font-size: 1.05rem !important;
    font-weight: 300 !important;
    line-height: 1.75 !important;
    color: #6B6B6B;
    margin-bottom: 0.5rem !important;
}

/* Override list-style for blockquote lists specifically */
.landing-prose.landing-prose blockquote ul {
    list-style: none !important;
}

/* Horizontal rules */
.landing-prose.landing-prose hr {
    border: none !important;
    border-top: 1px solid #E5E5E3 !important;
    margin: 2.5rem 0 !important;
    height: 0 !important;
}
