@font-face {
  font-family: Manrope;
  src: url('fonts/Manrope.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --display: Manrope, 'Segoe UI', sans-serif;
  --elevation: 0 24px 64px -24px rgb(16 25 39 / .28);
}
body {
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.topbar {
  background: color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter: blur(18px) saturate(125%);
}
.wordmark {
  font-family: var(--display);
  font-weight: 750;
}
.top-actions a,.home-links a {
  transition: color .18s;
}
.icon-button {
  font-size: 14px;
  border-color: transparent;
}
.icon-button:hover {
  background: var(--hover);
}
.article h1,.article h2,.article h3 {
  font-family: var(--display);
  letter-spacing: -.025em;
}
.article h1 {
  font-weight: 700;
}
.article {
  line-height: 1.85;
}
.sidebar nav>a {
  border-radius: 8px;
  transition: background-color .18s,color .18s;
}
.sidebar nav>a[aria-current=page] {
  font-weight: 600;
}
.breadcrumbs {
  font-family: inherit;
  font-size: 14px;
}
/* The approved composition stays intact; light and material carry this refinement. */
body[data-page=home] {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 640px at 88% 0%,color-mix(in srgb,var(--accent) 11%,transparent),transparent 78%),
    linear-gradient(180deg,var(--bg),color-mix(in srgb,var(--bg) 65%,var(--selected)) 1100px,var(--bg) 1900px);
  background-repeat: no-repeat;
}
.home-content {
  max-width: 1440px;
  padding: 0 64px;
}
.hero {
  position: relative;
  isolation: isolate;
  padding-top: 64px;
}
.hero-intro {
  padding-bottom: 56px;
}
.hero h1 {
  font: 650 clamp(52px,6.5vw,92px)/1.04 var(--display);
  letter-spacing: -.04em;
  color: var(--bright);
  margin: 0;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy {
  padding-bottom: 4px;
}
.hero-copy>p:not(.hero-summary) {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 48ch;
  margin: 14px 0 26px;
}
.hero-summary {
  font: 600 28px/1.25 var(--display);
  letter-spacing: -.025em;
  color: var(--bright);
  margin: 0;
}
.button svg,.guide-path svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button {
  box-shadow: inset 0 1px 0 #ffffff35,0 3px 8px -3px color-mix(in srgb,var(--primary) 45%,transparent);
  transition: background-color .18s,box-shadow .18s,translate .18s;
}
.button:hover {
  box-shadow: inset 0 1px 0 #ffffff35,0 8px 20px -8px color-mix(in srgb,var(--primary) 65%,transparent);
}
.hero-actions .text-link {
  font-size: 15px;
}
.product-stage {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 24px 40px 18px;
  background:
    linear-gradient(128deg,#ffffff16 0%,transparent 36%,#ffffff08 62%,transparent 82%),
    linear-gradient(155deg,color-mix(in srgb,var(--ml-brand-surface) 82%,var(--primary)),var(--ml-brand-surface) 38%,color-mix(in srgb,var(--ml-brand-surface) 65%,#081a36));
  color: var(--ml-on-brand);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 #ffffff70,inset 0 0 0 1px #ffffff20,0 32px 64px -36px color-mix(in srgb,var(--primary) 50%,transparent);
  overflow: hidden;
}
.product-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background: radial-gradient(ellipse 100% 75% at var(--stage-light-x,20%) 0%,#ffffff1a,transparent 72%);
}
.stage-caption {
  padding-bottom: 22px;
  font-size: 15px;
}
.stage-caption>span:first-child {
  font-family: var(--display);
  font-weight: 650;
}
.edition {
  color: var(--ml-on-brand);
  font-weight: 400;
  margin-left: 8px;
}
.stage-status {
  color: var(--ml-on-brand);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stage-status i {
  width: 7px;
  height: 7px;
  background: var(--ml-on-brand);
  border-radius: 50%;
}
.product-preview {
  display: block;
  position: relative;
  color: var(--bright);
  border-radius: 10px;
  box-shadow: 0 20px 48px -18px #07142e99,0 2px 4px #07142e30;
  overflow: hidden;
  background: #fff;
}
.product-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.preview-play {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 23px;
  border-radius: 12px;
  background: #ffffffed;
  color: #101927;
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: inset 0 1px 0 #fff,0 8px 32px -12px #10192780;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  transition: box-shadow .2s,translate .2s;
}
.preview-play>svg {
  width: 38px;
  height: 38px;
  fill: var(--ml-primary);
}
.preview-play small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #4f5d70;
  margin-top: 2px;
}
.product-preview:hover .preview-play {
  translate: 0 -4px;
  box-shadow: inset 0 1px 0 #fff,0 14px 40px -12px #10192780;
}
.product-stage figcaption {
  padding-top: 18px;
  font-size: 14px;
  color: var(--ml-on-brand);
}
section.band {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.home-content h2 {
  font: 600 clamp(30px,3.2vw,46px)/1.18 var(--display);
  color: var(--bright);
  letter-spacing: -.035em;
  margin: 0 0 24px;
}
.home-content h2 span {
  color: var(--muted);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading>p {
  color: var(--muted);
  font-size: 17px;
  max-width: 34ch;
  margin: 0;
}
.workflow {
  list-style: none;
  margin: 0;
  padding: 0;
}
.workflow li {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.step-number {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}
.home-content h3 {
  font: 650 23px/1.3 var(--display);
  color: var(--bright);
  letter-spacing: -.025em;
  margin: 18px 0 12px;
}
.workflow p,.guide-path p {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 24px;
}
.workflow a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  text-decoration: none;
}
.workflow a:hover {
  text-decoration: underline;
}
.clock-section>div>p {
  color: var(--muted);
  font-size: 17px;
  max-width: 40ch;
  margin-bottom: 24px;
}
.clock-modes article {
  padding: 0 0 30px;
}
.clock-modes article+article {
  border-top: 1px solid var(--line);
  padding: 30px 0 0;
}
.mode-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mode-heading h3 {
  margin: 0;
  font-size: 22px;
}
.mode-heading>span:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}
.mode-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--selected);
  color: var(--accent);
  flex-shrink: 0;
}
.mode-symbol svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.clock-modes p {
  margin: 16px 0 0 54px;
  color: var(--muted);
  font-size: 17px;
}
.demo {
  border-radius: 12px;
  overflow: hidden;
  background: var(--chrome);
}
.demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 36/25;
  background: var(--chrome);
}
.walkthrough .demo {
  max-width: 980px;
  margin: auto;
  box-shadow: var(--elevation);
}
.chapters {
  padding: 12px 24px;
}
.chapters button {
  background: transparent;
  border: 0;
  min-height: 44px;
  color: var(--text);
  font-size: 15px;
  padding: 8px 0;
}
.chapters button:hover {
  color: var(--accent);
  text-decoration: underline;
}
.chapters time {
  color: var(--accent);
  font: 14px var(--mono);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}
.video-notes {
  max-width: 980px;
  margin: 24px auto 0;
  font-size: 14px;
  color: var(--muted);
}
.guide-paths {
  margin-top: 44px;
}
.guide-path {
  border-top: 1px solid var(--line);
  padding: 12px 0 0;
  color: var(--text);
  text-decoration: none;
}
.guide-path h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 26px;
}
.guide-path svg {
  flex-shrink: 0;
  transition: translate .2s;
  color: var(--accent);
}
.guide-path:hover svg {
  translate: 5px 0;
}
.guide-path:hover h3 {
  color: var(--accent);
}
.guide-path>span {
  font-size: 15px;
  color: var(--accent);
}
.documentation-paths .smallprint {
  margin: 36px 0 0;
}
.install-block p {
  font-size: 17px;
  color: var(--muted);
}
.code-panel {
  align-self: center;
  background: var(--ml-brand-surface);
  color: var(--ml-on-brand);
  border-radius: 12px;
  overflow: hidden;
}
.code-panel>div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  border-bottom: 1px solid #ffffff30;
  font-size: 14px;
}
.code-panel>div>span:last-child {
  margin-left: auto;
  color: var(--ml-brand-secondary);
}
.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ml-on-brand);
}
.code-panel pre {
  font: 14px/2 var(--mono);
  overflow: auto;
  padding: 24px;
  margin: 0;
}
.scope-note {
  color: var(--muted);
  font-size: 14px;
  margin: 40px 0 0;
  max-width: 90ch;
}
@media(max-width:1100px) {
  .home-content {
    padding: 0 32px;
  }
  .hero {
    padding-top: 44px;
  }
  .hero-intro {
    padding-bottom: 36px;
  }
  .section-heading {
    align-items: start;
    gap: 24px;
  }
}
@media(max-width:1023px) {
  .hero-copy>p:not(.hero-summary) {
    max-width: 60ch;
  }
  .hero-summary {
    font-size: 24px;
  }
  .product-stage {
    padding: 20px 24px 16px;
  }
  .section-heading {
    flex-direction: column;
  }
  .section-heading>p {
    max-width: 60ch;
  }
  section.band {
    padding: 64px 0;
  }
}
@media(max-width:600px) {
  .home-content {
    padding: 0 22px;
  }
  .hero {
    padding-top: 36px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-intro {
    gap: 24px;
  }
  .hero-copy>p:not(.hero-summary) {
    font-size: 17px;
    margin-bottom: 22px;
  }
  .hero-actions {
    gap: 20px;
  }
  .product-stage {
    margin: 0 -8px;
    padding: 16px 12px 14px;
    border-radius: 12px;
  }
  .stage-caption {
    padding-bottom: 14px;
  }
  .stage-status {
    font-size: 13px;
  }
  .edition {
    font-size: 13px;
  }
  .preview-play {
    padding: 10px 14px;
    gap: 8px;
    bottom: 12px;
    font-size: 13px;
  }
  .preview-play>svg {
    width: 25px;
    height: 25px;
  }
  .preview-play small {
    font-size: 12px;
  }
  .product-stage figcaption {
    font-size: 13px;
    padding-top: 14px;
  }
  .product-stage figcaption>span:last-child {
    font-size: 12px;
  }
  section.band {
    padding: 56px 0;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .home-content h2 {
    font-size: 32px;
  }
  .mode-heading {
    gap: 10px;
  }
  .mode-heading h3 {
    font-size: 20px;
  }
  .mode-heading>span:last-child {
    font-size: 13px;
  }
  .clock-modes p {
    margin-left: 0;
  }
  .chapters {
    padding: 12px 16px;
  }
  .guide-path h3 {
    font-size: 24px;
  }
  .code-panel>div {
    padding: 16px;
  }
  .code-panel>div>span:last-child {
    font-size: 12px;
  }
  .code-panel pre {
    padding: 18px;
    font-size: 13px;
  }
}
