:root {
  --ink: #0a1622;
  --ink-2: #27374a;
  --muted: #5b6b7a;
  --snow: #f5f8fc;
  --silver-1: #eef1f5;
  --silver-2: #dfe4eb;
  --silver-3: #c6ced9;
  --silver-4: #9ba7b5;
  --line: rgba(10, 22, 34, .11);
  --line-strong: rgba(10, 22, 34, .24);

  --blue: #0b63ce;
  --blue-bright: #2389ff;
  --blue-deep: #06317a;
  --navy: #041a44;
  --ice: #8fd6ff;
  --ice-soft: #e4f3ff;
  --glacier: #1fa3d4;
  --on-blue-muted: #cfe0f5;
  --blue-line: rgba(255, 255, 255, .2);

  --metal: linear-gradient(135deg, #ffffff 0%, #e4e9f0 24%, #f9fbfd 48%, #cfd7e1 74%, #eef2f6 100%);
  --btn-blue: linear-gradient(135deg, #0a4fae 0%, #1273de 100%);
  --band-blue: radial-gradient(90% 120% at 100% 0%, #0f5fc8 0%, #0a4aa8 28%, #06317a 60%, #041a44 100%);
  --screen-blue: linear-gradient(160deg, #0d5fcc 0%, #06317a 58%, #041a44 100%);

  --ok: #0f7a4f;
  --ok-bg: #e3f6ec;
  --info-bg: #e2efff;
  --warn: #9a5b00;
  --warn-bg: #fff1d6;

  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow,
.st-no,
.cap-no,
.step-no,
.tag,
.code {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.02em;
}
.brand-logo { display: block; width: auto; height: 44px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}
.site-nav a:not(.btn):hover { color: var(--blue); }

.nav-toggle {
  display: none;
  height: 40px;
  padding: 0 14px;
  background: var(--metal);
  border: 1px solid var(--silver-3);
  border-radius: 10px;
  font-weight: 600;
  font-size: .925rem;
  cursor: pointer;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s, color .2s;
}
.btn-sm { height: 40px; padding: 0 16px; border-radius: 10px; font-size: .925rem; }
.btn-blue {
  background: var(--btn-blue);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(11, 99, 206, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-blue:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(11, 99, 206, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-silver {
  background: var(--metal);
  border-color: var(--silver-3);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px -12px rgba(10, 22, 34, .45);
}
.btn-silver:hover { border-color: var(--silver-4); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--blue-deep); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.btn-white:hover { transform: translateY(-1px); }
.btn-outline { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6vw, 88px) 0 clamp(60px, 7vw, 104px);
  background: linear-gradient(180deg, #ffffff 0%, #f1f6fd 62%, var(--silver-1) 100%);
  border-bottom: 1px solid var(--silver-2);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 22, 34, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 34, .07) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(100% 90% at 80% 10%, #000 0%, transparent 72%);
  mask-image: radial-gradient(100% 90% at 80% 10%, #000 0%, transparent 72%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: -30%;
  right: -14%;
  width: min(86vw, 1080px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(35, 137, 255, .34), rgba(143, 214, 255, .26) 46%, rgba(143, 214, 255, 0) 72%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 11px 22px 11px 17px;
  border: 1px solid var(--silver-3);
  border-radius: 999px;
  background: var(--metal);
  box-shadow: inset 0 1px 0 #fff, 0 10px 22px -16px rgba(6, 49, 122, .55);
  font-family: var(--mono);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ink);
}
.pill-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 5px rgba(35, 137, 255, .2);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 5.5vw, 4.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(100deg, #0a4fae 0%, #1f8fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 50ch;
  margin-top: 24px;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-points li::before,
.audit-a::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6l4.4-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Hero visual */

.hero-visual {
  position: relative;
  padding: 34px 0 52px;
}
.hv-device {
  padding: 9px;
  border: 1px solid var(--silver-3);
  border-radius: 20px;
  background: var(--metal);
  box-shadow: 0 54px 90px -46px rgba(6, 49, 122, .7), 0 20px 44px -26px rgba(10, 22, 34, .4), inset 0 1px 0 #fff;
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transform-origin: left center;
}
.hv-screen {
  overflow: hidden;
  border: 1px solid rgba(4, 26, 68, .55);
  border-radius: 12px;
  background: var(--screen-blue);
}
.hv-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--blue-line);
  background: rgba(4, 26, 68, .45);
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
}
.hv-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ice);
  animation: live 2.4s ease-in-out infinite;
}
.hv-count {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-blue-muted);
}
.hv-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}
.hv-col {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 7px;
  border: 1px solid var(--blue-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
}
.hv-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 0;
  font-size: .74rem;
  font-weight: 700;
  color: #fff;
}
.hv-col-head b {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: .64rem;
}
.hv-cards { height: 204px; }
.hv-cards .autoscroll-set { gap: 7px; padding-bottom: 7px; }
.hv-job {
  display: grid;
  gap: 3px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
}
.hv-cust { font-size: .62rem; font-weight: 600; color: var(--blue); }
.hv-job strong { font-size: .74rem; line-height: 1.25; letter-spacing: -.01em; }
.hv-state {
  justify-self: start;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 600;
}
.hv-state.is-ready { background: var(--ok-bg); color: var(--ok); }
.hv-state.is-accepted { background: var(--info-bg); color: var(--blue); }

.hv-float {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 46px -22px rgba(6, 49, 122, .65), 0 0 0 1px var(--silver-2);
  animation: float 7s ease-in-out infinite alternate;
}
.hv-trace {
  left: -22px;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 14px 18px 15px;
}
.hv-label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hv-trace strong {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--blue);
}
.hv-trace ul { display: flex; gap: 14px; margin-top: 4px; font-size: .78rem; color: var(--ink-2); }
.hv-trace b { font-weight: 700; color: var(--ink); }
.hv-lock {
  top: 0;
  right: -8px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 12px;
  animation-delay: -3.5s;
}
.hv-lock svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  background: var(--btn-blue);
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hv-lock div { display: grid; }
.hv-lock strong { font-size: .86rem; line-height: 1.25; }
.hv-lock span { font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: var(--muted); }

@keyframes float {
  from { transform: translateY(-5px); }
  to { transform: translateY(6px); }
}
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(143, 214, 255, .6); }
  50% { box-shadow: 0 0 0 6px rgba(143, 214, 255, 0); }
}

/* Auto-scrolling job columns: the script duplicates the set so the loop is seamless. */

.autoscroll {
  position: relative;
  overflow-y: auto;
  scrollbar-width: thin;
}
.autoscroll-track {
  position: absolute;
  inset: 0 0 auto 0;
  display: grid;
}
.autoscroll-set {
  display: grid;
  gap: 8px;
  padding-bottom: 8px;
}
.autoscroll.is-scrolling {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(#000 0, #000 calc(100% - 26px), transparent 100%);
}
.autoscroll.is-scrolling .autoscroll-track {
  animation: card-loop 20s linear infinite;
  will-change: transform;
}
.autoscroll[data-loop="18"] .autoscroll-track { animation-duration: 18s; }
.autoscroll[data-loop="22"] .autoscroll-track { animation-duration: 22s; }
.autoscroll[data-loop="26"] .autoscroll-track { animation-duration: 26s; }
.autoscroll.is-scrolling:hover .autoscroll-track,
.dw-board:focus .autoscroll-track { animation-play-state: paused; }

@keyframes card-loop {
  to { transform: translate3d(0, -50%, 0); }
}

/* Sections */

.section { padding: clamp(72px, 9vw, 128px) 0; }

.section-head {
  max-width: 820px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.section-text {
  max-width: 50ch;
  margin-top: 22px;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.band-blue {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--band-blue);
  color: #fff;
}
.band-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(90% 100% at 92% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(90% 100% at 92% 0%, #000 0%, transparent 70%);
}
.band-blue .eyebrow { color: var(--ice); }
.band-blue .section-text { color: var(--on-blue-muted); }

.band-silver {
  background: linear-gradient(180deg, var(--silver-1) 0%, #e2e7ee 100%);
  border-block: 1px solid var(--silver-2);
}

/* Audits */

.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.audit-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 24px 26px;
  border: 1px solid var(--blue-line);
  border-radius: 16px;
  background: rgba(4, 26, 68, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: border-color .25s, transform .25s;
}
.audit-card:hover { border-color: rgba(143, 214, 255, .7); transform: translateY(-2px); }
.audit-q {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--blue-line);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.audit-q::before {
  content: "Auditor asks";
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ice);
}
.audit-a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 4px 11px;
  align-items: start;
}
.audit-a::before { margin-top: 3px; background-color: var(--blue-bright); }
.audit-a h3 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.audit-a p {
  grid-column: 2;
  font-size: .925rem;
  line-height: 1.5;
  color: var(--on-blue-muted);
}

.audit-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.audit-foot li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
  padding: 20px 24px;
  border: 1px solid var(--blue-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
}
.audit-foot svg {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 11px;
  background: var(--metal);
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.audit-foot strong { font-size: 1.05rem; line-height: 1.3; letter-spacing: -.01em; }
.audit-foot span { grid-column: 2; font-size: .925rem; line-height: 1.5; color: var(--on-blue-muted); }

/* The span */

.span { width: 100%; height: auto; overflow: visible; fill: none; }
.span path, .span circle { vector-effect: non-scaling-stroke; }
.span .approach { stroke: var(--silver-3); stroke-width: 2; }
.span .deck { stroke: var(--ink); stroke-width: 3; }
.span .arch { stroke-width: 3.5; }
.span .pier { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.span .hanger { stroke: var(--silver-4); stroke-width: 1.5; }
.span .web { stroke: var(--silver-3); stroke-width: 1.2; }
.span .node { fill: #fff; stroke: var(--blue); stroke-width: 2.5; animation: node-hit 10s linear infinite; }
/* The travelling dot and the station dots run on one clock: same 10s loop, each station
   offset by the time the dot takes to reach it, so they cannot drift apart. */
.span .node:nth-child(2) { animation-delay: -8s; }
.span .node:nth-child(3) { animation-delay: -6s; }
.span .node:nth-child(4) { animation-delay: -4s; }
.span .node:nth-child(5) { animation-delay: -2s; }
.span .pulse { animation: pulse-move 10s linear infinite; }
.span .pulse-dot { fill: var(--blue-bright); }
.span .pulse-halo { fill: var(--blue-bright); opacity: .25; }

@keyframes node-hit {
  0% { fill: var(--blue-bright); }
  14%, 100% { fill: #fff; }
}
@keyframes pulse-move {
  from { transform: translateX(100px); }
  to { transform: translateX(1100px); }
}

.stations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.stations li {
  padding: 14px 10px 0;
  text-align: center;
}
.st-no { color: var(--blue); }
.stations h3 {
  margin-top: 2px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.stations p {
  margin-top: 6px;
  font-size: .875rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Product screens */

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.demo-tabs button {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 16px 18px 17px;
  border: 1px solid var(--silver-3);
  border-radius: 14px;
  background: rgba(255, 255, 255, .55);
  text-align: left;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.demo-tabs button:hover { background: #fff; border-color: var(--silver-4); }
.demo-tabs button[aria-selected="true"] {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 137, 255, .18), 0 16px 30px -20px rgba(6, 49, 122, .6);
}
.tab-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.demo-tabs button[aria-selected="true"] .tab-title { color: var(--blue); }
.tab-text { font-size: .875rem; line-height: 1.4; }

.device {
  padding: 10px;
  border: 1px solid var(--silver-3);
  border-radius: 22px;
  background: var(--metal);
  box-shadow: 0 44px 80px -48px rgba(6, 49, 122, .65), 0 16px 36px -24px rgba(10, 22, 34, .4), inset 0 1px 0 #fff;
}
.device-screen {
  overflow: hidden;
  border: 1px solid rgba(4, 26, 68, .55);
  border-radius: 13px;
  background: var(--screen-blue);
}
.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--blue-line);
  background: rgba(4, 26, 68, .45);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-blue-muted);
}
.screen-brand { display: inline-flex; align-items: center; gap: 8px; }
.screen-brand img { width: 16px; height: 16px; }
.screen-body {
  min-height: 452px;
  padding: clamp(14px, 2vw, 22px);
}
.screen-body.is-narrow {
  max-width: 860px;
  margin-inline: auto;
}
.screen-body[hidden] { display: none; }

.code { color: var(--muted); letter-spacing: .06em; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status.is-ready { background: var(--ok-bg); color: var(--ok); }
.status.is-accepted { background: var(--info-bg); color: var(--blue); }
.status.is-blocked { background: var(--warn-bg); color: var(--warn); }
.status.is-locked { background: var(--silver-1); color: var(--ink); box-shadow: inset 0 0 0 1px var(--silver-3); }

/* Daily work board */

.dw-summary {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.dw-metric {
  display: grid;
  min-width: 150px;
  padding: 9px 16px 10px;
  border: 1px solid var(--blue-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.dw-metric strong { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; }
.dw-metric span {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-blue-muted);
}

.dw-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  min-height: 500px;
}
.dw-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--blue-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
}
.dw-stage > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 5px 1px;
  color: #fff;
}
.dw-stage h3 { font-size: .84rem; font-weight: 700; letter-spacing: -.005em; }
.dw-stage > header span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
}
.dw-cards { flex: 1 1 0; min-height: 0; }
.dw-card {
  display: grid;
  flex: none;
  gap: 5px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 22, 34, .05);
}
.dw-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.dw-cust { font-size: .7rem; font-weight: 600; line-height: 1.3; color: var(--blue); }
.dw-card .status { padding: 2px 8px; font-size: .66rem; }
.dw-product { font-size: .86rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.dw-card .code { font-size: .64rem; }
.dw-current {
  display: grid;
  gap: 1px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--snow);
}
.dw-current span {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.dw-current strong { font-size: .76rem; font-weight: 600; line-height: 1.3; }
.dw-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.dw-meta span {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--silver-1);
  font-size: .64rem;
  white-space: nowrap;
  color: var(--ink-2);
}
.dw-meta .is-progress { background: var(--info-bg); color: var(--blue); font-weight: 600; }

/* Station queue */

.depts {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.depts::-webkit-scrollbar { display: none; }
.depts li {
  flex: none;
  padding: 7px 13px;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .85rem;
  font-weight: 500;
  color: var(--on-blue-muted);
}
.depts li.is-on {
  background: #fff;
  border-color: #fff;
  font-weight: 700;
  color: var(--blue);
}

.sheet {
  padding: 20px 22px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 40px -26px rgba(2, 12, 36, .7);
}

.tasks { display: grid; gap: 10px; }
.task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 22, 34, .05);
}
.task.is-blocked { background: rgba(255, 255, 255, .84); }
.task-main { display: grid; gap: 2px; min-width: 0; }
.task-main strong { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.task-meta { font-size: .875rem; color: var(--muted); }
.task-side { display: grid; gap: 6px; justify-items: end; flex: none; }

/* Batch record */

.bs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.bs-head > div { display: grid; gap: 4px; min-width: 0; }
.bs-head strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }

.bs-scroll { overflow-x: auto; }
.bs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .925rem;
}
.bs-table th,
.bs-table td {
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
.bs-table thead th {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bs-table tbody th { font-weight: 600; }
.bs-table td { font-family: var(--mono); font-size: .85rem; }
.bs-table td:last-child { padding-right: 0; color: var(--blue); }

.bs-foot {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 12px 40px;
  margin-top: 20px;
}
.bs-foot dt {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bs-foot dd { font-size: .95rem; font-weight: 600; }

/* Lot trace */

.tr-search {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
}
.tr-search strong {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--blue);
}
.tr-date { margin-left: auto; font-size: .875rem; color: var(--muted); }

.tr-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tr-col {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.tr-col + .tr-col::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -15px;
  width: 15px;
  height: 2px;
  background: var(--ice);
}
.tr-col h3 {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tr-col li {
  display: grid;
  gap: 1px;
  font-size: .925rem;
  font-weight: 500;
  line-height: 1.35;
}
.tr-col li + li {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.tr-col .code { color: var(--blue); }
.tr-col small { font-size: .8rem; font-weight: 400; color: var(--muted); }
.tr-more { color: var(--muted); }

/* Capabilities */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cap {
  padding: 22px 22px 28px;
  border: 1px solid var(--silver-2);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--snow) 100%);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -22px rgba(10, 22, 34, .5);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cap:hover {
  border-color: var(--blue-bright);
  box-shadow: inset 0 1px 0 #fff, 0 22px 36px -26px rgba(6, 49, 122, .65);
  transform: translateY(-2px);
}
.cap-no {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--silver-3);
  border-radius: 10px;
  background: var(--metal);
  color: var(--blue);
  letter-spacing: .04em;
}
.cap h3 {
  margin: 22px 0 13px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.cap li {
  position: relative;
  padding-left: 17px;
  font-size: .925rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.cap li + li { margin-top: 9px; }
.cap li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-bright);
}

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}
.step {
  position: relative;
  padding: 28px 32px 0 0;
}
.step::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 2.5px solid var(--blue);
  border-radius: 50%;
}
.step:first-child::before { background: var(--blue-bright); }
.step-no { color: var(--blue); }
.step h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.step p {
  font-size: .975rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Custom work */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: start;
}
.build-list {
  padding: 6px 24px;
  border: 1px solid var(--silver-3);
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 26px 50px -36px rgba(6, 49, 122, .55);
}
.build-list li {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.build-list li + li { border-top: 1px solid var(--line); }
.tag { text-transform: uppercase; color: var(--blue); }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.contact-logo {
  width: clamp(240px, 27vw, 370px);
  height: auto;
  filter: drop-shadow(0 34px 46px rgba(2, 12, 36, .6));
}
.contact h2 { max-width: 16ch; font-size: clamp(2.3rem, 5.4vw, 4.25rem); letter-spacing: -.04em; line-height: 1; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.copy-status {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: .9rem;
  color: var(--ice);
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: var(--on-blue-muted);
  border-top: 1px solid var(--blue-line);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 36px 0;
}
.footer-logo { display: block; width: auto; height: 128px; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { font-size: .925rem; text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.legal { font-size: .875rem; }

/* 404 */

.notfound {
  min-height: 70vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 22px;
  padding: 80px 0;
}
.notfound h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}

/* Reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1100px) {
  .dw-board {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 208px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  .dw-stage { scroll-snap-align: start; }
}

@media (max-width: 1040px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stations { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; border-top: 0; }
  .step { padding-top: 26px; border-top: 2px solid var(--ink); }
  .step::before { top: -10px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 620px; padding: 30px 0 46px; }
  .hv-device { transform: none; }
  .hv-trace { left: -6px; }
  .hv-lock { right: -6px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-logo { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(10, 22, 34, .3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .site-nav .btn { height: 48px; margin-top: 18px; }

  .demo-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .demo-tabs button { padding: 12px 10px; text-align: center; }
  .tab-title { font-size: .95rem; }
  .tab-text { display: none; }
  .audit-foot { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .brand-logo { height: 38px; }
  .footer-logo { height: 112px; }
  .pill { gap: 11px; padding: 10px 17px 10px 14px; border-radius: 20px; font-size: .78rem; letter-spacing: .05em; }
  .hero-points { flex-direction: column; gap: 10px; }
  .hv-count { display: none; }
  .hv-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-col:nth-child(3) { display: none; }

  .audit-grid { grid-template-columns: minmax(0, 1fr); }
  .audit-card { padding: 20px 20px 22px; }

  .span .nodes, .span .pulse { display: none; }
  .stations {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    margin: 30px 0 0 7px;
    border-left: 2px solid var(--ink);
  }
  .stations li {
    position: relative;
    padding: 0 0 24px 24px;
    text-align: left;
  }
  .stations li:last-child { padding-bottom: 0; }
  .stations li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: -9px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2.5px solid var(--blue);
    border-radius: 50%;
  }
  .stations li:first-child::before { background: var(--blue-bright); }
  .stations p { max-width: 36ch; }

  .device { padding: 7px; border-radius: 18px; }
  .device-screen { border-radius: 11px; }
  .screen-body { min-height: 0; }
  .dw-metric { min-width: 0; flex: 1; }
  .dw-board { grid-auto-columns: 78%; }
  .task { align-items: flex-start; }
  .sheet { padding: 14px 12px 16px; }
  .bs-table { font-size: .82rem; }
  .bs-table th, .bs-table td { padding-right: 6px; }
  .bs-table thead th { font-size: .56rem; letter-spacing: .03em; }
  .bs-table td { font-size: .74rem; }
  .bs-head strong { font-size: 1.1rem; }
  .tr-cols { grid-template-columns: minmax(0, 1fr); }
  .tr-col + .tr-col::before { top: -15px; left: 26px; width: 2px; height: 15px; }
  .tr-date { margin-left: 0; width: 100%; }
  .bs-foot { grid-template-columns: repeat(2, auto); }

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

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-left: 7px; border-left: 2px solid var(--ink); }
  .step { padding: 0 0 30px 24px; border-top: 0; }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 2px; left: -9px; }

  .build-list { padding: 4px 18px; }
  .build-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }

  .hero-actions .btn, .contact-actions .btn { flex: 1 1 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .span .pulse { display: none; }
  .span .node, .hv-float, .hv-live, .autoscroll-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .arrow, .cap, .audit-card { transition: none; }
}
