:root {
  --green-950: #071f18;
  --green-900: #0d3b2e;
  --green-800: #14533f;
  --green-400: #6dbf96;
  --mint: #d7efe2;
  --paper: #f5f6f2;
  --white: #ffffff;
  --ink: #17211d;
  --muted: #66716c;
  --line: rgba(23, 33, 29, 0.14);
  --max: 1180px;
  --radius-lg: 32px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(245, 246, 242, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(18px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: column; gap: 0; line-height: 1; }
.brand-name { font: 800 1.55rem/1 "Manrope", sans-serif; letter-spacing: .15em; }
.brand-sub { margin-top: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; opacity: .68; }
.nav { display: flex; align-items: center; gap: 32px; font-size: .9rem; font-weight: 600; }
.nav > a:not(.nav-cta) { position: relative; }
.nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .2s ease; }
.nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
.scrolled .nav-cta { border-color: var(--line); background: var(--green-900); color: var(--white); }
.menu-button { display: none; }

.hero { min-height: max(820px, 100svh); color: var(--white); position: relative; display: grid; grid-template-rows: 1fr auto; align-items: center; padding-bottom: 38px; background: var(--green-950); }
.hero-media { position: absolute; inset: 0; background: url("./assets/nexo-locker-hero.webp") center center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,25,18,.95) 0%, rgba(5,25,18,.74) 38%, rgba(5,25,18,.16) 67%, rgba(5,25,18,.18) 100%), linear-gradient(0deg, rgba(4,17,13,.65) 0%, transparent 35%); }
.hero-content { position: relative; z-index: 2; padding: 80px 0 40px; }
.eyebrow { margin: 0 0 22px; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-400); }
.eyebrow.dark { color: var(--green-800); }
.eyebrow.light { color: #99d5b7; }
h1,h2,h3 { font-family: "Manrope", sans-serif; letter-spacing: -.045em; margin: 0; }
h1 { max-width: 850px; font-size: clamp(3.5rem, 7vw, 6.9rem); line-height: .96; font-weight: 700; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.4rem); line-height: 1.02; font-weight: 700; }
h3 { font-size: 1.35rem; line-height: 1.2; }
.hero-copy { max-width: 610px; margin: 30px 0 0; font-size: clamp(1.08rem, 1.8vw, 1.32rem); line-height: 1.55; color: rgba(255,255,255,.79); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border-radius: 999px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--mint); color: var(--green-950); }
.button-primary:hover { background: var(--white); }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.34); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-facts { position: relative; z-index: 2; display: flex; gap: 1px; }
.hero-facts div { width: 180px; padding: 12px 20px; border-left: 1px solid rgba(255,255,255,.25); display: grid; }
.hero-facts strong { font: 700 1rem "Manrope", sans-serif; }
.hero-facts span { color: rgba(255,255,255,.58); font-size: .78rem; }

.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 110px; align-items: end; }
.intro-copy p { max-width: 520px; margin: 0 0 6px; color: var(--muted); font-size: 1.16rem; }
.process-grid { margin-top: 76px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-card { position: relative; min-height: 320px; padding: 30px; background: #dcefe2; border: 1px solid #b9d9c4; border-radius: var(--radius-md); display: flex; flex-direction: column; }
.process-card .step { color: var(--muted); font-size: .74rem; letter-spacing: .12em; }
.process-icon { margin-top: 38px; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--green-800); font-size: 1.35rem; }
.process-card h3 { margin-top: auto; }
.process-card p { margin: 12px 0 0; color: var(--muted); max-width: 30ch; }

.solutions { background: var(--green-950); color: var(--white); }
.solutions-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.solutions-heading p:last-child { color: rgba(255,255,255,.58); margin: 0 0 5px; max-width: 460px; font-size: 1.05rem; }
.product-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin-top: 70px; }
.product-card { min-height: 500px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.035); }
.product-featured { background: var(--mint); color: var(--green-950); border-color: transparent; }
.product-topline { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.5); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.product-featured .product-topline { color: rgba(7,31,24,.55); }
.product-card h3 { font-size: clamp(1.8rem, 2.8vw, 2.75rem); margin-bottom: 16px; }
.product-card p { color: rgba(255,255,255,.62); font-size: 1.02rem; }
.product-featured p { color: rgba(7,31,24,.68); }
.product-card ul { list-style: none; padding: 0; margin: 0; }
.product-card li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.13); font-size: .9rem; }
.product-featured li { border-color: rgba(7,31,24,.14); }
.footnote { color: rgba(255,255,255,.38); font-size: .74rem; margin: 22px 0 0; }

.audience-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 110px; }
.audience-intro { position: sticky; top: 130px; align-self: start; }
.audience-list { border-top: 1px solid var(--line); }
.audience-item { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 35px 0; border-bottom: 1px solid var(--line); }
.audience-item > span { color: var(--green-800); font-size: .76rem; }
.audience-item h3 { font-size: 1.45rem; }
.audience-item p { margin: 10px 0 0; color: var(--muted); max-width: 530px; }

