@import './design-tokens.css';
@font-face {
  font-family: DM;
  src: url(body.woff2) format('woff2');
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(bold.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  color: var(--os-ink);
  background: var(--os-canvas);
  font:
    16px/1.55 DM,
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
figure,
pre {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
a {
  color: inherit;
  text-underline-offset: 0.23em;
}
a:hover {
  color: var(--os-accent);
}
:focus-visible {
  outline: 3px solid var(--os-accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.bound {
  width: min(1192px, calc(100% - 6rem));
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 4;
  inset: 0.6rem auto auto 0.6rem;
  background: white;
  padding: 0.6rem 1rem;
}
.skip:not(:focus) {
  clip-path: inset(100%);
}
header,
footer,
.workflow {
  background: var(--os-surface);
}
header {
  border-bottom: 1px solid var(--os-line);
}
.nav,
.foot,
.nav nav,
.foot nav,
.brand,
.actions,
.download-help {
  display: flex;
  align-items: center;
}
.nav,
.foot {
  justify-content: space-between;
  gap: 1.5rem;
}
.nav {
  min-height: 70px;
}
.brand {
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.065em;
  text-decoration: none;
}
.brand img {
  border-radius: 8px;
}
.brand b {
  font-weight: 400;
}
.nav nav,
.foot nav {
  gap: clamp(1rem, 2.6vw, 2.2rem);
}
.nav nav a,
.foot nav a {
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-action {
  border: 1px solid var(--os-line);
  border-radius: 8px;
  padding: 0.46rem 0.95rem;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6.5vw, 6rem);
}
.kicker,
.availability,
.example-top,
.platform {
  font-size: 0.78rem;
  font-weight: 700;
}
.kicker,
.platform {
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.kicker,
.hero em {
  color: var(--os-accent);
}
.hero h1,
.section-heading h2,
.legal h1 {
  letter-spacing: -0.065em;
  line-height: 1.02;
}
.hero h1 {
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  margin: 0.8rem 0 1.25rem;
}
.hero em {
  font-style: normal;
}
.intro > p:not(.kicker):not(.availability),
.section-heading > p:not(.kicker),
.product-view p,
.agent-guides p,
.questions details p,
.package > p {
  color: var(--os-muted);
}
.intro > p:not(.kicker):not(.availability),
.section-heading > p:not(.kicker) {
  font-size: 1.12rem;
  max-width: 50ch;
}
.actions,
.download-help {
  gap: 1.3rem;
  flex-wrap: wrap;
}
.actions {
  margin: 1.6rem 0 0.8rem;
}
.cta,
.file-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
}
.cta {
  padding: 0.77rem 1.15rem;
  background: var(--os-accent);
  color: white;
}
.cta:hover {
  background: var(--os-accent-hover);
  color: white;
}
.cta span {
  font-size: 1.15em;
}
.text-link,
.agent-guides a,
.questions details a,
.download-help {
  font-weight: 700;
  font-size: 0.94rem;
}
.availability {
  color: var(--os-muted);
  font-weight: 400;
}
.post-example {
  overflow: hidden;
  border-radius: 16px;
  background: var(--os-ink);
  color: white;
  box-shadow: 0 12px 34px #17243a16;
}
.example-top,
.post-example figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.example-top {
  padding: 0.65rem 1.1rem;
  letter-spacing: 0.02em;
}
.example-top span + span {
  color: #ced5df;
  font-weight: 400;
}
.post-example video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--os-ink);
}
.post-example figcaption {
  padding: 0.75rem 1.1rem;
  background: white;
  color: var(--os-ink);
}
.post-example figcaption > div:first-child {
  display: grid;
}
.post-example figcaption span:not(.file-name):not(.slot-dot) {
  font-size: 0.82rem;
  color: var(--os-muted);
}
.file-name {
  font-size: 1.05rem;
  font-weight: 700;
}
.slot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
  font-size: 0.85rem;
}
.slot-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #24724f;
}
.slot span:last-child {
  margin-left: 0.3rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--os-line);
}
.section-space {
  padding-block: clamp(3.1rem, 6.5vw, 5.7rem);
}
.section-heading h2,
.legal h1 {
  font-size: clamp(2.15rem, 4.25vw, 3.65rem);
  margin: 0 0 0.8rem;
}
.section-heading .kicker {
  margin-bottom: 0.8rem;
}
.workflow {
  border-block: 1px solid var(--os-line);
}
.workflow .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.view-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.view-nav a {
  padding: 0.46rem 0.95rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.94rem;
}
.view-nav[role] a {
  text-decoration: none;
  background: var(--os-canvas);
}
.view-nav a[aria-selected='true'] {
  color: white;
  background: var(--os-dark);
}
.product-view {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1.4rem, 4.5vw, 4rem);
  margin-top: 1rem;
  padding: clamp(1.1rem, 3.5vw, 2.7rem);
  background: var(--os-canvas);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-md);
  scroll-margin: 1rem;
}
.product-view h3 {
  font-size: clamp(1.7rem, 3.1vw, 2.65rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.product-view p,
.agent-guides p {
  margin: 0.7rem 0 1rem;
}
.screen img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--os-line);
  border-radius: 6px;
}
.assist,
.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}
.assist .section-heading .text-link {
  display: inline-block;
  margin-top: 1rem;
}
.agent-guides article,
.questions details {
  border-top: 1px solid var(--os-line);
  padding: 1.2rem 0;
}
.agent-guides article:first-child {
  padding-top: 0;
  border: 0;
}
.agent-guides h3,
.questions summary {
  font-size: 1.24rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 700;
}
pre {
  max-width: 100%;
  overflow: auto;
  border-left: 3px solid var(--os-accent);
  padding: 0.75rem 1rem;
  color: var(--os-ink);
  background: white;
  font-size: 0.86rem;
  margin-bottom: 0.9rem;
}
.agent-guides a {
  color: var(--os-accent);
}
.installation {
  background: var(--os-dark);
  color: white;
}
.installation .kicker {
  color: #ffafb8;
}
.installation .section-heading > p:not(.kicker),
.installation .compat {
  color: var(--os-dark-text);
}
.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 1rem;
  align-items: stretch;
}
.package {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-content: start;
  gap: 0.9rem;
  background: white;
  color: var(--os-ink);
  padding: clamp(1.15rem, 2.4vw, 1.9rem);
  border-radius: 12px;
}
.platform {
  color: var(--os-accent);
}
.package h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 0.3rem 0;
}
.package p {
  line-height: 1.45;
}
.file-link {
  background: var(--os-accent);
  color: white;
  padding: 0.65rem 0.85rem;
}
.file-link:hover {
  background: var(--os-accent-hover);
  color: white;
}
.file-link span {
  font-weight: 400;
  font-size: 0.82rem;
}
summary {
  cursor: pointer;
}
.package details {
  font-size: 0.81rem;
  color: var(--os-muted);
}
.package code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 0.55rem;
}
.compat {
  font-size: 0.93rem;
  max-width: 88ch;
}
.download-help {
  margin-top: 1.3rem;
}
.download-help a:hover {
  color: #ffafb8;
}
.installation :focus-visible {
  outline-color: #f08b98;
}
.questions details:last-child {
  border-bottom: 1px solid var(--os-line);
}
.questions details p {
  margin: 0.8rem 0;
}
footer {
  border-top: 1px solid var(--os-line);
}
.foot {
  padding-block: 2rem;
}
.foot nav {
  flex-wrap: wrap;
}
.foot > div > span {
  font-size: 0.82rem;
  color: var(--os-muted);
}
.legal {
  max-width: 760px;
  padding-block: 4rem;
}
.legal h1 {
  margin: 1rem 0 2.7rem;
}
.legal section {
  border-top: 1px solid var(--os-line);
  padding: 1.25rem 0;
}
.legal h2 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}
.legal section a {
  color: var(--os-accent);
}
@media (max-width: 900px) {
  .bound {
    width: calc(100% - 3rem);
  }
  .nav nav,
  .foot nav {
    gap: 0.9rem;
  }
  .package {
    padding: 1rem;
  }
}
@media (max-width: 760px) {
  .hero,
  .product-view,
  .assist,
  .questions,
  .packages {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-block: 2.7rem;
    gap: 1.8rem;
  }
  .hero h1 {
    font-size: clamp(3rem, 11vw, 4.6rem);
    max-width: 11ch;
  }
  .intro > p:not(.kicker):not(.availability),
  .section-heading > p:not(.kicker) {
    font-size: 1rem;
  }
  .workflow .section-heading {
    display: block;
  }
  .packages {
    gap: 0.8rem;
  }
  .package {
    padding: 1.35rem;
    gap: 0.65rem;
  }
  .foot {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 590px) {
  .bound {
    width: calc(100% - 2.25rem);
  }
  .nav {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    padding-block: 0.55rem;
  }
  .nav nav {
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
  }
  .nav nav a {
    font-size: 0.83rem;
  }
  .nav-action {
    padding: 0.35rem 0.6rem;
  }
  .brand {
    font-size: 1.3rem;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .example-top,
  .post-example figcaption {
    padding: 0.6rem 0.8rem;
  }
  .slot {
    gap: 0.25rem;
  }
  .slot span:last-child {
    padding-left: 0.4rem;
    margin-left: 0;
  }
  .view-nav a {
    padding: 0.4rem 0.75rem;
  }
}
