:root {
  color-scheme: light;
  --paper: #f6f8f2;
  --ink: #203b30;
  --secondary: #5d6d63;
  --green: #147c51;
  --line: #dbe2d6;
  --mint: #c4f4cf;
  --code: #172e26;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #178457;
  outline-offset: 5px;
}
::selection {
  background: #c4f4cf;
  color: #143e2c;
}
.shell {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.9px;
  font-weight: 650;
}
.header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}
.header nav a {
  transition: color 0.18s;
}
.header nav a:hover,
.text-link:hover,
.feature a:hover {
  color: var(--green);
}
.nav-github {
  display: flex;
  align-items: center;
  gap: 7px;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  padding-block: 72px 85px;
  align-items: center;
}
.release {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  white-space: nowrap;
}
.release-divider {
  color: #a4b1a4;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: #62bd8d;
  flex-shrink: 0;
}
.release .status-dot {
  background: var(--green);
}
h1 {
  font-size: clamp(58px, 6.9vw, 92px);
  line-height: 0.99;
  letter-spacing: -6px;
  font-weight: 500;
  margin: 28px 0 25px;
}
h1 em {
  font-style: normal;
  color: var(--green);
}
.rust-word {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -5px;
}
.hero-description {
  max-width: 365px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--secondary);
  margin: 0 0 27px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  padding: 17px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.primary {
  background: var(--ink);
  color: #f3f9ee;
}
.primary:hover {
  background: #147c51;
  transform: translateY(-2px);
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  line-height: 1.5;
}
.install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 336px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px 12px 11px 16px;
  color: #485c4e;
  background: #f9faf6;
}
.install code {
  font-size: 12px;
}
.install button {
  background: transparent;
  color: var(--secondary);
  border: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px;
  font-size: 11px;
}
.hero-note {
  font-size: 10px;
  color: #6a796e;
  margin-top: 14px;
}
.hero-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-visual {
  position: relative;
  max-width: 100%;
  padding-bottom: 20px;
}
.orbit-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  padding-left: 5px;
  color: var(--secondary);
}
.orbit-label > span {
  font-size: 23px;
  color: var(--green);
}
.code-window {
  background: var(--code);
  color: #e6eee8;
  border: 1px solid #25483a;
  box-shadow: 0 18px 55px -25px #23453340;
  transform: rotate(-1deg);
  border-radius: 9px;
  overflow: hidden;
}
.window-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ffffff13;
  padding: 17px 20px;
  gap: 28px;
  font-size: 10px;
  color: #afbeb3;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  background: #587266;
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
}
.language-tag {
  margin-left: auto;
  color: #789c85;
  font-size: 9px;
}
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin: 0;
  overflow: auto;
  line-height: 1.85;
  tab-size: 4;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.hero-code {
  font-size: 12px;
  padding: 26px 24px 24px;
}
.kw {
  color: #cdb4df;
}
.type {
  color: #a3d8e0;
}
.attr {
  color: #9acaa9;
}
.code-footer {
  border-top: 1px solid #ffffff13;
  display: flex;
  justify-content: space-between;
  padding: 13px 20px;
  color: #92ad9d;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 9px;
}
.code-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.result-card {
  background: white;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  position: relative;
  width: 91%;
  margin: -9px 0 0 9%;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 15px 30px -20px #203b3040;
  transform: rotate(1.5deg);
}
.result-icon {
  background: #e3f7e9;
  color: #21865a;
  font-size: 15px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.result-caption {
  display: block;
  color: #66746c;
  letter-spacing: 1px;
  font-size: 8px;
  margin-bottom: 6px;
}
.result-card code {
  font-size: 12px;
}
.muted {
  color: #7b8a80;
}
.result-badge {
  margin-left: auto;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 8px;
  color: #34825b;
  background: #e8f6e9;
  padding: 5px 6px;
  border-radius: 3px;
}
.visual-bottom {
  font-size: 10px;
  color: #7b8b7d;
  font-family: ui-monospace, SFMono-Regular, monospace;
  padding: 21px 0 0 40px;
}
.visual-bottom > span {
  margin-right: 8px;
  color: #8cac92;
}
.boundaries {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 45px;
  align-items: center;
  padding-block: 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: #6b7c6b;
}
.boundaries > .eyebrow {
  max-width: 115px;
  line-height: 1.7;
}
.boundary-list {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.boundary-list > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 500;
}
.boundary-list b {
  font-size: 22px;
  font-family: Georgia, serif;
  font-weight: 400;
  color: #77917e;
}
.section {
  padding-block: 100px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.section-intro > .eyebrow {
  grid-column: 1/-1;
}
h2 {
  font-size: 43px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 0;
}
.section-intro > p {
  align-self: end;
  justify-self: end;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
  margin: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 45px;
  gap: 40px;
}
.feature {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-icon {
  font-size: 25px;
  color: var(--green);
  height: 45px;
  font-family: ui-monospace, monospace;
}
.feature h3 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 12px 0;
}
.feature p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.85;
  margin: 0 0 22px;
}
.feature a {
  font-size: 11px;
  font-weight: 600;
  margin-top: auto;
}
.feature a span {
  margin-left: 10px;
}
.workbench-section {
  background: #eaf0e4;
  border-block: 1px solid var(--line);
  padding-block: 85px;
}
.workbench-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 11%;
  align-items: center;
}
.workbench-copy h2 {
  margin-top: 20px;
}
.workbench-copy > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--secondary);
  max-width: 310px;
}
.code-tabs {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}
.code-tabs button {
  display: flex;
  gap: 18px;
  padding: 15px 12px;
  text-align: left;
  font-size: 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #d7e0cf;
  color: #738475;
  border-radius: 4px;
}
.code-tabs button > span:first-child {
  font-size: 13px;
  color: #4e6454;
}
.code-tabs button > span:last-child {
  margin-left: auto;
}
.code-tabs button[aria-selected="true"] {
  background: #d9e6d3;
  border-color: transparent;
  color: #1e653c;
}
.code-tabs button[aria-selected="true"] > span:first-child {
  color: #21462f;
  font-weight: 600;
}
.workbench {
  background: #f9fbf6;
  border: 1px solid #d3dfcd;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 20px 45px -40px #203b3070;
}
.workbench-title {
  padding: 15px 21px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #58725a;
  font-size: 10px;
}
.workbench-title button {
  font-size: 10px;
  border: 0;
  color: #556f59;
  background: transparent;
}
.workbench pre {
  font-size: 11px;
  min-height: 365px;
  padding: 25px;
  color: #254c37;
}
.example-caption {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: #f2f6ec;
}
.example-caption p {
  font-size: 10px;
  line-height: 1.6;
  color: #65816a;
  margin: 0;
}
.migration-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13%;
  align-items: center;
}
.migration-copy h2 {
  margin: 20px 0;
}
.migration-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--secondary);
}
.check-list {
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 2.5;
  color: #48634f;
  margin: 21px 0;
}
.check-list li:before {
  content: "✓";
  margin-right: 12px;
  color: #228453;
}
.schema-table {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcf8;
  overflow: hidden;
  max-width: 390px;
  margin: auto;
}
.schema-header {
  background: #edf1e8;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.schema-header > span:last-child {
  font-size: 8px;
  letter-spacing: 1px;
  margin-left: auto;
  color: #68806a;
}
.tiny-dot {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: #7b9b7c;
}
.schema-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e7ece0;
  padding: 11px 17px;
  font-size: 11px;
}
.schema-row code {
  flex: 1;
}
.schema-row > span {
  color: #7f927e;
  font-size: 9px;
}
.schema-row > b {
  width: 77px;
  text-align: right;
  font-weight: 400;
  font-size: 8px;
  color: #759076;
}
.schema-row.removed {
  color: #8a9a88;
}
.schema-row.added {
  background: #eef8ec;
  color: #2c7b45;
}
.schema-row.added > b {
  color: #33764b;
}
.after {
  border-color: #a7c9a5;
}
.migration-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 10px;
  color: #648466;
  padding: 16px 5px;
}
.migration-arrow > span {
  font-size: 24px;
}
.schema-note {
  text-align: center;
  font-size: 9px;
  color: #7c8e79;
  margin-top: 14px;
}
.closing {
  background: #dbeed5;
  position: relative;
  overflow: hidden;
  border: 1px solid #d0e3cb;
  border-radius: 9px;
  padding: 55px 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.closing h2 {
  font-size: 48px;
  margin: 17px 0 0;
  position: relative;
  z-index: 1;
}
.closing-actions {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.closing-mark {
  position: absolute;
  left: 46%;
  bottom: -55px;
  line-height: 1;
  color: #cbdfc4;
  font-size: 285px;
  font-weight: 700;
  font-family: Georgia, serif;
}
.footer {
  padding-block: 40px;
  display: flex;
  align-items: center;
  gap: 35px;
}
.footer .brand {
  font-size: 17px;
}
.footer p {
  font-size: 10px;
  color: #809079;
}
.footer > div {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 10px;
  color: #61745f;
}
.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  width: auto;
  height: auto;
  clip: auto;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: white;
  color: var(--green);
  padding: 15px;
  border: 1px solid var(--green);
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 95px 105px;
  }
  .hero-code {
    font-size: 13px;
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 56px);
  }
  .header nav {
    gap: 18px;
    font-size: 12px;
  }
  .hero {
    gap: 5%;
    padding-block: 55px;
  }
  h1 {
    font-size: 68px;
    letter-spacing: -4px;
  }
  .hero-code {
    font-size: 10px;
    padding: 22px 18px;
  }
  .window-header {
    gap: 15px;
  }
  .result-card {
    padding: 15px 12px;
    width: 98%;
    margin-left: 2%;
  }
  .result-badge {
    display: none;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-description {
    font-size: 14px;
  }
  .boundaries {
    gap: 22px;
  }
  .boundary-list {
    gap: 15px;
  }
  .boundary-list > span {
    font-size: 11px;
    gap: 6px;
  }
  .boundary-list b {
    font-size: 18px;
  }
  .feature-grid {
    gap: 25px;
  }
  .workbench-layout {
    gap: 6%;
    grid-template-columns: 1fr 1.2fr;
  }
  .workbench pre {
    padding: 18px;
    font-size: 10px;
  }
  .migration-section {
    gap: 7%;
  }
  h2 {
    font-size: 37px;
  }
  .closing {
    padding: 40px;
  }
  .closing h2 {
    font-size: 43px;
  }
  .closing-mark {
    left: 40%;
  }
  .footer {
    gap: 20px;
  }
  .footer > div {
    gap: 15px;
  }
}
@media (max-width: 720px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header {
    height: 78px;
  }
  .brand {
    font-size: 21px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 9px 11px;
    font-size: 12px;
    color: var(--ink);
  }
  .header nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 20px;
    right: 20px;
    z-index: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 5px;
    box-shadow: 0 12px 20px #203b3012;
    padding: 10px;
  }
  .header nav.is-open {
    display: flex;
  }
  .header nav a {
    padding: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 35px 45px;
  }
  .release {
    font-size: 10px;
    padding: 7px 10px;
    gap: 8px;
  }
  h1 {
    font-size: 77px;
    letter-spacing: -5px;
    margin-top: 25px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 350px;
  }
  .hero-actions {
    gap: 25px;
  }
  .hero-visual {
    padding: 0 3px;
    max-width: 480px;
    width: 100%;
    justify-self: center;
    scroll-margin-top: 15px;
  }
  .hero-code {
    font-size: 11px;
    padding: 24px 20px;
  }
  .window-header {
    padding: 15px 18px;
    gap: 22px;
  }
  .code-footer {
    font-size: 8px;
  }
  .result-card {
    width: 94%;
    margin-left: 6%;
    padding: 16px 12px;
  }
  .result-badge {
    display: block;
  }
  .result-card code {
    font-size: 11px;
  }
  .orbit-label {
    font-size: 9px;
  }
  .visual-bottom {
    padding-top: 18px;
  }
  .boundaries {
    display: block;
    padding-block: 22px;
  }
  .boundaries > .eyebrow {
    max-width: none;
    font-size: 8px;
  }
  .boundary-list {
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 21px;
    row-gap: 17px;
    margin-top: 16px;
  }
  .boundary-list > span {
    font-size: 11px;
  }
  .section {
    padding-block: 60px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-intro > p {
    justify-self: start;
    max-width: 300px;
    font-size: 13px;
  }
  .section-intro h2,
  h2 {
    font-size: 36px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .feature {
    padding-top: 20px;
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 15px;
    row-gap: 10px;
  }
  .feature-icon {
    grid-row: 1/4;
    font-size: 23px;
    height: auto;
    padding-top: 1px;
  }
  .feature h3 {
    margin: 0;
    font-size: 17px;
  }
  .feature p {
    margin: 0;
    font-size: 13px;
  }
  .feature a {
    margin-top: 4px;
    grid-column: 2;
  }
  .workbench-section {
    padding-block: 50px;
  }
  .workbench-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .workbench-copy h2 {
    margin-top: 17px;
  }
  .workbench-copy > p {
    max-width: 330px;
    font-size: 13px;
  }
  .code-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
    gap: 7px;
  }
  .code-tabs button {
    border: 1px solid #d7e0cf;
    padding: 12px 10px;
    gap: 7px;
  }
  .code-tabs button > span:first-child {
    font-size: 11px;
  }
  .code-tabs button > span:last-child {
    display: none;
  }
  .workbench pre {
    font-size: 10px;
    min-height: 340px;
    padding: 20px 16px;
  }
  .migration-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .migration-copy {
    grid-row: 1;
  }
  .migration-copy h2 {
    margin-block: 17px;
  }
  .migration-copy p {
    font-size: 13px;
  }
  .check-list {
    margin: 15px 0;
  }
  .migration-visual {
    max-width: 390px;
    width: 100%;
    justify-self: center;
  }
  .schema-row {
    padding: 12px 16px;
  }
  .schema-note {
    font-size: 8px;
  }
  .closing {
    padding: 30px;
    display: block;
  }
  .closing h2 {
    font-size: 40px;
    margin-top: 18px;
  }
  .closing-actions {
    margin-top: 30px;
  }
  .closing .eyebrow {
    font-size: 8px;
  }
  .closing .button {
    font-size: 12px;
    padding: 16px 17px;
    gap: 24px;
  }
  .closing-mark {
    font-size: 255px;
    left: auto;
    right: -10px;
    bottom: -10px;
  }
  .footer {
    padding-block: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
  }
  .footer > div {
    margin: 0;
    justify-content: space-between;
    width: 100%;
    padding-top: 6px;
  }
  .footer p {
    margin-left: auto;
    font-size: 9px;
  }
  .footer .brand {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
