:root {
  --ink: #17231c;
  --muted: #526254;
  --paper: #f8f2e4;
  --paper-deep: #eee3cb;
  --sky: #9ed7e8;
  --sky-light: #d9f0f5;
  --grass: #7ca33d;
  --grass-dark: #41672f;
  --dirt: #76513a;
  --line: rgba(23, 35, 28, 0.18);
  --shadow: 0 14px 34px rgba(54, 60, 39, 0.13);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.23;
  pointer-events: none;
  background-image: linear-gradient(rgba(92, 76, 54, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 76, 54, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

::selection {
  color: var(--ink);
  background: #cfe994;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
code,
pre {
  font: inherit;
}

code,
pre {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section-gap {
  padding-block: 108px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 9px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1220px, calc(100% - 28px));
  min-height: 72px;
  padding: 10px 20px;
  margin: 12px auto 0;
  background: rgba(248, 242, 228, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(54, 60, 39, 0.08);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.wordmark img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 11px;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .nav-cta {
  padding: 9px 15px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 10px;
}

.menu-toggle {
  display: none;
}

.hero {
  padding-top: 76px;
}

.hero-copy {
  width: min(800px, 100%);
  margin-bottom: 42px;
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  color: var(--grass-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 7px;
}

.eyebrow span {
  display: inline-block;
  padding: 3px 8px;
  margin-right: 8px;
  color: #fffaf0;
  background: var(--dirt);
  border-radius: 6px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 19px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 11px;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 4px 5px 0 var(--ink);
}

.button-primary {
  color: #fffdf6;
  background: var(--grass-dark);
}

.button-ghost {
  background: rgba(255, 253, 246, 0.5);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-banner {
  margin: 0;
  overflow: hidden;
  background: var(--sky);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 9px 0 var(--ink);
}

.hero-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.compatibility {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  border-block: 1px solid var(--line);
}

.compatibility article {
  display: grid;
  gap: 2px;
  padding: 22px 25px;
  border-right: 1px solid var(--line);
}

.compatibility article:last-child {
  border-right: 0;
}

.compatibility small,
.compatibility span {
  color: var(--muted);
  font-size: 0.78rem;
}

.compatibility small {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compatibility strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading-wide {
  max-width: 850px;
}

.section-heading h2,
.status-copy h2,
.deploy-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.section-heading > p:last-child,
.status-copy > p,
.deploy-copy > p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--grass-dark);
  font-weight: 800;
}

.engine-diagram {
  display: grid;
  grid-template-columns: 1.2fr auto 1.35fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 34px;
  background: var(--sky-light);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 7px 8px 0 rgba(23, 35, 28, 0.9);
}

.client-stack {
  display: grid;
  gap: 12px;
}

.client-stack article,
.core-card,
.world-card {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 17px;
  background: rgba(255, 253, 246, 0.84);
  border: 1px solid var(--ink);
  border-radius: 13px;
}

.client-stack article > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--grass-dark);
  border-radius: 8px;
  font-weight: 900;
}

.client-stack small,
.core-card small,
.world-card small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-stack strong,
.core-card strong,
.world-card strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.3;
}

.core-card {
  border-width: 2px;
}

.core-card img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.world-card {
  display: block;
  background: #dce8af;
}

.diagram-arrow {
  font-size: 1.7rem;
  font-weight: 900;
}

.architecture-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 38px;
}

.architecture-notes article {
  padding-top: 18px;
  border-top: 3px solid var(--grass);
}

.architecture-notes strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.architecture-notes p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-status {
  background: #e7dec9;
  border-block: 1px solid var(--line);
}

.status-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(45px, 8vw, 100px);
  align-items: start;
}

.status-copy {
  position: sticky;
  top: 115px;
}

.status-board {
  overflow: hidden;
  background: #fffaf0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 7px 0 var(--dirt);
}

.status-board article {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 8px 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.status-board article:last-child {
  border-bottom: 0;
}

.status-board strong {
  align-self: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.status-board p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-pill {
  align-self: center;
  justify-self: start;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 99px;
}

.status-pill.stable {
  color: #315f24;
  background: #e5efcc;
}

.status-pill.beta {
  color: #855526;
  background: #f7e5c5;
}

.status-pill.planned {
  color: #566067;
  background: #e5e9eb;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 310px;
  padding: 27px;
  background: rgba(255, 253, 246, 0.72);
  border: 1px solid var(--line);
  border-top: 5px solid var(--grass);
  border-radius: 12px;
  box-shadow: 0 7px 0 rgba(118, 81, 58, 0.12);
}

.feature-card:nth-child(3n + 2) {
  border-top-color: var(--sky);
}

.feature-card:nth-child(3n) {
  border-top-color: var(--dirt);
}

.feature-label {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--grass-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 16px;
}

.feature-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--grass);
  border-radius: 2px;
}

.documentation {
  padding-top: 12px;
}

.doc-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  background: #fffaf0;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.doc-links a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1px 12px;
  padding: 22px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 140ms ease;
}

.doc-links a:nth-child(even) {
  border-right: 0;
}

.doc-links a:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.doc-links a:last-child {
  border-bottom: 0;
  border-right: 0;
}

.doc-links a:hover {
  background: var(--sky-light);
}

.doc-links span {
  grid-row: 1 / 3;
  color: var(--grass-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.doc-links strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
}

.doc-links small {
  color: var(--muted);
  font-size: 0.78rem;
}

.deploy {
  background: var(--sky-light);
  border-block: 1px solid var(--line);
}

.deploy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(45px, 8vw, 100px);
  align-items: center;
}

.deploy-copy ol {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.deploy-copy li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.deploy-copy li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fffaf0;
  background: var(--grass-dark);
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 900;
}

.deploy-copy li strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.deploy-copy li p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.config-card {
  overflow: hidden;
  color: #edf4e7;
  background: #202b23;
  border: 2px solid var(--ink);
  border-radius: 15px;
  box-shadow: 7px 8px 0 var(--dirt);
}

.config-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  color: #c8d8c4;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.copy-button {
  padding: 5px 9px;
  color: #202b23;
  cursor: pointer;
  background: #cfe994;
  border: 0;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.config-card pre {
  padding: 25px;
  margin: 0;
  overflow: auto;
  font-size: 0.82rem;
  line-height: 1.85;
}

.port-note {
  padding: 15px 20px;
  color: #c8d8c4;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.75rem;
}

.port-note code {
  color: #e1f39e;
}

.faq {
  max-width: 920px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--grass-dark);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  transition: transform 160ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  padding: 0 4px 24px;
  margin: -5px 0 0;
  color: var(--muted);
}

