:root {
  color-scheme: light;
  --paper: #ffffff;
  --wash: #f5f5f7;
  --panel: #ffffff;
  --code: #fafafb;
  --ink: #1d1d1f;
  --muted: #626269;
  --line: #dedee3;
  --accent: #bf481b;
  --link: #0066cc;
  --success: #347247;
  --key: #963779;
  --type: #255e96;
  --string: #a54729;
  --comment: #647080;
  --shadow: 0 18px 55px #1d1d1f09;
  --image-shadow: 0 20px 30px #18253816;
  --body:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --mono:
    ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono",
    monospace;
  --page: 1120px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111113;
  --wash: #1b1b1f;
  --panel: #202024;
  --code: #18181c;
  --ink: #f5f5f7;
  --muted: #adadb5;
  --line: #36363d;
  --accent: #ff996b;
  --link: #8bbdff;
  --success: #92d6a3;
  --key: #e4a5d1;
  --type: #a0caff;
  --string: #ffb394;
  --comment: #a0a7b5;
  --shadow: 0 18px 55px #00000026;
  --image-shadow: 0 20px 30px #00000035;
}
/* System appearance also works when JavaScript is unavailable. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #111113;
    --wash: #1b1b1f;
    --panel: #202024;
    --code: #18181c;
    --ink: #f5f5f7;
    --muted: #adadb5;
    --line: #36363d;
    --accent: #ff996b;
    --link: #8bbdff;
    --success: #92d6a3;
    --key: #e4a5d1;
    --type: #a0caff;
    --string: #ffb394;
    --comment: #a0a7b5;
    --shadow: 0 18px 55px #00000026;
    --image-shadow: 0 20px 30px #00000035;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
select {
  font: inherit;
  color: inherit;
}
a,
button,
select,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--link);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 4px;
  border-radius: 4px;
}
pre:focus-visible,
.reference-table-wrap:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: -3px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  display: block;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-wrap: balance;
}
h2 {
  font-size: clamp(38px, calc(2.4vw + 25px), 56px);
}
h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.022em;
}
p {
  color: var(--muted);
}
code {
  font-family: var(--mono);
  font-size: 0.86em;
}
p code,
dd code {
  color: var(--ink);
}
pre {
  margin: 0;
  overflow-x: auto;
  tab-size: 4;
  font: 13px/1.8 var(--mono);
  overscroll-behavior-x: contain;
}
pre code {
  font: inherit;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--page), calc(100% - 64px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  top: 8px;
}
/* Product identity and source belong with the introduction. */
.brand-mark {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.github-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.github-mark {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
/* The hero introduces Triple and demonstrates a build. */
.hero {
  padding-block: 72px 70px;
}
.hero-copy {
  text-align: center;
}
.hero h1 {
  font-size: clamp(40px, calc(4.5vw + 14px), 78px);
  margin: 0 0 22px;
}
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22em;
}
.hero-description {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  max-width: 680px;
  margin: auto;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 27px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  transition: opacity 0.18s;
}
.button.primary {
  background: var(--ink);
  color: var(--paper);
}
.button.primary:hover {
  opacity: 0.82;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 400;
  color: var(--link);
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.requirements {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 20px;
}
.requirements span {
  padding-inline: 7px;
}
.hero-visual {
  margin-top: 40px;
}
.build-sheet {
  width: min(820px, 100%);
  margin: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sheet-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 8px;
  background: var(--code);
  border-bottom: 1px solid var(--line);
}
.demo-field {
  flex: 0 1 160px;
  min-width: 0;
}
.demo-switches {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.demo-switch {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 28px;
  position: relative;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
.switch-track {
  flex-shrink: 0;
  width: 38.4px;
  height: 20px;
  border-radius: 20px;
  background: var(--muted);
  padding: 3px;
}
.switch-track::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform 150ms ease;
}
.demo-switch input:checked + .switch-track {
  background: var(--accent);
}
.demo-switch input:checked + .switch-track::after {
  transform: translateX(18.4px);
}
.demo-switch input:focus-visible + .switch-track {
  outline: 3px solid var(--link);
  outline-offset: 4px;
}
.target-control {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 7px;
  background: var(--wash);
}
.target-control button {
  flex: 1;
  min-height: 28px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 4px 8px;
  color: var(--muted);
  font: 500 12px/1.5 var(--body);
  white-space: nowrap;
}
.target-control button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 1px 4px #00000012;
}
.sheet-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
.hero-code {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 26px 30px;
}
.hero-code pre {
  width: 100%;
}
.binary-result {
  padding: 28px;
  background: var(--wash);
  border-left: 1px solid var(--line);
}
.binary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.binary-file {
  display: block;
  flex-shrink: 0;
  margin: 0 -9px 0 0;
  width: 69.12px;
  height: 69.12px;
  object-fit: contain;
}
.binary-name {
  font: 500 20px/1.3 var(--mono);
  letter-spacing: -0.035em;
  color: var(--ink);
}
.binary-result dl {
  font: 11px/1.6 var(--mono);
  margin: 16px 0;
}
.binary-result dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.binary-result dt {
  color: var(--muted);
}
.binary-result dd {
  margin: 0;
  text-align: right;
}
.binary-output {
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.binary-resources {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.export-note {
  border-top: 1px solid var(--line);
  padding: 10px 22px;
  font-size: 12px;
  background: var(--code);
}
.syn-key {
  color: var(--key);
}
.syn-type,
.syn-value {
  color: var(--type);
}
.syn-string {
  color: var(--string);
}
.syn-comment {
  color: var(--comment);
}
/* Shared section rhythm. Labels identify products without decorative symbols. */
.product-section {
  padding-block: 96px;
}
.library-section {
  padding-top: 44px;
}
.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 46px;
}
.section-heading h2 {
  font-size: clamp(34px, calc(2.4vw + 19px), 44px);
}
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-heading h2 span,
.product-intro h2 span {
  color: var(--muted);
}
.section-heading > p {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.65;
  padding-bottom: 3px;
}
.library-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 56px;
}
.library-layout > *,
.cli-guide > * {
  min-width: 0;
}
.install-guide h3,
.api-guide h3 {
  margin-bottom: 17px;
}
.install-intro > p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 21px;
}
.code-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--code);
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 44px;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 12px;
}
.copy-button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 5px 0 5px 7px;
  min-height: 28px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.copy-button:hover {
  color: var(--link);
}
.copy-button span {
  font-size: 16px;
  line-height: 1;
}
.code-card pre {
  padding: 20px;
}
.install-code pre {
  font-size: 12px;
  padding: 18px 16px;
}
.product-code {
  margin-top: 14px;
}
.small-note,
.install-guide p.small-note {
  font-size: 12px;
  line-height: 1.7;
  margin: 15px 0 20px;
}
.example-explanation {
  margin-top: 17px;
  font-size: 13px;
  line-height: 1.75;
}
.library-details {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.requirements-title {
  margin-block: 24px;
  font-size: 22px;
}
.reference-content > p {
  font-size: 14px;
}
.reference-table-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-block: 6px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
}
th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  padding-top: 0;
}
th:first-child {
  padding-left: 0;
}
tbody th {
  font-weight: 500;
  white-space: nowrap;
}
td {
  color: var(--muted);
}
td code,
th code {
  color: var(--ink);
  font-size: 12px;
}
td:last-child {
  white-space: nowrap;
}
.result-reference {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 18px;
  font-size: 14px;
}
.result-reference > code {
  color: var(--accent);
}
.result-reference span {
  color: var(--muted);
}
.reference-link {
  margin-top: 21px;
}
.requirements-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 60px;
  max-width: 1000px;
}
.requirements-guide h3 {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: -0.015em;
}
.requirements-guide p {
  font-size: 14px;
  line-height: 1.75;
}
/* CLI and app introductions share a centered product hierarchy. */
.cli-section {
  background: var(--wash);
}
.cli-section,
.app-section {
  padding-top: 57.6px;
}
.cli-showcase {
  max-width: 540px;
  margin-inline: auto;
}
.cli-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 17px 40px;
  margin-top: 40px;
}
.cli-step {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / 4;
}
.cli-step:first-child { grid-column: 1; }
.cli-step:nth-child(2) { grid-column: 2; }

