@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-var.woff2") format("woff2");
}

:root {
    --bg: #f7fbff;
    --surface: #ffffff;
    --surface-soft: #eef6ff;
    --ink: #071846;
    --text: #1a2b52;
    --muted: #64748b;
    --line: #dbe7f5;
    --primary: #0b6bff;
    --primary-dark: #0844b8;
    --blue: #0b6bff;
    --amber: #b45309;
    --danger: #b42318;
    --shadow-sm: 0 1px 2px rgba(10, 17, 22, 0.05);
    --shadow-md: 0 10px 24px rgba(10, 17, 22, 0.08);
    --shadow-lg: 0 20px 48px rgba(10, 17, 22, 0.16);
    --shadow: var(--shadow-lg);
    --radius: 10px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

p {
    overflow-wrap: break-word;
}

a {
    color: inherit;
}

img,
canvas {
    max-width: 100%;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.15rem;
    font: inherit;
    font-weight: 750;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.16), 0 6px 16px rgba(15, 118, 110, 0.18);
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover,
.button:hover {
    background: var(--primary-dark);
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.18), 0 10px 22px rgba(15, 118, 110, 0.24);
    transform: translateY(-1px);
}

button:active,
.button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.16);
}

button:focus-visible,
.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:disabled,
.button.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 1;
    background: #e3e7e6;
    color: #8a938f;
    box-shadow: none;
    transform: none;
}

.secondary {
    background: #e8eefc;
    color: #163b8f;
    box-shadow: none;
}

.secondary:hover {
    background: #dbe7ff;
    box-shadow: none;
}

.secondary:disabled,
.secondary.disabled {
    background: #e9ecef;
    color: #939ba1;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    padding: 0.75rem 0.85rem;
    font: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #b7c5c1;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
    outline: none;
}

textarea {
    resize: vertical;
}

input[type="file"] {
    padding: 0.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

input[type="file"]::file-selector-button {
    margin-right: 0.75rem;
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    padding: 0.55rem 0.9rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

input[type="file"]::file-selector-button:hover {
    background: var(--primary-dark);
}

label span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    z-index: 100;
    top: 12px;
    left: 12px;
    background: #fff;
    padding: 0.75rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 248, 244, 0.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-weight: 850;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    color: var(--ink);
    font-weight: 850;
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.icon-button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.icon-button:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.header-cta {
    min-height: 40px;
    padding: 0.6rem 1.05rem;
    font-size: 0.92rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--text);
    color: #fff;
    font-size: 0.8rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

.nav-links a {
    border-radius: var(--radius);
    color: var(--muted);
    padding: 0.45rem 0.7rem;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.nav-links a.is-active {
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    min-height: 40px;
    min-width: 40px;
    padding: 0;
    background: transparent;
    color: var(--text);
}

.nav-toggle:hover {
    background: var(--surface-soft);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: relative;
}

.nav-toggle-bars::before {
    top: 6px;
}

.nav-toggle-bars::after {
    top: 4px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    top: -2px;
    transform: rotate(-45deg);
}

.hero,
.page-hero,
.tool-page-head {
    padding: 3.5rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 2rem;
    align-items: stretch;
}

.eyebrow {
    margin: 0 0 0.55rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-weight: 800;
}

h1 {
    max-width: 780px;
    font-size: clamp(2.25rem, 6vw, 4.75rem);
    font-weight: 850;
    overflow-wrap: break-word;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

h3 {
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.hero-copy,
.page-hero p,
.tool-page-head p,
.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.08rem;
}

.search-shell,
.directory-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.directory-filters {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, 220px) minmax(150px, 200px) auto;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.quick-links a,
.card-meta span,
.trust-list span {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    padding: 0.45rem 0.7rem;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
}

.quick-links a:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.section {
    padding: 3rem 0;
}

.muted-section {
    background: #eef2ec;
}

.dark-section {
    background: var(--ink);
    color: #c9d6d2;
}

.dark-section .eyebrow {
    color: #5eead4;
}

.dark-section h2 {
    color: #fff;
}

.dark-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.dark-section li {
    position: relative;
    padding-left: 1.5rem;
}

.dark-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #5eead4;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.text-link {
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.tool-grid,
.blog-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tool-card,
.blog-card,
.category-card {
    position: relative;
}

.tool-card a,
.blog-card a,
.category-card a {
    text-decoration: none;
}

.tool-card p,
.category-card p {
    margin: 0.5rem 0 0;
    color: var(--muted);
}

.card-kicker {
    color: var(--accent, var(--blue));
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Tool cards: elevated white tiles with a category-colored top accent */
.tool-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 1.15rem 1.15rem 1.25rem;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.tool-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--accent, var(--primary));
}

.tool-card:has(a:hover) {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.tool-card h3 {
    margin: 0.35rem 0 0.5rem;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.card-meta span,
.trust-list span {
    border: 0;
    background: var(--surface-soft);
    color: var(--primary-dark);
}

.card-meta-highlight {
    background: var(--accent-soft, var(--surface-soft)) !important;
    color: var(--accent, var(--primary-dark)) !important;
    font-weight: 850 !important;
}

/* Category cards: solid tinted tile, color-coded per category */
.category-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    border-radius: var(--radius);
    background: var(--accent-soft, var(--surface-soft));
    padding: 1.25rem;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.category-card:has(a:hover) {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.category-card h3 a {
    color: var(--ink);
}

.category-card span {
    display: inline-block;
    margin-top: 0.7rem;
    color: var(--accent, var(--primary-dark));
    font-size: 0.82rem;
    font-weight: 800;
}

.category-icon {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--accent, var(--amber));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 900;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog cards: editorial list style, no card chrome */
.blog-grid {
    display: block;
}

.blog-card {
    display: block;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
}

.blog-card:first-child {
    padding-top: 0;
}

.blog-card:last-child {
    border-bottom: 0;
}

.blog-card h3 {
    margin: 0.3rem 0 0.4rem;
    font-size: 1.25rem;
}

.blog-card p {
    margin: 0;
    max-width: 640px;
    color: var(--muted);
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.6rem;
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

.blog-card-link svg {
    transition: transform 0.15s ease;
}

.blog-card:has(a:hover) .blog-card-link svg {
    transform: translateX(3px);
}

.benefit-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
}

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

.breadcrumbs {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.35rem;
    color: #94a3a6;
}

.breadcrumbs a {
    text-decoration: none;
}

.tool-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 1.25rem;
    align-items: end;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.tool-workspace {
    padding: 0 0 2rem;
}

.tool-interface {
    border-radius: calc(var(--radius) + 4px);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
}

.tool-component {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.tool-component.compact-tool {
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
}

.tool-component.text-tool {
    grid-template-columns: 1fr;
}

.tool-controls {
    display: grid;
    gap: 0.9rem;
}

.tool-controls.full {
    width: 100%;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.checkbox-line input {
    width: 18px;
    min-height: 18px;
}

.checkbox-line span {
    margin: 0;
}

.tool-preview,
.result-panel {
    display: grid;
    place-items: center;
    min-height: 280px;
    border: 1px dashed #b8c7c3;
    border-radius: var(--radius);
    background: #fbfdfb;
    padding: 1rem;
    text-align: center;
}

.tool-preview canvas {
    max-height: 420px;
    object-fit: contain;
}

.qr-preview canvas {
    width: 256px;
    height: 256px;
}

.inline-stat {
    margin: -0.4rem 0 0;
    color: var(--muted);
}

.age-live-clock {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.15rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.age-live-clock svg {
    flex: 0 0 auto;
    color: var(--primary);
}

.age-live-clock strong {
    color: var(--ink);
    font-weight: 800;
}

.date-input-wrap {
    position: relative;
    display: block;
}

.date-input-wrap svg {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}

.date-input-wrap input[type="date"] {
    padding-left: 2.7rem;
    color-scheme: light;
    cursor: pointer;
}

.date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
    width: 20px;
    height: 20px;
    margin-right: 0.15rem;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background: var(--surface-soft);
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.stats-grid + .stats-grid {
    margin-top: 0.75rem;
}

.stats-grid.stats-grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stats-grid div {
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    padding: 0.9rem;
}

.stats-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.stats-grid strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.45rem;
}

.content-narrow {
    max-width: 860px;
}

.content-block {
    margin-top: 2rem;
}

.rich-content h2,
.rich-content h3 {
    margin-top: 1.6rem;
}

.rich-content p {
    color: var(--muted);
}

.step-list {
    display: grid;
    gap: 0.65rem;
    padding-left: 1.3rem;
}

.content-block-grid {
    display: grid;
    gap: 1.25rem;
}

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

.faq-list {
    display: grid;
    gap: 0.65rem;
}

.faq-list details {
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 0.85rem 1rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.tool-cta {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: #c9d6d2;
    padding: 1.5rem;
}

.tool-cta::before {
    content: "";
    position: absolute;
    inset: -50% auto auto -10%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.3), transparent 70%);
    pointer-events: none;
}

.tool-cta h2 {
    color: #fff;
}

.tool-cta p {
    position: relative;
}

.tool-cta .button {
    position: relative;
    margin-top: 0.9rem;
}

.ad-slot {
    margin: 1.5rem auto;
    max-width: 960px;
    border: 1px dashed #b8c7c3;
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #15212b;
    color: #dbe7e4;
    padding: 2.5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 1.25rem;
}

.footer-brand .brand {
    color: #fff;
}

.footer-brand .brand-name {
    color: #fff;
}

.footer-brand p {
    margin-top: 0.75rem;
    color: #a8b7b4;
    font-size: 0.92rem;
}

.site-footer h2 {
    font-size: 1rem;
}

.site-footer ul {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #dbe7e4;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 1.5rem;
    padding-top: 1rem;
    color: #a8b7b4;
}

.admin-body {
    background: #f2f5fa;
}

.admin-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background: linear-gradient(175deg, #071846 0%, #0b2a63 60%, #0a1c40 100%);
    color: #fff;
    padding: 1.15rem;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
}

.admin-brand img {
    border-radius: 9px;
    box-shadow: 0 6px 14px rgba(3, 10, 30, 0.35);
}

.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand strong {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.15;
}

.admin-brand small {
    color: #93a8d6;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.admin-nav {
    display: grid;
    gap: 0.15rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: var(--radius);
    color: #c3d0ef;
    padding: 0.6rem 0.7rem;
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.admin-nav a svg {
    flex: 0 0 auto;
    opacity: 0.85;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-nav a.is-active {
    background: #0b6bff;
    color: #fff;
    box-shadow: 0 6px 16px rgba(11, 107, 255, 0.35);
}

.admin-nav a.is-active svg {
    opacity: 1;
}

.admin-view-site {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #93a8d6;
    padding-top: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-view-site:hover {
    color: #fff;
}

.admin-main {
    padding: 1.5rem;
}

.admin-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
}

.admin-topbar .secondary {
    gap: 0.45rem;
}

.admin-topbar h1 {
    max-width: none;
    font-size: 1.6rem;
}

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

.admin-stat {
    display: grid;
    gap: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 1.05rem 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.admin-stat:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.admin-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.admin-stat-icon.accent-blue {
    background: #e8f0ff;
    color: #0b6bff;
}

.admin-stat-icon.accent-amber {
    background: #fef3e3;
    color: #b45309;
}

.admin-stat-icon.accent-purple {
    background: #f1eafd;
    color: #7c3aed;
}

.admin-stat-icon.accent-teal {
    background: #e3f4f1;
    color: #0f766e;
}

.admin-stat-icon.accent-slate {
    background: #eaedf1;
    color: #334155;
}

.admin-stat-label {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.admin-stat strong {
    display: block;
    color: var(--ink);
    font-size: 1.9rem;
    letter-spacing: -0.02em;
}

.admin-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.admin-quick-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfdff;
    padding: 0.85rem 0.95rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.admin-quick-card:hover {
    border-color: #bcd3ff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.admin-quick-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #e8f0ff;
    color: #0b6bff;
}

.admin-quick-card strong {
    display: block;
    color: var(--ink);
    font-size: 0.92rem;
}

.admin-quick-card small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.admin-panel .section-heading h2 {
    font-size: 1.45rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th {
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    padding: 0.55rem 0.75rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
}

.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
}

.admin-row-title {
    display: grid;
    gap: 0.1rem;
    max-width: 380px;
}

.admin-row-title strong {
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.3;
}

.admin-row-title small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.8rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.badge.badge-published {
    background: #e6f7ee;
    color: #0f7a42;
}

.badge.badge-draft {
    background: #fef3e3;
    color: #a15c07;
}

.badge.badge-scheduled {
    background: #eef0ff;
    color: #4338ca;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-height: 30px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: #526991;
    padding: 0;
    box-shadow: none;
}

.icon-btn:hover {
    background: #eef4ff;
    border-color: #bcd3ff;
    color: #0b6bff;
    transform: none;
    box-shadow: none;
}

.icon-btn.icon-btn-danger:hover {
    background: #fee4e2;
    border-color: #f3b4ac;
    color: #b42318;
}

.admin-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
}

.admin-form {
    display: grid;
    gap: 1rem;
}

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

.form-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-section {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.image-upload-field {
    display: grid;
    gap: 0.42rem;
}

.image-upload-label {
    color: #263f6d;
    font-size: 0.88rem;
    font-weight: 800;
}

.image-upload-body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.image-upload-preview {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    width: 120px;
    height: 90px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #f7fafc;
    color: #9aabc7;
}

.image-upload-preview.is-dragover {
    border-color: #0b6bff;
    background: #eef4ff;
    box-shadow: 0 0 0 3px rgba(11, 107, 255, 0.14);
}

.image-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-upload-controls {
    display: grid;
    gap: 0.5rem;
}

.image-upload-choose {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: max-content;
    border: 0;
    border-radius: var(--radius);
    background: #e8eefc;
    color: #163b8f;
    padding: 0.55rem 0.9rem;
    font-weight: 750;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.image-upload-choose:hover {
    background: #dbe7ff;
}

.image-upload-choose input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    clip: rect(0, 0, 0, 0);
}

.image-upload-remove {
    width: max-content;
}

.image-upload-remove[hidden] {
    display: none;
}

.image-upload-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

textarea[data-rich-html][data-enhanced] {
    display: none;
}

.rte {
    position: relative;
    display: grid;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.rte-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    padding: 0.35rem;
}

.rte-toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    min-width: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #3a4b6b;
    padding: 0.3rem 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: none;
}

.rte-toolbar button:hover {
    background: #e8eefc;
    color: #163b8f;
    transform: none;
    box-shadow: none;
}

.rte-toolbar button.is-source-active {
    background: #0b6bff;
    color: #fff;
}

.rte-sep {
    width: 1px;
    height: 20px;
    margin: 0 0.25rem;
    background: var(--line);
}

.rte-editor {
    min-height: 160px;
    max-height: 480px;
    overflow-y: auto;
    padding: 0.8rem 0.95rem;
    outline: none;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.65;
}

.rte-editor p {
    margin: 0 0 0.75em;
}

.rte-editor p:last-child {
    margin-bottom: 0;
}

.rte-editor h2,
.rte-editor h3,
.rte-editor h4 {
    margin: 0.2em 0 0.4em;
}

.rte-editor ul,
.rte-editor ol {
    margin: 0 0 0.75em;
    padding-left: 1.4em;
}

.rte-editor blockquote {
    margin: 0 0 0.75em;
    padding-left: 0.9em;
    border-left: 3px solid var(--line);
    color: var(--muted);
}

.rte-editor pre {
    margin: 0 0 0.75em;
    padding: 0.6em 0.8em;
    border-radius: 6px;
    background: #0b1730;
    color: #e2e8f0;
    font-size: 0.85em;
    overflow-x: auto;
}

.rte-editor code {
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: #eef2f7;
    font-size: 0.9em;
}

.rte-editor pre code {
    padding: 0;
    background: none;
}

.rte-source {
    display: none;
    width: 100%;
    min-height: 160px;
    border: 0;
    border-radius: 0;
    padding: 0.8rem 0.95rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    box-shadow: none;
}

.rte.is-source .rte-editor {
    display: none;
}

.rte.is-source .rte-source {
    display: block;
}

.rte-link-popover {
    position: absolute;
    top: 42px;
    right: 8px;
    z-index: 20;
    display: grid;
    gap: 0.5rem;
    width: min(280px, calc(100% - 16px));
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 0.7rem;
}

.rte-link-popover label {
    display: grid;
    gap: 0.3rem;
}

.rte-link-popover label span {
    color: #263f6d;
    font-size: 0.8rem;
    font-weight: 800;
}

.rte-link-popover input {
    min-height: 38px;
}

.rte-link-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

.rte-link-actions button {
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    background: #eef6f3;
    color: var(--primary-dark);
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 850;
}

.flash {
    border-radius: var(--radius);
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.flash.success {
    background: #e8f5f2;
    color: #115e59;
}

.flash.error {
    background: #fee4e2;
    color: var(--danger);
}

.danger-button {
    background: var(--danger);
}

.auth-shell {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 12%, #eef6ff 0%, #f4f7fb 45%, #f4f7fb 100%);
    padding: 1.5rem;
}

.auth-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11, 107, 255, 0.13) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
    pointer-events: none;
}

.auth-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px 420px at 8% 8%, rgba(11, 107, 255, 0.24), transparent 70%),
        radial-gradient(480px 480px at 96% 12%, rgba(7, 24, 70, 0.16), transparent 70%),
        radial-gradient(520px 520px at 88% 96%, rgba(11, 107, 255, 0.18), transparent 70%),
        radial-gradient(360px 360px at 4% 92%, rgba(7, 24, 70, 0.12), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.auth-page {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
}

.auth-shell-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    overflow: hidden;
    border: 1px solid #dbe5f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(21, 38, 68, 0.14);
}

.auth-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    overflow: hidden;
    background: linear-gradient(160deg, #071846 0%, #0b2a63 45%, #0b6bff 130%);
    color: #fff;
    padding: 2.4rem 2.1rem;
}

.auth-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
    mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
    pointer-events: none;
}

.auth-brand-panel::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 107, 255, 0.55), transparent 72%);
    filter: blur(6px);
    pointer-events: none;
}

.auth-brand-panel > * {
    position: relative;
    z-index: 1;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    color: #fff;
    text-decoration: none;
}

.auth-brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(3, 10, 30, 0.35);
}

.auth-brand strong,
.auth-brand small {
    display: block;
}

.auth-brand strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1.12;
}

.auth-brand small {
    color: #b7c8ec;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-brand-copy h2 {
    margin: 0 0 1.15rem;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.auth-feature-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #dbe7f5;
    font-size: 0.92rem;
    font-weight: 600;
}

.auth-feature-list svg {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 3px;
}

.auth-brand-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #b7c8ec;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-panel {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 2.4rem 2.3rem;
}

.auth-card {
    display: grid;
    width: 100%;
    gap: 1.05rem;
}

.auth-card-head {
    display: block;
    margin-bottom: 0.15rem;
}

.auth-kicker {
    margin: 0 0 0.22rem;
    color: #0b6bff;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-card h1 {
    color: #071846;
    font-size: 1.75rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.auth-card-head p:last-child {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.48;
}

.auth-field {
    display: grid;
    gap: 0.42rem;
}

.auth-field > span:first-child {
    margin: 0;
    color: #263f6d;
    font-size: 0.88rem;
    font-weight: 800;
}

.auth-input-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    border: 1px solid #d5e3f8;
    border-radius: 10px;
    background: #fff;
    color: #7b8eaf;
    padding: 0 0.7rem 0 0.85rem;
    margin: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input-wrap:focus-within {
    border-color: #0b6bff;
    box-shadow: 0 0 0 3px rgba(11, 107, 255, 0.14);
}

.auth-input-wrap input {
    min-height: 46px;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.auth-input-wrap input:focus {
    box-shadow: none;
}

.auth-toggle-visibility {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #94a6c4;
    padding: 0.3rem;
    box-shadow: none;
}

.auth-toggle-visibility:hover {
    background: #eef4ff;
    color: #0b6bff;
    transform: none;
    box-shadow: none;
}

.auth-toggle-visibility[aria-pressed="true"] {
    color: #0b6bff;
}

.auth-submit {
    justify-content: space-between;
    min-height: 48px;
    width: 100%;
    margin-top: 0.2rem;
    border-radius: 10px;
    padding: 0.78rem 1rem;
}

.auth-help-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-site-link {
    display: inline-flex;
    color: #0b6bff;
    font-size: 0.82rem;
    font-weight: 850;
    text-decoration: none;
}

.auth-site-link:hover {
    color: #0755df;
}

.auth-default-note {
    margin: 0;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #f8fafc;
    color: #526991;
    padding: 0.72rem 0.82rem;
    font-size: 0.8rem;
    line-height: 1.45;
}

/* Hero: badge, accent text, trust row, illustration */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1rem;
    border-radius: 999px;
    background: #fff7e6;
    color: #92400e;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-badge svg {
    color: #d97706;
}

.accent-text {
    color: var(--primary);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hero-trust > div {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-trust svg {
    flex-shrink: 0;
    color: var(--primary);
}

.hero-trust span {
    display: flex;
    flex-direction: column;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 800;
}

.hero-trust small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.hero-illustration {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-illustration::before {
    content: "";
    position: absolute;
    inset: 6% 4%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.1), rgba(124, 58, 237, 0.06) 60%, transparent 75%);
}

.window-mock {
    position: relative;
    width: min(100%, 380px);
    border-radius: calc(var(--radius) + 6px);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
    padding: 0.7rem 0.9rem;
}

.window-bar span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--line);
}

.window-bar span:nth-child(1) {
    background: #f87171;
}

.window-bar span:nth-child(2) {
    background: #fbbf24;
}

.window-bar span:nth-child(3) {
    background: #4ade80;
}

.window-search {
    display: flex;
    align-items: center;
    margin-left: 0.75rem;
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    padding: 0.3rem 0.6rem;
    flex: 1;
}

.window-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.5rem;
}

