:root {
  --bg: #23312b;
  --bg-2: #1d2924;
  --surface: #2f4038;
  --surface-2: #3d4f46;
  --surface-3: #26362f;
  --text: #dbe6df;
  --muted: #a9b6af;
  --accent: #c48a5a;
  --accent-2: #9eb9a8;
  --paper: #eef3ef;
  --paper-text: #213028;
  --paper-muted: #62726a;
  --line: rgba(219, 230, 223, 0.16);
  --line-strong: rgba(219, 230, 223, 0.28);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  --max: 1200px;
  --page-gutter: 2rem;
  --header-height: 104px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(219, 230, 223, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 230, 223, 0.028) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.is-nav-open {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

p,
ul,
ol,
h1,
h2,
h3 {
  margin: 0;
}

ul {
  padding-left: 1.1rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-shell {
  min-height: 100svh;
  overflow-x: clip;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container,
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - var(--page-gutter)), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(219, 230, 223, 0.13);
  background: linear-gradient(180deg, rgba(22, 36, 30, 0.98), rgba(18, 31, 25, 0.98));
  box-shadow: 0 1px 0 rgba(196, 138, 90, 0.14);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand__mark-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand__mark {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: none;
}

.brand__mark--logo {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand__text {
  display: grid;
  gap: 0;
  min-width: 0;
}

.brand__title {
  font-size: 1.18rem;
  font-weight: 720;
  line-height: 1.1;
}

.brand__subtitle {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
  max-width: 275px;
}

.brand__subtitle--link {
  transition: color 180ms ease;
}

.brand__subtitle--link:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav__link {
  position: relative;
  padding: 8px 0;
  color: rgba(219, 230, 223, 0.82);
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

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

.site-nav__cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(196, 138, 90, 0.62);
  border-radius: var(--radius);
  background: var(--accent);
  color: #1b2822;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.72rem 1rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav__cta {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  font-size: 0.92rem;
}

.button:hover,
.site-nav__cta:hover {
  transform: translateY(-1px);
  background: #d19a70;
}

.button--ghost {
  background: rgba(219, 230, 223, 0.05);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(219, 230, 223, 0.1);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(219, 230, 223, 0.05);
  color: var(--text);
}

.menu-toggle__bars {
  display: grid;
  gap: 5px;
  width: 20px;
  margin: 0 auto;
}

.menu-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open .menu-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: #26382f;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    url("/assets/images/hero-software-workflow.jpg") 50% 50% / cover no-repeat;
  filter: saturate(0.9) contrast(1.05);
  opacity: 1;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 52, 44, 0.93) 0%, rgba(35, 52, 44, 0.78) 34%, rgba(35, 52, 44, 0.24) 68%, rgba(35, 52, 44, 0.1) 100%),
    linear-gradient(180deg, rgba(19, 31, 25, 0.05) 0%, rgba(19, 31, 25, 0.08) 48%, rgba(10, 18, 15, 0.7) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - var(--page-gutter)), var(--max));
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 56px 0 48px;
}

