/* =========================================================
   HPMDS — brand stylesheet
   Blue + paper white. Print-shop language: crop marks,
   registration targets, halftone, monospace slugs.
   ========================================================= */
:root {
  --blue: #00B35C;
  --blue-2: #2EE88A;
  --navy: #00502D;
  --ink: #012A17;
  --ice: #DBFCE7;
  --paper: #F6FFF9;
  --white: #FFFFFF;
  --line: rgba(0, 80, 45, .14);
  --muted: #356B52;
  --display: "Bricolage Grotesque", "Inter Display", "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--navy);
  font: 400 17px/1.55 var(--display);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: .98; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.label { color: var(--blue); margin-bottom: 18px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; z-index: 100; top: 10px; left: 10px; background: var(--white); padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--white);
  display: inline-flex; align-items: center; gap: .6em;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit;
}
.btn:hover::after { transform: none; }
.btn:active { transform: scale(.97); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-light { --bg: var(--white); --fg: var(--navy); }
.btn-light:hover { color: var(--white); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost::after { background: var(--white); }
.btn-ghost:hover { color: var(--navy); }
.btn-big { padding: 18px 28px; font-size: 17px; width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 14px var(--pad) auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 12px; border-radius: 999px;
  background: rgba(246, 255, 249, .78); backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.6); box-shadow: 0 8px 30px rgba(1,42,23,.12);
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .mark-ring { transform-origin: 60px 60px; transition: transform .8s var(--ease); }
.brand:hover .mark-ring { transform: rotate(180deg) scale(1.15); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav-links a:hover { background: var(--ice); }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .nav { gap: 10px; }
  .nav .btn-sm { margin-left: auto; }
  .menu-toggle {
    display: grid; place-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: var(--navy); cursor: pointer;
  }
  .menu-toggle span:not(.sr) { width: 16px; height: 2px; background: var(--white); transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column;
    background: var(--white); border-radius: 22px; padding: 10px; box-shadow: 0 20px 40px rgba(1,42,23,.18);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .3s var(--ease);
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
}
@media (max-width: 480px) { .nav .btn-sm { display: none; } .menu-toggle { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--white); overflow: hidden;
  padding: 120px var(--pad) 40px;
}
.hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { /* paper grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; max-width: 1400px; width: 100%; margin: 0 auto; }
.kicker { display: flex; align-items: center; gap: 10px; color: #A6F7CC; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 0 rgba(46,232,138,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(46,232,138,0); } 100% { box-shadow: 0 0 0 0 rgba(46,232,138,0); } }
.hero-title { font-size: clamp(48px, 10.5vw, 168px); line-height: .9; letter-spacing: -.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-title.is-in .line > span { transform: none; }
.hero-title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero-foot { display: flex; flex-wrap: wrap; gap: 28px 60px; align-items: end; justify-content: space-between; margin-top: 44px; }
.lede { max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: #D9FDE9; }
.lede strong { color: var(--white); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  position: relative; z-index: 2; display: flex; gap: 28px; margin: 48px auto 0; max-width: 1400px; width: 100%;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: #7FF2B7; font-size: 11px;
}
.scroll-cue { margin-left: auto; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* crop marks */
.crop { position: absolute; z-index: 2; width: 28px; height: 28px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: rgba(255,255,255,.55); }
.crop::before { width: 100%; height: 1px; }
.crop::after { width: 1px; height: 100%; }
.crop-tl { top: 92px; left: 18px; } .crop-tl::before { top: 0; } .crop-tl::after { left: 0; }
.crop-tr { top: 92px; right: 18px; } .crop-tr::before { top: 0; } .crop-tr::after { right: 0; }
.crop-bl { bottom: 18px; left: 18px; } .crop-bl::before { bottom: 0; } .crop-bl::after { left: 0; }
.crop-br { bottom: 18px; right: 18px; } .crop-br::before { bottom: 0; } .crop-br::after { right: 0; }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--blue); color: var(--white); overflow: hidden; padding: 16px 0; border-block: 1px solid var(--navy); }
.ribbon-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-item { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; white-space: nowrap; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story (scrollytelling) ---------- */
.story { position: relative; height: calc(var(--steps) * 85vh + 30vh); background: var(--white); }
.story-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  padding: 90px var(--pad) 40px; max-width: 1500px; margin: 0 auto;
}
.story-year {
  font-weight: 800; font-size: clamp(90px, 19vw, 300px); line-height: .82; letter-spacing: -.06em;
  color: var(--blue); font-variant-numeric: tabular-nums; transition: opacity .25s;
}
.story-year.flip { opacity: 0; }
.story-bar { margin-top: 30px; height: 4px; background: var(--ice); border-radius: 4px; overflow: hidden; max-width: 420px; }
.story-bar span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.story-steps { list-style: none; padding: 0; margin: 0; position: relative; min-height: 300px; }
.story-step {
  position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(40px); filter: blur(6px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s;
}
.story-step.is-active { opacity: 1; transform: none; filter: none; }
.story-step.is-past { transform: translateY(-40px); }
.story-step .mono { color: var(--blue); }
.story-step h3 { font-size: clamp(34px, 4.4vw, 64px); margin: 14px 0 18px; }
.story-step p { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 520px; }
.story-sheets { position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; pointer-events: none; opacity: .9; }
.story-sheets i {
  position: absolute; inset: 0; border: 1.5px solid var(--blue); border-radius: 6px; background: rgba(219,252,231,.35);
  transform: rotate(calc(var(--n) * 7deg + var(--p, 0) * 40deg)) translate(calc(var(--n) * -10px), calc(var(--n) * -10px));
}
.story-sheets i:nth-child(1) { --n: 0; } .story-sheets i:nth-child(2) { --n: 1; } .story-sheets i:nth-child(3) { --n: 2; }
.story-sheets i:nth-child(4) { --n: 3; } .story-sheets i:nth-child(5) { --n: 4; }
@media (max-width: 820px) {
  .story-sticky { grid-template-columns: 1fr; align-content: center; gap: 20px; }
  .story-steps { min-height: 280px; }
  .story-sheets { width: 220px; height: 220px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) var(--pad); max-width: 1500px; margin: 0 auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 900px; }
.h2 { font-size: clamp(40px, 6.6vw, 104px); letter-spacing: -.045em; line-height: .92; }
.section-sub { margin-top: 22px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 560px; }

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  grid-template-areas:
    "copier copier printer toner"
    "copier copier pc toner"
    "ws mps ms stat";
}
.t-copier { grid-area: copier; } .t-printer { grid-area: printer; } .t-toner { grid-area: toner; }
.t-pc { grid-area: pc; } .t-ws { grid-area: ws; } .t-mps { grid-area: mps; } .t-ms { grid-area: ms; } .t-stat { grid-area: stat; }
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas:
    "copier copier" "printer toner" "pc pc" "ws mps" "ms stat"; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "copier" "printer" "toner" "pc" "ws" "mps" "ms" "stat"; }
}
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 220px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), box-shadow .4s, border-color .3s;
  isolation: isolate;
}
.tile::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(46,232,138,.16), transparent 60%);
}
.tile:hover { box-shadow: 0 24px 60px -20px rgba(0,179,92,.35); border-color: rgba(0,179,92,.35); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: clamp(24px, 2.2vw, 34px); }
.tile p { color: var(--muted); font-size: 15.5px; max-width: 380px; }
.tag { color: var(--blue); font-size: 11px; }
.tile-blue { background: var(--blue); color: var(--white); border-color: transparent; }
.tile-blue p, .tile-blue .tag { color: #D9FDE9; }
.tile-blue::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255,255,255,.18), transparent 60%); }
.tile-navy { background: var(--navy); color: var(--white); border-color: transparent; }
.tile-navy p, .tile-navy .tag { color: #A6F7CC; }
.tile-ink { background: var(--ink); color: var(--white); border-color: transparent; }
.tile-ink p, .tile-ink .tag { color: #A6F7CC; }
.tile-art { margin-bottom: auto; }

/* copier illustration */
.t-copier { justify-content: space-between; min-height: 460px; }
.copier { position: relative; height: 260px; display: grid; place-items: center; }
.copier-body {
  width: min(78%, 360px); height: 120px; border: 2px solid rgba(255,255,255,.85); border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}
.copier-body::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 2px; background: rgba(255,255,255,.4); }
.copier-light { position: absolute; top: 0; bottom: 0; width: 26%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: scan 3.2s var(--ease) infinite; }
@keyframes scan { 0% { left: -30%; } 60%, 100% { left: 105%; } }
.paper {
  position: absolute; width: min(46%, 210px); height: 70px; background: var(--white); border-radius: 4px;
  top: calc(50% + 40px); box-shadow: 0 10px 20px rgba(1,42,23,.25);
  background-image: repeating-linear-gradient(180deg, transparent 0 12px, var(--ice) 12px 14px);
  background-size: 70% 100%; background-repeat: no-repeat; background-position: 14px 12px;
  animation: eject 3.6s var(--ease) infinite; opacity: 0;
}
.p2 { animation-delay: 1.2s; } .p3 { animation-delay: 2.4s; }
@keyframes eject { 0% { transform: translateY(-30px) scaleY(.2); opacity: 0; } 15% { opacity: 1; } 55% { transform: translateY(40px) rotate(-3deg); opacity: 1; } 100% { transform: translateY(70px) rotate(-6deg); opacity: 0; } }

/* printer bars */
.printer { display: flex; gap: 6px; align-items: flex-end; height: 70px; }
.printer span { flex: 1; background: var(--ice); border-radius: 4px; height: 30%; animation: bars 1.8s var(--ease) infinite alternate; }
.printer span:nth-child(2n) { background: var(--blue); }
.printer span:nth-child(1) { animation-delay: .0s } .printer span:nth-child(2) { animation-delay: .15s }
.printer span:nth-child(3) { animation-delay: .3s } .printer span:nth-child(4) { animation-delay: .45s }
.printer span:nth-child(5) { animation-delay: .6s } .printer span:nth-child(6) { animation-delay: .75s }
@keyframes bars { to { height: 100%; } }

/* halftone toner tile */
.t-toner { justify-content: flex-end; min-height: 440px; }
.halftone {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, var(--blue-2) 0 var(--r, 2.4px), transparent calc(var(--r, 2.4px) + .5px));
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, transparent 70%);
          mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, transparent 70%);
  animation: dots 6s ease-in-out infinite alternate;
}
@keyframes dots { to { background-size: 18px 18px; } }

