/* =========================================================================
   Nexovia — Brand System
   Palette: dark blue-grey · signal orange · light purple
   Complements: teal · gold · mist
   ========================================================================= */

:root {
  /* Core */
  --ink:        #0E1622;   /* near-black blue */
  --ink-2:      #16223A;   /* dark blue-grey (primary surface) */
  --ink-3:      #1F2D49;   /* elevated surface */
  --ink-4:      #2C3B5C;   /* muted text on dark */
  --slate:      #5B6884;   /* mid grey-blue text */
  --mist:       #E7ECF4;   /* cool off-white */
  --paper:      #FBFBFD;   /* canvas */
  --line:       #E2E6EF;   /* hairline border on light */
  --line-dk:    rgba(255,255,255,.08);

  /* Accents */
  --orange:     #FF6A2C;   /* signal orange */
  --orange-2:   #FF8A5C;
  --orange-soft:#FFE2D4;
  --lilac:      #B7A6E6;   /* light purple */
  --lilac-2:    #9D88DB;
  --lilac-soft: #ECE5FB;

  /* Complements */
  --teal:       #3FB8AF;
  --gold:       #E8B86D;
  --rose:       #E26D7F;   /* used sparingly for alerts */

  /* Functional */
  --success:    #2FA37A;
  --warn:       #E2B341;
  --danger:     #D4503D;

  /* Effects */
  --radius:     14px;
  --radius-sm:  10px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(14,22,34,.06), 0 1px 3px rgba(14,22,34,.04);
  --shadow:     0 8px 24px -10px rgba(14,22,34,.18), 0 2px 6px rgba(14,22,34,.06);
  --shadow-lg:  0 40px 80px -30px rgba(14,22,34,.35), 0 12px 24px -10px rgba(14,22,34,.18);
  --ring:       0 0 0 3px rgba(255,106,44,.32);

  /* Typography */
  --font-sans:  "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container: 1920px;       /* hard cap on ultra-wide displays */
  --container-w: 95%;        /* content occupies 95% of page width */
  --gutter:    clamp(8px, 1.2vw, 18px);  /* internal nudge only */
  --nav-h:     72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--ink-2); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange); }
button { font: inherit; cursor: pointer; }
hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
::selection { background: var(--orange); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1em; color: var(--ink-4); }
.lede { font-size: 1.15rem; color: var(--slate); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px; background: var(--orange);
  display: inline-block;
}

/* ---------- Layout ---------- */
.container {
  width: var(--container-w);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}