.window-tile {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background: var(--accent, var(--primary));
    color: #fff;
    box-shadow: 0 6px 14px rgba(10, 17, 22, 0.14);
}

.window-tile-more {
    background: var(--surface-soft);
    color: var(--muted);
    box-shadow: none;
    font-size: 1.3rem;
    font-weight: 800;
}

/* Stats bar */
.stats-bar {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    padding: 1.75rem 0;
}

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

.stats-bar-grid > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stats-bar-grid svg {
    flex-shrink: 0;
    color: var(--primary);
}

.stats-bar-grid strong {
    display: block;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: -0.01em;
}

.stats-bar-grid span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

/* Popular Tools: icon-led tiles */
.tool-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tool-tile {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    text-decoration: none;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.tool-tile:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.tool-tile-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--accent-soft, var(--surface-soft));
    color: var(--accent, var(--primary));
}

.tool-tile-name {
    color: var(--ink);
    font-weight: 800;
}

.tool-tile-desc {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
    flex-grow: 1;
}

.tool-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.9rem;
    color: var(--accent, var(--primary-dark));
    font-size: 0.86rem;
    font-weight: 800;
}

.tool-tile-link svg {
    transition: transform 0.15s ease;
}

.tool-tile:hover .tool-tile-link svg {
    transform: translateX(3px);
}

/* Browse categories (list rows) + business panel */
.browse-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

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

.category-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.1rem;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.category-row:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.category-row-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--accent-soft, var(--surface-soft));
    color: var(--accent, var(--primary));
}

.category-row-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.category-row-text strong {
    color: var(--ink);
}

.category-row-text small {
    color: var(--muted);
    font-size: 0.82rem;
}

.category-row-chevron {
    flex-shrink: 0;
    color: var(--muted);
    transition: transform 0.15s ease;
}

.category-row:hover .category-row-chevron {
    transform: translateX(3px);
    color: var(--accent, var(--primary));
}

.business-panel {
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}

.business-panel h3 {
    font-size: 1.02rem;
}

.business-panel > p {
    margin: 0.35rem 0 1rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.business-panel-list {
    display: grid;
    gap: 0.6rem;
}

.business-panel-list a,
.business-panel-soon {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--accent-soft, var(--surface-soft));
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    font-weight: 750;
    font-size: 0.9rem;
    color: var(--ink);
    transition: transform 0.15s ease;
}

.business-panel-list a:hover {
    transform: translateX(2px);
}

.business-panel-soon {
    color: var(--muted);
}

.business-panel-soon span:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.business-panel-soon em {
    color: var(--muted);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.business-panel-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--accent, var(--primary));
    color: #fff;
}

.business-panel-soon .business-panel-icon {
    background: var(--line);
    color: var(--muted);
}

/* How it works */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.how-it-works > div {
    position: relative;
    text-align: center;
}

.how-it-works > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    left: calc(50% + 34px);
    width: calc(100% - 68px);
    border-top: 2px dashed var(--line);
}

.how-step-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 850;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.22);
}

.how-it-works h3 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.how-it-works p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

