@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #2c5058;
  background: #f9f5eb;
  --teal: #326e65;
  --line: #becbc1;
  --muted: #5f777a;
  color-scheme: light;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button,
a,
input,
[tabindex] {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -60px;
  left: 15px;
  z-index: 30;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.docs-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 34px;
  background: #fff8e9;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.mark {
  display: grid;
  place-items: center;
  background: #fae8c5;
  border: 1px solid #779488;
  border-radius: 50%;
  width: 42px;
  height: 44px;
  transform: rotate(-8deg);
  color: #45776f;
}
.brand small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #69817c;
  margin-top: 3px;
  font-weight: 500;
}
.docs-header nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.docs-header nav a {
  text-decoration: none;
  white-space: nowrap;
}
.docs-header nav a[aria-current] {
  font-weight: 700;
  border-bottom: 2px solid #c98162;
  padding-bottom: 5px;
  color: #344f52;
}
.docs-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 780px) 190px;
  max-width: 1480px;
  margin: auto;
  gap: 44px;
  padding: 0 34px;
}
.contents {
  position: sticky;
  top: 84px;
  align-self: start;
  height: calc(100dvh - 84px);
  overflow: auto;
  padding: 29px 18px 30px 0;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: #b4c5b9 transparent;
}
.library-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #68887c;
}
.library-heading b {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  width: 29px;
  height: 29px;
  border: 1px solid #a8c0b0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.contents h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 16px 0 24px;
}
.search-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 7px;
}
.search-wrap {
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 11px 32px 11px 11px;
  font-size: 14px;
  border: 1px solid #a6bcb0;
  border-radius: 7px;
  background: #fffdf6;
  color: #2c5058;
}
.search-wrap button {
  position: absolute;
  right: 6px;
  top: 4px;
  background: none;
  border: 0;
  font-size: 23px;
  color: #598077;
  padding: 3px;
}
.search-status {
  font-size: 12px;
  color: var(--muted);
  min-height: 16px;
  margin: 7px 0 6px;
}
.nav-group {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #819287;
  margin: 24px 0 8px;
}
#chapters > a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  padding: 7px 10px;
  margin: 1px 0;
  border-left: 2px solid transparent;
  border-radius: 0 5px 5px 0;
  color: #5b7476;
  line-height: 1.4;
}
#chapters > a:hover {
  background: #e6ede0;
  color: #326e65;
}
#chapters > a[aria-current] {
  background: #e2ecde;
  color: #326e65;
  border-color: #538e75;
  font-weight: 600;
}
.sidebar-note {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
}
.sidebar-note b {
  font-weight: 500;
}
.sidebar-note p {
  color: var(--muted);
  line-height: 1.6;
}
.contents-toggle {
  display: none;
}
main {
  min-width: 0;
  padding: 32px 0 30px;
}
.reading-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #7f9085;
  font-size: 11px;
  letter-spacing: 1.2px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d1d8ca;
  margin-bottom: 32px;
}
.reading-header span:last-child {
  letter-spacing: 0;
  white-space: nowrap;
}
.doc-section {
  scroll-margin-top: 116px;
  padding: 40px 0 32px;
  border-top: 1px solid #c9d4c9;
}
.introduction {
  border-top: 0;
  padding-top: 0;
}
.chapter-number {
  font-size: 11px !important;
  color: #af795a !important;
  letter-spacing: 1.8px;
  font-weight: 600;
  margin: 0 0 15px !important;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  color: #2b5058;
}
h1 {
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.08;
  letter-spacing: -2.6px;
  margin: 15px 0 23px;
}
h1 em {
  font-style: normal;
  color: #b76d53;
}
h2 {
  font-size: 32px;
  line-height: 1.23;
  letter-spacing: -1px;
  margin: 0 0 20px;
}
h3 {
  font-size: 22px;
  margin: 30px 0 12px;
  letter-spacing: -0.5px;
}
.doc-section p,
.doc-section li {
  font-size: 16px;
  line-height: 1.8;
  color: #4b6970;
}
.doc-section p {
  margin: 13px 0;
}
.doc-section .lead {
  font-size: 20px;
  line-height: 1.6;
  color: #718581;
  margin: 0 0 21px;
}
.doc-section strong {
  font-weight: 600;
  color: #335e62;
}
.doc-section li {
  margin: 9px 0;
  padding-left: 4px;
}
.doc-section ul,
.doc-section ol {
  padding-left: 23px;
}
.intro-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 26px 0 29px;
  font-size: 14px;
}
.solid-link {
  background: #346e63;
  color: #fff8e8;
  padding: 13px 18px;
  border-radius: 7px 15px 7px 15px;
  box-shadow: 0 3px 0 #24574f;
  text-decoration: none;
}
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #bfccbe;
  border-bottom: 1px solid #bfccbe;
  margin: 32px 0 37px;
}
.principles > div {
  padding: 20px 19px 20px 0;
}
.principles > div + div {
  border-left: 1px solid #bfccbe;
  padding-left: 22px;
}
.principles b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.principles p {
  font-size: 14px;
  line-height: 1.65;
  margin: 7px 0 0;
  color: #6a817a;
}
.feature-map {
  margin: 22px 0;
}
.feature-map > div {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #d0d9cc;
}
.feature-map dt {
  font-size: 15px;
  font-weight: 600;
  color: #3c6869;
  line-height: 1.6;
}
.feature-map dd {
  font-size: 15px;
  line-height: 1.75;
  color: #607c7d;
  margin: 0;
}
.note {
  padding: 16px 20px;
  background: #edf0e2;
  border: 1px solid #c9d6bc;
  border-radius: 4px 14px 4px 14px;
  font-size: 14px !important;
}
.callout {
  margin: 25px 0;
  padding: 21px 24px;
  background: #edf1e1;
  border-left: 3px solid #67997e;
  border-radius: 0 14px 14px 0;
}
.callout b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #467567;
}
.callout p {
  margin: 8px 0 0;
  font-size: 15px;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0 !important;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px !important;
  margin: 20px 0;
  min-height: 30px;
}
.steps li:before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  color: #6d947e;
  border: 1px solid #b6cabb;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.table-wrap {
  max-width: 100%;
  overflow: auto;
  margin: 25px 0;
  scrollbar-width: thin;
  border: 1px solid #c2d1c3;
  border-radius: 9px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 430px;
  font-size: 14px;
  line-height: 1.7;
}
th {
  background: #e6edde;
  color: #52785f;
  font-weight: 600;
  padding: 13px 15px;
  border-bottom: 1px solid #bacdbb;
}
td {
  padding: 16px 15px;
  vertical-align: top;
  color: #547079;
  border-bottom: 1px solid #d3dcce;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  font-weight: 500;
  color: #356368;
  min-width: 120px;
}
.chapter-action {
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
  padding: 10px 15px;
  border: 1px solid #99b29c;
  border-radius: 6px;
  color: #44715f;
  margin-top: 13px;
  background: #f1edda;
}
.chapter-action:hover {
  background: #e1e9d6;
}
.doc-section details {
  border-bottom: 1px solid #c9d5c5;
  padding: 17px 0;
}
.doc-section summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #426a6b;
}
.doc-section details[open] summary {
  color: #9e694e;
}
.doc-section details p {
  font-size: 15px;
  padding-left: 18px;
}
.doc-section details ul {
  font-size: 14px;
}
.addresses dt {
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
}
.addresses dd {
  margin: 7px 0 20px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.addresses code {
  white-space: normal;
  word-break: break-all;
}
code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  background: #eaf0e1;
  padding: 2px 5px;
  border-radius: 3px;
}
kbd {
  font-family: inherit;
  font-size: 0.85em;
  border: 1px solid #aabdac;
  border-radius: 4px;
  padding: 1px 5px;
  background: #fff8e6;
}
.contract-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0;
}
.contract-flow > div {
  padding: 18px 16px;
  border: 1px solid #a6bda7;
  border-radius: 5px 16px 5px 16px;
  background: #e8edda;
}
.contract-flow span {
  font-size: 11px;
  color: #899880;
}
.contract-flow b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 500;
  margin: 8px 0;
}
.contract-flow small {
  font-size: 13px;
  color: #6b8375;
}
.guide-note {
  position: sticky;
  top: 125px;
  align-self: start;
  margin-top: 75px;
  border-top: 2px solid #bba68a;
  padding-top: 17px;
}
.guide-note > span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #967f60;
}
.guide-note > p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: -0.7px;
  color: #7b927e;
  margin: 18px 0 24px;
}
.guide-note hr {
  border: 0;
  border-top: 1px solid #cbd5c4;
  margin: 22px 0;
}
.guide-note > b {
  font-size: 13px;
  font-weight: 600;
  color: #5f7d71;
}
.guide-note ol {
  font-size: 13px;
  line-height: 2.1;
  padding-left: 18px;
  color: #8ea28d;
}
.guide-note a {
  text-decoration: none;
}
.open-forge {
  display: block;
  font-size: 13px;
  padding: 11px 13px;
  background: #e3ead9;
  border: 1px solid #b8c9ae;
  border-radius: 6px;
  margin: 24px 0;
}
.guide-note small {
  font-size: 11px;
  line-height: 1.9;
  color: #97a38e;
}
.docs-footer {
  border-top: 1px solid #bacab6;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #7b907b;
  padding-top: 26px;
  margin-top: 25px;
}
.docs-footer a {
  font-size: 13px;
}
#noResults {
  padding: 50px 0;
  min-height: 60vh;
}
#noResults h1 {
  font-size: 36px;
}
#showAll {
  background: #356e63;
  border: 0;
  border-radius: 7px;
  color: #fff6e6;
  padding: 12px 18px;
}
.reference-links a {
  font-size: 15px;
}
@media (max-width: 1250px) {
  .docs-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
  }
  .guide-note {
    display: none;
  }
  .docs-header nav {
    gap: 19px;
  }
  main {
    max-width: 780px;
  }
  .contents {
    padding-right: 18px;
  }
}
@media (max-width: 800px) {
  .docs-header {
    position: relative;
    height: auto;
    flex-wrap: wrap;
    padding: 18px 20px;
    gap: 18px;
  }
  .docs-header nav {
    width: 100%;
    gap: 20px;
    overflow: auto;
    padding-bottom: 3px;
    font-size: 13px;
  }
  .docs-layout {
    display: block;
    padding: 0 20px;
  }
  .contents {
    position: relative;
    top: 0;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #bbcfbf;
    padding: 22px 0 17px;
    overflow: visible;
  }
  .library-heading,
  .contents h2,
  .sidebar-note {
    display: none;
  }
  .search-label {
    font-size: 12px;
  }
  .search-wrap input {
    font-size: 16px;
    padding: 12px 40px 12px 12px;
  }
  .search-status {
    margin-bottom: 3px;
    min-height: 0;
  }
  .contents-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    background: none;
    border: 0;
    color: #3f7067;
    padding: 13px 0 0;
    font-size: 14px;
  }
  .contents-toggle span {
    font-size: 18px;
  }
  #chapters {
    display: none;
    padding-bottom: 10px;
  }
  #chapters.expanded {
    display: block;
  }
  #chapters > a {
    font-size: 15px;
    padding: 9px 10px;
  }
  main {
    padding-top: 24px;
  }
  .reading-header {
    font-size: 9px;
    letter-spacing: 0.6px;
    margin-bottom: 26px;
    gap: 10px;
    padding-bottom: 18px;
  }
  .doc-section {
    scroll-margin-top: 20px;
    padding: 32px 0;
  }
  .introduction {
    padding-top: 0;
  }
  h1 {
    font-size: 45px;
    letter-spacing: -2.2px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 21px;
  }
  .doc-section .lead {
    font-size: 18px;
  }
  .doc-section p,
  .doc-section li {
    font-size: 16px;
  }
  .intro-actions {
    gap: 22px;
  }
  .principles {
    margin-top: 28px;
    margin-bottom: 28px;
  }
  .principles > div {
    padding: 16px 12px 16px 0;
  }
  .principles > div + div {
    padding-left: 14px;
  }
  .principles b {
    font-size: 15px;
  }
  .principles p {
    font-size: 13px;
  }
  .feature-map > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .feature-map dt {
    font-size: 16px;
  }
  .feature-map dd {
    font-size: 15px;
  }
  .callout {
    padding: 18px;
  }
  .contract-flow {
    gap: 7px;
  }
  .contract-flow > div {
    padding: 12px 9px;
  }
  .contract-flow b {
    font-size: 17px;
  }
  .contract-flow small {
    font-size: 11px;
  }
  .docs-footer {
    line-height: 1.8;
  }
  .docs-footer span {
    max-width: 180px;
  }
  .table-wrap {
    margin: 22px 0;
  }
}
@media print {
  .docs-header,
  .contents,
  .guide-note,
  .reading-header,
  .intro-actions,
  .chapter-action,
  .docs-footer {
    display: none !important;
  }
  .docs-layout {
    display: block;
    padding: 0;
  }
  body {
    background: #fff;
    color: #222;
  }
  main {
    max-width: none;
  }
  .doc-section {
    break-before: auto;
    scroll-margin: 0;
  }
  .doc-section[hidden] {
    display: block !important;
  }
  details {
    display: block;
  }
  a {
    color: inherit;
  }
  h1 {
    font-size: 36px;
  }
  h2 {
    break-after: avoid;
  }
  .callout,
  .principles,
  table {
    break-inside: avoid;
  }
}
