@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* Theme tokens: light is the default, dark follows the system unless the visitor picked a theme */

:root {
  color-scheme: light;
  --bg: #dde3ea;
  --bg-grid: #cdd5df;
  --bg-grid-major: #bec8d5;
  --surface: #eef1f5;
  --surface-2: #e5e9ef;
  --line: #b3bfcd;
  --text: #0e1726;
  --muted: #45526a;
  --accent: #08739a;
  --accent-strong: #065a78;
  --accent-ink: #ffffff;
  --accent-soft: #cbe7f1;
  --shadow: rgba(14, 23, 38, .16);

  --night: #080d16;
  --night-2: #0d1420;
  --night-grid: #151f2e;
  --night-line: #233148;
  --night-text: #dfe6f0;
  --night-muted: #8a99b0;
  --night-accent: #45c4ec;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --step: clamp(4.5rem, 10vw, 8rem);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b111b;
  --bg-grid: #131c29;
  --bg-grid-major: #1a2536;
  --surface: #111927;
  --surface-2: #172234;
  --line: #2a3950;
  --text: #e3e9f2;
  --muted: #94a1b7;
  --accent: #45c4ec;
  --accent-strong: #84daf5;
  --accent-ink: #04131b;
  --accent-soft: #123447;
  --shadow: rgba(0, 0, 0, .5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b111b;
    --bg-grid: #131c29;
    --bg-grid-major: #1a2536;
    --surface: #111927;
    --surface-2: #172234;
    --line: #2a3950;
    --text: #e3e9f2;
    --muted: #94a1b7;
    --accent: #45c4ec;
    --accent-strong: #84daf5;
    --accent-ink: #04131b;
    --accent-soft: #123447;
    --shadow: rgba(0, 0, 0, .5);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--bg-grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid-major) 1px, transparent 1px),
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: .6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Type */

h1, h2, h3 {
  margin: 0;
  font-stretch: 125%;
  line-height: 1.05;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 3.4vw + 1rem, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.25rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }

p { margin: 0; }

.lede {
  font-size: clamp(1.12rem, .5vw + 1rem, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 36em;
  text-wrap: pretty;
}

.section-head {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .75rem 1.4rem;
  border: 1.5px solid var(--text);
  font: inherit;
  font-weight: 650;
  font-stretch: 112%;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}

.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-ghost:hover { background: var(--surface); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.logo svg { width: 30px; height: 30px; }
.logo .dot, .stack-base .dot { fill: var(--accent); }

.nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .95rem; }

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.lang {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: .4rem .2rem;
}
.lang:hover { color: var(--text); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
.theme-toggle[aria-pressed="true"] .sun { display: none; }
.theme-toggle[aria-pressed="true"] .moon { display: block; }

.site-header .btn { min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }

/* Hero */

.hero { padding-block: clamp(3rem, 6vw, 5rem) var(--step); }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-copy { display: grid; gap: 1.75rem; align-content: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }

/* Drawing sheet around the demo app */

.sheet {
  position: relative;
  padding: 1.75rem 1.25rem 1.25rem 2.25rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.ruler-x,
.ruler-y { position: absolute; pointer-events: none; }

.ruler-x {
  left: 2.25rem;
  right: 1.25rem;
  top: 0;
  height: 1rem;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 40px) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 8px) bottom / 100% 4px no-repeat;
}

.ruler-y {
  top: 1.75rem;
  bottom: 1.25rem;
  left: 0;
  width: 1rem;
  border-right: 1px solid var(--line);
  background:
    repeating-linear-gradient(180deg, var(--muted) 0 1px, transparent 1px 40px) right / 9px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 8px) right / 4px 100% no-repeat;
}

.scenarios { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }

.scenarios button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .75rem;
  font: inherit;
  font-size: .85rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
}

.scenarios button::before { content: ""; width: .6rem; height: .6rem; background: var(--swatch); }
.scenarios button:hover { color: var(--text); border-color: var(--muted); }
.scenarios button[aria-pressed="true"] { color: var(--text); border-color: var(--text); font-weight: 600; }

