:root {
  --paper: #f8f7f4;
  --ink: #29272e;
  --muted: #737077;
  --accent: #8172a3;
  --lavender: #a59ac4;
  --line: #dfdde1;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
pre:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #dcd5eb;
}
.wrap {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 126px;
  height: 42px;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 33px;
  font-size: 13px;
}
.site-header nav a {
  transition: color 0.18s;
}
.site-header nav a:hover,
.text-link:hover {
  color: var(--accent);
}
.github-link {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 20px;
  padding-block: 64px 70px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin: 0 0 30px;
}
h1 {
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.12;
  letter-spacing: -2.9px;
  font-weight: 500;
  margin: 0 0 28px;
}
h1 > span {
  color: var(--accent);
}
.hero-description {
  font-size: 16px;
  line-height: 1.8;
  max-width: 470px;
  color: #6d6972;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 34px 0 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 22px;
  font-size: 13px;
  border-radius: 3px;
  transition: background 0.2s;
}
.primary {
  background: var(--ink);
  color: var(--paper);
}
.primary:hover {
  background: #564d65;
}
.button > span {
  font-size: 18px;
}
.text-link {
  font-size: 13px;
  font-weight: 500;
  transition: color 0.18s;
}
.hero-note {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-art {
  height: 440px;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art img {
  width: 114%;
  height: auto;
  position: relative;
  max-width: 520px;
  transform: rotate(-8deg);
}
.orbit {
  position: absolute;
  border: 1px solid #e5e1eb;
  border-radius: 50%;
  width: 340px;
  height: 340px;
}
.orbit-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  opacity: 0.7;
}
.art-caption {
  position: absolute;
  bottom: 0;
  font: 9px var(--mono);
  letter-spacing: 0.6px;
  color: #8a8492;
}
.facts {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 23px;
  font: 11px var(--mono);
  color: var(--muted);
}
.facts span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.facts span:before {
  content: "+";
  color: var(--accent);
  font-size: 15px;
}
.examples-section {
  padding-block: 104px 100px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  gap: 32px;
}
.section-heading .eyebrow {
  margin-bottom: 19px;
}
h2 {
  font-size: 38px;
  font-weight: 450;
  line-height: 1.22;
  letter-spacing: -1.4px;
  margin: 0;
}
.section-heading > p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 3px;
  max-width: 350px;
}
.example-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 54px;
}
.tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.example-tab {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 20px 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  border-radius: 3px;
}
.example-tab > span:first-child {
  font: 10px var(--mono);
  opacity: 0.65;
}
.example-tab.active {
  background: #eeebf3;
  color: #554766;
  border-color: transparent;
}
.tab-arrow {
  margin-left: auto;
  opacity: 0;
}
.active .tab-arrow {
  opacity: 1;
}
.example-explanation {
  padding: 36px 16px 0;
}
.example-explanation h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.35px;
  margin: 0 0 15px;
}
.example-explanation p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 25px;
}
.code-window {
  background: #26242c;
  color: #d8d5df;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  align-self: start;
}
.code-toolbar {
  padding: 17px 22px;
  border-bottom: 1px solid #3b3842;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 10px var(--mono);
  color: #b5b0be;
}
.code-toolbar > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.file-dot {
  display: inline-block;
  background: #a99bc7;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.copy-button {
  padding: 2px 0;
  color: #b5b0be;
  border: 0;
  background: none;
  font: 10px var(--mono);
}
.copy-button:hover {
  color: white;
}
pre {
  margin: 0;
  overflow: auto;
  font: 11px/1.9 var(--mono);
  tab-size: 4;
  white-space: pre;
}
.code-window pre {
  padding: 24px 22px;
  min-height: 390px;
}
.code-line {
  display: block;
  min-height: 1.9em;
}
.line-number {
  display: inline-block;
  width: 32px;
  user-select: none;
  color: #696370;
  font-size: 10px;
}
.syntax-keyword {
  color: #b6a4d4;
}
.syntax-type {
  color: #d2c5e6;
}
.syntax-string {
  color: #b3c3ad;
}
.syntax-comment {
  color: #89818f;
}
.code-result {
  border-top: 1px solid #3b3842;
  padding: 17px 23px;
  display: flex;
  gap: 28px;
  align-items: center;
}
.code-result > span {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #918998;
}
.code-result > code {
  font: 11px var(--mono);
  color: #cfc4df;
}
.copy-status {
  position: absolute;
  bottom: 8px;
  right: 18px;
  font-size: 10px;
  color: #d3c4e8;
  margin: 0;
  background: #26242c;
}
.language-section {
  background: #eeecf0;
  padding: 88px 0 0;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  padding: 9px 0 57px;
}
.principle-number {
  display: block;
  font: 10px var(--mono);
  color: #8b8198;
  margin-bottom: 24px;
}
.principles h3 {
  font-size: 19px;
  letter-spacing: -0.55px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 15px;
}
.principles p {
  font-size: 13px;
  line-height: 1.9;
  color: #746d7b;
  margin: 0 0 26px;
}
.tags {
  display: flex;
  gap: 8px;
}
.tags code {
  font: 9px var(--mono);
  border: 1px solid #d8d3de;
  border-radius: 3px;
  padding: 5px 8px;
  color: #80718d;
}
.platform-note {
  border-top: 1px solid #d9d5df;
  display: flex;
  gap: 23px;
  align-items: center;
  padding: 29px 0;
}
.platform-symbol {
  font-size: 26px;
  color: var(--accent);
}
.platform-note h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 7px;
}
.platform-note p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 740px;
  margin: 0;
}
.platform-tag {
  margin-left: auto;
  white-space: nowrap;
  font: 9px var(--mono);
  color: var(--accent);
}
.start-section {
  padding-block: 100px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
}
.start-intro p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 310px;
  margin: 24px 0;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.step {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 16px;
}
.step-number {
  font: 10px var(--mono);
  padding-top: 4px;
  color: var(--accent);
}
.step h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 12px;
}
.step p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 12px;
}
.step .text-link {
  font-size: 11px;
}
.step pre,
.guide-body pre {
  padding: 18px 20px;
  background: #efedf1;
  border: 1px solid #e5e1e9;
  border-radius: 4px;
  color: #524b5c;
}
.step .line-number,
.guide-body .line-number {
  color: #b0a8ba;
}
.step .syntax-keyword,
.guide-body .syntax-keyword {
  color: #826498;
}
.step .syntax-type,
.guide-body .syntax-type {
  color: #746086;
}
.step .syntax-string,
.guide-body .syntax-string {
  color: #68735c;
}
.guide-section {
  border-top: 1px solid var(--line);
  padding-block: 78px 0;
}
.guide-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  color: var(--accent);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}
details[open] summary > span {
  transform: rotate(45deg);
}
.guide-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 0 26px;
}
.guide-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}
.guide-body pre {
  font-size: 10px;
}
.development-note {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  align-items: baseline;
}
.development-note > span {
  font: 8px var(--mono);
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--accent);
}
.development-note p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 800px;
  margin: 0;
}
.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 65px 85px;
}
.closing img {
  object-fit: contain;
  margin-bottom: 24px;
}
.closing h2 {
  font-size: 34px;
  margin-bottom: 28px;
}
.closing p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 420px;
  margin: 0 0 26px;
}
.docs-section {
  border-top: 1px solid var(--line);
  padding-block: 96px 100px;
}
.docs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.docs-card {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 30px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfaf8;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.docs-card:hover {
  border-color: #c7bdd9;
  background: #f2eff6;
  transform: translateY(-2px);
}
.docs-card-number {
  font: 10px var(--mono);
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 22px;
}
.docs-card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.docs-card p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 24px;
}
.docs-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.docs-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.docs-card-tags span {
  font: 9px var(--mono);
  color: #80718d;
  border: 1px solid #d8d3de;
  border-radius: 3px;
  padding: 4px 7px;
}
.docs-card-arrow {
  font-size: 15px;
  color: var(--accent);
  transition: transform 0.2s;
}
.docs-card:hover .docs-card-arrow {
  transform: translate(2px, -2px);
}
.site-footer {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 27px 35px;
  gap: 24px;
}
.footer-brand {
  font-size: 21px;
  letter-spacing: -1px;
  font-weight: 650;
  color: var(--accent);
}
.site-footer p {
  color: var(--muted);
  font-size: 10px;
  margin: 0;
}
.site-footer > div {
  display: flex;
  margin-left: auto;
  gap: 25px;
  font-size: 10px;
  color: var(--muted);
}
.site-footer > div a {
  transition: color 0.18s;
}
.site-footer > div a:hover {
  color: var(--accent);
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px;
}
.skip-link:focus {
  top: 20px;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 650px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  h1 {
    font-size: 49px;
  }
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .hero-art {
    height: 350px;
  }
  .orbit {
    width: 240px;
    height: 240px;
  }
  .orbit-two {
    width: 310px;
    height: 310px;
  }
  .example-layout {
    grid-template-columns: 260px 1fr;
    gap: 28px;
  }
  .example-tab {
    font-size: 11px;
    gap: 12px;
  }
  .principles {
    gap: 26px;
  }
  .start-section {
    gap: 50px;
  }
  .hero-actions {
    gap: 20px;
  }
  .button {
    gap: 22px;
    padding: 14px 18px;
  }
  .facts {
    font-size: 9px;
  }
  .hero-description {
    font-size: 14px;
  }
  .platform-tag {
    display: none;
  }
  .docs-cards {
    gap: 14px;
  }
  .docs-card {
    padding: 24px 20px 20px;
  }
  .docs-card h3 {
    font-size: 18px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 82px;
  }
  .brand img {
    width: 100px;
    height: 34px;
  }
  .site-header nav {
    gap: 19px;
    font-size: 11px;
  }
  .site-header nav a:first-child {
    display: none;
  }
  .github-link {
    border: 0;
    padding: 0;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-block: 46px 24px;
    gap: 0;
    min-height: 0;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 24px;
  }
  h1 {
    font-size: clamp(37px, 8.5vw, 58px);
    letter-spacing: -1.7px;
  }
  .hero-description {
    max-width: 440px;
    font-size: 14px;
  }
  .hero-actions {
    gap: 23px;
    flex-wrap: wrap;
    margin-top: 26px;
  }
  .button,
  .text-link {
    font-size: 12px;
  }
  .hero-note {
    font-size: 9px;
  }
  .hero-art {
    height: 290px;
    width: 100%;
    max-width: 370px;
    align-self: center;
  }
  .hero-art img {
    width: 100%;
    max-width: 350px;
  }
  .orbit {
    width: 210px;
    height: 210px;
  }
  .orbit-two {
    width: 270px;
    height: 270px;
  }
  .art-caption {
    font-size: 8px;
    bottom: 6px;
  }
  .facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-block: 21px;
    font-size: 9px;
  }
  .facts span {
    gap: 8px;
  }
  .examples-section {
    padding-block: 60px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p {
    margin-top: 20px;
    font-size: 12px;
  }
  h2 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .example-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .tabs {
    gap: 3px;
  }
  .example-tab {
    padding: 15px;
    font-size: 12px;
  }
  .example-explanation {
    padding: 22px 0 0;
  }
  .example-explanation p {
    margin-bottom: 15px;
    max-width: 480px;
  }
  .example-explanation h3 {
    font-size: 16px;
  }
  .code-toolbar {
    padding: 15px;
  }
  .code-window pre {
    padding: 19px 12px;
    font-size: 10px;
    min-height: 0;
  }
  .line-number {
    width: 25px;
    font-size: 9px;
  }
  .code-result {
    padding: 15px;
  }
  .copy-status {
    bottom: 3px;
    font-size: 8px;
  }
  .language-section {
    padding-top: 55px;
  }
  .principles {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 35px;
  }
  .principle-number {
    margin-bottom: 13px;
  }
  .principles h3 {
    font-size: 19px;
    margin-bottom: 10px;
  }
  .principles p {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .platform-note {
    align-items: flex-start;
    padding-block: 25px;
  }
  .platform-symbol {
    font-size: 20px;
  }
  .platform-note h3 {
    font-size: 13px;
  }
  .platform-note p {
    font-size: 11px;
  }
  .start-section {
    display: block;
    padding-block: 60px;
  }
  .start-intro p:not(.eyebrow) {
    font-size: 13px;
    max-width: 440px;
  }
  .steps {
    margin-top: 35px;
    gap: 29px;
  }
  .step {
    grid-template-columns: 22px 1fr;
    gap: 10px;
  }
  .step pre {
    font-size: 10px;
    padding: 15px 10px;
  }
  .guide-section {
    padding-top: 50px;
  }
  .guide-body {
    display: block;
    padding-bottom: 20px;
  }
  .guide-body pre {
    margin-top: 18px;
    padding: 14px 10px;
  }
  .development-note {
    flex-direction: column;
    gap: 13px;
  }
  .docs-section {
    padding-block: 58px 62px;
  }
  .docs-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .docs-card {
    min-height: 0;
    padding: 24px 22px 20px;
  }
  .docs-card-number {
    margin-bottom: 14px;
  }
  .docs-card h3 {
    font-size: 19px;
  }
  .docs-card p {
    margin-bottom: 18px;
  }
  .docs-card-foot {
    padding-top: 15px;
  }
  .closing {
    padding-block: 40px 60px;
  }
  .closing h2 {
    font-size: 29px;
  }
  .closing p {
    font-size: 12px;
    max-width: 320px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 15px;
    padding-block: 22px;
  }
  .site-footer > div {
    gap: 20px;
  }
  .site-footer p {
    font-size: 9px;
  }
  .site-footer > div {
    font-size: 9px;
  }
  summary {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

@media (max-width: 380px) {
  .site-header nav {
    gap: 12px;
    font-size: 10px;
  }
  .brand img {
    width: 90px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
}
