:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #60a5fa;
    --accent-color: #38bdf8;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #bfdbfe;
    --shadow-sm: 0 8px 22px rgba(59, 130, 246, 0.08);
    --shadow-md: 0 16px 40px rgba(59, 130, 246, 0.14);
    --shadow-lg: 0 22px 56px rgba(15, 23, 42, 0.14);
}

.engine-shell {
    background:
        radial-gradient(circle at 10% -10%, rgba(96, 165, 250, 0.12), transparent 38%),
        radial-gradient(circle at 90% 0%, rgba(191, 219, 254, 0.65), transparent 44%),
        #f8fbff;
    color: var(--text-dark);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.engine-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(191, 219, 254, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.engine-main-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 84px;
}

.engine-logo {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 700;
    color: #1d4ed8;
}

.engine-logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.engine-nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 9px 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.engine-nav-search i {
    color: var(--primary-color);
    font-size: 14px;
}

.engine-search-input {
    border: 0;
    width: 100%;
    font-size: 14px;
    color: var(--text-dark);
    background: transparent;
    outline: none;
}

.engine-search-input::placeholder {
    color: #94a3b8;
}

.engine-nav-menu {
    display: flex;
    gap: 4px;
}

.engine-nav-menu .nav-link {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-medium);
}

.engine-nav-menu .nav-link:hover {
    color: var(--primary-dark);
    background: #eaf3ff;
}

.engine-nav-menu .nav-link.active {
    color: var(--primary-dark);
    background: #eaf3ff;
}

.engine-utility-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.engine-utility-links a {
    color: var(--text-light);
}

.engine-utility-links a:hover {
    color: var(--primary-dark);
}

.engine-primary-nav-cta {
    margin-left: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34);
}

.engine-primary-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.42);
}

.engine-page-header {
    border-top: 1px solid rgba(191, 219, 254, 0.9);
    background: transparent;
}

.engine-page-header-content h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.engine-page-header-content .page-subtitle {
    max-width: 760px;
    color: var(--text-medium);
}

.engine-main {
    padding: 30px 0 80px;
}

.engine-content {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.engine-section {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(191, 219, 254, 0.92);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.engine-section-head {
    margin-bottom: 14px;
}

.engine-section-head h2 {
    font-size: 30px;
    font-family: 'Source Serif 4', Georgia, serif;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.engine-section-subtitle {
    color: var(--text-medium);
    max-width: 760px;
}

.engine-section p {
    color: var(--text-medium);
    line-height: 1.7;
}

.engine-home-hero {
    margin-top: 12px;
}

.engine-home-hero-v2 {
    margin-top: 20px;
}

.home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 20px;
    align-items: stretch;
    background:
        linear-gradient(140deg, rgba(234, 243, 255, 0.9), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(191, 219, 254, 0.95);
    border-radius: 26px;
    padding: 34px;
    box-shadow: var(--shadow-md);
}

.home-hero-copy h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0f172a;
    max-width: 640px;
    margin-bottom: 14px;
}

.home-hero-lede {
    max-width: 620px;
    font-size: 17px;
    color: #334155;
}

.home-hero-actions {
    margin-top: 22px;
}

.home-hero-quick-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero-quick-links a {
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 7px 12px;
}

.home-hero-quick-links a:hover {
    background: #eaf3ff;
}

.home-hero-visual {
    display: grid;
    gap: 12px;
}

.home-hero-feature-card {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 14px 34px rgba(59, 130, 246, 0.12);
    display: grid;
    gap: 10px;
}

.home-hero-feature-card h3 {
    font-size: 26px;
    font-family: 'Source Serif 4', Georgia, serif;
    line-height: 1.12;
}

.home-card-badge {
    width: fit-content;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #1e40af;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 6px 10px;
}

.home-feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-feature-meta span {
    font-size: 12px;
    color: #334155;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 5px 9px;
}

.home-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-inline-link {
    font-weight: 700;
    font-size: 14px;
    color: #1d4ed8;
}

.home-inline-link:hover {
    text-decoration: underline;
}

.home-hero-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.home-hero-mini-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 14px;
    display: grid;
    gap: 6px;
}

.home-mini-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1e3a8a;
    font-weight: 700;
}