.scenarios .pause {
  margin-left: auto;
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scenarios .pause::before { display: none; }

.scenario-note { margin-top: .75rem; min-height: 3.2em; font-size: .92rem; color: var(--muted); }
.scenario-note b { color: var(--text); font-weight: 650; }

/* Demo app: each scenario changes navigation, density, shape and the main view */

.app {
  --app-bg: #ffffff;
  --app-bg-2: #f4f6f9;
  --app-text: #18202e;
  --app-muted: #677085;
  --app-line: #e3e7ee;
  --r: 4px;
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: 26.5rem;
  background: var(--app-bg);
  color: var(--app-text);
  border-radius: calc(var(--r) * 1.5);
  box-shadow: 0 28px 56px -28px var(--shadow), 0 0 0 1px var(--line);
  font-size: .78rem;
  line-height: 1.4;
  overflow: hidden;
  transition: opacity .25s;
}

.app.is-swapping { opacity: 0; }
.app[data-nav="top"] { grid-template-columns: minmax(0, 1fr); }
.app[data-nav="rail"] { grid-template-columns: 3.4rem minmax(0, 1fr); }

.app[data-mode="dark"] {
  --app-bg: #15161c;
  --app-bg-2: #1d1f27;
  --app-text: #eceef4;
  --app-muted: #9a9fb0;
  --app-line: #2b2e39;
}

.a-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .5rem .9rem;
  background: var(--brand);
  color: #fff;
}

.a-bar[data-style="light"] { background: var(--app-bg); color: var(--app-text); border-bottom: 2px solid var(--brand); }

.a-mark {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: var(--r);
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  font-size: .8rem;
  flex: none;
}
.a-bar[data-style="light"] .a-mark { background: var(--brand); color: #fff; }

.a-name { font-weight: 700; font-stretch: 112%; font-size: .92rem; white-space: nowrap; }

.a-tabs { display: flex; gap: .15rem; margin-left: 1rem; overflow: hidden; }
.a-tabs span { padding: .3rem .6rem; border-radius: var(--r); white-space: nowrap; opacity: .8; }
.a-tabs span.on { opacity: 1; background: rgba(255, 255, 255, .2); font-weight: 650; }
.a-bar[data-style="light"] .a-tabs span.on { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }

.a-search { margin-left: auto; width: 8rem; height: 1.6rem; border-radius: var(--r); background: rgba(255, 255, 255, .18); flex: none; }
.a-bar[data-style="light"] .a-search { background: var(--app-bg-2); border: 1px solid var(--app-line); }

.a-user { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(255, 255, 255, .35); flex: none; }
.a-bar[data-style="light"] .a-user { background: color-mix(in srgb, var(--brand) 30%, var(--app-bg)); }

.a-side {
  padding: .8rem .55rem;
  background: var(--app-bg-2);
  border-right: 1px solid var(--app-line);
  display: grid;
  align-content: start;
  gap: .15rem;
}

.a-side span {
  padding: .4rem .55rem;
  border-radius: var(--r);
  color: var(--app-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a-side span.on { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--app-text); font-weight: 650; }
.a-side small { padding: .7rem .55rem .2rem; color: var(--app-muted); font-size: .66rem; }

.a-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: .55rem;
  padding-top: .8rem;
  background: var(--app-bg-2);
  border-right: 1px solid var(--app-line);
}
.a-rail i { width: 1.9rem; height: 1.9rem; border-radius: var(--r); background: var(--app-line); }
.a-rail i.on { background: var(--brand); }

.a-main {
  min-width: 0;
  min-height: 0;
  padding: .9rem 1rem;
  display: grid;
  align-content: start;
  gap: .75rem;
  overflow: hidden;
}

.v-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.v-head strong { font-size: 1.05rem; font-stretch: 110%; }
.v-head small { display: block; color: var(--app-muted); font-size: .7rem; }
.v-btn { padding: .32rem .7rem; border-radius: var(--r); background: var(--brand); color: #fff; font-weight: 650; white-space: nowrap; }

.pill {
  display: inline-block;
  padding: .1rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 650;
  white-space: nowrap;
  background: color-mix(in srgb, var(--brand) 16%, var(--app-bg));
}

/* form view */
.v-tabs { display: flex; gap: 1rem; border-bottom: 1px solid var(--app-line); }
.v-tabs span { padding-bottom: .45rem; color: var(--app-muted); }
.v-tabs span.on { color: var(--app-text); font-weight: 650; box-shadow: inset 0 -2px 0 var(--brand); }
.v-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .8rem; }
.v-form div { display: grid; gap: .2rem; min-width: 0; }
.v-form small { color: var(--app-muted); font-size: .68rem; }
.v-form span { padding: .35rem .5rem; border: 1px solid var(--app-line); border-radius: var(--r); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-stages { display: flex; }
.v-stages span { flex: 1; min-width: 0; padding: .3rem .4rem; text-align: center; background: var(--app-bg-2); border: 1px solid var(--app-line); margin-left: -1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .7rem; }
.v-stages span.done { color: var(--app-muted); }
.v-stages span.on { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 650; }
.v-alert { padding: .45rem .6rem; border-left: 3px solid var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--app-bg)); }

