:root {
  --bg: #050506;
  --surface: #0a0b0d;
  --surface-2: #111319;
  --surface-3: #171a21;
  --text: #f6f6f6;
  --muted: #a7aab2;
  --quiet: #70747d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --red: #e31616;
  --red-soft: rgba(227, 22, 22, 0.14);
  --green: #38d95c;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(227, 22, 22, 0.12), transparent 27rem),
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.06), transparent 22rem),
    linear-gradient(180deg, #07080a 0, var(--bg) 42rem);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black 0, transparent 68%);
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #e31616, #ff5252);
  box-shadow: 0 0 16px rgba(227, 22, 22, 0.72);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 6, 0.68);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(5, 5, 6, 0.94);
  border-color: var(--line);
}

.brand,
.site-nav,
.hero-actions,
.trust-bar,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 170px;
  justify-self: start;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: lowercase;
}

.brand-logo {
  width: 64px;
  height: 64px;
  margin: -13px -12px -13px -13px;
  object-fit: contain;
}

.site-nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--red);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta {
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.button {
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
}

.button.primary {
  border-color: rgba(227, 22, 22, 0.82);
  background: linear-gradient(135deg, var(--red), #9f0f12);
  box-shadow: 0 18px 44px rgba(227, 22, 22, 0.18);
}

.button.primary::after,
.nav-cta::after {
  content: "→";
  margin-left: 10px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.025);
}

.button.ghost {
  gap: 8px;
  background: rgba(7, 8, 10, 0.72);
}

.button.ghost img {
  width: 32px;
  height: 32px;
  margin: -7px -5px -7px -8px;
  object-fit: contain;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 3px;
  margin: 7px 0;
  border-radius: 999px;
  background: var(--text);
}

main {
  position: relative;
  z-index: 1;
}

.hero,
.section,
.cta,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
  min-height: 682px;
  padding-top: 100px;
}

.hero-copy {
  max-width: 570px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 13px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 3.75vw, 3.85rem);
  line-height: 1.03;
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 3.1vw, 3.48rem);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.22;
}

.hero-copy > p,
.systems-copy > p,
.cta p,
.intro-grid p,
.service-grid p,
.system-stack p {
  color: var(--muted);
  line-height: 1.64;
}

.hero-copy > p {
  max-width: 530px;
  margin: 20px 0 0;
  font-size: 1.02rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-stats div {
  padding: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.hero-stats dt {
  font-size: 1.52rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.hero-avatar {
  position: relative;
}

.hero-avatar::before {
  content: "";
  position: absolute;
  inset: 10% 2% auto auto;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 22, 22, 0.16), transparent 68%);
  filter: blur(8px);
}

.avatar-stage {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    radial-gradient(circle at 66% 34%, rgba(227, 22, 22, 0.16), transparent 19rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    #08090b;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
  transform: perspective(1200px) rotateX(var(--hero-rotate-x, 0deg)) rotateY(var(--hero-rotate-y, 0deg));
  transition: transform 420ms ease;
  will-change: transform;
}

.avatar-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.4;
  mask-image: radial-gradient(circle at 60% 44%, black, transparent 75%);
}

.avatar-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(227, 22, 22, 0.74), transparent);
  box-shadow: 0 0 18px rgba(227, 22, 22, 0.34);
  opacity: 0;
  animation: stage-scan 6.8s ease-in-out infinite;
}

.avatar-stage img {
  position: relative;
  z-index: 2;
  width: min(92%, 600px);
  align-self: end;
  filter: drop-shadow(0 34px 42px rgba(0, 0, 0, 0.58));
  transform: translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0);
  transition: transform 520ms ease;
  will-change: transform;
}

.avatar-orbit {
  position: absolute;
  z-index: 1;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(227, 22, 22, 0.28);
  border-radius: 50%;
  animation: orbit-turn 24s linear infinite;
}

.avatar-orbit::before,
.avatar-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 22px rgba(227, 22, 22, 0.8);
  animation: signal-pulse 2.8s ease-in-out infinite;
}

.avatar-orbit::before {
  top: 10%;
  right: 19%;
}

.avatar-orbit::after {
  right: 9%;
  bottom: 20%;
  animation-delay: 1.3s;
}

.avatar-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 10, 12, 0.78);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  animation: card-float 5.4s ease-in-out infinite;
}

