@font-face {
  font-family: system;
  src: local("Segoe UI");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #213b3b;
  background: #f7f9f8;
  font-family: system, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: #096f66;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d18b32;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 48px;
  line-height: 1.13;
  letter-spacing: -1.8px;
  font-weight: 650;
  white-space: pre-line;
}
h2 {
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}
button {
  border: 0;
}
.header {
  height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid #dde7e3;
  background: #fff;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #173f3d;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.brand:hover {
  text-decoration: none;
}
.brandmark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #126a60;
  color: #fff;
  font-size: 32px;
  font-weight: 750;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #6b817b;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}
.internal {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #75867f;
}
.text-button {
  background: transparent;
  color: #61726c;
}
.workspace {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
  min-height: calc(100vh - 155px);
}
.sidebar {
  border-right: 1px solid #dde7e3;
  padding: 32px 20px;
  background: #fff;
}
.home-link {
  display: block;
  padding: 12px;
  background: #eaf3ef;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #839089;
  margin: 30px 12px 12px;
}
#topics a {
  display: block;
  padding: 9px 12px;
  color: #5a6d68;
  font-size: 12px;
  border-radius: 6px;
}
#topics a:hover,
#topics a[aria-current] {
  background: #edf5f1;
  color: #076c61;
  text-decoration: none;
}
.sidebar-note {
  margin: 38px 12px;
  font-size: 11px;
  color: #527468;
}
.sidebar-note p {
  font-size: 11px;
  color: #8b9791;
  margin-top: 8px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #25806b;
  border-radius: 50%;
  margin-right: 7px;
}
main {
  padding: 40px 48px 64px;
  min-width: 0;
}
.hero {
  padding: 36px 40px 30px;
  background: #e8f2ed;
  border: 1px solid #d6e6dc;
  border-radius: 16px;
  position: relative;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #5a8173;
  margin-bottom: 16px;
}
.hero h1 {
  color: #173f36;
  margin-bottom: 18px;
}
.hero-copy {
  color: #657e72;
  margin-bottom: 25px;
  font-size: 15px;
}
.search {
  display: flex;
  align-items: center;
  background: white;
  padding: 8px;
  border-radius: 9px;
  border: 1px solid #c8dbd0;
  box-shadow: 0 6px 16px #21463a08;
  max-width: 690px;
}
.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 12px 8px;
  outline-offset: 0;
  background: transparent;
  font-size: 13px;
}
.search-icon {
  font-size: 25px;
  color: #6d877a;
  margin-left: 10px;
}
.search button,
.primary {
  background: #176d5f;
  color: white;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}