.hero__content {
  max-width: 680px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero__title,
.page-title {
  color: var(--text);
  font-size: 4.45rem;
  line-height: 1.02;
  font-weight: 760;
}

.hero__lede,
.page-lede {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.hero .button-row {
  margin-top: 32px;
}

.section {
  padding: 92px 0;
}

.section--routes {
  padding: 0 0 92px;
  background:
    linear-gradient(180deg, #13211b 0%, #1e2d26 34%, var(--bg) 100%);
  border-top: 1px solid rgba(219, 230, 223, 0.09);
}

.section--accent {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--blueprint {
  background:
    radial-gradient(circle at 74% 18%, rgba(196, 138, 90, 0.11), transparent 30%),
    linear-gradient(180deg, #17241e, #21312a 58%, var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--light {
  background: var(--paper);
  color: var(--paper-text);
}

.section--light .eyebrow,
.section--light .inline-link {
  color: #9a613a;
}

.section--light .section-title,
.section--light h2,
.section--light h3 {
  color: var(--paper-text);
}

.section--light p,
.section--light .section-lede,
.section--light .meta-line,
.section--light .check-list,
.section--light .field-notes span,
.section--light .article-row p {
  color: var(--paper-muted);
}

.section--cta {
  padding: 74px 0 104px;
}

.section__heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-title {
  color: var(--text);
  font-size: 2.6rem;
  line-height: 1.08;
  font-weight: 740;
}

.section-lede,
.split__copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 690px;
}

.route-board {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  padding: 58px 0 0;
}

.route-board__copy p {
  margin-top: 16px;
  max-width: 520px;
  color: var(--muted);
}

.route-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.route-lane {
  position: relative;
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(219, 230, 223, 0.075), transparent 42%),
    var(--surface);
  transition: background 180ms ease, transform 180ms ease;
}

.route-lane::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(219, 230, 223, 0.09) 48%, transparent 56%);
  opacity: 0;
  transform: translateX(-36%);
  transition: opacity 180ms ease, transform 420ms ease;
}

.route-lane:hover {
  background:
    linear-gradient(135deg, rgba(196, 138, 90, 0.13), transparent 44%),
    var(--surface-2);
}

.route-lane:hover::before {
  opacity: 1;
  transform: translateX(36%);
}

.route-lane__index,
.route-lane__type {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-weight: 720;
}

.route-lane__index {
  font-size: 0.84rem;
}

.route-lane__type {
  align-self: end;
}

.route-lane strong,
.route-lane em {
  position: relative;
  z-index: 1;
  display: block;
}

.route-lane strong {
  color: var(--text);
  font-size: 1.52rem;
  line-height: 1.12;
}

.route-lane em {
  color: var(--muted);
  font-style: normal;
}

.route-lane--systems {
  background:
    linear-gradient(135deg, rgba(196, 138, 90, 0.14), transparent 45%),
    var(--surface);
}

.route-board__trace {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid var(--line);
  border-right: 0;
}

.route-board__trace span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-list {
  display: grid;
  gap: 20px;
}

.product-list--full {
  gap: 34px;
}

.section--product-map {
  padding: 62px 0 0;
  background: var(--bg);
}

.product-map {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 34px 0 58px;
  border-bottom: 1px solid var(--line);
}

.product-map__copy p {
  margin-top: 16px;
  max-width: 560px;
  color: var(--muted);
}

.product-map__diagram {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(219, 230, 223, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 230, 223, 0.036) 1px, transparent 1px),
    var(--line);
  background-size: 34px 34px, 34px 34px, auto;
  overflow: hidden;
}

.product-map__diagram::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 138, 90, 0), rgba(196, 138, 90, 0.78), rgba(158, 185, 168, 0.54), rgba(196, 138, 90, 0));
}

.product-core,
.product-node {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(36, 52, 45, 0.95);
}

.product-core {
  border-right: 1px solid var(--line);
}

.product-core span,
.product-node span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 720;
}

.product-core strong {
  color: var(--text);
  font-size: 1.36rem;
  line-height: 1.12;
}

.product-nodes {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.product-node {
  min-height: 120px;
  transition: background 180ms ease;
}

.product-node:hover {
  background: rgba(61, 79, 70, 0.96);
}

.product-node strong {
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.12;
}

.product-node em {
  color: var(--muted);
  font-style: normal;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: stretch;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.product-row:last-child {
  border-bottom: 1px solid var(--line);
}

.product-row__copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.product-row__number,
.product-row__kicker {
  color: var(--accent);
  font-weight: 720;
}

.product-row__number {
  font-size: 0.86rem;
}

.product-row__kicker {
  font-size: 0.84rem;
}

.product-row h3 {
  color: var(--text);
  font-size: 2rem;
  line-height: 1.14;
}

.product-row p {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 720px;
}

.product-row__visual {
  min-width: 0;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.meta-line span {
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.check-list--large {
  gap: 12px;
  margin-top: 18px;
}

.interface {
  position: relative;
  min-height: 315px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(219, 230, 223, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 230, 223, 0.036) 1px, transparent 1px),
    #223129;
  background-size: 34px 34px, 34px 34px, auto;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section--light .interface {
  border-color: rgba(33, 48, 40, 0.16);
  background:
    linear-gradient(90deg, rgba(33, 48, 40, 0.052) 1px, transparent 1px),
    linear-gradient(180deg, rgba(33, 48, 40, 0.045) 1px, transparent 1px),
    #dfe8e2;
  background-size: 34px 34px, 34px 34px, auto;
}

.interface__label {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid rgba(196, 138, 90, 0.44);
  border-radius: var(--radius);
  background: rgba(35, 49, 43, 0.74);
  color: var(--text);
  font-size: 0.72rem;
}

.phone-shell,
.voice-panel,
.control-plane,
.case-board,
.journal-visual,
.workflow-diagram {
  position: relative;
  z-index: 1;
}

.phone-shell {
  display: grid;
  gap: 16px;
  padding-top: 36px;
}

.ui-topbar {
  min-height: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(158, 185, 168, 0.4);
  border-radius: var(--radius);
  background: rgba(158, 185, 168, 0.08);
}

.ui-topbar strong {
  color: var(--text);
}

.ui-topbar span {
  color: var(--accent-2);
  font-size: 0.82rem;
}

.softphone-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(160px, 0.7fr);
  gap: 12px;
}

.line-stack {
  display: grid;
  gap: 8px;
}

.line-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(219, 230, 223, 0.045);
}

.line-item.is-live {
  border-color: rgba(196, 138, 90, 0.7);
}

.line-item span,
.capture-grid span,
.call-controls span,
.control-plane__tabs span,
.journal-visual span {
  color: var(--muted);
}

.dial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(42px, 1fr));
  gap: 8px;
}