/* laptop */
.laptop { width: 150px; margin-left: auto; transition: transform .6s var(--ease); }
.laptop .lid { height: 86px; border: 2px solid var(--navy); border-radius: 8px 8px 2px 2px; padding: 10px; display: grid; gap: 6px; align-content: start; transform-origin: bottom; transform: perspective(300px) rotateX(-55deg); transition: transform .8s var(--ease); background: var(--ice); }
.laptop .lid i { display: block; height: 6px; border-radius: 3px; background: var(--blue); width: 70%; }
.laptop .lid i:nth-child(2) { width: 45%; opacity: .5; } .laptop .lid i:nth-child(3) { width: 58%; opacity: .3; }
.laptop .base { height: 8px; border-radius: 0 0 8px 8px; background: var(--navy); margin: 0 -10px; }
.t-pc:hover .laptop .lid, .t-pc.is-in .laptop .lid { transform: none; }
.t-pc { flex-direction: column; }

/* workstation meters */
.meter { display: grid; gap: 8px; margin: 10px 0 auto; order: -1; }
.t-ws { justify-content: space-between; }
.meter span { height: 8px; border-radius: 4px; background: var(--ice); position: relative; overflow: hidden; }
.meter span::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.t-ws.is-in .meter span::after { transform: scaleX(var(--v)); }

