/* ============================================
   Myndra — Warm Scientific Aesthetic
   Cognitive Rehabilitation Platform
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;0,9..144,800;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #FAF7F2;
    --bg-alt: #F0EDE6;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FDFCFA;
    --bg-dark: #1E2A2A;
    --text: #2A2520;
    --text-muted: #6B6560;
    --text-dim: #9A9590;
    --border: #E5E0D8;
    --border-light: #EDE9E2;
    --primary: #2D5A5A;
    --primary-light: #3D7A7A;
    --primary-pale: rgba(45,90,90,0.08);
    --accent: #C4956A;
    --accent-light: #D4A87D;
    --accent-pale: rgba(196,149,106,0.10);
    --green: #5A8F7B;
    --green-pale: rgba(90,143,123,0.10);
    --blue: #4A7B9D;
    --blue-pale: rgba(74,123,157,0.10);
    --warm: #B8704A;
    --warm-pale: rgba(184,112,74,0.08);
    --shadow-sm: 0 1px 3px rgba(42,37,32,0.06);
    --shadow-md: 0 4px 20px rgba(42,37,32,0.08);
    --shadow-lg: 0 12px 40px rgba(42,37,32,0.10);
    --shadow-glow: 0 0 60px rgba(45,90,90,0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--primary); color: white;
    padding: 0.5rem 1rem; border-radius: var(--radius-sm);
    z-index: 200; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }

/* ---- Neural Pattern Background ---- */
.neural-bg {
    position: relative;
    overflow: hidden;
}
.neural-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='600' height='400' viewBox='0 0 600 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200 Q150 100 300 200 T600 200' fill='none' stroke='%232D5A5A' stroke-width='0.5' opacity='0.06'/%3E%3Cpath d='M0 220 Q120 140 280 220 T600 180' fill='none' stroke='%23C4956A' stroke-width='0.5' opacity='0.05'/%3E%3Cpath d='M0 180 Q180 80 350 190 T600 210' fill='none' stroke='%232D5A5A' stroke-width='0.3' opacity='0.04'/%3E%3Ccircle cx='150' cy='150' r='2' fill='%232D5A5A' opacity='0.06'/%3E%3Ccircle cx='300' cy='200' r='2.5' fill='%23C4956A' opacity='0.06'/%3E%3Ccircle cx='450' cy='170' r='2' fill='%232D5A5A' opacity='0.06'/%3E%3Ccircle cx='80' cy='210' r='1.5' fill='%23C4956A' opacity='0.05'/%3E%3Ccircle cx='520' cy='190' r='1.5' fill='%232D5A5A' opacity='0.05'/%3E%3C/svg%3E");
    background-size: 600px 400px;
    pointer-events: none;
    z-index: 0;
}
.neural-bg > * { position: relative; z-index: 1; }

/* ---- Nav ---- */
nav {
    position: fixed; top: 0; width: 100%;
    padding: 0.85rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
    color: var(--primary); text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
}
.nav-icon { border-radius: 8px; }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.7rem 1.6rem;
    border-radius: var(--radius-sm); font-size: 0.92rem;
    font-weight: 600; font-family: var(--font-body);
    text-decoration: none; transition: all 0.25s;
    cursor: pointer; border: none; line-height: 1.4;
}
a.btn { text-decoration: none; }
.btn-primary {
    background: var(--primary); color: white !important;
    box-shadow: 0 2px 8px rgba(45,90,90,0.2);
}
.btn-primary:hover {
    background: var(--primary-light); color: white !important;
    box-shadow: 0 4px 16px rgba(45,90,90,0.25);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent; color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-pale);
}
.btn-accent {
    background: var(--accent); color: white !important;
    box-shadow: 0 2px 8px rgba(196,149,106,0.25);
}
.btn-accent:hover {
    background: var(--accent-light); color: white !important;
    transform: translateY(-1px);
}
.btn-large { padding: 0.9rem 2.2rem; font-size: 1rem; border-radius: var(--radius); }