.section {
  padding: clamp(48px, 7vw, 96px) 0;
  position: relative;
}
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }
.section--dark { background: var(--ink); color: var(--mist); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(231,236,244,.78); }
.section--mist { background: var(--mist); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.center { justify-content: center; text-align: center; }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,106,44,.55); }
.btn--primary:hover { background: #ff5614; color: #fff; transform: translateY(-1px); }
.btn--secondary { background: var(--ink); color: #fff; }
.btn--secondary:hover { background: var(--ink-3); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(22,34,58,.03); }
.btn--on-dark { color: #fff; border-color: rgba(255,255,255,.18); }
.btn--on-dark:hover { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.32); }
.btn--lilac { background: var(--lilac); color: var(--ink); }
.btn--lilac:hover { background: var(--lilac-2); color: var(--ink); transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: var(--lilac-2);
}
.pill--orange { background: var(--orange-soft); color: #b8420f; }
.pill--teal   { background: rgba(63,184,175,.14); color: #1c8079; }
.pill--gold   { background: rgba(232,184,109,.18); color: #95641a; }
.pill--ink    { background: rgba(22,34,58,.06); color: var(--ink-2); }
.pill--on-dark{ background: rgba(255,255,255,.07); color: #cdd5e6; border: 1px solid rgba(255,255,255,.08); }
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: .9; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card--dark {
  background: linear-gradient(160deg, var(--ink-3) 0%, var(--ink-2) 65%, var(--ink) 100%);
  color: var(--mist);
  border-color: var(--line-dk);
}
.card--dark h3, .card--dark h4 { color: #fff; }
.card--dark p { color: rgba(231,236,244,.7); }

.card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; }

.card--lilac .card__icon { background: var(--lilac-soft); color: var(--lilac-2); }
.card--teal  .card__icon { background: rgba(63,184,175,.16); color: #1c8079; }
.card--gold  .card__icon { background: rgba(232,184,109,.18); color: #95641a; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,251,253,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-color: var(--line); background: rgba(251,251,253,.94); }
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav__brand:hover { color: var(--ink); }
.nav__brand svg { width: 30px; height: 30px; }

.nav__links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-4);
}
.nav__links a:hover { color: var(--ink); background: rgba(22,34,58,.05); }
.nav__links a.is-active { color: var(--ink); background: rgba(22,34,58,.06); }

.nav__cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Language switcher (desktop dropdown) ---------- */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px 7px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: .82rem;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.lang-switch__btn:hover { border-color: var(--ink); background: rgba(22,34,58,.04); }
.lang-switch__btn:focus-visible { outline: none; box-shadow: var(--ring); }
.lang-switch__btn svg { color: var(--slate); }
.lang-switch__current { color: var(--ink); }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0; padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 110;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch__menu li { margin: 0; }
.lang-switch__menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: .92rem;
  font-weight: 500;
}
.lang-switch__menu a:hover { background: var(--mist); color: var(--ink); }
.lang-switch__menu a.is-active { background: var(--lilac-soft); color: var(--ink); font-weight: 600; }
.lang-switch__short {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  width: 22px;
  color: var(--orange);
}
.lang-switch__menu a.is-active .lang-switch__short { color: var(--lilac-2); }
.lang-switch__label { flex: 1; }
.lang-switch__menu a svg { color: var(--lilac-2); margin-left: auto; }

/* Mobile pill row */
.lang-switch--mobile {
  display: flex; align-items: center; justify-content: space-between;
  margin: 6px 0 14px;
  padding: 12px 14px;
  background: var(--mist);
  border-radius: 12px;
}
.lang-switch__label-mobile {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate);
}
.lang-switch__pills { display: inline-flex; gap: 4px; background: #fff; border-radius: 999px; padding: 3px; }
.lang-switch__pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-4);
}
.lang-switch__pill:hover { color: var(--ink); }
.lang-switch__pill.is-active { background: var(--ink); color: #fff; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top:  6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: inline-flex; }
  .nav__links, .nav__cta--desktop { display: none; }
  .nav.is-open .nav__panel { display: block; }
}
.nav__panel {
  display: none;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 20px 1vw 28px;
  box-shadow: var(--shadow);
}
.nav__panel ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav__panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
}
.nav__panel a:hover { background: var(--mist); }
.nav__panel .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(183,166,230,.25) 0%, transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(255,106,44,.18) 0%, transparent 40%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--mist);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 10vw, 120px);
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 72px; }
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 55%, var(--lilac) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede { color: rgba(231,236,244,.85); font-size: 1.18rem; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero__trustline {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 36px;
  color: rgba(231,236,244,.6);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero__trustline span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trustline span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--orange); }
.hero__trustline span:nth-child(2)::before { background: var(--lilac); }
.hero__trustline span:nth-child(3)::before { background: var(--teal); }
.hero__trustline span:nth-child(4)::before { background: var(--gold); }

/* ---------- Hero dashboard mock ---------- */
.dash {
  position: relative;
  background: linear-gradient(160deg, #1B2942 0%, #131D33 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dk);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  color: var(--mist);
}
.dash::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,106,44,.4), rgba(183,166,230,.4), rgba(63,184,175,.35));
  z-index: -1;
  filter: blur(18px);
  opacity: .6;
}
.dash__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash__title { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem; letter-spacing: -.01em; }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,.18); display: inline-block; }
.dash__dots i:nth-child(1) { background: var(--orange); }
.dash__dots i:nth-child(2) { background: var(--lilac); }
.dash__dots i:nth-child(3) { background: var(--teal); }

