/* WhatsApp Web 安全连接 — desktop window chrome */
:root {
  --slate: #2B2D42;
  --steel: #8D99AE;
  --fog: #EDF2F4;
  --green: #25D366;
  --ink: #1d1f30;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Consolas, "Sarasa Gothic SC", "Microsoft YaHei", monospace;
  background: #d8dee6;
  color: var(--ink);
  line-height: 1.7;
}

.desk {
  width: min(1160px, calc(100% - 28px));
  margin: 18px auto 40px;
}
a { color: #1b7d44; }

.menubar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--slate);
  color: #dfe6ee;
  padding: 10px 14px;
  border-radius: 8px 8px 0 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.brand svg { width: 18px; height: 18px; fill: var(--green); }
.nav { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.nav a {
  color: #c9d3df;
  text-decoration: none;
  font-size: 12px;
}
.nav a:hover { color: var(--green); }

.chrome {
  background: var(--fog);
  border: 1px solid #c5ced8;
  border-top: 0;
  box-shadow: 0 18px 40px rgba(43, 45, 66, 0.18);
}
.titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f9fb;
  border-bottom: 1px solid #d3dae3;
  padding: 10px 14px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ef5a4f; }
.dot.y { background: #f5c04e; }
.dot.g { background: #61c554; }
.title-text {
  margin-left: 8px;
  color: var(--steel);
  font-size: 12px;
}

.hero-pane {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 36px 32px 32px;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--fog) 100%);
}
h1 {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--slate);
  line-height: 1.28;
  margin-bottom: 14px;
}
.hero-pane p { margin-bottom: 10px; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--green);
  color: #0c2a16 !important;
  text-decoration: none;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 6px;
}
.side-visual {
  background: var(--slate);
  color: #d7dde8;
  border-radius: 8px;
  padding: 16px;
  font-size: 12px;
}
.side-visual .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #4a4d66;
}
.side-visual .ok { color: var(--green); }

.page { background: #eef1f5; padding: 8px 0 28px; }
section {
  width: min(1100px, calc(100% - 36px));
  margin: 28px auto;
  background: #fff;
  border: 1px solid #d5dce5;
  padding: 28px;
}
h2 {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 26px;
  color: var(--slate);
  margin-bottom: 12px;
}
h3 {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  color: #3a3d55;
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #d5dce5;
}
.split article {
  padding: 22px;
}
.split article:first-child { background: #f6f8fb; border-right: 1px solid #d5dce5; }
.split article:last-child { background: #f3fff6; }

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cell {
  background: var(--fog);
  padding: 18px;
  border-left: 4px solid var(--green);
}
.cell svg { width: 22px; height: 22px; fill: var(--slate); margin-bottom: 8px; }

.steps {
  display: flex;
  gap: 0;
  background: var(--slate);
  color: #e8edf3;
}
.steps article {
  flex: 1;
  padding: 18px 16px;
  border-right: 1px solid #42455d;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.steps article:last-child { border-right: 0; }
.steps b { color: var(--green); display: block; margin-bottom: 6px; }

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.box { background: var(--fog); padding: 18px; }
.warn {
  margin-top: 16px;
  background: #fff6e8;
  border: 1px solid #ecd2a3;
  padding: 16px 18px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.warn ul { margin-left: 18px; }

.browsers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.browsers div {
  border: 1px dashed var(--steel);
  padding: 14px;
  text-align: center;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

.note-md {
  background: var(--slate);
  color: #e4e9f0;
  padding: 22px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.note-md h3 { color: var(--green); }

details {
  border: 1px solid #d5dce5;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #fafbfd;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
summary { cursor: pointer; font-weight: 700; color: var(--slate); }
details p { margin-top: 8px; }

.footer {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto 20px;
  background: var(--slate);
  color: #d5dbe4;
  padding: 24px;
  font-size: 13px;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
.footer p { margin-bottom: 8px; }

@media (max-width: 880px) {
  .hero-pane, .split, .cols-3, .pair, .browsers { grid-template-columns: 1fr; }
  .split article:first-child { border-right: 0; border-bottom: 1px solid #d5dce5; }
  .nav { display: none; }
  .steps { flex-direction: column; }
}

.news-pc { background: #edf2f4; padding: 36px 28px; margin: 0 0 24px; }
.news-rows { list-style: none; }
.news-rows li { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid #8d99ae; }
.news-rows h3 { grid-column: 1; }
.news-rows time { grid-column: 2; color: #25d366; font-size: 13px; }
.news-rows p { grid-column: 1 / -1; }
@media (max-width: 700px) { .news-rows li { grid-template-columns: 1fr; } }