.implementation { background: var(--green-800); color: var(--white); padding: 90px 0; }
.implementation-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: center; }
.implementation-steps { display: grid; grid-template-columns: 1fr 1fr; }
.implementation-steps span { padding: 24px 20px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.82); }
.implementation-steps span:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.22); }

.contact { padding-bottom: 70px; }
.contact-card { border-radius: var(--radius-lg); background: var(--mint); padding: clamp(36px, 7vw, 82px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: end; }
.contact-copy h2 { font-size: clamp(2.5rem, 4.6vw, 4.7rem); }
.contact-copy > p:last-child { margin: 24px 0 0; color: #50665d; max-width: 620px; }
.contact-actions { display: grid; gap: 15px; }
.button-dark { background: var(--green-950); color: var(--white); }
.button-dark:hover { background: var(--green-800); }
.contact-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 3px; border-bottom: 1px solid rgba(7,31,24,.18); font-weight: 600; }

.site-footer { padding: 42px 0; background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: end; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .78rem; }
.footer-inner p:nth-child(2) { max-width: 380px; }
.brand-footer { color: var(--green-900); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .menu-button { display: grid; gap: 6px; width: 46px; height: 46px; place-content: center; padding: 0; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: inherit; }
  .scrolled .menu-button { border-color: var(--line); }
  .menu-button span { width: 18px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 76px; left: 20px; right: 20px; padding: 24px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(4,17,13,.16); flex-direction: column; align-items: stretch; gap: 18px; }
  .nav.open { display: flex; }
  .nav-cta { background: var(--green-900); color: var(--white); text-align: center; border: 0; }
  .hero { min-height: 760px; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,25,18,.92), rgba(5,25,18,.5)), linear-gradient(0deg, rgba(5,25,18,.74), transparent 50%); }
  .hero-content { padding-top: 35px; }
  .hero { padding-bottom: 24px; }
  .hero-facts div { width: auto; min-width: 132px; padding: 8px 14px; }
  .intro-grid, .solutions-heading, .audience-layout, .implementation-inner, .contact-card { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 260px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 420px; }
  .audience-intro { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { height: 74px; }
  .brand-name { font-size: 1.32rem; }
  .brand-sub { font-size: .58rem; }
  .hero { min-height: 760px; padding: 110px 0 32px; align-items: center; }
  .hero-media { background-position: 66% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,25,18,.94), rgba(5,25,18,.58)), linear-gradient(0deg, rgba(5,25,18,.82), transparent 55%); }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-copy { font-size: 1rem; max-width: 34ch; }
  .hero-actions { display: grid; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { min-width: 0; padding: 8px 10px; }
  .hero-facts span { font-size: .67rem; line-height: 1.3; }
  .section { padding: 72px 0; }
  .process-grid { margin-top: 48px; }
  .solutions-heading { gap: 28px; }
  .product-grid { margin-top: 45px; }
  .product-card { min-height: 390px; }
  .audience-item { grid-template-columns: 42px 1fr; gap: 10px; }
  .implementation { padding: 70px 0; }
  .implementation-steps { grid-template-columns: 1fr; }
  .implementation-steps span:nth-child(odd) { border-right: 0; }
  .contact { padding: 55px 0 40px; }
  .contact-card { width: calc(100% - 20px); padding: 38px 22px; border-radius: 24px; }
}

.downloads { background: #f4f8f5; }
.downloads h2 { max-width: 650px; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 34px; }
.download-card { display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: var(--radius-md); background: #e1f0e5; border: 1px solid #bad8c4; text-decoration: none; color: #0d3b2e; transition: transform .2s ease, background .2s ease; }
.download-card:hover, .download-card:focus-visible { transform: translateY(-3px); background: #d3e9d9; }
.download-card > span:first-child { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }
.download-card strong { font-size: clamp(1.25rem,2.5vw,1.8rem); line-height: 1.25; }
.download-action { font-weight: 700; align-self: flex-start; border-bottom: 1px solid currentColor; }
@media (max-width: 620px) { .download-grid { grid-template-columns: 1fr; } }

/* Official NEXO assets: restrained header, footer and favicon usage. */
.site-header .brand { position: relative; width: 164px; height: 28px; flex: 0 0 164px; }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-logo-color { display: none; }
.scrolled .brand-logo-white { display: none; }
.scrolled .brand-logo-color { display: block; }
.brand-logo-footer { display: block; width: 200px; height: auto; max-width: 100%; }
@media (max-width: 620px) { .site-header .brand { width: 140px; height: 24px; flex-basis: 140px; } }

@media (min-width: 621px) and (max-width: 960px) { .download-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
