@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap");

:root {
  --bg: #f4eef1;
  --panel: #ffffff;
  --ink: #1f1a17;
  --muted: #6f675f;
  --faint: #9a928a;
  --line: #eadfe4;
  --pink: #e2187c;
  --pink-deep: #b01060;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Be Vietnam Pro", ui-sans-serif, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.brand h1 {
  margin: 0;
  font-size: 22px;
}

.brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.groups {
  display: grid;
  gap: 18px;
}

.group {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
}

.group h2 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

.group .desc {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  min-height: 140px;
}

.card:hover {
  border-color: #f3c2d8;
  box-shadow: 0 8px 20px rgba(31, 26, 23, 0.06);
}

.card h3 {
  margin: 0;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.state {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink-deep);
  background: #fff4f8;
  border-radius: 999px;
  padding: 4px 10px;
}

.state.live {
  color: #0b7a62;
  background: #e8f7f2;
}

.page {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.page a.back {
  color: var(--pink-deep);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.page h1 {
  margin: 12px 0 8px;
  font-size: 26px;
}

.page .lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.slot {
  border: 1px dashed #f3c2d8;
  border-radius: 14px;
  padding: 16px;
  background: #fffafc;
}

.slot h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.slot p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.foot {
  margin-top: 18px;
  color: var(--faint);
  font-size: 13px;
}

.demo-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: #fffafc;
  border: 1px solid var(--line);
}

.demo-box button {
  font: inherit;
  font-weight: 600;
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  cursor: pointer;
}
