:root {
  --ink: #0B2545;
  --accent: #A0561F;
  --tint: #F4F6F9;
  --bg: #ffffff;
  --muted: #555555;
  --small: #6b6b6b;
  --rule: #e5e5e5;
  --deep: #071a30;
  --mist: #c9d2dc;
  --wrap: 72rem;
  --pad: max(1.25rem, calc((100% - var(--wrap)) / 2));
  --band: clamp(3.5rem, 8vw, 7rem);
  --r: 0.75rem;
}

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

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

body {
  margin: 0;
  background: var(--tint);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

/* ---- floating pill header ---- */
header {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  width: min(calc(100% - 1.5rem), 68rem);
  margin: 0.75rem auto 0;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 8px 28px rgba(11, 37, 69, 0.08);
}

.brand {
  display: inline-block;
  line-height: 0;
}

.brand img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 100%;
}

@media (min-width: 60rem) {
  .brand img {
    height: 3rem;
  }
}

@media (max-width: 23rem) {
  header .btn-cta {
    padding: 0.5rem 0.85rem;
  }
}

header .btn-cta {
  margin-left: auto;
}

header nav {
  flex: 1 1 100%;
  order: 3;
  min-width: 0;
}

header nav ul {
  gap: 0 0.25rem;
  margin: 0 0 0 -0.5rem;
}

header nav a {
  display: block;
  padding: 0.3rem 0.5rem;
  font-size: 0.9375rem;
  white-space: nowrap;
  text-decoration: none;
}

header nav a:hover {
  text-decoration: underline;
}