.avatar-card svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.top-card {
  top: 26px;
  right: 28px;
}

.bottom-card {
  left: 28px;
  bottom: 28px;
  animation-delay: 1.5s;
}

.avatar-dock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--line);
}

.avatar-dock span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.avatar-dock svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.intro-grid article,
.service-grid article,
.system-stack article,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.trust-bar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  padding: 94px 0 0;
}

.intro {
  padding-top: 110px;
}

.section-title {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
  margin-bottom: 28px;
}

.section-title.compact,
.section-title.centered {
  display: block;
  max-width: 720px;
}

.section-title.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title.centered .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.intro-grid article,
.service-grid article {
  min-height: 222px;
  padding: 22px;
}

.intro-grid svg {
  width: 43px;
  height: 43px;
  margin-bottom: 20px;
  color: var(--red);
}

.intro-grid p,
.service-grid p,
.system-stack p {
  margin: 14px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-grid svg {
  width: 37px;
  height: 37px;
  margin-bottom: 21px;
  color: var(--red);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-link b {
  color: var(--red);
  font-size: 1rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.service-link:hover b {
  transform: translateX(4px);
}

.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-ready .reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease var(--reveal-delay, 0ms),
    transform 520ms ease var(--reveal-delay, 0ms),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

@media (hover: hover) {
  .intro-grid article:hover,
  .service-grid article:hover,
  .system-stack article:hover,
  .product-card:hover,
  .process-list li:hover {
    border-color: rgba(227, 22, 22, 0.38);
    background: linear-gradient(180deg, rgba(227, 22, 22, 0.085), rgba(255, 255, 255, 0.022));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
  }

  .reveal-ready .reveal-item.is-revealed:hover {
    transform: translateY(-4px);
  }
}

.systems {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.products {
  padding-top: 112px;
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  margin-bottom: 30px;
}

.product-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.64;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 388px;
  flex-direction: column;
  overflow: hidden;
  padding: 21px;
  isolation: isolate;
}

.product-card > :not(.product-badge-art) {
  position: relative;
  z-index: 2;
}

.product-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -20% -42% 35%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 22, 22, 0.1), transparent 68%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card.featured {
  grid-column: span 2;
  min-height: 394px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(227, 22, 22, 0.085), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
}

.product-card-content {
  position: relative;
  z-index: 2;
  width: min(62%, 430px);
}

.product-topline,
.product-action {
  display: flex;
  align-items: center;
}

.product-topline {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 23px;
}

.product-topline span,
.product-topline small {
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-topline small {
  color: rgba(255, 255, 255, 0.52);
  text-align: right;
}

.product-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 19px;
  place-items: center;
  border: 1px solid rgba(227, 22, 22, 0.38);
  border-radius: 8px;
  background: rgba(227, 22, 22, 0.1);
  color: #f4f5f6;
}

.product-icon svg {
  width: 36px;
  height: 36px;
}

.product-card h3 {
  font-size: 1.38rem;
}

.product-card p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.product-card ul {
  display: grid;
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.77rem;
  line-height: 1.4;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 14px;
}

.product-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(227, 22, 22, 0.62);
}

.product-action {
  gap: 9px;
  align-self: flex-start;
  margin-top: auto;
  padding: 18px 0 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.product-action svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  transition: transform 160ms ease;
}

.product-action:hover svg,
.product-action:focus-visible svg {
  transform: translateX(4px);
}

.product-badge-art {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  width: min(32%, 210px);
  opacity: 0.88;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.42));
  transition: opacity 180ms ease, transform 260ms ease;
}

.product-card .product-badge-subtle {
  right: 12px;
  bottom: 12px;
  width: 126px;
  opacity: 0.48;
}

.product-card:hover .product-badge-art {
  opacity: 1;
  transform: translateY(-5px);
}

.product-card:hover .product-badge-subtle {
  opacity: 0.72;
  transform: translateY(-3px);
}

.workspace {
  padding-top: 108px;
}

.workspace-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  margin-bottom: 28px;
}

.workspace-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.64;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(227, 22, 22, 0.11), transparent 24rem),
    #090a0c;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.32);
}

.workspace-sidebar {
  display: flex;
  min-height: 702px;
  flex-direction: column;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
}

.workspace-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 0 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workspace-brand img {
  width: 42px;
  height: 42px;
  margin: -9px -7px -9px -9px;
  object-fit: contain;
}

