/**
 * Site theme — shared visual system (aligned with homepage).
 * Lightweight CSS only; no JS dependencies.
 */
:root {
    /* Excel-professional green glass */
    --hp-ink: #0a1f0a;
    --hp-green: #14a800;
    --hp-leaf: #108a00;
    --hp-mint: #e8f5e8;
    --hp-fog: #f4f8f4;
    --hp-line: rgba(20, 168, 0, 0.14);
    --hp-gold: #9a7b1a;
    --hp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hp-radius: 14px;
    --hp-radius-lg: 20px;
    --hp-radius-pill: 999px;
    --hp-shadow: 0 2px 10px rgba(10, 31, 10, 0.05);
    --hp-shadow-hover: 0 14px 36px rgba(20, 168, 0, 0.12);
    --hp-glass: rgba(255, 255, 255, 0.55);
    --hp-glass-border: rgba(255, 255, 255, 0.65);
    --hp-shine: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.08) 42%, rgba(20,168,0,0.12) 100%);
    --bg-body: linear-gradient(180deg, #f7fbf7 0%, #eef6ee 48%, #fafbfa 100%);
    --bg-primary: #f4f8f4;
    --bg-secondary: rgba(255, 255, 255, 0.72);
    --bg-card: rgba(255, 255, 255, 0.78);
    --text-primary: #0a1f0a;
    --text-secondary: #4d5c4d;
    --text-muted: #6b7a6b;
    --border-color: rgba(20, 168, 0, 0.14);
    --shadow-color: rgba(10, 31, 10, 0.06);
    --green-primary: #14a800;
    --green-light: #108a00;
    --green-accent: #14a800;
    --soft-green: #e8f5e8;
    --link-color: #0a1f0a;
    --link-hover: #14a800;
    --section-space: clamp(56px, 8vw, 96px);
}

/* Full-page dark theme surfaces */
[data-bs-theme="dark"] {
    --hp-ink: #e8f0eb;
    --hp-green: #14a800;
    --hp-leaf: #108a00;
    --hp-mint: #1a2f2a;
    --hp-fog: #111827;
    --hp-line: rgba(255, 255, 255, 0.1);
    --hp-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    --hp-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.45);
    --bg-body: #0f172a;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --green-primary: #14a800;
    --green-light: #108a00;
    --green-accent: #14a800;
    --soft-green: #1a2f2a;
    --link-color: #e2e8f0;
    --link-hover: #14a800;
}

html {
    background-color: var(--bg-primary);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f4f8f4;
    background-image:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(20, 168, 0, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 0%, rgba(16, 138, 0, 0.08), transparent 50%),
        linear-gradient(180deg, #f7fbf7 0%, #eef6ee 45%, #fafbfa 100%);
    background-attachment: fixed;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, .site-display {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.03em;
    font-weight: 700;
    line-height: 1.15;
    color: var(--hp-ink);
}

/* Page shell */
.site-page {
    padding: var(--section-space) 0;
    min-height: 55vh;
}

.site-page .container,
.site-container {
    max-width: 1180px;
}

.site-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--hp-radius-lg);
    padding: clamp(36px, 5.5vw, 56px);
    margin-bottom: 32px;
    color: #fff;
    background: linear-gradient(135deg, #062406 0%, #0b3d0b 55%, #0e7a00 100%);
    border: 1px solid rgba(11, 61, 11, 0.35);
    box-shadow: 0 10px 28px rgba(10, 31, 10, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 38%);
    pointer-events: none;
    opacity: 1;
}

.site-hero > * {
    position: relative;
    z-index: 1;
}

/* Banner titles: always white — ignore day/night theme */
.site-hero h1,
.site-hero h2,
.site-hero .site-hero-title,
.welcome-banner h1,
.tools-hero h1,
.plans-hero h2,
.hp-brand,
.hp-brand span,
.hp-saved__title,
.hp-saved__value,
.hp-finale__panel h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.site-hero h1,
.site-hero .site-hero-title {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.site-hero p {
    margin: 0;
    max-width: 52ch;
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 400;
}

.site-hero .site-hero-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92) !important;
}

.site-hero .site-hero-meta span {
    color: rgba(255,255,255,0.92) !important;
}

.site-hero--with-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 24px;
}

.site-hero--with-action .site-hero__copy {
    flex: 1;
    min-width: 220px;
}

.site-hero--with-action.row,
.site-hero.site-hero--with-action .row,
.plans-hero.site-hero--with-action .row,
.tools-hero.site-hero--with-action .row {
    align-items: center !important;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.site-hero--with-action .col-md-4,
.plans-hero .col-md-4.text-md-end,
.tools-hero .col-md-4.text-md-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .site-hero--with-action .col-md-4,
    .plans-hero .col-md-4.text-md-end,
    .tools-hero .col-md-4.text-md-end {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
}

/* Hero light buttons + Back to Home — default white label (shared block at EOF wins) */
.site-hero .site-btn-light,
.site-hero a.site-btn-light {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
    background: rgba(255,255,255,0.16) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1.5px solid rgba(255,255,255,0.35) !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.site-hero .site-btn-light i,
.site-hero a.site-btn-light i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.site-hero .site-btn-light:hover,
.site-hero .site-btn-light:focus,
.site-hero a.site-btn-light:hover,
.site-hero a.site-btn-light:focus {
    background: #ffffff !important;
    color: #14a800 !important;
    -webkit-text-fill-color: #14a800 !important;
    border-color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
    text-decoration: none !important;
}

.site-hero .site-btn-light:hover i,
.site-hero .site-btn-light:focus i,
.site-hero a.site-btn-light:hover i,
.site-hero a.site-btn-light:focus i {
    color: #0b3d0b !important;
    -webkit-text-fill-color: #0b3d0b !important;
}

/* Ensure decorative hero layers never block Back to Home */
.tools-hero::before,
.tools-hero::after,
.plans-hero::before,
.plans-hero::after,
.site-hero::before,
.site-hero::after {
    pointer-events: none !important;
}
.tools-hero .row,
.plans-hero .row {
    position: relative;
    z-index: 2;
}

/* Cards / panels */
.site-card,
.site-panel {
    background: var(--bg-card);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow);
}

.site-card {
    transition: transform 0.3s var(--hp-ease), border-color 0.2s ease, box-shadow 0.3s var(--hp-ease);
}

.site-card:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 168, 0, 0.22);
    box-shadow: var(--hp-shadow-hover);
}

.site-panel {
    padding: clamp(22px, 4vw, 40px);
}

/* Buttons */
.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.site-btn:hover { transform: translateY(-1px); text-decoration: none; }

.site-btn-primary {
    background: var(--hp-green);
    color: #fff !important;
    border-color: var(--hp-green);
}

.site-btn-primary:hover {
    background: var(--hp-leaf);
    color: #fff !important;
}

.site-btn-ghost {
    background: var(--bg-card);
    color: var(--hp-green) !important;
    border-color: rgba(20, 168, 0, 0.25);
}

.site-btn-ghost:hover {
    background: var(--hp-mint);
    color: var(--hp-ink) !important;
}

.site-btn-light {
    background: #fff;
    color: var(--hp-green) !important;
    border-color: #fff;
}

/* Search / filters */
.site-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 24px;
    background: var(--bg-card);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow);
}

