/* Hallmark · genre: modern-minimal · macrostructures: Workbench + Long Document · theme: custom (tuned)
 * H8 knobs: frame=minimal hairline, tilt=0deg, screenshots=one · F1 knobs: tiles=8, spans=irregular, accent=corner-only
 * vibe: "calm, emotionally intelligent, warm, spacious, human" · paper: oklch(97% 0.012 292) · accent: oklch(57% 0.16 292)
 * display: Bricolage Grotesque · body: IBM Plex Sans · axes: light / geometric-sans / cool-violet · studied: no · context: user-provided
 */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41) · nav: N1b · footer: Ft2 · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (34,49,50–57) */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,500..800&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('./tokens.css');

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --accent-color: #f472b6;
    --accent-secondary: #22d3ee;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Language Switcher */
.language-switcher {
    position: relative;
    z-index: 200;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 6px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.language-switcher summary {
    align-items: center;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.45rem;
    list-style: none;
    min-height: 34px;
    padding: 0.25rem 0.45rem 0.25rem 0.6rem;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-current {
    letter-spacing: 0.04em;
}

.language-chevron {
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.language-switcher[open] .language-chevron {
    transform: rotate(180deg);
}

.language-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 6px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 210px;
}

.lang-btn {
    min-height: 36px;
    padding: 8px 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    flex-shrink: 0;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.05) rotate(-3deg);
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo h1 {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo h6 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

.nav {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

.nav a:hover::after {
    width: 30px;
}

/* Hero Section */
.hero {
    padding: 6rem 0 8rem;
    background: var(--gradient-hero);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(244, 114, 182, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particle-float 15s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: -2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: -4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 50%; top: 60%; animation-delay: -6s; animation-duration: 13s; }
.particle:nth-child(5) { left: 70%; top: 30%; animation-delay: -8s; animation-duration: 15s; }
.particle:nth-child(6) { left: 80%; top: 70%; animation-delay: -10s; animation-duration: 17s; }
.particle:nth-child(7) { left: 90%; top: 50%; animation-delay: -12s; animation-duration: 11s; }
.particle:nth-child(8) { left: 40%; top: 90%; animation-delay: -3s; animation-duration: 18s; }

@keyframes particle-float {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
    25% { transform: translateY(-100px) translateX(50px) scale(1.5); opacity: 0.6; }
    50% { transform: translateY(-50px) translateX(-30px) scale(0.8); opacity: 0.4; }
    75% { transform: translateY(-150px) translateX(20px) scale(1.2); opacity: 0.5; }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #f472b6 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Phone Mockup */
.hero-image {
    animation: fadeInUp 1s ease-out 0.6s both;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    perspective: 1000px;
}

.phone-frame {
    position: relative;
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(2deg); }
    50% { transform: translateY(-20px) rotateY(5deg) rotateX(-2deg); }
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    background: #000;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    width: 100%;
    height: auto;
    display: block;
}

.app-preview img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 35px;
}

/* Floating Elements around phone */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    animation: emoji-float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.floating-emoji:nth-child(1) { top: 10%; left: -30px; animation-delay: 0s; }
.floating-emoji:nth-child(2) { top: 30%; right: -40px; animation-delay: -1s; }
.floating-emoji:nth-child(3) { bottom: 30%; left: -50px; animation-delay: -2s; }
.floating-emoji:nth-child(4) { bottom: 10%; right: -30px; animation-delay: -3s; }

@keyframes emoji-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.7s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 4px;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(30, 27, 75, 0.05), transparent);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--gradient-primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* App Showcase Section */
.app-showcase {
    padding: 8rem 0;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%);
    overflow: hidden;
}

.app-showcase .section-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.app-showcase .section-title {
    color: #fff;
}

.app-showcase .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 3rem;
}

.showcase-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.showcase-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.showcase-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.showcase-caption {
    text-align: center;
    margin-top: 12px;
    padding-bottom: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .showcase-caption {
        font-size: 0.8rem;
    }
    .app-showcase {
        padding: 5rem 0;
    }
}

/* Premium Section */
.premium {
    padding: 8rem 0;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(244, 114, 182, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.premium .container {
    position: relative;
    z-index: 1;
}

.premium .section-title,
.premium .section-subtitle {
    color: white;
}

.premium .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.premium-feature {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.premium-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.3);
}

.premium-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.premium-feature-text {
    font-size: 1.05rem;
    font-weight: 500;
}

/* Download Section */
.download {
    padding: 8rem 0;
    background: var(--bg-primary);
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.download .container {
    position: relative;
    z-index: 1;
}

.download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.download-btn img {
    height: 60px;
    width: auto;
    display: block;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Testimonials hint */
.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.avatar:first-child {
    margin-left: 0;
}

.social-proof-text {
    text-align: left;
}

.social-proof-text strong {
    display: block;
    color: var(--text-primary);
}

.social-proof-text span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Privacy & Terms Pages */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-page h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.legal-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-page a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-4px);
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: auto;
    }

    .logo-container {
        gap: 0.75rem;
    }

    .logo-container img {
        width: 50px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo h6 {
        font-size: 0.75rem;
    }

    .hero {
        padding: 4rem 0 5rem;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-bar {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat-item {
        text-align: center;
    }

    .phone-mockup {
        max-width: 260px;
    }

    .nav {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .features, .premium, .download {
        padding: 5rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .premium-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        gap: 1rem;
    }

    .download-btn img {
        height: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Content hub: static resources, glossary and long-form articles */
.resources {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    padding: 8rem 0;
}

.resource-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-card {
    background: #fff;
    border: 1px solid rgba(99, 102, 241, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 2.25rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.resource-card:hover,
.resource-card:focus-visible {
    border-color: rgba(99, 102, 241, 0.48);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.resource-card-accent {
    background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
}

.resource-icon {
    align-items: center;
    background: var(--gradient-primary);
    border-radius: 14px;
    color: #fff;
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    margin-bottom: 1.35rem;
    width: 48px;
}

.resource-kicker,
.eyebrow,
.article-meta,
.topic-tag {
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-card h3 {
    font-size: 1.5rem;
    line-height: 1.28;
    margin: 0.35rem 0 0.75rem;
}

.resource-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.resource-link {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: auto;
    padding-top: 1.5rem;
}

.content-page {
    background: #fbfbff;
    min-height: 100vh;
}

.content-header .container {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.content-header .logo-container {
    text-decoration: none;
}

.content-header .logo h1 {
    font-size: 1.35rem;
}

.content-header .logo h6 {
    font-size: 0.7rem;
}

.brand-name,
.content-header .logo .h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.content-header .logo .h6 {
    color: var(--text-secondary);
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.4;
}

.content-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-left: auto;
}

.content-nav a {
    border-radius: 9px;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 650;
    padding: 0.65rem 0.8rem;
    text-decoration: none;
}

.content-nav a:hover,
.content-nav a:focus-visible {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.editorial-language-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
    max-width: 20rem;
}

.editorial-language-links a {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.42rem 0.52rem;
    text-decoration: none;
}

.editorial-language-links a:hover,
.editorial-language-links a:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.content-hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 5.75rem 0 5rem;
}

.content-hero .container {
    max-width: 920px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.48);
    text-underline-offset: 3px;
}

.content-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
    max-width: 850px;
}

.content-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.12rem;
    line-height: 1.75;
    margin-top: 1.35rem;
    max-width: 730px;
}

.content-shell {
    margin: 0 auto;
    max-width: 1200px;
    padding: 4.5rem 20px 5.5rem;
}

.blog-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto 2.5rem;
    max-width: 760px;
    text-align: center;
}

.topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.topic-tag {
    background: #eef2ff;
    border-radius: 99px;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.85rem;
    text-transform: none;
}

.article-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.article-card:hover,
.article-card:focus-visible {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.article-card h2 {
    font-size: 1.36rem;
    line-height: 1.3;
    margin: 0.6rem 0 0.75rem;
}

.article-card p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.article-card .resource-link {
    padding-top: 1.25rem;
}

.article-layout {
    display: grid;
    gap: 3.25rem;
    grid-template-columns: minmax(0, 1fr) 260px;
    margin: 0 auto;
    max-width: 1080px;
    padding: 4rem 20px 5.5rem;
}

.article-content {
    font-size: 1.08rem;
    line-height: 1.82;
    max-width: 720px;
}

.article-content h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    letter-spacing: -0.025em;
    line-height: 1.22;
    margin: 2.6rem 0 0.85rem;
}

.article-content h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 1.8rem 0 0.55rem;
}

.article-content p,
.article-content li {
    color: #3e4250;
}

.article-content p {
    margin: 0 0 1.2rem;
}

.content-review {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary) !important;
    font-size: 0.88rem;
    margin-bottom: 1.75rem !important;
    padding-bottom: 0.9rem;
}

.article-content ul,
.article-content ol {
    margin: 0.35rem 0 1.45rem 1.35rem;
}

.article-content li {
    margin-bottom: 0.55rem;
    padding-left: 0.2rem;
}

.article-content a,
.article-sidebar a {
    color: #4f46e5;
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-callout,
.wellness-disclaimer,
.related-links,
.download-cta,
.glossary-entry {
    border-radius: 16px;
}

.article-callout {
    background: #f3f1ff;
    border-left: 4px solid var(--primary-color);
    margin: 1.7rem 0;
    padding: 1.25rem 1.35rem;
}

.article-callout p:last-child,
.wellness-disclaimer p:last-child {
    margin-bottom: 0;
}

.wellness-disclaimer {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #713f12;
    font-size: 0.94rem;
    margin: 2.35rem 0;
    padding: 1.1rem 1.2rem;
}

.related-links {
    background: #fff;
    border: 1px solid var(--border-color);
    margin-top: 2.3rem;
    padding: 1.35rem;
}

.related-links h2 {
    font-size: 1.25rem;
    margin: 0 0 0.6rem;
}

.related-links ul {
    margin-bottom: 0;
}

.download-cta {
    background: var(--gradient-hero);
    color: #fff;
    margin-top: 2.5rem;
    padding: 1.55rem;
}

.download-cta h2 {
    color: #fff;
    font-size: 1.35rem;
    margin: 0 0 0.4rem;
}

.download-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.96rem;
    margin-bottom: 1rem;
}

.store-text-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.store-text-links a {
    color: #fff;
    font-size: 0.94rem;
}

.article-sidebar {
    align-self: start;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    position: sticky;
    top: 6.5rem;
}

.article-sidebar h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.article-sidebar ul {
    list-style: none;
}

.article-sidebar li + li {
    border-top: 1px solid #eef0f7;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
}

.glossary-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 auto 2.5rem;
    max-width: 860px;
}

.glossary-jump a {
    align-items: center;
    background: #eef2ff;
    border-radius: 8px;
    color: var(--primary-color);
    display: inline-flex;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    width: 38px;
}

.glossary-jump a:hover,
.glossary-jump a:focus-visible {
    background: var(--primary-color);
    color: #fff;
}

.glossary-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.glossary-entry {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1.4rem;
}

.glossary-entry h2 {
    font-size: 1.18rem;
    line-height: 1.3;
    margin: 0 0 0.55rem;
}

.glossary-term-tr {
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 700;
}

.glossary-entry p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.content-footer {
    padding: 3rem 0;
}

.content-footer a {
    color: rgba(255, 255, 255, 0.75);
}

.content-footer a:hover {
    color: #fff;
}

.visually-hidden {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

:focus-visible {
    outline: 3px solid #f472b6;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .resources {
        padding: 5rem 0;
    }

    .resource-grid,
    .article-grid,
    .glossary-list {
        grid-template-columns: 1fr;
    }

    .content-header {
        padding: 0.75rem 0;
    }

    .content-header .container {
        flex-wrap: wrap;
    }

    .content-nav {
        margin-left: 0;
        order: 3;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        width: 100%;
    }

    .content-nav a {
        flex: 0 0 auto;
    }

    .editorial-language-links {
        justify-content: flex-start;
        max-width: none;
        order: 4;
        width: 100%;
    }

    .content-hero {
        padding: 4rem 0 3.5rem;
    }

    .content-shell,
    .article-layout {
        padding-bottom: 4rem;
        padding-top: 3rem;
    }

    .article-content {
        font-size: 1rem;
    }
}

/* Mobile menu button (optional) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* 2026 visual system: a quieter, product-led companion to the MoodJot app. */
:root {
    --primary-color: #5b5ce2;
    --primary-dark: #4748bb;
    --primary-light: #a3a2ff;
    --secondary-color: #5b5ce2;
    --accent-color: #5b5ce2;
    --accent-secondary: #5b5ce2;
    --text-primary: #172033;
    --text-secondary: #68728d;
    --bg-primary: #ffffff;
    --bg-secondary: #f6f5fb;
    --bg-dark: #172033;
    --border-color: #e8e7f0;
    --shadow: 0 10px 30px rgba(23, 32, 51, 0.06);
    --shadow-lg: 0 18px 42px rgba(23, 32, 51, 0.1);
    --shadow-xl: 0 28px 60px rgba(23, 32, 51, 0.14);
    --shadow-glow: 0 16px 36px rgba(91, 92, 226, 0.22);
    --gradient-primary: linear-gradient(135deg, #5b5ce2 0%, #4748bb 100%);
    --gradient-hero: #f6f5fb;
    --gradient-card: #ffffff;
}

body {
    background: #ffffff;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.55;
}

.container {
    max-width: 1240px;
    padding-left: 24px;
    padding-right: 24px;
}

.bg-blobs,
.hero-particles,
.floating-elements,
.stats-bar {
    display: none;
}

:focus-visible {
    outline: 3px solid rgba(91, 92, 226, 0.48);
    outline-offset: 4px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
    padding: 12px 0;
    position: sticky;
    top: 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.07);
}

.header .container {
    gap: 20px;
    min-height: 48px;
}

.logo-container {
    gap: 12px;
    min-width: max-content;
}

.logo-container img {
    border-radius: 14px;
    height: 44px;
    width: 44px;
}

.logo-container:hover img {
    transform: none;
}

.brand-name,
.logo h1,
.content-header .logo .h1 {
    background: none;
    color: var(--text-primary);
    -webkit-text-fill-color: currentColor;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.logo h6,
.content-header .logo .h6 {
    display: none;
}

.nav {
    align-items: center;
    gap: 3px;
    margin-left: auto;
}

.nav a {
    border-radius: 10px;
    color: #3e4760;
    font-size: 0.88rem;
    font-weight: 650;
    padding: 10px 12px;
}

.nav a::after {
    display: none;
}

.nav a:hover,
.nav a:focus-visible {
    background: #f2f1fa;
    color: var(--primary-color);
}

.nav .header-download {
    background: var(--primary-color);
    box-shadow: 0 7px 16px rgba(91, 92, 226, 0.2);
    color: #fff;
    margin-left: 6px;
    padding-left: 16px;
    padding-right: 16px;
}

.nav .header-download:hover,
.nav .header-download:focus-visible {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.language-switcher {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: none;
    padding: 2px;
}

.language-switcher summary {
    color: var(--text-primary);
    font-size: 0.76rem;
    min-height: 38px;
    padding: 0.25rem 0.5rem 0.25rem 0.65rem;
}

.language-chevron {
    color: var(--text-secondary);
}

.language-menu {
    background: #fff;
    border-color: var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    width: 220px;
}

.lang-btn {
    border-radius: 9px;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.lang-btn:hover {
    background: #f2f1fa;
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    box-shadow: none;
    color: #fff;
}

.mobile-menu-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    display: none;
    height: 42px;
    justify-content: center;
    margin-left: -12px;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 42px;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.is-active {
    background: #f2f1fa;
    border-color: rgba(91, 92, 226, 0.3);
}

.mobile-menu-btn svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 20px;
}

/* Hero */
.hero {
    align-items: center;
    background: #fff;
    color: var(--text-primary);
    display: flex;
    min-height: 720px;
    overflow: hidden;
    padding: 88px 0 74px;
}

.hero::before {
    background: radial-gradient(circle at 72% 42%, rgba(91, 92, 226, 0.11) 0%, rgba(91, 92, 226, 0.04) 24%, transparent 48%);
    z-index: 0;
}

.hero .container {
    gap: clamp(48px, 8vw, 104px);
    grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.96fr);
    z-index: 1;
}

.hero-content {
    animation: none;
    max-width: 620px;
}

.hero-badge {
    display: none;
}

.hero-title {
    animation: none;
    color: var(--text-primary);
    font-size: clamp(3rem, 5.2vw, 4.85rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.01;
    margin-bottom: 28px;
}

.hero-title .highlight {
    background: none;
    color: var(--primary-color);
    -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
    animation: none;
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.72;
    margin-bottom: 34px;
    max-width: 540px;
    opacity: 1;
}

.hero-buttons {
    animation: none;
    gap: 12px;
}

.btn {
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1.35rem;
}

.btn-primary {
    background: var(--primary-color);
    box-shadow: 0 10px 22px rgba(91, 92, 226, 0.2);
    color: #fff;
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--primary-dark);
    box-shadow: 0 14px 28px rgba(91, 92, 226, 0.24);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    border: 1px solid #c7c6ec;
    color: var(--primary-color);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #f6f5fb;
    border-color: var(--primary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-image {
    animation: none;
}

.phone-mockup {
    max-width: 340px;
    perspective: none;
}

.phone-frame {
    animation: none;
    background: #fff;
    border: 8px solid #f0efe9;
    border-radius: 42px;
    box-shadow: 0 26px 70px rgba(23, 32, 51, 0.18);
    padding: 9px;
}

.phone-screen,
.app-preview img {
    background: #fff;
    border-radius: 28px;
}

/* Shared section system */
.features,
.app-showcase,
.premium,
.resources,
.download {
    padding: 112px 0;
}

.section-header {
    margin-bottom: 0;
    text-align: left;
}

.section-badge {
    display: none;
}

.section-title {
    color: var(--text-primary);
    font-size: clamp(2.2rem, 3.8vw, 3.55rem);
    font-weight: 780;
    letter-spacing: -0.055em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.72;
    margin: 0;
    max-width: 520px;
}

/* Features and FAQ */
.features {
    background: #fff;
}

.features::before {
    display: none;
}

.features:not(#faq) .container {
    align-items: start;
    display: grid;
    gap: clamp(44px, 7vw, 100px);
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
}

.features-grid {
    column-gap: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
}

.feature-card {
    align-items: start;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 16px;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 136px;
    overflow: visible;
    padding: 22px 0;
    transition: border-color 0.22s ease, transform 0.22s ease;
}

.feature-card::before {
    display: none;
}

.feature-card:hover {
    border-color: rgba(91, 92, 226, 0.42);
    box-shadow: none;
    transform: translateY(-2px);
}

.feature-icon {
    align-items: center;
    background: #f6f5fb;
    border: 1px solid #e1e0f3;
    border-radius: 14px;
    color: var(--primary-color);
    display: flex;
    font-size: 0;
    grid-row: span 2;
    height: 44px;
    justify-content: center;
    margin: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 44px;
}

.feature-icon svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 22px;
}

.feature-card:hover .feature-icon {
    background: #eeedff;
    border-color: #c7c6ec;
    transform: none;
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 3px 0 0;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

#faq {
    background: #fff;
    padding-top: 28px;
}

#faq .container {
    max-width: 920px;
}

#faq .section-header {
    margin-bottom: 20px;
}

#faq .features-grid {
    display: block;
}

#faq .feature-card {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 0;
    padding: 24px 0;
}

/* Screenshots */
.app-showcase {
    background: #f6f5fb;
    overflow: hidden;
}

.app-showcase .section-title,
.app-showcase .section-subtitle {
    color: inherit;
}

.app-showcase .section-header {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
    margin-bottom: 46px;
}

.app-showcase .section-subtitle {
    align-self: end;
    max-width: 420px;
}

.showcase-grid {
    gap: 18px;
    margin-top: 0;
}

.showcase-card {
    background: #fff;
    border: 1px solid #ebeaf3;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
    cursor: default;
    overflow: hidden;
    padding: 10px 10px 14px;
}

.showcase-card:hover {
    box-shadow: 0 18px 36px rgba(23, 32, 51, 0.1);
    transform: translateY(-4px);
}

.showcase-card img {
    border-radius: 13px;
}

.showcase-caption {
    color: #46516c;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 10px 2px 0;
    padding: 0;
    text-align: left;
}

/* Premium and resources */
.premium {
    background: #fff;
    color: var(--text-primary);
    overflow: visible;
}

.premium::before {
    display: none;
}

.premium .container {
    align-items: start;
    display: grid;
    gap: clamp(44px, 7vw, 100px);
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
}

.premium .section-title,
.premium .section-subtitle {
    color: inherit;
}

.premium-grid {
    background: #f6f5fb;
    border: 1px solid #ebeaf3;
    border-radius: 28px;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    overflow: hidden;
    padding: 8px 26px;
}

.premium-feature {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #dfdeea;
    border-radius: 0;
    color: var(--text-primary);
    gap: 12px;
    min-height: 72px;
    padding: 12px 0;
}

.premium-feature:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.premium-feature:hover {
    background: transparent;
    border-color: #c7c6ec;
    transform: none;
}

.premium-feature-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #e1e0f3;
    border-radius: 12px;
    color: var(--primary-color);
    display: flex;
    flex: 0 0 auto;
    font-size: 0;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.premium-feature-icon::after {
    background: currentColor;
    border-radius: 50%;
    content: '';
    height: 8px;
    width: 8px;
}

.premium-feature-text {
    color: #34405a;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.38;
}

.resources {
    background: #f6f5fb;
}

.resources .section-header {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
    margin-bottom: 44px;
}

.resources .section-subtitle {
    align-self: end;
    max-width: 440px;
}

.resource-grid {
    gap: 18px;
}

.resource-card,
.resource-card-accent {
    background: #fff;
    border: 1px solid #e1e0eb;
    border-radius: 22px;
    box-shadow: none;
    min-height: 276px;
    padding: 30px;
}

.resource-card:hover,
.resource-card:focus-visible {
    border-color: #c7c6ec;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.resource-icon {
    background: #f2f1fa;
    border: 1px solid #e1e0f3;
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 1rem;
    height: 42px;
    margin-bottom: 18px;
    width: 42px;
}

.resource-kicker,
.eyebrow,
.article-meta,
.topic-tag {
    color: var(--primary-color);
}

.resource-card h3 {
    color: var(--text-primary);
    font-size: 1.32rem;
    letter-spacing: -0.035em;
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
}

.resource-link {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Download and footer */
.download {
    background: #fff;
    overflow: hidden;
    text-align: center;
}

.download::before {
    background: radial-gradient(circle, rgba(91, 92, 226, 0.06) 0%, transparent 67%);
}

.download .section-header {
    margin: 0 auto;
    text-align: center;
}

.download .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    gap: 14px;
    margin-top: 34px;
}

.download-btn {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(23, 32, 51, 0.07);
}

.download-btn img {
    height: 54px;
}

.download-btn:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.footer {
    background: #172033;
    padding: 72px 0 26px;
}

.footer::before {
    background: #303a55;
}

.footer-content {
    gap: 28px;
    grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr));
    margin-bottom: 46px;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-section h3 {
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 1.25rem;
    letter-spacing: -0.035em;
    text-transform: none;
}