.workspace-nav {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  padding: 11px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.workspace-nav:hover,
.workspace-nav.active {
  border-color: rgba(227, 22, 22, 0.18);
  background: rgba(227, 22, 22, 0.1);
  color: #fff;
}

.workspace-nav.active {
  color: var(--red);
}

.workspace-nav svg {
  width: 19px;
  height: 19px;
}

.workspace-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 10px 6px 0;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.7rem;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(56, 217, 92, 0.6);
}

.workspace-main {
  min-width: 0;
  padding: 18px;
}

.workspace-toolbar,
.toolbar-actions,
.card-toolbar,
.table-search,
.dialog-header,
.dialog-actions,
.order-toast {
  display: flex;
  align-items: center;
}

.workspace-toolbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.workspace-kicker {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.workspace-toolbar h3 {
  font-size: 1.55rem;
}

.toolbar-actions {
  gap: 9px;
}

.icon-button,
.text-button,
.row-action,
.new-order-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button:hover,
.text-button:hover,
.row-action:hover,
.new-order-button:hover {
  border-color: rgba(227, 22, 22, 0.55);
  background: rgba(227, 22, 22, 0.1);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.icon-button.is-active {
  border-color: var(--red);
  color: var(--red);
}

.new-order-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-color: rgba(227, 22, 22, 0.7);
  background: linear-gradient(135deg, rgba(227, 22, 22, 0.94), rgba(159, 15, 18, 0.94));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.new-order-button svg {
  width: 18px;
  height: 18px;
}

.workspace-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.workspace-kpis article,
.performance-card,
.activity-card,
.orders-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.workspace-kpis article {
  padding: 13px;
}

.workspace-kpis span,
.card-toolbar span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
}

.workspace-kpis strong {
  display: block;
  margin: 9px 0 7px;
  font-size: 1.7rem;
  line-height: 1;
}

.workspace-kpis small,
.card-toolbar small {
  color: var(--quiet);
  font-size: 0.7rem;
}

.workspace-kpis small {
  color: var(--green);
}

.workspace-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 10px;
  margin-top: 10px;
}

.performance-card,
.activity-card,
.orders-card {
  padding: 13px;
}

.card-toolbar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.text-button {
  padding: 7px 9px;
  color: var(--muted);
  font-size: 0.7rem;
}

.workspace-chart {
  width: 100%;
  height: auto;
}