.final-cta {
  padding-bottom: 90px;
}

.final-cta-inner {
  padding: clamp(36px, 7vw, 78px);
  color: #fdf8eb;
  background: var(--grass-dark);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 9px 0 var(--ink);
}

.final-cta .kicker {
  color: #d8eca7;
}

.final-cta p:not(.kicker) {
  max-width: 620px;
  margin: 20px 0 0;
  color: #e8f0df;
}

.final-cta .button-primary {
  color: var(--ink);
  background: #d8eca7;
}

.final-cta .button-ghost {
  color: #fffdf6;
  background: transparent;
  border-color: #fffdf6;
}

.final-cta .button:hover {
  box-shadow: 4px 5px 0 #152018;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 32px;
  align-items: center;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
}

.site-footer .wordmark img {
  width: 38px;
  height: 38px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.site-footer > div {
  display: flex;
  gap: 16px;
}

.site-footer > div a {
  color: var(--grass-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.site-footer small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.68rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #d69b45;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

}

@media (max-width: 900px) {
  .section-gap {
    padding-block: 78px;
  }

  .site-header {
    width: calc(100% - 24px);
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 9px;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    gap: 0;
    padding: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    padding-top: 58px;
  }

  .engine-diagram {
    grid-template-columns: 1fr;
  }

  .diagram-arrow {
    justify-self: center;
    line-height: 1;
    transform: rotate(90deg);
  }

  .architecture-notes {
    grid-template-columns: 1fr;
  }

  .status-grid,
  .deploy-grid {
    grid-template-columns: 1fr;
  }

  .status-copy {
    position: static;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .section-gap {
    padding-block: 64px;
  }

  .site-header {
    min-height: 64px;
    padding: 8px 11px;
    margin-top: 8px;
  }

  .wordmark img {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-banner {
    border-width: 2px;
    border-radius: 13px;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .compatibility,
  .feature-grid,
  .doc-links {
    grid-template-columns: 1fr;
  }

  .compatibility article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .compatibility article:last-child {
    border-bottom: 0;
  }

  .engine-diagram {
    padding: 19px;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .core-card {
    align-items: flex-start;
  }

  .status-board article {
    grid-template-columns: 1fr;
  }

  .status-board p {
    grid-column: 1;
  }

  .feature-card {
    min-height: 0;
  }

  .doc-links a,
  .doc-links a:nth-child(even),
  .doc-links a:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .doc-links a:last-child {
    border-bottom: 0;
  }

  .config-card pre {
    padding: 20px;
    font-size: 0.72rem;
  }

  .final-cta {
    padding-bottom: 70px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > div,
  .site-footer small {
    grid-column: 1;
  }

}
