/* XSPEED family storefront. Reference: supplied xspeedprop.com backup CSS.
 * Keep legacy layout/animation sheets intact; this is the final shared brand layer.
 * Navy #062c60, headings #1c244b, white / #f3f5f8, action blue #1e40af.
 */
:root, body.home {
  --ink: #1c244b;
  --muted: #526075;
  --blue: #1e40af;
  --line: #dde2e9;
  --paper: #ffffff;
  --surface: #f3f5f8;
  --surface-raised: #ffffff;
  --dark: #062c60;
  --navy: #062c60;
  --brand-hover: #16358e;
}
html, body, .home .precision-site { background: var(--paper); }
body, body.home { color: var(--ink); font-family: Arial, 'Segoe UI', sans-serif; line-height: 1.65; }
body :where(a,button,input,textarea,select,summary):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.home ::selection { background: var(--blue); color: #fff; }
.site-header, .site-nav .sub-menu,
.home .precision-nav, .home .precision-nav.is-scrolled { background: #062c60; color: #fff; border-color: #062c60; backdrop-filter: none; }
.home .precision-brand img { filter: none; }
/* The source logo has a tall transparent canvas. Fix the visual box rather than
 * letting its intrinsic 3:2 aspect ratio enlarge the navigation grid row. */
.home .precision-nav { height: 72px; min-height: 72px; }
.home .precision-nav-inner { height: 72px; min-height: 0; grid-template-rows: 72px; align-items: center; }
.home .precision-brand { display: flex; align-items: center; height: 44px; overflow: hidden; }
.home .precision-brand img { display: block; width: 100%; height: 44px; object-fit: cover; object-position: center; }
.home .precision-nav-actions { align-self: center; }
.home .precision-mobile-menu nav { top: 72px; }
.home.admin-bar .precision-mobile-menu nav { top: 104px; }
@media (max-width: 782px) { .home.admin-bar .precision-mobile-menu nav { top: 118px; } }
@media (max-width: 600px) { .home.admin-bar .precision-mobile-menu nav { top: 72px; } }
.home .precision-nav nav a, .home .precision-search-button { color: #fff; }
.home .precision-nav nav a { font-size: 14px; font-weight: 600; }
.home .precision-nav nav a:hover { color: #c9ddff; }
.home .precision-search-button:hover { color: #fff; background: #164176; }
.home .precision-nav-actions .precision-contact { background: #fff; color: #062c60; border-radius: 6px; font-size: 14px; }
.home .precision-nav-actions .precision-contact:hover { color: #062c60; background: #e9eff8; }
.home .precision-nav :focus-visible { outline-color: #fff; }
.home .precision-mobile-menu nav, .home .home-menu-list .sub-menu { background: #062c60; color: #fff; border-color: #31527c; }
.home .precision-mobile-menu nav a { border-color: #31527c; }

/* Editorial product showcase: bright search surface, edge-to-edge motor stage. */
.home .immersive-hero, .home .immersive-hero-stage { background: #f3f5f8; color: var(--ink); }
.home .immersive-hero-stage { padding-block: 48px 0; background: #061c34 url('./hero-ocean-reference.png') center center / cover no-repeat; }
.home .hero-ambient { display: none; }
.home .immersive-copy > span { display: inline-block; color: var(--blue); font-size: 12px; letter-spacing: .16em; border-top: 2px solid var(--blue); padding-top: 16px; }
.home .immersive-copy h1 { color: #06234a; font-size: clamp(40px,4.7vw,76px); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; margin-block: 28px; }
.home .immersive-copy h1 b { color: #315b87; background: none; }
.home .immersive-copy p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.home .hero-primary-search { background: #fff; border: 1px solid #c4cfdd; border-radius: 12px; box-shadow: 0 12px 32px #062c600a; height: 64px; padding: 6px; }
.home .hero-primary-search input { font-size: 14px; color: var(--ink); }
.home .hero-primary-search input::placeholder { color: #526075; }
.home .hero-primary-search input:focus, .home .hero-primary-search input:focus-visible { outline: none; box-shadow: none; }
.home .hero-primary-search:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 2px #dbe5fa; }
.home .hero-primary-search button { background: #1e40af; color: #fff; border-radius: 8px; font-size: 14px; min-height: 48px; }
.home .hero-primary-search button:hover { background: var(--brand-hover); }
.home .hero-search-examples { font-size: 12px; color: var(--muted); }
.home .immersive-actions a { color: var(--blue); border-color: transparent; font-size: 14px; min-height: 44px; align-items: center; }
.home .immersive-actions a:hover { border-color: #b8c4d4; }
.home .immersive-actions a:hover { color: var(--brand-hover); }
.home .hero-benefits { display: flex; flex-wrap: wrap; gap: 20px 28px; padding: 0; margin: 36px 0 0; list-style: none; color: #163c6c; }
.home .hero-benefits li { display: flex; align-items: center; gap: 12px; }
.home .hero-benefits svg { width: 30px; height: 30px; flex-shrink: 0; }
.home .hero-benefits b, .home .hero-benefits small { display: block; font-size: 12px; line-height: 1.6; }
.home .hero-benefits b { font-weight: 600; }
.home .hero-benefits small { color: #425e80; }
.home .motor-explorer { border: 0; border-radius: 0; box-shadow: none; margin-top: 40px; padding: 28px; background: transparent; }
.home .motor-toolbar { border-bottom: 0; padding-bottom: 0; gap: 16px; }
.home .motor-toolbar p > span { color: #c9ddff; font-size: 12px; letter-spacing: .16em; }
.home .motor-toolbar small { font-size: 14px; max-width: 300px; line-height: 1.5; }
.home .motor-toolbar small, .home .motor-view-note { color: #b9c9db; }
.home .motor-controls button { border-radius: 24px; min-height: 44px; background: #ffffff08; }
.home .motor-controls button:focus-visible, .home .motor-caption :focus-visible { outline-color: #c9ddff; }
.home .motor-caption { border: 1px solid #80baff35; border-radius: 16px; background: #031b32b3; padding: 18px 22px; color: #b9c9db; font-size: 12px; line-height: 1.6; text-align: left; }
.home .motor-caption > p { margin: 0; }
.home .motor-caption strong { color: #e6effa; font-weight: 500; }
.home .motor-caption details { margin-top: 4px; }
.home .motor-caption summary { cursor: pointer; width: fit-content; padding-block: 4px; text-underline-offset: 4px; }
.home .motor-caption summary:hover { color: #fff; }
.home .motor-caption .motor-view-note { text-align: left; margin: 8px 0 0; font-size: 12px; }
.home .system-experience { gap: 16px; }
.home .system-dock, .home .system-glass-card { border-radius: 8px; border-color: var(--line); box-shadow: none; background: #fff; }
.home .system-dock button { border-radius: 5px; color: #526075; padding-block: 15px; }
.home .system-dock button:hover { color: var(--blue); background: #f3f5f8; }
.home .system-dock button.is-active { background: #1e40af; color: #fff; box-shadow: none; }
.home .system-glass-card h2 { color: var(--ink); }
.home .system-glass-card p { color: #526075; }
.home .system-glass-card small { color: var(--blue); }
.home .system-glass-icon { color: var(--blue); background: #f3f5f8; }
.home .system-glass-card > a { background: var(--blue); }

/* One restrained surface system from categories through company information. */
.home .confidence-strip, .home .product-universe, .home .business-story,
.home .propeller-feature, .home .precision-faq, .home .home-live-products { background: #fff; color: var(--ink); }
.home .confidence-strip { border-bottom: 1px solid var(--line); }
.home .confidence-strip li { min-height: 88px; padding-block: 20px; }
.home .confidence-strip .precision-wrap { border-color: var(--line); }
.home .confidence-strip b { color: var(--ink); }
.home .confidence-strip small { color: var(--muted); }
.home .confidence-strip svg { color: var(--blue); }
.home .product-universe, .home .business-story, .home .about-precision, .home .precision-faq { padding-block: 72px; }
.home .section-heading { gap: 36px; margin-bottom: 32px; align-items: end; }
.home .section-kicker { color: var(--blue); font-size: 12px; letter-spacing: .1em; margin-bottom: 14px; }
.home .section-heading h2, .home .finder-experience-copy h2, .home .business-heading h2,
.home .propeller-feature-card h2, .home .about-precision h2, .home .faq-intro h2,
.home .precision-contact-panel h2 { color: var(--ink); font-size: clamp(30px,3.2vw,44px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.home .section-heading h2 span, .home .finder-experience-copy h2 span,
.home .business-heading h2 span, .home .propeller-feature-card h2 span,
.home .about-precision h2 span, .home .precision-contact-panel h2 span { color: var(--ink); }
.home .section-heading > p, .home .business-heading p, .home .business-steps p,
.home .about-precision-copy p, .home .faq-list details p { color: #526075; font-size: 16px; }
.home .product-story, .home .product-film { border: 1px solid #dde2e9; border-radius: 8px; box-shadow: none; }
.home .product-story:hover { border-color: #9cacc4; box-shadow: 0 6px 18px rgba(6,44,96,.06); transform: translateY(-3px); }
.home .product-story-copy { padding: 22px; border-top-color: #eef0f4; }
.home .is-real-product .product-story-media img { padding: 14px; }
.home .product-story-copy > span { color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.home .product-story h3 { color: var(--ink); font-size: 22px; font-weight: 600; }
.home .product-story p { color: #526075; font-size: 15px; }
.home .product-story b { color: var(--blue); font-size: 14px; }
.home .parts-quicknav { background: #f3f5f8; border-color: var(--line); border-radius: 8px; padding: 24px; }
.home .parts-quicknav h3, .home .brand-finder h3 { color: var(--ink); }
.home .parts-quicknav-heading > a, .home .film-action { color: var(--blue); font-size: 14px; }
.home .parts-quicknav li a { border-color: var(--line); border-radius: 5px; color: var(--ink); }
.home .parts-quicknav li a:hover { background: #fff; border-color: var(--blue); color: var(--blue); }
.home .parts-quicknav small { font-size: 12px; }
.home .product-film-heading h3 { font-size: clamp(28px,3vw,36px); color: var(--ink); }
.home .product-film figcaption { border-color: var(--line); }
.home .film-type { color: var(--muted); }
.home .finder-experience, .home .about-precision { background: #f3f5f8; color: var(--ink); border-color: var(--line); }
.home .finder-experience { padding-top: 72px; }
.home .finder-experience-copy > p, .home .finder-steps span { color: #526075; }
.home .finder-steps, .home .finder-steps li { border-color: var(--line); }
.home .finder-steps b { color: var(--blue); }
.home .catalog-link { background: #1e40af; color: #fff; border-radius: 6px; font-size: 14px; }
.home .catalog-link:hover { background: var(--brand-hover); }
.home .finder-device { background: #fff; border-color: var(--line); border-radius: 8px; box-shadow: none; }
.home .finder-device-bar, .home .finder-device-canvas { background: #fff; color: var(--muted); border-color: var(--line); }
.home .finder-system-links a { color: var(--ink); border-color: var(--line); border-radius: 6px; box-shadow: none; }
.home .finder-match-result { background: #f3f5f8; border-color: var(--line); border-radius: 6px; }
.home .finder-match-result > b { color: var(--ink); }
.home .finder-match-result :is(p,i), .home .brand-finder-heading p { color: var(--muted); }
.home .brand-finder .platform-marquee, .home .brand-finder .platform-marquee span { border-color: var(--line); }
.home .platform-marquee a { color: #062c60; font-size: 16px; }
.home .platform-marquee a:hover { background: #fff; color: var(--blue); }
.home .business-steps, .home .business-steps article { border-color: var(--line); }
.home .business-steps article:hover { background: #f3f5f8; }
.home .business-steps h3 { color: var(--ink); font-size: 24px; }
.home .business-steps article > svg { color: var(--blue); margin-top: 24px; }
.home .business-steps span { color: var(--muted); }
.home .propeller-feature { padding-bottom: 72px; }
.home .propeller-feature-card { background: #f3f5f8; color: #1c244b; border-color: #dde2e9; border-radius: 8px; box-shadow: none; }
.home .propeller-feature-card:hover { color: var(--ink); }
.home .propeller-feature-card .section-kicker, .home .propeller-feature-card b { color: var(--blue); }
.home .propeller-feature-card p { color: #526075; }
.home .metrics-grid, .home .metrics-grid article, .home .faq-list details { border-color: var(--line); }
.home .metrics-grid b { color: var(--ink); font-weight: 600; }
.home .metrics-grid span { color: var(--muted); }
.home .faq-list summary:hover, .home .faq-list details[open] summary { color: var(--blue); }
.home .precision-contact-section { color: var(--ink); background: #f3f5f8; padding-block: 56px; border-top: 1px solid var(--line); }
.home .precision-contact-panel { padding-block: 16px; }
.home .precision-contact-panel > p { color: var(--muted); }
.home .precision-contact-actions a, .home .precision-contact-actions span { color: var(--ink); background: #fff; border-color: #c6cfdd; border-radius: 6px; }
.home .precision-contact-actions .primary-contact { background: #1e40af; border-color: #1e40af; color: #fff; }
.home .precision-contact-actions .primary-contact:hover { background: var(--brand-hover); }
.home .precision-footer, .site-footer { background: #062c60; color: #dce6f4; }
.home .footer-brand img { filter: none; }
.home .precision-footer .precision-wrap { border-color: #31527c; }
.home .precision-footer nav a:hover { color: #fff; text-decoration: underline; }
.home .precision-whatsapp { background: #1e40af; color: #fff; }
.home .woocommerce-store-notice.demo_store { background: #f3f5f8; color: #526075; border-color: var(--line); }
.home .woocommerce-store-notice a { color: var(--blue); }

/* The same brand applies outside the landing page. */
.woocommerce ul.products li.product, .home .home-live-products .woocommerce ul.products li.product { border-color: var(--line); border-radius: 8px; box-shadow: none; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-block-button__link { background: #1e40af; color: #fff; border-radius: 6px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--brand-hover); color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: #f3f5f8; }
.home .home-live-products .woocommerce ul.products li.product .price { color: var(--blue); }

/* Propeller media lives in its WooCommerce category, not on the homepage. */
.propeller-category { padding-block: 28px 64px; }
.category-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }
.category-kicker { display: block; color: var(--blue); font-size: 12px; letter-spacing: .1em; font-weight: 600; }
.propeller-category-heading { padding-block: 32px; }
.propeller-category-heading h1 { margin: 12px 0; font-size: clamp(36px,5vw,56px); line-height: 1.15; letter-spacing: -.03em; }
.propeller-category-heading p { max-width: 720px; color: var(--muted); }
.category-catalog-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.category-catalog-link svg { width: 18px; }
.propeller-category .product-film-section { border-top: 1px solid var(--line); padding-top: 32px; }
.propeller-category .product-film-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.propeller-category .section-kicker { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.propeller-category .product-film-heading h3 { font-size: 32px; line-height: 1.2; margin: 12px 0 0; }
.propeller-category .product-film-heading > p { max-width: 360px; color: var(--muted); }
.propeller-category .product-film-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.propeller-category .product-film { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.propeller-category .product-film video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #fff; }
.propeller-category .product-film figcaption { padding: 24px; display: flex; gap: 16px; align-items: start; border-top: 1px solid var(--line); }
.propeller-category .product-film h4 { font-size: 22px; line-height: 1.3; margin: 14px 0 10px; }
.propeller-category .product-film p { font-size: 15px; color: var(--muted); margin: 0; }
.propeller-category .film-type { color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.propeller-category .film-action { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 13px; color: var(--blue); }
.propeller-category .category-products { padding-top: 48px; }
@media (max-width: 720px) {
  .propeller-category .product-film-grid { grid-template-columns: 1fr; }
  .propeller-category .product-film-heading { display: block; }
  .propeller-category .film-action { display: none; }
}

@media (min-width: 1100px) {
  .home .immersive-hero-stage { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); gap: 0 clamp(40px,5vw,80px); padding: 38px max(32px,calc((100% - 1480px)/2)) 54px max(48px,calc((100% - 1280px)/2)); align-items: center; min-height: clamp(760px,58vw,940px); }
  .home .immersive-copy { text-align: left; width: 100%; padding-block: 48px; max-width: 660px; }
  .home .immersive-copy p { margin-left: 0; }
  .home .hero-primary-search { margin-left: 0; }
  .home .immersive-actions { justify-content: flex-start; gap: 26px; margin-top: 26px; }
  .home .immersive-actions a + a { padding-left: 26px; border-left: 1px solid #789ac0; }
  .home .motor-explorer { width: 100%; margin: 0; padding: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  .home .immersive-machine { height: clamp(490px,41vw,650px); width: 100%; }
  .home .system-experience, .home .motor-noscript { grid-column: 1 / -1; width: 100%; margin-top: 0; }
}
@media (max-width: 1099px) {
  .home .immersive-hero-stage { background-position: 25% top; background-size: auto 850px; background-color: #031a31; }
  .home .immersive-copy { padding: 28px; border-radius: 20px; background: #f4faffeb; max-width: 760px; }
  .home .hero-benefits { justify-content: center; }
  .home .motor-explorer { background: transparent; }
}
@media (max-width: 720px) {
  .home .immersive-hero-stage { padding: 36px 16px 0; }
  .home .immersive-copy h1 { font-size: clamp(36px,10vw,52px); }
  .home .immersive-copy p { font-size: 16px; }
  .home .immersive-actions { flex-wrap: wrap; gap: 12px 20px; }
  .home .hero-primary-search button { min-width: 72px; padding-inline: 12px; }
  .home .immersive-copy { padding: 24px 16px; }
  .home .motor-explorer { padding: 24px 0 20px; border-radius: 0; }
  .home .motor-toolbar { flex-wrap: wrap; }
  .home .motor-toolbar p { flex: 1 1 180px; }
  .home .product-universe, .home .business-story, .home .about-precision, .home .precision-faq { padding-block: 48px; }
  .home .section-heading { gap: 20px; }
  .home .parts-quicknav { padding: 18px 14px; }
  .home .finder-experience { padding-top: 48px; }
  .home .propeller-feature { padding-bottom: 48px; }
  .home .precision-contact-section { padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .home .product-story:hover { transform: none; }
}