.dial-grid span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(219, 230, 223, 0.06);
}

.call-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.call-controls span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-pane {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid rgba(196, 138, 90, 0.45);
  border-radius: var(--radius);
  background: rgba(196, 138, 90, 0.08);
}

.contact-pane span,
.intake-panel span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 720;
}

.contact-pane strong,
.intake-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
}

.contact-pane p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.voice-panel {
  display: grid;
  gap: 14px;
  padding-top: 36px;
}

.voice-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(168px, 0.55fr);
  gap: 12px;
}

.waveform {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 78px;
}

.waveform span {
  width: 16px;
  border-radius: 5px 5px 0 0;
  background: var(--accent);
  opacity: 0.76;
}

.waveform span:nth-child(1) { height: 34px; }
.waveform span:nth-child(2) { height: 58px; }
.waveform span:nth-child(3) { height: 42px; }
.waveform span:nth-child(4) { height: 74px; }
.waveform span:nth-child(5) { height: 48px; }
.waveform span:nth-child(6) { height: 62px; }

.transcript-line {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-left: 2px solid var(--accent);
  background: rgba(219, 230, 223, 0.055);
}

.transcript-line strong {
  color: var(--text);
}

.transcript-line span {
  color: var(--muted);
}

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

.capture-grid span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(158, 185, 168, 0.08);
  font-size: 0.82rem;
}

.intake-panel {
  display: grid;
  gap: 10px;
}

.intake-panel div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(219, 230, 223, 0.05);
}

.control-plane {
  display: grid;
  gap: 12px;
  padding-top: 36px;
}

.control-plane__layout {
  display: grid;
  grid-template-columns: minmax(124px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
}

.control-plane__tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.control-plane__tabs span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.control-plane__rows {
  display: grid;
  gap: 10px;
}

.route-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(219, 230, 223, 0.05);
}

.route-row span {
  color: var(--muted);
}

.route-row em {
  padding: 4px 8px;
  border-radius: var(--radius);
  background: rgba(196, 138, 90, 0.16);
  color: var(--accent);
  font-style: normal;
}

.apply-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(158, 185, 168, 0.42);
  border-radius: var(--radius);
  color: var(--accent-2);
  background: rgba(158, 185, 168, 0.08);
}

.case-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.72fr);
  gap: 14px;
  align-items: end;
  padding-top: 46px;
}

.case-board__main,
.screen-pop {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(219, 230, 223, 0.055);
}

.case-board span,
.screen-pop span {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.case-board strong,
.screen-pop strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.2rem;
}

.case-board p,
.screen-pop p {
  margin-top: 10px;
  color: var(--muted);
}

.screen-pop {
  border-color: rgba(196, 138, 90, 0.58);
  transform: translateY(34px);
}

.workflow-diagram {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  min-height: 260px;
  padding-top: 56px;
  background: rgba(219, 230, 223, 0.06);
}

.workflow-diagram div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  background: #24342d;
  border-top: 3px solid var(--accent);
}

.workflow-diagram div:nth-child(even) {
  border-top-color: var(--accent-2);
}

.workflow-diagram span {
  color: var(--muted);
  font-size: 0.88rem;
}