.workspace-chart-grid {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.workspace-chart-fill {
  fill: url(#workspaceChartFill);
}

.workspace-chart-line {
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.workspace-chart-dots {
  fill: var(--red);
}

.activity-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-card li {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.activity-card li:last-child {
  border-bottom: 0;
}

.activity-card strong,
.activity-card small {
  display: block;
}

.activity-card strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
}

.activity-card small {
  margin-top: 5px;
  color: var(--quiet);
  font-size: 0.68rem;
}

.activity-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red);
}

.activity-dot.green {
  background: var(--green);
}

.activity-dot.amber {
  background: #ff9d22;
}

.orders-card {
  margin-top: 10px;
  min-width: 0;
  overflow: hidden;
}

.orders-toolbar {
  margin-bottom: 10px;
}

.table-search {
  gap: 7px;
  min-width: 194px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

.table-search svg {
  width: 17px;
  height: 17px;
  color: var(--quiet);
}

.table-search input {
  width: 100%;
  min-height: 36px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.76rem;
}

.orders-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  text-align: left;
}

.orders-table th {
  padding: 8px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orders-table td {
  padding: 9px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  white-space: nowrap;
}

.orders-table tbody tr:last-child td {
  border-bottom: 0;
}

.orders-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.orders-table strong,
.orders-table small {
  display: block;
}

.orders-table strong {
  color: #fff;
}

.orders-table small {
  margin-top: 4px;
  color: var(--quiet);
}

.table-status,
.priority {
  display: inline-flex;
  padding: 5px 7px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
}

.table-status.in-progress {
  border-color: rgba(255, 157, 34, 0.3);
  color: #ff9d22;
  background: rgba(255, 157, 34, 0.08);
}

.table-status.pending {
  border-color: rgba(167, 170, 178, 0.24);
  color: #b7bac2;
  background: rgba(167, 170, 178, 0.06);
}

.table-status.completed {
  border-color: rgba(56, 217, 92, 0.3);
  color: var(--green);
  background: rgba(56, 217, 92, 0.08);
}

.priority.high {
  border-color: rgba(227, 22, 22, 0.3);
  color: #ff6868;
  background: rgba(227, 22, 22, 0.08);
}

.priority.medium {
  border-color: rgba(255, 157, 34, 0.3);
  color: #ffb04c;
  background: rgba(255, 157, 34, 0.08);
}

.priority.low {
  border-color: rgba(56, 217, 92, 0.3);
  color: var(--green);
  background: rgba(56, 217, 92, 0.08);
}

.row-action {
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.order-dialog {
  width: min(460px, calc(100% - 28px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #101216;
  color: #fff;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.6);
}

.order-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.dialog-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.dialog-header {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 4px;
}

.dialog-header h2 {
  font-size: 1.7rem;
}

.dialog-panel label {
  display: grid;
  gap: 8px;
}

.dialog-panel label span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.dialog-panel input,
.dialog-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font: inherit;
  padding: 0 11px;
}

.dialog-panel input:focus,
.dialog-panel select:focus {
  border-color: rgba(227, 22, 22, 0.72);
}

.dialog-actions {
  justify-content: flex-end;
  gap: 9px;
  margin-top: 7px;
}

.order-toast {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  gap: 12px;
  width: min(330px, calc(100% - 40px));
  padding: 14px;
  border: 1px solid rgba(56, 217, 92, 0.35);
  border-radius: 9px;
  background: rgba(13, 18, 15, 0.96);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.order-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.order-toast svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--green);
}

.order-toast strong,
.order-toast span {
  display: block;
}

.order-toast strong {
  font-size: 0.84rem;
}

.order-toast span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
}

.chat-launcher {
  position: fixed;
  z-index: 75;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 7px 15px 7px 7px;
  border: 1px solid rgba(227, 22, 22, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 20, 23, 0.98), rgba(10, 10, 12, 0.98));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 28px rgba(227, 22, 22, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease;
}

.chat-launcher:hover {
  border-color: rgba(227, 22, 22, 0.84);
  transform: translateY(-2px);
}

.chat-launcher img,
.chat-avatar img {
  object-fit: contain;
}

.chat-launcher img {
  width: 38px;
  height: 38px;
  margin: -6px;
}

.chat-launcher i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(56, 217, 92, 0.7);
}

.chat-widget {
  position: fixed;
  z-index: 76;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-rows: auto auto minmax(200px, 1fr) auto auto auto;
  width: min(390px, calc(100vw - 28px));
  height: min(650px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(227, 22, 22, 0.14), transparent 18rem),
    #0d0f12;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.chat-widget.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header,
.chat-identity,
.chat-header-actions,
.chat-avatar,
.chat-composer {
  display: flex;
  align-items: center;
}

.chat-header {
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.chat-identity {
  gap: 10px;
}

.chat-avatar {
  position: relative;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(227, 22, 22, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.chat-avatar img {
  width: 46px;
  height: 46px;
}

.chat-avatar span {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid #0d0f12;
  border-radius: 50%;
  background: var(--green);
}

.chat-identity strong,
.chat-identity small {
  display: block;
}

.chat-identity strong {
  font-size: 0.94rem;
}

.chat-identity small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.chat-header-actions {
  gap: 5px;
}

.chat-header-actions button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.chat-header-actions button:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.chat-header-actions svg {
  width: 17px;
  height: 17px;
}

.chat-intro {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.chat-intro span {
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chat-intro small {
  font-size: 0.66rem;
}

.chat-messages {
  display: flex;
  min-height: 0;
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.chat-message {
  display: grid;
  gap: 6px;
  max-width: 88%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  line-height: 1.55;
}

.chat-message.bot {
  align-self: flex-start;
  border-top-left-radius: 3px;
  background: rgba(255, 255, 255, 0.045);
}

.chat-message.user {
  align-self: flex-end;
  border-color: rgba(227, 22, 22, 0.34);
  border-top-right-radius: 3px;
  background: rgba(227, 22, 22, 0.14);
}

.chat-message small {
  color: var(--quiet);
  font-size: 0.62rem;
}

.chat-message p {
  margin: 0;
  white-space: pre-line;
}

.chat-message.is-streaming p:empty::after {
  content: "Thinking";
  color: var(--muted);
  animation: thinking-pulse 1.2s ease-in-out infinite;
}

.chat-feedback {
  display: flex;
  gap: 5px;
  padding-top: 3px;
}

.chat-feedback button {
  display: grid;
  width: 24px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--quiet);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.chat-feedback button:hover,
.chat-feedback button.is-selected {
  border-color: rgba(227, 22, 22, 0.54);
  color: #fff;
}

.chat-feedback button:disabled {
  cursor: default;
  opacity: 0.62;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 14px 10px;
}

.chat-quick-actions button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
}

.chat-quick-actions button:hover {
  border-color: rgba(227, 22, 22, 0.5);
  color: #fff;
}

.chat-composer {
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.chat-composer input {
  min-width: 0;
  min-height: 42px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  padding: 0 11px;
}

.chat-composer input:focus {
  border-color: rgba(227, 22, 22, 0.66);
}

.chat-composer button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(227, 22, 22, 0.75);
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}

.chat-composer button:disabled,
.chat-composer input:disabled {
  cursor: wait;
  opacity: 0.64;
}

.chat-composer svg {
  width: 21px;
  height: 21px;
}

@keyframes thinking-pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.chat-disclaimer {
  margin: 0;
  padding: 0 14px 10px;
  color: var(--quiet);
  font-size: 0.6rem;
  line-height: 1.45;
}

.systems-copy {
  position: sticky;
  top: 110px;
}

.systems-copy > p {
  margin: 18px 0 0;
}

.system-stack {
  display: grid;
  gap: 10px;
}

.system-stack article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: start;
  padding: 19px;
}

.system-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(227, 22, 22, 0.34);
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
}

.system-icon svg {
  width: 25px;
  height: 25px;
}

.process {
  padding-top: 112px;
}

.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  margin-bottom: 30px;
}

.process-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.64;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: var(--line);
  list-style: none;
}

.process-list::before,
.process-list::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 47px;
  right: 42px;
  left: 42px;
  height: 1px;
  pointer-events: none;
  transform-origin: left center;
}

.process-list::before {
  background: rgba(255, 255, 255, 0.18);
}

.process-list::after {
  background: linear-gradient(90deg, #e31616, #ff5252);
  box-shadow: 0 0 16px rgba(227, 22, 22, 0.54);
  transform: scaleX(0);
}

.process-list.is-revealed::after {
  animation: process-rail 1.3s 180ms ease forwards;
}

.process-list li {
  position: relative;
  display: flex;
  min-height: 304px;
  flex-direction: column;
  padding: 85px 20px 20px;
  border: 1px solid transparent;
  background:
    radial-gradient(circle at 16% 10%, rgba(227, 22, 22, 0.08), transparent 8rem),
    var(--surface);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.process-node {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: 20px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(227, 22, 22, 0.52);
  border-radius: 50%;
  background: #0c0d10;
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 7px #0a0b0d, 0 0 24px rgba(227, 22, 22, 0.16);
}

.process-node svg {
  width: 24px;
  height: 24px;
}

.process-number {
  position: absolute;
  top: 13px;
  right: 16px;
  color: rgba(255, 255, 255, 0.06);
  font-size: 3.7rem;
  font-weight: 900;
  line-height: 1;
}

.process-kicker {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.process-list h3 {
  margin-top: 13px;
  font-size: 1.1rem;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.process-output {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  line-height: 1.4;
}

.process-output b {
  color: var(--red);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.025);
}

.process-footer > div,
.process-cta {
  display: flex;
  align-items: center;
}

.process-footer > div {
  gap: 10px;
}

.process-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.process-footer strong {
  color: rgba(255, 255, 255, 0.9);
}

.process-signal {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(227, 22, 22, 0.82);
  animation: signal-pulse 2.8s ease-in-out infinite;
}

.process-cta {
  gap: 8px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-cta svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  transition: transform 160ms ease;
}

.process-cta:hover svg,
.process-cta:focus-visible svg {
  transform: translateX(4px);
}

@keyframes process-rail {
  to {
    transform: scaleX(1);
  }
}

@keyframes process-rail-vertical {
  to {
    transform: scaleY(1);
  }
}

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 336px;
  margin-top: 88px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.98) 0%, rgba(3, 4, 6, 0.86) 46%, rgba(3, 4, 6, 0.4) 100%),
    linear-gradient(180deg, rgba(3, 4, 6, 0.08), rgba(3, 4, 6, 0.46)),
    url("assets/toronto-skyline-mock.png") center / cover no-repeat;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.44);
  animation: skyline-drift 18s ease-in-out infinite alternate;
}

@keyframes orbit-turn {
  from {
    transform: rotate(-18deg);
  }
  to {
    transform: rotate(342deg);
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.24);
  }
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes stage-scan {
  0%,
  18% {
    top: 16%;
    opacity: 0;
  }
  32% {
    opacity: 0.82;
  }
  64% {
    opacity: 0.44;
  }
  78%,
  100% {
    top: 84%;
    opacity: 0;
  }
}

@keyframes skyline-drift {
  from {
    background-position: center, center, 49% center;
  }
  to {
    background-position: center, center, 52% center;
  }
}

.cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.36));
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta p {
  max-width: 650px;
  margin: 16px 0 0;
}

