@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --ink: #17241e;
  --muted: #5f6b63;
  --line: #dfe4db;
  --paper: #fbfbf7;
  --canvas: #f4f3ed;
  --green: #183c2e;
  --green-soft: #e7eee7;
  --lime: #c8ed83;
  --orange: #e4815a;
  --focus: #547d38;
  --radius: 18px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: #fff;
  background: var(--green);
}

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

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: -.055em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 34px;
  height: 34px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: .88rem;
}

.primary-nav a,
.language-link,
.site-footer a {
  text-decoration: none;
}

.primary-nav a:hover,
.language-link:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.language-link {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .04em;
}

.github-link {
  color: var(--muted);
  font-size: .86rem;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: clamp(32px, 7vw, 90px);
  padding: clamp(70px, 11vw, 135px) 0 95px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #54734f;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  font-weight: 570;
  letter-spacing: -.075em;
  line-height: .98;
}

h1 em {
  color: #668e4e;
  font-style: normal;
}

.lede {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.6;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 720;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.button.primary:hover {
  background: #28523e;
}

.button.quiet {
  color: var(--green);
  background: var(--paper);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid #d8e1d4;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgb(24 60 46 / 8%);
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid #dfe9d8;
  border-radius: 50%;
  content: "";
}

.hero-panel::before {
  top: -100px;
  right: -80px;
}

.hero-panel::after {
  right: -20px;
  bottom: -155px;
}

.local-badge,
.local-status,
.local-address,
.hero-list {
  position: relative;
  z-index: 1;
}

.local-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-size: .7rem;
  font-weight: 750;
}

.local-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b9250;
  box-shadow: 0 0 0 4px #e9f1e3;
}

.local-status {
  margin: 26px 0 3px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.local-address {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 720;
  letter-spacing: -.06em;
}

.local-address code {
  font: inherit;
}

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  padding: 6px 9px;
  border-radius: 7px;
  color: #53685a;
  background: var(--green-soft);
  font-size: .68rem;
  font-weight: 650;
}

.section {
  padding: 82px 0;
}

.section.tinted {
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading h2,
.guide-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 570;
  letter-spacing: -.06em;
  line-height: 1.06;
}

.section-heading p:not(.eyebrow) {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
}

.quickstart-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.quickstart-step {
  min-height: 190px;
  padding: 25px;
}

.quickstart-step + .quickstart-step {
  border-left: 1px solid var(--line);
}

.step-number {
  display: block;
  margin-bottom: 25px;
  color: #6b9250;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.quickstart-step h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
  letter-spacing: -.025em;
}

.quickstart-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.inline-code,
.command {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid #dfe4db;
  border-radius: 6px;
  color: var(--green);
  background: #f5f7f1;
  font-size: .85em;
}

.command-block {
  display: block;
  overflow-x: auto;
  margin: 14px 0 0;
  padding: 15px 17px;
  border-radius: 10px;
  color: #f7f8f3;
  background: var(--green);
  font-size: .9rem;
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  text-decoration: none;
}

.card:hover {
  border-color: #aac19b;
}

.card-label {
  margin-bottom: 18px;
  color: #65834e;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -.035em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.card .card-arrow {
  margin-top: auto;
  padding-top: 20px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 750;
}

.coming-soon {
  border-style: dashed;
  background: transparent;
}

.coming-soon .card-label {
  color: #9a5c37;
}

.security-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.security-item {
  padding: 21px;
  border-left: 3px solid var(--lime);
  background: var(--paper);
}

.security-item h3 {
  margin: 0 0 7px;
  font-size: .98rem;
}

.security-item p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.page-main {
  padding: 56px 0 100px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: .79rem;
}

.breadcrumbs a {
  color: var(--green);
  text-decoration: none;
}

.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  align-items: start;
  gap: clamp(35px, 7vw, 85px);
}

.guide-nav {
  position: sticky;
  top: 25px;
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-nav .eyebrow {
  margin: 0 0 7px;
  padding: 0 12px;
}

.guide-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .86rem;
  text-decoration: none;
}

.guide-nav a:hover,
.guide-nav a[aria-current="page"] {
  color: var(--green);
  background: var(--green-soft);
}

.guide-intro {
  margin-bottom: 38px;
}

.guide-intro .eyebrow {
  margin-bottom: 12px;
}

.guide-intro h1 {
  margin-bottom: 15px;
}

.guide-intro p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -.04em;
}

.prose h3 {
  margin: 25px 0 8px;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: #4e5e53;
  font-size: .96rem;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul,
.prose ol {
  padding-left: 23px;
}

.prose li + li {
  margin-top: 7px;
}

.prose a {
  color: #28523e;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.info-box,
.warning-box {
  margin: 22px 0;
  padding: 17px 19px;
  border: 1px solid #d7e4cf;
  border-radius: 12px;
  color: #355440;
  background: #eef4e9;
}

.info-box p:last-child,
.warning-box p:last-child {
  margin-bottom: 0;
}

.warning-box {
  border-color: #ecd6c4;
  color: #694528;
  background: #faf1e8;
}

.page-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.page-actions a {
  color: var(--green);
  font-size: .86rem;
  font-weight: 720;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 760;
}

.footer-brand img {
  width: 23px;
  height: 23px;
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 78px;
  }

  .hero-panel {
    min-height: 240px;
  }

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

  .security-strip {
    grid-template-columns: 1fr;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-nav .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .site-header {
    min-height: 70px;
    gap: 14px;
  }

  .primary-nav {
    gap: 12px;
    font-size: .75rem;
  }

  .primary-nav a:nth-child(2) {
    display: none;
  }

  .github-link {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .hero {
    padding: 65px 0 60px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p:not(.eyebrow) {
    margin-top: 14px;
  }

  .quickstart-card,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .quickstart-step {
    min-height: auto;
  }

  .quickstart-step + .quickstart-step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step-number {
    margin-bottom: 12px;
  }

  .guide-nav {
    grid-template-columns: 1fr 1fr;
  }

  .page-main {
    padding-top: 35px;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