.workflow-diagram strong {
  color: var(--text);
  font-size: 1.08rem;
}

.callops-board {
  position: relative;
  min-height: 405px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(219, 230, 223, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 230, 223, 0.036) 1px, transparent 1px),
    #223129;
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.callops-board::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 138, 90, 0), rgba(196, 138, 90, 0.72), rgba(158, 185, 168, 0.52), rgba(196, 138, 90, 0));
}

.callops-board__header {
  display: grid;
  gap: 6px;
  max-width: 560px;
}

.callops-board__header span,
.call-stage span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 720;
}

.callops-board__header strong {
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.18;
}

.callops-board__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.call-stage {
  min-height: 208px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  background: rgba(36, 52, 45, 0.94);
  border-top: 3px solid rgba(158, 185, 168, 0.68);
}

.call-stage--event,
.call-stage--ai {
  border-top-color: rgba(196, 138, 90, 0.78);
}

.call-stage strong {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.16;
}

.call-stage p {
  color: var(--muted);
  font-size: 0.9rem;
}

.callops-board__timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  background: var(--line);
}

.callops-board__timeline span {
  display: grid;
  place-items: center;
  min-height: 42px;
  background: rgba(219, 230, 223, 0.055);
  color: var(--muted);
  font-size: 0.78rem;
}

.system-blueprint {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(560px, 1fr);
  gap: 48px;
  align-items: start;
}

.system-blueprint__copy {
  max-width: 520px;
}

.system-blueprint__copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.system-blueprint__board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.system-blueprint__board::before {
  content: "";
  position: absolute;
  inset: 47px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 138, 90, 0.72), rgba(158, 185, 168, 0.54), transparent);
  pointer-events: none;
}

.system-blueprint__rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.system-blueprint__rail span {
  min-height: 46px;
  display: grid;
  align-items: center;
  padding: 12px 16px;
  background: rgba(219, 230, 223, 0.05);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0;
}

.system-layer {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(219, 230, 223, 0.055), rgba(219, 230, 223, 0.018)),
    var(--surface);
}

.system-layer small {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 760;
}

.system-layer span {
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 720;
}

.system-layer strong {
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.18;
}

.system-layer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.system-layer__data {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.system-layer__data em {
  padding: 6px 8px;
  border: 1px solid rgba(219, 230, 223, 0.14);
  border-radius: var(--radius);
  background: rgba(17, 29, 24, 0.36);
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.system-layer--pbx,
.system-layer--ai {
  border-top: 3px solid rgba(196, 138, 90, 0.75);
}

.system-layer--match,
.system-layer--work {
  border-top: 3px solid rgba(158, 185, 168, 0.68);
}

.case-system {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(219, 230, 223, 0.042) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 230, 223, 0.032) 1px, transparent 1px),
    #223129;
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.case-system__topbar {
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 31, 25, 0.7);
}

.case-system__topbar strong {
  color: var(--text);
  font-size: 1rem;
}

.case-system__topbar span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 720;
}

.case-system__body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 420px;
}

.case-system__nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: rgba(17, 29, 24, 0.5);
}

.case-system__nav span {
  padding: 9px 10px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 0.82rem;
}

.case-system__nav .is-active {
  border-left-color: var(--accent);
  background: rgba(196, 138, 90, 0.1);
  color: var(--text);
}

.case-system__main {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
}

.case-system__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.case-system__header div {
  display: grid;
  gap: 4px;
}

.case-system__header span {
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 720;
}

.case-system__header strong {
  color: var(--text);
  font-size: 1.24rem;
  line-height: 1.15;
}

.case-system__header em {
  padding: 7px 10px;
  border: 1px solid rgba(158, 185, 168, 0.38);
  border-radius: var(--radius);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-style: normal;
}

.case-system__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-panel {
  min-height: 145px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
  background: rgba(47, 64, 56, 0.92);
  border-top: 3px solid rgba(158, 185, 168, 0.6);
}

.case-panel--call {
  border-top-color: rgba(196, 138, 90, 0.76);
}

.case-panel span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 720;
}

.case-panel strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.18;
}

.case-panel p {
  color: var(--muted);
  font-size: 0.88rem;
}

.case-call-bridge {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  border: 1px solid rgba(33, 48, 40, 0.16);
  background: rgba(33, 48, 40, 0.16);
}