/* gantt view */
.v-kpis { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.v-kpis div { display: grid; }
.v-kpis b { font-size: 1rem; font-stretch: 105%; }
.v-kpis small { color: var(--app-muted); font-size: .68rem; }
.gantt { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); row-gap: .4rem; align-items: center; }
.g-months { display: grid; grid-template-columns: repeat(6, 1fr); color: var(--app-muted); font-size: .68rem; border-bottom: 1px solid var(--app-line); padding-bottom: .25rem; }
.g-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: .4rem; }
.g-name.grp { font-weight: 700; }
.g-track { position: relative; height: 1.15rem; background: repeating-linear-gradient(90deg, var(--app-line) 0 1px, transparent 1px 16.666%); }
.g-bar { position: absolute; top: .15rem; bottom: .15rem; border-radius: 2px; background: color-mix(in srgb, var(--brand) 28%, var(--app-bg)); overflow: hidden; }
.g-bar i { position: absolute; inset: 0 auto 0 0; background: var(--brand); }
.g-bar.grp { top: .35rem; bottom: .35rem; background: var(--app-text); }
.g-ms { position: absolute; top: .2rem; width: .75rem; height: .75rem; transform: rotate(45deg); background: var(--app-text); }
.g-today { position: absolute; top: -.3rem; bottom: -.3rem; border-left: 1.5px dashed #d1342f; }

/* calendar view */
.cal { display: grid; grid-template-columns: 2.4rem repeat(3, minmax(0, 1fr)); grid-template-rows: auto repeat(10, 1.6rem); column-gap: .35rem; }
.c-h { padding-bottom: .3rem; font-weight: 650; display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.c-h i { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: color-mix(in srgb, var(--brand) 35%, var(--app-bg)); flex: none; }
.c-t { grid-column: 1; color: var(--app-muted); font-size: .66rem; border-top: 1px solid var(--app-line); }
.c-line { grid-column: 2 / -1; border-top: 1px solid var(--app-line); }
.c-ev { z-index: 1; margin: 2px 0; padding: .2rem .4rem; border-radius: var(--r); background: color-mix(in srgb, var(--brand) 16%, var(--app-bg)); border-left: 3px solid var(--brand); overflow: hidden; font-size: .68rem; line-height: 1.25; }
.c-ev b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-ev.short { display: flex; align-items: center; padding-block: 0; }
.c-ev.alt { background: color-mix(in srgb, #8b5cf6 16%, var(--app-bg)); border-left-color: #8b5cf6; }

/* dashboard view */
.dash { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.tile { padding: .6rem .7rem; border-radius: var(--r); background: var(--app-bg-2); border: 1px solid var(--app-line); min-width: 0; }
.tile b { display: block; font-size: 1.35rem; font-stretch: 110%; line-height: 1.15; }
.tile small { color: var(--app-muted); font-size: .68rem; }
.tile .up { color: #3ecf8e; font-weight: 650; }
.tile.chart { grid-column: span 2; display: grid; gap: .35rem; }
.bars { display: flex; align-items: end; gap: 3px; height: 6.5rem; }
.bars i { flex: 1; background: var(--brand); border-radius: 2px 2px 0 0; }
.bars i.lo { opacity: .45; }
.tile.list { display: grid; gap: .3rem; align-content: start; }
.tile.list div { display: flex; justify-content: space-between; gap: .4rem; border-top: 1px solid var(--app-line); padding-top: .3rem; white-space: nowrap; }

/* kanban view */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.k-col { display: grid; align-content: start; gap: .4rem; padding: .45rem; border-radius: var(--r); background: var(--app-bg-2); min-height: 16rem; min-width: 0; }
.k-col > small { display: flex; justify-content: space-between; gap: .3rem; font-weight: 650; font-size: .7rem; white-space: nowrap; }
.k-col > small span:first-child { overflow: hidden; text-overflow: ellipsis; }
.k-card { display: grid; gap: .2rem; padding: .45rem .5rem; border-radius: var(--r); background: var(--app-bg); border: 1px solid var(--app-line); }
.k-card b { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-card span { display: grid; color: var(--app-muted); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-card span span:last-child { color: var(--app-text); font-variant-numeric: tabular-nums; }
.k-card.hot { border-left: 3px solid var(--brand); }

/* Sections */

.section { padding-block: var(--step); }
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }

/* Industries */

.industries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--text);
}

.industries div { padding: 1.1rem 1.25rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.industries div:not(:nth-child(3n + 1)) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.industries b { display: block; font-size: 1.08rem; font-stretch: 112%; margin-bottom: .2rem; }
.industries span { color: var(--muted); font-size: .95rem; }
.industries-note { margin-top: 1.75rem; color: var(--muted); max-width: 46rem; }

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--text);
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: .9rem;
  padding: 1.5rem 1.5rem 0 0;
  counter-increment: step;
}

.steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }

.steps li::before {
  content: counter(step);
  font-size: 3rem;
  font-weight: 250;
  font-stretch: 62%;
  line-height: 1;
  color: var(--accent);
}

.steps svg { width: 100%; height: auto; max-height: 9rem; margin-block: .25rem .5rem; color: var(--text); }
.steps .s-bg { fill: var(--surface); }
.steps .s-hl { fill: var(--accent-soft); stroke: var(--accent); }
.steps .s-ink { fill: currentColor; }
.steps p { color: var(--muted); }

@media (min-width: 961px) {
  .steps h3 { min-height: 2.4em; }
}

/* Spec sheet */

.spec { display: grid; border-top: 1px solid var(--text); }

.spec-group {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.spec-group h3 { font-size: 1.45rem; }

.spec dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.5rem; }
.spec dt { font-weight: 700; font-stretch: 105%; margin-bottom: .3rem; }
.spec dd { margin: 0; color: var(--muted); font-size: 1rem; }

/* AI and partners */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.split .lede { margin-top: 1.25rem; }

.points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.15rem; }
.points li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .9rem; }
.points li::before { content: ""; width: .7rem; height: .7rem; margin-top: .45rem; border: 2px solid var(--accent); }
.points strong { display: block; font-stretch: 105%; }
.points span { color: var(--muted); }

.fineprint { margin-top: 1.75rem; color: var(--muted); font-size: .92rem; }

.console { border: 1px solid var(--line); background: var(--surface); box-shadow: 0 28px 56px -28px var(--shadow); }

.console-tabs { display: flex; border-bottom: 1px solid var(--line); }

.console-tabs button {
  flex: 1;
  padding: .8rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
}
.console-tabs button:last-child { border-right: 0; }
.console-tabs button:hover { color: var(--text); }
.console-tabs button[aria-selected="true"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }

.console-panel { display: grid; gap: 1rem; padding: clamp(1rem, 3vw, 1.75rem); font-size: .95rem; min-height: 27rem; align-content: start; }
.console-panel[hidden] { display: none; }

.msg { max-width: 90%; padding: .8rem 1rem; background: var(--bg); border: 1px solid var(--line); }
.msg.me { justify-self: end; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.msg ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.msg li + li { margin-top: .2rem; }

.plan { border: 1px solid var(--line); background: var(--bg); }
.plan header { padding: .6rem 1rem; font-weight: 700; font-stretch: 110%; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; margin: 0; padding: .3rem 1rem; }
.plan li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.plan li:last-child { border-bottom: 0; }
.plan li b { color: var(--accent); font-weight: 650; }
.plan footer { display: flex; gap: .5rem; padding: .3rem 1rem 1rem; }
.plan footer span { padding: .35rem .9rem; border: 1px solid var(--line); font-weight: 600; font-size: .85rem; }
.plan footer span:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Integrations: always the dark band */

.night {
  background-color: var(--night);
  background-image:
    linear-gradient(var(--night-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--night-text);
  border-block: 1px solid var(--night-line);
}

.night .lede { color: var(--night-muted); }
.night :focus-visible { outline-color: var(--night-accent); }

.int-group { margin-top: 3rem; }
.int-group h3 { font-size: 1.1rem; font-stretch: 110%; padding-bottom: .9rem; border-bottom: 1px solid var(--night-line); }

.marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  border-left: 1px solid var(--night-line);
}

.marks li {
  display: grid;
  align-content: space-between;
  gap: 1.4rem;
  min-height: 7.5rem;
  padding: 1.1rem 1.1rem 1rem;
  border-right: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
  background: var(--night-2);
  transition: background-color .15s;
}

.marks li:hover { background: #102033; }
.marks li:hover .wm { color: var(--night-accent); }

.wm { display: block; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.01em; overflow-wrap: break-word; transition: color .15s; }
.marks small { font-size: .8rem; color: var(--night-muted); line-height: 1.35; }

.wm-a { font-weight: 800; font-stretch: 125%; }
.wm-b { font-weight: 300; font-stretch: 100%; }
.wm-c { font-weight: 700; font-stretch: 62%; font-size: 1.75rem; letter-spacing: 0; }
.wm-d { font-weight: 600; font-stretch: 112%; font-style: italic; }
.wm-e { font-weight: 900; font-stretch: 75%; font-size: 1.65rem; letter-spacing: .01em; }
.wm-f { font-weight: 450; font-stretch: 125%; letter-spacing: -.03em; }

.int-note { margin-top: 2.5rem; max-width: 46rem; color: var(--night-muted); font-size: .95rem; }

/* White label */

.stack-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 2vw, 1.25rem);
  padding-inline: clamp(.6rem, 2vw, 1.25rem);
}

.mini {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 12rem;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  font-size: .78rem;
  color: #18202e;
}

.mini b { display: block; padding: .55rem .7rem; color: #fff; font-stretch: 112%; background: var(--c); }
.mini div { padding: .7rem; display: grid; align-content: start; gap: .45rem; }
.mini div i { display: block; height: .5rem; background: #e3e7ee; }
.mini div i:nth-child(2) { width: 70%; }
.mini div i:nth-child(3) { width: 85%; background: color-mix(in srgb, var(--c) 35%, white); }
.mini div i:nth-child(4) { width: 55%; }

.stack-base {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 1.1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.25rem;
}

.stack-base svg { width: 26px; height: 26px; }
.stack-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; font-size: .85rem; color: var(--muted); }

/* Deployment */

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--text);
}

