/* Set 5 — web: purple split hero, dashboard table first, 4-up tiles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Trebuchet MS", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  background: #f4eef8;
  color: #2b1838;
  font-size: 15.5px;
  line-height: 1.7;
}
a { color: #5b2c6f; }
svg { display: block; }
.bar {
  background: #3b1650;
  color: #f3e9fa;
  min-height: 58px;
}
.bar-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; font-size: 18px; }
.brand svg { width: 26px; height: 26px; }
nav a {
  color: #e3d2ef;
  text-decoration: none;
  margin-left: 16px;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
nav a.is-current { color: #f39c12; border-bottom-color: #f39c12; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}
.split-a {
  background: #5b2c6f;
  color: #f8effc;
  padding: 48px 40px 48px 6vw;
}
.split-b {
  background: #f39c12;
  color: #2b1c04;
  padding: 48px 6vw 48px 40px;
}
.split h1 { font-size: 32px; line-height: 1.3; margin: 8px 0 16px; }
.split p { margin-bottom: 12px; }
.split-b h2 { font-size: 22px; margin-bottom: 12px; }
.btn {
  display: inline-block;
  background: #3b1650;
  color: #fff;
  text-decoration: none;
  padding: 11px 16px;
  font-weight: 700;
  margin: 4px 6px 4px 0;
}
.btn:hover { background: #2a0e3b; }
.split-b .btn { background: #3b1650; color: #fff; }
.btn-light { background: #fff; color: #5b2c6f; }
.btn-light:hover { background: #f7e9ff; color: #5b2c6f; }

.frame { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0; }
.mod { background: #fff; border: 2px solid #d8c6e4; margin-bottom: 18px; padding: 22px 22px 10px; }
.mod h2 { font-size: 21px; color: #5b2c6f; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 3px solid #f39c12; display: inline-block; }
.mod p { margin-bottom: 12px; }
.mod ul, .mod ol { margin: 0 0 12px 1.3em; }

.quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0 16px;
}
.quad article {
  background: #faf4ff;
  padding: 12px;
  border-top: 4px solid #5b2c6f;
}
.quad h3 { font-size: 16px; margin: 8px 0; }
.quad svg { width: 30px; height: 30px; color: #5b2c6f; }

table.dash { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14.5px; }
table.dash th { background: #5b2c6f; color: #fff; text-align: left; padding: 9px 10px; }
table.dash td { padding: 9px 10px; border-bottom: 1px solid #e6d8ef; }
table.dash tr:nth-child(even) td { background: #faf4ff; }

.qa { margin-bottom: 14px; padding-left: 12px; border-left: 5px solid #f39c12; }
.qa h3 { font-size: 16px; margin-bottom: 6px; color: #5b2c6f; }

.site-footer {
  background: #2b1838;
  color: #d4c3de;
  padding: 22px 0 28px;
  font-size: 13px;
}
.site-footer .frame p { margin-bottom: 8px; }

@media (max-width: 860px) {
  .split, .quad { grid-template-columns: 1fr; }
  .split-a, .split-b { padding: 28px 20px; }
  nav { display: flex; flex-wrap: wrap; }
  nav a { margin: 4px 10px 4px 0; }
}