.case-call-bridge__row {
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: #f7faf7;
  border-top: 3px solid rgba(158, 185, 168, 0.8);
}

.case-call-bridge__row:nth-child(2) {
  border-top-color: rgba(196, 138, 90, 0.78);
}

.case-call-bridge__row span {
  color: #9a613a;
  font-size: 0.82rem;
  font-weight: 760;
}

.case-call-bridge__row strong {
  color: var(--paper-text);
  font-size: 1.14rem;
  line-height: 1.16;
}

.case-call-bridge__row em {
  color: var(--paper-muted);
  font-style: normal;
}

.journal-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
  min-height: 240px;
  padding: 56px 0 0;
}

.journal-visual span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(219, 230, 223, 0.055);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.84fr);
  gap: 46px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(360px, 0.84fr) minmax(0, 0.92fr);
}

.split--reverse .split__visual,
.split--reverse .field-notes,
.split--reverse .record-stack {
  order: -1;
}

.split__copy .button-row {
  margin-top: 24px;
}

.inline-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent);
  font-weight: 720;
}

.field-notes,
.record-stack,
.comparison-table,
.contact-methods {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.field-notes div,
.record-stack div,
.comparison-table div,
.contact-method {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--paper);
}

.field-notes strong,
.record-stack strong,
.comparison-table strong,
.contact-method a {
  color: var(--paper-text);
  font-size: 1.08rem;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.workflow-step {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
  background: var(--surface);
}

.workflow-step__index {
  color: var(--accent);
  font-weight: 720;
}

.workflow-step h3 {
  color: var(--text);
  font-size: 1.26rem;
  line-height: 1.16;
}

.workflow-step p {
  color: var(--muted);
}

.capability-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.matrix-item {
  min-height: 92px;
  display: grid;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  color: var(--text);
  font-weight: 690;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(33, 48, 40, 0.16);
  background: rgba(33, 48, 40, 0.16);
}

.source-note {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--paper);
}

.source-note h3 {
  color: var(--paper-text);
  font-size: 1.18rem;
}

.source-note p {
  color: var(--paper-muted);
}

.article-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.section--light .article-list {
  border-color: rgba(33, 48, 40, 0.16);
  background: rgba(33, 48, 40, 0.16);
}

.article-list--large {
  max-width: 980px;
}

.article-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--surface);
}

.article-row__signal {
  display: grid;
  place-items: center;
  min-height: 86px;
}

.article-row__signal span {
  display: grid;
  place-items: center;
  width: 74px;
  aspect-ratio: 1;
  border: 1px solid rgba(196, 138, 90, 0.46);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(196, 138, 90, 0.18), transparent 58%),
    rgba(219, 230, 223, 0.035);
  color: var(--accent);
  font-weight: 760;
}

.article-row__body {
  display: grid;
  gap: 10px;
}

.article-row h3 {
  color: var(--text);
  font-size: 1.34rem;
  line-height: 1.18;
}

.article-row p {
  color: var(--muted);
}