/* Why choose us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.why-us-grid > div {
    text-align: center;
}

.why-us-grid svg {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    padding: 11px;
}

.why-us-grid h3 {
    margin-bottom: 0.3rem;
    font-size: 0.98rem;
}

.why-us-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

/* Blog tiles (home) */
.blog-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.blog-tile a {
    display: grid;
    grid-template-rows: 120px minmax(0, 1fr);
    height: 100%;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.blog-tile a:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.blog-tile-thumb {
    display: grid;
    place-items: center;
    height: 120px;
    overflow: hidden;
    background: var(--accent-soft, var(--surface-soft));
    color: var(--accent, var(--primary));
}

.blog-tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-tile-art {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.78), transparent 4.5rem),
        linear-gradient(135deg, var(--accent-soft, #eef6ff), #ffffff);
}

.blog-tile-art svg {
    filter: drop-shadow(0 12px 16px rgba(20, 50, 98, 0.14));
}

.blog-tile-body {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-width: 0;
    padding: 1.1rem 1.15rem 1.25rem;
}

.blog-tile-title {
    display: block;
    margin: 0.4rem 0 0.4rem;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.blog-tile-excerpt {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
}

.blog-tile-meta {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

/* CTA banner */
.cta-banner {
    background: var(--primary);
    padding: 2.5rem 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-banner-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.cta-banner-text {
    flex-grow: 1;
}

.cta-banner h2 {
    color: #fff;
}

.cta-banner p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.85);
}

.cta-banner-button {
    flex-shrink: 0;
    background: #fff;
    color: var(--primary-dark);
    box-shadow: none;
}

.cta-banner-button:hover {
    background: #f0fdfa;
    box-shadow: none;
}

@media (max-width: 900px) {
    .hero-grid,
    .tool-title-row,
    .tool-component,
    .tool-component.compact-tool,
    .benefit-grid,
    .footer-grid,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .header-cta {
        display: none;
    }

    .nav-links {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        justify-content: stretch;
        order: 3;
        margin-top: 0.5rem;
        padding-bottom: 0.75rem;
    }

    .nav-links[data-nav-open] {
        display: grid;
    }

    .nav-links a {
        padding: 0.5rem 0.35rem;
        text-align: left;
    }

    .trust-list {
        justify-content: flex-start;
    }

    .stats-grid.stats-grid-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .admin-row-title {
        max-width: 240px;
    }

    .tool-grid,
    .category-grid,
    .stats-grid,
    .admin-grid,
    .admin-quick-grid,
    .tool-tile-grid,
    .blog-tile-grid,
    .why-us-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .directory-filters,
    .form-grid,
    .form-grid.three,
    .check-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

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

    .stats-bar-grid,
    .how-it-works {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.75rem;
    }

    .how-it-works > div::after {
        display: none;
    }

    .auth-page {
        width: min(460px, 100%);
    }

    .auth-shell-grid {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        gap: 1.25rem;
        padding: 1.5rem 1.35rem;
    }

    .auth-brand-copy h2 {
        margin-bottom: 0.85rem;
        font-size: 1.2rem;
    }

    .auth-feature-list {
        gap: 0.5rem;
    }

    .auth-panel {
        padding: 1.35rem 1.15rem 1.15rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .header-inner,
    .admin-topbar,
    .section-heading,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-inner {
        gap: 0.65rem;
        padding: 0.65rem 0;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .header-actions {
        order: 2;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .header-cta {
        display: none;
    }

    .brand-tagline {
        display: none;
    }

    .nav-links {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        justify-content: stretch;
        order: 3;
        margin-top: 0.5rem;
        padding-bottom: 0.75rem;
    }

    .nav-links[data-nav-open] {
        display: grid;
    }

    .nav-links a {
        padding: 0.5rem 0.35rem;
        text-align: left;
    }

    .hero-grid,
    .tool-title-row,
    .tool-interface,
    .tool-component,
    .tool-controls,
    .tool-preview,
    .result-panel {
        max-width: 100%;
        min-width: 0;
    }

    .hero,
    .page-hero,
    .tool-page-head {
        padding: 2rem 0 1rem;
    }

    .search-shell,
    .tool-grid,
    .category-grid,
    .stats-grid,
    .two-col-content,
    .tool-tile-grid,
    .blog-tile-grid,
    .category-row-grid,
    .stats-bar-grid,
    .how-it-works,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0.85rem;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .trust-list span,
    .card-meta span {
        white-space: normal;
    }

    .trust-list {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .trust-list span {
        text-align: center;
    }

    .benefit-grid ul {
        grid-template-columns: 1fr;
    }

    .admin-grid,
    .admin-quick-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.85rem;
    }

    .auth-shell {
        align-items: start;
        padding: 0.75rem;
    }

    .auth-shell-grid {
        border-radius: 14px;
    }

    .auth-brand-panel {
        padding: 1.25rem;
    }

    .auth-brand-copy h2 {
        font-size: 1.1rem;
    }

    .auth-panel {
        padding: 1rem 0.95rem 0.95rem;
    }

    .auth-card {
        gap: 0.9rem;
    }

    .auth-card h1 {
        font-size: 1.42rem;
    }

    .auth-help-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
}

/* FreeToolsBundle homepage theme */
body {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #f8fbff 100%);
}

button,
.button {
    border-radius: 8px;
    background: linear-gradient(135deg, #0b6bff, #0755df);
    box-shadow: 0 10px 20px rgba(11, 107, 255, 0.22);
}

button:hover,
.button:hover {
    background: linear-gradient(135deg, #075fe8, #073fb0);
    box-shadow: 0 14px 28px rgba(11, 107, 255, 0.26);
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #e6eef9;
    box-shadow: 0 8px 24px rgba(15, 35, 80, 0.045);
}

.header-inner {
    min-height: 76px;
}

.brand-icon {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(11, 107, 255, 0.12);
}

.brand-name {
    color: #071846;
    font-size: 1.28rem;
    letter-spacing: -0.03em;
}

.brand-tagline {
    color: #5e7193;
    font-size: 0.78rem;
}

.nav-links {
    gap: 1rem;
    justify-content: center;
}

.nav-links a {
    position: relative;
    border-radius: 0;
    color: #193368;
    padding: 0.55rem 0.15rem;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.is-active {
    background: transparent;
    color: var(--primary);
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.65rem;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}

.icon-button {
    border: 1px solid transparent;
    background: #fff;
    color: #071846;
    box-shadow: none;
}

.icon-button:hover {
    border-color: #d9e7fb;
    background: #f4f8ff;
    color: var(--primary);
    box-shadow: none;
}

.header-cta {
    gap: 0.5rem;
    min-height: 42px;
    border-radius: 10px;
    padding: 0.65rem 1.15rem;
}

.home-page {
    background:
        linear-gradient(180deg, rgba(239, 246, 255, 0.86), rgba(255, 255, 255, 0) 580px),
        #fff;
    color: #172b57;
}

.home-page .container {
    width: min(1180px, calc(100% - 32px));
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 2.2rem 0 0.9rem;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(2rem, 4.4vw, 4.3rem);
    align-items: center;
}

.home-hero-copy {
    position: relative;
    z-index: 2;
    padding: 1.7rem 0 2rem;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0755df;
    padding: 0.42rem 0.82rem;
    font-size: 0.84rem;
    font-weight: 850;
}

.home-hero-badge svg {
    color: #ffb000;
}

.home-hero h1 {
    max-width: 720px;
    color: #071846;
    font-size: clamp(2.85rem, 4.35vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.home-hero h1 span {
    color: var(--primary);
}

.home-hero-text {
    max-width: 650px;
    margin: 1rem 0 0;
    color: #51668d;
    font-size: 1.05rem;
    line-height: 1.6;
}

.home-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    width: min(100%, 560px);
    margin-top: 1.35rem;
    border: 1px solid #d5e3f8;
    border-radius: 12px;
    background: #fff;
    padding: 0.38rem;
    box-shadow: 0 15px 38px rgba(31, 67, 122, 0.11);
}

.home-search-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #7b8eaf;
}

.home-search input {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 0.55rem 0.2rem;
    box-shadow: none;
}

.home-search input:focus {
    box-shadow: none;
}

.home-search button {
    min-height: 40px;
    border-radius: 8px;
    padding: 0.55rem 1.45rem;
    font-size: 0.88rem;
}

.home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.8rem, 2.4vw, 2.1rem);
    margin-top: 1.4rem;
}

.home-trust-row > div {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 145px;
}

.home-trust-row strong,
.home-trust-row small {
    display: block;
}

.home-trust-row strong {
    color: #071846;
    font-size: 0.92rem;
    line-height: 1.15;
}

.home-trust-row small {
    color: #6880a5;
    font-size: 0.76rem;
}

.home-trust-icon,
.stat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 12px;
}

.home-trust-icon.blue,
.stat-icon.blue {
    background: #e9f2ff;
    color: #0b6bff;
}

.home-trust-icon.green,
.stat-icon.green {
    background: #e7f8ef;
    color: #16a05d;
}

.home-trust-icon.violet,
.stat-icon.violet {
    background: #f2ebff;
    color: #7c3aed;
}

.stat-icon.amber {
    background: #fff2d8;
    color: #f59e0b;
}

.stat-icon.red {
    background: #ffe9e9;
    color: #ef4444;
}

.home-hero-art {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.tool-window {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
    border: 1px solid #d9e6f8;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 24px 60px rgba(21, 61, 122, 0.17);
    overflow: hidden;
}

.tool-window::before {
    content: "";
    position: absolute;
    inset: 50px 22px auto;
    height: 1px;
    background: #edf3fc;
}

.tool-window-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 1.1rem 0.9rem;
}

.tool-window-bar > span {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.14);
}

.tool-window-bar .red {
    background: #ff5f57;
}

.tool-window-bar .amber {
    background: #ffbd2e;
}

.tool-window-bar .green {
    background: #28c840;
}

.tool-window-search {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    height: 34px;
    border: 1px solid #dbe8f9;
    border-radius: 999px;
    color: #7185a7;
    padding: 0 0.8rem;
}

.tool-window-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.05rem;
    padding: 1.45rem 1.45rem 1.75rem;
}

.tool-window-icon {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--accent, #0b6bff), color-mix(in srgb, var(--accent, #0b6bff), #ffffff 20%));
    color: #fff;
    box-shadow: 0 12px 22px rgba(30, 65, 120, 0.2);
    font-weight: 850;
}

.tool-window-icon.more {
    background: #f4f8ff;
    color: #243d71;
    box-shadow: inset 0 0 0 1px #dfebfa;
    font-size: 1.25rem;
}

.home-toolbox {
    position: absolute;
    z-index: 3;
    right: clamp(0.2rem, 3vw, 2rem);
    bottom: 0.8rem;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border: 1px solid #dbe8fb;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(10, 88, 210, 0.2);
}

.home-toolbox img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.art-dots {
    position: absolute;
    width: 94px;
    height: 94px;
    opacity: 0.42;
    background-image: radial-gradient(#6fb0ff 1.3px, transparent 1.3px);
    background-size: 13px 13px;
}

.dots-top {
    top: 0.7rem;
    right: 0;
}

.dots-bottom {
    bottom: 3.2rem;
    left: 0.1rem;
}

.art-arrow {
    position: absolute;
    width: 58px;
    height: 58px;
    border: 3px solid transparent;
    opacity: 0.72;
}

.art-arrow-left {
    left: 0.25rem;
    top: 40%;
    border-top-color: #b8d7ff;
    border-left-color: #b8d7ff;
    transform: rotate(-38deg);
}

.art-arrow-right {
    right: 1rem;
    top: 28%;
    border-right-color: #19b86a;
    border-bottom-color: #19b86a;
    transform: rotate(-18deg);
}

.home-stat-strip {
    padding: 0.8rem 0 1.1rem;
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    border: 1px solid #dbe8f8;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.2rem 1.3rem;
    box-shadow: 0 18px 40px rgba(28, 60, 116, 0.08);
}

.home-stat-grid > div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.home-stat-grid strong,
.home-stat-grid small {
    display: block;
}

.home-stat-grid strong {
    color: #071846;
    font-size: 1.25rem;
    line-height: 1.1;
    font-weight: 850;
}

.home-stat-grid small {
    color: #647a9f;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-section {
    padding: 2.2rem 0;
}

.home-section-tight {
    padding-top: 1.3rem;
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.home-section-heading.compact {
    align-items: center;
}

.home-section-heading h2 {
    color: #071846;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    letter-spacing: -0.03em;
}

.home-section-heading p {
    margin: 0.32rem 0 0;
    color: #667da2;
    font-size: 0.94rem;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0b6bff;
    font-size: 0.92rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.home-text-link svg,
.home-tool-action svg,
.home-cta-button svg {
    transition: transform 0.16s ease;
}

.home-text-link:hover svg,
.home-tool-card:hover .home-tool-action svg,
.home-cta-button:hover svg {
    transform: translateX(3px);
}

.home-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.home-tool-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    column-gap: 0.8rem;
    row-gap: 0.55rem;
    min-height: 150px;
    align-content: start;
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    padding: 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.06);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.home-tool-card:hover {
    border-color: color-mix(in srgb, var(--accent, #0b6bff), #ffffff 25%);
    box-shadow: 0 18px 38px rgba(30, 65, 120, 0.13);
    transform: translateY(-3px);
}

.home-tool-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.home-tool-card strong {
    align-self: center;
    color: #071846;
    font-size: 0.95rem;
    line-height: 1.2;
}

.home-tool-card small {
    display: block;
    grid-column: 1 / -1;
    margin-top: 0.05rem;
    color: #647a9f;
    font-size: 0.76rem;
    line-height: 1.4;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

.home-tool-action {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    grid-column: 1 / -1;
    align-self: end;
    margin-top: 0.25rem;
    color: var(--accent, #0b6bff);
    font-size: 0.82rem;
    font-weight: 850;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-category-card,
.recent-tool-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 76px;
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    padding: 0.85rem 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(30, 65, 120, 0.05);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.home-category-card:hover,
.recent-tool-card:hover {
    border-color: color-mix(in srgb, var(--accent, #0b6bff), #ffffff 25%);
    box-shadow: 0 16px 30px rgba(30, 65, 120, 0.11);
    transform: translateY(-2px);
}

.home-category-icon,
.recent-tool-icon {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 45px;
    height: 45px;
    flex: 0 0 auto;
    border-radius: 13px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.home-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-category-card span:nth-child(2),
.recent-tool-card span:nth-child(2) {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.home-category-card strong,
.recent-tool-card strong {
    color: #071846;
    font-size: 0.95rem;
    line-height: 1.2;
}

.home-category-card small,
.recent-tool-card small {
    color: #6a7fa1;
    font-size: 0.78rem;
}

.home-card-arrow {
    flex: 0 0 auto;
    color: #6f86aa;
}

.recent-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.business-tools-panel {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 1.25rem;
    align-items: center;
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(30, 65, 120, 0.08);
}

.business-tools-panel p {
    margin: 0.4rem 0 0;
    color: #667da2;
}

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

.business-tool-grid a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 12px;
    background: var(--accent-soft, #eef6ff);
    color: #071846;
    padding: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.home-steps > div {
    position: relative;
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    padding: 1rem 1rem 1.05rem;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.05);
}

.home-step-head {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    min-width: 0;
}

.home-step-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 10px;
}

.home-step-icon.blue,
.tools-hub-step-icon.blue {
    background: #e9f2ff;
    color: #0b6bff;
}

.home-step-icon.green,
.tools-hub-step-icon.green {
    background: #e7f8ef;
    color: #16a05d;
}

.home-step-icon.violet,
.tools-hub-step-icon.violet {
    background: #f2ebff;
    color: #7c3aed;
}

.home-step-icon.amber {
    background: #fff2d8;
    color: #f59e0b;
}

.tools-hub-step-icon.amber {
    background: #fff2d8;
    color: #f59e0b;
}

.home-steps h3 {
    min-width: 0;
    color: #071846;
    font-size: 0.96rem;
}

.home-steps p {
    margin: 0.34rem 0 0;
    color: #667da2;
    font-size: 0.82rem;
    line-height: 1.45;
}

.home-why-panel {
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    padding: 1.2rem;
    box-shadow: 0 12px 30px rgba(30, 65, 120, 0.07);
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.home-why-grid > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.2rem 0.75rem;
    align-items: center;
    min-width: 0;
}

.home-why-grid .stat-icon {
    grid-row: span 2;
}

.home-why-grid strong {
    color: #071846;
    font-size: 0.88rem;
}

.home-why-grid small {
    color: #667da2;
    font-size: 0.76rem;
    line-height: 1.35;
}

.guide-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 2rem;
    align-items: start;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    align-items: stretch;
    gap: 1rem;
}

.home-blog-grid .blog-tile {
    height: 100%;
}

.home-blog-grid .blog-tile a {
    grid-template-rows: 136px minmax(0, 1fr);
    border: 1px solid #dce8f8;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.06);
}

.home-blog-grid .blog-tile-thumb {
    height: 136px;
    background:
        linear-gradient(135deg, rgba(11, 107, 255, 0.15), rgba(255, 176, 0, 0.12)),
        #eef6ff;
    color: #0b6bff;
}

.home-blog-grid .blog-tile-body {
    min-height: 258px;
}

.home-blog-grid .blog-tile-title {
    color: #071846;
    font-size: 0.96rem;
}

.home-blog-grid .blog-tile-excerpt {
    font-size: 0.82rem;
    line-height: 1.45;
}

.home-faq-list {
    display: grid;
    gap: 0.7rem;
}

.home-faq-list details {
    border: 1px solid #dce8f8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(30, 65, 120, 0.045);
    overflow: hidden;
}

.home-faq-list summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 0.85rem 2.2rem 0.85rem 0.95rem;
    color: #071846;
    font-size: 0.92rem;
    font-weight: 800;
}

.home-faq-list summary::-webkit-details-marker {
    display: none;
}

.home-faq-list summary::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #60789f;
    border-bottom: 2px solid #60789f;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.16s ease;
}

.home-faq-list details[open] summary::after {
    transform: translateY(-35%) rotate(225deg);
}

.home-faq-list p {
    margin: 0;
    border-top: 1px solid #edf3fc;
    color: #647a9f;
    padding: 0 0.95rem 0.9rem;
    font-size: 0.88rem;
}

.home-faq-list a {
    color: #0b6bff;
    font-weight: 800;
    text-decoration: none;
}

.home-cta-band {
    padding: 0.2rem 0 2.4rem;
}

.home-cta-inner {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b74ff, #0058ed 58%, #0847bd);
    color: #fff;
    padding: 1.2rem 1.45rem;
    box-shadow: 0 20px 46px rgba(11, 107, 255, 0.25);
}

.home-cta-icon {
    display: grid;
    place-items: center;
    width: 98px;
    height: 74px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.13);
}

.home-cta-icon img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.home-cta-inner h2 {
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.home-cta-inner p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.home-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    margin-left: auto;
    border-radius: 10px;
    background: #fff;
    color: #0755df;
    padding: 0.8rem 1.35rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(3, 30, 90, 0.16);
}

.home-cta-button:hover {
    background: #f4f8ff;
}

.site-footer {
    border-top: 1px solid #dce8f8;
    background: #fbfdff;
    color: #243b68;
}

.footer-brand .brand,
.footer-brand .brand-name {
    color: #071846;
}

.footer-brand p,
.footer-bottom {
    color: #667da2;
}

.site-footer h2 {
    color: #071846;
}

.site-footer a {
    color: #304a79;
}

.site-footer a:hover {
    color: #0b6bff;
}

.footer-bottom {
    border-top-color: #dce8f8;
}

@media (max-width: 1120px) {
    .home-tool-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid,
    .recent-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 900px) {
    .home-hero-grid,
    .guide-faq-layout,
    .business-tools-panel {
        grid-template-columns: 1fr;
    }

    .home-hero-art {
        min-height: 360px;
    }

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

    .home-blog-grid,
    .home-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .business-tool-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-page .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-name {
        font-size: 1.08rem;
    }

    .nav-links a.is-active::after,
    .nav-links a:hover::after {
        display: none;
    }

    .home-hero {
        padding-top: 1.2rem;
    }

    .home-hero-copy {
        padding: 0.9rem 0 1rem;
    }

    .home-hero h1 {
        font-size: 2.32rem;
        letter-spacing: -0.035em;
    }

    .home-hero-text {
        font-size: 0.98rem;
    }

    .home-search {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .home-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .home-trust-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .home-trust-row > div {
        min-width: 0;
    }

    .home-hero-art {
        min-height: 300px;
    }

    .tool-window {
        width: 100%;
        border-radius: 18px;
    }

    .tool-window-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 1.1rem;
    }

    .home-toolbox {
        right: 0.2rem;
        bottom: 0;
        width: 98px;
        height: 98px;
        border-radius: 22px;
    }

    .home-toolbox img {
        width: 76px;
        height: 76px;
    }

    .art-dots,
    .art-arrow {
        display: none;
    }

    .home-stat-grid,
    .home-tool-grid,
    .home-category-grid,
    .recent-tool-grid,
    .home-blog-grid,
    .home-steps,
    .home-why-grid {
        grid-template-columns: 1fr;
    }

    .home-section {
        padding: 1.55rem 0;
    }

    .home-section-heading,
    .home-section-heading.compact {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-tool-card {
        min-height: 0;
    }

    .home-why-grid > div {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .home-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-cta-button {
        width: 100%;
        margin-left: 0;
    }
}

/* Tool detail page theme */
.tool-detail-page {
    --tool-accent: var(--primary);
    --tool-soft: #eef6ff;
    background:
        linear-gradient(180deg, #f6fbff 0%, #ffffff 520px),
        #fff;
    color: #172b57;
}

.tool-detail-page .container {
    width: min(1280px, calc(100% - 32px));
}

.tool-detail-head {
    padding: 2rem 0 0.7rem;
}

.tool-detail-page .breadcrumbs {
    margin-bottom: 1.15rem;
    color: #5f7498;
    font-size: 0.86rem;
    font-weight: 750;
}

.tool-detail-page .breadcrumbs a {
    color: #193568;
}

.tool-detail-page .breadcrumbs li:not(:last-child)::after {
    content: ">";
    margin-left: 0.4rem;
    color: #94a8c5;
}

.tool-head-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: start;
}

.tool-title-line {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tool-title-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--tool-soft);
    color: var(--tool-accent);
    box-shadow: 0 10px 22px rgba(30, 65, 120, 0.08);
}

.tool-title-line h1 {
    color: #071846;
    font-size: clamp(2.05rem, 4.2vw, 3.45rem);
    letter-spacing: -0.035em;
}

.tool-head-copy > p {
    max-width: 760px;
    margin: 0.85rem 0 0;
    color: #526991;
    font-size: 1rem;
    line-height: 1.6;
}

.tool-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.15rem;
}

.tool-trust-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    border: 1px solid #dce8f8;
    border-radius: 999px;
    background: #fff;
    color: #17376f;
    padding: 0.45rem 0.78rem;
    font-size: 0.84rem;
    font-weight: 850;
    box-shadow: 0 6px 16px rgba(30, 65, 120, 0.045);
}

.tool-trust-pills .blue {
    color: #0b6bff;
}

.tool-trust-pills .green {
    color: #12a661;
}

.tool-trust-pills .violet {
    color: #7c3aed;
}

.tool-share {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-top: 1.9rem;
}

.tool-share span {
    color: #60779c;
    font-size: 0.86rem;
    font-weight: 750;
}

.tool-share a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #dce8f8;
    border-radius: 999px;
    background: #fff;
    color: #0b6bff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(30, 65, 120, 0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.tool-share a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(30, 65, 120, 0.12);
}

.future-ad-slot {
    display: grid;
    place-items: center;
    min-height: 84px;
    margin: 1.35rem 0 1.55rem;
    border: 1px dashed #bcd0ed;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.92)),
        #fff;
    color: #60789f;
    text-align: center;
}

.future-ad-slot span,
.future-ad-slot small {
    display: block;
}

.future-ad-slot span {
    color: #637da6;
    font-size: 0.95rem;
    font-weight: 800;
}

.future-ad-slot small {
    color: #8aa0bf;
    font-size: 0.78rem;
    font-weight: 700;
}

.future-ad-slot-box {
    min-height: 250px;
    margin: 0;
}

.tool-detail-page .ad-slot {
    border-color: #bcd0ed;
    background: #fff;
}

.tool-workspace {
    padding: 0.35rem 0 1rem;
}

.tool-app-card {
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 45px rgba(30, 65, 120, 0.1);
    overflow: hidden;
}

.tool-app-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e7eef9;
    padding: 1.25rem 1.35rem;
}

.tool-app-card-head h2 {
    color: #071846;
    font-size: 1.25rem;
}

.tool-app-card-head span {
    max-width: 520px;
    color: #647a9f;
    font-size: 0.86rem;
    text-align: right;
}

.tool-detail-page .tool-interface {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 1.35rem;
}

.tool-detail-page .tool-component {
    grid-template-columns: minmax(260px, 370px) minmax(0, 1fr);
    gap: 1.25rem;
}

.tool-detail-page .tool-component.compact-tool {
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
}

.tool-detail-page .tool-component.text-tool {
    grid-template-columns: 1fr;
}

.tool-detail-page .tool-controls,
.tool-detail-page .tool-preview,
.tool-detail-page .result-panel,
.tool-detail-page .stats-grid div {
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.045);
}

.tool-detail-page .tool-controls {
    padding: 1.1rem;
}

.tool-detail-page .tool-preview,
.tool-detail-page .result-panel {
    min-height: 300px;
    border-style: dashed;
    border-color: #9cc5ff;
    background: linear-gradient(180deg, #fbfdff, #f7fbff);
}

.tool-detail-page input,
.tool-detail-page select,
.tool-detail-page textarea {
    border-color: #cfddf1;
    border-radius: 10px;
}

.tool-detail-page input:focus,
.tool-detail-page select:focus,
.tool-detail-page textarea:focus {
    border-color: #0b6bff;
    box-shadow: 0 0 0 3px rgba(11, 107, 255, 0.12);
}

.tool-detail-page input[type="file"]::file-selector-button {
    border-radius: 8px;
    background: #0b6bff;
}

.tool-detail-page .secondary {
    background: #eef5ff;
    color: #0755df;
}

.tool-support-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tool-support-strip > div {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid #dce8f8;
    border-radius: 13px;
    background: #fff;
    padding: 1rem 1.15rem;
    box-shadow: 0 10px 24px rgba(30, 65, 120, 0.055);
}

.tool-support-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 12px;
}

.tool-support-icon.blue {
    background: #e9f2ff;
    color: #0b6bff;
}

.tool-support-icon.green {
    background: #e7f8ef;
    color: #16a05d;
}

.tool-support-icon.amber {
    background: #fff2d8;
    color: #e59a08;
}

.tool-support-strip strong,
.tool-support-strip small {
    display: block;
}

.tool-support-strip strong {
    color: #071846;
    font-size: 0.9rem;
}

.tool-support-strip small {
    color: #667da2;
    font-size: 0.78rem;
    line-height: 1.45;
}

.tool-content-section {
    padding: 1rem 0 0.4rem;
}

.tool-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 1.35rem;
    align-items: start;
}

.tool-content-card,
.tool-sidebar-card,
.tool-related-card {
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(30, 65, 120, 0.055);
}

.tool-content-card {
    padding: 1.45rem 1.6rem;
}

.tool-content-card .intro-content > :first-child {
    margin-top: 0;
}

.tool-info-block {
    margin-top: 1.65rem;
}

.tool-info-block:first-child {
    margin-top: 0;
}

.tool-info-block h2,
.tool-faq-section h2,
.tool-related-card h2,
.tool-request-cta h2,
.tool-business-cta h2 {
    color: #071846;
    font-size: 1.28rem;
    letter-spacing: -0.025em;
}

.tool-info-block p,
.tool-content-card .rich-content p,
.tool-info-block li {
    color: #526991;
    font-size: 0.96rem;
    line-height: 1.72;
}

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

.tool-step-list,
.tool-check-list {
    display: grid;
    gap: 0.7rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.tool-step-list {
    counter-reset: tool-step;
}

.tool-step-list li,
.tool-check-list li {
    position: relative;
    padding-left: 1.75rem;
}

.tool-step-list li::before {
    counter-increment: tool-step;
    content: counter(tool-step);
    position: absolute;
    left: 0;
    top: 0.2rem;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 999px;
    background: #0b6bff;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 850;
}

.tool-check-list li::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.56rem;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: #22c55e;
}

.tool-check-list li::after {
    content: "";
    position: absolute;
    left: 0.42rem;
    top: 0.78rem;
    width: 5px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.tool-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 92px;
}

.tool-sidebar-card {
    padding: 1.15rem;
}

.tool-sidebar-card h2 {
    margin-bottom: 0.85rem;
    font-size: 1.08rem;
}

.tool-sidebar-list {
    display: grid;
    gap: 0.75rem;
}

.tool-sidebar-list a,
.tool-guide-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    color: #172b57;
    text-decoration: none;
}

.tool-sidebar-list a > span:first-child,
.tool-category-mini-grid a > span:first-child {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--tool-soft);
    color: var(--tool-accent);
}

.tool-sidebar-list strong,
.tool-sidebar-list small,
.tool-guide-list strong,
.tool-guide-list small,
.tool-category-mini-grid strong,
.tool-category-mini-grid small {
    display: block;
}

.tool-sidebar-list strong,
.tool-guide-list strong,
.tool-category-mini-grid strong {
    color: #071846;
    font-size: 0.86rem;
    line-height: 1.25;
}

.tool-sidebar-list small,
.tool-guide-list small,
.tool-category-mini-grid small {
    display: -webkit-box;
    overflow: hidden;
    color: #667da2;
    font-size: 0.76rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tool-sidebar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 1rem;
    border-radius: 10px;
    background: #eef5ff;
    color: #0755df;
    padding: 0.75rem;
    font-weight: 850;
    text-decoration: none;
}

.tool-faq-section {
    padding: 0.75rem 0 1.5rem;
}

.tool-faq-section h2 {
    margin-bottom: 0.9rem;
}

.tool-faq-list {
    display: grid;
    gap: 0.7rem;
}

.tool-faq-list details {
    border: 1px solid #dce8f8;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(30, 65, 120, 0.045);
    overflow: hidden;
}

.tool-faq-list summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 0.95rem 2.4rem 0.95rem 1.1rem;
    color: #071846;
    font-weight: 850;
}

.tool-faq-list summary::-webkit-details-marker {
    display: none;
}

.tool-faq-list summary::after {
    content: "";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #60789f;
    border-bottom: 2px solid #60789f;
    transform: translateY(-65%) rotate(45deg);
}

.tool-faq-list details[open] summary::after {
    transform: translateY(-35%) rotate(225deg);
}

.tool-faq-list div {
    border-top: 1px solid #edf3fc;
    color: #526991;
    padding: 0.95rem 1.1rem;
}

.tool-faq-list p {
    margin: 0;
}

.tool-related-section {
    padding: 0.75rem 0 1.7rem;
}

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

.tool-related-card {
    padding: 1.2rem;
}

.tool-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tool-related-head h2 {
    font-size: 1.08rem;
}

.tool-related-head a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0b6bff;
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.tool-guide-list {
    display: grid;
    gap: 0.9rem;
}

.tool-guide-thumb {
    display: grid;
    place-items: center;
    width: 70px;
    height: 54px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(11, 107, 255, 0.12), rgba(255, 176, 0, 0.12)),
        #eef6ff;
    color: #0b6bff;
}

