@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/IBMPlexSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/IBMPlexSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/IBMPlexMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/IBMPlexMono-Medium.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --surface: #fcfbf8;
  --inset: #edede5;
  --ink: #22261f;
  --text: #50564c;
  --muted: #626b5d;
  --line: #dbddd2;
  --line-strong: #c3c8b9;
  --accent: #335e78;
  --highlight: #dfe6d6;
  --gutter: 56px;
  --nav-pad: 15px;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, pre, ul, ol, dl, dd, blockquote { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 500; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { display: block; flex: none; }
code, pre { font-family: var(--mono); }
/* Full-height editorial marks; padding paints beyond the text without changing its measure. */
.copy-highlight {
  color: var(--ink);
  background: var(--highlight);
  padding: .05em .10em;
  margin-inline: -.10em;
  border-radius: 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
::selection { color: var(--ink); background: #dce7e6; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.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: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.page { width: min(100% - 64px, 1248px); margin-inline: auto; }
.inset { padding-inline: var(--gutter); }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -.65px; white-space: nowrap; }
.brand img { width: 29px; height: 29px; }
/* Link padding forms the gap between items, so each tap target is wider than its text. */
.main-nav { display: flex; align-items: center; margin-right: calc(-1 * var(--nav-pad)); font: 400 12px/1.4 var(--mono); }
.main-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: var(--nav-pad); color: var(--text); }
.main-nav a::after { position: absolute; right: var(--nav-pad); bottom: 7px; left: var(--nav-pad); height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.external-arrow { font-size: 14px; }

.hero { padding-top: 72px; padding-bottom: 32px; }
h1 { max-width: 1100px; color: var(--ink); font-size: 46px; line-height: 1.2; letter-spacing: -.025em; text-wrap: pretty; }
h1 .no-wrap { white-space: nowrap; }
.hero-description { max-width: 860px; margin-top: 32px; font-size: 18px; line-height: 1.75; text-wrap: balance; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--surface); font: 500 14px/1.4 var(--sans); white-space: nowrap; transition: background 150ms, border-color 150ms; }
.button:hover { background: #3b4537; border-color: #3b4537; }
.button svg { width: 16px; height: 16px; transition: transform 150ms; }
.button:hover svg { transform: translate(1px,-1px); }
.install-options { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.install-actions { display: flex; flex: none; align-items: stretch; width: fit-content; max-width: 100%; }
.install-actions > .button { position: relative; z-index: 1; flex: none; border-radius: 3px 0 0 3px; }
.install-command { display: flex; align-items: stretch; min-width: 0; background: var(--surface); border: 1px solid var(--line-strong); border-left: 0; border-radius: 0 3px 3px 0; }
/* The command wraps only between tokens when space runs out; it never scrolls or clips. */
.install-command code { display: flex; flex: 1; align-items: baseline; align-self: center; min-width: 0; padding: 11px 18px; color: var(--text); font-size: 13px; line-height: 1.65; }
.install-command .command { min-width: 0; }
.install-command .token { white-space: nowrap; }
.install-command .dollar { flex: none; margin-right: 10px; color: var(--muted); user-select: none; }
.copy-button { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 48px; padding: 11px 14px; border: 0; border-left: 1px solid var(--line); border-radius: 0 2px 2px 0; background: transparent; color: var(--muted); font: 400 12px/1.4 var(--mono); transition: color 150ms, background 150ms; }
/* Both states share one grid cell: the button is as wide as "Copied" in either state. */
.copy-states { display: grid; }
.copy-state { display: inline-flex; grid-area: 1 / 1; align-items: center; justify-content: center; gap: 8px; }
.copy-state svg { width: 14px; height: 14px; }
.copy-state--done { visibility: hidden; }
.copy-button:hover { background: var(--inset); color: var(--ink); }
.copy-button[data-state="copied"] { color: var(--accent); }
.copy-button[data-state="copied"] .copy-state--idle { visibility: hidden; }
.copy-button[data-state="copied"] .copy-state--done { visibility: visible; }
.hero-demo { margin-top: 32px; margin-inline: calc(-1 * var(--gutter)); }
.hero-demo img { width: 100%; height: auto; }
.hero-demo video { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.demo-player { position: relative; }
.demo-player video { cursor: pointer; }
.demo-controls { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; width: min(420px, calc(100% - 32px)); padding: 5px; border-radius: 999px; background: rgba(22, 24, 21, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.demo-controls { opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.demo-player.controls-on .demo-controls, .demo-player.is-paused .demo-controls, .demo-player:focus-within .demo-controls { opacity: 1; pointer-events: auto; }
.demo-seek { --p: 0%; flex: 1; min-width: 0; height: 18px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.demo-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(to right, #f6f5f1 var(--p), rgba(255, 255, 255, .22) var(--p)); }
.demo-seek::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.demo-seek::-moz-range-progress { height: 4px; border-radius: 999px; background: #f6f5f1; }
.demo-seek::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: #f6f5f1; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); -webkit-appearance: none; appearance: none; }
.demo-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #f6f5f1; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.demo-seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 999px; }
.demo-time { flex: none; font: 400 12px/1 var(--mono); color: #c9ccc4; font-variant-numeric: tabular-nums; }
.demo-button { display: grid; flex: none; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px; color: #f6f5f1; background: transparent; cursor: pointer; transition: background .15s ease; }
.demo-button:hover { background: rgba(255, 255, 255, .12); }
.demo-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo-button .icon-play path { fill: currentColor; }
.demo-button .icon-play, .demo-button .icon-sound { display: none; }
.demo-button[aria-pressed="true"] .icon-play, .demo-button[aria-pressed="true"] .icon-sound { display: block; }
.demo-button[aria-pressed="true"] .icon-pause, .demo-button[aria-pressed="true"] .icon-muted { display: none; }
.chapters { display: flex; gap: 8px; margin: 16px var(--gutter) 0; overflow-x: auto; scrollbar-width: none; }
.chapters::-webkit-scrollbar { display: none; }
.chapter { --fill: 0%; position: relative; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 16px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--muted); font: 400 14px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.chapter::before { content: ""; position: absolute; inset: 0; width: var(--fill); background: var(--highlight); }
.chapter > span { position: relative; }
.chapter-num { font: 400 12px/1 var(--mono); letter-spacing: .04em; color: var(--muted); }
.chapter:hover { border-color: var(--ink); color: var(--ink); }
.chapter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chapter[aria-current="true"] { border-color: var(--ink); color: var(--ink); font-weight: 500; }
.chapter[aria-current="true"] .chapter-num { color: var(--ink); }
@media (max-width: 640px) { .chapters { margin-inline: 16px; } .chapter { flex: none; height: 36px; padding: 0 14px; font-size: 13px; } }
@media (max-width: 640px) { .demo-controls { right: 8px; bottom: 8px; width: calc(100% - 16px); gap: 6px; padding: 3px; } .demo-button { width: 30px; height: 30px; } .demo-button svg { width: 17px; height: 17px; } .demo-time { display: none; } }

.section { position: relative; padding-block: 80px; border-top: 1px solid var(--line); }
h2 { font-size: 32px; line-height: 1.25; letter-spacing: -.025em; }
.section-copy { max-width: 42ch; margin-top: 20px; font-size: 17px; line-height: 1.75; }
.feature-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); align-items: start; column-gap: 28px; padding-block: 64px; }
.feature-intro { min-width: 0; }
/* One eyebrow style for every section label, with a hairline before the counter or status. */
.feature-label, .product-label, .download-heading { color: var(--muted); font: 400 11px/1.5 var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.feature-label, .product-label { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.feature-number, .product-status { padding-left: 14px; border-left: 1px solid var(--line-strong); }
.feature-number { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.feature-definition { margin-top: 18px; color: var(--ink); font-size: 21px; line-height: 1.45; letter-spacing: -.01em; text-wrap: pretty; }
.feature-intro .section-copy { margin-top: 16px; max-width: none; line-height: 1.65; text-wrap: pretty; }
.feature-section--detailed { grid-template-areas: "intro figure" "details figure"; grid-template-rows: min-content 1fr; row-gap: 24px; }
.feature-section--detailed .feature-intro { grid-area: intro; }
.feature-section--detailed .concept-figure { grid-area: figure; }
.feature-details { grid-area: details; display: grid; min-width: 0; gap: 20px; }
.feature-detail h3 { font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.feature-detail p { margin-top: 6px; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.feature-detail .feature-note { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.text-link { text-decoration: underline; text-decoration-color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color 150ms, text-decoration-color 150ms; }
.text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.concept-figure { min-width: 0; }
.concept-figure picture { display: block; width: 100%; max-width: 590px; margin-inline: auto; }
.concept-figure img { width: 100%; height: auto; }

/* Balance the team diagram against the full text column in the two-column layout. */
@media (min-width: 1001px) {
  .team-section .concept-figure { align-self: center; }
}

/* Same columns as the feature sections, so the download list lines up with the diagrams above. */
.ide-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); align-items: start; column-gap: 28px; padding-block: 72px; background: var(--inset); }
.ide-intro { min-width: 0; }
.ide-section .section-copy { max-width: none; margin-top: 20px; line-height: 1.65; text-wrap: pretty; }
.release-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-top: 16px; color: var(--ink); font: 400 12px/1.4 var(--mono); }
.release-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.downloads { min-width: 0; }
.download-heading { margin-bottom: 12px; }
.download-link { display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 18px; min-height: 68px; border-top: 1px solid var(--line-strong); color: var(--ink); transition: padding 150ms, color 150ms; }
.download-link:last-child { border-bottom: 1px solid var(--line-strong); }
.download-name { font-size: 17px; font-weight: 500; letter-spacing: -.2px; }
.download-detail { color: var(--muted); font: 400 12px/1.5 var(--mono); }
.download-link > svg { width: 18px; height: 18px; color: var(--muted); transition: transform 150ms; }
.download-link:hover { color: var(--accent); }
.download-link:hover > svg { color: var(--accent); transform: translateY(2px); }

.site-footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 30px; border-top: 1px solid var(--line); }
.site-footer .brand { gap: 8px; font-size: 15px; letter-spacing: -.35px; }
.site-footer .brand img { width: 23px; height: 23px; }
.footer-end { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--text); font: 400 12px/1.4 var(--mono); }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright { color: var(--muted); font: 400 11px/1.4 var(--mono); }
.footer-notice { flex-basis: 100%; max-width: 960px; color: var(--muted); font-size: 12px; line-height: 1.65; text-wrap: pretty; }
.toast { position: fixed; z-index: 40; right: 24px; bottom: 24px; max-width: calc(100vw - 48px); padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink); background: var(--surface); box-shadow: 0 4px 20px #22261f12; font-size: 13px; }
.toast:empty { display: none; }

@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .page { width: calc(100% - 40px); }
  .hero { padding-top: 60px; }
  h1 { font-size: 44px; }
  .feature-section { column-gap: 24px; }
  .ide-section { column-gap: 24px; }
  .download-link { gap: 12px; }
}
/* Two columns only above 1000px, where the text column stays about 400px or wider. */
@media (max-width: 1000px) {
  .feature-section { grid-template-columns: minmax(0,1fr); row-gap: 24px; }
  .feature-section--detailed { grid-template-areas: "intro" "figure" "details"; grid-template-rows: auto; }
  .feature-intro, .feature-details, .ide-intro { max-width: 620px; }
  .feature-intro .section-copy { max-width: 58ch; }
  .concept-figure picture { margin-left: 0; }
  .ide-section { grid-template-columns: minmax(0,1fr); row-gap: 36px; }
  .downloads { width: 100%; max-width: 620px; }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .page { width: calc(100% - 32px); }
  .hero { padding-top: 48px; }
  h1 { font-size: 40px; }
  .hero-description { font-size: 17px; }
  .section { padding-block: 64px; }
  .feature-section { padding-block: 56px; }
  .footer-end { gap: 20px; }
}
@media (max-width: 560px) {
  :root { --gutter: 22px; --nav-pad: 12px; }
  html { scroll-padding-top: 80px; }
  .page { width: 100%; }
  .header-inner { min-height: 60px; gap: 12px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 27px; height: 27px; }
  .main-nav { font-size: 11px; }
  .hero { padding-top: 40px; padding-bottom: 24px; }
  h1 { font-size: clamp(32px, 6.6vw, 36px); line-height: 1.22; }
  .hero-description { margin-top: 28px; font-size: 16px; }
  .install-options { margin-top: 30px; }
  .install-actions { width: 100%; }
  .install-actions > .button { padding: 11px 12px; font-size: 13px; gap: 6px; }
  .install-actions > .button svg { width: 13px; height: 13px; }
  .install-command { flex: 1; }
  .install-command code { padding: 10px; font-size: 11px; line-height: 1.55; }
  .install-command .dollar { display: none; }
  .copy-button { padding: 10px 8px; font-size: 11px; }
  .copy-state { gap: 5px; }
  .copy-state svg { width: 12px; height: 12px; }
  .section { padding-block: 48px; }
  h2 { font-size: 28px; }
  .feature-definition { margin-top: 18px; font-size: 20px; }
  .feature-intro .section-copy { margin-top: 16px; font-size: 16px; }
  .feature-details { gap: 20px; }
  .concept-figure picture { max-width: 420px; }
  .ide-section .section-copy { font-size: 16px; }
  .download-link { min-height: 64px; }
  .download-detail { font-size: 11px; }
  .site-footer { padding-top: 24px; padding-bottom: 24px; gap: 14px; }
  .footer-end { width: 100%; justify-content: space-between; gap: 12px; }
  .footer-links { gap: 18px; font-size: 11px; }
}
/* Small phones: the header takes two rows, and the Install arrow gives its width to the
   command, which stays at 11px with whole tokens. */
@media (max-width: 389px) {
  html { scroll-padding-top: 108px; }
  .header-inner { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 14px; padding-bottom: 2px; }
  .main-nav { width: calc(100% + 2 * var(--nav-pad)); margin-left: calc(-1 * var(--nav-pad)); }
  .install-actions > .button { padding-inline: 10px; }
  .install-actions > .button svg { display: none; }
  .install-command code { padding: 8px 7px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.sprite { position: absolute; overflow: hidden; }
.not-found { padding-block: 120px 160px; }
.not-found-code { margin: 0; color: var(--muted); font: 400 14px/1 var(--mono); letter-spacing: .06em; }
.not-found h1 { margin: 18px 0 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.not-found-line { margin: 16px 0 32px; }
