/* site-v8 — ONE stylesheet. Layer 1 is the base every page used to inline;
   layer 2 is the v7 product-view system that refines it. Order matters:
   later rules win, so the refinements must stay below the base. */

  @font-face {
    font-family: "Geist";
    src: url("/fonts/geist-var.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-display: swap;
  }
  :root {
    --ink: #000000;
    --deep: #111111;
    --raise: #1c1c1e;
    --line: #38383a;
    --text: #f5f5f7;
    --dim: #a1a1a6;
    --faint: #6e6e73;
    --accent: #f5f5f7;
    --warn: #ff9f0a;
    --pad: clamp(20px, 4.5vw, 84px);
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
      --ink: #000000;
      --deep: #111111;
      --raise: #1c1c1e;
      --line: #38383a;
      --text: #f5f5f7;
      --dim: #a1a1a6;
      --faint: #6e6e73;
      --accent: #f5f5f7;
      --warn: #ff9f0a;
    }
  }
  :root[data-theme="light"] {
    --ink: #000000;
    --deep: #111111;
    --raise: #1c1c1e;
    --line: #38383a;
    --text: #f5f5f7;
    --dim: #a1a1a6;
    --faint: #6e6e73;
    --accent: #f5f5f7;
    --warn: #ff9f0a;
  }
  * { box-sizing: border-box; }
  html { background: var(--ink); scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  ::selection { background: var(--accent); color: var(--ink); }
  a { transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
  body {
    margin: 0;
    background: radial-gradient(120% 75% at 50% -15%, var(--deep) 0%, var(--ink) 60%);
    color: var(--text);
    font: 16px/1.65 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  .term, code, pre, .wordmark {
    font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  }
  a:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

  header.site {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px 20px; flex-wrap: wrap;
    padding: 24px var(--pad) 0;
  }
  .wordmark { font-size: 17px; font-weight: 600; letter-spacing: .02em; color: var(--text); text-decoration: none; }
  .wordmark::after { content: "▌"; color: var(--accent); margin-left: 2px; }
  nav { font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
  nav a { color: var(--dim); text-decoration: none; }
  nav a:hover, nav a:focus-visible { color: var(--accent); }
  nav a[aria-current="page"] { color: var(--text); }
  nav a.pill {
    border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  }
  nav a.pill:hover, nav a.pill:focus-visible { color: var(--accent); border-color: var(--accent); }

  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .hero h1, .hero .lede { animation: rise .7s ease-out both; }
  .hero .lede { animation-delay: .12s; }
  @media (prefers-reduced-motion: reduce) { .hero h1, .hero .lede { animation: none; } }
  .hero.page h1, .hero.page .lede { animation: none; }
  .hero {
    text-align: center;
    padding: clamp(64px, 13vh, 140px) var(--pad) 12px;
  }
  .hero.page { padding: clamp(56px, 10vh, 110px) var(--pad) 12px; }
  h1 {
    font-size: clamp(34px, 4.8vw, 68px); font-weight: 650; letter-spacing: -.02em;
    line-height: 1.08; margin: 0 0 20px; text-wrap: balance;
  }
  .hero.page h1 { font-size: clamp(28px, 4vw, 52px); }
  .lede {
    font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--dim);
    max-width: 52ch; margin: 0 auto;
  }
  .lede strong { color: var(--text); font-weight: 500; }

  .claim {
    text-align: center;
    padding: clamp(72px, 12vh, 130px) var(--pad) 0;
  }
  .claim.tight { padding-top: clamp(36px, 6vh, 64px); }
  .claim h2 {
    font-size: clamp(25px, 2.8vw, 44px); font-weight: 650;
    letter-spacing: -.016em; margin: 0 0 14px; text-wrap: balance;
  }
  .claim p {
    color: var(--dim); font-size: clamp(15px, 1.2vw, 17.5px);
    max-width: 56ch; margin: 0 auto; line-height: 1.6;
  }
  .claim p + p { margin-top: 14px; }
  .claim p strong { color: var(--text); font-weight: 500; }
  .claim a.btn {
    display: inline-block; margin-top: 26px;
    font-size: 14px; font-weight: 500;
    color: var(--dim); text-decoration: none;
    border: 1px solid var(--line); border-radius: 999px; padding: 10px 24px;
  }
  .claim a.btn:hover, .claim a.btn:focus-visible { color: var(--accent); border-color: var(--accent); }

  .art img { width: 100%; height: auto; display: block; }
  .art { max-width: 880px; margin: clamp(32px, 6vh, 64px) auto 0; padding: 0 var(--pad); }

  .triple {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(48px, 9vh, 96px) var(--pad);
    max-width: 1160px; margin: 0 auto;
  }
  .triple h3 { font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
  .triple p { color: var(--dim); font-size: clamp(14px, 1.1vw, 15.5px); margin: 0; }
  .teasers h3 a { color: var(--text); text-decoration: none; }
  .teasers h3 a::after { content: " →"; color: var(--accent); }
  .teasers h3 a:hover, .teasers h3 a:focus-visible { color: var(--accent); }

  .get {
    text-align: center;
    padding: clamp(30px, 5vh, 52px) var(--pad) clamp(72px, 12vh, 130px);
  }
  .get.mid { padding-bottom: 0; }
  .term {
    display: inline-block; text-align: left;
    background: var(--raise); border: 1px solid var(--line); border-radius: 8px;
    padding: clamp(16px, 1.8vw, 24px) clamp(18px, 2.2vw, 30px);
    font-size: clamp(12px, 1.1vw, 14.5px); line-height: 1.9;
    overflow-x: auto; white-space: pre; margin: 0; max-width: 100%;
    transition: border-color .2s ease;
  }
  .termwrap { position: relative; display: inline-block; max-width: 100%; }
  .termwrap:hover .term { border-color: var(--faint); }
  .copybtn {
    position: absolute; top: 10px; right: 12px;
    font: 11px ui-monospace, "SF Mono", Menlo, monospace;
    color: var(--faint); background: none; border: 1px solid var(--line);
    border-radius: 5px; padding: 4px 10px; cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
  }
  .copybtn:hover, .copybtn:focus-visible { color: var(--accent); border-color: var(--accent); }
  .term .p { color: var(--accent); user-select: none; }
  .term .c { color: var(--faint); }
  .fine { font-size: 12.5px; color: var(--faint); margin-top: 14px; }

  main.doc {
    max-width: 720px; margin: 0 auto;
    padding: clamp(48px, 9vh, 96px) var(--pad) clamp(56px, 10vh, 110px);
  }
  .doc h1 {
    font-size: clamp(28px, 4vw, 44px); line-height: 1.12; margin: 0 0 12px;
  }
  .doc .lede { color: var(--dim); font-size: clamp(15px, 1.2vw, 17.5px); max-width: none; margin: 0 0 8px; }
  .doc h2 {
    font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--faint); margin: clamp(48px, 8vh, 72px) 0 8px;
    padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--line);
  }
  .step { margin-top: 34px; }
  .step p { margin: 0 0 12px; color: var(--text); }
  .step p .why { color: var(--dim); }
  .doc pre {
    background: var(--raise); border: 1px solid var(--line); border-radius: 8px;
    padding: clamp(14px, 1.6vw, 20px) clamp(16px, 2vw, 24px);
    font-size: clamp(12px, 1.05vw, 14px); line-height: 1.8;
    overflow-x: auto; white-space: pre; margin: 0; max-width: 100%;
    transition: border-color .2s ease;
  }
  .doc pre:hover { border-color: var(--faint); }
  .doc pre .p { color: var(--accent); user-select: none; }
  .doc pre .c { color: var(--faint); }
  code { font-size: .92em; color: var(--text); background: var(--raise); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
  a.plain { color: var(--accent); text-decoration: none; }
  a.plain:hover, a.plain:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

  .faq { margin-top: 34px; }
  .faq h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; margin: 30px 0 6px; }
  .faq h3:first-child { margin-top: 0; }
  .faq p { margin: 0; color: var(--dim); font-size: 15px; }
  .faq p strong { color: var(--text); font-weight: 500; }

  footer {
    border-top: 1px solid var(--line);
    padding: clamp(36px, 6vh, 60px) var(--pad) 48px;
    font-size: 12.5px; color: var(--faint);
  }
  .fgrid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px clamp(24px, 3vw, 48px);
    max-width: 1160px; margin: 0 auto;
  }
  .fcol { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
  .fcol h4 {
    font-size: 11px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--faint); margin: 0 0 2px;
  }
  .fcol h4.gap { margin-top: 16px; }
  footer a { color: var(--dim); text-decoration: none; }
  footer a:hover, footer a:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
  .fcol .lab { color: var(--faint); }
  @media (max-width: 900px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

  @media (max-width: 760px) {
    .triple { grid-template-columns: 1fr; gap: 26px; }
  }


/* ============ layer 2: v7 refinements ============ */
/* Studio713 foundation — product surfaces and mobile-first chrome. */

:root,
:root:not([data-theme="dark"]),
:root[data-theme="light"] {
  color-scheme: dark;
  --ink: #000000;
  --deep: #111111;
  --raise: #1c1c1e;
  --line: #38383a;
  --text: #f5f5f7;
  --dim: #a1a1a6;
  --faint: #6e6e73;
  --accent: #f5f5f7;
  --accent-soft: rgba(255,255,255, .12);
  --good: #30d158;
  --warn: #ff9f0a;
  --danger: #ff453a;
  --view: #111111;
  --view-2: #242426;
  --view-3: #2c2c2e;
  --pad: clamp(20px, 4.5vw, 84px);
}

html {
  background: #000;
  overflow-x: clip;
}

body {
  min-width: 0;
  overflow-x: clip;
  background:
    radial-gradient(80% 45% at 50% -8%, rgba(255,255,255, .17), transparent 70%),
    #000;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  padding: 0 var(--pad);
  flex-wrap: nowrap;
  background: rgba(0, 0, 0, .78);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

header.site .wordmark { flex: 0 0 auto; }
header.site nav { flex-wrap: nowrap; }

.hero {
  padding-top: clamp(72px, 12vh, 132px);
}

.hero.page {
  padding-top: clamp(58px, 9vh, 104px);
}

.art,
.experience {
  width: min(1240px, 100%);
  max-width: none;
  margin: clamp(34px, 6vh, 72px) auto 0;
  padding: 0;
}

.art img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Shared product-view shell. */
.experience {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 25%),
    var(--view);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .56),
    inset 0 1px rgba(255,255,255,.035);
  text-align: left;
}

.experience,
.experience button,
.experience input {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.experience-bar,
.experience-foot {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: var(--faint);
  background: rgba(255,255,255,.016);
  border-bottom: 1px solid var(--line);
  font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .01em;
}

.experience-foot {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.traffic {
  display: inline-flex;
  gap: 5px;
}

.traffic i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3a3c;
}

.traffic i:last-child { background: var(--accent); box-shadow: 0 0 12px rgba(255,255,255, .55); }
.experience-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.experience-spacer { flex: 1; }

.live-badge,
.status-chip,
.row-status,
.micro-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--dim);
  background: rgba(255,255,255,.02);
  font: 600 9px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.live-badge::before,
.status-chip.good::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 9px rgba(48,209,88, .55);
}