.tool-category-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.tool-category-mini-grid a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    border: 1px solid #e4edf9;
    border-radius: 12px;
    color: #172b57;
    padding: 0.75rem;
    text-decoration: none;
}

.tool-request-cta,
.tool-business-cta {
    padding: 0 0 2.4rem;
}

.tool-request-cta-inner,
.tool-business-cta-inner {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(11, 107, 255, 0.12), rgba(255, 255, 255, 0.96)),
        #eef6ff;
    padding: 1.4rem 1.6rem;
}

.tool-request-cta-inner img {
    width: 104px;
    height: 104px;
    object-fit: contain;
}

.tool-request-cta h2,
.tool-business-cta h2 {
    font-size: 1.35rem;
}

.tool-request-cta p,
.tool-business-cta p {
    margin: 0.3rem 0 0.85rem;
    color: #526991;
}

.tool-request-cta .button,
.tool-business-cta .button {
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.65rem 1rem;
}

.tool-business-cta-inner {
    justify-content: space-between;
    background: linear-gradient(135deg, #0b74ff, #0058ed 58%, #0847bd);
}

.tool-business-cta h2,
.tool-business-cta p {
    color: #fff;
}

.tool-business-cta .button {
    flex: 0 0 auto;
    background: #fff;
    color: #0755df;
    box-shadow: none;
}

@media (max-width: 980px) {
    .tool-head-grid,
    .tool-content-layout,
    .tool-related-grid {
        grid-template-columns: 1fr;
    }

    .tool-share {
        justify-content: flex-start;
        padding-top: 0;
    }

    .tool-sidebar {
        position: static;
    }

    .tool-detail-page .tool-component,
    .tool-detail-page .tool-component.compact-tool {
        grid-template-columns: 1fr;
    }

    .tool-support-strip,
    .tool-info-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tool-detail-page .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .tool-detail-head {
        padding-top: 1.35rem;
    }

    .tool-title-line {
        align-items: flex-start;
    }

    .tool-title-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .tool-title-line h1 {
        font-size: 2rem;
    }

    .tool-trust-pills {
        gap: 0.55rem;
    }

    .tool-trust-pills span {
        min-height: 34px;
        font-size: 0.78rem;
        padding: 0.4rem 0.62rem;
    }

    .tool-share {
        flex-wrap: wrap;
    }

    .future-ad-slot {
        min-height: 76px;
        margin: 1rem 0;
    }

    .future-ad-slot-box {
        min-height: 210px;
    }

    .tool-app-card-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem;
    }

    .tool-app-card-head span {
        text-align: left;
    }

    .tool-detail-page .tool-interface {
        padding: 1rem;
    }

    .tool-detail-page .tool-controls {
        padding: 0.9rem;
    }

    .field-row,
    .tool-category-mini-grid {
        grid-template-columns: 1fr;
    }

    .tool-support-strip > div,
    .tool-request-cta-inner,
    .tool-business-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .tool-content-card,
    .tool-sidebar-card,
    .tool-related-card {
        padding: 1rem;
    }

    .tool-guide-list a {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .tool-guide-thumb {
        width: 58px;
        height: 48px;
    }

    .tool-request-cta-inner img {
        width: 84px;
        height: 84px;
    }
}

/* All tools hub page */
.tools-hub-page {
    background:
        radial-gradient(circle at 80% 18%, rgba(124, 58, 237, 0.06), transparent 24rem),
        linear-gradient(180deg, #f8fbff 0%, #fff 50%, #f8fbff 100%);
    color: #172b57;
}

.tools-hub-page .container {
    width: min(1280px, calc(100% - 32px));
}

.tools-hub-hero {
    position: relative;
    overflow: hidden;
    padding: 2.8rem 0 1.6rem;
}

.tools-hub-hero::before,
.tools-hub-hero::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 95px;
    opacity: 0.36;
    background-image: radial-gradient(#7db8ff 1.2px, transparent 1.2px);
    background-size: 12px 12px;
}

.tools-hub-hero::before {
    left: 32%;
    top: 28%;
}

.tools-hub-hero::after {
    right: 4%;
    top: 35%;
}

.tools-hub-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.tools-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0755df;
    padding: 0.42rem 0.82rem;
    font-size: 0.82rem;
    font-weight: 850;
}

.tools-hub-badge svg {
    color: #14b8a6;
}

.tools-hub-copy h1 {
    max-width: 610px;
    color: #071846;
    font-size: clamp(2.8rem, 4.4vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.tools-hub-copy h1 span {
    color: #0b6bff;
}

.tools-hub-copy > p:not(.tools-hub-badge) {
    max-width: 540px;
    margin: 1rem 0 0;
    color: #526991;
    font-size: 1rem;
    line-height: 1.6;
}

.tools-hub-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    width: min(100%, 620px);
    margin-top: 1.5rem;
    border: 1px solid #d5e3f8;
    border-radius: 13px;
    background: #fff;
    padding: 0.4rem;
    box-shadow: 0 16px 38px rgba(31, 67, 122, 0.11);
}

.tools-hub-search > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #7b8eaf;
}

.tools-hub-search input {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 0.55rem 0.2rem;
    box-shadow: none;
}

.tools-hub-search input:focus {
    box-shadow: none;
}

.tools-hub-search button {
    min-height: 40px;
    border-radius: 9px;
    padding: 0.55rem 1.2rem;
    font-size: 0.86rem;
}

.tools-hub-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.9rem, 2vw, 1.6rem);
    margin-top: 1.6rem;
}

.tools-hub-stats > div {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.tools-hub-stat-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
}

.tools-hub-stat-icon.blue {
    background: #e9f2ff;
    color: #0b6bff;
}

.tools-hub-stat-icon.green {
    background: #e7f8ef;
    color: #16a05d;
}

.tools-hub-stat-icon.violet {
    background: #f2ebff;
    color: #7c3aed;
}

.tools-hub-stats strong,
.tools-hub-stats small {
    display: block;
}

.tools-hub-stats strong {
    color: #071846;
    font-size: 1.15rem;
    line-height: 1.1;
    font-weight: 850;
}

.tools-hub-stats small {
    color: #667da2;
    font-size: 0.76rem;
    font-weight: 700;
}

.tools-hub-popular-panel,
.tools-hub-mini-card,
.tools-directory-panel {
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 36px rgba(30, 65, 120, 0.07);
}

.tools-hub-popular-panel {
    padding: 1.5rem;
}

.tools-hub-panel-head,
.tools-hub-section-head,
.tools-hub-mini-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tools-hub-panel-head {
    margin-bottom: 1.2rem;
}

.tools-hub-panel-head h2,
.tools-hub-section-head h2,
.tools-hub-mini-head h2,
.tools-hub-mini-card > h2,
.tools-directory-panel h2 {
    color: #071846;
    font-size: 1.18rem;
    letter-spacing: -0.025em;
}