header nav a[aria-current="page"] {
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

@media (min-width: 60rem) {
  header {
    flex-wrap: nowrap;
    border-radius: 999px;
    padding-left: 1.5rem;
  }

  header nav {
    order: 0;
    flex: 1 1 auto;
  }

  header nav ul {
    flex-wrap: nowrap;
    justify-content: center;
    margin: 0;
  }

  header nav a {
    padding: 0.3rem 0.6rem;
  }

  header .btn-cta {
    margin-left: 0;
    order: 1;
  }
}

/* ---- layout: full-width bands with a 72rem content column ---- */
main {
  padding: 0;
}

main > * {
  margin: 0;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.hero {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: var(--band);
  background: var(--tint);
}

.hero > :last-child {
  margin-bottom: 0;
}

main section {
  padding-top: var(--band);
  padding-bottom: calc(var(--band) - 1rem);
  background: var(--bg);
}

main section:nth-of-type(even) {
  background: var(--tint);
}

main > p {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background: var(--bg);
}

main section > *,
.hero > * {
  max-width: 62ch;
}

main section > .table-wrap,
.hero > h1 {
  max-width: none;
}

/* docs and about: one centred reading column, heading above the content */
main.stack {
  --pad: max(1.25rem, calc((100% - 50rem) / 2));
}

/* wide screens: section heading on the left (sticky), content on the right */
@media (min-width: 60rem) {
  main:not(.stack) section:not(.dark) {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }

  main:not(.stack) section:not(.dark) > * {
    grid-column: 2;
  }

  main:not(.stack) section:not(.dark) > h2 {
    grid-column: 1;
    grid-row: 1 / span 99;
    position: sticky;
    top: 7rem;
  }

  main:not(.stack) section:not(.dark) > h2 + * {
    margin-top: 0.4rem;
  }
}

footer {
  padding: 3.5rem var(--pad) 2.5rem;
  border-top: 1px solid var(--rule);
  background: var(--tint);
  color: var(--small);
}

/* ---- text ---- */
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover,
a:visited {
  color: var(--accent);
}

nav a,
nav a:hover,
nav a:visited {
  color: var(--ink);
}

a[aria-current="page"] {
  font-weight: 600;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 30;
  padding: 0.5rem 1rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.skip:focus {
  left: 0;
}

.btn-cta,
.btn-cta:hover,
.btn-cta:visited {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.btn-line,
.btn-line:hover,
.btn-line:visited {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.btn-cta:hover,
.btn-line:hover {
  text-decoration: underline;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  margin: 0;
}

h1 {
  margin: 0 0 1.5rem;
  max-width: 18ch;
  font-size: clamp(2.25rem, 6.2vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 2px;
  background: var(--accent);
}

.dim {
  color: var(--small);
}

.hero-split h1 {
  hyphens: none;
}

.hero-split h1 .dim {
  display: block;
  margin-top: 0.45em;
  font-size: max(1rem, 0.42em);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 {
  margin: 2rem 0 0.375rem;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 650;
}

p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.625rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.6;
}

.note,
.small {
  color: var(--small);
  font-size: 0.9375rem;
}

dt {
  font-weight: 600;
  margin-top: 1.25rem;
}

dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}

[hidden] {
  display: none !important;
}

/* ---- home hero ---- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.preview {
  max-width: 22rem;
  margin: 3rem auto 0;
}

.preview a {
  display: block;
  border-radius: 50%;
}

.coils {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.coils .ring {
  transform-box: view-box;
  transform-origin: 200px 200px;
  animation: coil-spin 60s linear infinite;
}

.coils .r2 {
  animation-duration: 80s;
  animation-direction: reverse;
}

.coils .r3 {
  animation-duration: 100s;
}

.coils .r4 {
  animation-duration: 120s;
  animation-direction: reverse;
}

@keyframes coil-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coils .ring {
    animation: none;
  }
}

@media (min-width: 60rem) {
  .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
  }

  .hero-split > * {
    grid-column: 1;
  }

  .hero-split > .preview {
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-self: center;
    width: 100%;
    max-width: 28rem;
    margin: 0;
  }

  .hero-split h1 {
    max-width: none;
    font-size: clamp(2.5rem, 4.4vw, 3.5rem);
  }
}

/* ---- footer ---- */
.fcols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  margin: 0 0 2rem;
}

@media (min-width: 30rem) {
  .fcols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .fcols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fhead {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.fcols ul {
  display: block;
  font-size: 0.9375rem;
}

.fcols li {
  margin: 0 0 0.375rem;
}

.copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}

/* ---- product ---- */
.stage {
  display: inline-block;
  margin: 0 0 2.5rem;
  padding: 0.25rem 0.875rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg);
  color: var(--small);
  font-size: 0.9375rem;
}

.table-wrap {
  max-width: 100%;
  margin: 0 0 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--bg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

th,
td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

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

th {
  font-weight: 600;
  background: var(--tint);
}

td {
  color: var(--muted);
}

td:first-child {
  color: var(--ink);
}

@media (max-width: 30rem) {
  table {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  th,
  td {
    padding: 0.5rem;
  }
}

/* ---- dark concept band ---- */
main section.dark {
  padding-top: var(--band);
  padding-bottom: var(--band);
  background:
    radial-gradient(ellipse 55% 45% at 50% 55%, rgba(160, 86, 31, 0.16), rgba(160, 86, 31, 0) 70%),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(11, 37, 69, 0.9), rgba(11, 37, 69, 0) 75%),
    var(--deep);
  color: #ffffff;
  text-align: center;
}

main section.dark > * {
  max-width: none;
}

.dark h2::after {
  margin-left: auto;
  margin-right: auto;
}

.dark .note,
.dark .dim,
.dark figcaption {
  color: var(--mist);
}

main section.dark > .note {
  max-width: 62ch;
  margin: 1.5rem auto 0;
}

.v3d {
  margin: 0 auto 1rem;
  max-width: 68.75rem;
}

.v3d-frame {
  position: relative;
  border: 1px solid rgba(201, 210, 220, 0.3);
  border-radius: 1.25rem;
  background: rgba(11, 37, 69, 0.45);
  overflow: hidden;
}

.v3d-svg,
.v3d-cv {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
}

.v3d-cv {
  touch-action: pan-y;
  cursor: grab;
}

.v3d figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}

.btn,
.chip {
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #ffffff;
  background: transparent;
  border: 1px solid var(--mist);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
}

.chip {
  padding: 0.35rem 0.9rem;
  border-color: rgba(201, 210, 220, 0.55);
  color: var(--mist);
}

.btn:hover,
.chip:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.btn[aria-pressed="true"],
.chip[aria-pressed="true"] {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.v3d-ctrls {
  max-width: 68.75rem;
  margin: 0 auto;
}

.v3d-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.v3d-cap {
  color: var(--mist);
}

.v3d-ctrls > p:last-child {
  min-height: 1.6em;
  margin: 0;
  color: var(--mist);
  font-size: 0.875rem;
}

.v3d-ctrls .note {
  margin-left: 0.75rem;
  font-size: inherit;
}

/* captions: a plain list on phones and with reduced motion */
.v3d-steps {
  margin: 0;
  padding: 1.25rem 1.25rem 0.5rem;
  border-top: 1px solid rgba(201, 210, 220, 0.2);
  list-style: none;
  text-align: left;
}

.v3d-steps li {
  margin: 0 0 0.75rem;
  color: var(--mist);
}

.v3d-steps strong {
  display: block;
  color: #ffffff;
  font-size: 1.25rem;
}

/* ---- scroll-driven stage: class added by the script on wide screens without reduced motion ---- */
.v3d-stage.is-scroll {
  height: 220vh;
  height: 220svh;
}

.is-scroll .v3d-pin {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  padding-top: 5.75rem;
}

.is-scroll .v3d {
  width: min(100%, 68.75rem, calc((100vh - 15rem) * 1.6));
  width: min(100%, 68.75rem, calc((100svh - 15rem) * 1.6));
  margin-bottom: 0.75rem;
}

.is-scroll .v3d figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.is-scroll .v3d-row {
  margin-bottom: 0.375rem;
}

.is-scroll .v3d-steps {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.is-scroll .v3d-steps li {
  position: absolute;
  left: clamp(1.5rem, 4.5%, 3.5rem);
  top: 50%;
  width: 34%;
  margin: 0;
  opacity: 0;
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  line-height: 1.5;
  transform: translateY(-50%);
}

.is-scroll .v3d-steps strong {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* narrow stage: captions sit low in the frame, under the model */
.is-narrow .v3d-steps li {
  top: auto;
  right: 1.5rem;
  bottom: 1.25rem;
  left: 1.5rem;
  width: auto;
}

.is-narrow .v3d-steps strong {
  display: inline;
  margin: 0 0.5rem 0 0;
  font-size: 1.5rem;
}

.cue {
  margin: 0;
  color: var(--small);
  font-size: 0.9375rem;
}

.v3d-more {
  min-height: 2.5rem;
  margin: 0 0 0.5rem;
}

.cta {
  border-top: 1px solid var(--rule);
  font-weight: 600;
}

/* --- merged from Builder B (_b-product.css) --- */
/* ---- Builder B staging (merge after the product rules in style.css) ---- */
/* narrow scroll stage: captions stack below the canvas, crossfading in one cell */
.is-narrow .v3d {
  width: min(100%, 68.75rem, calc((100vh - 20rem) * 1.6));
  width: min(100%, 68.75rem, calc((100svh - 20rem) * 1.6));
}

.is-narrow .v3d-steps {
  position: relative;
  inset: auto;
  display: grid;
  padding: 1rem 1.5rem 1.125rem;
  border-top: 1px solid rgba(201, 210, 220, 0.2);
}

.is-narrow .v3d-steps li {
  position: static;
  grid-area: 1 / 1;
  width: auto;
  font-size: 0.9375rem;
}

.is-narrow .v3d-steps strong {
  display: inline;
  margin: 0 0.5rem 0 0;
  font-size: 1.375rem;
}

/* the expand button reads as a toggle once the controls are open */
.v3d-more .btn[aria-expanded="true"] {
  border-color: #ffffff;
}

/* scroll mode with the controls open: smaller frame so the control bar fits inside the pinned view */
.is-scroll.is-exp .v3d {
  width: min(100%, 68.75rem, calc((100vh - 22rem) * 1.6));
  width: min(100%, 68.75rem, calc((100svh - 22rem) * 1.6));
}

.is-narrow.is-exp .v3d-steps {
  display: none;
}

/* --- merged from Builder S (_s.css) --- */
/* ---- Builder S staging (software page + shared status components); merge after the product rules ---- */

/* status pills */
.pill {
  display: inline-block;
  padding: 0.1rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: baseline;
}

.pill-rel {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.pill-no {
  border-color: var(--ink);
  background: var(--bg);
  color: var(--ink);
}

.pill-tbd {
  border: 1px dashed var(--small);
  background: var(--bg);
  color: var(--small);
}

/* copper: only on white or tint surfaces, never on navy */
.pill-target {
  border-color: var(--accent);
  background: var(--bg);
  color: var(--accent);
}

/* spec / status tables: row headers in the first column, pill in the last */
.spec th[scope="row"] {
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
}

.spec tbody tr:last-child th {
  border-bottom: 0;
}

.spec td:last-child {
  color: var(--muted);
}

.spec td:last-child .pill {
  border-radius: 0.8rem;
  white-space: normal;
}

/* card grid */
main section > .cards {
  max-width: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 1.125rem 1.25rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--bg);
}

.card h3,
.card h4 {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 650;
}

.card h3 a,
.card h4 a {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.card p {
  margin: 0 0 0.875rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.card .pill {
  margin-top: auto;
}

/* group label above a card grid */
h3.group {
  margin: 1.75rem 0 0.625rem;
  color: var(--small);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* repository card: same frame, note text in the small grey */
.repo p {
  color: var(--small);
}

/* tools block with a command snippet */
.tools {
  margin: 0.5rem 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--bg);
  font-size: 0.9375rem;
}

.tools p {
  margin: 0 0 0.75rem;
}

.tools pre {
  margin: 0;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border-radius: calc(var(--r) - 0.25rem);
  background: var(--tint);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.6;
}

.tools code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* support aside */
.support {
  margin: 0 0 1.5rem;
  padding: 1.125rem 1.375rem;
  border-radius: var(--r);
  background: var(--tint);
}

.support p {
  margin: 0;
}

/* v8 QA fix: keep spec tables inside narrow screens */
@media (max-width: 400px) {
  .spec th, .spec td { padding-left: .4rem; padding-right: .4rem; }
  .spec .pill { white-space: normal; }
}

/* --- merged from Builder M (_m-menu.css) --- */

/* ---- small-screen menu (popover, no JavaScript) ---- */
.menu-btn {
  display: none;
}

@supports selector(:popover-open) {
  @media (max-width: 59.99rem) {
    .menu-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      min-width: 44px;
      min-height: 44px;
      margin: 0;
      padding: 0 0.9rem;
      border: 1px solid var(--ink);
      border-radius: 999px;
      background: var(--bg);
      color: var(--ink);
      font: inherit;
      font-size: 0.9375rem;
      font-weight: 600;
      line-height: 1;
      cursor: pointer;
    }

    .menu-btn::before {
      content: "";
      flex: none;
      width: 1rem;
      height: 0.75rem;
      background:
        linear-gradient(currentColor 0 0) top / 100% 2px no-repeat,
        linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
        linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat;
    }

    .menu-btn:hover {
      background: var(--tint);
    }

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

    #mnav:popover-open {
      position: fixed;
      top: 5.25rem;
      left: 0.75rem;
      right: 0.75rem;
      inset-block-end: auto;
      width: auto;
      height: auto;
      max-height: calc(100vh - 6rem);
      overflow: auto;
      margin: 0;
      padding: 0.5rem;
      border: 1px solid var(--rule);
      border-radius: var(--r);
      background: #ffffff;
      color: var(--ink);
      box-shadow: 0 8px 28px rgba(11, 37, 69, 0.08);
    }

    @media (max-width: 30.99rem) {
      .menu-btn {
        flex: 1 1 auto;
        justify-content: center;
      }

      #mnav:popover-open {
        top: 8rem;
        max-height: calc(100vh - 8.75rem);
      }
    }

    #mnav:popover-open ul {
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      gap: 0;
      margin: 0;
    }

    #mnav:popover-open a {
      display: block;
      min-height: 44px;
      line-height: 44px;
      padding: 0 1rem;
      font-size: 1rem;
      white-space: normal;
    }
  }
}

@media (min-width: 60rem) {
  header nav[popover] {
    display: block;
    position: static;
    inset: auto;
    margin: 0;
    border: 0;
    padding: 0;
    width: auto;
    height: auto;
    overflow: visible;
    background: none;
    color: inherit;
  }

  .menu-btn {
    display: none;
  }
}

/* --- merged from Builder F (_f-frames.css) --- */
/* ---- Builder F staging: phone flip film (merge after the product rules in style.css) ---- */
/* the frame canvas the script inserts on phones once concept-frames.webp has decoded */
.v3d-flip {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
}

/* keep the film a usable size on short (landscape) phone screens */
.is-flip .v3d {
  width: min(100%, 68.75rem, max(15rem, calc((100vh - 20rem) * 1.6)));
  width: min(100%, 68.75rem, max(15rem, calc((100svh - 20rem) * 1.6)));
}

.menu-btn { -webkit-tap-highlight-color: transparent; }

/* --- merged from Builder 1 (_p.css) --- */

/* ---- product page: hero spec line ---- */
.spec-line .pill {
  margin-right: 0.35rem;
  vertical-align: 0.1em;
}

/* ---- product page: in-page tabs (plain links, no JS) ---- */
.tabs {
  width: min(calc(100% - 1.5rem), 68rem);
  margin: 1.5rem auto;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 8px 28px rgba(11, 37, 69, 0.08);
  overflow: hidden;
}

.tabs ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  scrollbar-width: thin;
}

.tabs li {
  flex: 0 0 auto;
  margin: 0;
}

.tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  text-decoration: none;
}

.tabs a:hover,
.tabs a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

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

@media (min-width: 60rem) {
  .tabs {
    position: sticky;
    top: 5.5rem;
    z-index: 15;
  }

  main:not(.stack) .tabs ~ section:not(.dark) > h2 {
    top: 9.5rem;
  }

  .tabs ~ section > h2 {
    scroll-margin-top: 3rem;
  }
}

/* --- merged from Builder 2 (_h.css) --- */
/* --- Builder 2 staging (_h.css): GitHub placeholder, breadcrumbs, Home "Read next" strip --- */

/* ---- GitHub placeholder in the header (non-interactive) ---- */
.gh {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.8rem;
  border: 1px dashed var(--small);
  border-radius: 999px;
  color: var(--small);
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
  cursor: default;
}

.gh-i {
  flex: none;
  width: 18px;
  height: 18px;
}

.gh-s {
  font-size: 0.8125rem;
  font-weight: 300;
}

/* ---- docs hero: breadcrumb + GitHub placeholder on one line ---- */
.hero-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  max-width: none;
  margin-bottom: 1rem;
}

.hero-top .crumbs ol {
  margin: 0;
}

/* ---- breadcrumbs ---- */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--small);
}