.eyebrow {
  display: block;
  color: var(--faint);
  font: 650 9px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.app-pane {
  min-width: 0;
  background: var(--view-2);
  border-right: 1px solid var(--line);
}

.pane-head {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}

.pane-head strong {
  font-size: 12px;
  font-weight: 590;
}

.pane-head span {
  color: var(--faint);
  font: 500 9px ui-monospace, "SF Mono", Menlo, monospace;
}

/* Home: one live cell, not a folder icon. */
.cell-workspace {
  display: grid;
  grid-template-columns: minmax(160px, .72fr) minmax(360px, 1.7fr) minmax(220px, .95fr);
  min-height: 500px;
}

.file-pane { padding: 17px 12px; }

.file-pane h3 {
  margin: 8px 7px 17px;
  font-size: 16px;
  font-weight: 610;
  letter-spacing: -.02em;
}

.file-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--dim);
  font: 500 11px/1.25 ui-monospace, "SF Mono", Menlo, monospace;
}

.file-tree li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 7px;
}

.file-tree li::before {
  content: "";
  width: 11px;
  height: 8px;
  border: 1px solid #48484a;
  border-radius: 2px;
}

.file-tree li.folder::before { border-color: var(--accent); box-shadow: inset 0 0 0 2px rgba(255,255,255,.06); }
.file-tree li.active { color: var(--text); background: var(--accent-soft); }
.file-tree li small { margin-left: auto; color: var(--faint); font-size: 8px; }

.record-pane { background: #1c1c1e; }
.event-list { padding: 7px 14px 14px; }

.event {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 73px;
  padding: 10px 3px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.event time {
  color: var(--faint);
  font: 500 9px ui-monospace, "SF Mono", Menlo, monospace;
}

.event-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.event-main strong {
  overflow: hidden;
  color: var(--text);
  font: 560 12px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-main small { color: var(--faint); font-size: 10px; }
.row-status { border: 0; background: transparent; padding: 0; color: var(--good); }
.row-status.wait { color: var(--warn); }

.rules-pane { border-right: 0; padding-bottom: 14px; }
.rule-list { padding: 8px 13px; }

.rule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.rule strong { display: block; font-size: 11px; font-weight: 570; }
.rule small { display: block; margin-top: 3px; color: var(--faint); font-size: 9.5px; }

.toggle {
  width: 28px;
  height: 16px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
}

.toggle::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255,255,255,.4);
}

.approval-mini {
  margin: 12px 12px 0;
  padding: 13px;
  border: 1px solid rgba(255,159,10,.3);
  border-radius: 10px;
  background: rgba(255,159,10,.055);
}

.approval-mini .eyebrow { color: var(--warn); }
.approval-mini strong { display: block; margin: 7px 0 3px; font-size: 12px; }
.approval-mini small { color: var(--dim); font-size: 9.5px; }

/* The one-door approval flow. */
.flow-workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px minmax(300px, 1.08fr);
  align-items: stretch;
  min-height: 470px;
  background:
    linear-gradient(90deg, transparent 0 33%, rgba(255,255,255,.025) 33% 66%, transparent 66%),
    var(--view);
}