.tools-hub-panel-head a,
.tools-hub-section-head a,
.tools-hub-mini-head a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0b6bff;
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.tools-hub-popular-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.tools-hub-popular-grid a {
    display: grid;
    place-items: center;
    gap: 0.65rem;
    min-height: 112px;
    border: 1px solid #dce8f8;
    border-radius: 13px;
    background: #fff;
    color: #071846;
    padding: 0.85rem;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.tools-hub-popular-grid a:hover {
    border-color: color-mix(in srgb, var(--accent, #0b6bff), #ffffff 25%);
    box-shadow: 0 14px 28px rgba(30, 65, 120, 0.12);
    transform: translateY(-2px);
}

.tools-hub-popular-grid a > span {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 13px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.tools-hub-popular-grid strong {
    font-size: 0.86rem;
    line-height: 1.2;
}

.tools-hub-popular-grid .tools-hub-more-tile > span {
    background: linear-gradient(145deg, #22c55e, #12b981);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 850;
}

.tools-hub-section {
    padding: 1.3rem 0;
}

.tools-hub-category-section {
    padding-top: 0.8rem;
}

.tools-hub-section-head {
    margin-bottom: 1rem;
}

.tools-hub-section-head p {
    margin: 0.25rem 0 0;
    color: #667da2;
}

.tools-hub-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tools-hub-category-grid a {
    display: grid;
    place-items: center;
    min-height: 116px;
    border: 1px solid #dce8f8;
    border-radius: 13px;
    background: #fff;
    color: #071846;
    padding: 0.9rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.045);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.tools-hub-category-grid a:hover {
    border-color: color-mix(in srgb, var(--accent, #0b6bff), #ffffff 25%);
    box-shadow: 0 15px 30px rgba(30, 65, 120, 0.11);
    transform: translateY(-2px);
}

.tools-hub-category-grid a > span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
    border-radius: 13px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.tools-hub-category-grid strong,
.tools-hub-category-grid small {
    display: block;
}

.tools-hub-category-grid strong {
    font-size: 0.9rem;
}

.tools-hub-category-grid small {
    color: #667da2;
    font-size: 0.76rem;
    font-weight: 700;
}

.tools-hub-view-all-category > span {
    background: #e9f2ff;
    color: #0b6bff;
}

.tools-hub-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.tools-hub-mini-card {
    padding: 1.15rem;
}

.tools-hub-mini-head {
    margin-bottom: 0.8rem;
}

.tools-hub-list {
    display: grid;
    gap: 0.72rem;
}

.tools-hub-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    color: #172b57;
    text-decoration: none;
}

.tools-hub-list-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.tools-hub-list strong,
.tools-hub-list small {
    display: block;
}

.tools-hub-list strong {
    color: #071846;
    font-size: 0.84rem;
    line-height: 1.2;
}

.tools-hub-list small {
    display: -webkit-box;
    overflow: hidden;
    color: #667da2;
    font-size: 0.73rem;
    line-height: 1.3;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.tools-hub-list em {
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    padding: 0.2rem 0.45rem;
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 850;
    text-transform: uppercase;
}

.tools-hub-step-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.tools-hub-steps-card > p {
    margin: 0.35rem 0 0;
    color: #667da2;
    font-size: 0.78rem;
    line-height: 1.42;
}

.tools-hub-step-list > div {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    align-items: start;
}

.tools-hub-step-list > div:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 34px;
    bottom: -12px;
    border-left: 2px dashed #bfd6fb;
}

.tools-hub-step-list span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    grid-row: span 2;
    border-radius: 10px;
}

.tools-hub-step-list strong,
.tools-hub-why-card li strong {
    color: #071846;
    font-size: 0.88rem;
}

.tools-hub-step-list small,
.tools-hub-why-card li small {
    color: #667da2;
    font-size: 0.78rem;
    line-height: 1.42;
}

.tools-hub-why-card ul {
    display: grid;
    gap: 0.82rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.tools-hub-why-card li {
    position: relative;
    padding-left: 2rem;
}

.tools-hub-why-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 23px;
    height: 23px;
    border-radius: 999px;
    background: #22c55e;
}

.tools-hub-why-card li::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.tools-hub-why-card li strong,
.tools-hub-why-card li small {
    display: block;
}

.tools-directory-panel {
    padding: 1.25rem;
}

.tools-directory-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) minmax(150px, 190px) auto;
    gap: 0.75rem;
    margin: 1rem 0 1.1rem;
}

.tools-directory-filters input,
.tools-directory-filters select {
    border-color: #cfddf1;
    border-radius: 10px;
}

.tools-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.9rem;
}

.tools-directory-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    border: 1px solid #e0e9f7;
    border-radius: 13px;
    background: #fff;
    color: #172b57;
    padding: 0.95rem;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.tools-directory-card:hover {
    border-color: color-mix(in srgb, var(--accent, #0b6bff), #ffffff 25%);
    box-shadow: 0 14px 28px rgba(30, 65, 120, 0.1);
    transform: translateY(-2px);
}

.tools-directory-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    grid-row: span 2;
    border-radius: 12px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.tools-directory-card strong,
.tools-directory-card small {
    display: block;
}

.tools-directory-card strong {
    color: #071846;
    font-size: 0.95rem;
}

.tools-directory-card small {
    color: #667da2;
    font-size: 0.8rem;
    line-height: 1.45;
}

.tools-directory-card em {
    grid-column: 2;
    justify-self: start;
    border-radius: 999px;
    background: #f2f7ff;
    color: #516a93;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.tools-empty-state {
    border: 1px dashed #bcd0ed;
    border-radius: 13px;
    background: #f8fbff;
    padding: 1.25rem;
    text-align: center;
}

.tools-empty-state h3 {
    color: #071846;
}

.tools-empty-state p {
    color: #667da2;
}

.tools-hub-cta-row {
    margin-top: 1rem;
    background: linear-gradient(135deg, rgba(11, 107, 255, 0.08), rgba(255, 255, 255, 0.7));
    padding: 1.25rem 0;
}

.tools-hub-cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr;
    gap: 1.25rem;
    align-items: center;
}

.tools-hub-request,
.tools-hub-share,
.tools-hub-newsletter {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.tools-hub-request img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    grid-row: span 2;
}

.tools-hub-request strong,
.tools-hub-share strong,
.tools-hub-newsletter strong,
.tools-hub-request small,
.tools-hub-share small,
.tools-hub-newsletter small {
    display: block;
}

.tools-hub-request strong,
.tools-hub-share strong,
.tools-hub-newsletter strong {
    color: #071846;
    font-size: 1.05rem;
}

.tools-hub-request small,
.tools-hub-share small,
.tools-hub-newsletter small {
    color: #526991;
    font-size: 0.82rem;
}

.tools-hub-request .button {
    grid-column: 2;
    justify-self: start;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
}

.tools-hub-share-icon,
.tools-hub-mail-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    grid-row: span 2;
    border-radius: 14px;
}

.tools-hub-share-icon {
    background: #fff2d8;
    color: #f4b000;
}

.tools-hub-mail-icon {
    background: #eee9ff;
    color: #7c3aed;
}

.tools-hub-share a {
    grid-column: 2;
    justify-self: start;
    border: 1px solid #d6e5fa;
    border-radius: 10px;
    background: #fff;
    color: #0b6bff;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 850;
    text-decoration: none;
}

.tools-hub-newsletter {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.tools-hub-newsletter label {
    display: grid;
    gap: 0.25rem;
}

.tools-hub-newsletter input {
    min-height: 40px;
    margin-top: 0.2rem;
    border-color: #cfddf1;
    border-radius: 10px;
}

.tools-hub-newsletter button {
    align-self: end;
    min-height: 40px;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
}

@media (max-width: 1120px) {
    .tools-hub-hero-grid,
    .tools-hub-cta-grid {
        grid-template-columns: 1fr;
    }

    .tools-hub-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .tools-hub-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tools-directory-filters,
    .tools-hub-newsletter {
        grid-template-columns: 1fr;
    }

    .tools-hub-newsletter button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .tools-hub-page .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .tools-hub-hero {
        padding: 1.4rem 0 1rem;
    }

    .tools-hub-hero::before,
    .tools-hub-hero::after {
        display: none;
    }

    .tools-hub-copy h1 {
        font-size: 2.35rem;
    }

    .tools-hub-search {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tools-hub-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .tools-hub-stats,
    .tools-hub-section-head,
    .tools-hub-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .tools-hub-popular-panel,
    .tools-hub-mini-card,
    .tools-directory-panel {
        padding: 1rem;
    }

    .tools-hub-category-grid,
    .tools-hub-dashboard-grid,
    .tools-directory-grid {
        grid-template-columns: 1fr;
    }

    .tools-hub-category-grid a {
        grid-template-columns: auto minmax(0, 1fr);
        place-items: center start;
        min-height: 72px;
        text-align: left;
    }

    .tools-hub-category-grid a > span {
        grid-row: span 2;
        margin: 0;
    }

    .tools-hub-request,
    .tools-hub-share {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tools-hub-request .button,
    .tools-hub-share a {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
    }
}

/* Categories hub page */
.categories-hub-page {
    background:
        radial-gradient(circle at 82% 11%, rgba(11, 107, 255, 0.08), transparent 22rem),
        linear-gradient(180deg, #f8fbff 0%, #fff 52%, #f8fbff 100%);
    color: #172b57;
}

.categories-hub-page .container {
    width: min(1280px, calc(100% - 32px));
}

.categories-hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 1.4rem;
}

.categories-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.categories-hub-page .breadcrumbs {
    margin-bottom: 1.5rem;
    color: #5f7498;
    font-size: 0.86rem;
    font-weight: 750;
}

.categories-hub-page .breadcrumbs a {
    color: #193568;
}

.categories-hub-page .breadcrumbs li:not(:last-child)::after {
    content: ">";
    margin-left: 0.4rem;
    color: #94a8c5;
}

.categories-hero-copy h1 {
    max-width: 740px;
    color: #071846;
    font-size: clamp(2.6rem, 4.8vw, 4.15rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.categories-hero-copy > p {
    max-width: 720px;
    margin: 1rem 0 0;
    color: #526991;
    font-size: 1rem;
    line-height: 1.68;
}

.categories-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    width: min(100%, 620px);
    margin-top: 1.8rem;
    border: 1px solid #d5e3f8;
    border-radius: 13px;
    background: #fff;
    padding: 0.4rem;
    box-shadow: 0 16px 38px rgba(31, 67, 122, 0.11);
}

.categories-search > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #7b8eaf;
}

.categories-search input {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 0.55rem 0.2rem;
    box-shadow: none;
}

.categories-search input:focus {
    box-shadow: none;
}

.categories-search button {
    min-height: 40px;
    border-radius: 9px;
    padding: 0.55rem 1.35rem;
    font-size: 0.86rem;
}

.categories-hero-art {
    position: relative;
    min-height: 285px;
    display: grid;
    place-items: center;
}

.categories-hero-art::before,
.categories-hero-art::after {
    content: "";
    position: absolute;
    width: 88px;
    height: 88px;
    opacity: 0.38;
    background-image: radial-gradient(#75b2ff 1.2px, transparent 1.2px);
    background-size: 12px 12px;
}

.categories-hero-art::before {
    left: 0;
    top: 15%;
}

.categories-hero-art::after {
    right: 0;
    bottom: 16%;
}

.categories-window {
    position: relative;
    z-index: 1;
    width: min(100%, 370px);
    border: 1px solid #d9e6f8;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 52px rgba(21, 61, 122, 0.16);
    overflow: hidden;
}

.categories-window-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.95rem 1rem 0.8rem;
}

.categories-window-bar > span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.categories-window-bar .red {
    background: #ff5f57;
}

.categories-window-bar .amber {
    background: #ffbd2e;
}

.categories-window-bar .green {
    background: #28c840;
}

.categories-window-bar div {
    flex: 1;
    height: 28px;
    border: 1px solid #dbe8f9;
    border-radius: 999px;
    background: #f8fbff;
}

.categories-window-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 1rem 1.1rem 1.35rem;
}

.categories-window-grid span {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: 0 10px 20px rgba(30, 65, 120, 0.12);
}

.categories-magnifier {
    position: absolute;
    z-index: 2;
    right: 1.2rem;
    bottom: 1.5rem;
    width: 88px;
    height: 88px;
    border: 9px solid #1976ff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 26px rgba(25, 118, 255, 0.22);
}

.categories-magnifier::after {
    content: "";
    position: absolute;
    right: -33px;
    bottom: -20px;
    width: 50px;
    height: 13px;
    border-radius: 999px;
    background: #0b6bff;
    transform: rotate(45deg);
}

.categories-section {
    padding: 1.25rem 0;
}

.categories-main-section {
    padding-top: 0.7rem;
}

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

.categories-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    min-height: 180px;
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    color: #172b57;
    padding: 1.2rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(30, 65, 120, 0.055);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.categories-card:hover {
    border-color: color-mix(in srgb, var(--accent, #0b6bff), #ffffff 25%);
    box-shadow: 0 18px 38px rgba(30, 65, 120, 0.13);
    transform: translateY(-3px);
}

.categories-card-icon {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
}

.categories-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.categories-card-copy {
    display: grid;
    min-width: 0;
}

.categories-card-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.categories-card-title strong {
    color: #071846;
    font-size: 1.03rem;
    line-height: 1.2;
}

.categories-card-title small {
    border-radius: 999px;
    background: #eaf2ff;
    color: #0b6bff;
    padding: 0.22rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 850;
}

.categories-card-description {
    margin-top: 0.75rem;
    color: #526991;
    font-size: 0.88rem;
    line-height: 1.55;
}

.categories-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: end;
    margin-top: 1rem;
    color: #0b6bff;
    font-size: 0.86rem;
    font-weight: 850;
}

.categories-empty {
    grid-column: 1 / -1;
    border: 1px dashed #bcd0ed;
    border-radius: 14px;
    background: #f8fbff;
    padding: 1.4rem;
    text-align: center;
}

.categories-empty h2 {
    color: #071846;
}

.categories-empty p {
    color: #667da2;
}

.categories-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.categories-section-head h2,
.categories-info-panel h2,
.categories-faq h2,
.categories-cta h2 {
    color: #071846;
    font-size: 1.32rem;
    letter-spacing: -0.025em;
}

.categories-section-head a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0b6bff;
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.categories-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

.categories-strip-grid a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid #dce8f8;
    border-radius: 13px;
    background: #fff;
    color: #172b57;
    padding: 0.85rem 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(30, 65, 120, 0.05);
}

.categories-strip-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
}

.categories-strip-text {
    display: grid;
    min-width: 0;
    gap: 0.1rem;
}

.categories-strip-grid strong,
.categories-strip-grid small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.categories-strip-grid strong {
    color: #071846;
    font-size: 0.88rem;
}

.categories-strip-grid small {
    color: #667da2;
    font-size: 0.75rem;
    font-weight: 700;
}

.categories-chevron {
    color: #6880a5;
}

.categories-featured-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.categories-featured-tools a {
    display: grid;
    align-content: start;
    min-height: 155px;
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    color: #172b57;
    padding: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.05);
}

.categories-featured-tools a > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.categories-featured-tools strong,
.categories-featured-tools small {
    display: block;
}

.categories-featured-tools strong {
    color: #071846;
    font-size: 0.92rem;
    line-height: 1.22;
}

.categories-featured-tools small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.45rem;
    color: #667da2;
    font-size: 0.77rem;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.categories-info-panel {
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    padding: 1.4rem;
    box-shadow: 0 10px 28px rgba(30, 65, 120, 0.055);
}

.categories-info-panel p {
    max-width: 980px;
    color: #526991;
    line-height: 1.65;
}

.categories-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.categories-benefits > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.18rem 0.75rem;
    align-items: center;
}

.categories-benefits span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    grid-row: span 2;
    border-radius: 12px;
}

.categories-benefits .blue {
    background: #e9f2ff;
    color: #0b6bff;
}

.categories-benefits .green {
    background: #e7f8ef;
    color: #16a05d;
}

.categories-benefits .amber {
    background: #fff2d8;
    color: #e59a08;
}

.categories-benefits .violet {
    background: #f2ebff;
    color: #7c3aed;
}

.categories-benefits strong,
.categories-benefits small {
    display: block;
}

.categories-benefits strong {
    color: #071846;
    font-size: 0.88rem;
}

.categories-benefits small {
    color: #667da2;
    font-size: 0.76rem;
    line-height: 1.38;
}

