/* PEV Labs: original navy, cyan and mint identity for the existing page templates.
   Load after the template's styles, including its inline <style> blocks.
   Opt in with body.pev-refined. Existing content and application contracts stay intact. */

body.pev-refined {
  --bg: #0a0f14;
  --bg-2: #0f151c;
  --text: #e9eef2;
  --muted: #b8c3cc;
  --card: #131a22;
  --stroke: #223040;
  --border: var(--stroke);
  --accent: #17a2ff;
  --accent-2: #67e8a6;
  --accent-3: #ff6b6b;
  --primary: var(--accent);
  --primary-color: var(--accent);
  --primary-red: rgba(23, 162, 255, .12);
  --dark-bg: var(--bg);
  --text-color: var(--text);
  --accent-muted: rgba(23, 162, 255, .09);
  --radius: 22px;
  --radius-sm: 12px;
  --border-radius: 22px;
  --maxw: min(94vw, 1320px);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .14);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, .18);
  --shadow-lg: 0 24px 72px rgba(0, 0, 0, .28);
  --shadow-glow: 0 8px 28px rgba(23, 162, 255, .14);
  --shadow: var(--shadow-md);
  --shadow-heavy: var(--shadow-lg);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  background: radial-gradient(ellipse at 85% 4%, rgba(23, 162, 255, .075), transparent 38%), var(--bg);
  color: var(--text);
  min-height: 100svh;
  height: auto;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  padding-top: 0;
  color-scheme: dark;
}

.pev-refined :is(h1, h2, h3, h4) { color: var(--text); text-wrap: balance; }
.pev-refined h1 { letter-spacing: -.045em; line-height: 1.07; }
.pev-refined h2 { letter-spacing: -.035em; line-height: 1.2; }
.pev-refined h3 { letter-spacing: -.025em; line-height: 1.3; }
.pev-refined :is(input, select, textarea, button) { font-family: inherit; }
.pev-refined :is(p, li) { overflow-wrap: break-word; }
.pev-refined :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.pev-refined #main-content { scroll-margin-top: 112px; }

