:root {
  --bg: #fff6f5;
  --surface: #fffdfb;
  --ink: #2a2228;
  --muted: #6b5e68;
  --brand: #ca4b5f;
  --line: #f0d9d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 12%, #ffe7c7 0%, transparent 24%),
    radial-gradient(circle at 8% 18%, #ffd9de 0%, transparent 22%),
    linear-gradient(180deg, #fffef8 0%, var(--bg) 100%);
  line-height: 1.6;
}

main {
  width: min(980px, 92vw);
  margin: 1.5rem auto 2rem;
}

header {
  width: min(980px, 92vw);
  margin: 1.5rem auto 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 0.75rem;
}

p,
li {
  color: #3f3a33;
}

a {
  color: var(--brand);
  font-weight: 700;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 26px rgba(123, 62, 87, 0.08);
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.kpi {
  display: inline-block;
  margin: 0.2rem 0.5rem 0.2rem 0;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #e3ccb0;
  background: #fff;
  color: #6c4a26;
  font-weight: 700;
  font-size: 0.9rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #e7dcc8;
  padding: 0.55rem;
  text-align: left;
}

th {
  background: #fff7ea;
}

.nav-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0.65rem 0;
}

.note {
  border-left: 4px solid #e06d80;
  padding-left: 0.8rem;
}

.bot-note {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  background: #fff1f4;
  border: 1px solid #f1cfd5;
  border-radius: 12px;
  padding: 0.7rem;
  margin-top: 0.8rem;
}

.bot-face {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #efc7ce;
  position: relative;
  flex-shrink: 0;
}

.bot-face::before,
.bot-face::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6c4052;
  position: absolute;
  top: 16px;
}

.bot-face::before { left: 11px; }
.bot-face::after { right: 11px; }

.bot-face span {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 16px;
  height: 8px;
  transform: translateX(-50%);
  border-bottom: 2px solid #e66a77;
  border-radius: 0 0 12px 12px;
}

footer {
  width: min(980px, 92vw);
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