.home-hero-mini-card h4 {
    font-size: 17px;
    line-height: 1.25;
    color: #0f172a;
}

.home-section {
    background: rgba(255, 255, 255, 0.98);
}

.home-section-categories,
.home-section-trust {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.home-card-grid {
    display: grid;
    gap: 14px;
}

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

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

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

.home-browse-card,
.home-review-card,
.home-compare-card,
.home-blog-card,
.home-category-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 18px;
    display: grid;
    gap: 9px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-browse-card:hover,
.home-review-card:hover,
.home-compare-card:hover,
.home-blog-card:hover,
.home-category-card:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 14px 32px rgba(59, 130, 246, 0.15);
}

.home-browse-card h3,
.home-review-card h3,
.home-compare-card h3,
.home-blog-card h3,
.home-category-card h3 {
    font-size: 20px;
    line-height: 1.22;
    color: #0f172a;
}

.home-card-description {
    min-height: 72px;
}

.home-card-footer,
.home-category-meta {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.home-card-footer span,
.home-category-meta span {
    font-size: 12px;
    color: #475569;
}

.home-card-footer a,
.home-category-meta a {
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
}

.home-card-footer a:hover,
.home-category-meta a:hover {
    text-decoration: underline;
}

.home-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-collection-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 18px;
}

.home-collection-card h3 {
    font-size: 21px;
    line-height: 1.2;
    color: #0f172a;
}

.home-collection-card > p {
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #475569;
}

.home-collection-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.home-collection-card li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 700;
    color: #1d4ed8;
    padding: 7px 8px;
    border-radius: 10px;
}

.home-collection-card li a:hover {
    background: #eff6ff;
}

.home-collection-card li a::after {
    content: "¡ú";
    font-size: 13px;
}

.home-category-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.home-review-tag {
    width: fit-content;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 5px 8px;
    font-weight: 700;
}

.home-review-meta {
    display: grid;
    gap: 4px;
    font-size: 12px;
    color: #475569;
}

.home-review-meta i {
    color: #2563eb;
    margin-right: 6px;
}

.home-card-link {
    margin-top: 2px;
    font-weight: 700;
    color: #1d4ed8;
}

.home-card-link:hover {
    text-decoration: underline;
}

.home-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-trust-strip article {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
}

.home-trust-strip i {
    color: #2563eb;
    font-size: 18px;
    margin-top: 2px;
}

.home-trust-strip h3 {
    font-size: 16px;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 6px;
}

.home-trust-strip p {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}

.home-newsletter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(140deg, #eff6ff, #ffffff);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 20px;
}

.home-newsletter-card h3 {
    font-size: 24px;
    font-family: 'Source Serif 4', Georgia, serif;
    line-height: 1.25;
    color: #0f172a;
}

.home-newsletter-card p {
    color: #475569;
    margin-top: 4px;
}

.engine-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.engine-fact-row {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
}

.engine-fact-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

.engine-fact-value {
    color: #0f172a;
    font-weight: 700;
}

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

.engine-subcard {
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #ffffff;
    padding: 14px;
}

.engine-subcard ul {
    margin-left: 18px;
}

.engine-faq-list {
    display: grid;
    gap: 10px;
}

.engine-faq-item {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px;
}

.engine-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #0f172a;
}

.engine-faq-item p {
    margin-top: 8px;
}

.engine-disclosure {
    border-left: 4px solid #3b82f6;
}

.engine-cta-caption {
    color: #475569;
    margin-bottom: 10px;
}

.engine-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.engine-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
}

.engine-cta-secondary {
    background: #ffffff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    box-shadow: none;
}

.engine-cta-secondary:hover {
    background: #eff6ff;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.14);
}

.engine-cta.is-disabled {
    background: #93c5fd;
    border-color: #93c5fd;
    pointer-events: none;
    box-shadow: none;
}

.engine-link-list {
    margin-left: 18px;
    display: grid;
    gap: 6px;
}