/* Shared template navigation. Mobile retains the original off-canvas contract. */
.pev-refined .navbar {
  top: 16px;
  left: max(24px, calc((100% - 1320px) / 2));
  width: min(calc(100% - 48px), 1320px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 23px;
  background: rgba(12, 17, 24, .77);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 36px rgba(0, 0, 0, .2);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}
.pev-refined .navbar.scrolled { background: rgba(8, 13, 18, .93); }
.pev-refined .nav-container { min-height: 72px; padding: 10px 24px; max-width: 1320px; }
.pev-refined .logo { padding: 0; }
.pev-refined .logo-img { height: 56px; width: auto; }
.pev-refined .nav-menu { gap: 8px; }
.pev-refined .nav-menu a { font-size: 13px; font-weight: 500; padding: 10px 14px; }
.pev-refined .nav-menu > li > a:hover { background: rgba(255, 255, 255, .07); }
.pev-refined .dropdown { background: rgba(19, 26, 34, .98); border-radius: 18px; padding: 8px; }
.pev-refined .dropdown a { padding: 11px 14px; border-radius: 10px; }
.pev-refined .dropdown a:hover { background: var(--accent-muted); color: var(--accent); }
.pev-refined .shop-btn { padding: 11px 22px; font-size: 12px; color: #04121e !important; }
.pev-refined #pev-scroll-progress { left: 20px; max-width: calc(100% - 40px); border-radius: 10px; }
.pev-refined > header {
  background: rgba(8, 13, 18, .92);
  border-bottom-color: var(--stroke);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}
.pev-refined > header .logo img { height: 56px; }
.pev-refined > header nav a { font-size: 13px; }
.pev-refined .mobile-nav-links { background: #0a0f14; }

/* More useful first screens, with the original videos and headings retained. */
.pev-refined :is(.hei, .job-hero) {
  min-height: 320px;
  height: auto;
  padding: 154px max(24px, calc((100% - 1240px) / 2)) 55px;
  align-items: flex-start;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
  background-color: #0f151c;
}
.pev-refined .hei .hero-video { height: 100%; opacity: .55; }
.pev-refined .hei::after {
  background: linear-gradient(90deg, rgba(10, 15, 20, .95), rgba(10, 15, 20, .25)),
    linear-gradient(0deg, #0a0f14, transparent 75%);
}
.pev-refined :is(.hei, .job-hero) h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  font-weight: 500;
  max-width: 1000px;
  text-align: left;
  letter-spacing: -.045em;
  line-height: 1.1;
  padding: 0;
  margin: 0 0 20px;
}
.pev-refined .divider-line { width: 44px; border-color: var(--accent); margin: 0 0 16px; }
.pev-refined .breadcrumb { flex-wrap: wrap; font-size: 11px; letter-spacing: .035em; margin-top: 0; }
.pev-refined .breadcrumb a { color: #c7d3dd; }

/* Service templates: dense, readable cards with restrained depth and motion. */
.pev-refined .details { padding: 38px 24px 24px; background: transparent; }
.pev-refined .details-container { max-width: 1240px; gap: 18px; }
.pev-refined .details-column {
  position: relative;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .018));
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .25s, background .25s, transform .4s var(--ease-out);
}
.pev-refined .details-column h3 { font-size: 1.15rem; margin-bottom: 17px; font-weight: 550; }
.pev-refined .details-column ul { gap: 10px; }
.pev-refined .details-column li { padding-left: 19px; font-size: .875rem; line-height: 1.65; }
.pev-refined .details-column li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); top: .7em; }
.pev-refined .process-section { padding: 34px 24px; background: transparent; text-align: left; }
.pev-refined .header-title { max-width: 1240px; margin: 0 auto 24px; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; }
.pev-refined .steps-container { max-width: 1240px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: workflow; }
.pev-refined .step-card {
  align-items: flex-start;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  counter-increment: workflow;
}
.pev-refined .step-card::after {
  content: '0' counter(workflow);
  position: absolute;
  right: 22px;
  top: 24px;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  color: #7f93a6;
  font: 11px ui-monospace, monospace;
  display: block;
}
.pev-refined .icon-box { width: 43px; height: 43px; border-radius: 12px; margin-bottom: 24px; background: var(--accent-muted); border: 1px solid rgba(23, 162, 255, .17); }
.pev-refined .icon-box :is(i, svg) { color: var(--accent); fill: var(--accent); width: 21px; height: 21px; font-size: 20px; }
.pev-refined .step-title { font-size: 1rem; font-weight: 550; margin-bottom: 9px; }
.pev-refined .step-description { font-size: .825rem; }
.pev-refined .solution-cta {
  max-width: 1240px;
  margin: 18px auto 52px;
  padding: 32px;
  text-align: left;
  background: radial-gradient(ellipse at 100% 0%, rgba(23, 162, 255, .11), transparent 65%), rgba(255, 255, 255, .025);
  border: 1px solid var(--stroke);
  border-radius: 22px;
}
.pev-refined .solution-cta h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 500; margin-bottom: 9px; }
.pev-refined .solution-cta p { max-width: 720px; font-size: .925rem; margin-bottom: 20px; }
.pev-refined :is(.btn, .apply-btn, .submit-btn, .cta-button, .read-btn, .add-to-cart-btn, .checkout-btn, .product-quote-btn, .catalogue-quote-link) {
  border-radius: 999px;
  font-size: .825rem;
  font-weight: 600;
  min-height: 44px;
  padding: 12px 24px;
  line-height: 1.4;
}
.pev-refined :is(.btn-primary, .submit-btn, .apply-btn, .cta-button, .read-btn, .add-to-cart-btn, .checkout-btn, .product-quote-btn, .catalogue-quote-link) {
  background: var(--accent);
  color: #04121e;
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.pev-refined .btn-secondary { color: var(--text); background: rgba(255, 255, 255, .035); border: 1px solid var(--stroke); }

/* Company story and mission: preserve every paragraph and media embed. */
.pev-refined .about-content { max-width: 1240px; width: calc(100% - 48px); margin: 32px auto 48px; padding: 0; top: 0; background: transparent; }
.pev-refined .about-section { background: transparent; margin-bottom: 30px; }
.pev-refined .about-section::before { background: transparent; }
.pev-refined .about-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; padding-top: 28px; margin-bottom: 20px; }
.pev-refined .about-section h2:first-child { padding-top: 0; }
.pev-refined .about-section h2::after { width: 32px; height: 2px; }
.pev-refined .about-section p { font-size: .975rem; max-width: 940px; line-height: 1.8; margin-bottom: 16px; }
.pev-refined .about-section iframe { border-radius: 22px; }
.pev-refined .story-video { margin: 28px 0; }
.pev-refined .story-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 22px; background: #08131b; }
.pev-refined .story-video figcaption { margin-top: 12px; color: var(--text-secondary, #b9c8d3); font-size: .9rem; line-height: 1.6; }
.pev-refined .highlight { background: linear-gradient(120deg, var(--accent-muted), rgba(23, 162, 255, .018)); border: 1px solid rgba(23, 162, 255, .2); border-left: 3px solid var(--accent); border-radius: 16px; padding: 24px 28px; margin: 24px 0; }
.pev-refined .highlight p:last-child { margin-bottom: 0; color: var(--text); }
.pev-refined .mv-wrapper { margin: 0; padding: 0; gap: 20px; max-width: none; }
.pev-refined .mv-row { padding: 32px; grid-template-columns: 1fr 1.7fr; gap: 32px; border: 1px solid var(--stroke); border-radius: 22px; background: linear-gradient(135deg, rgba(255, 255, 255, .04), transparent); }
.pev-refined .mv-header { position: static; }
.pev-refined .mv-num { font: 10px ui-monospace, monospace; letter-spacing: .13em; margin-bottom: 20px; }
.pev-refined .mv-header h2 { text-transform: none; font-size: 2rem; font-weight: 500; line-height: 1.2; }
.pev-refined .mv-body { padding-left: 32px; }
.pev-refined .lead-p { font-size: 1.4rem; line-height: 1.5; margin-bottom: 16px; }
.pev-refined .sub-p { font-size: .925rem; line-height: 1.75; }
.pev-refined .mv-underline { width: 35px; height: 2px; }
.pev-refined .mv-bottom-divider { margin: 0; }

/* Existing contact forms retain IDs, file controls, validation and delivery. */
.pev-refined .main-content:has(.contact-form) { padding: 124px 24px 48px; align-items: flex-start; }
.pev-refined .main-content:has(.contact-form) > .container { max-width: 1040px; }
.pev-refined .main-content > .container > .card { background: rgba(19, 26, 34, .72); border-radius: 26px; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .04); }
.pev-refined .card-header { padding: 32px 36px; text-align: left; background: radial-gradient(ellipse at 100% 0%, rgba(23, 162, 255, .12), transparent 80%), rgba(255, 255, 255, .02); }
.pev-refined .card-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; margin-bottom: 12px; }
.pev-refined .card-header p { font-size: .875rem; }
.pev-refined .form-container { padding: 28px 36px 36px; }
.pev-refined .form-selector { padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--stroke); text-align: left; display: flex; gap: 24px; align-items: center; }
.pev-refined .form-selector label { font-size: .8rem; font-weight: 500; margin: 0; color: var(--muted); }
.pev-refined .form-type-select { max-width: none; margin: 0 0 0 auto; width: min(55%, 460px); border-radius: 13px; padding: 12px 16px; font-size: .875rem; background: #131a22; border-color: rgba(23, 162, 255, .25); }
.pev-refined .contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pev-refined .contact-form :is(.submit-section, .full-width, .form-group:has(textarea), .form-group:has(input[type='file'])) { grid-column: 1 / -1; }
.pev-refined .form-group label { font-size: .775rem; font-weight: 500; margin-bottom: 8px; }
.pev-refined .form-group :is(input, select, textarea) { border: 1px solid var(--stroke); background: rgba(6, 10, 14, .45); color: var(--text); font-size: .875rem; border-radius: 12px; padding: 12px 15px; transition: background .2s, border-color .2s, box-shadow .2s; }
.pev-refined .form-group textarea { min-height: 122px; resize: vertical; }
.pev-refined .form-group :is(input, textarea)::placeholder { color: #8da1b3; opacity: 1; }
.pev-refined .form-group :is(input, select, textarea):focus { border-color: var(--accent); background: #131a22; box-shadow: 0 0 0 3px rgba(23, 162, 255, .07); }
.pev-refined input[type='file']::file-selector-button { background: #1b2c3d; color: var(--text); border: 1px solid var(--stroke); border-radius: 8px; padding: 8px 12px; margin-right: 16px; cursor: pointer; }
.pev-refined .submit-section { text-align: left; padding-top: 2px; }
.pev-refined .submit-btn { width: auto; min-width: 172px; }
.pev-refined .submit-btn:disabled { opacity: .6; cursor: progress; }
.pev-refined .status-message { border-radius: 12px; font-size: .85rem; }
.pev-refined .form-section.active { animation: pev-template-panel .32s var(--ease-out); }

/* Career templates retain every role and application control. */
.pev-refined .careers-wrapper { max-width: 1240px; width: calc(100% - 48px); margin: 34px auto 48px; padding: 0; }
.pev-refined .job-header { padding: 0 0 26px; margin-bottom: 0; }
.pev-refined .job-header h2 { font-weight: 500; font-size: clamp(1.5rem, 3vw, 2rem); }
.pev-refined .job-card { padding: 25px 28px; border: 1px solid var(--stroke); background: linear-gradient(125deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)); border-radius: 20px; margin-bottom: 14px; gap: 24px; }
.pev-refined .job-card :is(h2, h3) { font-size: 1.075rem; font-weight: 550; }
.pev-refined .job-card p { font-size: .875rem; }
.pev-refined .job-card .tags { margin-top: 12px; gap: 8px; }
.pev-refined .job-card .tags span { background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke); border-radius: 999px; color: var(--muted); font-size: .7rem; padding: 4px 10px; }
.pev-refined .job-details-container { padding: 0; }
.pev-refined .job-content { background: rgba(255, 255, 255, .025); border: 1px solid var(--stroke); border-radius: 22px; padding: 28px; }
.pev-refined .job-content h3 { font-size: 1.1rem; padding: 0; margin: 24px 0 12px; }
.pev-refined .job-content :is(p, li) { font-size: .925rem; }
.pev-refined .back-link { border-radius: 999px; font-size: .8rem; }

/* Product catalog and detail templates: retain cart and tab behaviour. */
.pev-refined #main-content:has(> .products-section) { max-width: 1320px; padding-top: 28px; gap: 28px; }
.pev-refined .sidebar { border-radius: 20px; background: rgba(19, 26, 34, .65); border-color: var(--stroke); padding: 22px; }
.pev-refined .sidebar h3 { font-size: .875rem; letter-spacing: -.015em; }
.pev-refined .categories-list li.active { color: var(--accent); background: var(--accent-muted); box-shadow: inset 0 0 0 1px rgba(23, 162, 255, .2); }
.pev-refined .categories-list li.active .category-count { background: transparent; color: var(--accent); border-color: var(--stroke); }
.pev-refined .category-banner { border-radius: 22px; border: 1px solid var(--stroke); min-height: 230px; }
.pev-refined .banner-overlay { background: linear-gradient(90deg, rgba(6, 10, 14, .94), rgba(6, 10, 14, .35)); }
.pev-refined .banner-overlay h3 { font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -.045em; }
.pev-refined .banner-eyebrow { font: 10px ui-monospace, monospace; letter-spacing: .14em; color: var(--accent); }
.pev-refined .products-section > .section-header h2 { font-size: 1.4rem; font-weight: 500; }
.pev-refined .products-grid { gap: 16px; }
.pev-refined .product-card { background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border-radius: 20px; border-color: var(--stroke); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
.pev-refined .product-card[hidden], .pev-refined .pev-pagination[hidden], .pev-refined .catalogue-empty[hidden] { display: none !important; }
.pev-refined .product-visual { height: 156px; background: radial-gradient(ellipse at 50% 65%, rgba(23, 162, 255, .075), transparent 70%); }
.pev-refined .product-icon-tile { width: 75px; height: 75px; border-radius: 22px; border: 1px solid rgba(23, 162, 255, .22); background: linear-gradient(135deg, rgba(23, 162, 255, .1), rgba(23, 162, 255, .02)); }
.pev-refined .product-info { padding: 18px; }
.pev-refined .product-title { font-size: .95rem; font-weight: 550; letter-spacing: -.02em; line-height: 1.4; }
.pev-refined .product-category { font-size: .65rem; letter-spacing: .07em; }
.pev-refined .product-description { font-size: .8rem; line-height: 1.6; }
.pev-refined .product-price { font-size: 1.075rem; }
.pev-refined .product-card .add-to-cart-btn { margin: 0 18px 18px; width: calc(100% - 36px); padding: 10px 16px; font-size: .775rem; }
.pev-refined .product-quote-btn { display: flex; justify-content: center; align-items: center; gap: 8px; text-align: center; text-decoration: none; margin: auto 18px 18px; width: calc(100% - 36px); padding: 10px 16px; font-size: .775rem; transition: background .2s, transform .25s; }
.pev-refined .product-quote-btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.pev-refined .catalogue-quote-link { display: inline-flex; justify-content: center; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none; padding: 10px 18px; font-size: .75rem; }
.pev-refined .product-quote-link { text-decoration: none; }
.pev-refined .pev-pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 20px 0; margin-top: 14px; border-top: 1px solid var(--stroke); }
.pev-refined .pev-page-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid var(--stroke); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); padding: 10px 20px; font: 500 .8rem Inter, sans-serif; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.pev-refined .pev-page-button:hover:not(:disabled) { border-color: rgba(23, 162, 255, .4); background: var(--accent-muted); transform: translateY(-2px); }
.pev-refined .pev-page-button:disabled { color: #91a5b8; background: transparent; cursor: default; opacity: .55; }
.pev-refined .pev-page-status { color: var(--muted); font-size: .8rem; text-align: center; }
.pev-refined :is(.cart-sidebar, .cart-header, .cart-footer) { background: #0f151c; border-color: var(--stroke); }
.pev-refined .cart-sidebar { box-shadow: -24px 0 80px rgba(0, 0, 0, .4); }
.pev-refined .cart-header { padding: 24px; }
.pev-refined .cart-header h2 { font-size: 1.3rem; font-weight: 500; }
.pev-refined .product-top-section { gap: 24px; margin-bottom: 28px; }
.pev-refined :is(.product-hero, .product-details) { background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); border-radius: 22px; }
.pev-refined .product-details h1 { font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 500; }
.pev-refined .meta-category-badge { color: var(--accent); background: var(--accent-muted); border-color: rgba(23, 162, 255, .2); }
.pev-refined .product-hero::before, .pev-refined .info-box, .pev-refined .price-section { background: linear-gradient(135deg, rgba(23, 162, 255, .08), rgba(23, 162, 255, .015)); }
.pev-refined .product-hero-icon { background: rgba(23, 162, 255, .07); border-color: rgba(23, 162, 255, .25); }
.pev-refined .product-hero-icon i { filter: none; }
.pev-refined .vertical-tabs-container { min-height: 0; border-radius: 22px; }
.pev-refined .tab-buttons { padding: 12px; gap: 5px; width: 225px; min-width: 225px; background: #0f151c; }
.pev-refined .tab-btn { border: 0; border-radius: 12px; padding: 14px; font-size: .825rem; }
.pev-refined .tab-btn:hover { padding-left: 14px; background: rgba(255, 255, 255, .055); }
.pev-refined .tab-btn.active { border: 0; background: var(--accent-muted); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(23, 162, 255, .16); }
.pev-refined .tab-content { padding: 28px; background: rgba(255, 255, 255, .015); }
.pev-refined .tab-content h2 { font-size: 1.5rem; font-weight: 500; }
.pev-refined :is(.feature-card, .spec-category, .document-item) { border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--stroke); }
.pev-refined .specs-table { font-size: .825rem; }

/* Legal and safety pages: presentation only, with complete wording retained. */
.pev-refined .policy-frame { max-width: 1000px; padding: 138px 32px 48px; }
.pev-refined .policy-frame h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 500; border-bottom: 0; margin-bottom: 0; }
.pev-refined .policy-eyebrow { font: 10px ui-monospace, monospace; letter-spacing: .16em; margin-bottom: 15px; }
.pev-refined .policy-intro { font-size: .925rem; line-height: 1.8; margin: 18px 0 28px; }
.pev-refined .policy-frame .section { border: 1px solid var(--stroke); border-radius: 16px; padding: 0 22px; margin-top: 10px; background: rgba(255, 255, 255, .02); }
.pev-refined .policy-frame .section-header { padding: 19px 0; border-bottom: 0; gap: 20px; }
.pev-refined .policy-frame .section-header span:first-child { font-size: .95rem; font-weight: 500; }
.pev-refined .policy-frame .section-content { font-size: .85rem; }
.pev-refined .policy-frame .section-content.expanded { padding-top: 0; }
.pev-refined .legal-note { font-size: .8rem; }
.pev-refined .terms-header { max-width: 1000px; width: 100%; margin: 0 auto; padding: 138px 32px 24px; text-align: left; background: transparent; }
.pev-refined .terms-header h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 500; border-bottom: 0; }
.pev-refined .last-updated { font-size: .775rem; color: var(--muted); }
.pev-refined .terms-header + .container { max-width: 1000px; width: 100%; padding: 0 32px 48px; }
.pev-refined .terms-content { background: transparent; padding: 0; border: 0; box-shadow: none; }
.pev-refined .terms-content h2 { font-size: 1.15rem; font-weight: 500; padding-top: 24px; margin-top: 26px; margin-bottom: 14px; border-top: 1px solid var(--stroke); }
.pev-refined .terms-content :is(p, li) { font-size: .9rem; line-height: 1.85; }
.pev-refined .hero-banner { width: 100%; padding: 145px max(24px, calc((100% - 1240px) / 2)) 48px; margin-bottom: 24px; border-bottom: 1px solid var(--stroke); text-align: left; background: radial-gradient(ellipse at 90% 50%, rgba(23, 162, 255, .07), transparent 70%); }
.pev-refined .hero-banner h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 500; letter-spacing: -.045em; }
.pev-refined .hero-banner > p { font: 10px ui-monospace, monospace; letter-spacing: .13em; }
.pev-refined .full-row { width: auto; max-width: 1240px; margin: 0 auto 22px; border: 1px solid var(--stroke); border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .02); }
.pev-refined .text-content { padding: 28px; }
.pev-refined .text-content h2 { font-size: 1.5rem; font-weight: 500; margin-bottom: 18px; }
.pev-refined .text-content p { font-size: .9rem; column-gap: 32px; line-height: 1.85; }
.pev-refined .full-bleed-img { width: 100%; height: 240px; }
.pev-refined .standards-strip { width: auto; max-width: 1240px; margin: 24px auto 48px; padding: 0; gap: 18px; background: transparent; }
.pev-refined .standard-card { background: rgba(255, 255, 255, .025); border: 1px solid var(--stroke); border-radius: 20px; padding: 24px; }
.pev-refined .standard-card h4 { font-size: .875rem; font-weight: 500; }
.pev-refined .standard-card p { font-size: .825rem; }

