:root{--color-primary:#00384f;--color-primary-light:#00527a;--color-accent:#0693e3;--color-accent-2:#00a896;--color-dark:#12263a;--color-text:#2d3748;--color-text-light:#718096;--color-bg:#fff;--color-bg-alt:#f7fbfd;--color-border:#dce8f0;--font-main:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--radius:6px;--radius-lg:12px;--shadow-sm:0 1px 4px rgba(0,0,0,.08);--shadow-md:0 4px 16px rgba(0,56,79,.12);--max-w:1200px;--note:#f6c445}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--font-main);color:var(--color-text);background:var(--color-bg);line-height:1.6;font-size:16px}
a{color:var(--color-accent);text-decoration:none}
.wrap{max-width:var(--max-w);margin:0 auto;padding:0 24px}
h1,h2,h3{color:var(--color-dark);line-height:1.2}
h2{font-size:2.4rem;margin-bottom:12px}
h3{font-size:1.2rem;margin-bottom:8px}
.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--color-accent);margin-bottom:10px}
.lead{color:var(--color-text-light);font-size:1.1rem;max-width:720px}
.center{text-align:center}.center .lead{margin:0 auto}
section{padding:88px 0;position:relative}
.alt{background:var(--color-bg-alt)}
.btn{display:inline-block;padding:12px 24px;border-radius:var(--radius);font-weight:600;font-size:.95rem;transition:all .2s;cursor:pointer;border:2px solid transparent}
.btn-primary{background:var(--color-accent);color:#fff}.btn-primary:hover{background:#0578bb}
.btn-ghost{border-color:rgba(255,255,255,.7);color:#fff}.btn-ghost:hover{background:rgba(255,255,255,.1)}
.btn-outline{border-color:var(--color-primary);color:var(--color-primary)}
/* header */
header{position:sticky;top:0;z-index:50;background:rgba(0,56,79,.97);height:70px}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:70px}
header img{height:38px;display:block}
nav{display:flex;gap:26px;align-items:center}
nav a{color:#fff;font-size:.9rem;font-weight:500;opacity:.9}
nav a.active,nav a:hover{opacity:1;color:#7fd0ff}
nav a.btn{opacity:1;padding:8px 16px;color:#fff}
/* hero */
.hero{background:linear-gradient(120deg,#00384f 0%,#00527a 60%,#0a6a8f 100%);color:#fff;padding:96px 0 72px}
.hero .wrap{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center}
.hero h1{color:#fff;font-size:3.6rem;font-weight:700;margin-bottom:18px}
.hero h1 span{color:#7fd0ff}
.hero .sub{font-size:1.35rem;font-weight:600;color:#fff;margin-bottom:14px}
.hero p{color:rgba(255,255,255,.85);font-size:1.05rem;max-width:600px;margin-bottom:30px}
.hero .ctas{display:flex;gap:14px;flex-wrap:wrap}
.hero-home{background:linear-gradient(110deg,rgba(0,38,58,.95) 0%,rgba(0,56,79,.86) 55%,rgba(0,56,79,.6) 100%),url('../img/hpgen-stack.jpg') center/cover no-repeat}
.hero-home .wrap{grid-template-columns:1fr!important}
.hero-home h1{max-width:820px}.hero-home .sub{max-width:760px}
.hero-img{background:#fff;border-radius:var(--radius-lg);padding:18px;box-shadow:0 12px 40px rgba(0,0,0,.25)}
.hero-img img{width:100%;display:block;border-radius:var(--radius)}
.facts{display:flex;gap:48px;margin-top:56px;padding-top:28px;border-top:1px solid rgba(255,255,255,.18);flex-wrap:wrap}
.facts b{display:block;font-size:2rem;color:#fff}
.facts b em{font-style:normal;color:#7fd0ff}
.facts span{font-size:.85rem;color:rgba(255,255,255,.75)}
/* cards */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:48px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.card{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow-sm)}
.usp .icon{width:48px;height:48px;border-radius:50%;background:rgba(6,147,227,.1);display:flex;align-items:center;justify-content:center;margin-bottom:16px;color:var(--color-accent);font-weight:800;font-size:1.2rem}
.usp h3{font-size:1.4rem}
.usp p{color:var(--color-text-light);font-size:.95rem}
.cluster{display:flex;flex-direction:column}
.cluster ul{list-style:none;margin:10px 0 18px}
.cluster li{padding:6px 0;border-bottom:1px dashed var(--color-border);font-size:.95rem}
.cluster li:before{content:"→ ";color:var(--color-accent-2);font-weight:700}
.cluster p{color:var(--color-text-light);font-size:.9rem;flex:1}
.tag{display:inline-block;font-size:.72rem;font-weight:700;padding:4px 10px;border-radius:20px;margin-top:14px;align-self:flex-start}
.tag.ref{background:rgba(0,168,150,.12);color:#00806f}
.tag.trial{background:rgba(6,147,227,.12);color:#0570ad}
.other{margin-top:28px;text-align:center;color:var(--color-text-light)}
/* paas band */
.band{background:var(--color-primary);color:#fff}
.band h2{color:#fff}.band .lead{color:rgba(255,255,255,.8)}
.band .eyebrow{color:#7fd0ff}
.checks{list-style:none;margin:22px 0 30px}
.checks li{padding:8px 0 8px 30px;position:relative;color:rgba(255,255,255,.9)}
.checks li:before{content:"✓";position:absolute;left:0;color:#5fe0cf;font-weight:800}
.band .panel{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius-lg);padding:34px}
.steps{counter-reset:s}
.steps div{padding:14px 0 14px 54px;position:relative;border-bottom:1px solid rgba(255,255,255,.12)}
.steps div:last-child{border:0}
.steps div:before{counter-increment:s;content:counter(s);position:absolute;left:0;top:12px;width:36px;height:36px;border-radius:50%;background:var(--color-accent);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.steps b{color:#fff;display:block}.steps span{color:rgba(255,255,255,.75);font-size:.9rem}
/* proof */
.proof .card{padding:24px}
.proof .who{font-weight:700;color:var(--color-dark)}
.proof .where{font-size:.8rem;color:var(--color-accent-2);font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
.proof p{font-size:.9rem;color:var(--color-text-light)}
/* how */
.flow{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:44px;flex-wrap:wrap}
.flow .node{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:18px 22px;text-align:center;min-width:150px;box-shadow:var(--shadow-sm)}
.flow .node b{display:block;color:var(--color-dark)}
.flow .node span{font-size:.8rem;color:var(--color-text-light)}
.flow .node.main{background:var(--color-primary);border-color:var(--color-primary)}
.flow .node.main b,.flow .node.main span{color:#fff}
.flow .arrow{color:var(--color-accent);font-size:1.6rem;font-weight:700}
/* news */
.post .date{font-size:.8rem;color:var(--color-text-light)}
.post h3{font-size:1.05rem;margin:6px 0}
.post p{font-size:.9rem;color:var(--color-text-light)}
.post .ph{height:120px;border-radius:var(--radius);background:linear-gradient(135deg,#dce8f0,#f7fbfd);margin-bottom:14px;display:flex;align-items:center;justify-content:center;color:#9ab;font-size:.8rem}
/* cta */
.cta{background:linear-gradient(120deg,#00527a,#00384f);color:#fff;text-align:center}
.cta h2{color:#fff}.cta p{color:rgba(255,255,255,.85);max-width:640px;margin:0 auto 28px}
/* form */
form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
form .full{grid-column:1/-1}
label{display:block;font-size:.85rem;font-weight:600;color:var(--color-dark);margin-bottom:6px}
input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--color-border);border-radius:var(--radius);font:inherit;font-size:.95rem;background:#fff}
textarea{min-height:110px}
.small{font-size:.8rem;color:var(--color-text-light)}
.faq details{border-bottom:1px solid var(--color-border);padding:18px 0}
.faq summary{font-weight:600;color:var(--color-dark);cursor:pointer}
.faq p{margin-top:10px;color:var(--color-text-light)}
.proof .vcard{padding:0}
.vcard{padding:0;overflow:hidden;display:flex;flex-direction:column}
.vcard .thumb{position:relative;display:block;aspect-ratio:16/9;background:#00384f;overflow:hidden}
.vcard .thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.vcard .thumb:hover img{transform:scale(1.04)}
.vcard .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:rgba(6,147,227,.92);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.1rem;padding-left:4px;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.vcard .vbody{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.vcard .vbody p{flex:1;margin-bottom:10px}
.vcard .vbody > a{font-size:.85rem;font-weight:600}
.ph-turf{background:linear-gradient(135deg,#2e7d4f,#5aa86b)!important;display:flex!important;align-items:center;justify-content:center;text-align:center;color:rgba(255,255,255,.9);font-weight:700;font-size:.85rem}
.flowimg{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:10px}
.flowimg img{width:100%;display:block;border-radius:var(--radius)}
.pflow{display:grid;grid-template-columns:200px auto 220px auto 1fr;align-items:center;gap:18px;margin:44px auto 0;max-width:1080px}
.pf-card{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:22px}
.pf-title{font-weight:700;color:var(--color-dark);text-align:center;margin-bottom:12px;font-size:1.05rem}
.pf-title:after{content:"";display:block;width:34px;height:3px;background:var(--color-accent);margin:8px auto 0;border-radius:2px}
.pf-in{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--color-border);font-weight:500;color:var(--color-dark);font-size:.95rem}
.pf-in:last-child{border-bottom:0}
.pf-ic{width:40px;height:40px;border-radius:50%;background:rgba(6,147,227,.1);color:var(--color-accent);display:flex;align-items:center;justify-content:center;flex:none}
.pf-ic svg{width:20px;height:20px}
.pf-system{text-align:center}
.pf-system img{width:100%;max-width:150px;display:block;margin:0 auto 12px}
.pf-label{font-weight:600;color:var(--color-dark);font-size:.95rem}
.pf-sub{font-size:.8rem;color:var(--color-text-light);margin-top:2px}
.pf-arrow{color:var(--color-accent);font-size:1.8rem;font-weight:600;text-align:center}
.pf-arrow.sm{font-size:1.4rem;margin-bottom:44px}
.pf-out{background:var(--color-bg-alt);border-radius:var(--radius-lg);padding:22px 16px}
.pf-steps{display:flex;align-items:center;justify-content:space-between;gap:6px}
.pf-step{text-align:center;flex:1}
.pf-circle{width:76px;height:76px;border-radius:50%;background:#fff;border:1px solid var(--color-border);box-shadow:var(--shadow-sm);color:var(--color-primary);display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.pf-circle svg{width:34px;height:34px}
.pf-circle.pf-solid{background:var(--color-accent);border-color:var(--color-accent);color:#fff}
@media(max-width:900px){.pflow{grid-template-columns:1fr}.pf-arrow{transform:rotate(90deg)}.pf-arrow.sm{transform:none;margin-bottom:44px}.pf-system img{max-width:120px}}
/* modal */
.modal{position:fixed;inset:0;background:rgba(0,30,45,.6);display:none;align-items:center;justify-content:center;z-index:200;padding:20px}
.modal.open{display:flex}
.modal-box{background:#fff;border-radius:var(--radius-lg);max-width:640px;width:100%;max-height:92vh;overflow:auto;padding:32px;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.modal-close{position:absolute;top:12px;right:14px;border:0;background:none;font-size:1.6rem;cursor:pointer;color:var(--color-text-light)}
.modal-box h3{font-size:1.4rem;margin-bottom:6px}
.gate-done{display:none;text-align:center;padding:20px 0}
/* footer */
footer{position:relative;background:#002536;color:rgba(255,255,255,.7);padding:64px 0 28px;font-size:.9rem}
footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
footer h4{color:#fff;font-size:.9rem;margin-bottom:14px}
footer a{color:rgba(255,255,255,.7);display:block;padding:3px 0}
footer img{height:34px;margin-bottom:14px}
footer .bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:44px;padding-top:20px;display:flex;justify-content:space-between;font-size:.8rem}
/* pages */
.page{display:none}.page.show{display:block}
@media(max-width:900px){.hero .wrap,.grid2,.grid3,.grid4,footer .cols,form{grid-template-columns:1fr}.hero h1{font-size:2.5rem}nav a:not(.btn){display:none}}

/* ===== Current-site styles, scoped to .legacy ===== */
/* ============================================================
   HPNow — Static Website
   Color palette & base
   ============================================================ */



:root {
  --color-primary:   #00384f;   /* deep ocean teal */
  --color-primary-light: #00527a;
  --color-accent:    #0693e3;   /* bright blue */
  --color-accent-2:  #00a896;   /* teal green */
  --color-dark:      #12263a;
  --color-text:      #2d3748;
  --color-text-light:#718096;
  --color-bg:        #ffffff;
  --color-bg-alt:    #f7fbfd;
  --color-bg-dark:   #00384f;
  --color-border:    #dce8f0;
  --font-main:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:          6px;
  --radius-lg:       12px;
  --shadow-sm:       0 1px 4px rgba(0,0,0,.08);
  --shadow-md:       0 4px 16px rgba(0,56,79,.12);
  --shadow-lg:       0 8px 32px rgba(0,56,79,.16);
  --transition:      all .25s ease;
  --max-w:           1200px;
  --header-h:        70px;
}

/* ---- Reset ---- */
*, .legacy *::before, .legacy *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.legacy {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
.legacy img { max-width: 100%; height: auto; display: block; }
.legacy a { color: var(--color-accent); text-decoration: none; transition: var(--transition); }
.legacy a:hover { color: var(--color-primary); }
.legacy ul { list-style: none; }

/* ---- Typography ---- */
.legacy h1, .legacy h2, .legacy h3, .legacy h4, .legacy h5 { line-height: 1.25; color: var(--color-dark); font-weight: 700; }
.legacy h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.legacy h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.legacy h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.legacy h4 { font-size: 1.15rem; }
.legacy p { margin-bottom: 1rem; }
.legacy p:last-child { margin-bottom: 0; }

/* ---- Layout helpers ---- */
.legacy .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.legacy .section { padding: 80px 0; }
.legacy .section--alt { background: var(--color-bg-alt); }
.legacy .section--dark { background: var(--color-bg-dark); color: #fff; }
.legacy .section--dark h1,
.legacy .section--dark h2,
.legacy .section--dark h3,
.legacy .section--dark h4 { color: #fff; }
.legacy .section--dark p { color: rgba(255,255,255,.85); }
.legacy .section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .5rem;
  display: block;
}
.legacy .section-title { margin-bottom: 1rem; }
.legacy .section-subtitle { font-size: 1.1rem; color: var(--color-text-light); max-width: 640px; margin-bottom: 3rem; }
.legacy .section-intro { max-width: 640px; }
.legacy .text-center { text-align: center; }
.legacy .text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.legacy .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.legacy .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.legacy .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.legacy .flex-center { display: flex; align-items: center; justify-content: center; }
.legacy .flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ---- Buttons ---- */
.legacy .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  line-height: 1;
}
.legacy .btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.legacy .btn-primary:hover {
  background: #0579c3;
  border-color: #0579c3;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.legacy .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.legacy .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}
.legacy .btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.legacy .btn-outline-dark:hover {
  background: var(--color-primary);
  color: #fff;
}
.legacy .btn-sm { padding: 8px 20px; font-size: .875rem; }

/* ---- Navigation ---- */
.legacy .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(0,56,79,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.legacy .site-header.scrolled {
  background: rgba(0,56,79,1);
  box-shadow: var(--shadow-md);
}
.legacy .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.legacy .logo img { height: 48px; }
.legacy .logo:hover { opacity: .9; }
.legacy .nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legacy .nav-list a {
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.legacy .nav-list a:hover,
.legacy .nav-list a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.legacy .nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  border-radius: var(--radius) !important;
}
.legacy .nav-cta:hover {
  background: #0579c3 !important;
}
.legacy .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.legacy .hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.legacy .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.legacy .hamburger.open span:nth-child(2) { opacity: 0; }
.legacy .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.legacy .mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-primary);
  padding: 20px 24px 28px;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.legacy .mobile-nav.open { display: block; }
.legacy .mobile-nav a {
  display: block;
  color: rgba(255,255,255,.88);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 1.05rem;
}
.legacy .mobile-nav a:hover { color: #fff; }
.legacy .mobile-nav a:last-child { border-bottom: none; }

/* ---- Hero ---- */
.legacy .hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url('../img/hpgen-stack.jpg') center/cover no-repeat #00263a;
  padding-top: var(--header-h);
}
.legacy .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,38,58,.93) 0%, rgba(0,61,92,.87) 55%, rgba(0,90,135,.80) 100%);
}
.legacy .hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.legacy .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,147,227,.15);
  border: 1px solid rgba(6,147,227,.3);
  color: #7dd3fc;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.legacy .hero h1 { color: #fff; margin-bottom: 24px; font-size: clamp(2.4rem, 6vw, 3.8rem); }
.legacy .hero h1 em { font-style: normal; color: #7dd3fc; }
.legacy .hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  line-height: 1.7;
}
.legacy .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.legacy .hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.legacy .hero-stat-value {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.legacy .hero-stat-value span { color: var(--color-accent); }
.legacy .hero-stat-label { font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---- Page hero (inner pages) ---- */
.legacy .page-hero {
  background: linear-gradient(135deg, #00263a 0%, #003d5c 60%, #005a87 100%);
  padding: calc(var(--header-h) + 60px) 0 70px;
  text-align: center;
}
.legacy .page-hero h1 { color: #fff; margin-bottom: 16px; }
.legacy .page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.legacy .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.legacy .breadcrumb a { color: rgba(255,255,255,.6); }
.legacy .breadcrumb a:hover { color: #fff; }
.legacy .breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ---- Cards ---- */
.legacy .card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.legacy .card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(6,147,227,.25);
}
.legacy .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(6,147,227,.12), rgba(0,168,150,.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.legacy .card-icon svg { width: 28px; height: 28px; color: var(--color-accent); }
.legacy .card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.legacy .card p { color: var(--color-text-light); font-size: .95rem; line-height: 1.65; }

/* ---- Feature split ---- */
.legacy .feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.legacy .feature-split.reverse { direction: rtl; }
.legacy .feature-split.reverse > * { direction: ltr; }
.legacy .feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.legacy .feature-image img { width: 100%; object-fit: cover; }
.legacy .feature-image.tall img { aspect-ratio: 4/5; object-fit: cover; }
.legacy .feature-text {}
.legacy .feature-text .section-label { margin-bottom: 8px; }
.legacy .feature-text h2 { margin-bottom: 16px; }
.legacy .feature-text p { color: var(--color-text-light); margin-bottom: 16px; }
.legacy .check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.legacy .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--color-text);
}
.legacy .check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230693e3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

/* ---- Pillars / 3-col ---- */
.legacy .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.legacy .pillar {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.legacy .pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.legacy .pillar-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 20px;
}
.legacy .pillar h3 { font-size: 1.1rem; margin-bottom: 10px; }
.legacy .pillar p { color: var(--color-text-light); font-size: .92rem; }

/* ---- Awards / logos ---- */
.legacy .awards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.legacy .award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.legacy .award-badge {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legacy .award-badge svg { width: 30px; height: 30px; color: #fff; }
.legacy .award-label { font-size: .8rem; font-weight: 600; color: var(--color-text-light); text-align: center; max-width: 100px; }

/* ---- Knowledge Centre docs ---- */
.legacy .doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.legacy .doc-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.legacy .doc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.legacy .doc-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}
.legacy .badge-case { background: rgba(6,147,227,.1); color: var(--color-accent); }
.legacy .badge-brochure { background: rgba(0,168,150,.1); color: var(--color-accent-2); }
.legacy .badge-whitepaper { background: rgba(0,56,79,.08); color: var(--color-primary); }
.legacy .badge-datasheet { background: rgba(234,179,8,.1); color: #b45309; }
.legacy .doc-card h4 { font-size: 1rem; line-height: 1.4; color: var(--color-dark); }
.legacy .doc-card p { font-size: .875rem; color: var(--color-text-light); margin-bottom: 0; }
.legacy .doc-download {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-accent);
}
.legacy .doc-download:hover { color: var(--color-primary); }
.legacy .doc-download svg { width: 16px; height: 16px; }
.legacy .kc-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.legacy .kc-section-title svg { color: var(--color-accent); }

/* ---- Quote / testimonial ---- */
.legacy .quote-block {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
}
.legacy .quote-mark { font-size: 5rem; line-height: 1; color: var(--color-accent); font-family: Georgia, serif; margin-bottom: -16px; }
.legacy .quote-text { font-size: 1.25rem; font-style: italic; line-height: 1.7; color: rgba(255,255,255,.9); margin-bottom: 24px; }
.legacy .quote-author { font-weight: 600; color: #7dd3fc; }
.legacy .quote-role { font-size: .875rem; color: rgba(255,255,255,.5); }

/* ---- Stats bar ---- */
.legacy .stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.legacy .stat-item {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
}
.legacy .stat-item.dark-stat { background: var(--color-primary); }
.legacy .stat-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.legacy .stat-item.dark-stat .stat-value { color: #7dd3fc; }
.legacy .stat-label { font-size: .875rem; color: var(--color-text-light); }
.legacy .stat-item.dark-stat .stat-label { color: rgba(255,255,255,.6); }

/* ---- CTA banner ---- */
.legacy .cta-banner {
  background: linear-gradient(135deg, #00384f, #005a87);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.legacy .cta-banner h2 { color: #fff; margin-bottom: 8px; }
.legacy .cta-banner p { color: rgba(255,255,255,.7); margin: 0; }
.legacy .cta-banner-actions { display: flex; gap: 16px; flex-shrink: 0; }

/* ---- Contact form ---- */
.legacy .contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.legacy .contact-info h2 { margin-bottom: 16px; }
.legacy .contact-info p { color: var(--color-text-light); margin-bottom: 32px; }
.legacy .contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.legacy .contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(6,147,227,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.legacy .contact-detail-icon svg { width: 20px; height: 20px; color: var(--color-accent); }
.legacy .contact-detail-text strong { display: block; font-weight: 600; color: var(--color-dark); margin-bottom: 2px; }
.legacy .contact-detail-text span { font-size: .9rem; color: var(--color-text-light); }
.legacy .form-group { margin-bottom: 20px; }
.legacy .form-label { display: block; font-weight: 600; font-size: .9rem; color: var(--color-dark); margin-bottom: 6px; }
.legacy .form-input,
.legacy .form-textarea,
.legacy .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: .95rem;
  color: var(--color-text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.legacy .form-input:focus,
.legacy .form-textarea:focus,
.legacy .form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(6,147,227,.12);
}
.legacy .form-textarea { resize: vertical; min-height: 140px; }
.legacy .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Footer ---- */
.legacy .site-footer {
  background: #00263a;
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.legacy .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.legacy .footer-brand p { font-size: .9rem; color: rgba(255,255,255,.5); margin-top: 16px; max-width: 280px; }
.legacy .footer-social { display: flex; gap: 10px; margin-top: 16px; }
.legacy .footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.legacy .footer-social a:hover { background: rgba(255,255,255,.16); color: #fff; }
.legacy .footer-social svg { width: 15px; height: 15px; }
.legacy .footer-logo { height: 32px; margin-bottom: 4px; }
.legacy .footer-col h4 { color: #fff; font-size: .9rem; font-weight: 600; margin-bottom: 16px; }
.legacy .footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.legacy .footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.legacy .footer-col ul a:hover { color: #fff; }
.legacy .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 8px;
}
.legacy .footer-bottom a { color: rgba(255,255,255,.4); }
.legacy .footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ---- Process steps ---- */
.legacy .process-steps { display: flex; flex-direction: column; gap: 0; }
.legacy .process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}
.legacy .process-step:last-child { border-bottom: none; }
.legacy .step-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.legacy .step-content h3 { margin-bottom: 8px; }
.legacy .step-content p { color: var(--color-text-light); margin: 0; }

/* ---- Image with overlay text ---- */
.legacy .img-highlight {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.legacy .img-highlight img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.legacy .img-highlight-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,38,58,.9) 0%, transparent 100%);
  padding: 32px;
  color: #fff;
}
.legacy .img-highlight-overlay h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.legacy .img-highlight-overlay p { font-size: .875rem; color: rgba(255,255,255,.7); margin: 0; }

/* ---- Sustainability certifications ---- */
.legacy .cert-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.legacy .cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.legacy .cert-item:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.legacy .cert-dot {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.legacy .cert-title { font-weight: 600; font-size: .95rem; color: var(--color-dark); }
.legacy .cert-desc { font-size: .85rem; color: var(--color-text-light); }

/* ---- Product Carousel ---- */
.legacy .carousel {
  position: relative;
  width: 100%;
}
.legacy .carousel-main {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f0f4f8;
  border-radius: var(--radius-lg);
}
.legacy .carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.legacy .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.legacy .carousel-slide.active { opacity: 1; }
.legacy .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.legacy .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 2;
  transition: var(--transition);
}
.legacy .carousel-btn:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.legacy .carousel-btn svg { width: 20px; height: 20px; color: var(--color-primary); }
.legacy .carousel-btn--prev { left: 12px; }
.legacy .carousel-btn--next { right: 12px; }
.legacy .carousel-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  padding: 2px 0;
  flex-wrap: wrap;
}
.legacy .carousel-thumb {
  width: 72px;
  height: 56px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #f0f4f8;
  opacity: 0.45;
  transition: opacity .25s, border-color .25s;
  flex-shrink: 0;
}
.legacy .carousel-thumb.active {
  opacity: 1;
  border-color: var(--color-accent);
}
.legacy .carousel-thumb:hover { opacity: 0.85; }
.legacy .carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .legacy .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .legacy .pillars { grid-template-columns: repeat(2, 1fr); }
  .legacy .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .legacy .feature-split.reverse { direction: ltr; }
  .legacy .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .legacy .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .legacy .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .legacy .section { padding: 60px 0; }
  .legacy .nav-list { display: none; }
  .legacy .hamburger { display: flex; }
  .legacy .grid-2, .legacy .grid-3 { grid-template-columns: 1fr; }
  .legacy .pillars { grid-template-columns: 1fr; }
  .legacy .doc-grid { grid-template-columns: 1fr; }
  .legacy .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .legacy .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .legacy .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .legacy .cta-banner-actions { flex-direction: column; width: 100%; }
  .legacy .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .legacy .footer-bottom { flex-direction: column; text-align: center; }
  .legacy .hero-stats { gap: 28px; }
  .legacy .form-row { grid-template-columns: 1fr; }
  .legacy .process-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .legacy .quote-block { padding: 32px 24px; }
  /* Carousel: switch to square aspect-ratio on tablets/phones */
  .legacy .carousel-main { aspect-ratio: 1 / 1; }
}
@media (max-width: 480px) {
  .legacy .stats-bar { grid-template-columns: 1fr; }
  .legacy .hero-actions { flex-direction: column; }
  .legacy .awards-row { gap: 24px; }
  /* Carousel: shrink thumbnails to fit narrow screens */
  .legacy .carousel-thumb { width: 54px; height: 42px; }
  .legacy .carousel-thumbs { gap: 6px; }
}
/* Spec table horizontal scroll on mobile */
.legacy .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legacy .table-scroll .spec-table { min-width: 420px; }

/* ---- Cookie Banner ---- */
.legacy .cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0d2233;
  z-index: 2000;
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.legacy .cookie-banner.visible { transform: translateY(0); }
.legacy .cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.legacy .cookie-banner p {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  margin: 0;
  max-width: 680px;
}
.legacy .cookie-banner p a { color: #7dd3fc; text-decoration: underline; }
.legacy .cookie-banner p a:hover { color: #fff; }
.legacy .cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
@media (max-width: 600px) {
  .legacy .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .legacy .cookie-banner-actions { width: 100%; }
  .legacy .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* ---- Utilities ---- */
.legacy .mt-0 { margin-top: 0; }
.legacy .mt-1 { margin-top: 8px; }
.legacy .mt-2 { margin-top: 16px; }
.legacy .mt-3 { margin-top: 24px; }
.legacy .mt-4 { margin-top: 32px; }
.legacy .mt-6 { margin-top: 48px; }
.legacy .mb-0 { margin-bottom: 0; }
.legacy .mb-2 { margin-bottom: 16px; }
.legacy .mb-3 { margin-bottom: 24px; }
.legacy .mb-4 { margin-bottom: 32px; }
.legacy .mb-6 { margin-bottom: 48px; }
.legacy .pt-0 { padding-top: 0 !important; }
.legacy .gap-sm { gap: 12px; }
.legacy .fw-600 { font-weight: 600; }
.legacy .color-accent { color: var(--color-accent); }
.legacy .color-light { color: var(--color-text-light); }

/* Scroll reveal animations */
.legacy [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.legacy [data-reveal="left"] { transform: translateX(-24px); }
.legacy [data-reveal="right"] { transform: translateX(24px); }
.legacy [data-reveal="scale"] { transform: scale(.96); }
.legacy [data-reveal].revealed {
  opacity: 1;
  transform: none;
}
.legacy [data-delay="100"] { transition-delay: .1s; }
.legacy [data-delay="200"] { transition-delay: .2s; }
.legacy [data-delay="300"] { transition-delay: .3s; }
.legacy [data-delay="400"] { transition-delay: .4s; }
.legacy [data-delay="500"] { transition-delay: .5s; }
.legacy [data-delay="600"] { transition-delay: .6s; }


/*  */

/* technology */

    .legacy .spec-table { width:100%; border-collapse:collapse; margin-top:16px; }
    .legacy .spec-table th, .legacy .spec-table td { padding:12px 16px; text-align:left; border-bottom:1px solid var(--color-border); font-size:.92rem; }
    .legacy .spec-table th { font-weight:600; color:var(--color-dark); background:var(--color-bg-alt); }
    .legacy .spec-table td:first-child { color:var(--color-text-light); }
    .legacy .spec-table tr:last-child td { border-bottom:none; }
    .legacy .product-card { background:#fff; border:1px solid var(--color-border); border-radius:var(--radius-lg); overflow:hidden; transition:var(--transition); }
    .legacy .product-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-3px); }
    .legacy .product-card-img { background:var(--color-bg-alt); padding:40px; text-align:center; min-height:280px; display:flex; align-items:center; justify-content:center; }
    .legacy .product-card-img img { max-height:220px; object-fit:contain; }
    .legacy .product-card-body { padding:32px; }
    .legacy .product-badge { display:inline-block; background:rgba(6,147,227,.1); color:var(--color-accent); font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:4px 10px; border-radius:20px; margin-bottom:12px; }
    .legacy .product-card-body h3 { margin-bottom:8px; font-size:1.4rem; }
    .legacy .product-card-body .throughput { font-size:1.1rem; font-weight:700; color:var(--color-accent); margin-bottom:12px; }
    .legacy .product-card-body p { color:var(--color-text-light); margin-bottom:16px; font-size:.93rem; }
    .legacy .process-visual { display:flex; align-items:center; gap:0; flex-wrap:wrap; justify-content:center; margin:40px 0; }
    .legacy .process-node { text-align:center; padding:20px 16px; }
    .legacy .process-node-icon { width:72px; height:72px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
    .legacy .process-node-icon.input { background:rgba(6,147,227,.12); }
    .legacy .process-node-icon.process { background:linear-gradient(135deg,var(--color-accent),var(--color-accent-2)); }
    .legacy .process-node-icon.output { background:rgba(0,168,150,.12); }
    .legacy .process-node-icon svg { width:32px; height:32px; }
    .legacy .process-node-icon.input svg { color:var(--color-accent); }
    .legacy .process-node-icon.process svg { color:#fff; }
    .legacy .process-node-icon.output svg { color:var(--color-accent-2); }
    .legacy .process-node-label { font-weight:600; font-size:.9rem; color:var(--color-dark); }
    .legacy .process-node-sublabel { font-size:.8rem; color:var(--color-text-light); margin-top:2px; }
    .legacy .process-arrow { font-size:1.6rem; color:var(--color-text-light); padding:0 4px; align-self:center; margin-bottom:28px; }
    .legacy .tech-comparison { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:32px; }
    .legacy .comparison-col { border-radius:var(--radius-lg); padding:32px; }
    .legacy .comparison-col.old { background:#fff5f5; border:1px solid #fecaca; }
    .legacy .comparison-col.new { background:#f0fdf4; border:1px solid #bbf7d0; }
    .legacy .comparison-col h4 { margin-bottom:16px; font-size:1rem; }
    .legacy .comparison-col.old h4 { color:#dc2626; }
    .legacy .comparison-col.new h4 { color:#16a34a; }
    .legacy .comparison-list { display:flex; flex-direction:column; gap:8px; }
    .legacy .comparison-list li { font-size:.88rem; color:var(--color-text); display:flex; gap:10px; align-items:flex-start; }
    .legacy .comparison-list li::before { content:''; width:16px; height:16px; min-width:16px; margin-top:2px; background-size:contain; background-repeat:no-repeat; background-position:center; }
    .legacy .comparison-col.old .comparison-list li::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }
    .legacy .comparison-col.new .comparison-list li::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
    @media(max-width:768px) { .legacy .tech-comparison { grid-template-columns:1fr; } .legacy .process-arrow { display:none; } }
  
/* knowledge-centre */

    .legacy .kc-section { margin-bottom: 64px; }
    .legacy .kc-section:last-child { margin-bottom: 0; }
    .legacy .filter-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }
    .legacy .filter-tab {
      padding: 8px 20px;
      border-radius: 24px;
      font-size: .875rem;
      font-weight: 600;
      cursor: pointer;
      border: 1.5px solid var(--color-border);
      background: #fff;
      color: var(--color-text-light);
      transition: var(--transition);
    }
    .legacy .filter-tab:hover, .legacy .filter-tab.active {
      background: var(--color-primary);
      border-color: var(--color-primary);
      color: #fff;
    }
  
/* about */

.legacy [data-reveal]{opacity:1!important;transform:none!important}
.legacy .page-hero{padding-top:56px!important}
.legacy section{padding-top:0;padding-bottom:0}
.legacy .note{z-index:30}

/* ===== Responsive layer ===== */
html{-webkit-text-size-adjust:100%}
body{overflow-wrap:break-word}
img{max-width:100%;height:auto}
:root{--gutter:clamp(16px,4vw,24px)}
.wrap{padding-left:var(--gutter);padding-right:var(--gutter)}
section{padding:clamp(56px,8vw,88px) 0}
h2{font-size:clamp(1.65rem,3.6vw,2.4rem)}
.hero h1,.hero-home h1{font-size:clamp(2.1rem,5.6vw,3.6rem)!important}
.hero{padding:clamp(64px,9vw,96px) 0 clamp(48px,6vw,72px)!important}
.hero .sub{font-size:clamp(1.08rem,2.2vw,1.35rem)}
.lead{font-size:clamp(1rem,1.6vw,1.1rem)}
.facts{gap:clamp(20px,4vw,48px)}
.facts b{font-size:clamp(1.5rem,3vw,2rem)}
.card{padding:clamp(22px,3vw,30px)}
.band .panel{padding:clamp(22px,3vw,34px)}
.legacy .section{padding:clamp(56px,8vw,80px) 0}
.legacy .container{padding:0 var(--gutter)}
.legacy .section-subtitle{margin-bottom:clamp(1.5rem,4vw,3rem)}
.legacy .feature-split{gap:clamp(28px,5vw,64px)}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(min-width:1600px){:root{--max-w:1320px}}
@media(max-width:1100px){
  .grid4{grid-template-columns:repeat(2,1fr)}
  .pflow{grid-template-columns:1fr auto 1fr;max-width:720px}
  .pflow .pf-out{grid-column:1/-1}
  .pflow > div:nth-child(4){display:none}
  footer .cols{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .grid2,.grid3,.hero .wrap{grid-template-columns:1fr}
  .hero-img{justify-self:center}
  .facts{display:grid;grid-template-columns:1fr 1fr;margin-top:40px}
  .pflow{grid-template-columns:1fr;max-width:420px}
  .pflow .pf-out{grid-column:auto}
  .pflow > .pf-arrow{display:block!important;transform:rotate(90deg);line-height:1}
  .legacy .doc-grid{grid-template-columns:1fr 1fr}
  .legacy .feature-split,.legacy .grid-2,.legacy .grid-3{grid-template-columns:1fr!important}
  .legacy .feature-split.reverse{direction:ltr}
  .legacy .cta-banner{flex-direction:column;align-items:flex-start;gap:20px}
}
@media(max-width:600px){
  .grid4{grid-template-columns:1fr}
  form{grid-template-columns:1fr}
  footer .cols{grid-template-columns:1fr}
  footer .bottom{flex-direction:column;gap:8px}
  .hero .ctas .btn{flex:1 1 100%;text-align:center}
  .legacy .doc-grid{grid-template-columns:1fr}
  .pf-circle{width:60px;height:60px}.pf-circle svg{width:26px;height:26px}
  .pf-steps{gap:2px}.pf-step .pf-label{font-size:.85rem}.pf-step .pf-sub{font-size:.72rem}
  .pf-arrow.sm{font-size:1.1rem;margin-bottom:38px}
  .modal-box{padding:24px 18px}
  .faq summary{font-size:.98rem}
  .legacy .carousel-thumbs{gap:6px}
}
@media(max-width:380px){
  .facts{grid-template-columns:1fr}
}
.legacy .feature-split > *,.grid2 > *,.grid3 > *,.grid4 > *,.pflow > *{min-width:0}
.legacy .feature-image img{max-width:100%;min-width:0;height:auto}
@media(max-width:600px){
  .legacy .table-scroll .spec-table{min-width:0}
  .legacy .spec-table th,.legacy .spec-table td{padding:10px 8px;font-size:.88rem}
}
@media(max-width:1024px){
  .legacy .feature-image{max-width:520px;width:100%;margin-left:auto;margin-right:auto}
  .legacy #products .feature-image{max-width:380px}
}
/* keep system photos and team photo fully visible on screen */
.legacy #products .feature-image img{max-height:min(60vh,520px);width:auto!important;margin:0 auto}
.legacy img[alt="HPGen® systems installed in the field"]{max-height:62vh;width:auto!important;max-width:100%}
img[alt="The HPNow team"]{max-width:min(960px,100%,100vh)!important}

/* ---- burger menu ---- */
.nav-toggle{display:none;background:none;border:0;color:#fff;cursor:pointer;padding:6px;margin-right:-6px}
.nav-toggle svg{width:28px;height:28px;display:block}
header .wrap{position:relative}
@media(max-width:1100px){
.nav-toggle{display:block}
 header nav{position:fixed;top:70px;left:0;right:0;max-height:calc(100vh - 70px);overflow-y:auto;background:#00384f;flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gutter) 24px;display:none;box-shadow:0 12px 24px rgba(0,0,0,.25)}
 header nav.open{display:flex}
 header nav a,header nav a:not(.btn){display:block!important;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12)}
 header nav a.btn{margin-top:16px;text-align:center;border:0;padding:12px 24px}
}
body.nav-collapsed .nav-toggle{display:block}
 body.nav-collapsed header nav{position:fixed;top:70px;left:0;right:0;max-height:calc(100vh - 70px);overflow-y:auto;background:#00384f;flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gutter) 24px;display:none;box-shadow:0 12px 24px rgba(0,0,0,.25)}
 body.nav-collapsed header nav.open{display:flex}
 body.nav-collapsed header nav a,body.nav-collapsed header nav a:not(.btn){display:block!important;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12)}
 body.nav-collapsed header nav a.btn{margin-top:16px;text-align:center;border:0;padding:12px 24px}

/* ---- shrink-wrap boxes around system photos ---- */
/* system photo carousels: a white card that fills its half of the layout.
   The frame has a fixed, screen-dependent height and every photo is fitted
   inside it whole (never cropped); spare room shows as white space. */
.legacy .feature-image:has(.carousel){width:100%;max-width:580px;justify-self:center;margin-left:auto;margin-right:auto;background:#fff;padding:18px 18px 14px;border:1px solid var(--color-border)}
.legacy .carousel{width:100%;margin:0 auto}
.legacy .feature-image .carousel-main{aspect-ratio:auto;height:min(500px,58vh);background:#fff}
.legacy .feature-image .carousel-slide img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}
.legacy .carousel-thumbs{margin-top:14px}
.legacy .feature-image .carousel-thumb{background:#fff;border-color:var(--color-border)}
.legacy .feature-image .carousel-thumb.active{border-color:var(--color-accent)}
.legacy .feature-image .carousel-thumb img{width:100%;height:100%;object-fit:contain}
@media(max-width:900px){.legacy .feature-image .carousel-main{height:min(440px,48vh)}}
@media(max-width:600px){.legacy .feature-image:has(.carousel){padding:12px 12px 10px}.legacy .feature-image .carousel-main{height:min(320px,38vh)}}
.legacy #products .feature-image{width:fit-content!important;max-width:100%;justify-self:center;margin-left:auto;margin-right:auto}


/* ---- production additions ---- */
.page{display:block}
.legal{max-width:860px}
.legal h2{font-size:1.4rem;margin:32px 0 10px}.legal h3{font-size:1.1rem;margin:22px 0 8px}
.legal p,.legal li{color:var(--color-text);margin-bottom:10px}.legal ul{padding-left:22px;margin-bottom:12px}

/* cookie notice */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:150;background:#fff;border-top:1px solid var(--color-border);box-shadow:0 -6px 24px rgba(0,56,79,.14);padding:18px 0;transform:translateY(110%);transition:transform .35s ease;visibility:hidden}
.cookie-banner.visible{transform:none;visibility:visible}
.cookie-banner .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px}
.cookie-banner p{font-size:.9rem;color:var(--color-text);max-width:760px}
.cookie-banner p a{text-decoration:underline}
.cookie-actions{display:flex;gap:10px;flex-shrink:0}
.cookie-actions .btn{padding:9px 18px;font-size:.875rem}
@media(max-width:700px){.cookie-banner .wrap{flex-direction:column;align-items:stretch;gap:14px}.cookie-actions .btn{flex:1;text-align:center}}