.terminal-figure {
  margin: 0;
  overflow: hidden;
}
.terminal-figure img {
  width: 100%;
}
.terminal-figure figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--muted);
  text-align: center;
  justify-content: center;
  padding: 13px 18px;
  font-size: 11px;
  line-height: 1.6;
}
.terminal-figure figcaption a {
  color: #c8d9f0;
  white-space: nowrap;
}
.terminal-figure figcaption a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cli-guide h3 {
  font-size: 20px;
  margin: 0;
}

.cli-guide .code-card {
  background: var(--panel);
}
.cli-guide pre {
  font-size: 12px;
  padding: 17px;
}
.cli-guide .small-note {
  margin: 0;
}
.cli-reference {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cli-reference > h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.command-list {
  margin: 20px 0 0;
}
.command-list > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.5fr;
  gap: 30px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.command-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.command-list dt {
  font-size: 14px;
}
.command-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
/* Preserve the app's centered introduction and large screenshot. */
.product-intro {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}
.product-intro .section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.version-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.product-intro > p:not(.section-label) {
  max-width: 525px;
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.65;
}
.product-intro p.app-availability {
  font-size: 12px;
  margin-top: 18px;
}
.app-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
  margin-inline: auto;
  gap: 32px;
}
.app-scene {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 554px;
  margin: 0 auto;
}
.app-scene figcaption {
  width: 80%;
  margin-inline: auto;
}
.app-scene h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.app-scene p {
  font-size: 14px;
  line-height: 1.75;
}
.app-scene .image-link {
  margin-top: auto;
}
.app-scene img {
  width: 100%;
  height: auto;
}
@media (max-width: 1000px) {
  .app-story {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
/* Supporting controls remain small, but never faint or undersized. */
.image-link {
  display: block;
  position: relative;
  width: 100%;
  border-radius: inherit;
}
.image-link:focus-visible {
  outline-offset: 5px;
}
.zoom-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border: 1px solid #ffffff40;
  border-radius: 5px;
  background: #17202bea;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.18s;
}
.image-link:hover .zoom-label,
.image-link:focus-visible .zoom-label {
  opacity: 1;
}
.image-dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  max-width: min(1050px, 95vw);
  max-height: 92dvh;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 30px 100px #00000055;
}
.image-dialog::backdrop {
  background: #0a1021bf;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-dialog form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}
.image-dialog form button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 28px;
  padding: 5px 12px;
  background: var(--wash);
  color: var(--ink);
  font-size: 13px;
}
.image-dialog form button span {
  font-size: 20px;
  line-height: 1;
}
.image-dialog img {
  max-height: 74dvh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: auto;
  border-radius: 5px;
}
.image-dialog p {
  font-size: 12px;
  margin: 12px 4px 2px;
  max-width: 800px;
}
html.image-open {
  overflow: hidden;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.footer-about {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.footer-about .brand {
  font-size: 14px;
  color: var(--accent);
}
.footer-about p {
  font-size: 12px;
}
.footer-about p a {
  color: var(--ink);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-left: auto;
}
.appearance-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.appearance-control label {
  color: var(--muted);
}
.appearance-control select {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 6px;
  padding: 4px 18px 4px 4px;
  min-height: 28px;
  font-size: 12px;
  cursor: pointer;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  max-width: calc(100% - 32px);
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 20px #0002;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
@media (max-width: 1000px) {
  .section-heading {
    grid-template-columns: 0.85fr 1.2fr;
    gap: 32px;
  }
  .library-layout {
    grid-template-columns: 0.85fr 1.2fr;
    gap: 32px;
  }
  .code-card pre {
    padding: 17px;
    font-size: 12px;
  }
  .hero-code {
    padding: 24px;
  }
  .hero-code pre {
    font-size: 12px;
  }
  .binary-result {
    padding: 24px;
  }
  .cli-guide pre {
    font-size: 12px;
    padding: 16px;
  }
}
@media (max-width: 820px) {
  .container {
    width: calc(100% - 48px);
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 58px;
  }
  .hero-description {
    font-size: 19px;
  }
  .sheet-controls {
    gap: 16px;
    padding: 6px 8px;
  }
  .demo-switches {
    gap: 20px;
  }
  .sheet-body {
    grid-template-columns: 1.35fr 1fr;
  }
  .hero-code {
    padding: 23px 18px;
  }
  .hero-code pre {
    font-size: 11.5px;
  }
  .binary-result {
    padding: 23px 18px;
  }
  .binary-file {
    width: 56.16px;
    height: 56.16px;
    margin-right: -8px;
  }
  .binary-name {
    font-size: 18px;
  }
  .binary-result dl {
    font-size: 10px;
  }
  .product-section {
    padding-block: 72px;
  }
  .library-section {
    padding-top: 30px;
  }
  .cli-section,
  .app-section {
    padding-top: 43.2px;
  }
  .section-heading {
    gap: 32px;
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  .section-heading > p {
    font-size: 15px;
    line-height: 1.7;
  }
  .library-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .install-snippets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .install-guide > h3,
  .install-guide > p,
  .install-guide > a {
    grid-column: 1/-1;
  }
  .install-guide .product-code {
    margin-top: 0;
  }
  .code-card pre {
    font-size: 12px;
  }
  .cli-guide { column-gap: 24px; }
  .requirements-guide {
    gap: 25px 35px;
  }
  .product-intro > p:not(.section-label) {
    font-size: 16px;
  }
  .product-intro p.app-availability {
    font-size: 12px;
  }
  .app-story {
    gap: 24px;
  }
  .app-scene h3 {
    font-size: 18px;
  }
  .app-scene p {
    font-size: 13px;
  }
}
@media (max-width: 620px) {
  .container {
    width: calc(100% - 36px);
  }
  .hero {
    padding-block: 28px 48px;
  }
  .hero h1 {
    margin: 0 0 21px;
    letter-spacing: -0.043em;
  }
  .hero-description {
    font-size: 17px;
    line-height: 1.6;
    max-width: 350px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    gap: 22px;
    margin-top: 24px;
  }
  .hero-actions .text-link {
    font-size: 13px;
  }
  .button {
    padding-inline: 19px;
    font-size: 13px;
    gap: 12px;
  }
  .requirements {
    font-size: 11px;
    margin-top: 20px;
  }
  .requirements span {
    padding-inline: 4px;
  }
  .hero-visual {
    margin-top: 32px;
  }
  .build-sheet {
    border-radius: 13px;
  }
  .demo-switch {
    justify-content: flex-start;
    gap: 10px;
    font-size: 12px;
  }
  .target-control button {
    padding-inline: 6px;
  }
  .sheet-body {
    grid-template-columns: 1fr;
  }
  .hero-code {
    padding: 22px 17px;
  }
  .hero-code pre {
    font-size: 12px;
    line-height: 1.8;
  }
  .binary-result {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 17px;
  }
  .binary-name {
    font-size: 17px;
  }
  .binary-result dl {
    margin: 16px 0;
    font-size: 10px;
  }
  .binary-result dl > div {
    padding: 5px 0;
    gap: 8px;
  }
  .binary-output {
    margin-top: 12px;
  }
  .export-note {
    padding-inline: 15px;
  }
  .product-section {
    padding-block: 60px;
  }
  .library-section {
    padding-top: 26px;
  }
  .cli-section,
  .app-section {
    padding-top: 36px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 21px;
    margin-bottom: 30px;
  }
  .section-label {
    font-size: 13px;
    margin-bottom: 13px;
  }
  .section-heading > p {
    font-size: 16px;
    padding: 0;
    max-width: 420px;
  }
  h3 {
    font-size: 21px;
  }
  .install-snippets {
    display: block;
  }
  .install-guide .product-code {
    margin-top: 13px;
  }
  .install-intro > p {
    font-size: 15px;
  }
  .code-card pre,
  .install-code pre,
  .cli-guide pre {
    font-size: 12px;
    padding: 17px 15px;
  }
  .code-toolbar {
    padding-inline: 14px;
    font-size: 12px;
  }
  .small-note,
  .install-guide p.small-note {
    font-size: 12px;
  }
  .api-guide h3 {
    margin-bottom: 12px;
  }
      .example-explanation {
    font-size: 13px;
  }
  .library-details {
    margin-top: 32px;
  }
  table {
    min-width: 515px;
  }
  .reference-table-wrap {
    padding-bottom: 12px;
  }
  .result-reference {
    min-width: 515px;
    font-size: 13px;
  }
  .requirements-guide {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .requirements-guide h3 {
    font-size: 16px;
  }
  .requirements-guide p {
    font-size: 14px;
  }
  .terminal-figure {
    border-radius: 11px;
  }
  .terminal-figure figcaption {
    padding: 13px 15px;
    font-size: 11px;
  }
  .cli-guide {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 28px;
    margin-top: 30px;
  }
  .cli-step { display: block; grid-row: auto; }
  .cli-guide h3 { font-size: 21px; margin-bottom: 16px; }
  .cli-guide .small-note { margin-top: 15px; }
  .cli-reference {
    margin-top: 30px;
  }
  .command-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 17px;
  }
  .command-list dt {
    font-size: 14px;
  }
  .command-list dd {
    font-size: 13px;
  }
  .product-intro {
    margin-bottom: 30px;
  }
  .product-intro .section-label {
    flex-wrap: wrap;
    gap: 8px;
  }
  .product-intro > p:not(.section-label) {
    font-size: 16px;
    margin-top: 21px;
  }
  .product-intro p.app-availability {
    font-size: 11px;
    margin-top: 16px;
  }
  .app-scene h3 {
    font-size: 18px;
    margin-bottom: 7px;
  }
  .app-scene p {
    font-size: 14px;
    max-width: 410px;
  }
  .footer-links {
    margin-left: 0;
  }
  .appearance-control {
    margin-left: auto;
  }
  .zoom-label {
    font-size: 11px;
    padding: 5px 8px;
    right: 8px;
    bottom: 8px;
  }
}
@media (max-width: 700px) {
  .sheet-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 6px 8px;
  }
  .demo-switches {
    display: grid;
    grid-column: 1/-1;
    grid-template-columns: max-content max-content;
    justify-content: start;
    align-items: center;
    gap: 24px;
    margin-left: 0;
  }
  .demo-switch {
    width: max-content;
  }
  .demo-switch {
    font-size: 12px;
    min-height: 32px;
    gap: 6px;
  }
  .switch-track {
    width: 33.6px;
  }
  .demo-switch input:checked + .switch-track::after {
    transform: translateX(13.6px);
  }
}
@media (max-width: 359px) {
  .demo-switch {
    min-height: 32px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .button {
    padding-inline: 16px;
  }
  .binary-name {
    font-size: 15px;
  }
  .requirements {
    font-size: 11px;
  }
  .requirements span {
    padding-inline: 2px;
  }
  .target-control button {
    padding-inline: 4px;
    font-size: 11px;
  }
}
@media (hover: none) {
  .zoom-label {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  :root,
  :root:not([data-theme]),
  :root[data-theme] {
    color-scheme: light !important;
    --paper: #fff;
    --panel: #fff;
    --wash: #f5f5f7;
    --code: #fff;
    --ink: #111;
    --muted: #444;
    --line: #bbb;
    --accent: #9a3b16;
    --link: #004d99;
    --success: #347247;
    --key: #963779;
    --type: #255e96;
    --string: #a54729;
    --comment: #647080;
  }
  .hero-actions,
  .copy-button,
  .toast,
  .appearance-control,
  .zoom-label {
    display: none;
  }
  .container {
    width: 100%;
  }
  .hero {
    padding-top: 0;
  }
  .product-section {
    padding-block: 30px;
  }
  .code-card,
  .build-sheet {
    break-inside: avoid;
    box-shadow: none;
  }
  }

/* Keep copy actions in the snippet toolbar. */
.api-guide .code-toolbar {
  justify-content: flex-end;
}

/* Start with one build; disclose additional choices below it. */
.api-intro > p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 21px;
}
.api-guide .code-toolbar { justify-content: space-between; }

/* Use the contrasting icon appearance in each site theme. */
.brand-mark-light { display: none; }
:root[data-theme="dark"] .brand-mark-dark { display: none; }
:root[data-theme="dark"] .brand-mark-light { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand-mark-dark { display: none; }
  :root:not([data-theme]) .brand-mark-light { display: block; }
}

/* Examples follow one path from the default call to explicit control. */
.example-tabs {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  gap: 4px 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.example-tabs button {
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.example-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--ink);
}
.example-panel > p { font-size: 14px; line-height: 1.7; margin-bottom: 17px; }
.example-panel[hidden] { display: none; }
.cli-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cli-layout > * { min-width: 0; }
.cli-layout .cli-guide { grid-template-columns: 1fr; grid-template-rows: none; gap: 28px; margin: 0; }
.cli-layout .cli-step { display: block; grid-column: auto; grid-row: auto; }
.cli-layout h3 { margin-bottom: 16px; }
.cli-layout .small-note { margin-top: 15px; }
@media (max-width: 699px) {
  .cli-layout { grid-template-columns: 1fr; }
  .cli-layout .cli-showcase { order: 2; }
  .example-tabs { gap: 4px 16px; }
}