/* managed print pulse grid */
.pulse-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin: 14px 0 auto; }
.pulse-grid i { aspect-ratio: 1; border-radius: 50%; background: rgba(166,247,204,.2); animation: pulse 2.4s var(--d) infinite; }
@keyframes pulse { 0%, 70%, 100% { background: rgba(166,247,204,.2); } 80% { background: #4DF5A3; box-shadow: 0 0 10px #4DF5A3; } }

/* microsoft panes (generic 4-pane, not a logo) */
.panes { display: grid; grid-template-columns: repeat(2, 26px); gap: 5px; }
.panes i { height: 26px; border-radius: 5px; background: var(--ice); transition: background .3s, transform .5s var(--ease); }
.t-ms:hover .panes i { background: var(--blue); }
.t-ms:hover .panes i:nth-child(1) { transform: translate(-3px, -3px); } .t-ms:hover .panes i:nth-child(2) { transform: translate(3px, -3px); }
.t-ms:hover .panes i:nth-child(3) { transform: translate(-3px, 3px); } .t-ms:hover .panes i:nth-child(4) { transform: translate(3px, 3px); }

.t-stat { justify-content: space-between; }
.big-num { font-weight: 800; font-size: clamp(64px, 6vw, 104px); line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.big-num::after { content: "+"; color: #A6F7CC; }
.t-stat .mono { color: #D9FDE9; line-height: 1.5; }

/* ---------- Lease ---------- */
.lease { border-top: 1px solid var(--line); }
.lease-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: center; }
@media (max-width: 860px) { .lease-grid { grid-template-columns: 1fr; } }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 34px; padding: 6px; border-radius: 999px; background: var(--ice); }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: 14px 34px; font: 700 16px var(--display); color: var(--navy); cursor: pointer; transition: color .3s; }
.switch button[aria-selected="true"] { color: var(--white); }
.switch-thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--blue); transition: transform .5s var(--ease); }
.switch.is-buy .switch-thumb { transform: translateX(100%); }
.lease-cards { position: relative; }
.lease-card { background: var(--navy); color: var(--white); border-radius: 28px; padding: clamp(28px, 4vw, 48px); animation: cardIn .6s var(--ease); }
.lease-card .mono { color: #A6F7CC; }
.lease-card h3 { font-size: clamp(32px, 3.6vw, 52px); margin: 12px 0 24px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) rotate(-1.5deg); } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; font-size: 17px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
.ticks li::before { content: "✓"; color: #4DF5A3; font-weight: 700; }

/* ---------- Sectors ---------- */
.sector-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.sector {
  display: grid; grid-template-columns: 60px 1.2fr 1.4fr 210px; gap: 20px 40px; align-items: center;
  padding: 34px 10px; border-bottom: 1px solid var(--line); position: relative; isolation: isolate;
  transition: color .4s, padding .4s var(--ease);
}
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); border-radius: 16px; }
.sector:hover { color: var(--white); padding-inline: 28px; }
.sector:hover::before { transform: none; }
.sector:hover p, .sector:hover .mono { color: #D9FDE9; }
.sector h3 { font-size: clamp(28px, 3.4vw, 52px); }
.sector p { color: var(--muted); transition: color .4s; }
.sector .mono { color: var(--blue); transition: color .4s; }
.sector-tag { justify-self: end; border: 1px solid currentColor; padding: 6px 10px; border-radius: 999px; font-size: 10.5px; white-space: nowrap; }
@media (max-width: 860px) { .sector { grid-template-columns: 40px 1fr; } .sector p, .sector-tag { grid-column: 2; justify-self: start; } }

/* ---------- Credentials ---------- */
.creds { background: var(--ink); color: var(--white); max-width: none; }
.creds > * { max-width: 1500px; margin-inline: auto; }
.creds .label { color: #4DF5A3; }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 960px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cred-grid { grid-template-columns: 1fr; } }
.cred { background: var(--ink); padding: 30px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; position: relative; min-height: 150px; transition: background .4s; }
.cred:hover { background: #0A4A2D; }
.cred-code { width: 70px; height: 70px; border-radius: 50%; border: 1.5px dashed #4DF5A3; display: grid; place-items: center; font: 600 15px var(--mono); color: #A6F7CC; transition: transform .8s var(--ease); }
.cred:hover .cred-code { transform: rotate(-12deg) scale(1.06); border-style: solid; color: var(--white); background: var(--blue); border-color: var(--blue); }
.cred h3 { font-size: 21px; letter-spacing: -.01em; line-height: 1.15; }
.cred .mono { color: #7FF2B7; font-size: 11px; margin-top: 8px; }
.cred-reg { position: absolute; top: 12px; right: 12px; width: 22px; color: rgba(166,247,204,.35); transition: transform 1s var(--ease); }
.cred:hover .cred-reg { transform: rotate(90deg); color: #4DF5A3; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; padding-top: 34px; }
.steps::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ice); }
.steps::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; top: -41px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.steps .mono { color: var(--blue); }
.steps h3 { font-size: clamp(28px, 2.8vw, 40px); margin: 10px 0 12px; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--blue); color: var(--white); padding: clamp(80px, 11vw, 150px) var(--pad); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -15vw; top: -20vw; width: 60vw; height: 60vw; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 6vw rgba(255,255,255,.04), 0 0 0 12vw rgba(255,255,255,.03); }
.contact-inner { position: relative; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; }
@media (max-width: 920px) { .contact-inner { grid-template-columns: 1fr; } }
.contact .label { color: #D9FDE9; }
.contact-copy > p:not(.label) { margin-top: 22px; font-size: 19px; color: #D9FDE9; max-width: 460px; }
.contact-dl { margin: 40px 0 0; display: grid; gap: 0; }
.contact-dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); }
.contact-dl dt { color: #A6F7CC; } .contact-dl dd { margin: 0; text-transform: none; letter-spacing: .02em; font-size: 14px; }
.contact-dl a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.form { background: var(--white); color: var(--navy); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 14px; box-shadow: 0 40px 80px -30px rgba(1,42,23,.5); }
.hp { position: absolute; left: -9999px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper);
  padding: 24px 16px 10px; font: 500 16px var(--display); color: var(--navy); resize: vertical; transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 16px; pointer-events: none; transition: .2s var(--ease); transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.72); color: var(--blue); }
.field.invalid input, .field.invalid textarea { border-color: #D6336C; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.chips { border: 0; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { color: var(--muted); margin-bottom: 10px; font-size: 11px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; cursor: pointer; transition: .25s var(--ease); user-select: none; }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); color: var(--white); border-color: var(--blue); transform: scale(1.04); }
.chip input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.form-msg { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-msg.ok { background: var(--ice); color: var(--blue); } .form-msg.err { background: #FDE8EF; color: #A61E4D; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C2FADA; padding: 0 var(--pad) 30px; overflow: hidden; }
.footer-big {
  font-weight: 800; font-size: 27vw; line-height: .78; letter-spacing: -.07em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(77,245,163,.5); margin: 0 calc(var(--pad) * -1); padding-top: 4vw;
  user-select: none;
}
.footer-grid { max-width: 1400px; margin: 40px auto 0; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.footer-grid img { width: 220px; height: auto; margin-bottom: 16px; }
.footer-grid .label { color: #4DF5A3; margin-bottom: 10px; }
.footer-grid p { font-size: 15px; margin-bottom: 4px; }
.footer-grid p.mono { font-size: 12px; }
.footer-grid a { text-decoration: none; } .footer-grid a:hover { color: var(--white); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-base { max-width: 1400px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; font-size: 10.5px; color: #86CFA8; text-transform: none; letter-spacing: .02em; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.tile[data-reveal].is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero-title .line > span { transform: none; }
}

/* ---------- Featured HP models ---------- */
.models { border-top: 1px solid var(--line); }
.models-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1.5px solid var(--line); background: var(--white); color: var(--navy); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--display); cursor: pointer; transition: .25s var(--ease); }
.filters button:hover { border-color: var(--blue); }
.filters button.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 20px; margin: 0 -2px;
  scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag .model { pointer-events: none; }
.model {
  scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .4s, opacity .4s, filter .4s;
}
.model:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(0,179,92,.45); }
.model.is-out { opacity: .18; filter: grayscale(1); transform: scale(.97); }
.model-media { position: relative; container-type: inline-size; aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--ice), var(--white) 70%); display: grid; place-items: center; overflow: hidden; }
.model-media img { width: 86%; height: 86%; object-fit: contain; transition: transform .8s var(--ease); mix-blend-mode: multiply; }
.model:hover .model-media img { transform: scale(1.06) translateY(-4px); }
.model-media.is-empty {
  background-color: var(--ice);
  background-image: radial-gradient(circle, rgba(0,179,92,.18) 0 1.6px, transparent 2px);
  background-size: 12px 12px;
}
.model-ghost { font-weight: 800; font-size: clamp(34px, 16cqi, 84px); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--blue); transition: transform .8s var(--ease); }
.model:hover .model-ghost { transform: scale(1.06); }
.model-soon { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 10.5px; }
.model-badge { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--white); padding: 6px 10px; border-radius: 999px; font-size: 10.5px; }
.model-badge.is-colour { background: var(--blue); }
.model-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.model-type { color: var(--blue); font-size: 11px; }
.model h3 { font-size: 22px; line-height: 1.1; letter-spacing: -.02em; }
.model-body > p:not(.mono) { color: var(--muted); font-size: 15px; flex: 1; }
.model-cta { margin-top: 6px; align-self: flex-start; text-decoration: none; font-weight: 700; color: var(--blue); border-bottom: 2px solid currentColor; padding-bottom: 2px; transition: gap .3s; display: inline-flex; gap: 6px; }
.model-cta:hover { gap: 12px; }
.rail-nav { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 18px; cursor: pointer; transition: .25s var(--ease); }
.rail-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.rail-progress { flex: 1; height: 3px; background: var(--ice); border-radius: 3px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; background: var(--blue); width: var(--w, 30%); transform: translateX(var(--x, 0%)); transition: transform .15s linear; }

/* ---------- Managed devices: lifecycle ring ---------- */
.managed { border-top: 1px solid var(--line); }
.cycle { display: grid; grid-template-columns: minmax(300px, 1fr) 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .cycle { grid-template-columns: 1fr; } }
.cycle-ring { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.cycle-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cycle-track { fill: none; stroke: var(--ice); stroke-width: 10; }
.cycle-arc { fill: none; stroke: var(--blue); stroke-width: 10; stroke-linecap: round; stroke-dasharray: var(--arc, 20) 100; transition: stroke-dasharray .9s var(--ease); }
.cycle-node {
  position: absolute; transform: translate(-50%, -50%); width: clamp(76px, 22%, 112px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer;
  display: grid; place-content: center; gap: 2px; text-align: center; font: 700 clamp(12px, 1.3vw, 15px)/1.1 var(--display);
  transition: .5s var(--ease); box-shadow: 0 10px 30px -18px rgba(1,42,23,.4);
}
.cycle-node .mono { color: var(--blue); font-size: 10px; }
.cycle-node:hover { border-color: var(--blue); transform: translate(-50%, -50%) scale(1.06); }
.cycle-node.is-on { background: var(--blue); color: var(--white); border-color: var(--blue); transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 0 10px rgba(0,179,92,.12), 0 20px 40px -14px rgba(0,179,92,.6); }
.cycle-node.is-on .mono { color: #D9FDE9; }
.cycle-node.is-done { border-color: var(--blue); }
.cycle-core { position: absolute; inset: 32%; border-radius: 50%; background: var(--navy); color: #A6F7CC; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.cycle-core .mono { font-size: 10px; line-height: 1.5; }
.cycle-core .mark { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cycle-panel { background: var(--navy); color: var(--white); border-radius: 28px; padding: clamp(24px, 4vw, 44px); min-height: 460px; display: flex; flex-direction: column; }
.cycle-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.cycle-tabs button { border: 1px solid rgba(255,255,255,.2); background: none; color: #A6F7CC; padding: 7px 13px; border-radius: 999px; font: 600 13px var(--display); cursor: pointer; transition: .25s; }
.cycle-tabs button[aria-selected="true"] { background: var(--white); color: var(--navy); border-color: var(--white); }
.cycle-copy { animation: cardIn .6s var(--ease); flex: 1; }
.cycle-copy .label { color: #4DF5A3; }
.cycle-copy h3 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 14px; }
.cycle-copy > p:not(.label) { color: #C2FADA; font-size: 17px; margin-bottom: 22px; max-width: 520px; }
.cycle-ctrl { display: flex; gap: 10px; align-items: center; margin-top: 24px; }
.cycle-ctrl .rail-btn { background: transparent; color: var(--white); border-color: rgba(255,255,255,.25); }
.cycle-play { margin-left: auto; background: none; border: 0; color: #A6F7CC; cursor: pointer; font-size: 11px; }
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.brands b { font: 800 clamp(20px, 2.2vw, 30px) var(--display); color: var(--navy); letter-spacing: -.02em; text-transform: none; opacity: .75; transition: opacity .3s, color .3s; }
.brands b:hover { opacity: 1; color: var(--blue); }

/* ---------- Cost calculator ---------- */
.calc { border-top: 1px solid var(--line); }
.calc-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 980px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-inputs { margin-top: 34px; display: grid; gap: 22px; }
.range { display: grid; gap: 10px; }
.range > span { display: flex; justify-content: space-between; font-weight: 600; }
.range output { font: 600 15px var(--mono); color: var(--blue); }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill, 50%), var(--ice) var(--fill, 50%)); outline-offset: 6px; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); cursor: grab; box-shadow: 0 4px 12px rgba(0,179,92,.35); transition: transform .2s; }
.range input[type=range]::-webkit-slider-thumb:active { transform: scale(1.2); }
.range input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); cursor: grab; }
.seg { display: inline-flex; background: var(--ice); padding: 4px; border-radius: 999px; gap: 4px; justify-self: start; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 9px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: .25s; }
.seg input:checked + span { background: var(--blue); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.calc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.stat .mono { color: var(--muted); font-size: 10.5px; }
.stat-num { font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-num.big { font-size: clamp(34px, 4vw, 56px); color: var(--blue); }
.stat-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.stat-wide { grid-column: 1 / -1; background: var(--ice); border-color: transparent; }
.chart { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 12px; }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.legend { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; color: var(--muted); }
.lg { display: inline-block; width: 18px; height: 0; border-top: 2px solid; margin-left: 6px; }
.lg-buy { border-color: #00A651; border-top-style: dashed; } .lg-sub { border-color: #00B4D8; }
.chart-box { position: relative; }
.chart-box svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-box .grid line { stroke: rgba(0,80,45,.08); }
.chart-box .axis text { fill: var(--muted); font: 11px var(--mono); }
.chart-box .dlabel { font: 600 12px var(--display); fill: var(--navy); }
.chart-tip { position: absolute; pointer-events: none; background: var(--navy); color: var(--white); border-radius: 10px; padding: 8px 10px; font: 12px/1.5 var(--mono); white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s; }
.chart-tip b { font-family: var(--display); }
.chart-tip i { display: inline-block; width: 10px; height: 2px; vertical-align: middle; margin-right: 6px; }
.chart-table summary { cursor: pointer; color: var(--blue); font-size: 11px; padding: 8px 0 4px; }
.chart-table table { width: 100%; border-collapse: collapse; font: 13px var(--mono); }
.chart-table th, .chart-table td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }
.fine { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* ---------- Support flow ---------- */
.support { border-top: 1px solid var(--line); }
.flow { display: grid; grid-template-columns: 1fr; gap: 18px; }
.flow-scen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 860px) { .flow-scen { grid-template-columns: 1fr 1fr; } }
.flow-scen button { text-align: left; border: 1.5px solid var(--line); background: var(--white); border-radius: 16px; padding: 14px 16px; font: 700 16px/1.2 var(--display); color: var(--navy); cursor: pointer; display: grid; gap: 6px; transition: .3s var(--ease); }
.flow-scen button .mono { color: var(--muted); font-size: 10px; font-weight: 500; }
.flow-scen button:hover { border-color: var(--blue); transform: translateY(-2px); }
.flow-scen button.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.flow-scen button.is-on .mono { color: #A6F7CC; }
.flow-track { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-track::before { content: ""; position: absolute; left: 4%; right: 4%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.flow-node { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 16px 44px; transition: border-color .4s, background .4s, transform .5s var(--ease), opacity .4s, box-shadow .4s; }
.flow-node h3 { font-size: 19px; line-height: 1.1; margin: 12px 0 4px; }
.flow-node > p:not(.mono) { color: var(--muted); font-size: 14px; margin-top: 6px; }
.flow-who { color: var(--blue); font-size: 10px; }
.flow-target { margin-top: 10px; font-size: 10px; color: var(--muted); text-transform: none; letter-spacing: .02em; }
.flow-tier { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ice); color: var(--blue); font-weight: 600; transition: .4s; position: relative; z-index: 1; }
.flow-exit { position: absolute; left: 16px; right: 16px; bottom: 12px; font-size: 10px; color: transparent; border-top: 1px dashed var(--line); padding-top: 8px; transition: color .3s; }
.flow.is-running .flow-node { opacity: .45; }
.flow .flow-node.is-visited { opacity: 1; border-color: rgba(0,179,92,.35); }
.flow .flow-node.is-visited .flow-tier { background: var(--blue); color: var(--white); }
.flow .flow-node.is-current { opacity: 1; border-color: var(--blue); transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,179,92,.55); }
.flow .flow-node.is-current .flow-tier { box-shadow: 0 0 0 0 rgba(0,179,92,.5); animation: ping 1.4s infinite; }
.flow .flow-node.is-solver .flow-exit { color: var(--blue); border-top-color: var(--blue); }
.flow .flow-node[data-node="done"].is-visited { background: var(--blue); color: var(--white); }
.flow .flow-node[data-node="done"].is-visited p, .flow .flow-node[data-node="done"].is-visited .mono { color: #D9FDE9; }
.flow .flow-node[data-node="done"].is-visited .flow-tier { background: var(--white); color: var(--blue); }
.flow-token { position: absolute; top: 28px; left: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(0,179,92,.18), 0 0 20px var(--blue-2); opacity: 0; transition: left .8s var(--ease), top .8s var(--ease), opacity .3s; z-index: 2; pointer-events: none; }
@media (max-width: 860px) {
  .flow-track { grid-template-columns: 1fr; }
  .flow-track::before { left: 33px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .flow-node { padding-left: 64px; } .flow-tier { position: absolute; left: 14px; top: 16px; }
  .flow-node h3 { margin-top: 0; } .flow-exit { left: 64px; }
  .flow .flow-node.is-current { transform: translateX(6px); }
  .flow-token { top: 0; left: 33px !important; }
}
.flow-console { background: var(--ink); color: #C2FADA; border-radius: 18px; overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #0A3A24; font-size: 11px; }
.cdots { display: inline-flex; gap: 5px; } .cdots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(166,247,204,.35); }
.console-status { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgba(166,247,204,.15); color: var(--white); }
.console-status.is-closed { background: var(--blue); }
.console-log { list-style: none; margin: 0; padding: 16px 18px; min-height: 150px; display: grid; gap: 8px; font-size: 12.5px; text-transform: none; letter-spacing: .01em; }
.console-log li { display: grid; grid-template-columns: 64px 54px 1fr; gap: 10px; animation: logIn .45s var(--ease); }
.console-log .t { color: #4DF5A3; } .console-log .lv { color: var(--white); }
@keyframes logIn { from { opacity: 0; transform: translateX(-8px); } }
.console-replay { margin: 0 18px 16px; background: none; border: 1px solid rgba(166,247,204,.3); color: #A6F7CC; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 11px; }
.console-replay:hover { color: var(--white); border-color: var(--white); }
@media (max-width: 520px) { .console-log li { grid-template-columns: 52px 1fr; } .console-log .lv { display: none; } }

.ticket { margin-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 60px); background: var(--navy); color: var(--white); border-radius: 32px; padding: clamp(24px, 4vw, 56px); }
@media (max-width: 920px) { .ticket { grid-template-columns: 1fr; } }
.ticket-copy h3 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 14px; }
.ticket-copy > p { color: #C2FADA; margin-bottom: 20px; max-width: 420px; }
.ticket .contact-dl { margin-top: 26px; }
.field-select select { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); padding: 24px 14px 10px; font: 500 16px var(--display); color: var(--navy); appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 26px, calc(100% - 15px) 26px; background-size: 5px 5px; background-repeat: no-repeat; }
.field-select label { transform: translateY(-10px) scale(.72); color: var(--blue); }
.ticks-dark li { border-top-color: rgba(255,255,255,.14); }
.stat-num { white-space: nowrap; }
@media (max-width: 520px) { .stat-num { font-size: 22px; } .stat-num.big { font-size: 34px; } .stat .mono { font-size: 9.5px; } }

/* ---------- Models: two rows ---------- */
.rail-group { padding-top: 34px; border-top: 1px solid var(--line); }
.rail-group + .rail-group { margin-top: clamp(48px, 6vw, 80px); }
.rail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 30px; margin-bottom: 22px; }
.rail-kicker { color: var(--muted); display: flex; align-items: center; gap: 10px; font-size: 11px; }
.rail-kicker span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: var(--white); }
.rail-title { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.035em; margin: 12px 0 8px; }
.rail-sub { color: var(--muted); max-width: 520px; }
#models-computers .rail-kicker span { background: var(--navy); }

/* ---------- Hero AI layer ---------- */
.hero-ink { opacity: .55; }
.hero-net { z-index: 1; }
.hero::before { /* keep headline readable over the network */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(1,42,23,.78) 0%, rgba(1,42,23,.35) 45%, rgba(1,42,23,0) 70%),
              linear-gradient(0deg, rgba(1,42,23,.7) 0%, rgba(1,42,23,0) 35%);
}
.ai-term {
  position: absolute; z-index: 3; right: var(--pad); top: 118px; width: 300px;
  background: rgba(0,80,45,.55); border: 1px solid rgba(77,245,163,.3); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #C2FADA; font-size: 11px; overflow: hidden;
  text-transform: none; letter-spacing: .02em;
}
.ai-term-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid rgba(77,245,163,.2); color: var(--white); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.ai-term-bar em { font-style: normal; margin-left: auto; color: #4DF5A3; }
.ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #FFD23F; box-shadow: 0 0 0 0 rgba(255,210,63,.6); animation: ping 1.8s infinite; }
.ai-term ol { list-style: none; margin: 0; padding: 10px 12px 12px; display: grid; gap: 6px; min-height: 92px; }
.ai-term li::before { content: "› "; color: #4DF5A3; }
.ai-term li:not(.done)::after { content: "▍"; color: #4DF5A3; animation: blink 1s steps(1) infinite; }
.ai-term li.done { color: #9ED9B9; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 1000px) { .ai-term { display: none; } }

/* ---------- Microsoft cloud ---------- */
.ms { border-top: 1px solid var(--line); }
.ms-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
@media (max-width: 980px) { .ms-grid { grid-template-columns: 1fr; } }
.ms-stack { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; }
.ms-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--ice); padding: 5px; border-radius: 16px; margin-bottom: 26px; }
@media (max-width: 560px) { .ms-tabs { grid-template-columns: 1fr 1fr; } }
.ms-tabs button { border: 0; background: none; border-radius: 12px; padding: 12px 8px; font: 700 14px var(--display); color: var(--navy); cursor: pointer; display: grid; justify-items: center; gap: 8px; transition: .3s var(--ease); }
.ms-tabs button[aria-selected="true"] { background: var(--white); color: var(--blue); box-shadow: 0 8px 20px -12px rgba(0,179,92,.5); }
.ms-ico { width: 26px; height: 26px; border-radius: 8px; position: relative; background: var(--blue); }
.ms-ico::before, .ms-ico::after { content: ""; position: absolute; background: var(--white); border-radius: 2px; }
.ms-ico-work::before { inset: 7px 6px 12px; } .ms-ico-work::after { inset: 15px 6px 7px; opacity: .6; }
.ms-ico-ai { background: linear-gradient(135deg, var(--blue-2), #00B4D8); }
.ms-ico-ai::before { inset: 6px; border-radius: 50%; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ms-ico-secure::before { inset: 6px 7px 5px; border-radius: 6px 6px 10px 10px; } .ms-ico-secure::after { left: 11px; top: 11px; width: 4px; height: 6px; background: var(--blue); }
.ms-ico-cloud::before { left: 5px; right: 5px; top: 11px; height: 8px; border-radius: 6px; } .ms-ico-cloud::after { left: 9px; top: 7px; width: 9px; height: 9px; border-radius: 50%; }
.ms-panel { animation: cardIn .55s var(--ease); flex: 1; }
.ms-panel h3 { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 10px; }
.ms-panel > p:not(.mono) { color: var(--muted); margin-bottom: 20px; max-width: 520px; }
.ms-apps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .ms-apps { grid-template-columns: 1fr; } }
.ms-apps li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 40px; font-weight: 600; position: relative; animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--k) * 70ms); }
.ms-apps li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 4px; background: var(--blue); }
.ms-apps li:nth-child(2)::before { background: #00B4D8; } .ms-apps li:nth-child(3)::before { background: var(--navy); } .ms-apps li:nth-child(4)::before { background: #4DF5A3; }
.ms-plans-label { color: var(--muted); font-size: 10.5px; margin-bottom: 8px; }
.ms-plans { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-plans span { border: 1.5px solid var(--blue); color: var(--blue); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13.5px; }

.copilot { margin: 0; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, #009048 0%, var(--navy) 45%, var(--ink) 100%); color: var(--white); display: flex; flex-direction: column; position: relative; isolation: isolate; min-height: 480px; }
.copilot::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 70%, rgba(46,232,138,.35) 80%, rgba(0,180,216,.35) 88%, transparent 100%); animation: spin 9s linear infinite; filter: blur(30px); }
.cp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 16px 18px; border-bottom: 1px solid rgba(166,247,204,.18); font-weight: 700; }
.cp-spark { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 200deg, #2EE88A, #00B4D8, #4DF5A3, #2EE88A); animation: spin 6s linear infinite; clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); }
.cp-apps { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.cp-apps button { border: 1px solid rgba(166,247,204,.3); background: none; color: #C2FADA; border-radius: 999px; padding: 6px 12px; font: 600 13px var(--display); cursor: pointer; transition: .25s; }
.cp-apps button.is-on { background: var(--white); color: var(--navy); border-color: var(--white); }
.cp-body { padding: 22px 20px; display: grid; gap: 16px; align-content: start; flex: 1; }
.cp-msg .mono { font-size: 10px; color: #4DF5A3; display: block; margin-bottom: 6px; }
.cp-you p { background: rgba(255,255,255,.08); border: 1px solid rgba(166,247,204,.2); border-radius: 16px 16px 16px 4px; padding: 12px 14px; min-height: 46px; }
.cp-you p::after { content: "▍"; color: #4DF5A3; animation: blink 1s steps(1) infinite; }
.cp-you.typed p::after { content: ""; }
.cp-ai ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cp-ai li { background: linear-gradient(90deg, rgba(46,232,138,.25), rgba(46,232,138,.06)); border-left: 2px solid #4DF5A3; border-radius: 4px 12px 12px 4px; padding: 10px 12px; font-size: 15px; animation: logIn .5s var(--ease); }
.cp-think { display: none; gap: 6px; padding: 8px 2px; }
.cp-think.on { display: flex; }
.cp-think i { width: 8px; height: 8px; border-radius: 50%; background: #4DF5A3; animation: think 1s infinite ease-in-out; }
.cp-think i:nth-child(2) { animation-delay: .15s; } .cp-think i:nth-child(3) { animation-delay: .3s; }
@keyframes think { 50% { transform: translateY(-5px); opacity: .4; } }
.copilot figcaption { padding: 12px 20px 16px; font-size: 10px; color: #86CFA8; }

.ms-services { list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
@media (max-width: 1100px) { .ms-services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ms-services { grid-template-columns: 1fr; } }
.ms-services li { border-top: 2px solid var(--blue); padding-top: 14px; }
.ms-services .mono { color: var(--blue); }
.ms-services h3 { font-size: 21px; margin: 8px 0 6px; }
.ms-services p { color: var(--muted); font-size: 14.5px; }

/* ---------- Language switcher ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ice); }
.lang-switch a { text-decoration: none; font: 700 12.5px/1 var(--display); padding: 8px 10px; border-radius: 999px; color: var(--navy); transition: .2s; white-space: nowrap; }
.lang-switch a:hover { background: var(--white); }
.lang-switch a.is-on { background: var(--navy); color: var(--white); }
.nav-links { margin-left: auto; }
.footer-langs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.footer-langs a[aria-current] { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1240px) { .nav-links a { padding: 8px 9px; font-size: 14px; } }
@media (max-width: 900px) { .lang-switch { margin-left: auto; } .nav .btn-sm { margin-left: 0; } }
@media (max-width: 560px) { .nav .btn-sm { display: none; } .lang-switch a { padding: 7px 8px; font-size: 12px; } .menu-toggle { margin-left: 0; } }

/* ---------- Chinese typography ---------- */
.lang-zh { --display: "Bricolage Grotesque", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif; }
.lang-zh body { line-height: 1.7; }
.lang-zh h1, .lang-zh h2, .lang-zh h3, .lang-zh .h2, .lang-zh .hero-title, .lang-zh .rail-title { letter-spacing: 0; font-weight: 900; }
.lang-zh .hero-title { line-height: 1.08; font-size: clamp(44px, 8.6vw, 136px); }
.lang-zh .h2 { line-height: 1.12; font-size: clamp(36px, 5.6vw, 88px); }
.lang-zh .hero-title em { -webkit-text-stroke-width: 1.5px; }
.lang-zh .mono { letter-spacing: .04em; }
/* Malay runs ~25% longer than English — give headlines a little room */
.lang-ms .hero-title { font-size: clamp(42px, 8.8vw, 140px); }
.lang-ms .h2 { font-size: clamp(36px, 5.8vw, 92px); }

/* ===================== GEOIMEJ ADDITIONS ===================== */
.footer-big { font-size: 20vw; }

/* ---------- ICT solutions + live topology ---------- */
.ict { border-top: 1px solid var(--line); }
.ict-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .ict-grid { grid-template-columns: 1fr; } }
.topo { margin: 0; position: sticky; top: 100px; background: radial-gradient(120% 100% at 50% 0%, #009048 0%, var(--navy) 55%, var(--ink) 100%); border-radius: 28px; padding: 18px 18px 12px; color: var(--white); overflow: hidden; }
@media (max-width: 980px) { .topo { position: relative; top: 0; } }
.topo svg { width: 100%; height: auto; display: block; }
.topo-links path { fill: none; stroke: rgba(166,247,204,.28); stroke-width: 2; stroke-dasharray: 5 6; transition: stroke .3s, stroke-width .3s; animation: dash 12s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -220; } }
.topo-nodes rect, .topo-nodes circle { fill: rgba(0,80,45,.85); stroke: rgba(166,247,204,.45); stroke-width: 1.5; transition: fill .3s, stroke .3s, filter .3s; }
.topo-nodes text { fill: #C2FADA; font: 600 13px var(--mono); text-anchor: middle; letter-spacing: .06em; pointer-events: none; }
.topo [data-n].on rect, .topo [data-n].on circle { fill: var(--blue); stroke: #C6FFE0; filter: drop-shadow(0 0 12px rgba(46,232,138,.8)); }
.topo [data-n].on text { fill: var(--white); }
.topo-links path.on { stroke: #4DF5A3; stroke-width: 3; }
.topo-pulses circle { fill: #fff; filter: drop-shadow(0 0 6px #4DF5A3); }
.topo figcaption { font-size: 10.5px; color: #7FF2B7; padding-top: 4px; }
.ict-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .ict-list { grid-template-columns: 1fr; } }
.ict-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; padding: 20px; cursor: pointer; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s, background .3s; }
.ict-card .mono { color: var(--blue); font-size: 11px; }
.ict-card h3 { font-size: 21px; margin: 8px 0 6px; line-height: 1.15; }
.ict-card p { color: var(--muted); font-size: 14.5px; }
.ict-card:hover, .ict-card:focus-visible, .ict-card.on { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0,179,92,.6); background: linear-gradient(180deg, #fff, var(--ice)); outline: none; }

/* ---------- Supplies & tenders ---------- */
.supplies { border-top: 1px solid var(--line); }
.sup-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
@media (max-width: 980px) { .sup-grid { grid-template-columns: 1fr; } }
.sup-cats { margin-top: 30px; display: grid; gap: 18px; }
.sup-cat h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -.01em; }
.sup-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sup-chips span { background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; transition: .25s var(--ease); }
.sup-chips span:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.tender { list-style: none; margin: 0; padding: 26px; background: var(--navy); color: var(--white); border-radius: 28px; position: relative; display: grid; gap: 4px; overflow: hidden; }
.tender::before { content: ""; position: absolute; left: 45px; top: 50px; bottom: 120px; width: 2px; background: rgba(166,247,204,.2); }
.tender::after { content: ""; position: absolute; left: 45px; top: 50px; width: 2px; height: calc((100% - 170px) * var(--p, 0)); background: #4DF5A3; transition: height .3s; }
.tender li:not(.tender-stamp) { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 14px 0; position: relative; z-index: 1; opacity: .35; transform: translateX(8px); transition: opacity .5s, transform .6s var(--ease); }
.tender li.on { opacity: 1; transform: none; }
.tender-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 2px solid rgba(166,247,204,.4); font-size: 14px; transition: .4s; }
.tender li.on .tender-dot { background: var(--blue); border-color: #C6FFE0; box-shadow: 0 0 0 6px rgba(46,232,138,.18); }
.tender h3 { font-size: 20px; margin: 6px 0 4px; }
.tender p { color: #C2FADA; font-size: 15px; }
.tender-stamp { justify-self: end; margin-top: 10px; transform: rotate(-8deg) scale(.6); opacity: 0; transition: .6s cubic-bezier(.2, 1.6, .4, 1); }
.tender-stamp span { display: inline-block; border: 3px solid #FFD23F; color: #FFD23F; padding: 8px 18px; border-radius: 10px; font: 800 22px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.tender.done .tender-stamp { opacity: 1; transform: rotate(-8deg) scale(1); }

/* =========================================================
   Vibrant layer — emerald → mint gradients, lime & teal pops.
   Green + white stays the base; delete this block to go back to flat colours.
   ========================================================= */
:root {
  --lime: #C6F432;
  --teal: #00C9B7;
  --grad: linear-gradient(120deg, #00B35C 0%, #14D47A 55%, #2EE88A 100%);
  --grad-deep: linear-gradient(140deg, #00502D 0%, #007A40 55%, #00A651 100%);
}
.btn:not(.btn-light):not(.btn-ghost) { background: var(--grad); border-color: transparent; box-shadow: 0 10px 28px -10px rgba(0,179,92,.65); }
.btn:not(.btn-light):not(.btn-ghost)::after { background: linear-gradient(120deg, #00502D, #008A47); }
.btn-light { box-shadow: 0 10px 30px -12px rgba(198,244,50,.55); }
.btn-light::after { background: var(--grad); }
.hero-title em { -webkit-text-stroke-color: var(--lime); }
.kicker .dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.kicker { color: var(--lime); }
.ribbon { background: var(--grad); border-block: 0; }
.label { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.creds .label, .footer-grid .label, .cycle-copy .label { background: none; color: var(--lime); }
.tile-blue { background: var(--grad); }
.tile-navy { background: var(--grad-deep); }
.tile-ink { background: radial-gradient(120% 120% at 100% 0%, #007A40 0%, #00502D 45%, var(--ink) 100%); }
.tile:hover { box-shadow: 0 26px 60px -18px rgba(0,179,92,.45); }
.big-num::after, .cred-code { color: var(--lime); }
.cred-code { border-color: var(--lime); }
.ticks li::before { color: var(--lime); }
.nav { box-shadow: 0 10px 34px rgba(0,179,92,.18); }
.lang-switch .is-on { background: var(--grad) !important; color: #fff !important; }
.footer { background: radial-gradient(90% 120% at 0% 0%, #00602F 0%, var(--ink) 60%); }
.footer-big { -webkit-text-stroke-color: rgba(77,245,163,.45); }
.form-msg.ok { border-color: var(--blue-2); }
.ai-dot { background: var(--lime); box-shadow: 0 0 0 0 rgba(198,244,50,.6); }
.tender-stamp span { border-color: var(--lime); color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- Nav: keep every item on one line on laptop widths ---------- */
.nav-links a, .nav .btn-sm, .brand-word { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1400px) {
  .nav { gap: 12px; padding-left: 10px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 8px; font-size: 13.5px; }
  .nav .btn-sm { padding: 9px 13px; font-size: 13.5px; }
  .lang-switch a { padding: 7px 8px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .brand-word { display: none; }
  .nav-links a { padding: 8px 6px; font-size: 13px; }
}
