:root {
  --bar: #075E54;
  --out: #DCF8C6;
  --in: #FFFFFF;
  --ink: #111B21;
  --paper: #ECE5DD;
  --tick: #34B7F1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  background-image:
    radial-gradient(rgba(7, 94, 84, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(17, 27, 33, 0.04) 1px, transparent 1px);
  background-size: 18px 18px, 42px 42px;
  color: var(--ink);
  line-height: 1.65;
}

.wrap { width: min(760px, calc(100% - 24px)); margin: 0 auto; }

.chat-bar {
  background: var(--bar);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.brand svg { width: 22px; height: 22px; }
nav { display: flex; flex-wrap: wrap; gap: 12px; }
nav a { color: #E7FFDB; text-decoration: none; font-size: 14px; }
nav a:hover { text-decoration: underline; }

.hero { padding: 28px 0 10px; }
.thread { display: flex; flex-direction: column; gap: 10px; }
.day {
  align-self: center;
  background: #E1F3FB;
  color: #54656F;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
}

.bubble {
  max-width: 88%;
  padding: 10px 12px 12px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.bubble.in {
  align-self: flex-start;
  background: var(--in);
  border-top-left-radius: 2px;
}
.bubble.out {
  align-self: flex-end;
  background: var(--out);
  border-top-right-radius: 2px;
}
.bubble.wide { max-width: 100%; }
.who { color: var(--bar); font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.hero h1 { font-size: clamp(22px, 4vw, 30px); line-height: 1.3; }

.cta-wrap { text-align: center; margin: 8px 0 4px; }
.cta {
  display: inline-block;
  background: var(--bar);
  color: #fff;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 24px;
  font-weight: 700;
}
.cta:hover { background: #064C44; }

.block { padding: 28px 0; }
h2 { font-size: 24px; margin-bottom: 10px; color: var(--bar); }
.lead { margin-bottom: 14px; }

.row-cards { display: grid; gap: 10px; }
.row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.08);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bar);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.row h3 { font-size: 16px; margin-bottom: 4px; }

.stack { display: flex; flex-direction: column; gap: 10px; }
.stack h3 { font-size: 16px; margin-bottom: 4px; }

.attach-bubbles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.attach {
  background: #fff;
  border-radius: 10px 10px 10px 2px;
  padding: 14px;
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.08);
}
.attach.warn { background: #FFF7D1; }
.attach svg { width: 26px; height: 26px; color: var(--bar); margin-bottom: 6px; }
.attach h3 { font-size: 16px; margin-bottom: 6px; }

.step-bubbles { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.step-bubbles li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  max-width: 92%;
}
.step-bubbles span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--bar);
  color: #fff;
  font-size: 13px;
}
.step-bubbles .in span { background: #fff; color: var(--bar); border: 2px solid var(--bar); }
.step-bubbles h3 { font-size: 16px; }

.two-col { display: flex; flex-direction: column; gap: 10px; }
.two-col p + p { margin-top: 8px; }

.browser-chips { list-style: none; display: grid; gap: 8px; margin-bottom: 12px; }
.browser-chips li {
  background: #fff;
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.browser-chips svg { width: 20px; height: 20px; color: var(--bar); flex: 0 0 auto; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.col {
  padding: 14px;
  border-radius: 12px;
}
.col.left { background: var(--out); }
.col.right { background: #fff; }
.col h3 { margin-bottom: 8px; }
.col ul { padding-left: 18px; }
.col li { margin-bottom: 6px; }

.bound {
  margin-top: 12px;
  background: #fff;
  border-left: 4px solid var(--bar);
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
}

.faq-pairs { display: flex; flex-direction: column; gap: 8px; }
.faq-pairs .q { font-weight: 700; }
.faq-pairs .bubble { max-width: 94%; }

footer {
  background: var(--bar);
  color: #E7FFDB;
  padding: 24px 0;
  font-size: 14px;
}
footer p + p { margin-top: 6px; }

@media (max-width: 720px) {
  .attach-bubbles, .compare { grid-template-columns: 1fr; }
  .bar-inner { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  .bubble { max-width: 96%; }
}

#news .news-list { list-style: none; }
#news .news-list li { background: #dcf8c6; border-radius: 0 16px 16px 16px; padding: 14px 16px; margin: 0 12% 12px 0; }
#news .news-list li:nth-child(even) { background: #fff; margin: 0 0 12px 12%; border-radius: 16px 0 16px 16px; }
#news time { color: #075e54; font-size: 12px; font-weight: 700; }
#news .news-list h3 { margin: 6px 0; font-size: 16px; }