.footer-brand p,
.footer-section a,
.footer-bottom {
    color: #b9c0d2;
}

.footer-section a:hover,
.footer-section a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: #fff;
    transform: none;
}

.footer-bottom {
    padding-top: 22px;
}

/* Blog, glossary and legal pages inherit the same calmer reading surface. */
.content-page {
    background: #fff;
}

.content-header {
    background: rgba(255, 255, 255, 0.96);
}

.content-nav {
    gap: 3px;
}

.content-nav a {
    border-radius: 10px;
    color: #3e4760;
    font-size: 0.86rem;
    font-weight: 650;
    padding: 9px 11px;
}

.content-nav a:hover,
.content-nav a:focus-visible {
    background: #f2f1fa;
    color: var(--primary-color);
}

.content-hero {
    background: #f6f5fb;
    color: var(--text-primary);
    padding: 90px 0 78px;
}

.content-hero .container {
    max-width: 980px;
}

.content-hero .eyebrow {
    display: none;
}

.breadcrumb,
.content-hero p {
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration-color: rgba(91, 92, 226, 0.35);
}

.content-hero h1 {
    color: var(--text-primary);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.content-shell,
.article-layout {
    padding-bottom: 84px;
    padding-top: 68px;
}

.blog-intro {
    color: var(--text-secondary);
}

.topic-tag {
    background: #f2f1fa;
    border: 1px solid #e1e0f3;
    border-radius: 10px;
    color: #5a5f7c;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.42rem 0.65rem;
}

.article-card,
.article-sidebar,
.related-links,
.glossary-entry {
    border-color: var(--border-color);
    border-radius: 20px;
    box-shadow: none;
}

.article-card {
    padding: 1.55rem;
}

.article-card:hover,
.article-card:focus-visible {
    border-color: #c7c6ec;
    box-shadow: var(--shadow-lg);
}

.article-card h2,
.article-content h2,
.article-content h3,
.related-links h2,
.glossary-entry h2 {
    color: var(--text-primary);
}

.article-content p,
.article-content li,
.article-card p,
.glossary-entry p {
    color: #4f5970;
}

.article-callout {
    background: #f2f1fa;
    border-left-color: var(--primary-color);
}

.download-cta {
    background: #172033;
    border-radius: 22px;
    padding: 1.75rem;
}

.editorial-language-links a,
.glossary-jump a {
    border-color: #deddea;
    border-radius: 10px;
}

.editorial-language-links a:hover,
.editorial-language-links a:focus-visible,
.glossary-jump a:hover,
.glossary-jump a:focus-visible {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.content-footer {
    padding: 30px 0;
}

@media (max-width: 1080px) {
    .nav a {
        padding-left: 8px;
        padding-right: 8px;
    }

    .nav .header-download {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero {
        min-height: 660px;
    }

    .features:not(#faq) .container,
    .premium .container {
        gap: 48px;
    }
}

@media (max-width: 860px) {
    .header .container {
        flex-wrap: nowrap;
    }

    .nav {
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 18px;
        box-shadow: var(--shadow-lg);
        display: none;
        left: 16px;
        margin: 0;
        padding: 8px;
        position: absolute;
        right: 16px;
        top: calc(100% + 8px);
    }

    .nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav a,
    .nav .header-download {
        margin: 0;
        padding: 12px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 74px 0 66px;
    }

    .hero .container,
    .features:not(#faq) .container,
    .premium .container {
        grid-template-columns: 1fr;
    }

    .hero .container {
        gap: 54px;
        text-align: left;
    }

    .hero-image {
        justify-content: flex-start;
    }

    .features:not(#faq) .section-header,
    .premium .section-header {
        max-width: 620px;
    }

    .app-showcase .section-header,
    .resources .section-header {
        grid-template-columns: 1fr;
    }

    .app-showcase .section-subtitle,
    .resources .section-subtitle {
        max-width: 600px;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header {
        padding: 10px 0;
    }

    .logo-container img {
        height: 38px;
        width: 38px;
    }

    .brand-name,
    .logo h1,
    .content-header .logo .h1 {
        font-size: 1rem;
    }

    .language-switcher {
        margin-left: auto;
    }

    .hero {
        padding: 52px 0 58px;
    }

    .hero .container {
        gap: 46px;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(2.65rem, 13vw, 3.65rem);
        letter-spacing: -0.07em;
        margin-bottom: 22px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-image {
        justify-content: center;
    }

    .phone-mockup {
        max-width: min(280px, 76vw);
    }

    .phone-frame {
        border-radius: 34px;
        border-width: 7px;
        padding: 7px;
    }

    .phone-screen,
    .app-preview img {
        border-radius: 22px;
    }

    .features,
    .app-showcase,
    .premium,
    .resources,
    .download {
        padding: 76px 0;
    }

    .section-title {
        font-size: 2.28rem;
    }

    .section-subtitle {
        font-size: 0.98rem;
    }

    .features-grid,
    .premium-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
        padding: 20px 0;
    }

    .showcase-grid {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-card {
        border-radius: 15px;
        padding: 7px 7px 11px;
    }

    .showcase-caption {
        font-size: 0.7rem;
    }

    .premium-grid {
        border-radius: 20px;
        padding: 4px 20px;
    }

    .premium-feature:nth-last-child(-n + 2) {
        border-bottom: 1px solid #dfdeea;
    }

    .premium-feature:last-child {
        border-bottom: 0;
    }

    .resource-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .resource-card,
    .resource-card-accent {
        min-height: 245px;
        padding: 25px;
    }

    .download-buttons {
        align-items: stretch;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        max-width: 230px;
    }

    .download-btn {
        text-align: center;
    }

    .download-btn img {
        height: auto;
        max-width: 100%;
    }

    .footer {
        padding-top: 54px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-bottom {
        text-align: left;
    }

    .content-header .container {
        display: grid;
        gap: 10px 12px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .content-header .logo-container {
        grid-column: 1;
        min-width: 0;
    }

    .content-header .language-switcher {
        grid-column: 2;
        grid-row: 1;
        margin-left: 0;
    }

    .content-nav {
        display: flex;
        gap: 2px;
        grid-column: 1 / -1;
        grid-row: 2;
        margin-left: 0;
        overflow-x: auto;
        padding-bottom: 2px;
        width: 100%;
    }

    .content-nav a {
        padding: 8px 10px;
        white-space: nowrap;
    }

    .content-hero {
        padding: 58px 0 50px;
    }

    .content-hero h1 {
        font-size: 2.55rem;
    }

    .content-shell,
    .article-layout {
        padding-bottom: 60px;
        padding-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   MoodJot landing page — calm personal-journaling visual system
   Scoped to the landing page so the localized editorial and legal pages keep
   their established reading layout and SEO-safe markup.
   -------------------------------------------------------------------------- */

body.landing-page {
    --mj-ink: #161a31;
    --mj-muted: #68708a;
    --mj-indigo: #5b5ce2;
    --mj-indigo-deep: #4748bb;
    --mj-lilac: #f4f3ff;
    --mj-lilac-strong: #e8e6ff;
    --mj-peach: #fff0e8;
    --mj-sage: #eff8f4;
    --mj-border: #e4e4ee;
    --mj-night: #11162f;
    --mj-night-soft: #1c2345;
    --mj-shadow-sm: 0 12px 30px rgba(22, 26, 49, 0.07);
    --mj-shadow-lg: 0 28px 70px rgba(22, 26, 49, 0.15);
    background: #fff;
    color: var(--mj-ink);
    overflow-x: hidden;
}

.landing-page,
.landing-page button,
.landing-page input,
.landing-page textarea {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-page .container {
    max-width: 1240px;
}

.landing-page :focus-visible {
    outline: 3px solid rgba(91, 92, 226, 0.38);
    outline-offset: 4px;
}

/* Header */
.landing-page .header {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(228, 228, 238, 0.88);
    padding: 13px 0;
    position: sticky;
    top: 0;
    transition: box-shadow 180ms ease, background 180ms ease;
    z-index: 30;
}

.landing-page .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(22, 26, 49, 0.06);
}

.landing-page .header .container {
    align-items: center;
    gap: 22px;
    min-height: 44px;
}

.landing-page .logo-container {
    align-items: center;
    gap: 11px;
    min-width: max-content;
}

.landing-page .logo-container img {
    border-radius: 12px;
    height: 42px !important;
    width: 42px !important;
}

.landing-page .logo {
    display: flex;
    min-width: 0;
}

.landing-page .brand-name {
    color: var(--mj-ink);
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    text-transform: none;
}

.landing-page .logo h6 {
    display: none;
}

.landing-page .nav {
    align-items: center;
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.landing-page .nav a {
    border-radius: 10px;
    color: #4b5268;
    font-size: 0.83rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin: 0;
    padding: 10px 11px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

.landing-page .nav a:hover,
.landing-page .nav a:focus-visible {
    background: var(--mj-lilac);
    color: var(--mj-indigo-deep);
    transform: none;
}

.landing-page .nav .header-download {
    background: var(--mj-indigo);
    box-shadow: 0 10px 18px rgba(91, 92, 226, 0.18);
    color: #fff;
    margin-left: 7px;
    padding-left: 15px;
    padding-right: 15px;
}

.landing-page .nav .header-download:hover,
.landing-page .nav .header-download:focus-visible {
    background: var(--mj-indigo-deep);
    color: #fff;
    transform: translateY(-1px);
}

.landing-page .language-switcher {
    border: 1px solid var(--mj-border);
    border-radius: 11px;
    box-shadow: none;
    color: var(--mj-ink);
    margin-left: 0;
    min-width: 66px;
    position: relative;
}

.landing-page .language-switcher summary {
    align-items: center;
    color: var(--mj-ink);
    display: flex;
    font-size: 0.75rem;
    font-weight: 750;
    gap: 6px;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
}

.landing-page .language-switcher[open] {
    box-shadow: var(--mj-shadow-sm);
}

.landing-page .language-chevron {
    color: var(--mj-muted);
    font-size: 1rem;
    line-height: 1;
}

.landing-page .language-menu {
    background: #fff;
    border: 1px solid var(--mj-border);
    border-radius: 15px;
    box-shadow: var(--mj-shadow-lg);
    padding: 7px;
    right: 0;
    top: calc(100% + 8px);
}

.landing-page .lang-btn {
    border-radius: 9px;
    color: #4b5268;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 11px;
}

.landing-page .lang-btn:hover,
.landing-page .lang-btn:focus-visible,
.landing-page .lang-btn.active {
    background: var(--mj-lilac);
    color: var(--mj-indigo-deep);
}

.landing-page .mobile-menu-btn {
    border: 1px solid var(--mj-border);
    border-radius: 10px;
    color: var(--mj-ink);
    height: 42px;
    width: 42px;
}

/* Hero */
.landing-page .hero {
    background: #fff;
    color: var(--mj-ink);
    min-height: auto;
    overflow: hidden;
    padding: clamp(70px, 7vw, 106px) 0 clamp(82px, 8vw, 124px);
    position: relative;
}

.landing-page .hero::before {
    display: none;
}

.landing-page .hero .container {
    align-items: center;
    display: grid;
    gap: clamp(42px, 5vw, 76px);
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.54fr);
    position: relative;
}

.landing-page .hero-content {
    max-width: 645px;
    opacity: 1 !important;
    transform: none !important;
}

.landing-page .hero-title,
.landing-page .section-title {
    color: var(--mj-ink);
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.landing-page .hero-title {
    font-size: clamp(3.18rem, 4.75vw, 4.75rem);
    line-height: 1;
    margin: 0 0 26px;
    max-width: none;
}

.landing-page .hero-title .highlight {
    color: var(--mj-indigo);
}

.landing-page .hero-subtitle {
    color: var(--mj-muted);
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.72;
    margin: 0 0 34px;
    max-width: 55ch;
}

.landing-page .hero-buttons {
    align-items: center;
    gap: 13px;
    margin: 0;
}

.landing-page .btn {
    align-items: center;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 750;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.landing-page .btn-primary {
    background: var(--mj-indigo);
    box-shadow: 0 13px 25px rgba(91, 92, 226, 0.22);
    color: #fff;
}

.landing-page .btn-primary:hover,
.landing-page .btn-primary:focus-visible {
    background: var(--mj-indigo-deep);
    box-shadow: 0 16px 30px rgba(91, 92, 226, 0.28);
    color: #fff;
    transform: translateY(-2px);
}

.landing-page .btn-secondary {
    background: #fff;
    border: 1px solid #cfcdec;
    color: var(--mj-indigo-deep);
}

.landing-page .btn-secondary:hover,
.landing-page .btn-secondary:focus-visible {
    background: var(--mj-lilac);
    border-color: var(--mj-indigo);
    color: var(--mj-indigo-deep);
    transform: translateY(-2px);
}

.landing-page .hero-image {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 550px;
    position: relative;
}

.landing-page .hero-image::before {
    background: var(--mj-lilac);
    border-radius: 48% 52% 45% 55% / 46% 43% 57% 54%;
    content: "";
    height: min(37vw, 540px);
    max-height: 540px;
    max-width: 440px;
    position: absolute;
    transform: rotate(-4deg);
    width: min(31vw, 440px);
}

.landing-page .phone-mockup {
    max-width: min(310px, 25vw);
    position: relative;
    z-index: 1;
}

.landing-page .phone-frame {
    background: #171921;
    border: 8px solid #171921;
    border-radius: 43px;
    box-shadow: 0 30px 55px rgba(22, 26, 49, 0.24);
    padding: 7px;
    transform: none !important;
}

.landing-page .phone-screen,
.landing-page .app-preview img {
    border-radius: 30px;
}

/* Shared section rhythm */
.landing-page .features,
.landing-page .app-showcase,
.landing-page .premium,
.landing-page .resources,
.landing-page .download {
    padding: clamp(88px, 10vw, 146px) 0;
}

.landing-page .section-badge {
    display: none;
}

.landing-page .section-header {
    margin: 0 0 clamp(42px, 5vw, 68px);
    max-width: 690px;
    text-align: left;
}

.landing-page .section-title {
    font-size: clamp(2.75rem, 4.3vw, 4.45rem);
    line-height: 1.02;
    margin: 0 0 18px;
}

.landing-page .section-subtitle {
    color: var(--mj-muted);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.7;
    margin: 0;
    max-width: 58ch;
}

.landing-page .animate-on-scroll {
    opacity: 1;
    transform: none;
}

/* Features */
.landing-page .features {
    background: #fff;
}

.landing-page .features::before {
    display: none;
}

.landing-page .features:not(#faq) .container {
    display: block;
    max-width: 1240px;
}

.landing-page .features-grid {
    border-top: 1px solid var(--mj-border);
    column-gap: clamp(32px, 5vw, 72px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
}

.landing-page .feature-card {
    align-items: start;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--mj-border);
    border-radius: 0;
    box-shadow: none;
    column-gap: 19px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 0;
    padding: 27px 0;
    position: relative;
    row-gap: 7px;
    text-align: left;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.landing-page .feature-card:hover {
    box-shadow: none;
    transform: none;
}

.landing-page .feature-card:nth-child(4) {
    background: var(--mj-lilac);
    border-bottom-color: transparent;
    border-radius: 20px;
    margin: 12px 0;
    padding: 24px 22px;
}

.landing-page .feature-icon {
    align-items: center;
    background: #f5f4ff;
    border: 1px solid #e7e5fb;
    border-radius: 15px;
    color: var(--mj-indigo-deep);
    display: inline-flex;
    grid-row: 1 / span 2;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.landing-page .feature-card:nth-child(2n) .feature-icon {
    background: var(--mj-peach);
    border-color: #fae0d2;
}

.landing-page .feature-card:nth-child(3n) .feature-icon {
    background: var(--mj-sage);
    border-color: #d5ece3;
    color: #24745b;
}

.landing-page .feature-icon svg {
    height: 24px;
    stroke-width: 1.75;
    width: 24px;
}

.landing-page .feature-card h3 {
    align-self: end;
    color: var(--mj-ink);
    font-size: 1.02rem;
    font-weight: 760;
    letter-spacing: -0.025em;
    line-height: 1.3;
    margin: 1px 0 0;
}

.landing-page .feature-card p {
    color: var(--mj-muted);
    font-size: 0.9rem;
    line-height: 1.58;
    margin: 0;
}

/* Product gallery */
.landing-page .app-showcase {
    background: #f7f6ff;
    overflow: hidden;
}

.landing-page .app-showcase .container {
    max-width: 1320px;
}

.landing-page .showcase-grid {
    -ms-overflow-style: none;
    display: grid;
    gap: clamp(18px, 2.4vw, 34px);
    grid-auto-columns: minmax(220px, 27.5%);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 8px 2px 22px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.landing-page .showcase-grid::-webkit-scrollbar {
    display: none;
}

.landing-page .showcase-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0;
    scroll-snap-align: start;
    text-align: center;
    transform: none;
}

.landing-page .showcase-card img {
    background: #fff;
    border: 1px solid #e4e3ed;
    border-radius: 28px;
    box-shadow: var(--mj-shadow-sm);
    display: block;
    height: auto;
    margin: 0 auto;
    max-height: 510px;
    object-fit: contain;
    padding: 7px;
    transition: box-shadow 180ms ease, transform 180ms ease;
    width: 100%;
}

.landing-page .showcase-card:hover img {
    box-shadow: var(--mj-shadow-lg);
    transform: translateY(-5px);
}

.landing-page .showcase-caption {
    color: var(--mj-ink);
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: 1.04rem;
    line-height: 1.3;
    margin: 15px auto 0;
    max-width: 18ch;
}

/* Premium */
.landing-page .premium {
    background: var(--mj-night);
    color: #fff;
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.landing-page .premium::before {
    background: var(--mj-night-soft);
    border-radius: 56% 44% 0 0;
    content: "";
    height: 420px;
    left: -190px;
    opacity: 0.45;
    position: absolute;
    top: -290px;
    width: 630px;
    z-index: -1;
}

.landing-page .premium .container {
    align-items: start;
    display: grid;
    gap: clamp(42px, 7vw, 110px);
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    max-width: 1240px;
}

.landing-page .premium .section-header {
    margin: 0;
}

.landing-page .premium .section-title {
    color: #fff;
}

.landing-page .premium .section-subtitle {
    color: #c6cbe2;
}

.landing-page .premium-grid {
    background: transparent;
    border: 0;
    border-radius: 0;
    column-gap: 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
}

.landing-page .premium-feature {
    align-items: flex-start;
    background: transparent;
    border-bottom: 1px solid rgba(210, 214, 242, 0.18);
    border-radius: 0;
    color: #f8f8ff;
    gap: 13px;
    min-height: 70px;
    padding: 18px 0;
}

.landing-page .premium-feature:hover {
    background: transparent;
    transform: none;
}

.landing-page .premium-feature-icon {
    align-items: center;
    background: rgba(163, 162, 255, 0.15);
    border-radius: 50%;
    color: #c7c6ff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 24px;
    justify-content: center;
    margin-top: 0;
    width: 24px;
}

.landing-page .premium-feature-icon::after {
    border-bottom: 1.8px solid currentColor;
    border-right: 1.8px solid currentColor;
    content: "";
    height: 8px;
    transform: rotate(42deg) translate(-1px, -1px);
    width: 4px;
}

.landing-page .premium-feature-text {
    color: #f7f7ff;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.45;
}

/* Resources */
.landing-page .resources {
    background: #fff;
}

.landing-page .resources .section-header {
    max-width: 760px;
}

.landing-page .resource-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.landing-page .resource-card {
    background: #fff;
    border: 1px solid var(--mj-border);
    border-radius: 24px;
    box-shadow: none;
    min-height: 304px;
    overflow: hidden;
    padding: clamp(30px, 4vw, 50px);
    position: relative;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.landing-page .resource-card::before {
    background: var(--mj-lilac);
    border-radius: 50%;
    content: "";
    height: 180px;
    position: absolute;
    right: -82px;
    top: -92px;
    width: 180px;
}

.landing-page .resource-card-accent {
    background: var(--mj-sage);
    border-color: #d8e9e0;
}

.landing-page .resource-card-accent::before {
    background: #fff5ec;
}

.landing-page .resource-card:hover,
.landing-page .resource-card:focus-visible {
    border-color: #c1bff1;
    box-shadow: var(--mj-shadow-sm);
    transform: translateY(-4px);
}

.landing-page .resource-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(91, 92, 226, 0.15);
    border-radius: 14px;
    color: var(--mj-indigo);
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 800;
    height: 43px;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    width: 43px;
}

.landing-page .resource-kicker {
    color: var(--mj-indigo-deep);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    position: relative;
    text-transform: uppercase;
}

.landing-page .resource-card h3 {
    color: var(--mj-ink);
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: clamp(1.7rem, 2.6vw, 2.28rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.08;
    margin: 13px 0;
    max-width: 16ch;
    position: relative;
}

.landing-page .resource-card p {
    color: var(--mj-muted);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 48ch;
    position: relative;
}

.landing-page .resource-link {
    color: var(--mj-indigo-deep);
    font-size: 0.88rem;
    font-weight: 750;
    position: relative;
}

/* FAQ */
.landing-page #faq {
    background: #fbfbfe;
}

.landing-page #faq .container {
    display: block;
    max-width: 1040px;
}

.landing-page #faq .section-header {
    max-width: 620px;
}

.landing-page #faq .features-grid {
    background: #fff;
    border: 1px solid var(--mj-border);
    border-radius: 22px;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.landing-page #faq .feature-card {
    background: #fff;
    border-bottom: 1px solid var(--mj-border);
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 24px 28px;
}

.landing-page #faq .feature-card:nth-child(4) {
    border-radius: 0;
    margin: 0;
    padding: 24px 28px;
}

.landing-page #faq .feature-card:last-child {
    border-bottom: 0;
}

.landing-page #faq .feature-icon {
    background: var(--mj-lilac);
    border-color: transparent;
    height: 46px;
    width: 46px;
}

/* Download and footer */
.landing-page .download {
    background: var(--mj-indigo);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.landing-page .download::before {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
    height: 520px;
    left: -270px;
    position: absolute;
    top: -380px;
    width: 520px;
}

.landing-page .download .container {
    position: relative;
}

.landing-page .download .section-header {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
    text-align: center;
}

.landing-page .download .section-title,
.landing-page .download .section-subtitle {
    color: #fff;
}

.landing-page .download .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.landing-page .download-buttons {
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
}

.landing-page .download-btn {
    background: #fff;
    border: 0;
    border-radius: 11px;
    box-shadow: 0 14px 26px rgba(32, 30, 110, 0.22);
    overflow: hidden;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.landing-page .download-btn img {
    display: block;
    height: 54px;
}

.landing-page .download-btn:hover,
.landing-page .download-btn:focus-visible {
    box-shadow: 0 20px 32px rgba(32, 30, 110, 0.29);
    transform: translateY(-3px);
}

.landing-page .footer {
    background: var(--mj-night);
    color: #fff;
    padding: 76px 0 25px;
}

.landing-page .footer::before {
    background: rgba(255, 255, 255, 0.1);
}

.landing-page .footer-content {
    gap: 28px;
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
    margin-bottom: 48px;
}

.landing-page .footer-section h3,
.landing-page .footer-section h4 {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.landing-page .footer-section h3 {
    font-family: Georgia, "Times New Roman", "Noto Serif", serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.045em;
    text-transform: none;
}

.landing-page .footer-brand p,
.landing-page .footer-section a,
.landing-page .footer-bottom {
    color: #c8cbe0;
}

.landing-page .footer-section a {
    font-size: 0.91rem;
}

.landing-page .footer-section a:hover,
.landing-page .footer-section a:focus-visible,
.landing-page .footer-bottom a:hover,
.landing-page .footer-bottom a:focus-visible {
    color: #fff;
    transform: none;
}

.landing-page .footer-bottom {
    border-color: rgba(255, 255, 255, 0.15);
    padding-top: 22px;
}

@media (max-width: 1080px) {
    .landing-page .header .container {
        gap: 12px;
    }

    .landing-page .nav {
        gap: 0;
    }

    .landing-page .nav a {
        padding-left: 8px;
        padding-right: 8px;
    }

    .landing-page .hero .container {
        gap: 44px;
        grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr);
    }

    .landing-page .phone-mockup {
        max-width: min(315px, 30vw);
    }
}

@media (max-width: 860px) {
    .landing-page .header {
        padding: 11px 0;
    }

    .landing-page .nav {
        background: #fff;
        border: 1px solid var(--mj-border);
        border-radius: 18px;
        box-shadow: var(--mj-shadow-lg);
        display: none;
        left: 16px;
        margin-left: 0;
        padding: 8px;
        position: absolute;
        right: 16px;
        top: calc(100% + 8px);
        z-index: 35;
    }

    .landing-page .nav.is-open {
        display: grid;
        grid-template-columns: 1fr;
    }

    .landing-page .mobile-menu-btn {
        align-items: center;
        display: flex;
        flex: 0 0 auto;
        justify-content: center;
        margin-left: -3px;
    }

    .landing-page .nav a,
    .landing-page .nav .header-download {
        margin: 0;
        padding: 12px;
    }

    .landing-page .hero .container,
    .landing-page .premium .container {
        grid-template-columns: 1fr;
    }

    .landing-page .hero .container {
        gap: 54px;
    }

    .landing-page .hero-image {
        min-height: 0;
    }

    .landing-page .hero-image::before {
        height: min(88vw, 440px);
        width: min(72vw, 380px);
    }

    .landing-page .phone-mockup {
        max-width: min(330px, 70vw);
    }

    .landing-page .premium .section-header {
        max-width: 640px;
    }

    .landing-page .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-page .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .landing-page .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .landing-page .header .container {
        gap: 9px;
    }

    .landing-page .logo-container img {
        height: 38px !important;
        width: 38px !important;
    }

    .landing-page .brand-name {
        font-size: 1.04rem;
    }

    .landing-page .language-switcher {
        min-width: 56px;
    }

    .landing-page .language-switcher summary {
        min-height: 38px;
        padding: 0 8px;
    }

    .landing-page .hero {
        padding: 58px 0 74px;
    }

    .landing-page .hero .container {
        gap: 46px;
    }

    .landing-page .hero-title {
        font-size: clamp(2.78rem, 12.6vw, 3.7rem);
        letter-spacing: -0.06em;
        line-height: 1;
    }

    .landing-page .hero-subtitle {
        font-size: 1rem;
        line-height: 1.68;
    }

    .landing-page .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-page .btn {
        width: 100%;
    }

    .landing-page .phone-mockup {
        max-width: min(294px, 77vw);
    }

    .landing-page .phone-frame {
        border-radius: 37px;
        border-width: 7px;
        padding: 6px;
    }

    .landing-page .phone-screen,
    .landing-page .app-preview img {
        border-radius: 25px;
    }

    .landing-page .features,
    .landing-page .app-showcase,
    .landing-page .premium,
    .landing-page .resources,
    .landing-page .download {
        padding: 78px 0;
    }

    .landing-page .section-header {
        margin-bottom: 40px;
    }

    .landing-page .section-title {
        font-size: clamp(2.48rem, 11vw, 3.1rem);
    }

    .landing-page .features-grid,
    .landing-page .resource-grid,
    .landing-page .premium-grid {
        grid-template-columns: 1fr;
    }

    .landing-page .feature-card {
        column-gap: 15px;
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 23px 0;
    }

    .landing-page .feature-card:nth-child(4) {
        margin: 8px 0;
        padding: 21px 16px;
    }

    .landing-page .feature-icon {
        border-radius: 13px;
        height: 44px;
        width: 44px;
    }

    .landing-page .feature-card h3 {
        font-size: 0.98rem;
    }

    .landing-page .feature-card p {
        font-size: 0.87rem;
    }

    .landing-page .showcase-grid {
        gap: 16px;
        grid-auto-columns: minmax(230px, 76vw);
        margin-right: -22px;
        padding-right: 22px;
    }

    .landing-page .showcase-card img {
        border-radius: 24px;
        max-height: none;
    }

    .landing-page .premium-grid {
        column-gap: 0;
    }

    .landing-page .premium-feature {
        min-height: 62px;
        padding: 15px 0;
    }

    .landing-page .resource-card {
        min-height: 268px;
        padding: 30px;
    }

    .landing-page #faq .feature-card,
    .landing-page #faq .feature-card:nth-child(4) {
        padding: 22px 19px;
    }

    .landing-page .download-buttons {
        align-items: stretch;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        max-width: 230px;
    }

    .landing-page .download-btn img {
        height: auto;
        max-width: 100%;
    }

    .landing-page .footer {
        padding-top: 58px;
    }

    .landing-page .footer-content {
        gap: 32px;
        grid-template-columns: 1fr;
    }

    .landing-page .footer-brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms !important;
    }
}

/* Hallmark final override layer — shared by the public marketing and editorial pages. */

html,
body {
    background: var(--mjx-paper);
    color: var(--mjx-ink);
    overflow-x: clip;
}

body,
button,
input,
textarea,
select {
    font-family: var(--mjx-font-body);
}

body {
    font-size: var(--mjx-text-base);
    font-variant-numeric: oldstyle-nums;
    line-height: 1.62;
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--mjx-accent-strong);
    text-decoration-color: color-mix(in oklch, var(--mjx-accent) 38%, transparent);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--mjx-ink);
    text-decoration-color: var(--mjx-accent);
}

:focus-visible {
    outline: 0.1875rem solid var(--mjx-focus);
    outline-offset: 0.25rem;
}

.container {
    margin-inline: auto;
    max-width: var(--mjx-page-max);
    padding-inline: var(--mjx-page-gutter);
}

.bg-blobs,
.hero-particles,
.floating-elements,
.stats-bar,
.landing-page .hero::before,
.landing-page .hero::after,
.landing-page .hero-image::before,
.landing-page .premium::before,
.landing-page .download::before {
    display: none;
}

.header,
.content-header {
    background: color-mix(in oklch, var(--mjx-paper) 96%, transparent);
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    box-shadow: none;
    padding-block: var(--mjx-space-sm);
    position: sticky;
    top: 0;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), border-color var(--mjx-dur-short) var(--mjx-ease-out), box-shadow var(--mjx-dur-short) var(--mjx-ease-out);
    z-index: var(--mjx-z-sticky-nav);
}

.header.scrolled,
.content-header.scrolled {
    background: color-mix(in oklch, var(--mjx-paper) 99%, transparent);
    border-bottom-color: var(--mjx-rule);
    box-shadow: var(--mjx-shadow-whisper);
}

.header .container,
.content-header .container {
    align-items: center;
    display: grid;
    gap: var(--mjx-space-sm);
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 2.875rem;
    position: relative;
}

.logo-container {
    align-items: center;
    color: var(--mjx-ink);
    gap: var(--mjx-space-sm);
    min-width: 0;
    text-decoration: none;
}

.logo-container img {
    border: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    border-radius: var(--mjx-radius-sm);
    box-shadow: none;
    height: 2.5rem;
    transform: none;
    width: 2.5rem;
}

.logo-container:hover img {
    transform: none;
}

.brand-name,
.logo h1,
.content-header .logo .h1 {
    background: none;
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: var(--mjx-text-md);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1;
    -webkit-text-fill-color: currentColor;
}

.logo h6,
.content-header .logo .h6 {
    color: var(--mjx-muted);
    display: none;
}

.nav,
.content-nav {
    background: var(--mjx-paper-raised);
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-md);
    box-shadow: var(--mjx-shadow-float);
    display: none;
    gap: var(--mjx-space-2xs);
    inset: calc(100% + var(--mjx-space-xs)) var(--mjx-page-gutter) auto;
    margin: 0;
    padding: var(--mjx-space-xs);
    position: absolute;
}

.nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav a,
.content-nav a {
    border-radius: var(--mjx-radius-sm);
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-sm);
    font-weight: 600;
    padding: 0.75rem 0.875rem;
    text-decoration: none;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), color var(--mjx-dur-short) var(--mjx-ease-out), transform var(--mjx-dur-micro) var(--mjx-ease-out);
    white-space: nowrap;
}

.nav a::after {
    display: none;
}

.nav a:hover,
.nav a:focus-visible,
.content-nav a:hover,
.content-nav a:focus-visible {
    background: var(--mjx-wash);
    color: var(--mjx-ink);
    transform: translateY(-1px);
}

.header-actions {
    align-items: center;
    display: flex;
    gap: var(--mjx-space-xs);
    justify-self: end;
}

.language-switcher {
    background: transparent;
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-sm);
    box-shadow: none;
    padding: 0;
    position: relative;
    z-index: var(--mjx-z-dropdown);
}

.language-switcher summary {
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-xs);
    font-weight: 700;
    gap: var(--mjx-space-2xs);
    min-height: 2.5rem;
    padding-inline: var(--mjx-space-sm);
}

.language-chevron {
    color: var(--mjx-muted);
}

.language-menu {
    background: var(--mjx-paper);
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-md);
    box-shadow: var(--mjx-shadow-float);
    gap: var(--mjx-space-2xs);
    padding: var(--mjx-space-xs);
    width: min(14rem, calc(100vw - (var(--mjx-page-gutter) * 2)));
}

.lang-btn {
    border-radius: var(--mjx-radius-sm);
    color: var(--mjx-ink-soft);
    font-family: var(--mjx-font-body);
    font-size: var(--mjx-text-xs);
    font-weight: 600;
    min-height: 2.5rem;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), color var(--mjx-dur-short) var(--mjx-ease-out);
}

.lang-btn:hover,
.lang-btn:focus-visible {
    background: var(--mjx-wash);
    color: var(--mjx-ink);
}

.lang-btn.active {
    background: var(--mjx-accent);
    box-shadow: none;
    color: var(--mjx-accent-ink);
}

.editorial-language-switcher .lang-btn {
    display: block;
    text-decoration: none;
}

.header-download {
    align-items: center;
    background: var(--mjx-accent);
    border: var(--mjx-rule-width) solid var(--mjx-accent);
    border-radius: var(--mjx-radius-sm);
    box-shadow: none;
    color: var(--mjx-accent-ink);
    display: inline-flex;
    font-size: var(--mjx-text-sm);
    font-weight: 700;
    justify-content: center;
    min-height: 2.5rem;
    padding-inline: var(--mjx-space-md);
    text-decoration: none;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), border-color var(--mjx-dur-short) var(--mjx-ease-out), transform var(--mjx-dur-micro) var(--mjx-ease-out);
    white-space: nowrap;
}

.header-download:hover,
.header-download:focus-visible {
    background: var(--mjx-accent-strong);
    border-color: var(--mjx-accent-strong);
    color: var(--mjx-accent-ink);
    transform: translateY(-1px);
}

.header-download:active,
.btn:active,
.download-btn:active {
    transform: translateY(1px);
}

.mobile-menu-btn {
    align-items: center;
    background: var(--mjx-paper);
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-sm);
    color: var(--mjx-ink);
    display: inline-flex;
    flex: 0 0 auto;
    height: 2.5rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), border-color var(--mjx-dur-short) var(--mjx-ease-out);
    width: 2.5rem;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.is-active {
    background: var(--mjx-wash);
    border-color: var(--mjx-accent);
}