.flow-column { padding: 26px; }
.flow-column > .eyebrow { margin-bottom: 18px; }

.action-card,
.approval-card {
  position: relative;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--view-3);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.action-card + .action-card { margin-top: 10px; }
.action-card strong { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 590; }
.action-card small { color: var(--faint); font: 500 9px ui-monospace, "SF Mono", Menlo, monospace; }
.action-card .row-status { float: right; margin-top: 2px; }

.flow-gate {
  position: relative;
  display: grid;
  place-items: center;
  border-inline: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.flow-gate::before,
.flow-gate::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.flow-gate::before { left: 0; }
.flow-gate::after { right: 0; transform: rotate(180deg); }

.gate-core {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 40px 40px 12px 12px;
  color: var(--accent);
  background: #161618;
  box-shadow: 0 0 42px rgba(255,255,255,.13), inset 0 0 18px rgba(255,255,255,.055);
  font: 650 9px ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.approval-card {
  min-height: 250px;
  padding: 22px;
  border-color: rgba(255,159,10,.3);
  background: linear-gradient(180deg, rgba(255,159,10,.05), var(--view-3) 38%);
}

.approval-card .eyebrow { color: var(--warn); }
.approval-card h3 { margin: 18px 0 2px; font-size: 30px; letter-spacing: -.035em; }
.approval-card p { margin: 0; color: var(--dim); font-size: 12px; }
.approval-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 22px 0; }
.approval-meta div { padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.approval-meta span { display: block; color: var(--faint); font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; }
.approval-meta strong { display: block; margin-top: 4px; font-size: 11px; }
.decision-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.decision-row span { padding: 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--dim); font-size: 10px; text-align: center; }
.decision-row .approve { color: #000000; background: var(--accent); border-color: var(--accent); font-weight: 650; }

/* Four parts as one modern product surface. */
.parts-workspace {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 450px;
}

.part-card {
  min-width: 0;
  padding: 25px 19px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 35%);
}

.part-card:last-child { border-right: 0; }
.part-card h3 { margin: 10px 0 5px; font-size: 18px; font-weight: 610; letter-spacing: -.02em; }
.part-card > p { min-height: 44px; margin: 0 0 22px; color: var(--faint); font-size: 10px; line-height: 1.45; }

.mini-list { display: grid; gap: 7px; }
.mini-row { display: flex; align-items: center; gap: 8px; min-height: 37px; padding: 8px 9px; border: 1px solid rgba(255,255,255,.065); border-radius: 7px; color: var(--dim); background: rgba(255,255,255,.018); font-size: 9.5px; }
.mini-row::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 2px; background: var(--accent); opacity: .8; }
.mini-row b { margin-left: auto; color: var(--text); font: 600 9px ui-monospace, "SF Mono", Menlo, monospace; }

.mini-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mini-actions span { padding: 11px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--dim); font-size: 9px; text-align: center; }
.mini-actions span:first-child { color: #000000; background: var(--accent); border-color: var(--accent); font-weight: 650; }

.mini-rules { display: grid; gap: 4px; }
.mini-rules .rule { padding: 11px 2px; }
.mini-rules .rule small { margin: 0; }

.mini-chart { display: flex; height: 128px; align-items: end; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.014); }
.mini-chart i { flex: 1; min-width: 6px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent), rgba(255,255,255,.16)); opacity: .85; }
.mini-chart i:nth-child(1) { height: 28%; }
.mini-chart i:nth-child(2) { height: 44%; }
.mini-chart i:nth-child(3) { height: 38%; }
.mini-chart i:nth-child(4) { height: 67%; }
.mini-chart i:nth-child(5) { height: 58%; }
.mini-chart i:nth-child(6) { height: 86%; }

/* A sparse relationship view is used only where the relationship is the point. */
.boundary-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.boundary-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: var(--view-2);
}

.boundary-panel + .boundary-panel { border-left: 1px solid var(--line); }
.boundary-panel h3 { margin: 9px 0 4px; font-size: 20px; font-weight: 610; letter-spacing: -.025em; }
.boundary-panel > p { margin: 0; color: var(--faint); font-size: 11px; }

.node-stage {
  position: relative;
  height: 230px;
  margin: 28px 0 18px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #161618;
  background-size: 32px 32px;
}

.node {
  position: absolute;
  z-index: 2;
  min-width: 68px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--dim);
  background: #242426;
  font: 600 8.5px/1.15 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}

.node.you { left: 7%; top: 42%; }
.node.cloud { right: 7%; top: 15%; }
.node.model { right: 7%; bottom: 14%; }
.node.cell { left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--accent); border-color: rgba(255,255,255,.42); }

.route {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--danger), rgba(255,69,58,.2));
  transform-origin: left center;
}

.route.one { left: 24%; top: 48%; width: 58%; transform: rotate(-19deg); }
.route.two { left: 24%; top: 51%; width: 59%; transform: rotate(18deg); }
.node-stage.local .route { left: 23%; top: 50%; width: 54%; transform: none; background: linear-gradient(90deg, rgba(255,255,255,.18), var(--accent), rgba(255,255,255,.18)); }
.node-stage.local .route.two { top: 54%; transform: rotate(180deg); transform-origin: center; }

.packet-stack { display: grid; gap: 7px; }
.packet { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--dim); font: 500 9px ui-monospace, "SF Mono", Menlo, monospace; }
.packet b { color: var(--danger); font-weight: 600; }
.local-panel .packet b { color: var(--good); }

/* Photographic anchors with live HTML status, never fake labels baked into art. */
.scene-photo {
  min-height: 0;
  background: #000;
}

.scene-photo > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.photo-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 45%, rgba(0,0,0,.42));
}