.crumbs li {
  margin: 0;
}

.crumbs li + li::before {
  content: "/";
  content: "/" / "";
  margin-right: 0.5rem;
  color: #c9d2dc;
}

.crumbs a {
  color: var(--small);
}

.crumbs a[aria-current] {
  color: var(--ink);
  text-decoration: none;
}

/* ---- Home: "Read next" strip after the hero ---- */
#main section.next {
  display: block;
  padding-top: 2rem;
  padding-bottom: 0;
  background: var(--bg);
}

#main section.next > .cards {
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
}

.next .card > p:first-child {
  margin-bottom: 0.375rem;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.4;
}

.next .card > p:first-child a {
  color: #A0561F;
  text-decoration-color: #d98a4e;
}

.next .card > p:first-child a:hover {
  color: #7a4416;
}

.next .card > p + p {
  color: #56627a;
}

/* the strip is an extra section: keep the original white/tint banding of the sections after it */
main section.next ~ section:nth-of-type(odd) {
  background: var(--tint);
}

main section.next ~ section:nth-of-type(even) {
  background: var(--bg);
}

@media (min-width: 60rem) {
  .hero-split {
    padding-bottom: calc(var(--band) + 3rem);
  }

  #main section.next {
    position: relative;
    z-index: 1;
    margin-top: -3rem;
    padding-top: 0;
    /* top 3rem shows the hero tint behind the overlap; white below */
    background: linear-gradient(transparent 0 3rem, var(--bg) 3rem);
  }

  #main section.next > .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .next .card {
    border-color: var(--rule);
    box-shadow: 0 8px 28px rgba(11, 37, 69, 0.08);
  }
}