.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash__kpi { background: rgba(255,255,255,.04); border: 1px solid var(--line-dk); border-radius: 12px; padding: 12px; }
.dash__kpi .l { font-size: .72rem; color: rgba(231,236,244,.55); text-transform: uppercase; letter-spacing: .08em; }
.dash__kpi .v { font-family: var(--font-display); font-size: 1.4rem; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.dash__kpi .d { font-size: .78rem; color: var(--teal); }
.dash__kpi.is-down .d { color: var(--rose); }

.dash__chart {
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 80%);
  border: 1px solid var(--line-dk);
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.dash__chart svg { width: 100%; height: 100%; }

.dash__legend { display: flex; gap: 14px; margin-top: 10px; font-size: .76rem; color: rgba(231,236,244,.6); }
.dash__legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash__legend i { width: 10px; height: 2px; background: var(--orange); display: inline-block; border-radius: 2px; }
.dash__legend span:nth-child(2) i { background: var(--lilac); }
.dash__legend span:nth-child(3) i { background: var(--teal); }

/* ---------- Metrics strip ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 800px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.metric { padding: 24px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
@media (max-width: 800px) {
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.metric__v { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.metric__l { color: var(--ink-4); margin-top: 6px; font-weight: 500; }
.metric__h { color: var(--slate); font-size: .82rem; margin-top: 2px; }

/* ---------- Product cards ---------- */
.product {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product__head {
  padding: 26px 28px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.product__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.product__viz {
  height: 110px;
  margin: 18px 28px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-soft), #fff);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.product--lilac .product__viz { background: linear-gradient(135deg, var(--lilac-soft), #fff); }
.product--teal  .product__viz { background: linear-gradient(135deg, rgba(63,184,175,.18), #fff); }
.product--gold  .product__viz { background: linear-gradient(135deg, rgba(232,184,109,.20), #fff); }
.product__viz svg { width: 100%; height: 100%; }
.product__body { padding: 22px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.product__tagline { color: var(--ink-2); font-weight: 600; margin: 6px 0 10px; }
.product__desc { color: var(--ink-4); font-size: .96rem; }
.product__foot {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.product__link {
  font-weight: 600; color: var(--ink); font-size: .92rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.product__link::after { content: "→"; transition: transform .2s ease; }
.product__link:hover { color: var(--orange); }
.product__link:hover::after { transform: translateX(3px); }

/* ---------- Service cards on dark ---------- */
.svc {
  padding: 28px;
  border: 1px solid var(--line-dk);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.svc:hover { transform: translateY(-3px); border-color: rgba(255,106,44,.45); }
.svc h3 { color: #fff; margin-bottom: 10px; }
.svc p  { color: rgba(231,236,244,.72); }
.svc__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  margin-bottom: 18px;
}
.svc__icon svg { width: 22px; height: 22px; }
.svc:nth-child(2) .svc__icon { background: linear-gradient(135deg, var(--lilac), var(--lilac-2)); color: #1f1733; }
.svc:nth-child(3) .svc__icon { background: linear-gradient(135deg, var(--teal), #2b9088); }
.svc:nth-child(4) .svc__icon { background: linear-gradient(135deg, var(--gold), #c79140); color: #2a1c00; }

.svc__list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.svc__list li { color: rgba(231,236,244,.78); font-size: .94rem; padding-left: 22px; position: relative; }
.svc__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px; background: var(--orange); border-radius: 2px;
}
.svc:nth-child(2) .svc__list li::before { background: var(--lilac); }
.svc:nth-child(3) .svc__list li::before { background: var(--teal); }
.svc:nth-child(4) .svc__list li::before { background: var(--gold); }

/* ---------- 48h banner ---------- */
.banner-48 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(120deg, var(--ink-2) 0%, var(--ink-3) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dk);
}
.banner-48::after {
  content: "48h";
  position: absolute;
  right: -20px; bottom: -50px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18rem;
  color: rgba(255,255,255,.04);
  letter-spacing: -.04em;
  line-height: 1;
}
@media (max-width: 800px) { .banner-48 { grid-template-columns: 1fr; } }
.banner-48 h2 { color: #fff; }
.banner-48 p { color: rgba(231,236,244,.8); }
.banner-48__form {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dk);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  z-index: 1;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: .82rem; font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.field {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus { outline: none; border-color: var(--orange); box-shadow: var(--ring); }
.field--inline {
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.14);
}
.field--inline::placeholder { color: rgba(231,236,244,.5); }
.field--inline:focus { background: rgba(255,255,255,.1); border-color: var(--orange); }
textarea.field { min-height: 130px; resize: vertical; }
select.field { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23475569'><path d='M5.5 7.5L10 12l4.5-4.5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field__hint { font-size: .82rem; color: var(--slate); margin-top: 4px; }
.errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: var(--danger); font-size: .84rem; }

/* ---------- Newsletter inline ---------- */
.subscribe { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe .field { flex: 1; min-width: 200px; }

/* ---------- Industries strip ---------- */
.industries {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.industries .pill { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Team logos ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 700px) { .logos { grid-template-columns: repeat(2, 1fr); } }
.logo {
  background: #fff;
  padding: 28px 16px;
  text-align: center;
  display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
}
.logo strong { font-family: var(--font-display); color: var(--ink); font-size: 1.1rem; letter-spacing: -.01em; }
.logo span { color: var(--slate); font-size: .86rem; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--orange) 0%, #ff8047 50%, var(--lilac) 130%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 30px 60px -30px rgba(255,106,44,.6);
}
@media (max-width: 780px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; max-width: 16ch; }
.cta p  { color: rgba(255,255,255,.88); }
.cta .btn--primary { background: var(--ink); }
.cta .btn--primary:hover { background: #000; }
.cta .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--mist);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line-dk);
}
.footer a { color: rgba(231,236,244,.7); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__sub { grid-column: 1 / -1; }
}
.footer__brand { max-width: 340px; }
.footer__brand p { color: rgba(231,236,244,.65); margin-top: 10px; }
.footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.footer__sub h4 { margin-bottom: 10px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--line-dk);
  color: rgba(231,236,244,.55); font-size: .84rem;
}

/* ---------- Page header ---------- */
.pagehead {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(183,166,230,.22), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255,106,44,.18), transparent 45%);
}
.pagehead .container { position: relative; }
.pagehead h1 { color: #fff; max-width: 18ch; }
.pagehead p { color: rgba(231,236,244,.78); max-width: 60ch; }

/* ---------- Service detail rows ---------- */
.svc-row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.svc-row:last-child { border-bottom: 0; }
.svc-row:nth-child(even) .svc-row__media { order: -1; }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
}
.svc-row__media {
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.svc-row__media svg { width: 100%; max-width: 360px; height: auto; }

/* ---------- Delivery models (services page) ---------- */
.delivery {
  padding: 32px;
  border: 1px solid var(--line-dk);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  transition: border-color .25s ease, transform .25s ease;
}
.delivery:hover { transform: translateY(-3px); border-color: rgba(255,106,44,.45); }
.delivery--hosted:hover { border-color: rgba(183,166,230,.55); }
.delivery h3 { color: #fff; }
.delivery p { color: rgba(231,236,244,.75); }
.delivery__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.delivery__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
}
.delivery--hosted .delivery__icon { background: linear-gradient(135deg, var(--lilac), var(--lilac-2)); color: #1f1733; }
.delivery__icon svg { width: 22px; height: 22px; }
.delivery__fit {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dk);
  font-size: .9rem;
  color: rgba(231,236,244,.7);
}
.delivery__fit strong { color: #fff; font-weight: 600; margin-right: 6px; }

/* ---------- About: principles ---------- */
.principle {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.principle__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  width: 44px;
}

/* ---------- Portal stub ---------- */
.portal-shell {
  background: linear-gradient(135deg, #fff 0%, var(--mist) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  align-items: center;
}
@media (max-width: 800px) { .portal-shell { grid-template-columns: 1fr; } }
.portal-login {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* ---------- Messages ---------- */
.messages {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 1vw;
  z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 360px;
}
.messages li {
  list-style: none;
  background: var(--ink-2);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .92rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.messages li.success { border-color: var(--success); }
.messages li.error { border-color: var(--danger); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.max-prose { max-width: 62ch; }
.mx-auto { margin-left: auto; margin-right: auto; }
.muted { color: var(--slate); }
.flex-1 { flex: 1; }
.hide-sm { @media (max-width: 600px) { display: none; } }


/* ---------- Hardware catalogue ---------- */
.hw-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--slate); font-weight: 500; }
.hw-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hw-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--orange); }
.hw-trust span:nth-child(2)::before { background: var(--lilac); }
.hw-trust span:nth-child(3)::before { background: var(--teal); }

.hw-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hw-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.hw-filter {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: .86rem; font-weight: 600; color: var(--slate);
  transition: all .18s ease;
}
.hw-filter:hover { color: var(--ink); border-color: var(--ink); }
.hw-filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.hw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1200px) { .hw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .hw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .hw-grid { grid-template-columns: 1fr; } }

.hw {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hw:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.hw__media {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--mist), #fff);
  color: var(--ink-3); padding: 12%;
}
.hw__media img { width: 100%; height: 100%; object-fit: contain; }
.hw__media svg { width: 100%; height: 100%; }
.hw__media--mobile   { background: linear-gradient(135deg, var(--orange-soft), #fff); color: #b8420f; }
.hw__media--scanner  { background: linear-gradient(135deg, var(--lilac-soft), #fff); color: var(--lilac-2); }
.hw__media--printer  { background: linear-gradient(135deg, rgba(63,184,175,.18), #fff); color: #1c8079; }
.hw__media--accessory{ background: linear-gradient(135deg, rgba(232,184,109,.22), #fff); color: #95641a; }
.hw__media--support  { background: linear-gradient(135deg, rgba(22,34,58,.08), #fff); color: var(--ink-2); }
.hw__flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--orange); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
}
.hw__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.hw__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hw__meta .pill { padding: 4px 9px; font-size: .7rem; }
.hw__brand { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.hw__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; margin: 2px 0 0; line-height: 1.25; }
.hw__name a { color: var(--ink); }
.hw__name a:hover { color: var(--orange); }
.hw__model { font-family: var(--font-mono); font-size: .74rem; color: var(--slate); }
.hw__tagline { color: var(--ink-4); font-size: .92rem; margin: 4px 0 0; }
.hw__foot { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.hw__price { font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.hw__add { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hw__add .btn { flex: 0 0 auto; }
.hw__incart { font-size: .8rem; color: var(--slate); display: none; }
.hw__incart.is-visible { display: inline; }
.hw__incart b { color: #1c8079; }
.btn.is-added { background: var(--success); color: #fff; }

/* Cart button in nav */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); background: #fff;
  transition: all .18s ease;
}
.cart-btn:hover { border-color: var(--ink); color: var(--ink); }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--orange); color: #fff;
  font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center;
  display: none;
}
.cart-btn.has-items .cart-btn__count { display: block; }
.cart-btn__count--inline { position: static; display: inline-block; margin-left: 6px; }
.cart-btn__count--inline:empty, .cart-btn__count--inline[data-zero] { display: none; }
.cart-btn__count.is-bump { animation: cart-bump .4s ease; }
@keyframes cart-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Detail page */
.hw-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .hw-detail { grid-template-columns: 1fr; gap: 28px; } }
.hw-detail__media { border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 1 / 1; padding: 10%; }
.hw-detail__name { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 8px 0 4px; }
.hw-detail__desc { color: var(--ink-4); }
.hw-detail__desc p { margin: 0 0 12px; }
.hw-detail__buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 24px; }
.hw-detail__buy:hover { transform: none; box-shadow: none; border-color: var(--line); }
.hw-detail__price { display: flex; flex-direction: column; min-width: 140px; }
.hw-detail__price strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.hw-detail__form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.hw-qty { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.hw-qty .field { width: 88px; padding: 10px 12px; }

.hw-specs { max-width: 900px; }
.hw-specs__h { font-size: 1.3rem; margin-bottom: 14px; }
.hw-specs__list { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.hw-specs__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--line); }
.hw-specs__row:first-child { border-top: 0; }
.hw-specs__row:nth-child(even) { background: rgba(231,236,244,.35); }
.hw-specs__row dt { font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.hw-specs__row dd { margin: 0; color: var(--ink-4); font-size: .92rem; }
@media (max-width: 600px) { .hw-specs__row { grid-template-columns: 1fr; gap: 2px; } }

/* Cart page */
.cart-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .cart-line { grid-template-columns: 64px 1fr; } .cart-line__qty { grid-column: 2; } }
.cart-line__media { width: 84px; height: 84px; aspect-ratio: auto; border-radius: 12px; padding: 12px; }
@media (max-width: 600px) { .cart-line__media { width: 64px; height: 64px; } }
.cart-line__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.cart-line__name:hover { color: var(--orange); }
.cart-line__qty { display: flex; align-items: flex-end; gap: 14px; }
.cart-line__remove { background: none; border: 0; padding: 0 0 10px; font: inherit; font-size: .82rem; color: var(--slate); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: var(--danger); }
.cart-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 24px; }

.hw-link { font-weight: 600; color: var(--ink); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.hw-link:hover { color: var(--orange); }

.hw__media.has-image { background: #fff; padding: 8%; }
.hw__media.has-image img { mix-blend-mode: multiply; }
.product__modules { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.product__modules li { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-4); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(231,236,244,.35); }
.product__modules li b { color: var(--ink); font-weight: 700; }
.product__modules .pill { padding: 3px 8px; font-size: .68rem; }
@media (max-width: 600px) { .product__modules li { grid-template-columns: auto 1fr; } .product__modules li span:last-child { grid-column: 1 / -1; } }