.photo-tag {
  position: absolute;
  z-index: 2;
  min-width: 122px;
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  background: rgba(28,28,30,.72);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.photo-tag span { display: block; color: var(--faint); font: 650 8px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.photo-tag strong { display: block; margin-top: 5px; font: 570 11px/1.2 ui-monospace, "SF Mono", Menlo, monospace; }
.photo-tag strong::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px rgba(48,209,88,.6); vertical-align: 1px; }
.tag-printer { left: 7%; top: 12%; }
.tag-scanner { left: 31%; bottom: 9%; }
.tag-scale { right: 17%; top: 18%; }
.tag-sensor { right: 5%; bottom: 12%; }

.rack-console {
  position: absolute;
  z-index: 2;
  left: 5%;
  bottom: 7%;
  width: min(340px, 38%);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background: rgba(28,28,30,.8);
  box-shadow: 0 18px 48px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.rack-console h3 { margin: 10px 0 15px; font-size: 18px; letter-spacing: -.02em; }
.rack-stat { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.07); color: var(--faint); font: 500 9px ui-monospace, "SF Mono", Menlo, monospace; }
.rack-stat b { color: var(--good); font-weight: 650; }

/* Capability pages: each gets a real operating view instead of a reused illustration. */
.ops-workspace {
  display: grid;
  grid-template-columns: 150px minmax(360px, 1fr) minmax(220px, .48fr);
  min-height: 465px;
}

.ops-rail {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: #161618;
}

.ops-rail strong { display: block; margin: 3px 7px 15px; font-size: 12px; }
.ops-rail span { display: block; padding: 8px 9px; border-radius: 7px; color: var(--faint); font-size: 9.5px; }
.ops-rail span.active { color: var(--text); background: var(--accent-soft); }

.ops-main { min-width: 0; padding: 22px; background: #1c1c1e; }
.ops-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ops-head h3 { margin: 5px 0 0; font-size: 24px; font-weight: 620; letter-spacing: -.03em; }
.ops-action { padding: 8px 12px; border-radius: 7px; color: #000000; background: var(--accent); font-size: 9.5px; font-weight: 680; }

.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.metric { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.016); }
.metric span { display: block; color: var(--faint); font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; }
.metric strong { display: block; margin-top: 7px; font: 610 17px ui-monospace, "SF Mono", Menlo, monospace; }

.ops-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ops-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(80px, .7fr) auto; gap: 12px; align-items: center; min-height: 53px; padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 10px; }
.ops-row:last-child { border-bottom: 0; }
.ops-row strong { overflow: hidden; color: var(--text); font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }
.ops-row b { color: var(--good); font: 600 9px ui-monospace, "SF Mono", Menlo, monospace; }
.ops-row b.wait { color: var(--warn); }

.ops-side { padding: 20px 15px; border-left: 1px solid var(--line); background: #161618; }
.ops-side h4 { margin: 8px 0 14px; font-size: 13px; font-weight: 590; }
.ops-note { margin-bottom: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; }
.ops-note strong { display: block; font-size: 10px; }
.ops-note small { display: block; margin-top: 5px; color: var(--faint); font-size: 9px; line-height: 1.4; }

/* Setup guide: canonical surfaces read like destinations, not a wall of URLs. */
.surface-intro,
.surface-note {
  color: var(--dim);
  font-size: 15px;
}

.surface-intro strong { color: var(--text); font-weight: 560; }
.surface-note { margin-top: 16px; font-size: 13px; }

.surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
}

.surface-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--raise);
  text-decoration: none;
}

.surface-link:hover,
.surface-link:focus-visible { border-color: var(--accent); }
.surface-link span { font-size: 13px; font-weight: 560; }
.surface-link code { flex: 0 1 auto; overflow: hidden; padding: 0; border: 0; color: var(--accent); background: transparent; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 900px) {
  .experience { width: calc(100% - 32px); }
  .cell-workspace { grid-template-columns: 150px minmax(330px, 1fr); }
  .rules-pane { display: none; }
  .parts-workspace { grid-template-columns: repeat(2, 1fr); }
  .part-card:nth-child(2) { border-right: 0; }
  .part-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ops-workspace { grid-template-columns: 132px minmax(0, 1fr); }
  .ops-side { display: none; }
}