.site-toolbar .search-wrap {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.site-toolbar .search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.site-toolbar input[type="search"],
.site-toolbar input[type="text"] {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1.5px solid var(--hp-line);
    border-radius: 10px;
    background: var(--hp-fog);
    color: var(--hp-ink);
    font-size: 0.92rem;
}

.site-toolbar input:focus {
    outline: none;
    border-color: var(--hp-green);
    background: var(--bg-card);
}

/* Content prose (CMS / blog body) */
.site-prose {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.site-prose h1,
.site-prose h2,
.site-prose h3,
.site-prose h4 {
    margin-top: 1.35em;
    margin-bottom: 0.5em;
    color: var(--hp-ink) !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-prose p { margin-bottom: 1em; }

/* Content links: black (light) / light (dark), green on hover */
.site-prose a:not(.btn-back):not(.site-btn),
.page-content a:not(.btn-back):not(.site-btn),
.blog-content a:not(.btn-back):not(.site-btn),
.page-viewer-container .page-content a:not(.btn-back):not(.site-btn),
.blog-viewer-container .blog-content a:not(.btn-back):not(.site-btn),
.site-article .site-prose a:not(.btn-back):not(.site-btn),
.site-article .page-content a:not(.btn-back):not(.site-btn),
.site-article .blog-content a:not(.btn-back):not(.site-btn) {
    color: var(--link-color) !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-prose a:not(.btn-back):not(.site-btn):hover,
.page-content a:not(.btn-back):not(.site-btn):hover,
.blog-content a:not(.btn-back):not(.site-btn):hover,
.page-viewer-container .page-content a:not(.btn-back):not(.site-btn):hover,
.blog-viewer-container .blog-content a:not(.btn-back):not(.site-btn):hover,
.site-article .site-prose a:not(.btn-back):not(.site-btn):hover,
.site-article .page-content a:not(.btn-back):not(.site-btn):hover,
.site-article .blog-content a:not(.btn-back):not(.site-btn):hover {
    color: var(--link-hover) !important;
    text-decoration: none;
}

.site-prose a:not(.btn-back):not(.site-btn):visited,
.page-content a:not(.btn-back):not(.site-btn):visited,
.blog-content a:not(.btn-back):not(.site-btn):visited {
    color: var(--link-color) !important;
}

.site-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.site-prose ul,
.site-prose ol {
    padding-left: 1.25rem;
    margin-bottom: 1em;
}

.site-prose blockquote {
    margin: 1.2em 0;
    padding: 12px 16px;
    border-left: 3px solid var(--hp-leaf);
    background: var(--hp-mint);
    border-radius: 0 10px 10px 0;
    color: var(--text-secondary);
}

/* Code / pre blocks — readable in day & night */
.site-prose pre,
.site-prose code,
.page-content pre,
.page-content code,
.blog-content pre,
.blog-content code,
.page-viewer-container .page-content pre,
.page-viewer-container .page-content code,
.blog-viewer-container .blog-content pre,
.blog-viewer-container .blog-content code,
.site-article pre,
.site-article code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.site-prose code,
.page-content code,
.blog-content code,
.page-viewer-container .page-content code,
.blog-viewer-container .blog-content code,
.site-article code {
    background: var(--hp-fog);
    color: var(--hp-green);
    padding: 0.15em 0.45em;
    border-radius: 6px;
    font-size: 0.92em;
    border: 1px solid var(--hp-line);
}

.site-prose pre,
.page-content pre,
.blog-content pre,
.page-viewer-container .page-content pre,
.blog-viewer-container .blog-content pre,
.site-article pre {
    display: block;
    margin: 1.1em 0;
    padding: 14px 16px;
    overflow-x: auto;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--hp-line);
    background: #f1f5f9;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 0.9rem;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
}

.site-prose pre code,
.page-content pre code,
.blog-content pre code,
.page-viewer-container .page-content pre code,
.blog-viewer-container .blog-content pre code,
.site-article pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    font-size: inherit;
}

[data-bs-theme="dark"] .site-prose pre,
[data-bs-theme="dark"] .page-content pre,
[data-bs-theme="dark"] .blog-content pre,
[data-bs-theme="dark"] .page-viewer-container .page-content pre,
[data-bs-theme="dark"] .blog-viewer-container .blog-content pre,
[data-bs-theme="dark"] .site-article pre {
    background: #0b1220 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .site-prose pre code,
[data-bs-theme="dark"] .page-content pre code,
[data-bs-theme="dark"] .blog-content pre code,
[data-bs-theme="dark"] .page-viewer-container .page-content pre code,
[data-bs-theme="dark"] .blog-viewer-container .blog-content pre code,
[data-bs-theme="dark"] .site-article pre code,
[data-bs-theme="dark"] .site-prose pre *,
[data-bs-theme="dark"] .page-content pre *,
[data-bs-theme="dark"] .blog-content pre *,
[data-bs-theme="dark"] .site-article pre * {
    color: #e2e8f0 !important;
    -webkit-text-fill-color: #e2e8f0 !important;
    background: transparent !important;
}

[data-bs-theme="dark"] .site-prose code,
[data-bs-theme="dark"] .page-content code,
[data-bs-theme="dark"] .blog-content code,
[data-bs-theme="dark"] .page-viewer-container .page-content code,
[data-bs-theme="dark"] .blog-viewer-container .blog-content code,
[data-bs-theme="dark"] .site-article code {
    background: #111827 !important;
    color: #86efac !important;
    -webkit-text-fill-color: #86efac !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-bs-theme="dark"] .site-prose pre code,
[data-bs-theme="dark"] .page-content pre code,
[data-bs-theme="dark"] .blog-content pre code,
[data-bs-theme="dark"] .site-article pre code {
    color: #e2e8f0 !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

/* Blog listing cards */
.site-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.site-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(10, 31, 10, 0.05);
    transition: transform 0.25s var(--hp-ease), border-color 0.2s ease, box-shadow 0.25s var(--hp-ease);
}

.site-blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 168, 0, 0.28);
    box-shadow: 0 14px 28px rgba(20, 168, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.site-blog-card__media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0b3d0b, #14a800);
    overflow: hidden;
}

.site-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 16px;
    flex: 1;
}

.site-blog-card__title {
    margin: 0;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--hp-ink) !important;
}

.site-blog-card__excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    flex: 1;
}

.site-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.site-blog-card__go {
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hp-green);
}

/* Blog / page article layout */
.site-article {
    background: var(--bg-card);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-lg);
    box-shadow: var(--hp-shadow);
    padding: clamp(22px, 4vw, 40px);
}

/* Article / page titles follow theme (banner titles stay white separately) */
.site-article__title,
.page-viewer-container .page-header h1,
.blog-viewer-container .blog-header h1,
.page-card .page-header h1,
.blog-card .blog-header h1 {
    margin: 0 0 12px;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 600 !important;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: var(--hp-ink) !important;
    -webkit-text-fill-color: var(--hp-ink) !important;
}

.site-article__meta,
.blog-viewer-container .blog-meta,
.blog-viewer-container .blog-header .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hp-line);
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--text-muted) !important;
}

.site-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow);
    padding: 18px;
    margin-bottom: 16px;
}

.site-sidebar-card h5 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hp-green);
}

.site-sidebar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-sidebar-card li {
    margin-bottom: 8px;
}

.site-sidebar-card a {
    color: var(--link-color) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.site-sidebar-card a:hover {
    color: var(--link-hover) !important;
}

/* Pagination */
.site-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

.site-pagination a,
.site-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--hp-line);
    background: var(--bg-card);
    color: var(--hp-ink);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.site-pagination a:hover {
    border-color: var(--hp-green);
    color: var(--hp-green);
}

.site-pagination .is-active {
    background: var(--hp-green);
    border-color: var(--hp-green);
    color: #fff;
}

.site-empty {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed var(--hp-line);
    border-radius: var(--hp-radius);
    background: rgba(255,255,255,0.7);
    color: var(--text-secondary);
}

/* Tools page hero alignment */
.tools-hero.site-aligned,
.tools-hero {
    background: linear-gradient(135deg, #062406 0%, #0b3d0b 55%, #0e7a00 100%) !important;
    border: 1px solid rgba(11, 61, 11, 0.35);
    box-shadow: 0 10px 28px rgba(10, 31, 10, 0.16);
}

/* ===== Bridge: CMS pages & blog posts (reuse existing markup) ===== */
.page-viewer-wrapper,
.blog-viewer-wrapper {
    background: transparent !important;
    padding: 36px 0 64px !important;
    min-height: 55vh;
}

.page-viewer-container,
.blog-viewer-container {
    max-width: 1140px !important;
}

.page-viewer-container .page-card,
.blog-viewer-container .blog-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--hp-line) !important;
    border-radius: var(--hp-radius-lg) !important;
    box-shadow: var(--hp-shadow) !important;
    padding: clamp(22px, 4vw, 40px) !important;
}

.page-viewer-container .page-content,
.blog-viewer-container .blog-content {
    font-size: 1.02rem !important;
    line-height: 1.75 !important;
    color: var(--text-secondary) !important;
}