.categories-faq-list {
    display: grid;
    gap: 0.72rem;
    margin-top: 1rem;
}

.categories-faq-list details {
    border: 1px solid #dce8f8;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(30, 65, 120, 0.045);
    overflow: hidden;
}

.categories-faq-list summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 0.95rem 2.4rem 0.95rem 1.1rem;
    color: #071846;
    font-weight: 850;
}

.categories-faq-list summary::-webkit-details-marker {
    display: none;
}

.categories-faq-list summary::after {
    content: "";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #60789f;
    border-bottom: 2px solid #60789f;
    transform: translateY(-65%) rotate(45deg);
}

.categories-faq-list details[open] summary::after {
    transform: translateY(-35%) rotate(225deg);
}

.categories-faq-list p {
    margin: 0;
    border-top: 1px solid #edf3fc;
    color: #526991;
    padding: 0.95rem 1.1rem;
}

.categories-cta {
    padding: 0.7rem 0 2.4rem;
}

.categories-cta-inner {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b74ff, #0058ed 58%, #0847bd);
    color: #fff;
    padding: 1.2rem 1.45rem;
    box-shadow: 0 20px 46px rgba(11, 107, 255, 0.25);
}

.categories-cta-inner img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.categories-cta h2 {
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.categories-cta p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.categories-cta .button {
    gap: 0.45rem;
    min-width: 180px;
    margin-left: auto;
    background: #fff;
    color: #0755df;
    box-shadow: none;
}

@media (max-width: 980px) {
    .categories-hero-grid {
        grid-template-columns: 1fr;
    }

    .categories-hero-art {
        min-height: 260px;
    }

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

@media (max-width: 640px) {
    .categories-hub-page .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .categories-hero {
        padding: 1.25rem 0 1rem;
    }

    .categories-hero-copy h1 {
        font-size: 2.2rem;
    }

    .categories-search {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .categories-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .categories-hero-art {
        min-height: 230px;
    }

    .categories-window {
        width: 100%;
    }

    .categories-window-grid {
        gap: 0.65rem;
    }

    .categories-magnifier {
        right: 0.2rem;
        bottom: 0.2rem;
        width: 64px;
        height: 64px;
        border-width: 7px;
    }

    .categories-magnifier::after {
        right: -24px;
        bottom: -15px;
        width: 38px;
        height: 10px;
    }

    .categories-grid,
    .categories-strip-grid,
    .categories-featured-tools,
    .categories-benefits {
        grid-template-columns: 1fr;
    }

    .categories-card {
        min-height: 0;
        padding: 1rem;
    }

    .categories-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .categories-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .categories-cta .button {
        width: 100%;
        margin-left: 0;
    }
}

/* Category detail page */
.category-detail-page {
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fbff 100%);
    color: #172b57;
}

.category-detail-page .container {
    width: min(1280px, calc(100% - 32px));
}

.category-detail-hero {
    border-bottom: 1px solid #edf3fc;
    background:
        radial-gradient(circle at 78% 25%, color-mix(in srgb, var(--accent-soft, #eef6ff), #ffffff 18%), transparent 20rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 1.85rem 0 1.25rem;
}

.category-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.category-detail-page .breadcrumbs {
    margin-bottom: 1.1rem;
    color: #334a77;
    font-size: 0.84rem;
    font-weight: 800;
}

.category-detail-page .breadcrumbs a {
    color: #071846;
    text-decoration: none;
}

.category-title-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.category-title-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
    box-shadow: 0 12px 22px rgba(30, 65, 120, 0.08);
}

.category-title-row h1 {
    color: #071846;
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.category-detail-hero-copy > p {
    max-width: 620px;
    margin: 0.9rem 0 0;
    color: #526991;
    font-size: 1rem;
    line-height: 1.72;
}

.category-detail-visual {
    position: relative;
    display: grid;
    min-height: 230px;
    place-items: center;
}

.category-detail-visual::before,
.category-detail-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-soft, #eef6ff), #ffffff 30%);
}

.category-detail-visual::before {
    width: 310px;
    height: 170px;
    right: 0;
    top: 16px;
}

.category-detail-visual::after {
    width: 112px;
    height: 112px;
    left: 12px;
    bottom: 18px;
}

.category-detail-visual img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 230px;
    object-fit: contain;
}

.category-visual-card {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 0.75rem;
    width: 168px;
    min-height: 190px;
    border: 1px solid #e2ebf8;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.93);
    padding: 1.25rem;
    box-shadow: 0 24px 45px rgba(30, 65, 120, 0.13);
}

.category-visual-main-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-inline: auto;
    border-radius: 18px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.category-visual-line {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: #e3ebf7;
}

.category-visual-line.wide {
    width: 100%;
}

.category-visual-line {
    width: 78%;
}

.category-visual-line.short {
    width: 56%;
}

.category-visual-tool,
.category-visual-chip {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(30, 65, 120, 0.14);
}

.category-visual-tool {
    left: 72px;
    bottom: 34px;
    width: 62px;
    height: 62px;
    color: #0b6bff;
}

.category-visual-chip {
    right: 54px;
    top: 42px;
    width: 48px;
    height: 36px;
    background: var(--accent, #0b6bff);
    color: #fff;
    font-weight: 900;
}

.category-benefit-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.8rem;
}

.category-benefit-strip > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.12rem 0.82rem;
    align-items: center;
    min-height: 88px;
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.95rem 1rem;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.045);
}

.category-benefit-strip span {
    display: grid;
    grid-row: span 2;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
}

.category-benefit-strip .green {
    background: #e7f8ef;
    color: #16a05d;
}

.category-benefit-strip .blue {
    background: #e9f2ff;
    color: #0b6bff;
}

.category-benefit-strip .violet {
    background: #f2ebff;
    color: #7c3aed;
}

.category-benefit-strip .amber {
    background: #fff2d8;
    color: #f59e0b;
}

.category-benefit-strip strong,
.category-benefit-strip small {
    display: block;
}

.category-benefit-strip strong {
    color: #071846;
    font-size: 0.9rem;
    line-height: 1.2;
}

.category-benefit-strip small {
    color: #526991;
    font-size: 0.78rem;
    line-height: 1.45;
}

.category-detail-main {
    padding: 1.35rem 0 2.4rem;
}

.category-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.45rem;
    align-items: start;
}

.category-tools-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-tools-toolbar p {
    margin: 0;
    color: #526991;
    font-size: 0.86rem;
    font-weight: 750;
}

.category-sort-menu {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    z-index: 5;
}

.category-sort-label {
    color: #526991;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.ftb-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ftb-select {
    position: relative;
    width: 100%;
    min-width: 0;
}

.category-sort-menu .ftb-select {
    width: 178px;
    flex: 0 0 178px;
}

.ftb-select span {
    display: inline;
    margin: 0;
    color: inherit;
    font: inherit;
}

.ftb-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 44px;
    width: 100%;
    border: 1px solid #cfe0f6;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #071846;
    padding: 0.62rem 0.85rem 0.62rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(30, 65, 120, 0.06);
    cursor: pointer;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.ftb-select-trigger:hover {
    border-color: #aecaef;
    background: #fff;
    box-shadow: 0 12px 24px rgba(30, 65, 120, 0.1);
    transform: none;
}

.ftb-select-trigger:active {
    transform: none;
}

.ftb-select-trigger:focus-visible {
    outline: 2px solid #0b6bff;
    outline-offset: 2px;
}

.ftb-select[data-open] .ftb-select-trigger {
    border-color: #0b6bff;
    box-shadow: 0 0 0 3px rgba(11, 107, 255, 0.14), 0 12px 24px rgba(30, 65, 120, 0.1);
}

.tools-directory-filters .ftb-select-trigger,
.tool-detail-page .ftb-select-trigger,
.admin-form .ftb-select-trigger {
    border-color: #cfddf1;
    border-radius: 10px;
}

.ftb-select-chevron {
    flex: 0 0 auto;
    color: #0b6bff;
    pointer-events: none;
    transition: transform 0.16s ease;
}

.ftb-select[data-open] .ftb-select-chevron {
    transform: rotate(180deg);
}

.ftb-select-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
    display: none;
    width: 100%;
    min-width: 190px;
    border: 1px solid #d4e2f5;
    border-radius: 13px;
    background: #fff;
    padding: 0.35rem;
    box-shadow: 0 18px 36px rgba(30, 65, 120, 0.16);
}

.ftb-select[data-open] .ftb-select-menu {
    display: grid;
}

.ftb-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 38px;
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #172b57;
    padding: 0.55rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: left;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.ftb-select-option:hover,
.ftb-select-option:focus-visible {
    background: #f3f7ff;
    color: #0b6bff;
    box-shadow: none;
    transform: none;
}

.ftb-select-option[aria-selected="true"] {
    background: #eaf2ff;
    color: #0755df;
}

.ftb-select-option svg {
    flex: 0 0 auto;
    opacity: 0;
}

.ftb-select-option[aria-selected="true"] svg {
    opacity: 1;
}

.category-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.category-tool-card {
    display: grid;
    justify-items: center;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-height: 234px;
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    color: #172b57;
    padding: 1.35rem 1rem 1.05rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.05);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.category-tool-card:hover {
    border-color: color-mix(in srgb, var(--accent, #0b6bff), #ffffff 25%);
    box-shadow: 0 18px 36px rgba(30, 65, 120, 0.12);
    transform: translateY(-2px);
}

.category-tool-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 18px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.category-tool-card strong {
    margin-top: 0.9rem;
    color: #071846;
    font-size: 1.04rem;
    line-height: 1.18;
}

.category-tool-card small {
    max-width: 230px;
    margin-top: 0.52rem;
    color: #526991;
    font-size: 0.82rem;
    line-height: 1.52;
}

.category-tool-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 34px;
    margin-top: 1rem;
    border: 1px solid #d5e3f8;
    border-radius: 9px;
    color: #0b6bff;
    padding: 0.42rem 0.74rem;
    font-size: 0.78rem;
    font-weight: 850;
}

.category-empty-state {
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    padding: 2rem;
    text-align: center;
}

.category-empty-state p {
    color: #526991;
}

.category-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 92px;
}

.category-side-card,
.category-request-card,
.category-extra-card {
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(30, 65, 120, 0.045);
}

.category-side-card {
    padding: 1.1rem;
}

.category-side-card h2,
.category-request-card h2,
.category-extra-card h2 {
    color: #071846;
    font-size: 1.12rem;
    letter-spacing: -0.025em;
}

.category-side-list,
.category-popular-list {
    display: grid;
    gap: 0.72rem;
    margin-top: 1rem;
}

.category-side-list a,
.category-popular-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    color: #172b57;
    text-decoration: none;
}

.category-side-list a > span,
.category-popular-list a > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--accent-soft, #eef6ff);
    color: var(--accent, #0b6bff);
}

.category-side-list strong,
.category-popular-list strong {
    color: #071846;
    font-size: 0.84rem;
    line-height: 1.2;
}

.category-side-list small {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 26px;
    border-radius: 999px;
    background: #eef4ff;
    color: #526991;
    font-size: 0.75rem;
    font-weight: 850;
}

.category-side-list a.is-active strong {
    color: var(--accent, #0b6bff);
}

.category-side-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    color: #0b6bff;
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
}

.category-request-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    background: linear-gradient(135deg, #edf5ff, #ffffff);
    padding: 1.2rem;
}

.category-request-card p {
    margin: 0.42rem 0 0.9rem;
    color: #526991;
    font-size: 0.84rem;
    line-height: 1.52;
}

.category-request-card .button {
    gap: 0.42rem;
    min-height: 40px;
    border-radius: 10px;
    background: #071846;
    padding: 0.62rem 0.85rem;
    font-size: 0.78rem;
    box-shadow: 0 12px 22px rgba(7, 24, 70, 0.16);
}

