/* Public pages only. Existing application selectors and form states stay intact. */
body.public-design {
    --clean-ink: #18232f;
    --clean-muted: #586575;
    --clean-line: #e2e7ed;
    --clean-soft: #f6f8fa;
    --site-ink: #18232f;
    --site-body: #586575;
    --site-page: #ffffff;
    --site-line: #e2e7ed;
    --site-shadow: none;
    background: #ffffff;
    color: var(--clean-ink);
    padding-top: 0 !important;
}
body.public-design [id] { scroll-margin-top: 94px; }
body.public-design > .main-content { margin-top: 0 !important; padding-top: 0 !important; }
body.public-design :is(h1, h2, h3, h4, p, a, button, label, span) { letter-spacing: 0 !important; }
body.public-design :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
}
body.public-design > header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--clean-line) !important;
    box-shadow: none !important;
    position: sticky !important;
    top: 0;
    height: 70px !important;
}
body.public-design :is(.trial-btn, .cta-btn, .dashboard-btn, .try-demo-btn, .how-it-works-visual-button,
    .contact-submit-btn, .pricing-plan-button, .pricing-cta-btn.primary, .blog-read-btn,
    .blog-newsletter-btn, .article-newsletter-btn, .login-submit-btn, .register-submit-btn,
    .reset-btn-primary, .newsletter-btn) {
    background: #2563eb !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transform: none !important;
}
body.public-design :is(.trial-btn, .cta-btn, .try-demo-btn, .contact-submit-btn,
    .login-submit-btn, .register-submit-btn, .blog-read-btn):hover { background: #1d4ed8 !important; }
body.public-design .product-menu-panel { border-radius: 8px !important; box-shadow: 0 12px 36px rgba(24, 35, 47, .12) !important; }
body.public-design .product-menu-item-icon { box-shadow: none; }
body.public-design .cookie-consent-banner { border: 1px solid var(--clean-line); border-radius: 8px; box-shadow: 0 8px 32px rgba(24, 35, 47, .12); }

/* Homepage: the uploader remains the primary interactive surface. */
body.public-design .hero-section { background: #f8fafc !important; padding: 56px 0 48px !important; }
body.public-design .hero-container { gap: 56px !important; }
body.public-design .hero-content .badge {
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 0;
}
body.public-design .hero-content h1 { margin: 0 0 24px; }
body.public-design .hero-content h1 .main-title { font-size: 54px !important; line-height: 1.09 !important; font-weight: 750; }
body.public-design .hero-content .subtitle { color: var(--clean-muted) !important; font-size: 17px; line-height: 1.7; }
body.public-design .hero-cta { margin-top: 28px; }
body.public-design .hero-cta .cta-btn { font-size: 16px; min-height: 48px; padding: 13px 22px; }
body.public-design .hero-stats { margin-top: 32px; padding-top: 22px; border-color: var(--clean-line); }
body.public-design .hero-stats .stat-item { padding: 0 22px; border-color: var(--clean-line); }
body.public-design .hero-stats .stat-item:first-child { padding-left: 0; }
body.public-design .hero-stats .stat-number { color: var(--clean-ink) !important; font-size: 24px; font-weight: 700; }
body.public-design .hero-stats .stat-label { color: var(--clean-muted) !important; font-size: 12px; margin-top: 6px; }
body.public-design .hero-section .upload-container:not(:has(.dashboard-container)) {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
body.public-design .hero-section .upload-area {
    background: radial-gradient(circle at 1px 1px, rgba(37, 99, 235, .14) 1px, transparent 1.3px) 0 0 / 20px 20px, #fafcff !important;
    border-color: #cbd8e9 !important;
    border-radius: 6px !important;
    min-height: 304px;
    padding: 30px 20px 24px !important;
    box-shadow: none !important;
}
body.public-design .hero-section .fixed-upload-wrapper { border-radius: 6px !important; box-shadow: none !important; }
body.public-design .hero-section .upload-area.dragover { border-color: #2563eb !important; background-color: #edf4ff !important; }
body.public-design .hero-section .upload-icon { background: #ffffff !important; width: 58px; height: 58px; font-size: 26px; border-radius: 8px; box-shadow: none; }
body.public-design .hero-section .upload-text h3 { font-size: 22px; margin-top: 20px; }
body.public-design .hero-section .upload-text p { font-size: 14px; }
body.public-design .hero-section .upload-btn {
    background: #ffffff !important;
    border: 1px solid #c7d2e0 !important;
    border-radius: 6px;
    box-shadow: none;
    color: var(--clean-ink) !important;
    font-size: 15px;
    min-height: 44px;
    padding: 10px 18px;
}
body.public-design .hero-section .upload-btn:hover { border-color: #2563eb !important; background: #f0f5ff !important; }
body.public-design .hero-section .try-free-badge { background: #edf4ff; box-shadow: none; color: #1d4ed8; font-size: 12px; padding: 6px 10px; }
body.public-design .hero-section .file-types { gap: 10px; margin-top: 18px; }
body.public-design .hero-section .file-type { background: transparent; border: 0; font-size: 11px; padding: 0; }
body.public-design .hero-section .options-row { background: transparent; border: 0; border-radius: 0; box-shadow: none; gap: 14px; margin-top: 8px; padding: 16px 8px 6px; }
body.public-design .hero-section :is(.language-select, .keywords-input) { border-radius: 5px; font-size: 14px; min-height: 44px; }
body.public-design .hero-section .option-label { font-size: 12px; font-weight: 600; }
body.public-design .hero-section .keywords-hint { font-size: 11px; }
body.public-design .home-result-example { background: #ffffff; border-bottom: 1px solid var(--clean-line); padding: 24px 0; }
body.public-design .home-result-example-inner { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 22px; align-items: center; max-width: 1200px; padding: 0 24px; }
body.public-design .home-result-example img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
body.public-design .home-result-example-label { color: #177562; font-size: 12px; font-weight: 600; }
body.public-design .home-result-example p { color: var(--clean-ink); font-size: 15px; line-height: 1.65; margin: 5px 0 0; max-width: 66ch; }
body.public-design .home-result-example a { color: #2563eb; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; text-decoration: none; }
body.public-design .home-integrations { background: #ffffff !important; padding: 52px 0 56px !important; }
body.public-design .home-integrations h2 { font-size: 32px !important; }
body.public-design .home-integrations-kicker { font-size: 11px; font-weight: 600; }
body.public-design .home-integration-grid { gap: 24px 18px !important; margin-top: 30px; }
body.public-design .home-integration-icon { background: transparent !important; border-color: transparent; box-shadow: none; }
body.public-design .home-integration-tile:hover .home-integration-icon { background: #f6f8fa !important; border-color: #e2e7ed; }
body.public-design .home-integration-tile { font-weight: 600; }
body.public-design :is(.ai-search-visibility, .feature-premium-section, .compare-premium-section,
    .import-premium-section, .demo-section, .how-it-works-visual, .faq-section) { padding-top: 64px !important; padding-bottom: 64px !important; }
body.public-design :is(.ai-search-visibility, .import-premium-section, .how-it-works-visual) { background: var(--clean-soft) !important; }
body.public-design :is(.feature-premium-section, .compare-premium-section, .demo-section, .faq-section) { background: #ffffff !important; }
body.public-design :is(.premium-feature-header h2, .ai-search-header h2, .compare-premium-header h2,
    .import-premium-header h2, .demo-content h2, .how-it-works-visual-header h2, .faq-header h2) { font-size: 34px !important; line-height: 1.2; font-weight: 700; }
body.public-design .ai-search-card { box-shadow: none; border: 1px solid var(--clean-line); border-radius: 8px; padding: 0; overflow: hidden; }
body.public-design .ai-search-stage { background: #eef2f6 !important; border-radius: 0; box-shadow: none; }
body.public-design .ai-search-window { border-radius: 6px; box-shadow: none; border: 1px solid #d7dfe8; }
body.public-design .ai-search-result-highlight { background: #f0faf5; box-shadow: 0 0 0 1px #b9ddcf; }
body.public-design #features .premium-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.public-design #features .premium-feature-grid > .premium-feature-card { grid-column: auto; border: 1px solid var(--clean-line); border-radius: 8px; box-shadow: none; padding: 0; transform: none; }
body.public-design #features .premium-feature-card:hover { border-color: #bccbdc; box-shadow: none; }
body.public-design #features .premium-feature-art { background: #f4f7fa; border-radius: 7px 7px 0 0; box-shadow: none; height: 148px; }
body.public-design #features .premium-feature-art::after { display: none; }
body.public-design #features .premium-feature-art * { box-shadow: none; }
body.public-design #features .premium-feature-body { padding: 22px; }
body.public-design #features .premium-feature-card h3 { font-size: 18px; font-weight: 600; }
body.public-design #features .premium-feature-card p { color: var(--clean-muted); font-size: 14px; }
body.public-design #features .premium-card-tag { color: #177562; font-size: 11px; margin-top: 14px; }
body.public-design #features .premium-card-tag::before { box-shadow: none; height: 4px; width: 4px; }
body.public-design #features .premium-format-chip { font-size: 10px; border-radius: 4px; padding: 5px 8px; }
body.public-design #features .premium-filename-box { max-width: 100%; font-size: 11px; padding: 7px 10px; overflow-wrap: anywhere; }
body.public-design #features .premium-privacy-shield { font-size: 38px; }
body.public-design #features .premium-size-pill { padding: 10px; border-radius: 6px; }
body.public-design #features .premium-size-pill strong { font-size: 16px; }
body.public-design #features .premium-history-art { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 14px 20px; }
body.public-design #features .history-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 600; color: #344454; margin-bottom: 2px; }
body.public-design #features .history-preview-heading small { font-size: 10px; color: #637387; font-weight: 400; }
body.public-design #features .history-preview-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 25px; border-top: 1px solid #e0e7f0; padding-top: 5px; }
body.public-design #features .history-preview-row > i { font-size: 13px; color: #2563eb; }
body.public-design #features .history-preview-row > span { color: #344454; font-size: 11px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.public-design #features .history-preview-row > small { color: #177562; font-size: 10px; white-space: nowrap; }
body.public-design #features .history-preview-row small i { margin-left: 3px; font-size: 9px; }
body.public-design #features .premium-globe-core { height: 58px; width: 58px; font-size: 26px; }
body.public-design #features .premium-language-pill { font-size: 10px; padding: 5px 8px; }
body.public-design #features .premium-bulk-art strong { font-size: 36px; }
body.public-design #features .premium-bulk-art { padding: 18px 24px; justify-content: center; }
body.public-design #features .premium-bulk-bars { margin-top: 8px; }
body.public-design #features .premium-bulk-bars span { height: 5px; margin: 5px 0; }
body.public-design #features .premium-bulk-bars span::after { background: #2563eb; }
body.public-design #features .premium-style-chip { font-size: 10px; padding: 8px; }
body.public-design .compare-premium-section { padding-top: 36px !important; padding-bottom: 36px !important; }
body.public-design .compare-premium-section > .container { max-width: 1056px; }
body.public-design .compare-premium-header h2 { font-size: 28px !important; }
body.public-design .compare-premium-header p { font-size: 14px; line-height: 1.6; margin-top: 10px; }
body.public-design .compare-premium-table { border: 1px solid var(--clean-line); border-radius: 8px; box-shadow: none; margin-top: 24px; }
body.public-design .compare-premium-cell { padding: 10px 18px; font-size: 13px; gap: 10px; line-height: 1.45; }
body.public-design .compare-premium-top .compare-premium-cell { padding: 12px 18px; font-size: 13px; }
body.public-design .compare-premium-feature :is(i, .ai-monogram) { width: 26px; height: 26px; font-size: 12px; border-radius: 5px; }
body.public-design .compare-premium-brand img { width: 26px; height: 26px; padding: 3px; border-radius: 5px; }
body.public-design :is(.compare-premium-other, .compare-premium-writealt)::before { width: 16px; height: 16px; font-size: 9px; }
body.public-design .compare-premium-pillar { display: none; }
body.public-design .compare-premium-writealt { color: var(--clean-ink); background: #f0f6ff; }
body.public-design .compare-premium-top .compare-premium-writealt { color: #1d4ed8; }
body.public-design .compare-premium-writealt::before { background: transparent; color: #15745d; box-shadow: none; }
body.public-design .compare-premium-brand img { box-shadow: none; }
body.public-design .compare-premium-other { color: var(--clean-muted); }
body.public-design .import-premium-grid { gap: 18px; margin-top: 32px; align-items: stretch; }
body.public-design .import-premium-card { background: #ffffff; border: 1px solid var(--clean-line); border-radius: 8px; box-shadow: none; padding: 24px; transform: none; }
body.public-design .import-premium-card:hover { border-color: #bccbdc; box-shadow: 0 4px 16px rgba(24, 35, 47, .04); transform: none; }
body.public-design .import-premium-stage { background: transparent; box-shadow: none; border-radius: 0; height: 48px; justify-content: flex-start; padding: 0; }
body.public-design .import-premium-logo { background: transparent; border: 0; border-radius: 0; box-shadow: none; width: 40px; height: 40px; font-size: 32px; }
body.public-design .import-premium-body { display: flex; flex: 1; flex-direction: column; padding: 18px 0 0; }
body.public-design .import-premium-body h3 { font-size: 18px; }
body.public-design .import-premium-body p { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
body.public-design .import-premium-tag { background: transparent; box-shadow: none; color: #177562; align-self: flex-start; margin-top: auto; font-size: 11px; padding: 0; }
body.public-design .import-premium-foot { margin-top: 24px; font-size: 12px; }
body.public-design .demo-visual { border-radius: 8px !important; border: 1px solid var(--clean-line); box-shadow: none !important; padding: 8px; }
body.public-design .demo-visual .image-container { border-radius: 5px; }
body.public-design .demo-visual .ai-processing { background: transparent !important; border: 0; border-radius: 0; padding: 18px 14px 8px; }
body.public-design .demo-visual .processing-status { color: var(--clean-muted); font-size: 12px; line-height: 1.5; }
body.public-design .demo-visual .alt-text-output { border: 0 !important; border-top: 1px solid var(--clean-line) !important; border-radius: 0; margin: 12px 14px; padding: 16px 0 0; }
body.public-design .demo-content .benefit-icon { background: transparent !important; border: 0; border-radius: 0; box-shadow: none; width: 28px; height: 28px; }
body.public-design .demo-content .benefit-item { gap: 14px; padding: 16px 0; }
body.public-design .demo-content .try-demo-btn { font-size: 15px; margin-top: 22px; padding: 13px 20px; }
body.public-design :is(.how-it-works-visual-step, .how-it-works-visual-lead) { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body.public-design .how-it-works-visual-preview { border-radius: 6px; background: #ffffff; box-shadow: none; }
body.public-design .faq-item { border: 0; border-bottom: 1px solid var(--clean-line); border-radius: 0; box-shadow: none; margin: 0; }
body.public-design .faq-item:hover, .public-design .faq-item.active { box-shadow: none; }
body.public-design .faq-question { background: transparent; padding-top: 20px; padding-bottom: 20px; }
body.public-design .faq-item.active .faq-question { background: #f6f8fa; }
body.public-design .final-cta { background: #edf4ff !important; border-top: 1px solid #dbe6f5; padding: 56px 0 !important; }
body.public-design .final-cta > .container { background: transparent; border-radius: 0; box-shadow: none; padding: 0 24px; }
body.public-design .final-cta h2 { color: var(--clean-ink); font-size: 34px; }
body.public-design .final-cta :is(p, .cta-subtext) { color: var(--clean-muted); }
body.public-design .final-cta .highlight { color: #177562; }
body.public-design .final-cta .primary-cta { background: #2563eb !important; border-radius: 6px; box-shadow: none; color: #ffffff; }
body.public-design .final-cta .secondary-cta { background: #ffffff !important; border: 1px solid #b9cce9; border-radius: 6px; box-shadow: none; color: #1d4ed8 !important; }

/* Authentication preserves the database-fed carousel and its existing controls. */
body.public-design:has(:is(.login-main, .register-main)) { background: #f6f8fb; }
body.public-design :is(.login-main, .register-main) { background: #f6f8fb !important; padding: 48px 24px 64px !important; min-height: calc(100vh - 70px); align-items: center !important; }
body.public-design :is(.login-wrapper, .register-wrapper) { max-width: 1120px; width: 100%; }
body.public-design :is(.login-container, .register-container) { display: grid !important; background: #ffffff; border: 1px solid #dce4ef !important; border-radius: 8px !important; box-shadow: 0 12px 40px rgba(23, 42, 72, .06) !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; overflow: hidden; align-items: stretch; }
body.public-design :is(.login-left-side, .register-left) { display: flex !important; align-self: stretch; width: 100%; background: radial-gradient(circle at 1px 1px, #cedcf0 1px, transparent 1.2px) 0 0 / 22px 22px, #f0f5fc !important; border: 0; border-right: 1px solid #dce4ef; border-radius: 0; padding: 44px !important; text-align: left; }
body.public-design :is(.login-brand-content, .register-brand-content) { height: auto !important; flex: 1; min-width: 0; justify-content: flex-start; }
body.public-design :is(.login-brand-icon, .register-brand-icon) { background: #ffffff !important; border: 1px solid #d3e0f3; border-radius: 8px; box-shadow: 0 3px 8px rgba(34, 69, 118, .04); height: 52px; width: 52px; margin: 0; }
body.public-design :is(.login-brand-icon, .register-brand-icon) i { font-size: 24px; }
body.public-design :is(.login-brand-content, .register-brand-content) h1 { font-size: 34px !important; line-height: 1.2; font-weight: 700; margin: 30px 0 14px; }
body.public-design :is(.login-brand-content, .register-brand-content) > p { font-size: 16px !important; line-height: 1.75; margin: 0; }
body.public-design :is(.login-tips-carousel, .register-tips-carousel) { display: block !important; margin: 40px 0 0; padding-top: 0; }
body.public-design :is(.login-tips-container, .register-tips-container) { display: grid; min-height: 0; align-items: start; }
body.public-design :is(.login-tip, .register-tip) { display: flex; grid-area: 1 / 1; align-items: flex-start; align-self: start; flex-direction: row; text-align: left; visibility: hidden; opacity: 0; pointer-events: none; border-radius: 0; background: transparent !important; border: 0 !important; border-top: 1px solid #cbd9ec !important; box-shadow: none; backdrop-filter: none; padding: 24px 0 0; gap: 12px; animation: none; }
body.public-design :is(.login-tip.active, .register-tip.active) { visibility: visible; opacity: 1; pointer-events: auto; }
body.public-design :is(.login-tip-icon, .register-tip-icon) { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 5px; margin: 0; box-shadow: none; }
body.public-design :is(.login-tip-content, .register-tip-content) { min-width: 0; }
body.public-design :is(.login-tip-content, .register-tip-content) h4 { font-size: 14px; line-height: 1.45; }
body.public-design :is(.login-tip-content, .register-tip-content) p { font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
body.public-design :is(.login-tips-dots, .register-tips-dots) { justify-content: flex-start; gap: 0; margin: 8px 0 -8px 32px; }
body.public-design :is(.login-tip-dot, .register-tip-dot) { background: #a8bad1; background-clip: content-box; border: 10px solid transparent; border-radius: 20px; box-sizing: content-box; flex: none; }
body.public-design :is(.login-tip-dot.active, .register-tip-dot.active) { background-color: #2563eb; background-clip: content-box; }
body.public-design .auth-workflow-notes { display: grid; gap: 18px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #cbd9ec; }
body.public-design .auth-workflow-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
body.public-design .auth-workflow-note > i { color: #2563eb; font-size: 17px; line-height: 22px; text-align: center; }
body.public-design .auth-workflow-note h2 { color: #22344c; font-size: 14px; line-height: 1.55; font-weight: 600; margin: 0; }
body.public-design .auth-workflow-note :is(p, ul) { color: #52647c; font-size: 13px; line-height: 1.7; margin: 6px 0 0; padding: 0; }
body.public-design .auth-workflow-note ul { list-style: none; display: grid; gap: 6px; }
body.public-design .auth-workflow-note li { margin: 0; }
body.public-design :is(.login-stats, .register-stats) { gap: 12px; margin: 36px 0 0 !important; padding: 0; border: 0 !important; }
body.public-design :is(.login-stat-number, .register-stat-number) { font-size: 24px !important; }
body.public-design :is(.login-stat-label, .register-stat-label) { font-size: 12px !important; }
body.public-design :is(.login-features-list, .register-features-list) { display: none !important; }
body.public-design :is(.login-features-list, .register-features-list) li { font-size: 14px !important; gap: 10px !important; }
body.public-design :is(.login-feature-icon, .register-feature-icon) { background: transparent !important; width: 22px; height: 22px; }
body.public-design :is(.login-right-side, .register-right) { padding: 44px !important; justify-content: center !important; min-width: 0; }
body.public-design :is(.login-form-content, .register-form-content) { max-width: 448px !important; width: 100%; }
body.public-design :is(.login-form-header, .register-form-header) { text-align: left !important; margin-bottom: 26px !important; }
body.public-design :is(.login-form-header, .register-form-header) h2 { font-size: 28px !important; font-weight: 700 !important; }
body.public-design :is(.login-form-header, .register-form-header) p { font-size: 14px !important; line-height: 1.6; }
body.public-design :is(.login-social-btn, .register-social-btn) { border-radius: 5px !important; min-height: 46px; box-shadow: none; }
body.public-design :is(.login-form-input, .register-form-input) { border: 1px solid #cdd7e4 !important; border-radius: 6px !important; min-height: 48px !important; font-size: 15px; background: #ffffff; }
body.public-design :is(.login-form-input, .register-form-input):focus { border-color: #2563eb !important; box-shadow: 0 0 0 3px #edf3ff; }
body.public-design :is(.login-form-label, .register-form-label) { font-size: 13px; font-weight: 600; }
body.public-design :is(.login-form-group, .register-form-group) { margin-bottom: 20px; }
body.public-design :is(.login-register-link, .register-login-link) { border-top: 1px solid #e2e8f0; padding-top: 22px; margin-top: 24px; }
body.public-design :is(.login-divider, .register-divider) { margin: 22px 0 !important; }
body.public-design .register-form-content .register-divider-small { margin: 16px 0 0 !important; padding: 0; }
body.public-design .register-form-content .register-divider-small::before,
body.public-design .register-form-content .register-divider-small::after { display: none !important; }
body.public-design .register-form-content .register-divider-small span { display: inline-flex; align-items: center; gap: 8px; background: transparent !important; padding: 0; font-size: 12px; line-height: 1.6; }
body.public-design .register-divider-small span i { margin: 0; }
body.public-design .register-divider-small span i:last-child { display: none; }
body.public-design :is(.login-submit-btn, .register-submit-btn) { min-height: 48px !important; font-size: 15px; }
body.public-design :is(.login-recaptcha-container, .register-recaptcha-container) { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 8px 0 !important; min-width: 0; }
body.public-design .register-terms-checkbox { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 8px 0 !important; }
body.public-design .register-terms-checkbox input { flex-shrink: 0; }
body.public-design :is(.login-register-link, .register-login-link) { font-size: 14px !important; }

/* Blog: editorial spacing and real imagery, not another dashboard grid. */
body.public-design .blog-container { max-width: 1168px; padding: 0 24px; }
body.public-design .blog-page-header { background: #ffffff !important; border: 0; text-align: left; margin: 0; padding: 48px 0 24px; }
body.public-design .blog-page-header h1 { font-size: 44px; font-weight: 700; margin: 0 0 14px; }
body.public-design .blog-page-header p { color: var(--clean-muted); font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0; }
body.public-design .blog-category-filters { justify-content: flex-start; gap: 24px; background: transparent; border: 0; border-bottom: 1px solid var(--clean-line); border-radius: 0; box-shadow: none; padding: 0; margin: 0 0 32px; }
body.public-design .blog-filter-btn { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--clean-muted); font-weight: 500; padding: 14px 0; box-shadow: none !important; }
body.public-design .blog-filter-btn.active { background: transparent !important; border-bottom-color: #2563eb; color: #1d4ed8; box-shadow: none !important; }
body.public-design .blog-featured { background: transparent; border: 0; border-radius: 0; box-shadow: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-bottom: 42px; padding-bottom: 36px; border-bottom: 1px solid var(--clean-line); overflow: visible; }
body.public-design .blog-featured-image { min-height: 0; height: auto; aspect-ratio: auto; align-self: center; border-radius: 8px; background: transparent; }
body.public-design .blog-featured-image img { width: 100%; height: auto; display: block; object-fit: contain; transform: none !important; }
body.public-design .blog-featured-content { display: flex; flex-direction: column; justify-content: center; padding: 0; min-width: 0; background: transparent; }
body.public-design .blog-featured-content h2 { font-size: 28px; font-weight: 650; line-height: 1.3; }
body.public-design .blog-featured-content p { font-size: 15px; line-height: 1.7; color: var(--clean-muted); display: block; overflow: visible; }
body.public-design .blog-featured-content .blog-read-btn { align-self: flex-start; padding: 11px 16px; font-size: 14px; }
body.public-design .blog-featured-badge { background: #ffffff; color: #1d4ed8; border: 1px solid #d9e3ee; border-radius: 4px; box-shadow: none; font-size: 11px; left: 12px; top: 12px; padding: 5px 9px; }
body.public-design .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
body.public-design .blog-card-link-wrapper { min-width: 0; }
body.public-design .blog-card { background: #ffffff; border: 1px solid var(--clean-line); border-radius: 8px; box-shadow: none; height: 100%; transform: none !important; }
body.public-design .blog-card:hover { border-color: #bdcddf; box-shadow: 0 4px 16px rgba(24, 35, 47, .04); }
body.public-design .blog-card-image { aspect-ratio: 16 / 9; height: auto; border-radius: 0; background: #f6f8fa; }
body.public-design .blog-card-image img { width: 100%; height: 100%; object-fit: contain; transform: none !important; }
body.public-design .blog-card-category { background: #ffffff; color: #273746; border-radius: 3px; font-size: 11px; padding: 5px 8px; box-shadow: none; }
body.public-design .blog-card-content { padding: 20px; }
body.public-design .blog-card-content h3 { font-size: 19px; line-height: 1.4; font-weight: 650; -webkit-line-clamp: unset; }
body.public-design .blog-card-content p { color: var(--clean-muted); font-size: 14px; line-height: 1.7; -webkit-line-clamp: 3; }
body.public-design .blog-card-footer { border: 0; margin-top: 16px; padding-top: 0; }
body.public-design .blog-card-link { font-size: 13px; }
body.public-design :is(.blog-newsletter, .article-newsletter) { background: #f6f8fa !important; border: 1px solid var(--clean-line); border-radius: 8px !important; box-shadow: none; color: var(--clean-ink); }
body.public-design :is(.blog-newsletter, .article-newsletter)::before { display: none; }
body.public-design :is(.blog-newsletter-content, .article-newsletter) :is(h3, p) { color: var(--clean-ink); }
body.public-design :is(.blog-newsletter-icon, .article-newsletter-icon) { background: transparent; color: #2563eb; box-shadow: none; }
body.public-design :is(.blog-newsletter-input, .article-newsletter-input) { background: #ffffff; border: 1px solid #ccd5df; border-radius: 5px; color: var(--clean-ink); min-width: 0; }
body.public-design :is(.blog-newsletter-form, .article-newsletter-form) { max-width: 560px; width: 100%; margin: 24px auto 0; }
body.public-design :is(.blog-newsletter-input-group, .article-newsletter-group) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body.public-design :is(.blog-newsletter-input, .article-newsletter-input) { width: 100%; min-height: 48px; padding: 12px 14px; font-size: 15px; line-height: 1.5; border-radius: 6px; }
body.public-design :is(.blog-newsletter-input, .article-newsletter-input):focus { border-color: #2563eb; box-shadow: 0 0 0 3px #e8efff; }
body.public-design :is(.blog-newsletter-btn, .article-newsletter-btn) { min-height: 48px; padding: 12px 20px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
body.public-design :is(.blog-newsletter-note, .article-newsletter-note) { color: var(--clean-muted) !important; font-size: 12px; line-height: 1.6; margin: 14px 0 0; opacity: 1; }
body.public-design .blog-page-link { border-radius: 5px; box-shadow: none; }
body.public-design.article-page .article-container { max-width: 900px; }
body.public-design.article-page .article-header { text-align: left; }
body.public-design.article-page .article-title { font-size: 40px; line-height: 1.2; }
body.public-design.article-page .article-excerpt { font-size: 18px; line-height: 1.7; }
body.public-design.article-page .article-meta { justify-content: flex-start; }
body.public-design.article-page .article-image { border-radius: 6px; box-shadow: none; }
body.public-design.article-page .article-content { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 32px 0; font-size: 17px; line-height: 1.85; color: #344454; }
body.public-design.article-page .article-content :is(img, video, iframe, table, pre) { max-width: 100%; }
body.public-design.article-page .article-content pre { overflow-x: auto; }
body.public-design.article-page .article-content :is(h2, h3) { margin-top: 36px; line-height: 1.35; }
body.public-design.article-page .article-share { border: 0; border-top: 1px solid var(--clean-line); border-bottom: 1px solid var(--clean-line); border-radius: 0; box-shadow: none; }
body.public-design.article-page .article-related-card { border-radius: 6px; box-shadow: none; }

/* The remaining public pages use the same restrained surfaces. */
body.public-design :is(.about-page-header, .contact-page-header, .policy-page-header, .cookie-page-header, .page-header-integrations, .pricing-hero) { background: #f2f6fc !important; border-bottom: 1px solid #e0e8f2; }
body.public-design .about-page-header { background: #f2f6fc !important; border-bottom-color: #e0e8f2; }
body.public-design .blog-page-header { background: #f5f8fc !important; border-bottom: 1px solid #e4ebf3; margin-bottom: 26px; }
body.public-design :is(.about-content-card, .about-stats-card, .about-team-card, .contact-info-card,
    .contact-form-card, .pricing-plan-card, .pricing-testimonial-card, .pricing-audience-item,
    .cookie-content-card, .policy-content-section, .integration-detail, .reset-container) { border-radius: 8px !important; box-shadow: none !important; }
body.public-design :is(.contact-form-card, .contact-info-card) { background: #ffffff !important; transform: none !important; }
body.public-design :is(.contact-method, .contact-terms-checkbox, .contact-recaptcha-container) { background: transparent !important; box-shadow: none; border-radius: 5px !important; }
body.public-design :is(.contact-form-control, .reset-form-input) { border-radius: 5px; font-size: 16px; }
body.public-design .pricing-plan-card.popular { box-shadow: 0 0 0 1px #2563eb !important; }
/* Only the pricing introduction is compacted; plans and purchase controls are unchanged. */
body.public-design .pricing-hero { padding: 32px 20px 24px !important; }
body.public-design .pricing-hero h1 { font-size: 36px; line-height: 1.2; margin: 0 0 10px; }
body.public-design .pricing-hero > p { font-size: 16px; line-height: 1.6; margin: 0 auto; }
body.public-design .pricing-hero-stats { margin: 18px auto 14px; max-width: 540px; flex-wrap: nowrap; }
body.public-design .pricing-stat-item { min-width: 0; flex: 1; padding: 0 20px; }
body.public-design .pricing-stat-number { font-size: 24px; line-height: 1.3; }
body.public-design .pricing-stat-label { font-size: 12px; margin-top: 4px; }
body.public-design .pricing-hero-note { font-size: 12px; line-height: 1.6; padding: 6px 12px; margin-top: 0; }
body.public-design .pricing-billing-section { padding-top: 14px; padding-bottom: 14px; }
body.public-design .reset-main { background: #f6f8fa; }
body.public-design .reset-header { background: #f6f8fa; color: var(--clean-ink); }
body.public-design .reset-header :is(h1, p) { color: var(--clean-ink); }
body.public-design .docs-content { min-width: 0; }
body.public-design .docs-content :is(p, li, a) { overflow-wrap: anywhere; }
body.public-design .docs-content pre { max-width: 100%; overflow-x: auto; }

/* Support keeps the contact channels beside a clearly framed form. */
body.public-design:has(.contact-grid) .main-content { background: #f7f9fc; }
body.public-design .contact-page-header { background: #f7f9fc !important; padding: 48px 0 32px !important; border: 0; margin-bottom: 0; }
body.public-design .contact-page-header h1 { font-size: 36px !important; font-weight: 700 !important; text-align: left !important; line-height: 1.25; margin: 0; }
body.public-design .contact-container { width: 100%; max-width: 1168px !important; padding: 0 24px !important; }
body.public-design .main-content > .contact-container { padding-bottom: 64px !important; }
body.public-design .contact-grid { display: grid !important; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) !important; gap: 48px !important; margin: 0 !important; align-items: start; }
body.public-design .contact-info-card { background: transparent !important; border: 0 !important; padding: 24px 0 !important; border-radius: 0 !important; min-width: 0; }
body.public-design .contact-form-card { background: #ffffff !important; border: 1px solid #dce4ef !important; padding: 32px !important; border-radius: 8px !important; min-width: 0; box-shadow: 0 8px 28px rgba(23, 42, 72, .04) !important; }
body.public-design .contact-section-title { border: 0 !important; padding: 0 !important; margin: 0 0 28px !important; }
body.public-design .contact-section-title h2 { font-size: 21px !important; gap: 10px !important; }
body.public-design .contact-section-title h2 i { background: transparent !important; border: 0 !important; box-shadow: none; flex: 0 0 24px !important; width: 24px !important; height: 24px !important; font-size: 16px !important; }
body.public-design .contact-methods { gap: 0; }
body.public-design .contact-method { background: transparent !important; border: 0 !important; border-top: 1px solid #dce4ef !important; border-radius: 0 !important; padding: 24px 0 !important; gap: 16px !important; transform: none !important; flex-direction: row !important; align-items: flex-start !important; text-align: left !important; }
body.public-design .contact-method:hover { box-shadow: none !important; }
body.public-design .contact-method-icon { background: #eaf0fc !important; color: #2563eb; border: 1px solid #dbe5f7; border-radius: 8px !important; flex: 0 0 40px !important; width: 40px !important; height: 40px !important; box-shadow: none; }
body.public-design .contact-method-icon i { font-size: 17px; }
body.public-design .contact-method-details h3 { font-size: 16px !important; }
body.public-design .contact-method-details { min-width: 0; text-align: left; }
body.public-design .contact-method-details p { font-size: 14px !important; line-height: 1.7; margin: 6px 0 12px; }
body.public-design :is(.contact-link, .contact-text) { font-size: 14px !important; line-height: 1.6; font-weight: 600 !important; }
body.public-design .contact-form-row { gap: 16px !important; }
body.public-design .contact-form-group { margin-bottom: 20px !important; min-width: 0; }
body.public-design .contact-form-group label { font-size: 13px !important; }
body.public-design .contact-form-control { background: #ffffff !important; border: 1px solid #cbd5e0 !important; border-radius: 6px !important; font-size: 16px; padding: 12px 14px !important; min-height: 48px !important; }
body.public-design .contact-textarea { min-height: 160px !important; resize: vertical; }
body.public-design :is(.contact-recaptcha-container, .contact-terms-checkbox) { border: 0 !important; padding: 4px 0 !important; border-radius: 0 !important; }
body.public-design .contact-terms-checkbox { align-items: flex-start; gap: 10px; }
body.public-design .contact-terms-checkbox input { flex: none; margin-top: 3px; }
body.public-design .contact-terms-label { font-weight: 400 !important; line-height: 1.7; }
body.public-design .contact-submit-btn { min-height: 48px; padding: 12px 20px; width: 100%; }

/* Legal content remains database-authored, in a single readable document column. */
body.public-design :is(.about-container, .policy-container, .cookie-container) { max-width: 864px; padding-left: 24px; padding-right: 24px; }
body.public-design :is(.about-page-header, .policy-page-header, .cookie-page-header) { padding: 48px 0 28px !important; text-align: left; border: 0; margin: 0; }
body.public-design :is(.about-page-header, .policy-page-header, .cookie-page-header) { border-bottom: 1px solid #e0e8f2; margin-bottom: 32px; }
body.public-design :is(.about-page-header, .policy-page-header, .cookie-page-header) h1 { font-size: 40px; line-height: 1.2; font-weight: 700; margin: 0 0 12px; }
body.public-design :is(.policy-page-header, .cookie-page-header) p { font-size: 16px; line-height: 1.7; text-align: left; margin: 0; }
body.public-design .policy-nav { background: transparent; border: 0; border-bottom: 1px solid var(--clean-line); border-radius: 0; box-shadow: none; width: 100%; padding: 0; margin: 0 0 32px; }
body.public-design .policy-tabs { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-start; padding: 0; }
body.public-design .policy-tab { background: transparent !important; border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none !important; color: var(--clean-muted); font-size: 14px; padding: 14px 0; white-space: normal; }
body.public-design .policy-tab.active { border-bottom-color: #2563eb; color: #1d4ed8 !important; }
body.public-design :is(.policy-content-section, .cookie-content-card) { background: transparent; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 0 48px; margin: 0; }
body.public-design :is(.policy-section-title, .cookie-section-title) { font-size: 26px; line-height: 1.3; margin: 0 0 24px; padding: 0 0 18px; }
body.public-design :is(.policy-text, .cookie-text) { color: #344454; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
body.public-design :is(.policy-text, .cookie-text) p { margin: 0 0 20px; line-height: 1.85; }
body.public-design :is(.policy-text, .cookie-text) :is(h2, h3, h4) { color: var(--clean-ink); line-height: 1.4; margin-top: 32px; margin-bottom: 14px; }
body.public-design :is(.policy-text, .cookie-text) h2 { font-size: 25px; }
body.public-design :is(.policy-text, .cookie-text) h3 { font-size: 21px; }
body.public-design :is(.policy-text, .cookie-text) h4 { font-size: 18px; }
body.public-design :is(.policy-text, .cookie-text) :is(ul, ol) { padding-left: 24px; margin-bottom: 24px; }
body.public-design :is(.policy-text, .cookie-text) li { margin-bottom: 9px; }
body.public-design :is(.policy-text, .cookie-text) hr { border: 0; border-top: 1px solid var(--clean-line); margin: 28px 0; }
body.public-design :is(.policy-text, .cookie-text) img { max-width: 100%; height: auto; }
body.public-design :is(.cookie-table-wrapper, .policy-text table, .cookie-text table) { max-width: 100%; overflow-x: auto; }
body.public-design :is(.policy-text, .cookie-text) table { display: block; border-collapse: collapse; font-size: 14px; }
body.public-design :is(.policy-text, .cookie-text) :is(th, td) { border: 1px solid var(--clean-line); padding: 12px; text-align: left; }
body.public-design :is(.policy-last-updated, .cookie-last-updated) { background: #f6f8fa; border: 1px solid var(--clean-line); border-radius: 6px; box-shadow: none; font-size: 13px; margin-top: 28px; padding: 16px; }
body.public-design .cookie-type-card { background: #f6f8fa; box-shadow: none; border-radius: 8px; }
body.public-design .cookie-modal { width: min(580px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); overflow: hidden; border-radius: 8px; }
body.public-design .cookie-modal-header { background: #ffffff; color: var(--clean-ink); border-bottom: 1px solid var(--clean-line); }

/* Articles keep the authored HTML, with consistent typography and media sizing. */
body.public-design.article-page, body.public-design.article-page .article-page { background: #ffffff !important; }
body.public-design.article-page .article-container { max-width: 864px; padding: 0 24px; }
body.public-design.article-page .article-back { margin-top: 32px; }
body.public-design.article-page .article-back-link { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; color: var(--clean-muted); font-size: 13px; }
body.public-design.article-page .article-header { padding: 0; margin-bottom: 28px; }
body.public-design.article-page .article-category { background: #edf4ff; color: #1d4ed8; border-radius: 4px; font-size: 12px; padding: 5px 9px; margin-bottom: 18px; }
body.public-design.article-page .article-title { font-size: 38px; line-height: 1.25; font-weight: 700; overflow-wrap: anywhere; }
body.public-design.article-page .article-excerpt { font-size: 17px; line-height: 1.75; color: var(--clean-muted); padding: 0; margin: 0 0 18px; max-width: 100%; }
body.public-design.article-page .article-meta { flex-direction: row; flex-wrap: wrap; gap: 18px; }
body.public-design.article-page .article-image { border: 0; border-radius: 8px; margin: 28px 0; }
body.public-design.article-page .article-image img { display: block; width: 100%; height: auto; }
body.public-design.article-page .article-content { padding: 0 0 28px; overflow-wrap: anywhere; }
body.public-design.article-page .article-content h2 { font-size: 26px; }
body.public-design.article-page .article-content h3 { font-size: 21px; }
body.public-design.article-page .article-content p { margin-bottom: 22px; }
body.public-design.article-page .article-content :is(ul, ol) { padding-left: 24px; margin-bottom: 24px; }
body.public-design.article-page .article-content li { margin-bottom: 8px; }
body.public-design.article-page .article-content img { height: auto; border-radius: 6px; }
body.public-design.article-page .article-content table { display: block; overflow-x: auto; border-collapse: collapse; }
body.public-design.article-page .article-content :is(th, td) { border: 1px solid var(--clean-line); padding: 12px; }
body.public-design.article-page .article-content blockquote { margin: 28px 0; border-left: 3px solid #2563eb; background: #f6f8fa; padding: 18px 22px; }
body.public-design.article-page .article-content pre { background: #19232f; color: #eef3f8; border-radius: 6px; padding: 20px; }
body.public-design.article-page .article-newsletter { margin: 40px 0 56px; padding: 32px; }
body.public-design.article-page .article-related-title { font-size: 24px; }
body.public-design.article-page .article-related-card { background: #ffffff; border: 1px solid var(--clean-line); }
body.public-design.article-page .article-related-info { padding: 16px; }
body.public-design .page-header-integrations { padding-top: 48px; padding-bottom: 32px; }
body.public-design .page-header-integrations h1 { font-size: 40px; line-height: 1.2; }
body.public-design .about-page-header + .about-container { padding-top: 0; }
body.public-design .about-content-card { background: transparent; border: 0; border-radius: 0 !important; padding: 0 0 48px; }
body.public-design .about-text { max-width: none; margin-left: auto; margin-right: auto; font-size: 16px; line-height: 1.85; color: #344454; }
body.public-design .about-text p { margin: 0 0 20px; line-height: 1.85; }
body.public-design .about-text :is(h1, h2, h3, h4) { color: var(--clean-ink); line-height: 1.4; margin: 32px 0 14px; }
body.public-design .about-text > :first-child { margin-top: 0; }
body.public-design .about-text h1 { font-size: 26px; font-weight: 700; }
body.public-design .about-text h2 { font-size: 25px; }
body.public-design .about-text h3 { font-size: 21px; }
body.public-design .about-text h4 { font-size: 18px; }
body.public-design .about-mvp-item { background: #f6f9fc; border: 1px solid #e0e8f2; border-radius: 8px; box-shadow: none; }
body.public-design .about-mvp-icon { background: transparent; box-shadow: none; color: #2563eb; }
body.public-design footer { background: #ffffff !important; border-top: 1px solid #dce5ee !important; color: var(--clean-muted); padding-top: 48px; }
body.public-design footer .footer-column h3::after { display: none; }
body.public-design footer :is(.footer-column h3, .footer-brand p) { color: var(--clean-ink) !important; }
body.public-design footer :is(.footer-links a, .footer-newsletter-text, .footer-bottom, .footer-bottom a) { color: var(--clean-muted) !important; }
body.public-design footer :is(.footer-links a, .footer-bottom a):hover { color: #2563eb !important; }
body.public-design footer .copyright { color: var(--clean-muted) !important; font-size: 13px; line-height: 1.6; }
body.public-design footer :is(.newsletter-note, .footer-newsletter-note) { color: var(--clean-muted) !important; opacity: 1; }
body.public-design footer .logo tspan:first-child { fill: var(--clean-ink); }
body.public-design footer .social-link { background: #ffffff !important; border: 1px solid var(--clean-line) !important; border-radius: 6px; color: var(--clean-ink) !important; }
body.public-design footer .footer-bottom { border-top-color: var(--clean-line) !important; }
body.public-design footer .newsletter-input { background: #ffffff; border: 1px solid #ccd5df; border-radius: 5px; color: var(--clean-ink); }
body.public-design footer .newsletter-input::placeholder { color: #718096; }
body.public-design footer .newsletter-input:focus { border-color: #2563eb; }

@media (max-width: 1024px) {
    body.public-design .compare-premium-section { display: none !important; }
    body.public-design .hero-container { gap: 32px !important; }
    body.public-design .hero-content h1 .main-title { font-size: 44px !important; }
    body.public-design .home-result-example-inner { grid-template-columns: 64px minmax(0, 1fr); }
    body.public-design .home-result-example a { grid-column: 2; }
    body.public-design .blog-featured-content h2 { font-size: 24px; }
    body.public-design :is(.login-container, .register-container) { max-width: 960px; margin: 0 auto; }
    body.public-design :is(.login-left-side, .register-left) { padding: 32px !important; }
    body.public-design :is(.login-right-side, .register-right) { padding: 32px !important; width: 100%; }
    body.public-design :is(.login-form-content, .register-form-content) { max-width: none !important; }
    body.public-design :is(.login-brand-content, .register-brand-content) h1 { font-size: 30px !important; }
    body.public-design :is(.login-stats, .register-stats) { display: grid !important; }
    body.public-design .mobile-nav { top: 70px !important; height: calc(100dvh - 70px) !important; max-height: calc(100dvh - 70px); }
    body.public-design .mobile-nav-overlay { top: 70px; }
    body.public-design .mobile-nav-inner { max-height: 100%; }
    body.public-design .mobile-nav-header:not(:has(.mobile-user-section)) { display: none; }
    body.public-design :is(.mobile-login-btn, .mobile-signup-btn) { border-radius: 6px !important; box-shadow: none !important; }
    body.public-design .hero-cta-authenticated { display: none !important; }
}
@media (max-width: 900px) {
    body.public-design :is(.login-container, .register-container) { grid-template-columns: minmax(0, 1fr); max-width: 600px; }
    body.public-design :is(.login-left-side, .register-left) { border-right: 0; border-bottom: 1px solid #dce4ef; }
    body.public-design :is(.login-brand-content, .register-brand-content) h1 { font-size: 28px !important; margin-top: 22px; }
    body.public-design :is(.login-tips-carousel, .register-tips-carousel) { margin-top: 24px; padding-top: 0; }
    body.public-design :is(.login-stats, .register-stats) { display: grid !important; }
    body.public-design :is(.login-features-list, .register-features-list) { display: none !important; }
    body.public-design #features .premium-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.public-design .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.public-design .blog-featured { grid-template-columns: 1fr; }
    body.public-design .blog-featured-image { aspect-ratio: auto; }
    body.public-design .blog-featured { gap: 24px; }
    body.public-design .compare-premium-row { border-radius: 6px; box-shadow: none; border: 1px solid var(--clean-line); }
    body.public-design .contact-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
    body.public-design .contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    body.public-design .import-premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    body.public-design .hero-section { padding: 32px 0 36px !important; }
    body.public-design .hero-container { display: flex; flex-direction: column; gap: 18px !important; }
    body.public-design .hero-content { display: contents; }
    body.public-design .hero-content .badge { order: 0; }
    body.public-design .hero-content h1 { order: 1; }
    body.public-design .hero-content .subtitle { order: 2; margin-bottom: 0; }
    body.public-design .hero-content .hero-cta { order: 3; margin-top: 0; width: 100%; }
    body.public-design .hero-container > .upload-container { order: 4; width: 100%; }
    body.public-design .hero-content .hero-stats { order: 5; margin-top: 4px; width: 100%; }
    body.public-design .hero-content h1 .main-title { font-size: 36px !important; line-height: 1.13 !important; }
    body.public-design .hero-content h1 { margin-bottom: 16px; }
    body.public-design .hero-content .badge { font-size: 12px; margin-bottom: 16px; }
    body.public-design .hero-content .subtitle { font-size: 15px; line-height: 1.65; }
    body.public-design .hero-cta { margin-top: 20px; }
    body.public-design .hero-stats { margin-top: 24px; padding-top: 16px; }
    body.public-design .hero-stats .stat-number { font-size: 21px; }
    body.public-design .hero-stats .stat-item { padding: 0 14px; }
    body.public-design .hero-section > .container { padding-left: 16px; padding-right: 16px; }
    body.public-design .hero-section .upload-area { min-height: 280px; padding: 24px 12px 20px !important; }
    body.public-design .hero-section .options-row { gap: 12px; padding: 12px 4px 4px; }
    body.public-design .hero-section .file-types { gap: 8px; }
    body.public-design .home-result-example-inner { grid-template-columns: 56px minmax(0, 1fr); padding: 0 20px; gap: 12px 16px; }
    body.public-design .home-result-example img { width: 56px; height: 56px; align-self: start; }
    body.public-design .home-result-example p { font-size: 13px; }
    body.public-design .home-integrations { padding: 40px 0 !important; }
    body.public-design .home-integrations h2 { font-size: 27px !important; }
    body.public-design .home-integration-grid { gap: 20px 8px !important; }
    body.public-design :is(.ai-search-visibility, .feature-premium-section, .compare-premium-section, .import-premium-section, .demo-section, .how-it-works-visual, .faq-section) { padding-top: 44px !important; padding-bottom: 44px !important; }
    body.public-design :is(.premium-feature-header h2, .ai-search-header h2, .compare-premium-header h2, .import-premium-header h2, .demo-content h2, .how-it-works-visual-header h2, .faq-header h2) { font-size: 28px !important; }
    body.public-design #features .premium-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    body.public-design .blog-container { padding: 0 20px; }
    body.public-design .blog-page-header { padding: 36px 0 20px; }
    body.public-design .blog-page-header h1 { font-size: 36px; }
    body.public-design .blog-page-header p { font-size: 15px; }
    body.public-design .blog-category-filters { gap: 6px 20px; margin-bottom: 24px; }
    body.public-design .blog-filter-btn { font-size: 13px; padding: 10px 0; }
    body.public-design .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    body.public-design .blog-featured-content { padding: 0; }
    body.public-design .blog-featured-content h2 { font-size: 24px; }
    body.public-design.article-page .article-title { font-size: 30px; }
    body.public-design.article-page .article-content { font-size: 16px; }
    body.public-design :is(.login-main, .register-main) { padding: 24px 16px 40px !important; }
    body.public-design :is(.login-form-header, .register-form-header) h2 { font-size: 26px !important; }
    body.public-design :is(.login-social-btn, .register-social-btn) { padding: 10px 8px; }
    body.public-design .register-form-row { grid-template-columns: minmax(0, 1fr); }
    body.public-design .final-cta h2 { font-size: 28px; }
    body.public-design .contact-page-header { padding: 32px 0 12px !important; }
    body.public-design .contact-page-header h1 { font-size: 30px !important; }
    body.public-design .contact-container { padding-left: 20px !important; padding-right: 20px !important; }
    body.public-design .contact-form-card { padding: 24px !important; }
    body.public-design .contact-methods { grid-template-columns: minmax(0, 1fr); gap: 0; }
    body.public-design .contact-form-row { grid-template-columns: minmax(0, 1fr) !important; }
    body.public-design :is(.about-container, .policy-container, .cookie-container) { padding-left: 20px; padding-right: 20px; }
    body.public-design :is(.about-page-header, .policy-page-header, .cookie-page-header) { padding: 32px 0 24px !important; }
    body.public-design :is(.about-page-header, .policy-page-header, .cookie-page-header) h1 { font-size: 30px; }
    body.public-design .pricing-hero { padding: 24px 16px 20px !important; }
    body.public-design .pricing-hero h1 { font-size: 30px; }
    body.public-design .pricing-hero > p { font-size: 14px; }
    body.public-design .pricing-stat-item { padding: 0 10px; }
    body.public-design .pricing-stat-number { font-size: 22px; }
    body.public-design :is(.policy-section-title, .cookie-section-title) { font-size: 23px; }
    body.public-design .policy-tabs { gap: 20px; }
    body.public-design .policy-tab { font-size: 13px; }
    body.public-design .import-premium-card { padding: 20px; }
    body.public-design.article-page .article-container { padding: 0 20px; }
    body.public-design.article-page .article-title { font-size: 30px; }
    body.public-design.article-page .article-excerpt { font-size: 16px; }
    body.public-design.article-page .article-content h2 { font-size: 24px; }
    body.public-design.article-page .article-newsletter { padding: 24px 18px; }
    body.public-design :is(.login-left-side, .register-left) { padding: 24px !important; }
    body.public-design :is(.login-right-side, .register-right) { padding: 28px 24px !important; }
    body.public-design :is(.login-brand-content, .register-brand-content) h1 { font-size: 23px !important; }
    body.public-design :is(.login-brand-content, .register-brand-content) > p { font-size: 14px !important; margin-top: 8px; }
    body.public-design :is(.login-stat-number, .register-stat-number) { font-size: 21px !important; }
    body.public-design :is(.login-stat-label, .register-stat-label) { font-size: 11px !important; }
    body.public-design :is(.login-tip, .register-tip) { padding: 18px 0 0; }
    body.public-design :is(.login-tip-icon, .register-tip-icon) { flex-basis: 26px; width: 26px; height: 26px; }
    body.public-design :is(.login-tip-content, .register-tip-content) p { font-size: 12px; }
}
@media (max-width: 540px) {
    body.public-design :is(.blog-newsletter-input-group, .article-newsletter-group) { grid-template-columns: minmax(0, 1fr); }
    body.public-design :is(.blog-newsletter-btn, .article-newsletter-btn) { width: 100%; }
    body.public-design :is(.login-main, .register-main) { padding-left: 8px !important; padding-right: 8px !important; }
    body.public-design :is(.login-right-side, .register-right) { padding-left: 18px !important; padding-right: 18px !important; }
    body.public-design .contact-container { padding-left: 12px !important; padding-right: 12px !important; }
    body.public-design .contact-form-card { padding: 24px 18px !important; }
    body.public-design .import-premium-grid { grid-template-columns: minmax(0, 1fr); }
    body.public-design .import-premium-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 18px; }
    body.public-design .import-premium-stage { height: 40px; }
    body.public-design .import-premium-body { padding: 0; }
    body.public-design .import-premium-body p { margin-bottom: 16px; }
    body.public-design .import-premium-logo { width: 36px; height: 36px; font-size: 28px; }
}
@media (max-width: 360px) {
    body.public-design :is(.login-main, .register-main) { padding-left: 0 !important; padding-right: 0 !important; }
    body.public-design :is(.login-right-side, .register-right) { padding-left: 7px !important; padding-right: 7px !important; }
    body.public-design .hero-content h1 .main-title { font-size: 32px !important; }
    body.public-design .hero-stats .stat-item { padding: 0 10px; }
    body.public-design .hero-stats .stat-number { font-size: 19px; }
    body.public-design .contact-container { padding-left: 0 !important; padding-right: 0 !important; }
    body.public-design .contact-page-header h1, body.public-design .contact-info-card { padding-left: 12px !important; padding-right: 12px !important; }
    body.public-design .contact-form-card { padding-left: 7px !important; padding-right: 7px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.public-design *, .public-design *::before, .public-design *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