.page-viewer-container .page-content a:not(.btn-back):not(.site-btn),
.blog-viewer-container .blog-content a:not(.btn-back):not(.site-btn) {
    color: var(--link-color) !important;
    font-weight: 500;
}

.page-viewer-container .page-content a:not(.btn-back):not(.site-btn):hover,
.blog-viewer-container .blog-content a:not(.btn-back):not(.site-btn):hover {
    color: var(--link-hover) !important;
}

.page-viewer-container .page-content img,
.blog-viewer-container .blog-content img {
    border-radius: 12px;
}

.page-viewer-container .page-content .btn-back,
.blog-viewer-container .blog-footer .btn-back {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    background: var(--hp-green) !important;
    color: #fff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.page-viewer-container .page-content .btn-back:hover,
.blog-viewer-container .blog-footer .btn-back:hover {
    background: var(--hp-leaf) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Banner titles stay white; page surfaces follow day/night theme */
[data-bs-theme="dark"] .site-hero h1,
[data-bs-theme="dark"] .site-hero .site-hero-title,
[data-bs-theme="dark"] .welcome-banner h1,
[data-bs-theme="dark"] .tools-hero h1,
[data-bs-theme="dark"] .plans-hero h2,
[data-bs-theme="dark"] .hp-brand,
[data-bs-theme="dark"] .hp-brand span,
[data-bs-theme="dark"] .hp-saved__title,
[data-bs-theme="dark"] .hp-saved__value,
[data-bs-theme="dark"] .hp-finale__panel h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

[data-bs-theme="dark"] .home-page,
[data-bs-theme="dark"] .site-page,
[data-bs-theme="dark"] .page-viewer-wrapper,
[data-bs-theme="dark"] .blog-viewer-wrapper,
[data-bs-theme="dark"] .plans-container,
[data-bs-theme="dark"] .tools-page {
    color: var(--text-primary);
}

[data-bs-theme="dark"] .site-empty {
    background: rgba(30, 41, 59, 0.7);
    color: var(--text-secondary);
}

.blog-viewer-container .blog-sidebar .sidebar-widget,
.blog-viewer-container .sidebar-widget {
    background: var(--bg-card) !important;
    border: 1px solid var(--hp-line) !important;
    border-radius: var(--hp-radius) !important;
    box-shadow: var(--hp-shadow) !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
}

.blog-viewer-container .sidebar-widget h4 {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--hp-green) !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.blog-viewer-container .sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-viewer-container .sidebar-widget li {
    margin-bottom: 6px;
}

.blog-viewer-container .sidebar-widget a:not(.tag) {
    color: var(--link-color) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.86rem;
    line-height: 1.35;
}

.blog-viewer-container .sidebar-widget a:not(.tag):hover {
    color: var(--link-hover) !important;
}

.blog-viewer-container .sidebar-widget a:not(.tag) i {
    font-size: 0.65rem;
    margin-right: 4px;
    opacity: 0.55;
}

.blog-viewer-container .blog-meta,
.blog-viewer-container .blog-header .blog-meta {
    color: #5d7366 !important;
    border-bottom: 1px solid var(--hp-line);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.blog-viewer-container .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.blog-viewer-container .tag-cloud .tag {
    background: transparent !important;
    color: var(--link-color) !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 500;
    font-size: 0.86rem;
    text-decoration: none !important;
    box-shadow: none !important;
}

.blog-viewer-container .tag-cloud .tag:hover {
    color: var(--link-hover) !important;
    text-decoration: none !important;
    background: transparent !important;
}

.welcome-banner h1,
.tools-hero h1,
.plans-hero h2,
.hp-saved__title,
.hp-saved__value,
.hp-finale__panel h2 {
    font-weight: 600 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.plans-hero h2,
.hp-saved__title,
.hp-finale__panel h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.hp-saved__sub,
.hp-finale__panel p,
.plans-hero p {
    color: rgba(255,255,255,0.82) !important;
}

.hp-saved__label {
    color: rgba(255,255,255,0.72) !important;
}

[data-bs-theme="dark"] .plans-hero h2,
[data-bs-theme="dark"] .hp-saved__title,
[data-bs-theme="dark"] .hp-saved__value,
[data-bs-theme="dark"] .hp-finale__panel h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Homepage surfaces */
[data-bs-theme="dark"] .home-page {
    --hp-ink: #e8f0eb;
    --hp-mint: #1a2f2a;
    --hp-fog: #111827;
    --hp-line: rgba(255, 255, 255, 0.1);
    color: var(--hp-ink);
    background: var(--bg-body);
}

[data-bs-theme="dark"] .home-page .hp-value__item,
[data-bs-theme="dark"] .home-page .hp-counts__row,
[data-bs-theme="dark"] .home-page .hp-tool,
[data-bs-theme="dark"] .home-page .hp-pop,
[data-bs-theme="dark"] .home-page .hp-filter {
    background: var(--bg-card) !important;
    border-color: var(--hp-line) !important;
    color: var(--hp-ink);
}

[data-bs-theme="dark"] .home-page .hp-section__head h2,
[data-bs-theme="dark"] .home-page .hp-value__item h3,
[data-bs-theme="dark"] .home-page .hp-tool__name,
[data-bs-theme="dark"] .home-page .hp-pop__name,
[data-bs-theme="dark"] .home-page .hp-count__num {
    color: var(--hp-ink) !important;
}

[data-bs-theme="dark"] .home-page .hp-section__head p,
[data-bs-theme="dark"] .home-page .hp-value__item p,
[data-bs-theme="dark"] .home-page .hp-tool__desc,
[data-bs-theme="dark"] .home-page .hp-pop__uses,
[data-bs-theme="dark"] .home-page .hp-count__label {
    color: var(--text-secondary) !important;
}

[data-bs-theme="dark"] .home-page .hp-filter.is-active {
    background: var(--hp-green) !important;
    color: #fff !important;
}

/* Pricing / tools cards */
[data-bs-theme="dark"] .plan-card,
[data-bs-theme="dark"] .tool-card,
[data-bs-theme="dark"] .pricing-note {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary);
}

[data-bs-theme="dark"] .plan-card.pro-plan {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, var(--bg-card) 100%) !important;
}
[data-bs-theme="dark"] .plan-card.premium-plan {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.12) 0%, var(--bg-card) 100%) !important;
}
[data-bs-theme="dark"] .plan-card.enterprise-plan {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.12) 0%, var(--bg-card) 100%) !important;
}

[data-bs-theme="dark"] .plans-header h3,
[data-bs-theme="dark"] .plan-name,
[data-bs-theme="dark"] .plan-price {
    color: var(--text-primary) !important;
}

[data-bs-theme="dark"] .plans-header p,
[data-bs-theme="dark"] .plan-desc,
[data-bs-theme="dark"] .pricing-note,
[data-bs-theme="dark"] .plan-price span {
    color: var(--text-muted) !important;
}

[data-bs-theme="dark"] .plan-features li {
    color: var(--text-secondary) !important;
    border-bottom-color: var(--border-color) !important;
}

[data-bs-theme="dark"] .tool-card .card-title,
[data-bs-theme="dark"] .category-header h4 {
    color: var(--text-primary) !important;
}

[data-bs-theme="dark"] .tool-card .card-text,
[data-bs-theme="dark"] .category-header .category-count {
    color: var(--text-muted) !important;
}

[data-bs-theme="dark"] .search-filter-wrapper {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color);
}

[data-bs-theme="dark"] .search-filter-wrapper input,
[data-bs-theme="dark"] .search-filter-wrapper select {
    background: var(--bg-primary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

/* Soft polish for common content containers */
.dashboard-container,
.container.py-4 {
    position: relative;
}

/* Fixed Go to Top button */
.scroll-top-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    pointer-events: none;
}

.scroll-top-wrapper .scroll-top-btn {
    pointer-events: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #14a800;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(20, 168, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.scroll-top-wrapper .scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-wrapper .scroll-top-btn:hover {
    background: #108a00;
    color: #fff !important;
    transform: translateY(-2px) scale(1.04);
}

/* Contact / CMS pages — override hardcoded light inline styles in night mode */
.contact-extra {
    border-top: 1px solid var(--hp-line);
}

.contact-extra__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--hp-ink);
}