/* ---- Hero ---- */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 8rem 2rem 5rem;
    background: linear-gradient(175deg, var(--bg) 0%, #EDE8DF 60%, var(--bg) 100%);
}
.hero .section-inner {
    display: flex; align-items: center; gap: 5rem;
    max-width: 1120px; margin: 0 auto; width: 100%;
}
.hero-text { flex: 1; }
.hero-phone { flex-shrink: 0; }

.hero-trust {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--green-pale); border: 1px solid rgba(90,143,123,0.2);
    border-radius: 100px; font-size: 0.8rem; font-weight: 600;
    color: var(--green); margin-bottom: 2rem;
}
.hero-trust svg { width: 14px; height: 14px; }

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.08;
    margin-bottom: 1.5rem; letter-spacing: -0.03em;
    color: var(--text);
    font-variation-settings: 'opsz' 40;
}
.hero h1 em {
    font-style: italic;
    color: var(--primary);
    font-variation-settings: 'opsz' 40;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.18rem);
    color: var(--text-muted); max-width: 480px;
    margin-bottom: 2.25rem; line-height: 1.65;
    font-weight: 300;
}

.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }

.app-store-badge { display: inline-flex; align-items: center; transition: all 0.2s; }
.app-store-badge:hover { opacity: 0.85; transform: translateY(-1px); }
.app-store-badge:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 8px; }
.app-store-badge img { display: block; height: 3.2rem; width: auto; }

.hero-stats {
    display: flex; gap: 3rem; margin-top: 3.5rem;
    padding-top: 2.5rem; border-top: 1px solid var(--border);
}
.hero-stat { text-align: left; }
.hero-stat .val {
    font-family: var(--font-display);
    font-size: 1.8rem; font-weight: 700;
    color: var(--primary);
    font-variation-settings: 'opsz' 48;
}
.hero-stat .lbl {
    font-size: 0.78rem; color: var(--text-dim);
    margin-top: 0.1rem; font-weight: 400;
    letter-spacing: 0.02em;
}

/* Phone Frame */
.phone-frame {
    width: 290px; height: 590px;
    border-radius: 40px;
    border: 3px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.03);
    background: #000;
    position: relative;
}
.phone-frame video {
    width: 100%; height: 100%;
    object-fit: cover;
}
.phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 126px; height: 30px;
    background: #000; border-radius: 0 0 20px 20px;
    z-index: 2;
}

/* ---- Section Headers ---- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--accent);
    font-weight: 700; margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 700; margin-bottom: 0.85rem;
    letter-spacing: -0.025em; color: var(--text);
    line-height: 1.15;
    font-variation-settings: 'opsz' 36;
}
.section-desc {
    font-size: 1.05rem; color: var(--text-muted);
    max-width: 560px; line-height: 1.7;
    font-weight: 300;
}

/* ---- Evidence Banner ---- */
.evidence-banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 1.25rem 2rem;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.evidence-banner strong {
    font-weight: 700;
    color: var(--accent-light);
}

/* ---- How It Works ---- */
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem; margin-top: 3rem;
}
.step {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 2rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.step:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.step-num {
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.05rem; margin-bottom: 1.25rem;
}
.step h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; margin-bottom: 0.5rem;
    color: var(--text); font-weight: 600;
}
.step p { font-size: 0.92rem; color: var(--text-muted); font-weight: 300; }