/* narrow phones: slightly tighter placeholder */
@media (max-width: 30.99rem) {
  .gh {
    gap: 0.3rem;
    padding: 0 0.6rem;
  }
}

/* desktop: keep the nav list from running under the logo or the CTA */
@media (min-width: 60rem) {
  header .brand,
  header .btn-cta {
    flex-shrink: 0;
  }
}

/* v11: the GitHub pill left the header, so 60-74.99rem gets the same spacing as wide screens */
@media (min-width: 60rem) and (max-width: 74.99rem) {
  header {
    column-gap: 0.75rem;
  }

  header nav ul {
    gap: 0 0.25rem;
  }

  header nav a {
    padding: 0.3rem 0.45rem;
  }
}

/* 60-67.99rem: logo at the phone height */
@media (min-width: 60rem) and (max-width: 67.99rem) {
  .brand img {
    height: 2.5rem;
  }
}

@media (min-width: 75rem) {
  /* header pill as wide as the 72rem content column, slightly tighter spacing */
  header {
    width: min(calc(100% - 1.5rem), var(--wrap));
    column-gap: 0.75rem;
  }

  header nav a {
    padding: 0.3rem 0.45rem;
  }
}

/* ---- v11: header Subscribe tooltip (pure CSS) ---- */
.btn-cta[data-tip] {
  position: relative;
}

