/* ——— Personas ——— */
.dd-personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dd-persona {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow .18s ease;
  box-shadow: 0 4px 12px rgba(17,25,39,0.04);
  display: flex;
  flex-direction: column;
}
.dd-persona:hover { box-shadow: 0 8px 18px rgba(17,25,39,0.06); }
.dd-persona-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #1f2a37;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  border: 1px solid #e5e7eb;
}
.dd-persona-name {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111927;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
}
.dd-persona-tagline {
  font-size: 12px;
  color: #9da4ae;
  font-weight: 500;
  margin: 0 0 16px;
}
.dd-persona-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 16px;
}
.dd-persona-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.dd-persona-row-lbl { color: #9da4ae; font-weight: 500; }
.dd-persona-row-val { color: #1f2a37; font-weight: 600; }
.dd-persona-behaviors { margin-bottom: 18px; }
.dd-persona-behaviors-lbl {
  font-size: 9.5px;
  font-weight: 700;
  color: #9da4ae;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.dd-persona-tag {
  display: inline-block;
  background: #f3f4f6;
  color: #4d5761;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 4px 4px 0;
}

/* Day in the life */
.dd-persona-summary {
  padding-top: 18px;
  border-top: 1px solid #f3f4f6;
  margin: auto 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4d5761;
}

/* ——— Visual direction ——— */
.dd-direction-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(17,25,39,0.04);
  overflow: hidden;
}

.dd-direction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  padding: 32px;
  border-bottom: 1px solid #f3f4f6;
  align-items: start;
}
.dd-direction-row:last-of-type { border-bottom: none; }

.dd-direction-copy h3 {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #9da4ae;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 0 0 10px;
}
.dd-direction-copy-lead {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #111927;
  line-height: 1.35;
  margin: 0 0 14px;
}
.dd-direction-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dd-direction-copy li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #4d5761;
  margin-bottom: 6px;
}
.dd-direction-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: #9da4ae;
}

.dd-palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.dd-swatch {
  height: 132px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  transition: transform .15s ease;
}
.dd-swatch-inner { width: 100%; }
.dd-swatch-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.dd-swatch-hex {
  font-family: 'Courier New', monospace;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
}
.dd-type-pair { display: flex; flex-direction: column; gap: 14px; }
.dd-type-pair .type-row {
  padding: 14px 16px;
  background: #fafbfc;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
}
.dd-type-role {
  font-size: 9.5px;
  font-weight: 600;
  color: #9da4ae;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.dd-type-sample-serif {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111927;
}
.dd-type-sample-sans {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1f2a37;
  line-height: 1.5;
}
.dd-tones {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dd-tone {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  background: #fafbfc;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
}
.dd-tone-name {
  font-size: 12px;
  font-weight: 600;
  color: #1f2a37;
  letter-spacing: 0.1px;
}
.dd-tone-slider {
  position: relative;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
}
.dd-tone-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #1f2a37;
  border-radius: 999px;
}
.dd-tone-slider-knob {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #1f2a37;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px rgba(17,25,39,0.12);
}

/* ——— Brand Direction (decisive, minimal) ——— */
.dd-strategy {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px 8px;
  box-shadow: 0 4px 12px rgba(17,25,39,0.04);
}
.dd-strat-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #f3f4f6;
}
.dd-strat-row:last-child { border-bottom: none; }
.dd-strat-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #1f2a37;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.dd-strat-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111927;
  letter-spacing: -0.2px;
  line-height: 1.3;
}
.dd-strat-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-positioning { background: #e0e7ff; color: #3730a3; }
.tag-messaging   { background: #dcfce7; color: #166534; }
.tag-creative    { background: #fef3c7; color: #92400e; }
.tag-behavior    { background: #f3f4f6; color: #4d5761; }

/* ——— System context ——— */
.dd-system {
  margin-top: 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(17,25,39,0.04);
  position: relative;
  overflow: hidden;
}
.dd-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 0% 50%, rgba(165,180,252,0.10), transparent 60%);
  pointer-events: none;
}
.dd-system-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f2a37, #384250);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.dd-system-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 15px;
  border: 1px solid rgba(165,180,252,0.4);
  animation: pulseRing 2.8s ease-in-out infinite;
}
@keyframes pulseRing {
  0%, 100% { opacity: 0.4; transform: scale(1);}
  50% { opacity: 0.9; transform: scale(1.04);}
}
.dd-system-text { position: relative; }
.dd-system-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111927;
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin: 0 0 6px;
}
.dd-system-sub {
  font-size: 13px;
  color: #4d5761;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
.dd-system-actions { display: flex; gap: 8px; position: relative; flex-shrink: 0; }
.dd-btn-quiet {
  background: #f9fafb;
  color: #1f2a37;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.dd-btn-quiet:hover { background: #f3f4f6; }