.mobile-menu-btn svg {
    stroke-width: 1.8;
}

.landing-page .hero {
    background: var(--mjx-paper);
    color: var(--mjx-ink);
    min-height: 0;
    overflow: visible;
    padding-block: clamp(4.5rem, 10vw, 9rem) clamp(4.75rem, 10vw, 10rem);
}

.landing-page .hero .container {
    align-items: center;
    display: grid;
    gap: var(--mjx-space-2xl);
    grid-template-columns: minmax(0, 1fr);
}

.landing-page .hero-content {
    animation: none;
    max-width: 42rem;
}

.landing-page .hero-badge,
.landing-page .section-badge,
.landing-page .content-hero .eyebrow,
.landing-page .content-hero .breadcrumb + .eyebrow {
    display: none;
}

.landing-page .hero-title {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: clamp(2.65rem, 9.5vw, 4.75rem);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 0.98;
    margin-block: 0 var(--mjx-space-lg);
    max-width: 12ch;
    overflow-wrap: anywhere;
}

.landing-page .hero-title .highlight {
    background: none;
    color: var(--mjx-accent-strong);
    -webkit-text-fill-color: currentColor;
}

.landing-page .hero-subtitle {
    color: var(--mjx-ink-soft);
    font-size: clamp(1rem, 2vw, 1.14rem);
    line-height: 1.7;
    margin-block: 0 var(--mjx-space-xl);
    max-width: 58ch;
    opacity: 1;
}

