@font-face {
  font-family: "Source Sans 3 Variable";
  src: url("/_astro/source-sans-3-latin-wght-normal.BqRLTx4X.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
.site-footer > .shell {
  width: min(1200px, calc(100% - clamp(40px, 12vw, 200px)));
  margin-inline: auto;
}
.site-footer .brand-text-ki { color: #668200; }
[data-theme="dark"] .site-footer .brand-text-ki { color: var(--lime); }
.site-footer .footer-legal p { margin: 0; }
.site-footer .footer-theme > svg { width: 20px; height: 20px; }

.chat-root {
  --chat-paper: #191d17;
  --chat-line: #3a4534;
  --chat-muted: #c0cab9;
  color: var(--white);
}
.chat-root .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.chat-launcher, .chat-panel { position: fixed; z-index: 9000; }
.chat-launcher {
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid #efffb2;
  border-radius: 50%;
  padding: 0;
  background: var(--lime);
  color: var(--ink);
  font-size: 36px;
  box-shadow: 0 12px 32px #0007;
  touch-action: none;
}
.chat-launcher:hover { background: #edffae; }
.chat-panel {
  right: 20px;
  bottom: 94px;
  width: min(410px, calc(100vw - 32px));
  max-height: min(640px, calc(100dvh - 114px));
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: var(--chat-paper);
  border: 1px solid var(--chat-line);
  border-radius: 22px;
  box-shadow: 0 20px 84px #000a;
}
.chat-panel[hidden] { display: none; }
.chat-panel > * { flex-shrink: 0; }
.chat-header, .chat-heading, .chat-toolbar, .chat-form, .chat-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-header, .chat-toolbar, .chat-footer { justify-content: space-between; }
.chat-header { padding: 14px; background: #242d20; }
.chat-mini-logo {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--ink);
  background: var(--lime);
  font-size: 24px;
}
.chat-header h2 { margin: 0 0 4px; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.025em; }
.chat-header p { margin: 0; font-size: .73rem; line-height: 1.3; color: var(--chat-muted); }
.chat-panel .icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
}
.chat-panel .icon-button:hover { background: var(--chat-line); }
.chat-toolbar, .chat-footer { padding: 6px 14px; font-size: .76rem; color: var(--chat-muted); }
.chat-reset {
  min-height: 44px;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: var(--lime);
}
.chat-history {
  flex: 1 1 auto;
  min-height: 105px;
  overflow-y: auto;
  padding: 0 14px 8px;
}
.chat-message {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 8px;
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  background: #2a3425;
  font-size: .9rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.chat-message.user {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
  background: var(--lime);
  color: var(--ink);
}
.chat-prepared-label { display: block; margin-bottom: 6px; font-size: .75rem; color: var(--chat-muted); }
.chat-message a, .chat-contact { color: var(--lime); text-decoration: underline; }
.chat-suggestions { display: flex; gap: 7px; overflow-x: auto; padding: 0 14px 8px; }
.chat-suggestions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--chat-line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: .8rem;
}
.chat-suggestions button:hover { border-color: var(--lime); }
.chat-suggestions svg, .chat-contact svg { width: 14px; height: 14px; vertical-align: middle; }
.chat-form { padding: 8px 14px; border-top: 1px solid var(--chat-line); }
.chat-form input {
  flex: 1;
  width: 0;
  min-height: 44px;
  border: 1px solid var(--chat-line);
  border-radius: 12px;
  padding: 0 10px;
  background: #11150f;
  color: var(--white);
}
.chat-form .icon-button, .chat-form .icon-button:hover { background: var(--lime); color: var(--ink); }
.chat-footer { align-items: flex-start; border-top: 1px solid var(--chat-line); }
.chat-safety { padding: 0 14px 8px; margin: 0; color: var(--chat-muted); font-size: .72rem; }
.chat-root :focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.chat-root button:disabled { opacity: .55; cursor: default; }
@media (max-width: 600px) {
  .chat-launcher { width: 54px; height: 54px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .chat-panel { inset: auto 12px max(78px, calc(env(safe-area-inset-bottom) + 66px)) auto; width: calc(100vw - 24px); }
}

.contact-form [hidden] { display: none !important; }
[data-inquiry-choices] {
  margin: 0;
  min-inline-size: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
[data-inquiry-choices] legend {
  display: block;
  margin-bottom: 12px;
  padding: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
}
.contact-form [data-inquiry-choices] button {
  min-height: 44px;
  max-width: 100%;
  border: 1px solid #73826a;
  border-radius: 100px;
  background: transparent;
  color: var(--white);
  padding: 8px 14px;
}
.contact-form [data-inquiry-choices] button:hover,
.contact-form [data-inquiry-choices] button[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
[data-inquiry-details] { display: grid; gap: 12px; }

.service-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
  width: min(1100px, 90%);
  margin: 0 auto clamp(40px, 8vw, 100px);
  padding: clamp(16px, 4vw, 48px);
  background: #242b21;
  border-radius: 24px;
}
.service-example img { display: block; width: 100%; height: auto; border-radius: 14px; }
.service-example h2 { font-size: clamp(1.85rem, 4vw, 3.5rem); line-height: 1.05; }
.service-example a + a { margin-top: 14px; }
.service-example a { display: flex; width: fit-content; white-space: normal; }
.service-example a:not(.round-button) { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .service-example { grid-template-columns: minmax(0, 1fr); }
  .contact-form .form-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .contact-form :is(input, select, textarea) { font-size: 16px; }
}

.page-breadcrumb {
  max-width: 76rem;
  margin-inline: auto;
  padding: clamp(7.5rem, 12vw, 10rem) clamp(20px, 5vw, 60px) 0;
  color: #b6c1b0;
  font-size: .875rem;
}
.page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-breadcrumb li { display: flex; gap: 12px; min-width: 0; }
.page-breadcrumb li + li::before { content: "/"; color: #7d8d73; }
.page-breadcrumb a { text-underline-offset: 4px; }
.page-breadcrumb a:hover { color: var(--lime); text-decoration: underline; }
.page-breadcrumb [aria-current] { color: var(--white); overflow-wrap: anywhere; }
.page-breadcrumb + .inner-hero { padding-top: clamp(35px, 6vw, 85px); }
.article-toc,
.quick-answer {
  margin: 0 0 clamp(24px, 5vw, 48px);
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid #44543d;
  border-radius: 18px;
  background: #20271e;
}
.article-toc strong { color: var(--white); font-size: 1.1rem; }
.article-toc ol { margin: 12px 0 0; padding-left: 1.3rem; }
.article-toc li + li { margin-top: 7px; }
.article-content .article-toc a { color: #d8e3d1; text-underline-offset: 4px; }
.article-content .article-toc a:hover { color: var(--lime); }
.article-content .quick-answer h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}
.article-content .quick-answer p { margin: 0; }
.article-content h2[id] { scroll-margin-top: 110px; }

.contact-form .inquiry-project-example {
  margin: -6px 0 4px;
  color: #c4cebf;
  font-size: .875rem;
  line-height: 1.45;
}
.contact-form [data-inquiry-choices] button[aria-pressed="true"] {
  box-shadow: 0 0 0 2px #1d221b, 0 0 0 3px var(--lime);
}
@media (max-width: 480px) {
  .contact-form [data-inquiry-choices] button { padding-inline: 12px; }
  .contact-form [data-inquiry-details] button[type="submit"] { width: 100%; justify-content: center; }
}
