/* =========================================================
   HPMDS — brand stylesheet
   Blue + paper white. Print-shop language: crop marks,
   registration targets, halftone, monospace slugs.
   ========================================================= */
:root {
  --blue: #0A3BE0;
  --blue-2: #2E5BFF;
  --navy: #06155A;
  --ink: #030A2B;
  --ice: #E7EDFF;
  --paper: #F6F7FB;
  --white: #FFFFFF;
  --line: rgba(6, 21, 90, .14);
  --muted: #4A5683;
  --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, 247, 251, .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(3,10,43,.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(3,10,43,.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: #A9BEFF; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 0 rgba(46,91,255,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(46,91,255,0); } 100% { box-shadow: 0 0 0 0 rgba(46,91,255,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: #D5DEFF; }
.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: #8FA6F5; 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(231,237,255,.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,91,255,.16), transparent 60%);
}
.tile:hover { box-shadow: 0 24px 60px -20px rgba(10,59,224,.35); border-color: rgba(10,59,224,.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: #D5DEFF; }
.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: #A9BEFF; }
.tile-ink { background: var(--ink); color: var(--white); border-color: transparent; }
.tile-ink p, .tile-ink .tag { color: #A9BEFF; }
.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(3,10,43,.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(169,190,255,.2); animation: pulse 2.4s var(--d) infinite; }
@keyframes pulse { 0%, 70%, 100% { background: rgba(169,190,255,.2); } 80% { background: #7FA0FF; box-shadow: 0 0 10px #7FA0FF; } }

/* 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: #A9BEFF; }
.t-stat .mono { color: #D5DEFF; 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: #A9BEFF; }
.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: #7FA0FF; 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: #D5DEFF; }
.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: #7FA0FF; }
.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: #0A1A63; }
.cred-code { width: 70px; height: 70px; border-radius: 50%; border: 1.5px dashed #7FA0FF; display: grid; place-items: center; font: 600 15px var(--mono); color: #A9BEFF; 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: #8FA6F5; font-size: 11px; margin-top: 8px; }
.cred-reg { position: absolute; top: 12px; right: 12px; width: 22px; color: rgba(169,190,255,.35); transition: transform 1s var(--ease); }
.cred:hover .cred-reg { transform: rotate(90deg); color: #7FA0FF; }

/* ---------- 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: #D5DEFF; }
.contact-copy > p:not(.label) { margin-top: 22px; font-size: 19px; color: #D5DEFF; 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: #A9BEFF; } .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(3,10,43,.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: #C6D2FF; 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(127,160,255,.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: #7FA0FF; 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: #7C8BC4; 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; }
}