.btn-cta[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 30;
}

.btn-cta[data-tip]:hover::after,
.btn-cta[data-tip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

/* narrow phones: the header is two rows (taller than html scroll-padding), so give the Subscribe target extra room */
@media (max-width: 30.99rem) {
  #updates {
    scroll-margin-top: 2rem;
  }
}

/* --- merged from Builder H (_h-nav.css) --- */
/* ---- v12 header: Product submenu (staging, Builder H; append to style.css) ---- */
.sub {
  display: none;
}

/* phone: the card sits indented under Product inside the popover menu */
@supports selector(:popover-open) {
  @media (max-width: 59.99rem) {
    #mnav:popover-open .sub {
      display: block;
      padding-left: 1rem;
    }

    /* grid, not flex: title and description are sibling spans, so the
       thumb spans both rows and the text stacks beside it */
    #mnav:popover-open a.sub-card {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr);
      align-content: center;
      align-items: center;
      column-gap: 0.75rem;
      min-height: 44px;
      line-height: normal;
      padding: 0.5rem 1rem;
      text-decoration: none;
    }

    #mnav:popover-open .sub-thumb {
      grid-row: 1 / span 2;
      width: 28px;
      height: 28px;
      color: var(--accent);
    }

    #mnav:popover-open .sub-t {
      display: block;
      font-weight: 650;
      font-size: 0.9375rem;
    }

    #mnav:popover-open .sub-d {
      display: block;
      font-size: 0.8125rem;
      color: #56627a;
    }

  }
}