.category-request-card > span {
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    flex: 0 0 auto;
    border-radius: 18px;
    background: linear-gradient(145deg, #0b6bff, #0755df);
    color: #fff;
    box-shadow: 0 18px 32px rgba(11, 107, 255, 0.24);
}

.category-detail-extra {
    padding: 0 0 2.4rem;
}

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

.category-extra-card {
    padding: 1.25rem 1.35rem;
}

.category-extra-card .rich-content > :first-child,
.category-extra-card.rich-content > :first-child {
    margin-top: 0;
}

.category-detail-faq-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.category-detail-faq-list details {
    border: 1px solid #edf3fc;
    border-radius: 10px;
    background: #fbfdff;
    overflow: hidden;
}

.category-detail-faq-list summary {
    cursor: pointer;
    padding: 0.82rem 0.95rem;
    color: #071846;
    font-weight: 850;
}

.category-detail-faq-list div {
    border-top: 1px solid #edf3fc;
    color: #526991;
    padding: 0.82rem 0.95rem;
}

.category-related-guides {
    margin-top: 1rem;
}

@media (max-width: 1060px) {
    .category-detail-layout,
    .category-detail-hero-grid {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-request-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .category-benefit-strip,
    .category-tool-grid,
    .category-extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .category-detail-page .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .category-detail-hero {
        padding: 1.15rem 0 1rem;
    }

    .category-title-row {
        align-items: flex-start;
    }

    .category-title-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .category-title-row h1 {
        font-size: 2rem;
    }

    .category-detail-visual {
        min-height: 190px;
    }

    .category-detail-visual img {
        max-width: 170px;
        max-height: 170px;
    }

    .category-visual-card {
        width: 145px;
        min-height: 164px;
    }

    .category-visual-tool {
        left: 42px;
        bottom: 22px;
    }

    .category-visual-chip {
        right: 32px;
        top: 28px;
    }

    .category-benefit-strip,
    .category-tool-grid,
    .category-sidebar,
    .category-extra-grid {
        grid-template-columns: 1fr;
    }

    .category-tools-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-sort-menu,
    .category-sort-menu .ftb-select,
    .ftb-select-trigger,
    .ftb-select-menu {
        width: 100%;
    }

    .category-sort-menu .ftb-select {
        flex-basis: auto;
    }

    .category-sort-menu {
        align-items: flex-start;
        flex-direction: column;
    }

    .ftb-select-menu {
        left: 0;
        right: auto;
    }

    .category-request-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-request-card > span {
        width: 78px;
        height: 78px;
    }
}

/* Blog hub page */
.blog-hub-page {
    background:
        radial-gradient(circle at 77% 10%, rgba(11, 107, 255, 0.08), transparent 23rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 46%, #f7fbff 100%);
    color: #172b57;
}

.blog-hub-page .container {
    width: min(1280px, calc(100% - 32px));
}

.blog-hub-hero {
    overflow: hidden;
    border-bottom: 1px solid #e1ebf8;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    padding: 3.25rem 0 2.75rem;
}

.blog-hub-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.blog-hub-hero-copy h1 {
    color: #071846;
    font-size: clamp(2.65rem, 5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.blog-hub-hero-copy p {
    max-width: 660px;
    margin: 1.15rem 0 0;
    color: #4f6690;
    font-size: 1.08rem;
    line-height: 1.7;
}

.blog-hero-visual {
    position: relative;
    display: grid;
    min-height: 260px;
    place-items: center;
}

.blog-hero-dots {
    position: absolute;
    width: 86px;
    height: 86px;
    opacity: 0.42;
    background-image: radial-gradient(#73adff 1.2px, transparent 1.2px);
    background-size: 12px 12px;
}

.blog-hero-dots.dots-left {
    left: 1%;
    top: 24%;
}

.blog-hero-dots.dots-right {
    right: 2%;
    bottom: 16%;
}

.blog-laptop {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    transform: rotate(1deg);
}

.blog-laptop-screen {
    min-height: 210px;
    border: 9px solid #172033;
    border-radius: 12px 12px 7px 7px;
    background: #f9fbff;
    padding: 1.35rem;
    box-shadow: 0 22px 46px rgba(20, 50, 98, 0.18);
}

.blog-laptop-screen strong {
    display: block;
    color: #071846;
    font-size: 1.45rem;
    line-height: 1;
}

.blog-screen-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.1rem;
}

.blog-screen-row span {
    display: grid;
    place-items: center;
    min-height: 92px;
    border-radius: 12px;
    background: #d9e9ff;
    color: #246be7;
}

.blog-screen-row div {
    display: grid;
    align-content: center;
    gap: 0.65rem;
}

.blog-screen-row i {
    display: block;
    height: 11px;
    border-radius: 999px;
    background: #e1e8f5;
}

.blog-screen-row i:nth-child(2) {
    width: 82%;
}

.blog-screen-row i:nth-child(3) {
    width: 64%;
}

.blog-screen-row i:nth-child(4) {
    width: 48%;
}

.blog-laptop-base {
    width: 112%;
    height: 18px;
    margin-left: -6%;
    border-radius: 0 0 30px 30px;
    background: linear-gradient(180deg, #c9d6e9, #eff5ff);
    box-shadow: 0 12px 20px rgba(20, 50, 98, 0.1);
}

.blog-hero-plant,
.blog-hero-mug {
    position: absolute;
    z-index: 2;
    bottom: 16px;
}

.blog-hero-plant {
    left: 5%;
    width: 72px;
    height: 82px;
}

.blog-hero-plant::before {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 42px;
    height: 34px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, #ffffff, #dfe8f5);
    box-shadow: 0 10px 22px rgba(20, 50, 98, 0.12);
}

.blog-hero-plant::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 32px;
    width: 38px;
    height: 48px;
    border-radius: 90% 10% 90% 10%;
    background: #31a383;
    box-shadow: 20px 3px 0 #54c4a6, 6px -19px 0 #77d6bf;
    transform: rotate(-22deg);
}

.blog-hero-mug {
    right: 5%;
    width: 62px;
    height: 58px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, #1e8aff, #075cdc);
    box-shadow: 0 12px 22px rgba(11, 107, 255, 0.2);
}

.blog-hero-mug::after {
    content: "";
    position: absolute;
    right: -24px;
    top: 10px;
    width: 28px;
    height: 28px;
    border: 7px solid #116ce7;
    border-left: 0;
    border-radius: 0 18px 18px 0;
}

.blog-hub-content {
    padding: 1.7rem 0 1.3rem;
}

.blog-hub-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 2rem;
    align-items: start;
}

.blog-main-column {
    min-width: 0;
}

.blog-hub-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(185px, 220px) auto auto;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1.4rem;
}

.blog-search-control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #d5e3f8;
    border-radius: 13px;
    background: #fff;
    padding: 0 0.85rem;
    box-shadow: 0 10px 24px rgba(31, 67, 122, 0.08);
}

.blog-search-control span {
    display: grid;
    place-items: center;
    color: #7b8eaf;
}

.blog-search-control input,
.blog-hub-filters select {
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.blog-search-control input:focus,
.blog-hub-filters select:focus {
    box-shadow: none;
}

.blog-hub-filters select {
    border: 1px solid #d5e3f8;
    padding-inline: 0.9rem;
    color: #172b57;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(31, 67, 122, 0.06);
}

.blog-hub-filters button {
    min-height: 54px;
    border-radius: 11px;
    padding-inline: 1.5rem;
}

.blog-hub-filters .ftb-select-trigger {
    min-height: 54px;
    border-color: #d5e3f8;
    border-radius: 11px;
    padding-inline: 0.95rem 0.85rem;
    box-shadow: 0 10px 24px rgba(31, 67, 122, 0.06);
}

.blog-hub-filters .ftb-select-option {
    min-height: 38px;
    border-radius: 9px;
    padding: 0.55rem 0.65rem;
}

.blog-reset-link {
    color: #0b6bff;
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
}

.blog-list {
    display: grid;
    gap: 1rem;
}

.blog-list-card {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 1.55rem;
    min-height: 214px;
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(30, 65, 120, 0.055);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.blog-list-card:has(a:hover) {
    border-color: color-mix(in srgb, var(--accent, #0b6bff), #ffffff 22%);
    box-shadow: 0 18px 42px rgba(30, 65, 120, 0.13);
    transform: translateY(-2px);
}

.blog-list-thumb {
    display: block;
    overflow: hidden;
    min-height: 182px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.72), transparent 5rem),
        linear-gradient(135deg, var(--accent-soft), #ffffff);
    color: var(--accent);
    text-decoration: none;
}

.blog-list-thumb img {
    width: 100%;
    height: 100%;
    min-height: 182px;
    object-fit: cover;
}

.blog-thumb-art {
    display: grid;
    min-height: 182px;
    place-items: center;
}

.blog-thumb-art svg {
    width: 76px;
    height: 76px;
    filter: drop-shadow(0 12px 16px rgba(20, 50, 98, 0.14));
}

.blog-list-body {
    display: grid;
    align-content: center;
    min-width: 0;
}

.blog-topic {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.blog-list-body h2 {
    margin-top: 0.5rem;
    max-width: 640px;
    color: #071846;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
    line-height: 1.15;
    letter-spacing: 0;
}

.blog-list-body h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-list-body p {
    max-width: 650px;
    margin: 0.8rem 0 0;
    color: #526991;
    font-size: 0.98rem;
    line-height: 1.58;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    align-items: center;
    margin-top: 1.1rem;
    color: #657ca2;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-post-meta span:not(.blog-author-mark) {
    position: relative;
}

.blog-post-meta span:not(.blog-author-mark):not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.48rem;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: #a7b8d2;
}

.blog-author-mark {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ffe9bb;
    color: #9a5a02;
    font-size: 0.72rem;
    font-weight: 900;
}

.blog-empty-state {
    border: 1px dashed #bcd0ed;
    border-radius: 16px;
    background: #fff;
    padding: 2rem;
    text-align: center;
}

.blog-empty-state h2 {
    color: #071846;
}

.blog-empty-state p {
    color: #526991;
}

.blog-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 1.25rem;
}

.blog-side-card {
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    padding: 1.35rem;
    box-shadow: 0 10px 28px rgba(30, 65, 120, 0.055);
}

.blog-side-card h2 {
    margin-bottom: 1rem;
    color: #071846;
    font-size: 1.28rem;
    letter-spacing: 0;
}

.blog-sidebar-categories,
.blog-popular-list {
    display: grid;
    gap: 0.72rem;
}

.blog-sidebar-categories a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    border-radius: 10px;
    color: #172b57;
    padding: 0.2rem;
    text-decoration: none;
}

.blog-sidebar-categories a:hover,
.blog-sidebar-categories a.is-active {
    background: #f6f9ff;
}

.blog-sidebar-categories a > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent);
}

.blog-sidebar-categories strong {
    color: #071846;
    font-size: 0.9rem;
}

.blog-sidebar-categories small {
    min-width: 34px;
    border-radius: 999px;
    background: #eef3fb;
    color: #526991;
    padding: 0.18rem 0.45rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 850;
}

.blog-side-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.15rem;
    color: #0b6bff;
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
}

.blog-popular-list a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    color: #172b57;
    text-decoration: none;
}

.blog-popular-list a > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    grid-row: span 2;
    border-radius: 10px;
    background:
        radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.72), transparent 2.5rem),
        var(--accent-soft);
    color: var(--accent);
}

.blog-popular-list strong,
.blog-popular-list small {
    display: block;
    min-width: 0;
}

.blog-popular-list strong {
    overflow: hidden;
    color: #071846;
    font-size: 0.86rem;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.blog-popular-list small {
    margin-top: 0.25rem;
    color: #657ca2;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-subscribe-card p {
    margin: -0.45rem 0 1rem;
    color: #526991;
    line-height: 1.55;
}

.blog-subscribe-card form {
    display: grid;
    gap: 0.7rem;
}

.blog-subscribe-card input {
    min-height: 44px;
}

.blog-subscribe-card button {
    width: 100%;
}

.blog-subscribe-card > small {
    display: block;
    margin-top: 0.8rem;
    color: #657ca2;
    text-align: center;
    font-size: 0.76rem;
}

.blog-wide-subscribe {
    padding: 1.35rem 0 2rem;
}

.blog-wide-subscribe-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(280px, 430px);
    gap: 1.2rem;
    align-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef6ff, #dcecff);
    padding: 1.05rem 1.35rem;
    box-shadow: 0 12px 30px rgba(30, 65, 120, 0.08);
}

.blog-wide-subscribe-inner > span {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 16px;
    background: #d9eaff;
    color: #0b6bff;
}

.blog-wide-subscribe h2 {
    color: #071846;
    font-size: 1.28rem;
    letter-spacing: 0;
}

.blog-wide-subscribe p {
    margin: 0.25rem 0 0;
    color: #526991;
}

.blog-wide-subscribe form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
}

.blog-wide-subscribe input,
.blog-wide-subscribe button {
    min-height: 48px;
}

@media (max-width: 1080px) {
    .blog-hub-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-subscribe-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 920px) {
    .blog-hub-hero-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-visual {
        min-height: 235px;
    }

    .blog-hub-filters {
        grid-template-columns: minmax(0, 1fr) minmax(170px, 220px) auto;
    }

    .blog-reset-link {
        grid-column: 1 / -1;
    }

    .blog-list-card {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .blog-wide-subscribe-inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .blog-wide-subscribe form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .blog-hub-page .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .blog-hub-hero {
        padding: 1.7rem 0 1.45rem;
    }

    .blog-hub-hero-copy h1 {
        font-size: 2.35rem;
    }

    .blog-hub-hero-copy p {
        font-size: 0.96rem;
    }

    .blog-hero-visual {
        min-height: 210px;
    }

    .blog-laptop {
        width: 88%;
    }

    .blog-laptop-screen {
        min-height: 155px;
        border-width: 7px;
        padding: 1rem;
    }

    .blog-screen-row {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 0.75rem;
    }

    .blog-screen-row span {
        min-height: 72px;
    }

    .blog-hero-plant,
    .blog-hero-mug {
        display: none;
    }

    .blog-hub-filters {
        grid-template-columns: 1fr;
    }

    .blog-hub-filters button,
    .blog-reset-link {
        width: 100%;
    }

    .blog-list-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.9rem;
    }

    .blog-list-thumb,
    .blog-list-thumb img,
    .blog-thumb-art {
        min-height: 150px;
    }

    .blog-list-body h2 {
        font-size: 1.22rem;
    }

    .blog-list-body p {
        font-size: 0.88rem;
    }

    .blog-post-meta {
        font-size: 0.74rem;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-side-card {
        padding: 1rem;
    }

    .blog-wide-subscribe-inner {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .blog-wide-subscribe form {
        grid-template-columns: 1fr;
    }

    .blog-wide-subscribe button {
        width: 100%;
    }
}

/* Blog article page */
.blog-article-page {
    background:
        radial-gradient(circle at 82% 9%, rgba(11, 107, 255, 0.07), transparent 23rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 44%, #f8fbff 100%);
    color: #172b57;
}

.blog-article-page .container {
    width: min(1280px, calc(100% - 32px));
}

.blog-article-head {
    padding: 2rem 0 0.9rem;
}

.blog-article-page .breadcrumbs {
    margin-bottom: 1rem;
    color: #5f7498;
    font-size: 0.83rem;
    font-weight: 750;
}

.blog-article-page .breadcrumbs a {
    color: #193568;
}

.blog-article-page .breadcrumbs li:not(:last-child)::after {
    content: ">";
    margin-left: 0.4rem;
    color: #94a8c5;
}

.blog-article-topic {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.28rem 0.62rem;
    font-size: 0.74rem;
    font-weight: 900;
    text-decoration: none;
}

.blog-article-head h1 {
    max-width: 880px;
    margin-top: 0.8rem;
    color: #071846;
    font-size: clamp(2.25rem, 4.6vw, 4rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.1rem;
    align-items: center;
    margin-top: 1rem;
    color: #526991;
    font-size: 0.9rem;
    font-weight: 750;
}

.blog-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-article-meta svg {
    color: #315b98;
}

.blog-article-lead {
    max-width: 850px;
    margin: 1.1rem 0 0;
    color: #233a67;
    font-size: 1.06rem;
    line-height: 1.65;
}

.blog-article-main {
    padding: 0.9rem 0 1.1rem;
}

.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
    gap: 2rem;
    align-items: start;
}

.blog-article-content {
    min-width: 0;
}

.blog-article-visual {
    position: relative;
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
    gap: 1.1rem;
    align-items: center;
    min-height: 260px;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.78), transparent 6rem),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.82), transparent 6rem),
        linear-gradient(135deg, var(--accent-soft), #eaf4ff);
    color: var(--accent);
    padding: 1.8rem;
    box-shadow: 0 14px 34px rgba(30, 65, 120, 0.08);
}

.blog-article-visual::before,
.blog-article-visual::after {
    content: "";
    position: absolute;
    top: 48%;
    width: 28%;
    border-top: 2px dashed rgba(11, 107, 255, 0.35);
}

.blog-article-visual::before {
    left: 24%;
}

.blog-article-visual::after {
    right: 24%;
}

.article-doc,
.article-action-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.article-doc {
    width: min(100%, 185px);
    aspect-ratio: 1.04;
    justify-self: center;
    border-radius: 14px;
    background: #fff;
    color: var(--accent);
    box-shadow: 0 18px 34px rgba(30, 65, 120, 0.13);
}

.article-action-icon {
    width: 108px;
    height: 108px;
    border: 5px solid #7fb2ff;
    border-radius: 999px;
    background: #0b6bff;
    color: #fff;
    box-shadow: 0 18px 34px rgba(11, 107, 255, 0.25);
}

.blog-article-visual strong,
.blog-article-visual small {
    position: absolute;
    z-index: 1;
    left: 50%;
    width: min(70%, 420px);
    text-align: center;
    transform: translateX(-50%);
}

.blog-article-visual strong {
    bottom: 3.2rem;
    color: #071846;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.1;
}

.blog-article-visual small {
    bottom: 1.85rem;
    color: #526991;
    font-size: 0.98rem;
    font-weight: 750;
}

.blog-article-card {
    padding: 1.35rem 0 0;
}

.blog-rich-content {
    counter-reset: article-section;
    color: #172b57;
}

.blog-rich-content > :first-child {
    margin-top: 0;
}

.blog-rich-content h2 {
    counter-increment: article-section;
    margin-top: 1.55rem;
    color: #071846;
    font-size: 1.32rem;
    line-height: 1.22;
    letter-spacing: 0;
}

.blog-rich-content h2::before {
    content: counter(article-section) ". ";
}

.blog-rich-content p,
.blog-rich-content li {
    color: #223a66;
    font-size: 1rem;
    line-height: 1.7;
}

.blog-rich-content p {
    margin: 0.7rem 0 0;
}

.blog-rich-content ul,
.blog-rich-content ol {
    margin: 0.7rem 0 0;
    padding-left: 1.3rem;
}

.blog-rich-content a {
    color: #0b6bff;
    font-weight: 850;
}

.article-tool-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-top: 1.35rem;
    border: 1px solid #cfe0f7;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    padding: 1rem;
}

.article-tool-cta > span {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
}

.article-tool-cta h2 {
    color: #0755df;
    font-size: 1.08rem;
    letter-spacing: 0;
}

.article-tool-cta p {
    margin: 0.25rem 0 0;
    color: #526991;
    font-size: 0.9rem;
}

.article-tool-cta .button {
    gap: 0.4rem;
    white-space: nowrap;
}

.blog-author-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-top: 1.55rem;
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 28px rgba(30, 65, 120, 0.055);
}

.blog-author-avatar {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0b6bff;
    font-size: 1.55rem;
    font-weight: 900;
}

.blog-author-box h2 {
    color: #071846;
    font-size: 0.84rem;
    letter-spacing: 0;
}

.blog-author-box strong {
    display: block;
    margin-top: 0.15rem;
    color: #071846;
    font-size: 1.1rem;
}

.blog-author-box p {
    margin: 0.25rem 0 0;
    color: #526991;
    font-size: 0.9rem;
    line-height: 1.5;
}

.blog-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin-top: 1rem;
}