.hero-buttons {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: var(--mjx-space-sm);
}

.btn {
    border-radius: var(--mjx-radius-sm);
    font-family: var(--mjx-font-body);
    font-size: var(--mjx-text-base);
    font-weight: 700;
    gap: var(--mjx-space-sm);
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.875rem 1.125rem;
    text-decoration: none;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), border-color var(--mjx-dur-short) var(--mjx-ease-out), color var(--mjx-dur-short) var(--mjx-ease-out), transform var(--mjx-dur-micro) var(--mjx-ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--mjx-accent);
    border: var(--mjx-rule-width) solid var(--mjx-accent);
    box-shadow: none;
    color: var(--mjx-accent-ink);
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--mjx-accent-strong);
    border-color: var(--mjx-accent-strong);
    box-shadow: none;
    color: var(--mjx-accent-ink);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    color: var(--mjx-ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--mjx-paper-raised);
    border-color: var(--mjx-accent);
    color: var(--mjx-ink);
    transform: translateY(-1px);
}

.btn-icon {
    transition: transform var(--mjx-dur-short) var(--mjx-ease-out);
}

.btn:hover .btn-icon,
.btn:focus-visible .btn-icon {
    transform: translateX(0.25rem);
}

.landing-page .hero-image {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    min-height: 0;
}