/* ---- Differentiators ---- */
.diff-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; margin-top: 3rem;
}
.diff {
    display: flex; gap: 1.25rem; padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.diff:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.diff-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.diff h3 {
    font-family: var(--font-display);
    font-size: 1.05rem; margin-bottom: 0.3rem;
    color: var(--text); font-weight: 600;
}
.diff p { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; }

/* ---- Dimensions ---- */
.dims {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; margin-top: 3rem;
}
.dim {
    text-align: center; padding: 1.75rem 1.25rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.dim:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.dim-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.dim h4 {
    font-family: var(--font-display);
    font-size: 0.95rem; margin-bottom: 0.25rem;
    color: var(--text); font-weight: 600;
}
.dim p { font-size: 0.78rem; color: var(--text-dim); font-weight: 300; }

/* ---- Features ---- */
.feats {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; margin-top: 3rem;
}
.feat {
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.feat:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.feat-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.25rem;
}
.feat h3 {
    font-family: var(--font-display);
    font-size: 1.1rem; margin-bottom: 0.4rem;
    color: var(--text); font-weight: 600;
}
.feat p { font-size: 0.92rem; color: var(--text-muted); font-weight: 300; }

/* ---- Personas ---- */
.personas {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 3rem;
}
.persona {
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.persona:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.persona-icon { font-size: 2rem; margin-bottom: 1rem; }
.persona h3 {
    font-family: var(--font-display);
    font-size: 1.1rem; margin-bottom: 0.5rem;
    color: var(--text); font-weight: 600;
}
.persona p { font-size: 0.92rem; color: var(--text-muted); font-weight: 300; }

/* ---- Pricing ---- */
.pricing-toggle {
    display: flex; justify-content: center;
    margin-top: 2.5rem; margin-bottom: 2.5rem;
}
.pricing-toggle label {
    padding: 0.55rem 1.4rem; font-size: 0.88rem; font-weight: 600;
    cursor: pointer; color: var(--text-muted);
    border: 1.5px solid var(--border); transition: all 0.2s;
    background: var(--bg-card);
}
.pricing-toggle label:first-of-type { border-radius: 8px 0 0 8px; }
.pricing-toggle label:last-of-type { border-radius: 0 8px 8px 0; margin-left: -1.5px; }

#monthly:checked ~ .pricing-toggle label[for="monthly"],
#yearly:checked ~ .pricing-toggle label[for="yearly"] {
    background: var(--primary); color: white;
    border-color: var(--primary); position: relative; z-index: 1;
}

.price-yearly { display: none; }
#yearly:checked ~ .pricing-grid .price-monthly { display: none; }
#yearly:checked ~ .pricing-grid .price-yearly { display: block; }

.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 980px; margin: 0 auto;
}
.price-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    background: var(--bg-card);
    position: relative;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.price-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.price-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}
.price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white;
    font-size: 0.72rem; font-weight: 700;
    padding: 0.3rem 1rem; border-radius: 100px; white-space: nowrap;
    letter-spacing: 0.02em;
}
.price-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem; color: var(--text);
    font-weight: 600;
}
.price-amount {
    font-family: var(--font-display);
    font-size: 2.4rem; font-weight: 800;
    margin: 0.85rem 0; color: var(--text);
    font-variation-settings: 'opsz' 48;
}
.price-amount span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.price-save {
    font-size: 0.8rem; color: var(--green);
    font-weight: 600; margin-bottom: 0.5rem;
}
.price-card ul { list-style: none; margin: 1.5rem 0; }
.price-card li {
    padding: 0.35rem 0; font-size: 0.88rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 0.6rem;
    font-weight: 400;
}
.price-card .check { color: var(--green); font-weight: 700; font-size: 0.9rem; }
.price-card .no { color: var(--text-dim); }

/* ---- FAQ ---- */
.faq-list { max-width: 700px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border-light); padding: 1.35rem 0; }
.faq-q {
    font-family: var(--font-display);
    font-size: 1.02rem; font-weight: 600; color: var(--text);
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; gap: 1rem;
}
.faq-q::after {
    content: '+'; font-size: 1.3rem; color: var(--text-dim);
    flex-shrink: 0; transition: transform 0.2s;
    font-family: var(--font-body);
}
.faq-item input[type="checkbox"] { display: none; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item input:checked ~ .faq-a { max-height: 300px; }
.faq-item input:checked ~ .faq-q::after { content: '\2212'; }
.faq-a p {
    padding-top: 0.85rem; font-size: 0.92rem;
    color: var(--text-muted); line-height: 1.7; font-weight: 300;
}

/* ---- CTA Section ---- */
.cta-section {
    text-align: center; padding: 7rem 2rem;
    background: var(--bg-dark);
    color: white;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800; margin-bottom: 0.85rem;
    color: white;
    font-variation-settings: 'opsz' 40;
}
.cta-section p {
    font-size: 1.08rem; color: rgba(255,255,255,0.7);
    margin-bottom: 2rem; max-width: 480px;
    margin-left: auto; margin-right: auto;
    font-weight: 300;
}

/* ---- Disclaimer ---- */
.disclaimer {
    text-align: center; padding: 1.75rem 2rem; font-size: 0.78rem;
    color: var(--text-dim); border-top: 1px solid var(--border-light);
    max-width: 600px; margin: 0 auto;
    font-weight: 300;
}

/* ---- Footer ---- */
footer {
    border-top: 1px solid var(--border-light);
    padding: 3rem 2rem;
    background: var(--bg-alt);
}
.footer-inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: flex-start; flex-wrap: wrap; gap: 2.5rem;
}
.footer-brand { max-width: 300px; }
.footer-brand .name {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700;
    color: var(--primary); margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.82rem; color: var(--text-dim); font-weight: 300; }