.primary:hover {
  background: #10594e;
  text-decoration: none;
}
.quick-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 21px;
  font-size: 11px;
}
.quick-links span {
  font-size: 9px;
  letter-spacing: 1px;
  color: #86988d;
}
.quick-links a {
  color: #507867;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.trust-strip {
  display: flex;
  gap: 22px;
  padding: 19px 6px;
  color: #85968b;
  font-size: 10px;
  border-bottom: 1px solid #e0e8e2;
}
.section {
  margin-top: 36px;
}
.section .eyebrow {
  margin-bottom: 8px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  display: block;
  padding: 22px;
  background: #fff;
  border: 1px solid #e0e7e2;
  border-radius: 10px;
  color: #24473c;
  transition:
    transform 0.16s,
    border-color 0.16s;
}
.category-card:hover,
.article-card:hover {
  border-color: #74a791;
  transform: translateY(-2px);
  text-decoration: none;
}
.category-icon {
  display: grid;
  place-items: center;
  background: #edf4ef;
  color: #387b61;
  font-size: 23px;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  margin-bottom: 18px;
}
.category-card h3 {
  margin-bottom: 7px;
}
.category-card p {
  font-size: 12px;
  color: #859489;
  min-height: 40px;
  line-height: 1.6;
  margin-bottom: 13px;
}
.category-count {
  font-size: 10px;
  color: #578674;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.article-card {
  display: block;
  padding: 22px;
  background: white;
  border: 1px solid #e0e7e2;
  border-radius: 10px;
  color: #24473c;
  transition:
    transform 0.16s,
    border-color 0.16s;
}
.article-card p {
  font-size: 12px;
  color: #7e8d82;
}
.article-icon {
  font-size: 22px;
  color: #70977c;
  display: block;
  margin-bottom: 14px;
}
.badge {
  display: inline-block;
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 5px;
  font-weight: 600;
}
.verified {
  background: #e9f4ec;
  color: #3c7960;
}
.partial {
  background: #fbf0d9;
  color: #896729;
}
.search-results:empty {
  display: none;
}
.search-results {
  margin-top: 24px;
  scroll-margin-top: 20px;
}
.search-results .article-card {
  margin: 12px 0;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #88958d;
  margin-bottom: 32px;
}
.page-title {
  font-size: 38px;
  max-width: 820px;
}
.intro {
  font-size: 17px;
  color: #6e8578;
  margin: 20px 0;
}
.article {
  max-width: 900px;
}
.article-section {
  margin: 30px 0;
}
.article-section h2 {
  font-size: 22px;
}
.article-section p,
.article-section li {
  font-size: 14px;
  color: #536a5e;
}
.article-section li {
  margin-bottom: 12px;
}
.steps {
  padding-left: 26px;
}
.steps li {
  padding-left: 8px;
  margin-bottom: 20px;
}
.steps li::marker {
  color: #15745c;
  font-weight: 700;
}
.version-note,
.scope {
  padding: 18px 20px;
  border-radius: 8px;
  background: #fbf3df;
  border-left: 3px solid #c5a455;
  font-size: 12px;
  margin: 22px 0;
  color: #756438;
}
.scope {
  background: #edf3ef;
  border-color: #86aa93;
  color: #5a7262;
}
.scope p {
  margin: 6px 0 0;
}
.screenshots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.screenshots figure {
  margin: 0;
}
.screenshots button {
  display: block;
  padding: 0;
  border: 1px solid #dce4dd;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  background: #fff;
}
.screenshots img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top;
}
.screenshots figcaption {
  font-size: 10px;
  color: #7f8d81;
  padding: 8px 0;
}
.feedback {
  border-top: 1px solid #dce6dc;
  padding: 24px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.secondary {
  background: #fff;
  border: 1px solid #cddfd1;
  border-radius: 6px;
  padding: 7px 12px;
  color: #47765a;
  font-size: 12px;
}
.source-note {
  font-size: 10px;
  color: #8d998e;
}
.ai-launch {
  position: fixed;
  right: 28px;
  bottom: 26px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #174f45;
  color: #fff;
  padding: 13px 20px;
  border-radius: 50px;
  box-shadow: 0 5px 20px #123c3930;
  font-size: 12px;
  z-index: 3;
}
.ai-launch span {
  color: #e6cc88;
  font-size: 20px;
}
dialog {
  border: 1px solid #dce6df;
  border-radius: 14px;
  box-shadow: 0 20px 90px #173a3430;
  padding: 0;
  color: #25483c;
}
dialog::backdrop {
  background: #162f3266;
  backdrop-filter: blur(3px);
}
.ai-dialog {
  width: 470px;
  max-width: calc(100% - 24px);
  max-height: 90vh;
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #e9f3ec;
  padding: 22px;
}
.dialog-head p {
  font-size: 11px;
  color: #778d7d;
  margin: 4px 0 0;
}
.close {
  background: transparent;
  font-size: 26px;
  color: #58766a;
  padding: 0 8px;
}
.ai-body {
  padding: 24px;
}
.ai-intro {
  font-weight: 600;
}
.ai-intro p {
  font-size: 13px;
  font-weight: 400;
  color: #718575;
  margin-top: 9px;
}
.privacy {
  font-size: 11px;
  color: #8b927e;
  border: 1px solid #e7e6d5;
  background: #faf9ee;
  padding: 12px;
  border-radius: 8px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
textarea {
  width: 100%;
  border: 1px solid #cddfd0;
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
  margin-bottom: 12px;
  font-size: 13px;
}
#answer {
  margin-top: 22px;
  font-size: 13px;
}
.answer-text {
  white-space: pre-wrap;
}
.citation {
  display: block;
  padding: 10px;
  border: 1px solid #dbe6dc;
  border-radius: 6px;
  margin: 8px 0;
}
.lightbox {
  max-width: 95vw;
  max-height: 95vh;
  padding: 16px;
}
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.lightbox .close {
  float: right;
}
.lightbox p {
  font-size: 12px;
  margin-top: 8px;
}
.login {
  max-width: 620px;
  margin: 10vh auto;
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  border: 1px solid #dde7df;
}
.login .brandmark {
  margin-bottom: 30px;
}
.login h1 {
  font-size: 48px;
}
.login p {
  color: #78907e;
}
.login .small {
  font-size: 11px;
  margin-top: 22px;
}
footer {
  padding: 20px 40px;
  border-top: 1px solid #e1e9e2;
  font-size: 10px;
  color: #8a998d;
  display: flex;
  justify-content: space-between;
  padding-right: 230px;
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 10;
  padding: 10px;
  background: #fff;
}
.muted {
  color: #8a978b;
  font-size: 12px;
}
#menu-toggle {
  display: none;
}
.loading {
  color: #8c9c90;
}
@media (min-width: 1450px) {
  main {
    padding: 48px 65px;
  }
  .hero {
    padding: 44px 48px;
  }
}
@media (max-width: 1100px) {
  .header {
    padding: 0 24px;
  }
  .internal {
    display: none;
  }
  .workspace {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  main {
    padding: 28px;
  }
  .hero {
    padding: 28px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .category-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-strip {
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}
@media (max-width: 720px) {
  .header {
    height: 75px;
    padding: 0 18px;
  }
  .brand {
    font-size: 20px;
  }
  .brandmark {
    width: 36px;
    height: 36px;
    font-size: 27px;
  }
  .brand-sub {
    font-size: 7px;
  }
  .topnav {
    gap: 12px;
    font-size: 11px;
  }
  .topnav > a {
    display: none;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid #dfe8e1;
  }
  #menu-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    background: #fff;
    color: #547d65;
    font-size: 12px;
  }
  #category-nav {
    display: none;
    padding-bottom: 14px;
  }
  #category-nav.expanded {
    display: block;
  }
  .sidebar-note {
    display: none;
  }
  main {
    padding: 22px 18px 85px;
  }
  .hero {
    padding: 26px 21px;
    border-radius: 12px;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.2px;
  }
  .hero-copy {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .search {
    padding: 5px;
  }
  .search input {
    font-size: 11px;
    width: 100px;
    padding: 10px 4px;
  }
  .search button {
    font-size: 10px;
    padding: 10px;
  }
  .search-icon {
    margin-left: 4px;
    font-size: 20px;
  }
  .quick-links {
    gap: 10px;
    font-size: 10px;
  }
  .quick-links span {
    width: 100%;
    font-size: 8px;
  }
  .trust-strip {
    font-size: 9px;
    gap: 8px 12px;
    padding: 16px 0;
  }
  h2 {
    font-size: 23px;
  }
  .category-grid {
    gap: 10px;
  }
  .category-card {
    padding: 16px;
  }
  .category-card h3 {
    font-size: 14px;
  }
  .category-card p {
    font-size: 11px;
    min-height: 52px;
  }
  .category-icon {
    width: 34px;
    height: 34px;
    font-size: 21px;
    margin-bottom: 12px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .page-title {
    font-size: 30px;
  }
  .intro {
    font-size: 15px;
  }
  .screenshots {
    grid-template-columns: 1fr;
  }
  .screenshots img {
    height: auto;
  }
  .breadcrumbs {
    font-size: 10px;
    gap: 7px;
    margin-bottom: 22px;
  }
  .ai-launch {
    right: 16px;
    bottom: 16px;
    font-size: 11px;
    padding: 10px 16px;
  }
  footer {
    padding: 20px;
    display: block;
  }
  footer span {
    display: block;
    margin-top: 6px;
  }
  .login {
    margin: 6vh 18px;
    padding: 30px;
  }
  .login h1 {
    font-size: 36px;
  }
  .scope,
  .version-note {
    font-size: 11px;
    padding: 14px;
  }
  .feedback strong {
    width: 100%;
  }
}
.category-card p,
.article-card p,
.category-count,
.muted,
.trust-strip,
.source-note,
.screenshots figcaption,
.sidebar-note p,
.internal,
.brand-sub,
.privacy,
footer {
  color: #607568;
}