@media (max-width: 760px) {
  :root,
  :root:not([data-theme="dark"]),
  :root[data-theme="light"] { --pad: 18px; }

  body { font-size: 15px; }

  header.site {
    min-height: 54px;
    gap: 14px;
    padding: 0 14px;
  }

  header.site nav {
    min-width: 0;
    margin-left: auto;
    gap: 15px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 16px), transparent 100%);
    padding-inline: 14px 18px;
  }

  header.site nav::-webkit-scrollbar { display: none; }
  /* Every destination stays reachable on a phone: the row scrolls behind an
     edge fade instead of hiding links, and each link keeps a 44px hit area. */
  header.site nav a { flex: 0 0 auto; padding-block: 12px; }

  .hero,
  .hero.page {
    padding: 62px 20px 10px;
  }

  .hero h1 { font-size: clamp(36px, 10.8vw, 46px); }
  .hero.page h1 { font-size: clamp(31px, 9.2vw, 40px); }
  .lede { font-size: 15px; }

  .claim {
    padding: 70px 20px 0;
  }

  .claim h2 { font-size: 29px; }

  /* Product windows float over the black ground on phones too — a card with
     its border, radius, and shadow intact, never a full-bleed slab. */
  .art,
  .experience {
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
  }

  .art img,
  .scene-photo > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .triple {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 52px 20px;
  }

  .triple > div {
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }

  .triple > div:last-child { border-bottom: 1px solid var(--line); }

  .get {
    padding-right: 0;
    padding-left: 0;
  }

  .termwrap { width: calc(100% - 24px); }
  .term {
    width: 100%;
    padding: 16px 16px;
    font-size: 12px;
  }
  /* Nothing on a phone scrolls sideways: long commands wrap instead. */
  .term,
  .doc pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow-x: visible;
  }
  .fine { padding: 0 20px; }

  footer { padding-inline: 20px; }
  footer .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }

  .experience-bar,
  .experience-foot { padding-inline: 12px; }

  .experience-bar::after {
    content: "live view";
    margin-left: auto;
    color: var(--faint);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .experience-bar .experience-spacer,
  .experience-bar .live-badge { display: none; }

  /* Panes stack; the window reads top to bottom and never swipes sideways. */
  .cell-workspace,
  .parts-workspace,
  .flow-workspace {
    display: block;
    min-height: 0;
  }

  .cell-workspace .app-pane,
  .part-card,
  .flow-column {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cell-workspace .app-pane:last-child,
  .part-card:last-child,
  .flow-column:last-child { border-bottom: 0; }

  .rules-pane { display: block; }
  .event-list { padding-inline: 12px; }
  .event { grid-template-columns: 49px minmax(0,1fr) auto; gap: 8px; }
  .event-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .flow-column { padding: 22px 18px; }
  .flow-gate { border-inline: 0; }

  .part-card { padding: 24px 18px; }

  .boundary-workspace { grid-template-columns: 1fr; }
  .boundary-panel { padding: 24px 18px; }
  .boundary-panel + .boundary-panel { border-left: 0; border-top: 1px solid var(--line); }
  .node-stage { height: 220px; }

  .scene-photo { aspect-ratio: auto; }
  .scene-devices > img { object-position: 48% center; }
  .photo-tag { min-width: 105px; padding: 8px; }
  .photo-tag strong { font-size: 9px; }
  .tag-printer { left: 3%; top: 5%; }
  .tag-scanner { left: 4%; bottom: 5%; }
  .tag-scale { right: 3%; top: 5%; }
  .tag-sensor { right: 3%; bottom: 5%; }

  .scene-enterprise > img { aspect-ratio: 4 / 5; object-position: 58% center; }
  .rack-console { left: 14px; right: 14px; bottom: 14px; width: auto; }

  .ops-workspace { display: block; min-height: 0; }
  .ops-rail { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .ops-rail::-webkit-scrollbar { display: none; }
  .ops-rail strong { display: none; }
  .ops-rail span { flex: 0 0 auto; padding: 7px 9px; }
  .ops-main { padding: 20px 14px; }
  .ops-side { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 14px; border-left: 0; border-top: 1px solid var(--line); }
  .ops-side .eyebrow,
  .ops-side h4 { grid-column: 1 / -1; }
  .ops-note { margin: 0; }
  .metric-strip { gap: 6px; }
  .metric { padding: 10px 8px; }
  .metric strong { font-size: 14px; }
  .ops-row { grid-template-columns: minmax(0,1fr) auto; }
  .ops-row > :nth-child(2) { display: none; }

  .surface-grid { grid-template-columns: 1fr; }
  .surface-link { border-radius: 8px; }
}

@media (max-width: 420px) {
  .wordmark { font-size: 15px; }
  header.site nav { font-size: 12px; }
  .photo-tag { min-width: 94px; }
  .photo-tag span { font-size: 7px; }
  .photo-tag strong { font-size: 8px; }
  .metric span { font-size: 7.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .cell-workspace,
  .parts-workspace,
  .flow-workspace { scroll-behavior: auto; }
}

/*
 * Studio713 v7 — native, neutral, and product-first.
 *
 * The page is deliberately pure black. Product views borrow macOS material,
 * spacing, typography, and window behavior without imitating a generic SaaS
 * dashboard. White is the only brand accent; semantic color is reserved for
 * status that carries meaning.
 */
:root,
:root:not([data-theme="dark"]),
:root[data-theme="light"] {
  color-scheme: dark;
  --ink: #000000;
  --deep: #111111;
  --raise: #1c1c1e;
  --line: #38383a;
  --text: #f5f5f7;
  --dim: #a1a1a6;
  --faint: #6e6e73;
  --accent: #f5f5f7;
  --accent-soft: rgba(255, 255, 255, .085);
  --good: #30d158;
  --warn: #ff9f0a;
  --danger: #ff453a;
  --view: #1c1c1e;
  --view-2: #242426;
  --view-3: #2c2c2e;
  --pad: clamp(22px, 5vw, 96px);
}

html {
  background: #000;
}

body {
  background: #000;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Geist", sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: -.008em;
}

::selection {
  color: #000;
  background: #fff;
}

header.site {
  min-height: 56px;
  padding: 0 max(22px, calc((100vw - 1280px) / 2));
  background: rgba(0, 0, 0, .72);
  border-color: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: saturate(140%) blur(28px);
  backdrop-filter: saturate(140%) blur(28px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.wordmark::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  opacity: .92;
}

header.site nav {
  gap: 8px 24px;
  font-size: 12px;
  font-weight: 500;
}

header.site nav a {
  color: #8e8e93;
}

header.site nav a:hover,
header.site nav a:focus-visible,
header.site nav a[aria-current="page"] {
  color: #fff;
}

header.site nav a.pill {
  padding: 6px 14px;
  color: #000;
  background: #f5f5f7;
  border: 0;
}

header.site nav a.pill:hover,
header.site nav a.pill:focus-visible {
  color: #000;
  background: #fff;
}

.hero,
.hero.page {
  padding-top: clamp(88px, 14vh, 158px);
}

.hero h1,
.hero.page h1 {
  max-width: 1040px;
  margin-inline: auto;
  color: #f5f5f7;
  font-size: clamp(48px, 6.8vw, 92px);
  font-weight: 620;
  line-height: .98;
  letter-spacing: -.058em;
}

.hero.page h1 {
  max-width: 900px;
  font-size: clamp(44px, 5.7vw, 78px);
}

.hero .lede {
  max-width: 650px;
  margin-top: 28px;
  color: #86868b;
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.42;
  letter-spacing: -.018em;
}

.lede strong,
.claim p strong {
  color: #d2d2d7;
  font-weight: 560;
}

.claim {
  padding-top: clamp(100px, 14vh, 168px);
}

.claim h2 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 610;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.claim p {
  margin-top: 22px;
  color: #86868b;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.48;
}

.claim a.btn {
  color: #000;
  background: #f5f5f7;
  border: 0;
  padding: 11px 22px;
  font-weight: 600;
}

.claim a.btn:hover,
.claim a.btn:focus-visible {
  color: #000;
  background: #fff;
}

.triple {
  max-width: 1240px;
  gap: clamp(42px, 5vw, 76px);
  padding-top: clamp(72px, 10vh, 118px);
  padding-bottom: clamp(88px, 12vh, 148px);
}

.triple h3 {
  color: #f5f5f7;
  font-size: clamp(20px, 1.65vw, 25px);
  font-weight: 590;
  letter-spacing: -.03em;
}

.triple p {
  color: #86868b;
  font-size: 15px;
  line-height: 1.55;
}

.teasers h3 a::after {
  color: #8e8e93;
}

.get {
  padding-top: clamp(62px, 9vh, 110px);
}

.term,
.doc pre {
  color: #f5f5f7;
  background: #1c1c1e;
  border-color: #38383a;
  border-radius: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .45);
}

.term .p,
.doc pre .p,
a.plain,
.surface-link code {
  color: #f5f5f7;
}

.copybtn {
  color: #8e8e93;
  background: #2c2c2e;
  border: 0;
  border-radius: 7px;
}

.copybtn:hover,
.copybtn:focus-visible {
  color: #fff;
}

footer {
  border-color: rgba(255, 255, 255, .12);
}

footer a:hover,
footer a:focus-visible {
  color: #fff;
}

/* A product window, not a framed illustration. */
.experience {
  width: min(1320px, calc(100% - 48px));
  overflow: hidden;
  color: #f5f5f7;
  background: #1c1c1e;
  border: 1px solid #3a3a3c;
  border-radius: 22px;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, .72),
    0 1px 0 rgba(255, 255, 255, .08) inset;
}

.experience,
.experience button,
.experience input {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.experience-bar {
  min-height: 52px;
  padding-inline: 18px;
  color: #8e8e93;
  background: linear-gradient(#303032, #29292b);
  border-color: #3a3a3c;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 11px;
  font-weight: 520;
  letter-spacing: -.005em;
}

.experience-foot {
  min-height: 39px;
  color: #636366;
  background: #1c1c1e;
  border-color: #38383a;
  font-size: 9px;
}

.traffic {
  gap: 7px;
}

.traffic i {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25) inset;
}

.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3),
.traffic i:last-child { background: #28c840; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25) inset; }

.live-badge,
.status-chip,
.row-status,
.micro-chip {
  color: #a1a1a6;
  background: rgba(255, 255, 255, .055);
  border-color: #48484a;
  font-weight: 600;
}

.live-badge::before,
.status-chip.good::before,
.photo-tag strong::before {
  box-shadow: none;
}

.app-pane {
  background: #1c1c1e;
  border-color: #3a3a3c;
}

.file-pane,
.rules-pane,
.ops-rail,
.ops-side {
  background: #242426;
}

.record-pane,
.ops-main {
  background: #1c1c1e;
}

.pane-head,
.event,
.rule,
.ops-row,
.rack-stat {
  border-color: rgba(255, 255, 255, .085);
}

.file-tree li::before {
  border-color: #636366;
}

.file-tree li.folder::before {
  border-color: #a1a1a6;
  box-shadow: none;
}

.file-tree li.active,
.ops-rail span.active {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.event-main strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-weight: 590;
  letter-spacing: -.012em;
}

.metric strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-variant-numeric: tabular-nums;
}

.toggle {
  background: #30d158;
  border-color: #30d158;
}

.toggle::after {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

.approval-mini,
.approval-card {
  background: #2c2c2e;
  border-color: #48484a;
  box-shadow: none;
}

.flow-workspace {
  background: #1c1c1e;
}

.flow-gate {
  background: #161618;
  border-color: #38383a;
}

.flow-gate::before,
.flow-gate::after,
.node-stage.local .route {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65));
}

.gate-core {
  color: #f5f5f7;
  background: #2c2c2e;
  border-color: #636366;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .34);
}

.decision-row .approve,
.mini-actions span:first-child,
.ops-action {
  color: #000;
  background: #f5f5f7;
  border-color: #f5f5f7;
}

.action-card,
.part-card,
.metric,
.ops-list,
.ops-note,
.surface-link {
  background: #2c2c2e;
  border-color: #3a3a3c;
  box-shadow: none;
}

.mini-row::before {
  background: #8e8e93;
}

.mini-chart {
  background: #242426;
  border-color: #3a3a3c;
}

.mini-chart i {
  background: linear-gradient(180deg, #f5f5f7, #636366);
  opacity: .8;
}

.boundary-panel {
  background: #1c1c1e;
}

.node-stage {
  background: #161618;
  border-color: #38383a;
}

.node {
  color: #a1a1a6;
  background: #2c2c2e;
  border-color: #48484a;
}

.node.cell {
  color: #fff;
  border-color: #8e8e93;
}

.node-stage.local .route {
  box-shadow: none;
}

.scene-photo > img {
  filter: grayscale(1) saturate(0) contrast(1.08) brightness(.82);
}

.photo-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), transparent 35%, rgba(0, 0, 0, .58));
}