.page-hero {
  padding: 84px 0 72px;
  background:
    linear-gradient(90deg, rgba(219, 230, 223, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 230, 223, 0.035) 1px, transparent 1px),
    #223129;
  background-size: 44px 44px, 44px 44px, auto;
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  width: min(calc(100% - var(--page-gutter)), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.page-hero--simple .page-hero__inner {
  grid-template-columns: minmax(0, 760px);
}

.page-hero__visual .interface {
  min-height: 286px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.contact-methods {
  border-color: var(--line);
}

.contact-method {
  background: var(--surface);
}

.contact-method span {
  color: var(--accent);
  font-weight: 720;
}

.contact-method a {
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-method p {
  color: var(--muted);
}

.page-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(47, 64, 56, 0.78);
  box-shadow: var(--shadow);
}

.page-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(15, 24, 20, 0.42);
  color: var(--text);
  padding: 0.75rem 0.85rem;
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(169, 182, 175, 0.68);
}

.page-form .button-row {
  margin-top: 20px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
}

.cta-panel {
  max-width: 900px;
  padding: 38px;
  border: 1px solid rgba(196, 138, 90, 0.44);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(196, 138, 90, 0.12), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  color: var(--text);
  font-size: 2.34rem;
  line-height: 1.12;
}

.cta-panel p {
  margin-top: 14px;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-panel .button-row {
  margin-top: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #1c2923;
  padding: 48px 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(150px, 0.55fr)) minmax(180px, 0.7fr);
  gap: 32px;
}

.site-footer__brand {
  display: grid;
  gap: 16px;
}

.brand--footer .brand__mark {
  width: 58px;
  height: 58px;
}

.site-footer__brand p,
.site-footer__links a,
.site-footer__contact a,
.footer-md3-link {
  color: var(--muted);
}

.footer-md3-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 720;
}

.site-footer__heading {
  color: var(--text);
  font-weight: 720;
  margin-bottom: 12px;
}

.site-footer__links,
.site-footer__contact {
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--text);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero__inner,
  .page-hero__inner,
  .split,
  .split--reverse,
  .route-board,
  .product-map,
  .product-row,
  .system-blueprint,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__visual,
  .split--reverse .field-notes,
  .split--reverse .record-stack {
    order: 0;
  }

  .hero__title,
  .page-title {
    font-size: 3.2rem;
  }

  .workflow-strip,
  .source-grid,
  .callops-board__grid,
  .system-blueprint__board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  :root {
    --page-gutter: 1.75rem;
  }

  .container,
  .site-header__inner,
  .site-footer__inner,
  .page-hero__inner,
  .hero__inner {
    width: min(calc(100% - var(--page-gutter)), var(--max));
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(35, 49, 43, 0.98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__links {
    display: grid;
    gap: 10px;
  }

  .site-nav__link {
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .site-nav__cta {
    justify-self: start;
  }

  .hero__inner {
    align-items: start;
    min-height: auto;
    padding: 54px 0 40px;
  }

  .hero__image {
    background-position: 60% 50%;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(35, 52, 44, 0.94) 0%, rgba(35, 52, 44, 0.82) 54%, rgba(35, 52, 44, 0.46) 100%),
      linear-gradient(180deg, rgba(19, 31, 25, 0.08), rgba(10, 18, 15, 0.74));
  }

  .hero__title,
  .page-title {
    font-size: 2.72rem;
  }

  .section-title {
    font-size: 2.08rem;
  }

  .route-lanes,
  .workflow-strip,
  .capability-matrix,
  .source-grid,
  .callops-board__grid,
  .product-map__diagram,
  .softphone-layout,
  .voice-panel__body,
  .control-plane__layout,
  .system-blueprint__board,
  .case-system__body,
  .case-system__grid,
  .case-call-bridge,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .system-blueprint__board::before,
  .system-blueprint__rail {
    display: none;
  }

  .system-layer {
    min-height: 220px;
  }

  .case-system__body {
    min-height: auto;
  }

  .case-system__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-board {
    padding-top: 42px;
    gap: 28px;
  }

  .route-lane {
    min-height: 245px;
    padding: 24px;
  }

  .route-lane strong {
    font-size: 1.34rem;
  }

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

  .product-map {
    padding-top: 16px;
  }

  .product-map__diagram {
    min-height: auto;
  }

  .product-map__diagram::after {
    display: none;
  }

  .product-core {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-nodes {
    grid-template-rows: none;
  }

  .capture-grid,
  .case-board,
  .workflow-diagram,
  .page-form__grid,
  .callops-board__timeline {
    grid-template-columns: 1fr;
  }

  .screen-pop {
    transform: none;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .article-row__signal {
    min-height: 56px;
    place-items: start;
  }

  .article-row__signal span {
    width: 58px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 86px;
    --page-gutter: 1.2rem;
  }

  .brand__mark {
    width: 58px;
    height: 58px;
  }

  .brand__title {
    font-size: 1rem;
  }

  .brand__subtitle {
    max-width: 175px;
    font-size: 0.66rem;
  }

  .hero__title,
  .page-title {
    font-size: 2.32rem;
  }

  .hero__lede,
  .page-lede {
    font-size: 1.02rem;
  }

  .section {
    padding: 68px 0;
  }

  .section--routes {
    padding: 18px 0 60px;
  }

  .section--cta {
    padding: 56px 0 78px;
  }

  .page-hero {
    padding: 58px 0 54px;
  }

  .product-row {
    padding: 24px 0;
  }

  .interface {
    min-height: 280px;
    padding: 14px;
  }

  .route-row,
  .apply-bar {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .page-form {
    padding: 22px;
  }

  .button,
  .button--ghost {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