.blog-share-row strong {
    margin-right: 0.4rem;
    color: #071846;
    font-size: 0.9rem;
}

.blog-share-row a,
.blog-share-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 8px;
    background: #0b6bff;
    color: #fff;
    padding: 0.42rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
}

.blog-share-row button {
    border: 0;
    box-shadow: none;
}

.blog-share-row button:hover {
    background: #dfe9f8;
    box-shadow: none;
    transform: none;
}

.blog-share-row button {
    background: #eef3fb;
    color: #315b98;
}

.blog-article-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 1.25rem;
}

.blog-article-side-card {
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(30, 65, 120, 0.07);
}

.blog-article-side-card h2 {
    margin-bottom: 1rem;
    color: #071846;
    font-size: 1.18rem;
    letter-spacing: 0;
}

.article-side-tool-list,
.article-popular-list,
.article-category-list {
    display: grid;
    gap: 0.8rem;
}

.article-side-tool-list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid #e1ebf8;
    border-radius: 11px;
    background: #fff;
    color: #172b57;
    padding: 0.72rem;
    text-decoration: none;
}

.article-side-tool-list a > span:first-child {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
}

.article-side-tool-list strong,
.article-side-tool-list small,
.article-popular-list strong,
.article-popular-list small {
    display: block;
}

.article-side-tool-list strong {
    color: #0755df;
    font-size: 0.9rem;
    line-height: 1.25;
}

.article-side-tool-list small {
    display: -webkit-box;
    overflow: hidden;
    color: #526991;
    font-size: 0.76rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.side-arrow {
    color: #6980a5;
}

.article-side-button,
.article-side-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 1rem;
    color: #0b6bff;
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
}

.article-side-button {
    border-radius: 10px;
    background: #eef5ff;
    padding: 0.75rem;
}

.article-popular-list a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    color: #172b57;
    text-decoration: none;
}

.article-popular-list a > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    grid-row: span 2;
    border-radius: 10px;
    background:
        radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.75), transparent 2.4rem),
        var(--accent-soft);
    color: var(--accent);
}

.article-popular-list strong {
    color: #071846;
    font-size: 0.84rem;
    line-height: 1.35;
}

.article-popular-list small {
    margin-top: 0.2rem;
    color: #657ca2;
    font-size: 0.74rem;
    font-weight: 700;
}

.article-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #edf3fc;
    color: #172b57;
    padding-bottom: 0.6rem;
    text-decoration: none;
}

.article-category-list a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.article-category-list span {
    color: #172b57;
    font-size: 0.88rem;
    font-weight: 800;
}

.article-category-list small {
    min-width: 32px;
    border-radius: 999px;
    background: #eef3fb;
    color: #526991;
    padding: 0.18rem 0.45rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 850;
}

.blog-article-subscribe p {
    margin: -0.45rem 0 1rem;
    color: #526991;
    line-height: 1.55;
}

.blog-article-subscribe form {
    display: grid;
    gap: 0.75rem;
}

.blog-article-subscribe button {
    width: 100%;
}

.blog-article-subscribe > small {
    display: block;
    margin-top: 0.8rem;
    color: #657ca2;
    font-size: 0.76rem;
}

.blog-related-guides {
    padding: 1.1rem 0 1.5rem;
}

.blog-related-guides h2 {
    margin-bottom: 1rem;
    color: #071846;
    text-align: center;
    font-size: 1.35rem;
    letter-spacing: 0;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.blog-related-grid a {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    min-height: 118px;
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: #fff;
    color: #172b57;
    padding: 0.85rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(30, 65, 120, 0.055);
}

.blog-related-grid a > span {
    display: grid;
    place-items: center;
    width: 108px;
    height: 88px;
    grid-row: span 3;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
}

.blog-related-grid strong,
.blog-related-grid small,
.blog-related-grid em {
    display: block;
    min-width: 0;
}

.blog-related-grid strong {
    color: #071846;
    font-size: 0.92rem;
    line-height: 1.3;
}

.blog-related-grid small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.3rem;
    color: #526991;
    font-size: 0.78rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-related-grid em {
    margin-top: 0.35rem;
    color: #657ca2;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
}

.blog-article-cta {
    padding: 0.4rem 0 2rem;
}

.blog-article-cta-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b74ff, #0058ed 62%, #0847bd);
    color: #fff;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 20px 46px rgba(11, 107, 255, 0.24);
}

.blog-article-cta-inner > span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.blog-article-cta h2 {
    color: #fff;
    font-size: clamp(1.28rem, 2.4vw, 1.8rem);
    letter-spacing: 0;
}

.blog-article-cta p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.blog-article-cta .button {
    gap: 0.45rem;
    background: #fff;
    color: #0755df;
    white-space: nowrap;
    box-shadow: none;
}

@media (max-width: 1080px) {
    .blog-article-layout {
        grid-template-columns: 1fr;
    }

    .blog-article-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-article-subscribe {
        grid-column: 1 / -1;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .blog-article-page .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .blog-article-head {
        padding-top: 1.35rem;
    }

    .blog-article-head h1 {
        font-size: 2.05rem;
    }

    .blog-article-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .blog-article-lead {
        font-size: 0.96rem;
    }

    .blog-article-visual {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        min-height: 245px;
        padding: 1rem;
    }

    .blog-article-visual::before,
    .blog-article-visual::after,
    .article-doc.right {
        display: none;
    }

    .article-doc {
        width: 112px;
    }

    .article-action-icon {
        width: 82px;
        height: 82px;
    }

    .blog-article-visual strong,
    .blog-article-visual small {
        position: static;
        width: 100%;
        transform: none;
    }

    .blog-article-visual strong {
        margin-top: 0.2rem;
        font-size: 1.18rem;
    }

    .blog-article-visual small {
        font-size: 0.84rem;
    }

    .blog-rich-content h2 {
        font-size: 1.16rem;
    }

    .blog-rich-content p,
    .blog-rich-content li {
        font-size: 0.92rem;
    }

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

    .article-tool-cta .button {
        width: 100%;
        white-space: normal;
    }

    .blog-author-box {
        grid-template-columns: 1fr;
    }

    .blog-share-row {
        align-items: stretch;
        flex-direction: column;
    }

    .blog-share-row a,
    .blog-share-row button {
        justify-content: center;
        width: 100%;
    }

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

    .blog-related-grid a {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .blog-related-grid a > span {
        width: 86px;
        height: 78px;
    }

    .blog-article-cta-inner {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .blog-article-cta .button {
        width: 100%;
    }
}

/* Global readable body copy alignment */
main p,
main .rich-content p,
main .article-body p,
main .tool-info-block li,
main .blog-rich-content li,
main .home-tool-card small,
main .categories-card-description,
main .blog-list-body p,
main .blog-related-grid small {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
}

/* Dark global footer */
.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 0;
    background:
        radial-gradient(circle at 16% 5%, rgba(11, 107, 255, 0.28), transparent 28rem),
        linear-gradient(180deg, #061a35 0%, #031126 100%);
    color: #c7d4ea;
    padding: 3rem 0 1.25rem;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: rgba(105, 153, 255, 0.24);
}

.site-footer .container {
    position: relative;
    z-index: 1;
    width: min(1440px, calc(100% - 48px));
}

.footer-cta-panel {
    display: grid;
    grid-template-columns: 250px minmax(260px, 1fr) minmax(260px, 0.85fr) minmax(260px, 0.9fr);
    gap: 1.6rem;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(116, 176, 255, 0.34);
    border-radius: 24px;
    background:
        radial-gradient(circle at 9% 18%, rgba(255, 255, 255, 0.22), transparent 9rem),
        linear-gradient(135deg, #0b7cff 0%, #035cf0 48%, #034ac8 100%);
    box-shadow: 0 24px 70px rgba(0, 70, 180, 0.32);
    padding: 1.6rem;
}

.footer-cta-art {
    position: relative;
    min-height: 170px;
}

.footer-cta-art img {
    position: absolute;
    left: 32px;
    top: 28px;
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 18px 26px rgba(0, 38, 115, 0.28));
}

.footer-floating-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 11px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 13px 24px rgba(0, 38, 115, 0.22);
}

.footer-floating-icon.code {
    left: 0;
    top: 18px;
    background: #7c3aed;
}

.footer-floating-icon.qr {
    right: 38px;
    top: 2px;
    background: #13b77a;
}

.footer-floating-icon.text {
    right: 18px;
    bottom: 20px;
    background: #f59e0b;
}

.footer-cta-copy {
    min-width: 0;
}

.footer-cta-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.footer-cta-copy p {
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.06rem;
    line-height: 1.55;
}

.footer-cta-action,
.footer-cta-newsletter {
    display: grid;
    gap: 0.85rem;
    align-content: center;
    min-height: 150px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    padding-left: 1.6rem;
}

.footer-action-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-cta-action p,
.footer-cta-newsletter label {
    margin: 0;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.45;
}

.footer-cta-action .button {
    gap: 0.45rem;
    min-height: 54px;
    border-radius: 11px;
    background: #fff;
    color: #0755df;
    box-shadow: 0 12px 28px rgba(3, 30, 90, 0.18);
}

.footer-cta-newsletter div {
    display: grid;
    gap: 0.7rem;
}

.footer-cta-newsletter input {
    min-height: 54px;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-cta-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.footer-cta-newsletter button {
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.65fr)
        minmax(145px, 0.85fr)
        minmax(165px, 0.9fr)
        minmax(135px, 0.76fr)
        minmax(145px, 0.78fr)
        minmax(130px, 0.7fr)
        minmax(235px, 1.05fr);
    gap: 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid > section {
    min-width: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.7rem 1.35rem;
}

.footer-grid > section:first-child {
    border-left: 0;
    padding-left: 0;
}

.footer-grid > section:last-child {
    padding-right: 0;
}

.footer-brand .brand {
    align-items: center;
    color: #fff;
}

.footer-brand .brand-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
}

.footer-brand .brand-name {
    color: #fff;
    font-size: 1.45rem;
    line-height: 1;
}

.footer-brand .brand-tagline {
    color: #9fb2d3;
    font-size: 0.82rem;
}

.footer-brand p,
.footer-newsletter p {
    margin: 1.2rem 0 0;
    color: #b5c3dc;
    font-size: 0.92rem;
    line-height: 1.8;
}

.site-footer h2 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-size: 1.03rem;
    letter-spacing: 0;
}

.site-footer h2 svg {
    color: #2382ff;
}

.site-footer ul {
    display: grid;
    gap: 0.78rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #c7d4ea;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #c7d4ea;
    font-size: 0.92rem;
}

.footer-links li a span {
    color: #8196bb;
}

.footer-column-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.45rem;
    color: #2e8cff !important;
    font-size: 0.9rem;
    font-weight: 850;
}

.footer-newsletter form {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.footer-newsletter input {
    min-height: 52px;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.footer-newsletter input::placeholder {
    color: #879abb;
}

.footer-newsletter button {
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
    background: #0b6bff;
    box-shadow: 0 12px 26px rgba(11, 107, 255, 0.25);
}

.footer-newsletter small {
    display: block;
    margin-top: 1rem;
    color: #9fb2d3;
    font-size: 0.78rem;
}

.footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    border-top: 0;
    margin-top: 1.35rem;
    padding-top: 0;
    color: #aebddb;
}

.footer-bottom > span:last-child {
    justify-self: end;
}

.footer-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #d7e4fa;
    padding: 0.55rem 0.9rem;
    font-weight: 750;
}

.footer-trust-pill svg {
    color: #1fd07b;
}

@media (max-width: 1180px) {
    .footer-cta-panel {
        grid-template-columns: 190px minmax(0, 1fr) minmax(250px, 0.8fr);
    }

    .footer-cta-newsletter {
        grid-column: 2 / -1;
    }

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

    .footer-grid > section,
    .footer-grid > section:first-child,
    .footer-grid > section:last-child {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.35rem 0;
    }

    .footer-grid > section:nth-child(-n+3) {
        border-top: 0;
    }
}

@media (max-width: 760px) {
    .site-footer {
        padding-top: 1.4rem;
    }

    .site-footer .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .footer-cta-panel {
        grid-template-columns: 1fr;
        gap: 1rem;
        border-radius: 18px;
        padding: 1rem;
    }

    .footer-cta-art {
        min-height: 132px;
    }

    .footer-cta-art img {
        left: 50%;
        top: 8px;
        width: 100px;
        height: 100px;
        transform: translateX(-50%);
    }

    .footer-floating-icon.code {
        left: 8px;
        top: 10px;
    }

    .footer-floating-icon.qr {
        right: 18px;
        top: 4px;
    }

    .footer-floating-icon.text {
        right: 40px;
        bottom: 8px;
    }

    .footer-cta-copy h2 {
        font-size: 1.75rem;
    }

    .footer-cta-action,
    .footer-cta-newsletter {
        min-height: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        padding: 1rem 0 0;
    }

    .footer-cta-action .button,
    .footer-cta-newsletter button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }

    .footer-grid > section,
    .footer-grid > section:nth-child(-n+3) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.15rem 0;
    }

    .footer-grid > section:first-child {
        border-top: 0;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .footer-bottom > span:last-child,
    .footer-trust-pill {
        justify-self: start;
    }

    .footer-trust-pill {
        flex-wrap: wrap;
        border-radius: 14px;
    }
}

/* Footer refinement: quieter product footer */
.site-footer {
    overflow: hidden;
    border-top: 0;
    background: #06152a;
    color: #b8c5dc;
    padding: 2.35rem 0 1.25rem;
}

.site-footer::before {
    background: rgba(255, 255, 255, 0.08);
}

.site-footer .container {
    width: min(1240px, calc(100% - 40px));
}

.footer-utility {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 2rem;
    align-items: end;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding-bottom: 1.65rem;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    text-decoration: none;
}

.footer-brand-link img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.footer-brand-link strong,
.footer-brand-link small {
    display: block;
}

.footer-brand-link strong {
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.08;
}

.footer-brand-link small {
    margin-top: 0.18rem;
    color: #8ea3c3;
    font-size: 0.82rem;
    font-weight: 750;
}

.footer-utility p {
    max-width: 620px;
    margin: 0.95rem 0 0;
    color: #9fb0cc;
    font-size: 0.94rem;
    line-height: 1.7;
}

.footer-tool-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
}

.footer-tool-search input,
.footer-newsletter input {
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    box-shadow: none;
}

.footer-tool-search input::placeholder,
.footer-newsletter input::placeholder {
    color: #7f91b0;
}

.footer-tool-search button,
.footer-newsletter button {
    min-height: 46px;
    border-radius: 9px;
    background: #0b6bff;
    color: #fff;
    padding-inline: 1.1rem;
    box-shadow: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.8rem;
    margin-top: 1.75rem;
    border: 0;
}

.footer-grid > section,
.footer-grid > section:first-child,
.footer-grid > section:last-child {
    border: 0;
    padding: 0;
}

.site-footer h2 {
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 0.55rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #b8c5dc;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-links li a {
    display: inline-flex;
    color: #b8c5dc;
    font-size: 0.9rem;
    line-height: 1.35;
}

.footer-newsletter p {
    margin: 0.85rem 0 0;
    color: #9fb0cc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-newsletter form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-newsletter button {
    width: 100%;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    margin-top: 1.9rem;
    padding-top: 1rem;
    color: #8396b7;
    font-size: 0.86rem;
}

.footer-bottom nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: #9fb0cc;
}

.footer-credit {
    white-space: nowrap;
}

.footer-credit a {
    color: #9fb0cc;
    font-weight: 700;
}

.footer-credit a:hover {
    color: #0b6bff;
}

@media (max-width: 980px) {
    .footer-utility {
        grid-template-columns: 1fr;
        align-items: start;
    }

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

@media (max-width: 640px) {
    .site-footer .container {
        width: min(calc(100% - 24px), 366px);
        max-width: 366px;
        margin-left: 12px;
        margin-right: auto;
    }

    .footer-tool-search {
        grid-template-columns: 1fr;
    }

    .footer-tool-search button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