.cta-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-location svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.cta-actions {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.site-footer {
  display: block;
  padding: 38px 0 28px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.6fr) repeat(3, minmax(140px, 0.72fr));
  gap: clamp(28px, 6vw, 74px);
  padding-bottom: 30px;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-brand > span {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.footer-column h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  transition: color 160ms ease;
}

.footer-column a:hover {
  color: #fff;
}

.contact-column {
  font-style: normal;
}

.footer-column svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.72rem;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: flex !important;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    justify-self: end;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0a0b0d;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.46);
  }

  .site-header.nav-open .site-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .site-header.nav-open .site-nav a:last-child {
    border-bottom: 0;
  }

  .menu-button {
    position: absolute;
    top: 17px;
    right: 18px;
    z-index: 3;
  }

  .menu-button span {
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background: #fff;
    transition: transform 160ms ease;
  }

  .site-header.nav-open .menu-button span:first-child {
    transform: translateY(5.5px) rotate(45deg);
  }

  .site-header.nav-open .menu-button span:last-child {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .hero,
  .systems,
  .cta {
    grid-template-columns: 1fr;
  }

  .product-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list::before,
  .process-list::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .section-title,
  .intro-grid,
  .service-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace-heading {
    grid-template-columns: 1fr;
  }

  .workspace-shell {
    grid-template-columns: 156px minmax(0, 1fr);
  }

  .workspace-sidebar {
    min-height: 0;
  }

  .workspace-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace-content-grid {
    grid-template-columns: 1fr;
  }

  .systems-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 0 18px;
  }

  .hero,
  .section,
  .cta,
  .site-footer,
  .trust-bar {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    min-width: 0;
    width: max-content;
    max-width: calc(100% - 58px);
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(2.02rem, 8.2vw, 2.2rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.8rem, 8.4vw, 2.28rem);
    line-height: 1.03;
  }

  .hero-actions .button,
  .cta .button {
    width: 100%;
  }

  .eyebrow {
    max-width: 310px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }

  .hero-copy > p {
    max-width: 340px;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 24px;
  }

  .hero-stats {
    margin-top: 26px;
  }

  .hero-stats div {
    padding: 13px 11px;
  }

  .hero-stats dt {
    font-size: 1.26rem;
  }

  .hero-stats dd {
    font-size: 0.72rem;
  }

  .hero-avatar {
    margin-top: 26px;
  }

  .avatar-stage {
    min-height: 390px;
  }

  .avatar-card {
    gap: 7px;
    padding: 9px 10px;
    font-size: 0.64rem;
  }

  .avatar-card svg {
    width: 19px;
    height: 19px;
  }

  .top-card {
    top: 16px;
    right: 16px;
  }

  .bottom-card {
    left: 16px;
    bottom: 16px;
  }

  .avatar-dock span {
    gap: 6px;
    min-height: 48px;
    font-size: 0.61rem;
    letter-spacing: 0.06em;
  }

  .avatar-dock svg {
    width: 17px;
    height: 17px;
  }

  .hero-stats,
  .section-title,
  .intro-grid,
  .service-grid,
  .systems,
  .process-list,
  .cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .products {
    padding-top: 72px;
  }

  .product-heading {
    margin-bottom: 22px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-card,
  .product-card.featured {
    grid-column: auto;
    min-height: 0;
    padding: 18px;
  }

  .product-card-content {
    width: 100%;
  }

  .product-topline {
    margin-bottom: 18px;
  }

  .product-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
  }

  .product-icon svg {
    width: 31px;
    height: 31px;
  }

  .product-card h3 {
    font-size: 1.2rem;
  }

  .product-card ul {
    margin-top: 14px;
  }

  .product-action {
    padding-top: 20px;
  }

  .product-badge-art {
    right: 14px;
    bottom: 14px;
    width: 112px;
    opacity: 0.16;
  }

  .product-card .product-badge-subtle {
    opacity: 0.18;
  }

  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }

  .cta {
    animation: none;
    background-position: center, center, 70% center;
    min-height: 0;
    margin-top: 72px;
    padding: 30px;
  }

  .trust-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
    padding: 14px 0;
    font-size: 0.61rem;
    line-height: 1.4;
  }

  .workspace {
    padding-top: 68px;
  }

  .intro {
    padding-top: 72px;
  }

  .intro-grid,
  .service-grid {
    gap: 10px;
  }

  .intro-grid article,
  .service-grid article {
    min-height: 0;
    padding: 18px;
  }

  .intro-grid svg {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
  }

  .service-grid span {
    margin-bottom: 13px;
  }

  .service-grid svg {
    width: 32px;
    height: 32px;
    margin-bottom: 17px;
  }

  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-brand,
  .workspace-sidebar-footer {
    display: none;
  }

  .workspace-nav {
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 9px 5px;
    font-size: 0.66rem;
  }

  .workspace-nav svg {
    width: 16px;
    height: 16px;
  }

  .workspace-main {
    padding: 12px;
  }

  .workspace-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar-actions {
    width: 100%;
  }

  .new-order-button {
    flex: 1;
    justify-content: center;
  }

  .workspace-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .workspace-kpis article,
  .performance-card,
  .activity-card,
  .orders-card {
    border-radius: 7px;
  }

  .workspace-kpis article {
    padding: 12px;
  }

  .workspace-kpis strong {
    font-size: 1.52rem;
  }

  .workspace-content-grid {
    gap: 7px;
    margin-top: 7px;
  }

  .performance-card,
  .activity-card,
  .orders-card {
    padding: 12px;
  }

  .orders-card {
    margin-top: 7px;
  }

  .orders-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-search {
    width: 100%;
  }

  .orders-table {
    min-width: 680px;
  }

  .section {
    padding-top: 64px;
  }

  .system-stack {
    gap: 8px;
  }

  .system-stack article {
    gap: 12px;
    padding: 16px;
  }

  .system-icon {
    width: 40px;
    height: 40px;
  }

  .system-icon svg {
    width: 22px;
    height: 22px;
  }

  .process-list {
    grid-template-columns: 1fr;
    margin-top: 22px;
    overflow: hidden;
  }

  .process-list li {
    min-height: 206px;
    padding: 24px 16px 19px 78px;
  }

  .process-list::before,
  .process-list::after {
    top: 28px;
    bottom: 28px;
    left: 35px;
    display: block;
    width: 1px;
    height: auto;
    transform-origin: center top;
  }

  .process-list::after {
    transform: scaleY(0);
  }

  .process-list.is-revealed::after {
    animation-name: process-rail-vertical;
  }

  .process-node {
    top: 22px;
    left: 13px;
    width: 45px;
    height: 45px;
    box-shadow: 0 0 0 6px #0a0b0d, 0 0 20px rgba(227, 22, 22, 0.16);
  }

  .process-node svg {
    width: 22px;
    height: 22px;
  }

  .process-number {
    top: 15px;
    right: 14px;
    font-size: 3.35rem;
  }

  .process-list h3 {
    margin-top: 11px;
  }

  .process-list p {
    margin-top: 10px;
    font-size: 0.86rem;
  }

  .process-output {
    padding-top: 14px;
  }

  .process-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding: 16px;
  }

  .process-cta {
    padding-top: 2px;
  }

  .systems-copy,
  .section-title {
    margin-bottom: 22px;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-launcher {
    right: 14px;
    bottom: 14px;
  }

  .chat-widget {
    right: 7px;
    bottom: 7px;
    width: calc(100vw - 14px);
    height: min(680px, calc(100vh - 14px));
    border-radius: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
