:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #26372a;
  background: #f5f6f0;
  font-synthesis: none;
  --ink: #263e2c;
  --muted: #72806f;
  --line: #dce1d5;
  --lime: #d7ef8b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button,
.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
  background: var(--ink);
  color: white;
}
button:hover,
.btn:hover {
  transform: translateY(-1px);
  background: #3f5942;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.secondary:hover {
  background: #e9eedf;
}
.quiet {
  padding: 8px 12px;
  background: transparent;
  color: var(--ink);
}
.quiet:hover {
  background: #e7ecdf;
}
.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 40px;
}
.nav {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.8px;
}
.brand img {
  width: 33px;
  height: 33px;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
  color: #5e6d5a;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 650;
  color: #526442;
}
.tag:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #739647;
  border-radius: 100%;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  padding: 85px 0 75px;
  align-items: center;
}
h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.22;
  letter-spacing: -2.5px;
  margin: 26px 0;
  font-weight: 650;
}
h1 em {
  font-style: normal;
  color: #749049;
}
.lead {
  font-size: 16px;
  line-height: 1.95;
  color: #657260;
  max-width: 440px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}
.subnote {
  font-size: 12px;
  color: #87907f;
  line-height: 1.8;
}
.preview {
  position: relative;
  padding: 25px 0 20px 20px;
}
.orbit {
  position: absolute;
  border: 1px solid #dfe5d5;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  top: -20px;
  left: -20px;
  z-index: -1;
}
.orbit:after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px dashed #dfe5d5;
  border-radius: 50%;
}
.mini-browser {
  background: #fff;
  border: 1px solid #d6decf;
  border-radius: 16px;
  box-shadow: 0 25px 80px #34462d0e;
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.browser-bar {
  display: flex;
  gap: 5px;
  padding: 14px 17px;
  border-bottom: 1px solid #edf0e8;
  align-items: center;
}
.browser-bar i {
  height: 6px;
  width: 6px;
  background: #dbe0d5;
  border-radius: 50%;
}
.browser-url {
  font-family: monospace;
  color: #83907e;
  font-size: 10px;
  margin: auto;
}
.preview-content {
  padding: 30px 27px 24px;
}
.tiny-label {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  color: #91a184;
}
.preview-title {
  font-size: 23px;
  margin: 10px 0 8px;
  font-weight: 650;
}
.skeleton {
  width: 75%;
  height: 6px;
  background: #edf0e7;
  border-radius: 5px;
  margin: 8px 0;
}
.preview-chat {
  margin: 25px 0 0 65px;
  background: #f7f9f2;
  border: 1px solid #dce5ce;
  border-radius: 13px;
  overflow: hidden;
}
.preview-chat header {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  padding: 13px;
  border-bottom: 1px solid #e7eddf;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e3edcc;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.live {
  font-size: 9px;
  color: #7c8c6e;
  margin-top: 3px;
}
.preview-messages {
  padding: 15px;
  font-size: 11px;
  line-height: 1.8;
}
.bubble {
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #e9edde;
  border-radius: 12px 12px 12px 3px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 90%;
  margin: 9px 0;
}
.bubble.you {
  background: #e4edcf;
  border: 0;
  margin-left: auto;
  border-radius: 12px 12px 3px 12px;
}
.bubble-meta {
  font-size: 10px;
  color: #88917e;
  margin-top: 5px;
}
.float-chip {
  position: absolute;
  left: -14px;
  bottom: 6px;
  background: var(--ink);
  color: #e1edcf;
  padding: 14px 20px;
  border-radius: 11px;
  box-shadow: 0 12px 25px #263e2c20;
  font-family: monospace;
  font-size: 11px;
  transform: rotate(2deg);
}
.strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #718168;
}
.strip span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.strip b {
  font-size: 15px;
  color: #4f673e;
}
.section {
  padding: 70px 0;
}
h2 {
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -1px;
  margin: 13px 0;
}
h3 {
  font-size: 17px;
  line-height: 1.5;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 32px;
}
.step-num {
  font: 12px monospace;
  color: #829075;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.step p {
  font-size: 13px;
  line-height: 1.9;
  color: #78836e;
}
.connect {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  background: #eaf0df;
  border: 1px solid #dbe4cf;
  border-radius: 20px;
  padding: 42px;
}
.code-card {
  border: 1px solid #d6dfcb;
  background: #f8faf4;
  border-radius: 12px;
  padding: 20px;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: #79876e;
}
.copy-code {
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  color: #405436;
  margin: 20px 0;
}
.copy-wide {
  width: 100%;
  background: var(--ink);
}
.identity-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.9;
  color: #768367;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.faq p {
  font-size: 13px;
  line-height: 1.9;
  color: #7b8574;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 11px;
  color: #84907b;
  margin-top: 20px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.page {
  max-width: 760px;
  margin: 45px auto;
  padding: 0 24px;
}
.page h1 {
  font-size: 36px;
  letter-spacing: -1px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin: 22px 0;
}
.card h2 {
  font-size: 21px;
  margin-top: 0;
}
.badge {
  display: inline-block;
  background: #e9f1d8;
  color: #557137;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 11px;
}
.fields {
  display: grid;
  gap: 20px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
input,
textarea {
  background: #fbfcf8;
  color: var(--ink);
  border: 1px solid #d3dcc9;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  font-size: 14px;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.8;
}
.check input {
  width: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}
.notice {
  background: #f4f2e7;
  border: 1px solid #e6e1c9;
  color: #797044;
  font-size: 12px;
  padding: 14px 16px;
  border-radius: 9px;
  line-height: 1.9;
}
.error {
  color: #a83c32;
  font-size: 13px;
  line-height: 1.8;
}
.success {
  color: #526f35;
  font-size: 13px;
}
.code-block {
  font:
    12px/1.9 ui-monospace,
    SFMono-Regular,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f4f6ee;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
}
.loading {
  padding: 40px;
  text-align: center;
  color: #849078;
}
.hidden {
  display: none !important;
}
.chat-shell {
  max-width: 650px;
  height: 100dvh;
  max-height: 880px;
  margin: auto;
  display: flex;
  flex-direction: column;
  background: #fafbf7;
  border: 1px solid var(--line);
}
.chat-header {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.chat-name {
  font-weight: 650;
  font-size: 15px;
}
.chat-label {
  font-size: 11px;
  color: #87917f;
  margin-top: 4px;
}
.chat-log {
  padding: 22px;
  overflow: auto;
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
}
.chat-welcome {
  text-align: center;
  padding: 26px 10px;
  color: #7c8873;
  font-size: 13px;
}
.chat-welcome .avatar {
  margin: auto;
  width: 48px;
  height: 48px;
  font-size: 23px;
}
.chat-welcome h2 {
  font-size: 20px;
  color: #405139;
}
.chat-state {
  padding: 0 20px;
  font-size: 12px;
  color: #7b886c;
  min-height: 24px;
}
.chat-form {
  padding: 14px 18px;
  display: flex;
  gap: 8px;
}
.chat-form textarea {
  resize: none;
  height: 47px;
  min-height: 47px;
  background: white;
}
.chat-form button {
  padding: 10px 17px;
}
.chat-footer {
  padding: 0 20px 14px;
  text-align: center;
  font-size: 10px;
  color: #9aa28f;
}
.demo-banner {
  padding: 10px 20px;
  font-size: 11px;
  background: #eff3e4;
  text-align: center;
  color: #71815d;
}
.suggestions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.suggestions button {
  font-size: 11px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: white;
  color: #71815d;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #263e2c;
  color: white;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 13px;
  transition: 0.2s;
  z-index: 100;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.review-card {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.review-card:first-child {
  border: 0;
}
.review-card p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.8;
}
.small {
  font-size: 11px;
}
.back {
  font-size: 12px;
  color: #7c8b6f;
}
.link {
  color: #577b36;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 850px) {
  .hero {
    gap: 30px;
  }
  .wrap {
    padding: 0 28px;
  }
  .preview-chat {
    margin-left: 25px;
  }
  .orbit {
    width: 340px;
    height: 340px;
  }
  .connect {
    gap: 30px;
    padding: 28px;
  }
  .nav-links {
    gap: 20px;
  }
}
@media (max-width: 650px) {
  .wrap {
    padding: 0 22px;
  }
  .nav {
    height: 76px;
  }
  .nav-links > a:not(.btn) {
    display: none;
  }
  .brand {
    font-size: 19px;
  }
  .nav .btn {
    padding: 10px 14px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0 42px;
    gap: 35px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -1.7px;
  }
  .lead {
    font-size: 14px;
  }
  .preview {
    max-width: 390px;
    margin: auto;
    width: 100%;
    padding-left: 14px;
  }
  .preview-content {
    padding: 22px;
  }
  .orbit {
    display: none;
  }
  .float-chip {
    left: 0;
    bottom: 0;
  }
  .strip {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .strip span:last-child {
    display: none;
  }
  .section {
    padding: 44px 0;
  }
  h2 {
    font-size: 26px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .step-num {
    padding-bottom: 10px;
  }
  .step h3 {
    margin: 13px 0 6px;
  }
  .step p {
    margin-top: 0;
  }
  .connect {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  footer {
    align-items: flex-start;
    gap: 20px;
  }
  .page {
    margin-top: 26px;
  }
  .card {
    padding: 20px;
  }
  .chat-shell {
    border: 0;
  }
  .nav-links {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Homepage: one purpose, one primary action. */
.home {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 28px;
}
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
}
.home-header > a:last-child {
  font-size: 13px;
  color: #657260;
}
.home-main {
  padding-top: 62px;
}
.home-main h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.35;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
.home-description {
  margin: 0;
  color: #657260;
  font-size: 16px;
  line-height: 1.8;
}
.home-connect {
  margin-top: 40px;
  padding: 26px;
  border: 1px solid #dce1d5;
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 24px;
}
.home-connect h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 20px;
}
.home-instructions {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 24px;
  color: #50604a;
}
.home-next {
  margin: 24px 0 12px;
  font-size: 13px;
  line-height: 1.9;
  color: #50604a;
}
.home-note {
  font-size: 12px;
  line-height: 1.9;
  color: #72806f;
  margin: 0;
}
.home-footer {
  margin-top: 36px;
  padding: 20px 0 32px;
  justify-content: flex-start;
  gap: 12px;
}
.home-footer a {
  color: #50604a;
  font-size: 13px;
}
.home-footer a:hover,
.home-header > a:last-child:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 650px) {
  .home {
    padding: 0 22px;
  }
  .home-header {
    padding: 24px 0;
  }
  .home-main {
    padding-top: 36px;
  }
  .home-description {
    font-size: 14px;
  }
  .home-connect {
    margin-top: 28px;
    padding: 20px;
  }
  .home-instructions {
    font-size: 13px;
  }
  .home-connect button {
    width: 100%;
  }
}
