:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #171717;
  background: #fff;
  --gold: #8a5900;
  --green: #245f2c;
  --ink: #111b24;
  --cream: #fff9ef;
  --line: #e2ded5;
  --muted: #60605b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
.global {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 78px;
  padding: 0.75rem clamp(1rem, 5vw, 5rem);
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: grid;
  grid-template-columns: auto auto;
  width: max-content;
  line-height: 0.85;
  text-decoration: none;
  font-size: 1.65rem;
  font-weight: 900;
  min-height: 44px;
  align-content: center;
}
.brand strong {
  color: var(--gold);
}
.brand small {
  grid-column: 1/3;
  margin-top: 0.5rem;
  font-size: 0.54rem;
  font-weight: 600;
  color: #444;
}
.global nav {
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
}
.global nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}
.global nav .active {
  color: #8a5a00;
}
.docs-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 860px);
  gap: clamp(2rem, 6vw, 6rem);
  width: min(1280px, 94vw);
  margin: 0 auto;
}
.docs-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  gap: 0.6rem;
  padding: 3rem 0;
}
.docs-nav b {
  margin-top: 1.2rem;
  color: #8b6200;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.docs-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #4e4e49;
  font-size: 0.9rem;
}
.document {
  padding: 3rem 0 7rem;
}
.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  color: #72726c;
  font-size: 0.82rem;
}
.document article {
  font-size: 1.02rem;
  line-height: 1.75;
}
.document-status {
  margin-top: 2rem;
  color: #2f6f37;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.document h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.document h2 {
  margin-top: 2.8rem;
  font-size: 2rem;
  line-height: 1.15;
}
.document h3 {
  margin-top: 2.2rem;
}
.document p,
.document li {
  color: #42423e;
}
.document a {
  color: #276431;
}
.document pre {
  overflow: auto;
  padding: 1rem;
  color: #ecf5eb;
  background: var(--ink);
  border-radius: 9px;
}
.document code {
  font-size: 0.9em;
}
.document :not(pre) > code {
  padding: 0.15rem 0.35rem;
  background: #f0ede6;
  border-radius: 4px;
}
.document table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
}
.document th,
.document td {
  padding: 0.65rem;
  border: 1px solid var(--line);
  text-align: left;
}
.document blockquote {
  margin-left: 0;
  padding: 0.2rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: var(--cream);
}
.document img {
  max-width: 100%;
  height: auto;
}
.doc-help {
  margin-top: 4rem;
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid #ecdcae;
  border-radius: 12px;
}
.doc-help p {
  margin: 0.3rem 0;
}
.docs-home,
.landing {
  width: min(1180px, 92vw);
  margin: auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
}
.docs-hero {
  max-width: 900px;
}
.eyebrow {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.docs-hero h1,
.landing h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin: 0.5rem 0 1.4rem;
}
.docs-hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.docs-hero > p,
.landing-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}
.search {
  position: relative;
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
  font-weight: 800;
}
.search input {
  min-height: 58px;
  padding: 1rem;
  border: 2px solid #aaa398;
  border-radius: 10px;
  font: inherit;
}
.search span:not(:empty) {
  position: absolute;
  z-index: 3;
  top: 86px;
  display: grid;
  width: 100%;
  padding: 0.5rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 15px 40px #3322001f;
}
.search span a {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem;
  text-decoration: none;
}
.search span small {
  color: #777;
}
.doc-cards,
.landing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 4rem 0;
}
.doc-cards a,
.landing-cards a {
  min-height: 190px;
  padding: 1.5rem;
  text-decoration: none;
  background: var(--cream);
  border: 1px solid #e7ddc8;
  border-radius: 14px;
}
.doc-cards b,
.landing-cards b {
  font-size: 1.3rem;
}
.doc-cards p,
.landing-cards p {
  color: var(--muted);
  line-height: 1.6;
}
.doc-cards span,
.landing-cards span {
  color: #23602a;
  font-weight: 850;
}
.all-docs h2 {
  font-size: 2.5rem;
}
.doc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.doc-list a {
  padding: 1.1rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.doc-list small {
  display: block;
  color: #8b6200;
  text-transform: uppercase;
}
.doc-list b {
  display: block;
  margin: 0.4rem 0;
}
.doc-list p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}
.landing {
  min-height: 75vh;
}
.landing-cards {
  grid-template-columns: repeat(2, 1fr);
}
footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 3rem clamp(1rem, 6vw, 6rem);
  color: white;
  background: var(--ink);
}
footer p,
footer small {
  color: #c9ceca;
}
footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
footer nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.15rem;
  text-decoration: none;
}
a:focus-visible,
input:focus-visible {
  outline: 3px solid #1b65b9;
  outline-offset: 3px;
}
footer small {
  grid-column: 1/3;
}
@media (max-width: 850px) {
  .global nav a:not(:last-child) {
    display: none;
  }
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-nav {
    position: static;
    display: none;
  }
  .document {
    padding-top: 2rem;
  }
  .doc-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .doc-cards,
  .landing-cards,
  .doc-list {
    grid-template-columns: 1fr;
  }
  .global {
    gap: 1rem;
  }
  .global nav {
    margin-left: auto;
  }
  .global nav a:last-child {
    padding: 0.6rem;
    background: var(--gold);
    border-radius: 8px;
  }
  .document h1 {
    font-size: 2.8rem;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer small {
    grid-column: auto;
  }
}