/* desktop with a real pointer: hover/focus panel under Product */
@media (hover: hover) and (min-width: 60rem) {
  .has-sub {
    position: relative;
  }

  .sub {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    translate: -50% 0;
    padding-top: 1.1rem; /* transparent hover bridge: no gap between link and card */
    visibility: hidden;
    opacity: 0;
    z-index: 25;
    transition: none;
  }

  .has-sub:hover .sub,
  .has-sub:focus-within .sub {
    visibility: visible;
    opacity: 1;
  }

  /* grid, not flex: thumb spans both rows, title over description */
  header nav a.sub-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 0.75rem;
    align-items: center;
    width: 20rem;
    padding: 0.9rem 1rem;
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: var(--r);
    box-shadow: 0 8px 28px rgba(11, 37, 69, 0.08);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.35;
    white-space: normal;
    text-decoration: none;
  }

  header nav a.sub-card:hover {
    text-decoration: none;
  }

  .sub-thumb {
    grid-row: 1 / span 2;
    color: var(--accent);
  }

  .sub-t {
    display: block;
    font-weight: 650;
  }

  .sub-d {
    display: block;
    font-size: 0.875rem;
    color: #56627a;
  }

  .sub-card:hover .sub-t {
    color: var(--accent);
  }
}

/* --- merged from Builder P (_p-3d.css) --- */
/* ---- Builder P staging: 3D hover tooltip (merge after the product rules in style.css) ---- */
/* the part name shown next to the mouse over the 3D model; positioned by the script */
.v3d-tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.8125rem;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}

.v3d-tip[hidden] {
  display: none;
}

/* coordinator: wider dropdown card so the title fits one line on desktop */
@media (hover:hover) and (min-width:60rem){ header nav a.sub-card{ width:24rem } }