.landing-page .phone-mockup {
    margin-inline: auto;
    max-width: min(19rem, 78vw);
    perspective: none;
}

.landing-page .phone-frame {
    background: var(--mjx-paper-raised);
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-lg);
    box-shadow: var(--mjx-shadow-float);
    padding: var(--mjx-space-xs);
    transform: none !important;
}

.landing-page .phone-screen,
.landing-page .app-preview img {
    background: var(--mjx-paper);
    border-radius: calc(var(--mjx-radius-lg) - var(--mjx-space-xs));
}

.landing-page .features,
.landing-page .app-showcase,
.landing-page .premium,
.landing-page .resources,
.landing-page .download {
    padding-block: clamp(4.75rem, 10vw, 9rem);
}

.landing-page .section-header {
    margin: 0 0 var(--mjx-space-2xl);
    max-width: 44rem;
    text-align: start;
}

.landing-page .section-title {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: clamp(2.2rem, 6vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1.01;
    margin: 0 0 var(--mjx-space-md);
    overflow-wrap: anywhere;
}

.landing-page .section-subtitle {
    color: var(--mjx-ink-soft);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.68;
    margin: 0;
    max-width: var(--mjx-prose-max);
}

.landing-page .features {
    background: var(--mjx-paper);
    border-top: var(--mjx-rule-width) solid var(--mjx-rule-soft);
}

.landing-page .features::before {
    display: none;
}

.landing-page .features:not(#faq) .container {
    display: grid;
    gap: var(--mjx-space-2xl);
    grid-template-columns: minmax(0, 1fr);
}

.landing-page .features-grid {
    border-top: var(--mjx-rule-width) solid var(--mjx-rule);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
}

.landing-page .feature-card {
    align-items: start;
    background: transparent;
    border: 0;
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: 0;
    box-shadow: none;
    column-gap: var(--mjx-space-md);
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    min-height: 0;
    padding-block: var(--mjx-space-lg);
    row-gap: var(--mjx-space-2xs);
    text-align: start;
    transition: border-color var(--mjx-dur-short) var(--mjx-ease-out), background-color var(--mjx-dur-short) var(--mjx-ease-out);
}

.landing-page .feature-card::before {
    display: none;
}

.landing-page .feature-card:hover,
.landing-page .feature-card:focus-within {
    background: color-mix(in oklch, var(--mjx-wash) 50%, transparent);
    border-color: var(--mjx-accent);
    box-shadow: none;
    transform: none;
}

.landing-page .feature-card:nth-child(4) {
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: var(--mjx-space-lg) 0;
}

.landing-page .feature-icon {
    align-items: center;
    background: transparent;
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-sm);
    color: var(--mjx-accent-strong);
    display: inline-flex;
    grid-row: 1 / span 2;
    height: 2.75rem;
    justify-content: center;
    margin: 0;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), border-color var(--mjx-dur-short) var(--mjx-ease-out);
    width: 2.75rem;
}