.contact-map-embed {
    border-radius: 12px;
    overflow: hidden;
}

[data-bs-theme="dark"] .site-prose h1,
[data-bs-theme="dark"] .site-prose h2,
[data-bs-theme="dark"] .site-prose h3,
[data-bs-theme="dark"] .site-prose h4,
[data-bs-theme="dark"] .page-content h1,
[data-bs-theme="dark"] .page-content h2,
[data-bs-theme="dark"] .page-content h3,
[data-bs-theme="dark"] .page-content h4,
[data-bs-theme="dark"] .blog-content h1,
[data-bs-theme="dark"] .blog-content h2,
[data-bs-theme="dark"] .blog-content h3,
[data-bs-theme="dark"] .blog-content h4 {
    color: #f1f5f9 !important;
    -webkit-text-fill-color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .site-prose p,
[data-bs-theme="dark"] .page-content p,
[data-bs-theme="dark"] .blog-content p {
    color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .site-prose [style*="background: #f8fafc"],
[data-bs-theme="dark"] .site-prose [style*="background:#f8fafc"],
[data-bs-theme="dark"] .site-prose [style*="background: #f1f5f9"],
[data-bs-theme="dark"] .site-prose [style*="background:#f1f5f9"],
[data-bs-theme="dark"] .site-prose [style*="background: #fff"],
[data-bs-theme="dark"] .site-prose [style*="background:#fff"],
[data-bs-theme="dark"] .site-prose [style*="background: white"],
[data-bs-theme="dark"] .site-prose [style*="background:white"],
[data-bs-theme="dark"] .page-content [style*="background: #f8fafc"],
[data-bs-theme="dark"] .page-content [style*="background:#f8fafc"],
[data-bs-theme="dark"] .page-content [style*="background: #f1f5f9"],
[data-bs-theme="dark"] .page-content [style*="background:#f1f5f9"],
[data-bs-theme="dark"] .page-content [style*="background: #fff"],
[data-bs-theme="dark"] .page-content [style*="background:#fff"],
[data-bs-theme="dark"] .page-content [style*="background: white"],
[data-bs-theme="dark"] .page-content [style*="background:white"] {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

[data-bs-theme="dark"] .site-prose [style*="border"],
[data-bs-theme="dark"] .page-content [style*="border"],
[data-bs-theme="dark"] .site-prose [style*="border-top"],
[data-bs-theme="dark"] .page-content [style*="border-top"] {
    border-color: rgba(255, 255, 255, 0.14) !important;
}

[data-bs-theme="dark"] .site-prose [style*="color: #0f172a"],
[data-bs-theme="dark"] .site-prose [style*="color:#0f172a"],
[data-bs-theme="dark"] .site-prose [style*="color: #1e293b"],
[data-bs-theme="dark"] .site-prose [style*="color:#1e293b"],
[data-bs-theme="dark"] .site-prose [style*="color: #334155"],
[data-bs-theme="dark"] .site-prose [style*="color:#334155"],
[data-bs-theme="dark"] .site-prose [style*="color: #475569"],
[data-bs-theme="dark"] .site-prose [style*="color:#475569"],
[data-bs-theme="dark"] .site-prose [style*="color: #64748b"],
[data-bs-theme="dark"] .site-prose [style*="color:#64748b"],
[data-bs-theme="dark"] .site-prose [style*="color: #94a3b8"],
[data-bs-theme="dark"] .site-prose [style*="color:#94a3b8"],
[data-bs-theme="dark"] .page-content [style*="color: #0f172a"],
[data-bs-theme="dark"] .page-content [style*="color:#0f172a"],
[data-bs-theme="dark"] .page-content [style*="color: #1e293b"],
[data-bs-theme="dark"] .page-content [style*="color:#1e293b"],
[data-bs-theme="dark"] .page-content [style*="color: #334155"],
[data-bs-theme="dark"] .page-content [style*="color:#334155"],
[data-bs-theme="dark"] .page-content [style*="color: #475569"],
[data-bs-theme="dark"] .page-content [style*="color:#475569"],
[data-bs-theme="dark"] .page-content [style*="color: #64748b"],
[data-bs-theme="dark"] .page-content [style*="color:#64748b"],
[data-bs-theme="dark"] .page-content [style*="color: #94a3b8"],
[data-bs-theme="dark"] .page-content [style*="color:#94a3b8"] {
    color: #e2e8f0 !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .site-prose a:not(.btn-back):not(.site-btn),
[data-bs-theme="dark"] .page-content a:not(.btn-back):not(.site-btn),
[data-bs-theme="dark"] .blog-content a:not(.btn-back):not(.site-btn) {
    color: #86efac !important;
    -webkit-text-fill-color: #86efac !important;
    text-decoration-color: rgba(134, 239, 172, 0.45);
}

[data-bs-theme="dark"] .site-prose a:not(.btn-back):not(.site-btn):hover,
[data-bs-theme="dark"] .page-content a:not(.btn-back):not(.site-btn):hover,
[data-bs-theme="dark"] .blog-content a:not(.btn-back):not(.site-btn):hover {
    color: #bbf7d0 !important;
    -webkit-text-fill-color: #bbf7d0 !important;
}

[data-bs-theme="dark"] .site-prose [style*="color: #14a800"],
[data-bs-theme="dark"] .site-prose [style*="color:#14a800"],
[data-bs-theme="dark"] .page-content [style*="color: #14a800"],
[data-bs-theme="dark"] .page-content [style*="color:#14a800"] {
    color: #86efac !important;
    -webkit-text-fill-color: #86efac !important;
}

[data-bs-theme="dark"] .contact-extra__title {
    color: #f1f5f9 !important;
}

@media (max-width: 640px) {
    .scroll-top-wrapper {
        bottom: 18px;
        right: 16px;
    }
    .scroll-top-wrapper .scroll-top-btn {
        width: 42px;
        height: 42px;
        font-size: 0.92rem;
    }
}

@media (max-width: 992px) {
    .site-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-page { padding: 24px 0 48px; }
    .site-blog-grid { grid-template-columns: 1fr; }
    .site-toolbar { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-card,
    .site-blog-card,
    .site-btn {
        transition: none;
    }
}

/* Auth / account cards — day & night */
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .container .card {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-bs-theme="dark"] .card h2,
[data-bs-theme="dark"] .card .fw-bold,
[data-bs-theme="dark"] .card .form-label {
    color: var(--text-primary) !important;
}

[data-bs-theme="dark"] .card .form-control {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-bs-theme="dark"] .card .text-muted {
    color: var(--text-muted) !important;
}

/* ========== Tool pages — typography & hero ========== */
.tool-page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto 1.75rem;
    max-width: 720px;
    padding: 0 8px;
    width: 100%;
}
.tool-page-hero .tool-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--link-color, #111);
    text-decoration: none;
    transition: color 0.2s ease;
}
.tool-page-hero .tool-back-link:hover {
    color: var(--link-hover, #14a800);
}
.tool-page-hero .tool-page-icon {
    margin-bottom: 10px;
}
.tool-page-hero .tool-page-icon i {
    font-size: 2.5rem;
    line-height: 1;
}
.tool-page-hero .tool-page-title,
.tool-page-hero h2.tool-page-title {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--hp-ink, var(--text-primary));
    margin: 0 0 0.55rem;
    line-height: 1.25;
}
.tool-page-hero .tool-page-lead {
    /* Align with homepage paragraph / supporting copy */
    margin: 0 auto;
    max-width: 52ch;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    font-weight: 400;
    color: var(--text-secondary, #4a6354);
}
.tool-page-hero .tool-page-long {
    margin: 0.75rem auto 0;
    max-width: 58ch;
    font-size: clamp(0.98rem, 1.4vw, 1.05rem);
    line-height: 1.6;
    font-weight: 400;
    color: var(--text-muted, #6b8174);
}
.tool-content-prose {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.65;
    color: var(--text-secondary, #4a6354);
}
.tool-content-prose h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.1em 0 0.45em; color: var(--hp-ink); }
.tool-content-prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 1.05em 0 0.4em; color: var(--hp-ink); }
.tool-content-prose h3 { font-size: 1.25rem; margin: 1em 0 0.35em; color: var(--hp-ink); }
.tool-content-prose h4 { font-size: 1.1rem; margin: 0.9em 0 0.3em; color: var(--hp-ink); }
.tool-content-prose h5 { font-size: 1.02rem; margin: 0.85em 0 0.28em; color: var(--hp-ink); }
.tool-content-prose h6 { font-size: 0.95rem; margin: 0.8em 0 0.25em; color: var(--hp-ink); text-transform: uppercase; letter-spacing: 0.04em; }
.tool-content-prose p { margin: 0 0 1em; }

/* ========== Tool guide accordion (How to Use / Pro Tips / FAQs) ========== */
.tool-guide-accordion {
    margin: 2rem 0 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    width: 100%;
    max-width: 100%;
    text-align: left !important;
}
.tool-guide-accordion,
.tool-guide-accordion .tool-guide-acc,
.tool-guide-accordion .tool-guide-acc__summary,
.tool-guide-accordion .tool-guide-acc__title,
.tool-guide-accordion .tool-guide-acc__panel,
.tool-guide-accordion .tool-guide-step-text,
.tool-guide-accordion .tool-guide-bullets > li,
.tool-guide-accordion .tool-guide-faq-item,
.tool-guide-accordion .tool-guide-faq-item summary,
.tool-guide-accordion .tool-guide-faq-item summary > span,
.tool-guide-accordion .tool-guide-faq-a,
.tool-guide-accordion .tool-guide-faq-a p,
.tool-guide-accordion .tool-guide-rich,
.tool-guide-accordion .tool-guide-rich p,
.tool-guide-accordion .site-prose {
    text-align: left !important;
}
.tool-guide-acc {
    border: 1px solid var(--hp-line, rgba(0, 30, 0, 0.1));
    border-radius: var(--hp-radius-lg, 18px);
    background: linear-gradient(165deg, var(--hp-fog, #f7faf8) 0%, var(--bg-card, #fff) 70%);
    box-shadow: var(--hp-shadow, 0 8px 24px rgba(0, 30, 0, 0.06));
    overflow: hidden;
    width: 100%;
    transition: box-shadow 0.25s var(--hp-ease, ease), border-color 0.2s ease;
}
.tool-guide-acc[open] {
    border-color: color-mix(in srgb, var(--hp-green, #14a800) 28%, var(--hp-line, #dae5dd));
    box-shadow: var(--hp-shadow-hover, 0 12px 28px rgba(0, 30, 0, 0.1));
}
.tool-guide-acc__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 0.95rem 1.15rem;
    user-select: none;
    transition: background 0.2s ease;
    text-align: left !important;
}
.tool-guide-acc__summary::-webkit-details-marker {
    display: none;
}
.tool-guide-acc__summary:hover {
    background: rgba(20, 168, 0, 0.04);
}
.tool-guide-acc__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--hp-mint, #f2f7f2);
    color: var(--hp-green, #14a800);
    font-size: 1rem;
}
.tool-guide-acc--how .tool-guide-acc__icon {
    background: rgba(20, 168, 0, 0.12);
    color: var(--hp-green, #14a800);
}
.tool-guide-acc--tips .tool-guide-acc__icon {
    background: rgba(154, 123, 26, 0.14);
    color: var(--hp-gold, #9a7b1a);
}
.tool-guide-acc--faq .tool-guide-acc__icon {
    background: rgba(42, 107, 60, 0.14);
    color: var(--hp-leaf, #108a00);
}
.tool-guide-acc__title {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.02rem, 2vw, 1.2rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--hp-ink, var(--text-primary));
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left !important;
}
.tool-guide-acc__chevron {
    color: var(--text-muted, #6b8174);
    font-size: 0.8rem;
    transition: transform 0.25s var(--hp-ease, ease), color 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}
.tool-guide-acc[open] .tool-guide-acc__chevron {
    transform: rotate(180deg);
    color: var(--hp-green, #14a800);
}
.tool-guide-acc__panel {
    padding: 0 1.15rem 1.2rem 1.15rem;
    border-top: 1px solid var(--hp-line, rgba(0, 30, 0, 0.08));
    margin-top: 0;
    padding-top: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    line-height: 1.65;
    color: var(--text-secondary, #4a6354);
    text-align: left !important;
    animation: toolGuidePanelIn 0.28s var(--hp-ease, ease);
}
@keyframes toolGuidePanelIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.tool-guide-acc__panel > *:last-child {
    margin-bottom: 0;
}
.tool-guide-acc__panel p {
    margin: 0 0 0.85em;
}
.tool-guide-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    text-align: left !important;
}
.tool-guide-steps > li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.7rem;
    margin: 0;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: rgba(20, 168, 0, 0.05);
    text-align: left !important;
    width: 100%;
}
.tool-guide-step-num {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: var(--hp-green, #14a800);
    color: #fff;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.tool-guide-step-text {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--text-secondary, #4a6354);
    text-align: left !important;
}
.tool-guide-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    text-align: left !important;
}
.tool-guide-bullets > li {
    position: relative;
    margin: 0;
    padding: 0.55rem 0.75rem 0.55rem 2rem;
    border-radius: 10px;
    background: var(--hp-mint, #f2f7f2);
    color: var(--text-secondary, #4a6354);
    text-align: left !important;
    width: 100%;
}
.tool-guide-bullets > li::before {
    content: '';
    position: absolute;
    left: 0.85rem;
    top: 1rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--hp-leaf, #108a00);
}
.tool-guide-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.tool-guide-faq-item {
    border: 1px solid var(--hp-line, rgba(0, 30, 0, 0.1));
    border-radius: 12px;
    background: var(--bg-card, #fff);
    overflow: hidden;
}
.tool-guide-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--hp-ink, var(--text-primary));
    line-height: 1.4;
    text-align: left !important;
}
.tool-guide-faq-item summary > span:not(.tool-guide-faq-q-label) {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left !important;
}
.tool-guide-faq-item summary::-webkit-details-marker {
    display: none;
}
.tool-guide-faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    color: var(--text-muted, #6b8174);
    font-size: 0.72rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    padding-top: 0.15rem;
}
.tool-guide-faq-item[open] summary::after {
    transform: rotate(180deg);
}
.tool-guide-faq-q-label,
.tool-guide-faq-a-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.3rem;
    border-radius: 7px;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}
.tool-guide-faq-q-label {
    background: var(--hp-green, #14a800);
    color: #fff;
}
.tool-guide-faq-a-label {
    background: var(--hp-mint, #f2f7f2);
    color: var(--hp-green, #14a800);
    margin-top: 0.1rem;
}
.tool-guide-faq-a {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.65rem;
    text-align: left !important;
    padding: 0.7rem 0.85rem 0.85rem;
    border-top: 1px dashed var(--hp-line, rgba(0, 30, 0, 0.12));
}
.tool-guide-faq-a p {
    margin: 0;
    font-weight: 400;
    color: var(--text-secondary, #4a6354);
    font-size: 0.94rem;
    line-height: 1.6;
}
.tool-guide-rich ul,
.tool-guide-rich ol {
    padding-left: 1.2rem;
    margin: 0 0 0.85em;
}
.tool-guide-rich a {
    color: var(--link-color, #111);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tool-guide-rich a:hover {
    color: var(--link-hover, #14a800);
}

[data-bs-theme="dark"] .tool-guide-acc {
    background: linear-gradient(165deg, rgba(26, 47, 42, 0.5) 0%, var(--bg-card, #1e293b) 65%);
    border-color: var(--hp-line);
}
[data-bs-theme="dark"] .tool-guide-acc__summary:hover {
    background: rgba(255, 255, 255, 0.03);
}
[data-bs-theme="dark"] .tool-guide-acc__title,
[data-bs-theme="dark"] .tool-guide-faq-item summary {
    color: var(--text-primary, #f1f5f9);
}
[data-bs-theme="dark"] .tool-guide-acc__panel,
[data-bs-theme="dark"] .tool-guide-step-text,
[data-bs-theme="dark"] .tool-guide-bullets > li,
[data-bs-theme="dark"] .tool-guide-faq-a p {
    color: var(--text-secondary, #cbd5e1);
}
[data-bs-theme="dark"] .tool-guide-steps > li {
    background: rgba(255, 255, 255, 0.04);
}
[data-bs-theme="dark"] .tool-guide-bullets > li {
    background: rgba(42, 107, 60, 0.18);
}
[data-bs-theme="dark"] .tool-guide-faq-item {
    background: rgba(15, 23, 42, 0.55);
    border-color: var(--hp-line);
}
[data-bs-theme="dark"] .tool-guide-faq-a-label {
    background: rgba(42, 107, 60, 0.25);
    color: #86efac;
}
[data-bs-theme="dark"] .tool-guide-acc__icon {
    background: rgba(255, 255, 255, 0.06);
}
[data-bs-theme="dark"] .tool-guide-acc[open] .tool-guide-acc__chevron {
    color: #86efac;
}
.tool-content-prose a:not(.btn):not(.site-btn):not(.tool-back-link) {
    color: var(--link-color, #111);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tool-content-prose a:not(.btn):not(.site-btn):not(.tool-back-link):hover {
    color: var(--link-hover, #14a800);
}
[data-bs-theme="dark"] .tool-page-hero .tool-page-title,
[data-bs-theme="dark"] .tool-content-prose h1,
[data-bs-theme="dark"] .tool-content-prose h2,
[data-bs-theme="dark"] .tool-content-prose h3,
[data-bs-theme="dark"] .tool-content-prose h4,
[data-bs-theme="dark"] .tool-content-prose h5,
[data-bs-theme="dark"] .tool-content-prose h6 {
    color: var(--text-primary, #f1f5f9) !important;
}
[data-bs-theme="dark"] .tool-page-hero .tool-page-lead,
[data-bs-theme="dark"] .tool-page-hero .tool-page-long,
[data-bs-theme="dark"] .tool-content-prose {
    color: var(--text-secondary, #cbd5e1);
}
[data-bs-theme="dark"] .tool-page-hero .tool-back-link {
    color: var(--link-color, #e2e8f0);
}
[data-bs-theme="dark"] .tool-page-hero .tool-back-link:hover {
    color: var(--link-hover, #14a800);
}

/* ============================================================
   Back to Home — canonical (loaded last so every page matches)
   Default: white label + icon. Hover: white chip + green label.
   ============================================================ */
.site-back-home,
a.site-back-home {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease,
        border-color 0.2s ease, box-shadow 0.2s ease, -webkit-text-fill-color 0.2s ease;
}

.site-back-home i,
a.site-back-home i,
.site-back-home i::before,
a.site-back-home i::before {
    font-size: 0.9em;
    pointer-events: none;
}

/* Hero variant — translucent glass, always white text */
.site-back-home--hero,
a.site-back-home.site-back-home--hero,
.site-hero .site-back-home,
.tools-hero .site-back-home,
.plans-hero .site-back-home,
.site-hero a.site-back-home,
.tools-hero a.site-back-home,
.plans-hero a.site-back-home {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
}

.site-back-home--hero i,
.site-back-home--hero i::before,
a.site-back-home.site-back-home--hero i,
a.site-back-home.site-back-home--hero i::before,
.site-hero .site-back-home i,
.site-hero .site-back-home i::before,
.tools-hero .site-back-home i,
.tools-hero .site-back-home i::before,
.plans-hero .site-back-home i,
.plans-hero .site-back-home i::before {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Same hover on every public hero page */
.site-back-home--hero:hover,
.site-back-home--hero:focus,
.site-back-home--hero:focus-visible,
a.site-back-home.site-back-home--hero:hover,
a.site-back-home.site-back-home--hero:focus,
a.site-back-home.site-back-home--hero:focus-visible,
.site-hero .site-back-home:hover,
.site-hero .site-back-home:focus,
.tools-hero .site-back-home:hover,
.tools-hero .site-back-home:focus,
.plans-hero .site-back-home:hover,
.plans-hero .site-back-home:focus {
    background: #ffffff !important;
    color: #14a800 !important;
    -webkit-text-fill-color: #14a800 !important;
    border-color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
    text-decoration: none !important;
}

.site-back-home--hero:hover i,
.site-back-home--hero:hover i::before,
.site-back-home--hero:focus i,
.site-back-home--hero:focus i::before,
a.site-back-home.site-back-home--hero:hover i,
a.site-back-home.site-back-home--hero:hover i::before,
a.site-back-home.site-back-home--hero:focus i,
a.site-back-home.site-back-home--hero:focus i::before,
.site-hero .site-back-home:hover i,
.site-hero .site-back-home:hover i::before,
.tools-hero .site-back-home:hover i,
.tools-hero .site-back-home:hover i::before,
.plans-hero .site-back-home:hover i,
.plans-hero .site-back-home:hover i::before,
.site-hero .site-back-home:focus i,
.tools-hero .site-back-home:focus i,
.plans-hero .site-back-home:focus i {
    color: #14a800 !important;
    -webkit-text-fill-color: #14a800 !important;
}

/* Content / primary variant (green chip, white label — including hover) */
.site-back-home--content,
.site-back-home.site-btn-primary,
a.site-back-home.site-back-home--content {
    background: var(--hp-green, #14a800) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: none !important;
}
.site-back-home--content i,
.site-back-home--content i::before,
.site-back-home.site-btn-primary i,
.site-back-home.site-btn-primary i::before {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.site-back-home--content:hover,
.site-back-home--content:focus,
.site-back-home.site-btn-primary:hover,
.site-back-home.site-btn-primary:focus {
    background: var(--hp-leaf, #108a00) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.site-back-home--content:hover i,
.site-back-home--content:hover i::before,
.site-back-home.site-btn-primary:hover i,
.site-back-home.site-btn-primary:hover i::before {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Banner copy stays white on every theme */
.tools-hero,
.plans-hero {
    color: #ffffff;
}
.tools-hero h1,
.tools-hero p,
.tools-hero .stat,
.plans-hero h2,
.plans-hero p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.tools-hero p,
.plans-hero p {
    color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== Plans pricing ===== */
.plans-container {
    max-width: 1080px;
    margin: 0 auto;
}
.plans-hero {
    background: linear-gradient(135deg, #0b3d0b 0%, #14a800 100%);
    border-radius: 12px;
    padding: 32px 36px;
    margin-bottom: 28px;
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.pp-section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 0 40px;
}
.pp-intro {
    text-align: center;
    margin-bottom: 28px;
}
.pp-intro__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--hp-ink);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.pp-intro__sub {
    color: var(--text-muted);
    margin: 0 0 20px;
    font-size: 0.98rem;
}
.pp-billing {
    display: inline-flex;
    background: var(--hp-mint);
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
}
.pp-billing__btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.pp-billing__btn.is-active {
    background: var(--hp-green);
    color: #fff;
}
.pp-billing__hint {
    font-weight: 500;
    opacity: 0.85;
    font-size: 0.8em;
}
.pp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.pp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-lg);
    padding: 28px 22px 22px;
    box-shadow: var(--hp-shadow);
    transition: transform 0.2s var(--hp-ease), box-shadow 0.2s var(--hp-ease);
}
.pp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hp-shadow-hover);
}
.pp-card--pro { border-color: rgba(154, 123, 26, 0.35); }
.pp-card--premium { border-color: rgba(20, 168, 0, 0.35); }
.pp-card--enterprise { border-color: rgba(14, 165, 233, 0.35); }
.pp-card--current {
    border-color: var(--hp-green);
    box-shadow: 0 0 0 2px rgba(20, 168, 0, 0.12), var(--hp-shadow);
}
.pp-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--hp-green);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
}
.pp-card__badge--current { background: var(--hp-leaf); }
.pp-card__icon {
    font-size: 1.75rem;
    color: var(--hp-green);
    margin-bottom: 8px;
}
.pp-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--hp-ink);
}
.pp-card__price {
    margin: 4px 0 12px;
}
.pp-card__amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hp-ink);
    letter-spacing: -0.03em;
}
.pp-card__free {
    color: var(--hp-leaf);
    font-size: 1.5rem;
}
.pp-card__period {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 2px;
}
.pp-card__note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.pp-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 14px;
    min-height: 2.4em;
}
.pp-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}
.pp-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hp-line);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.pp-card__features li:last-child { border-bottom: none; }
.pp-card__features i {
    color: var(--hp-leaf);
    margin-top: 3px;
    font-size: 0.8rem;
}
.pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.pp-btn--primary,
.pp-btn--accent {
    background: var(--hp-green);
    color: #fff !important;
}
.pp-btn--primary:hover,
.pp-btn--accent:hover {
    background: var(--hp-leaf);
    color: #fff !important;
    transform: translateY(-1px);
}
.pp-btn--current,
.pp-btn:disabled {
    background: var(--hp-mint);
    color: var(--text-muted) !important;
    cursor: default;
    pointer-events: none;
}
.pp-footnote {
    text-align: center;
    margin: 28px 0 0;
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--hp-fog);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
}
.pp-footnote a {
    color: var(--hp-green);
    font-weight: 600;
    margin-left: 4px;
}
.pp-empty { margin-top: 12px; }

@media (max-width: 900px) {
    .pp-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .pp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

[data-bs-theme="dark"] .pp-billing { background: rgba(255,255,255,0.06); }
[data-bs-theme="dark"] .pp-card { background: var(--bg-card); }
[data-bs-theme="dark"] .pp-footnote { background: rgba(255,255,255,0.04); }

/* ===== Contact page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.contact-card {
    background: var(--hp-fog);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    padding: 18px 20px;
    box-shadow: var(--hp-shadow);
}
.contact-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--hp-mint);
    color: var(--hp-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1rem;
}
.contact-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin: 0 0 4px;
}
.contact-card__value {
    margin: 0;
    color: var(--hp-ink);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.45;
    word-break: break-word;
}
.contact-card__value a {
    color: var(--hp-green);
    text-decoration: none;
    font-weight: 600;
}
.contact-card__value a:hover { text-decoration: underline; }
.contact-intro {
    color: var(--text-secondary);
    margin: 0 0 18px;
    font-size: 1rem;
}
.contact-map {
    margin-top: 16px;
    border-radius: var(--hp-radius);
    overflow: hidden;
    border: 1px solid var(--hp-line);
}
.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    border: 0;
}
@media (max-width: 640px) {
    .contact-grid { grid-template-columns: 1fr; }
}
[data-bs-theme="dark"] .contact-card {
    background: rgba(255, 255, 255, 0.04);
}
[data-bs-theme="dark"] .contact-card__value { color: var(--text-primary); }

/* ===== Auth pages ===== */
.auth-shell {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}
.auth-panel,
.auth-card {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(160deg, rgba(255,255,255,0.82) 0%, rgba(232,245,232,0.55) 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    box-shadow:
        0 18px 40px rgba(20, 168, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    padding: 2rem 1.75rem;
}
.auth-panel h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hp-ink);
    margin: 0 0 0.35rem;
}
.auth-panel__sub {
    color: var(--text-muted);
    margin: 0 0 1.35rem;
    font-size: 0.95rem;
}
.auth-panel__footer {
    margin: 1.15rem 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.auth-panel__footer--muted {
    margin-top: 0.45rem;
}
.auth-panel a,
.auth-shell a {
    text-decoration: none;
    color: var(--hp-green);
}
.auth-panel a:hover,
.auth-shell a:hover {
    text-decoration: none;
    color: var(--hp-leaf);
}
.auth-forgot-link {
    margin: -0.25rem 0 0.15rem;
    text-align: right;
    font-size: 0.88rem;
}
.auth-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0.15rem 0 0.25rem;
}
.auth-remember {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    cursor: pointer;
    line-height: 1.2;
}
.auth-remember input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--hp-green);
    cursor: pointer;
}
.auth-forgot-inline {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}
.form-stack {
    display: grid;
    gap: 0.85rem;
}
.form-stack label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--hp-ink);
}
.form-stack input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.form-stack select,
.form-stack textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--hp-ink);
    font-size: 1rem;
    font-weight: 400;
}
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
    outline: none;
    border-color: var(--hp-leaf);
    box-shadow: 0 0 0 0.2rem rgba(20, 168, 0, 0.15);
}
.form-stack .text-muted,
.form-stack small {
    font-weight: 400;
    font-size: 0.8rem;
}
.btn-auth-primary,
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #1dbf00 0%, #14a800 48%, #0e7a00 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 8px 20px rgba(20, 168, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-auth-primary:hover,
.auth-btn:hover {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #22d100 0%, #14a800 50%, #0c6b00 100%);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow:
        0 12px 26px rgba(20, 168, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    text-decoration: none;
}
.auth-card__icon {
    display: block;
    text-align: center;
    font-size: 2.5rem;
    color: var(--hp-green);
    margin-bottom: 0.75rem;
}
.auth-card__title {
    text-align: center;
    font-weight: 700;
    font-size: 1.65rem;
    color: var(--hp-ink);
    margin: 0 0 0.35rem;
}
.auth-card__sub {
    text-align: center;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}
[data-bs-theme="dark"] .auth-panel,
[data-bs-theme="dark"] .auth-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}
[data-bs-theme="dark"] .auth-panel h1,
[data-bs-theme="dark"] .auth-card__title,
[data-bs-theme="dark"] .form-stack label {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .form-stack input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
[data-bs-theme="dark"] .form-stack select,
[data-bs-theme="dark"] .form-stack textarea {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* ===== Contact page ===== */
.contact-page {
    padding: 2.5rem 16px 3.5rem;
}
.contact-page__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}
.contact-page__header {
    text-align: left;
    margin: 0 0 1.5rem;
}
.contact-page h1,
.contact-page__header h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.35rem);
    font-weight: 800;
    color: var(--hp-ink, #0a1f0a);
    margin: 0 0 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
    display: block;
}
.contact-page__lead {
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    font-size: 1.02rem;
}
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0 0 0.65rem;
}
.contact-info-card {
    background: #f2f7f2;
    border: 1px solid #d5e0d5;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin: 0;
}
.contact-info-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.contact-info-card__value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hp-green);
    text-decoration: none;
    word-break: break-word;
}
.contact-info-card__value:hover {
    text-decoration: none;
    color: var(--hp-leaf);
}
.contact-page__hint {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.contact-form {
    margin-top: 0.5rem;
    max-width: 100%;
}
.contact-page__map {
    margin-top: 1.75rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--hp-line, #d5e0d5);
}
.contact-page__map iframe {
    display: block;
    width: 100%;
    min-height: 240px;
    border: 0;
}
.contact-page__cms {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hp-line);
}
@media (max-width: 640px) {
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
}
[data-bs-theme="dark"] .contact-page h1 {
    color: var(--text-primary);
}
[data-bs-theme="dark"] .contact-info-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
}

/* ===== WhatsApp float (disabled — footer WhatsApp kept) ===== */
.wa-float {
    display: none !important;
}

/* ===== Shared tool cards (home + tools) ===== */
.tools-grid,
.hp-tools {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 1199px) {
    .tools-grid,
    .hp-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .tools-grid,
    .hp-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .tools-grid,
    .hp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .tools-grid,
    .hp-tools { grid-template-columns: 1fr; }
}

a.tool-card,
.tool-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255,255,255,0.88) 0%, rgba(232,245,232,0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    text-decoration: none !important;
    color: inherit !important;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
    box-shadow:
        0 8px 22px rgba(20, 168, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    height: auto;
}
a.tool-card:hover,
.tool-card:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 168, 0, 0.35);
    box-shadow:
        0 16px 32px rgba(20, 168, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    color: inherit !important;
}
.tool-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(20,168,0,0.12));
    color: #14a800;
    font-size: 1.1rem;
    border: 1px solid rgba(20, 168, 0, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    transition: background 0.2s ease, color 0.2s ease;
}
.tool-card:hover .tool-card__icon {
    background: #14a800;
    color: #fff;
}
.tool-card__name {
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--text-primary, #001e00);
    line-height: 1.3;
}
.tool-card__desc {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--text-muted, #5a7264);
    flex: 1;
}
.tool-card__cat {
    font-size: 0.75rem;
    color: var(--text-muted, #64748b);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tool-card__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #14a800;
}
.tool-card .tool-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.tool-card .tool-badge.free { background: #eaf6ea; color: #0b3d0b; }
.tool-card .tool-badge.pro { background: #fff8e8; color: #8a6a00; }
.tool-card .tool-badge.premium { background: #f0f2ff; color: #4338a8; }
.tool-card .tool-badge.new-flag {
    top: auto;
    bottom: 12px;
    right: 12px;
    background: #14a800;
    color: #fff;
}
.tool-card .tool-icon { display: none; } /* legacy */
.tool-card .tool-name,
.tool-card .tool-desc,
.tool-card .tool-category,
.tool-card .tool-arrow { display: none; }

.hp-tools .tool-card.is-extra { display: none; }
.hp-tools.is-expanded .tool-card.is-extra { display: flex; }

/* ===== Tool page action buttons ===== */
.tool-actions,
.tool-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}
.tool-actions .btn-perform,
.tool-action-row .btn-primary,
.tool-actions .btn-primary,
button.tool-btn-primary,
.etj-btn-primary,
.eti-btn-primary {
    background: #14a800 !important;
    border-color: #14a800 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 18px;
}
.tool-actions .btn-clear,
.tool-action-row .btn-secondary,
.tool-actions .btn-secondary,
button.tool-btn-secondary,
.etj-btn-secondary {
    background: #fff !important;
    border: 1px solid rgba(0, 30, 0, 0.18) !important;
    color: #14a800 !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 18px;
}
.tool-actions .btn-download,
a.tool-btn-download,
.etj-btn-download {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 18px;
}

[data-bs-theme="dark"] a.tool-card,
[data-bs-theme="dark"] .tool-card {
    background: var(--bg-card, #1a2420);
    border-color: rgba(255, 255, 255, 0.08);
}
[data-bs-theme="dark"] .tool-card__icon {
    background: rgba(20, 168, 0, 0.18);
    color: #8fd98a;
}
[data-bs-theme="dark"] .tool-card:hover .tool-card__icon {
    background: #14a800;
    color: #fff;
}

/* ============================================================
   Excel glass / mirror green polish
   ============================================================ */
.btn-auth-primary,
.pp-billing__btn.is-active,
.contact-form button[type="submit"],
.tool-actions .btn-perform,
.tool-action-row .btn-primary,
button.tool-btn-primary {
    border-radius: var(--hp-radius-pill, 999px) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 45%),
        linear-gradient(135deg, #1dbf00 0%, #14a800 50%, #0e7a00 100%) !important;
    box-shadow:
        0 8px 22px rgba(20, 168, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
    letter-spacing: -0.01em;
}

.pp-billing {
    background: #eef6ee;
    border-radius: var(--hp-radius-pill, 999px);
    padding: 4px;
    display: inline-flex;
    gap: 4px;
}
.pp-billing__btn {
    border-radius: var(--hp-radius-pill, 999px) !important;
    border: none;
    padding: 10px 18px;
    font-weight: 600;
}
.pp-intro__title {
    letter-spacing: -0.035em;
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}
.pp-intro__sub {
    font-size: 1.05rem;
    color: var(--text-muted);
}

a.tool-card,
.tool-card {
    border-radius: 16px;
    padding: 22px 18px;
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow:
        0 8px 22px rgba(20, 168, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
a.tool-card:hover,
.tool-card:hover {
    border-color: rgba(20, 168, 0, 0.35);
    box-shadow: var(--hp-shadow-hover);
    transform: translateY(-4px);
}
.tool-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(20,168,0,0.12));
}

.auth-panel,
.contact-page .container-narrow,
.contact-form {
    border-radius: 20px;
}
.auth-panel {
    padding: 2.75rem 2.25rem;
    background: linear-gradient(160deg, rgba(255,255,255,0.86) 0%, rgba(232,245,232,0.55) 100%);
    box-shadow:
        0 18px 40px rgba(20, 168, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.auth-panel h1 {
    letter-spacing: -0.04em;
    font-size: clamp(1.85rem, 3vw, 2.25rem);
}
.form-stack input,
.form-stack textarea,
.auth-panel input,
.contact-form input,
.contact-form textarea {
    border-radius: 12px !important;
    border-color: #d7e3d7 !important;
    padding: 12px 14px;
}
.form-stack input:focus,
.form-stack textarea:focus,
.auth-panel input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #14a800 !important;
    box-shadow: 0 0 0 3px rgba(20, 168, 0, 0.12) !important;
}

.site-back-home--hero,
a.site-back-home.site-back-home--hero {
    border-radius: 999px !important;
    padding: 11px 20px !important;
}

.footer-modern {
    padding-top: 72px;
}
.footer-modern h5 {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.92;
}

/* Soft section bands */
.site-page,
.hp-section,
.pp-section {
    scroll-margin-top: 88px;
}

/* ===== Contact CAPTCHA + honeypot ===== */
.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.contact-captcha {
    display: grid;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255,255,255,0.72), rgba(232,245,232,0.5));
    border: 1px solid rgba(20, 168, 0, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.contact-captcha__label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--hp-ink);
}
.contact-captcha__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-captcha__img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(10, 31, 10, 0.08);
}
.contact-captcha__row input {
    max-width: 120px;
    flex: 0 0 auto;
}
.contact-captcha__hint {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Pricing comparison table ===== */
.pp-compare {
    margin-top: 48px;
    padding: 28px 22px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,0.78), rgba(232,245,232,0.45));
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow:
        0 14px 36px rgba(20, 168, 0, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.pp-compare__title {
    margin: 0 0 6px;
    text-align: center;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    letter-spacing: -0.03em;
    color: var(--hp-ink);
}
.pp-compare__sub {
    margin: 0 0 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.pp-compare__value {
    font-weight: 600;
    color: var(--hp-ink);
    font-size: 0.92rem;
}
.pp-compare__empty {
    color: #9aab9a;
}
.pp-compare__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.pp-compare__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 520px;
}
.pp-compare__table th,
.pp-compare__table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(20, 168, 0, 0.1);
    text-align: center;
    vertical-align: middle;
}
.pp-compare__table thead th {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--hp-ink);
    background: rgba(20, 168, 0, 0.06);
}
.pp-compare__table thead th:first-child,
.pp-compare__table tbody th {
    text-align: left;
    font-weight: 600;
}
.pp-compare__table tbody th {
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.pp-compare__yes {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(20, 168, 0, 0.12);
    color: #0e7a00;
}
.pp-compare__no {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 31, 10, 0.05);
    color: #9aab9a;
}
.pp-compare__price-row th,
.pp-compare__price-row td {
    border-bottom: none;
    background: rgba(20, 168, 0, 0.04);
}

/* ===== Soft glass on content cards (not page banners) ===== */
.site-article,
.page-card,
.auth-shell .auth-panel,
.contact-page__inner,
.contact-info-card,
.hp-value__item {
    background: linear-gradient(160deg, rgba(255,255,255,0.92) 0%, rgba(244,248,244,0.88) 100%) !important;
    border: 1px solid rgba(20, 168, 0, 0.12) !important;
    box-shadow:
        0 10px 28px rgba(20, 168, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}
.site-hero,
.plans-hero,
.tools-hero,
.welcome-banner {
    background: linear-gradient(135deg, #062406 0%, #0b3d0b 55%, #0e7a00 100%) !important;
    border: 1px solid rgba(11, 61, 11, 0.35) !important;
    box-shadow: 0 10px 28px rgba(10, 31, 10, 0.16) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #fff !important;
}
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 0 0 1.25rem;
}
.contact-info-card {
    padding: 14px 16px;
    border-radius: 14px;
}
.contact-info-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.contact-info-card__value {
    font-weight: 600;
    color: var(--hp-green);
    text-decoration: none;
}
.contact-info-card__value:hover {
    color: var(--hp-leaf);
}

.pp-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.88) 0%, rgba(232,245,232,0.48) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    box-shadow:
        0 12px 30px rgba(20, 168, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .site-article,
[data-bs-theme="dark"] .page-card,
[data-bs-theme="dark"] .auth-shell .auth-panel,
[data-bs-theme="dark"] .contact-info-card,
[data-bs-theme="dark"] .pp-card,
[data-bs-theme="dark"] .pp-compare {
    background: linear-gradient(160deg, rgba(30,41,59,0.82), rgba(15,23,42,0.72)) !important;
    border-color: rgba(255,255,255,0.1) !important;
}

