/* Product-specific additions. AE&D style.css / script.js are unchanged. */
/* Follow the official AE&D compact header exactly. The preview's generic
   .brand img rule must never resize the shared site logo. */
.site-header .brand-logo {
  width: auto;
  height: 50px;
  max-width: 100%;
  display: block;
}
/* Keep the product navigation below the shared AE&D header and its dropdowns. */
body[data-root="../"] .product-nav {
  top: var(--aend-header-height, 57px);
  z-index: 40;
}
@media (max-width: 980px) {
  .site-header .brand-logo { width: auto; height: 42px; }
  body[data-root="../"] .product-nav { top: var(--aend-header-height, 51px); }
}
@media (max-width: 640px) {
  .site-header .brand-logo { width: auto; height: 38px; }
  body[data-root="../"] .product-nav { top: var(--aend-header-height, 47px); }
}
[data-beanbox-gated][hidden] { display: none !important; }
.b5-hero-offer { position:relative; z-index:3; display:flex; align-items:center;flex-wrap:wrap;gap:10px 14px; margin-top:28px; }
.b5-offer-label { color:#8ca7be; font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;width:100%; }
.b5-hero-offer strong { color:#9cffc9; font-size:clamp(28px,3.6vw,48px);letter-spacing:-.05em; }
.b5-was{color:#70869c;text-decoration:line-through;font-size:18px;}
.b5-offer-percentage{border:1px solid rgba(113,255,209,.27);border-radius:999px;padding:7px 11px;color:#9cffc9;font-size:12px;font-weight:700;background:rgba(113,255,209,.06);}
.b5-hero-cta { padding:12px 17px; background:rgba(119,198,255,.14);border:1px solid rgba(119,198,255,.3);border-radius:999px;color:#d3f2ff;font-size:13px;font-weight:750; }
.b5-hero-cta:hover { background:rgba(119,198,255,.22); }
.b5-deep-section { position:relative; z-index:2; padding:clamp(86px,10vw,146px) max(28px,calc((100vw - 1240px)/2)); border-bottom:1px solid rgba(255,255,255,.06); background:radial-gradient(circle at 80% 10%,rgba(0,127,255,.07),transparent 37%),linear-gradient(145deg,rgba(3,10,18,.97),rgba(5,15,28,.94)); }
.b5-deep-section:nth-of-type(even) {background:radial-gradient(circle at 18% 75%,rgba(113,255,209,.06),transparent 35%),linear-gradient(145deg,rgba(5,12,24,.98),rgba(5,18,32,.96));}
.b5-section-head { max-width:940px; margin:0 0 52px; }
.b5-section-head h2 { margin:0; font-size:clamp(44px,6.6vw,84px);line-height:.99;letter-spacing:-.062em; }
.b5-section-head > p:last-child { margin:24px 0 0;color:#aabed2;font-size:clamp(16px,1.65vw,19px);line-height:1.7;max-width:790px; }
.b5-signal-flow {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:24px;border:1px solid rgba(119,198,255,.17);border-radius:20px;background:rgba(11,30,51,.55);margin-bottom:28px;color:#bcd1e3;font-size:13px;}
.b5-signal-flow span {padding:9px 12px;border:1px solid rgba(139,184,227,.16);border-radius:999px;background:rgba(255,255,255,.025);}
.b5-signal-flow b{color:#66dfe9;font-weight:500;}
.b5-benefits-grid,.b5-spec-grid,.b5-compat-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.b5-benefit,.b5-spec-card,.b5-compat-card {min-width:0;border:1px solid rgba(146,189,239,.17);border-radius:22px;padding:clamp(23px,2.7vw,35px);background:linear-gradient(155deg,rgba(14,34,56,.78),rgba(6,17,31,.92));box-shadow:0 16px 44px rgba(0,0,0,.14);}
.b5-benefit-number,.b5-spec-card > span {font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#77d6f9;font-weight:800;}
.b5-benefit h3,.b5-spec-card h3,.b5-compat-card h3 {font-size:clamp(19px,2vw,25px);letter-spacing:-.035em;line-height:1.18;margin:20px 0 12px;color:#e9f4ff;}
.b5-benefit p,.b5-spec-card p,.b5-compat-card p {color:#9db3c7;font-size:14px;line-height:1.7;margin:0;}
.b5-tool-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px; }
.b5-tool-card { border:1px solid rgba(139,184,227,.19);background:rgba(10,24,41,.76);border-radius:23px;overflow:hidden;box-shadow:0 22px 54px rgba(0,0,0,.23); }
.b5-tool-card img { display:block;width:100%;aspect-ratio:1.68;object-fit:contain;object-position:center;background:radial-gradient(ellipse at center,rgba(44,83,128,.23),rgba(5,12,22,.65));padding:9px;}
.b5-tool-card > div {padding:25px 26px 29px;}
.b5-tool-card > div > span {color:#7dcbf7;letter-spacing:.13em;text-transform:uppercase;font-size:10px;font-weight:800;}
.b5-tool-card h3 {font-size:25px;letter-spacing:-.04em;margin:10px 0;}
.b5-tool-card p {font-size:14px;color:#9eb5ca;line-height:1.7;margin:0;}
.b5-spec-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.b5-spec-card h3 {font-size:19px;margin:18px 0 10px;}
.b5-spec-card {padding:26px;}
.b5-compat-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px;}
.b5-compat-card {padding:32px;}
.b5-compat-card .eyebrow { font-size:10px; }
.b5-chip-row {display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;}
.b5-chip-row span {font-size:11px;color:#b3d8eb;padding:8px 10px;border:1px solid rgba(119,198,255,.2);border-radius:999px;}
.b5-inline-link,.b5-links a {display:inline-block;margin-top:23px;font-weight:700;color:#82e1f8;border-bottom:1px solid rgba(119,198,255,.5);padding-bottom:4px;font-size:14px;}
.b5-links{display:flex;gap:20px;flex-wrap:wrap;}
.b5-safety-note {margin-top:26px;border-left:3px solid rgba(113,255,209,.55);padding:17px 24px;background:rgba(113,255,209,.045);border-radius:0 14px 14px 0;color:#abc1d3;line-height:1.6;font-size:14px;}
.b5-safety-note strong{color:#c8ffe6;}
.b5-price-box {padding:22px 24px;margin:28px 0 20px;border:1px solid rgba(113,255,209,.25);border-radius:22px;background:linear-gradient(135deg,rgba(12,37,45,.8),rgba(9,25,45,.85));}
.b5-price-row {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:9px 0;font-size:15px;color:#b5c9da;}
.b5-price-row strong{font-size:17px;color:#e6f6ff;}
.b5-price-row--discount,.b5-price-row--discount strong{color:#8bffce;}
.b5-price-row small{display:inline;color:inherit;font-size:12px;}
.b5-price-row--total{margin-top:6px;padding-top:18px;border-top:1px solid rgba(113,255,209,.24);font-weight:800;color:#e5f9f4;}
.b5-price-row--total strong{font-size:33px;color:#9fffd8;letter-spacing:-.05em;}
.b5-coupon{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px dashed rgba(113,255,209,.34);border-radius:13px;padding:9px 9px 9px 17px;background:rgba(5,14,27,.56);}
.b5-coupon span{font:800 17px/1 Inter,system-ui,sans-serif;letter-spacing:.14em;color:#e9fff7;}
.b5-coupon button{border:0;border-radius:9px;padding:11px 15px;color:#061521;background:#a1ffdf;font-weight:800;cursor:pointer;white-space:nowrap;}
.b5-coupon button:focus-visible{outline:2px solid #fff;outline-offset:3px;}
.buy-copy .b5-coupon-note{font-size:12px;color:#a1b7c9;line-height:1.6;margin:12px 0 0;}
.buy-copy .b5-coupon-note strong{color:#e8fff6;}
.b5-existing-customers {margin-top:26px;padding-top:22px;border-top:1px solid rgba(140,190,255,.18);}
.b5-existing-customers h4 {margin:0 0 8px;color:#ecf7ff;font-size:18px;}
.buy-copy .b5-existing-customers p {font-size:13px;color:#9eb2c5;line-height:1.7;margin:0;}
.b5-existing-customers a{color:#7bdeff;text-decoration:underline;text-underline-offset:3px;}
@media (max-width: 1100px) {.b5-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width: 820px) {.b5-benefits-grid,.b5-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.b5-deep-section{padding-left:22px;padding-right:22px;}.b5-section-head{margin-bottom:36px;}}
@media (max-width: 610px) {.b5-tool-grid,.b5-benefits-grid,.b5-spec-grid,.b5-compat-grid{grid-template-columns:1fr;}.b5-signal-flow{justify-content:flex-start;}.b5-signal-flow b{display:none;}.b5-hero-offer{justify-content:center;}.b5-deep-section{padding-left:18px;padding-right:18px;}.b5-section-head h2{font-size:clamp(42px,12vw,58px);}.b5-price-box{padding:17px;}.b5-coupon span{font-size:15px;}}
@media (prefers-reduced-motion:reduce){.b5-deep-section .reveal{opacity:1;filter:none;transform:none;}}

/* Preserve the shared AE&D footer layout and logo proportions. */
.site-footer { min-height: auto; display: block; padding: 1.5rem 0 2.5rem; }
.site-footer .footer-logo { width:220px; }
.site-footer .footer-wrap { display:flex; }
.site-footer .footer-wrap p { margin:0 0 .8rem; }
@media (max-width: 980px) { .site-footer .footer-logo { width:170px; } }
@media (max-width: 640px) { .site-footer .footer-wrap { flex-direction:column; } }

/* Feature index for the UltraPro 5 release. Styles are local to products/. */
.b5-new-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.b5-new-card {display:flex;flex-direction:column;min-width:0;border:1px solid rgba(119,198,255,.18);border-radius:22px;padding:26px;background:linear-gradient(145deg,rgba(13,36,58,.8),rgba(5,19,34,.92));color:#dceeff;text-decoration:none;transition:transform .2s ease,border-color .2s ease,background .2s ease;}
.b5-new-card:hover {transform:translateY(-4px);border-color:rgba(119,198,255,.6);background:linear-gradient(145deg,rgba(19,51,78,.9),rgba(7,25,43,.94));}
.b5-new-card:focus-visible {outline:2px solid #9ceaf7;outline-offset:3px;}
.b5-new-number {color:#6bd2ee;font-size:10px;letter-spacing:.14em;font-weight:800;}
.b5-new-card h3 {font-size:clamp(21px,2.2vw,27px);line-height:1.15;letter-spacing:-.04em;margin:19px 0 12px;color:#e9f6ff;}
.b5-new-card p {color:#9fb7cb;font-size:14px;line-height:1.65;margin:0;flex:1;}
.b5-new-more {color:#81e9d2;font-weight:700;font-size:12px;letter-spacing:.02em;margin-top:21px;}
/* Flags must override display rules from all theme layers. */
[data-discount-only][hidden] {display:none !important;}
[data-beanbox-gated][hidden] {display:none !important;}
@media (max-width:920px){.b5-new-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:620px){.b5-new-grid{grid-template-columns:1fr;}.b5-new-card{padding:23px;}}
@media (prefers-reduced-motion:reduce){.b5-new-card{transition:none;}}

/* Honor the site's shared footer despite the preview-only hide rule. */
body[data-root="../"] .site-footer { display: block !important; }
/* Product-specific AE&D MCP announcement. */
.b5-mcp-feature {
  margin-top: 30px; padding: 24px 26px 22px;
  border: 1px solid rgba(113, 255, 209, .28);
  border-radius: 21px;
  background: linear-gradient(128deg,rgba(5,36,42,.8),rgba(8,21,40,.92));
  box-shadow: 0 15px 42px rgba(0,0,0,.18);
}
.b5-mcp-feature__eyebrow {
  display: inline-block; color: #89f2d8;
  letter-spacing: .13em; font-size: 10px; font-weight: 800;
}
.b5-mcp-feature h3 {
  font-size: clamp(20px,2.3vw,28px); line-height: 1.18;
  letter-spacing: -.04em; margin: 12px 0;
  color: #e9faff;
}
.b5-mcp-feature p {
  margin: 0 0 13px; font-size: 14px; line-height: 1.65;
  color: #bbd4e3;
}
.b5-mcp-feature small {
  display: block; font-size: 11px; line-height: 1.55;
  color: #91aabf;
}
@media (max-width: 640px) {
  .b5-mcp-feature { padding: 22px 19px; margin-top: 24px; }
}
