/* Shared navigation and research-led broker reviews. */
:root { --site-surface: #e7eef8; --home-surface: #e7eef8; }
.site-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 20px; border: 1px solid #1649b8; border-radius: 9px; font-size: .95rem; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none !important; transition: background .2s ease, color .2s ease; }
a.site-button--secondary { background: transparent; color: #1649b8; box-shadow: none; }
a.site-button--secondary:hover { background: #dbe7f8; color: #103c98; }
.review-hero a.site-button--secondary, .coding-hero a.site-button--secondary, .home-hero a.site-button--secondary, .coding-cta a.site-button--secondary { border-color: #b8cff0; color: #fff; background: transparent; }
.review-hero a.site-button--secondary:hover, .coding-hero a.site-button--secondary:hover, .home-hero a.site-button--secondary:hover, .coding-cta a.site-button--secondary:hover { background: #203650; color: #fff; }
.coding-page a.site-button { margin-top: 0; }
.review-actions > a { min-height: 50px; padding: 12px 20px; font-size: .95rem; line-height: 1.5; }
.guide-grid a.site-button { margin-top: 16px; }
.header .wrapper { min-height: 84px; gap: 36px; }
.header .header-item-left { flex: 0 0 210px; width: auto; }
.header .brandlogo { display: inline-flex; align-items: center; width: 210px; }
.header .brandlogo img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; }
.header .header-item-center { flex: 1 1 auto; width: auto; min-width: 0; }
.header .menu-section { display: flex; align-items: center; gap: 28px; }
.header .menu-section > li > a { white-space: nowrap; font-size: 15px; }
.header .menu-subs a { line-height: 1.5; }
.header .menu .menu-section > li > .menu-subs.guides-submenus { width: 700px; min-width: 0; max-width: calc(100vw - 48px); padding: 24px; border: 1px solid #dce4ef; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(15, 23, 42, .16); }
.header .guides-submenus .guide-menu-group ul li a { display: block; min-height: 44px; padding: 11px 12px; border-radius: 7px; color: #344054; font-size: 15px; font-weight: 400; line-height: 1.5; text-decoration: none; }
.header .guides-submenus .guide-menu-group ul li a:hover, .header .guides-submenus .guide-menu-group ul li a:focus-visible { background: #e7eef8; color: #1649b8; }
.header .guides-submenus .guide-menu-group ul li { margin: 0; }
.header .guide-menu-group + .guide-menu-group { border-top: 1px solid #dce4ef; }
.header .guide-menu-group summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; padding: 12px 18px; color: #101828; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.header .guide-menu-group summary::-webkit-details-marker { display: none; }
.header .guide-menu-group summary::after { content: "+"; color: #1649b8; font-size: 20px; }
.header .guide-menu-group[open] summary::after { content: "−"; }
.header .guide-menu-group summary:focus-visible { outline: 3px solid #38bdf8; outline-offset: -3px; }
.header .guide-menu-group ul { padding: 0 0 10px 12px; }
.header .menu-item-has-children:focus-within > .menu-subs { opacity: 1; visibility: visible; transform: translateY(0); }
.header .headeraction { flex: 0 0 auto; }
.site-skip { position: fixed; left: 12px; top: 12px; z-index: 10000; padding: 12px 18px; color: #123c98; background: #fff; transform: translateY(-180%); }
.site-skip:focus { transform: none; }
.header a:focus-visible, .header button:focus-visible, .review-page a:focus-visible, .review-page summary:focus-visible { outline: 3px solid #38bdf8; outline-offset: 4px; }
.review-page { background: var(--site-surface); color: #172033; }
.review-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.review-hero { padding: 130px 0 38px; background: #071126; color: #fff; }
body.modern-page.comparison-page main.review-page > section.review-hero { padding-top: 152px !important; padding-bottom: 56px !important; }
body.modern-page main.review-page > section.review-hero,
body.modern-page main.review-page > section.coding-hero { background: #071126 !important; }
body.modern-page main.review-page > section.coding-process { background: #0b1731 !important; }
.review-hero h1 { max-width: 870px; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.12; color: #fff; margin-bottom: 18px; }
.review-hero p { max-width: 800px; color: #d8e3f2; line-height: 1.75; }
.review-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #7dd3fc; }
.review-meta { font-size: .9rem; line-height: 1.7; color: #526179; }
.review-hero .review-meta { color: #c9d9ef; }
.review-meta a { color: inherit; text-decoration: underline; }
.review-jumps { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 20px 0; }
.review-jumps a { color: #1649b8; text-decoration: underline; text-underline-offset: 3px; padding: 5px 0; }
.review-section { padding: 38px 0; scroll-margin-top: 100px; }
.review-section h2 { color: #101828; font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 18px; line-height: 1.25; }
.review-section h3 { color: #101828; font-size: 1.2rem; margin-bottom: 12px; }
.review-section p, .review-section li { line-height: 1.8; color: #475467; }
.review-section a { color: #1649b8; text-decoration: underline; text-underline-offset: 3px; }
.review-section--white { background: #fff; }
.review-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-fact, .review-panel { padding: 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.review-fact dt { font-weight: 700; color: #101828; margin-bottom: 10px; }
.review-fact dd { margin: 0; line-height: 1.7; color: #475467; }
.review-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
a.review-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; background: #1649b8; color: #fff; border: 1px solid #1649b8; border-radius: 9px; font-weight: 700; text-decoration: none; }
a.review-button:hover { background: #103c98; color: #fff; }
.review-hero a.review-button { background: #fff; color: #123c98; }
.review-note { padding: 16px 20px; margin: 20px 0; border-left: 3px solid #2563eb; background: #edf4ff; color: #344054; line-height: 1.75; }
.review-sources { padding-left: 22px; }
.review-table-scroll { overflow-x: auto; border: 1px solid #d7deea; border-radius: 12px; background: #fff; }
.review-table-scroll:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.review-table { display: table !important; width: 100%; min-width: 900px; border-collapse: collapse; font-size: .92rem; }
.review-table caption { caption-side: top; text-align: left; padding: 18px; color: #344054; line-height: 1.7; }
.review-table th, .review-table td { padding: 17px; text-align: left; vertical-align: top; border-bottom: 1px solid #e2e8f0; line-height: 1.65; }
.review-table thead th { background: #edf3fc; color: #101828; }
.review-table tbody th { min-width: 125px; }
.review-table td { min-width: 150px; }
.review-table a { color: #1649b8; text-decoration: underline; }
.review-table-note { color: #526179; font-size: .9rem; line-height: 1.75; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-grid article { border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; background: #fff; margin-top: 50px; margin-bottom: 50px;}
.guide-grid h3 { font-size: 1.2rem; line-height: 1.4; }
.guide-grid p { line-height: 1.75; color: #475467; }
body.learning-article [data-learning-intro] { display: none; }
body.learning-article #main-content { padding-top: 90px; }
.article-load-status { color: #475467; padding: 20px 0; }
.modern-page .breadcrum-area { min-height: 330px !important; padding: 120px 0 45px !important; }
.modern-page .section-space { padding-top: 60px; padding-bottom: 60px; }
.review-page .coding-hero { padding: 110px 0 42px; background: #071126; }
.review-page .coding-hero-grid { margin-top: 0 !important; gap: 32px; }
.review-page .coding-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.15; }
.review-page .coding-section { padding: 48px 0; }
.review-page .coding-process .coding-heading h2, .review-page .coding-step h3 { color: #fff; }
.review-page .coding-step p { color: #cbd5e1; }
.review-page .coding-heading p { line-height: 1.8; }
@media (min-width: 1200px) {
 .header .menu .menu-section > li > .menu-subs.guides-submenus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; left: 50%; transform: translateX(-50%); }
 .header .guides-submenus::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
 .header .guides-submenus .guide-menu-group + .guide-menu-group { border-top: 0; border-left: 1px solid #e2e8f0; padding-left: 16px; }
 .header .guides-submenus .guide-menu-group summary { min-height: 0; padding: 0 12px 12px; color: #101828; font-size: 14px; font-weight: 700; cursor: default; }
 .header .guides-submenus .guide-menu-group summary::after { display: none; }
 .header .guides-submenus .guide-menu-group ul { padding: 0; }
 .header .header-item-center { flex: 1; }
 .header .menu-section { justify-content: flex-end; }
 .header .menu > ul > li { margin: 0; }
 .header .headeraction { display: none; }
}
@media (max-width: 1199px) {
 .header .menu .menu-section > li > .menu-subs.guides-submenus { width: 100%; max-width: none; padding: 12px 16px; border: 0; border-radius: 0; box-shadow: none; }
 .header .guides-submenus .guide-menu-group summary { min-height: 52px; padding: 14px 12px; }
 .header .menu-section { display: block; }
 .header .wrapper { gap: 16px; }
 .header .header-item-left { flex-basis: 180px; }
 .header .brandlogo { width: 180px; }
 .header .headeraction { margin-left: auto; }
 .header .menu-section > li > a { white-space: normal; }
 .header .menu-item-has-children:focus-within > .menu-subs:not(.active) { visibility: hidden; }
}
@media (max-width: 767px) {
 body.modern-page.comparison-page main.review-page > section.review-hero { padding-top: 132px !important; padding-bottom: 40px !important; }
 .review-facts, .review-columns, .guide-grid { grid-template-columns: 1fr; }
 .review-hero { padding: 110px 0 30px; }
 .review-wrap { width: calc(100% - 32px); }
 .review-section { padding: 30px 0; }
 .review-actions { align-items: stretch; }
 .review-actions .review-button { width: 100%; }
 .review-actions .site-button, .coding-actions .site-button, .home-hero__actions .site-button, .featured-account__actions .site-button { width: 100%; }
 .modern-page .breadcrum-area { min-height: 280px !important; padding: 110px 0 30px !important; }
}

/* Guide groups remain visible so every destination is one tap away. */
.header .guides-submenus .guide-menu-group summary { cursor: default; }
.header .guides-submenus .guide-menu-group summary::after { display: none; }
/* Tools uses the same restrained links and spacing as Guides. */
.header .menu .menu-section > li > .menu-subs.tools-submenu { width: 280px; min-width: 0; padding: 12px; border: 1px solid #dce4ef; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(15, 23, 42, .16); }
.header .menu .tools-submenu ul { padding: 0; }
.header .menu .tools-submenu ul li { margin: 0; }
.header .menu .tools-submenu ul li a { display: block; min-height: 44px; padding: 11px 12px; border-radius: 7px; color: #344054; font-size: 15px; font-weight: 400; line-height: 1.5; text-decoration: none; }
.header .menu .tools-submenu ul li a:hover, .header .menu .tools-submenu ul li a:focus-visible { background: #e7eef8; color: #1649b8; }
@media (min-width: 1200px) {
 .header .tools-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
}
@media (max-width: 1199px) {
 .header .menu .menu-section > li > .menu-subs.tools-submenu { width: 100%; padding: 12px 16px; border: 0; border-radius: 0; box-shadow: none; }
}
/* The blog opens directly on the Elfsight feed, below the fixed header. */
.blog-content { padding: 120px 0 60px; min-height: 65vh; }
.blog-page-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.xen-product-page .coding-hero { padding-top: 145px; background: #071126; }
.xen-product-page .coding-hero::after { display: none; }
@media (max-width: 767px) {
 .xen-product-page .coding-hero { padding-top: 120px; }
}
/* Product sections override the generic alternating guide backgrounds. */
body.modern-page.xen-product-page main.coding-page > section.coding-hero,
body.modern-page.xen-product-page main.coding-page > section.coding-process,
body.modern-page.xen-product-page main.coding-page > section.coding-cta { background: #071126; color: #fff; }
body.xen-product-page .coding-hero h1,
body.xen-product-page .coding-hero-card h2,
body.xen-product-page .coding-process h2,
body.xen-product-page .coding-process h3,
body.xen-product-page .coding-cta h2 { color: #fff; }
body.xen-product-page .coding-hero-copy,
body.xen-product-page .coding-hero-card li,
body.xen-product-page .coding-process .coding-heading p,
body.xen-product-page .coding-process .coding-step p,
body.xen-product-page .coding-cta p { color: #d8e3f2; }
body.xen-product-page .coding-hero-card { margin-top: 0; background: #14233e; border: 1px solid #344762; box-shadow: none; }
body.modern-page.xen-product-page main.coding-page .coding-hero h2::after,
body.modern-page.xen-product-page main.coding-page .coding-cta h2::after { display: none; }
body.modern-page.free-tools-page main.review-page > section.review-hero { padding-top: 145px; background: #071126; }
.free-tools-grid { margin-top: 26px; }
.free-tools-grid article { display: flex; flex-direction: column; }
.free-tools-grid a.review-button { margin-top: auto; color: #fff; }
@media (max-width: 767px) {
 body.modern-page.free-tools-page main.review-page > section.review-hero { padding-top: 120px; }
}
