@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root {
  --paper: #f0eee7;
  --ink: #344f43;
  --muted: #7c8b76;
  --line: #d8dece;
  --green: #4e715e;
  --mono: ui-monospace, Consolas, monospace;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #b79568;
  outline-offset: 4px;
}
.wrap {
  width: min(1280px, calc(100% - 80px));
  margin: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.brand {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  font: 17px var(--mono);
  border: 1px solid #789078;
  border-radius: 9px;
  padding: 8px 6px;
  letter-spacing: -2px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}
.site-header nav > a:not(.button):hover,
.text-link:hover {
  color: #a07c51;
}
.button {
  background: var(--green);
  color: #fbf9ef;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 15px 18px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #355745;
  transform: translateY(-1px);
}
.button.small {
  padding: 11px 14px;
  font-size: 11px;
}
.button.secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid #c4d0b8;
}
.text-link {
  font-size: 12px;
}
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  align-items: center;
  padding-top: 55px;
  padding-bottom: 78px;
}
.eyebrow {
  font: 8px/1.7 var(--mono);
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #83a37c;
}
h1 {
  font-size: clamp(48px, 4.7vw, 70px);
  line-height: 1.05;
  letter-spacing: -3.8px;
  font-weight: 600;
  margin: 0 0 26px;
}
h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #7d9a7e;
}
h2 {
  font-size: 39px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -1.8px;
  margin: 0;
}
h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.lead {
  font-size: 15px;
  line-height: 1.8;
  color: #7b8975;
  max-width: 425px;
  margin: 0 0 26px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.facts {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font: 8px var(--mono);
  color: #8a977e;
  margin-top: 24px;
}
.facts span::before {
  content: '+';
  color: #a0ad92;
  margin-right: 6px;
}
.demo-frame {
  border: 1px solid #d1d9c7;
  border-radius: 13px;
  overflow: hidden;
  background: #f7f6ed;
  box-shadow: 0 16px 55px #425e3910;
}
.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dce2d3;
  padding: 11px 15px;
  gap: 10px;
}
.demo-tabs {
  display: flex;
  gap: 4px;
}
.demo-tabs button {
  border: 0;
  background: none;
  font: 9px var(--mono);
  padding: 8px;
  border-radius: 4px;
  color: #839078;
}
.demo-tabs button[aria-pressed='true'] {
  background: #e4eada;
  color: #4d6c48;
}
.live-label {
  font: 7px var(--mono);
  letter-spacing: 1px;
  color: #92a080;
  display: flex;
  align-items: center;
  gap: 5px;
}
.live-label i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #839c72;
}
.hero-world {
  height: 440px;
  width: 100%;
}
.demo-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font: 8px var(--mono);
  color: #8c9980;
  border-top: 1px solid #dce2d3;
}
.demo-bottom a {
  color: #607d52;
  white-space: nowrap;
}
.section {
  padding-top: 70px;
  padding-bottom: 70px;
  border-top: 1px solid var(--line);
}
.section-heading {
  margin-bottom: 38px;
}
.section-heading .eyebrow {
  margin-bottom: 15px;
}
.section-heading.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.steps article {
  padding-right: 25px;
}
.step-number {
  font: 12px var(--mono);
  color: #a2af93;
  display: block;
  margin-bottom: 20px;
}
.steps p,
.example-card p {
  font-size: 13px;
  line-height: 1.8;
  color: #819075;
  margin: 0 0 18px;
}
.steps a,
.example-card > div > span {
  font-size: 11px;
  color: #5b784f;
}
.mini-code {
  font: 11px var(--mono);
  color: #8d9c7a;
  display: inline-block;
  background: #e7ecdf;
  border: 1px solid #d8e0cc;
  padding: 9px 12px;
  border-radius: 4px;
}
.mini-code b {
  font-weight: 400;
  margin: 0 10px;
}
.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.example-card {
  display: block;
  border: 1px solid #d2dcc6;
  border-radius: 9px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px #425e390c;
}
.example-art {
  height: 165px;
  display: grid;
  place-content: center;
}
.example-art pre {
  font: 15px/1.2 var(--mono);
  margin: 0;
  color: #77916e;
  transform: rotate(-5deg);
}
.sage {
  background: #e1e9db;
}
.sand {
  background: #ebe2cf;
}
.sand pre {
  color: #b19a72;
}
.pale {
  background: #e7ebdf;
}
.example-card > div:last-child {
  padding: 22px;
}
.example-card small {
  display: block;
  font: 7px var(--mono);
  letter-spacing: 1px;
  color: #92a081;
  margin-bottom: 13px;
}
.example-card h3 {
  font-size: 19px;
  line-height: 1.35;
}
.embed-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.embed-section .eyebrow {
  margin-bottom: 18px;
}
.embed-section h2 {
  margin-bottom: 22px;
}
.embed-steps {
  padding-left: 18px;
  font-size: 12px;
  line-height: 2.1;
  color: #7b8e6d;
  margin: 22px 0;
}
.embed-steps code {
  font: 10px var(--mono);
  background: #e6ebde;
  padding: 3px 5px;
  border-radius: 3px;
}
.code-panel {
  border: 1px solid #cbd7bf;
  background: #f7f7ed;
  border-radius: 9px;
  overflow: hidden;
}
.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 19px;
  border-bottom: 1px solid #dbe2cf;
}
.code-heading span {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #8f9e7e;
}
.code-heading button {
  font: 9px var(--mono);
  background: #e7eddb;
  border: 1px solid #d5dfc5;
  border-radius: 4px;
  padding: 7px 9px;
  color: #6d835e;
}
.code-panel pre {
  padding: 25px 20px;
  font: 11px/1.9 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  color: #658258;
}
.code-footer {
  padding: 14px 20px;
  border-top: 1px solid #dbe2cf;
  font: 8px/1.6 var(--mono);
  color: #98a58a;
}
.engine-section {
  margin-top: 15px;
  margin-bottom: 80px;
  border-radius: 13px;
  background: #e5ebdc;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}
.engine-section h2 {
  font-size: 33px;
}
.engine-section p:not(.eyebrow) {
  color: #7b8e6b;
  font-size: 13px;
  line-height: 1.8;
  margin: 22px 0;
}
.engine-section .actions {
  gap: 20px;
}
.architecture > div {
  border: 1px solid #cbd7bf;
  background: #eff3e6;
  border-radius: 5px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 3px;
}
.architecture > div > span {
  font: 9px var(--mono);
  color: #9aaa89;
  grid-row: span 2;
}
.architecture strong {
  font-weight: 500;
  font-size: 14px;
}
.architecture small {
  font: 9px var(--mono);
  color: #93a180;
}
.architecture > i {
  display: block;
  text-align: center;
  color: #a6b696;
  font-style: normal;
  font-size: 15px;
  padding: 4px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 35px;
  border-top: 1px solid var(--line);
  gap: 20px;
}
.site-footer .brand {
  font-size: 16px;
}
.site-footer p {
  font-size: 11px;
  color: #93a184;
}
.site-footer > a:last-child {
  font-size: 11px;
  color: #718760;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 25px;
    padding-top: 25px;
  }
  h1 {
    font-size: 51px;
  }
  .hero-world {
    height: 380px;
  }
  .site-header nav {
    gap: 18px;
  }
  .steps {
    gap: 25px;
  }
  .steps article {
    padding-right: 0;
  }
  .embed-section {
    gap: 35px;
  }
  .engine-section {
    gap: 35px;
    padding: 30px;
  }
  .demo-bottom {
    font-size: 7px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 12px;
  }
  .brand {
    font-size: 19px;
  }
  .brand-mark {
    font-size: 13px;
  }
  .site-header nav > a:not(.button) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
    padding-bottom: 42px;
    gap: 32px;
  }
  .hero-copy {
    max-width: 520px;
  }
  h1 {
    font-size: 52px;
    letter-spacing: -3px;
  }
  .eyebrow {
    font-size: 7px;
    margin-bottom: 18px;
  }
  .lead {
    font-size: 14px;
  }
  .hero-world {
    height: 360px;
  }
  .facts {
    font-size: 7px;
    gap: 12px;
  }
  .demo-bottom {
    font-size: 7px;
    padding: 12px;
  }
  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  h2 {
    font-size: 31px;
    letter-spacing: -1.2px;
  }
  .steps,
  .examples {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }
  .steps article:last-child {
    border: 0;
    padding: 0;
  }
  .step-number {
    margin-bottom: 12px;
  }
  .section-heading.row {
    display: block;
  }
  .section-heading.row > a {
    display: inline-block;
    margin-top: 20px;
  }
  .example-art {
    height: 145px;
  }
  .embed-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .engine-section {
    grid-template-columns: 1fr;
    margin-bottom: 35px;
    padding: 25px;
    gap: 25px;
  }
  .engine-section h2 {
    font-size: 28px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .code-panel pre {
    font-size: 10px;
  }
  .actions {
    gap: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