.landing-page .feature-card:nth-child(2n) .feature-icon,
.landing-page .feature-card:nth-child(3n) .feature-icon {
    background: transparent;
    border-color: var(--mjx-rule);
    color: var(--mjx-accent-strong);
}

.landing-page .feature-card:hover .feature-icon,
.landing-page .feature-card:focus-within .feature-icon {
    background: var(--mjx-wash);
    border-color: var(--mjx-accent);
    transform: none;
}

.landing-page .feature-icon svg {
    height: 1.375rem;
    stroke-width: 1.7;
    width: 1.375rem;
}

.landing-page .feature-card h3 {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: var(--mjx-text-md);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.16;
    margin: 0;
}

.landing-page .feature-card p {
    color: var(--mjx-muted);
    font-size: 0.9375rem;
    line-height: 1.62;
    margin: 0;
    max-width: 38ch;
}

.landing-page .app-showcase {
    background: var(--mjx-paper-raised);
    border-block: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    overflow: hidden;
}

.landing-page .app-showcase .container {
    max-width: 84rem;
}

.landing-page .app-showcase .section-header,
.landing-page .resources .section-header {
    display: block;
    margin-bottom: var(--mjx-space-xl);
    max-width: 46rem;
}

.landing-page .showcase-grid {
    display: grid;
    gap: var(--mjx-space-md);
    grid-auto-columns: minmax(15rem, 72vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-inline: 0 calc(var(--mjx-page-gutter) * -1);
    overflow-x: auto;
    padding: var(--mjx-space-xs) var(--mjx-page-gutter) var(--mjx-space-lg) 0;
    scroll-padding-inline: var(--mjx-page-gutter);
    scroll-snap-type: x mandatory;
}

.landing-page .showcase-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: default;
    overflow: visible;
    padding: 0;
    scroll-snap-align: start;
    text-align: start;
    transform: none;
}

.landing-page .showcase-card img {
    background: var(--mjx-paper);
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-md);
    box-shadow: var(--mjx-shadow-whisper);
    display: block;
    height: auto;
    max-height: none;
    padding: var(--mjx-space-2xs);
    transition: border-color var(--mjx-dur-short) var(--mjx-ease-out), transform var(--mjx-dur-short) var(--mjx-ease-out);
    width: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .landing-page .showcase-card:hover img {
        border-color: var(--mjx-accent);
        box-shadow: var(--mjx-shadow-whisper);
        transform: translateY(-0.25rem);
    }
}

.landing-page .showcase-caption {
    color: var(--mjx-ink-soft);
    font-family: var(--mjx-font-body);
    font-size: var(--mjx-text-sm);
    font-weight: 600;
    line-height: 1.4;
    margin: var(--mjx-space-sm) 0 0;
    max-width: 24ch;
    padding: 0;
    text-align: start;
}

.landing-page .premium {
    background: var(--mjx-paper);
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    color: var(--mjx-ink);
    overflow: visible;
}

.landing-page .premium .container {
    align-items: start;
    display: grid;
    gap: var(--mjx-space-2xl);
    grid-template-columns: minmax(0, 1fr);
}

.landing-page .premium .section-header {
    margin: 0;
}

.landing-page .premium .section-title,
.landing-page .premium .section-subtitle {
    color: inherit;
}

.landing-page .premium-grid {
    background: transparent;
    border-block: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: 0;
    column-gap: var(--mjx-space-xl);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
}

.landing-page .premium-feature {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    border-radius: 0;
    color: var(--mjx-ink);
    gap: var(--mjx-space-sm);
    min-height: 4rem;
    padding: var(--mjx-space-sm) 0;
}

.landing-page .premium-feature:nth-last-child(-n + 2) {
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule-soft);
}

.landing-page .premium-feature:hover {
    background: transparent;
    border-color: var(--mjx-rule);
    transform: none;
}

.landing-page .premium-feature-icon {
    align-items: center;
    background: var(--mjx-wash);
    border: 0;
    border-radius: 50%;
    color: var(--mjx-accent-strong);
    display: inline-flex;
    height: 1.5rem;
    justify-content: center;
    width: 1.5rem;
}

.landing-page .premium-feature-icon::after {
    background: none;
    border-bottom: 0.125rem solid currentColor;
    border-right: 0.125rem solid currentColor;
    border-radius: 0;
    content: "";
    height: 0.5rem;
    transform: rotate(42deg) translate(-0.0625rem, -0.0625rem);
    width: 0.25rem;
}

.landing-page .premium-feature-text {
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-base);
    font-weight: 600;
    line-height: 1.45;
}

.landing-page .resources {
    background: var(--mjx-paper-raised);
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule-soft);
}

.landing-page .resource-grid {
    display: grid;
    gap: var(--mjx-space-md);
    grid-template-columns: minmax(0, 1fr);
}

.landing-page .resource-card,
.landing-page .resource-card-accent {
    background: var(--mjx-paper);
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-md);
    box-shadow: none;
    min-height: 0;
    overflow: hidden;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    position: relative;
    text-decoration: none;
    transition: border-color var(--mjx-dur-short) var(--mjx-ease-out), transform var(--mjx-dur-short) var(--mjx-ease-out);
}

.landing-page .resource-card::before,
.landing-page .resource-card-accent::before {
    background: var(--mjx-wash);
    border-radius: 0;
    content: "";
    height: 0.375rem;
    inset: 0 0 auto;
    position: absolute;
    width: 100%;
}

.landing-page .resource-card-accent {
    background: var(--mjx-paper-quiet);
    border-color: var(--mjx-rule);
}

.landing-page .resource-card:hover,
.landing-page .resource-card:focus-visible {
    border-color: var(--mjx-accent);
    box-shadow: none;
    transform: translateY(-0.25rem);
}

.landing-page .resource-icon {
    align-items: center;
    background: var(--mjx-wash);
    border: 0;
    border-radius: 50%;
    color: var(--mjx-accent-strong);
    display: inline-flex;
    font-family: var(--mjx-font-display);
    font-size: var(--mjx-text-sm);
    font-weight: 700;
    height: 2.75rem;
    justify-content: center;
    margin-bottom: var(--mjx-space-lg);
    position: relative;
    width: 2.75rem;
}

.landing-page .resource-kicker {
    color: var(--mjx-muted);
    font-size: var(--mjx-text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    position: relative;
    text-transform: uppercase;
}

.landing-page .resource-card h3 {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 650;
    letter-spacing: -0.06em;
    line-height: 1.02;
    margin: var(--mjx-space-sm) 0 var(--mjx-space-md);
    max-width: 16ch;
    position: relative;
}

.landing-page .resource-card p {
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-base);
    line-height: 1.63;
    margin: 0 0 var(--mjx-space-lg);
    max-width: 46ch;
    position: relative;
}

.landing-page .resource-link,
.article-content a,
.article-sidebar a,
.glossary-entry a,
.related-links a,
.related-content a {
    color: var(--mjx-accent-strong);
    font-weight: 650;
    text-decoration-thickness: 0.0625rem;
}

.landing-page .resource-link::after {
    content: " →";
}

.landing-page #faq {
    background: var(--mjx-paper);
    padding-block: clamp(4.75rem, 10vw, 9rem);
}

.landing-page #faq .container {
    display: block;
    max-width: 62rem;
}

.landing-page #faq .section-header {
    max-width: 40rem;
}

.landing-page #faq .features-grid {
    background: transparent;
    border: 0;
    border-top: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: 0;
    display: block;
    overflow: visible;
}

.landing-page #faq .feature-card,
.landing-page #faq .feature-card:nth-child(4) {
    background: transparent;
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: 0;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    margin: 0;
    padding: var(--mjx-space-lg) 0;
}

.landing-page #faq .feature-card:last-child {
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
}

.landing-page #faq .feature-icon {
    background: transparent;
    border-color: var(--mjx-rule);
    height: 2.5rem;
    width: 2.5rem;
}

.landing-page .download {
    background: var(--mjx-paper-quiet);
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
    color: var(--mjx-ink);
    overflow: visible;
}

.landing-page .download .section-header {
    margin-inline: auto;
    max-width: 42rem;
    text-align: center;
}

.landing-page .download .section-title,
.landing-page .download .section-subtitle {
    color: var(--mjx-ink);
}

.landing-page .download .section-subtitle {
    margin-inline: auto;
}

.landing-page .download-buttons {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: var(--mjx-space-sm);
    justify-content: center;
    margin-top: var(--mjx-space-xl);
}

.landing-page .download-btn {
    background: var(--mjx-paper);
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-sm);
    box-shadow: none;
    overflow: hidden;
    transition: border-color var(--mjx-dur-short) var(--mjx-ease-out), transform var(--mjx-dur-micro) var(--mjx-ease-out);
}

.landing-page .download-btn img {
    display: block;
    height: auto;
    max-width: 100%;
}

.landing-page .download-btn:hover,
.landing-page .download-btn:focus-visible {
    border-color: var(--mjx-accent);
    box-shadow: none;
    transform: translateY(-0.125rem);
}

.landing-page .footer {
    background: var(--mjx-ink);
    border: 0;
    color: var(--mjx-paper);
    padding-block: clamp(4.5rem, 9vw, 8rem) var(--mjx-space-lg);
}

.landing-page .footer::before {
    display: none;
}

.landing-page .footer-content {
    display: grid;
    gap: var(--mjx-space-2xl);
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: var(--mjx-space-2xl);
}