.photo-tag,
.rack-console {
  background: rgba(28, 28, 30, .78);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: saturate(120%) blur(22px);
  backdrop-filter: saturate(120%) blur(22px);
}

.surface-link:hover,
.surface-link:focus-visible {
  border-color: #8e8e93;
  background: #323234;
}

@media (max-width: 900px) {
  .experience { width: calc(100% - 28px); }
}

@media (max-width: 760px) {
  :root,
  :root:not([data-theme="dark"]),
  :root[data-theme="light"] { --pad: 20px; }

  header.site {
    min-height: 52px;
    padding-inline: 14px;
  }

  header.site nav {
    gap: 12px;
  }

  header.site nav a.pill {
    padding: 8px 14px;
    margin-block: 8px;
  }

  .hero,
  .hero.page {
    padding: 70px 20px 16px;
  }

  .hero h1,
  .hero.page h1 {
    font-size: clamp(43px, 13.4vw, 58px);
    line-height: .98;
    letter-spacing: -.06em;
  }

  .hero .lede {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.45;
  }

  .claim {
    padding-top: 96px;
  }

  .claim h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .claim p {
    font-size: 17px;
  }

  .art,
  .experience {
    width: 100vw;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .experience-bar::after {
    content: none;
    display: none;
  }

  .experience-bar {
    min-height: 50px;
  }

  .cell-workspace .app-pane,
  .part-card,
  .flow-column,
  .flow-gate {
    flex-basis: 100vw;
  }

  .cell-workspace,
  .parts-workspace,
  .flow-workspace {
    min-height: 520px;
  }

  .triple {
    padding: 72px 20px 100px;
  }

  .triple > div {
    padding-block: 28px;
  }

  .term {
    padding-inline: 20px;
    border-radius: 0;
  }

  footer {
    padding-inline: 20px;
  }

  .experience-foot span:last-child {
    display: none;
  }
}

/*
 * Studio713 v8 — product diagrams, not illustrations.
 *
 * Finder is reserved for the literal owned-folder view. Every other depiction
 * is a code-native system map: flat geometry, exact labels, one-pixel routes,
 * and semantic state only. There are no decorative renders in this layer.
 */
.system-diagram {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  max-width: none;
  margin: clamp(38px, 6vh, 76px) auto 0;
  overflow: hidden;
  color: #f5f5f7;
  background: #090909;
  border: 1px solid #242424;
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Geist", sans-serif;
  text-align: left;
}

.system-diagram::before {
  content: "";
  position: absolute;
  inset: 45px 0 35px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.diagram-head,
.diagram-foot {
  position: relative;
  z-index: 4;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: #6f6f73;
  background: #0d0d0d;
  border-bottom: 1px solid #242424;
  font: 580 9px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.diagram-foot {
  min-height: 36px;
  border-top: 1px solid #242424;
  border-bottom: 0;
  font-size: 8px;
  letter-spacing: .07em;
}

.diagram-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a1a1a6;
}

.diagram-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f5f5f7;
}

.diagram-intro {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 34px 36px 28px;
}

.diagram-overline,
.stack-label,
.zone-label {
  display: block;
  color: #6e6e73;
  font: 620 8px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.diagram-intro h3 {
  margin: 8px 0 0;
  color: #f5f5f7;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 590;
  letter-spacing: -.035em;
}

.diagram-intro p {
  max-width: 390px;
  margin: 0;
  color: #77777c;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.map-node,
.part-node,
.device-core,
.parts-core,
.harness-core,
.local-model-node {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 14px 15px;
  color: #f5f5f7;
  background: #0e0e0e;
  border: 1px solid #303030;
  border-radius: 10px;
}

.map-node small,
.part-node small,
.device-core small,
.parts-core small,
.harness-core small,
.local-model-node small {
  display: block;
  color: #6e6e73;
  font: 600 8px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-node strong,
.part-node strong,
.device-core strong,
.parts-core strong,
.harness-core strong,
.local-model-node strong {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: inherit;
  font-size: 12px;
  font-weight: 590;
  letter-spacing: -.012em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-node code,
.device-core code,
.parts-core code,
.harness-core code,
.local-model-node code {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  padding: 0;
  color: #717176;
  background: transparent;
  border: 0;
  font: 500 8.5px/1.35 ui-monospace, "SF Mono", Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-node.compact { padding: 13px; }

.map-node.node-result,
.parts-core,
.harness-core,
.device-core {
  color: #090909;
  background: #f2f2f2;
  border-color: #f2f2f2;
}

.map-node.node-result small,
.map-node.node-result code,
.parts-core small,
.parts-core code,
.harness-core small,
.harness-core code,
.device-core small,
.device-core code {
  color: #5f5f63;
}

.map-node.node-attention {
  background: #14120f;
  border-color: #5a4930;
}

.map-node.node-attention small { color: #d0a154; }
.map-node.node-denied { color: #a1a1a6; border-style: dashed; }
.map-node.node-denied strong { color: #d1d1d4; }

/* Governed action graph. */
.action-path {
  position: relative;
  z-index: 2;
  padding: 0 36px 36px;
}

.path-legend,
.path-lane {
  display: grid;
  grid-template-columns: minmax(135px, 1fr) 58px minmax(135px, 1fr) 58px minmax(135px, 1fr) 58px minmax(135px, 1fr);
  align-items: center;
}

.path-legend {
  padding: 0 0 10px;
  color: #5f5f63;
  font: 580 8px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.path-legend i { height: 1px; }

.path-lane {
  min-height: 128px;
  padding: 17px 0;
  border-top: 1px solid #202020;
}

.map-link,
.device-edge,
.trust-link,
.topology-bus {
  position: relative;
  z-index: 1;
  height: 1px;
  display: block;
  background: #454545;
}

.map-link::after,
.device-edge::after,
.trust-link::after,
.topology-bus::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #777;
  border-right: 1px solid #777;
  transform: rotate(45deg);
}

.map-link b,
.device-edge b,
.trust-link b,
.topology-bus b {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 3px 5px;
  color: #626267;
  background: #090909;
  font: 560 7px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* Device topology. */
.device-map {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 110px minmax(210px, .85fr) 110px minmax(170px, 1fr);
  grid-template-rows: repeat(2, minmax(120px, 1fr));
  align-items: center;
  padding: 30px 48px 50px;
}

.device-printer { grid-area: 1 / 1; }
.edge-printer { grid-area: 1 / 2; }
.device-scanner { grid-area: 2 / 1; }
.edge-scanner { grid-area: 2 / 2; }
.device-core { grid-area: 1 / 3 / 3 / 4; align-self: center; padding: 27px 22px; text-align: center; }
.edge-scale { grid-area: 1 / 4; }
.device-scale { grid-area: 1 / 5; }
.edge-sensor { grid-area: 2 / 4; }
.device-sensor { grid-area: 2 / 5; }

.device-core strong { margin-top: 9px; font-size: 26px; letter-spacing: -.045em; }
.device-core span { display: block; margin-top: 8px; color: #3f3f43; font-size: 9px; }

.device-node > span {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  color: #a1a1a6;
  border-top: 1px solid #282828;
  font: 600 8px/1 ui-monospace, "SF Mono", Menlo, monospace;
  text-transform: uppercase;
}

.device-node > span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: #f5f5f7;
  vertical-align: 1px;
}

/* Four-part harness map. */
.parts-map {
  position: relative;
  z-index: 2;
  min-height: 570px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 175px 190px 175px;
  align-items: center;
  gap: 0 54px;
  padding: 0 54px 30px;
}

.parts-cross {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.parts-cross::before,
.parts-cross::after {
  content: "";
  position: absolute;
  background: #3b3b3d;
}

.parts-cross::before { left: 16%; right: 16%; top: 48%; height: 1px; }
.parts-cross::after { top: 10%; bottom: 12%; left: 50%; width: 1px; }

.part-node {
  width: min(280px, 100%);
  justify-self: center;
  padding: 16px;
}

.part-node ul {
  display: grid;
  gap: 6px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.part-node li {
  overflow: hidden;
  color: #747479;
  font: 500 8.5px/1.3 ui-monospace, "SF Mono", Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.part-node li::before { content: "—"; margin-right: 7px; color: #3f3f43; }
.part-records { grid-area: 1 / 2; }
.part-actions { grid-area: 2 / 1; }
.parts-core { grid-area: 2 / 2; width: min(230px, 100%); justify-self: center; padding: 28px 20px; text-align: center; }
.part-rules { grid-area: 2 / 3; }
.part-views { grid-area: 3 / 2; }
.parts-core strong { margin-top: 8px; font-size: 20px; letter-spacing: -.035em; }

/* Data boundary comparison. */
.trust-grid,
.security-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #202020;
}

.trust-case,
.security-case {
  min-width: 0;
  padding: 28px 30px 32px;
}

.trust-case + .trust-case,
.security-case + .security-case { border-left: 1px solid #242424; }

.trust-case > header,
.security-case > header { min-height: 54px; }

.trust-case > header span,
.security-case > header span {
  display: block;
  color: #68686d;
  font: 600 8px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.trust-case > header strong,
.security-case > header strong {
  display: block;
  margin-top: 7px;
  color: #e6e6e8;
  font-size: 14px;
  font-weight: 570;
}

.trust-route {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 58px 54px 58px minmax(110px, 1fr);
  align-items: center;
  padding: 12px 0;
}

.network-node {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #303033;
  border-radius: 50%;
  color: #77777c;
  background: #0d0d0d;
  font: 560 7px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.premises-box {
  position: relative;
  margin-top: 12px;
  padding: 28px 18px 18px;
  border: 1px solid #343434;
  border-radius: 12px;
  background: rgba(255, 255, 255, .012);
}

.premises-box > .zone-label {
  position: absolute;
  top: 9px;
  left: 12px;
}

.local-route {
  min-height: 90px;
  grid-template-columns: minmax(110px, 1fr) 66px minmax(110px, 1fr);
  padding: 10px 0 0;
}

.local-model-node {
  width: min(230px, 74%);
  margin: 22px auto 0;
  padding: 11px 13px;
  text-align: center;
}

.local-model-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -23px;
  width: 1px;
  height: 22px;
  background: #3b3b3d;
}

.local-model-node strong { font-size: 10px; }

.trust-facts,
.premises-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 0;
  border-top: 1px solid #242424;
  border-bottom: 1px solid #242424;
}

.trust-facts div,
.premises-metrics div {
  min-width: 0;
  padding: 12px 9px;
  border-right: 1px solid #242424;
}

.trust-facts div:last-child,
.premises-metrics div:last-child { border-right: 0; }

.trust-facts dt,
.premises-metrics dt {
  overflow: hidden;
  color: #616166;
  font: 560 7.5px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-facts dd,
.premises-metrics dd {
  overflow: hidden;
  margin: 6px 0 0;
  color: #d1d1d4;
  font: 600 9px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Enterprise topology. */
.premises-zone {
  position: relative;
  z-index: 2;
  margin: 0 36px 36px;
  border: 1px solid #343434;
  border-radius: 13px;
  background: rgba(255, 255, 255, .01);
}

.zone-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 15px;
  border-bottom: 1px solid #282828;
}

.zone-head span {
  color: #a1a1a6;
  font: 620 8px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.zone-head code {
  padding: 0;
  color: #626267;
  background: transparent;
  border: 0;
  font: 500 8px/1 ui-monospace, "SF Mono", Menlo, monospace;
}

.enterprise-topology {
  display: grid;
  grid-template-columns: minmax(175px, 1fr) 76px minmax(190px, .92fr) 76px minmax(175px, 1fr);
  align-items: center;
  padding: 38px 34px;
}

.endpoint-stack { min-width: 0; display: grid; gap: 8px; }
.stack-label { margin-bottom: 3px; }
.harness-stack { min-width: 0; }
.harness-core { padding: 25px 18px; text-align: center; }
.harness-core strong { margin-top: 9px; font-size: 23px; letter-spacing: -.04em; }
.harness-core span { display: block; margin-top: 7px; color: #444448; font-size: 9px; }

.harness-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 7px;
}

.harness-modules span {
  padding: 8px 3px;
  overflow: hidden;
  color: #76767b;
  background: #101010;
  border: 1px solid #2c2c2c;
  border-radius: 6px;
  font: 560 7px/1.1 ui-monospace, "SF Mono", Menlo, monospace;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premises-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-bottom: 0;
}

.premises-metrics div { padding: 14px 16px; }

/* Security topology. */
.security-lanes { display: grid; gap: 16px; padding-top: 18px; }
.security-lane { display: grid; grid-template-columns: minmax(110px, 1fr) 70px minmax(110px, 1fr); align-items: center; }
.security-boundary { margin-top: 18px; }
.security-route { min-height: 165px; display: grid; grid-template-columns: minmax(100px, 1fr) 48px minmax(100px, 1fr) 48px minmax(100px, 1fr); align-items: center; }

/* Product surfaces stay app-like, without fake browser chrome. */
.scene-ops {
  border-radius: 15px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.scene-ops .traffic { display: none; }
.scene-ops .experience-bar { min-height: 46px; background: #111; }
.scene-ops .experience-path { color: #a1a1a6; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 9px; letter-spacing: .04em; }
.scene-ops .ops-main { background: #0e0e0e; }
.scene-ops .ops-rail,
.scene-ops .ops-side { background: #111; }
.scene-ops .metric,
.scene-ops .ops-list,
.scene-ops .ops-note { background: transparent; border-color: #2b2b2b; }
.scene-ops .ops-row { border-color: #242424; }
.scene-ops .ops-action { border-radius: 6px; }

@media (max-width: 1020px) {
  .trust-grid,
  .security-grid { grid-template-columns: 1fr; }
  .trust-case + .trust-case,
  .security-case + .security-case { border-left: 0; border-top: 1px solid #242424; }
  .enterprise-topology { grid-template-columns: minmax(155px, 1fr) 54px minmax(180px, .9fr) 54px minmax(155px, 1fr); padding-inline: 24px; }
}

@media (max-width: 820px) {
  .device-map { grid-template-columns: minmax(145px, 1fr) 68px minmax(175px, .85fr) 68px minmax(145px, 1fr); padding-inline: 24px; }
  .parts-map { gap: 0 26px; padding-inline: 28px; }
  .enterprise-topology { grid-template-columns: 1fr; gap: 0; padding: 30px 20px; }
  .topology-bus { width: 1px; height: 34px; justify-self: center; }
  .topology-bus::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .topology-bus b { left: 50%; top: 50%; }
  .harness-stack { width: min(360px, 100%); justify-self: center; }
}

@media (max-width: 760px) {
  .system-diagram {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .diagram-head,
  .diagram-foot { padding-inline: 16px; }
  .diagram-head { min-height: 46px; }
  .diagram-state { font-size: 8px; }
  .diagram-intro { display: block; padding: 26px 20px 20px; }
  .diagram-intro h3 { font-size: 24px; line-height: 1.08; }
  .diagram-intro p { margin-top: 10px; max-width: 320px; font-size: 11px; text-align: left; }

  .action-path { padding: 0 20px 26px; }
  .path-legend { display: none; }
  .path-lane { grid-template-columns: 1fr; min-height: 0; padding: 24px 0; }
  .path-lane .map-node { width: 100%; }
  .map-link,
  .device-edge,
  .trust-link,
  .topology-bus { width: 1px; height: 28px; justify-self: center; }
  .map-link::after,
  .device-edge::after,
  .trust-link::after,
  .topology-bus::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .map-link b,
  .device-edge b,
  .trust-link b,
  .topology-bus b { left: 50%; top: 50%; }

  .device-map {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 28px;
  }

  .device-core { order: -10; width: 100%; margin-bottom: 22px; }
  .device-node { width: 100%; }
  .device-printer { order: 1; }
  .edge-printer { order: 0; }
  .device-scanner { order: 3; }
  .edge-scanner { order: 2; }
  .device-scale { order: 5; }
  .edge-scale { order: 4; }
  .device-sensor { order: 7; }
  .edge-sensor { order: 6; }

  .parts-map {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px 28px;
  }

  .parts-cross { display: none; }
  .parts-core { order: -1; width: 100%; }
  .part-node { width: 100%; }
  .part-node + .part-node::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -15px;
    width: 1px;
    height: 14px;
    background: #3b3b3d;
  }

  .trust-case,
  .security-case { padding: 24px 20px 28px; }
  .trust-route,
  .local-route,
  .security-lane,
  .security-route {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 20px;
  }

  .network-node { margin: 0 auto; }
  .premises-box { padding: 30px 14px 16px; }
  .local-model-node { width: 100%; margin-top: 28px; }
  .trust-facts { grid-template-columns: 1fr; }
  .trust-facts div { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-right: 0; border-bottom: 1px solid #242424; }
  .trust-facts div:last-child { border-bottom: 0; }
  .trust-facts dd { margin: 0; }

  .premises-zone { margin: 0 0 28px; border-right: 0; border-left: 0; border-radius: 0; }
  .zone-head { padding-inline: 20px; }
  .zone-head code { display: none; }
  .enterprise-topology { padding-inline: 20px; }
  .endpoint-stack,
  .harness-stack { width: 100%; }
  .premises-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premises-metrics div:nth-child(2) { border-right: 0; }
  .premises-metrics div:nth-child(-n+2) { border-bottom: 1px solid #242424; }
  .security-lanes { padding-top: 4px; }
  .security-lane + .security-lane { margin-top: 12px; padding-top: 24px; border-top: 1px solid #242424; }
}

@media (max-width: 420px) {
  .diagram-id { max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .map-node strong,
  .part-node strong { font-size: 13px; }
  .premises-metrics div { padding-inline: 12px; }
}

/* v10 — sparse, site-native node graphs. */
.product-visual {
  position: relative;
  width: min(1440px, 100%);
  max-width: none;
  margin: clamp(56px, 9vh, 112px) auto 0;
  overflow: hidden;
  color: #f5f5f7;
  background: #000;
  text-align: center;
}

.product-visual figcaption {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: clamp(36px, 6vw, 88px);
}

.product-kicker {
  display: block;
  color: #a1a1a6;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-visual h2 {
  margin: 18px 0 0;
  color: #f5f5f7;
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 610;
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.product-visual p {
  max-width: 620px;
  margin: 22px auto 0;
  color: #b8b8bd;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 430;
  line-height: 1.45;
  letter-spacing: -.015em;
}


/* The node-graph illustrations are inline SVG: edges terminate on node
   boundaries and each figure ships a portrait variant so phone rendering
   never relies on scaling the desktop drawing down. */
.graph-art {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 48px));
  margin: clamp(40px, 6vw, 76px) auto clamp(64px, 8vw, 108px);
}

.graph-art svg { display: block; width: 100%; height: auto; }
.graph-art .ga-m { display: none; }

.graph-art--devices { width: min(600px, calc(100% - 48px)); }
.graph-art--yours,
.graph-art--enterprise { width: min(640px, calc(100% - 48px)); }

@media (max-width: 760px) {
  .product-visual {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .product-visual figcaption {
    width: 100%;
    padding: 36px 20px 0;
  }

  .product-kicker { font-size: 10px; }

  .product-visual h2 {
    margin-top: 14px;
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1;
  }

  .product-visual p {
    max-width: 340px;
    margin-top: 16px;
    font-size: 17px;
  }

  .graph-art,
  .graph-art--devices,
  .graph-art--yours,
  .graph-art--enterprise {
    width: min(408px, calc(100% - 32px));
    margin: 34px auto 54px;
  }

  .graph-art .ga-d { display: none; }
  .graph-art .ga-m { display: block; }
}