.footer-links { display: flex; gap: 3.5rem; }
.footer-col h4 {
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--text-muted);
    margin-bottom: 0.75rem; font-weight: 700;
}
.footer-col a {
    display: block; color: var(--text-dim); text-decoration: none;
    font-size: 0.85rem; padding: 0.25rem 0; transition: color 0.2s;
    font-weight: 400;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    max-width: 1120px; margin: 1.75rem auto 0;
    padding-top: 1.5rem; border-top: 1px solid var(--border-light);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
    font-size: 0.78rem; color: var(--text-dim);
}

/* ---- Email Signup ---- */
.email-form {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; margin-top: 2rem;
    max-width: 480px; margin-left: auto; margin-right: auto;
}
.email-form input[type="email"] {
    flex: 1; padding: 0.8rem 1.1rem;
    background: rgba(255,255,255,0.1); color: white;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.95rem; font-family: var(--font-body);
    outline: none; transition: border-color 0.2s;
}
.email-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.email-form input[type="email"]:focus { border-color: var(--accent); }
.email-form .btn { flex-shrink: 0; }

/* ---- Blog Cards ---- */
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem; margin-top: 3rem;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--primary);
}
.blog-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag {
    font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--accent);
    font-weight: 700; margin-bottom: 0.6rem;
}
.blog-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600;
    color: var(--text); margin-bottom: 0.5rem;
    line-height: 1.3;
}
.blog-card p {
    font-size: 0.88rem; color: var(--text-muted);
    font-weight: 300; line-height: 1.6;
    flex: 1;
}
.blog-card-meta {
    padding: 1rem 1.75rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.78rem; color: var(--text-dim);
    display: flex; justify-content: space-between;
}

/* Blog page layout */
.blog-header {
    padding: 8rem 2rem 3rem;
    text-align: center;
}
.blog-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.blog-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
}

/* Blog post page */
.blog-post {
    max-width: 720px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}
.blog-post h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text);
}
.blog-post-meta {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}
.blog-post h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}
.blog-post h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.blog-post p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}
.blog-post strong { color: var(--text); font-weight: 600; }
.blog-post blockquote {
    border-left: 3px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--accent-pale);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    font-style: italic;
    color: var(--text-muted);
}
.blog-post ul, .blog-post ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-muted);
}
.blog-post li {
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
    line-height: 1.7;
    font-weight: 300;
}
.blog-post hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2.5rem 0;
}

/* ---- Scroll Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    section { padding: 4.5rem 0; }
    .section-inner { padding: 0 1.25rem; }
    .nav-links a:not(.btn) { display: none; }
    .hero { min-height: auto; padding: 7rem 1.25rem 3rem; }
    .hero .section-inner { flex-direction: column; text-align: center; gap: 3rem; }
    .hero-text { align-items: center; display: flex; flex-direction: column; }
    .hero-sub { text-align: center; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 2rem; }
    .hero-stat { text-align: center; }
    .phone-frame { width: 230px; height: 470px; border-radius: 32px; }
    .phone-notch { width: 95px; height: 24px; border-radius: 0 0 15px 15px; }
    .steps, .feats, .diff-grid { grid-template-columns: 1fr; }
    .dims { grid-template-columns: repeat(2, 1fr); }
    .personas { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 1.75rem; }
    .evidence-banner { font-size: 0.85rem; padding: 1rem 1.25rem; }
}

@media (max-width: 480px) {
    .dims { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .fade-in { opacity: 1; transform: none; }
}

/* Phone float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.phone-frame { animation: float 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .phone-frame { animation: none; }
}