.landing-page .footer-brand {
    max-width: 38rem;
}

.landing-page .footer-section h3,
.landing-page .footer-section h4 {
    color: var(--mjx-paper);
    font-family: var(--mjx-font-body);
    font-size: var(--mjx-text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: var(--mjx-space-sm);
    text-transform: uppercase;
}

.landing-page .footer-section h3 {
    display: none;
}

.landing-page .footer-brand p {
    color: var(--mjx-paper);
    font-family: var(--mjx-font-display);
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 1.02;
    margin: 0;
    max-width: 23ch;
}

.landing-page .footer-section ul {
    display: grid;
    gap: var(--mjx-space-xs);
}

.landing-page .footer-section a,
.landing-page .footer-bottom,
.landing-page .footer-bottom a {
    color: var(--mjx-paper-raised);
}

.landing-page .footer-section a {
    font-size: var(--mjx-text-sm);
    text-decoration-color: color-mix(in oklch, var(--mjx-paper) 30%, transparent);
}

.landing-page .footer-section a:hover,
.landing-page .footer-section a:focus-visible,
.landing-page .footer-bottom a:hover,
.landing-page .footer-bottom a:focus-visible {
    color: var(--mjx-paper);
}

.landing-page .footer-bottom {
    border-top: var(--mjx-rule-width) solid color-mix(in oklch, var(--mjx-paper) 20%, transparent);
    font-size: var(--mjx-text-sm);
    line-height: 1.6;
    padding-top: var(--mjx-space-md);
}

/* Long-document reading surfaces: blog, glossary, and policy pages. */
.content-page {
    background: var(--mjx-paper);
    color: var(--mjx-ink);
    min-height: 100vh;
}

.content-page main {
    min-height: 58vh;
}

.content-header .container {
    grid-template-columns: minmax(0, 1fr) auto;
}

.content-header .content-nav {
    background: transparent;
    border: 0;
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: 0;
    grid-column: 1 / -1;
    inset: auto;
    margin: 0 calc(var(--mjx-page-gutter) * -1);
    overflow-x: auto;
    padding: 0 var(--mjx-page-gutter);
    position: static;
    scrollbar-width: none;
    width: calc(100% + (var(--mjx-page-gutter) * 2));
}

.content-header .content-nav::-webkit-scrollbar {
    display: none;
}

.content-header .content-nav a {
    border-radius: 0;
    flex: 0 0 auto;
    padding: var(--mjx-space-sm) var(--mjx-space-md);
    position: relative;
}

.content-header .content-nav a:first-child {
    padding-left: 0;
}

.content-header .content-nav a::after {
    background: var(--mjx-accent);
    bottom: 0;
    content: "";
    height: 0.125rem;
    left: var(--mjx-space-md);
    position: absolute;
    right: var(--mjx-space-md);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--mjx-dur-short) var(--mjx-ease-out);
}

.content-header .content-nav a:first-child::after {
    left: 0;
}

.content-header .content-nav a:hover,
.content-header .content-nav a:focus-visible {
    background: transparent;
    color: var(--mjx-ink);
    transform: none;
}

.content-header .content-nav a:hover::after,
.content-header .content-nav a:focus-visible::after {
    transform: scaleX(1);
}

.content-hero {
    background: var(--mjx-paper-raised);
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
    color: var(--mjx-ink);
    padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
}

.content-hero .container {
    max-width: min(var(--mjx-page-max), 62rem);
}

.breadcrumb {
    color: var(--mjx-muted);
    font-size: var(--mjx-text-sm);
    margin-bottom: var(--mjx-space-xl);
}

.breadcrumb a {
    color: var(--mjx-ink-soft);
}

.content-hero .eyebrow,
.resource-kicker,
.article-meta,
.topic-tag {
    color: var(--mjx-accent-strong);
    font-family: var(--mjx-font-body);
    font-size: var(--mjx-text-xs);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.content-hero h1 {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: clamp(2.45rem, 5.6vw, 5rem);
    font-weight: 650;
    letter-spacing: -0.07em;
    line-height: 0.98;
    margin: var(--mjx-space-md) 0 0;
    max-width: 17ch;
}

.content-hero p {
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-md);
    line-height: 1.55;
    margin: var(--mjx-space-lg) 0 0;
    max-width: 43rem;
}

.content-shell {
    margin: 0 auto;
    max-width: var(--mjx-page-max);
    padding: clamp(3rem, 8vw, 7rem) var(--mjx-page-gutter);
}

.blog-intro {
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-md);
    line-height: 1.58;
    margin: 0 0 var(--mjx-space-2xl);
    max-width: 48rem;
    text-align: left;
}

.topic-list {
    border-block: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    display: flex;
    gap: 0;
    justify-content: flex-start;
    margin: var(--mjx-space-xl) 0 var(--mjx-space-2xl);
    overflow-x: auto;
    padding-block: var(--mjx-space-sm);
    scrollbar-width: none;
}

.topic-list::-webkit-scrollbar {
    display: none;
}

.topic-tag {
    background: transparent;
    border-radius: 0;
    color: var(--mjx-ink-soft);
    flex: 0 0 auto;
    letter-spacing: 0.02em;
    padding: 0 var(--mjx-space-md);
    text-transform: none;
}

.topic-tag:first-child {
    padding-left: 0;
}

.article-grid {
    border-top: var(--mjx-rule-width) solid var(--mjx-rule);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
}

.article-card {
    background: transparent;
    border: 0;
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: 0;
    box-shadow: none;
    color: var(--mjx-ink);
    display: flex;
    flex-direction: column;
    min-height: 16rem;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    position: relative;
    text-decoration: none;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), color var(--mjx-dur-short) var(--mjx-ease-out);
}

.article-card::before {
    background: var(--mjx-accent);
    content: "";
    height: 2.25rem;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: translateY(-0.25rem);
    transition: opacity var(--mjx-dur-short) var(--mjx-ease-out), transform var(--mjx-dur-short) var(--mjx-ease-out);
    width: 0.1875rem;
}

.article-card:hover,
.article-card:focus-visible {
    background: color-mix(in oklch, var(--mjx-wash) 56%, transparent);
    box-shadow: none;
    color: var(--mjx-ink);
    transform: none;
}

.article-card:hover::before,
.article-card:focus-visible::before {
    opacity: 1;
    transform: translateY(0);
}

.article-card h2 {
    color: inherit;
    font-family: var(--mjx-font-display);
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.04;
    margin: var(--mjx-space-sm) 0 var(--mjx-space-md);
    max-width: 21ch;
}

.article-card p {
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-sm);
    line-height: 1.62;
    margin: 0;
    max-width: 48ch;
}

.article-card .resource-link {
    color: var(--mjx-accent-strong);
    font-size: var(--mjx-text-sm);
    font-weight: 700;
    margin-top: auto;
    padding-top: var(--mjx-space-lg);
}

.article-layout {
    display: grid;
    gap: var(--mjx-space-2xl);
    grid-template-columns: minmax(0, 1fr);
    margin: 0 auto;
    max-width: calc(var(--mjx-prose-max) + (var(--mjx-page-gutter) * 2));
    padding: clamp(3rem, 8vw, 7rem) var(--mjx-page-gutter);
}

.article-content {
    color: var(--mjx-ink-soft);
    font-size: clamp(1rem, 0.98rem + 0.14vw, 1.1rem);
    line-height: 1.78;
    max-width: var(--mjx-prose-max);
}

.article-content h2,
.article-content h3,
.related-links h2 {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-weight: 620;
    letter-spacing: -0.05em;
}

.article-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.05;
    margin: clamp(3rem, 7vw, 5rem) 0 var(--mjx-space-md);
}

.article-content h3 {
    font-size: var(--mjx-text-lg);
    line-height: 1.18;
    margin: var(--mjx-space-2xl) 0 var(--mjx-space-sm);
}

.article-content p,
.article-content li,
.glossary-entry p {
    color: var(--mjx-ink-soft);
}

.article-content p {
    margin: 0 0 var(--mjx-space-lg);
}

.article-lead {
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
    color: var(--mjx-ink) !important;
    font-family: var(--mjx-font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 520;
    letter-spacing: -0.045em;
    line-height: 1.25;
    margin-bottom: var(--mjx-space-2xl) !important;
    padding-bottom: var(--mjx-space-xl);
}

.content-review {
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
    color: var(--mjx-muted) !important;
    font-size: var(--mjx-text-xs);
    line-height: 1.55;
    margin-bottom: var(--mjx-space-2xl) !important;
    padding-bottom: var(--mjx-space-md);
}

.article-content ul,
.article-content ol {
    margin: var(--mjx-space-sm) 0 var(--mjx-space-xl) 1.2em;
}

.article-content li {
    margin-bottom: var(--mjx-space-sm);
    padding-left: var(--mjx-space-2xs);
}

.article-content a,
.article-sidebar a,
.glossary-entry a {
    color: var(--mjx-accent-strong);
    font-weight: 600;
}

.article-callout,
.wellness-disclaimer,
.related-links,
.download-cta,
.glossary-entry {
    border-radius: 0;
}

.article-callout {
    background: var(--mjx-wash);
    border-left: 0;
    border-top: 0.1875rem solid var(--mjx-accent);
    margin: var(--mjx-space-xl) 0;
    padding: var(--mjx-space-lg);
}

.article-callout p:last-child,
.wellness-disclaimer p:last-child {
    margin-bottom: 0;
}

.wellness-disclaimer {
    background: var(--mjx-paper-raised);
    border-block: var(--mjx-rule-width) solid var(--mjx-rule);
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-sm);
    margin: var(--mjx-space-2xl) 0;
    padding: var(--mjx-space-lg) 0;
}

.related-links {
    border-top: 0.25rem solid var(--mjx-ink);
    margin-top: var(--mjx-space-2xl);
    padding-top: var(--mjx-space-lg);
}

.related-links h2 {
    font-size: var(--mjx-text-lg);
    margin: 0 0 var(--mjx-space-md);
}

.related-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-links li {
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    margin: 0;
    padding: var(--mjx-space-sm) 0;
}

.related-content {
    border-top: 0.25rem solid var(--mjx-ink);
    margin-top: var(--mjx-space-2xl);
    padding-top: var(--mjx-space-lg);
}

.related-content h2 {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: var(--mjx-text-lg);
    font-weight: 620;
    letter-spacing: -0.05em;
    line-height: 1.08;
    margin: 0 0 var(--mjx-space-md);
}

.related-content ul {
    list-style: none;
    margin: 0 0 var(--mjx-space-md);
    padding: 0;
}

.related-content li {
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    margin: 0;
    padding: var(--mjx-space-sm) 0;
}

.download-cta {
    background: var(--mjx-ink);
    color: var(--mjx-paper);
    margin-top: var(--mjx-space-2xl);
    padding: clamp(1.5rem, 5vw, 3rem);
}

.download-cta h2 {
    color: var(--mjx-paper);
    font-family: var(--mjx-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.06;
    margin: 0 0 var(--mjx-space-sm);
    max-width: 22ch;
}

.download-cta p {
    color: var(--mjx-paper-raised);
    font-size: var(--mjx-text-sm);
    line-height: 1.6;
    margin: 0 0 var(--mjx-space-lg);
    max-width: 50ch;
}

.store-text-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mjx-space-sm) var(--mjx-space-lg);
}

.store-text-links a {
    color: var(--mjx-paper);
    font-size: var(--mjx-text-sm);
    font-weight: 700;
    text-decoration-color: color-mix(in oklch, var(--mjx-paper) 35%, transparent);
}

.article-sidebar {
    align-self: start;
    background: transparent;
    border: 0;
    border-top: 0.1875rem solid var(--mjx-accent);
    border-radius: 0;
    padding: var(--mjx-space-md) 0 0;
    position: static;
}

.article-sidebar h2 {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: var(--mjx-text-md);
    font-weight: 620;
    letter-spacing: -0.04em;
    margin-bottom: var(--mjx-space-sm);
}

.article-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-sidebar li + li {
    border-top: var(--mjx-rule-width) solid var(--mjx-rule-soft);
    margin-top: var(--mjx-space-xs);
    padding-top: var(--mjx-space-xs);
}

.glossary-jump {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mjx-space-2xs);
    margin: 0 0 var(--mjx-space-2xl);
    max-width: none;
}

