/* Partner 13: consistent desktop dropdown, compact mobile pages and footer. */
.site-header nav .nav-dropdown{position:relative;display:inline-flex;align-items:center}
.site-header nav .nav-dropdown>a{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}
.site-header nav .nav-dropdown>a::after{content:"⌄";font-size:.75em;color:var(--gold-dark);transform:translateY(-1px)}
.site-header nav .nav-dropdown-menu{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:310px;padding:.55rem;background:#fff;border:1px solid #d9dee5;box-shadow:0 18px 45px rgba(4,30,67,.16);z-index:100}
.site-header nav .nav-dropdown:hover .nav-dropdown-menu,.site-header nav .nav-dropdown:focus-within .nav-dropdown-menu,.site-header nav .nav-dropdown.is-open .nav-dropdown-menu{display:grid}
.site-header nav .nav-dropdown-menu a{display:block;padding:.75rem .85rem;border-bottom:1px solid #e5e8ec;white-space:normal;font-size:.76rem;line-height:1.35}
.site-header nav .nav-dropdown-menu a:last-child{border-bottom:0}

.seo-section.navy .seo-card h3,.seo-section.navy .seo-card p{color:#fff!important}
.seo-section.navy .seo-card h3{font-size:1.35rem}

.footer-contact-links.igp-contact-row{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:.55rem 1rem!important}
.footer-contact-links.igp-contact-row a{display:inline-flex!important;align-items:center;gap:.35rem;white-space:nowrap}
.footer-contact-links.igp-contact-row svg{width:17px;height:17px;flex:none}

.article-mobile-menu details,#mobile-menu details{border-bottom:1px solid #d6dde5}
.article-mobile-menu summary,#mobile-menu summary{display:flex;align-items:center;justify-content:space-between;padding:.9rem 0;color:#082d64;font-size:.92rem;font-weight:800;cursor:pointer;list-style:none}
.article-mobile-menu summary::-webkit-details-marker,#mobile-menu summary::-webkit-details-marker{display:none}
.article-mobile-menu summary::after,#mobile-menu summary::after{content:"+";font-size:1.25rem;font-weight:400}
.article-mobile-menu details[open] summary::after,#mobile-menu details[open] summary::after{content:"−"}
.article-mobile-menu .mobile-submenu,#mobile-menu .mobile-submenu{display:grid!important;gap:0!important;padding:.15rem 0 .65rem .85rem!important;border-left:2px solid #bd984e!important}
.article-mobile-menu .mobile-submenu a,#mobile-menu .mobile-submenu a{display:block!important;width:100%!important;padding:.55rem .7rem!important;border:0!important;white-space:normal!important;font-size:.8rem!important;line-height:1.35!important;font-weight:650!important}

/* Compact first screen on every non-home, non-article page. The body class is
   applied in site-enhancements.js so articles keep their reading layout. */
body.igp-compact-subpage .page-intro{padding-top:clamp(2.4rem,5vw,4.5rem)!important;padding-bottom:clamp(2rem,4vw,3.5rem)!important}
body.igp-compact-subpage .page-intro h1{max-width:980px!important;font-size:clamp(2.45rem,4vw,4.35rem)!important}
body.igp-compact-subpage .about-hero,body.igp-compact-subpage .premium-hero{min-height:clamp(540px,72vh,680px)!important}
body.igp-compact-subpage .about-copy,body.igp-compact-subpage .premium-hero .hero-copy{padding-top:clamp(2.8rem,5vw,5rem)!important;padding-bottom:clamp(2.8rem,5vw,5rem)!important}
@media(max-width:760px){body.igp-compact-subpage .page-intro{padding-top:2.2rem!important;padding-bottom:1.8rem!important}body.igp-compact-subpage .page-intro h1{font-size:clamp(2.2rem,10vw,3.25rem)!important}body.igp-compact-subpage .about-hero,body.igp-compact-subpage .premium-hero{min-height:0!important}}

/* Keep the four-step route compact: nested dropdowns do not belong here. */
.seo-chain .nav-dropdown-menu{display:none!important}
.seo-chain .nav-dropdown>a::after{display:none!important}
.seo-section.navy h2{color:#fff!important}

/* Font-independent arrow prevents emoji rendering on iOS. */
.floating-contact{isolation:isolate}
@media(max-width:760px){
  .floating-contact{font-size:0!important;color:transparent!important}
  .floating-contact::after{content:"";display:block;width:22px;height:22px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304182f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E")}
}

/* Contact page: calmer hierarchy and clearly grouped company details. */
.contact-panel{background:linear-gradient(145deg,#062a58,#0b3977)!important;padding:clamp(2rem,4vw,3.4rem)!important}
.contact-panel>p:not(.eyebrow){max-width:56ch;color:#e2e9f3}
.contact-panel>p>a{display:inline-flex;margin-top:.4rem;padding:.75rem 1rem;border:1px solid #bd984e;color:#f3cf84!important}
.contact-business-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem 1.2rem!important;margin-top:1.7rem!important;padding-top:1.4rem!important}
.contact-business-details h3{grid-column:1/-1;font-size:1.55rem!important}
.contact-business-details p{color:#dbe5f2!important;line-height:1.45}
.contact-business-details a{display:flex!important;align-items:center;min-height:38px;padding:.45rem .65rem;border:1px solid #ffffff2b;color:#efc66f!important;line-height:1.3}
.contact-business-details .contact-email-link{grid-column:1/-1}

/* Remove inherited full-screen spacing from the new SEO and scan pages. */
.scan-hero{display:block!important;min-height:0!important;height:auto!important;padding:clamp(4rem,7vw,6.5rem) clamp(1.25rem,7vw,8rem)!important}
.scan-hero h1,.scan-hero p{max-width:880px!important}
.seo-section,.seo-section.navy{min-height:0!important;height:auto!important;align-content:start!important}
.seo-section.navy>h2,.seo-section.navy>.lead{color:#fff!important}
.seo-section.navy>h2{max-width:1100px;line-height:1.08}

/* Premium scan result, visually aligned with the designed result email. */
.scan-result-page{background:#f2f0eb;padding:clamp(2rem,5vw,5rem) 1.25rem}
.scan-result-shell{max-width:760px;margin:auto;background:#fff;box-shadow:0 24px 70px rgba(4,30,67,.12)}
.result-brand{background:#062a58;padding:1.6rem 2.3rem}
.result-brand img{width:150px;height:auto;filter:none}
.result-report{padding:clamp(2rem,5vw,3.5rem)}
.result-report h1{font-size:clamp(2.5rem,6vw,4.2rem);margin:.35rem 0 1rem}
.result-company{margin:-.55rem 0 1rem;color:#886a34;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.result-intro{max-width:62ch;color:#435165}
.result-score-card{display:grid;margin:2rem 0;padding:1.6rem 1.8rem;background:#f6f2e9}
.result-score-card span{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:#886a34;font-weight:800}
.result-score-card strong{font-family:var(--serif);font-size:clamp(4rem,10vw,6rem);line-height:1;color:#a78035;font-weight:400}
.result-score-card strong small{font-size:.32em}
.result-score-card>b{color:#082d64;font-size:1.05rem}
.result-bars{display:grid;gap:1rem;margin:2rem 0}
.result-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.45rem .75rem;font-size:.83rem}
.result-bar>span{font-weight:750;color:#082d64}.result-bar>b{display:block!important;width:auto!important;padding:0!important;background:transparent!important;color:#082d64!important;text-align:right}.result-bar>i{display:block!important;grid-column:1/-1;width:100%!important;height:8px!important;background:#e4e8ed!important;overflow:hidden}.result-bar>i em{display:block;height:100%;background:#bd984e}
.result-highlights{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2rem 0}
.result-highlights article{padding:1.2rem;background:#f6f2e9}.result-highlights span{display:block;color:#657184;font-size:.72rem}.result-highlights strong{color:#082d64}
.result-actions{margin:2rem 0}.result-actions h2{font-size:2rem}.result-actions li{margin:.55rem 0}
.result-detail>h2{font-size:2rem;margin:2rem 0 1rem}.result-download-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin:1.5rem 0 .65rem}.result-download-actions .button{margin:0}.result-save-help{margin:.4rem 0 1.4rem;font-size:.78rem;color:#657184}
.result-note{padding:1rem;border-left:3px solid #bd984e;background:#f8f7f4;font-size:.82rem;color:#596678}
.result-founder{display:flex;align-items:center;gap:1rem;margin-top:2.2rem;padding-top:1.5rem;border-top:1px solid #d6dde5}.result-founder img{width:82px;height:82px;border-radius:50%;object-fit:cover}.result-founder p{margin:0;font-size:.82rem}.result-founder strong{color:#082d64}.result-founder a{color:#886a34;font-weight:700}
.result-disclaimers{margin-top:1.6rem;padding-top:1.1rem;border-top:1px solid #d6dde5;color:#687487;font-size:.64rem;line-height:1.5}.result-disclaimers p{margin:.45rem 0}

@page{size:A4;margin:12mm}
@media print{
  html,body{background:#fff!important}.site-header,.site-footer,.skip-link,.result-download-actions,.result-save-help{display:none!important}
  .scan-result-page{padding:0!important;background:#fff!important}.scan-result-shell{max-width:none!important;margin:0!important;box-shadow:none!important}.result-brand{padding:9mm 11mm!important;background:#062a58!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.result-brand img{width:38mm!important}.result-report{padding:10mm 11mm!important}.result-report h1{font-size:31pt!important;margin:.5mm 0 2mm!important}.result-intro{font-size:9.5pt!important;margin:2mm 0 4mm}.result-score-card{margin:4mm 0 5mm!important;padding:5mm 6mm!important;break-inside:avoid;background:#f6f2e9!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.result-score-card strong{font-size:47pt!important}.result-detail>h2,.result-actions h2{font-size:17pt!important;margin:5mm 0 3mm!important}.result-bars{gap:2.5mm!important;margin:3mm 0 5mm!important}.result-bar{font-size:8pt!important}.result-bar>i{height:2mm!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.result-highlights{margin:4mm 0!important;gap:3mm!important;break-inside:avoid}.result-highlights article{padding:4mm!important;background:#f6f2e9!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.result-actions{margin:5mm 0!important;break-inside:avoid}.result-actions li{font-size:9pt;margin:1.5mm 0!important}.result-note{font-size:7.5pt!important;padding:3mm!important;break-inside:avoid}.result-founder{margin-top:5mm!important;padding-top:4mm!important;break-inside:avoid}.result-founder img{width:18mm!important;height:18mm!important}.result-founder p{font-size:8pt!important}.result-disclaimers{margin-top:4mm!important;padding-top:3mm!important;font-size:5.8pt!important;break-inside:avoid}.result-disclaimers p{margin:1.2mm 0!important}
}

@media(max-width:800px){
  .site-header nav .nav-dropdown-menu{display:none!important}
  #mobile-menu{max-height:calc(100svh - 82px)!important;overflow-y:auto!important;padding:1rem 1.2rem 1.35rem!important}
  #mobile-menu nav{display:grid!important;gap:0!important}
  #mobile-menu nav>a{display:block!important;padding:.8rem 0!important;border-bottom:1px solid #d6dde5!important;font-size:.92rem!important;line-height:1.3!important}
  #mobile-menu .button{margin-top:.75rem!important;padding:.85rem 1rem!important}
  .seo-hero .seo-copy{padding:2.15rem 1.25rem 1.7rem!important}
  .seo-hero .seo-copy h1{font-size:clamp(2.25rem,10.5vw,3.15rem)!important;line-height:1.03;margin:.5rem 0 .85rem}
  .seo-hero .seo-copy .lead{font-size:1.05rem;line-height:1.55;margin:0 0 1.25rem}
  .seo-hero .seo-copy .button{width:100%;padding:.9rem 1rem;text-align:center}
  .seo-hero img{max-height:380px!important}
  .seo-section{padding:2.35rem 1.25rem!important}
  .seo-section.navy{padding-top:2.35rem!important;padding-bottom:2.35rem!important}
  .seo-section h2{font-size:2.15rem!important;line-height:1.12;margin:.5rem 0 1rem}
  .seo-section .lead{font-size:1rem;line-height:1.55}
  .seo-grid{margin-top:1.5rem!important}
  .seo-card{padding:1.35rem!important}
  .seo-card h3{margin:.1rem 0 .55rem!important;font-size:1.35rem!important}
  .seo-card p{margin:0;line-height:1.5}
  .scan-hero{padding:2.6rem 1.25rem 2.2rem!important}
  .scan-hero h1{font-size:clamp(2.5rem,12vw,3.5rem)!important;line-height:1.04;margin:.65rem 0 1rem}
  .scan-hero .lead{font-size:1.05rem;line-height:1.55;margin-bottom:1rem}
  .scan-hero>p:last-child{margin-bottom:0}
  .scan-wrap{padding:2rem .85rem!important}
  .scan-box{padding:1.35rem!important}
  .scan-options{margin:1.25rem 0!important;gap:.55rem!important}
  .scan-options button{padding:.85rem 1rem!important}
  .scan-nav{gap:.65rem!important}
  .scan-nav .button{padding:.8rem .7rem!important}
  .footer-contact-links.igp-contact-row{width:100%;justify-content:space-between;gap:.3rem!important}
  .footer-contact-links.igp-contact-row a{font-size:.7rem!important}
  .footer-contact-links.igp-contact-row .compact-label{display:none}
  .footer-contact-links.igp-contact-row .linkedin-label{display:inline}
  .contact-wrap{gap:1rem!important}
  .contact-panel{padding:1.55rem!important}
  .contact-business-details{grid-template-columns:1fr;gap:.45rem!important;margin-top:1.25rem!important;padding-top:1.1rem!important}
  .contact-business-details h3,.contact-business-details .contact-email-link{grid-column:auto}
  .contact-business-details a{min-height:42px}
  .scan-result-page{padding:1rem .7rem}.result-brand{padding:1.1rem 1.3rem}.result-brand img{width:120px}.result-report{padding:1.5rem}.result-report h1{font-size:2.65rem}.result-highlights{grid-template-columns:1fr}.result-founder{align-items:flex-start}.result-download-actions{display:grid}.result-download-actions .button{width:100%;text-align:center}.result-detail>h2,.result-actions h2{font-size:1.7rem}
}