.engine-link-list a {
    color: #1d4ed8;
}

.engine-link-list a:hover {
    text-decoration: underline;
}

.engine-table-wrap {
    overflow-x: auto;
}

.engine-compare-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.engine-compare-table th,
.engine-compare-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dbeafe;
    vertical-align: top;
}

.engine-compare-table thead th {
    background: #eff6ff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #334155;
}

.engine-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.engine-brand-card {
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #ffffff;
    padding: 18px;
    display: grid;
    gap: 8px;
}

.engine-brand-card h3 {
    font-size: 20px;
    line-height: 1.24;
    color: #0f172a;
}

.engine-card-meta {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.engine-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.engine-inline-actions a {
    color: #1d4ed8;
    font-weight: 700;
    font-size: 14px;
}

.engine-inline-actions a:hover {
    text-decoration: underline;
}

.engine-deal-list {
    display: grid;
    gap: 10px;
}

.engine-deal-item {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #ffffff;
    padding: 14px;
}

.engine-deal-link {
    color: #1d4ed8;
    font-weight: 700;
}

.engine-deal-link:hover {
    text-decoration: underline;
}

.engine-deal-muted {
    color: #64748b;
    font-size: 14px;
}

.engine-guide-list {
    display: grid;
    gap: 10px;
}

.engine-guide-section {
    border-top: 1px solid #dbeafe;
    padding-top: 10px;
}

.engine-guide-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.engine-footer {
    margin-top: 48px;
    background: linear-gradient(180deg, #ffffff, #f1f7ff);
    border-top: 1px solid #dbeafe;
}

.engine-footer-main {
    padding: 40px 0 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 26px;
}

.engine-footer-brand .footer-logo {
    color: #1d4ed8;
}

.engine-footer-brand .footer-description {
    margin-top: 10px;
    color: #475569;
    max-width: 520px;
}

.engine-footer-chip-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.engine-footer-chip-row span {
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1e40af;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 5px 8px;
    font-weight: 700;
}

.engine-footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.engine-footer .footer-title {
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 10px;
}

.engine-footer .footer-links {
    display: grid;
    gap: 6px;
}

.engine-footer .footer-links a {
    color: #475569;
    font-size: 14px;
}

.engine-footer .footer-links a:hover {
    color: #1d4ed8;
}

.engine-footer-category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.engine-footer-category-cloud a {
    font-size: 12px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 6px 9px;
}

.engine-footer-category-cloud a:hover {
    background: #dbeafe;
}

.engine-footer .footer-bottom {
    border-top: 1px solid #dbeafe;
    padding: 14px 0 24px;
    color: #64748b;
}

.engine-footer .footer-bottom .disclaimer a {
    color: #1d4ed8;
    text-decoration: underline;
}

@media (max-width: 1260px) {
    .engine-nav-search {
        max-width: 280px;
    }

    .engine-utility-links {
        display: none;
    }

    .home-card-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .engine-main-nav {
        gap: 10px;
    }

    .engine-nav-search {
        display: none;
    }

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

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

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

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

    .engine-footer-main {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .engine-main {
        padding-top: 18px;
    }

    .engine-section {
        padding: 18px;
        border-radius: 16px;
    }

    .engine-section-head h2 {
        font-size: 24px;
    }

    .engine-page-header-content h1 {
        font-size: 34px;
    }

    .home-hero-layout {
        padding: 20px;
        border-radius: 20px;
    }

    .home-hero-copy h1 {
        font-size: clamp(30px, 9vw, 44px);
    }

    .home-hero-lede {
        font-size: 16px;
    }

    .home-hero-mini-grid {
        grid-template-columns: 1fr;
    }

    .home-card-grid-5,
    .home-card-grid-4,
    .home-card-grid-3,
    .home-collection-grid,
    .home-trust-strip {
        grid-template-columns: 1fr;
    }

    .home-newsletter-card {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .engine-hero-actions .engine-cta {
        width: 100%;
    }

    .engine-footer-nav-grid {
        grid-template-columns: 1fr;
    }
}