.glossary-jump a {
    align-items: center;
    background: transparent;
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-sm);
    color: var(--mjx-ink-soft);
    display: inline-flex;
    font-family: var(--mjx-font-display);
    font-size: var(--mjx-text-sm);
    font-weight: 650;
    height: 2.5rem;
    justify-content: center;
    text-decoration: none;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), border-color var(--mjx-dur-short) var(--mjx-ease-out), color var(--mjx-dur-short) var(--mjx-ease-out);
    width: 2.5rem;
}

.glossary-jump a:hover,
.glossary-jump a:focus-visible {
    background: var(--mjx-accent);
    border-color: var(--mjx-accent);
    color: var(--mjx-accent-ink);
}

.glossary-list {
    border-top: var(--mjx-rule-width) solid var(--mjx-rule);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
}

.glossary-entry {
    background: transparent;
    border: 0;
    border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
    padding: var(--mjx-space-xl) 0;
}

.glossary-entry h2 {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-size: var(--mjx-text-lg);
    font-weight: 620;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin: 0 0 var(--mjx-space-xs);
}

.glossary-term-tr {
    color: var(--mjx-accent-strong);
    font-family: var(--mjx-font-body);
    font-size: var(--mjx-text-sm);
    font-weight: 600;
}

.glossary-entry p {
    font-size: var(--mjx-text-sm);
    line-height: 1.66;
    margin: 0;
    max-width: 54ch;
}

.editorial-language-links {
    align-items: center;
    border-top: var(--mjx-rule-width) solid var(--mjx-rule);
    display: flex;
    flex-wrap: wrap;
    gap: var(--mjx-space-xs);
    justify-content: flex-start;
    margin-top: var(--mjx-space-2xl);
    max-width: none;
    padding-top: var(--mjx-space-lg);
}

.editorial-language-links a {
    background: transparent;
    border: var(--mjx-rule-width) solid var(--mjx-rule);
    border-radius: var(--mjx-radius-sm);
    color: var(--mjx-ink-soft);
    font-size: var(--mjx-text-xs);
    font-weight: 650;
    line-height: 1.2;
    padding: var(--mjx-space-xs) var(--mjx-space-sm);
    text-decoration: none;
    transition: background-color var(--mjx-dur-short) var(--mjx-ease-out), border-color var(--mjx-dur-short) var(--mjx-ease-out), color var(--mjx-dur-short) var(--mjx-ease-out);
}

.editorial-language-links a:hover,
.editorial-language-links a:focus-visible {
    background: var(--mjx-wash);
    border-color: var(--mjx-accent);
    color: var(--mjx-ink);
}

.content-footer,
body > .legal-page + .footer {
    background: var(--mjx-ink);
    color: var(--mjx-paper-raised);
    padding-block: var(--mjx-space-xl);
}

.content-footer .footer-bottom,
body > .legal-page + .footer .footer-bottom {
    border-top: 0;
    color: var(--mjx-paper-raised);
    font-size: var(--mjx-text-sm);
    line-height: 1.65;
    padding: 0;
}

.content-footer a,
body > .legal-page + .footer a {
    color: var(--mjx-paper);
}

.legal-page {
    color: var(--mjx-ink-soft);
    font-size: clamp(1rem, 0.98rem + 0.12vw, 1.08rem);
    line-height: 1.76;
    margin: 0 auto;
    max-width: calc(var(--mjx-prose-max) + (var(--mjx-page-gutter) * 2));
    padding: clamp(3rem, 8vw, 7rem) var(--mjx-page-gutter);
}

.legal-page .back-link {
    color: var(--mjx-ink-soft);
    display: inline-flex;
    font-size: var(--mjx-text-sm);
    font-weight: 650;
    margin-bottom: var(--mjx-space-xl);
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
    color: var(--mjx-ink);
    font-family: var(--mjx-font-display);
    font-weight: 620;
    letter-spacing: -0.055em;
}

.legal-page h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.98;
    margin: 0 0 var(--mjx-space-md);
}

.legal-page h2 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.08;
    margin: clamp(2.75rem, 7vw, 4.5rem) 0 var(--mjx-space-md);
}

.legal-page h3 {
    font-size: var(--mjx-text-lg);
    line-height: 1.18;
    margin: var(--mjx-space-2xl) 0 var(--mjx-space-sm);
}

.legal-page p {
    color: var(--mjx-ink-soft);
    margin: 0 0 var(--mjx-space-lg);
}

.legal-page ul,
.legal-page ol {
    margin: var(--mjx-space-sm) 0 var(--mjx-space-xl) 1.2em;
}

.legal-page li {
    color: var(--mjx-ink-soft);
    margin-bottom: var(--mjx-space-sm);
    padding-left: var(--mjx-space-2xs);
}

.legal-page strong {
    color: var(--mjx-ink);
}

.legal-page + .footer .footer-content {
    border-bottom: var(--mjx-rule-width) solid color-mix(in oklch, var(--mjx-paper) 22%, transparent);
    display: grid;
    gap: var(--mjx-space-xl);
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: var(--mjx-space-lg);
    padding-bottom: var(--mjx-space-lg);
}

.legal-page + .footer .footer-section h3,
.legal-page + .footer .footer-section h4 {
    color: var(--mjx-paper);
    font-family: var(--mjx-font-body);
    font-size: var(--mjx-text-xs);
    letter-spacing: 0.08em;
    margin: 0 0 var(--mjx-space-xs);
    text-transform: uppercase;
}

.legal-page + .footer .footer-section p,
.legal-page + .footer .footer-section li {
    color: var(--mjx-paper-raised);
    font-size: var(--mjx-text-sm);
    margin: 0;
}

@media (min-width: 40rem) {
    .landing-page .hero-title {
        font-size: clamp(3.45rem, 8vw, 5.6rem);
    }

    .hero-buttons,
    .landing-page .download-buttons {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        flex: 0 0 auto;
    }

    .landing-page .phone-mockup {
        max-width: min(23rem, 52vw);
    }

    .landing-page .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-page .footer-content {
        grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-card:nth-child(2n) {
        padding-left: clamp(1.5rem, 4vw, 2.5rem);
    }

    .article-card:nth-child(2n + 1) {
        border-right: var(--mjx-rule-width) solid var(--mjx-rule);
        padding-right: clamp(1.5rem, 4vw, 2.5rem);
    }

    .glossary-list {
        column-gap: var(--mjx-space-2xl);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .glossary-entry:nth-child(odd) {
        border-right: var(--mjx-rule-width) solid var(--mjx-rule);
        padding-right: var(--mjx-space-xl);
    }

    .glossary-entry:nth-child(even) {
        padding-left: var(--mjx-space-xl);
    }

    .legal-page + .footer .footer-content {
        grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 60rem) {
    .header,
    .content-header {
        padding-block: var(--mjx-space-md);
    }

    .header .container,
    .content-header .container {
        gap: var(--mjx-space-lg);
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .header:not(.content-header) .container {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .nav {
        align-items: center;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        inset: auto;
        justify-content: center;
        padding: 0;
        position: static;
    }

    .nav a {
        padding: var(--mjx-space-xs) var(--mjx-space-sm);
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .content-header .content-nav {
        border: 0;
        grid-column: auto;
        justify-content: center;
        margin: 0;
        overflow: visible;
        padding: 0;
        width: auto;
    }

    .content-header .content-nav a {
        padding: var(--mjx-space-xs) var(--mjx-space-sm);
    }

    .content-header .content-nav a:first-child {
        padding-left: var(--mjx-space-sm);
    }

    .content-header .content-nav a::after {
        left: var(--mjx-space-sm);
        right: var(--mjx-space-sm);
    }

    .landing-page .hero .container {
        gap: clamp(3rem, 7vw, 7rem);
        grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.7fr);
    }

    .landing-page .hero-image {
        justify-content: flex-end;
    }

    .landing-page .phone-mockup {
        margin-inline: 0;
        max-width: 24rem;
    }

    .landing-page .features:not(#faq) .container,
    .landing-page .premium .container {
        grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
    }

    .landing-page .features:not(#faq) .features-grid {
        border-bottom: var(--mjx-rule-width) solid var(--mjx-rule);
        border-left: var(--mjx-rule-width) solid var(--mjx-rule);
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .landing-page .features:not(#faq) .feature-card,
    .landing-page .features:not(#faq) .feature-card:nth-child(4) {
        background: var(--mjx-paper);
        border: 0;
        border-right: var(--mjx-rule-width) solid var(--mjx-rule);
        border-top: var(--mjx-rule-width) solid var(--mjx-rule);
        display: grid;
        grid-column: span 6;
        grid-template-columns: 2.75rem minmax(0, 1fr);
        margin: 0;
        min-height: 11.5rem;
        padding: var(--mjx-space-lg);
    }

    .landing-page .features:not(#faq) .feature-card:nth-child(1) {
        background: var(--mjx-paper-raised);
        grid-column: span 7;
        min-height: 15rem;
    }

    .landing-page .features:not(#faq) .feature-card:nth-child(2) {
        grid-column: span 5;
    }

    .landing-page .features:not(#faq) .feature-card:nth-child(3) {
        grid-column: span 5;
    }

    .landing-page .features:not(#faq) .feature-card:nth-child(4) {
        background: var(--mjx-paper-quiet);
        grid-column: span 7;
    }

    .landing-page .features:not(#faq) .feature-card:nth-child(5),
    .landing-page .features:not(#faq) .feature-card:nth-child(6) {
        grid-column: span 4;
    }

    .landing-page .features:not(#faq) .feature-card:nth-child(7) {
        background: var(--mjx-paper-raised);
        grid-column: span 8;
    }

    .landing-page .features:not(#faq) .feature-card:nth-child(8) {
        grid-column: span 4;
    }

    .landing-page .features:not(#faq) .feature-card:hover,
    .landing-page .features:not(#faq) .feature-card:focus-within {
        background: var(--mjx-wash);
    }

    .landing-page .features:not(#faq) .feature-card:nth-child(1) h3 {
        font-size: var(--mjx-text-lg);
    }

    .landing-page .premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-page .premium-feature:nth-child(odd) {
        border-right: var(--mjx-rule-width) solid var(--mjx-rule-soft);
        padding-right: var(--mjx-space-lg);
    }

    .landing-page .premium-feature:nth-child(even) {
        padding-left: var(--mjx-space-lg);
    }

    .landing-page .showcase-grid {
        grid-auto-columns: minmax(15rem, 19rem);
    }

    .article-layout {
        align-items: start;
        gap: clamp(2.5rem, 6vw, 5rem);
        grid-template-columns: minmax(0, var(--mjx-prose-max)) minmax(11rem, 13rem);
        max-width: calc(var(--mjx-prose-max) + 18rem + (var(--mjx-page-gutter) * 2));
    }

    .article-sidebar {
        position: sticky;
        top: 7rem;
    }
}

@media (min-width: 90rem) {
    .landing-page .hero .container {
        grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.65fr);
    }

    .landing-page .showcase-grid {
        grid-auto-columns: minmax(16rem, 20.5rem);
    }
}

@media (max-width: 23rem) {
    .header-actions {
        gap: var(--mjx-space-2xs);
    }

    .header-download {
        font-size: 0;
        min-width: 2.5rem;
        padding-inline: 0;
        width: 2.5rem;
    }

    .header-download::before {
        content: "↓";
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Hallmark responsive compatibility — after the legacy layers by design. */
button:disabled,
[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 59.9375rem) {
    .landing-page .nav {
        display: none;
    }

    .landing-page .nav.is-open {
        display: grid;
    }
}

@media (min-width: 60rem) {
    .header:not(.content-header) .container {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .landing-page .nav {
        margin: 0;
    }
}

body.landing-page,
body.landing-page button,
body.landing-page input,
body.landing-page textarea {
    font-family: var(--mjx-font-body);
}

@media (max-width: 39.9375rem) {
    .content-header .content-nav a[href="#download"] {
        display: none;
    }
}

/* Store badges are assets, not full-width cards. Keep their familiar compact scale. */
.landing-page .download-btn {
    inline-size: clamp(9rem, 20vw, 10.5rem);
    max-inline-size: 100%;
}

.landing-page .download-btn img {
    block-size: auto;
    inline-size: 100%;
    max-inline-size: 100%;
}