/* Existing footer destinations remain available. */
.pev-refined footer { background: #0f151c; padding-top: 38px; border-top: 1px solid var(--stroke); }
.pev-refined footer .container { max-width: 1320px; }
.pev-refined .footer-content { gap: 32px; margin-bottom: 32px; }
.pev-refined .footer-section h3 { font: 10px ui-monospace, monospace; letter-spacing: .1em; color: #dce8f2; margin-bottom: 17px; }
.pev-refined .footer-links li { margin-bottom: 8px; }
.pev-refined .footer-links a, .pev-refined .footer-contact-info { font-size: .775rem; line-height: 1.7; }
.pev-refined .footer-contact-info strong { font-size: .875rem; color: var(--text); }
.pev-refined .footer-social-section { padding: 20px 0; background: transparent; }
.pev-refined .copyright { font-size: .7rem; }
.pev-refined .social-icons { gap: 8px; }
.pev-refined .social-icon { width: 34px; height: 34px; font-size: .9rem; background: rgba(255, 255, 255, .025); }

/* Progressive grouping added by refinements.js, using the original content nodes. */
.pev-refined .pev-service-explorer { display: block; }
.pev-refined .pev-service-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  gap: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  overflow-x: auto;
  scrollbar-width: thin;
}
.pev-refined .pev-service-tab {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 11px 24px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s, box-shadow .25s;
}
.pev-refined .pev-service-tab:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.pev-refined .pev-service-tab[aria-selected='true'] {
  color: #04121e;
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 12px rgba(0, 0, 0, .15);
}
.pev-refined .pev-service-panel { width: 100%; animation: pev-template-panel .35s var(--ease-out); }
.pev-refined .pev-service-panel[hidden], .pev-refined .dropdown[hidden] { display: none !important; }
.pev-refined .pev-service-panel.details-column { padding: 32px; min-height: 248px; }
.pev-refined .pev-service-panel.details-column h3 { font-size: 1.7rem; font-weight: 500; margin-bottom: 22px; }
.pev-refined .pev-service-panel.details-column ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.pev-refined .pev-service-panel.details-column li { font-size: .925rem; }
.pev-refined .pev-service-panel.details-column:hover { transform: none; }
.pev-refined .pev-service-panel.process-section { padding: 8px 0 0; }
.pev-refined .pev-service-panel .steps-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pev-refined .pev-service-panel .header-title { font-size: 1.7rem; margin-bottom: 22px; }
.pev-refined .pev-service-panel .step-card { padding: 24px; }
.pev-refined .pev-service-panel .icon-box { margin-bottom: 18px; }
.pev-refined .pev-motion-toggle {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 900;
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(12, 17, 24, .94);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 11px;
  cursor: pointer;
}
.pev-refined .pev-motion-toggle:hover { border-color: var(--accent); }
.pev-refined .pev-motion-toggle[aria-pressed='true'] { color: var(--accent); }
html.pev-motion-paused { scroll-behavior: auto; }
.pev-refined.pev-motion-paused *, .pev-refined.pev-motion-paused *::before, .pev-refined.pev-motion-paused *::after {
  animation-play-state: paused !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
.pev-refined.pev-motion-paused :is(.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .job-tag, .job-header, .job-image-gallery, .back-link),
.pev-refined.pev-motion-paused .stagger > *, .pev-refined.pev-motion-paused .job-content :is(h3, p) { opacity: 1 !important; transform: none !important; }

@media (min-width: 881px) {
  .pev-refined .has-dropdown.open > .dropdown { display: block; opacity: 1; visibility: visible; }
}

@keyframes pev-template-panel { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (hover: hover) {
  .pev-refined .details-column:hover { border-color: rgba(23, 162, 255, .3); transform: translateY(-4px); background: linear-gradient(145deg, rgba(23, 162, 255, .05), rgba(255, 255, 255, .02)); }
  .pev-refined .job-card:hover { border-color: rgba(23, 162, 255, .3); transform: translateY(-2px); }
  .pev-refined .product-card:hover { border-color: rgba(23, 162, 255, .35); box-shadow: 0 16px 40px rgba(0, 0, 0, .2); transform: translateY(-4px); }
}

@media (max-width: 1100px) {
  .pev-refined .solution-cta, .pev-refined .full-row, .pev-refined .standards-strip { margin-left: 24px; margin-right: 24px; }
  .pev-refined .steps-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pev-refined .nav-menu { gap: 0; }
  .pev-refined .nav-menu a { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 992px) {
  .pev-refined #main-content > .sidebar { top: auto; }
  .pev-refined .product-top-section > .product-details { order: -1; }
  .pev-refined .tab-buttons { width: 100%; min-width: 0; flex-direction: row; padding: 10px; gap: 6px; }
  .pev-refined .tab-btn { min-width: 125px; font-size: .75rem; }
  .pev-refined .mv-row { grid-template-columns: 1fr; gap: 24px; }
  .pev-refined .mv-body { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--stroke); }
}
@media (max-width: 900px) {
  .pev-refined .details-container { grid-template-columns: 1fr; }
  .pev-refined .details-column { padding: 22px; }
  .pev-refined .details-column ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
}
@media (max-width: 880px) {
  .pev-refined .navbar, .pev-refined .navbar.scrolled {
    top: 0; left: 0; width: 100%; border-radius: 0; border: 0; border-bottom: 1px solid var(--stroke);
    background: #0f151c; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .pev-refined .nav-container { padding: 10px 20px; min-height: 72px; }
  .pev-refined .nav-menu { background: #0f151c; padding: 95px 24px 36px; }
  .pev-refined .nav-menu > li > a { font-size: 17px; padding: 18px 6px; }
  .pev-refined .dropdown, .pev-refined .has-dropdown:hover > .dropdown, .pev-refined .has-dropdown.open > .dropdown { background: transparent; padding: 0; }
  .pev-refined .nav-menu .dropdown a { font-size: 14px; padding: 12px 16px 12px 24px; }
  .pev-refined .nav-right { margin-left: 0; }
  .pev-refined .shop-btn { padding: 10px 18px; }
  .pev-refined :is(.hei, .job-hero) { padding-top: 123px; min-height: 270px; padding-bottom: 34px; }
  .pev-refined .main-content:has(.contact-form) { padding-top: 96px; }
  .pev-refined .policy-frame, .pev-refined .terms-header { padding-top: 112px; }
}
@media (max-width: 768px) {
  .pev-refined > header { display: grid; grid-template-columns: minmax(60px, 1fr) auto 44px; gap: 10px; }
  .pev-refined > header > .logo { grid-column: 1; grid-row: 1; }
  .pev-refined > header > .menu-toggle { grid-column: 3; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
  .pev-refined > header > .header-right { grid-column: 2; grid-row: 1; }
  .pev-refined > header > nav { display: none; }
  .pev-refined #main-content > .sidebar { border-radius: 20px !important; padding: 18px !important; }
  .pev-refined .mobile-search-container { margin-bottom: 12px; }
  .pev-refined .mobile-search-container .search-container { min-height: 44px; margin-bottom: 0; padding: 4px 12px; }
}
@media (max-width: 600px) {
  .pev-refined :is(.hei, .job-hero) { padding-left: 20px; padding-right: 20px; }
  .pev-refined :is(.hei, .job-hero) h1 { font-size: clamp(2rem, 8.7vw, 2.8rem); }
  .pev-refined .details { padding: 24px 16px 12px; }
  .pev-refined .details-column ul { grid-template-columns: 1fr; }
  .pev-refined .process-section { padding: 24px 16px; }
  .pev-refined .steps-container { gap: 12px; }
  .pev-refined .step-card { padding: 18px; }
  .pev-refined .step-title { font-size: .925rem; }
  .pev-refined .step-description { font-size: .775rem; }
  .pev-refined .solution-cta { padding: 24px; margin: 12px 16px 32px; }
  .pev-refined .about-content, .pev-refined .careers-wrapper { width: calc(100% - 32px); }
  .pev-refined .mv-row { padding: 24px; }
  .pev-refined .mv-header h2 { font-size: 1.7rem; }
  .pev-refined .lead-p { font-size: 1.2rem; }
  .pev-refined .main-content:has(.contact-form) { padding: 92px 16px 32px; }
  .pev-refined .card-header { padding: 26px 22px; }
  .pev-refined .form-container { padding: 22px; }
  .pev-refined .form-selector { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pev-refined .form-type-select { width: 100%; }
  .pev-refined .contact-form { grid-template-columns: 1fr; gap: 17px; }
  .pev-refined .form-group :is(input, select, textarea) { font-size: 16px; }
  .pev-refined .pev-service-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 18px; gap: 4px; overflow: visible; }
  .pev-refined .pev-service-tab { font-size: .75rem; padding: 10px 12px; border-radius: 12px; }
  .pev-refined .pev-service-panel.details-column { padding: 24px; min-height: 0; }
  .pev-refined .pev-service-panel.details-column h3, .pev-refined .pev-service-panel .header-title { font-size: 1.4rem; }
  .pev-refined .pev-service-panel.details-column ul { grid-template-columns: 1fr; gap: 14px; }
  .pev-refined .pev-service-panel .steps-container { grid-template-columns: 1fr; }
  .pev-refined .submit-btn { width: 100%; }
  .pev-refined .job-card { padding: 22px; gap: 20px; }
  .pev-refined .policy-frame { padding-left: 20px; padding-right: 20px; }
  .pev-refined .policy-frame .section { padding: 0 16px; }
  .pev-refined .policy-frame .section-header span:first-child { font-size: .875rem; }
  .pev-refined .terms-header, .pev-refined .terms-header + .container { padding-left: 20px; padding-right: 20px; }
  .pev-refined .full-row, .pev-refined .standards-strip { margin-left: 16px; margin-right: 16px; }
  .pev-refined .text-content { padding: 22px; }
  .pev-refined .full-bleed-img { height: 190px; }
  .pev-refined .tab-content { padding: 22px; }
  .pev-refined .product-top-section { gap: 18px; }
  .pev-refined .product-visual { height: 120px; }
  .pev-refined .product-quote-btn { margin: auto 12px 12px; width: calc(100% - 24px); padding: 10px 8px; gap: 6px; font-size: .75rem; }
  .pev-refined .product-details { padding: 22px; }
  .pev-refined .product-hero { min-height: 210px; padding: 24px; }
  .pev-refined .product-hero-icon { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 12px; }
  .pev-refined .product-hero-icon i { font-size: 2.7rem; }
  .pev-refined .pev-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pev-refined .pev-page-status { grid-row: 1; grid-column: 1 / -1; }
  .pev-refined .pev-page-button { width: 100%; }
  .pev-refined .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .pev-refined .footer-social { gap: 18px; }
}
@media (max-width: 390px) {
  .pev-refined .steps-container { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pev-refined *, .pev-refined *::before, .pev-refined *::after { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .pev-refined :is(.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale), .pev-refined .stagger > * { opacity: 1 !important; transform: none !important; }
  .pev-refined :is(.job-tag, .job-header, .job-image-gallery, .back-link, .job-hero h1, .job-hero .divider-line, .breadcrumb), .pev-refined .job-content :is(h3, p) { opacity: 1 !important; transform: none !important; }
}
@media (prefers-contrast: more) {
  body.pev-refined { --muted: #d5e0e8; --stroke: rgba(233, 238, 242, .4); }
}