.facts li { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.facts li:not(:nth-child(3n + 1)) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: 1.15rem; font-stretch: 112%; margin-bottom: .4rem; }
.facts span { color: var(--muted); }

/* Contact */

.contact { padding-block: var(--step); }

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%), var(--surface);
}

.contact h2 { font-size: clamp(2.1rem, 2.4vw + 1rem, 3.4rem); }
.contact p { font-size: 1.1rem; max-width: 30em; color: var(--muted); }
.contact-actions { display: grid; gap: 1.25rem; justify-items: start; }

/* Footer */

.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.site-footer .logo { font-size: 1.1rem; color: var(--text); }
.site-footer .logo svg { width: 24px; height: 24px; }
.site-footer p:last-child { margin-left: auto; }

/* Responsive */

@media (max-width: 1100px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .industries div:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 1.5rem; }
  .split { grid-template-columns: 1fr; }
  .spec-group { grid-template-columns: 1fr; gap: 1.25rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
  .contact-box { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .site-header .btn { display: none; }
  .sheet { padding: 1rem .75rem .9rem; }
  .ruler-x, .ruler-y { display: none; }
  .app, .app[data-nav="rail"] { grid-template-columns: minmax(0, 1fr); height: 25rem; }
  .a-side, .a-rail, .a-tabs, .a-search { display: none; }
  .v-head .v-btn, .v-tabs span:nth-child(n + 3), .v-kpis div:nth-child(n + 3), .v-stages span:nth-child(5) { display: none; }
  .v-form div:nth-child(n + 5) { display: none; }
  .gantt { grid-template-columns: 4.8rem minmax(0, 1fr); }
  .cal { grid-template-columns: 2.1rem repeat(3, minmax(0, 1fr)); }
  .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.list, .dash .tile:nth-child(3) { display: none; }
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-col:nth-child(n + 3) { display: none; }
  .scenarios .pause { margin-left: 0; }
  .industries { grid-template-columns: 1fr; }
  .industries div:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 1.5rem 0 0; border-left: 0; }
  .steps li:nth-child(n + 2) { border-top: 1px solid var(--line); margin-top: 1.5rem; }
  .spec dl { grid-template-columns: 1fr; }
  .plan li { grid-template-columns: 1fr; gap: .1rem; }
  .console-tabs button { padding: .7rem .5rem; font-size: .88rem; }
  .mini { min-height: 8rem; font-size: .68rem; }
  .facts { grid-template-columns: 1fr; }
  .facts li:nth-child(even) { padding-left: 0; border-left: 0; }
  .marks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marks li { min-height: 6.5rem; padding: .9rem; }
  .wm { font-size: 1.15rem; }
  .wm-c, .wm-e { font-size: 1.35rem; }
  .site-footer p:last-child { margin-left: 0; }
}

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